es-components 21.14.0 → 21.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/bundle/main.min.js +9 -9
  2. package/cjs/index.js +663 -698
  3. package/lib/index.js +661 -695
  4. package/package.json +3 -3
  5. package/types/src/components/base/icons/FullColorIcon.d.ts +1 -1
  6. package/types/src/components/base/icons/Icon.d.ts +3 -4
  7. package/types/src/components/base/icons/IconContext.d.ts +0 -1
  8. package/types/src/components/base/icons/useIconStyles.d.ts +1 -1
  9. package/types/src/components/containers/drawer/DrawerContext.d.ts +0 -1
  10. package/types/src/components/containers/drawer/DrawerPanel.d.ts +12 -13
  11. package/types/src/components/containers/form/Form.d.ts +1 -1
  12. package/types/src/components/containers/loading-skeleton/LoadingSkeleton.d.ts +2 -2
  13. package/types/src/components/containers/menu/Menu.d.ts +5 -4
  14. package/types/src/components/containers/menu/MenuSection.d.ts +4 -4
  15. package/types/src/components/containers/prompt/Prompt.d.ts +3 -3
  16. package/types/src/components/containers/tabPanels/Tab.d.ts +4 -4
  17. package/types/src/components/containers/tabPanels/TabPanel.d.ts +2 -2
  18. package/types/src/components/containers/table/Table.d.ts +4 -4
  19. package/types/src/components/containers/tooltip/Tooltip.d.ts +8 -8
  20. package/types/src/components/controls/AdditionalHelp.d.ts +1 -1
  21. package/types/src/components/controls/Control.d.ts +3 -3
  22. package/types/src/components/controls/answer-group/AnswerButton.d.ts +17 -19
  23. package/types/src/components/controls/answer-group/AnswerGroup.d.ts +1 -1
  24. package/types/src/components/controls/buttons/ActionButton.d.ts +13 -301
  25. package/types/src/components/controls/buttons/Button.d.ts +7 -294
  26. package/types/src/components/controls/buttons/ButtonBase.d.ts +3 -285
  27. package/types/src/components/controls/buttons/DropdownButton.d.ts +9 -9
  28. package/types/src/components/controls/buttons/IconButton.d.ts +9 -9
  29. package/types/src/components/controls/buttons/LinkButton.d.ts +1 -282
  30. package/types/src/components/controls/buttons/OutlineButton.d.ts +15 -305
  31. package/types/src/components/controls/buttons/PopoverLink.d.ts +1 -283
  32. package/types/src/components/controls/buttons/ToggleButton.d.ts +9 -9
  33. package/types/src/components/controls/buttons/features/withLoadingStateWhileRunning.d.ts +9 -9
  34. package/types/src/components/controls/checkbox/CheckAllBox.d.ts +26 -30
  35. package/types/src/components/controls/checkbox/Checkbox.d.ts +28 -32
  36. package/types/src/components/controls/dropdown/Dropdown.d.ts +29 -31
  37. package/types/src/components/controls/radio-buttons/RadioButton.d.ts +14 -16
  38. package/types/src/components/controls/radio-buttons/RadioGroup.d.ts +3 -10
  39. package/types/src/components/controls/radio-buttons/RadioGroupContext.d.ts +4 -4
  40. package/types/src/components/controls/switch/Switch.d.ts +7 -7
  41. package/types/src/components/controls/textbox/InputBase.d.ts +54 -62
  42. package/types/src/components/controls/textbox/MaskedTextbox.d.ts +15 -18
  43. package/types/src/components/controls/textbox/Textbox.d.ts +28 -32
  44. package/types/src/components/controls/textbox/inputMaskType.d.ts +0 -1
  45. package/types/src/components/navigation/Navigation.d.ts +2 -2
  46. package/types/src/components/navigation/NavigationItem.d.ts +4 -4
  47. package/types/src/components/patterns/callToAction/CallToAction.d.ts +1 -1
  48. package/types/src/components/patterns/callToAction/LightCallToAction.d.ts +1 -1
  49. package/types/src/components/patterns/dateInput/DateInput.d.ts +6 -6
  50. package/types/src/components/patterns/dateInput/Day.d.ts +2 -2
  51. package/types/src/components/patterns/dateInput/Month.d.ts +4 -4
  52. package/types/src/components/patterns/dateInput/Year.d.ts +2 -2
  53. package/types/src/components/patterns/datepicker/DatePicker.d.ts +2 -2
  54. package/types/src/components/patterns/datepicker/ReactDatePickerPropTypes.d.ts +1 -1
  55. package/types/src/components/patterns/datepicker/datePickerStyles.d.ts +1 -1
  56. package/types/src/components/patterns/incrementer/Incrementer.d.ts +6 -6
  57. package/types/src/components/patterns/progress-tracker/ProgressTracker.d.ts +18 -19
  58. package/types/src/components/patterns/selectionDrawer/SelectionDrawer.d.ts +9 -8
  59. package/types/src/components/patterns/selectionDrawer/SelectionDrawerItem.d.ts +17 -10
  60. package/types/src/components/patterns/selectionDrawer/SelectionDrawerProvider.d.ts +2 -4
  61. package/types/src/components/patterns/starRating/StarRating.d.ts +5 -5
  62. package/types/src/components/patterns/starRating/StarRatingExplanation.d.ts +1 -1
  63. package/types/src/components/patterns/statusTracker/StatusTracker.d.ts +2 -2
  64. package/types/src/components/util/RootCloseWrapper.d.ts +1 -1
  65. package/types/src/components/util/StyleReset.d.ts +1 -1
  66. package/types/src/components/util/callRef.d.ts +1 -1
  67. package/types/src/components/util/htmlProps/button.d.ts +0 -1
  68. package/types/src/components/util/isParseableDate.d.ts +0 -1
  69. package/types/src/components/util/useRootNode.d.ts +1 -1
  70. package/types/src/components/util/withWindowSize.d.ts +4 -3
  71. package/types/src/global.d.ts +2 -1
  72. package/types/src/hooks/useMountedOnlyState.d.ts +0 -1
  73. package/types/src/index.d.ts +29 -30
  74. package/types/tsconfig.tsbuildinfo +1 -0
