@transferwise/components 0.0.0-experimental-74e7404 → 0.0.0-experimental-4560f77
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 +6 -0
- package/build/common/PropsValues/typography.js.map +1 -1
- package/build/common/PropsValues/typography.mjs +6 -0
- package/build/common/PropsValues/typography.mjs.map +1 -1
- package/build/main.css +2907 -1535
- package/build/styles/Accordion/Accordion.css +2 -1
- package/build/styles/Body/Body.css +1 -1
- package/build/styles/Chips/Chip/Chip.css +4 -2
- package/build/styles/Decision/Decision.css +2 -1
- package/build/styles/Inputs/Input/Input.css +62 -66
- package/build/styles/Inputs/TextArea/TextArea.css +62 -66
- package/build/styles/MoneyInput/MoneyInput.css +6 -3
- package/build/styles/Popover/Popover.css +3 -47
- package/build/styles/ProgressBar/ProgressBar.css +2 -1
- package/build/styles/Table/Table.css +15 -5
- package/build/styles/Tile/Tile.css +2 -1
- package/build/styles/Typeahead/Typeahead.css +4 -2
- package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
- package/build/styles/_deprecated/Select/Select.css +44 -11
- package/build/styles/css/accordion.css +23 -52
- package/build/styles/css/button-groups.css +29 -8
- package/build/styles/css/buttons.css +26 -2
- package/build/styles/css/decision.css +23 -52
- package/build/styles/css/dropdowns.css +39 -62
- package/build/styles/css/droppable.css +28 -8
- package/build/styles/css/footer.css +41 -14
- package/build/styles/css/input-groups.css +172 -165
- package/build/styles/css/list-group.css +0 -45
- package/build/styles/css/navbar.css +39 -62
- package/build/styles/css/neptune-addons.css +15 -0
- package/build/styles/css/neptune-core.css +250 -526
- package/build/styles/css/neptune.css +2759 -1422
- package/build/styles/css/popovers.css +35 -60
- package/build/styles/css/sequences.css +6 -1
- package/build/styles/css/tooltip.css +27 -7
- package/build/styles/less/neptune-tokens.less +0 -48
- package/build/styles/main.css +2907 -1535
- package/build/styles/props/neptune-tokens.css +793 -1
- package/build/styles/styles/less/accordion.css +23 -52
- package/build/styles/styles/less/button-groups.css +29 -8
- package/build/styles/styles/less/buttons.css +26 -2
- package/build/styles/styles/less/decision.css +23 -52
- package/build/styles/styles/less/dropdowns.css +39 -62
- package/build/styles/styles/less/droppable.css +28 -8
- package/build/styles/styles/less/footer.css +41 -14
- package/build/styles/styles/less/forms/bootstrap-forms.css +137 -91
- package/build/styles/styles/less/input-groups.css +172 -165
- package/build/styles/styles/less/list-group.css +0 -45
- package/build/styles/styles/less/navbar.css +39 -62
- package/build/styles/styles/less/neptune-addons.css +15 -0
- package/build/styles/styles/less/neptune-core.css +250 -526
- package/build/styles/styles/less/neptune.css +2759 -1422
- package/build/styles/styles/less/popovers.css +35 -60
- package/build/styles/styles/less/sequences.css +6 -1
- package/build/styles/styles/less/tooltip.css +27 -7
- package/build/types/Body/Body.d.ts +2 -2
- package/build/types/IconButton/IconButton.d.ts +1 -1
- package/build/types/MoneyInput/MoneyInput.d.ts +1 -1
- package/build/types/MoneyInput/MoneyInput.d.ts.map +1 -1
- package/build/types/Title/Title.d.ts +2 -2
- package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts +1 -1
- package/build/types/UploadInput/UploadItem/UploadItemLink.d.ts +1 -1
- package/build/types/common/PropsValues/typography.d.ts +13 -1
- package/build/types/common/PropsValues/typography.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Accordion/Accordion.css +2 -1
- package/src/Accordion/Accordion.less +2 -1
- 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 +4 -2
- package/src/Chips/Chip/Chip.less +2 -1
- package/src/Decision/Decision.css +2 -1
- package/src/Decision/Decision.less +2 -1
- package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
- package/src/Display/_stories/Display.story.tsx +20 -6
- package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
- package/src/Inputs/Input/Input.css +62 -66
- 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 +62 -66
- package/src/Inputs/_common.less +5 -5
- package/src/Label/Label.tsx +1 -1
- package/src/MoneyInput/MoneyInput.css +6 -3
- package/src/MoneyInput/MoneyInput.less +7 -4
- package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
- package/src/Popover/Popover.css +3 -47
- package/src/Popover/Popover.less +1 -1
- package/src/ProgressBar/ProgressBar.css +2 -1
- package/src/ProgressBar/ProgressBar.less +12 -11
- 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 +15 -5
- package/src/Table/Table.less +17 -6
- 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 +2 -1
- package/src/Tile/Tile.less +2 -1
- 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/_deprecated/ActionButton/ActionButton.tsx +1 -1
- 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 +44 -11
- package/src/_deprecated/Select/Select.less +10 -5
- package/src/_deprecated/Select/Select.tsx +2 -2
- package/src/common/PropsValues/typography.ts +20 -1
- package/src/main.css +2907 -1535
- package/src/styles/less/accordion.css +23 -52
- package/src/styles/less/addons/_background-utilities.less +5 -0
- package/src/styles/less/button-groups.css +29 -8
- package/src/styles/less/button-groups.less +3 -2
- package/src/styles/less/buttons.css +26 -2
- package/src/styles/less/buttons.less +1 -1
- package/src/styles/less/core/_typography.less +67 -221
- package/src/styles/less/decision.css +23 -52
- package/src/styles/less/decision.less +2 -2
- package/src/styles/less/dropdowns.css +39 -62
- package/src/styles/less/dropdowns.less +6 -5
- package/src/styles/less/droppable.css +28 -8
- package/src/styles/less/droppable.less +4 -4
- package/src/styles/less/footer.css +41 -14
- package/src/styles/less/footer.less +4 -3
- package/src/styles/less/forms/bootstrap-forms.css +137 -91
- package/src/styles/less/forms/bootstrap-forms.less +70 -57
- package/src/styles/less/input-groups.css +172 -165
- package/src/styles/less/input-groups.less +5 -5
- package/src/styles/less/list-group.css +0 -45
- package/src/styles/less/list-group.less +7 -4
- package/src/styles/less/mixins/_text-emphasis.less +7 -1
- package/src/styles/less/navbar.css +39 -62
- package/src/styles/less/neptune-addons.css +15 -0
- package/src/styles/less/neptune-core.css +250 -526
- package/src/styles/less/neptune.bundle.less +4 -0
- package/src/styles/less/neptune.css +2759 -1422
- package/src/styles/less/popovers.css +35 -60
- package/src/styles/less/popovers.less +3 -3
- package/src/styles/less/sequences.css +6 -1
- package/src/styles/less/sequences.less +7 -2
- package/src/styles/less/tooltip.css +27 -7
- package/src/styles/less/tooltip.less +1 -1
|
@@ -36,78 +36,49 @@
|
|
|
36
36
|
.np-theme-personal .chevron-color {
|
|
37
37
|
color: var(--color-interactive-primary);
|
|
38
38
|
}
|
|
39
|
-
.
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
margin-block-end: 0 !important;
|
|
42
|
-
border: 0;
|
|
43
|
-
align-items: center;
|
|
44
|
-
transition: background-color ease 350ms;
|
|
45
|
-
background-color: transparent;
|
|
46
|
-
display: block;
|
|
47
|
-
}
|
|
48
|
-
.decision:not(.np-option):focus-visible,
|
|
49
|
-
.decision:not(.np-option):has(:focus-visible) {
|
|
50
|
-
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
51
|
-
outline-offset: 0;
|
|
52
|
-
outline-offset: var(--ring-outline-offset);
|
|
53
|
-
--ring-outline-offset: 0;
|
|
54
|
-
}
|
|
55
|
-
.decision__title {
|
|
56
|
-
margin: 0;
|
|
57
|
-
color: #37517e;
|
|
58
|
-
color: var(--color-content-primary);
|
|
59
|
-
line-height: 1.2;
|
|
60
|
-
line-height: var(--line-height-title);
|
|
61
|
-
letter-spacing: 0;
|
|
39
|
+
.decision__content {
|
|
62
40
|
word-wrap: break-word;
|
|
63
|
-
font-size: 1.125rem;
|
|
64
|
-
font-size: var(--font-size-18);
|
|
65
|
-
font-weight: 600;
|
|
66
|
-
font-weight: var(--font-weight-semi-bold);
|
|
67
|
-
letter-spacing: -0.014em;
|
|
68
|
-
line-height: 135%;
|
|
69
41
|
}
|
|
70
42
|
@supports (hyphenate-limit-chars: 1) {
|
|
71
|
-
.
|
|
72
|
-
hyphens: auto;
|
|
73
|
-
hyphenate-limit-chars: 7 3;
|
|
43
|
+
.decision__content {
|
|
44
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
74
45
|
}
|
|
75
46
|
@media (min-width: 840px) {
|
|
76
|
-
.
|
|
47
|
+
.decision__content {
|
|
77
48
|
hyphenate-limit-chars: 8 3;
|
|
78
49
|
}
|
|
79
50
|
}
|
|
80
51
|
@media (min-width: 1160px) {
|
|
81
|
-
.
|
|
52
|
+
.decision__content {
|
|
82
53
|
hyphenate-limit-chars: 10 4 3;
|
|
83
54
|
}
|
|
84
55
|
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
hyphens: auto;
|
|
89
|
-
-webkit-hyphenate-limit-before: 3;
|
|
90
|
-
-webkit-hyphenate-limit-after: 3;
|
|
56
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
57
|
+
.decision__content {
|
|
58
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
91
59
|
}
|
|
92
60
|
@media (min-width: 1160px) {
|
|
93
|
-
.
|
|
61
|
+
.decision__content {
|
|
94
62
|
-webkit-hyphenate-limit-before: 4;
|
|
95
63
|
}
|
|
96
64
|
}
|
|
65
|
+
}.decision {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
margin-block-end: 0 !important;
|
|
68
|
+
border: 0;
|
|
69
|
+
align-items: center;
|
|
70
|
+
transition: background-color ease 350ms;
|
|
71
|
+
background-color: transparent;
|
|
72
|
+
display: block;
|
|
97
73
|
}
|
|
98
|
-
.
|
|
99
|
-
.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
74
|
+
.decision:not(.np-option):focus-visible,
|
|
75
|
+
.decision:not(.np-option):has(:focus-visible) {
|
|
76
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
77
|
+
outline-offset: 0;
|
|
78
|
+
outline-offset: var(--ring-outline-offset);
|
|
79
|
+
--ring-outline-offset: 0;
|
|
103
80
|
}
|
|
104
81
|
.decision__content {
|
|
105
|
-
font-size: 0.875rem;
|
|
106
|
-
font-size: var(--font-size-14);
|
|
107
|
-
line-height: 155%;
|
|
108
|
-
letter-spacing: -0.006em;
|
|
109
|
-
font-weight: 400;
|
|
110
|
-
font-weight: var(--font-weight-regular);
|
|
111
82
|
word-wrap: break-word;
|
|
112
83
|
margin-block-start: 4px;
|
|
113
84
|
margin-block-start: var(--size-4);
|
|
@@ -76,6 +76,11 @@
|
|
|
76
76
|
.np-text-title-subsection,
|
|
77
77
|
.np-text-title-body,
|
|
78
78
|
.np-text-title-group,
|
|
79
|
+
.wds-text-title-screen,
|
|
80
|
+
.wds-text-title-section,
|
|
81
|
+
.wds-text-title-subsection,
|
|
82
|
+
.wds-text-title-body,
|
|
83
|
+
.wds-text-title-group,
|
|
79
84
|
strong {
|
|
80
85
|
color: @color-navy-content-primary;
|
|
81
86
|
}
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
.btn-group
|
|
1
|
+
.btn-group .secondary {
|
|
2
|
+
word-wrap: break-word;
|
|
3
|
+
}
|
|
4
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
5
|
+
.btn-group .secondary {
|
|
6
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
7
|
+
}
|
|
8
|
+
@media (min-width: 840px) {
|
|
9
|
+
.btn-group .secondary {
|
|
10
|
+
hyphenate-limit-chars: 8 3;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
@media (min-width: 1160px) {
|
|
14
|
+
.btn-group .secondary {
|
|
15
|
+
hyphenate-limit-chars: 10 4 3;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
19
|
+
.btn-group .secondary {
|
|
20
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1160px) {
|
|
23
|
+
.btn-group .secondary {
|
|
24
|
+
-webkit-hyphenate-limit-before: 4;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}.btn-group,
|
|
2
28
|
.btn-group-vertical {
|
|
3
29
|
position: relative;
|
|
4
30
|
display: inline-block;
|
|
@@ -334,8 +360,9 @@
|
|
|
334
360
|
.btn-group .btn-input + .dropdown-menu > li > a {
|
|
335
361
|
white-space: normal;
|
|
336
362
|
}
|
|
337
|
-
.btn-group .np-text-body-default,
|
|
338
363
|
.btn-group .body-2,
|
|
364
|
+
.btn-group .np-text-body-default,
|
|
365
|
+
.btn-group .wds-text-body-default,
|
|
339
366
|
.btn-group .small {
|
|
340
367
|
color: #5d7079;
|
|
341
368
|
color: var(--color-content-secondary);
|
|
@@ -346,12 +373,6 @@
|
|
|
346
373
|
}
|
|
347
374
|
}
|
|
348
375
|
.btn-group .secondary {
|
|
349
|
-
font-size: 0.875rem;
|
|
350
|
-
font-size: var(--font-size-14);
|
|
351
|
-
line-height: 155%;
|
|
352
|
-
letter-spacing: -0.006em;
|
|
353
|
-
font-weight: 400;
|
|
354
|
-
font-weight: var(--font-weight-regular);
|
|
355
376
|
word-wrap: break-word;
|
|
356
377
|
color: #5d7079;
|
|
357
378
|
color: var(--color-content-secondary);
|
|
@@ -404,8 +404,9 @@
|
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
.np-text-body-default,
|
|
408
407
|
.body-2,
|
|
408
|
+
.np-text-body-default,
|
|
409
|
+
.wds-text-body-default,
|
|
409
410
|
.small {
|
|
410
411
|
color: var(--color-content-secondary);
|
|
411
412
|
}
|
|
@@ -418,7 +419,7 @@
|
|
|
418
419
|
}
|
|
419
420
|
|
|
420
421
|
.btn-group .secondary {
|
|
421
|
-
.
|
|
422
|
+
.wds-text-body-default;
|
|
422
423
|
|
|
423
424
|
color: var(--color-content-secondary);
|
|
424
425
|
}
|
|
@@ -2,8 +2,32 @@
|
|
|
2
2
|
block-size: 32px;
|
|
3
3
|
}
|
|
4
4
|
.btn {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
word-wrap: break-word;
|
|
6
|
+
}
|
|
7
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
8
|
+
.btn {
|
|
9
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
10
|
+
}
|
|
11
|
+
@media (min-width: 840px) {
|
|
12
|
+
.btn {
|
|
13
|
+
hyphenate-limit-chars: 8 3;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
@media (min-width: 1160px) {
|
|
17
|
+
.btn {
|
|
18
|
+
hyphenate-limit-chars: 10 4 3;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
22
|
+
.btn {
|
|
23
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 1160px) {
|
|
26
|
+
.btn {
|
|
27
|
+
-webkit-hyphenate-limit-before: 4;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}.btn {
|
|
7
31
|
word-wrap: break-word;
|
|
8
32
|
display: inline-block;
|
|
9
33
|
margin-block-end: 0;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// TITLE
|
|
8
8
|
|
|
9
|
-
/* DEPRECATED: use
|
|
9
|
+
/* DEPRECATED: use `.wds-text-*` instead */
|
|
10
10
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
11
11
|
.h1,
|
|
12
12
|
.h2,
|
|
@@ -32,8 +32,6 @@ h6,
|
|
|
32
32
|
.np-text-title-group {
|
|
33
33
|
margin: 0;
|
|
34
34
|
color: var(--color-content-primary);
|
|
35
|
-
line-height: var(--line-height-title);
|
|
36
|
-
letter-spacing: 0;
|
|
37
35
|
.np-text-hyphenated;
|
|
38
36
|
|
|
39
37
|
+ p,
|
|
@@ -43,86 +41,76 @@ h6,
|
|
|
43
41
|
}
|
|
44
42
|
}
|
|
45
43
|
|
|
46
|
-
/* DEPRECATED: use
|
|
44
|
+
/* DEPRECATED: use `.wds-text-title-screen` instead */
|
|
47
45
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
48
46
|
.h1,
|
|
49
47
|
.title-1,
|
|
50
48
|
h1,
|
|
51
|
-
.np-text-title-screen
|
|
49
|
+
.np-text-title-screen,
|
|
50
|
+
.wds-text-title-screen {
|
|
51
|
+
&:extend(.wds-text-title-screen);
|
|
52
52
|
margin-bottom: initial;
|
|
53
|
-
font-size: var(--font-size-30);
|
|
54
|
-
font-weight: var(--font-weight-semi-bold);
|
|
55
|
-
letter-spacing: -0.021em;
|
|
56
|
-
line-height: 115%;
|
|
57
53
|
}
|
|
58
54
|
|
|
59
|
-
/* DEPRECATED: use
|
|
55
|
+
/* DEPRECATED: use `.wds-text-title-section` instead */
|
|
60
56
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
61
57
|
.h2,
|
|
62
58
|
.title-2,
|
|
63
59
|
h2,
|
|
64
|
-
.np-text-title-section
|
|
60
|
+
.np-text-title-section,
|
|
61
|
+
.wds-text-title-section {
|
|
62
|
+
&:extend(.wds-text-title-section);
|
|
65
63
|
margin-bottom: initial;
|
|
66
|
-
font-weight: var(--font-weight-semi-bold);
|
|
67
|
-
font-size: var(--font-size-26);
|
|
68
|
-
letter-spacing: -0.02em;
|
|
69
|
-
line-height: 122%;
|
|
70
64
|
}
|
|
71
65
|
|
|
72
|
-
/* DEPRECATED: use
|
|
66
|
+
/* DEPRECATED: use `.wds-text-title-subsection` instead */
|
|
73
67
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
74
68
|
.h3,
|
|
75
69
|
.title-3,
|
|
76
70
|
h3,
|
|
77
|
-
.np-text-title-subsection
|
|
71
|
+
.np-text-title-subsection,
|
|
72
|
+
.wds-text-title-subsection {
|
|
73
|
+
&:extend(.wds-text-title-subsection);
|
|
78
74
|
margin-bottom: initial;
|
|
79
|
-
font-size: var(--font-size-22);
|
|
80
|
-
font-weight: var(--font-weight-semi-bold);
|
|
81
|
-
letter-spacing: -0.018em;
|
|
82
|
-
line-height: 125%;
|
|
83
75
|
}
|
|
84
76
|
|
|
85
|
-
/* DEPRECATED: use
|
|
77
|
+
/* DEPRECATED: use `.wds-text-title-body` instead */
|
|
86
78
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
87
79
|
.h4,
|
|
88
80
|
.title-4,
|
|
89
81
|
h4,
|
|
90
|
-
.np-text-title-body
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
letter-spacing: -0.014em;
|
|
94
|
-
line-height: 135%;
|
|
82
|
+
.np-text-title-body,
|
|
83
|
+
.wds-text-title-body {
|
|
84
|
+
&:extend(.wds-text-title-body);
|
|
95
85
|
}
|
|
96
86
|
|
|
97
|
-
/* DEPRECATED: use
|
|
87
|
+
/* DEPRECATED: use `.wds-text-title-group` instead */
|
|
98
88
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
99
89
|
.h5,
|
|
100
90
|
.h6,
|
|
101
91
|
.title-5,
|
|
102
92
|
h5,
|
|
103
93
|
h6,
|
|
104
|
-
.np-text-title-group
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
letter-spacing: -0.006em;
|
|
108
|
-
line-height: 140%;
|
|
94
|
+
.np-text-title-group,
|
|
95
|
+
.wds-text-title-group {
|
|
96
|
+
&:extend(.wds-text-title-group);
|
|
109
97
|
}
|
|
110
98
|
|
|
111
|
-
/* DEPRECATED: use
|
|
99
|
+
/* DEPRECATED: use `.wds-text-title-body` instead */
|
|
112
100
|
.lead {
|
|
113
101
|
margin-bottom: var(--size-24);
|
|
114
102
|
font-size: var(--font-size-20);
|
|
115
103
|
line-height: var(--line-height-title);
|
|
116
104
|
}
|
|
117
105
|
|
|
118
|
-
// DEPRECATED: use
|
|
106
|
+
// DEPRECATED: use `.wds-text-body-default` instead
|
|
119
107
|
.tiny {
|
|
120
108
|
color: var(--color-content-secondary);
|
|
121
109
|
}
|
|
122
110
|
|
|
123
111
|
// BODY
|
|
124
112
|
|
|
125
|
-
/* DEPRECATED: use
|
|
113
|
+
/* DEPRECATED: use `.wds-text-body-default` instead */
|
|
126
114
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
127
115
|
.body-2,
|
|
128
116
|
.body-3,
|
|
@@ -130,49 +118,41 @@ h6,
|
|
|
130
118
|
.tiny,
|
|
131
119
|
body,
|
|
132
120
|
small,
|
|
133
|
-
.np-text-body-default
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
letter-spacing: -0.006em;
|
|
137
|
-
font-weight: var(--font-weight-regular);
|
|
121
|
+
.np-text-body-default,
|
|
122
|
+
.wds-text-body-default {
|
|
123
|
+
&:extend(.wds-text-body-default);
|
|
138
124
|
.np-text-hyphenated;
|
|
139
125
|
}
|
|
140
126
|
|
|
141
|
-
/* DEPRECATED: use
|
|
127
|
+
/* DEPRECATED: use `.wds-text-body-default-bold` instead */
|
|
142
128
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
143
129
|
.control-2,
|
|
144
130
|
|
|
145
131
|
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
146
132
|
.label, .control-label,
|
|
147
133
|
|
|
148
|
-
.np-text-body-default-bold
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
letter-spacing: -0.006em;
|
|
152
|
-
font-weight: var(--font-weight-semi-bold);
|
|
134
|
+
.np-text-body-default-bold,
|
|
135
|
+
.wds-text-body-default-bold {
|
|
136
|
+
&:extend(.wds-text-body-default-bold);
|
|
153
137
|
.np-text-hyphenated;
|
|
154
138
|
}
|
|
155
139
|
|
|
156
|
-
/* DEPRECATED: use
|
|
140
|
+
/* DEPRECATED: use `.wds-text-body-large` instead */
|
|
157
141
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
158
142
|
.body-1,
|
|
159
143
|
.value,
|
|
160
|
-
.np-text-body-large
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
line-height: 150%;
|
|
164
|
-
letter-spacing: -0.011em;
|
|
144
|
+
.np-text-body-large,
|
|
145
|
+
.wds-text-body-large {
|
|
146
|
+
&:extend(.wds-text-body-large);
|
|
165
147
|
.np-text-hyphenated;
|
|
166
148
|
}
|
|
167
149
|
|
|
168
|
-
/* DEPRECATED: use
|
|
150
|
+
/* DEPRECATED: use `.wds-text-body-large-bold` instead */
|
|
169
151
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
170
152
|
.control-1,
|
|
171
|
-
.np-text-body-large-bold
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
line-height: 150%;
|
|
175
|
-
letter-spacing: -0.011em;
|
|
153
|
+
.np-text-body-large-bold,
|
|
154
|
+
.wds-text-body-large-bold {
|
|
155
|
+
&:extend(.wds-text-body-large-bold);
|
|
176
156
|
.np-text-hyphenated;
|
|
177
157
|
}
|
|
178
158
|
|
|
@@ -199,19 +179,25 @@ a,
|
|
|
199
179
|
|
|
200
180
|
// DISPLAY
|
|
201
181
|
|
|
202
|
-
.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
182
|
+
/* DEPRECATED: use .wds-text-display-number-small instead */
|
|
183
|
+
.np-text-display-number,
|
|
184
|
+
.wds-text-display-number {
|
|
185
|
+
&:extend(.wds-text-display-number);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.np-text-display-number-small,
|
|
189
|
+
.wds-text-display-number-small {
|
|
190
|
+
&:extend(.wds-text-display-number-small);
|
|
206
191
|
}
|
|
207
192
|
|
|
208
|
-
.display-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
193
|
+
.np-text-display-number-medium,
|
|
194
|
+
.wds-text-display-number-medium {
|
|
195
|
+
&:extend(.wds-text-display-number-medium);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.np-text-display-number-large,
|
|
199
|
+
.wds-text-display-number-large {
|
|
200
|
+
&:extend(.wds-text-display-number-large);
|
|
215
201
|
}
|
|
216
202
|
|
|
217
203
|
.display-1,
|
|
@@ -223,28 +209,12 @@ a,
|
|
|
223
209
|
.np-text-display-large,
|
|
224
210
|
.np-text-display-medium,
|
|
225
211
|
.np-text-display-small {
|
|
226
|
-
|
|
212
|
+
font-synthesis: none;
|
|
213
|
+
|
|
227
214
|
&--forced {
|
|
228
215
|
font-family: var(--font-family-display);
|
|
229
216
|
font-synthesis: none;
|
|
230
217
|
}
|
|
231
|
-
|
|
232
|
-
:lang(ja) &,
|
|
233
|
-
:lang(th) &,
|
|
234
|
-
:lang(zh-CN) &,
|
|
235
|
-
:lang(zh-HK) & {
|
|
236
|
-
/**
|
|
237
|
-
* Wise Sans covers extended Latin glyphs for logged-in experiences and a small subset
|
|
238
|
-
* of Japanese ones for the logged out ones (exposed by the Editorial DS). Unfortunately,
|
|
239
|
-
* font files are browser-cached and we carried over to launchpad, where it causes issues
|
|
240
|
-
* for unsupported locales, especially those that share glyphs, like Japanese and Chinese.
|
|
241
|
-
* There are exceptions for small UI parts where Wise Sans is fine or expected — e.g. the
|
|
242
|
-
* numeric input of ExpressiveMoneyInput.
|
|
243
|
-
* Add `--forced` BEM modifier to the original class name to guarantee it.
|
|
244
|
-
*/
|
|
245
|
-
font-family: var(--font-family-regular);
|
|
246
|
-
line-height: var(--line-height-title);
|
|
247
|
-
}
|
|
248
218
|
}
|
|
249
219
|
|
|
250
220
|
/* DEPRECATED(.np-text-display-extra-large): use .np-text-display-large instead */
|
|
@@ -252,36 +222,23 @@ a,
|
|
|
252
222
|
.np-text-display-large,
|
|
253
223
|
.np-text-display-medium,
|
|
254
224
|
.np-text-display-small {
|
|
255
|
-
letter-spacing: normal;
|
|
256
225
|
.np-text-hyphenated;
|
|
257
226
|
}
|
|
258
227
|
|
|
259
228
|
.np-text-display-extra-large,
|
|
260
|
-
.np-text-display-large
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
.np-text-display-medium {
|
|
265
|
-
.display-formatting(var(--size-52), normal, var(--font-weight-bold));
|
|
229
|
+
.np-text-display-large,
|
|
230
|
+
.wds-text-display-large {
|
|
231
|
+
&:extend(.wds-text-display-large);
|
|
266
232
|
}
|
|
267
233
|
|
|
268
|
-
.np-text-display-
|
|
269
|
-
|
|
234
|
+
.np-text-display-medium,
|
|
235
|
+
.wds-text-display-medium {
|
|
236
|
+
&:extend(.wds-text-display-medium);
|
|
270
237
|
}
|
|
271
238
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
.display-formatting(var(--size-64), 0.85);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
> .np-text-display-medium {
|
|
279
|
-
.display-formatting(var(--size-52), 0.85);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
> .np-text-display-small {
|
|
283
|
-
.display-formatting(var(--size-40), 0.85);
|
|
284
|
-
}
|
|
239
|
+
.np-text-display-small,
|
|
240
|
+
.wds-text-display-small {
|
|
241
|
+
&:extend(.wds-text-display-small);
|
|
285
242
|
}
|
|
286
243
|
|
|
287
244
|
/* Disable hyphenation for English
|
|
@@ -294,117 +251,6 @@ a,
|
|
|
294
251
|
hyphens: none;
|
|
295
252
|
}
|
|
296
253
|
|
|
297
|
-
:lang(af),
|
|
298
|
-
:lang(sq),
|
|
299
|
-
:lang(eu),
|
|
300
|
-
:lang(bs),
|
|
301
|
-
:lang(ca),
|
|
302
|
-
:lang(kw),
|
|
303
|
-
:lang(hr),
|
|
304
|
-
:lang(cs),
|
|
305
|
-
:lang(da),
|
|
306
|
-
:lang(nl),
|
|
307
|
-
:lang(eo),
|
|
308
|
-
:lang(et),
|
|
309
|
-
:lang(fo),
|
|
310
|
-
:lang(fi),
|
|
311
|
-
:lang(fr),
|
|
312
|
-
:lang(gl),
|
|
313
|
-
:lang(lg),
|
|
314
|
-
:lang(de),
|
|
315
|
-
:lang(hu),
|
|
316
|
-
:lang(is),
|
|
317
|
-
:lang(se),
|
|
318
|
-
:lang(id),
|
|
319
|
-
:lang(in),
|
|
320
|
-
:lang(ga),
|
|
321
|
-
:lang(it),
|
|
322
|
-
:lang(kl),
|
|
323
|
-
:lang(ki),
|
|
324
|
-
:lang(rw),
|
|
325
|
-
:lang(lv),
|
|
326
|
-
:lang(lt),
|
|
327
|
-
:lang(lb),
|
|
328
|
-
:lang(mg),
|
|
329
|
-
:lang(ms),
|
|
330
|
-
:lang(mt),
|
|
331
|
-
:lang(gv),
|
|
332
|
-
:lang(mi),
|
|
333
|
-
:lang(nd),
|
|
334
|
-
:lang(nb),
|
|
335
|
-
:lang(nn),
|
|
336
|
-
:lang(om),
|
|
337
|
-
:lang(pl),
|
|
338
|
-
:lang(pt),
|
|
339
|
-
:lang(ro),
|
|
340
|
-
:lang(rm),
|
|
341
|
-
:lang(rn),
|
|
342
|
-
:lang(sg),
|
|
343
|
-
:lang(gd),
|
|
344
|
-
:lang(sr),
|
|
345
|
-
:lang(sn),
|
|
346
|
-
:lang(sk),
|
|
347
|
-
:lang(sl),
|
|
348
|
-
:lang(so),
|
|
349
|
-
:lang(es),
|
|
350
|
-
:lang(sw),
|
|
351
|
-
:lang(sv),
|
|
352
|
-
:lang(tr),
|
|
353
|
-
:lang(cy),
|
|
354
|
-
:lang(fy),
|
|
355
|
-
:lang(wo),
|
|
356
|
-
:lang(zu),
|
|
357
|
-
:lang(hsb),
|
|
358
|
-
:lang(gsw),
|
|
359
|
-
:lang(dsb),
|
|
360
|
-
:lang(fil) {
|
|
361
|
-
.np-text-display-extra-large,
|
|
362
|
-
.np-text-display-large {
|
|
363
|
-
.display-formatting(var(--size-64), 1.05);
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.np-text-display-medium {
|
|
367
|
-
.display-formatting(var(--size-52), 1.05);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.np-text-display-small {
|
|
371
|
-
.display-formatting(var(--size-40), 1.05);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
:lang(el),
|
|
376
|
-
:lang(az),
|
|
377
|
-
:lang(be),
|
|
378
|
-
:lang(bs),
|
|
379
|
-
:lang(bg),
|
|
380
|
-
:lang(ce),
|
|
381
|
-
:lang(mk),
|
|
382
|
-
:lang(os),
|
|
383
|
-
:lang(ru),
|
|
384
|
-
:lang(sr),
|
|
385
|
-
:lang(uk),
|
|
386
|
-
:lang(uz),
|
|
387
|
-
:lang(sah) {
|
|
388
|
-
.np-text-display-extra-large,
|
|
389
|
-
.np-text-display-large {
|
|
390
|
-
.display-formatting(var(--size-60),
|
|
391
|
-
120%,
|
|
392
|
-
var(--font-weight-semi-bold));
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.np-text-display-medium {
|
|
396
|
-
.display-formatting(var(--size-48),
|
|
397
|
-
120%,
|
|
398
|
-
var(--font-weight-semi-bold));
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.np-text-display-small {
|
|
402
|
-
.display-formatting(var(--size-40),
|
|
403
|
-
120%,
|
|
404
|
-
var(--font-weight-semi-bold));
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
254
|
/* DEPRECATED: use `.np-text-display-*` instead */
|
|
409
255
|
.display-1 {
|
|
410
256
|
margin-bottom: var(--size-24);
|