@transferwise/components 0.0.0-experimental-c70eb7d → 0.0.0-experimental-0c7c46a

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 +1530 -2901
  2. package/build/styles/Inputs/Input/Input.css +28 -62
  3. package/build/styles/Inputs/TextArea/TextArea.css +28 -62
  4. package/build/styles/Popover/Popover.css +9 -3
  5. package/build/styles/_deprecated/Select/Select.css +7 -27
  6. package/build/styles/css/accordion.css +52 -23
  7. package/build/styles/css/button-groups.css +8 -29
  8. package/build/styles/css/buttons.css +2 -26
  9. package/build/styles/css/decision.css +52 -23
  10. package/build/styles/css/dropdowns.css +62 -39
  11. package/build/styles/css/droppable.css +8 -28
  12. package/build/styles/css/footer.css +14 -41
  13. package/build/styles/css/input-groups.css +165 -172
  14. package/build/styles/css/list-group.css +45 -0
  15. package/build/styles/css/navbar.css +62 -39
  16. package/build/styles/css/neptune-addons.css +0 -15
  17. package/build/styles/css/neptune-core.css +526 -250
  18. package/build/styles/css/neptune.css +1486 -2841
  19. package/build/styles/css/popovers.css +60 -35
  20. package/build/styles/css/sequences.css +1 -6
  21. package/build/styles/css/tooltip.css +7 -27
  22. package/build/styles/less/neptune-tokens.less +48 -0
  23. package/build/styles/main.css +1530 -2901
  24. package/build/styles/props/neptune-tokens.css +1 -802
  25. package/build/styles/styles/less/accordion.css +52 -23
  26. package/build/styles/styles/less/button-groups.css +8 -29
  27. package/build/styles/styles/less/buttons.css +2 -26
  28. package/build/styles/styles/less/decision.css +52 -23
  29. package/build/styles/styles/less/dropdowns.css +62 -39
  30. package/build/styles/styles/less/droppable.css +8 -28
  31. package/build/styles/styles/less/footer.css +14 -41
  32. package/build/styles/styles/less/forms/bootstrap-forms.css +91 -137
  33. package/build/styles/styles/less/input-groups.css +165 -172
  34. package/build/styles/styles/less/list-group.css +45 -0
  35. package/build/styles/styles/less/navbar.css +62 -39
  36. package/build/styles/styles/less/neptune-addons.css +0 -15
  37. package/build/styles/styles/less/neptune-core.css +526 -250
  38. package/build/styles/styles/less/neptune.css +1486 -2841
  39. package/build/styles/styles/less/popovers.css +60 -35
  40. package/build/styles/styles/less/sequences.css +1 -6
  41. package/build/styles/styles/less/tooltip.css +7 -27
  42. package/package.json +1 -1
  43. package/src/Inputs/Input/Input.css +28 -62
  44. package/src/Inputs/TextArea/TextArea.css +28 -62
  45. package/src/Popover/Popover.css +9 -3
  46. package/src/_deprecated/Select/Select.css +7 -27
  47. package/src/main.css +1530 -2901
  48. package/src/styles/less/accordion.css +52 -23
  49. package/src/styles/less/addons/_background-utilities.less +0 -5
  50. package/src/styles/less/button-groups.css +8 -29
  51. package/src/styles/less/button-groups.less +2 -3
  52. package/src/styles/less/buttons.css +2 -26
  53. package/src/styles/less/buttons.less +1 -1
  54. package/src/styles/less/core/_typography.less +221 -67
  55. package/src/styles/less/decision.css +52 -23
  56. package/src/styles/less/decision.less +2 -2
  57. package/src/styles/less/dropdowns.css +62 -39
  58. package/src/styles/less/dropdowns.less +5 -6
  59. package/src/styles/less/droppable.css +8 -28
  60. package/src/styles/less/droppable.less +4 -4
  61. package/src/styles/less/footer.css +14 -41
  62. package/src/styles/less/footer.less +3 -4
  63. package/src/styles/less/forms/bootstrap-forms.css +91 -137
  64. package/src/styles/less/forms/bootstrap-forms.less +57 -70
  65. package/src/styles/less/input-groups.css +165 -172
  66. package/src/styles/less/input-groups.less +5 -5
  67. package/src/styles/less/list-group.css +45 -0
  68. package/src/styles/less/list-group.less +4 -7
  69. package/src/styles/less/mixins/_text-emphasis.less +1 -7
  70. package/src/styles/less/navbar.css +62 -39
  71. package/src/styles/less/neptune-addons.css +0 -15
  72. package/src/styles/less/neptune-core.css +526 -250
  73. package/src/styles/less/neptune.bundle.less +0 -4
  74. package/src/styles/less/neptune.css +1486 -2841
  75. package/src/styles/less/popovers.css +60 -35
  76. package/src/styles/less/popovers.less +3 -3
  77. package/src/styles/less/sequences.css +1 -6
  78. package/src/styles/less/sequences.less +2 -7
  79. package/src/styles/less/tooltip.css +7 -27
  80. package/src/styles/less/tooltip.less +1 -1