@@ -21,14 +21,14 @@ export type SwitchProps = JSXElementProps<'div'> & {
21
21
  disabled?: InputProps['disabled'];
22
22
  };
23
23
  declare const Switch: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref"> & {
24
- type?: SwitchStyleType | undefined;
25
- label?: string | undefined;
26
- direction?: "top" | "left" | "bottom" | "right" | undefined;
27
- ariaLabel?: InputProps['aria-label'];
24
+ type?: SwitchStyleType;
25
+ label?: string;
26
+ direction?: Direction;
27
+ ariaLabel?: InputProps["aria-label"];
28
28
  onText?: React.ReactNode;
29
29
  offText?: React.ReactNode;
30
- checked?: boolean | undefined;
31
- onChange?: InputProps['onChange'];
32
- disabled?: InputProps['disabled'];
30
+ checked?: boolean;
31
+ onChange?: InputProps["onChange"];
32
+ disabled?: InputProps["disabled"];
33
33
  } & React.RefAttributes<HTMLDivElement>>;
34
34
  export default Switch;
@@ -29,8 +29,8 @@ export declare function getInputPropsForValidation(theme: DefaultTheme, validati
29
29
  export declare const globalInputCss: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<DefaultTheme>>;
30
30
  export type InputBaseProps = StyledComponentElementProps<'input'> & ValidationStyleProps;
31
31
  declare const InputBase: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key">, "ref"> & {
32
- as?: React.ComponentType<any> | keyof JSX.IntrinsicElements | undefined;
33
- forwardedAs?: React.ComponentType<any> | keyof JSX.IntrinsicElements | undefined;
32
+ as?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
33
+ forwardedAs?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
34
34
  } & ValidationStyleProps & React.RefAttributes<HTMLInputElement>>;
