carbon-react 142.12.0 → 142.13.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 (111) hide show
  1. package/esm/__internal__/character-count/character-count.style.js +1 -1
  2. package/esm/__internal__/fieldset/fieldset.style.js +2 -2
  3. package/esm/__internal__/label/label.style.js +2 -2
  4. package/esm/__internal__/validation-message/validation-message.style.js +1 -1
  5. package/esm/components/accordion/accordion.style.js +2 -2
  6. package/esm/components/action-popover/action-popover.style.js +1 -1
  7. package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +1 -1
  8. package/esm/components/badge/badge.style.js +1 -1
  9. package/esm/components/button/button.style.js +1 -1
  10. package/esm/components/button-toggle/button-toggle.style.js +1 -1
  11. package/esm/components/card/card-footer/card-footer.style.js +1 -1
  12. package/esm/components/content/content.style.js +1 -1
  13. package/esm/components/date/__internal__/date-picker/day-picker.style.js +1 -1
  14. package/esm/components/definition-list/dd/dd.component.js +1 -0
  15. package/esm/components/definition-list/definition-list.style.js +1 -1
  16. package/esm/components/definition-list/dl.component.js +1 -0
  17. package/esm/components/definition-list/dt/dt.component.js +1 -0
  18. package/esm/components/duelling-picklist/duelling-picklist.style.js +1 -1
  19. package/esm/components/fieldset/fieldset.style.js +2 -2
  20. package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.style.js +1 -1
  21. package/esm/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +1 -1
  22. package/esm/components/flat-table/flat-table-head/flat-table-head.style.js +1 -1
  23. package/esm/components/flat-table/flat-table-header/flat-table-header.style.js +1 -1
  24. package/esm/components/form/__internal__/form-summary.style.js +1 -1
  25. package/esm/components/form/required-fields-indicator/required-fields-indicator.component.js +1 -1
  26. package/esm/components/link-preview/link-preview.style.js +1 -1
  27. package/esm/components/loader-spinner/loader-spinner.component.js +1 -1
  28. package/esm/components/loader-star/loader-star.component.js +1 -1
  29. package/esm/components/menu/menu-item/menu-item.style.js +2 -2
  30. package/esm/components/menu/menu-segment-title/menu-segment-title.style.js +1 -1
  31. package/esm/components/note/note.style.js +2 -2
  32. package/esm/components/pill/pill.style.js +1 -1
  33. package/esm/components/pod/pod.style.js +1 -1
  34. package/esm/components/popover-container/popover-container.component.js +19 -26
  35. package/esm/components/popover-container/popover-container.style.js +34 -30
  36. package/esm/components/portrait/portrait.style.js +1 -1
  37. package/esm/components/profile/profile.style.js +1 -1
  38. package/esm/components/progress-tracker/progress-tracker.style.js +1 -1
  39. package/esm/components/search/search.style.js +2 -2
  40. package/esm/components/select/__internal__/select-list/select-list.style.js +1 -1
  41. package/esm/components/select/__internal__/select-textbox/select-textbox.style.js +1 -1
  42. package/esm/components/select/__internal__/utils/matching-text.style.js +1 -1
  43. package/esm/components/select/option-row/option-row.style.js +1 -1
  44. package/esm/components/step-flow/step-flow-title/step-flow-title.component.js +1 -1
  45. package/esm/components/step-flow/step-flow.component.js +1 -1
  46. package/esm/components/switch/__internal__/switch-slider.style.js +1 -1
  47. package/esm/components/tabs/__internal__/tab-title/tab-title.style.js +1 -1
  48. package/esm/components/text-editor/__internal__/editor-link/editor-link.style.js +1 -1
  49. package/esm/components/textbox/__internal__/prefix.style.js +1 -1
  50. package/esm/components/tile-select/tile-select.style.js +2 -2
  51. package/esm/components/time/time.style.js +1 -1
  52. package/esm/components/typography/typography.style.js +2 -2
  53. package/esm/components/vertical-menu/vertical-menu.style.js +2 -2
  54. package/esm/style/fonts.css +2 -2
  55. package/esm/style/global-style.js +6 -6
  56. package/lib/__internal__/character-count/character-count.style.js +1 -1
  57. package/lib/__internal__/fieldset/fieldset.style.js +2 -2
  58. package/lib/__internal__/label/label.style.js +2 -2
  59. package/lib/__internal__/validation-message/validation-message.style.js +1 -1
  60. package/lib/components/accordion/accordion.style.js +2 -2
  61. package/lib/components/action-popover/action-popover.style.js +1 -1
  62. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +1 -1
  63. package/lib/components/badge/badge.style.js +1 -1
  64. package/lib/components/button/button.style.js +1 -1
  65. package/lib/components/button-toggle/button-toggle.style.js +1 -1
  66. package/lib/components/card/card-footer/card-footer.style.js +1 -1
  67. package/lib/components/content/content.style.js +1 -1
  68. package/lib/components/date/__internal__/date-picker/day-picker.style.js +1 -1
  69. package/lib/components/definition-list/dd/dd.component.js +1 -0
  70. package/lib/components/definition-list/definition-list.style.js +1 -1
  71. package/lib/components/definition-list/dl.component.js +1 -0
  72. package/lib/components/definition-list/dt/dt.component.js +1 -0
  73. package/lib/components/duelling-picklist/duelling-picklist.style.js +1 -1
  74. package/lib/components/fieldset/fieldset.style.js +2 -2
  75. package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.style.js +1 -1
  76. package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +1 -1
  77. package/lib/components/flat-table/flat-table-head/flat-table-head.style.js +1 -1
  78. package/lib/components/flat-table/flat-table-header/flat-table-header.style.js +1 -1
  79. package/lib/components/form/__internal__/form-summary.style.js +1 -1
  80. package/lib/components/form/required-fields-indicator/required-fields-indicator.component.js +1 -1
  81. package/lib/components/link-preview/link-preview.style.js +1 -1
  82. package/lib/components/loader-spinner/loader-spinner.component.js +1 -1
  83. package/lib/components/loader-star/loader-star.component.js +1 -1
  84. package/lib/components/menu/menu-item/menu-item.style.js +2 -2
  85. package/lib/components/menu/menu-segment-title/menu-segment-title.style.js +1 -1
  86. package/lib/components/note/note.style.js +2 -2
  87. package/lib/components/pill/pill.style.js +1 -1
  88. package/lib/components/pod/pod.style.js +1 -1
  89. package/lib/components/popover-container/popover-container.component.js +18 -25
  90. package/lib/components/popover-container/popover-container.style.js +36 -30
  91. package/lib/components/portrait/portrait.style.js +1 -1
  92. package/lib/components/profile/profile.style.js +1 -1
  93. package/lib/components/progress-tracker/progress-tracker.style.js +1 -1
  94. package/lib/components/search/search.style.js +2 -2
  95. package/lib/components/select/__internal__/select-list/select-list.style.js +1 -1
  96. package/lib/components/select/__internal__/select-textbox/select-textbox.style.js +1 -1
  97. package/lib/components/select/__internal__/utils/matching-text.style.js +1 -1
  98. package/lib/components/select/option-row/option-row.style.js +1 -1
  99. package/lib/components/step-flow/step-flow-title/step-flow-title.component.js +1 -1
  100. package/lib/components/step-flow/step-flow.component.js +1 -1
  101. package/lib/components/switch/__internal__/switch-slider.style.js +1 -1
  102. package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +1 -1
  103. package/lib/components/text-editor/__internal__/editor-link/editor-link.style.js +1 -1
  104. package/lib/components/textbox/__internal__/prefix.style.js +1 -1
  105. package/lib/components/tile-select/tile-select.style.js +2 -2
  106. package/lib/components/time/time.style.js +1 -1
  107. package/lib/components/typography/typography.style.js +2 -2
  108. package/lib/components/vertical-menu/vertical-menu.style.js +2 -2
  109. package/lib/style/fonts.css +2 -2
  110. package/lib/style/global-style.js +6 -6
  111. package/package.json +1 -1
