carbon-react 106.1.3 → 106.1.6

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 (250) hide show
  1. package/esm/__internal__/checkable-input/checkable-input.d.ts +2 -2
  2. package/esm/__internal__/fieldset/fieldset.component.d.ts +45 -15
  3. package/esm/__internal__/form-field/form-field.component.d.ts +14 -0
  4. package/esm/__internal__/form-field/form-field.d.ts +2 -4
  5. package/esm/__internal__/input/input-presentation.style.d.ts +1 -1
  6. package/esm/__internal__/label/label.d.ts +2 -2
  7. package/esm/__internal__/validations/validation-icon.component.d.ts +2 -5
  8. package/esm/__spec_helper__/test-utils.d.ts +1 -1
  9. package/esm/components/accordion/accordion-group/accordion-group.component.d.ts +17 -3
  10. package/esm/components/accordion/accordion.component.js +1 -1
  11. package/esm/components/action-popover/action-popover.component.d.ts +35 -18
  12. package/esm/components/advanced-color-picker/advanced-color-picker.component.d.ts +14 -0
  13. package/esm/components/box/box.component.d.ts +1 -6
  14. package/esm/components/button-toggle-group/button-toggle-group.component.d.ts +14 -0
  15. package/esm/components/button-toggle-group/button-toggle-group.d.ts +2 -4
  16. package/esm/components/carbon-provider/carbon-provider.component.d.ts +1 -1
  17. package/esm/components/carbon-provider/carbon-provider.component.js +40 -38
  18. package/esm/components/card/card-row/card-row.component.d.ts +19 -4
  19. package/esm/components/card/card.component.d.ts +28 -10
  20. package/esm/components/checkbox/checkbox-group.component.d.ts +48 -15
  21. package/esm/components/checkbox/checkbox-group.d.ts +2 -2
  22. package/esm/components/checkbox/checkbox.component.d.ts +14 -0
  23. package/esm/components/content/content.component.d.ts +31 -9
  24. package/esm/components/date/__internal__/date-formats/index.js +88 -20
  25. package/esm/components/date/__internal__/utils.js +13 -3
  26. package/esm/components/date/date.component.js +13 -5
  27. package/esm/components/date-range/date-range.component.d.ts +68 -20
  28. package/esm/components/decimal/decimal.component.d.ts +14 -0
  29. package/esm/components/detail/detail.component.d.ts +34 -6
  30. package/esm/components/draggable/draggable-container.component.d.ts +24 -4
  31. package/esm/components/draggable/draggable-item.component.d.ts +34 -6
  32. package/esm/components/duelling-picklist/duelling-picklist.component.d.ts +27 -8
  33. package/esm/components/fieldset/fieldset.component.d.ts +23 -7
  34. package/esm/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +66 -17
  35. package/esm/components/flat-table/flat-table-header/flat-table-header.component.d.ts +48 -14
  36. package/esm/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +44 -12
  37. package/esm/components/flat-table/flat-table.component.d.ts +46 -20
  38. package/esm/components/grid/grid-item/grid-item.component.d.ts +29 -22
  39. package/esm/components/grouped-character/grouped-character.component.d.ts +32 -10
  40. package/esm/components/heading/heading.component.d.ts +66 -18
  41. package/esm/components/help/help.component.d.ts +51 -22
  42. package/esm/components/loader/loader.component.d.ts +14 -0
  43. package/esm/components/loader-bar/loader-bar.component.d.ts +18 -3
  44. package/esm/components/message/message.component.d.ts +36 -12
  45. package/esm/components/multi-action-button/multi-action-button.component.d.ts +14 -0
  46. package/esm/components/note/note.component.d.ts +34 -11
  47. package/esm/components/numeral-date/numeral-date.component.d.ts +14 -0
  48. package/esm/components/numeral-date/numeral-date.d.ts +2 -2
  49. package/esm/components/pill/pill.component.d.ts +37 -22
  50. package/esm/components/pill/pill.style.js +1 -1
  51. package/esm/components/popover-container/popover-container.component.d.ts +54 -23
  52. package/esm/components/portrait/portrait.component.d.ts +55 -29
  53. package/esm/components/preview/preview.component.d.ts +26 -9
  54. package/esm/components/profile/profile.component.d.ts +28 -8
  55. package/esm/components/progress-tracker/progress-tracker.component.d.ts +14 -0
  56. package/esm/components/radio-button/radio-button-group.component.d.ts +60 -21
  57. package/esm/components/radio-button/radio-button-group.d.ts +2 -4
  58. package/esm/components/search/search.component.d.ts +14 -0
  59. package/esm/components/select/select-textbox/select-textbox.d.ts +2 -2
  60. package/esm/components/settings-row/settings-row.component.d.ts +26 -7
  61. package/esm/components/show-edit-pod/show-edit-pod.component.d.ts +58 -23
  62. package/esm/components/simple-color-picker/simple-color-picker.component.d.ts +52 -17
  63. package/esm/components/simple-color-picker/simple-color-picker.d.ts +2 -4
  64. package/esm/components/split-button/split-button.component.d.ts +14 -0
  65. package/esm/components/step-sequence/step-sequence.component.d.ts +21 -6
  66. package/esm/components/switch/switch.component.d.ts +14 -0
  67. package/esm/components/tabs/tab/tab.component.d.ts +51 -20
  68. package/esm/components/tabs/tabs.component.d.ts +46 -15
  69. package/esm/components/textarea/textarea.component.d.ts +14 -0
  70. package/esm/components/textarea/textarea.d.ts +2 -2
  71. package/esm/components/textbox/textbox.component.d.ts +14 -0
  72. package/esm/components/textbox/textbox.d.ts +2 -2
  73. package/esm/components/tile/tile-footer/tile-footer.component.d.ts +19 -4
  74. package/esm/components/tile-select/tile-select-group.component.d.ts +35 -12
  75. package/esm/components/tile-select/tile-select.component.d.ts +63 -26
  76. package/esm/components/typography/list.component.d.ts +1 -2
  77. package/esm/components/typography/typography.component.d.ts +1 -6
  78. package/esm/global.d.ts +1 -0
  79. package/esm/style/color-config/index.d.ts +2 -3
  80. package/esm/style/color-config/index.js +3 -2
  81. package/esm/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.d.ts +3 -2
  82. package/esm/style/design-tokens/debug-theme.util.d.ts +449 -1
  83. package/esm/style/design-tokens/debug-theme.util.js +1 -1
  84. package/esm/style/design-tokens/generate-css-variables.util.d.ts +10 -1
  85. package/esm/style/global-style.d.ts +1 -8
  86. package/esm/style/palette/index.d.ts +19 -7
  87. package/esm/style/themes/aegean/aegean-theme.config.d.ts +3 -25
  88. package/esm/style/themes/aegean/aegean-theme.config.js +16 -14
  89. package/esm/style/themes/aegean/index.d.ts +2 -5
  90. package/esm/style/themes/base/base-theme.config.d.ts +31 -468
  91. package/esm/style/themes/base/base-theme.config.js +3 -1
  92. package/esm/style/themes/base/index.d.ts +3 -62
  93. package/esm/style/themes/base/index.js +2 -2
  94. package/esm/style/themes/index.d.ts +1 -5
  95. package/esm/style/themes/medium/index.d.ts +1 -1
  96. package/esm/style/themes/mint/index.d.ts +2 -5
  97. package/esm/style/themes/mint/mint-theme.config.d.ts +3 -25
  98. package/esm/style/themes/mint/mint-theme.config.js +16 -14
  99. package/esm/style/themes/none/index.d.ts +2 -5
  100. package/esm/style/themes/none/none-theme.config.d.ts +2 -3
  101. package/esm/style/themes/sage/index.d.ts +8 -11
  102. package/esm/style/themes/small/index.d.ts +1 -1
  103. package/esm/style/themes/test-utils.d.ts +1 -1
  104. package/esm/style/utils/add-hex-symbols.d.ts +1 -1
  105. package/esm/style/utils/at-opacity.d.ts +6 -1
  106. package/esm/style/utils/at-opacity.js +4 -2
  107. package/esm/style/utils/color.d.ts +3 -7
  108. package/esm/style/utils/color.js +10 -10
  109. package/esm/style/utils/filter-out-styled-system-spacing-props.d.ts +1 -3
  110. package/esm/style/utils/filter-styled-system-margin-props.d.ts +3 -1
  111. package/esm/style/utils/filter-styled-system-margin-props.js +1 -1
  112. package/esm/style/utils/filter-styled-system-padding-props.d.ts +3 -1
  113. package/esm/style/utils/filter-styled-system-padding-props.js +1 -1
  114. package/esm/style/utils/get-rgb-values.d.ts +2 -2
  115. package/esm/style/utils/get-rgb-values.js +1 -1
  116. package/esm/style/utils/index.d.ts +1 -1
  117. package/esm/style/utils/merge-deep.d.ts +2 -6
  118. package/esm/style/utils/merge-deep.js +19 -22
  119. package/esm/style/utils/mix.d.ts +4 -1
  120. package/esm/style/utils/mix.js +10 -5
  121. package/esm/style/utils/shade.d.ts +1 -1
  122. package/esm/style/utils/tint.d.ts +1 -1
  123. package/esm/style/utils/width.d.ts +2 -3
  124. package/lib/__internal__/checkable-input/checkable-input.d.ts +2 -2
  125. package/lib/__internal__/fieldset/fieldset.component.d.ts +45 -15
  126. package/lib/__internal__/form-field/form-field.component.d.ts +14 -0
  127. package/lib/__internal__/form-field/form-field.d.ts +2 -4
  128. package/lib/__internal__/input/input-presentation.style.d.ts +1 -1
  129. package/lib/__internal__/label/label.d.ts +2 -2
  130. package/lib/__internal__/validations/validation-icon.component.d.ts +2 -5
  131. package/lib/__spec_helper__/test-utils.d.ts +1 -1
  132. package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +17 -3
  133. package/lib/components/accordion/accordion.component.js +1 -1
  134. package/lib/components/action-popover/action-popover.component.d.ts +35 -18
  135. package/lib/components/advanced-color-picker/advanced-color-picker.component.d.ts +14 -0
  136. package/lib/components/box/box.component.d.ts +1 -6
  137. package/lib/components/button-toggle-group/button-toggle-group.component.d.ts +14 -0
  138. package/lib/components/button-toggle-group/button-toggle-group.d.ts +2 -4
  139. package/lib/components/carbon-provider/carbon-provider.component.d.ts +1 -1
  140. package/lib/components/carbon-provider/carbon-provider.component.js +20 -19
  141. package/lib/components/card/card-row/card-row.component.d.ts +19 -4
  142. package/lib/components/card/card.component.d.ts +28 -10
  143. package/lib/components/checkbox/checkbox-group.component.d.ts +48 -15
  144. package/lib/components/checkbox/checkbox-group.d.ts +2 -2
  145. package/lib/components/checkbox/checkbox.component.d.ts +14 -0
  146. package/lib/components/content/content.component.d.ts +31 -9
  147. package/lib/components/date/__internal__/date-formats/index.js +88 -20
  148. package/lib/components/date/__internal__/utils.js +14 -3
  149. package/lib/components/date/date.component.js +13 -5
  150. package/lib/components/date-range/date-range.component.d.ts +68 -20
  151. package/lib/components/decimal/decimal.component.d.ts +14 -0
  152. package/lib/components/detail/detail.component.d.ts +34 -6
  153. package/lib/components/draggable/draggable-container.component.d.ts +24 -4
  154. package/lib/components/draggable/draggable-item.component.d.ts +34 -6
  155. package/lib/components/duelling-picklist/duelling-picklist.component.d.ts +27 -8
  156. package/lib/components/fieldset/fieldset.component.d.ts +23 -7
  157. package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +66 -17
  158. package/lib/components/flat-table/flat-table-header/flat-table-header.component.d.ts +48 -14
  159. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +44 -12
  160. package/lib/components/flat-table/flat-table.component.d.ts +46 -20
  161. package/lib/components/grid/grid-item/grid-item.component.d.ts +29 -22
  162. package/lib/components/grouped-character/grouped-character.component.d.ts +32 -10
  163. package/lib/components/heading/heading.component.d.ts +66 -18
  164. package/lib/components/help/help.component.d.ts +51 -22
  165. package/lib/components/loader/loader.component.d.ts +14 -0
  166. package/lib/components/loader-bar/loader-bar.component.d.ts +18 -3
  167. package/lib/components/message/message.component.d.ts +36 -12
  168. package/lib/components/multi-action-button/multi-action-button.component.d.ts +14 -0
  169. package/lib/components/note/note.component.d.ts +34 -11
  170. package/lib/components/numeral-date/numeral-date.component.d.ts +14 -0
  171. package/lib/components/numeral-date/numeral-date.d.ts +2 -2
  172. package/lib/components/pill/pill.component.d.ts +37 -22
  173. package/lib/components/pill/pill.style.js +1 -1
  174. package/lib/components/popover-container/popover-container.component.d.ts +54 -23
  175. package/lib/components/portrait/portrait.component.d.ts +55 -29
  176. package/lib/components/preview/preview.component.d.ts +26 -9
  177. package/lib/components/profile/profile.component.d.ts +28 -8
  178. package/lib/components/progress-tracker/progress-tracker.component.d.ts +14 -0
  179. package/lib/components/radio-button/radio-button-group.component.d.ts +60 -21
  180. package/lib/components/radio-button/radio-button-group.d.ts +2 -4
  181. package/lib/components/search/search.component.d.ts +14 -0
  182. package/lib/components/select/select-textbox/select-textbox.d.ts +2 -2
  183. package/lib/components/settings-row/settings-row.component.d.ts +26 -7
  184. package/lib/components/show-edit-pod/show-edit-pod.component.d.ts +58 -23
  185. package/lib/components/simple-color-picker/simple-color-picker.component.d.ts +52 -17
  186. package/lib/components/simple-color-picker/simple-color-picker.d.ts +2 -4
  187. package/lib/components/split-button/split-button.component.d.ts +14 -0
  188. package/lib/components/step-sequence/step-sequence.component.d.ts +21 -6
  189. package/lib/components/switch/switch.component.d.ts +14 -0
  190. package/lib/components/tabs/tab/tab.component.d.ts +51 -20
  191. package/lib/components/tabs/tabs.component.d.ts +46 -15
  192. package/lib/components/textarea/textarea.component.d.ts +14 -0
  193. package/lib/components/textarea/textarea.d.ts +2 -2
  194. package/lib/components/textbox/textbox.component.d.ts +14 -0
  195. package/lib/components/textbox/textbox.d.ts +2 -2
  196. package/lib/components/tile/tile-footer/tile-footer.component.d.ts +19 -4
  197. package/lib/components/tile-select/tile-select-group.component.d.ts +35 -12
  198. package/lib/components/tile-select/tile-select.component.d.ts +63 -26
  199. package/lib/components/typography/list.component.d.ts +1 -2
  200. package/lib/components/typography/typography.component.d.ts +1 -6
  201. package/lib/global.d.ts +1 -0
  202. package/lib/style/color-config/index.d.ts +2 -3
  203. package/lib/style/color-config/index.js +2 -1
  204. package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.d.ts +3 -2
  205. package/lib/style/design-tokens/debug-theme.util.d.ts +449 -1
  206. package/lib/style/design-tokens/generate-css-variables.util.d.ts +10 -1
  207. package/lib/style/global-style.d.ts +1 -8
  208. package/lib/style/palette/index.d.ts +19 -7
  209. package/lib/style/themes/aegean/aegean-theme.config.d.ts +3 -25
  210. package/lib/style/themes/aegean/aegean-theme.config.js +16 -14
  211. package/lib/style/themes/aegean/index.d.ts +2 -5
  212. package/lib/style/themes/base/base-theme.config.d.ts +31 -468
  213. package/lib/style/themes/base/base-theme.config.js +3 -1
  214. package/lib/style/themes/base/index.d.ts +3 -62
  215. package/lib/style/themes/base/index.js +2 -2
  216. package/lib/style/themes/index.d.ts +1 -5
  217. package/lib/style/themes/medium/index.d.ts +1 -1
  218. package/lib/style/themes/mint/index.d.ts +2 -5
  219. package/lib/style/themes/mint/mint-theme.config.d.ts +3 -25
  220. package/lib/style/themes/mint/mint-theme.config.js +16 -14
  221. package/lib/style/themes/none/index.d.ts +2 -5
  222. package/lib/style/themes/none/none-theme.config.d.ts +2 -3
  223. package/lib/style/themes/sage/index.d.ts +8 -11
  224. package/lib/style/themes/small/index.d.ts +1 -1
  225. package/lib/style/themes/test-utils.d.ts +1 -1
  226. package/lib/style/utils/add-hex-symbols.d.ts +1 -1
  227. package/lib/style/utils/at-opacity.d.ts +6 -1
  228. package/lib/style/utils/at-opacity.js +4 -2
  229. package/lib/style/utils/color.d.ts +3 -7
  230. package/lib/style/utils/color.js +9 -9
  231. package/lib/style/utils/filter-out-styled-system-spacing-props.d.ts +1 -3
  232. package/lib/style/utils/filter-styled-system-margin-props.d.ts +3 -1
  233. package/lib/style/utils/filter-styled-system-margin-props.js +2 -0
  234. package/lib/style/utils/filter-styled-system-padding-props.d.ts +3 -1
  235. package/lib/style/utils/filter-styled-system-padding-props.js +2 -0
  236. package/lib/style/utils/get-rgb-values.d.ts +2 -2
  237. package/lib/style/utils/get-rgb-values.js +1 -1
  238. package/lib/style/utils/index.d.ts +1 -1
  239. package/lib/style/utils/merge-deep.d.ts +2 -6
  240. package/lib/style/utils/merge-deep.js +20 -24
  241. package/lib/style/utils/mix.d.ts +4 -1
  242. package/lib/style/utils/mix.js +10 -5
  243. package/lib/style/utils/shade.d.ts +1 -1
  244. package/lib/style/utils/tint.d.ts +1 -1
  245. package/lib/style/utils/width.d.ts +2 -3
  246. package/package.json +1 -1
  247. package/esm/style/__spec__.d.ts +0 -1
  248. package/esm/style/__spec__.js +0 -76
  249. package/lib/style/__spec__.d.ts +0 -1
  250. package/lib/style/__spec__.js +0 -82
