@transferwise/components 0.0.0-experimental-74e7404 → 0.0.0-experimental-4560f77

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 (231) hide show
  1. package/build/Body/Body.js +1 -1
  2. package/build/Body/Body.js.map +1 -1
  3. package/build/Body/Body.mjs +1 -1
  4. package/build/Body/Body.mjs.map +1 -1
  5. package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +1 -1
  6. package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
  7. package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +1 -1
  8. package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
  9. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +1 -1
  10. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
  11. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +1 -1
  12. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
  13. package/build/Calendar/TableLink/TableLink.js +1 -1
  14. package/build/Calendar/TableLink/TableLink.js.map +1 -1
  15. package/build/Calendar/TableLink/TableLink.mjs +1 -1
  16. package/build/Calendar/TableLink/TableLink.mjs.map +1 -1
  17. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js +1 -1
  18. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js.map +1 -1
  19. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs +1 -1
  20. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs.map +1 -1
  21. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js +2 -2
  22. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
  23. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs +2 -2
  24. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
  25. package/build/Inputs/SelectInput/Option/SelectInputOption.js +1 -1
  26. package/build/Inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
  27. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs +1 -1
  28. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
  29. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -3
  30. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
  31. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -3
  32. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
  33. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js +2 -2
  34. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
  35. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs +2 -2
  36. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
  37. package/build/Label/Label.js +1 -1
  38. package/build/Label/Label.js.map +1 -1
  39. package/build/Label/Label.mjs +1 -1
  40. package/build/Label/Label.mjs.map +1 -1
  41. package/build/Stepper/Stepper.js +1 -1
  42. package/build/Stepper/Stepper.js.map +1 -1
  43. package/build/Stepper/Stepper.mjs +1 -1
  44. package/build/Stepper/Stepper.mjs.map +1 -1
  45. package/build/Table/Header/TableHeader.js +1 -1
  46. package/build/Table/Header/TableHeader.js.map +1 -1
  47. package/build/Table/Header/TableHeader.mjs +1 -1
  48. package/build/Table/Header/TableHeader.mjs.map +1 -1
  49. package/build/Tabs/Tab/Tab.js +1 -1
  50. package/build/Tabs/Tab/Tab.js.map +1 -1
  51. package/build/Tabs/Tab/Tab.mjs +1 -1
  52. package/build/Tabs/Tab/Tab.mjs.map +1 -1
  53. package/build/Tag/Tag.js +1 -1
  54. package/build/Tag/Tag.js.map +1 -1
  55. package/build/Tag/Tag.mjs +1 -1
  56. package/build/Tag/Tag.mjs.map +1 -1
  57. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
  58. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
  59. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
  60. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
  61. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
  62. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
  63. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
  64. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
  65. package/build/_deprecated/ActionButton/ActionButton.js +1 -1
  66. package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
  67. package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
  68. package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
  69. package/build/_deprecated/Avatar/Avatar.js +1 -1
  70. package/build/_deprecated/Avatar/Avatar.js.map +1 -1
  71. package/build/_deprecated/Avatar/Avatar.mjs +1 -1
  72. package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
  73. package/build/_deprecated/Select/Select.js +2 -2
  74. package/build/_deprecated/Select/Select.js.map +1 -1
  75. package/build/_deprecated/Select/Select.mjs +2 -2
  76. package/build/_deprecated/Select/Select.mjs.map +1 -1
  77. package/build/common/PropsValues/typography.js +6 -0
  78. package/build/common/PropsValues/typography.js.map +1 -1
  79. package/build/common/PropsValues/typography.mjs +6 -0
  80. package/build/common/PropsValues/typography.mjs.map +1 -1
  81. package/build/main.css +2907 -1535
  82. package/build/styles/Accordion/Accordion.css +2 -1
  83. package/build/styles/Body/Body.css +1 -1
  84. package/build/styles/Chips/Chip/Chip.css +4 -2
  85. package/build/styles/Decision/Decision.css +2 -1
  86. package/build/styles/Inputs/Input/Input.css +62 -66
  87. package/build/styles/Inputs/TextArea/TextArea.css +62 -66
  88. package/build/styles/MoneyInput/MoneyInput.css +6 -3
  89. package/build/styles/Popover/Popover.css +3 -47
  90. package/build/styles/ProgressBar/ProgressBar.css +2 -1
  91. package/build/styles/Table/Table.css +15 -5
  92. package/build/styles/Tile/Tile.css +2 -1
  93. package/build/styles/Typeahead/Typeahead.css +4 -2
  94. package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  95. package/build/styles/_deprecated/Select/Select.css +44 -11
  96. package/build/styles/css/accordion.css +23 -52
  97. package/build/styles/css/button-groups.css +29 -8
  98. package/build/styles/css/buttons.css +26 -2
  99. package/build/styles/css/decision.css +23 -52
  100. package/build/styles/css/dropdowns.css +39 -62
  101. package/build/styles/css/droppable.css +28 -8
  102. package/build/styles/css/footer.css +41 -14
  103. package/build/styles/css/input-groups.css +172 -165
  104. package/build/styles/css/list-group.css +0 -45
  105. package/build/styles/css/navbar.css +39 -62
  106. package/build/styles/css/neptune-addons.css +15 -0
  107. package/build/styles/css/neptune-core.css +250 -526
  108. package/build/styles/css/neptune.css +2759 -1422
  109. package/build/styles/css/popovers.css +35 -60
  110. package/build/styles/css/sequences.css +6 -1
  111. package/build/styles/css/tooltip.css +27 -7
  112. package/build/styles/less/neptune-tokens.less +0 -48
  113. package/build/styles/main.css +2907 -1535
  114. package/build/styles/props/neptune-tokens.css +793 -1
  115. package/build/styles/styles/less/accordion.css +23 -52
  116. package/build/styles/styles/less/button-groups.css +29 -8
  117. package/build/styles/styles/less/buttons.css +26 -2
  118. package/build/styles/styles/less/decision.css +23 -52
  119. package/build/styles/styles/less/dropdowns.css +39 -62
  120. package/build/styles/styles/less/droppable.css +28 -8
  121. package/build/styles/styles/less/footer.css +41 -14
  122. package/build/styles/styles/less/forms/bootstrap-forms.css +137 -91
  123. package/build/styles/styles/less/input-groups.css +172 -165
  124. package/build/styles/styles/less/list-group.css +0 -45
  125. package/build/styles/styles/less/navbar.css +39 -62
  126. package/build/styles/styles/less/neptune-addons.css +15 -0
  127. package/build/styles/styles/less/neptune-core.css +250 -526
  128. package/build/styles/styles/less/neptune.css +2759 -1422
  129. package/build/styles/styles/less/popovers.css +35 -60
  130. package/build/styles/styles/less/sequences.css +6 -1
  131. package/build/styles/styles/less/tooltip.css +27 -7
  132. package/build/types/Body/Body.d.ts +2 -2
  133. package/build/types/IconButton/IconButton.d.ts +1 -1
  134. package/build/types/MoneyInput/MoneyInput.d.ts +1 -1
  135. package/build/types/MoneyInput/MoneyInput.d.ts.map +1 -1
  136. package/build/types/Title/Title.d.ts +2 -2
  137. package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts +1 -1
  138. package/build/types/UploadInput/UploadItem/UploadItemLink.d.ts +1 -1
  139. package/build/types/common/PropsValues/typography.d.ts +13 -1
  140. package/build/types/common/PropsValues/typography.d.ts.map +1 -1
  141. package/package.json +1 -1
  142. package/src/Accordion/Accordion.css +2 -1
  143. package/src/Accordion/Accordion.less +2 -1
  144. package/src/Body/Body.css +1 -1
  145. package/src/Body/Body.less +1 -1
  146. package/src/Body/Body.test.tsx +4 -4
  147. package/src/Body/Body.tsx +2 -2
  148. package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
  149. package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
  150. package/src/Calendar/TableLink/TableLink.tsx +1 -1
  151. package/src/Chips/Chip/Chip.css +4 -2
  152. package/src/Chips/Chip/Chip.less +2 -1
  153. package/src/Decision/Decision.css +2 -1
  154. package/src/Decision/Decision.less +2 -1
  155. package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
  156. package/src/Display/_stories/Display.story.tsx +20 -6
  157. package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
  158. package/src/Inputs/Input/Input.css +62 -66
  159. package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +2 -2
  160. package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
  161. package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
  162. package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +2 -2
  163. package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
  164. package/src/Inputs/TextArea/TextArea.css +62 -66
  165. package/src/Inputs/_common.less +5 -5
  166. package/src/Label/Label.tsx +1 -1
  167. package/src/MoneyInput/MoneyInput.css +6 -3
  168. package/src/MoneyInput/MoneyInput.less +7 -4
  169. package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
  170. package/src/Popover/Popover.css +3 -47
  171. package/src/Popover/Popover.less +1 -1
  172. package/src/ProgressBar/ProgressBar.css +2 -1
  173. package/src/ProgressBar/ProgressBar.less +12 -11
  174. package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
  175. package/src/Stepper/Stepper.tsx +1 -1
  176. package/src/Table/Header/TableHeader.tsx +1 -1
  177. package/src/Table/StatusText/TableStatusText.test.tsx +5 -5
  178. package/src/Table/Table.css +15 -5
  179. package/src/Table/Table.less +17 -6
  180. package/src/Tabs/Tab/Tab.tsx +1 -1
  181. package/src/Tag/Tag.tsx +1 -1
  182. package/src/Tag/_stories/Tag.story.tsx +1 -1
  183. package/src/Tile/Tile.css +2 -1
  184. package/src/Tile/Tile.less +2 -1
  185. package/src/Typeahead/Typeahead.css +4 -2
  186. package/src/Typeahead/Typeahead.less +2 -1
  187. package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
  188. package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +2 -2
  189. package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
  190. package/src/_deprecated/Avatar/Avatar.tsx +1 -1
  191. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  192. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +2 -1
  193. package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
  194. package/src/_deprecated/Select/Select.css +44 -11
  195. package/src/_deprecated/Select/Select.less +10 -5
  196. package/src/_deprecated/Select/Select.tsx +2 -2
  197. package/src/common/PropsValues/typography.ts +20 -1
  198. package/src/main.css +2907 -1535
  199. package/src/styles/less/accordion.css +23 -52
  200. package/src/styles/less/addons/_background-utilities.less +5 -0
  201. package/src/styles/less/button-groups.css +29 -8
  202. package/src/styles/less/button-groups.less +3 -2
  203. package/src/styles/less/buttons.css +26 -2
  204. package/src/styles/less/buttons.less +1 -1
  205. package/src/styles/less/core/_typography.less +67 -221
  206. package/src/styles/less/decision.css +23 -52
  207. package/src/styles/less/decision.less +2 -2
  208. package/src/styles/less/dropdowns.css +39 -62
  209. package/src/styles/less/dropdowns.less +6 -5
  210. package/src/styles/less/droppable.css +28 -8
  211. package/src/styles/less/droppable.less +4 -4
  212. package/src/styles/less/footer.css +41 -14
  213. package/src/styles/less/footer.less +4 -3
  214. package/src/styles/less/forms/bootstrap-forms.css +137 -91
  215. package/src/styles/less/forms/bootstrap-forms.less +70 -57
  216. package/src/styles/less/input-groups.css +172 -165
  217. package/src/styles/less/input-groups.less +5 -5
  218. package/src/styles/less/list-group.css +0 -45
  219. package/src/styles/less/list-group.less +7 -4
  220. package/src/styles/less/mixins/_text-emphasis.less +7 -1
  221. package/src/styles/less/navbar.css +39 -62
  222. package/src/styles/less/neptune-addons.css +15 -0
  223. package/src/styles/less/neptune-core.css +250 -526
  224. package/src/styles/less/neptune.bundle.less +4 -0
  225. package/src/styles/less/neptune.css +2759 -1422
  226. package/src/styles/less/popovers.css +35 -60
  227. package/src/styles/less/popovers.less +3 -3
  228. package/src/styles/less/sequences.css +6 -1
  229. package/src/styles/less/sequences.less +7 -2
  230. package/src/styles/less/tooltip.css +27 -7
  231. package/src/styles/less/tooltip.less +1 -1