35
35
  export declare const propTypes: {
36
36
  form: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
@@ -38,8 +38,6 @@ export declare const propTypes: {
38
38
  style: PropTypes.Requireable<React.CSSProperties | undefined> | PropTypes.Validator<React.CSSProperties | undefined>;
39
39
  title: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
40
40
  pattern: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
41
- type: PropTypes.Requireable<React.HTMLInputTypeAttribute | undefined> | PropTypes.Validator<React.HTMLInputTypeAttribute | undefined>;
42
- name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
43
41
  suppressHydrationWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
44
42
  className: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
45
43
  color: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
@@ -48,6 +46,8 @@ export declare const propTypes: {
48
46
  lang: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
49
47
  max: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
50
48
  min: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
49
+ name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
50
+ type: PropTypes.Requireable<React.HTMLInputTypeAttribute | undefined> | PropTypes.Validator<React.HTMLInputTypeAttribute | undefined>;
51
51
  width: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
52
52
  role: PropTypes.Requireable<React.AriaRole | undefined> | PropTypes.Validator<React.AriaRole | undefined>;
53
53
  tabIndex: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
@@ -63,7 +63,7 @@ export declare const propTypes: {
63
63
  "aria-colindextext": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
64
64
  "aria-colspan": PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
65
65
  "aria-controls": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
66
- "aria-current": PropTypes.Requireable<boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined> | PropTypes.Validator<boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined>;
66
+ "aria-current": PropTypes.Requireable<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined> | PropTypes.Validator<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined>;
67
67
  "aria-describedby": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
68
68
  "aria-description": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
69
69
  "aria-details": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
@@ -249,9 +249,7 @@ export declare const propTypes: {
249
249
  onPointerCancel: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
250
250
  onPointerCancelCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
251
251
  onPointerEnter: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
252
- onPointerEnterCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
253
252
  onPointerLeave: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
254
- onPointerLeaveCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
255
253
  onPointerOver: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
256
254
  onPointerOverCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
257
255
  onPointerOut: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
@@ -273,17 +271,17 @@ export declare const propTypes: {
273
271
  onTransitionEnd: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
274
272
  onTransitionEndCapture: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
275
273
  css: PropTypes.Requireable<import("styled-components").CSSProp | undefined> | PropTypes.Validator<import("styled-components").CSSProp | undefined>;
276
- list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
277
- step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
278
274
  defaultChecked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
279
275
  defaultValue: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
280
276
  suppressContentEditableWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
281
277
  accessKey: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
278
+ autoCapitalize: PropTypes.Requireable<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined> | PropTypes.Validator<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined>;
282
279
  autoFocus: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
283
280
  contentEditable: PropTypes.Requireable<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined> | PropTypes.Validator<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined>;
284
281
  contextMenu: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
285
282
  dir: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
286
283
  draggable: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
284
+ enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
287
285
  hidden: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
288
286
  nonce: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
289
287
  spellCheck: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
@@ -300,7 +298,6 @@ export declare const propTypes: {
300
298
  rev: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
301
299
  typeof: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
302
300
  vocab: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
303
- autoCapitalize: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
304
301
  autoCorrect: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
305
302
  autoSave: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
306
303
  itemProp: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
@@ -313,27 +310,28 @@ export declare const propTypes: {
313
310
  unselectable: PropTypes.Requireable<"off" | "on" | undefined> | PropTypes.Validator<"off" | "on" | undefined>;
314
311
  inputMode: PropTypes.Requireable<"search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined> | PropTypes.Validator<"search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
315
312
  is: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
316
- size: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
317
313
  alt: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
318
314
  src: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
319
- value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
320
- accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
321
- autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
322
- capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
323
- checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
324
315
  disabled: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
325
- enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
326
316
  formAction: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
327
317
  formEncType: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
328
318
  formMethod: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
329
319
  formNoValidate: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
330
320
  formTarget: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
321
+ value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
322
+ autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
323
+ accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
324
+ capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
325
+ checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
326
+ list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
331
327
  maxLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
332
328
  minLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
333
329
  multiple: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
334
330
  placeholder: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
335
331
  readOnly: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
336
332
  required: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
333
+ size: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
334
+ step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
337
335
  };
338
336
  export declare const defaultProps: {
339
337
  form?: string | undefined;
@@ -341,8 +339,6 @@ export declare const defaultProps: {
341
339
  style?: React.CSSProperties | undefined;
342
340
  title?: string | undefined;
343
341
  pattern?: string | undefined;
344
- type?: React.HTMLInputTypeAttribute | undefined;
345
- name?: string | undefined;
346
342
  suppressHydrationWarning?: boolean | undefined;
347
343
  className?: string | undefined;
348
344
  color?: string | undefined;
@@ -351,6 +347,8 @@ export declare const defaultProps: {
351
347
  lang?: string | undefined;
352
348
  max?: string | number | undefined;
353
349
  min?: string | number | undefined;
350
+ name?: string | undefined;
351
+ type?: React.HTMLInputTypeAttribute | undefined;
354
352
  width?: string | number | undefined;
355
353
  role?: React.AriaRole | undefined;
356
354
  tabIndex?: number | undefined;
@@ -366,7 +364,7 @@ export declare const defaultProps: {
366
364
  "aria-colindextext"?: string | undefined;
367
365
  "aria-colspan"?: number | undefined;
368
366
  "aria-controls"?: string | undefined;
369
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
367
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
370
368
  "aria-describedby"?: string | undefined;
371
369
  "aria-description"?: string | undefined;
372
370
  "aria-details"?: string | undefined;
@@ -550,9 +548,7 @@ export declare const defaultProps: {
550
548
  onPointerCancel?: React.PointerEventHandler<HTMLInputElement> | undefined;
551
549
  onPointerCancelCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
552
550
  onPointerEnter?: React.PointerEventHandler<HTMLInputElement> | undefined;
553
- onPointerEnterCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
554
551
  onPointerLeave?: React.PointerEventHandler<HTMLInputElement> | undefined;
555
- onPointerLeaveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
556
552
  onPointerOver?: React.PointerEventHandler<HTMLInputElement> | undefined;
557
553
  onPointerOverCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
558
554
  onPointerOut?: React.PointerEventHandler<HTMLInputElement> | undefined;
@@ -574,17 +570,17 @@ export declare const defaultProps: {
574
570
  onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
575
571
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
576
572
  css?: import("styled-components").CSSProp | undefined;
577
- list?: string | undefined;
578
- step?: string | number | undefined;
579
573
  defaultChecked?: boolean | undefined;
580
574
  defaultValue?: string | number | readonly string[] | undefined;
581
575
  suppressContentEditableWarning?: boolean | undefined;
582
576
  accessKey?: string | undefined;
577
+ autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
583
578
  autoFocus?: boolean | undefined;
584
579
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
585
580
  contextMenu?: string | undefined;
586
581
  dir?: string | undefined;
587
582
  draggable?: (boolean | "true" | "false") | undefined;
583
+ enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
588
584
  hidden?: boolean | undefined;
589
585
  nonce?: string | undefined;
590
586
  spellCheck?: (boolean | "true" | "false") | undefined;
@@ -601,7 +597,6 @@ export declare const defaultProps: {
601
597
  rev?: string | undefined;
602
598
  typeof?: string | undefined;
603
599
  vocab?: string | undefined;
604
- autoCapitalize?: string | undefined;
605
600
  autoCorrect?: string | undefined;
606
601
  autoSave?: string | undefined;
607
602
  itemProp?: string | undefined;
@@ -614,27 +609,28 @@ export declare const defaultProps: {
614
609
  unselectable?: "off" | "on" | undefined;
615
610
  inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
616
611
  is?: string | undefined;
617
- size?: number | undefined;
618
612
  alt?: string | undefined;
619
613
  src?: string | undefined;
620
- value?: string | number | readonly string[] | undefined;
621
- accept?: string | undefined;
622
- autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
623
- capture?: boolean | "user" | "environment" | undefined;
624
- checked?: boolean | undefined;
625
614
  disabled?: boolean | undefined;
626
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
627
615
  formAction?: string | undefined;
628
616
  formEncType?: string | undefined;
629
617
  formMethod?: string | undefined;
630
618
  formNoValidate?: boolean | undefined;
631
619
  formTarget?: string | undefined;
620
+ value?: string | number | readonly string[] | undefined;
621
+ autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
622
+ accept?: string | undefined;
623
+ capture?: boolean | "user" | "environment" | undefined;
624
+ checked?: boolean | undefined;
625
+ list?: string | undefined;
632
626
  maxLength?: number | undefined;
633
627
  minLength?: number | undefined;
634
628
  multiple?: boolean | undefined;
635
629
  placeholder?: string | undefined;
636
630
  readOnly?: boolean | undefined;
637
631
  required?: boolean | undefined;
632
+ size?: number | undefined;
633
+ step?: string | number | undefined;
638
634
  };
639
635
  export default InputBase;
640
636
  export interface BasicTextboxStyleProps extends JSXElementProps<'input'>, ValidationStateSetupProps, ValidationStateReadonlyProps {
@@ -650,8 +646,6 @@ export declare const basicTextboxPropTypes: {
650
646
  style: PropTypes.Requireable<React.CSSProperties | undefined> | PropTypes.Validator<React.CSSProperties | undefined>;
651
647
  title: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
652
648
  pattern: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
653
- type: PropTypes.Requireable<React.HTMLInputTypeAttribute | undefined> | PropTypes.Validator<React.HTMLInputTypeAttribute | undefined>;
654
- name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
655
649
  suppressHydrationWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
656
650
  className: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
657
651
  color: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
@@ -660,6 +654,8 @@ export declare const basicTextboxPropTypes: {
660
654
  lang: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
661
655
  max: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
662
656
  min: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
657
+ name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
658
+ type: PropTypes.Requireable<React.HTMLInputTypeAttribute | undefined> | PropTypes.Validator<React.HTMLInputTypeAttribute | undefined>;
663
659
  width: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
664
660
  role: PropTypes.Requireable<React.AriaRole | undefined> | PropTypes.Validator<React.AriaRole | undefined>;
665
661
  tabIndex: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
@@ -675,7 +671,7 @@ export declare const basicTextboxPropTypes: {
675
671
  "aria-colindextext": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
676
672
  "aria-colspan": PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
677
673
  "aria-controls": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
678
- "aria-current": PropTypes.Requireable<boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined> | PropTypes.Validator<boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined>;
674
+ "aria-current": PropTypes.Requireable<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined> | PropTypes.Validator<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined>;
679
675
  "aria-describedby": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
680
676
  "aria-description": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
681
677
  "aria-details": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
@@ -861,9 +857,7 @@ export declare const basicTextboxPropTypes: {
861
857
  onPointerCancel: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
862
858
  onPointerCancelCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
863
859
  onPointerEnter: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
864
- onPointerEnterCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
865
860
  onPointerLeave: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
866
- onPointerLeaveCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
867
861
  onPointerOver: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
868
862
  onPointerOverCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
869
863
  onPointerOut: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
@@ -885,17 +879,17 @@ export declare const basicTextboxPropTypes: {
885
879
  onTransitionEnd: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
886
880
  onTransitionEndCapture: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
887
881
  css: PropTypes.Requireable<import("styled-components").CSSProp | undefined> | PropTypes.Validator<import("styled-components").CSSProp | undefined>;
888
- list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
889
- step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
890
882
  defaultChecked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
891
883
  defaultValue: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
892
884
  suppressContentEditableWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
893
885
  accessKey: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
886
+ autoCapitalize: PropTypes.Requireable<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined> | PropTypes.Validator<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined>;
894
887
  autoFocus: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
895
888
  contentEditable: PropTypes.Requireable<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined> | PropTypes.Validator<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined>;
896
889
  contextMenu: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
897
890
  dir: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
898
891
  draggable: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
892
+ enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
899
893
  hidden: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
900
894
  nonce: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
901
895
  spellCheck: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
@@ -912,7 +906,6 @@ export declare const basicTextboxPropTypes: {
912
906
  rev: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
913
907
  typeof: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
914
908
  vocab: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
915
- autoCapitalize: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
916
909
  autoCorrect: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
917
910
  autoSave: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
918
911
  itemProp: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
@@ -925,27 +918,28 @@ export declare const basicTextboxPropTypes: {
925
918
  unselectable: PropTypes.Requireable<"off" | "on" | undefined> | PropTypes.Validator<"off" | "on" | undefined>;
926
919
  inputMode: PropTypes.Requireable<"search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined> | PropTypes.Validator<"search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
927
920
  is: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
928
- size: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
929
921
  alt: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
930
922
  src: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
931
- value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
932
- accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
933
- autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
934
- capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
935
- checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
936
923
  disabled: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
937
- enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
938
924
  formAction: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
939
925
  formEncType: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
940
926
  formMethod: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
941
927
  formNoValidate: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
942
928
  formTarget: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
929
+ value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
930
+ autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
931
+ accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
932
+ capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
933
+ checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
934
+ list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
943
935
  maxLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
944
936
  minLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
945
937
  multiple: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
946
938
  placeholder: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
947
939
  readOnly: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
948
940
  required: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
941
+ size: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
942
+ step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
949
943
  };
950
944
  export declare const basicTextboxDefaultProps: {
951
945
  flat: boolean;
@@ -954,8 +948,6 @@ export declare const basicTextboxDefaultProps: {
954
948
  style?: React.CSSProperties | undefined;
955
949
  title?: string | undefined;
956
950
  pattern?: string | undefined;
957
- type?: React.HTMLInputTypeAttribute | undefined;
958
- name?: string | undefined;
959
951
  suppressHydrationWarning?: boolean | undefined;
960
952
  className?: string | undefined;
961
953
  color?: string | undefined;
@@ -964,6 +956,8 @@ export declare const basicTextboxDefaultProps: {
964
956
  lang?: string | undefined;
965
957
  max?: string | number | undefined;
966
958
  min?: string | number | undefined;
959
+ name?: string | undefined;
960
+ type?: React.HTMLInputTypeAttribute | undefined;
967
961
  width?: string | number | undefined;
968
962
  role?: React.AriaRole | undefined;
969
963
  tabIndex?: number | undefined;
@@ -979,7 +973,7 @@ export declare const basicTextboxDefaultProps: {
979
973
  "aria-colindextext"?: string | undefined;
980
974
  "aria-colspan"?: number | undefined;
981
975
  "aria-controls"?: string | undefined;
982
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
976
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
983
977
  "aria-describedby"?: string | undefined;
984
978
  "aria-description"?: string | undefined;
985
979
  "aria-details"?: string | undefined;
@@ -1163,9 +1157,7 @@ export declare const basicTextboxDefaultProps: {
1163
1157
  onPointerCancel?: React.PointerEventHandler<HTMLInputElement> | undefined;
1164
1158
  onPointerCancelCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
1165
1159
  onPointerEnter?: React.PointerEventHandler<HTMLInputElement> | undefined;
1166
- onPointerEnterCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
1167
1160
  onPointerLeave?: React.PointerEventHandler<HTMLInputElement> | undefined;
1168
- onPointerLeaveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
1169
1161
  onPointerOver?: React.PointerEventHandler<HTMLInputElement> | undefined;
1170
1162
  onPointerOverCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
1171
1163
  onPointerOut?: React.PointerEventHandler<HTMLInputElement> | undefined;
@@ -1187,17 +1179,17 @@ export declare const basicTextboxDefaultProps: {
1187
1179
  onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
1188
1180
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
1189
1181
  css?: import("styled-components").CSSProp | undefined;
1190
- list?: string | undefined;
1191
- step?: string | number | undefined;
1192
1182
  defaultChecked?: boolean | undefined;
1193
1183
  defaultValue?: string | number | readonly string[] | undefined;
1194
1184
  suppressContentEditableWarning?: boolean | undefined;
1195
1185
  accessKey?: string | undefined;
1186
+ autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
1196
1187
  autoFocus?: boolean | undefined;
1197
1188
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
1198
1189
  contextMenu?: string | undefined;
1199
1190
  dir?: string | undefined;
1200
1191
  draggable?: (boolean | "true" | "false") | undefined;
1192
+ enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
1201
1193
  hidden?: boolean | undefined;
1202
1194
  nonce?: string | undefined;
1203
1195
  spellCheck?: (boolean | "true" | "false") | undefined;
@@ -1214,7 +1206,6 @@ export declare const basicTextboxDefaultProps: {
1214
1206
  rev?: string | undefined;
1215
1207
  typeof?: string | undefined;
1216
1208
  vocab?: string | undefined;
1217
- autoCapitalize?: string | undefined;
1218
1209
  autoCorrect?: string | undefined;
1219
1210
  autoSave?: string | undefined;
1220
1211
  itemProp?: string | undefined;
@@ -1227,26 +1218,27 @@ export declare const basicTextboxDefaultProps: {
1227
1218
  unselectable?: "off" | "on" | undefined;
1228
1219
  inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1229
1220
  is?: string | undefined;
1230
- size?: number | undefined;
1231
1221
  alt?: string | undefined;
1232
1222
  src?: string | undefined;
1233
- value?: string | number | readonly string[] | undefined;
1234
- accept?: string | undefined;
1235
- autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
1236
- capture?: boolean | "user" | "environment" | undefined;
1237
- checked?: boolean | undefined;
1238
1223
  disabled?: boolean | undefined;
1239
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
1240
1224
  formAction?: string | undefined;
1241
1225
  formEncType?: string | undefined;
1242
1226
  formMethod?: string | undefined;
1243
1227
  formNoValidate?: boolean | undefined;
1244
1228
  formTarget?: string | undefined;
1229
+ value?: string | number | readonly string[] | undefined;
1230
+ autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
1231
+ accept?: string | undefined;
1232
+ capture?: boolean | "user" | "environment" | undefined;
1233
+ checked?: boolean | undefined;
1234
+ list?: string | undefined;
1245
1235
  maxLength?: number | undefined;
1246
1236
  minLength?: number | undefined;
1247
1237
  multiple?: boolean | undefined;
1248
1238
  placeholder?: string | undefined;
1249
1239
  readOnly?: boolean | undefined;
1250
1240
  required?: boolean | undefined;
1241
+ size?: number | undefined;
1242
+ step?: string | number | undefined;
1251
1243
  };
1252
1244
  export declare function useValidationStyleProps(props: FlatInputProps): ValidationProps;