@transferwise/neptune-css 14.24.3 → 14.24.4

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.
@@ -60,8 +60,6 @@
60
60
  line-height: 1.2;
61
61
  line-height: var(--line-height-title);
62
62
  letter-spacing: 0;
63
- -webkit-hyphens: auto;
64
- hyphens: auto;
65
63
  font-size: 1.125rem;
66
64
  font-size: var(--font-size-18);
67
65
  font-weight: 600;
@@ -69,6 +67,36 @@
69
67
  letter-spacing: -0.014em;
70
68
  line-height: 135%;
71
69
  }
70
+ @supports (hyphenate-limit-chars: 1) {
71
+ .decision__title {
72
+ -webkit-hyphens: auto;
73
+ hyphens: auto;
74
+ hyphenate-limit-chars: 7 3;
75
+ }
76
+ @media (min-width: 768px) {
77
+ .decision__title {
78
+ hyphenate-limit-chars: 8 3;
79
+ }
80
+ }
81
+ @media (min-width: 992px) {
82
+ .decision__title {
83
+ hyphenate-limit-chars: 10 4 3;
84
+ }
85
+ }
86
+ }
87
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
88
+ .decision__title {
89
+ -webkit-hyphens: auto;
90
+ hyphens: auto;
91
+ -webkit-hyphenate-limit-before: 3;
92
+ -webkit-hyphenate-limit-after: 3;
93
+ }
94
+ @media (min-width: 992px) {
95
+ .decision__title {
96
+ -webkit-hyphenate-limit-before: 4;
97
+ }
98
+ }
99
+ }
72
100
  .decision__title + p,
73
101
  .decision__title + ul:not(.list-unstyled),
74
102
  .decision__title + ol:not(.list-unstyled) {
@@ -21,14 +21,40 @@
21
21
  line-height: 1.2;
22
22
  line-height: var(--line-height-title);
23
23
  letter-spacing: 0;
24
- -webkit-hyphens: auto;
25
- hyphens: auto;
26
24
  font-size: 1.125rem;
27
25
  font-size: var(--font-size-18);
28
26
  font-weight: 600;
29
27
  font-weight: var(--font-weight-semi-bold);
30
28
  letter-spacing: -0.014em;
31
29
  line-height: 135%;
30
+ }@supports (hyphenate-limit-chars: 1) {
31
+ .decision__title {
32
+ -webkit-hyphens: auto;
33
+ hyphens: auto;
34
+ hyphenate-limit-chars: 7 3;
35
+ }
36
+ @media (min-width: 768px) {
37
+ .decision__title {
38
+ hyphenate-limit-chars: 8 3;
39
+ }
40
+ }
41
+ @media (min-width: 992px) {
42
+ .decision__title {
43
+ hyphenate-limit-chars: 10 4 3;
44
+ }
45
+ }
46
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
47
+ .decision__title {
48
+ -webkit-hyphens: auto;
49
+ hyphens: auto;
50
+ -webkit-hyphenate-limit-before: 3;
51
+ -webkit-hyphenate-limit-after: 3;
52
+ }
53
+ @media (min-width: 992px) {
54
+ .decision__title {
55
+ -webkit-hyphenate-limit-before: 4;
56
+ }
57
+ }
32
58
  }.decision__title + p,
33
59
  .decision__title + ul:not(.list-unstyled),
34
60
  .decision__title + ol:not(.list-unstyled) {
@@ -335,14 +335,40 @@
335
335
  line-height: 1.2;
336
336
  line-height: var(--line-height-title);
337
337
  letter-spacing: 0;
338
- -webkit-hyphens: auto;
339
- hyphens: auto;
340
338
  font-weight: 500;
341
339
  font-weight: var(--font-weight-medium);
342
340
  font-size: 0.875rem;
343
341
  font-size: var(--font-size-14);
344
342
  letter-spacing: -0.006em;
345
343
  line-height: 140%;
344
+ }@supports (hyphenate-limit-chars: 1) {
345
+ .dropdown-header {
346
+ -webkit-hyphens: auto;
347
+ hyphens: auto;
348
+ hyphenate-limit-chars: 7 3;
349
+ }
350
+ @media (min-width: 768px) {
351
+ .dropdown-header {
352
+ hyphenate-limit-chars: 8 3;
353
+ }
354
+ }
355
+ @media (min-width: 992px) {
356
+ .dropdown-header {
357
+ hyphenate-limit-chars: 10 4 3;
358
+ }
359
+ }
360
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
361
+ .dropdown-header {
362
+ -webkit-hyphens: auto;
363
+ hyphens: auto;
364
+ -webkit-hyphenate-limit-before: 3;
365
+ -webkit-hyphenate-limit-after: 3;
366
+ }
367
+ @media (min-width: 992px) {
368
+ .dropdown-header {
369
+ -webkit-hyphenate-limit-before: 4;
370
+ }
371
+ }
346
372
  }.dropdown-header + p,