@@ -9,7 +9,8 @@
9
9
  background-color: transparent;
10
10
  }
11
11
  .np-accordion-item.np-accordion-item--dark .media-body,
12
- .np-accordion-item.np-accordion-item--dark .np-text-title-body {
12
+ .np-accordion-item.np-accordion-item--dark .np-text-title-body,
13
+ .np-accordion-item.np-accordion-item--dark .wds-text-title-body {
13
14
  color: #ffffff;
14
15
  }
15
16
  .np-accordion-item__content {
@@ -1,3 +1,3 @@
1
- .np-text--pre-line {
1
+ .wds-text--pre-line {
2
2
  white-space: pre-line;
3
3
  }
@@ -134,12 +134,14 @@
134
134
  .np-theme-personal .np-chip.np-chip--removable {
135
135
  position: relative;
136
136
  }
137
- .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
137
+ .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold,
138
+ .np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
138
139
  padding-inline-end: 24px;
139
140
  padding-inline-end: var(--size-24);
140
141
  }
141
142
  @media (max-width: 320px) {
142
- .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
143
+ .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold,
144
+ .np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
143
145
  padding-inline-end: 48px;
144
146
  padding-inline-end: var(--size-48);
145
147
  }
@@ -1,7 +1,8 @@
1
1
  .np-decision .decision {
2
2
  display: flex;
3
3
  }
4
- .np-decision__tile--small .np-text-title-subsection {
4
+ .np-decision__tile--small .np-text-title-subsection,
5
+ .np-decision__tile--small .wds-text-title-subsection {
5
6
  font-size: 1rem;
6
7
  font-size: var(--font-size-16);
7
8
  line-height: 1.2;
@@ -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;
@@ -176,57 +219,10 @@
176
219
  }
177
220
  }
178
221
  .np-form-control--size-lg {
179
- margin: 0;
180
- color: #37517e;
181
- color: var(--color-content-primary);
182
- line-height: 1.2;
183
- line-height: var(--line-height-title);
184
- letter-spacing: 0;
185
- word-wrap: break-word;
186
222
  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
223
  block-size: 72px !important;
194
224
  block-size: var(--size-72) !important;
195
225
  }
196
- @supports (hyphenate-limit-chars: 1) {
197
- .np-form-control--size-lg {
198
- hyphens: auto;
199
- hyphenate-limit-chars: 7 3;
200
- }
201
- @media (min-width: 840px) {
202
- .np-form-control--size-lg {
203
- hyphenate-limit-chars: 8 3;
204
- }
205
- }
206
- @media (min-width: 1160px) {
207
- .np-form-control--size-lg {
208
- hyphenate-limit-chars: 10 4 3;
209
- }
210
- }
211
- }
212
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
213
- .np-form-control--size-lg {
214
- hyphens: auto;
215
- -webkit-hyphenate-limit-before: 3;
216
- -webkit-hyphenate-limit-after: 3;
217
- }
218
- @media (min-width: 1160px) {
219
- .np-form-control--size-lg {
220
- -webkit-hyphenate-limit-before: 4;
221
- }
222
- }
223
- }
224
- .np-form-control--size-lg + p,
225
- .np-form-control--size-lg + ul:not(.list-unstyled),
226
- .np-form-control--size-lg + ol:not(.list-unstyled) {
227
- margin-block-start: 8px;
228
- margin-block-start: var(--size-8);
229
- }
230
226
  .np-input::-moz-placeholder {
231
227
  color: #768e9c;
232
228
  color: var(--color-content-tertiary);
@@ -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;
@@ -176,57 +219,10 @@
176
219
  }
177
220
  }
