@transferwise/components 0.0.0-experimental-7a793eb → 0.0.0-experimental-97fe512
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/build/Body/Body.js +1 -1
- package/build/Body/Body.js.map +1 -1
- package/build/Body/Body.mjs +1 -1
- package/build/Body/Body.mjs.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
- package/build/Calendar/TableLink/TableLink.js +1 -1
- package/build/Calendar/TableLink/TableLink.js.map +1 -1
- package/build/Calendar/TableLink/TableLink.mjs +1 -1
- package/build/Calendar/TableLink/TableLink.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
- package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js +1 -1
- package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js.map +1 -1
- package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs +1 -1
- package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js +2 -2
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs +2 -2
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.js +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.mjs +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -3
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -3
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.js +2 -2
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs +2 -2
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
- package/build/Label/Label.js +1 -1
- package/build/Label/Label.js.map +1 -1
- package/build/Label/Label.mjs +1 -1
- package/build/Label/Label.mjs.map +1 -1
- package/build/Stepper/Stepper.js +1 -1
- package/build/Stepper/Stepper.js.map +1 -1
- package/build/Stepper/Stepper.mjs +1 -1
- package/build/Stepper/Stepper.mjs.map +1 -1
- package/build/Table/Header/TableHeader.js +1 -1
- package/build/Table/Header/TableHeader.js.map +1 -1
- package/build/Table/Header/TableHeader.mjs +1 -1
- package/build/Table/Header/TableHeader.mjs.map +1 -1
- package/build/Tabs/Tab/Tab.js +1 -1
- package/build/Tabs/Tab/Tab.js.map +1 -1
- package/build/Tabs/Tab/Tab.mjs +1 -1
- package/build/Tabs/Tab/Tab.mjs.map +1 -1
- package/build/Tag/Tag.js +1 -1
- package/build/Tag/Tag.js.map +1 -1
- package/build/Tag/Tag.mjs +1 -1
- package/build/Tag/Tag.mjs.map +1 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
- package/build/_deprecated/ActionButton/ActionButton.js +1 -1
- package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
- package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
- package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
- package/build/_deprecated/Avatar/Avatar.js +1 -1
- package/build/_deprecated/Avatar/Avatar.js.map +1 -1
- package/build/_deprecated/Avatar/Avatar.mjs +1 -1
- package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
- package/build/_deprecated/Select/Select.js +2 -2
- package/build/_deprecated/Select/Select.js.map +1 -1
- package/build/_deprecated/Select/Select.mjs +2 -2
- package/build/_deprecated/Select/Select.mjs.map +1 -1
- package/build/main.css +157 -153
- package/build/styles/Accordion/Accordion.css +7 -6
- package/build/styles/Body/Body.css +1 -1
- package/build/styles/Calendar/Calendar.css +11 -4
- package/build/styles/Calendar/TableLink/TableLink.css +11 -4
- package/build/styles/Chips/Chip/Chip.css +5 -3
- package/build/styles/Decision/Decision.css +4 -3
- package/build/styles/Emphasis/Emphasis.css +1 -1
- package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
- package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
- package/build/styles/Inputs/Input/Input.css +5 -41
- package/build/styles/Inputs/TextArea/TextArea.css +5 -41
- package/build/styles/Label/Label.css +3 -0
- package/build/styles/Markup/Markup.css +2 -2
- package/build/styles/MoneyInput/MoneyInput.css +9 -6
- package/build/styles/Nudge/Nudge.css +3 -3
- package/build/styles/Popover/Popover.css +1 -37
- package/build/styles/ProgressBar/ProgressBar.css +3 -2
- package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
- package/build/styles/Snackbar/Snackbar.css +1 -1
- package/build/styles/Table/Table.css +18 -8
- package/build/styles/Tabs/Tabs.css +3 -3
- package/build/styles/Tag/Tag.css +1 -1
- package/build/styles/Tile/Tile.css +4 -3
- package/build/styles/Typeahead/Typeahead.css +4 -2
- package/build/styles/UploadInput/UploadInput.css +1 -1
- package/build/styles/_deprecated/ActionButton/ActionButton.css +3 -4
- package/build/styles/_deprecated/Avatar/Avatar.css +2 -2
- package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
- package/build/styles/_deprecated/Select/Select.css +22 -9
- package/build/styles/_deprecated/Summary/Summary.css +2 -2
- package/build/styles/common/Circle/Circle.css +1 -1
- package/build/styles/common/Option/Option.css +4 -4
- package/build/styles/main.css +157 -153
- package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Accordion/Accordion.css +7 -6
- package/src/Accordion/Accordion.less +7 -6
- package/src/Body/Body.css +1 -1
- package/src/Body/Body.less +1 -1
- package/src/Body/Body.test.tsx +4 -4
- package/src/Body/Body.tsx +2 -2
- package/src/Calendar/Calendar.css +11 -4
- package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
- package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
- package/src/Calendar/TableLink/TableLink.css +11 -4
- package/src/Calendar/TableLink/TableLink.less +14 -4
- package/src/Calendar/TableLink/TableLink.tsx +1 -1
- package/src/Chips/Chip/Chip.css +5 -3
- package/src/Chips/Chip/Chip.less +3 -2
- package/src/CircularButton/_stories/CircularButton.story.tsx +6 -16
- package/src/Decision/Decision.css +4 -3
- package/src/Decision/Decision.less +4 -3
- package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
- package/src/Emphasis/Emphasis.css +1 -1
- package/src/Emphasis/Emphasis.less +1 -1
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +2 -1
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +1 -4
- package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
- package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
- package/src/Inputs/Input/Input.css +5 -41
- package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +2 -2
- package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
- package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
- package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +2 -2
- package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
- package/src/Inputs/TextArea/TextArea.css +5 -41
- package/src/Inputs/_common.less +12 -10
- package/src/Label/Label.css +3 -0
- package/src/Label/Label.less +8 -0
- package/src/Label/Label.tsx +1 -1
- package/src/Markup/Markup.css +2 -2
- package/src/Markup/Markup.less +2 -2
- package/src/MoneyInput/MoneyInput.css +9 -6
- package/src/MoneyInput/MoneyInput.less +10 -7
- package/src/Nudge/Nudge.css +3 -3
- package/src/Nudge/Nudge.less +3 -3
- package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
- package/src/Popover/Popover.css +1 -37
- package/src/Popover/Popover.less +2 -2
- package/src/ProgressBar/ProgressBar.css +3 -2
- package/src/ProgressBar/ProgressBar.less +12 -11
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +2 -1
- package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
- package/src/Snackbar/Snackbar.css +1 -1
- package/src/Snackbar/Snackbar.less +1 -1
- package/src/Stepper/Stepper.tsx +1 -1
- package/src/Table/Header/TableHeader.tsx +1 -1
- package/src/Table/StatusText/TableStatusText.test.tsx +5 -5
- package/src/Table/Table.css +18 -8
- package/src/Table/Table.less +20 -9
- package/src/Tabs/Tab/Tab.tsx +1 -1
- package/src/Tabs/Tabs.css +3 -3
- package/src/Tabs/Tabs.less +3 -3
- package/src/Tag/Tag.css +1 -1
- package/src/Tag/Tag.less +1 -1
- package/src/Tag/Tag.tsx +1 -1
- package/src/Tag/_stories/Tag.story.tsx +1 -1
- package/src/Tile/Tile.css +4 -3
- package/src/Tile/Tile.less +4 -3
- package/src/Typeahead/Typeahead.css +4 -2
- package/src/Typeahead/Typeahead.less +2 -1
- package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
- package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +2 -2
- package/src/UploadInput/UploadInput.css +1 -1
- package/src/UploadInput/UploadInput.less +7 -4
- package/src/_deprecated/ActionButton/ActionButton.css +3 -4
- package/src/_deprecated/ActionButton/ActionButton.less +4 -5
- package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
- package/src/_deprecated/Avatar/Avatar.css +2 -2
- package/src/_deprecated/Avatar/Avatar.less +2 -2
- package/src/_deprecated/Avatar/Avatar.tsx +1 -1
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +2 -1
- package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
- package/src/_deprecated/Select/Select.css +22 -9
- package/src/_deprecated/Select/Select.less +14 -10
- package/src/_deprecated/Select/Select.tsx +2 -2
- package/src/_deprecated/Summary/Summary.css +2 -2
- package/src/_deprecated/Summary/Summary.less +2 -2
- package/src/common/Circle/Circle.css +1 -1
- package/src/common/Circle/Circle.less +1 -1
- package/src/common/Option/Option.css +4 -4
- package/src/common/Option/Option.less +4 -4
- package/src/main.css +157 -153
- package/src/main.less +3 -2
package/src/Table/Table.less
CHANGED
|
@@ -59,10 +59,18 @@
|
|
|
59
59
|
linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)),
|
|
60
60
|
linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)),
|
|
61
61
|
linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));
|
|
62
|
-
background-position:
|
|
62
|
+
background-position:
|
|
63
|
+
left center,
|
|
64
|
+
right center,
|
|
65
|
+
left center,
|
|
66
|
+
right center;
|
|
63
67
|
background-repeat: no-repeat;
|
|
64
68
|
background-color: var(--color-contrast-overlay);
|
|
65
|
-
background-size:
|
|
69
|
+
background-size:
|
|
70
|
+
15px 100%,
|
|
71
|
+
15px 100%,
|
|
72
|
+
15px 100%,
|
|
73
|
+
15px 100%;
|
|
66
74
|
background-attachment: local, local, scroll, scroll;
|
|
67
75
|
overflow-x: auto;
|
|
68
76
|
border-radius: @table-inner-border-radius;
|
|
@@ -188,7 +196,8 @@
|
|
|
188
196
|
|
|
189
197
|
&-header.np-table-header--right,
|
|
190
198
|
&-cell.np-table-cell--right {
|
|
191
|
-
> .np-text-body-default
|
|
199
|
+
> .np-text-body-default,
|
|
200
|
+
> .wds-text-body-default {
|
|
192
201
|
text-align: right;
|
|
193
202
|
}
|
|
194
203
|
}
|
|
@@ -222,8 +231,8 @@
|
|
|
222
231
|
padding-top: 5px;
|
|
223
232
|
padding-bottom: 5px;
|
|
224
233
|
white-space: nowrap;
|
|
225
|
-
line-height: var(--line-height-
|
|
226
|
-
letter-spacing: var(--letter-spacing-
|
|
234
|
+
line-height: var(--wds-line-height-title-subsection);
|
|
235
|
+
letter-spacing: var(--wds-letter-spacing-title-subsection);
|
|
227
236
|
}
|
|
228
237
|
|
|
229
238
|
&--error {
|
|
@@ -249,7 +258,8 @@
|
|
|
249
258
|
}
|
|
250
259
|
|
|
251
260
|
&--currency {
|
|
252
|
-
.np-text-body-default
|
|
261
|
+
.np-text-body-default,
|
|
262
|
+
.wds-text-body-default {
|
|
253
263
|
white-space: nowrap;
|
|
254
264
|
}
|
|
255
265
|
}
|
|
@@ -266,7 +276,8 @@
|
|
|
266
276
|
padding: 0;
|
|
267
277
|
}
|
|
268
278
|
|
|
269
|
-
.np-text-body-default-bold
|
|
279
|
+
.np-text-body-default-bold,
|
|
280
|
+
.wds-text-body-default-bold {
|
|
270
281
|
display: flex;
|
|
271
282
|
align-items: center;
|
|
272
283
|
color: var(--color-content-primary);
|
|
@@ -306,11 +317,11 @@
|
|
|
306
317
|
&-media {
|
|
307
318
|
flex-shrink: 0;
|
|
308
319
|
}
|
|
309
|
-
|
|
320
|
+
|
|
310
321
|
&-body {
|
|
311
322
|
display: flex;
|
|
312
323
|
flex-direction: column;
|
|
313
|
-
font-size: var(--font-size-
|
|
324
|
+
font-size: var(--wds-font-size-nav);
|
|
314
325
|
color: var(--color-content-tertiary);
|
|
315
326
|
}
|
|
316
327
|
|
package/src/Tabs/Tab/Tab.tsx
CHANGED
|
@@ -49,7 +49,7 @@ const Tab = forwardRef(function Tab(
|
|
|
49
49
|
return (
|
|
50
50
|
<li
|
|
51
51
|
ref={reference}
|
|
52
|
-
className={clsx('tabs__tab', selected ? '
|
|
52
|
+
className={clsx('tabs__tab', selected ? 'wds-text-body-large-bold' : 'wds-text-body-large', {
|
|
53
53
|
'tabs__tab--selected': selected,
|
|
54
54
|
clickable: !disabled,
|
|
55
55
|
disabled,
|
package/src/Tabs/Tabs.css
CHANGED
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
padding: var(--size-8);
|
|
9
9
|
margin-block-end: -2px;
|
|
10
10
|
color: var(--color-content-primary);
|
|
11
|
-
font-weight: var(--font-weight-
|
|
11
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
12
12
|
transition: color 0.15s ease-in-out;
|
|
13
13
|
}
|
|
14
14
|
.np-theme-personal .tabs__tab {
|
|
15
15
|
color: var(--color-content-secondary);
|
|
16
|
-
font-weight: var(--font-weight-regular);
|
|
16
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
17
17
|
}
|
|
18
18
|
.tabs__tab--selected {
|
|
19
19
|
color: var(--color-content-accent);
|
|
20
20
|
}
|
|
21
21
|
.np-theme-personal .tabs__tab--selected {
|
|
22
22
|
color: var(--color-interactive-primary);
|
|
23
|
-
font-weight: var(--font-weight-
|
|
23
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
24
24
|
}
|
|
25
25
|
.tabs__tab__content {
|
|
26
26
|
border-radius: 2px;
|
package/src/Tabs/Tabs.less
CHANGED
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
padding: var(--size-8);
|
|
17
17
|
margin-bottom: -@line-thickness;
|
|
18
18
|
color: var(--color-content-primary);
|
|
19
|
-
font-weight: var(--font-weight-
|
|
19
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
20
20
|
transition: color @short-transition-duration @transition-timing-function;
|
|
21
21
|
|
|
22
22
|
.np-theme-personal & {
|
|
23
23
|
color: var(--color-content-secondary);
|
|
24
|
-
font-weight: var(--font-weight-regular);
|
|
24
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&--selected {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
.np-theme-personal & {
|
|
31
31
|
color: var(--color-interactive-primary);
|
|
32
|
-
font-weight: var(--font-weight-
|
|
32
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
package/src/Tag/Tag.css
CHANGED
package/src/Tag/Tag.less
CHANGED
package/src/Tag/Tag.tsx
CHANGED
|
@@ -29,7 +29,7 @@ const PHOTO = '../card-payment-bakery.webp';
|
|
|
29
29
|
|
|
30
30
|
const Label = ({ children }: { children: ReactNode }) => (
|
|
31
31
|
<span
|
|
32
|
-
className="
|
|
32
|
+
className="wds-text-body-default"
|
|
33
33
|
style={{
|
|
34
34
|
color: 'var(--color-content-secondary)',
|
|
35
35
|
textTransform: 'capitalize',
|
package/src/Tile/Tile.css
CHANGED
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
.np-theme-personal .np-tile.decision:active {
|
|
23
23
|
background-color: var(--color-background-neutral-active);
|
|
24
24
|
}
|
|
25
|
-
.np-theme-personal .np-tile.decision .np-text-body-default
|
|
25
|
+
.np-theme-personal .np-tile.decision .np-text-body-default,
|
|
26
|
+
.np-theme-personal .np-tile.decision .wds-text-body-default {
|
|
26
27
|
color: var(--color-content-secondary);
|
|
27
28
|
}
|
|
28
29
|
.np-tile.np-decision__tile--fixed-width {
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
}
|
|
51
52
|
.np-tile__description {
|
|
52
53
|
color: var(--color-content-secondary);
|
|
53
|
-
font-weight: var(--font-weight-regular);
|
|
54
|
-
line-height: var(--line-height-body);
|
|
54
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
55
|
+
line-height: var(--wds-line-height-body);
|
|
55
56
|
margin-block-start: var(--size-12);
|
|
56
57
|
}
|
package/src/Tile/Tile.less
CHANGED
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
background-color: var(--color-background-neutral-active);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.np-text-body-default
|
|
31
|
+
.np-text-body-default,
|
|
32
|
+
.wds-text-body-default {
|
|
32
33
|
color: var(--color-content-secondary);
|
|
33
34
|
}
|
|
34
35
|
}
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
|
|
72
73
|
.np-tile__description {
|
|
73
74
|
color: var(--color-content-secondary);
|
|
74
|
-
font-weight: var(--font-weight-regular);
|
|
75
|
-
line-height: var(--line-height-body);
|
|
75
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
76
|
+
line-height: var(--wds-line-height-body);
|
|
76
77
|
margin-top: var(--size-12);
|
|
77
78
|
}
|
|
@@ -168,11 +168,13 @@
|
|
|
168
168
|
.np-theme-personal .typeahead .np-chip {
|
|
169
169
|
margin-block-start: 9px !important;
|
|
170
170
|
}
|
|
171
|
-
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold
|
|
171
|
+
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
|
|
172
|
+
.np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
|
|
172
173
|
padding-inline-end: var(--size-16);
|
|
173
174
|
}
|
|
174
175
|
@media (max-width: 320px) {
|
|
175
|
-
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold
|
|
176
|
+
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
|
|
177
|
+
.np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
|
|
176
178
|
padding-inline-end: var(--size-32);
|
|
177
179
|
}
|
|
178
180
|
}
|
|
@@ -232,7 +232,8 @@
|
|
|
232
232
|
margin-top: 9px !important;
|
|
233
233
|
}
|
|
234
234
|
.np-chip--removable {
|
|
235
|
-
.np-text-body-default-bold
|
|
235
|
+
.np-text-body-default-bold,
|
|
236
|
+
.wds-text-body-default-bold {
|
|
236
237
|
padding-right: var(--size-16);
|
|
237
238
|
@media (--screen-400-zoom) {
|
|
238
239
|
padding-right: var(--size-32);
|
|
@@ -30,10 +30,10 @@ const Option = forwardRef<HTMLLIElement, TypeaheadOptionProps<any>>((props, ref)
|
|
|
30
30
|
>
|
|
31
31
|
<a className="dropdown-item" href="#" tabIndex={-1} onClick={onClick}>
|
|
32
32
|
<Highlight value={label} query={query} />
|
|
33
|
-
{note && <span className="
|
|
33
|
+
{note && <span className="wds-text-body-default m-l-1">{note}</span>}
|
|
34
34
|
{secondary && (
|
|
35
35
|
<Highlight
|
|
36
|
-
className="
|
|
36
|
+
className="wds-text-body-default text-ellipsis"
|
|
37
37
|
value={secondary}
|
|
38
38
|
query={query}
|
|
39
39
|
/>
|
|
@@ -78,8 +78,8 @@ export default class UploadImageStep extends PureComponent<UploadImageStepProps>
|
|
|
78
78
|
<div className="droppable-default-card" aria-hidden={isComplete}>
|
|
79
79
|
<div className="droppable-card-content">
|
|
80
80
|
<div className="m-b-3">{this.getImage()}</div>
|
|
81
|
-
{usLabel && <h4 className="
|
|
82
|
-
{usPlaceholder && <p className="
|
|
81
|
+
{usLabel && <h4 className="wds-text-title-body m-b-1">{usLabel}</h4>}
|
|
82
|
+
{usPlaceholder && <p className="wds-text-body-large m-b-3">{String(usPlaceholder)}</p>}
|
|
83
83
|
<label
|
|
84
84
|
className={`btn btn-primary btn-md ${usDisabled ? 'disabled' : ''}`}
|
|
85
85
|
role="button"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
border-radius: var(--radius-small);
|
|
10
10
|
border-block-end: var(--outerBorder);
|
|
11
11
|
}
|
|
12
|
-
.np-upload-input .np-upload-input__section:has(.np-upload-input__item:last-child.is-interactive:hover):not(:has(.np-upload-input__item-button:hover)) + .np-upload-input__section--uploader .np-upload-input__upload-button::before {
|
|
12
|
+
.np-upload-input .np-upload-input__section:has(.np-upload-input__item:last-child.is-interactive:hover):not( :has(.np-upload-input__item-button:hover)) + .np-upload-input__section--uploader .np-upload-input__upload-button::before {
|
|
13
13
|
inset-inline-start: 0;
|
|
14
14
|
inline-size: 100%;
|
|
15
15
|
inset-block-start: 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import (reference) "./../styles/less/ring.less";
|
|
2
2
|
@import (reference) "./../styles/less/mixins/_links.less";
|
|
3
|
-
@import (reference)
|
|
3
|
+
@import (reference) "./UploadItem/UploadItem.less";
|
|
4
4
|
|
|
5
5
|
.np-upload-input {
|
|
6
6
|
--outerBorder: 1px solid var(--color-interactive-secondary);
|
|
@@ -20,11 +20,14 @@
|
|
|
20
20
|
// if the last item in the file list is interactive (not an error)
|
|
21
21
|
// and the user is hovering over it, then we need to adjust the
|
|
22
22
|
// bottom separator, which happens to be in .np-upload-input__section--uploader
|
|
23
|
-
&:has(.np-upload-input__item:last-child.is-interactive:hover):not(
|
|
24
|
-
|
|
23
|
+
&:has(.np-upload-input__item:last-child.is-interactive:hover):not(
|
|
24
|
+
:has(.np-upload-input__item-button:hover)
|
|
25
|
+
)
|
|
26
|
+
+ .np-upload-input__section--uploader
|
|
27
|
+
.np-upload-input__upload-button::before {
|
|
25
28
|
left: 0;
|
|
26
29
|
width: 100%;
|
|
27
30
|
top: 0;
|
|
28
31
|
}
|
|
29
32
|
}
|
|
30
|
-
}
|
|
33
|
+
}
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
padding-block: var(--size-8);
|
|
5
5
|
padding-inline: var(--size-12);
|
|
6
6
|
transition: color, background-color 0.15s ease-in-out;
|
|
7
|
-
font-weight: var(--font-weight-
|
|
8
|
-
font-size: var(--font-size-
|
|
9
|
-
line-height: var(--line-height-
|
|
10
|
-
border-radius: var(--radius-small);
|
|
7
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
8
|
+
font-size: var(--wds-font-size-body);
|
|
9
|
+
line-height: var(--wds-line-height-body);
|
|
11
10
|
align-items: center;
|
|
12
11
|
color: var(--color-interactive-control);
|
|
13
12
|
background-color: var(--color-interactive-accent);
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
height: var(--size-32);
|
|
6
6
|
padding: var(--size-8) var(--size-12);
|
|
7
7
|
transition: color, background-color 0.15s ease-in-out;
|
|
8
|
-
font-weight: var(--font-weight-
|
|
9
|
-
font-size: var(--font-size-
|
|
10
|
-
line-height: var(--line-height-
|
|
11
|
-
border-radius: var(--radius-small);
|
|
8
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
9
|
+
font-size: var(--wds-font-size-body);
|
|
10
|
+
line-height: var(--wds-line-height-body);
|
|
12
11
|
align-items: center;
|
|
13
12
|
color: var(--color-interactive-control);
|
|
14
13
|
background-color: var(--color-interactive-accent);
|
|
@@ -46,7 +45,7 @@
|
|
|
46
45
|
box-shadow: none;
|
|
47
46
|
border-color: transparent;
|
|
48
47
|
background-color: var(--color-interactive-accent-active);
|
|
49
|
-
|
|
48
|
+
|
|
50
49
|
&.btn-priority-2 {
|
|
51
50
|
background-color: var(--color-background-neutral-active);
|
|
52
51
|
}
|
|
@@ -36,7 +36,7 @@ const ActionButton = forwardRef<HTMLButtonElement, ActionButtonProps>(
|
|
|
36
36
|
type="button"
|
|
37
37
|
className={clsx(
|
|
38
38
|
'np-action-btn',
|
|
39
|
-
'
|
|
39
|
+
'wds-text-body-default-bold',
|
|
40
40
|
priority === Priority.TERTIARY
|
|
41
41
|
? 'btn-priority-3'
|
|
42
42
|
: priority === Priority.SECONDARY
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
.tw-avatar.tw-avatar--initials,
|
|
41
41
|
.tw-avatar.tw-avatar--emoji {
|
|
42
42
|
font-family: Arial, sans-serif;
|
|
43
|
-
font-weight: var(--font-weight-
|
|
43
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
44
44
|
}
|
|
45
45
|
.tw-avatar.tw-avatar--initials,
|
|
46
46
|
.tw-avatar.tw-avatar--icon {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
font-family: Arial, sans-serif;
|
|
52
52
|
}
|
|
53
53
|
.tw-avatar.tw-avatar--branded .tw-avatar__content {
|
|
54
|
-
font-family: var(--font-family-display);
|
|
54
|
+
font-family: var(--wds-font-family-display);
|
|
55
55
|
font-feature-settings: "ss01";
|
|
56
56
|
color: var(--color-dark-charcoal);
|
|
57
57
|
line-height: 1;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
&.tw-avatar--initials,
|
|
56
56
|
&.tw-avatar--emoji {
|
|
57
57
|
font-family: Arial, sans-serif;
|
|
58
|
-
font-weight: var(--font-weight-
|
|
58
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&.tw-avatar--initials,
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&.tw-avatar--branded .tw-avatar__content {
|
|
74
|
-
font-family: var(--font-family-display);
|
|
74
|
+
font-family: var(--wds-font-family-display);
|
|
75
75
|
font-feature-settings: "ss01";
|
|
76
76
|
color: var(--color-dark-charcoal);
|
|
77
77
|
line-height: 1;
|
|
@@ -86,7 +86,7 @@ const Avatar: React.FC<AvatarProps> = ({
|
|
|
86
86
|
className={clsx('tw-avatar', className, `tw-avatar--${size}`, `tw-avatar--${type}`, {
|
|
87
87
|
'tw-avatar--outlined': outlined,
|
|
88
88
|
'tw-avatar--branded': Boolean(backgroundColorFromSeed),
|
|
89
|
-
'
|
|
89
|
+
'wds-text-title-body': type === 'initials',
|
|
90
90
|
})}
|
|
91
91
|
aria-label={ariaLabel}
|
|
92
92
|
>
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
color: var(--color-sentiment-content-primary);
|
|
8
8
|
margin-block-end: 0;
|
|
9
9
|
}
|
|
10
|
-
.critical-comms .alert .np-text-title-body
|
|
10
|
+
.critical-comms .alert .np-text-title-body,
|
|
11
|
+
.critical-comms .alert .wds-text-title-body {
|
|
11
12
|
color: var(--color-sentiment-content-primary);
|
|
12
13
|
}
|
|
13
14
|
.critical-comms .status-circle.negative {
|
|
@@ -74,7 +74,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
74
74
|
render: ({ hasTitleOnly, ...args }: StoryArgs) => (
|
|
75
75
|
<div>
|
|
76
76
|
<div className="m-b-2">
|
|
77
|
-
<div className="title-
|
|
77
|
+
<div className="wds-text-title-body m-b-1">Has Title Only</div>
|
|
78
78
|
<NavigationOption
|
|
79
79
|
{...args}
|
|
80
80
|
content={null}
|
|
@@ -83,7 +83,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
83
83
|
/>
|
|
84
84
|
</div>
|
|
85
85
|
<div className="m-b-2">
|
|
86
|
-
<div className="title-
|
|
86
|
+
<div className="wds-text-title-body m-b-1">Full Content</div>
|
|
87
87
|
<NavigationOption
|
|
88
88
|
{...args}
|
|
89
89
|
content={hasTitleOnly ? null : args.content}
|
|
@@ -92,7 +92,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
92
92
|
/>
|
|
93
93
|
</div>
|
|
94
94
|
<div className="m-b-2">
|
|
95
|
-
<div className="title-
|
|
95
|
+
<div className="wds-text-title-body m-b-1">With Icon</div>
|
|
96
96
|
<NavigationOption
|
|
97
97
|
{...args}
|
|
98
98
|
media={<BankIcon size={24} />}
|
|
@@ -101,7 +101,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
101
101
|
/>
|
|
102
102
|
</div>
|
|
103
103
|
<div className="m-b-2">
|
|
104
|
-
<div className="title-
|
|
104
|
+
<div className="wds-text-title-body m-b-1">With Icon Avatar</div>
|
|
105
105
|
<NavigationOption
|
|
106
106
|
{...args}
|
|
107
107
|
showMediaCircle={false}
|
|
@@ -115,7 +115,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
115
115
|
/>
|
|
116
116
|
</div>
|
|
117
117
|
<div className="m-b-2">
|
|
118
|
-
<div className="title-
|
|
118
|
+
<div className="wds-text-title-body m-b-1">With Contact Avatar</div>
|
|
119
119
|
<NavigationOption
|
|
120
120
|
{...args}
|
|
121
121
|
showMediaCircle={false}
|
|
@@ -125,7 +125,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
125
125
|
/>
|
|
126
126
|
</div>
|
|
127
127
|
<div className="m-t-4 m-b-2">
|
|
128
|
-
<div className="title-
|
|
128
|
+
<div className="wds-text-title-body m-b-1">Not recommended usage</div>
|
|
129
129
|
<p>
|
|
130
130
|
Rendering an Avatar on top of showMediaCircle causes the Avatar background-colour and the
|
|
131
131
|
circle background-colour to overlap which also causes clipping issues with the Badge
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
border: 1px solid var(--color-interactive-secondary);
|
|
30
30
|
border-radius: var(--radius-small);
|
|
31
31
|
color: var(--color-content-primary);
|
|
32
|
-
font-weight: var(--font-weight-regular);
|
|
32
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
33
33
|
overflow: hidden;
|
|
34
34
|
padding-inline-start: var(--size-16);
|
|
35
35
|
text-align: start;
|
|
@@ -213,8 +213,12 @@
|
|
|
213
213
|
.np-dropdown-menu > .selected > a strong {
|
|
214
214
|
color: inherit;
|
|
215
215
|
}
|
|
216
|
+
.np-dropdown-menu > .active > a .body-2,
|
|
217
|
+
.np-dropdown-menu > .selected > a .body-2,
|
|
216
218
|
.np-dropdown-menu > .active > a .np-text-body-default,
|
|
217
|
-
.np-dropdown-menu > .selected > a .np-text-body-default
|
|
219
|
+
.np-dropdown-menu > .selected > a .np-text-body-default,
|
|
220
|
+
.np-dropdown-menu > .active > a .wds-text-body-default,
|
|
221
|
+
.np-dropdown-menu > .selected > a .wds-text-body-default {
|
|
218
222
|
color: #c9cbce;
|
|
219
223
|
}
|
|
220
224
|
.np-dropdown-menu .np-select-filter,
|
|
@@ -230,12 +234,12 @@
|
|
|
230
234
|
.np-dropdown-menu .np-dropdown-header {
|
|
231
235
|
padding-block: var(--size-8);
|
|
232
236
|
padding-inline: var(--size-16);
|
|
237
|
+
white-space: nowrap;
|
|
233
238
|
color: var(--color-content-secondary);
|
|
234
239
|
display: block;
|
|
235
|
-
font-size: var(--font-size-
|
|
236
|
-
font-weight: var(--font-weight-regular);
|
|
237
|
-
line-height: var(--line-height-body);
|
|
238
|
-
white-space: nowrap;
|
|
240
|
+
font-size: var(--wds-font-size-body);
|
|
241
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
242
|
+
line-height: var(--wds-line-height-body);
|
|
239
243
|
}
|
|
240
244
|
.np-select .tw-icon,
|
|
241
245
|
.np-dropdown-menu .tw-icon,
|
|
@@ -246,7 +250,9 @@
|
|
|
246
250
|
vertical-align: middle;
|
|
247
251
|
}
|
|
248
252
|
.np-select .np-text-body-default,
|
|
249
|
-
.np-dropdown-menu .np-text-body-default
|
|
253
|
+
.np-dropdown-menu .np-text-body-default,
|
|
254
|
+
.np-select .wds-text-body-default,
|
|
255
|
+
.np-dropdown-menu .wds-text-body-default {
|
|
250
256
|
color: var(--color-content-secondary);
|
|
251
257
|
}
|
|
252
258
|
.np-select .tw-icon-search,
|
|
@@ -304,7 +310,13 @@
|
|
|
304
310
|
.np-theme-personal .np-dropdown-menu .active a:focus .np-text-body-default,
|
|
305
311
|
.np-theme-personal .np-dropdown-menu .selected a:focus .np-text-body-default,
|
|
306
312
|
.np-theme-personal .np-dropdown-menu .active a:hover .np-text-body-default,
|
|
307
|
-
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default
|
|
313
|
+
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default,
|
|
314
|
+
.np-theme-personal .np-dropdown-menu .active a .wds-text-body-default,
|
|
315
|
+
.np-theme-personal .np-dropdown-menu .selected a .wds-text-body-default,
|
|
316
|
+
.np-theme-personal .np-dropdown-menu .active a:focus .wds-text-body-default,
|
|
317
|
+
.np-theme-personal .np-dropdown-menu .selected a:focus .wds-text-body-default,
|
|
318
|
+
.np-theme-personal .np-dropdown-menu .active a:hover .wds-text-body-default,
|
|
319
|
+
.np-theme-personal .np-dropdown-menu .selected a:hover .wds-text-body-default {
|
|
308
320
|
color: var(--color-interactive-primary);
|
|
309
321
|
}
|
|
310
322
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active {
|
|
@@ -312,7 +324,8 @@
|
|
|
312
324
|
background-color: var(--color-background-neutral-active) !important;
|
|
313
325
|
}
|
|
314
326
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .body-2,
|
|
315
|
-
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default
|
|
327
|
+
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default,
|
|
328
|
+
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .wds-text-body-default {
|
|
316
329
|
color: var(--color-interactive-primary);
|
|
317
330
|
}
|
|
318
331
|
.np-theme-personal .np-dropdown-menu .np-dropdown-item {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
border: 1px solid var(--color-interactive-secondary);
|
|
19
19
|
border-radius: var(--radius-small);
|
|
20
20
|
color: var(--color-content-primary);
|
|
21
|
-
font-weight: var(--font-weight-regular);
|
|
21
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
padding-left: var(--size-16);
|
|
24
24
|
text-align: left;
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
border-radius: var(--radius-small);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.
|
|
173
|
+
.wds-text-body-default;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
> li:first-child > a {
|
|
@@ -215,7 +215,9 @@
|
|
|
215
215
|
color: inherit;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.
|
|
218
|
+
.body-2,
|
|
219
|
+
.np-text-body-default,
|
|
220
|
+
.wds-text-body-default {
|
|
219
221
|
color: @color-navy-content-secondary;
|
|
220
222
|
}
|
|
221
223
|
}
|
|
@@ -238,10 +240,9 @@
|
|
|
238
240
|
white-space: nowrap;
|
|
239
241
|
color: var(--color-content-secondary);
|
|
240
242
|
display: block;
|
|
241
|
-
font-size: var(--font-size-
|
|
242
|
-
font-weight: var(--font-weight-regular);
|
|
243
|
-
line-height: var(--line-height-body);
|
|
244
|
-
white-space: nowrap;
|
|
243
|
+
font-size: var(--wds-font-size-body);
|
|
244
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
245
|
+
line-height: var(--wds-line-height-body);
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
248
|
|
|
@@ -255,7 +256,8 @@
|
|
|
255
256
|
vertical-align: middle;
|
|
256
257
|
}
|
|
257
258
|
|
|
258
|
-
.np-text-body-default
|
|
259
|
+
.np-text-body-default,
|
|
260
|
+
.wds-text-body-default {
|
|
259
261
|
color: var(--color-content-secondary);
|
|
260
262
|
}
|
|
261
263
|
|
|
@@ -313,7 +315,8 @@
|
|
|
313
315
|
background-color: var(--color-background-neutral-active);
|
|
314
316
|
|
|
315
317
|
.body-2,
|
|
316
|
-
.np-text-body-default
|
|
318
|
+
.np-text-body-default,
|
|
319
|
+
.wds-text-body-default {
|
|
317
320
|
color: var(--color-interactive-primary);
|
|
318
321
|
}
|
|
319
322
|
}
|
|
@@ -324,7 +327,8 @@
|
|
|
324
327
|
background-color: var(--color-background-neutral-active) !important;
|
|
325
328
|
|
|
326
329
|
.body-2,
|
|
327
|
-
.np-text-body-default
|
|
330
|
+
.np-text-body-default,
|
|
331
|
+
.wds-text-body-default {
|
|
328
332
|
color: var(--color-interactive-primary);
|
|
329
333
|
}
|
|
330
334
|
}
|
|
@@ -457,7 +457,7 @@ export default function Select({
|
|
|
457
457
|
function HeaderOption({ children }: { children?: React.ReactNode }) {
|
|
458
458
|
return (
|
|
459
459
|
<li // eslint-disable-line jsx-a11y/no-noninteractive-element-interactions
|
|
460
|
-
className={clsx(s('np-dropdown-header'), s('
|
|
460
|
+
className={clsx(s('np-dropdown-header'), s('wds-text-title-group'))}
|
|
461
461
|
onClick={stopPropagation}
|
|
462
462
|
onKeyPress={stopPropagation}
|
|
463
463
|
>
|
|
@@ -562,7 +562,7 @@ export default function Select({
|
|
|
562
562
|
htmlType="button"
|
|
563
563
|
className={clsx(
|
|
564
564
|
s('np-dropdown-toggle'),
|
|
565
|
-
s('
|
|
565
|
+
s('wds-text-body-large'),
|
|
566
566
|
inverse ? s('np-dropdown-toggle-navy') : null,
|
|
567
567
|
)}
|
|
568
568
|
// reset Button's styles
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.np-summary__title {
|
|
8
8
|
margin-block-start: 2px;
|
|
9
9
|
line-height: calc(22 / 16);
|
|
10
|
-
font-weight: var(--font-weight-
|
|
10
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
11
11
|
justify-content: space-between;
|
|
12
12
|
margin-block-start: 0;
|
|
13
13
|
}
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
.np-summary__description {
|
|
46
46
|
margin-block-start: var(--size-4);
|
|
47
|
-
font-size: var(--font-size-
|
|
47
|
+
font-size: var(--wds-font-size-body);
|
|
48
48
|
line-height: calc(20 / 14);
|
|
49
49
|
color: var(--color-content-secondary);
|
|
50
50
|
padding-inline-end: calc(var(--size-24) + var(--size-8));
|