@@ -63,6 +63,20 @@ declare namespace Search {
63
63
  }>>;
64
64
  /** Input tabindex */
65
65
  tabIndex: PropTypes.Requireable<number>;
66
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
67
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
68
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
69
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
70
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
71
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
72
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
73
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
74
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
75
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
76
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
77
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
78
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
79
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
66
80
  };
67
81
  }
68
82
  import PropTypes from "prop-types";
@@ -1,10 +1,10 @@
1
1
  import * as React from "react";
2
2
 
3
3
  import { CommonTextboxProps } from "../../textbox";
4
- import { ValidationPropTypes } from "../../../__internal__/validations";
4
+ import { ValidationProps } from "../../../__internal__/validations";
5
5
 
6
6
  export interface FormInputPropTypes
7
- extends ValidationPropTypes,
7
+ extends ValidationProps,
8
8
  CommonTextboxProps {
9
9
  /** Breakpoint for adaptive label (inline labels change to top aligned). Enables the adaptive behaviour when set */
10
10
  adaptiveLabelBreakpoint?: number;
@@ -8,12 +8,31 @@ declare function SettingsRow({ title, description, children, className, divider,
8
8
  divider?: boolean | undefined;
9
9
  }): JSX.Element;
10
10
  declare namespace SettingsRow {
11
- namespace propTypes {
12
- const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- const className: PropTypes.Requireable<string>;
14
- const title: PropTypes.Requireable<string>;
15
- const description: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
- const divider: PropTypes.Requireable<boolean>;
17
- }
11
+ const propTypes: {
12
+ /** This component supports children. */
13
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
+ /** The CSS classes to apply to the component. */
15
+ className: PropTypes.Requireable<string>;
16
+ /** A title for this group of settings. */
17
+ title: PropTypes.Requireable<string>;
18
+ /** A string or JSX object that provides a short description about the group of settings. */
19
+ description: PropTypes.Requireable<PropTypes.ReactNodeLike>;
20
+ /** Shows a divider below the component. */
21
+ divider: PropTypes.Requireable<boolean>;
22
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
23
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
24
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
25
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
26
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
27
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
28
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
29
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
30
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
31
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
32
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
33
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
34
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
35
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
36
+ };
18
37
  }
19
38
  import PropTypes from "prop-types";
@@ -25,28 +25,63 @@ declare function ShowEditPod({ border, className, children, saving, editFields,
25
25
  variant?: string | undefined;
26
26
  }): JSX.Element;
27
27
  declare namespace ShowEditPod {
28
- namespace propTypes {
29
- const variant: PropTypes.Requireable<string>;
30
- const border: PropTypes.Requireable<boolean>;
31
- const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
32
- const className: PropTypes.Requireable<string>;
33
- const editing: PropTypes.Requireable<boolean>;
34
- const onEdit: PropTypes.Requireable<(...args: any[]) => any>;
35
- const onDelete: PropTypes.Requireable<(...args: any[]) => any>;
36
- const onUndo: PropTypes.Requireable<(...args: any[]) => any>;
37
- const softDelete: PropTypes.Requireable<boolean>;
38
- const hideDeleteButtonInViewMode: PropTypes.Requireable<boolean>;
39
- const editFields: PropTypes.Requireable<PropTypes.ReactNodeLike>;
40
- const transitionName: PropTypes.Requireable<string>;
41
- const onSave: PropTypes.Requireable<(...args: any[]) => any>;
42
- const buttonAlign: PropTypes.Requireable<string>;
43
- const cancel: PropTypes.Requireable<boolean>;
44
- const cancelText: PropTypes.Requireable<string>;
45
- const onCancel: PropTypes.Requireable<(...args: any[]) => any>;
46
- const saveText: PropTypes.Requireable<string>;
47
- const deleteText: PropTypes.Requireable<string>;
48
- const saving: PropTypes.Requireable<boolean>;
49
- const title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
50
- }
28
+ const propTypes: {
29
+ /** Pod theme variant. */
30
+ variant: PropTypes.Requireable<string>;
31
+ /** Enable/disable the border on the Pod. */
32
+ border: PropTypes.Requireable<boolean>;
33
+ /** This component supports children. */
34
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
35
+ /** Classes to apply to the component. */
36
+ className: PropTypes.Requireable<string>;
37
+ /** Allows developers to control the editing state manually. */
38
+ editing: PropTypes.Requireable<boolean>;
39
+ /** Callback when edit button is clicked. */
40
+ onEdit: PropTypes.Requireable<(...args: any[]) => any>;
41
+ /** A callback triggered when the delete action is clicked. */
42
+ onDelete: PropTypes.Requireable<(...args: any[]) => any>;
43
+ /** A callback triggered when the undo action is clicked. */
44
+ onUndo: PropTypes.Requireable<(...args: any[]) => any>;
45
+ /** Sets soft delete state. */
46
+ softDelete: PropTypes.Requireable<boolean>;
47
+ /** Hide delete button in view mode. */
48
+ hideDeleteButtonInViewMode: PropTypes.Requireable<boolean>;
49
+ /** Define fields to be rendered in the edit state */
50
+ editFields: PropTypes.Requireable<PropTypes.ReactNodeLike>;
51
+ /** Define a custom transition between show and edit states */
52
+ transitionName: PropTypes.Requireable<string>;
53
+ /** A callback triggered after clicking the save button */
54
+ onSave: PropTypes.Requireable<(...args: any[]) => any>;
55
+ /** Controls which direction the form buttons align */
56
+ buttonAlign: PropTypes.Requireable<string>;
57
+ /** Set to false to hide the cancel button */
58
+ cancel: PropTypes.Requireable<boolean>;
59
+ /** Supply custom text for the cancel button */
60
+ cancelText: PropTypes.Requireable<string>;
61
+ /** A callback triggered when the form is cancelled */
62
+ onCancel: PropTypes.Requireable<(...args: any[]) => any>;
63
+ /** Supply custom text for the save button */
64
+ saveText: PropTypes.Requireable<string>;
65
+ /** Supply custom text for the delete button */
66
+ deleteText: PropTypes.Requireable<string>;
67
+ /** Can inform if the form is in a saving state (disables the save button) */
68
+ saving: PropTypes.Requireable<boolean>;
69
+ /** Title to be displayed */
70
+ title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
71
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
72
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
73
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
74
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
75
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
76
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
77
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
78
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
79
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
80
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
81
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
82
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
83
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
84
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
85
+ };
51
86
  }
52
87
  import PropTypes from "prop-types";
@@ -1,22 +1,57 @@
1
1
  export default SimpleColorPicker;
2
2
  declare function SimpleColorPicker(props: any): JSX.Element;
3
3
  declare namespace SimpleColorPicker {
4
- namespace propTypes {
5
- function children(props: any, propName: any, componentName: any): undefined;
6
- const isBlurBlocked: PropTypes.Requireable<boolean>;
7
- const error: PropTypes.Requireable<string | boolean>;
8
- const warning: PropTypes.Requireable<string | boolean>;
9
- const info: PropTypes.Requireable<string | boolean>;
10
- const validationOnLegend: PropTypes.Requireable<boolean>;
11
- const legend: PropTypes.Validator<string>;
12
- const value: PropTypes.Requireable<string>;
13
- const name: PropTypes.Requireable<string>;
14
- const onChange: PropTypes.Requireable<(...args: any[]) => any>;
15
- const onBlur: PropTypes.Requireable<(...args: any[]) => any>;
16
- const onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
17
- const maxWidth: PropTypes.Requireable<string>;
18
- const childWidth: PropTypes.Requireable<string>;
19
- const required: PropTypes.Requireable<boolean>;
20
- }
4
+ const propTypes: {
5
+ /** The SimpleColor components to be rendered in the group */
6
+ children: (props: any, propName: any, componentName: any) => undefined;
7
+ /** Should the onBlur callback prop be initially blocked? */
8
+ isBlurBlocked: PropTypes.Requireable<boolean>;
9
+ /** Indicate that error has occurred
10
+ Pass string to display icon, tooltip and red border
11
+ Pass true boolean to only display red border */
12
+ error: PropTypes.Requireable<string | boolean>;
13
+ /** Indicate that warning has occurred
14
+ Pass string to display icon, tooltip and orange border
15
+ Pass true boolean to only display orange border */
16
+ warning: PropTypes.Requireable<string | boolean>;
17
+ /** Indicate additional information
18
+ Pass string to display icon, tooltip and blue border
19
+ Pass true boolean to only display blue border */
20
+ info: PropTypes.Requireable<string | boolean>;
21
+ /** When true, validation icon will be placed on legend instead of being placed by the input */
22
+ validationOnLegend: PropTypes.Requireable<boolean>;
23
+ /** The content for the RadioGroup Legend */
24
+ legend: PropTypes.Validator<string>;
25
+ /** The currently selected color. */
26
+ value: PropTypes.Requireable<string>;
27
+ /** The name to apply to the input. */
28
+ name: PropTypes.Requireable<string>;
29
+ /** A callback triggered when a color is selected. */
30
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
31
+ /** A callback triggered when a color is selected. */
32
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
33
+ /** A callback triggered on key down. */
34
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
35
+ /** prop that sets max-width in css */
36
+ maxWidth: PropTypes.Requireable<string>;
37
+ /** prop that represents childWidth */
38
+ childWidth: PropTypes.Requireable<string>;
39
+ /** Flag to configure component as mandatory */
40
+ required: PropTypes.Requireable<boolean>;
41
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
42
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
43
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
44
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
45
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
46
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
47
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
48
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
49
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
50
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
51
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
52
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
53
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
54
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
55
+ };
21
56
  }
22
57
  import PropTypes from "prop-types";
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { MarginProps } from "styled-system";
3
- import { ValidationPropTypes } from "../../__internal__/validations";
3
+ import { ValidationProps } from "../../__internal__/validations";
4
4
  import { SimpleColorProps } from "./simple-color/simple-color";
5
5
 
6
6
  type SimpleColorPickerChild =
@@ -9,9 +9,7 @@ type SimpleColorPickerChild =
9
9
  | null
10
10
  | undefined;
11
11
 
12
- export interface SimpleColorPickerProps
13
- extends ValidationPropTypes,
14
- MarginProps {
12
+ export interface SimpleColorPickerProps extends ValidationProps, MarginProps {
15
13
  /** The SimpleColor components to be rendered in the group */
16
14
  children?: SimpleColorPickerChild | SimpleColorPickerChild[];
17
15
  /** prop that represents childWidth */
@@ -37,6 +37,20 @@ declare namespace SplitButton {
37
37
  iconPosition: PropTypes.Requireable<string>;
38
38
  /** Set align of the rendered content */
39
39
  align: PropTypes.Requireable<string>;
40
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
41
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
42
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
43
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
44
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
45
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
46
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
47
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
48
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
49
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
50
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
51
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
52
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
53
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
40
54
  };
41
55
  const safeProps: string[];
42
56
  }
@@ -3,13 +3,28 @@ export default StepSequence;
3
3
  import React from "react";
4
4
  declare function StepSequence(props: any): JSX.Element;
5
5
  declare namespace StepSequence {
6
- namespace propTypes {
7
- const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
8
- const orientation: PropTypes.Requireable<string>;
9
- }
6
+ const propTypes: {
7
+ /** Step sequence items to be rendered */
8
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
9
+ /** The direction that step sequence items should be rendered */
10
+ orientation: PropTypes.Requireable<string>;
11
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
12
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
13
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
14
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
15
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
16
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
17
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
18
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
19
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
20
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
21
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
22
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
23
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
24
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
25
+ };
10
26
  namespace defaultProps {
11
- const orientation_1: string;
12
- export { orientation_1 as orientation };
27
+ const orientation: string;
13
28
  }
14
29
  }
15
30
  import PropTypes from "prop-types";
@@ -112,6 +112,20 @@ declare namespace Switch {
112
112
  tooltipPosition: PropTypes.Requireable<string>;
113
113
  /** Aria label for rendered help component */
114
114
  helpAriaLabel: PropTypes.Requireable<string>;
115
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
116
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
117
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
118
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
119
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
120
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
121
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
122
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
123
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
124
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
125
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
126
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
127
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
128
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
115
129
  };
116
130
  const defaultProps: {
117
131
  labelInline: boolean;
@@ -15,26 +15,57 @@ declare function Tab({ ariaLabelledby, className, children, isTabSelected, posit
15
15
  href: any;
16
16
  }): JSX.Element;
17
17
  declare namespace Tab {
18
- namespace propTypes {
19
- const title: PropTypes.Requireable<string>;
20
- const tabId: PropTypes.Validator<string>;
21
- const className: PropTypes.Requireable<string>;
22
- const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
23
- const customLayout: PropTypes.Requireable<PropTypes.ReactNodeLike>;
24
- const isTabSelected: PropTypes.Requireable<boolean>;
25
- const position: PropTypes.Requireable<string>;
26
- const role: PropTypes.Requireable<string>;
27
- const ariaLabelledby: PropTypes.Requireable<string>;
28
- const updateErrors: PropTypes.Requireable<(...args: any[]) => any>;
29
- const updateWarnings: PropTypes.Requireable<(...args: any[]) => any>;
30
- const updateInfos: PropTypes.Requireable<(...args: any[]) => any>;
31
- const errorMessage: PropTypes.Requireable<string>;
32
- const warningMessage: PropTypes.Requireable<string>;
33
- const infoMessage: PropTypes.Requireable<string>;
34
- const siblings: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
35
- const titlePosition: PropTypes.Requireable<string>;
36
- const href: PropTypes.Requireable<string>;
37
- }
18
+ const propTypes: {
19
+ title: PropTypes.Requireable<string>;
20
+ /** A unique ID to identify this specific tab. */
21
+ tabId: PropTypes.Validator<string>;
22
+ /** @ignore @private */
23
+ className: PropTypes.Requireable<string>;
24
+ /** The child elements of Tab component. */
25
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
26
+ /** Overrides Title default layout with a one defined in this prop */
27
+ customLayout: PropTypes.Requireable<PropTypes.ReactNodeLike>;
28
+ /** Boolean indicating selected state of Tab. */
29
+ isTabSelected: PropTypes.Requireable<boolean>;
30
+ /** The position of the Tab. */
31
+ position: PropTypes.Requireable<string>;
32
+ /** @ignore @private */
33
+ role: PropTypes.Requireable<string>;
34
+ /** @ignore @private */
35
+ ariaLabelledby: PropTypes.Requireable<string>;
36
+ /** @ignore @private */
37
+ updateErrors: PropTypes.Requireable<(...args: any[]) => any>;
38
+ /** @ignore @private */
39
+ updateWarnings: PropTypes.Requireable<(...args: any[]) => any>;
40
+ /** @ignore @private */
41
+ updateInfos: PropTypes.Requireable<(...args: any[]) => any>;
42
+ /** Message displayed when Tab has error */
43
+ errorMessage: PropTypes.Requireable<string>;
44
+ /** Message displayed when Tab has warning */
45
+ warningMessage: PropTypes.Requireable<string>;
46
+ /** Message displayed when Tab has warning */
47
+ infoMessage: PropTypes.Requireable<string>;
48
+ /** Additional content to display with title */
49
+ siblings: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
50
+ /** Position title before or after siblings */
51
+ titlePosition: PropTypes.Requireable<string>;
52
+ /** Allows Tab to be a link */
53
+ href: PropTypes.Requireable<string>;
54
+ p?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
55
+ padding?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
56
+ pr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
57
+ pl?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
58
+ paddingLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
59
+ paddingRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
60
+ paddingTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
61
+ pt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
62
+ paddingBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
63
+ pb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
64
+ paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
65
+ px?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
66
+ paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
67
+ py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
68
+ };
38
69
  }
39
70
  import React from "react";
40
71
  import PropTypes from "prop-types";
@@ -15,27 +15,58 @@ export function Tabs({ align, className, children, onTabChange, selectedTabId, r
15
15
  headerWidth: any;
16
16
  }): JSX.Element;
17
17
  export namespace Tabs {
18
- namespace propTypes {
19
- const className: PropTypes.Requireable<string>;
20
- const renderHiddenTabs: PropTypes.Requireable<boolean>;
21
- const selectedTabId: PropTypes.Requireable<string>;
22
- const children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
23
- const align: PropTypes.Requireable<string>;
24
- const onTabChange: PropTypes.Requireable<(...args: any[]) => any>;
25
- const position: PropTypes.Requireable<string>;
26
- const size: PropTypes.Requireable<string>;
27
- const extendedLine: PropTypes.Requireable<boolean>;
28
- const borders: PropTypes.Requireable<string>;
29
- function headerWidth(props: any, propName: any, componentName: any): Error | null;
30
- const variant: PropTypes.Requireable<string>;
31
- const validationStatusOverride: PropTypes.Requireable<PropTypes.InferProps<{
18
+ const propTypes: {
19
+ /** @ignore @private */
20
+ className: PropTypes.Requireable<string>;
21
+ /** Prevent rendering of hidden tabs, by default this is set to true and therefore all tabs will be rendered */
22
+ renderHiddenTabs: PropTypes.Requireable<boolean>;
23
+ /** Allows manual control over the currently selected tab. */
24
+ selectedTabId: PropTypes.Requireable<string>;
25
+ /** The child elements of Tabs need to be Tab components. */
26
+ children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
27
+ /** Sets the alignment of the tab titles. Possible values include. */
28
+ align: PropTypes.Requireable<string>;
29
+ /** A callback for when a tab is changed. You can use this to manually control
30
+ * tab changing or to fire other events when a tab is changed. */
31
+ onTabChange: PropTypes.Requireable<(...args: any[]) => any>;
32
+ /** The position of the tab title. */
33
+ position: PropTypes.Requireable<string>;
34
+ /** Sets size of the tab titles. */
35
+ size: PropTypes.Requireable<string>;
36
+ /** Sets the divider of the tab titles header to extend the full width of the parent. */
37
+ extendedLine: PropTypes.Requireable<boolean>;
38
+ /** Adds a combination of borders to the tab titles. */
39
+ borders: PropTypes.Requireable<string>;
40
+ /** sets width to the tab headers. Can be any valid CSS string.
41
+ * The headerWidth prop works only for `position="left"`
42
+ */
43
+ headerWidth: (props: any, propName: any, componentName: any) => Error | null;
44
+ /** Adds an alternate styling variant to the tab titles. */
45
+ variant: PropTypes.Requireable<string>;
46
+ /** An object to support overriding validation statuses, when the Tabs have custom targets for example.
47
+ * The `id` property should match the `tabId`s for the rendered Tabs. */
48
+ validationStatusOverride: PropTypes.Requireable<PropTypes.InferProps<{
32
49
  id: PropTypes.Requireable<PropTypes.InferProps<{
33
50
  error: PropTypes.Requireable<boolean>;
34
51
  warning: PropTypes.Requireable<boolean>;
35
52
  info: PropTypes.Requireable<boolean>;
36
53
  }>>;
37
54
  }>>;
38
- }
55
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
56
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
57
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
58
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
59
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
60
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
61
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
62
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
63
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
64
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
65
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
66
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
67
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
68
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
69
+ };
39
70
  }
40
71
  import Tab from "./tab";
41
72
  import PropTypes from "prop-types";
@@ -124,6 +124,20 @@ declare namespace Textarea {
124
124
  tooltipPosition: PropTypes.Requireable<string>;
125
125
  /** Aria label for rendered help component */
126
126
  helpAriaLabel: PropTypes.Requireable<string>;
127
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
128
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
129
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
130
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
131
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
132
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
133
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
134
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
135
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
136
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
137
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
138
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
139
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
140
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
127
141
  };
128
142
  }
129
143
  import PropTypes from "prop-types";
@@ -1,11 +1,11 @@
1
1
  import * as React from "react";
2
2
  import { MarginProps } from "styled-system";
3
3
 
4
- import { ValidationPropTypes } from "../../__internal__/validations";
4
+ import { ValidationProps } from "../../__internal__/validations";
5
5
  import { CommonInputProps } from "../../__internal__/input";
6
6
 
7
7
  export interface TextareaProps
8
- extends ValidationPropTypes,
8
+ extends ValidationProps,
9
9
  MarginProps,
10
10
  Omit<CommonInputProps, "size"> {
11
11
  /** Automatically focus the input on component mount */
@@ -182,6 +182,20 @@ declare namespace Textbox {
182
182
  warnOverLimit: PropTypes.Requireable<boolean>;
183
183
  /** Aria label for rendered help component */
184
184
  helpAriaLabel: PropTypes.Requireable<string>;
185
+ marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
186
+ margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
187
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
188
+ marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
189
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
190
+ marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
191
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
192
+ marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
193
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
194
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
195
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
196
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
197
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
198
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
185
199
  };
186
200
  namespace defaultProps {
187
201
  const labelWidth: number;
@@ -1,11 +1,11 @@
1
1
  import * as React from "react";
2
2
  import { MarginProps } from "styled-system";
3
3
 
4
- import { ValidationPropTypes } from "../../__internal__/validations";
4
+ import { ValidationProps } from "../../__internal__/validations";
5
5
  import { CommonInputProps } from "../../__internal__/input";
6
6
 
7
7
  export interface CommonTextboxProps
8
- extends ValidationPropTypes,
8
+ extends ValidationProps,
9
9
  MarginProps,
10
10
  Omit<CommonInputProps, "size"> {
11
11
  /** Automatically focus the input on component mount */