@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
|
@@ -1,36 +1,4 @@
|
|
|
1
|
-
.
|
|
2
|
-
.popover-content {
|
|
3
|
-
word-wrap: break-word;
|
|
4
|
-
}
|
|
5
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
6
|
-
.popover,
|
|
7
|
-
.popover-content {
|
|
8
|
-
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
9
|
-
}
|
|
10
|
-
@media (min-width: 840px) {
|
|
11
|
-
.popover,
|
|
12
|
-
.popover-content {
|
|
13
|
-
hyphenate-limit-chars: 8 3;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
@media (min-width: 1160px) {
|
|
17
|
-
.popover,
|
|
18
|
-
.popover-content {
|
|
19
|
-
hyphenate-limit-chars: 10 4 3;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
23
|
-
.popover,
|
|
24
|
-
.popover-content {
|
|
25
|
-
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
26
|
-
}
|
|
27
|
-
@media (min-width: 1160px) {
|
|
28
|
-
.popover,
|
|
29
|
-
.popover-content {
|
|
30
|
-
-webkit-hyphenate-limit-before: 4;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}.close {
|
|
1
|
+
.close {
|
|
34
2
|
float: inline-end;
|
|
35
3
|
color: #0097c7;
|
|
36
4
|
color: var(--color-content-accent);
|
|
@@ -98,6 +66,12 @@ button.close {
|
|
|
98
66
|
word-break: normal;
|
|
99
67
|
word-spacing: normal;
|
|
100
68
|
word-wrap: normal;
|
|
69
|
+
font-size: 0.875rem;
|
|
70
|
+
font-size: var(--font-size-14);
|
|
71
|
+
line-height: 155%;
|
|
72
|
+
letter-spacing: -0.006em;
|
|
73
|
+
font-weight: 400;
|
|
74
|
+
font-weight: var(--font-weight-regular);
|
|
101
75
|
word-wrap: break-word;
|
|
102
76
|
background-color: #ffffff;
|
|
103
77
|
background-color: var(--color-background-screen);
|
|
@@ -284,8 +258,20 @@ button.close {
|
|
|
284
258
|
margin-inline: 0;
|
|
285
259
|
}
|
|
286
260
|
.popover-title {
|
|
287
|
-
margin: 0;
|
|
288
261
|
padding: 0;
|
|
262
|
+
margin: 0;
|
|
263
|
+
color: #37517e;
|
|
264
|
+
color: var(--color-content-primary);
|
|
265
|
+
line-height: 1.2;
|
|
266
|
+
line-height: var(--line-height-title);
|
|
267
|
+
letter-spacing: 0;
|
|
268
|
+
word-wrap: break-word;
|
|
269
|
+
font-size: 1.125rem;
|
|
270
|
+
font-size: var(--font-size-18);
|
|
271
|
+
font-weight: 600;
|
|
272
|
+
font-weight: var(--font-weight-semi-bold);
|
|
273
|
+
letter-spacing: -0.014em;
|
|
274
|
+
line-height: 135%;
|
|
289
275
|
background-color: #ffffff;
|
|
290
276
|
background-color: var(--color-background-screen);
|
|
291
277
|
border-block-end: 0;
|
|
@@ -293,11 +279,50 @@ button.close {
|
|
|
293
279
|
border-start-end-radius: 2px;
|
|
294
280
|
border-end-end-radius: 0;
|
|
295
281
|
border-end-start-radius: 0;
|
|
296
|
-
color: #37517e !important;
|
|
297
282
|
color: var(--color-content-primary) !important;
|
|
298
283
|
}
|
|
284
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
285
|
+
.popover-title {
|
|
286
|
+
hyphens: auto;
|
|
287
|
+
hyphenate-limit-chars: 7 3;
|
|
288
|
+
}
|
|
289
|
+
@media (min-width: 840px) {
|
|
290
|
+
.popover-title {
|
|
291
|
+
hyphenate-limit-chars: 8 3;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
@media (min-width: 1160px) {
|
|
295
|
+
.popover-title {
|
|
296
|
+
hyphenate-limit-chars: 10 4 3;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
301
|
+
.popover-title {
|
|
302
|
+
hyphens: auto;
|
|
303
|
+
-webkit-hyphenate-limit-before: 3;
|
|
304
|
+
-webkit-hyphenate-limit-after: 3;
|
|
305
|
+
}
|
|
306
|
+
@media (min-width: 1160px) {
|
|
307
|
+
.popover-title {
|
|
308
|
+
-webkit-hyphenate-limit-before: 4;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
.popover-title + p,
|
|
313
|
+
.popover-title + ul:not(.list-unstyled),
|
|
314
|
+
.popover-title + ol:not(.list-unstyled) {
|
|
315
|
+
margin-block-start: 8px;
|
|
316
|
+
margin-block-start: var(--size-8);
|
|
317
|
+
}
|
|
299
318
|
.popover-content {
|
|
300
319
|
padding: 0;
|
|
320
|
+
font-size: 0.875rem;
|
|
321
|
+
font-size: var(--font-size-14);
|
|
322
|
+
line-height: 155%;
|
|
323
|
+
letter-spacing: -0.006em;
|
|
324
|
+
font-weight: 400;
|
|
325
|
+
font-weight: var(--font-weight-regular);
|
|
301
326
|
word-wrap: break-word;
|
|
302
327
|
color: #5d7079;
|
|
303
328
|
color: var(--color-content-secondary);
|
|
@@ -131,10 +131,6 @@
|
|
|
131
131
|
.sequence > li .h2,
|
|
132
132
|
.sequence > li .h3,
|
|
133
133
|
.sequence > li .h4,
|
|
134
|
-
.sequence > li .wds-text-title-screen,
|
|
135
|
-
.sequence > li .wds-text-title-section,
|
|
136
|
-
.sequence > li .wds-text-title-subsection,
|
|
137
|
-
.sequence > li .wds-text-title-body,
|
|
138
134
|
.sequence > li .btn-toolbar {
|
|
139
135
|
margin-block-end: 16px;
|
|
140
136
|
}
|
|
@@ -225,8 +221,7 @@
|
|
|
225
221
|
}
|
|
226
222
|
.sequence-inverse > .active .small,
|
|
227
223
|
.sequence-inverse > .active .body-2,
|
|
228
|
-
.sequence-inverse > .active .np-text-body-default
|
|
229
|
-
.sequence-inverse > .active .wds-text-body-default {
|
|
224
|
+
.sequence-inverse > .active .np-text-body-default {
|
|
230
225
|
color: #5d7079;
|
|
231
226
|
color: var(--color-content-secondary);
|
|
232
227
|
}
|
|
@@ -1,30 +1,4 @@
|
|
|
1
|
-
.tooltip
|
|
2
|
-
word-wrap: break-word;
|
|
3
|
-
}
|
|
4
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
5
|
-
.tooltip-inner {
|
|
6
|
-
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
7
|
-
}
|
|
8
|
-
@media (min-width: 840px) {
|
|
9
|
-
.tooltip-inner {
|
|
10
|
-
hyphenate-limit-chars: 8 3;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
@media (min-width: 1160px) {
|
|
14
|
-
.tooltip-inner {
|
|
15
|
-
hyphenate-limit-chars: 10 4 3;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
19
|
-
.tooltip-inner {
|
|
20
|
-
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
21
|
-
}
|
|
22
|
-
@media (min-width: 1160px) {
|
|
23
|
-
.tooltip-inner {
|
|
24
|
-
-webkit-hyphenate-limit-before: 4;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}.tooltip {
|
|
1
|
+
.tooltip {
|
|
28
2
|
position: absolute;
|
|
29
3
|
z-index: 1070;
|
|
30
4
|
display: block;
|
|
@@ -71,6 +45,12 @@
|
|
|
71
45
|
padding-inline: 5px;
|
|
72
46
|
}
|
|
73
47
|
.tooltip-inner {
|
|
48
|
+
font-size: 0.875rem;
|
|
49
|
+
font-size: var(--font-size-14);
|
|
50
|
+
line-height: 155%;
|
|
51
|
+
letter-spacing: -0.006em;
|
|
52
|
+
font-weight: 400;
|
|
53
|
+
font-weight: var(--font-weight-regular);
|
|
74
54
|
word-wrap: break-word;
|
|
75
55
|
max-inline-size: 200px;
|
|
76
56
|
min-inline-size: 120px;
|
|
@@ -6,13 +6,7 @@ export declare enum Typography {
|
|
|
6
6
|
DISPLAY_LARGE = "display-large",
|
|
7
7
|
DISPLAY_MEDIUM = "display-medium",
|
|
8
8
|
DISPLAY_SMALL = "display-small",
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated Use {@link Typography.DISPLAY_NUMBER_SMALL} instead.
|
|
11
|
-
*/
|
|
12
9
|
DISPLAY_NUMBER = "display-number",
|
|
13
|
-
DISPLAY_NUMBER_SMALL = "display-number-small",
|
|
14
|
-
DISPLAY_NUMBER_MEDIUM = "display-number-medium",
|
|
15
|
-
DISPLAY_NUMBER_LARGE = "display-number-large",
|
|
16
10
|
TITLE_SCREEN = "title-screen",
|
|
17
11
|
TITLE_SECTION = "title-section",
|
|
18
12
|
TITLE_SUBSECTION = "title-subsection",
|
|
@@ -32,14 +26,8 @@ export type DisplayExtraLarge = 'display-extra-large';
|
|
|
32
26
|
export type DisplayLarge = 'display-large';
|
|
33
27
|
export type DisplayMedium = 'display-medium';
|
|
34
28
|
export type DisplaySmall = 'display-small';
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated Use {@link DisplayNumberSmall} instead.
|
|
37
|
-
*/
|
|
38
29
|
export type DisplayNumber = 'display-number';
|
|
39
|
-
export type
|
|
40
|
-
export type DisplayNumberMedium = 'display-number-medium';
|
|
41
|
-
export type DisplayNumberLarge = 'display-number-large';
|
|
42
|
-
export type DisplayTypes = DisplayExtraLarge | DisplayLarge | DisplayMedium | DisplaySmall | DisplayNumber | DisplayNumberSmall | DisplayNumberMedium | DisplayNumberLarge;
|
|
30
|
+
export type DisplayTypes = DisplayExtraLarge | DisplayLarge | DisplayMedium | DisplaySmall | DisplayNumber;
|
|
43
31
|
export type TitleScreen = 'title-screen';
|
|
44
32
|
export type TitleSection = 'title-section';
|
|
45
33
|
export type TitleSubsection = 'title-subsection';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/common/PropsValues/typography.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB;;OAEG;IACH,mBAAmB,wBAAwB;IAC3C,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/common/PropsValues/typography.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB;;OAEG;IACH,mBAAmB,wBAAwB;IAC3C,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IAEjC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IAEnC,UAAU,eAAe;IACzB,YAAY,iBAAiB;CAC9B;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AACtD,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAC3C,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC;AAC7C,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAC3C,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC;AAE7C,MAAM,MAAM,YAAY,GACtB,iBAAiB,GAAG,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,aAAa,CAAC;AAElF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC;AACzC,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAC3C,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC;AACrC,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAE/F,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC;AACzC,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAC9C,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAClD,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC;AAErC,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,SAAS,GAAG,eAAe,CAAC;AAElF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC;AACzC,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC;AAErC,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAEhD,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,YAAY,GACZ,eAAe,GACf,SAAS,GACT,UAAU,GACV,WAAW,GACX,aAAa,GACb,eAAe,GACf,SAAS,GACT,WAAW,GACX,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
background-color: transparent;
|
|
10
10
|
}
|
|
11
11
|
.np-accordion-item.np-accordion-item--dark .media-body,
|
|
12
|
-
.np-accordion-item.np-accordion-item--dark .np-text-title-body
|
|
13
|
-
.np-accordion-item.np-accordion-item--dark .wds-text-title-body {
|
|
12
|
+
.np-accordion-item.np-accordion-item--dark .np-text-title-body {
|
|
14
13
|
color: #ffffff;
|
|
15
14
|
}
|
|
16
15
|
.np-accordion-item__content {
|
package/src/Body/Body.css
CHANGED
package/src/Body/Body.less
CHANGED
package/src/Body/Body.test.tsx
CHANGED
|
@@ -9,7 +9,7 @@ describe('Body', () => {
|
|
|
9
9
|
const copy = screen.getByText('Test');
|
|
10
10
|
expect(copy).toBeInTheDocument();
|
|
11
11
|
expect(copy.tagName).toBe('DIV');
|
|
12
|
-
expect(copy).toHaveClass(`
|
|
12
|
+
expect(copy).toHaveClass(`np-text-${Typography.BODY_DEFAULT}`);
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
it('enforces tag via `as` prop', () => {
|
|
@@ -17,7 +17,7 @@ describe('Body', () => {
|
|
|
17
17
|
const copy = screen.getByText('Test');
|
|
18
18
|
expect(copy).toBeInTheDocument();
|
|
19
19
|
expect(copy.tagName).toBe('P');
|
|
20
|
-
expect(copy).toHaveClass(`
|
|
20
|
+
expect(copy).toHaveClass(`np-text-${Typography.BODY_DEFAULT}`);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
it('supports native HTML attrs', () => {
|
|
@@ -35,7 +35,7 @@ describe('Body', () => {
|
|
|
35
35
|
it('renders newlines as line breaks when preserveNewlines is true', () => {
|
|
36
36
|
render(<Body preserveNewlines>{'Line 1.\nLine 2'}</Body>);
|
|
37
37
|
const copy = screen.getByText(/Line 1\.\s*Line 2/);
|
|
38
|
-
expect(copy).toHaveClass('
|
|
38
|
+
expect(copy).toHaveClass('np-text--pre-line');
|
|
39
39
|
expect(copy).toHaveTextContent('Line 1.');
|
|
40
40
|
expect(copy).toHaveTextContent('Line 2');
|
|
41
41
|
});
|
|
@@ -47,6 +47,6 @@ describe('Body', () => {
|
|
|
47
47
|
const copy = screen.getByText('Test');
|
|
48
48
|
expect(copy).toBeInTheDocument();
|
|
49
49
|
expect(copy.tagName).toBe('DIV');
|
|
50
|
-
expect(copy).toHaveClass(`
|
|
50
|
+
expect(copy).toHaveClass(`np-text-${Typography.BODY_DEFAULT}`);
|
|
51
51
|
});
|
|
52
52
|
});
|
package/src/Body/Body.tsx
CHANGED
|
@@ -41,8 +41,8 @@ const Body = forwardRef(function Body(
|
|
|
41
41
|
// See: https://fettblog.eu/typescript-react-generic-forward-refs/
|
|
42
42
|
ref={reference}
|
|
43
43
|
className={clsx(
|
|
44
|
-
`
|
|
45
|
-
preserveNewlines && '
|
|
44
|
+
`np-text-${isTypeSupported ? type : DEFAULT_TYPE}`,
|
|
45
|
+
preserveNewlines && 'np-text--pre-line',
|
|
46
46
|
className,
|
|
47
47
|
)}
|
|
48
48
|
/>
|
|
@@ -134,8 +134,8 @@ class DayCalendarTable extends PureComponent<DayCalendarTableProps> {
|
|
|
134
134
|
key={day}
|
|
135
135
|
className={
|
|
136
136
|
index > 4
|
|
137
|
-
? 'text-xs-center
|
|
138
|
-
: 'text-xs-center
|
|
137
|
+
? 'text-xs-center np-text-body-default'
|
|
138
|
+
: 'text-xs-center np-text-body-default-bold'
|
|
139
139
|
}
|
|
140
140
|
>
|
|
141
141
|
<span className="hidden-xs">
|
|
@@ -76,7 +76,7 @@ const MonthCalendarTable = ({
|
|
|
76
76
|
})();
|
|
77
77
|
|
|
78
78
|
return (
|
|
79
|
-
<table className="table table-condensed table-bordered tw-date-lookup-calendar
|
|
79
|
+
<table className="table table-condensed table-bordered tw-date-lookup-calendar np-text-body-default-bold m-b-0">
|
|
80
80
|
<thead className="sr-only">
|
|
81
81
|
<tr>
|
|
82
82
|
<th colSpan={COLS}>{placeholder}</th>
|
|
@@ -96,7 +96,7 @@ const TableLink = ({
|
|
|
96
96
|
aria-pressed={active}
|
|
97
97
|
className={clsx(
|
|
98
98
|
`wds-Calendar__option--${type}`,
|
|
99
|
-
`tw-date-lookup-${type}-option
|
|
99
|
+
`tw-date-lookup-${type}-option np-text-body-default-bold`,
|
|
100
100
|
{ active: !!active },
|
|
101
101
|
{ today: !!today },
|
|
102
102
|
{ disabled: !!isUnavailable },
|
package/src/Chips/Chip/Chip.css
CHANGED
|
@@ -134,14 +134,12 @@
|
|
|
134
134
|
.np-theme-personal .np-chip.np-chip--removable {
|
|
135
135
|
position: relative;
|
|
136
136
|
}
|
|
137
|
-
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold
|
|
138
|
-
.np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
|
|
137
|
+
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
|
|
139
138
|
padding-inline-end: 24px;
|
|
140
139
|
padding-inline-end: var(--size-24);
|
|
141
140
|
}
|
|
142
141
|
@media (max-width: 320px) {
|
|
143
|
-
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold
|
|
144
|
-
.np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
|
|
142
|
+
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
|
|
145
143
|
padding-inline-end: 48px;
|
|
146
144
|
padding-inline-end: var(--size-48);
|
|
147
145
|
}
|
package/src/Chips/Chip/Chip.less
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
.np-decision .decision {
|
|
2
2
|
display: flex;
|
|
3
3
|
}
|
|
4
|
-
.np-decision__tile--small .np-text-title-subsection
|
|
5
|
-
.np-decision__tile--small .wds-text-title-subsection {
|
|
4
|
+
.np-decision__tile--small .np-text-title-subsection {
|
|
6
5
|
font-size: 1rem;
|
|
7
6
|
font-size: var(--font-size-16);
|
|
8
7
|
line-height: 1.2;
|
|
@@ -118,40 +118,26 @@ export const Basic = () => {
|
|
|
118
118
|
export const Numbers = () => {
|
|
119
119
|
return (
|
|
120
120
|
<>
|
|
121
|
-
<Title type={Typography.TITLE_SCREEN}>Display Number
|
|
121
|
+
<Title type={Typography.TITLE_SCREEN}>Display Number</Title>
|
|
122
122
|
<hr />
|
|
123
|
-
<Display type={Typography.
|
|
123
|
+
<Display type={Typography.DISPLAY_NUMBER}>
|
|
124
124
|
<Money amount={1050.6} currency="UAH" />
|
|
125
125
|
</Display>
|
|
126
126
|
<hr />
|
|
127
|
-
<Display type={Typography.
|
|
127
|
+
<Display type={Typography.DISPLAY_NUMBER}>
|
|
128
128
|
<Money amount={10.17} currency="JPY" />
|
|
129
129
|
</Display>
|
|
130
|
-
|
|
131
|
-
<Title type={Typography.TITLE_SCREEN}>Display Number Medium</Title>
|
|
132
130
|
<hr />
|
|
133
|
-
<Display type={Typography.
|
|
131
|
+
<Display type={Typography.DISPLAY_NUMBER}>
|
|
134
132
|
<Money amount={0.01} currency="EUR" />
|
|
135
133
|
</Display>
|
|
136
134
|
<hr />
|
|
137
|
-
<Display type={Typography.
|
|
135
|
+
<Display type={Typography.DISPLAY_NUMBER}>
|
|
138
136
|
<Money amount={1000000} currency="EUR" />
|
|
139
137
|
</Display>
|
|
140
|
-
|
|
141
|
-
<Title type={Typography.TITLE_SCREEN}>Display Number Large</Title>
|
|
142
|
-
<hr />
|
|
143
|
-
<Display type={Typography.DISPLAY_NUMBER_LARGE}>
|
|
144
|
-
<Money amount={1000000} currency="GBP" />
|
|
145
|
-
</Display>
|
|
146
|
-
<hr />
|
|
147
|
-
<Display type={Typography.DISPLAY_NUMBER_LARGE}>
|
|
148
|
-
<Money amount={1050.6} currency="UAH" />
|
|
149
|
-
</Display>
|
|
150
|
-
|
|
151
|
-
<Title type={Typography.TITLE_SCREEN}>Display Number (Deprecated)</Title>
|
|
152
138
|
<hr />
|
|
153
139
|
<Display type={Typography.DISPLAY_NUMBER}>
|
|
154
|
-
<Money amount={
|
|
140
|
+
<Money amount={1000000} currency="GBP" />
|
|
155
141
|
</Display>
|
|
156
142
|
</>
|
|
157
143
|
);
|
|
@@ -40,7 +40,7 @@ const AnimatedLabel = ({ activeLabel, className, steps }: AnimatedLabelProps) =>
|
|
|
40
40
|
className={clsx(
|
|
41
41
|
'np-animated-label',
|
|
42
42
|
'btn-unstyled',
|
|
43
|
-
'
|
|
43
|
+
'np-text-body-large-bold',
|
|
44
44
|
className,
|
|
45
45
|
)}
|
|
46
46
|
onClick={() => setShowSteps(true)}
|
|
@@ -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-input::-moz-placeholder {
|
|
227
231
|
color: #768e9c;
|
|
228
232
|
color: var(--color-content-tertiary);
|
|
@@ -122,9 +122,9 @@ export function SelectInputBottomSheet({
|
|
|
122
122
|
)}
|
|
123
123
|
>
|
|
124
124
|
{title ? (
|
|
125
|
-
<h2 className="np-bottom-sheet-v2-title
|
|
125
|
+
<h2 className="np-bottom-sheet-v2-title np-text-title-body">{title}</h2>
|
|
126
126
|
) : null}
|
|
127
|
-
<div className="np-bottom-sheet-v2-body
|
|
127
|
+
<div className="np-bottom-sheet-v2-body np-text-body-default">
|
|
128
128
|
{children}
|
|
129
129
|
</div>
|
|
130
130
|
</div>
|
|
@@ -34,7 +34,7 @@ export function SelectInputOption<T = string>({
|
|
|
34
34
|
disabled={disabled}
|
|
35
35
|
className={({ active, disabled: uiDisabled }) =>
|
|
36
36
|
clsx(
|
|
37
|
-
'np-select-input-option-container
|
|
37
|
+
'np-select-input-option-container np-text-body-large',
|
|
38
38
|
active && 'np-select-input-option-container--active',
|
|
39
39
|
uiDisabled && 'np-select-input-option-container--disabled',
|
|
40
40
|
)
|