carbon-react 152.2.1 → 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 (269) hide show
  1. package/esm/__internal__/fieldset/fieldset.style.d.ts +3 -3
  2. package/esm/__internal__/focus-trap/focus-trap-utils.d.ts +1 -1
  3. package/esm/__internal__/focus-trap/focus-trap.component.d.ts +1 -1
  4. package/esm/__internal__/input/input-presentation.component.d.ts +1 -1
  5. package/esm/__internal__/input/input-presentation.style.d.ts +1 -1
  6. package/esm/__internal__/input/input.component.d.ts +1 -1
  7. package/esm/__internal__/popover/popover.component.d.ts +1 -1
  8. package/esm/__internal__/popover/popover.style.d.ts +1 -1
  9. package/esm/__internal__/validations/validation-icon.component.d.ts +1 -1
  10. package/esm/__internal__/validations/validation-icon.style.d.ts +1 -1
  11. package/esm/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
  12. package/esm/components/accordion/accordion.style.js +2 -2
  13. package/esm/components/action-popover/__internal__/action-popover-utils.d.ts +1 -1
  14. package/esm/components/action-popover/__internal__/action-popover.context.d.ts +2 -2
  15. package/esm/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.d.ts +1 -1
  16. package/esm/components/action-popover/action-popover.component.d.ts +1 -1
  17. package/esm/components/action-popover/action-popover.style.d.ts +1 -1
  18. package/esm/components/badge/badge.style.d.ts +1 -1
  19. package/esm/components/batch-selection/__internal__/batch-selection.context.d.ts +1 -1
  20. package/esm/components/box/box.component.d.ts +6 -6
  21. package/esm/components/breadcrumbs/__internal__/breadcrumbs.context.d.ts +1 -1
  22. package/esm/components/button/button.component.d.ts +8 -8
  23. package/esm/components/button/button.component.js +1 -1
  24. package/esm/components/button/button.style.js +22 -8
  25. package/esm/components/button-minor/button-minor.style.d.ts +1 -1
  26. package/esm/components/button-toggle/button-toggle-group/__internal__/button-toggle-group.context.d.ts +1 -1
  27. package/esm/components/button-toggle/button-toggle-group/button-toggle-group.style.d.ts +1 -1
  28. package/esm/components/button-toggle/button-toggle.style.d.ts +1 -1
  29. package/esm/components/carbon-provider/__internal__/top-modal.context.d.ts +1 -1
  30. package/esm/components/card/card.component.d.ts +2 -2
  31. package/esm/components/card/card.config.d.ts +2 -2
  32. package/esm/components/card/card.style.d.ts +2 -2
  33. package/esm/components/content/content.style.d.ts +2 -2
  34. package/esm/components/date/__internal__/date-picker/date-picker.component.d.ts +1 -1
  35. package/esm/components/date/__internal__/weekday/weekday.style.js +1 -1
  36. package/esm/components/date-range/__internal__/date-range.context.d.ts +4 -4
  37. package/esm/components/definition-list/__internal__/dl.context.d.ts +1 -1
  38. package/esm/components/dialog/dialog.component.d.ts +2 -2
  39. package/esm/components/dialog/dialog.config.d.ts +1 -1
  40. package/esm/components/dialog/dialog.style.d.ts +1 -1
  41. package/esm/components/dialog-full-screen/content.style.d.ts +1 -1
  42. package/esm/components/dialog-full-screen/content.style.js +8 -7
  43. package/esm/components/duelling-picklist/__internal__/duelling-picklist.context.d.ts +1 -1
  44. package/esm/components/duelling-picklist/picklist-divider/picklist-divider.component.d.ts +1 -1
  45. package/esm/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +1 -1
  46. package/esm/components/duelling-picklist/picklist-item/picklist-item.component.d.ts +1 -1
  47. package/esm/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +1 -1
  48. package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts +1 -1
  49. package/esm/components/flat-table/index.d.ts +2 -2
  50. package/esm/components/form/__internal__/form-summary.style.d.ts +2 -2
  51. package/esm/components/form/form.config.d.ts +1 -1
  52. package/esm/components/grouped-character/grouped-character.component.d.ts +2 -2
  53. package/esm/components/heading/heading.component.d.ts +1 -1
  54. package/esm/components/heading/heading.style.d.ts +3 -3
  55. package/esm/components/icon/icon-type.d.ts +1 -1
  56. package/esm/components/icon/icon-unicodes.d.ts +248 -248
  57. package/esm/components/icon/icon.component.d.ts +1 -1
  58. package/esm/components/icon/icon.style.d.ts +3 -3
  59. package/esm/components/icon/icon.style.js +5 -11
  60. package/esm/components/image/image.style.d.ts +2 -2
  61. package/esm/components/inline-inputs/inline-inputs.style.d.ts +1 -1
  62. package/esm/components/link/link.style.d.ts +1 -1
  63. package/esm/components/loader-spinner/loader-spinner.config.d.ts +3 -3
  64. package/esm/components/loader-spinner/loader-spinner.style.js +1 -1
  65. package/esm/components/menu/__internal__/locators.d.ts +3 -3
  66. package/esm/components/menu/__internal__/menu.context.d.ts +1 -1
  67. package/esm/components/menu/menu-item/menu-item.component.d.ts +1 -1
  68. package/esm/components/menu/menu-segment-title/menu-segment-title.component.d.ts +1 -1
  69. package/esm/components/message/__internal__/type-icon/type-icon.style.d.ts +1 -1
  70. package/esm/components/message/message.component.d.ts +1 -1
  71. package/esm/components/message/message.style.d.ts +1 -1
  72. package/esm/components/modal/__internal__/modal-manager.d.ts +2 -2
  73. package/esm/components/modal/modal.style.d.ts +1 -1
  74. package/esm/components/multi-action-button/multi-action-button.component.d.ts +1 -1
  75. package/esm/components/multi-action-button/multi-action-button.style.d.ts +1 -1
  76. package/esm/components/multi-action-button/multi-action-button.style.js +6 -5
  77. package/esm/components/navigation-bar/__internal__/fixed-navigation-bar.context.d.ts +1 -1
  78. package/esm/components/navigation-bar/navigation-bar.component.d.ts +3 -3
  79. package/esm/components/navigation-bar/navigation-bar.style.d.ts +1 -1
  80. package/esm/components/numeral-date/__internal__/numeral-date.context.d.ts +1 -1
  81. package/esm/components/numeral-date/numeral-date.component.d.ts +2 -2
  82. package/esm/components/pager/pager.component.d.ts +1 -1
  83. package/esm/components/pod/pod.config.d.ts +3 -3
  84. package/esm/components/popover-container/popover-container.component.d.ts +1 -1
  85. package/esm/components/popover-container/popover-container.style.d.ts +3 -3
  86. package/esm/components/portrait/portrait.component.d.ts +2 -2
  87. package/esm/components/portrait/portrait.config.d.ts +1 -1
  88. package/esm/components/portrait/portrait.style.d.ts +1 -1
  89. package/esm/components/preview/preview.component.d.ts +1 -1
  90. package/esm/components/preview/preview.style.js +4 -4
  91. package/esm/components/profile/profile.config.d.ts +2 -2
  92. package/esm/components/progress-tracker/progress-tracker.style.js +1 -1
  93. package/esm/components/search/search.component.d.ts +1 -1
  94. package/esm/components/select/__internal__/select-list/select-list.component.d.ts +2 -2
  95. package/esm/components/select/__internal__/select-list/select-list.context.d.ts +1 -1
  96. package/esm/components/select/__internal__/select-textbox/select-textbox.context.d.ts +1 -1
  97. package/esm/components/select/option/option.component.d.ts +1 -1
  98. package/esm/components/sidebar/sidebar.component.d.ts +1 -1
  99. package/esm/components/sidebar/sidebar.style.d.ts +1 -1
  100. package/esm/components/simple-color-picker/simple-color-picker.style.d.ts +1 -1
  101. package/esm/components/split-button/split-button-children.style.d.ts +1 -1
  102. package/esm/components/split-button/split-button-toggle.style.d.ts +1 -1
  103. package/esm/components/split-button/split-button.component.d.ts +1 -1
  104. package/esm/components/step-flow/__internal__/step-flow.context.d.ts +1 -1
  105. package/esm/components/step-flow/step-flow.component.d.ts +2 -2
  106. package/esm/components/switch/switch.style.d.ts +6 -1
  107. package/esm/components/tabs/__internal__/tab-title/tab-title.style.js +3 -4
  108. package/esm/components/tabs/__internal__/tabs-header/tabs-header.style.d.ts +5 -5
  109. package/esm/components/tabs/__internal__/tabs-header/tabs-header.style.js +5 -2
  110. package/esm/components/tabs/tab/tab.style.d.ts +1 -1
  111. package/esm/components/text-editor/__internal__/plugins/Toolbar/toolbar.style.d.ts +1 -1
  112. package/esm/components/text-editor/text-editor.style.d.ts +1 -1
  113. package/esm/components/textarea/textarea.style.js +1 -1
  114. package/esm/components/tile/tile.component.d.ts +2 -2
  115. package/esm/components/time/time.component.d.ts +3 -3
  116. package/esm/components/toast/toast.component.d.ts +3 -3
  117. package/esm/components/toast/toast.style.d.ts +2 -2
  118. package/esm/components/tooltip/tooltip.component.d.ts +1 -1
  119. package/esm/components/tooltip/tooltip.config.d.ts +1 -1
  120. package/esm/components/typography/typography.component.d.ts +1 -1
  121. package/esm/components/typography/typography.component.js +16 -1
  122. package/esm/components/typography/typography.style.d.ts +1 -10
  123. package/esm/components/typography/typography.style.js +39 -63
  124. package/esm/components/vertical-divider/vertical-divider.component.d.ts +1 -1
  125. package/esm/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.d.ts +1 -1
  126. package/esm/global.d.ts +1 -1
  127. package/esm/hooks/__internal__/useChildButtons/useChildButtons.d.ts +1 -1
  128. package/esm/hooks/__internal__/useDebounce/useDebounce.d.ts +1 -1
  129. package/esm/hooks/__internal__/useFloating/useFloating.d.ts +1 -1
  130. package/esm/hooks/__internal__/useModalManager/useModalManager.d.ts +1 -1
  131. package/esm/hooks/__internal__/useThrottle/useThrottle.d.ts +1 -1
  132. package/esm/style/palette/index.d.ts +1 -1
  133. package/esm/style/themes/base/base-theme.config.d.ts +1 -1
  134. package/esm/style/utils/box-gap.d.ts +2 -2
  135. package/lib/__internal__/fieldset/fieldset.style.d.ts +3 -3
  136. package/lib/__internal__/focus-trap/focus-trap-utils.d.ts +1 -1
  137. package/lib/__internal__/focus-trap/focus-trap.component.d.ts +1 -1
  138. package/lib/__internal__/input/input-presentation.component.d.ts +1 -1
  139. package/lib/__internal__/input/input-presentation.style.d.ts +1 -1
  140. package/lib/__internal__/input/input.component.d.ts +1 -1
  141. package/lib/__internal__/popover/popover.component.d.ts +1 -1
  142. package/lib/__internal__/popover/popover.style.d.ts +1 -1
  143. package/lib/__internal__/validations/validation-icon.component.d.ts +1 -1
  144. package/lib/__internal__/validations/validation-icon.style.d.ts +1 -1
  145. package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
  146. package/lib/components/accordion/accordion.style.js +2 -2
  147. package/lib/components/action-popover/__internal__/action-popover-utils.d.ts +1 -1
  148. package/lib/components/action-popover/__internal__/action-popover.context.d.ts +2 -2
  149. package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.d.ts +1 -1
  150. package/lib/components/action-popover/action-popover.component.d.ts +1 -1
  151. package/lib/components/action-popover/action-popover.style.d.ts +1 -1
  152. package/lib/components/badge/badge.style.d.ts +1 -1
  153. package/lib/components/batch-selection/__internal__/batch-selection.context.d.ts +1 -1
  154. package/lib/components/box/box.component.d.ts +6 -6
  155. package/lib/components/breadcrumbs/__internal__/breadcrumbs.context.d.ts +1 -1
  156. package/lib/components/button/button.component.d.ts +8 -8
  157. package/lib/components/button/button.component.js +1 -1
  158. package/lib/components/button/button.style.js +22 -8
  159. package/lib/components/button-minor/button-minor.style.d.ts +1 -1
  160. package/lib/components/button-toggle/button-toggle-group/__internal__/button-toggle-group.context.d.ts +1 -1
  161. package/lib/components/button-toggle/button-toggle-group/button-toggle-group.style.d.ts +1 -1
  162. package/lib/components/button-toggle/button-toggle.style.d.ts +1 -1
  163. package/lib/components/carbon-provider/__internal__/top-modal.context.d.ts +1 -1
  164. package/lib/components/card/card.component.d.ts +2 -2
  165. package/lib/components/card/card.config.d.ts +2 -2
  166. package/lib/components/card/card.style.d.ts +2 -2
  167. package/lib/components/content/content.style.d.ts +2 -2
  168. package/lib/components/date/__internal__/date-picker/date-picker.component.d.ts +1 -1
  169. package/lib/components/date/__internal__/weekday/weekday.style.js +1 -1
  170. package/lib/components/date-range/__internal__/date-range.context.d.ts +4 -4
  171. package/lib/components/definition-list/__internal__/dl.context.d.ts +1 -1
  172. package/lib/components/dialog/dialog.component.d.ts +2 -2
  173. package/lib/components/dialog/dialog.config.d.ts +1 -1
  174. package/lib/components/dialog/dialog.style.d.ts +1 -1
  175. package/lib/components/dialog-full-screen/content.style.d.ts +1 -1
  176. package/lib/components/dialog-full-screen/content.style.js +8 -7
  177. package/lib/components/duelling-picklist/__internal__/duelling-picklist.context.d.ts +1 -1
  178. package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.d.ts +1 -1
  179. package/lib/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +1 -1
  180. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.d.ts +1 -1
  181. package/lib/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +1 -1
  182. package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts +1 -1
  183. package/lib/components/flat-table/index.d.ts +2 -2
  184. package/lib/components/form/__internal__/form-summary.style.d.ts +2 -2
  185. package/lib/components/form/form.config.d.ts +1 -1
  186. package/lib/components/grouped-character/grouped-character.component.d.ts +2 -2
  187. package/lib/components/heading/heading.component.d.ts +1 -1
  188. package/lib/components/heading/heading.style.d.ts +3 -3
  189. package/lib/components/icon/icon-type.d.ts +1 -1
  190. package/lib/components/icon/icon-unicodes.d.ts +248 -248
  191. package/lib/components/icon/icon.component.d.ts +1 -1
  192. package/lib/components/icon/icon.style.d.ts +3 -3
  193. package/lib/components/icon/icon.style.js +5 -11
  194. package/lib/components/image/image.style.d.ts +2 -2
  195. package/lib/components/inline-inputs/inline-inputs.style.d.ts +1 -1
  196. package/lib/components/link/link.style.d.ts +1 -1
  197. package/lib/components/loader-spinner/loader-spinner.config.d.ts +3 -3
  198. package/lib/components/loader-spinner/loader-spinner.style.js +1 -1
  199. package/lib/components/menu/__internal__/locators.d.ts +3 -3
  200. package/lib/components/menu/__internal__/menu.context.d.ts +1 -1
  201. package/lib/components/menu/menu-item/menu-item.component.d.ts +1 -1
  202. package/lib/components/menu/menu-segment-title/menu-segment-title.component.d.ts +1 -1
  203. package/lib/components/message/__internal__/type-icon/type-icon.style.d.ts +1 -1
  204. package/lib/components/message/message.component.d.ts +1 -1
  205. package/lib/components/message/message.style.d.ts +1 -1
  206. package/lib/components/modal/__internal__/modal-manager.d.ts +2 -2
  207. package/lib/components/modal/modal.style.d.ts +1 -1
  208. package/lib/components/multi-action-button/multi-action-button.component.d.ts +1 -1
  209. package/lib/components/multi-action-button/multi-action-button.style.d.ts +1 -1
  210. package/lib/components/multi-action-button/multi-action-button.style.js +6 -5
  211. package/lib/components/navigation-bar/__internal__/fixed-navigation-bar.context.d.ts +1 -1
  212. package/lib/components/navigation-bar/navigation-bar.component.d.ts +3 -3
  213. package/lib/components/navigation-bar/navigation-bar.style.d.ts +1 -1
  214. package/lib/components/numeral-date/__internal__/numeral-date.context.d.ts +1 -1
  215. package/lib/components/numeral-date/numeral-date.component.d.ts +2 -2
  216. package/lib/components/pager/pager.component.d.ts +1 -1
  217. package/lib/components/pod/pod.config.d.ts +3 -3
  218. package/lib/components/popover-container/popover-container.component.d.ts +1 -1
  219. package/lib/components/popover-container/popover-container.style.d.ts +3 -3
  220. package/lib/components/portrait/portrait.component.d.ts +2 -2
  221. package/lib/components/portrait/portrait.config.d.ts +1 -1
  222. package/lib/components/portrait/portrait.style.d.ts +1 -1
  223. package/lib/components/preview/preview.component.d.ts +1 -1
  224. package/lib/components/preview/preview.style.js +4 -4
  225. package/lib/components/profile/profile.config.d.ts +2 -2
  226. package/lib/components/progress-tracker/progress-tracker.style.js +1 -1
  227. package/lib/components/search/search.component.d.ts +1 -1
  228. package/lib/components/select/__internal__/select-list/select-list.component.d.ts +2 -2
  229. package/lib/components/select/__internal__/select-list/select-list.context.d.ts +1 -1
  230. package/lib/components/select/__internal__/select-textbox/select-textbox.context.d.ts +1 -1
  231. package/lib/components/select/option/option.component.d.ts +1 -1
  232. package/lib/components/sidebar/sidebar.component.d.ts +1 -1
  233. package/lib/components/sidebar/sidebar.style.d.ts +1 -1
  234. package/lib/components/simple-color-picker/simple-color-picker.style.d.ts +1 -1
  235. package/lib/components/split-button/split-button-children.style.d.ts +1 -1
  236. package/lib/components/split-button/split-button-toggle.style.d.ts +1 -1
  237. package/lib/components/split-button/split-button.component.d.ts +1 -1
  238. package/lib/components/step-flow/__internal__/step-flow.context.d.ts +1 -1
  239. package/lib/components/step-flow/step-flow.component.d.ts +2 -2
  240. package/lib/components/switch/switch.style.d.ts +6 -1
  241. package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +3 -4
  242. package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.d.ts +5 -5
  243. package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.js +5 -2
  244. package/lib/components/tabs/tab/tab.style.d.ts +1 -1
  245. package/lib/components/text-editor/__internal__/plugins/Toolbar/toolbar.style.d.ts +1 -1
  246. package/lib/components/text-editor/text-editor.style.d.ts +1 -1
  247. package/lib/components/textarea/textarea.style.js +1 -1
  248. package/lib/components/tile/tile.component.d.ts +2 -2
  249. package/lib/components/time/time.component.d.ts +3 -3
  250. package/lib/components/toast/toast.component.d.ts +3 -3
  251. package/lib/components/toast/toast.style.d.ts +2 -2
  252. package/lib/components/tooltip/tooltip.component.d.ts +1 -1
  253. package/lib/components/tooltip/tooltip.config.d.ts +1 -1
  254. package/lib/components/typography/typography.component.d.ts +1 -1
  255. package/lib/components/typography/typography.component.js +16 -1
  256. package/lib/components/typography/typography.style.d.ts +1 -10
  257. package/lib/components/typography/typography.style.js +39 -63
  258. package/lib/components/vertical-divider/vertical-divider.component.d.ts +1 -1
  259. package/lib/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.d.ts +1 -1
  260. package/lib/global.d.ts +1 -1
  261. package/lib/hooks/__internal__/useChildButtons/useChildButtons.d.ts +1 -1
  262. package/lib/hooks/__internal__/useDebounce/useDebounce.d.ts +1 -1
  263. package/lib/hooks/__internal__/useFloating/useFloating.d.ts +1 -1
  264. package/lib/hooks/__internal__/useModalManager/useModalManager.d.ts +1 -1
  265. package/lib/hooks/__internal__/useThrottle/useThrottle.d.ts +1 -1
  266. package/lib/style/palette/index.d.ts +1 -1
  267. package/lib/style/themes/base/base-theme.config.d.ts +1 -1
  268. package/lib/style/utils/box-gap.d.ts +2 -2
  269. package/package.json +8 -8
