carbon-react 152.2.0 → 153.0.0-beta.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 (352) hide show
  1. package/esm/__internal__/fieldset/fieldset.component.js +2 -2
  2. package/esm/__internal__/fieldset/fieldset.style.d.ts +3 -3
  3. package/esm/__internal__/fieldset/fieldset.style.js +1 -0
  4. package/esm/__internal__/focus-trap/focus-trap-utils.d.ts +1 -1
  5. package/esm/__internal__/focus-trap/focus-trap.component.d.ts +1 -1
  6. package/esm/__internal__/form-field/form-field.component.js +2 -2
  7. package/esm/__internal__/form-field/form-field.style.js +1 -0
  8. package/esm/__internal__/input/input-presentation.component.d.ts +1 -1
  9. package/esm/__internal__/input/input-presentation.style.d.ts +1 -1
  10. package/esm/__internal__/input/input.component.d.ts +1 -1
  11. package/esm/__internal__/popover/popover.component.d.ts +1 -1
  12. package/esm/__internal__/popover/popover.style.d.ts +1 -1
  13. package/esm/__internal__/validations/validation-icon.component.d.ts +1 -1
  14. package/esm/__internal__/validations/validation-icon.style.d.ts +1 -1
  15. package/esm/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
  16. package/esm/components/accordion/accordion.style.js +2 -2
  17. package/esm/components/action-popover/__internal__/action-popover-utils.d.ts +1 -1
  18. package/esm/components/action-popover/__internal__/action-popover.context.d.ts +2 -2
  19. package/esm/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.d.ts +1 -1
  20. package/esm/components/action-popover/action-popover.component.d.ts +1 -1
  21. package/esm/components/action-popover/action-popover.style.d.ts +1 -1
  22. package/esm/components/badge/badge.style.d.ts +1 -1
  23. package/esm/components/batch-selection/__internal__/batch-selection.context.d.ts +1 -1
  24. package/esm/components/box/box.component.d.ts +6 -6
  25. package/esm/components/breadcrumbs/__internal__/breadcrumbs.context.d.ts +1 -1
  26. package/esm/components/button/button.component.d.ts +8 -8
  27. package/esm/components/button/button.component.js +1 -1
  28. package/esm/components/button/button.style.js +22 -8
  29. package/esm/components/button-minor/button-minor.style.d.ts +1 -1
  30. package/esm/components/button-toggle/button-toggle-group/__internal__/button-toggle-group.context.d.ts +1 -1
  31. package/esm/components/button-toggle/button-toggle-group/button-toggle-group.style.d.ts +1 -1
  32. package/esm/components/button-toggle/button-toggle.style.d.ts +1 -1
  33. package/esm/components/carbon-provider/__internal__/top-modal.context.d.ts +1 -1
  34. package/esm/components/card/card.component.d.ts +2 -2
  35. package/esm/components/card/card.config.d.ts +2 -2
  36. package/esm/components/card/card.style.d.ts +2 -2
  37. package/esm/components/checkbox/checkbox-group/checkbox-group.component.js +2 -7
  38. package/esm/components/checkbox/checkbox.component.js +2 -2
  39. package/esm/components/checkbox/checkbox.style.js +1 -0
  40. package/esm/components/content/content.style.d.ts +2 -2
  41. package/esm/components/date/__internal__/date-picker/date-picker.component.d.ts +1 -1
  42. package/esm/components/date/__internal__/weekday/weekday.style.js +1 -1
  43. package/esm/components/date/date.component.js +2 -3
  44. package/esm/components/date/date.style.js +1 -0
  45. package/esm/components/date-range/__internal__/date-range.context.d.ts +4 -4
  46. package/esm/components/date-range/date-range.style.js +1 -0
  47. package/esm/components/definition-list/__internal__/dl.context.d.ts +1 -1
  48. package/esm/components/dialog/dialog.component.d.ts +2 -2
  49. package/esm/components/dialog/dialog.config.d.ts +1 -1
  50. package/esm/components/dialog/dialog.style.d.ts +1 -1
  51. package/esm/components/dialog-full-screen/content.style.d.ts +1 -1
  52. package/esm/components/dialog-full-screen/content.style.js +8 -7
  53. package/esm/components/duelling-picklist/__internal__/duelling-picklist.context.d.ts +1 -1
  54. package/esm/components/duelling-picklist/picklist-divider/picklist-divider.component.d.ts +1 -1
  55. package/esm/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +1 -1
  56. package/esm/components/duelling-picklist/picklist-item/picklist-item.component.d.ts +1 -1
  57. package/esm/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +1 -1
  58. package/esm/components/fieldset/fieldset.component.js +3 -6
  59. package/esm/components/fieldset/fieldset.style.js +5 -0
  60. package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts +1 -1
  61. package/esm/components/flat-table/index.d.ts +2 -2
  62. package/esm/components/form/__internal__/form-summary.style.d.ts +2 -2
  63. package/esm/components/form/form.component.js +3 -6
  64. package/esm/components/form/form.config.d.ts +1 -1
  65. package/esm/components/form/form.style.d.ts +1 -1
  66. package/esm/components/form/form.style.js +20 -11
  67. package/esm/components/grouped-character/grouped-character.component.d.ts +2 -2
  68. package/esm/components/heading/heading.component.d.ts +1 -1
  69. package/esm/components/heading/heading.style.d.ts +3 -3
  70. package/esm/components/icon/icon-type.d.ts +1 -1
  71. package/esm/components/icon/icon-unicodes.d.ts +248 -248
  72. package/esm/components/icon/icon.component.d.ts +1 -1
  73. package/esm/components/icon/icon.style.d.ts +3 -3
  74. package/esm/components/icon/icon.style.js +5 -11
  75. package/esm/components/image/image.style.d.ts +2 -2
  76. package/esm/components/inline-inputs/inline-inputs.component.js +3 -6
  77. package/esm/components/inline-inputs/inline-inputs.style.d.ts +1 -1
  78. package/esm/components/inline-inputs/inline-inputs.style.js +1 -0
  79. package/esm/components/link/link.style.d.ts +1 -1
  80. package/esm/components/loader-spinner/loader-spinner.config.d.ts +3 -3
  81. package/esm/components/loader-spinner/loader-spinner.style.js +1 -1
  82. package/esm/components/menu/__internal__/locators.d.ts +3 -3
  83. package/esm/components/menu/__internal__/menu.context.d.ts +1 -1
  84. package/esm/components/menu/menu-item/menu-item.component.d.ts +1 -1
  85. package/esm/components/menu/menu-segment-title/menu-segment-title.component.d.ts +1 -1
  86. package/esm/components/message/__internal__/type-icon/type-icon.style.d.ts +1 -1
  87. package/esm/components/message/message.component.d.ts +1 -1
  88. package/esm/components/message/message.style.d.ts +1 -1
  89. package/esm/components/modal/__internal__/modal-manager.d.ts +2 -2
  90. package/esm/components/modal/modal.style.d.ts +1 -1
  91. package/esm/components/multi-action-button/multi-action-button.component.d.ts +1 -1
  92. package/esm/components/multi-action-button/multi-action-button.style.d.ts +1 -1
  93. package/esm/components/multi-action-button/multi-action-button.style.js +6 -5
  94. package/esm/components/navigation-bar/__internal__/fixed-navigation-bar.context.d.ts +1 -1
  95. package/esm/components/navigation-bar/navigation-bar.component.d.ts +3 -3
  96. package/esm/components/navigation-bar/navigation-bar.style.d.ts +1 -1
  97. package/esm/components/numeral-date/__internal__/numeral-date.context.d.ts +1 -1
  98. package/esm/components/numeral-date/numeral-date.component.d.ts +2 -2
  99. package/esm/components/numeral-date/numeral-date.component.js +2 -1
  100. package/esm/components/pager/pager.component.d.ts +1 -1
  101. package/esm/components/pod/pod.config.d.ts +3 -3
  102. package/esm/components/popover-container/popover-container.component.d.ts +1 -1
  103. package/esm/components/popover-container/popover-container.style.d.ts +3 -3
  104. package/esm/components/portrait/portrait.component.d.ts +2 -2
  105. package/esm/components/portrait/portrait.config.d.ts +1 -1
  106. package/esm/components/portrait/portrait.style.d.ts +1 -1
  107. package/esm/components/preview/preview.component.d.ts +1 -1
  108. package/esm/components/preview/preview.style.js +4 -4
  109. package/esm/components/profile/profile.config.d.ts +2 -2
  110. package/esm/components/progress-tracker/progress-tracker.style.js +1 -1
  111. package/esm/components/search/search.component.d.ts +1 -1
  112. package/esm/components/search/search.component.js +3 -3
  113. package/esm/components/search/search.style.js +1 -0
  114. package/esm/components/select/__internal__/select-list/select-list.component.d.ts +2 -2
  115. package/esm/components/select/__internal__/select-list/select-list.context.d.ts +1 -1
  116. package/esm/components/select/__internal__/select-textbox/select-textbox.context.d.ts +1 -1
  117. package/esm/components/select/filterable-select/filterable-select.component.js +2 -3
  118. package/esm/components/select/multi-select/multi-select.component.js +2 -3
  119. package/esm/components/select/option/option.component.d.ts +1 -1
  120. package/esm/components/select/select.style.js +1 -0
  121. package/esm/components/select/simple-select/simple-select.component.js +2 -3
  122. package/esm/components/sidebar/sidebar.component.d.ts +1 -1
  123. package/esm/components/sidebar/sidebar.style.d.ts +1 -1
  124. package/esm/components/simple-color-picker/simple-color-picker.style.d.ts +1 -1
  125. package/esm/components/split-button/split-button-children.style.d.ts +1 -1
  126. package/esm/components/split-button/split-button-toggle.style.d.ts +1 -1
  127. package/esm/components/split-button/split-button.component.d.ts +1 -1
  128. package/esm/components/step-flow/__internal__/step-flow.context.d.ts +1 -1
  129. package/esm/components/step-flow/step-flow.component.d.ts +2 -2
  130. package/esm/components/switch/switch.component.js +2 -2
  131. package/esm/components/switch/switch.style.d.ts +6 -1
  132. package/esm/components/switch/switch.style.js +1 -0
  133. package/esm/components/tabs/__internal__/tab-title/tab-title.style.js +3 -4
  134. package/esm/components/tabs/__internal__/tabs-header/tabs-header.style.d.ts +5 -5
  135. package/esm/components/tabs/__internal__/tabs-header/tabs-header.style.js +5 -2
  136. package/esm/components/tabs/tab/tab.style.d.ts +1 -1
  137. package/esm/components/text-editor/__internal__/plugins/Toolbar/toolbar.style.d.ts +1 -1
  138. package/esm/components/text-editor/text-editor.style.d.ts +1 -1
  139. package/esm/components/text-editor/text-editor.style.js +1 -0
  140. package/esm/components/textarea/textarea.component.js +4 -3
  141. package/esm/components/textarea/textarea.style.js +2 -1
  142. package/esm/components/textbox/textbox.component.js +1 -1
  143. package/esm/components/tile/tile.component.d.ts +2 -2
  144. package/esm/components/time/time.component.d.ts +3 -3
  145. package/esm/components/time/time.component.js +6 -3
  146. package/esm/components/toast/toast.component.d.ts +3 -3
  147. package/esm/components/toast/toast.style.d.ts +2 -2
  148. package/esm/components/tooltip/tooltip.component.d.ts +1 -1
  149. package/esm/components/tooltip/tooltip.config.d.ts +1 -1
  150. package/esm/components/typography/typography.component.d.ts +1 -1
  151. package/esm/components/typography/typography.component.js +16 -1
  152. package/esm/components/typography/typography.style.d.ts +1 -10
  153. package/esm/components/typography/typography.style.js +39 -63
  154. package/esm/components/vertical-divider/vertical-divider.component.d.ts +1 -1
  155. package/esm/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.d.ts +1 -1
  156. package/esm/global.d.ts +1 -1
  157. package/esm/hooks/__internal__/useChildButtons/useChildButtons.d.ts +1 -1
  158. package/esm/hooks/__internal__/useDebounce/useDebounce.d.ts +1 -1
  159. package/esm/hooks/__internal__/useFloating/useFloating.d.ts +1 -1
  160. package/esm/hooks/__internal__/useModalManager/useModalManager.d.ts +1 -1
  161. package/esm/hooks/__internal__/useThrottle/useThrottle.d.ts +1 -1
  162. package/esm/style/palette/index.d.ts +1 -1
  163. package/esm/style/themes/base/base-theme.config.d.ts +1 -1
  164. package/esm/style/utils/box-gap.d.ts +2 -2
  165. package/lib/__internal__/fieldset/fieldset.component.js +2 -2
  166. package/lib/__internal__/fieldset/fieldset.style.d.ts +3 -3
  167. package/lib/__internal__/fieldset/fieldset.style.js +1 -0
  168. package/lib/__internal__/focus-trap/focus-trap-utils.d.ts +1 -1
  169. package/lib/__internal__/focus-trap/focus-trap.component.d.ts +1 -1
  170. package/lib/__internal__/form-field/form-field.component.js +2 -2
  171. package/lib/__internal__/form-field/form-field.style.js +1 -0
  172. package/lib/__internal__/input/input-presentation.component.d.ts +1 -1
  173. package/lib/__internal__/input/input-presentation.style.d.ts +1 -1
  174. package/lib/__internal__/input/input.component.d.ts +1 -1
  175. package/lib/__internal__/popover/popover.component.d.ts +1 -1
  176. package/lib/__internal__/popover/popover.style.d.ts +1 -1
  177. package/lib/__internal__/validations/validation-icon.component.d.ts +1 -1
  178. package/lib/__internal__/validations/validation-icon.style.d.ts +1 -1
  179. package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
  180. package/lib/components/accordion/accordion.style.js +2 -2
  181. package/lib/components/action-popover/__internal__/action-popover-utils.d.ts +1 -1
  182. package/lib/components/action-popover/__internal__/action-popover.context.d.ts +2 -2
  183. package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.d.ts +1 -1
  184. package/lib/components/action-popover/action-popover.component.d.ts +1 -1
  185. package/lib/components/action-popover/action-popover.style.d.ts +1 -1
  186. package/lib/components/badge/badge.style.d.ts +1 -1
  187. package/lib/components/batch-selection/__internal__/batch-selection.context.d.ts +1 -1
  188. package/lib/components/box/box.component.d.ts +6 -6
  189. package/lib/components/breadcrumbs/__internal__/breadcrumbs.context.d.ts +1 -1
  190. package/lib/components/button/button.component.d.ts +8 -8
  191. package/lib/components/button/button.component.js +1 -1
  192. package/lib/components/button/button.style.js +22 -8
  193. package/lib/components/button-minor/button-minor.style.d.ts +1 -1
  194. package/lib/components/button-toggle/button-toggle-group/__internal__/button-toggle-group.context.d.ts +1 -1
  195. package/lib/components/button-toggle/button-toggle-group/button-toggle-group.style.d.ts +1 -1
  196. package/lib/components/button-toggle/button-toggle.style.d.ts +1 -1
  197. package/lib/components/carbon-provider/__internal__/top-modal.context.d.ts +1 -1
  198. package/lib/components/card/card.component.d.ts +2 -2
  199. package/lib/components/card/card.config.d.ts +2 -2
  200. package/lib/components/card/card.style.d.ts +2 -2
  201. package/lib/components/checkbox/checkbox-group/checkbox-group.component.js +2 -7
  202. package/lib/components/checkbox/checkbox.component.js +2 -2
  203. package/lib/components/checkbox/checkbox.style.js +1 -0
  204. package/lib/components/content/content.style.d.ts +2 -2
  205. package/lib/components/date/__internal__/date-picker/date-picker.component.d.ts +1 -1
  206. package/lib/components/date/__internal__/weekday/weekday.style.js +1 -1
  207. package/lib/components/date/date.component.js +1 -2
  208. package/lib/components/date/date.style.js +1 -0
  209. package/lib/components/date-range/__internal__/date-range.context.d.ts +4 -4
  210. package/lib/components/date-range/date-range.style.js +1 -0
  211. package/lib/components/definition-list/__internal__/dl.context.d.ts +1 -1
  212. package/lib/components/dialog/dialog.component.d.ts +2 -2
  213. package/lib/components/dialog/dialog.config.d.ts +1 -1
  214. package/lib/components/dialog/dialog.style.d.ts +1 -1
  215. package/lib/components/dialog-full-screen/content.style.d.ts +1 -1
  216. package/lib/components/dialog-full-screen/content.style.js +8 -7
  217. package/lib/components/duelling-picklist/__internal__/duelling-picklist.context.d.ts +1 -1
  218. package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.d.ts +1 -1
  219. package/lib/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +1 -1
  220. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.d.ts +1 -1
  221. package/lib/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +1 -1
  222. package/lib/components/fieldset/fieldset.component.js +3 -6
  223. package/lib/components/fieldset/fieldset.style.js +5 -0
  224. package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts +1 -1
  225. package/lib/components/flat-table/index.d.ts +2 -2
  226. package/lib/components/form/__internal__/form-summary.style.d.ts +2 -2
  227. package/lib/components/form/form.component.js +3 -6
  228. package/lib/components/form/form.config.d.ts +1 -1
  229. package/lib/components/form/form.style.d.ts +1 -1
  230. package/lib/components/form/form.style.js +20 -11
  231. package/lib/components/grouped-character/grouped-character.component.d.ts +2 -2
  232. package/lib/components/heading/heading.component.d.ts +1 -1
  233. package/lib/components/heading/heading.style.d.ts +3 -3
  234. package/lib/components/icon/icon-type.d.ts +1 -1
  235. package/lib/components/icon/icon-unicodes.d.ts +248 -248
  236. package/lib/components/icon/icon.component.d.ts +1 -1
  237. package/lib/components/icon/icon.style.d.ts +3 -3
  238. package/lib/components/icon/icon.style.js +5 -11
  239. package/lib/components/image/image.style.d.ts +2 -2
  240. package/lib/components/inline-inputs/inline-inputs.component.js +3 -6
  241. package/lib/components/inline-inputs/inline-inputs.style.d.ts +1 -1
  242. package/lib/components/inline-inputs/inline-inputs.style.js +1 -0
  243. package/lib/components/link/link.style.d.ts +1 -1
  244. package/lib/components/loader-spinner/loader-spinner.config.d.ts +3 -3
  245. package/lib/components/loader-spinner/loader-spinner.style.js +1 -1
  246. package/lib/components/menu/__internal__/locators.d.ts +3 -3
  247. package/lib/components/menu/__internal__/menu.context.d.ts +1 -1
  248. package/lib/components/menu/menu-item/menu-item.component.d.ts +1 -1
  249. package/lib/components/menu/menu-segment-title/menu-segment-title.component.d.ts +1 -1
  250. package/lib/components/message/__internal__/type-icon/type-icon.style.d.ts +1 -1
  251. package/lib/components/message/message.component.d.ts +1 -1
  252. package/lib/components/message/message.style.d.ts +1 -1
  253. package/lib/components/modal/__internal__/modal-manager.d.ts +2 -2
  254. package/lib/components/modal/modal.style.d.ts +1 -1
  255. package/lib/components/multi-action-button/multi-action-button.component.d.ts +1 -1
  256. package/lib/components/multi-action-button/multi-action-button.style.d.ts +1 -1
  257. package/lib/components/multi-action-button/multi-action-button.style.js +6 -5
  258. package/lib/components/navigation-bar/__internal__/fixed-navigation-bar.context.d.ts +1 -1
  259. package/lib/components/navigation-bar/navigation-bar.component.d.ts +3 -3
  260. package/lib/components/navigation-bar/navigation-bar.style.d.ts +1 -1
  261. package/lib/components/numeral-date/__internal__/numeral-date.context.d.ts +1 -1
  262. package/lib/components/numeral-date/numeral-date.component.d.ts +2 -2
  263. package/lib/components/numeral-date/numeral-date.component.js +2 -1
  264. package/lib/components/pager/pager.component.d.ts +1 -1
  265. package/lib/components/pod/pod.config.d.ts +3 -3
  266. package/lib/components/popover-container/popover-container.component.d.ts +1 -1
  267. package/lib/components/popover-container/popover-container.style.d.ts +3 -3
  268. package/lib/components/portrait/portrait.component.d.ts +2 -2
  269. package/lib/components/portrait/portrait.config.d.ts +1 -1
  270. package/lib/components/portrait/portrait.style.d.ts +1 -1
  271. package/lib/components/preview/preview.component.d.ts +1 -1
  272. package/lib/components/preview/preview.style.js +4 -4
  273. package/lib/components/profile/profile.config.d.ts +2 -2
  274. package/lib/components/progress-tracker/progress-tracker.style.js +1 -1
  275. package/lib/components/search/search.component.d.ts +1 -1
  276. package/lib/components/search/search.component.js +3 -3
  277. package/lib/components/search/search.style.js +1 -0
  278. package/lib/components/select/__internal__/select-list/select-list.component.d.ts +2 -2
  279. package/lib/components/select/__internal__/select-list/select-list.context.d.ts +1 -1
  280. package/lib/components/select/__internal__/select-textbox/select-textbox.context.d.ts +1 -1
  281. package/lib/components/select/filterable-select/filterable-select.component.js +1 -2
  282. package/lib/components/select/multi-select/multi-select.component.js +1 -2
  283. package/lib/components/select/option/option.component.d.ts +1 -1
  284. package/lib/components/select/select.style.js +1 -0
  285. package/lib/components/select/simple-select/simple-select.component.js +1 -2
  286. package/lib/components/sidebar/sidebar.component.d.ts +1 -1
  287. package/lib/components/sidebar/sidebar.style.d.ts +1 -1
  288. package/lib/components/simple-color-picker/simple-color-picker.style.d.ts +1 -1
  289. package/lib/components/split-button/split-button-children.style.d.ts +1 -1
  290. package/lib/components/split-button/split-button-toggle.style.d.ts +1 -1
  291. package/lib/components/split-button/split-button.component.d.ts +1 -1
  292. package/lib/components/step-flow/__internal__/step-flow.context.d.ts +1 -1
  293. package/lib/components/step-flow/step-flow.component.d.ts +2 -2
  294. package/lib/components/switch/switch.component.js +2 -2
  295. package/lib/components/switch/switch.style.d.ts +6 -1
  296. package/lib/components/switch/switch.style.js +1 -0
  297. package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +3 -4
  298. package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.d.ts +5 -5
  299. package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.js +5 -2
  300. package/lib/components/tabs/tab/tab.style.d.ts +1 -1
  301. package/lib/components/text-editor/__internal__/plugins/Toolbar/toolbar.style.d.ts +1 -1
  302. package/lib/components/text-editor/text-editor.style.d.ts +1 -1
  303. package/lib/components/text-editor/text-editor.style.js +1 -0
  304. package/lib/components/textarea/textarea.component.js +4 -3
  305. package/lib/components/textarea/textarea.style.js +2 -1
  306. package/lib/components/textbox/textbox.component.js +1 -1
  307. package/lib/components/tile/tile.component.d.ts +2 -2
  308. package/lib/components/time/time.component.d.ts +3 -3
  309. package/lib/components/time/time.component.js +6 -3
  310. package/lib/components/toast/toast.component.d.ts +3 -3
  311. package/lib/components/toast/toast.style.d.ts +2 -2
  312. package/lib/components/tooltip/tooltip.component.d.ts +1 -1
  313. package/lib/components/tooltip/tooltip.config.d.ts +1 -1
  314. package/lib/components/typography/typography.component.d.ts +1 -1
  315. package/lib/components/typography/typography.component.js +16 -1
  316. package/lib/components/typography/typography.style.d.ts +1 -10
  317. package/lib/components/typography/typography.style.js +39 -63
  318. package/lib/components/vertical-divider/vertical-divider.component.d.ts +1 -1
  319. package/lib/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.d.ts +1 -1
  320. package/lib/global.d.ts +1 -1
  321. package/lib/hooks/__internal__/useChildButtons/useChildButtons.d.ts +1 -1
  322. package/lib/hooks/__internal__/useDebounce/useDebounce.d.ts +1 -1
  323. package/lib/hooks/__internal__/useFloating/useFloating.d.ts +1 -1
  324. package/lib/hooks/__internal__/useModalManager/useModalManager.d.ts +1 -1
  325. package/lib/hooks/__internal__/useThrottle/useThrottle.d.ts +1 -1
  326. package/lib/style/palette/index.d.ts +1 -1
  327. package/lib/style/themes/base/base-theme.config.d.ts +1 -1
  328. package/lib/style/utils/box-gap.d.ts +2 -2
  329. package/package.json +8 -8
  330. package/esm/__internal__/form-spacing-provider/form-spacing-provider.component.d.ts +0 -7
  331. package/esm/__internal__/form-spacing-provider/form-spacing-provider.component.js +0 -11
  332. package/esm/__internal__/form-spacing-provider/form-spacing.context.d.ts +0 -5
  333. package/esm/__internal__/form-spacing-provider/form-spacing.context.js +0 -2
  334. package/esm/__internal__/form-spacing-provider/index.d.ts +0 -3
  335. package/esm/__internal__/form-spacing-provider/index.js +0 -2
  336. package/esm/hooks/__internal__/useFormSpacing/add-form-spacing/index.d.ts +0 -3
  337. package/esm/hooks/__internal__/useFormSpacing/add-form-spacing/index.js +0 -27
  338. package/esm/hooks/__internal__/useFormSpacing/index.d.ts +0 -3
  339. package/esm/hooks/__internal__/useFormSpacing/index.js +0 -11
  340. package/lib/__internal__/form-spacing-provider/form-spacing-provider.component.d.ts +0 -7
  341. package/lib/__internal__/form-spacing-provider/form-spacing-provider.component.js +0 -18
  342. package/lib/__internal__/form-spacing-provider/form-spacing.context.d.ts +0 -5
  343. package/lib/__internal__/form-spacing-provider/form-spacing.context.js +0 -9
  344. package/lib/__internal__/form-spacing-provider/index.d.ts +0 -3
  345. package/lib/__internal__/form-spacing-provider/index.js +0 -20
  346. package/lib/__internal__/form-spacing-provider/package.json +0 -6
  347. package/lib/hooks/__internal__/useFormSpacing/add-form-spacing/index.d.ts +0 -3
  348. package/lib/hooks/__internal__/useFormSpacing/add-form-spacing/index.js +0 -34
  349. package/lib/hooks/__internal__/useFormSpacing/add-form-spacing/package.json +0 -6
  350. package/lib/hooks/__internal__/useFormSpacing/index.d.ts +0 -3
  351. package/lib/hooks/__internal__/useFormSpacing/index.js +0 -19
  352. package/lib/hooks/__internal__/useFormSpacing/package.json +0 -6