@@ -1,65 +1,4 @@
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 {
1
+ .np-form-control {
63
2
  --ring-width: 1px;
64
3
  --ring-color: var(--color-interactive-secondary);
65
4
  border: none;
@@ -100,6 +39,12 @@
100
39
  --ring-color: var(--color-interactive-primary);
101
40
  }
102
41
  .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;
103
48
  word-wrap: break-word;
104
49
  padding-block-start: 12px;
105
50
  padding-block-start: var(--size-12);
@@ -141,6 +86,12 @@
141
86
  padding-block-end: 0 !important;
142
87
  }
143
88
  .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);
144
95
  word-wrap: break-word;
145
96
  block-size: 32px !important;
146
97
  block-size: var(--size-32) !important;
@@ -180,6 +131,12 @@
180
131
  }
181
132
  }
182
133
  .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;
183
140
  word-wrap: break-word;
184
141
  block-size: 48px !important;
185
142
  block-size: var(--size-48) !important;
@@ -222,8 +179,17 @@
222
179
  margin: 0;
223
180
  color: #37517e;
224
181
  color: var(--color-content-primary);
182
+ line-height: 1.2;
183
+ line-height: var(--line-height-title);
184
+ letter-spacing: 0;
225
185
  word-wrap: break-word;
226
186
  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%;
227
193
  block-size: 72px !important;
228
194
  block-size: var(--size-72) !important;
229
195
  }
@@ -1,65 +1,4 @@
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 {
1
+ .np-form-control {
63
2
  --ring-width: 1px;
64
3
  --ring-color: var(--color-interactive-secondary);
65
4
  border: none;
@@ -100,6 +39,12 @@
100
39
  --ring-color: var(--color-interactive-primary);
101
40
  }
102
41
  .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;
103
48
  word-wrap: break-word;
104
49
  padding-block-start: 12px;
105
50
  padding-block-start: var(--size-12);
@@ -141,6 +86,12 @@
141
86
  padding-block-end: 0 !important;
142
87
  }
143
88
  .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);
144
95
  word-wrap: break-word;
145
96
  block-size: 32px !important;
146
97
  block-size: var(--size-32) !important;
@@ -180,6 +131,12 @@
180
131
  }
181
132
  }
182
133
  .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;
183
140
  word-wrap: break-word;
184
141
  block-size: 48px !important;
185
142
  block-size: var(--size-48) !important;
@@ -222,8 +179,17 @@
222
179
  margin: 0;
223
180
  color: #37517e;
224
181
  color: var(--color-content-primary);
182
+ line-height: 1.2;
183
+ line-height: var(--line-height-title);
184
+ letter-spacing: 0;
225
185
  word-wrap: break-word;
226
186
  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%;
227
193
  block-size: 72px !important;
228
194
  block-size: var(--size-72) !important;
229
195
  }
@@ -1,6 +1,3 @@
1
- .np-popover__container.np-bottom-sheet .np-popover__title {
2
- margin-block-end: initial;
3
- }
4
1
  .np-theme-personal .np-popover__container {
5
2
  border-radius: 16px;
6
3
  border-radius: var(--radius-medium);
@@ -29,8 +26,17 @@
29
26
  margin: 0;
30
27
  color: #37517e;
31
28
  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%;
34
40
  }