178
221
  .np-form-control--size-lg {
179
- margin: 0;
180
- color: #37517e;
181
- color: var(--color-content-primary);
182
- line-height: 1.2;
183
- line-height: var(--line-height-title);
184
- letter-spacing: 0;
185
- word-wrap: break-word;
186
222
  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
223
  block-size: 72px !important;
194
224
  block-size: var(--size-72) !important;
195
225
  }
196
- @supports (hyphenate-limit-chars: 1) {
197
- .np-form-control--size-lg {
198
- hyphens: auto;
199
- hyphenate-limit-chars: 7 3;
200
- }
201
- @media (min-width: 840px) {
202
- .np-form-control--size-lg {
203
- hyphenate-limit-chars: 8 3;
204
- }
205
- }
206
- @media (min-width: 1160px) {
207
- .np-form-control--size-lg {
208
- hyphenate-limit-chars: 10 4 3;
209
- }
210
- }
211
- }
212
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
213
- .np-form-control--size-lg {
214
- hyphens: auto;
215
- -webkit-hyphenate-limit-before: 3;
216
- -webkit-hyphenate-limit-after: 3;
217
- }
218
- @media (min-width: 1160px) {
219
- .np-form-control--size-lg {
220
- -webkit-hyphenate-limit-before: 4;
221
- }
222
- }
223
- }
224
- .np-form-control--size-lg + p,
225
- .np-form-control--size-lg + ul:not(.list-unstyled),
226
- .np-form-control--size-lg + ol:not(.list-unstyled) {
227
- margin-block-start: 8px;
228
- margin-block-start: var(--size-8);
229
- }
230
226
  .np-text-area {
231
227
  min-block-size: 72px;
232
228
  min-block-size: var(--size-72);
@@ -4,7 +4,8 @@
4
4
  .tw-money-input .tw-money-input__fixed-currency {
5
5
  padding-inline-start: 0 !important;
6
6
  }
7
- .tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection {
7
+ .tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection,
8
+ .tw-money-input .tw-money-input__fixed-currency .wds-text-title-subsection {
8
9
  color: #768e9c;
9
10
  color: var(--color-content-tertiary);
10
11
  font-weight: 600;
@@ -20,14 +21,16 @@
20
21
  .tw-money-input.input-group-sm .form-control {
21
22
  min-block-size: 34px;
22
23
  }
23
- .tw-money-input.input-group-sm .np-text-title-subsection {
24
+ .tw-money-input.input-group-sm .np-text-title-subsection,
25
+ .tw-money-input.input-group-sm .wds-text-title-subsection {
24
26
  font-size: 0.875rem;
25
27
  font-size: var(--font-size-14);
26
28
  }
27
29
  .tw-money-input.input-group-md .form-control {
28
30
  min-block-size: 53px;
29
31
  }
30
- .tw-money-input.input-group-md .np-text-title-subsection {
32
+ .tw-money-input.input-group-md .np-text-title-subsection,
33
+ .tw-money-input.input-group-md .wds-text-title-subsection {
31
34
  font-size: 1rem;
32
35
  font-size: var(--font-size-16);
33
36
  }
@@ -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);
@@ -23,54 +26,7 @@
23
26
  padding: var(--size-24);
24
27
  }
25
28
  .np-popover__container.np-bottom-sheet .np-popover__title {
26
- margin: 0;
27
- color: #37517e;
28
- color: var(--color-content-primary);
29
- line-height: 1.2;
30
- line-height: var(--line-height-title);
31
- letter-spacing: 0;
32
- word-wrap: break-word;
33
29
  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
- }
41
- @supports (hyphenate-limit-chars: 1) {
42
- .np-popover__container.np-bottom-sheet .np-popover__title {
43
- hyphens: auto;
44
- hyphenate-limit-chars: 7 3;
45
- }
46
- @media (min-width: 840px) {
47
- .np-popover__container.np-bottom-sheet .np-popover__title {
48
- hyphenate-limit-chars: 8 3;
49
- }
50
- }
51
- @media (min-width: 1160px) {
52
- .np-popover__container.np-bottom-sheet .np-popover__title {
53
- hyphenate-limit-chars: 10 4 3;
54
- }
55
- }
56
- }
57
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
58
- .np-popover__container.np-bottom-sheet .np-popover__title {
59
- hyphens: auto;
60
- -webkit-hyphenate-limit-before: 3;
61
- -webkit-hyphenate-limit-after: 3;
62
- }
63
- @media (min-width: 1160px) {
64
- .np-popover__container.np-bottom-sheet .np-popover__title {
65
- -webkit-hyphenate-limit-before: 4;
66
- }
67
- }
68
- }
69
- .np-popover__container.np-bottom-sheet .np-popover__title + p,
70
- .np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
71
- .np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
72
- margin-block-start: 8px;
73
- margin-block-start: var(--size-8);
74
30
  }
75
31
  .np-popover__container.np-bottom-sheet .np-popover__content {
76
32
  padding-block: 32px;
@@ -1,4 +1,5 @@
1
- .np-progress-bar__title .h4 {
1
+ .np-progress-bar__title .h4,
2
+ .np-progress-bar__title .wds-text-title-body {
2
3
  color: #37517e;
3
4
  color: var(--color-content-primary);
4
5
  margin-block-end: 4px;
@@ -40,10 +40,16 @@
40
40
  }
41
41
  .np-table-inner-container {
42
42
  background-image: linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)), linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));
