carbon-react 150.1.0 → 151.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (621) hide show
  1. package/esm/__internal__/character-count/character-count.component.js +0 -1
  2. package/esm/__internal__/checkable-input/checkable-input.component.js +0 -419
  3. package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +0 -353
  4. package/esm/__internal__/field-help/field-help.component.js +0 -1
  5. package/esm/__internal__/fieldset/fieldset.component.js +0 -1
  6. package/esm/__internal__/focus-trap/focus-trap.component.js +0 -1
  7. package/esm/__internal__/form-field/form-field.component.d.ts +2 -0
  8. package/esm/__internal__/form-field/form-field.component.js +0 -1
  9. package/esm/__internal__/form-spacing-provider/form-spacing-provider.component.js +0 -1
  10. package/esm/__internal__/full-screen-heading/full-screen-heading.component.js +0 -7
  11. package/esm/__internal__/hint-text/hint-text.component.js +0 -1
  12. package/esm/__internal__/input/input-presentation.component.js +0 -20
  13. package/esm/__internal__/input/input.component.js +0 -410
  14. package/esm/__internal__/input-behaviour/input-behaviour.component.js +0 -1
  15. package/esm/__internal__/input-behaviour/input-group-behaviour.component.js +0 -1
  16. package/esm/__internal__/input-icon-toggle/input-icon-toggle.component.js +0 -1
  17. package/esm/__internal__/label/label.component.js +0 -1
  18. package/esm/__internal__/popover/popover.component.js +0 -1
  19. package/esm/__internal__/radio-button-mapper/radio-button-mapper.component.js +0 -1
  20. package/esm/__internal__/sticky-footer/sticky-footer.component.js +0 -1
  21. package/esm/__internal__/utils/helpers/tags/tags.d.ts +11 -3
  22. package/esm/__internal__/validation-message/validation-message.component.js +0 -1
  23. package/esm/__internal__/validations/validation-icon.component.js +0 -1
  24. package/esm/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
  25. package/esm/components/accordion/accordion-group/accordion-group.component.js +2 -4
  26. package/esm/components/accordion/accordion.component.d.ts +2 -1
  27. package/esm/components/accordion/accordion.component.js +3 -648
  28. package/esm/components/action-popover/action-popover-item/action-popover-item.component.js +0 -1
  29. package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +0 -23
  30. package/esm/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.js +0 -1
  31. package/esm/components/action-popover/action-popover.component.d.ts +2 -1
  32. package/esm/components/action-popover/action-popover.component.js +3 -176
  33. package/esm/components/advanced-color-picker/advanced-color-picker.component.d.ts +3 -2
  34. package/esm/components/advanced-color-picker/advanced-color-picker.component.js +2 -4
  35. package/esm/components/alert/alert.component.d.ts +1 -1
  36. package/esm/components/alert/alert.component.js +3 -3
  37. package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +0 -20
  38. package/esm/components/anchor-navigation/anchor-navigation.component.d.ts +1 -1
  39. package/esm/components/anchor-navigation/anchor-navigation.component.js +0 -9
  40. package/esm/components/badge/badge.component.d.ts +3 -2
  41. package/esm/components/badge/badge.component.js +5 -3
  42. package/esm/components/batch-selection/batch-selection.component.d.ts +3 -2
  43. package/esm/components/batch-selection/batch-selection.component.js +5 -3
  44. package/esm/components/box/box.component.d.ts +2 -0
  45. package/esm/components/box/box.component.js +1 -3788
  46. package/esm/components/breadcrumbs/breadcrumbs.component.js +3 -323
  47. package/esm/components/breadcrumbs/crumb/crumb.component.js +1 -70
  48. package/esm/components/button/button.component.js +0 -344
  49. package/esm/components/button-bar/button-bar.component.d.ts +2 -1
  50. package/esm/components/button-bar/button-bar.component.js +2 -2
  51. package/esm/components/button-minor/button-minor.component.js +1 -346
  52. package/esm/components/button-toggle/button-toggle-group/button-toggle-group.component.d.ts +3 -1
  53. package/esm/components/button-toggle/button-toggle-group/button-toggle-group.component.js +2 -11
  54. package/esm/components/button-toggle/button-toggle-icon.component.js +0 -1
  55. package/esm/components/button-toggle/button-toggle.component.d.ts +4 -7
  56. package/esm/components/button-toggle/button-toggle.component.js +0 -1
  57. package/esm/components/carbon-provider/__internal__/top-modal-provider.component.js +0 -1
  58. package/esm/components/carbon-provider/carbon-provider.component.js +0 -1
  59. package/esm/components/card/card-column/card-column.component.js +0 -1
  60. package/esm/components/card/card-footer/card-footer.component.js +0 -1
  61. package/esm/components/card/card-row/card-row.component.js +0 -1
  62. package/esm/components/card/card.component.js +0 -1
  63. package/esm/components/checkbox/checkbox-group/checkbox-group.component.d.ts +2 -1
  64. package/esm/components/checkbox/checkbox-group/checkbox-group.component.js +1 -2
  65. package/esm/components/checkbox/checkbox-svg.component.js +0 -1
  66. package/esm/components/checkbox/checkbox.component.d.ts +2 -7
  67. package/esm/components/checkbox/checkbox.component.js +8 -586
  68. package/esm/components/confirm/confirm.component.d.ts +1 -1
  69. package/esm/components/confirm/confirm.component.js +3 -3
  70. package/esm/components/content/content.component.d.ts +2 -1
  71. package/esm/components/content/content.component.js +2 -4
  72. package/esm/components/date/__internal__/date-picker/date-picker.component.js +0 -1
  73. package/esm/components/date/__internal__/navbar/navbar.component.js +0 -1
  74. package/esm/components/date/__internal__/weekday/weekday.component.js +0 -1
  75. package/esm/components/date/date.component.d.ts +1 -1
  76. package/esm/components/date/date.component.js +8 -598
  77. package/esm/components/date-range/date-range.component.js +0 -1
  78. package/esm/components/decimal/decimal.component.d.ts +1 -1
  79. package/esm/components/decimal/decimal.component.js +3 -595
  80. package/esm/components/definition-list/dd/dd.component.d.ts +2 -1
  81. package/esm/components/definition-list/dd/dd.component.js +2 -2
  82. package/esm/components/definition-list/dl.component.d.ts +2 -1
  83. package/esm/components/definition-list/dl.component.js +2 -4
  84. package/esm/components/definition-list/dt/dt.component.d.ts +2 -1
  85. package/esm/components/definition-list/dt/dt.component.js +2 -2
  86. package/esm/components/detail/detail.component.js +0 -1
  87. package/esm/components/dialog/dialog.component.d.ts +2 -0
  88. package/esm/components/dialog/dialog.component.js +1 -69
  89. package/esm/components/dialog-full-screen/dialog-full-screen.component.js +1 -7
  90. package/esm/components/dismissible-box/dismissible-box.component.d.ts +1 -1
  91. package/esm/components/dismissible-box/dismissible-box.component.js +1 -3
  92. package/esm/components/draggable/__internal__/drop-target.component.d.ts +1 -1
  93. package/esm/components/draggable/__internal__/drop-target.component.js +3 -8
  94. package/esm/components/draggable/draggable-container.component.d.ts +1 -1
  95. package/esm/components/draggable/draggable-container.component.js +0 -164
  96. package/esm/components/draggable/draggable-item/draggable-item.component.d.ts +3 -2
  97. package/esm/components/draggable/draggable-item/draggable-item.component.js +7 -167
  98. package/esm/components/drawer/drawer.component.d.ts +1 -1
  99. package/esm/components/drawer/drawer.component.js +0 -1
  100. package/esm/components/duelling-picklist/duelling-picklist.component.d.ts +2 -1
  101. package/esm/components/duelling-picklist/duelling-picklist.component.js +3 -5
  102. package/esm/components/duelling-picklist/picklist/picklist.component.js +0 -1
  103. package/esm/components/duelling-picklist/picklist-divider/picklist-divider.component.js +0 -1
  104. package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +1 -14
  105. package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +1 -18
  106. package/esm/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.js +0 -1
  107. package/esm/components/fieldset/fieldset.component.d.ts +2 -1
  108. package/esm/components/fieldset/fieldset.component.js +2 -3
  109. package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.component.js +0 -1
  110. package/esm/components/file-input/file-input.component.d.ts +1 -1
  111. package/esm/components/file-input/file-input.component.js +1 -194
  112. package/esm/components/flat-table/flat-table-body/flat-table-body.component.d.ts +1 -1
  113. package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +1 -10
  114. package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.d.ts +1 -1
  115. package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +0 -1
  116. package/esm/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +1 -1
  117. package/esm/components/flat-table/flat-table-cell/flat-table-cell.component.js +0 -1
  118. package/esm/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.js +0 -1
  119. package/esm/components/flat-table/flat-table-head/flat-table-head.component.d.ts +1 -1
  120. package/esm/components/flat-table/flat-table-head/flat-table-head.component.js +0 -1
  121. package/esm/components/flat-table/flat-table-header/flat-table-header.component.d.ts +1 -1
  122. package/esm/components/flat-table/flat-table-header/flat-table-header.component.js +0 -1
  123. package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +1 -15
  124. package/esm/components/flat-table/flat-table-row/flat-table-row.component.d.ts +1 -1
  125. package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +1 -24
  126. package/esm/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +1 -1
  127. package/esm/components/flat-table/flat-table-row-header/flat-table-row-header.component.js +0 -1
  128. package/esm/components/flat-table/flat-table.component.d.ts +1 -1
  129. package/esm/components/flat-table/flat-table.component.js +0 -1
  130. package/esm/components/flat-table/sort/sort.component.d.ts +1 -1
  131. package/esm/components/flat-table/sort/sort.component.js +0 -1
  132. package/esm/components/form/__internal__/form-summary.component.js +0 -1
  133. package/esm/components/form/form.component.d.ts +2 -1
  134. package/esm/components/form/form.component.js +2 -2
  135. package/esm/components/form/required-fields-indicator/required-fields-indicator.component.js +0 -1
  136. package/esm/components/global-header/global-header.component.d.ts +2 -1
  137. package/esm/components/global-header/global-header.component.js +0 -1
  138. package/esm/components/grid/grid-container/grid-container.component.d.ts +2 -1
  139. package/esm/components/grid/grid-container/grid-container.component.js +2 -4
  140. package/esm/components/grid/grid-item/grid-item.component.d.ts +2 -1
  141. package/esm/components/grid/grid-item/grid-item.component.js +2 -2
  142. package/esm/components/grouped-character/grouped-character.component.d.ts +1 -1
  143. package/esm/components/grouped-character/grouped-character.component.js +3 -596
  144. package/esm/components/heading/heading.component.js +1 -6
  145. package/esm/components/help/help.component.d.ts +2 -1
  146. package/esm/components/help/help.component.js +4 -178
  147. package/esm/components/hr/hr.component.d.ts +2 -1
  148. package/esm/components/hr/hr.component.js +3 -167
  149. package/esm/components/i18n-provider/i18n-provider.component.js +0 -1
  150. package/esm/components/icon/icon.component.d.ts +1 -1
  151. package/esm/components/icon/icon.component.js +0 -184
  152. package/esm/components/icon-button/icon-button.component.d.ts +4 -1
  153. package/esm/components/icon-button/icon-button.component.js +2 -322
  154. package/esm/components/image/image.component.js +2 -2
  155. package/esm/components/image/image.style.d.ts +2 -1
  156. package/esm/components/inline-inputs/inline-inputs.component.d.ts +2 -1
  157. package/esm/components/inline-inputs/inline-inputs.component.js +2 -4
  158. package/esm/components/link/link.component.d.ts +2 -1
  159. package/esm/components/link/link.component.js +1 -79
  160. package/esm/components/link-preview/__internal__/placeholder.component.js +0 -1
  161. package/esm/components/link-preview/link-preview.component.d.ts +2 -1
  162. package/esm/components/link-preview/link-preview.component.js +2 -3
  163. package/esm/components/loader/loader.component.js +0 -1
  164. package/esm/components/loader-bar/loader-bar.component.js +0 -1
  165. package/esm/components/loader-spinner/loader-spinner.component.js +0 -1
  166. package/esm/components/loader-star/internal/star.component.js +0 -7
  167. package/esm/components/loader-star/loader-star.component.d.ts +1 -1
  168. package/esm/components/loader-star/loader-star.component.js +0 -8
  169. package/esm/components/menu/__internal__/submenu/submenu.component.js +0 -122
  170. package/esm/components/menu/menu-divider/menu-divider.component.js +0 -9
  171. package/esm/components/menu/menu-full-screen/menu-full-screen.component.d.ts +1 -1
  172. package/esm/components/menu/menu-full-screen/menu-full-screen.component.js +0 -1
  173. package/esm/components/menu/menu-item/menu-item.component.d.ts +1 -1
  174. package/esm/components/menu/menu-item/menu-item.component.js +0 -1
  175. package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +0 -12
  176. package/esm/components/menu/menu.component.js +0 -1
  177. package/esm/components/menu/scrollable-block/scrollable-block.component.js +2 -3
  178. package/esm/components/message/__internal__/message-content/message-content.component.js +0 -1
  179. package/esm/components/message/__internal__/type-icon/type-icon.component.js +0 -1
  180. package/esm/components/message/message.component.d.ts +2 -1
  181. package/esm/components/message/message.component.js +1 -171
  182. package/esm/components/modal/modal.component.d.ts +1 -1
  183. package/esm/components/modal/modal.component.js +0 -1
  184. package/esm/components/multi-action-button/multi-action-button.component.js +1 -646
  185. package/esm/components/navigation-bar/navigation-bar.component.d.ts +2 -1
  186. package/esm/components/navigation-bar/navigation-bar.component.js +3 -1284
  187. package/esm/components/note/__internal__/status-icon/status-icon.component.js +0 -7
  188. package/esm/components/note/note.component.d.ts +2 -1
  189. package/esm/components/note/note.component.js +2 -4
  190. package/esm/components/number/number.component.js +3 -594
  191. package/esm/components/numeral-date/numeral-date.component.d.ts +3 -8
  192. package/esm/components/numeral-date/numeral-date.component.js +3 -12
  193. package/esm/components/pager/__internal__/pager-navigation-link.component.js +0 -1
  194. package/esm/components/pager/__internal__/pager-navigation.component.js +0 -1
  195. package/esm/components/pager/pager.component.d.ts +2 -1
  196. package/esm/components/pager/pager.component.js +2 -4
  197. package/esm/components/pages/page/page.component.d.ts +2 -1
  198. package/esm/components/pages/page/page.component.js +0 -1
  199. package/esm/components/pages/pages.component.d.ts +2 -1
  200. package/esm/components/pages/pages.component.js +1 -2
  201. package/esm/components/password/password.component.d.ts +1 -2
  202. package/esm/components/password/password.component.js +2 -3
  203. package/esm/components/pill/pill.component.d.ts +2 -5
  204. package/esm/components/pill/pill.component.js +2 -4
  205. package/esm/components/pod/pod.component.d.ts +2 -5
  206. package/esm/components/pod/pod.component.js +3 -185
  207. package/esm/components/popover-container/popover-container.component.d.ts +1 -1
  208. package/esm/components/popover-container/popover-container.component.js +3 -184
  209. package/esm/components/portrait/portrait.component.d.ts +1 -1
  210. package/esm/components/portrait/portrait.component.js +0 -1
  211. package/esm/components/preview/preview.component.d.ts +2 -1
  212. package/esm/components/preview/preview.component.js +2 -3
  213. package/esm/components/profile/profile.component.d.ts +2 -1
  214. package/esm/components/profile/profile.component.js +0 -1
  215. package/esm/components/progress-tracker/progress-tracker.component.d.ts +2 -1
  216. package/esm/components/progress-tracker/progress-tracker.component.js +0 -1
  217. package/esm/components/radio-button/radio-button-group/radio-button-group.component.d.ts +2 -1
  218. package/esm/components/radio-button/radio-button-group/radio-button-group.component.js +0 -1
  219. package/esm/components/radio-button/radio-button-svg.component.js +0 -1
  220. package/esm/components/radio-button/radio-button.component.d.ts +2 -7
  221. package/esm/components/radio-button/radio-button.component.js +8 -584
  222. package/esm/components/search/search.component.d.ts +2 -1
  223. package/esm/components/search/search.component.js +3 -186
  224. package/esm/components/select/__internal__/list-action-button/list-action-button.component.js +0 -7
  225. package/esm/components/select/__internal__/select-list/select-list.component.js +0 -34
  226. package/esm/components/select/__internal__/select-textbox/select-textbox.component.d.ts +1 -1
  227. package/esm/components/select/__internal__/select-textbox/select-textbox.component.js +0 -597
  228. package/esm/components/select/filterable-select/filterable-select.component.d.ts +0 -6
  229. package/esm/components/select/filterable-select/filterable-select.component.js +4 -615
  230. package/esm/components/select/multi-select/multi-select.component.d.ts +0 -6
  231. package/esm/components/select/multi-select/multi-select.component.js +4 -613
  232. package/esm/components/select/option/option.component.d.ts +1 -1
  233. package/esm/components/select/option/option.component.js +0 -457
  234. package/esm/components/select/option-group-header/option-group-header.component.d.ts +1 -1
  235. package/esm/components/select/option-group-header/option-group-header.component.js +0 -12
  236. package/esm/components/select/option-row/option-row.component.d.ts +1 -1
  237. package/esm/components/select/option-row/option-row.component.js +0 -16
  238. package/esm/components/select/simple-select/simple-select.component.d.ts +0 -6
  239. package/esm/components/select/simple-select/simple-select.component.js +4 -612
  240. package/esm/components/settings-row/settings-row.component.d.ts +2 -1
  241. package/esm/components/settings-row/settings-row.component.js +0 -1
  242. package/esm/components/sidebar/__internal__/sidebar-header/sidebar-header.component.js +0 -1
  243. package/esm/components/sidebar/sidebar.component.d.ts +2 -2
  244. package/esm/components/sidebar/sidebar.component.js +1 -455
  245. package/esm/components/simple-color-picker/simple-color/simple-color.component.js +1 -17
  246. package/esm/components/simple-color-picker/simple-color-picker.component.d.ts +2 -1
  247. package/esm/components/simple-color-picker/simple-color-picker.component.js +1 -175
  248. package/esm/components/split-button/split-button.component.d.ts +2 -5
  249. package/esm/components/split-button/split-button.component.js +1 -547
  250. package/esm/components/step-flow/step-flow-title/step-flow-title.component.js +0 -1
  251. package/esm/components/step-flow/step-flow.component.js +1 -175
  252. package/esm/components/step-sequence/step-sequence-item/step-sequence-item.component.d.ts +2 -1
  253. package/esm/components/step-sequence/step-sequence-item/step-sequence-item.component.js +2 -3
  254. package/esm/components/step-sequence/step-sequence.component.d.ts +2 -1
  255. package/esm/components/step-sequence/step-sequence.component.js +2 -3
  256. package/esm/components/switch/__internal__/switch-slider.component.js +0 -1
  257. package/esm/components/switch/switch.component.d.ts +2 -7
  258. package/esm/components/switch/switch.component.js +5 -585
  259. package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +0 -33
  260. package/esm/components/tabs/__internal__/tabs-header/tabs-header.component.js +0 -1
  261. package/esm/components/tabs/tab/tab.component.d.ts +2 -1
  262. package/esm/components/tabs/tab/tab.component.js +1 -2
  263. package/esm/components/tabs/tabs.component.d.ts +2 -1
  264. package/esm/components/tabs/tabs.component.js +2 -4
  265. package/esm/components/text-editor/__internal__/plugins/AutoLinker/auto-link.component.js +0 -1
  266. package/esm/components/text-editor/__internal__/plugins/CharacterCounter/__test__/character-counter.component.js +0 -1
  267. package/esm/components/text-editor/__internal__/plugins/CharacterCounter/character-counter.component.js +0 -1
  268. package/esm/components/text-editor/__internal__/plugins/ContentEditor/content-editor.component.js +0 -1
  269. package/esm/components/text-editor/__internal__/plugins/LinkPreviewer/link-previewer.component.js +0 -1
  270. package/esm/components/text-editor/__internal__/plugins/Placeholder/placeholder.component.js +0 -1
  271. package/esm/components/text-editor/__internal__/plugins/Toolbar/buttons/bold.component.js +0 -1
  272. package/esm/components/text-editor/__internal__/plugins/Toolbar/buttons/italic.component.js +0 -1
  273. package/esm/components/text-editor/__internal__/plugins/Toolbar/buttons/list.component.js +0 -1
  274. package/esm/components/text-editor/__internal__/plugins/Toolbar/buttons/save.component.js +0 -1
  275. package/esm/components/text-editor/__internal__/plugins/Toolbar/toolbar.component.js +0 -1
  276. package/esm/components/text-editor/__internal__/read-only-rte.component.js +0 -1
  277. package/esm/components/text-editor/text-editor.component.js +0 -1
  278. package/esm/components/textarea/textarea.component.d.ts +2 -7
  279. package/esm/components/textarea/textarea.component.js +6 -593
  280. package/esm/components/textbox/textbox.component.d.ts +4 -7
  281. package/esm/components/textbox/textbox.component.js +1 -593
  282. package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +1 -3788
  283. package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +1 -110
  284. package/esm/components/tile/flex-tile-divider/flex-tile-divider.component.js +1 -1
  285. package/esm/components/tile/tile-content/tile-content.component.js +0 -1
  286. package/esm/components/tile/tile-footer/tile-footer.component.js +0 -1
  287. package/esm/components/tile/tile-header/tile-header.component.js +0 -1
  288. package/esm/components/tile/tile.component.js +0 -1
  289. package/esm/components/tile-select/__internal__/accordion/accordion.component.js +0 -1
  290. package/esm/components/tile-select/tile-select-group/tile-select-group.component.d.ts +2 -1
  291. package/esm/components/tile-select/tile-select-group/tile-select-group.component.js +0 -1
  292. package/esm/components/tile-select/tile-select.component.d.ts +2 -1
  293. package/esm/components/tile-select/tile-select.component.js +6 -181
  294. package/esm/components/time/__internal__/time-toggle/time-toggle.component.d.ts +4 -4
  295. package/esm/components/time/__internal__/time-toggle/time-toggle.component.js +0 -1
  296. package/esm/components/time/time.component.d.ts +2 -2
  297. package/esm/components/time/time.component.js +0 -212
  298. package/esm/components/toast/toast.component.d.ts +1 -3
  299. package/esm/components/toast/toast.component.js +2 -24
  300. package/esm/components/tooltip/tooltip.component.d.ts +2 -1
  301. package/esm/components/tooltip/tooltip.component.js +1 -26
  302. package/esm/components/typography/list.component.js +0 -1
  303. package/esm/components/typography/typography.component.d.ts +2 -0
  304. package/esm/components/typography/typography.component.js +0 -1
  305. package/esm/components/vertical-divider/vertical-divider.component.d.ts +2 -1
  306. package/esm/components/vertical-divider/vertical-divider.component.js +3 -322
  307. package/esm/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.js +0 -1
  308. package/esm/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.js +0 -1
  309. package/esm/components/vertical-menu/vertical-menu-trigger/vertical-menu-trigger.component.js +0 -1
  310. package/esm/components/vertical-menu/vertical-menu.component.js +0 -1
  311. package/lib/__internal__/character-count/character-count.component.js +0 -1
  312. package/lib/__internal__/checkable-input/checkable-input.component.js +0 -419
  313. package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +0 -353
  314. package/lib/__internal__/field-help/field-help.component.js +0 -1
  315. package/lib/__internal__/fieldset/fieldset.component.js +0 -1
  316. package/lib/__internal__/focus-trap/focus-trap.component.js +0 -1
  317. package/lib/__internal__/form-field/form-field.component.d.ts +2 -0
  318. package/lib/__internal__/form-field/form-field.component.js +0 -1
  319. package/lib/__internal__/form-spacing-provider/form-spacing-provider.component.js +0 -1
  320. package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +0 -7
  321. package/lib/__internal__/hint-text/hint-text.component.js +0 -1
  322. package/lib/__internal__/input/input-presentation.component.js +0 -20
  323. package/lib/__internal__/input/input.component.js +0 -410
  324. package/lib/__internal__/input-behaviour/input-behaviour.component.js +0 -1
  325. package/lib/__internal__/input-behaviour/input-group-behaviour.component.js +0 -1
  326. package/lib/__internal__/input-icon-toggle/input-icon-toggle.component.js +0 -1
  327. package/lib/__internal__/label/label.component.js +0 -1
  328. package/lib/__internal__/popover/popover.component.js +0 -1
  329. package/lib/__internal__/radio-button-mapper/radio-button-mapper.component.js +0 -2
  330. package/lib/__internal__/sticky-footer/sticky-footer.component.js +0 -1
  331. package/lib/__internal__/utils/helpers/tags/tags.d.ts +11 -3
  332. package/lib/__internal__/validation-message/validation-message.component.js +0 -1
  333. package/lib/__internal__/validations/validation-icon.component.js +0 -1
  334. package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
  335. package/lib/components/accordion/accordion-group/accordion-group.component.js +2 -4
  336. package/lib/components/accordion/accordion.component.d.ts +2 -1
  337. package/lib/components/accordion/accordion.component.js +2 -646
  338. package/lib/components/action-popover/action-popover-item/action-popover-item.component.js +0 -1
  339. package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +0 -23
  340. package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.js +0 -1
  341. package/lib/components/action-popover/action-popover.component.d.ts +2 -1
  342. package/lib/components/action-popover/action-popover.component.js +2 -174
  343. package/lib/components/advanced-color-picker/advanced-color-picker.component.d.ts +3 -2
  344. package/lib/components/advanced-color-picker/advanced-color-picker.component.js +2 -4
  345. package/lib/components/alert/alert.component.d.ts +1 -1
  346. package/lib/components/alert/alert.component.js +3 -3
  347. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +0 -20
  348. package/lib/components/anchor-navigation/anchor-navigation.component.d.ts +1 -1
  349. package/lib/components/anchor-navigation/anchor-navigation.component.js +0 -9
  350. package/lib/components/badge/badge.component.d.ts +3 -2
  351. package/lib/components/badge/badge.component.js +5 -4
  352. package/lib/components/batch-selection/batch-selection.component.d.ts +3 -2
  353. package/lib/components/batch-selection/batch-selection.component.js +5 -3
  354. package/lib/components/box/box.component.d.ts +2 -0
  355. package/lib/components/box/box.component.js +0 -3786
  356. package/lib/components/breadcrumbs/breadcrumbs.component.js +2 -321
  357. package/lib/components/breadcrumbs/crumb/crumb.component.js +1 -70
  358. package/lib/components/button/button.component.js +0 -344
  359. package/lib/components/button-bar/button-bar.component.d.ts +2 -1
  360. package/lib/components/button-bar/button-bar.component.js +2 -2
  361. package/lib/components/button-minor/button-minor.component.js +0 -344
  362. package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.d.ts +3 -1
  363. package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.js +2 -11
  364. package/lib/components/button-toggle/button-toggle-icon.component.js +0 -1
  365. package/lib/components/button-toggle/button-toggle.component.d.ts +4 -7
  366. package/lib/components/button-toggle/button-toggle.component.js +0 -1
  367. package/lib/components/carbon-provider/__internal__/top-modal-provider.component.js +0 -1
  368. package/lib/components/carbon-provider/carbon-provider.component.js +0 -1
  369. package/lib/components/card/card-column/card-column.component.js +0 -1
  370. package/lib/components/card/card-footer/card-footer.component.js +0 -1
  371. package/lib/components/card/card-row/card-row.component.js +0 -1
  372. package/lib/components/card/card.component.js +0 -1
  373. package/lib/components/checkbox/checkbox-group/checkbox-group.component.d.ts +2 -1
  374. package/lib/components/checkbox/checkbox-group/checkbox-group.component.js +1 -2
  375. package/lib/components/checkbox/checkbox-svg.component.js +0 -1
  376. package/lib/components/checkbox/checkbox.component.d.ts +2 -7
  377. package/lib/components/checkbox/checkbox.component.js +7 -584
  378. package/lib/components/confirm/confirm.component.d.ts +1 -1
  379. package/lib/components/confirm/confirm.component.js +3 -3
  380. package/lib/components/content/content.component.d.ts +2 -1
  381. package/lib/components/content/content.component.js +2 -4
  382. package/lib/components/date/__internal__/date-picker/date-picker.component.js +0 -1
  383. package/lib/components/date/__internal__/navbar/navbar.component.js +0 -1
  384. package/lib/components/date/__internal__/weekday/weekday.component.js +0 -1
  385. package/lib/components/date/date.component.d.ts +1 -1
  386. package/lib/components/date/date.component.js +7 -596
  387. package/lib/components/date-range/date-range.component.js +0 -1
  388. package/lib/components/decimal/decimal.component.d.ts +1 -1
  389. package/lib/components/decimal/decimal.component.js +2 -593
  390. package/lib/components/definition-list/dd/dd.component.d.ts +2 -1
  391. package/lib/components/definition-list/dd/dd.component.js +2 -2
  392. package/lib/components/definition-list/dl.component.d.ts +2 -1
  393. package/lib/components/definition-list/dl.component.js +2 -4
  394. package/lib/components/definition-list/dt/dt.component.d.ts +2 -1
  395. package/lib/components/definition-list/dt/dt.component.js +2 -2
  396. package/lib/components/detail/detail.component.js +0 -1
  397. package/lib/components/dialog/dialog.component.d.ts +2 -0
  398. package/lib/components/dialog/dialog.component.js +0 -67
  399. package/lib/components/dialog-full-screen/dialog-full-screen.component.js +1 -7
  400. package/lib/components/dismissible-box/dismissible-box.component.d.ts +1 -1
  401. package/lib/components/dismissible-box/dismissible-box.component.js +1 -3
  402. package/lib/components/draggable/__internal__/drop-target.component.d.ts +1 -1
  403. package/lib/components/draggable/__internal__/drop-target.component.js +3 -8
  404. package/lib/components/draggable/draggable-container.component.d.ts +1 -1
  405. package/lib/components/draggable/draggable-container.component.js +0 -164
  406. package/lib/components/draggable/draggable-item/draggable-item.component.d.ts +3 -2
  407. package/lib/components/draggable/draggable-item/draggable-item.component.js +7 -167
  408. package/lib/components/drawer/drawer.component.d.ts +1 -1
  409. package/lib/components/drawer/drawer.component.js +0 -1
  410. package/lib/components/duelling-picklist/duelling-picklist.component.d.ts +2 -1
  411. package/lib/components/duelling-picklist/duelling-picklist.component.js +3 -5
  412. package/lib/components/duelling-picklist/picklist/picklist.component.js +0 -1
  413. package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.js +0 -1
  414. package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +0 -12
  415. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +0 -16
  416. package/lib/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.js +0 -1
  417. package/lib/components/fieldset/fieldset.component.d.ts +2 -1
  418. package/lib/components/fieldset/fieldset.component.js +2 -3
  419. package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.js +0 -1
  420. package/lib/components/file-input/file-input.component.d.ts +1 -1
  421. package/lib/components/file-input/file-input.component.js +0 -192
  422. package/lib/components/flat-table/flat-table-body/flat-table-body.component.d.ts +1 -1
  423. package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +0 -8
  424. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.d.ts +1 -1
  425. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +0 -1
  426. package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +1 -1
  427. package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.js +0 -1
  428. package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.js +0 -1
  429. package/lib/components/flat-table/flat-table-head/flat-table-head.component.d.ts +1 -1
  430. package/lib/components/flat-table/flat-table-head/flat-table-head.component.js +0 -1
  431. package/lib/components/flat-table/flat-table-header/flat-table-header.component.d.ts +1 -1
  432. package/lib/components/flat-table/flat-table-header/flat-table-header.component.js +0 -1
  433. package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +0 -13
  434. package/lib/components/flat-table/flat-table-row/flat-table-row.component.d.ts +1 -1
  435. package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +0 -22
  436. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +1 -1
  437. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.js +0 -1
  438. package/lib/components/flat-table/flat-table.component.d.ts +1 -1
  439. package/lib/components/flat-table/flat-table.component.js +0 -1
  440. package/lib/components/flat-table/sort/sort.component.d.ts +1 -1
  441. package/lib/components/flat-table/sort/sort.component.js +0 -1
  442. package/lib/components/form/__internal__/form-summary.component.js +0 -1
  443. package/lib/components/form/form.component.d.ts +2 -1
  444. package/lib/components/form/form.component.js +2 -2
  445. package/lib/components/form/required-fields-indicator/required-fields-indicator.component.js +0 -1
  446. package/lib/components/global-header/global-header.component.d.ts +2 -1
  447. package/lib/components/global-header/global-header.component.js +0 -1
  448. package/lib/components/grid/grid-container/grid-container.component.d.ts +2 -1
  449. package/lib/components/grid/grid-container/grid-container.component.js +2 -4
  450. package/lib/components/grid/grid-item/grid-item.component.d.ts +2 -1
  451. package/lib/components/grid/grid-item/grid-item.component.js +2 -2
  452. package/lib/components/grouped-character/grouped-character.component.d.ts +1 -1
  453. package/lib/components/grouped-character/grouped-character.component.js +2 -594
  454. package/lib/components/heading/heading.component.js +1 -6
  455. package/lib/components/help/help.component.d.ts +2 -1
  456. package/lib/components/help/help.component.js +3 -176
  457. package/lib/components/hr/hr.component.d.ts +2 -1
  458. package/lib/components/hr/hr.component.js +2 -165
  459. package/lib/components/i18n-provider/i18n-provider.component.js +0 -1
  460. package/lib/components/icon/icon.component.d.ts +1 -1
  461. package/lib/components/icon/icon.component.js +0 -184
  462. package/lib/components/icon-button/icon-button.component.d.ts +4 -1
  463. package/lib/components/icon-button/icon-button.component.js +2 -322
  464. package/lib/components/image/image.component.js +2 -2
  465. package/lib/components/image/image.style.d.ts +2 -1
  466. package/lib/components/inline-inputs/inline-inputs.component.d.ts +2 -1
  467. package/lib/components/inline-inputs/inline-inputs.component.js +2 -4
  468. package/lib/components/link/link.component.d.ts +2 -1
  469. package/lib/components/link/link.component.js +0 -77
  470. package/lib/components/link-preview/__internal__/placeholder.component.js +0 -1
  471. package/lib/components/link-preview/link-preview.component.d.ts +2 -1
  472. package/lib/components/link-preview/link-preview.component.js +2 -3
  473. package/lib/components/loader/loader.component.js +0 -1
  474. package/lib/components/loader-bar/loader-bar.component.js +0 -1
  475. package/lib/components/loader-spinner/loader-spinner.component.js +0 -1
  476. package/lib/components/loader-star/internal/star.component.js +0 -7
  477. package/lib/components/loader-star/loader-star.component.d.ts +1 -1
  478. package/lib/components/loader-star/loader-star.component.js +0 -8
  479. package/lib/components/menu/__internal__/submenu/submenu.component.js +0 -122
  480. package/lib/components/menu/menu-divider/menu-divider.component.js +0 -9
  481. package/lib/components/menu/menu-full-screen/menu-full-screen.component.d.ts +1 -1
  482. package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +0 -1
  483. package/lib/components/menu/menu-item/menu-item.component.d.ts +1 -1
  484. package/lib/components/menu/menu-item/menu-item.component.js +0 -1
  485. package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +0 -12
  486. package/lib/components/menu/menu.component.js +0 -1
  487. package/lib/components/menu/scrollable-block/scrollable-block.component.js +2 -3
  488. package/lib/components/message/__internal__/message-content/message-content.component.js +0 -1
  489. package/lib/components/message/__internal__/type-icon/type-icon.component.js +0 -1
  490. package/lib/components/message/message.component.d.ts +2 -1
  491. package/lib/components/message/message.component.js +0 -169
  492. package/lib/components/modal/modal.component.d.ts +1 -1
  493. package/lib/components/modal/modal.component.js +0 -1
  494. package/lib/components/multi-action-button/multi-action-button.component.js +0 -644
  495. package/lib/components/navigation-bar/navigation-bar.component.d.ts +2 -1
  496. package/lib/components/navigation-bar/navigation-bar.component.js +2 -1282
  497. package/lib/components/note/__internal__/status-icon/status-icon.component.js +0 -7
  498. package/lib/components/note/note.component.d.ts +2 -1
  499. package/lib/components/note/note.component.js +2 -4
  500. package/lib/components/number/number.component.js +2 -592
  501. package/lib/components/numeral-date/numeral-date.component.d.ts +3 -8
  502. package/lib/components/numeral-date/numeral-date.component.js +3 -12
  503. package/lib/components/pager/__internal__/pager-navigation-link.component.js +0 -1
  504. package/lib/components/pager/__internal__/pager-navigation.component.js +0 -1
  505. package/lib/components/pager/pager.component.d.ts +2 -1
  506. package/lib/components/pager/pager.component.js +2 -4
  507. package/lib/components/pages/page/page.component.d.ts +2 -1
  508. package/lib/components/pages/page/page.component.js +0 -1
  509. package/lib/components/pages/pages.component.d.ts +2 -1
  510. package/lib/components/pages/pages.component.js +1 -2
  511. package/lib/components/password/password.component.d.ts +1 -2
  512. package/lib/components/password/password.component.js +2 -3
  513. package/lib/components/pill/pill.component.d.ts +2 -5
  514. package/lib/components/pill/pill.component.js +2 -4
  515. package/lib/components/pod/pod.component.d.ts +2 -5
  516. package/lib/components/pod/pod.component.js +3 -185
  517. package/lib/components/popover-container/popover-container.component.d.ts +1 -1
  518. package/lib/components/popover-container/popover-container.component.js +2 -182
  519. package/lib/components/portrait/portrait.component.d.ts +1 -1
  520. package/lib/components/portrait/portrait.component.js +0 -1
  521. package/lib/components/preview/preview.component.d.ts +2 -1
  522. package/lib/components/preview/preview.component.js +2 -3
  523. package/lib/components/profile/profile.component.d.ts +2 -1
  524. package/lib/components/profile/profile.component.js +0 -1
  525. package/lib/components/progress-tracker/progress-tracker.component.d.ts +2 -1
  526. package/lib/components/progress-tracker/progress-tracker.component.js +0 -1
  527. package/lib/components/radio-button/radio-button-group/radio-button-group.component.d.ts +2 -1
  528. package/lib/components/radio-button/radio-button-group/radio-button-group.component.js +0 -1
  529. package/lib/components/radio-button/radio-button-svg.component.js +0 -1
  530. package/lib/components/radio-button/radio-button.component.d.ts +2 -7
  531. package/lib/components/radio-button/radio-button.component.js +7 -582
  532. package/lib/components/search/search.component.d.ts +2 -1
  533. package/lib/components/search/search.component.js +2 -184
  534. package/lib/components/select/__internal__/list-action-button/list-action-button.component.js +0 -7
  535. package/lib/components/select/__internal__/select-list/select-list.component.js +0 -34
  536. package/lib/components/select/__internal__/select-textbox/select-textbox.component.d.ts +1 -1
  537. package/lib/components/select/__internal__/select-textbox/select-textbox.component.js +0 -597
  538. package/lib/components/select/filterable-select/filterable-select.component.d.ts +0 -6
  539. package/lib/components/select/filterable-select/filterable-select.component.js +3 -613
  540. package/lib/components/select/multi-select/multi-select.component.d.ts +0 -6
  541. package/lib/components/select/multi-select/multi-select.component.js +3 -611
  542. package/lib/components/select/option/option.component.d.ts +1 -1
  543. package/lib/components/select/option/option.component.js +0 -457
  544. package/lib/components/select/option-group-header/option-group-header.component.d.ts +1 -1
  545. package/lib/components/select/option-group-header/option-group-header.component.js +0 -12
  546. package/lib/components/select/option-row/option-row.component.d.ts +1 -1
  547. package/lib/components/select/option-row/option-row.component.js +0 -16
  548. package/lib/components/select/simple-select/simple-select.component.d.ts +0 -6
  549. package/lib/components/select/simple-select/simple-select.component.js +3 -610
  550. package/lib/components/settings-row/settings-row.component.d.ts +2 -1
  551. package/lib/components/settings-row/settings-row.component.js +0 -1
  552. package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.component.js +0 -1
  553. package/lib/components/sidebar/sidebar.component.d.ts +2 -2
  554. package/lib/components/sidebar/sidebar.component.js +0 -453
  555. package/lib/components/simple-color-picker/simple-color/simple-color.component.js +0 -15
  556. package/lib/components/simple-color-picker/simple-color-picker.component.d.ts +2 -1
  557. package/lib/components/simple-color-picker/simple-color-picker.component.js +0 -173
  558. package/lib/components/split-button/split-button.component.d.ts +2 -5
  559. package/lib/components/split-button/split-button.component.js +0 -545
  560. package/lib/components/step-flow/step-flow-title/step-flow-title.component.js +0 -1
  561. package/lib/components/step-flow/step-flow.component.js +0 -173
  562. package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.d.ts +2 -1
  563. package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.js +2 -3
  564. package/lib/components/step-sequence/step-sequence.component.d.ts +2 -1
  565. package/lib/components/step-sequence/step-sequence.component.js +2 -3
  566. package/lib/components/switch/__internal__/switch-slider.component.js +0 -1
  567. package/lib/components/switch/switch.component.d.ts +2 -7
  568. package/lib/components/switch/switch.component.js +4 -583
  569. package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +0 -33
  570. package/lib/components/tabs/__internal__/tabs-header/tabs-header.component.js +0 -1
  571. package/lib/components/tabs/tab/tab.component.d.ts +2 -1
  572. package/lib/components/tabs/tab/tab.component.js +1 -2
  573. package/lib/components/tabs/tabs.component.d.ts +2 -1
  574. package/lib/components/tabs/tabs.component.js +2 -4
  575. package/lib/components/text-editor/__internal__/plugins/AutoLinker/auto-link.component.js +0 -1
  576. package/lib/components/text-editor/__internal__/plugins/CharacterCounter/__test__/character-counter.component.js +0 -2
  577. package/lib/components/text-editor/__internal__/plugins/CharacterCounter/character-counter.component.js +0 -1
  578. package/lib/components/text-editor/__internal__/plugins/ContentEditor/content-editor.component.js +0 -1
  579. package/lib/components/text-editor/__internal__/plugins/LinkPreviewer/link-previewer.component.js +0 -1
  580. package/lib/components/text-editor/__internal__/plugins/Placeholder/placeholder.component.js +0 -1
  581. package/lib/components/text-editor/__internal__/plugins/Toolbar/buttons/bold.component.js +0 -1
  582. package/lib/components/text-editor/__internal__/plugins/Toolbar/buttons/italic.component.js +0 -1
  583. package/lib/components/text-editor/__internal__/plugins/Toolbar/buttons/list.component.js +0 -1
  584. package/lib/components/text-editor/__internal__/plugins/Toolbar/buttons/save.component.js +0 -1
  585. package/lib/components/text-editor/__internal__/plugins/Toolbar/toolbar.component.js +0 -1
  586. package/lib/components/text-editor/__internal__/read-only-rte.component.js +0 -2
  587. package/lib/components/text-editor/text-editor.component.js +0 -1
  588. package/lib/components/textarea/textarea.component.d.ts +2 -7
  589. package/lib/components/textarea/textarea.component.js +5 -591
  590. package/lib/components/textbox/textbox.component.d.ts +4 -7
  591. package/lib/components/textbox/textbox.component.js +0 -591
  592. package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +0 -3786
  593. package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +0 -108
  594. package/lib/components/tile/flex-tile-divider/flex-tile-divider.component.js +1 -1
  595. package/lib/components/tile/tile-content/tile-content.component.js +0 -1
  596. package/lib/components/tile/tile-footer/tile-footer.component.js +0 -1
  597. package/lib/components/tile/tile-header/tile-header.component.js +0 -1
  598. package/lib/components/tile/tile.component.js +0 -1
  599. package/lib/components/tile-select/__internal__/accordion/accordion.component.js +0 -1
  600. package/lib/components/tile-select/tile-select-group/tile-select-group.component.d.ts +2 -1
  601. package/lib/components/tile-select/tile-select-group/tile-select-group.component.js +0 -1
  602. package/lib/components/tile-select/tile-select.component.d.ts +2 -1
  603. package/lib/components/tile-select/tile-select.component.js +6 -181
  604. package/lib/components/time/__internal__/time-toggle/time-toggle.component.d.ts +4 -4
  605. package/lib/components/time/__internal__/time-toggle/time-toggle.component.js +0 -1
  606. package/lib/components/time/time.component.d.ts +2 -2
  607. package/lib/components/time/time.component.js +0 -212
  608. package/lib/components/toast/toast.component.d.ts +1 -3
  609. package/lib/components/toast/toast.component.js +1 -22
  610. package/lib/components/tooltip/tooltip.component.d.ts +2 -1
  611. package/lib/components/tooltip/tooltip.component.js +0 -24
  612. package/lib/components/typography/list.component.js +0 -1
  613. package/lib/components/typography/typography.component.d.ts +2 -0
  614. package/lib/components/typography/typography.component.js +0 -1
  615. package/lib/components/vertical-divider/vertical-divider.component.d.ts +2 -1
  616. package/lib/components/vertical-divider/vertical-divider.component.js +2 -320
  617. package/lib/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.js +0 -1
  618. package/lib/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.js +0 -1
  619. package/lib/components/vertical-menu/vertical-menu-trigger/vertical-menu-trigger.component.js +0 -1
  620. package/lib/components/vertical-menu/vertical-menu.component.js +0 -1
  621. package/package.json +1 -3