347
373
  .dropdown-header + ul:not(.list-unstyled),
348
374
  .dropdown-header + ol:not(.list-unstyled) {
@@ -2358,8 +2358,6 @@ html:not([dir="rtl"]) .input-group .form-control:not(:last-child) {
2358
2358
  line-height: 1.2;
2359
2359
  line-height: var(--line-height-title);
2360
2360
  letter-spacing: 0;
2361
- -webkit-hyphens: auto;
2362
- hyphens: auto;
2363
2361
  margin-bottom: 0;
2364
2362
  margin-bottom: initial;
2365
2363
  font-size: 1.375rem;
@@ -2383,6 +2381,46 @@ select[multiple].input-group-lg > .input-group-addon,
2383
2381
  select[multiple].input-group-lg > .input-group-btn .btn {
2384
2382
  height: auto;
2385
2383
  }
2384
+ @supports (hyphenate-limit-chars: 1) {
2385
+ .input-group-lg > .form-control,
2386
+ .input-group-lg > .input-group-addon,
2387
+ .input-group-lg > .input-group-btn .btn {
2388
+ -webkit-hyphens: auto;
2389
+ hyphens: auto;
2390
+ hyphenate-limit-chars: 7 3;
2391
+ }
2392
+ @media (min-width: 768px) {
2393
+ .input-group-lg > .form-control,
2394
+ .input-group-lg > .input-group-addon,
2395
+ .input-group-lg > .input-group-btn .btn {
2396
+ hyphenate-limit-chars: 8 3;
2397
+ }
2398
+ }
2399
+ @media (min-width: 992px) {
2400
+ .input-group-lg > .form-control,
2401
+ .input-group-lg > .input-group-addon,
2402
+ .input-group-lg > .input-group-btn .btn {
2403
+ hyphenate-limit-chars: 10 4 3;
2404
+ }
2405
+ }
2406
+ }
2407
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
2408
+ .input-group-lg > .form-control,
2409
+ .input-group-lg > .input-group-addon,
2410
+ .input-group-lg > .input-group-btn .btn {
2411
+ -webkit-hyphens: auto;
2412
+ hyphens: auto;
2413
+ -webkit-hyphenate-limit-before: 3;
2414
+ -webkit-hyphenate-limit-after: 3;
2415
+ }
2416
+ @media (min-width: 992px) {
2417
+ .input-group-lg > .form-control,
2418
+ .input-group-lg > .input-group-addon,
2419
+ .input-group-lg > .input-group-btn .btn {
2420
+ -webkit-hyphenate-limit-before: 4;
2421
+ }
2422
+ }
2423
+ }
2386
2424
  .input-group-lg > .form-control + p,
2387
2425
  .input-group-lg > .input-group-addon + p,
2388
2426
  .input-group-lg > .input-group-btn .btn + p,
@@ -49,8 +49,6 @@
49
49
  line-height: 1.2;
50
50
  line-height: var(--line-height-title);
51
51
  letter-spacing: 0;
52
- -webkit-hyphens: auto;
53
- hyphens: auto;
54
52
  font-weight: 500;
55
53
  font-weight: var(--font-weight-medium);
56
54
  font-size: 0.875rem;
@@ -59,6 +57,34 @@
59
57
  line-height: 140%;
60
58
  color: #37517e;
61
59
  color: var(--color-content-primary);
60
+ }@supports (hyphenate-limit-chars: 1) {
61
+ .list-group-item-heading {
62
+ -webkit-hyphens: auto;
63
+ hyphens: auto;
64
+ hyphenate-limit-chars: 7 3;
65
+ }
66
+ @media (min-width: 768px) {
67
+ .list-group-item-heading {
68
+ hyphenate-limit-chars: 8 3;
69
+ }
70
+ }
71
+ @media (min-width: 992px) {
72
+ .list-group-item-heading {
73
+ hyphenate-limit-chars: 10 4 3;
74
+ }
75
+ }
76
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
77
+ .list-group-item-heading {
78
+ -webkit-hyphens: auto;
79
+ hyphens: auto;
80
+ -webkit-hyphenate-limit-before: 3;
81
+ -webkit-hyphenate-limit-after: 3;
82
+ }
83
+ @media (min-width: 992px) {
84
+ .list-group-item-heading {
85
+ -webkit-hyphenate-limit-before: 4;
86
+ }
87
+ }
62
88
  }.list-group-item-heading + p,
