@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.
Files changed (80) hide show
  1. package/build/main.css +2872 -1501
  2. package/build/styles/Inputs/Input/Input.css +62 -28
  3. package/build/styles/Inputs/TextArea/TextArea.css +62 -28
  4. package/build/styles/Popover/Popover.css +3 -9
  5. package/build/styles/_deprecated/Select/Select.css +27 -7
  6. package/build/styles/css/accordion.css +23 -52
  7. package/build/styles/css/button-groups.css +29 -8
  8. package/build/styles/css/buttons.css +26 -2
  9. package/build/styles/css/decision.css +23 -52
  10. package/build/styles/css/dropdowns.css +39 -62
  11. package/build/styles/css/droppable.css +28 -8
  12. package/build/styles/css/footer.css +41 -14
  13. package/build/styles/css/input-groups.css +172 -165
  14. package/build/styles/css/list-group.css +0 -45
  15. package/build/styles/css/navbar.css +39 -62
  16. package/build/styles/css/neptune-addons.css +15 -0
  17. package/build/styles/css/neptune-core.css +250 -526
  18. package/build/styles/css/neptune.css +2777 -1422
  19. package/build/styles/css/popovers.css +35 -60
  20. package/build/styles/css/sequences.css +6 -1
  21. package/build/styles/css/tooltip.css +27 -7
  22. package/build/styles/less/neptune-tokens.less +0 -48
  23. package/build/styles/main.css +2872 -1501
  24. package/build/styles/props/neptune-tokens.css +802 -1
  25. package/build/styles/styles/less/accordion.css +23 -52
  26. package/build/styles/styles/less/button-groups.css +29 -8
  27. package/build/styles/styles/less/buttons.css +26 -2
  28. package/build/styles/styles/less/decision.css +23 -52
  29. package/build/styles/styles/less/dropdowns.css +39 -62
  30. package/build/styles/styles/less/droppable.css +28 -8
  31. package/build/styles/styles/less/footer.css +41 -14
  32. package/build/styles/styles/less/forms/bootstrap-forms.css +137 -91
  33. package/build/styles/styles/less/input-groups.css +172 -165
  34. package/build/styles/styles/less/list-group.css +0 -45
  35. package/build/styles/styles/less/navbar.css +39 -62
  36. package/build/styles/styles/less/neptune-addons.css +15 -0
  37. package/build/styles/styles/less/neptune-core.css +250 -526
  38. package/build/styles/styles/less/neptune.css +2777 -1422
  39. package/build/styles/styles/less/popovers.css +35 -60
  40. package/build/styles/styles/less/sequences.css +6 -1
  41. package/build/styles/styles/less/tooltip.css +27 -7
  42. package/package.json +1 -1
  43. package/src/Inputs/Input/Input.css +62 -28
  44. package/src/Inputs/TextArea/TextArea.css +62 -28
  45. package/src/Popover/Popover.css +3 -9
  46. package/src/_deprecated/Select/Select.css +27 -7
  47. package/src/main.css +2872 -1501
  48. package/src/styles/less/accordion.css +23 -52
  49. package/src/styles/less/addons/_background-utilities.less +5 -0
  50. package/src/styles/less/button-groups.css +29 -8
  51. package/src/styles/less/button-groups.less +3 -2
  52. package/src/styles/less/buttons.css +26 -2
  53. package/src/styles/less/buttons.less +1 -1
  54. package/src/styles/less/core/_typography.less +67 -221
  55. package/src/styles/less/decision.css +23 -52
  56. package/src/styles/less/decision.less +2 -2
  57. package/src/styles/less/dropdowns.css +39 -62
  58. package/src/styles/less/dropdowns.less +6 -5
  59. package/src/styles/less/droppable.css +28 -8
  60. package/src/styles/less/droppable.less +4 -4
  61. package/src/styles/less/footer.css +41 -14
  62. package/src/styles/less/footer.less +4 -3
  63. package/src/styles/less/forms/bootstrap-forms.css +137 -91
  64. package/src/styles/less/forms/bootstrap-forms.less +70 -57
  65. package/src/styles/less/input-groups.css +172 -165
  66. package/src/styles/less/input-groups.less +5 -5
  67. package/src/styles/less/list-group.css +0 -45
  68. package/src/styles/less/list-group.less +7 -4
  69. package/src/styles/less/mixins/_text-emphasis.less +7 -1
  70. package/src/styles/less/navbar.css +39 -62
  71. package/src/styles/less/neptune-addons.css +15 -0
  72. package/src/styles/less/neptune-core.css +250 -526
  73. package/src/styles/less/neptune.bundle.less +4 -0
  74. package/src/styles/less/neptune.css +2777 -1422
  75. package/src/styles/less/popovers.css +35 -60
  76. package/src/styles/less/popovers.less +3 -3
  77. package/src/styles/less/sequences.css +6 -1
  78. package/src/styles/less/sequences.less +7 -2
  79. package/src/styles/less/tooltip.css +27 -7
  80. package/src/styles/less/tooltip.less +1 -1