@@ -1,8 +1,9 @@
1
1
  import React from "react";
2
2
  import { MarginProps } from "styled-system";
3
+ import { TagProps } from "../../__internal__/utils/helpers/tags";
3
4
  import { IconType } from "../icon";
4
5
  import { TooltipPositions } from "../tooltip/tooltip.config";
5
- export interface HelpProps extends MarginProps {
6
+ export interface HelpProps extends MarginProps, TagProps {
6
7
  /** Overrides the default 'as' attribute of the Help component */
7
8
  as?: keyof JSX.IntrinsicElements;
8
9
  /** Aria label */
@@ -1,14 +1,13 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import React, { useContext, useEffect, useRef, useState } from "react";
3
- import PropTypes from "prop-types";
3
+ import tagComponent from "../../__internal__/utils/helpers/tags";
4
4
  import Icon from "../icon";
5
- import tagComponent from "../../__internal__/utils/helpers/tags/tags";
6
5
  import StyledHelp from "./help.style";
7
6
  import Events from "../../__internal__/utils/helpers/events";
8
7
  import { TooltipContext } from "../../__internal__/tooltip-provider";
9
8
  import { filterStyledSystemMarginProps } from "../../style/utils";
10
9
  import guid from "../../__internal__/utils/helpers/guid";
11
- const Help = ({
10
+ export const Help = ({
12
11
  as,
13
12
  ariaLabel = "help",
14
13
  children,
@@ -61,15 +60,14 @@ const Help = ({
61
60
  onFocus: handleFocusBlur(true),
62
61
  onBlur: handleFocusBlur(false),
63
62
  onMouseOver: handleFocusBlur(true),
64
- onMouseLeave: handleFocusBlur(false)
65
- }, tagComponent("help", rest), {
63
+ onMouseLeave: handleFocusBlur(false),
66
64
  tabIndex: tabIndex
67
65
  }, href ? {
68
66
  target: "_blank",
69
67
  rel: "noopener noreferrer"
70
68
  } : {
71
69
  role: "button"
72
- }, filterStyledSystemMarginProps(rest), rest), /*#__PURE__*/React.createElement(Icon, {
70
+ }, filterStyledSystemMarginProps(rest), rest, tagComponent("help", rest)), /*#__PURE__*/React.createElement(Icon, {
73
71
  "aria-hidden": true,
74
72
  type: type,
75
73
  tooltipMessage: children,
@@ -82,177 +80,5 @@ const Help = ({
82
80
  tooltipId: tooltipId || defaultTooltipId.current
83
81
  }));
84
82
  };
85
- if (process.env.NODE_ENV !== "production") {
86
- Help.propTypes = {
87
- "ariaLabel": PropTypes.string,
88
- "as": PropTypes.oneOf(["a", "abbr", "address", "animate", "animateMotion", "animateTransform", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "center", "circle", "cite", "clipPath", "code", "col", "colgroup", "data", "datalist", "dd", "defs", "del", "desc", "details", "dfn", "dialog", "div", "dl", "dt", "ellipse", "em", "embed", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "fieldset", "figcaption", "figure", "filter", "footer", "foreignObject", "form", "g", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "line", "linearGradient", "link", "main", "map", "mark", "marker", "mask", "menu", "menuitem", "meta", "metadata", "meter", "mpath", "nav", "noindex", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "path", "pattern", "picture", "polygon", "polyline", "pre", "progress", "q", "radialGradient", "rect", "rp", "rt", "ruby", "s", "samp", "script", "search", "section", "select", "set", "slot", "small", "source", "span", "stop", "strong", "style", "sub", "summary", "sup", "svg", "switch", "symbol", "table", "tbody", "td", "template", "text", "textarea", "textPath", "tfoot", "th", "thead", "time", "title", "tr", "track", "tspan", "u", "ul", "use", "var", "video", "view", "wbr", "webview"]),
89
- "children": PropTypes.node,
90
- "helpId": PropTypes.string,
91
- "href": PropTypes.string,
92
- "isFocused": PropTypes.bool,
93
- "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
94
- "__@toStringTag": PropTypes.string.isRequired,
95
- "description": PropTypes.string,
96
- "toString": PropTypes.func.isRequired,
97
- "valueOf": PropTypes.func.isRequired
98
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
99
- "__@toStringTag": PropTypes.string.isRequired,
100
- "description": PropTypes.string,
101
- "toString": PropTypes.func.isRequired,
102
- "valueOf": PropTypes.func.isRequired
103
- }), PropTypes.string]),
104
- "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
105
- "__@toStringTag": PropTypes.string.isRequired,
106
- "description": PropTypes.string,
107
- "toString": PropTypes.func.isRequired,
108
- "valueOf": PropTypes.func.isRequired
109
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
110
- "__@toStringTag": PropTypes.string.isRequired,
111
- "description": PropTypes.string,
112
- "toString": PropTypes.func.isRequired,
113
- "valueOf": PropTypes.func.isRequired
114
- }), PropTypes.string]),
115
- "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
116
- "__@toStringTag": PropTypes.string.isRequired,
117
- "description": PropTypes.string,
118
- "toString": PropTypes.func.isRequired,
119
- "valueOf": PropTypes.func.isRequired
120
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
121
- "__@toStringTag": PropTypes.string.isRequired,
122
- "description": PropTypes.string,
123
- "toString": PropTypes.func.isRequired,
124
- "valueOf": PropTypes.func.isRequired
125
- }), PropTypes.string]),
126
- "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
127
- "__@toStringTag": PropTypes.string.isRequired,
128
- "description": PropTypes.string,
129
- "toString": PropTypes.func.isRequired,
130
- "valueOf": PropTypes.func.isRequired
131
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
132
- "__@toStringTag": PropTypes.string.isRequired,
133
- "description": PropTypes.string,
134
- "toString": PropTypes.func.isRequired,
135
- "valueOf": PropTypes.func.isRequired
136
- }), PropTypes.string]),
137
- "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
138
- "__@toStringTag": PropTypes.string.isRequired,
139
- "description": PropTypes.string,
140
- "toString": PropTypes.func.isRequired,
141
- "valueOf": PropTypes.func.isRequired
142
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
143
- "__@toStringTag": PropTypes.string.isRequired,
144
- "description": PropTypes.string,
145
- "toString": PropTypes.func.isRequired,
146
- "valueOf": PropTypes.func.isRequired
147
- }), PropTypes.string]),
148
- "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
149
- "__@toStringTag": PropTypes.string.isRequired,
150
- "description": PropTypes.string,
151
- "toString": PropTypes.func.isRequired,
152
- "valueOf": PropTypes.func.isRequired
153
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
154
- "__@toStringTag": PropTypes.string.isRequired,
155
- "description": PropTypes.string,
156
- "toString": PropTypes.func.isRequired,
157
- "valueOf": PropTypes.func.isRequired
158
- }), PropTypes.string]),
159
- "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
160
- "__@toStringTag": PropTypes.string.isRequired,
161
- "description": PropTypes.string,
162
- "toString": PropTypes.func.isRequired,
163
- "valueOf": PropTypes.func.isRequired
164
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
165
- "__@toStringTag": PropTypes.string.isRequired,
166
- "description": PropTypes.string,
167
- "toString": PropTypes.func.isRequired,
168
- "valueOf": PropTypes.func.isRequired
169
- }), PropTypes.string]),
170
- "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
171
- "__@toStringTag": PropTypes.string.isRequired,
172
- "description": PropTypes.string,
173
- "toString": PropTypes.func.isRequired,
174
- "valueOf": PropTypes.func.isRequired
175
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
176
- "__@toStringTag": PropTypes.string.isRequired,
177
- "description": PropTypes.string,
178
- "toString": PropTypes.func.isRequired,
179
- "valueOf": PropTypes.func.isRequired
180
- }), PropTypes.string]),
181
- "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
182
- "__@toStringTag": PropTypes.string.isRequired,
183
- "description": PropTypes.string,
184
- "toString": PropTypes.func.isRequired,
185
- "valueOf": PropTypes.func.isRequired
186
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
187
- "__@toStringTag": PropTypes.string.isRequired,
188
- "description": PropTypes.string,
189
- "toString": PropTypes.func.isRequired,
190
- "valueOf": PropTypes.func.isRequired
191
- }), PropTypes.string]),
192
- "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
193
- "__@toStringTag": PropTypes.string.isRequired,
194
- "description": PropTypes.string,
195
- "toString": PropTypes.func.isRequired,
196
- "valueOf": PropTypes.func.isRequired
197
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
198
- "__@toStringTag": PropTypes.string.isRequired,
199
- "description": PropTypes.string,
200
- "toString": PropTypes.func.isRequired,
201
- "valueOf": PropTypes.func.isRequired
202
- }), PropTypes.string]),
203
- "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
204
- "__@toStringTag": PropTypes.string.isRequired,
205
- "description": PropTypes.string,
206
- "toString": PropTypes.func.isRequired,
207
- "valueOf": PropTypes.func.isRequired
208
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
209
- "__@toStringTag": PropTypes.string.isRequired,
210
- "description": PropTypes.string,
211
- "toString": PropTypes.func.isRequired,
212
- "valueOf": PropTypes.func.isRequired
213
- }), PropTypes.string]),
214
- "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
215
- "__@toStringTag": PropTypes.string.isRequired,
216
- "description": PropTypes.string,
217
- "toString": PropTypes.func.isRequired,
218
- "valueOf": PropTypes.func.isRequired
219
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
220
- "__@toStringTag": PropTypes.string.isRequired,
221
- "description": PropTypes.string,
222
- "toString": PropTypes.func.isRequired,
223
- "valueOf": PropTypes.func.isRequired
224
- }), PropTypes.string]),
225
- "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
226
- "__@toStringTag": PropTypes.string.isRequired,
227
- "description": PropTypes.string,
228
- "toString": PropTypes.func.isRequired,
229
- "valueOf": PropTypes.func.isRequired
230
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
231
- "__@toStringTag": PropTypes.string.isRequired,
232
- "description": PropTypes.string,
233
- "toString": PropTypes.func.isRequired,
234
- "valueOf": PropTypes.func.isRequired
235
- }), PropTypes.string]),
236
- "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
237
- "__@toStringTag": PropTypes.string.isRequired,
238
- "description": PropTypes.string,
239
- "toString": PropTypes.func.isRequired,
240
- "valueOf": PropTypes.func.isRequired
241
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
242
- "__@toStringTag": PropTypes.string.isRequired,
243
- "description": PropTypes.string,
244
- "toString": PropTypes.func.isRequired,
245
- "valueOf": PropTypes.func.isRequired
246
- }), PropTypes.string]),
247
- "tabIndex": PropTypes.number,
248
- "tooltipBgColor": PropTypes.string,
249
- "tooltipFlipOverrides": PropTypes.arrayOf(PropTypes.oneOf(["bottom", "left", "right", "top"])),
250
- "tooltipFontColor": PropTypes.string,
251
- "tooltipId": PropTypes.string,
252
- "tooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
253
- "type": PropTypes.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "biometric", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "export", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "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_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shield_with_tick_outline", "shield_with_tick", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "stop_circle", "stop", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare", "worldwide_location"])
254
- };
255
- }
256
- export { Help };
257
83
  Help.displayName = "Help";