@@ -25,7 +25,7 @@ const StyledOptionRow = styled.tr`
25
25
  padding: 12px 16px;
26
26
 
27
27
  &:first-child {
28
- font-weight: 700;
28
+ font-weight: 500;
29
29
  }
30
30
  }
31
31
 
@@ -26,7 +26,7 @@ export const StepFlowTitle = ({
26
26
  variant: titleVariant || titleVariantContext || "h1",
27
27
  "data-element": "title-text"
28
28
  }, /*#__PURE__*/React.createElement(Typography, {
29
- fontWeight: "900",
29
+ fontWeight: "700",
30
30
  fontSize: "var(--fontSizes600)",
31
31
  lineHeight: "var(--sizing375)",
32
32
  variant: "span",
@@ -90,7 +90,7 @@ const StepFlow = /*#__PURE__*/forwardRef(({
90
90
  "aria-hidden": "true"
91
91
  }, locale.stepFlow.stepLabel(validatedCurrentStep, totalSteps));
92
92
  return /*#__PURE__*/React.createElement(StyledStepFlow, _extends({}, rest, tagComponent("step-flow", rest)), /*#__PURE__*/React.createElement(StyledStepContent, null, category ? /*#__PURE__*/React.createElement(StyledStepContentText, null, /*#__PURE__*/React.createElement(Typography, {
93
- fontWeight: "500",
93
+ fontWeight: "400",
94
94
  fontSize: "var(--fontSizes100)",
95
95
  lineHeight: "var(--sizing250)",
96
96
  variant: "span",
@@ -14,7 +14,7 @@ const StyledSwitchSlider = styled.div`
14
14
  }) => css`
15
15
  display: flex;
16
16
  font-size: 12px;
17
- font-weight: bold;
17
+ font-weight: 500;
18
18
  height: 28px;
19
19
  left: 0;
20
20
  letter-spacing: 1px;
@@ -227,7 +227,7 @@ const tabTitleStyles = css`
227
227
  display: inline-block;