43
- background-position: left center, right center, left center, right center;
43
+ background-position: left center,
44
+ right center,
45
+ left center,
46
+ right center;
44
47
  background-repeat: no-repeat;
45
48
  background-color: var(--color-contrast-overlay);
46
- background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
49
+ background-size: 15px 100%,
50
+ 15px 100%,
51
+ 15px 100%,
52
+ 15px 100%;
47
53
  background-attachment: local, local, scroll, scroll;
48
54
  overflow-x: auto;
49
55
  border-radius: 10px;
@@ -138,7 +144,9 @@
138
144
  padding-inline-end: 0;
139
145
  }
140
146
  .np-table-header.np-table-header--right > .np-text-body-default,
141
- .np-table-cell.np-table-cell--right > .np-text-body-default {
147
+ .np-table-cell.np-table-cell--right > .np-text-body-default,
148
+ .np-table-header.np-table-header--right > .wds-text-body-default,
149
+ .np-table-cell.np-table-cell--right > .wds-text-body-default {
142
150
  text-align: end;
143
151
  }
144
152
  .np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
@@ -197,7 +205,8 @@
197
205
  .np-table-cell--primary {
198
206
  min-inline-size: 200px;
199
207
  }
200
- .np-table-cell--currency .np-text-body-default {
208
+ .np-table-cell--currency .np-text-body-default,
209
+ .np-table-cell--currency .wds-text-body-default {
201
210
  white-space: nowrap;
202
211
  }
203
212
  .np-table-cell .tw-chevron {
@@ -214,7 +223,8 @@
214
223
  background-color: var(--color-background-neutral);
215
224
  padding: 0;
216
225
  }
217
- .np-table-cell .np-text-body-default-bold {
226
+ .np-table-cell .np-text-body-default-bold,
227
+ .np-table-cell .wds-text-body-default-bold {
218
228
  display: flex;
219
229
  align-items: center;
220
230
  color: #37517e;
@@ -25,7 +25,8 @@
25
25
  .np-theme-personal .np-tile.decision:active {
26
26
  background-color: var(--color-background-neutral-active);
27
27
  }
28
- .np-theme-personal .np-tile.decision .np-text-body-default {
28
+ .np-theme-personal .np-tile.decision .np-text-body-default,
29
+ .np-theme-personal .np-tile.decision .wds-text-body-default {
29
30
  color: #5d7079;
30
31
  color: var(--color-content-secondary);
31
32
  }
@@ -180,12 +180,14 @@
180
180
  .np-theme-personal .typeahead .np-chip {
181
181
  margin-block-start: 9px !important;
182
182
  }
183
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
183
+ .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
184
+ .np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
184
185
  padding-inline-end: 16px;
185
186
  padding-inline-end: var(--size-16);
186
187
  }
187
188
  @media (max-width: 320px) {
188
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
189
+ .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
190
+ .np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
189
191
  padding-inline-end: 32px;
190
192
  padding-inline-end: var(--size-32);
191
193
  }
@@ -8,7 +8,8 @@
8
8
  color: var(--color-sentiment-content-primary);
9
9
  margin-block-end: 0;
10
10
  }
11
- .critical-comms .alert .np-text-title-body {
11
+ .critical-comms .alert .np-text-title-body,
12
+ .critical-comms .alert .wds-text-title-body {
12
13
  color: var(--color-sentiment-content-primary);
13
14
  }
14
15
  .critical-comms .status-circle.negative {
@@ -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 {
@@ -230,8 +250,12 @@
230
250
  .np-dropdown-menu > .selected > a strong {
231
251
  color: inherit;
232
252
  }
253
+ .np-dropdown-menu > .active > a .body-2,
254
+ .np-dropdown-menu > .selected > a .body-2,
233
255
  .np-dropdown-menu > .active > a .np-text-body-default,
234
- .np-dropdown-menu > .selected > a .np-text-body-default {
256
+ .np-dropdown-menu > .selected > a .np-text-body-default,
257
+ .np-dropdown-menu > .active > a .wds-text-body-default,
258
+ .np-dropdown-menu > .selected > a .wds-text-body-default {
235
259
  color: #c9cbce;
236
260
  }
237
261
  .np-dropdown-menu .np-select-filter,
@@ -271,7 +295,9 @@
271
295
  vertical-align: middle;
272
296
  }
273
297
  .np-select .np-text-body-default,
274
- .np-dropdown-menu .np-text-body-default {
298
+ .np-dropdown-menu .np-text-body-default,
299
+ .np-select .wds-text-body-default,
300
+ .np-dropdown-menu .wds-text-body-default {
275
301
  color: #5d7079;
276
302
  color: var(--color-content-secondary);
277
303
  }
@@ -332,7 +358,13 @@
332
358
  .np-theme-personal .np-dropdown-menu .active a:focus .np-text-body-default,
333
359
  .np-theme-personal .np-dropdown-menu .selected a:focus .np-text-body-default,
334
360
  .np-theme-personal .np-dropdown-menu .active a:hover .np-text-body-default,
335
- .np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default {
361
+ .np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default,
362
+ .np-theme-personal .np-dropdown-menu .active a .wds-text-body-default,
363
+ .np-theme-personal .np-dropdown-menu .selected a .wds-text-body-default,
364
+ .np-theme-personal .np-dropdown-menu .active a:focus .wds-text-body-default,
365
+ .np-theme-personal .np-dropdown-menu .selected a:focus .wds-text-body-default,
366
+ .np-theme-personal .np-dropdown-menu .active a:hover .wds-text-body-default,
367
+ .np-theme-personal .np-dropdown-menu .selected a:hover .wds-text-body-default {
336
368
  color: var(--color-interactive-primary);
337
369
  }
338
370
  .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active {
@@ -340,7 +372,8 @@
340
372
  background-color: var(--color-background-neutral-active) !important;
341
373
  }
342
374
  .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .body-2,
343
- .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default {
375
+ .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default,
376
+ .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .wds-text-body-default {
344
377
  color: var(--color-interactive-primary);
345
378
  }
346
379
  .np-theme-personal .np-dropdown-menu .np-dropdown-item {