@@ -1,2 +1,2 @@
1
1
  export declare const DIALOG_SIZES: readonly ["auto", "extra-small", "small", "medium-small", "medium", "medium-large", "large", "extra-large", "maximise"];
2
- export declare type DialogSizes = (typeof DIALOG_SIZES)[number];
2
+ export type DialogSizes = (typeof DIALOG_SIZES)[number];
@@ -4,7 +4,7 @@ declare const StyledDialog: import("styled-components").StyledComponent<"div", a
4
4
  dialogHeight?: string | undefined;
5
5
  backgroundColor: string;
6
6
  } & ContentPaddingInterface, never>;
7
- declare type StyledDialogTitleProps = {
7
+ type StyledDialogTitleProps = {
8
8
  showCloseIcon?: boolean;
9
9
  hasSubtitle?: boolean;
10
10
  };
@@ -1,4 +1,4 @@
1
- declare type StyledContentProps = {
1
+ type StyledContentProps = {
2
2
  hasHeader: boolean;
3
3
  disableContentPadding?: boolean;
4
4
  };
@@ -8,7 +8,12 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
8
8
  var _form = require("../form/form.style");
9
9
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
10
10
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
- function computePadding() {
11
+ function computePadding({
12
+ disableContentPadding
13
+ }) {
14
+ if (disableContentPadding) {
15
+ return "padding: 0;";
16
+ }
12
17
  return (0, _styledComponents.css)`
13
18
  padding: 0 16px;
14
19
  @media screen and (min-width: 600px) {
@@ -30,9 +35,7 @@ const StyledContent = _styledComponents.default.div`
30
35
  flex: 1;
31
36
  width: 100%;
32
37
 
33
- ${({
34
- disableContentPadding
35
- }) => disableContentPadding ? "padding: 0" : computePadding()}
38
+ ${computePadding}
36
39
 
37
40
  &:has(${_form.StyledForm}.sticky) {
38
41
  display: flex;
@@ -42,9 +45,7 @@ const StyledContent = _styledComponents.default.div`
42
45
 
43
46
  ${_form.StyledForm}.sticky {
44
47
  ${_form.StyledFormContent} {
45
- ${({
46
- disableContentPadding
47
- }) => disableContentPadding ? "padding: 0" : computePadding()}
48
+ ${computePadding}
48
49
  }
49
50
  }
50
51
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export declare type FocusContextType = {
2
+ export type FocusContextType = {
3
3
  setElementToFocus: (itemIndex?: number, listIndex?: number, groupIndex?: number) => void;
4
4
  elementToFocus: {
5
5
  itemIndex?: number;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
2
  import { StyledComponentProps } from "styled-components";
3
- export declare type PicklistDividerProps = StyledComponentProps<"div", Record<string, unknown>, Record<string, unknown>, "">;
3
+ export type PicklistDividerProps = StyledComponentProps<"div", Record<string, unknown>, Record<string, unknown>, "">;
4
4
  declare const PicklistDivider: (props: PicklistDividerProps) => React.JSX.Element;
5
5
  export default PicklistDivider;
@@ -6,7 +6,7 @@ declare const StyledGroupWrapper: import("styled-components").StyledComponent<"l
6
6
  }, never>;
7
7
  declare const StyledPicklistGroupUl: import("styled-components").StyledComponent<"ul", any, {}, never>;
8
8
  declare const StyledPicklistGroup: import("styled-components").StyledComponent<"li", any, {}, never>;
9
- declare const StyledGroupButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, any, {
9
+ declare const StyledGroupButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../button").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, {
10
10
  onMouseEnter: (e: React.MouseEvent<HTMLButtonElement>) => void;
11
11
  onMouseLeave: (e: React.MouseEvent<HTMLButtonElement>) => void;
12
12
  iconType: PicklistGroupProps["type"];
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- declare type Item = Record<string, unknown> | string | number;
2
+ type Item = Record<string, unknown> | string | number;
3
3
  export interface PicklistItemProps {
4
4
  /** Item content */
5
5
  children: React.ReactNode;
@@ -2,6 +2,6 @@
2
2
  declare const StyledPicklistItem: import("styled-components").StyledComponent<"li", any, {
3
3
  locked?: boolean | undefined;
4
4
  }, never>;
5
- declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
5
+ declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../button").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, {}, never>;
6
6
  declare const StyledLockIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../icon").IconProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
7
7
  export { StyledPicklistItem, StyledButton, StyledLockIcon };
@@ -8,8 +8,7 @@ var _react = _interopRequireWildcard(require("react"));
8
8
  var _tags = _interopRequireDefault(require("../../__internal__/utils/helpers/tags"));
9
9
  var _fieldset = require("./fieldset.style");
10
10
  var _newValidation = _interopRequireDefault(require("../carbon-provider/__internal__/new-validation.context"));
11
- var _formSpacingProvider = _interopRequireDefault(require("../../__internal__/form-spacing-provider"));
12
- var _useFormSpacing = _interopRequireDefault(require("../../hooks/__internal__/useFormSpacing"));
11
+ var _utils = require("../../style/utils");
13
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -22,7 +21,7 @@ const Fieldset = ({
22
21
  ...rest
23
22
  }) => {
24
23
  const [ref, setRef] = (0, _react.useState)(null);
25
- const marginProps = (0, _useFormSpacing.default)(rest);
24
+ const marginProps = (0, _utils.filterStyledSystemMarginProps)(rest);
26
25
  const {
27
26
  validationRedesignOptIn
28
27
  } = (0, _react.useContext)(_newValidation.default);
@@ -40,9 +39,7 @@ const Fieldset = ({
40
39
  "data-element": "legend",
41
40
  isRequired: required,
42
41
  isOptional: isOptional
43
- }, legend), validationRedesignOptIn ? children : /*#__PURE__*/_react.default.createElement(_formSpacingProvider.default, {
44
- marginBottom: undefined
45
- }, children));
42
+ }, legend), children);
46
43
  };
47
44
  exports.Fieldset = Fieldset;
48
45
  Fieldset.displayName = "Fieldset";
@@ -14,6 +14,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
15
  const FieldsetStyle = exports.FieldsetStyle = _styledComponents.default.fieldset`
16
16
  margin: 0;
17
+ margin-bottom: var(--fieldSpacing);
17
18
  ${_styledSystem.margin}
18
19
  border: none;
19
20
  padding: 0;
@@ -21,6 +22,10 @@ const FieldsetStyle = exports.FieldsetStyle = _styledComponents.default.fieldset
21
22
  ${({
22
23
  newValidation
23
24
  }) => !newValidation && (0, _styledComponents.css)`
25
+ & * {
26
+ --fieldSpacing: 0;
27
+ }
28
+
24
29
  &&&& ${_formField.default} {
25
30
  margin-top: 0;
26
31
  margin-bottom: -1px;
@@ -30,6 +30,6 @@ interface MandatoryStatusProps {
30
30
  /** The icon to use for the file during or after upload */
31
31
  iconType?: IconType;
32
32
  }
33
- export declare type FileUploadStatusProps = MandatoryStatusProps & (StatusUploadingProps | StatusErrorProps | StatusDoneProps);
33
+ export type FileUploadStatusProps = MandatoryStatusProps & (StatusUploadingProps | StatusErrorProps | StatusDoneProps);
34
34
  export declare const FileUploadStatus: ({ status, filename, message, onAction, iconType, ...statusProps }: FileUploadStatusProps) => React.JSX.Element;
35
35
  export default FileUploadStatus;
@@ -8,8 +8,8 @@ export { default as FlatTableCell } from "./flat-table-cell/flat-table-cell.comp
8
8
  export { default as FlatTableCheckbox } from "./flat-table-checkbox/flat-table-checkbox.component";
9
9
  export { default as FlatTableBodyDraggable } from "./flat-table-body-draggable/flat-table-body-draggable.component";
10
10
  export { default as Sort } from "./sort/sort.component";
11
- export declare type TableBorderSize = "small" | "medium" | "large";
12
- export declare type TableCellAlign = "left" | "center" | "right";
11
+ export type TableBorderSize = "small" | "medium" | "large";
12
+ export type TableCellAlign = "left" | "center" | "right";
13
13
  export type { FlatTableProps } from "./flat-table.component";
14
14
  export type { FlatTableHeadProps } from "./flat-table-head";
15
15
  export type { FlatTableHeaderProps } from "./flat-table-header";
@@ -1,10 +1,10 @@
1
- declare type StyledFormSummaryProps = {
1
+ type StyledFormSummaryProps = {
2
2
  showSummary?: boolean;
3
3
  fullWidth?: boolean;
4
4
  };
5
5
  export declare const StyledFormSummary: import("styled-components").StyledComponent<"div", any, StyledFormSummaryProps, never>;
6
6
  export declare const StyledMessagePrefix: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare type StyledInternalSummaryProps = {
7
+ export type StyledInternalSummaryProps = {
8
8
  type: "error" | "warning";
9
9
  };
10
10
  export declare const StyledInternalSummary: import("styled-components").StyledComponent<"div", any, StyledInternalSummaryProps, never>;
@@ -9,7 +9,6 @@ var _tags = _interopRequireDefault(require("../../__internal__/utils/helpers/tag
9
9
  var _formSummary = _interopRequireDefault(require("./__internal__/form-summary.component"));
10
10
  var _form = require("./form.style");
11
11
  var _form2 = require("./form.config");
12
- var _formSpacingProvider = _interopRequireDefault(require("../../__internal__/form-spacing-provider"));
13
12
  var _modal = _interopRequireDefault(require("../modal/__internal__/modal.context"));
14
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
14
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
@@ -44,7 +43,6 @@ const Form = ({
44
43
  stickyFooter: stickyFooter,
45
44
  onSubmit: onSubmit,
46
45
  "data-component": "form",
47
- fieldSpacing: fieldSpacing,
48
46
  noValidate: noValidate,
49
47
  height: height,
50
48
  isInModal: isInModal
@@ -53,10 +51,9 @@ const Form = ({
53
51
  "data-role": "form-content",
54
52
  stickyFooter: stickyFooter,
55
53
  tabIndex: -1,
56
- isInModal: isInModal
57
- }, /*#__PURE__*/_react.default.createElement(_formSpacingProvider.default, {
58
- marginBottom: _form2.formSpacing[fieldSpacing]
59
- }, children)), renderFooter && /*#__PURE__*/_react.default.createElement(_form.StyledFormFooter, _extends({
54
+ isInModal: isInModal,
55
+ fieldSpacing: _form2.formSpacing[fieldSpacing]
56
+ }, children), renderFooter && /*#__PURE__*/_react.default.createElement(_form.StyledFormFooter, _extends({
60
57
  "data-element": "form-footer",
61
58
  "data-role": "form-footer",
62
59
  ref: formFooterRef,
@@ -1,5 +1,5 @@
1
1
  export declare const FORM_BUTTON_ALIGNMENTS: readonly ["left", "right"];
2
- export declare type FormButtonAlignment = (typeof FORM_BUTTON_ALIGNMENTS)[number];
2
+ export type FormButtonAlignment = (typeof FORM_BUTTON_ALIGNMENTS)[number];
3
3
  export declare const formSpacing: {
4
4
  0: string;
5
5
  1: string;
@@ -2,6 +2,7 @@ import { FormButtonAlignment } from "./form.config";
2
2
  interface StyledFormContentProps {
3
3
  stickyFooter?: boolean;
4
4
  isInModal?: boolean;
5
+ fieldSpacing?: string;
5
6
  }
6
7
  export declare const StyledFormContent: import("styled-components").StyledComponent<"div", any, StyledFormContentProps, never>;
7
8
  interface StyledFormFooterProps {
@@ -12,7 +13,6 @@ interface StyledFormFooterProps {
12
13
  export declare const StyledFormFooter: import("styled-components").StyledComponent<"div", any, StyledFormFooterProps, never>;
13
14
  interface StyledFormProps extends StyledFormContentProps {
14
15
  height?: string;
15
- fieldSpacing: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
16
16
  }
17
17
  export declare const StyledForm: import("styled-components").StyledComponent<"form", any, StyledFormProps, never>;
18
18
  export declare const StyledRightButtons: import("styled-components").StyledComponent<"div", any, {
@@ -8,9 +8,10 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
8
8
  var _styledSystem = require("styled-system");
9
9
  var _formField = _interopRequireDefault(require("../../__internal__/form-field/form-field.style"));
10
10
  var _base = _interopRequireDefault(require("../../style/themes/base"));
11
- var _search = _interopRequireDefault(require("../search/search.style"));
12
- var _textarea = _interopRequireDefault(require("../textarea/textarea.style"));
13
- var _numeralDate = require("../numeral-date/numeral-date.style");
11
+ var _inlineInputs = _interopRequireDefault(require("../inline-inputs/inline-inputs.style"));
12
+ var _select = _interopRequireDefault(require("../select/select.style"));
13
+ var _multiSelect = require("../select/multi-select/multi-select.style");
14
+ var _switch = _interopRequireDefault(require("../switch/switch.style"));
14
15
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
16
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
16
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -21,6 +22,22 @@ const StyledFormContent = exports.StyledFormContent = _styledComponents.default.
21
22
  flex-grow: 1;
22
23
  min-height: 0;
23
24
  overflow-y: auto;
25
+ `, ({
26
+ fieldSpacing
27
+ }) => fieldSpacing && (0, _styledComponents.css)`
28
+ --fieldSpacing: ${fieldSpacing};
29
+
30
+ ${_formField.default} {
31
+ margin-top: var(--spacing000);
32
+ }
33
+
34
+ // field spacing is also applied to form field here so we need to override
35
+ ${_inlineInputs.default} ${_formField.default},
36
+ ${_inlineInputs.default} ${_select.default},
37
+ ${_inlineInputs.default} ${_multiSelect.StyledSelectMultiSelect},
38
+ ${_switch.default} ${_formField.default} {
39
+ margin-bottom: var(--spacing000);
40
+ }
24
41
  `);
25
42
  const StyledFormFooter = exports.StyledFormFooter = _styledComponents.default.div`
26
43
  align-items: center;
@@ -73,14 +90,6 @@ const StyledForm = exports.StyledForm = _styledComponents.default.form`
73
90
  height: ${height};
74
91
  `}
75
92
 
76
- // field spacing is also applied to form field here so we need to override
77
- ${_search.default} ${_formField.default},
78
- ${_textarea.default} ${_formField.default},
79
- [data-component="time"] ${_formField.default},
80
- ${_numeralDate.StyledNumeralDate} ${_formField.default} {
81
- margin-bottom: var(--spacing000);
82
- }
83
-
84
93
  ${({
85
94
  stickyFooter,
86
95
  isInModal
@@ -1,10 +1,10 @@
1
1
  import React from "react";
2
2
  import { TextboxProps } from "../textbox";
3
- declare type EventValue = {
3
+ type EventValue = {
4
4
  formattedValue: string;
5
5
  rawValue: string;
6
6
  };
7
- declare type CustomTarget = {
7
+ type CustomTarget = {
8
8
  name?: string;
9
9
  id?: string;
10
10
  value: EventValue;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { MarginProps } from "styled-system";
3
3
  import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
4
- export declare type HeadingType = "h1" | "h2" | "h3" | "h4" | "h5";
4
+ export type HeadingType = "h1" | "h2" | "h3" | "h4" | "h5";
5
5
  export interface HeadingProps extends MarginProps, TagProps {
6
6
  /** Child elements */
7
7
  children?: React.ReactNode;
@@ -1,14 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  declare const StyledHeading: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  declare const StyledHeaderContent: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- declare type StyledHeaderProps = {
4
+ type StyledHeaderProps = {
5
5
  divider?: boolean;
6
6
  subheader?: boolean;
7
7
  hasBackLink?: boolean;
8
8
  };
9
9
  declare const StyledHeader: import("styled-components").StyledComponent<"div", any, StyledHeaderProps, never>;
10
10
  declare const StyledHeadingBackButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../link").LinkProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, {}, never>;
11
- declare type StyledHeadingTitleProps = {
11
+ type StyledHeadingTitleProps = {
12
12
  withMargin?: boolean;
13
13
  };
14
14
  declare const StyledHeadingTitle: import("styled-components").StyledComponent<{
@@ -16,7 +16,7 @@ declare const StyledHeadingTitle: import("styled-components").StyledComponent<{
16
16
  displayName: string;
17
17
  }, any, StyledHeadingTitleProps, never>;
18
18
  declare const StyledHeadingPills: import("styled-components").StyledComponent<"span", any, {}, never>;
19
- declare type StyledSubHeaderProps = {
19
+ type StyledSubHeaderProps = {
20
20
  hasBackLink?: boolean;
21
21
  hasSeparator?: boolean;
22
22
  };
@@ -1 +1 @@
1
- export declare type IconType = "accessibility_web" | "add" | "admin" | "alert" | "alert_on" | "analysis" | "app_facebook" | "app_instagram" | "app_tiktok" | "app_twitter" | "app_youtube" | "apps" | "arrow" | "arrow_bottom_right_circle" | "arrow_down" | "arrow_left" | "arrow_left_boxed" | "arrow_left_right_small" | "arrow_left_small" | "arrow_right" | "arrow_right_small" | "arrow_top_left_circle" | "arrow_up" | "arrows_left_right" | "attach" | "bank" | "bank_with_card" | "basket" | "basket_with_squares" | "bed" | "bill_paid" | "bill_unpaid" | "bin" | "biometric" | "blocked" | "blocked_square" | "block_arrow_right" | "bold" | "box_arrow_left" | "box_arrow_right" | "boxed_shapes" | "bulk_destroy" | "bullet_list" | "bullet_list_dotted" | "bullet_list_numbers" | "business" | "calendar" | "calendar_pay_date" | "calendar_today" | "call" | "camera" | "car_lock" | "car_money" | "car_repair" | "card_wallet" | "card_view" | "caret_down" | "caret_left" | "caret_right" | "caret_up" | "caret_large_down" | "caret_large_left" | "caret_large_right" | "caret_large_up" | "cart" | "cash" | "chat" | "chart_bar" | "chart_line" | "chart_pie" | "chat_notes" | "check_all" | "check_none" | "chevron_down" | "chevron_left" | "chevron_right" | "chevron_up" | "chevron_down_thick" | "chevron_left_thick" | "chevron_right_thick" | "chevron_up_thick" | "circle_with_dots" | "circles_connection" | "clock" | "close" | "cloud_co2" | "coins" | "collaborate" | "computer_clock" | "connect" | "connect_off" | "construction" | "contacts" | "contact_card" | "copy" | "create" | "credit_card" | "credit_card_slash" | "cross" | "cross_circle" | "csv" | "dashboard" | "delete" | "delivery" | "disputed" | "disconnect" | "document_right_align" | "document_tick" | "document_vertical_lines" | "download" | "drag" | "drag_vertical" | "draft" | "drill" | "dropdown" | "duplicate" | "edit" | "edited" | "email" | "email_switch" | "entry" | "envelope_dollar" | "envelope_euro" | "ellipsis_horizontal" | "ellipsis_vertical" | "error" | "error_square" | "euro" | "expand" | "export" | "factory" | "favourite" | "favourite_lined" | "fax" | "feedback" | "file_excel" | "file_generic" | "file_image" | "file_pdf" | "file_word" | "files_leaning" | "filter" | "filter_new" | "fit_height" | "fit_width" | "flag" | "folder" | "form_refresh" | "gift" | "go" | "graduation_hat" | "graph" | "grid" | "hand_cash_coins" | "hand_cash_note" | "heart_pulse" | "help" | "hide" | "home" | "image" | "import" | "in_progress" | "in_transit" | "individual" | "info" | "intranet" | "italic" | "job_seeked" | "key" | "laptop" | "leaf" | "ledger" | "ledger_arrow_left" | "ledger_arrow_right" | "like" | "like_no" | "link" | "lightbulb_off" | "lightbulb_on" | "link_cloud" | "link_on" | "list_view" | "locked" | "location" | "logout" | "lookup" | "marker" | "message" | "microphone" | "minimise" | "minus" | "minus_large" | "mobile" | "money_bag" | "none" | "old_warning" | "palm_tree" | "pause" | "pause_circle" | "pdf" | "pin" | "people" | "people_switch" | "percentage_boxed" | "person" | "person_info" | "person_tick" | "petrol_pump" | "phone" | "piggy_bank" | "plane" | "play" | "play_circle" | "plus" | "plus_large" | "pound" | "print" | "progress" | "progressed" | "protect" | "question" | "question_hollow" | "question_mark" | "recruiting" | "refresh" | "refresh_clock" | "remove" | "sage_coin" | "save" | "scan" | "send" | "search" | "services" | "settings" | "settings_old" | "share" | "shield_with_tick" | "shield_with_tick_outline" | "shop" | "sort_down" | "sort_up" | "spanner" | "split" | "split_container" | "square_dot" | "squares_nine" | "stacked_boxes" | "stacked_squares" | "stop" | "stop_circle" | "support_online" | "submitted" | "sync" | "tag" | "talk" | "target" | "target_man" | "theatre_masks" | "three_boxes" | "tick" | "tick_circle" | "tick_thick" | "true_tick" | "u_turn_left" | "u_turn_right" | "undo" | "unlocked" | "upload" | "uploaded" | "video" | "view" | "volunteering" | "warning" | "website" | "welfare" | "worldwide_location";
1
+ export type IconType = "accessibility_web" | "add" | "admin" | "alert" | "alert_on" | "analysis" | "app_facebook" | "app_instagram" | "app_tiktok" | "app_twitter" | "app_youtube" | "apps" | "arrow" | "arrow_bottom_right_circle" | "arrow_down" | "arrow_left" | "arrow_left_boxed" | "arrow_left_right_small" | "arrow_left_small" | "arrow_right" | "arrow_right_small" | "arrow_top_left_circle" | "arrow_up" | "arrows_left_right" | "attach" | "bank" | "bank_with_card" | "basket" | "basket_with_squares" | "bed" | "bill_paid" | "bill_unpaid" | "bin" | "biometric" | "blocked" | "blocked_square" | "block_arrow_right" | "bold" | "box_arrow_left" | "box_arrow_right" | "boxed_shapes" | "bulk_destroy" | "bullet_list" | "bullet_list_dotted" | "bullet_list_numbers" | "business" | "calendar" | "calendar_pay_date" | "calendar_today" | "call" | "camera" | "car_lock" | "car_money" | "car_repair" | "card_wallet" | "card_view" | "caret_down" | "caret_left" | "caret_right" | "caret_up" | "caret_large_down" | "caret_large_left" | "caret_large_right" | "caret_large_up" | "cart" | "cash" | "chat" | "chart_bar" | "chart_line" | "chart_pie" | "chat_notes" | "check_all" | "check_none" | "chevron_down" | "chevron_left" | "chevron_right" | "chevron_up" | "chevron_down_thick" | "chevron_left_thick" | "chevron_right_thick" | "chevron_up_thick" | "circle_with_dots" | "circles_connection" | "clock" | "close" | "cloud_co2" | "coins" | "collaborate" | "computer_clock" | "connect" | "connect_off" | "construction" | "contacts" | "contact_card" | "copy" | "create" | "credit_card" | "credit_card_slash" | "cross" | "cross_circle" | "csv" | "dashboard" | "delete" | "delivery" | "disputed" | "disconnect" | "document_right_align" | "document_tick" | "document_vertical_lines" | "download" | "drag" | "drag_vertical" | "draft" | "drill" | "dropdown" | "duplicate" | "edit" | "edited" | "email" | "email_switch" | "entry" | "envelope_dollar" | "envelope_euro" | "ellipsis_horizontal" | "ellipsis_vertical" | "error" | "error_square" | "euro" | "expand" | "export" | "factory" | "favourite" | "favourite_lined" | "fax" | "feedback" | "file_excel" | "file_generic" | "file_image" | "file_pdf" | "file_word" | "files_leaning" | "filter" | "filter_new" | "fit_height" | "fit_width" | "flag" | "folder" | "form_refresh" | "gift" | "go" | "graduation_hat" | "graph" | "grid" | "hand_cash_coins" | "hand_cash_note" | "heart_pulse" | "help" | "hide" | "home" | "image" | "import" | "in_progress" | "in_transit" | "individual" | "info" | "intranet" | "italic" | "job_seeked" | "key" | "laptop" | "leaf" | "ledger" | "ledger_arrow_left" | "ledger_arrow_right" | "like" | "like_no" | "link" | "lightbulb_off" | "lightbulb_on" | "link_cloud" | "link_on" | "list_view" | "locked" | "location" | "logout" | "lookup" | "marker" | "message" | "microphone" | "minimise" | "minus" | "minus_large" | "mobile" | "money_bag" | "none" | "old_warning" | "palm_tree" | "pause" | "pause_circle" | "pdf" | "pin" | "people" | "people_switch" | "percentage_boxed" | "person" | "person_info" | "person_tick" | "petrol_pump" | "phone" | "piggy_bank" | "plane" | "play" | "play_circle" | "plus" | "plus_large" | "pound" | "print" | "progress" | "progressed" | "protect" | "question" | "question_hollow" | "question_mark" | "recruiting" | "refresh" | "refresh_clock" | "remove" | "sage_coin" | "save" | "scan" | "send" | "search" | "services" | "settings" | "settings_old" | "share" | "shield_with_tick" | "shield_with_tick_outline" | "shop" | "sort_down" | "sort_up" | "spanner" | "split" | "split_container" | "square_dot" | "squares_nine" | "stacked_boxes" | "stacked_squares" | "stop" | "stop_circle" | "support_online" | "submitted" | "sync" | "tag" | "talk" | "target" | "target_man" | "theatre_masks" | "three_boxes" | "tick" | "tick_circle" | "tick_thick" | "true_tick" | "u_turn_left" | "u_turn_right" | "undo" | "unlocked" | "upload" | "uploaded" | "video" | "view" | "volunteering" | "warning" | "website" | "welfare" | "worldwide_location";