228
228
  border-top-left-radius: var(--borderRadius100);
229
229
  border-top-right-radius: var(--borderRadius100);
230
- font-weight: bold;
230
+ font-weight: 500;
231
231
  position: relative;
232
232
  border: none;
233
233
  cursor: pointer;
@@ -5,7 +5,7 @@ const StyledEditorLink = styled(Link)`
5
5
 
6
6
  a {
7
7
  max-width: 100% span span span {
8
- font-weight: 700;
8
+ font-weight: 500;
9
9
  font-style: normal;
10
10
  }
11
11
  }
@@ -2,7 +2,7 @@ import styled from "styled-components";
2
2
  import InputSizes from "../../../__internal__/input/input-sizes.style";
3
3
  const StyledPrefix = styled.span`
4
4
  align-self: center;
5
- font-weight: 900;
5
+ font-weight: 700;
6
6
  margin-left: ${({
7
7
  size
8
8
  }) => InputSizes[size].horizontalPadding}; // margin must match the original component padding
@@ -8,7 +8,7 @@ import { baseTheme } from "../../style/themes";
8
8
  import addFocusStyling from "../../style/utils/add-focus-styling";
9
9
  const StyledTitle = styled.h3`
10
10
  font-size: 16px;
11
- font-weight: 900;
11
+ font-weight: 700;
12
12
  margin: 0;
13
13
  margin-right: 16px;
14
14
  margin-bottom: 8px;
@@ -16,7 +16,7 @@ const StyledTitle = styled.h3`
16
16
  `;
17
17
  const StyledSubtitle = styled.h4`
18
18
  font-size: 14px;
19
- font-weight: 700;
19
+ font-weight: 500;
20
20
  margin: 0;
21
21
  margin-right: 16px;
22
22
  margin-bottom: 8px;
@@ -2,7 +2,7 @@ import styled from "styled-components";
2
2
  import Label from "../../__internal__/label";
3
3
  export const StyledLabel = styled(Label)`
4
4
  label {
5
- font-weight: var(--fontWeights500);
5
+ font-weight: var(--fontWeights400);
6
6
  }
7
7
  `;