63
89
  .list-group-item-heading + ul:not(.list-unstyled),
64
90
  .list-group-item-heading + ol:not(.list-unstyled) {
@@ -524,8 +524,6 @@
524
524
  line-height: 1.2;
525
525
  line-height: var(--line-height-title);
526
526
  letter-spacing: 0;
527
- -webkit-hyphens: auto;
528
- hyphens: auto;
529
527
  font-weight: 500;
530
528
  font-weight: var(--font-weight-medium);
531
529
  font-size: 0.875rem;
@@ -533,6 +531,36 @@
533
531
  letter-spacing: -0.006em;
534
532
  line-height: 140%;
535
533
  }
534
+ @supports (hyphenate-limit-chars: 1) {
535
+ .dropdown-header {
536
+ -webkit-hyphens: auto;
537
+ hyphens: auto;
538
+ hyphenate-limit-chars: 7 3;
539
+ }
540
+ @media (min-width: 768px) {
541
+ .dropdown-header {
542
+ hyphenate-limit-chars: 8 3;
543
+ }
544
+ }
545
+ @media (min-width: 992px) {
546
+ .dropdown-header {
547
+ hyphenate-limit-chars: 10 4 3;
548
+ }
549
+ }
550
+ }
551
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
552
+ .dropdown-header {
553
+ -webkit-hyphens: auto;
554
+ hyphens: auto;
555
+ -webkit-hyphenate-limit-before: 3;
556
+ -webkit-hyphenate-limit-after: 3;
557
+ }
558
+ @media (min-width: 992px) {
559
+ .dropdown-header {
560
+ -webkit-hyphenate-limit-before: 4;
561
+ }
562
+ }
563
+ }
536
564
  .dropdown-header + p,
537
565
  .dropdown-header + ul:not(.list-unstyled),
538
566
  .dropdown-header + ol:not(.list-unstyled) {
@@ -1823,6 +1823,36 @@ html:not([dir="rtl"]) .p-x-panel {
1823
1823
  padding-bottom: var(--size-96);
1824
1824
  }
1825
1825
  }
