carbon-react 142.12.0 → 142.13.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.
- package/esm/__internal__/character-count/character-count.style.js +1 -1
- package/esm/__internal__/fieldset/fieldset.style.js +2 -2
- package/esm/__internal__/label/label.style.js +2 -2
- package/esm/__internal__/validation-message/validation-message.style.js +1 -1
- package/esm/components/accordion/accordion.style.js +2 -2
- package/esm/components/action-popover/action-popover.style.js +1 -1
- package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +1 -1
- package/esm/components/badge/badge.style.js +1 -1
- package/esm/components/button/button.style.js +1 -1
- package/esm/components/button-toggle/button-toggle.style.js +1 -1
- package/esm/components/card/card-footer/card-footer.style.js +1 -1
- package/esm/components/content/content.style.js +1 -1
- package/esm/components/date/__internal__/date-picker/day-picker.style.js +1 -1
- package/esm/components/definition-list/dd/dd.component.js +1 -0
- package/esm/components/definition-list/definition-list.style.js +1 -1
- package/esm/components/definition-list/dl.component.js +1 -0
- package/esm/components/definition-list/dt/dt.component.js +1 -0
- package/esm/components/duelling-picklist/duelling-picklist.style.js +1 -1
- package/esm/components/fieldset/fieldset.style.js +2 -2
- package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.style.js +1 -1
- package/esm/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +1 -1
- package/esm/components/flat-table/flat-table-head/flat-table-head.style.js +1 -1
- package/esm/components/flat-table/flat-table-header/flat-table-header.style.js +1 -1
- package/esm/components/form/__internal__/form-summary.style.js +17 -17
- package/esm/components/form/form.component.js +5 -19
- package/esm/components/form/form.style.d.ts +0 -1
- package/esm/components/form/form.style.js +8 -21
- package/esm/components/form/required-fields-indicator/required-fields-indicator.component.js +1 -1
- package/esm/components/link-preview/link-preview.style.js +1 -1
- package/esm/components/loader-spinner/loader-spinner.component.js +1 -1
- package/esm/components/loader-star/loader-star.component.js +1 -1
- package/esm/components/menu/menu-item/menu-item.style.js +2 -2
- package/esm/components/menu/menu-segment-title/menu-segment-title.style.js +1 -1
- package/esm/components/note/note.style.js +2 -2
- package/esm/components/pill/pill.style.js +1 -1
- package/esm/components/pod/pod.style.js +1 -1
- package/esm/components/popover-container/popover-container.component.js +19 -26
- package/esm/components/popover-container/popover-container.style.js +34 -30
- package/esm/components/portrait/portrait.style.js +1 -1
- package/esm/components/profile/profile.style.js +1 -1
- package/esm/components/progress-tracker/progress-tracker.style.js +1 -1
- package/esm/components/search/search.style.js +2 -2
- package/esm/components/select/__internal__/select-list/select-list.style.js +1 -1
- package/esm/components/select/__internal__/select-textbox/select-textbox.style.js +1 -1
- package/esm/components/select/__internal__/utils/matching-text.style.js +1 -1
- package/esm/components/select/option-row/option-row.style.js +1 -1
- package/esm/components/step-flow/step-flow-title/step-flow-title.component.js +1 -1
- package/esm/components/step-flow/step-flow.component.js +1 -1
- package/esm/components/switch/__internal__/switch-slider.style.js +1 -1
- package/esm/components/tabs/__internal__/tab-title/tab-title.style.js +1 -1
- package/esm/components/text-editor/__internal__/editor-link/editor-link.style.js +1 -1
- package/esm/components/textbox/__internal__/prefix.style.js +1 -1
- package/esm/components/tile-select/tile-select.style.js +2 -2
- package/esm/components/time/time.style.js +1 -1
- package/esm/components/typography/typography.style.js +2 -2
- package/esm/components/vertical-menu/vertical-menu.style.js +2 -2
- package/esm/style/fonts.css +2 -2
- package/esm/style/global-style.js +6 -6
- package/lib/__internal__/character-count/character-count.style.js +1 -1
- package/lib/__internal__/fieldset/fieldset.style.js +2 -2
- package/lib/__internal__/label/label.style.js +2 -2
- package/lib/__internal__/validation-message/validation-message.style.js +1 -1
- package/lib/components/accordion/accordion.style.js +2 -2
- package/lib/components/action-popover/action-popover.style.js +1 -1
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +1 -1
- package/lib/components/badge/badge.style.js +1 -1
- package/lib/components/button/button.style.js +1 -1
- package/lib/components/button-toggle/button-toggle.style.js +1 -1
- package/lib/components/card/card-footer/card-footer.style.js +1 -1
- package/lib/components/content/content.style.js +1 -1
- package/lib/components/date/__internal__/date-picker/day-picker.style.js +1 -1
- package/lib/components/definition-list/dd/dd.component.js +1 -0
- package/lib/components/definition-list/definition-list.style.js +1 -1
- package/lib/components/definition-list/dl.component.js +1 -0
- package/lib/components/definition-list/dt/dt.component.js +1 -0
- package/lib/components/duelling-picklist/duelling-picklist.style.js +1 -1
- package/lib/components/fieldset/fieldset.style.js +2 -2
- package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.style.js +1 -1
- package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +1 -1
- package/lib/components/flat-table/flat-table-head/flat-table-head.style.js +1 -1
- package/lib/components/flat-table/flat-table-header/flat-table-header.style.js +1 -1
- package/lib/components/form/__internal__/form-summary.style.js +17 -17
- package/lib/components/form/form.component.js +4 -18
- package/lib/components/form/form.style.d.ts +0 -1
- package/lib/components/form/form.style.js +9 -22
- package/lib/components/form/required-fields-indicator/required-fields-indicator.component.js +1 -1
- package/lib/components/link-preview/link-preview.style.js +1 -1
- package/lib/components/loader-spinner/loader-spinner.component.js +1 -1
- package/lib/components/loader-star/loader-star.component.js +1 -1
- package/lib/components/menu/menu-item/menu-item.style.js +2 -2
- package/lib/components/menu/menu-segment-title/menu-segment-title.style.js +1 -1
- package/lib/components/note/note.style.js +2 -2
- package/lib/components/pill/pill.style.js +1 -1
- package/lib/components/pod/pod.style.js +1 -1
- package/lib/components/popover-container/popover-container.component.js +18 -25
- package/lib/components/popover-container/popover-container.style.js +36 -30
- package/lib/components/portrait/portrait.style.js +1 -1
- package/lib/components/profile/profile.style.js +1 -1
- package/lib/components/progress-tracker/progress-tracker.style.js +1 -1
- package/lib/components/search/search.style.js +2 -2
- package/lib/components/select/__internal__/select-list/select-list.style.js +1 -1
- package/lib/components/select/__internal__/select-textbox/select-textbox.style.js +1 -1
- package/lib/components/select/__internal__/utils/matching-text.style.js +1 -1
- package/lib/components/select/option-row/option-row.style.js +1 -1
- package/lib/components/step-flow/step-flow-title/step-flow-title.component.js +1 -1
- package/lib/components/step-flow/step-flow.component.js +1 -1
- package/lib/components/switch/__internal__/switch-slider.style.js +1 -1
- package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +1 -1
- package/lib/components/text-editor/__internal__/editor-link/editor-link.style.js +1 -1
- package/lib/components/textbox/__internal__/prefix.style.js +1 -1
- package/lib/components/tile-select/tile-select.style.js +2 -2
- package/lib/components/time/time.style.js +1 -1
- package/lib/components/typography/typography.style.js +2 -2
- package/lib/components/vertical-menu/vertical-menu.style.js +2 -2
- package/lib/style/fonts.css +2 -2
- package/lib/style/global-style.js +6 -6
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ const StyledLegendContent = styled.span`
|
|
|
26
26
|
content: "*";
|
|
27
27
|
line-height: 24px;
|
|
28
28
|
color: var(--colorsSemanticNegative500);
|
|
29
|
-
font-weight: var(--
|
|
29
|
+
font-weight: var(--fontWeights500);
|
|
30
30
|
margin-left: var(--spacing050);
|
|
31
31
|
position: relative;
|
|
32
32
|
top: 1px;
|
|
@@ -58,7 +58,7 @@ const StyledLegend = styled.legend`
|
|
|
58
58
|
align-items: center;
|
|
59
59
|
margin-bottom: var(--spacing100);
|
|
60
60
|
padding: 0;
|
|
61
|
-
font-weight: var(--
|
|
61
|
+
font-weight: var(--fontWeights500);
|
|
62
62
|
color: var(--colorsUtilityYin090);
|
|
63
63
|
${({
|
|
64
64
|
inline,
|
|
@@ -2,7 +2,7 @@ import styled, { css } from "styled-components";
|
|
|
2
2
|
const StyledLabel = styled.label`
|
|
3
3
|
color: var(--colorsUtilityYin090);
|
|
4
4
|
display: block;
|
|
5
|
-
font-weight: var(--
|
|
5
|
+
font-weight: var(--fontWeights500);
|
|
6
6
|
|
|
7
7
|
${({
|
|
8
8
|
isRequired
|
|
@@ -10,7 +10,7 @@ const StyledLabel = styled.label`
|
|
|
10
10
|
::after {
|
|
11
11
|
content: "*";
|
|
12
12
|
color: var(--colorsSemanticNegative500);
|
|
13
|
-
font-weight: var(--
|
|
13
|
+
font-weight: var(--fontWeights500);
|
|
14
14
|
margin-left: var(--spacing050);
|
|
15
15
|
}
|
|
16
16
|
`}
|
|
@@ -4,7 +4,7 @@ const StyledValidationMessage = styled.p`
|
|
|
4
4
|
isWarning
|
|
5
5
|
}) => css`
|
|
6
6
|
color: ${isWarning ? "var(--colorsSemanticCaution600)" : "var(--colorsSemanticNegative500)"};
|
|
7
|
-
font-weight: ${isWarning ? "normal" : "
|
|
7
|
+
font-weight: ${isWarning ? "normal" : "500"};
|
|
8
8
|
margin-top: 0px;
|
|
9
9
|
margin-bottom: 8px;
|
|
10
10
|
`}
|
|
@@ -53,7 +53,7 @@ const StyledAccordionTitle = styled.h3`
|
|
|
53
53
|
size,
|
|
54
54
|
variant
|
|
55
55
|
}) => size === "small" || variant === "subtle" ? "var(--fontSizes200)" : "var(--fontSizes400)"};
|
|
56
|
-
font-weight:
|
|
56
|
+
font-weight: 500;
|
|
57
57
|
line-height: 1;
|
|
58
58
|
user-select: none;
|
|
59
59
|
margin: 0;
|
|
@@ -161,7 +161,7 @@ const StyledAccordionTitleContainer = styled.div`
|
|
|
161
161
|
|
|
162
162
|
${buttonHeading && css`
|
|
163
163
|
box-sizing: border-box;
|
|
164
|
-
font-weight:
|
|
164
|
+
font-weight: 500;
|
|
165
165
|
text-decoration: none;
|
|
166
166
|
font-size: var(--fontSizes100);
|
|
167
167
|
min-height: var(--spacing500);
|
package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js
CHANGED
|
@@ -13,7 +13,7 @@ const StyledNavigationItem = styled.li`
|
|
|
13
13
|
color: var(--colorsUtilityYin090);
|
|
14
14
|
background-color: transparent;
|
|
15
15
|
border-left: var(--sizing050) solid var(--colorsActionMinor100);
|
|
16
|
-
font-weight:
|
|
16
|
+
font-weight: 500;
|
|
17
17
|
padding: 12px 24px;
|
|
18
18
|
border-top-right-radius: var(--borderRadius100);
|
|
19
19
|
border-bottom-right-radius: var(--borderRadius100);
|
|
@@ -263,7 +263,7 @@ const StyledDayPicker = styled.div`
|
|
|
263
263
|
border: none;
|
|
264
264
|
//font-family: var(--fontFamiliesDefault); font assets to be updated part of FE-4975
|
|
265
265
|
//font: var(--typographyDatePickerCalendarDateM); font assets to be updated part of FE-4975
|
|
266
|
-
font-weight: var(--
|
|
266
|
+
font-weight: var(--fontWeights500);
|
|
267
267
|
font-size: var(--fontSizes100);
|
|
268
268
|
line-height: var(--lineHeights500);
|
|
269
269
|
border-radius: var(--borderRadius400);
|
|
@@ -27,7 +27,7 @@ const StyledLegend = styled.legend`
|
|
|
27
27
|
align-items: center;
|
|
28
28
|
margin-bottom: 32px;
|
|
29
29
|
font-size: 20px;
|
|
30
|
-
font-weight: var(--
|
|
30
|
+
font-weight: var(--fontWeights500);
|
|
31
31
|
color: var(--colorsUtilityYin090);
|
|
32
32
|
line-height: 24px;
|
|
33
33
|
margin-right: 4px;
|
|
@@ -39,7 +39,7 @@ const StyledLegend = styled.legend`
|
|
|
39
39
|
content: "*";
|
|
40
40
|
line-height: 24px;
|
|
41
41
|
color: var(--colorsSemanticNegative500);
|
|
42
|
-
font-weight: var(--
|
|
42
|
+
font-weight: var(--fontWeights500);
|
|
43
43
|
margin-left: var(--spacing100);
|
|
44
44
|
position: relative;
|
|
45
45
|
top: 1px;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import StyledIcon from "../../icon/icon.style";
|
|
3
|
-
import StyledButton from "../../button/button.style";
|
|
4
3
|
export const StyledFormSummary = styled.div`
|
|
5
4
|
display: inline-flex;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
6
|
align-items: center;
|
|
7
|
-
|
|
8
|
-
font-
|
|
9
|
-
|
|
10
|
-
padding: 8px;
|
|
11
|
-
white-space: nowrap;
|
|
7
|
+
justify-content: end;
|
|
8
|
+
font-size: var(--fontSizes100);
|
|
9
|
+
font-weight: 500;
|
|
12
10
|
|
|
13
11
|
${({
|
|
14
12
|
fullWidth
|
|
@@ -20,27 +18,30 @@ export const StyledFormSummary = styled.div`
|
|
|
20
18
|
`}
|
|
21
19
|
|
|
22
20
|
${({
|
|
23
|
-
showSummary
|
|
21
|
+
showSummary,
|
|
22
|
+
fullWidth
|
|
24
23
|
}) => showSummary && css`
|
|
25
24
|
background-color: var(--colorsUtilityMajor025);
|
|
25
|
+
border: solid var(--borderWidth100) var(--colorsActionMinor250);
|
|
26
|
+
border-radius: var(--borderRadius100);
|
|
27
|
+
margin: calc(-1 * var(--sizing100)) 0;
|
|
28
|
+
padding: var(--sizing100);
|
|
29
|
+
gap: var(--sizing125);
|
|
30
|
+
|
|
31
|
+
${fullWidth && css`
|
|
32
|
+
margin: 0 calc(-1 * var(--sizing100));
|
|
33
|
+
`}
|
|
26
34
|
`}
|
|
27
|
-
${StyledButton} {
|
|
28
|
-
margin-right: 0;
|
|
29
|
-
}
|
|
30
35
|
`;
|
|
31
36
|
export const StyledMessagePrefix = styled.div`
|
|
32
37
|
&:first-of-type {
|
|
33
|
-
margin-left:
|
|
38
|
+
margin-left: var(--sizing100);
|
|
34
39
|
}
|
|
35
|
-
margin-right: 4px;
|
|
36
40
|
`;
|
|
37
41
|
export const StyledInternalSummary = styled.div`
|
|
38
42
|
display: flex;
|
|
39
43
|
align-items: center;
|
|
40
|
-
|
|
41
|
-
&:last-of-type {
|
|
42
|
-
margin-right: 16px;
|
|
43
|
-
}
|
|
44
|
+
gap: var(--sizing100);
|
|
44
45
|
${({
|
|
45
46
|
type
|
|
46
47
|
}) => type === "warning" && css`
|
|
@@ -53,7 +54,6 @@ export const StyledInternalSummary = styled.div`
|
|
|
53
54
|
`}
|
|
54
55
|
|
|
55
56
|
${StyledIcon} {
|
|
56
|
-
margin-right: 4px;
|
|
57
57
|
${({
|
|
58
58
|
type
|
|
59
59
|
}) => type === "warning" && css`
|
|
@@ -4,7 +4,7 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
import SidebarContext from "../sidebar/__internal__/sidebar.context";
|
|
5
5
|
import ModalContext from "../modal/__internal__/modal.context";
|
|
6
6
|
import FormSummary from "./__internal__/form-summary.component";
|
|
7
|
-
import { StyledForm, StyledFormContent, StyledFormFooter, StyledLeftButtons, StyledRightButtons
|
|
7
|
+
import { StyledForm, StyledFormContent, StyledFormFooter, StyledLeftButtons, StyledRightButtons } from "./form.style";
|
|
8
8
|
import { formSpacing } from "./form.config";
|
|
9
9
|
import FormSpacingProvider from "../../__internal__/form-spacing-provider";
|
|
10
10
|
export const Form = ({
|
|
@@ -54,40 +54,26 @@ export const Form = ({
|
|
|
54
54
|
tabIndex: -1
|
|
55
55
|
}, /*#__PURE__*/React.createElement(FormSpacingProvider, {
|
|
56
56
|
marginBottom: formSpacing[fieldSpacing]
|
|
57
|
-
}, children)),
|
|
57
|
+
}, children)), renderFooter && /*#__PURE__*/React.createElement(StyledFormFooter, _extends({
|
|
58
58
|
"data-element": "form-footer",
|
|
59
59
|
"data-role": "form-footer",
|
|
60
60
|
className: classNames,
|
|
61
61
|
ref: formFooterRef,
|
|
62
62
|
stickyFooter: stickyFooter,
|
|
63
63
|
buttonAlignment: buttonAlignment,
|
|
64
|
+
fullWidthButtons: fullWidthButtons,
|
|
64
65
|
isInModal: isInModal
|
|
65
66
|
}, footerPadding), leftSideButtons && /*#__PURE__*/React.createElement(StyledLeftButtons, {
|
|
66
67
|
"data-role": "form-left-buttons",
|
|
67
68
|
buttonAlignment: buttonAlignment
|
|
68
69
|
}, leftSideButtons), /*#__PURE__*/React.createElement(FormSummary, {
|
|
70
|
+
fullWidth: fullWidthButtons,
|
|
69
71
|
errorCount: errorCount,
|
|
70
72
|
warningCount: warningCount
|
|
71
73
|
}, saveButton), rightSideButtons && /*#__PURE__*/React.createElement(StyledRightButtons, {
|
|
72
74
|
"data-role": "form-right-buttons",
|
|
73
75
|
buttonAlignment: buttonAlignment
|
|
74
|
-
}, rightSideButtons))
|
|
75
|
-
"data-element": "form-footer",
|
|
76
|
-
"data-role": "form-footer",
|
|
77
|
-
className: classNames,
|
|
78
|
-
ref: formFooterRef,
|
|
79
|
-
stickyFooter: stickyFooter,
|
|
80
|
-
buttonAlignment: buttonAlignment,
|
|
81
|
-
fullWidthButtons: fullWidthButtons
|
|
82
|
-
}, footerPadding), leftSideButtons && /*#__PURE__*/React.createElement(StyledLeftButtons, {
|
|
83
|
-
fullWidthButtons: fullWidthButtons
|
|
84
|
-
}, leftSideButtons), rightSideButtons && /*#__PURE__*/React.createElement(StyledRightButtons, {
|
|
85
|
-
fullWidthButtons: fullWidthButtons
|
|
86
|
-
}, rightSideButtons), /*#__PURE__*/React.createElement(StyledFullWidthButtons, null, /*#__PURE__*/React.createElement(FormSummary, {
|
|
87
|
-
fullWidth: fullWidthButtons,
|
|
88
|
-
errorCount: errorCount,
|
|
89
|
-
warningCount: warningCount
|
|
90
|
-
}, saveButton))));
|
|
76
|
+
}, rightSideButtons)));
|
|
91
77
|
};
|
|
92
78
|
Form.displayName = "Form";
|
|
93
79
|
export default Form;
|
|
@@ -16,6 +16,5 @@ interface StyledFormProps extends StyledFormContentProps {
|
|
|
16
16
|
}
|
|
17
17
|
export declare const StyledForm: import("styled-components").StyledComponent<"form", any, StyledFormProps, never>;
|
|
18
18
|
export declare const StyledRightButtons: import("styled-components").StyledComponent<"div", any, ButtonProps, never>;
|
|
19
|
-
export declare const StyledFullWidthButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
20
19
|
export declare const StyledLeftButtons: import("styled-components").StyledComponent<"div", any, ButtonProps, never>;
|
|
21
20
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { space, padding } from "styled-system";
|
|
3
3
|
import StyledFormField from "../../__internal__/form-field/form-field.style";
|
|
4
|
-
import StyledButton from "../button/button.style";
|
|
5
4
|
import baseTheme from "../../style/themes/base";
|
|
6
5
|
import StyledSearch from "../search/search.style";
|
|
7
6
|
import StyledTextarea from "../textarea/textarea.style";
|
|
@@ -20,6 +19,8 @@ export const StyledFormContent = styled.div`
|
|
|
20
19
|
export const StyledFormFooter = styled.div`
|
|
21
20
|
align-items: center;
|
|
22
21
|
display: flex;
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
gap: var(--sizing200);
|
|
23
24
|
|
|
24
25
|
${({
|
|
25
26
|
buttonAlignment
|
|
@@ -97,34 +98,20 @@ export const StyledForm = styled.form`
|
|
|
97
98
|
`;
|
|
98
99
|
export const StyledRightButtons = styled.div`
|
|
99
100
|
display: flex;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}) => fullWidthButtons ? `margin-left: 0px;` : `margin-left: 16px;`}
|
|
101
|
+
gap: var(--sizing200);
|
|
102
|
+
|
|
103
103
|
${({
|
|
104
104
|
buttonAlignment
|
|
105
|
-
}) => buttonAlignment === "left" && "flex-grow: 1"}
|
|
106
|
-
|
|
107
|
-
${StyledButton}:last-child {
|
|
108
|
-
margin-right: 0;
|
|
109
|
-
}
|
|
110
|
-
`;
|
|
111
|
-
export const StyledFullWidthButtons = styled.div`
|
|
112
|
-
width: 100%;
|
|
113
|
-
display: flex;
|
|
105
|
+
}) => buttonAlignment === "left" && "flex-grow: 1;"}
|
|
114
106
|
`;
|
|
115
107
|
export const StyledLeftButtons = styled.div`
|
|
116
108
|
display: flex;
|
|
117
109
|
justify-content: flex-end;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}) => fullWidthButtons ? `margin-right: 0px;` : `margin-right: 16px;`}
|
|
110
|
+
gap: var(--sizing200);
|
|
111
|
+
|
|
121
112
|
${({
|
|
122
113
|
buttonAlignment
|
|
123
|
-
}) => buttonAlignment === "right" && "flex-grow: 1"}
|
|
124
|
-
|
|
125
|
-
${StyledButton}:last-child {
|
|
126
|
-
margin-right: 0;
|
|
127
|
-
}
|
|
114
|
+
}) => buttonAlignment === "right" && "flex-grow: 1;"}
|
|
128
115
|
`;
|
|
129
116
|
StyledForm.defaultProps = {
|
|
130
117
|
theme: baseTheme
|
|
@@ -23,7 +23,7 @@ export const LoaderSpinner = ({
|
|
|
23
23
|
const renderSpinnerLabel = /*#__PURE__*/React.createElement(StyledLabel, {
|
|
24
24
|
"data-role": "visible-label",
|
|
25
25
|
variant: "span",
|
|
26
|
-
fontWeight: "
|
|
26
|
+
fontWeight: "400",
|
|
27
27
|
size: size,
|
|
28
28
|
color: isLabelDark ? "var(--colorsUtilityYin090);" : "var(--colorsActionMajorYang100);",
|
|
29
29
|
fontSize: size === "extra-large" ? "var(--sizing200)" : "var(--sizing175)",
|
|
@@ -16,7 +16,7 @@ const LoaderStar = ({
|
|
|
16
16
|
const label = /*#__PURE__*/React.createElement(StyledLabel, {
|
|
17
17
|
"data-role": "visible-label",
|
|
18
18
|
variant: "span",
|
|
19
|
-
fontWeight: "
|
|
19
|
+
fontWeight: "400"
|
|
20
20
|
}, loaderStarLabel || locale.loaderStar.loading());
|
|
21
21
|
return /*#__PURE__*/React.createElement(StyledLoaderStarWrapper, _extends({
|
|
22
22
|
role: "status"
|
|
@@ -99,7 +99,7 @@ const StyledMenuItemWrapper = styled.a.attrs({
|
|
|
99
99
|
display: flex;
|
|
100
100
|
align-items: center;
|
|
101
101
|
font-size: 14px;
|
|
102
|
-
font-weight:
|
|
102
|
+
font-weight: 500;
|
|
103
103
|
min-height: 40px;
|
|
104
104
|
position: relative;
|
|
105
105
|
box-shadow: none;
|
|
@@ -250,7 +250,7 @@ const StyledMenuItemWrapper = styled.a.attrs({
|
|
|
250
250
|
${StyledLink} a,
|
|
251
251
|
${StyledLink} button,
|
|
252
252
|
${StyledLink} [data-component="icon"] {
|
|
253
|
-
font-weight:
|
|
253
|
+
font-weight: 500;
|
|
254
254
|
text-decoration: none;
|
|
255
255
|
${!hasInput && `color: ${menuConfigVariants[menuType].color};`}
|
|
256
256
|
}
|
|
@@ -41,7 +41,7 @@ const StyledInlineControl = styled.div`
|
|
|
41
41
|
min-width: fit-content;
|
|
42
42
|
`;
|
|
43
43
|
const StyledTitle = styled.header`
|
|
44
|
-
font-weight:
|
|
44
|
+
font-weight: 700;
|
|
45
45
|
font-size: 16px;
|
|
46
46
|
line-height: 21px;
|
|
47
47
|
padding-bottom: 16px;
|
|
@@ -49,7 +49,7 @@ const StyledTitle = styled.header`
|
|
|
49
49
|
const StyledFooterContent = styled.div`
|
|
50
50
|
line-height: 21px;
|
|
51
51
|
align-items: baseline;
|
|
52
|
-
font-weight:
|
|
52
|
+
font-weight: 500;
|
|
53
53
|
|
|
54
54
|
${({
|
|
55
55
|
hasName
|