8
8
  export const StyledHintText = styled.div`
@@ -88,7 +88,7 @@ const getWeight = variant => {
88
88
  case "h1":
89
89
  case "segment-header":
90
90
  case "segment-header-small":
91
- return "900";
91
+ return "700";
92
92
  case "h2":
93
93
  case "h3":
94
94
  case "segment-subheader":
@@ -96,7 +96,7 @@ const getWeight = variant => {
96
96
  case "b":
97
97
  case "em":
98
98
  case "strong":
99
- return "700";
99
+ return "500";
100
100
  case "h4":
101
101
  case "h5":
102
102
  case "p":
@@ -22,7 +22,7 @@ export const StyledVerticalMenuItem = styled.div`
22
22
  display: flex;
23
23
  border: none;
24
24
  align-items: center;
25
- font-weight: 600;
25
+ font-weight: 500;
26
26
  font-size: 14px;
27
27
  cursor: pointer;
28
28
  color: var(--colorsComponentsLeftnavWinterStandardContent);
@@ -73,7 +73,7 @@ StyledVerticalMenuItem.defaultProps = {
73
73
  theme: baseTheme
74
74
  };
75
75
  export const StyledTitle = styled.h3`
76
- font-weight: 600;
76
+ font-weight: 500;
77
77
  font-size: 14px;
78
78
  line-height: 21px;
79
79
  margin: 0;
@@ -19,7 +19,7 @@
19
19
  @font-face {
20
20
  font-family: "Sage UI";
21
21
  font-style: normal;
22
- font-weight: 700;
22
+ font-weight: 500;
23
23
  src: url("~@sage/design-tokens/assets/fonts/sageui-medium.woff2") format("woff2"),
24
24
  url("~@sage/design-tokens/assets/fonts/sageui-medium.woff") format("woff"),
25
25
  url("~@sage/design-tokens/assets/fonts/sageui-medium.ttf") format("truetype"),
@@ -29,7 +29,7 @@
29
29
  @font-face {
30
30
  font-family: "Sage UI";
31
31
  font-style: normal;
32
- font-weight: 900;
32
+ font-weight: 700;
33
33
  src: url("~@sage/design-tokens/assets/fonts/sageui-bold.woff2") format("woff2"),
34
34
  url("~@sage/design-tokens/assets/fonts/sageui-bold.woff") format("woff"),
35
35
  url("~@sage/design-tokens/assets/fonts/sageui-bold.ttf") format("truetype"),
@@ -15,12 +15,12 @@ const GlobalStyle = createGlobalStyle`
15
15
  font-family: inherit;
16
16
  }
17
17
 