1826
+ @supports (hyphenate-limit-chars: 1) {
1827
+ .np-text-hyphenated {
1828
+ -webkit-hyphens: auto;
1829
+ hyphens: auto;
1830
+ hyphenate-limit-chars: 7 3;
1831
+ }
1832
+ @media (min-width: 768px) {
1833
+ .np-text-hyphenated {
1834
+ hyphenate-limit-chars: 8 3;
1835
+ }
1836
+ }
1837
+ @media (min-width: 992px) {
1838
+ .np-text-hyphenated {
1839
+ hyphenate-limit-chars: 10 4 3;
1840
+ }
1841
+ }
1842
+ }
1843
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
1844
+ .np-text-hyphenated {
1845
+ -webkit-hyphens: auto;
1846
+ hyphens: auto;
1847
+ -webkit-hyphenate-limit-before: 3;
1848
+ -webkit-hyphenate-limit-after: 3;
1849
+ }
1850
+ @media (min-width: 992px) {
1851
+ .np-text-hyphenated {
1852
+ -webkit-hyphenate-limit-before: 4;
1853
+ }
1854
+ }
1855
+ }
1826
1856
  .border-bottom {
1827
1857
  border-bottom: 1px solid rgba(134,167,189,0.10196);
1828
1858
  border-bottom: 1px solid var(--color-background-neutral);
@@ -769,8 +769,141 @@ h6,
769
769
  line-height: 1.2;
770
770
  line-height: var(--line-height-title);
771
771
  letter-spacing: 0;
772
- -webkit-hyphens: auto;
773
- hyphens: auto;
772
+ }
773
+ @supports (hyphenate-limit-chars: 1) {
774
+ .h1,
775
+ .h2,
776
+ .h3,
777
+ .h4,
778
+ .h5,
779
+ .h6,
780
+ .title-1,
781
+ .title-2,
782
+ .title-3,
783
+ .title-4,
784
+ .title-5,
785
+ h1,
786
+ h2,
787
+ h3,
788
+ h4,
789
+ h5,
790
+ h6,
791
+ .np-text-title-screen,
792
+ .np-text-title-section,
793
+ .np-text-title-subsection,
794
+ .np-text-title-body,
795
+ .np-text-title-group {
796
+ -webkit-hyphens: auto;
797
+ hyphens: auto;
798
+ hyphenate-limit-chars: 7 3;
799
+ }
800
+ @media (min-width: 768px) {
801
+ .h1,
802
+ .h2,
803
+ .h3,
804
+ .h4,
805
+ .h5,
806
+ .h6,
807
+ .title-1,
808
+ .title-2,
809
+ .title-3,
810
+ .title-4,
811
+ .title-5,
812
+ h1,
813
+ h2,
814
+ h3,
815
+ h4,
816
+ h5,
817
+ h6,
818
+ .np-text-title-screen,
819
+ .np-text-title-section,
820
+ .np-text-title-subsection,
821
+ .np-text-title-body,
822
+ .np-text-title-group {
823
+ hyphenate-limit-chars: 8 3;
824
+ }
825
+ }
826
+ @media (min-width: 992px) {
827
+ .h1,
828
+ .h2,
829
+ .h3,
830
+ .h4,
831
+ .h5,
832
+ .h6,
833
+ .title-1,
834
+ .title-2,
835
+ .title-3,
836
+ .title-4,
837
+ .title-5,
838
+ h1,
839
+ h2,
840
+ h3,
841
+ h4,
842
+ h5,
843
+ h6,
844
+ .np-text-title-screen,
845
+ .np-text-title-section,
846
+ .np-text-title-subsection,
847
+ .np-text-title-body,
848
+ .np-text-title-group {
849
+ hyphenate-limit-chars: 10 4 3;
850
+ }
851
+ }
852
+ }
853
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
854
+ .h1,
855
+ .h2,
856
+ .h3,
857
+ .h4,
858
+ .h5,
859
+ .h6,
860
+ .title-1,
861
+ .title-2,
862
+ .title-3,
863
+ .title-4,
864
+ .title-5,
865
+ h1,
866
+ h2,
867
+ h3,
868
+ h4,
869
+ h5,
870
+ h6,
871
+ .np-text-title-screen,
872
+ .np-text-title-section,
873
+ .np-text-title-subsection,
874
+ .np-text-title-body,
875
+ .np-text-title-group {
876
+ -webkit-hyphens: auto;
877
+ hyphens: auto;
878
+ -webkit-hyphenate-limit-before: 3;
879
+ -webkit-hyphenate-limit-after: 3;
880
+ }
881
+ @media (min-width: 992px) {
882
+ .h1,
883
+ .h2,
884
+ .h3,
885
+ .h4,
886
+ .h5,
887
+ .h6,
888
+ .title-1,
889
+ .title-2,
890
+ .title-3,
891
+ .title-4,
892
+ .title-5,
893
+ h1,
894
+ h2,
895
+ h3,
896
+ h4,
897
+ h5,
898
+ h6,
899
+ .np-text-title-screen,
900
+ .np-text-title-section,
901
+ .np-text-title-subsection,
902
+ .np-text-title-body,
903
+ .np-text-title-group {
904
+ -webkit-hyphenate-limit-before: 4;
905
+ }
906
+ }
774
907
  }
775
908
  .h1 + p,
776
909
  .h2 + p,
@@ -2410,8 +2410,143 @@ h6,
2410
2410
  line-height: 1.2;
2411
2411
  line-height: var(--line-height-title);
2412
2412
  letter-spacing: 0;