@@ -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
  }
@@ -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-select .np-dropdown-toggle {
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 {
@@ -36,78 +36,49 @@
36
36
  .np-theme-personal .chevron-color {
37
37
  color: var(--color-interactive-primary);
38
38
  }
39
- .decision {
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
- .decision__title {
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
- .decision__title {
47
+ .decision__content {
77
48
  hyphenate-limit-chars: 8 3;
78
49
  }
79
50
  }
80
51
  @media (min-width: 1160px) {
81
- .decision__title {
52
+ .decision__content {
82
53
  hyphenate-limit-chars: 10 4 3;
83
54
  }
84
55
  }
85
- }
86
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
87
- .decision__title {
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
- .decision__title {
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
- .decision__title + p,
99
- .decision__title + ul:not(.list-unstyled),
100
- .decision__title + ol:not(.list-unstyled) {
101
- margin-block-start: 8px;
102
- margin-block-start: var(--size-8);
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);
@@ -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);
@@ -2,8 +2,32 @@
2
2
  block-size: 32px;
3
3
  }
4
4
  .btn {
5
- line-height: 150%;
6
- letter-spacing: -0.011em;
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;
@@ -1,75 +1,46 @@
1
- .decision {
2
- cursor: pointer;
3
- margin-block-end: 0 !important;
4
- border: 0;
5
- align-items: center;
6
- transition: background-color ease 350ms;
7
- background-color: transparent;
8
- display: block;
9
- }
10
- .decision:not(.np-option):focus-visible,
11
- .decision:not(.np-option):has(:focus-visible) {
12
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
13
- outline-offset: 0;
14
- outline-offset: var(--ring-outline-offset);
15
- --ring-outline-offset: 0;
16
- }
17
- .decision__title {
18
- margin: 0;
19
- color: #37517e;
20
- color: var(--color-content-primary);
21
- line-height: 1.2;
22
- line-height: var(--line-height-title);
23
- letter-spacing: 0;
1
+ .decision__content {
24
2
  word-wrap: break-word;
25
- font-size: 1.125rem;
26
- font-size: var(--font-size-18);
27
- font-weight: 600;
28
- font-weight: var(--font-weight-semi-bold);
29
- letter-spacing: -0.014em;
30
- line-height: 135%;
31
3
  }
32
4
  @supports (hyphenate-limit-chars: 1) {
33
- .decision__title {
34
- hyphens: auto;
35
- hyphenate-limit-chars: 7 3;
5
+ .decision__content {
6
+ hyphens: auto;hyphenate-limit-chars: 7 3;
36
7
  }
37
8
  @media (min-width: 840px) {
38
- .decision__title {
9
+ .decision__content {
39
10
  hyphenate-limit-chars: 8 3;
40
11
  }
41
12
  }
42
13
  @media (min-width: 1160px) {
43
- .decision__title {
14
+ .decision__content {
44
15
  hyphenate-limit-chars: 10 4 3;
45
16
  }
46
17
  }
47
- }
48
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
49
- .decision__title {
50
- hyphens: auto;
51
- -webkit-hyphenate-limit-before: 3;
52
- -webkit-hyphenate-limit-after: 3;
18
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
19
+ .decision__content {
20
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
53
21
  }
54
22
  @media (min-width: 1160px) {
55
- .decision__title {
23
+ .decision__content {
56
24
  -webkit-hyphenate-limit-before: 4;
57
25
  }
58
26
  }
27
+ }.decision {
28
+ cursor: pointer;
29
+ margin-block-end: 0 !important;
30
+ border: 0;
31
+ align-items: center;
32
+ transition: background-color ease 350ms;
33
+ background-color: transparent;
34
+ display: block;
59
35
  }
60
- .decision__title + p,
61
- .decision__title + ul:not(.list-unstyled),
62
- .decision__title + ol:not(.list-unstyled) {
63
- margin-block-start: 8px;
64
- margin-block-start: var(--size-8);
36
+ .decision:not(.np-option):focus-visible,
37
+ .decision:not(.np-option):has(:focus-visible) {
38
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
39
+ outline-offset: 0;
40
+ outline-offset: var(--ring-outline-offset);
41
+ --ring-outline-offset: 0;
65
42
  }
66
43
  .decision__content {
67
- font-size: 0.875rem;
68
- font-size: var(--font-size-14);
69
- line-height: 155%;
70
- letter-spacing: -0.006em;
71
- font-weight: 400;
72
- font-weight: var(--font-weight-regular);
73
44
  word-wrap: break-word;
74
45
  margin-block-start: 4px;
75
46
  margin-block-start: var(--size-4);