18
- h1, .h1 { font-size: 24px; font-weight: 900; line-height: 32px; }
19
- h2, .h2 { font-size: 22px; font-weight: 700; margin-bottom: 26px; }
20
- h3, .h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
21
- h4, .h4 { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
22
- h5, .h5 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
23
- h6, .h6 { font-size: 14px; font-weight: 700; margin-bottom: 18px; }
18
+ h1, .h1 { font-size: 24px; font-weight: 700; line-height: 32px; }
19
+ h2, .h2 { font-size: 22px; font-weight: 500; margin-bottom: 26px; }
20
+ h3, .h3 { font-size: 20px; font-weight: 500; margin-bottom: 24px; }
21
+ h4, .h4 { font-size: 18px; font-weight: 500; margin-bottom: 22px; }
22
+ h5, .h5 { font-size: 16px; font-weight: 500; margin-bottom: 20px; }
23
+ h6, .h6 { font-size: 14px; font-weight: 500; margin-bottom: 18px; }
24
24
 
25
25
  [data-element=${TAB_GUARD_TOP}], [data-element=${TAB_GUARD_BOTTOM}] {
26
26
  position: fixed;
@@ -23,7 +23,7 @@ const StyledCharacterCount = exports.StyledCharacterCount = _styledComponents.de
23
23
  ${({
24
24
  isOverLimit
25
25
  }) => isOverLimit && (0, _styledComponents.css)`
26
- font-weight: var(--fontWeights700);
26
+ font-weight: var(--fontWeights500);
27
27
  `}
28
28
  `;
29
29
  const VisuallyHiddenCharacterCount = exports.VisuallyHiddenCharacterCount = _styledComponents.default.div`
@@ -35,7 +35,7 @@ const StyledLegendContent = exports.StyledLegendContent = _styledComponents.defa
35
35
  content: "*";
36
36
  line-height: 24px;
37
37
  color: var(--colorsSemanticNegative500);
38
- font-weight: var(--fontWeights700);
38
+ font-weight: var(--fontWeights500);
39
39
  margin-left: var(--spacing050);
40
40
  position: relative;
41
41
  top: 1px;
@@ -67,7 +67,7 @@ const StyledLegend = exports.StyledLegend = _styledComponents.default.legend`
67
67
  align-items: center;
68
68
  margin-bottom: var(--spacing100);
69
69
  padding: 0;
70
- font-weight: var(--fontWeights700);
70
+ font-weight: var(--fontWeights500);
71
71
  color: var(--colorsUtilityYin090);
72
72
  ${({
73
73
  inline,
@@ -10,7 +10,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
10
10
  const StyledLabel = _styledComponents.default.label`
11
11
  color: var(--colorsUtilityYin090);
12
12
  display: block;
13
- font-weight: var(--fontWeights700);
13
+ font-weight: var(--fontWeights500);
14
14
 
15
15
  ${({
16
16
  isRequired
@@ -18,7 +18,7 @@ const StyledLabel = _styledComponents.default.label`
18
18
  ::after {
19
19
  content: "*";
20
20
  color: var(--colorsSemanticNegative500);
21
- font-weight: var(--fontWeights700);
21
+ font-weight: var(--fontWeights500);
22
22
  margin-left: var(--spacing050);
23
23
  }
24
24
  `}
@@ -12,7 +12,7 @@ const StyledValidationMessage = _styledComponents.default.p`
12
12
  isWarning
13
13
  }) => (0, _styledComponents.css)`
14
14
  color: ${isWarning ? "var(--colorsSemanticCaution600)" : "var(--colorsSemanticNegative500)"};
15
- font-weight: ${isWarning ? "normal" : "bold"};
15
+ font-weight: ${isWarning ? "normal" : "500"};
16
16
  margin-top: 0px;
17
17
  margin-bottom: 8px;
18
18
  `}
@@ -62,7 +62,7 @@ const StyledAccordionTitle = exports.StyledAccordionTitle = _styledComponents.de
62
62
  size,
63
63
  variant
64
64
  }) => size === "small" || variant === "subtle" ? "var(--fontSizes200)" : "var(--fontSizes400)"};
65
- font-weight: 700;
65
+ font-weight: 500;
66
66
  line-height: 1;
67
67
  user-select: none;
68
68
  margin: 0;
@@ -170,7 +170,7 @@ const StyledAccordionTitleContainer = exports.StyledAccordionTitleContainer = _s
170
170
 
171
171
  ${buttonHeading && (0, _styledComponents.css)`
172
172
  box-sizing: border-box;
173
- font-weight: 600;
173
+ font-weight: 500;
174
174
  text-decoration: none;
175
175
  font-size: var(--fontSizes100);
176
176
  min-height: var(--spacing500);
@@ -125,7 +125,7 @@ const StyledMenuItem = exports.StyledMenuItem = _styledComponents.default.button
125
125
  width: 100%;
126
126
  color: var(--colorsUtilityYin090);
127
127
  font-size: 14px;
128
- font-weight: 700;
128
+ font-weight: 500;
129
129
 
130
130
  &:focus {
131
131
  ${({
@@ -22,7 +22,7 @@ const StyledNavigationItem = _styledComponents.default.li`
22
22
  color: var(--colorsUtilityYin090);
23
23
  background-color: transparent;
24
24
  border-left: var(--sizing050) solid var(--colorsActionMinor100);
25
- font-weight: 700;
25
+ font-weight: 500;
26
26
  padding: 12px 24px;
27
27
  border-top-right-radius: var(--borderRadius100);
28
28
  border-bottom-right-radius: var(--borderRadius100);
@@ -28,7 +28,7 @@ const StyledBadgeWrapper = exports.StyledBadgeWrapper = _styledComponents.defaul
28
28
  display: inline-block;
29
29
  `;
30
30
  const StyledCounter = exports.StyledCounter = _styledComponents.default.div`
31
- font-weight: 700;
31
+ font-weight: 500;
32
32
  font-size: 12px;
33
33
  margin-top: -1px;
34
34
  `;
@@ -79,7 +79,7 @@ const StyledButton = _styledComponents.default.button`
79
79
  outline-offset: 0;
80
80
  border: 2px solid transparent;
81
81
  box-sizing: border-box;
82
- font-weight: 600;
82
+ font-weight: 500;
83
83
  text-decoration: none;
84
84
  border-radius: var(--borderRadius400);
85
85
 
@@ -55,7 +55,7 @@ const StyledButtonToggle = exports.StyledButtonToggle = _styledComponents.defaul
55
55
  box-sizing: border-box;
56
56
  max-width: 100%;
57
57
 
58
- font-weight: 700;
58
+ font-weight: 500;
59
59
  background-color: transparent;
60
60
  cursor: pointer;
61
61
  text-align: center;
@@ -33,7 +33,7 @@ const StyledCardFooter = _styledComponents.default.div`
33
33
  border-top-width: 1px;
34
34
  border-top-style: solid;
35
35
  font-size: 14px;
36
- font-weight: 700;
36
+ font-weight: 500;
37
37
  margin: ${marginSizes[spacing]};
38
38
  display: flex;
39
39
  ${roundness === "default" && (0, _styledComponents.css)`
@@ -40,7 +40,7 @@ const StyledContentTitle = exports.StyledContentTitle = _styledComponents.defaul
40
40
  }) => {
41
41
  return (0, _styledComponents.css)`
42
42
  display: ${inline ? "inline-block" : "block"};
43
- font-weight: bold;
43
+ font-weight: 500;
44
44
  width: ${titleWidth && `calc(${titleWidth}% - 30px)`};
45
45
  text-align: ${!inline && align};
46
46
 
@@ -272,7 +272,7 @@ const StyledDayPicker = _styledComponents.default.div`
272
272
  border: none;
273
273
  //font-family: var(--fontFamiliesDefault); font assets to be updated part of FE-4975
274
274
  //font: var(--typographyDatePickerCalendarDateM); font assets to be updated part of FE-4975
275
- font-weight: var(--fontWeights700);
275
+ font-weight: var(--fontWeights500);
276
276
  font-size: var(--fontSizes100);
277
277
  line-height: var(--lineHeights500);
278
278
  border-radius: var(--borderRadius400);
@@ -25,6 +25,7 @@ const Dd = ({
25
25
  } = (0, _react.useContext)(_dl.default);
26
26
  return /*#__PURE__*/_react.default.createElement(_definitionList.StyledDd, _extends({
27
27
  "data-element": "dd",
28
+ "data-role": "dd",
28
29
  asSingleColumn: asSingleColumn,
29
30
  ddTextAlign: ddTextAlign,
30
31
  mb: mb || 2
@@ -38,7 +38,7 @@ StyledDl.defaultProps = {
38
38
  const StyledDt = exports.StyledDt = _styledComponents.default.dt`
39
39
  ${_styledSystem.space}
40
40
  font-size: var(--fontSizes100);
41
- font-weight: 700;
41
+ font-weight: 500;
42
42
  color: var(--colorsUtilityYin090);
43
43
  ${({
44
44
  asSingleColumn
@@ -21,6 +21,7 @@ const Dl = ({
21
21
  return /*#__PURE__*/_react.default.createElement(_definitionList.StyledDl, _extends({
22
22
  w: w,
23
23
  "data-component": "dl",
24
+ "data-role": "dl",
24
25
  asSingleColumn: asSingleColumn
25
26
  }, rest), /*#__PURE__*/_react.default.createElement(_dl.default.Provider, {
26
27
  value: {
@@ -26,6 +26,7 @@ const Dt = ({
26
26
  } = rest;
27
27
  return /*#__PURE__*/_react.default.createElement(_definitionList.StyledDt, _extends({
28
28
  "data-element": "dt",
29
+ "data-role": "dt",
29
30
  mb: mb || asSingleColumn ? undefined : 2,
30
31
  pr: pr || asSingleColumn ? undefined : 3,
31
32
  dtTextAlign: dtTextAlign,
@@ -35,7 +35,7 @@ const StyledLabelContainer = exports.StyledLabelContainer = _styledComponents.de
35
35
  margin-bottom: 16px;
36
36
  `;
37
37
  const StyledLabel = exports.StyledLabel = _styledComponents.default.p`
38
- font-weight: bold;
38
+ font-weight: 500;
39
39
  font-size: 12px;
40
40
  letter-spacing: 1;
41
41
  margin: 0;
@@ -36,7 +36,7 @@ const StyledLegend = exports.StyledLegend = _styledComponents.default.legend`
36
36
  align-items: center;
37
37
  margin-bottom: 32px;
38
38
  font-size: 20px;
39
- font-weight: var(--fontWeights700);
39
+ font-weight: var(--fontWeights500);
40
40
  color: var(--colorsUtilityYin090);
41
41
  line-height: 24px;
42
42
  margin-right: 4px;
@@ -48,7 +48,7 @@ const StyledLegend = exports.StyledLegend = _styledComponents.default.legend`
48
48
  content: "*";
49
49
  line-height: 24px;
50
50
  color: var(--colorsSemanticNegative500);
51
- font-weight: var(--fontWeights700);
51
+ font-weight: var(--fontWeights500);
52
52
  margin-left: var(--spacing100);
53
53
  position: relative;
54
54
  top: 1px;
@@ -80,7 +80,7 @@ const StyledFileUploadStatus = exports.StyledFileUploadStatus = _styledComponent
80
80
  border: var(--${borderWidthToken}) solid var(--${colorToken});
81
81
  ${hasError && `&& ${_typography.default} {
82
82
  color: var(--${colorToken});
83
- font-weight: 500;
83
+ font-weight: 400;
84
84
  }`}
85
85
  `;
86
86
  }}
@@ -41,7 +41,7 @@ const StyledFlatTableCheckbox = _styledComponents.default.td`
41
41
  border-width: 0;
42
42
  border-bottom: 1px solid var(--colorsUtilityMajor100);
43
43
  box-sizing: border-box;
44
- font-weight: 700;
44
+ font-weight: 500;
45
45
  left: auto;
46
46
  padding: 0;
47
47
  text-align: left;
@@ -16,7 +16,7 @@ const StyledFlatTableHead = _styledComponents.default.thead`
16
16
  border-right: none;
17
17
  }
18
18
  ${_flatTableRowHeader.StyledFlatTableRowHeader}, ${_flatTableCheckbox.default} {
19
- font-weight: 700;
19
+ font-weight: 500;
20
20
  }
21
21
  }
22
22
  `;
@@ -33,7 +33,7 @@ const StyledFlatTableHeader = _styledComponents.default.th`
33
33
  background-color: transparent;
34
34
  border-width: 0;
35
35
  box-sizing: border-box;
36
- font-weight: 700;
36
+ font-weight: 500;
37
37
  left: auto;
38
38
  text-align: ${align};
39
39
  user-select: none;
@@ -14,7 +14,7 @@ const StyledFormSummary = exports.StyledFormSummary = _styledComponents.default.
14
14
  display: inline-flex;
15
15
  align-items: center;
16
16
  font-size: 13px;
17
- font-weight: 700;
17
+ font-weight: 500;
18
18
  margin: -8px;
19
19
  padding: 8px;
20
20
  white-space: nowrap;
@@ -17,7 +17,7 @@ const StyledIndicatorContainer = (0, _styledComponents.default)(_box.default)`
17
17
  ::after {
18
18
  content: "*";
19
19
  color: var(--colorsSemanticNegative500);
20
- font-weight: 700;
20
+ font-weight: 500;
21
21
  margin-left: var(--spacing050);
22
22
  }
23
23
  `;
@@ -74,7 +74,7 @@ const StyledPreviewWrapper = exports.StyledPreviewWrapper = _styledComponents.de
74
74
  const StyledTitle = exports.StyledTitle = _styledComponents.default.div`
75
75
  white-space: nowrap;
76
76
  text-overflow: ellipsis;
77
- font-weight: 700;
77
+ font-weight: 500;
78
78
  font-size: 14px;
79
79
  line-height: 21px;
80
80
  `;
@@ -30,7 +30,7 @@ const LoaderSpinner = ({
30
30
  const renderSpinnerLabel = /*#__PURE__*/_react.default.createElement(_loaderSpinner.StyledLabel, {
31
31
  "data-role": "visible-label",
32
32
  variant: "span",
33
- fontWeight: "500",
33
+ fontWeight: "400",
34
34
  size: size,
35
35
  color: isLabelDark ? "var(--colorsUtilityYin090);" : "var(--colorsActionMajorYang100);",
36
36
  fontSize: size === "extra-large" ? "var(--sizing200)" : "var(--sizing175)",
@@ -23,7 +23,7 @@ const LoaderStar = ({
23
23
  const label = /*#__PURE__*/_react.default.createElement(_loaderStar.StyledLabel, {
24
24
  "data-role": "visible-label",
25
25
  variant: "span",
26
- fontWeight: "500"
26
+ fontWeight: "400"
27
27
  }, loaderStarLabel || locale.loaderStar.loading());
28
28
  return /*#__PURE__*/_react.default.createElement(_loaderStar.StyledLoaderStarWrapper, _extends({
29
29
  role: "status"
@@ -108,7 +108,7 @@ const StyledMenuItemWrapper = _styledComponents.default.a.attrs({
108
108
  display: flex;
109
109
  align-items: center;
110
110
  font-size: 14px;
111
- font-weight: 700;
111
+ font-weight: 500;
112
112
  min-height: 40px;
113
113
  position: relative;
114
114
  box-shadow: none;
@@ -259,7 +259,7 @@ const StyledMenuItemWrapper = _styledComponents.default.a.attrs({
259
259
  ${_link.StyledLink} a,
260
260
  ${_link.StyledLink} button,
261
261
  ${_link.StyledLink} [data-component="icon"] {
262
- font-weight: 700;
262
+ font-weight: 500;
263
263
  text-decoration: none;
264
264
  ${!hasInput && `color: ${_menu.default[menuType].color};`}
265
265
  }
@@ -18,7 +18,7 @@ const StyledTitle = exports.StyledTitle = _styledComponents.default.h2`
18
18
  margin: 0px;
19
19
  padding: 16px 16px 8px;
20
20
  font-size: 12px;
21
- font-weight: 700;
21
+ font-weight: 500;
22
22
  text-transform: uppercase;
23
23
  line-height: 14px;
24
24
  cursor: default;
@@ -50,7 +50,7 @@ const StyledInlineControl = exports.StyledInlineControl = _styledComponents.defa
50
50
  min-width: fit-content;
51
51
  `;
52
52
  const StyledTitle = exports.StyledTitle = _styledComponents.default.header`
53
- font-weight: 900;
53
+ font-weight: 700;
54
54
  font-size: 16px;
55
55
  line-height: 21px;
56
56
  padding-bottom: 16px;
@@ -58,7 +58,7 @@ const StyledTitle = exports.StyledTitle = _styledComponents.default.header`
58
58
  const StyledFooterContent = exports.StyledFooterContent = _styledComponents.default.div`
59
59
  line-height: 21px;
60
60
  align-items: baseline;
61
- font-weight: bold;
61
+ font-weight: 500;
62
62
 
63
63
  ${({
64
64
  hasName
@@ -60,7 +60,7 @@ const StyledPill = _styledComponents.default.span`
60
60
  return (0, _styledComponents.css)`
61
61
  font-size: 12px;
62
62
  letter-spacing: 0.7px;
63
- font-weight: 700;
63
+ font-weight: 500;
64
64
  position: relative;
65
65
  display: inline-flex;
66
66
  text-align: center;
@@ -349,7 +349,7 @@ const StyledSubtitle = exports.StyledSubtitle = _styledComponents.default.h5`
349
349
  const StyledTitle = exports.StyledTitle = _styledComponents.default.h4`
350
350
  display: inline;
351
351
  font-size: 18px;
352
- font-weight: 600;
352
+ font-weight: 500;
353
353
  `;
354
354
  StyledPod.defaultProps = {
355
355
  theme: _themes.baseTheme