2413
- -webkit-hyphens: auto;
2414
- hyphens: auto;
2413
+ }
2414
+
2415
+ @supports (hyphenate-limit-chars: 1) {
2416
+ .h1,
2417
+ .h2,
2418
+ .h3,
2419
+ .h4,
2420
+ .h5,
2421
+ .h6,
2422
+ .title-1,
2423
+ .title-2,
2424
+ .title-3,
2425
+ .title-4,
2426
+ .title-5,
2427
+ h1,
2428
+ h2,
2429
+ h3,
2430
+ h4,
2431
+ h5,
2432
+ h6,
2433
+ .np-text-title-screen,
2434
+ .np-text-title-section,
2435
+ .np-text-title-subsection,
2436
+ .np-text-title-body,
2437
+ .np-text-title-group {
2438
+ -webkit-hyphens: auto;
2439
+ hyphens: auto;
2440
+ hyphenate-limit-chars: 7 3;
2441
+ }
2442
+ @media (min-width: 768px) {
2443
+ .h1,
2444
+ .h2,
2445
+ .h3,
2446
+ .h4,
2447
+ .h5,
2448
+ .h6,
2449
+ .title-1,
2450
+ .title-2,
2451
+ .title-3,
2452
+ .title-4,
2453
+ .title-5,
2454
+ h1,
2455
+ h2,
2456
+ h3,
2457
+ h4,
2458
+ h5,
2459
+ h6,
2460
+ .np-text-title-screen,
2461
+ .np-text-title-section,
2462
+ .np-text-title-subsection,
2463
+ .np-text-title-body,
2464
+ .np-text-title-group {
2465
+ hyphenate-limit-chars: 8 3;
2466
+ }
2467
+ }
2468
+ @media (min-width: 992px) {
2469
+ .h1,
2470
+ .h2,
2471
+ .h3,
2472
+ .h4,
2473
+ .h5,
2474
+ .h6,
2475
+ .title-1,
2476
+ .title-2,
2477
+ .title-3,
2478
+ .title-4,
2479
+ .title-5,
2480
+ h1,
2481
+ h2,
2482
+ h3,
2483
+ h4,
2484
+ h5,
2485
+ h6,
2486
+ .np-text-title-screen,
2487
+ .np-text-title-section,
2488
+ .np-text-title-subsection,
2489
+ .np-text-title-body,
2490
+ .np-text-title-group {
2491
+ hyphenate-limit-chars: 10 4 3;
2492
+ }
2493
+ }
2494
+ }
2495
+
2496
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
2497
+ .h1,
2498
+ .h2,
2499
+ .h3,
2500
+ .h4,
2501
+ .h5,
2502
+ .h6,
2503
+ .title-1,
2504
+ .title-2,
2505
+ .title-3,
2506
+ .title-4,
2507
+ .title-5,
2508
+ h1,
2509
+ h2,
2510
+ h3,
2511
+ h4,
2512
+ h5,
2513
+ h6,
2514
+ .np-text-title-screen,
2515
+ .np-text-title-section,
2516
+ .np-text-title-subsection,
2517
+ .np-text-title-body,
2518
+ .np-text-title-group {
2519
+ -webkit-hyphens: auto;
2520
+ hyphens: auto;
2521
+ -webkit-hyphenate-limit-before: 3;
2522
+ -webkit-hyphenate-limit-after: 3;
2523
+ }
2524
+ @media (min-width: 992px) {
2525
+ .h1,
2526
+ .h2,
2527
+ .h3,
2528
+ .h4,
2529
+ .h5,
2530
+ .h6,
2531
+ .title-1,
2532
+ .title-2,
2533
+ .title-3,
2534
+ .title-4,
2535
+ .title-5,
2536
+ h1,
2537
+ h2,
2538
+ h3,
2539
+ h4,
2540
+ h5,
2541
+ h6,
2542
+ .np-text-title-screen,
2543
+ .np-text-title-section,
2544
+ .np-text-title-subsection,
2545
+ .np-text-title-body,
2546
+ .np-text-title-group {
2547
+ -webkit-hyphenate-limit-before: 4;
2548
+ }
2549
+ }
2415
2550
  }
2416
2551
 
2417
2552
  .h1 + p,
@@ -5954,6 +6089,38 @@ html:not([dir="rtl"]) .p-x-panel {
5954
6089
  }
5955
6090
  }
5956
6091
 
