@transferwise/components 46.160.7 → 46.161.0
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/Tag/Tag.js +45 -0
- package/build/Tag/Tag.js.map +1 -0
- package/build/Tag/Tag.mjs +41 -0
- package/build/Tag/Tag.mjs.map +1 -0
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/build/index.mjs +1 -0
- package/build/index.mjs.map +1 -1
- package/build/main.css +853 -0
- package/build/styles/Inputs/Input/Input.css +88 -0
- package/build/styles/Inputs/TextArea/TextArea.css +88 -0
- package/build/styles/Popover/Popover.css +1 -0
- package/build/styles/Tag/Tag.css +30 -0
- package/build/styles/_deprecated/Select/Select.css +29 -0
- package/build/styles/css/accordion.css +30 -0
- package/build/styles/css/button-groups.css +29 -0
- package/build/styles/css/buttons.css +29 -0
- package/build/styles/css/decision.css +30 -0
- package/build/styles/css/dropdowns.css +59 -0
- package/build/styles/css/droppable.css +29 -0
- package/build/styles/css/footer.css +63 -0
- package/build/styles/css/input-groups.css +189 -0
- package/build/styles/css/list-group.css +1 -0
- package/build/styles/css/navbar.css +59 -0
- package/build/styles/css/neptune-addons.css +3 -0
- package/build/styles/css/neptune-core.css +185 -0
- package/build/styles/css/neptune.css +705 -0
- package/build/styles/css/popovers.css +59 -0
- package/build/styles/css/tooltip.css +29 -0
- package/build/styles/main.css +853 -0
- package/build/styles/styles/less/accordion.css +30 -0
- package/build/styles/styles/less/button-groups.css +29 -0
- package/build/styles/styles/less/buttons.css +29 -0
- package/build/styles/styles/less/decision.css +30 -0
- package/build/styles/styles/less/dropdowns.css +59 -0
- package/build/styles/styles/less/droppable.css +29 -0
- package/build/styles/styles/less/footer.css +63 -0
- package/build/styles/styles/less/forms/bootstrap-forms.css +116 -0
- package/build/styles/styles/less/input-groups.css +189 -0
- package/build/styles/styles/less/list-group.css +1 -0
- package/build/styles/styles/less/navbar.css +59 -0
- package/build/styles/styles/less/neptune-addons.css +3 -0
- package/build/styles/styles/less/neptune-core.css +185 -0
- package/build/styles/styles/less/neptune.css +705 -0
- package/build/styles/styles/less/popovers.css +59 -0
- package/build/styles/styles/less/tooltip.css +29 -0
- package/build/types/Tag/Tag.d.ts +24 -0
- package/build/types/Tag/Tag.d.ts.map +1 -0
- package/build/types/Tag/Tag.types.d.ts +39 -0
- package/build/types/Tag/Tag.types.d.ts.map +1 -0
- package/build/types/Tag/index.d.ts +3 -0
- package/build/types/Tag/index.d.ts.map +1 -0
- package/build/types/index.d.ts +2 -0
- package/build/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Body/_stories/Body.test.story.tsx +81 -0
- package/src/Inputs/Input/Input.css +88 -0
- package/src/Inputs/TextArea/TextArea.css +88 -0
- package/src/Popover/Popover.css +1 -0
- package/src/Tag/Tag.css +30 -0
- package/src/Tag/Tag.less +31 -0
- package/src/Tag/Tag.test.tsx +70 -0
- package/src/Tag/Tag.tsx +71 -0
- package/src/Tag/Tag.types.ts +46 -0
- package/src/Tag/_stories/Tag.story.tsx +245 -0
- package/src/Tag/_stories/Tag.test.story.tsx +121 -0
- package/src/Tag/index.ts +2 -0
- package/src/_deprecated/Card/_stories/Card.test.story.tsx +1 -1
- package/src/_deprecated/CriticalBanner/_stories/CriticalCommsBanner.test.story.tsx +1 -1
- package/src/_deprecated/InlineAlert/_stories/InlineAlert.test.story.tsx +1 -1
- package/src/_deprecated/OverlayHeader/_stories/OverlayHeader.test.story.tsx +1 -1
- package/src/_deprecated/Select/Select.css +29 -0
- package/src/_deprecated/Select/_stories/Select.rtl.test.story.tsx +1 -1
- package/src/_deprecated/Select/_stories/Select.test.story.tsx +1 -1
- package/src/index.ts +2 -0
- package/src/main.css +853 -0
- package/src/main.less +1 -0
- package/src/styles/less/accordion.css +30 -0
- package/src/styles/less/addons/_spacing-utilities.less +2 -0
- package/src/styles/less/button-groups.css +29 -0
- package/src/styles/less/buttons.css +29 -0
- package/src/styles/less/core/_typography.less +12 -0
- package/src/styles/less/decision.css +30 -0
- package/src/styles/less/dropdowns.css +59 -0
- package/src/styles/less/droppable.css +29 -0
- package/src/styles/less/footer.css +63 -0
- package/src/styles/less/forms/bootstrap-forms.css +116 -0
- package/src/styles/less/input-groups.css +189 -0
- package/src/styles/less/list-group.css +1 -0
- package/src/styles/less/navbar.css +59 -0
- package/src/styles/less/neptune-addons.css +3 -0
- package/src/styles/less/neptune-core.css +185 -0
- package/src/styles/less/neptune.css +705 -0
- package/src/styles/less/popovers.css +59 -0
- package/src/styles/less/tooltip.css +29 -0
- package/src/test-utils/assets/card-payment-bakery.webp +0 -0
|
@@ -45,11 +45,40 @@
|
|
|
45
45
|
font-size: var(--font-size-16);
|
|
46
46
|
line-height: 150%;
|
|
47
47
|
letter-spacing: -0.011em;
|
|
48
|
+
word-wrap: break-word;
|
|
48
49
|
padding-block-start: 12px;
|
|
49
50
|
padding-block-start: var(--size-12);
|
|
50
51
|
padding-block-end: 12px;
|
|
51
52
|
padding-block-end: var(--size-12);
|
|
52
53
|
}
|
|
54
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
55
|
+
.np-form-control--size-auto {
|
|
56
|
+
hyphens: auto;
|
|
57
|
+
hyphenate-limit-chars: 7 3;
|
|
58
|
+
}
|
|
59
|
+
@media (min-width: 840px) {
|
|
60
|
+
.np-form-control--size-auto {
|
|
61
|
+
hyphenate-limit-chars: 8 3;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
@media (min-width: 1160px) {
|
|
65
|
+
.np-form-control--size-auto {
|
|
66
|
+
hyphenate-limit-chars: 10 4 3;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
71
|
+
.np-form-control--size-auto {
|
|
72
|
+
hyphens: auto;
|
|
73
|
+
-webkit-hyphenate-limit-before: 3;
|
|
74
|
+
-webkit-hyphenate-limit-after: 3;
|
|
75
|
+
}
|
|
76
|
+
@media (min-width: 1160px) {
|
|
77
|
+
.np-form-control--size-auto {
|
|
78
|
+
-webkit-hyphenate-limit-before: 4;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
53
82
|
.np-form-control--size-sm,
|
|
54
83
|
.np-form-control--size-md,
|
|
55
84
|
.np-form-control--size-lg {
|
|
@@ -63,9 +92,38 @@
|
|
|
63
92
|
letter-spacing: -0.006em;
|
|
64
93
|
font-weight: 400;
|
|
65
94
|
font-weight: var(--font-weight-regular);
|
|
95
|
+
word-wrap: break-word;
|
|
66
96
|
block-size: 32px !important;
|
|
67
97
|
block-size: var(--size-32) !important;
|
|
68
98
|
}
|
|
99
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
100
|
+
.np-form-control--size-sm {
|
|
101
|
+
hyphens: auto;
|
|
102
|
+
hyphenate-limit-chars: 7 3;
|
|
103
|
+
}
|
|
104
|
+
@media (min-width: 840px) {
|
|
105
|
+
.np-form-control--size-sm {
|
|
106
|
+
hyphenate-limit-chars: 8 3;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
@media (min-width: 1160px) {
|
|
110
|
+
.np-form-control--size-sm {
|
|
111
|
+
hyphenate-limit-chars: 10 4 3;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
116
|
+
.np-form-control--size-sm {
|
|
117
|
+
hyphens: auto;
|
|
118
|
+
-webkit-hyphenate-limit-before: 3;
|
|
119
|
+
-webkit-hyphenate-limit-after: 3;
|
|
120
|
+
}
|
|
121
|
+
@media (min-width: 1160px) {
|
|
122
|
+
.np-form-control--size-sm {
|
|
123
|
+
-webkit-hyphenate-limit-before: 4;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
69
127
|
@media (max-width: 320px) {
|
|
70
128
|
.np-form-control--size-sm {
|
|
71
129
|
block-size: 64px !important;
|
|
@@ -79,9 +137,38 @@
|
|
|
79
137
|
font-size: var(--font-size-16);
|
|
80
138
|
line-height: 150%;
|
|
81
139
|
letter-spacing: -0.011em;
|
|
140
|
+
word-wrap: break-word;
|
|
82
141
|
block-size: 48px !important;
|
|
83
142
|
block-size: var(--size-48) !important;
|
|
84
143
|
}
|
|
144
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
145
|
+
.np-form-control--size-md {
|
|
146
|
+
hyphens: auto;
|
|
147
|
+
hyphenate-limit-chars: 7 3;
|
|
148
|
+
}
|
|
149
|
+
@media (min-width: 840px) {
|
|
150
|
+
.np-form-control--size-md {
|
|
151
|
+
hyphenate-limit-chars: 8 3;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
@media (min-width: 1160px) {
|
|
155
|
+
.np-form-control--size-md {
|
|
156
|
+
hyphenate-limit-chars: 10 4 3;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
161
|
+
.np-form-control--size-md {
|
|
162
|
+
hyphens: auto;
|
|
163
|
+
-webkit-hyphenate-limit-before: 3;
|
|
164
|
+
-webkit-hyphenate-limit-after: 3;
|
|
165
|
+
}
|
|
166
|
+
@media (min-width: 1160px) {
|
|
167
|
+
.np-form-control--size-md {
|
|
168
|
+
-webkit-hyphenate-limit-before: 4;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
85
172
|
@media (max-width: 320px) {
|
|
86
173
|
.np-form-control--size-md {
|
|
87
174
|
block-size: 72px !important;
|
|
@@ -95,6 +182,7 @@
|
|
|
95
182
|
line-height: 1.2;
|
|
96
183
|
line-height: var(--line-height-title);
|
|
97
184
|
letter-spacing: 0;
|
|
185
|
+
word-wrap: break-word;
|
|
98
186
|
margin-block-end: initial;
|
|
99
187
|
font-size: 1.375rem;
|
|
100
188
|
font-size: var(--font-size-22);
|
|
@@ -45,11 +45,40 @@
|
|
|
45
45
|
font-size: var(--font-size-16);
|
|
46
46
|
line-height: 150%;
|
|
47
47
|
letter-spacing: -0.011em;
|
|
48
|
+
word-wrap: break-word;
|
|
48
49
|
padding-block-start: 12px;
|
|
49
50
|
padding-block-start: var(--size-12);
|
|
50
51
|
padding-block-end: 12px;
|
|
51
52
|
padding-block-end: var(--size-12);
|
|
52
53
|
}
|
|
54
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
55
|
+
.np-form-control--size-auto {
|
|
56
|
+
hyphens: auto;
|
|
57
|
+
hyphenate-limit-chars: 7 3;
|
|
58
|
+
}
|
|
59
|
+
@media (min-width: 840px) {
|
|
60
|
+
.np-form-control--size-auto {
|
|
61
|
+
hyphenate-limit-chars: 8 3;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
@media (min-width: 1160px) {
|
|
65
|
+
.np-form-control--size-auto {
|
|
66
|
+
hyphenate-limit-chars: 10 4 3;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
71
|
+
.np-form-control--size-auto {
|
|
72
|
+
hyphens: auto;
|
|
73
|
+
-webkit-hyphenate-limit-before: 3;
|
|
74
|
+
-webkit-hyphenate-limit-after: 3;
|
|
75
|
+
}
|
|
76
|
+
@media (min-width: 1160px) {
|
|
77
|
+
.np-form-control--size-auto {
|
|
78
|
+
-webkit-hyphenate-limit-before: 4;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
53
82
|
.np-form-control--size-sm,
|
|
54
83
|
.np-form-control--size-md,
|
|
55
84
|
.np-form-control--size-lg {
|
|
@@ -63,9 +92,38 @@
|
|
|
63
92
|
letter-spacing: -0.006em;
|
|
64
93
|
font-weight: 400;
|
|
65
94
|
font-weight: var(--font-weight-regular);
|
|
95
|
+
word-wrap: break-word;
|
|
66
96
|
block-size: 32px !important;
|
|
67
97
|
block-size: var(--size-32) !important;
|
|
68
98
|
}
|
|
99
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
100
|
+
.np-form-control--size-sm {
|
|
101
|
+
hyphens: auto;
|
|
102
|
+
hyphenate-limit-chars: 7 3;
|
|
103
|
+
}
|
|
104
|
+
@media (min-width: 840px) {
|
|
105
|
+
.np-form-control--size-sm {
|
|
106
|
+
hyphenate-limit-chars: 8 3;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
@media (min-width: 1160px) {
|
|
110
|
+
.np-form-control--size-sm {
|
|
111
|
+
hyphenate-limit-chars: 10 4 3;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
116
|
+
.np-form-control--size-sm {
|
|
117
|
+
hyphens: auto;
|
|
118
|
+
-webkit-hyphenate-limit-before: 3;
|
|
119
|
+
-webkit-hyphenate-limit-after: 3;
|
|
120
|
+
}
|
|
121
|
+
@media (min-width: 1160px) {
|
|
122
|
+
.np-form-control--size-sm {
|
|
123
|
+
-webkit-hyphenate-limit-before: 4;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
69
127
|
@media (max-width: 320px) {
|
|
70
128
|
.np-form-control--size-sm {
|
|
71
129
|
block-size: 64px !important;
|
|
@@ -79,9 +137,38 @@
|
|
|
79
137
|
font-size: var(--font-size-16);
|
|
80
138
|
line-height: 150%;
|
|
81
139
|
letter-spacing: -0.011em;
|
|
140
|
+
word-wrap: break-word;
|
|
82
141
|
block-size: 48px !important;
|
|
83
142
|
block-size: var(--size-48) !important;
|
|
84
143
|
}
|
|
144
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
145
|
+
.np-form-control--size-md {
|
|
146
|
+
hyphens: auto;
|
|
147
|
+
hyphenate-limit-chars: 7 3;
|
|
148
|
+
}
|
|
149
|
+
@media (min-width: 840px) {
|
|
150
|
+
.np-form-control--size-md {
|
|
151
|
+
hyphenate-limit-chars: 8 3;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
@media (min-width: 1160px) {
|
|
155
|
+
.np-form-control--size-md {
|
|
156
|
+
hyphenate-limit-chars: 10 4 3;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
161
|
+
.np-form-control--size-md {
|
|
162
|
+
hyphens: auto;
|
|
163
|
+
-webkit-hyphenate-limit-before: 3;
|
|
164
|
+
-webkit-hyphenate-limit-after: 3;
|
|
165
|
+
}
|
|
166
|
+
@media (min-width: 1160px) {
|
|
167
|
+
.np-form-control--size-md {
|
|
168
|
+
-webkit-hyphenate-limit-before: 4;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
85
172
|
@media (max-width: 320px) {
|
|
86
173
|
.np-form-control--size-md {
|
|
87
174
|
block-size: 72px !important;
|
|
@@ -95,6 +182,7 @@
|
|
|
95
182
|
line-height: 1.2;
|
|
96
183
|
line-height: var(--line-height-title);
|
|
97
184
|
letter-spacing: 0;
|
|
185
|
+
word-wrap: break-word;
|
|
98
186
|
margin-block-end: initial;
|
|
99
187
|
font-size: 1.375rem;
|
|
100
188
|
font-size: var(--font-size-22);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.wds-tag {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
max-inline-size: 240px;
|
|
4
|
+
min-inline-size: 0;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
white-space: nowrap;
|
|
9
|
+
inline-size: -moz-fit-content;
|
|
10
|
+
inline-size: fit-content;
|
|
11
|
+
}
|
|
12
|
+
.wds-tag--small {
|
|
13
|
+
border-radius: 6px;
|
|
14
|
+
font-size: 0.75rem;
|
|
15
|
+
font-size: var(--font-size-12);
|
|
16
|
+
padding-block: 1px;
|
|
17
|
+
padding-inline: 4px;
|
|
18
|
+
padding-inline: var(--size-4);
|
|
19
|
+
}
|
|
20
|
+
.wds-tag--large {
|
|
21
|
+
border-radius: 8px;
|
|
22
|
+
padding-block: 1px;
|
|
23
|
+
padding-inline: 6px;
|
|
24
|
+
}
|
|
25
|
+
.wds-tag.wds-tag--proposition {
|
|
26
|
+
color: var(--color-sentiment-interactive-primary);
|
|
27
|
+
}
|
|
28
|
+
.wds-tag-theme {
|
|
29
|
+
display: contents;
|
|
30
|
+
}
|
|
@@ -152,11 +152,40 @@
|
|
|
152
152
|
letter-spacing: -0.006em;
|
|
153
153
|
font-weight: 400;
|
|
154
154
|
font-weight: var(--font-weight-regular);
|
|
155
|
+
word-wrap: break-word;
|
|
155
156
|
}
|
|
156
157
|
.np-theme-personal .np-dropdown-menu > li > a {
|
|
157
158
|
border-radius: 10px;
|
|
158
159
|
border-radius: var(--radius-small);
|
|
159
160
|
}
|
|
161
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
162
|
+
.np-dropdown-menu > li > a {
|
|
163
|
+
hyphens: auto;
|
|
164
|
+
hyphenate-limit-chars: 7 3;
|
|
165
|
+
}
|
|
166
|
+
@media (min-width: 840px) {
|
|
167
|
+
.np-dropdown-menu > li > a {
|
|
168
|
+
hyphenate-limit-chars: 8 3;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
@media (min-width: 1160px) {
|
|
172
|
+
.np-dropdown-menu > li > a {
|
|
173
|
+
hyphenate-limit-chars: 10 4 3;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
178
|
+
.np-dropdown-menu > li > a {
|
|
179
|
+
hyphens: auto;
|
|
180
|
+
-webkit-hyphenate-limit-before: 3;
|
|
181
|
+
-webkit-hyphenate-limit-after: 3;
|
|
182
|
+
}
|
|
183
|
+
@media (min-width: 1160px) {
|
|
184
|
+
.np-dropdown-menu > li > a {
|
|
185
|
+
-webkit-hyphenate-limit-before: 4;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
160
189
|
.np-dropdown-menu > li:first-child > a {
|
|
161
190
|
border-start-end-radius: 3px;
|
|
162
191
|
border-start-start-radius: 3px;
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
line-height: 1.2;
|
|
60
60
|
line-height: var(--line-height-title);
|
|
61
61
|
letter-spacing: 0;
|
|
62
|
+
word-wrap: break-word;
|
|
62
63
|
font-size: 1.125rem;
|
|
63
64
|
font-size: var(--font-size-18);
|
|
64
65
|
font-weight: 600;
|
|
@@ -107,9 +108,38 @@
|
|
|
107
108
|
letter-spacing: -0.006em;
|
|
108
109
|
font-weight: 400;
|
|
109
110
|
font-weight: var(--font-weight-regular);
|
|
111
|
+
word-wrap: break-word;
|
|
110
112
|
margin-block-start: 4px;
|
|
111
113
|
margin-block-start: var(--size-4);
|
|
112
114
|
}
|
|
115
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
116
|
+
.decision__content {
|
|
117
|
+
hyphens: auto;
|
|
118
|
+
hyphenate-limit-chars: 7 3;
|
|
119
|
+
}
|
|
120
|
+
@media (min-width: 840px) {
|
|
121
|
+
.decision__content {
|
|
122
|
+
hyphenate-limit-chars: 8 3;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
@media (min-width: 1160px) {
|
|
126
|
+
.decision__content {
|
|
127
|
+
hyphenate-limit-chars: 10 4 3;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
132
|
+
.decision__content {
|
|
133
|
+
hyphens: auto;
|
|
134
|
+
-webkit-hyphenate-limit-before: 3;
|
|
135
|
+
-webkit-hyphenate-limit-after: 3;
|
|
136
|
+
}
|
|
137
|
+
@media (min-width: 1160px) {
|
|
138
|
+
.decision__content {
|
|
139
|
+
-webkit-hyphenate-limit-before: 4;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
113
143
|
.decision + .decision {
|
|
114
144
|
margin-block-start: -1px;
|
|
115
145
|
}
|
|
@@ -352,6 +352,35 @@
|
|
|
352
352
|
letter-spacing: -0.006em;
|
|
353
353
|
font-weight: 400;
|
|
354
354
|
font-weight: var(--font-weight-regular);
|
|
355
|
+
word-wrap: break-word;
|
|
355
356
|
color: #5d7079;
|
|
356
357
|
color: var(--color-content-secondary);
|
|
357
358
|
}
|
|
359
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
360
|
+
.btn-group .secondary {
|
|
361
|
+
hyphens: auto;
|
|
362
|
+
hyphenate-limit-chars: 7 3;
|
|
363
|
+
}
|
|
364
|
+
@media (min-width: 840px) {
|
|
365
|
+
.btn-group .secondary {
|
|
366
|
+
hyphenate-limit-chars: 8 3;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
@media (min-width: 1160px) {
|
|
370
|
+
.btn-group .secondary {
|
|
371
|
+
hyphenate-limit-chars: 10 4 3;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
376
|
+
.btn-group .secondary {
|
|
377
|
+
hyphens: auto;
|
|
378
|
+
-webkit-hyphenate-limit-before: 3;
|
|
379
|
+
-webkit-hyphenate-limit-after: 3;
|
|
380
|
+
}
|
|
381
|
+
@media (min-width: 1160px) {
|
|
382
|
+
.btn-group .secondary {
|
|
383
|
+
-webkit-hyphenate-limit-before: 4;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
.btn {
|
|
5
5
|
line-height: 150%;
|
|
6
6
|
letter-spacing: -0.011em;
|
|
7
|
+
word-wrap: break-word;
|
|
7
8
|
display: inline-block;
|
|
8
9
|
margin-block-end: 0;
|
|
9
10
|
text-align: center;
|
|
@@ -27,6 +28,34 @@
|
|
|
27
28
|
-moz-user-select: none;
|
|
28
29
|
user-select: none;
|
|
29
30
|
}
|
|
31
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
32
|
+
.btn {
|
|
33
|
+
hyphens: auto;
|
|
34
|
+
hyphenate-limit-chars: 7 3;
|
|
35
|
+
}
|
|
36
|
+
@media (min-width: 840px) {
|
|
37
|
+
.btn {
|
|
38
|
+
hyphenate-limit-chars: 8 3;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
@media (min-width: 1160px) {
|
|
42
|
+
.btn {
|
|
43
|
+
hyphenate-limit-chars: 10 4 3;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
48
|
+
.btn {
|
|
49
|
+
hyphens: auto;
|
|
50
|
+
-webkit-hyphenate-limit-before: 3;
|
|
51
|
+
-webkit-hyphenate-limit-after: 3;
|
|
52
|
+
}
|
|
53
|
+
@media (min-width: 1160px) {
|
|
54
|
+
.btn {
|
|
55
|
+
-webkit-hyphenate-limit-before: 4;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
30
59
|
.btn .dropdown-menu > li > a {
|
|
31
60
|
font-size: 1rem;
|
|
32
61
|
font-size: var(--font-size-16);
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
line-height: 1.2;
|
|
22
22
|
line-height: var(--line-height-title);
|
|
23
23
|
letter-spacing: 0;
|
|
24
|
+
word-wrap: break-word;
|
|
24
25
|
font-size: 1.125rem;
|
|
25
26
|
font-size: var(--font-size-18);
|
|
26
27
|
font-weight: 600;
|
|
@@ -69,9 +70,38 @@
|
|
|
69
70
|
letter-spacing: -0.006em;
|
|
70
71
|
font-weight: 400;
|
|
71
72
|
font-weight: var(--font-weight-regular);
|
|
73
|
+
word-wrap: break-word;
|
|
72
74
|
margin-block-start: 4px;
|
|
73
75
|
margin-block-start: var(--size-4);
|
|
74
76
|
}
|
|
77
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
78
|
+
.decision__content {
|
|
79
|
+
hyphens: auto;
|
|
80
|
+
hyphenate-limit-chars: 7 3;
|
|
81
|
+
}
|
|
82
|
+
@media (min-width: 840px) {
|
|
83
|
+
.decision__content {
|
|
84
|
+
hyphenate-limit-chars: 8 3;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
@media (min-width: 1160px) {
|
|
88
|
+
.decision__content {
|
|
89
|
+
hyphenate-limit-chars: 10 4 3;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
94
|
+
.decision__content {
|
|
95
|
+
hyphens: auto;
|
|
96
|
+
-webkit-hyphenate-limit-before: 3;
|
|
97
|
+
-webkit-hyphenate-limit-after: 3;
|
|
98
|
+
}
|
|
99
|
+
@media (min-width: 1160px) {
|
|
100
|
+
.decision__content {
|
|
101
|
+
-webkit-hyphenate-limit-before: 4;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
75
105
|
.decision + .decision {
|
|
76
106
|
margin-block-start: -1px;
|
|
77
107
|
}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
letter-spacing: -0.006em;
|
|
18
18
|
font-weight: 400;
|
|
19
19
|
font-weight: var(--font-weight-regular);
|
|
20
|
+
word-wrap: break-word;
|
|
20
21
|
text-align: start;
|
|
21
22
|
background-color: #ffffff;
|
|
22
23
|
background-color: var(--color-background-screen);
|
|
@@ -31,6 +32,34 @@
|
|
|
31
32
|
transform: translateY(-10px) scale(0.95, 0.95);
|
|
32
33
|
visibility: hidden;
|
|
33
34
|
}
|
|
35
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
36
|
+
.dropdown-menu {
|
|
37
|
+
hyphens: auto;
|
|
38
|
+
hyphenate-limit-chars: 7 3;
|
|
39
|
+
}
|
|
40
|
+
@media (min-width: 840px) {
|
|
41
|
+
.dropdown-menu {
|
|
42
|
+
hyphenate-limit-chars: 8 3;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
@media (min-width: 1160px) {
|
|
46
|
+
.dropdown-menu {
|
|
47
|
+
hyphenate-limit-chars: 10 4 3;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
52
|
+
.dropdown-menu {
|
|
53
|
+
hyphens: auto;
|
|
54
|
+
-webkit-hyphenate-limit-before: 3;
|
|
55
|
+
-webkit-hyphenate-limit-after: 3;
|
|
56
|
+
}
|
|
57
|
+
@media (min-width: 1160px) {
|
|
58
|
+
.dropdown-menu {
|
|
59
|
+
-webkit-hyphenate-limit-before: 4;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
34
63
|
.np-theme-personal .dropdown-menu,
|
|
35
64
|
.np-theme-personal--forest-green .dropdown-menu,
|
|
36
65
|
.np-theme-personal--dark .dropdown-menu {
|
|
@@ -72,10 +101,39 @@
|
|
|
72
101
|
letter-spacing: -0.006em;
|
|
73
102
|
font-weight: 400;
|
|
74
103
|
font-weight: var(--font-weight-regular);
|
|
104
|
+
word-wrap: break-word;
|
|
75
105
|
color: #37517e;
|
|
76
106
|
color: var(--color-content-primary);
|
|
77
107
|
white-space: nowrap;
|
|
78
108
|
}
|
|
109
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
110
|
+
.dropdown-menu > li > a {
|
|
111
|
+
hyphens: auto;
|
|
112
|
+
hyphenate-limit-chars: 7 3;
|
|
113
|
+
}
|
|
114
|
+
@media (min-width: 840px) {
|
|
115
|
+
.dropdown-menu > li > a {
|
|
116
|
+
hyphenate-limit-chars: 8 3;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
@media (min-width: 1160px) {
|
|
120
|
+
.dropdown-menu > li > a {
|
|
121
|
+
hyphenate-limit-chars: 10 4 3;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
126
|
+
.dropdown-menu > li > a {
|
|
127
|
+
hyphens: auto;
|
|
128
|
+
-webkit-hyphenate-limit-before: 3;
|
|
129
|
+
-webkit-hyphenate-limit-after: 3;
|
|
130
|
+
}
|
|
131
|
+
@media (min-width: 1160px) {
|
|
132
|
+
.dropdown-menu > li > a {
|
|
133
|
+
-webkit-hyphenate-limit-before: 4;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
79
137
|
.dropdown-menu > li > a .secondary {
|
|
80
138
|
display: block;
|
|
81
139
|
white-space: normal;
|
|
@@ -250,6 +308,7 @@
|
|
|
250
308
|
line-height: 1.2;
|
|
251
309
|
line-height: var(--line-height-title);
|
|
252
310
|
letter-spacing: 0;
|
|
311
|
+
word-wrap: break-word;
|
|
253
312
|
font-weight: 500;
|
|
254
313
|
font-weight: var(--font-weight-medium);
|
|
255
314
|
font-size: 0.875rem;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
font-size: var(--font-size-16);
|
|
7
7
|
line-height: 150%;
|
|
8
8
|
letter-spacing: -0.011em;
|
|
9
|
+
word-wrap: break-word;
|
|
9
10
|
text-align: center;
|
|
10
11
|
border: 1px solid #c9cbce;
|
|
11
12
|
border: 1px solid var(--color-interactive-secondary);
|
|
@@ -13,6 +14,34 @@
|
|
|
13
14
|
overflow: auto;
|
|
14
15
|
transition: border-color 0.15s linear;
|
|
15
16
|
}
|
|
17
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
18
|
+
.droppable {
|
|
19
|
+
hyphens: auto;
|
|
20
|
+
hyphenate-limit-chars: 7 3;
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 840px) {
|
|
23
|
+
.droppable {
|
|
24
|
+
hyphenate-limit-chars: 8 3;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
@media (min-width: 1160px) {
|
|
28
|
+
.droppable {
|
|
29
|
+
hyphenate-limit-chars: 10 4 3;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
34
|
+
.droppable {
|
|
35
|
+
hyphens: auto;
|
|
36
|
+
-webkit-hyphenate-limit-before: 3;
|
|
37
|
+
-webkit-hyphenate-limit-after: 3;
|
|
38
|
+
}
|
|
39
|
+
@media (min-width: 1160px) {
|
|
40
|
+
.droppable {
|
|
41
|
+
-webkit-hyphenate-limit-before: 4;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
16
45
|
.droppable:hover {
|
|
17
46
|
border-color: #b5b7ba;
|
|
18
47
|
border-color: var(--color-interactive-secondary-hover);
|