@transferwise/components 0.0.0-experimental-7f15621 → 0.0.0-experimental-c70eb7d
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/main.css +2872 -1501
- package/build/styles/Inputs/Input/Input.css +62 -28
- package/build/styles/Inputs/TextArea/TextArea.css +62 -28
- package/build/styles/Popover/Popover.css +3 -9
- package/build/styles/_deprecated/Select/Select.css +27 -7
- 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 +2777 -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 +2872 -1501
- package/build/styles/props/neptune-tokens.css +802 -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 +2777 -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/package.json +1 -1
- package/src/Inputs/Input/Input.css +62 -28
- package/src/Inputs/TextArea/TextArea.css +62 -28
- package/src/Popover/Popover.css +3 -9
- package/src/_deprecated/Select/Select.css +27 -7
- package/src/main.css +2872 -1501
- 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 +2777 -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
|
@@ -1,4 +1,36 @@
|
|
|
1
|
-
.
|
|
1
|
+
.popover,
|
|
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 {
|
|
2
34
|
float: inline-end;
|
|
3
35
|
color: #0097c7;
|
|
4
36
|
color: var(--color-content-accent);
|
|
@@ -66,12 +98,6 @@ button.close {
|
|
|
66
98
|
word-break: normal;
|
|
67
99
|
word-spacing: normal;
|
|
68
100
|
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);
|
|
75
101
|
word-wrap: break-word;
|
|
76
102
|
background-color: #ffffff;
|
|
77
103
|
background-color: var(--color-background-screen);
|
|
@@ -258,20 +284,8 @@ button.close {
|
|
|
258
284
|
margin-inline: 0;
|
|
259
285
|
}
|
|
260
286
|
.popover-title {
|
|
261
|
-
padding: 0;
|
|
262
287
|
margin: 0;
|
|
263
|
-
|
|
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%;
|
|
288
|
+
padding: 0;
|
|
275
289
|
background-color: #ffffff;
|
|
276
290
|
background-color: var(--color-background-screen);
|
|
277
291
|
border-block-end: 0;
|
|
@@ -279,50 +293,11 @@ button.close {
|
|
|
279
293
|
border-start-end-radius: 2px;
|
|
280
294
|
border-end-end-radius: 0;
|
|
281
295
|
border-end-start-radius: 0;
|
|
296
|
+
color: #37517e !important;
|
|
282
297
|
color: var(--color-content-primary) !important;
|
|
283
298
|
}
|
|
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
|
-
}
|
|
318
299
|
.popover-content {
|
|
319
300
|
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);
|
|
326
301
|
word-wrap: break-word;
|
|
327
302
|
color: #5d7079;
|
|
328
303
|
color: var(--color-content-secondary);
|
|
@@ -131,6 +131,10 @@
|
|
|
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,
|
|
134
138
|
.sequence > li .btn-toolbar {
|
|
135
139
|
margin-block-end: 16px;
|
|
136
140
|
}
|
|
@@ -221,7 +225,8 @@
|
|
|
221
225
|
}
|
|
222
226
|
.sequence-inverse > .active .small,
|
|
223
227
|
.sequence-inverse > .active .body-2,
|
|
224
|
-
.sequence-inverse > .active .np-text-body-default
|
|
228
|
+
.sequence-inverse > .active .np-text-body-default,
|
|
229
|
+
.sequence-inverse > .active .wds-text-body-default {
|
|
225
230
|
color: #5d7079;
|
|
226
231
|
color: var(--color-content-secondary);
|
|
227
232
|
}
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
.tooltip {
|
|
1
|
+
.tooltip-inner {
|
|
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 {
|
|
2
28
|
position: absolute;
|
|
3
29
|
z-index: 1070;
|
|
4
30
|
display: block;
|
|
@@ -45,12 +71,6 @@
|
|
|
45
71
|
padding-inline: 5px;
|
|
46
72
|
}
|
|
47
73
|
.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);
|
|
54
74
|
word-wrap: break-word;
|
|
55
75
|
max-inline-size: 200px;
|
|
56
76
|
min-inline-size: 120px;
|
package/package.json
CHANGED
|
@@ -1,4 +1,65 @@
|
|
|
1
|
-
.np-form-control {
|
|
1
|
+
.np-form-control--size-lg {
|
|
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 {
|
|
2
63
|
--ring-width: 1px;
|
|
3
64
|
--ring-color: var(--color-interactive-secondary);
|
|
4
65
|
border: none;
|
|
@@ -39,12 +100,6 @@
|
|
|
39
100
|
--ring-color: var(--color-interactive-primary);
|
|
40
101
|
}
|
|
41
102
|
.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;
|
|
48
103
|
word-wrap: break-word;
|
|
49
104
|
padding-block-start: 12px;
|
|
50
105
|
padding-block-start: var(--size-12);
|
|
@@ -86,12 +141,6 @@
|
|
|
86
141
|
padding-block-end: 0 !important;
|
|
87
142
|
}
|
|
88
143
|
.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);
|
|
95
144
|
word-wrap: break-word;
|
|
96
145
|
block-size: 32px !important;
|
|
97
146
|
block-size: var(--size-32) !important;
|
|
@@ -131,12 +180,6 @@
|
|
|
131
180
|
}
|
|
132
181
|
}
|
|
133
182
|
.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;
|
|
140
183
|
word-wrap: break-word;
|
|
141
184
|
block-size: 48px !important;
|
|
142
185
|
block-size: var(--size-48) !important;
|
|
@@ -179,17 +222,8 @@
|
|
|
179
222
|
margin: 0;
|
|
180
223
|
color: #37517e;
|
|
181
224
|
color: var(--color-content-primary);
|
|
182
|
-
line-height: 1.2;
|
|
183
|
-
line-height: var(--line-height-title);
|
|
184
|
-
letter-spacing: 0;
|
|
185
225
|
word-wrap: break-word;
|
|
186
226
|
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%;
|
|
193
227
|
block-size: 72px !important;
|
|
194
228
|
block-size: var(--size-72) !important;
|
|
195
229
|
}
|
|
@@ -1,4 +1,65 @@
|
|
|
1
|
-
.np-form-control {
|
|
1
|
+
.np-form-control--size-lg {
|
|
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 {
|
|
2
63
|
--ring-width: 1px;
|
|
3
64
|
--ring-color: var(--color-interactive-secondary);
|
|
4
65
|
border: none;
|
|
@@ -39,12 +100,6 @@
|
|
|
39
100
|
--ring-color: var(--color-interactive-primary);
|
|
40
101
|
}
|
|
41
102
|
.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;
|
|
48
103
|
word-wrap: break-word;
|
|
49
104
|
padding-block-start: 12px;
|
|
50
105
|
padding-block-start: var(--size-12);
|
|
@@ -86,12 +141,6 @@
|
|
|
86
141
|
padding-block-end: 0 !important;
|
|
87
142
|
}
|
|
88
143
|
.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);
|
|
95
144
|
word-wrap: break-word;
|
|
96
145
|
block-size: 32px !important;
|
|
97
146
|
block-size: var(--size-32) !important;
|
|
@@ -131,12 +180,6 @@
|
|
|
131
180
|
}
|
|
132
181
|
}
|
|
133
182
|
.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;
|
|
140
183
|
word-wrap: break-word;
|
|
141
184
|
block-size: 48px !important;
|
|
142
185
|
block-size: var(--size-48) !important;
|
|
@@ -179,17 +222,8 @@
|
|
|
179
222
|
margin: 0;
|
|
180
223
|
color: #37517e;
|
|
181
224
|
color: var(--color-content-primary);
|
|
182
|
-
line-height: 1.2;
|
|
183
|
-
line-height: var(--line-height-title);
|
|
184
|
-
letter-spacing: 0;
|
|
185
225
|
word-wrap: break-word;
|
|
186
226
|
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%;
|
|
193
227
|
block-size: 72px !important;
|
|
194
228
|
block-size: var(--size-72) !important;
|
|
195
229
|
}
|
package/src/Popover/Popover.css
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
2
|
+
margin-block-end: initial;
|
|
3
|
+
}
|
|
1
4
|
.np-theme-personal .np-popover__container {
|
|
2
5
|
border-radius: 16px;
|
|
3
6
|
border-radius: var(--radius-medium);
|
|
@@ -26,17 +29,8 @@
|
|
|
26
29
|
margin: 0;
|
|
27
30
|
color: #37517e;
|
|
28
31
|
color: var(--color-content-primary);
|
|
29
|
-
line-height: 1.2;
|
|
30
|
-
line-height: var(--line-height-title);
|
|
31
|
-
letter-spacing: 0;
|
|
32
32
|
word-wrap: break-word;
|
|
33
33
|
margin-block-end: initial;
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
font-weight: var(--font-weight-semi-bold);
|
|
36
|
-
font-size: 1.625rem;
|
|
37
|
-
font-size: var(--font-size-26);
|
|
38
|
-
letter-spacing: -0.02em;
|
|
39
|
-
line-height: 122%;
|
|
40
34
|
}
|
|
41
35
|
@supports (hyphenate-limit-chars: 1) {
|
|
42
36
|
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
.np-
|
|
1
|
+
.np-dropdown-menu > li > a {
|
|
2
|
+
word-wrap: break-word;
|
|
3
|
+
}
|
|
4
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
5
|
+
.np-dropdown-menu > li > a {
|
|
6
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
7
|
+
}
|
|
8
|
+
@media (min-width: 840px) {
|
|
9
|
+
.np-dropdown-menu > li > a {
|
|
10
|
+
hyphenate-limit-chars: 8 3;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
@media (min-width: 1160px) {
|
|
14
|
+
.np-dropdown-menu > li > a {
|
|
15
|
+
hyphenate-limit-chars: 10 4 3;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
19
|
+
.np-dropdown-menu > li > a {
|
|
20
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1160px) {
|
|
23
|
+
.np-dropdown-menu > li > a {
|
|
24
|
+
-webkit-hyphenate-limit-before: 4;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}.np-select .np-dropdown-toggle {
|
|
2
28
|
background-color: #ffffff;
|
|
3
29
|
background-color: var(--color-background-screen);
|
|
4
30
|
border: 1px solid #c9cbce;
|
|
@@ -146,12 +172,6 @@
|
|
|
146
172
|
border-radius: var(--radius-small);
|
|
147
173
|
color: #37517e;
|
|
148
174
|
color: var(--color-content-primary);
|
|
149
|
-
font-size: 0.875rem;
|
|
150
|
-
font-size: var(--font-size-14);
|
|
151
|
-
line-height: 155%;
|
|
152
|
-
letter-spacing: -0.006em;
|
|
153
|
-
font-weight: 400;
|
|
154
|
-
font-weight: var(--font-weight-regular);
|
|
155
175
|
word-wrap: break-word;
|
|
156
176
|
}
|
|
157
177
|
.np-theme-personal .np-dropdown-menu > li > a {
|