6092
+ @supports (hyphenate-limit-chars: 1) {
6093
+ .np-text-hyphenated {
6094
+ -webkit-hyphens: auto;
6095
+ hyphens: auto;
6096
+ hyphenate-limit-chars: 7 3;
6097
+ }
6098
+ @media (min-width: 768px) {
6099
+ .np-text-hyphenated {
6100
+ hyphenate-limit-chars: 8 3;
6101
+ }
6102
+ }
6103
+ @media (min-width: 992px) {
6104
+ .np-text-hyphenated {
6105
+ hyphenate-limit-chars: 10 4 3;
6106
+ }
6107
+ }
6108
+ }
6109
+
6110
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
6111
+ .np-text-hyphenated {
6112
+ -webkit-hyphens: auto;
6113
+ hyphens: auto;
6114
+ -webkit-hyphenate-limit-before: 3;
6115
+ -webkit-hyphenate-limit-after: 3;
6116
+ }
6117
+ @media (min-width: 992px) {
6118
+ .np-text-hyphenated {
6119
+ -webkit-hyphenate-limit-before: 4;
6120
+ }
6121
+ }
6122
+ }
6123
+
5957
6124
  .border-bottom {
5958
6125
  border-bottom: 1px solid rgba(134,167,189,0.10196);
5959
6126
  border-bottom: 1px solid var(--color-background-neutral);
@@ -11993,8 +12160,6 @@ html:not([dir="rtl"]) .input-group .form-control:not(:last-child) {
11993
12160
  line-height: 1.2;
11994
12161
  line-height: var(--line-height-title);
11995
12162
  letter-spacing: 0;
11996
- -webkit-hyphens: auto;
11997
- hyphens: auto;
11998
12163
  margin-bottom: 0;
11999
12164
  margin-bottom: initial;
12000
12165
  font-size: 1.375rem;
@@ -12021,6 +12186,48 @@ select[multiple].input-group-lg > .input-group-btn .btn {
12021
12186
  height: auto;
12022
12187
  }
12023
12188
 
12189
+ @supports (hyphenate-limit-chars: 1) {
12190
+ .input-group-lg > .form-control,
12191
+ .input-group-lg > .input-group-addon,
12192
+ .input-group-lg > .input-group-btn .btn {
12193
+ -webkit-hyphens: auto;
12194
+ hyphens: auto;
12195
+ hyphenate-limit-chars: 7 3;
12196
+ }
12197
+ @media (min-width: 768px) {
12198
+ .input-group-lg > .form-control,
12199
+ .input-group-lg > .input-group-addon,
12200
+ .input-group-lg > .input-group-btn .btn {
12201
+ hyphenate-limit-chars: 8 3;
12202
+ }
12203
+ }
12204
+ @media (min-width: 992px) {
12205
+ .input-group-lg > .form-control,
12206
+ .input-group-lg > .input-group-addon,
12207
+ .input-group-lg > .input-group-btn .btn {
12208
+ hyphenate-limit-chars: 10 4 3;
12209
+ }
12210
+ }
12211
+ }
12212
+
12213
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
12214
+ .input-group-lg > .form-control,
12215
+ .input-group-lg > .input-group-addon,
12216
+ .input-group-lg > .input-group-btn .btn {
12217
+ -webkit-hyphens: auto;
12218
+ hyphens: auto;
12219
+ -webkit-hyphenate-limit-before: 3;
12220
+ -webkit-hyphenate-limit-after: 3;
12221
+ }
12222
+ @media (min-width: 992px) {
12223
+ .input-group-lg > .form-control,
12224
+ .input-group-lg > .input-group-addon,
12225
+ .input-group-lg > .input-group-btn .btn {
12226
+ -webkit-hyphenate-limit-before: 4;
12227
+ }
12228
+ }
12229
+ }
12230
+
12024
12231
  .input-group-lg > .form-control + p,
12025
12232
  .input-group-lg > .input-group-addon + p,
12026
12233
  .input-group-lg > .input-group-btn .btn + p,
@@ -12991,8 +13198,6 @@ li > a > .currency-flag:first-child {
12991
13198
  line-height: 1.2;
12992
13199
  line-height: var(--line-height-title);
12993
13200
  letter-spacing: 0;
12994
- -webkit-hyphens: auto;
12995
- hyphens: auto;
12996
13201
  font-size: 1.125rem;
12997
13202
  font-size: var(--font-size-18);
12998
13203
  font-weight: 600;
@@ -13001,6 +13206,38 @@ li > a > .currency-flag:first-child {
13001
13206
  line-height: 135%;
13002
13207
  }
13003
13208
 
13209
+ @supports (hyphenate-limit-chars: 1) {
13210
+ .decision__title {
13211
+ -webkit-hyphens: auto;
13212
+ hyphens: auto;
13213
+ hyphenate-limit-chars: 7 3;
13214
+ }
13215
+ @media (min-width: 768px) {
13216
+ .decision__title {
13217
+ hyphenate-limit-chars: 8 3;
13218
+ }
13219
+ }
13220
+ @media (min-width: 992px) {
13221
+ .decision__title {
13222
+ hyphenate-limit-chars: 10 4 3;
13223
+ }
13224
+ }
13225
+ }
13226
+
13227
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
13228
+ .decision__title {
13229
+ -webkit-hyphens: auto;
13230
+ hyphens: auto;
13231
+ -webkit-hyphenate-limit-before: 3;
13232
+ -webkit-hyphenate-limit-after: 3;
13233
+ }
13234
+ @media (min-width: 992px) {
13235
+ .decision__title {
13236
+ -webkit-hyphenate-limit-before: 4;
13237
+ }
13238
+ }
13239
+ }
13240
+
13004
13241
  .decision__title + p,
13005
13242
  .decision__title + ul:not(.list-unstyled),
13006
13243
  .decision__title + ol:not(.list-unstyled) {
@@ -13510,8 +13747,6 @@ li > a > .currency-flag:first-child {
13510
13747
  line-height: 1.2;
13511
13748
  line-height: var(--line-height-title);
13512
13749
  letter-spacing: 0;
13513
- -webkit-hyphens: auto;
13514
- hyphens: auto;
13515
13750
  font-weight: 500;
13516
13751
  font-weight: var(--font-weight-medium);
13517
13752
  font-size: 0.875rem;
@@ -13520,6 +13755,38 @@ li > a > .currency-flag:first-child {
13520
13755
  line-height: 140%;
13521
13756
  }
13522
13757
 
13758
+ @supports (hyphenate-limit-chars: 1) {
13759
+ .dropdown-header {
13760
+ -webkit-hyphens: auto;
13761
+ hyphens: auto;
13762
+ hyphenate-limit-chars: 7 3;
13763
+ }
13764
+ @media (min-width: 768px) {
13765
+ .dropdown-header {
13766
+ hyphenate-limit-chars: 8 3;
13767
+ }
13768
+ }
13769
+ @media (min-width: 992px) {
13770
+ .dropdown-header {
13771
+ hyphenate-limit-chars: 10 4 3;
13772
+ }
13773
+ }
13774
+ }
13775
+
13776
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
13777
+ .dropdown-header {
13778
+ -webkit-hyphens: auto;
13779
+ hyphens: auto;
13780
+ -webkit-hyphenate-limit-before: 3;
13781
+ -webkit-hyphenate-limit-after: 3;
13782
+ }
13783
+ @media (min-width: 992px) {
13784
+ .dropdown-header {
13785
+ -webkit-hyphenate-limit-before: 4;
13786
+ }
13787
+ }
13788
+ }
13789
+
13523
13790
  .dropdown-header + p,
13524
13791
  .dropdown-header + ul:not(.list-unstyled),
13525
13792
  .dropdown-header + ol:not(.list-unstyled) {
@@ -17338,8 +17605,6 @@ html:not([dir="rtl"]) .list-group-item {
17338
17605
  line-height: 1.2;
17339
17606
  line-height: var(--line-height-title);
17340
17607
  letter-spacing: 0;
17341
- -webkit-hyphens: auto;
17342
- hyphens: auto;
17343
17608
  font-weight: 500;
17344
17609
  font-weight: var(--font-weight-medium);
17345
17610
  font-size: 0.875rem;
@@ -17350,6 +17615,38 @@ html:not([dir="rtl"]) .list-group-item {
17350
17615
  color: var(--color-content-primary);
17351
17616
  }
17352
17617
 
17618
+ @supports (hyphenate-limit-chars: 1) {
17619
+ .list-group-item-heading {
17620
+ -webkit-hyphens: auto;
17621
+ hyphens: auto;
17622
+ hyphenate-limit-chars: 7 3;
17623
+ }
17624
+ @media (min-width: 768px) {
17625
+ .list-group-item-heading {
17626
+ hyphenate-limit-chars: 8 3;
17627
+ }
17628
+ }
17629
+ @media (min-width: 992px) {
17630
+ .list-group-item-heading {
17631
+ hyphenate-limit-chars: 10 4 3;
17632
+ }
17633
+ }
17634
+ }
17635
+
17636
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
17637
+ .list-group-item-heading {
17638
+ -webkit-hyphens: auto;
17639
+ hyphens: auto;
17640
+ -webkit-hyphenate-limit-before: 3;
17641
+ -webkit-hyphenate-limit-after: 3;
17642
+ }
17643
+ @media (min-width: 992px) {
17644
+ .list-group-item-heading {
17645
+ -webkit-hyphenate-limit-before: 4;
17646
+ }
17647
+ }
17648
+ }
17649
+
17353
17650
  .list-group-item-heading + p,
17354
17651
  .list-group-item-heading + ul:not(.list-unstyled),
17355
17652
  .list-group-item-heading + ol:not(.list-unstyled) {
@@ -21530,8 +21827,6 @@ html:not([dir="rtl"]) .panel > .table-responsive > .table-bordered > tfoot > tr
21530
21827
  line-height: 1.2;
21531
21828
  line-height: var(--line-height-title);
21532
21829
  letter-spacing: 0;
21533
- -webkit-hyphens: auto;
21534
- hyphens: auto;
21535
21830
  font-size: 1.125rem;
21536
21831
  font-size: var(--font-size-18);
21537
21832
  font-weight: 600;
@@ -21545,6 +21840,38 @@ html:not([dir="rtl"]) .panel > .table-responsive > .table-bordered > tfoot > tr
21545
21840
  color: var(--color-content-primary) !important;
21546
21841
  }
21547
21842
 
21843
+ @supports (hyphenate-limit-chars: 1) {
21844
+ .popover-title {
21845
+ -webkit-hyphens: auto;
21846
+ hyphens: auto;
21847
+ hyphenate-limit-chars: 7 3;
21848
+ }
21849
+ @media (min-width: 768px) {
21850
+ .popover-title {
21851
+ hyphenate-limit-chars: 8 3;
21852
+ }
21853
+ }
21854
+ @media (min-width: 992px) {
21855
+ .popover-title {
21856
+ hyphenate-limit-chars: 10 4 3;
21857
+ }
21858
+ }
21859
+ }
21860
+
21861
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
21862
+ .popover-title {
21863
+ -webkit-hyphens: auto;
21864
+ hyphens: auto;
21865
+ -webkit-hyphenate-limit-before: 3;
21866
+ -webkit-hyphenate-limit-after: 3;
21867
+ }
21868
+ @media (min-width: 992px) {
21869
+ .popover-title {
21870
+ -webkit-hyphenate-limit-before: 4;
21871
+ }
21872
+ }
21873
+ }
21874
+
21548
21875
  .popover-title + p,
21549
21876
  .popover-title + ul:not(.list-unstyled),
21550
21877
  .popover-title + ol:not(.list-unstyled) {
@@ -333,8 +333,6 @@
333
333
  line-height: 1.2;
334
334
  line-height: var(--line-height-title);
335
335
  letter-spacing: 0;
336
- -webkit-hyphens: auto;
337
- hyphens: auto;
338
336
  font-size: 1.125rem;
339
337
  font-size: var(--font-size-18);
340
338
  font-weight: 600;
@@ -346,6 +344,34 @@
346
344
  border-bottom: 0;
347
345
  border-radius: 2px 2px 0 0;
348
346
  color: var(--color-content-primary) !important;
347
+ }@supports (hyphenate-limit-chars: 1) {
348
+ .popover-title {
349
+ -webkit-hyphens: auto;
350
+ hyphens: auto;
351
+ hyphenate-limit-chars: 7 3;
352
+ }
353
+ @media (min-width: 768px) {
354
+ .popover-title {
355
+ hyphenate-limit-chars: 8 3;
356
+ }
357
+ }
358
+ @media (min-width: 992px) {
359
+ .popover-title {
360
+ hyphenate-limit-chars: 10 4 3;
361
+ }
362
+ }
363
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
364
+ .popover-title {
365
+ -webkit-hyphens: auto;
366
+ hyphens: auto;
367
+ -webkit-hyphenate-limit-before: 3;
368
+ -webkit-hyphenate-limit-after: 3;
369
+ }
370
+ @media (min-width: 992px) {
371
+ .popover-title {
372
+ -webkit-hyphenate-limit-before: 4;
373
+ }
374
+ }
349
375
  }.popover-title + p,
350
376
  .popover-title + ul:not(.list-unstyled),
351
377
  .popover-title + ol:not(.list-unstyled) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "14.24.3",
4
+ "version": "14.24.4",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -46,3 +46,28 @@
46
46
  padding-bottom: var(--size-96);
47
47
  }
48
48
  }