258
84
  export default Help;
@@ -1,5 +1,6 @@
1
1
  import { MarginProps } from "styled-system";
2
- export interface HrProps extends MarginProps {
2
+ import { TagProps } from "../../__internal__/utils/helpers/tags";
3
+ export interface HrProps extends MarginProps, TagProps {
3
4
  /** Set whether the component should be recognised by assistive technologies */
4
5
  "aria-hidden"?: "true" | "false";
5
6
  /** Breakpoint for adaptive left and right margins (below the breakpoint they go to 0).
@@ -1,9 +1,9 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import React from "react";
3
- import PropTypes from "prop-types";
3
+ import tagComponent from "../../__internal__/utils/helpers/tags";
4
4
  import StyledHr from "./hr.style";
5
5
  import useIsAboveBreakpoint from "../../hooks/__internal__/useIsAboveBreakpoint";
6
- const Hr = ({
6
+ export const Hr = ({
7
7
  adaptiveMxBreakpoint,
8
8
  ml,
9
9
  mr,
@@ -20,175 +20,11 @@ const Hr = ({
20
20
  }
21
21
  return /*#__PURE__*/React.createElement(StyledHr, _extends({
22
22
  "aria-hidden": ariaHidden,
23
- "data-component": "hr",
24
- "data-role": "hr",
25
23
  height: height,
26
24
  ml: marginLeft,
27
25
  mr: marginRight,
28
26
  mt: rest.mt || 3,
29
27
  mb: rest.mb || 3
30
- }, rest));
28
+ }, rest, tagComponent("hr", rest)));
31
29
  };