35
41
  @supports (hyphenate-limit-chars: 1) {
36
42
  .np-popover__container.np-bottom-sheet .np-popover__title {
@@ -1,30 +1,4 @@
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 {
1
+ .np-select .np-dropdown-toggle {
28
2
  background-color: #ffffff;
29
3
  background-color: var(--color-background-screen);
30
4
  border: 1px solid #c9cbce;
@@ -172,6 +146,12 @@
172
146
  border-radius: var(--radius-small);
173
147
  color: #37517e;
174
148
  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);
175
155
  word-wrap: break-word;
176
156
  }
177
157
  .np-theme-personal .np-dropdown-menu > li > a {
@@ -36,49 +36,78 @@
36
36
  .np-theme-personal .chevron-color {
37
37
  color: var(--color-interactive-primary);
38
38
  }
39
- .decision__content {
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;
40
62
  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%;
41
69
  }
42
70
  @supports (hyphenate-limit-chars: 1) {
43
- .decision__content {
44
- hyphens: auto;hyphenate-limit-chars: 7 3;
71
+ .decision__title {
72
+ hyphens: auto;
73
+ hyphenate-limit-chars: 7 3;
45
74
  }
46
75
  @media (min-width: 840px) {
47
- .decision__content {
76
+ .decision__title {
48
77
  hyphenate-limit-chars: 8 3;
49
78
  }
50
79
  }
51
80
  @media (min-width: 1160px) {
52
- .decision__content {
81
+ .decision__title {
53
82
  hyphenate-limit-chars: 10 4 3;
54
83
  }
55
84
  }
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;
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;
59
91
  }
60
92
  @media (min-width: 1160px) {
61
- .decision__content {
93
+ .decision__title {
62
94
  -webkit-hyphenate-limit-before: 4;
63
95
  }
64
96
  }
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;
73
97
  }
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;
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);
80
103
  }
81
104
  .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);
82
111
  word-wrap: break-word;
83
112
  margin-block-start: 4px;
84
113
  margin-block-start: var(--size-4);
@@ -1,30 +1,4 @@
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,
1
+ .btn-group,
28
2
  .btn-group-vertical {
29
3
  position: relative;
30
4
  display: inline-block;
@@ -360,9 +334,8 @@
360
334
  .btn-group .btn-input + .dropdown-menu > li > a {
361
335
  white-space: normal;
362
336
  }
363
- .btn-group .body-2,
364
337
  .btn-group .np-text-body-default,
365
- .btn-group .wds-text-body-default,
338
+ .btn-group .body-2,
366
339
  .btn-group .small {
367
340
  color: #5d7079;
368
341
  color: var(--color-content-secondary);
@@ -373,6 +346,12 @@
373
346
  }
374
347
  }
375
348
  .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);
376
355
  word-wrap: break-word;
377
356
  color: #5d7079;
378
357
  color: var(--color-content-secondary);
@@ -2,32 +2,8 @@
2
2
  block-size: 32px;
3
3
  }
4
4
  .btn {
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 {
5
+ line-height: 150%;
6
+ letter-spacing: -0.011em;
31
7
  word-wrap: break-word;
32
8
  display: inline-block;
33
9
  margin-block-end: 0;
@@ -1,46 +1,75 @@
1
- .decision__content {
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;
2
24
  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%;
3
31
  }
4
32
  @supports (hyphenate-limit-chars: 1) {
5
- .decision__content {
6
- hyphens: auto;hyphenate-limit-chars: 7 3;
33
+ .decision__title {
34
+ hyphens: auto;
35
+ hyphenate-limit-chars: 7 3;
7
36
  }
8
37
  @media (min-width: 840px) {
9
- .decision__content {
38
+ .decision__title {
10
39
  hyphenate-limit-chars: 8 3;
11
40
  }
12
41
  }
13
42
  @media (min-width: 1160px) {
14
- .decision__content {
43
+ .decision__title {
15
44
  hyphenate-limit-chars: 10 4 3;
16
45
  }
17
46
  }
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;
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;
21
53
  }
22
54
  @media (min-width: 1160px) {
23
- .decision__content {
55
+ .decision__title {
24
56
  -webkit-hyphenate-limit-before: 4;
25
57
  }
26
58
  }
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;
35
59
  }
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;
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);
42
65
  }
43
66
  .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);
44
73
  word-wrap: break-word;
45
74
  margin-block-start: 4px;
46
75
  margin-block-start: var(--size-4);