@@ -45,10 +45,10 @@ const StyledIcon = styled.span`
45
45
  disabled,
46
46
  hasTooltip
47
47
  }) => {
48
- let finalColor;
49
- let finalHoverColor;
50
- let bgColor;
51
- let bgHoverColor;
48
+ let finalColor = "var(--colorsYin090)";
49
+ let finalHoverColor = "var(--colorsYin090)";
50
+ let bgColor = "transparent";
51
+ let bgHoverColor = "transparent";
52
52
  const win = getWindow();
53
53
  const nav = getNavigator();
54
54
  const adjustedBgSize = adjustIconBgSize(fontSize, bgSize);
@@ -65,9 +65,6 @@ const StyledIcon = styled.span`
65
65
  });
66
66
  finalColor = renderedColor;
67
67
  finalHoverColor = shade(0.2, getColorValue(renderedColor));
68
- } else {
69
- finalColor = "var(--colorsYin090)";
70
- finalHoverColor = "var(--colorsYin090)";
71
68
  }
72
69
  if (bg) {
73
70
  const {
@@ -78,9 +75,6 @@ const StyledIcon = styled.span`
78
75
  });
79
76
  bgColor = backgroundColor;
80
77
  bgHoverColor = shade(0.2, getColorValue(backgroundColor));
81
- } else {
82
- bgColor = "transparent";
83
- bgHoverColor = "transparent";
84
78
  }
85
79
  } catch (e) {
86
80
  // eslint-disable-next-line no-console
@@ -132,7 +126,7 @@ const StyledIcon = styled.span`
132
126
 
133
127
  ${hasTooltip && `
134
128
  :focus {
135
- ${addFocusStyling()}
129
+ ${addFocusStyling()}
136
130
  }
137
131
  `}
138
132
 
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { MarginProps, BackgroundProps, LayoutProps, PaddingProps } from "styled-system";
3
3
  import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
4
- export declare type PositionProps = "absolute" | "fixed" | "relative" | "static" | "sticky";
4
+ export type PositionProps = "absolute" | "fixed" | "relative" | "static" | "sticky";
5
5
  export interface StyledImageProps extends BackgroundProps, LayoutProps, MarginProps, PaddingProps, TagProps {
6
6
  /** HTML alt property to display when an img fails to load */
7
7
  alt?: string;
@@ -34,5 +34,5 @@ declare const StyledImage: import("styled-components").StyledComponent<"div", an
34
34
  bottom: string | undefined;
35
35
  left: string | undefined;
36
36
  as?: string | undefined;
37
- } & StyledImageProps, "hidden" | "children" | "left" | "right" | "top" | "bottom" | "src" | "as" | "position">;
37
+ } & StyledImageProps, "hidden" | "children" | "left" | "right" | "top" | "bottom" | "position" | "src" | "as">;
38
38
  export { StyledImage };
@@ -1,5 +1,5 @@
1
1
  import { InlineInputsProps } from "./inline-inputs.component";
2
- declare type GutterOptions = "none" | "extra-small" | "small" | "medium-small" | "medium" | "medium-large" | "large" | "extra-large";
2
+ type GutterOptions = "none" | "extra-small" | "small" | "medium-small" | "medium" | "medium-large" | "large" | "extra-large";
3
3
  interface StyledInlineInputProps {
4
4
  /** Gutter prop gets passed down to Row component if false gutter value is "none" */
5
5
  gutter?: GutterOptions;
@@ -1,4 +1,4 @@
1
- declare type Variants = "default" | "negative" | "neutral";
1
+ type Variants = "default" | "negative" | "neutral";
2
2
  export interface StyledLinkProps {
3
3
  /** The disabled state of the link. */
4
4
  disabled?: boolean;
@@ -1,8 +1,8 @@
1
1
  declare const LOADER_SPINNER_VARIANTS: readonly ["action", "neutral", "inverse", "gradient-grey", "gradient-white"];
2
- declare type LoaderSpinnerVariants = (typeof LOADER_SPINNER_VARIANTS)[number];
2
+ type LoaderSpinnerVariants = (typeof LOADER_SPINNER_VARIANTS)[number];
3
3
  declare const LOADER_SPINNER_SIZES: readonly ["extra-small", "small", "medium", "large", "extra-large"];
4
- declare type LoaderSpinnerSizes = (typeof LOADER_SPINNER_SIZES)[number];
5
- declare type LoaderSpinnerSizeParams = Record<LoaderSpinnerSizes, {
4
+ type LoaderSpinnerSizes = (typeof LOADER_SPINNER_SIZES)[number];
5
+ type LoaderSpinnerSizeParams = Record<LoaderSpinnerSizes, {
6
6
  wrapperDimensions: number;
7
7
  strokeWidth: number;
8
8
  labelMarginTop?: number;
@@ -51,7 +51,7 @@ export const StyledSpinnerCircleSvg = styled.svg`
51
51
  fill: transparent;
52
52
  stroke-width: ${LOADER_SPINNER_SIZE_PARAMS[size].strokeWidth}px;
53
53
  stroke: ${calculateColors(false, variant)};
54
- ${variant === "inverse" && `stroke-opacity: 0.3`}
54
+ ${variant === "inverse" && `stroke-opacity: 0.3;`}
55
55
  cx: 12px;
56
56
  cy: 12px;
57
57
  r: 10px;
@@ -1,6 +1,6 @@
1
1
  export declare const MENU_ITEM = "menu-item";
2
2
  export declare const SCROLLABLE_BLOCK = "submenu-scrollable-block";
3
3
  export declare const SCROLLABLE_BLOCK_PARENT = "scrollable-block-parent";
4
- export declare const ALL_CHILDREN_SELECTOR: string;
5
- export declare const BLOCK_INDEX_SELECTOR: string;
6
- export declare const MENU_ITEM_CHILDREN_LOCATOR: string;
4
+ export declare const ALL_CHILDREN_SELECTOR = "[data-component='menu-item'], [data-component='scrollable-block-parent']";
5
+ export declare const BLOCK_INDEX_SELECTOR = "[data-component='menu-item'], [data-component='submenu-scrollable-block']";
6
+ export declare const MENU_ITEM_CHILDREN_LOCATOR = "[data-component='menu-item']";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export declare type MenuType = "light" | "dark" | "white" | "black";
2
+ export type MenuType = "light" | "dark" | "white" | "black";
3
3
  export interface MenuContextProps {
4
4
  menuType: MenuType;
5
5
  openSubmenuId: string | null;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { FlexboxProps, LayoutProps, MaxWidthProps, PaddingProps } from "styled-system";
3
3
  import { IconType } from "../../icon";
4
4
  import { TagProps } from "../../../__internal__/utils/helpers/tags";
5
- export declare type VariantType = "default" | "alternate";
5
+ export type VariantType = "default" | "alternate";
6
6
  interface MenuItemBaseProps extends TagProps, Pick<LayoutProps, "width" | "maxWidth" | "minWidth">, FlexboxProps, PaddingProps {
7
7
  /** onClick handler */
8
8
  onClick?: (event: React.MouseEvent<HTMLAnchorElement> | React.MouseEvent<HTMLButtonElement>) => void;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { VariantType } from "../menu-item";
3
3
  import { TagProps } from "../../../__internal__/utils/helpers/tags";
4
4
  declare const AS_VALUES: readonly ["h2", "h3", "h4", "h5", "h6"];
5
- declare type AllowedAsValues = (typeof AS_VALUES)[number];
5
+ type AllowedAsValues = (typeof AS_VALUES)[number];
6
6
  export interface MenuTitleProps extends TagProps {
7
7
  children?: React.ReactNode;
8
8
  text: string;
@@ -1,5 +1,5 @@
1
1
  import { MessageVariant } from "../../message.component";
2
- declare type TypeIconStyleProps = {
2
+ type TypeIconStyleProps = {
3
3
  transparent?: boolean;
4
4
  variant: MessageVariant;
5
5
  };
@@ -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 MessageVariant = "error" | "info" | "success" | "warning" | "neutral";
4
+ export type MessageVariant = "error" | "info" | "success" | "warning" | "neutral";
5
5
  export interface MessageProps extends MarginProps, TagProps {
6
6
  /** Set the component's content */
7
7
  children?: React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { MarginProps } from "styled-system";
2
2
  import { MessageVariant } from "./message.component";
3
- declare type MessageStyleProps = {
3
+ type MessageStyleProps = {
4
4
  variant?: MessageVariant;
5
5
  transparent?: boolean;
6
6
  width?: string;
@@ -1,5 +1,5 @@
1
- declare type SetTriggerRefocusFlag = (boolean: boolean) => void;
2
- export declare type ModalList = {
1
+ type SetTriggerRefocusFlag = (boolean: boolean) => void;
2
+ export type ModalList = {
3
3
  modal: HTMLElement;
4
4
  setTriggerRefocusFlag?: SetTriggerRefocusFlag;
5
5
  topModalOverride?: boolean;
@@ -1,4 +1,4 @@
1
- declare type TransitionProps = {
1
+ type TransitionProps = {
2
2
  transitionName: string;
3
3
  transitionTime: number;
4
4
  };
@@ -7,7 +7,7 @@ export interface MultiActionButtonProps extends WidthProps, Omit<SplitButtonProp
7
7
  /** Second text child, renders under main text, only when size is "large" */
8
8
  subtext?: string;
9
9
  }
10
- export declare type MultiActionButtonHandle = {
10
+ export type MultiActionButtonHandle = {
11
11
  /** Programmatically focus the main button */
12
12
  focusMainButton: () => void;
13
13
  } | null;
@@ -2,7 +2,7 @@ import { MultiActionButtonProps } from "./multi-action-button.component";
2
2
  declare const StyledMultiActionButton: import("styled-components").StyledComponent<"div", any, Pick<MultiActionButtonProps, "width"> & {
3
3
  displayed: boolean;
4
4
  }, never>;
5
- declare type StyledButtonChildrenContainerProps = {
5
+ type StyledButtonChildrenContainerProps = {
6
6
  align: "left" | "right";
7
7
  minWidth: number;
8
8
  };
@@ -14,14 +14,15 @@ const StyledMultiActionButton = styled.div`
14
14
  ${({
15
15
  width
16
16
  }) => width && css`
17
- ${computeSizing({
17
+ ${computeSizing({
18
18
  width
19
19
  })}
20
20
 
21
- ${StyledButton} {
22
- width: 100%
23
- justify-content: space-between;
24
- }`}
21
+ ${StyledButton} {
22
+ width: 100%;
23
+ justify-content: space-between;
24
+ }
25
+ `}
25
26
 
26
27
  & > ${StyledButton} {
27
28
  margin: 0;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { NavigationBarProps } from "..";
3
- declare type FixedNavigationBarContextProps = {
3
+ type FixedNavigationBarContextProps = {
4
4
  submenuMaxHeight?: string;
5
5
  };
6
6
  declare const FixedNavigationBarContext: React.Context<FixedNavigationBarContextProps>;
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  import { PaddingProps, FlexboxProps } from "styled-system";
3
3
  import { TagProps } from "../../__internal__/utils/helpers/tags";
4
- export declare type Position = "sticky" | "fixed";
5
- export declare type Orientation = "top" | "bottom";
6
- export declare type NavigationType = "light" | "dark" | "white" | "black";
4
+ export type Position = "sticky" | "fixed";
5
+ export type Orientation = "top" | "bottom";
6
+ export type NavigationType = "light" | "dark" | "white" | "black";
7
7
  export interface NavigationBarProps extends PaddingProps, FlexboxProps, TagProps {
8
8
  /** Content of the component */
9
9
  children?: React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { PaddingProps, FlexboxProps } from "styled-system";
2
2
  import { Position, Orientation, NavigationType } from "./navigation-bar.component";
3
- export declare type StyledNavigationBarProps = PaddingProps & FlexboxProps & {
3
+ export type StyledNavigationBarProps = PaddingProps & FlexboxProps & {
4
4
  /** Color scheme of navigation component */
5
5
  navigationType?: NavigationType;
6
6
  /** Defines whether the navigation bar should be positioned fixed or sticky */
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- declare type NumeralContextType = {
2
+ type NumeralContextType = {
3
3
  disableErrorBorder?: boolean;
4
4
  };
5
5
  declare const _default: React.Context<NumeralContextType>;
@@ -83,8 +83,8 @@ export interface NumeralDateProps extends ValidationProps, MarginProps, TagProps
83
83
  /** Flag to configure component as optional. */
84
84
  isOptional?: boolean;
85
85
  }
86
- export declare type ValidDateFormat = (typeof ALLOWED_DATE_FORMATS)[number];
87
- export declare type NumeralDateHandle = {
86
+ export type ValidDateFormat = (typeof ALLOWED_DATE_FORMATS)[number];
87
+ export type NumeralDateHandle = {
88
88
  focus: () => void;
89
89
  } | null;
90
90
  export declare const NumeralDate: React.ForwardRefExoticComponent<NumeralDateProps & React.RefAttributes<NumeralDateHandle>>;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { TagProps } from "../../__internal__/utils/helpers/tags";
3
- declare type PageSizeOption = {
3
+ type PageSizeOption = {
4
4
  id: string;
5
5
  name: number;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  export declare const POD_SIZES: readonly ["extra-small", "small", "medium", "large", "extra-large"];
2
2
  export declare const POD_ALIGNMENTS: readonly ["left", "center", "right"];
3
3
  export declare const POD_VARIANTS: readonly ["primary", "secondary", "tertiary", "tile", "transparent"];
4
- export declare type PodSize = (typeof POD_SIZES)[number];
5
- export declare type PodAlignment = (typeof POD_ALIGNMENTS)[number];
6
- export declare type PodVariant = (typeof POD_VARIANTS)[number];
4
+ export type PodSize = (typeof POD_SIZES)[number];
5
+ export type PodAlignment = (typeof POD_ALIGNMENTS)[number];
6
+ export type PodVariant = (typeof POD_VARIANTS)[number];
@@ -64,7 +64,7 @@ export interface PopoverContainerProps extends PaddingProps, TagProps {
64
64
  /** Flag to enable fullWidth Button styles */
65
65
  hasFullWidth?: boolean;
66
66
  }
67
- export declare type PopoverContainerHandle = {
67
+ export type PopoverContainerHandle = {
68
68
  focusButton: () => void;
69
69
  } | null;
70
70
  export declare const PopoverContainer: React.ForwardRefExoticComponent<PopoverContainerProps & React.RefAttributes<PopoverContainerHandle>>;
@@ -1,16 +1,16 @@
1
1
  /// <reference types="react" />
2
2
  import { TransitionStatus } from "react-transition-group";
3
- declare type PopoverContainerWrapperProps = {
3
+ type PopoverContainerWrapperProps = {
4
4
  hasFullWidth?: boolean;
5
5
  };
6
6
  declare const PopoverContainerWrapperStyle: import("styled-components").StyledComponent<"div", any, PopoverContainerWrapperProps, never>;
7
7
  declare const PopoverContainerHeaderStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
8
- declare type PopoverContainerContentStyleProps = {
8
+ type PopoverContainerContentStyleProps = {
9
9
  animationState?: TransitionStatus;
10
10
  disableAnimation?: boolean;
11
11
  };
12
12
  declare const PopoverContainerContentStyle: import("styled-components").StyledComponent<"div", any, PopoverContainerContentStyleProps, never>;
13
- declare type AdditionalIconButtonProps = {
13
+ type AdditionalIconButtonProps = {
14
14
  tabIndex?: number;
15
15
  id?: string;
16
16
  };
@@ -2,8 +2,8 @@ import React from "react";
2
2
  import { MarginProps } from "styled-system";
3
3
  import { IconType } from "../icon";
4
4
  import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
5
- export declare type PortraitShapes = "circle" | "square";
6
- export declare type PortraitSizes = "XS" | "S" | "M" | "ML" | "L" | "XL" | "XXL";
5
+ export type PortraitShapes = "circle" | "square";
6
+ export type PortraitSizes = "XS" | "S" | "M" | "ML" | "L" | "XL" | "XXL";
7
7
  export interface PortraitProps extends MarginProps, TagProps {
8
8
  /** A custom image URL. */
9
9
  src?: string;
@@ -1,7 +1,7 @@
1
1
  import { PortraitShapes, PortraitSizes } from "./portrait.component";
2
2
  export declare const PORTRAIT_SHAPES: PortraitShapes[];
3
3
  export declare const PORTRAIT_SIZES: PortraitSizes[];
4
- declare type PortraitSizeParams = Record<PortraitSizes, {
4
+ type PortraitSizeParams = Record<PortraitSizes, {
5
5
  dimensions: number;
6
6
  iconDimensions: number;
7
7
  }>;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { MarginProps } from "styled-system";
3
3
  import { PortraitSizes, PortraitShapes } from "./portrait.component";
4
- declare type StyledPortraitProps = {
4
+ type StyledPortraitProps = {
5
5
  backgroundColor?: string;
6
6
  foregroundColor?: string;
7
7
  darkBackground?: boolean;
@@ -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 Shapes = "text" | "rectangle" | "rectangle-round" | "circle";
4
+ export type Shapes = "text" | "rectangle" | "rectangle-round" | "circle";
5
5
  export interface PreviewProps extends MarginProps, TagProps {
6
6
  /** Children content to render in the component. */
7
7
  children?: React.ReactNode;
@@ -6,13 +6,13 @@ const StyledPreview = styled.div`
6
6
  `;
7
7
  const shimmer = keyframes`
8
8
  0% {
9
- opacity: 0.1
9
+ opacity: 0.1;
10
10
  }
11
11
  70% {
12
- opacity: 1
12
+ opacity: 1;
13
13
  }
14
14
  100% {
15
- opacity: 0.1
15
+ opacity: 0.1;
16
16
  }
17
17
  `;
18
18
  function getBorderRadius(shape) {
@@ -63,7 +63,7 @@ const StyledPreviewPlaceholder = styled.span`
63
63
  animation: ${shimmer} 2s ease infinite;
64
64
 
65
65
  ${isLastLine && shape === "text" && css`
66
- width: calc(${width || getWidth(shape)}*0.8);
66
+ width: calc(; ${width || getWidth(shape)}*0.8);
67
67
  `}
68
68
 
69
69
  ${shape === "circle" && css`
@@ -1,6 +1,6 @@
1
1
  export declare const PROFILE_SIZES: readonly ["XS", "S", "M", "ML", "L", "XL", "XXL"];
2
- declare type AllProfileSizes = typeof PROFILE_SIZES;
3
- export declare type ProfileSize = AllProfileSizes[number];
2
+ type AllProfileSizes = typeof PROFILE_SIZES;
3
+ export type ProfileSize = AllProfileSizes[number];
4
4
  declare const _default: {
5
5
  XS: {
6
6
  initialSize: string;
@@ -58,7 +58,7 @@ const StyledProgressBar = styled.span`
58
58
  })};
59
59
  border-radius: var(--borderRadius400);
60
60
  overflow-x: hidden;
61
- width: 100%
61
+ width: 100%;
62
62
  min-height: fit-content;
63
63
  box-sizing: border-box;
64
64
  `}
@@ -62,7 +62,7 @@ export interface SearchProps extends ValidationProps, MarginProps, TagProps {
62
62
  /** [Legacy] Overrides the default tooltip position */
63
63
  tooltipPosition?: "top" | "bottom" | "left" | "right";
64
64
  }
65
- export declare type SearchHandle = {
65
+ export type SearchHandle = {
66
66
  /** Programmatically focus on root container of Dialog. */
67
67
  focus: () => void;
68
68
  } | null;
@@ -1,12 +1,12 @@
1
1
  import React from "react";
2
- declare type OnSelectData = {
2
+ type OnSelectData = {
3
3
  id: string;
4
4
  text: string;
5
5
  value: string | Record<string, unknown>;
6
6
  selectionType: "click" | "navigationKey" | "enterKey";
7
7
  selectionConfirmed: boolean;
8
8
  };
9
- export declare type ListPlacement = "top" | "bottom" | "top-start" | "bottom-start" | "top-end" | "bottom-end";
9
+ export type ListPlacement = "top" | "bottom" | "top-start" | "bottom-start" | "top-end" | "bottom-end";
10
10
  export interface SelectListProps {
11
11
  /** The ID for the parent <div> */
12
12
  id?: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- declare type SelectListContextProps = {
2
+ type SelectListContextProps = {
3
3
  currentOptionsListIndex?: number;
4
4
  multiselectValues?: (string | Record<string, unknown>)[];
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export declare type SelectTextboxContextProps = {
2
+ export type SelectTextboxContextProps = {
3
3
  isInputInSelect?: boolean;
4
4
  };
5
5
  export declare const SelectTextboxContext: React.Context<SelectTextboxContextProps>;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { TagProps } from "../../../__internal__/utils/helpers/tags";
3
- declare type OptionData = {
3
+ type OptionData = {
4
4
  id?: string;
5
5
  text?: string;
6
6
  value?: string | Record<string, unknown>;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { PaddingProps, WidthProps } from "styled-system";
3
3
  import { ModalProps } from "../modal";
4
4
  import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
5
- declare type CustomRefObject<T> = {
5
+ type CustomRefObject<T> = {
6
6
  current?: T | null;
7
7
  };
8
8
  export interface SidebarProps extends PaddingProps, TagProps, WidthProps, Pick<ModalProps, "topModalOverride" | "restoreFocusOnClose"> {
@@ -1,6 +1,6 @@
1
1
  import { PaddingProps } from "styled-system";
2
2
  import { SidebarProps } from "./sidebar.component";
3
- declare type StyledSidebarProps = Pick<SidebarProps, "onCancel" | "position" | "size" | "width">;
3
+ type StyledSidebarProps = Pick<SidebarProps, "onCancel" | "position" | "size" | "width">;
4
4
  declare const StyledSidebar: import("styled-components").StyledComponent<"div", any, StyledSidebarProps, never>;
5
5
  declare const StyledSidebarContent: import("styled-components").StyledComponent<"div", any, PaddingProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>, never>;
6
6
  export { StyledSidebar, StyledSidebarContent };
@@ -1,5 +1,5 @@
1
1
  import { ValidationProps } from "../../__internal__/validations";
2
- declare type Width = string | number;
2
+ type Width = string | number;
3
3
  declare const StyledContent: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  interface StyledColorOptionsProps extends ValidationProps {
5
5
  maxWidth: Width;
@@ -1,6 +1,6 @@
1
1
  import { ThemeObject } from "../../style/themes/base";
2
2
  export declare const borderRadiusStyling = "\n > {\n &:first-child:last-child > * {\n border-radius: var(--borderRadius100);\n }\n\n &:first-child:not(:last-child) > * {\n border-top-left-radius: var(--borderRadius100);\n border-top-right-radius: var(--borderRadius100);\n border-bottom-right-radius: var(--borderRadius000);\n border-bottom-left-radius: var(--borderRadius000);\n }\n\n &:not(:first-child):not(:last-child) > * {\n border-radius: var(--borderRadius000);\n }\n\n &:last-child:not(:first-child) > * {\n border-top-right-radius: var(--borderRadius000);\n border-top-left-radius: var(--borderRadius000);\n border-bottom-left-radius: var(--borderRadius100);\n border-bottom-right-radius: var(--borderRadius100);\n }\n }\n";
3
- declare type StyledSplitButtonChildrenContainerProps = {
3
+ type StyledSplitButtonChildrenContainerProps = {
4
4
  theme: ThemeObject;
5
5
  align: "left" | "right";
6
6
  minWidth: number;
@@ -1,4 +1,4 @@
1
- declare type StyledSplitButtonToggleProps = {
1
+ type StyledSplitButtonToggleProps = {
2
2
  buttonType: "primary" | "secondary";
3
3
  disabled: boolean;
4
4
  displayed: boolean;
@@ -26,7 +26,7 @@ export interface SplitButtonProps extends React.ButtonHTMLAttributes<HTMLButtonE
26
26
  /** Sets rendering position of menu */
27
27
  position?: "left" | "right";
28
28
  }
29
- export declare type SplitButtonHandle = {
29
+ export type SplitButtonHandle = {
30
30
  /** Programmatically focus the main button */
31
31
  focusMainButton: () => void;
32
32
  /** Programmatically focus the toggle button. */
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export declare type StepFlowContextType = {
2
+ export type StepFlowContextType = {
3
3
  validatedCurrentStep?: number;
4
4
  totalSteps?: number;
5
5
  titleVariant?: "h1" | "h2";
@@ -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 Steps = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
4
+ export type Steps = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
5
5
  interface StepFlowAriaProps {
6
6
  /** Prop to specify the aria-label of the component */
7
7
  "aria-label"?: string;
@@ -35,7 +35,7 @@ export interface StepFlowProps extends StepFlowAriaProps, MarginProps, TagProps
35
35
  /** function runs when user click dismiss button */
36
36
  onDismiss?: (e: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement>) => void;
37
37
  }
38
- export declare type StepFlowHandle = {
38
+ export type StepFlowHandle = {
39
39
  /** Programmatically focus on root container of Dialog. */
40
40
  focus: () => void;
41
41
  } | null;
@@ -1,7 +1,12 @@
1
+ import { ThemeObject } from "../../style/themes/base";
2
+ import { SwitchProps } from "./switch.component";
3
+ interface StyledSwitchProps extends Pick<SwitchProps, "fieldHelpInline" | "labelInline" | "reverse" | "size"> {
4
+ theme: ThemeObject;
5
+ }
1
6
  export declare const ErrorBorder: import("styled-components").StyledComponent<"span", any, {
2
7
  reverse: boolean;
3
8
  warning: boolean;
4
9
  isDarkBackground: boolean;
5
10
  }, never>;
6
- declare const StyledSwitch: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ declare const StyledSwitch: import("styled-components").StyledComponent<"div", any, StyledSwitchProps, never>;
7
12
  export default StyledSwitch;
@@ -382,10 +382,9 @@ const tabTitleStyles = css`
382
382
  border-bottom: 0px;
383
383
 
384
384
  ${!isInSidebar && !error && css`
385
- --border-right-value: ${validationRedesignOptIn ? "0px" : "2px"}
386
- border-right:
387
- ${alternateStyling ? "1px" : "var(--border-right-value)"} solid
388
- var(--colorsActionMinor100);
385
+ --border-right-value: ${validationRedesignOptIn ? "0px" : "2px"};
386
+ border-right: ${alternateStyling ? "1px" : "var(--border-right-value)"}
387
+ solid var(--colorsActionMinor100);
389
388
  `}
390
389
 
391
390
  ${!borders && css`
@@ -1,11 +1,11 @@
1
1
  import { TabHeaderProps } from "./tabs-header.component";
2
- declare type StyledTabsHeaderWrapperProps = Pick<TabHeaderProps, "position" | "isInSidebar">;
2
+ type StyledTabsHeaderWrapperProps = Pick<TabHeaderProps, "position" | "isInSidebar">;
3
3
  declare const StyledTabsHeaderWrapper: import("styled-components").StyledComponent<"div", any, StyledTabsHeaderWrapperProps, never>;
4
- export declare type StyledTabsHeaderListProps = Pick<TabHeaderProps, "align" | "extendedLine" | "noRightBorder" | "isInSidebar" | "position">;
4
+ export type StyledTabsHeaderListProps = Pick<TabHeaderProps, "align" | "extendedLine" | "noRightBorder" | "isInSidebar" | "position">;
5
5
  declare const StyledTabsHeaderList: import("styled-components").StyledComponent<"div", any, StyledTabsHeaderListProps, never>;
6
- declare type StyledVerticalTabsWrapperProps = Pick<TabHeaderProps, "isInSidebar">;
6
+ type StyledVerticalTabsWrapperProps = Pick<TabHeaderProps, "isInSidebar">;
7
7
  declare const StyledVerticalTabsWrapper: import("styled-components").StyledComponent<"div", any, StyledVerticalTabsWrapperProps, never>;
8
- declare type StyledWrapperProps = {
8
+ type StyledWrapperProps = {
9
9
  align: string;
10
10
  position: string;
11
11
  role?: string;
@@ -13,7 +13,7 @@ declare type StyledWrapperProps = {
13
13
  noRightBorder?: boolean;
14
14
  isInSidebar?: boolean;
15
15
  };
16
- declare type StyledNavigationButtonWrapperProps = {
16
+ type StyledNavigationButtonWrapperProps = {
17
17
  position: string;
18
18
  visible: boolean;
19
19
  size: string;