32
- if (process.env.NODE_ENV !== "production") {
33
- Hr.propTypes = {
34
- "adaptiveMxBreakpoint": PropTypes.number,
35
- "aria-hidden": PropTypes.oneOf(["false", "true"]),
36
- "height": PropTypes.oneOf(["large", "medium", "small"]),
37
- "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
38
- "__@toStringTag": PropTypes.string.isRequired,
39
- "description": PropTypes.string,
40
- "toString": PropTypes.func.isRequired,
41
- "valueOf": PropTypes.func.isRequired
42
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
43
- "__@toStringTag": PropTypes.string.isRequired,
44
- "description": PropTypes.string,
45
- "toString": PropTypes.func.isRequired,
46
- "valueOf": PropTypes.func.isRequired
47
- }), PropTypes.string]),
48
- "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
49
- "__@toStringTag": PropTypes.string.isRequired,
50
- "description": PropTypes.string,
51
- "toString": PropTypes.func.isRequired,
52
- "valueOf": PropTypes.func.isRequired
53
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
54
- "__@toStringTag": PropTypes.string.isRequired,
55
- "description": PropTypes.string,
56
- "toString": PropTypes.func.isRequired,
57
- "valueOf": PropTypes.func.isRequired
58
- }), PropTypes.string]),
59
- "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
60
- "__@toStringTag": PropTypes.string.isRequired,
61
- "description": PropTypes.string,
62
- "toString": PropTypes.func.isRequired,
63
- "valueOf": PropTypes.func.isRequired
64
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
65
- "__@toStringTag": PropTypes.string.isRequired,
66
- "description": PropTypes.string,
67
- "toString": PropTypes.func.isRequired,
68
- "valueOf": PropTypes.func.isRequired
69
- }), PropTypes.string]),
70
- "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
71
- "__@toStringTag": PropTypes.string.isRequired,
72
- "description": PropTypes.string,
73
- "toString": PropTypes.func.isRequired,
74
- "valueOf": PropTypes.func.isRequired
75
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
76
- "__@toStringTag": PropTypes.string.isRequired,
77
- "description": PropTypes.string,
78
- "toString": PropTypes.func.isRequired,
79
- "valueOf": PropTypes.func.isRequired
80
- }), PropTypes.string]),
81
- "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
82
- "__@toStringTag": PropTypes.string.isRequired,
83
- "description": PropTypes.string,
84
- "toString": PropTypes.func.isRequired,
85
- "valueOf": PropTypes.func.isRequired
86
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
87
- "__@toStringTag": PropTypes.string.isRequired,
88
- "description": PropTypes.string,
89
- "toString": PropTypes.func.isRequired,
90
- "valueOf": PropTypes.func.isRequired
91
- }), PropTypes.string]),
92
- "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
93
- "__@toStringTag": PropTypes.string.isRequired,
94
- "description": PropTypes.string,
95
- "toString": PropTypes.func.isRequired,
96
- "valueOf": PropTypes.func.isRequired
97
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
98
- "__@toStringTag": PropTypes.string.isRequired,
99
- "description": PropTypes.string,
100
- "toString": PropTypes.func.isRequired,
101
- "valueOf": PropTypes.func.isRequired
102
- }), PropTypes.string]),
103
- "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
104
- "__@toStringTag": PropTypes.string.isRequired,
105
- "description": PropTypes.string,
106
- "toString": PropTypes.func.isRequired,
107
- "valueOf": PropTypes.func.isRequired
108
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
109
- "__@toStringTag": PropTypes.string.isRequired,
110
- "description": PropTypes.string,
111
- "toString": PropTypes.func.isRequired,
112
- "valueOf": PropTypes.func.isRequired
113
- }), PropTypes.string]),
114
- "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
115
- "__@toStringTag": PropTypes.string.isRequired,
116
- "description": PropTypes.string,
117
- "toString": PropTypes.func.isRequired,
118
- "valueOf": PropTypes.func.isRequired
119
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
120
- "__@toStringTag": PropTypes.string.isRequired,
121
- "description": PropTypes.string,
122
- "toString": PropTypes.func.isRequired,
123
- "valueOf": PropTypes.func.isRequired
124
- }), PropTypes.string]),
125
- "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
126
- "__@toStringTag": PropTypes.string.isRequired,
127
- "description": PropTypes.string,
128
- "toString": PropTypes.func.isRequired,
129
- "valueOf": PropTypes.func.isRequired
130
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
131
- "__@toStringTag": PropTypes.string.isRequired,
132
- "description": PropTypes.string,
133
- "toString": PropTypes.func.isRequired,
134
- "valueOf": PropTypes.func.isRequired
135
- }), PropTypes.string]),
136
- "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
137
- "__@toStringTag": PropTypes.string.isRequired,
138
- "description": PropTypes.string,
139
- "toString": PropTypes.func.isRequired,
140
- "valueOf": PropTypes.func.isRequired
141
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
142
- "__@toStringTag": PropTypes.string.isRequired,
143
- "description": PropTypes.string,
144
- "toString": PropTypes.func.isRequired,
145
- "valueOf": PropTypes.func.isRequired
146
- }), PropTypes.string]),
147
- "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
148
- "__@toStringTag": PropTypes.string.isRequired,
149
- "description": PropTypes.string,
150
- "toString": PropTypes.func.isRequired,
151
- "valueOf": PropTypes.func.isRequired
152
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
153
- "__@toStringTag": PropTypes.string.isRequired,
154
- "description": PropTypes.string,
155
- "toString": PropTypes.func.isRequired,
156
- "valueOf": PropTypes.func.isRequired
157
- }), PropTypes.string]),
158
- "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
159
- "__@toStringTag": PropTypes.string.isRequired,
160
- "description": PropTypes.string,
161
- "toString": PropTypes.func.isRequired,
162
- "valueOf": PropTypes.func.isRequired
163
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
164
- "__@toStringTag": PropTypes.string.isRequired,
165
- "description": PropTypes.string,
166
- "toString": PropTypes.func.isRequired,
167
- "valueOf": PropTypes.func.isRequired
168
- }), PropTypes.string]),
169
- "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
170
- "__@toStringTag": PropTypes.string.isRequired,
171
- "description": PropTypes.string,
172
- "toString": PropTypes.func.isRequired,
173
- "valueOf": PropTypes.func.isRequired
174
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
175
- "__@toStringTag": PropTypes.string.isRequired,
176
- "description": PropTypes.string,
177
- "toString": PropTypes.func.isRequired,
178
- "valueOf": PropTypes.func.isRequired
179
- }), PropTypes.string]),
180
- "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
181
- "__@toStringTag": PropTypes.string.isRequired,
182
- "description": PropTypes.string,
183
- "toString": PropTypes.func.isRequired,
184
- "valueOf": PropTypes.func.isRequired
185
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
186
- "__@toStringTag": PropTypes.string.isRequired,
187
- "description": PropTypes.string,
188
- "toString": PropTypes.func.isRequired,
189
- "valueOf": PropTypes.func.isRequired
190
- }), PropTypes.string])
191
- };
192
- }
193
- export { Hr };
194
30
  export default Hr;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import PropTypes from "prop-types";
3
2
  import merge from "lodash/merge";
4
3
  import Context from "../../__internal__/i18n-context";
5
4
  import enGB from "../../locales/en-gb";
@@ -5,7 +5,7 @@ import { StyledIconProps } from "./icon.style";
5
5
  import { IconType } from "./icon-type";
6
6
  import { TooltipPositions } from "../tooltip/tooltip.config";
7
7
  export declare type LegacyIconTypes = "help" | "maintenance" | "new" | "success" | "messages";
8
- export interface IconProps extends Omit<StyledIconProps, "type">, MarginProps, Omit<TagProps, "data-component"> {
8
+ export interface IconProps extends Omit<StyledIconProps, "type">, MarginProps, TagProps {
9
9
  /** Set whether icon should be recognised by assistive technologies */
10
10
  "aria-hidden"?: boolean;
11
11
  /** Aria label for accessibility purposes */