49
+
50
+ .np-text-hyphenated {
51
+ @supports (hyphenate-limit-chars: 1) {
52
+ hyphens: auto;
53
+ hyphenate-limit-chars: 7 3;
54
+
55
+ @media (--screen-md) {
56
+ hyphenate-limit-chars: 8 3;
57
+ }
58
+
59
+ @media (--screen-lg) {
60
+ hyphenate-limit-chars: 10 4 3;
61
+ }
62
+ }
63
+
64
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
65
+ hyphens: auto;
66
+ -webkit-hyphenate-limit-before: 3;
67
+ -webkit-hyphenate-limit-after: 3;
68
+
69
+ @media (--screen-lg) {
70
+ -webkit-hyphenate-limit-before: 4;
71
+ }
72
+ }
73
+ }
@@ -24,7 +24,7 @@ h6,
24
24
  color: var(--color-content-primary);
25
25
  line-height: var(--line-height-title);
26
26
  letter-spacing: 0;
27
- hyphens: auto;
27
+ .np-text-hyphenated;
28
28
 
29
29
  + p,
30
30
  + ul:not(.list-unstyled),
@@ -214,32 +214,9 @@ a,
214
214
  .np-text-display-medium,
215
215
  .np-text-display-small {
216
216
  letter-spacing: normal;
217
-
218
- @supports (hyphenate-limit-chars: 1) {
219
- hyphens: auto;
220
- hyphenate-limit-chars: 7 3;
221
-
222
- @media (--screen-md) {
223
- hyphenate-limit-chars: 8 3;
224
- }
225
-
226
- @media (--screen-lg) {
227
- hyphenate-limit-chars: 10 4 3;
228
- }
229
- }
230
-
231
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
232
- hyphens: auto;
233
- -webkit-hyphenate-limit-before: 3;
234
- -webkit-hyphenate-limit-after: 3;
235
-
236
- @media (--screen-lg) {
237
- -webkit-hyphenate-limit-before: 4;
238
- }
239
- }
217
+ .np-text-hyphenated;
240
218
  }
241
219
 
242
-
243
220
  .np-text-display-extra-large,
244
221
  .np-text-display-large {
245
222
  .display-formatting(var(--size-64), normal, var(--font-weight-bold));