@transferwise/components 0.0.0-experimental-9b6c3f8 → 0.0.0-experimental-0c7c46a
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/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/common/PropsValues/typography.js +0 -6
- package/build/common/PropsValues/typography.js.map +1 -1
- package/build/common/PropsValues/typography.mjs +0 -6
- package/build/common/PropsValues/typography.mjs.map +1 -1
- package/build/main.css +1533 -2923
- package/build/styles/Accordion/Accordion.css +1 -2
- package/build/styles/Body/Body.css +1 -1
- package/build/styles/Chips/Chip/Chip.css +2 -4
- package/build/styles/Decision/Decision.css +1 -2
- package/build/styles/Inputs/Input/Input.css +66 -62
- package/build/styles/Inputs/TextArea/TextArea.css +66 -62
- package/build/styles/MoneyInput/MoneyInput.css +3 -6
- package/build/styles/Popover/Popover.css +47 -3
- package/build/styles/ProgressBar/ProgressBar.css +1 -2
- package/build/styles/Table/Table.css +5 -15
- package/build/styles/Tile/Tile.css +1 -2
- package/build/styles/Typeahead/Typeahead.css +2 -4
- package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +1 -2
- package/build/styles/_deprecated/Select/Select.css +11 -44
- package/build/styles/css/accordion.css +52 -23
- package/build/styles/css/button-groups.css +8 -29
- package/build/styles/css/buttons.css +2 -26
- package/build/styles/css/decision.css +52 -23
- package/build/styles/css/dropdowns.css +62 -39
- package/build/styles/css/droppable.css +8 -28
- package/build/styles/css/footer.css +14 -41
- package/build/styles/css/input-groups.css +165 -172
- package/build/styles/css/list-group.css +45 -0
- package/build/styles/css/navbar.css +62 -39
- package/build/styles/css/neptune-addons.css +0 -15
- package/build/styles/css/neptune-core.css +526 -250
- package/build/styles/css/neptune.css +1486 -2841
- package/build/styles/css/popovers.css +60 -35
- package/build/styles/css/sequences.css +1 -6
- package/build/styles/css/tooltip.css +7 -27
- package/build/styles/less/neptune-tokens.less +48 -0
- package/build/styles/main.css +1533 -2923
- package/build/styles/props/neptune-tokens.css +1 -802
- package/build/styles/styles/less/accordion.css +52 -23
- package/build/styles/styles/less/button-groups.css +8 -29
- package/build/styles/styles/less/buttons.css +2 -26
- package/build/styles/styles/less/decision.css +52 -23
- package/build/styles/styles/less/dropdowns.css +62 -39
- package/build/styles/styles/less/droppable.css +8 -28
- package/build/styles/styles/less/footer.css +14 -41
- package/build/styles/styles/less/forms/bootstrap-forms.css +91 -137
- package/build/styles/styles/less/input-groups.css +165 -172
- package/build/styles/styles/less/list-group.css +45 -0
- package/build/styles/styles/less/navbar.css +62 -39
- package/build/styles/styles/less/neptune-addons.css +0 -15
- package/build/styles/styles/less/neptune-core.css +526 -250
- package/build/styles/styles/less/neptune.css +1486 -2841
- package/build/styles/styles/less/popovers.css +60 -35
- package/build/styles/styles/less/sequences.css +1 -6
- package/build/styles/styles/less/tooltip.css +7 -27
- package/build/types/common/PropsValues/typography.d.ts +1 -13
- package/build/types/common/PropsValues/typography.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Accordion/Accordion.css +1 -2
- package/src/Accordion/Accordion.less +1 -2
- 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/DayCalendar/Table/DayCalendarTable.tsx +2 -2
- package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
- package/src/Calendar/TableLink/TableLink.tsx +1 -1
- package/src/Chips/Chip/Chip.css +2 -4
- package/src/Chips/Chip/Chip.less +1 -2
- package/src/Decision/Decision.css +1 -2
- package/src/Decision/Decision.less +1 -2
- package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
- package/src/Display/_stories/Display.story.tsx +6 -20
- package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
- package/src/Inputs/Input/Input.css +66 -62
- 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 +66 -62
- package/src/Inputs/_common.less +5 -5
- package/src/Label/Label.tsx +1 -1
- package/src/MoneyInput/MoneyInput.css +3 -6
- package/src/MoneyInput/MoneyInput.less +4 -7
- package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
- package/src/Popover/Popover.css +47 -3
- package/src/Popover/Popover.less +1 -1
- package/src/ProgressBar/ProgressBar.css +1 -2
- package/src/ProgressBar/ProgressBar.less +11 -12
- package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +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 +5 -15
- package/src/Table/Table.less +6 -17
- package/src/Tabs/Tab/Tab.tsx +1 -1
- package/src/Tag/Tag.tsx +1 -1
- package/src/Tag/_stories/Tag.story.tsx +1 -1
- package/src/Tile/Tile.css +1 -2
- package/src/Tile/Tile.less +1 -2
- package/src/Typeahead/Typeahead.css +2 -4
- package/src/Typeahead/Typeahead.less +1 -2
- package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
- package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +2 -2
- package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
- package/src/_deprecated/Avatar/Avatar.tsx +1 -1
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +1 -2
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +1 -2
- package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
- package/src/_deprecated/Select/Select.css +11 -44
- package/src/_deprecated/Select/Select.less +5 -10
- package/src/_deprecated/Select/Select.tsx +2 -2
- package/src/common/PropsValues/typography.ts +1 -20
- package/src/main.css +1533 -2923
- package/src/styles/less/accordion.css +52 -23
- package/src/styles/less/addons/_background-utilities.less +0 -5
- package/src/styles/less/button-groups.css +8 -29
- package/src/styles/less/button-groups.less +2 -3
- package/src/styles/less/buttons.css +2 -26
- package/src/styles/less/buttons.less +1 -1
- package/src/styles/less/core/_typography.less +221 -67
- package/src/styles/less/decision.css +52 -23
- package/src/styles/less/decision.less +2 -2
- package/src/styles/less/dropdowns.css +62 -39
- package/src/styles/less/dropdowns.less +5 -6
- package/src/styles/less/droppable.css +8 -28
- package/src/styles/less/droppable.less +4 -4
- package/src/styles/less/footer.css +14 -41
- package/src/styles/less/footer.less +3 -4
- package/src/styles/less/forms/bootstrap-forms.css +91 -137
- package/src/styles/less/forms/bootstrap-forms.less +57 -70
- package/src/styles/less/input-groups.css +165 -172
- package/src/styles/less/input-groups.less +5 -5
- package/src/styles/less/list-group.css +45 -0
- package/src/styles/less/list-group.less +4 -7
- package/src/styles/less/mixins/_text-emphasis.less +1 -7
- package/src/styles/less/navbar.css +62 -39
- package/src/styles/less/neptune-addons.css +0 -15
- package/src/styles/less/neptune-core.css +526 -250
- package/src/styles/less/neptune.bundle.less +0 -4
- package/src/styles/less/neptune.css +1486 -2841
- package/src/styles/less/popovers.css +60 -35
- package/src/styles/less/popovers.less +3 -3
- package/src/styles/less/sequences.css +1 -6
- package/src/styles/less/sequences.less +2 -7
- package/src/styles/less/tooltip.css +7 -27
- package/src/styles/less/tooltip.less +1 -1
|
@@ -28,7 +28,7 @@ export function SelectInputOptionContent({
|
|
|
28
28
|
<div
|
|
29
29
|
className={clsx(
|
|
30
30
|
'np-select-input-option-content-container',
|
|
31
|
-
(note || description) && '
|
|
31
|
+
(note || description) && 'np-text-body-large',
|
|
32
32
|
className,
|
|
33
33
|
)}
|
|
34
34
|
>
|
|
@@ -52,7 +52,7 @@ export function SelectInputOptionContent({
|
|
|
52
52
|
>
|
|
53
53
|
<div className="d-inline np-select-input-option-content-title">{title}</div>
|
|
54
54
|
{note ? (
|
|
55
|
-
<span className="np-select-input-option-content-text-secondary
|
|
55
|
+
<span className="np-select-input-option-content-text-secondary np-text-body-default">
|
|
56
56
|
{note}
|
|
57
57
|
</span>
|
|
58
58
|
) : null}
|
|
@@ -61,7 +61,7 @@ export function SelectInputOptionContent({
|
|
|
61
61
|
{description ? (
|
|
62
62
|
<div
|
|
63
63
|
className={clsx(
|
|
64
|
-
'np-select-input-option-content-text-secondary
|
|
64
|
+
'np-select-input-option-content-text-secondary np-text-body-default',
|
|
65
65
|
withinTrigger &&
|
|
66
66
|
'np-select-input-option-content-text-within-trigger np-select-input-option-description-in-trigger',
|
|
67
67
|
)}
|
|
@@ -124,9 +124,9 @@ export function SelectInputPopover({
|
|
|
124
124
|
})}
|
|
125
125
|
>
|
|
126
126
|
{title ? (
|
|
127
|
-
<h2 className="np-popover-v2-title
|
|
127
|
+
<h2 className="np-popover-v2-title np-text-title-body">{title}</h2>
|
|
128
128
|
) : null}
|
|
129
|
-
<div className="np-popover-v2-content
|
|
129
|
+
<div className="np-popover-v2-content np-text-body-default">{children}</div>
|
|
130
130
|
</div>
|
|
131
131
|
</div>
|
|
132
132
|
</FloatingFocusManager>
|
|
@@ -1276,7 +1276,7 @@ export const WithBuiltInSearchResultSorting: Story<CountryWithCurrency> = {
|
|
|
1276
1276
|
decorators: [
|
|
1277
1277
|
(Story) => (
|
|
1278
1278
|
<div>
|
|
1279
|
-
<p className="m-b-3
|
|
1279
|
+
<p className="m-b-3 np-text-body-default" style={{ maxWidth: '600px' }}>
|
|
1280
1280
|
This example uses the built-in <code>SelectInput.sortByRelevance</code> helper to sort
|
|
1281
1281
|
filtered results by relevance (You can implement your own). This one prioritises: exact
|
|
1282
1282
|
matches → starts with → contains → alphabetical.
|
|
@@ -1,65 +1,4 @@
|
|
|
1
|
-
.np-form-control
|
|
2
|
-
margin-block-end: initial;
|
|
3
|
-
}
|
|
4
|
-
.np-form-control--size-sm {
|
|
5
|
-
word-wrap: break-word;
|
|
6
|
-
}
|
|
7
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
8
|
-
.np-form-control--size-sm {
|
|
9
|
-
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
10
|
-
}
|
|
11
|
-
@media (min-width: 840px) {
|
|
12
|
-
.np-form-control--size-sm {
|
|
13
|
-
hyphenate-limit-chars: 8 3;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
@media (min-width: 1160px) {
|
|
17
|
-
.np-form-control--size-sm {
|
|
18
|
-
hyphenate-limit-chars: 10 4 3;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
22
|
-
.np-form-control--size-sm {
|
|
23
|
-
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
24
|
-
}
|
|
25
|
-
@media (min-width: 1160px) {
|
|
26
|
-
.np-form-control--size-sm {
|
|
27
|
-
-webkit-hyphenate-limit-before: 4;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}.np-form-control--size-auto,
|
|
31
|
-
.np-form-control--size-md {
|
|
32
|
-
word-wrap: break-word;
|
|
33
|
-
}
|
|
34
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
35
|
-
.np-form-control--size-auto,
|
|
36
|
-
.np-form-control--size-md {
|
|
37
|
-
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
38
|
-
}
|
|
39
|
-
@media (min-width: 840px) {
|
|
40
|
-
.np-form-control--size-auto,
|
|
41
|
-
.np-form-control--size-md {
|
|
42
|
-
hyphenate-limit-chars: 8 3;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
@media (min-width: 1160px) {
|
|
46
|
-
.np-form-control--size-auto,
|
|
47
|
-
.np-form-control--size-md {
|
|
48
|
-
hyphenate-limit-chars: 10 4 3;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
52
|
-
.np-form-control--size-auto,
|
|
53
|
-
.np-form-control--size-md {
|
|
54
|
-
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
55
|
-
}
|
|
56
|
-
@media (min-width: 1160px) {
|
|
57
|
-
.np-form-control--size-auto,
|
|
58
|
-
.np-form-control--size-md {
|
|
59
|
-
-webkit-hyphenate-limit-before: 4;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}.np-form-control {
|
|
1
|
+
.np-form-control {
|
|
63
2
|
--ring-width: 1px;
|
|
64
3
|
--ring-color: var(--color-interactive-secondary);
|
|
65
4
|
border: none;
|
|
@@ -100,6 +39,12 @@
|
|
|
100
39
|
--ring-color: var(--color-interactive-primary);
|
|
101
40
|
}
|
|
102
41
|
.np-form-control--size-auto {
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
font-weight: var(--font-weight-regular);
|
|
44
|
+
font-size: 1rem;
|
|
45
|
+
font-size: var(--font-size-16);
|
|
46
|
+
line-height: 150%;
|
|
47
|
+
letter-spacing: -0.011em;
|
|
103
48
|
word-wrap: break-word;
|
|
104
49
|
padding-block-start: 12px;
|
|
105
50
|
padding-block-start: var(--size-12);
|
|
@@ -141,6 +86,12 @@
|
|
|
141
86
|
padding-block-end: 0 !important;
|
|
142
87
|
}
|
|
143
88
|
.np-form-control--size-sm {
|
|
89
|
+
font-size: 0.875rem;
|
|
90
|
+
font-size: var(--font-size-14);
|
|
91
|
+
line-height: 155%;
|
|
92
|
+
letter-spacing: -0.006em;
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
font-weight: var(--font-weight-regular);
|
|
144
95
|
word-wrap: break-word;
|
|
145
96
|
block-size: 32px !important;
|
|
146
97
|
block-size: var(--size-32) !important;
|
|
@@ -180,6 +131,12 @@
|
|
|
180
131
|
}
|
|
181
132
|
}
|
|
182
133
|
.np-form-control--size-md {
|
|
134
|
+
font-weight: 400;
|
|
135
|
+
font-weight: var(--font-weight-regular);
|
|
136
|
+
font-size: 1rem;
|
|
137
|
+
font-size: var(--font-size-16);
|
|
138
|
+
line-height: 150%;
|
|
139
|
+
letter-spacing: -0.011em;
|
|
183
140
|
word-wrap: break-word;
|
|
184
141
|
block-size: 48px !important;
|
|
185
142
|
block-size: var(--size-48) !important;
|
|
@@ -219,10 +176,57 @@
|
|
|
219
176
|
}
|
|
220
177
|
}
|
|
221
178
|
.np-form-control--size-lg {
|
|
179
|
+
margin: 0;
|
|
180
|
+
color: #37517e;
|
|
181
|
+
color: var(--color-content-primary);
|
|
182
|
+
line-height: 1.2;
|
|
183
|
+
line-height: var(--line-height-title);
|
|
184
|
+
letter-spacing: 0;
|
|
185
|
+
word-wrap: break-word;
|
|
222
186
|
margin-block-end: initial;
|
|
187
|
+
font-size: 1.375rem;
|
|
188
|
+
font-size: var(--font-size-22);
|
|
189
|
+
font-weight: 600;
|
|
190
|
+
font-weight: var(--font-weight-semi-bold);
|
|
191
|
+
letter-spacing: -0.018em;
|
|
192
|
+
line-height: 125%;
|
|
223
193
|
block-size: 72px !important;
|
|
224
194
|
block-size: var(--size-72) !important;
|
|
225
195
|
}
|
|
196
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
197
|
+
.np-form-control--size-lg {
|
|
198
|
+
hyphens: auto;
|
|
199
|
+
hyphenate-limit-chars: 7 3;
|
|
200
|
+
}
|
|
201
|
+
@media (min-width: 840px) {
|
|
202
|
+
.np-form-control--size-lg {
|
|
203
|
+
hyphenate-limit-chars: 8 3;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
@media (min-width: 1160px) {
|
|
207
|
+
.np-form-control--size-lg {
|
|
208
|
+
hyphenate-limit-chars: 10 4 3;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
213
|
+
.np-form-control--size-lg {
|
|
214
|
+
hyphens: auto;
|
|
215
|
+
-webkit-hyphenate-limit-before: 3;
|
|
216
|
+
-webkit-hyphenate-limit-after: 3;
|
|
217
|
+
}
|
|
218
|
+
@media (min-width: 1160px) {
|
|
219
|
+
.np-form-control--size-lg {
|
|
220
|
+
-webkit-hyphenate-limit-before: 4;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
.np-form-control--size-lg + p,
|
|
225
|
+
.np-form-control--size-lg + ul:not(.list-unstyled),
|
|
226
|
+
.np-form-control--size-lg + ol:not(.list-unstyled) {
|
|
227
|
+
margin-block-start: 8px;
|
|
228
|
+
margin-block-start: var(--size-8);
|
|
229
|
+
}
|
|
226
230
|
.np-text-area {
|
|
227
231
|
min-block-size: 72px;
|
|
228
232
|
min-block-size: var(--size-72);
|
package/src/Inputs/_common.less
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import (reference)
|
|
1
|
+
@import (reference) './../styles/less/core/_typography.less';
|
|
2
2
|
|
|
3
3
|
.np-form-control {
|
|
4
4
|
--ring-width: 1px;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&--size-auto {
|
|
43
|
-
.
|
|
43
|
+
.np-text-body-large;
|
|
44
44
|
padding-top: var(--size-12);
|
|
45
45
|
padding-bottom: var(--size-12);
|
|
46
46
|
}
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&--size-sm {
|
|
57
|
-
.
|
|
57
|
+
.np-text-body-default;
|
|
58
58
|
height: var(--size-32) !important;
|
|
59
59
|
@media (--screen-400-zoom) {
|
|
60
60
|
height: var(--size-64) !important;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&--size-md {
|
|
65
|
-
.
|
|
65
|
+
.np-text-body-large;
|
|
66
66
|
height: var(--size-48) !important;
|
|
67
67
|
@media (--screen-400-zoom) {
|
|
68
68
|
height: var(--size-72) !important;
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&--size-lg {
|
|
73
|
-
.
|
|
73
|
+
.np-text-title-subsection;
|
|
74
74
|
height: var(--size-72) !important;
|
|
75
75
|
}
|
|
76
76
|
}
|
package/src/Label/Label.tsx
CHANGED
|
@@ -29,7 +29,7 @@ const Label = forwardRef<HTMLLabelElement, LabelProps>(
|
|
|
29
29
|
id={id}
|
|
30
30
|
htmlFor={htmlFor}
|
|
31
31
|
className={clsx(
|
|
32
|
-
'np-label d-flex flex-column
|
|
32
|
+
'np-label d-flex flex-column np-text-body-default-bold text-primary m-b-0',
|
|
33
33
|
className,
|
|
34
34
|
)}
|
|
35
35
|
>
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
.tw-money-input .tw-money-input__fixed-currency {
|
|
5
5
|
padding-inline-start: 0 !important;
|
|
6
6
|
}
|
|
7
|
-
.tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection
|
|
8
|
-
.tw-money-input .tw-money-input__fixed-currency .wds-text-title-subsection {
|
|
7
|
+
.tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection {
|
|
9
8
|
color: #768e9c;
|
|
10
9
|
color: var(--color-content-tertiary);
|
|
11
10
|
font-weight: 600;
|
|
@@ -21,16 +20,14 @@
|
|
|
21
20
|
.tw-money-input.input-group-sm .form-control {
|
|
22
21
|
min-block-size: 34px;
|
|
23
22
|
}
|
|
24
|
-
.tw-money-input.input-group-sm .np-text-title-subsection
|
|
25
|
-
.tw-money-input.input-group-sm .wds-text-title-subsection {
|
|
23
|
+
.tw-money-input.input-group-sm .np-text-title-subsection {
|
|
26
24
|
font-size: 0.875rem;
|
|
27
25
|
font-size: var(--font-size-14);
|
|
28
26
|
}
|
|
29
27
|
.tw-money-input.input-group-md .form-control {
|
|
30
28
|
min-block-size: 53px;
|
|
31
29
|
}
|
|
32
|
-
.tw-money-input.input-group-md .np-text-title-subsection
|
|
33
|
-
.tw-money-input.input-group-md .wds-text-title-subsection {
|
|
30
|
+
.tw-money-input.input-group-md .np-text-title-subsection {
|
|
34
31
|
font-size: 1rem;
|
|
35
32
|
font-size: var(--font-size-16);
|
|
36
33
|
}
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
.tw-money-input__fixed-currency {
|
|
6
6
|
padding-left: 0 !important;
|
|
7
7
|
|
|
8
|
-
.np-text-title-subsection
|
|
9
|
-
.wds-text-title-subsection {
|
|
8
|
+
.np-text-title-subsection {
|
|
10
9
|
color: var(--color-content-tertiary);
|
|
11
10
|
font-weight: var(--font-weight-semi-bold);
|
|
12
11
|
}
|
|
13
12
|
}
|
|
14
13
|
|
|
15
|
-
.money-input__number-input
|
|
14
|
+
.money-input__number-input{
|
|
16
15
|
[dir="rtl"] & {
|
|
17
16
|
text-align: end;
|
|
18
17
|
}
|
|
@@ -27,8 +26,7 @@
|
|
|
27
26
|
.form-control {
|
|
28
27
|
min-height: 34px;
|
|
29
28
|
}
|
|
30
|
-
.np-text-title-subsection
|
|
31
|
-
.wds-text-title-subsection {
|
|
29
|
+
.np-text-title-subsection {
|
|
32
30
|
font-size: var(--font-size-14);
|
|
33
31
|
}
|
|
34
32
|
}
|
|
@@ -37,8 +35,7 @@
|
|
|
37
35
|
.form-control {
|
|
38
36
|
min-height: 53px;
|
|
39
37
|
}
|
|
40
|
-
.np-text-title-subsection
|
|
41
|
-
.wds-text-title-subsection {
|
|
38
|
+
.np-text-title-subsection {
|
|
42
39
|
font-size: var(--font-size-16);
|
|
43
40
|
}
|
|
44
41
|
}
|
|
@@ -22,7 +22,7 @@ const PocketCard = ({ variant }: { variant?: PocketVariant } = {}) => (
|
|
|
22
22
|
{variant}
|
|
23
23
|
</span>
|
|
24
24
|
)}
|
|
25
|
-
<strong className="
|
|
25
|
+
<strong className="np-text-title-screen" style={{ color: 'inherit' }}>
|
|
26
26
|
Some headline text
|
|
27
27
|
</strong>
|
|
28
28
|
<p style={{ margin: 0 }}>A bit of body copy</p>
|
|
@@ -227,7 +227,7 @@ export const ExposedTokens: Story = {
|
|
|
227
227
|
<PocketSurface key={variant} pocket={variant}>
|
|
228
228
|
<div className="p-a-3">
|
|
229
229
|
<h4
|
|
230
|
-
className="d-block m-b-2 text-capitalize
|
|
230
|
+
className="d-block m-b-2 text-capitalize np-text-title-body"
|
|
231
231
|
style={{ color: 'inherit' }}
|
|
232
232
|
>
|
|
233
233
|
{variant}
|
package/src/Popover/Popover.css
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
2
|
-
margin-block-end: initial;
|
|
3
|
-
}
|
|
4
1
|
.np-theme-personal .np-popover__container {
|
|
5
2
|
border-radius: 16px;
|
|
6
3
|
border-radius: var(--radius-medium);
|
|
@@ -26,7 +23,54 @@
|
|
|
26
23
|
padding: var(--size-24);
|
|
27
24
|
}
|
|
28
25
|
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
26
|
+
margin: 0;
|
|
27
|
+
color: #37517e;
|
|
28
|
+
color: var(--color-content-primary);
|
|
29
|
+
line-height: 1.2;
|
|
30
|
+
line-height: var(--line-height-title);
|
|
31
|
+
letter-spacing: 0;
|
|
32
|
+
word-wrap: break-word;
|
|
29
33
|
margin-block-end: initial;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
font-weight: var(--font-weight-semi-bold);
|
|
36
|
+
font-size: 1.625rem;
|
|
37
|
+
font-size: var(--font-size-26);
|
|
38
|
+
letter-spacing: -0.02em;
|
|
39
|
+
line-height: 122%;
|
|
40
|
+
}
|
|
41
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
42
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
43
|
+
hyphens: auto;
|
|
44
|
+
hyphenate-limit-chars: 7 3;
|
|
45
|
+
}
|
|
46
|
+
@media (min-width: 840px) {
|
|
47
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
48
|
+
hyphenate-limit-chars: 8 3;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
@media (min-width: 1160px) {
|
|
52
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
53
|
+
hyphenate-limit-chars: 10 4 3;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
58
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
59
|
+
hyphens: auto;
|
|
60
|
+
-webkit-hyphenate-limit-before: 3;
|
|
61
|
+
-webkit-hyphenate-limit-after: 3;
|
|
62
|
+
}
|
|
63
|
+
@media (min-width: 1160px) {
|
|
64
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
65
|
+
-webkit-hyphenate-limit-before: 4;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
70
|
+
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
71
|
+
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
|
72
|
+
margin-block-start: 8px;
|
|
73
|
+
margin-block-start: var(--size-8);
|
|
30
74
|
}
|
|
31
75
|
.np-popover__container.np-bottom-sheet .np-popover__content {
|
|
32
76
|
padding-block: 32px;
|
package/src/Popover/Popover.less
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
.np-progress-bar {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
&__title {
|
|
3
|
+
.h4 {
|
|
4
|
+
color: var(--color-content-primary);
|
|
5
|
+
margin-bottom: var(--size-4);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
p {
|
|
5
10
|
color: var(--color-content-primary);
|
|
6
|
-
margin-
|
|
11
|
+
margin-top: var(--size-4);
|
|
12
|
+
font-weight: var(--font-weight-semi-bold);
|
|
7
13
|
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
p {
|
|
11
|
-
color: var(--color-content-primary);
|
|
12
|
-
margin-top: var(--size-4);
|
|
13
|
-
font-weight: var(--font-weight-semi-bold);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
14
|
+
}
|
package/src/Stepper/Stepper.tsx
CHANGED
|
@@ -73,7 +73,7 @@ const Stepper = ({ steps, activeStep = 0, className, testId }: StepperProps) =>
|
|
|
73
73
|
className={clsx(
|
|
74
74
|
'hidden-xs',
|
|
75
75
|
'tw-stepper__step',
|
|
76
|
-
active ? '
|
|
76
|
+
active ? 'np-text-body-default-bold tw-stepper__step--active' : 'np-text-body-default',
|
|
77
77
|
clickable && 'tw-stepper__step--clickable',
|
|
78
78
|
step.hoverLabel && 'tw-stepper__step--has-tooltip',
|
|
79
79
|
)}
|
|
@@ -50,7 +50,7 @@ const TableHeader = ({
|
|
|
50
50
|
// If headers are empty, we still should render empty headers to keep visual consistency
|
|
51
51
|
return (
|
|
52
52
|
<div
|
|
53
|
-
className="np-table-header-content
|
|
53
|
+
className="np-table-header-content np-text-body-default-bold"
|
|
54
54
|
data-testid="np-table-empty-header"
|
|
55
55
|
>
|
|
56
56
|
|
|
@@ -13,7 +13,7 @@ describe('TableStatusText Component', () => {
|
|
|
13
13
|
it('renders the text and applies the default class', () => {
|
|
14
14
|
renderComponent();
|
|
15
15
|
expect(screen.getByText('Status Text')).toBeInTheDocument();
|
|
16
|
-
expect(screen.getByText('Status Text')).toHaveClass('
|
|
16
|
+
expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default');
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
it('applies the custom class name', () => {
|
|
@@ -23,12 +23,12 @@ describe('TableStatusText Component', () => {
|
|
|
23
23
|
|
|
24
24
|
it('applies the default typography class when typography is not provided', () => {
|
|
25
25
|
renderComponent();
|
|
26
|
-
expect(screen.getByText('Status Text')).toHaveClass('
|
|
26
|
+
expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default');
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
it('applies the typography class when typography equals `default-bold`', () => {
|
|
30
30
|
renderComponent({ typography: 'default-bold' });
|
|
31
|
-
expect(screen.getByText('Status Text')).toHaveClass('
|
|
31
|
+
expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default-bold');
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
it('does not render any icon when status is not provided', () => {
|
|
@@ -39,14 +39,14 @@ describe('TableStatusText Component', () => {
|
|
|
39
39
|
|
|
40
40
|
it('applies the typography and status classes, renders the error icon when status equals `error`', () => {
|
|
41
41
|
renderComponent({ status: 'error' });
|
|
42
|
-
expect(screen.getByText('Status Text')).toHaveClass('
|
|
42
|
+
expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default-bold');
|
|
43
43
|
expect(screen.getByText('Status Text')).toHaveClass('np-table-content--error');
|
|
44
44
|
expect(screen.getByTestId('alert-icon')).toBeInTheDocument();
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
it('applies the typography and status classes, renders the success icon when status equals `success`', () => {
|
|
48
48
|
renderComponent({ status: 'success' });
|
|
49
|
-
expect(screen.getByText('Status Text')).toHaveClass('
|
|
49
|
+
expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default-bold');
|
|
50
50
|
expect(screen.getByText('Status Text')).toHaveClass('np-table-content--success');
|
|
51
51
|
expect(screen.getByTestId('check-icon')).toBeInTheDocument();
|
|
52
52
|
});
|
package/src/Table/Table.css
CHANGED
|
@@ -40,16 +40,10 @@
|
|
|
40
40
|
}
|
|
41
41
|
.np-table-inner-container {
|
|
42
42
|
background-image: linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)), linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));
|
|
43
|
-
background-position: left center,
|
|
44
|
-
right center,
|
|
45
|
-
left center,
|
|
46
|
-
right center;
|
|
43
|
+
background-position: left center, right center, left center, right center;
|
|
47
44
|
background-repeat: no-repeat;
|
|
48
45
|
background-color: var(--color-contrast-overlay);
|
|
49
|
-
background-size: 15px 100%,
|
|
50
|
-
15px 100%,
|
|
51
|
-
15px 100%,
|
|
52
|
-
15px 100%;
|
|
46
|
+
background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
|
|
53
47
|
background-attachment: local, local, scroll, scroll;
|
|
54
48
|
overflow-x: auto;
|
|
55
49
|
border-radius: 10px;
|
|
@@ -144,9 +138,7 @@
|
|
|
144
138
|
padding-inline-end: 0;
|
|
145
139
|
}
|
|
146
140
|
.np-table-header.np-table-header--right > .np-text-body-default,
|
|
147
|
-
.np-table-cell.np-table-cell--right > .np-text-body-default
|
|
148
|
-
.np-table-header.np-table-header--right > .wds-text-body-default,
|
|
149
|
-
.np-table-cell.np-table-cell--right > .wds-text-body-default {
|
|
141
|
+
.np-table-cell.np-table-cell--right > .np-text-body-default {
|
|
150
142
|
text-align: end;
|
|
151
143
|
}
|
|
152
144
|
.np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
|
|
@@ -205,8 +197,7 @@
|
|
|
205
197
|
.np-table-cell--primary {
|
|
206
198
|
min-inline-size: 200px;
|
|
207
199
|
}
|
|
208
|
-
.np-table-cell--currency .np-text-body-default
|
|
209
|
-
.np-table-cell--currency .wds-text-body-default {
|
|
200
|
+
.np-table-cell--currency .np-text-body-default {
|
|
210
201
|
white-space: nowrap;
|
|
211
202
|
}
|
|
212
203
|
.np-table-cell .tw-chevron {
|
|
@@ -223,8 +214,7 @@
|
|
|
223
214
|
background-color: var(--color-background-neutral);
|
|
224
215
|
padding: 0;
|
|
225
216
|
}
|
|
226
|
-
.np-table-cell .np-text-body-default-bold
|
|
227
|
-
.np-table-cell .wds-text-body-default-bold {
|
|
217
|
+
.np-table-cell .np-text-body-default-bold {
|
|
228
218
|
display: flex;
|
|
229
219
|
align-items: center;
|
|
230
220
|
color: #37517e;
|
package/src/Table/Table.less
CHANGED
|
@@ -59,18 +59,10 @@
|
|
|
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:
|
|
63
|
-
left center,
|
|
64
|
-
right center,
|
|
65
|
-
left center,
|
|
66
|
-
right center;
|
|
62
|
+
background-position: left center, right center, left center, right center;
|
|
67
63
|
background-repeat: no-repeat;
|
|
68
64
|
background-color: var(--color-contrast-overlay);
|
|
69
|
-
background-size:
|
|
70
|
-
15px 100%,
|
|
71
|
-
15px 100%,
|
|
72
|
-
15px 100%,
|
|
73
|
-
15px 100%;
|
|
65
|
+
background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
|
|
74
66
|
background-attachment: local, local, scroll, scroll;
|
|
75
67
|
overflow-x: auto;
|
|
76
68
|
border-radius: @table-inner-border-radius;
|
|
@@ -196,8 +188,7 @@
|
|
|
196
188
|
|
|
197
189
|
&-header.np-table-header--right,
|
|
198
190
|
&-cell.np-table-cell--right {
|
|
199
|
-
> .np-text-body-default
|
|
200
|
-
> .wds-text-body-default {
|
|
191
|
+
> .np-text-body-default {
|
|
201
192
|
text-align: right;
|
|
202
193
|
}
|
|
203
194
|
}
|
|
@@ -258,8 +249,7 @@
|
|
|
258
249
|
}
|
|
259
250
|
|
|
260
251
|
&--currency {
|
|
261
|
-
.np-text-body-default
|
|
262
|
-
.wds-text-body-default {
|
|
252
|
+
.np-text-body-default {
|
|
263
253
|
white-space: nowrap;
|
|
264
254
|
}
|
|
265
255
|
}
|
|
@@ -276,8 +266,7 @@
|
|
|
276
266
|
padding: 0;
|
|
277
267
|
}
|
|
278
268
|
|
|
279
|
-
.np-text-body-default-bold
|
|
280
|
-
.wds-text-body-default-bold {
|
|
269
|
+
.np-text-body-default-bold {
|
|
281
270
|
display: flex;
|
|
282
271
|
align-items: center;
|
|
283
272
|
color: var(--color-content-primary);
|
|
@@ -317,7 +306,7 @@
|
|
|
317
306
|
&-media {
|
|
318
307
|
flex-shrink: 0;
|
|
319
308
|
}
|
|
320
|
-
|
|
309
|
+
|
|
321
310
|
&-body {
|
|
322
311
|
display: flex;
|
|
323
312
|
flex-direction: column;
|
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 ? 'np-text-body-large-bold' : 'np-text-body-large', {
|
|
53
53
|
'tabs__tab--selected': selected,
|
|
54
54
|
clickable: !disabled,
|
|
55
55
|
disabled,
|
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="np-text-body-default"
|
|
33
33
|
style={{
|
|
34
34
|
color: 'var(--color-content-secondary)',
|
|
35
35
|
textTransform: 'capitalize',
|
package/src/Tile/Tile.css
CHANGED
|
@@ -25,8 +25,7 @@
|
|
|
25
25
|
.np-theme-personal .np-tile.decision:active {
|
|
26
26
|
background-color: var(--color-background-neutral-active);
|
|
27
27
|
}
|
|
28
|
-
.np-theme-personal .np-tile.decision .np-text-body-default
|
|
29
|
-
.np-theme-personal .np-tile.decision .wds-text-body-default {
|
|
28
|
+
.np-theme-personal .np-tile.decision .np-text-body-default {
|
|
30
29
|
color: #5d7079;
|
|
31
30
|
color: var(--color-content-secondary);
|
|
32
31
|
}
|