@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
@@ -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);
@@ -18,11 +18,11 @@
18
18
  }
19
19
 
20
20
  &__title {
21
- .np-text-title-body();
21
+ .wds-text-title-body();
22
22
  }
23
23
 
24
24
  &__content {
25
- .np-text-body-default;
25
+ .wds-text-body-default;
26
26
 
27
27
  margin-top: var(--size-4);
28
28
  }
@@ -1,4 +1,36 @@
1
- .dropup,
1
+ .dropdown-menu,
2
+ .dropdown-menu > li > a {
3
+ word-wrap: break-word;
4
+ }
5
+ @supports (hyphenate-limit-chars: 1) {
6
+ .dropdown-menu,
7
+ .dropdown-menu > li > a {
8
+ hyphens: auto;hyphenate-limit-chars: 7 3;
9
+ }
10
+ @media (min-width: 840px) {
11
+ .dropdown-menu,
12
+ .dropdown-menu > li > a {
13
+ hyphenate-limit-chars: 8 3;
14
+ }
15
+ }
16
+ @media (min-width: 1160px) {
17
+ .dropdown-menu,
18
+ .dropdown-menu > li > a {
19
+ hyphenate-limit-chars: 10 4 3;
20
+ }
21
+ }
22
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
23
+ .dropdown-menu,
24
+ .dropdown-menu > li > a {
25
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
26
+ }
27
+ @media (min-width: 1160px) {
28
+ .dropdown-menu,
29
+ .dropdown-menu > li > a {
30
+ -webkit-hyphenate-limit-before: 4;
31
+ }
32
+ }
33
+ }.dropup,
2
34
  .dropdown {
3
35
  position: relative;
4
36
  }
@@ -11,12 +43,6 @@
11
43
  padding: 8px;
12
44
  margin: 0;
13
45
  list-style: none;
14
- font-size: 0.875rem;
15
- font-size: var(--font-size-14);
16
- line-height: 155%;
17
- letter-spacing: -0.006em;
18
- font-weight: 400;
19
- font-weight: var(--font-weight-regular);
20
46
  word-wrap: break-word;
21
47
  text-align: start;
22
48
  background-color: #ffffff;
@@ -95,12 +121,6 @@
95
121
  padding: var(--dropdown-link-padding);
96
122
  clear: both;
97
123
  border-radius: 3px;
98
- font-size: 0.875rem;
99
- font-size: var(--font-size-14);
100
- line-height: 155%;
101
- letter-spacing: -0.006em;
102
- font-weight: 400;
103
- font-weight: var(--font-weight-regular);
104
124
  word-wrap: break-word;
105
125
  color: #37517e;
106
126
  color: var(--color-content-primary);
@@ -199,10 +219,12 @@
199
219
  .dropdown-menu > .selected > a strong {
200
220
  color: inherit;
201
221
  }
202
- .dropdown-menu > .active > a .np-text-body-default,
203
- .dropdown-menu > .selected > a .np-text-body-default,
204
222
  .dropdown-menu > .active > a .small,
205
223
  .dropdown-menu > .selected > a .small,
224
+ .dropdown-menu > .active > a .np-text-body-default,
225
+ .dropdown-menu > .selected > a .np-text-body-default,
226
+ .dropdown-menu > .active > a .wds-text-body-default,
227
+ .dropdown-menu > .selected > a .wds-text-body-default,
206
228
  .dropdown-menu > .active > a .secondary,
207
229
  .dropdown-menu > .selected > a .secondary {
208
230
  color: #c9cbce;
@@ -297,58 +319,13 @@
297
319
  display: block;
298
320
  padding-block: 8px;
299
321
  padding-inline: 16px;
322
+ font-size: 0.875rem;
323
+ font-size: var(--font-size-14);
300
324
  line-height: 1.5;
301
325
  line-height: var(--line-height-body);
302
326
  color: #5d7079;
303
327
  color: var(--color-content-secondary);
304
328
  white-space: nowrap;
305
- margin: 0;
306
- color: #37517e;
307
- color: var(--color-content-primary);
308
- line-height: 1.2;
309
- line-height: var(--line-height-title);
310
- letter-spacing: 0;
311
- word-wrap: break-word;
312
- font-weight: 500;
313
- font-weight: var(--font-weight-medium);
314
- font-size: 0.875rem;
315
- font-size: var(--font-size-14);
316
- letter-spacing: -0.006em;
317
- line-height: 140%;
318
- }
319
- @supports (hyphenate-limit-chars: 1) {
320
- .dropdown-header {
321
- hyphens: auto;
322
- hyphenate-limit-chars: 7 3;
323
- }
324
- @media (min-width: 840px) {
325
- .dropdown-header {
326
- hyphenate-limit-chars: 8 3;
327
- }
328
- }
329
- @media (min-width: 1160px) {
330
- .dropdown-header {
331
- hyphenate-limit-chars: 10 4 3;
332
- }
333
- }
334
- }
335
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
336
- .dropdown-header {
337
- hyphens: auto;
338
- -webkit-hyphenate-limit-before: 3;
339
- -webkit-hyphenate-limit-after: 3;
340
- }
341
- @media (min-width: 1160px) {
342
- .dropdown-header {
343
- -webkit-hyphenate-limit-before: 4;
344
- }
345
- }
346
- }
347
- .dropdown-header + p,
348
- .dropdown-header + ul:not(.list-unstyled),
349
- .dropdown-header + ol:not(.list-unstyled) {
350
- margin-block-start: 8px;
351
- margin-block-start: var(--size-8);
352
329
  }
353
330
  .dropdown-backdrop {
354
331
  position: fixed;
@@ -1,4 +1,4 @@
1
- @import (reference) "../variables/neptune-tokens.less";
1
+ @import (reference) "../variables/neptune-tokens.less";
2
2
  @import (reference) "../variables/legacy-variables.less";
3
3
  @import (reference) "../less/core/_typography.less";
4
4
  @import (reference) "./mixins/_border-radius.less";
@@ -30,7 +30,7 @@
30
30
 
31
31
  margin: 0; // override default ul
32
32
  list-style: none;
33
- .np-text-body-default;
33
+ .wds-text-body-default;
34
34
  .text-align(left); // Ensures proper alignment if parent has it changed (e.g., modal footer)
35
35
 
36
36
  background-color: var(--color-background-screen);
@@ -74,7 +74,7 @@
74
74
  padding: var(--dropdown-link-padding);
75
75
  clear: both;
76
76
  border-radius: @border-radius-base;
77
- .np-text-body-default;
77
+ .wds-text-body-default;
78
78
 
79
79
  color: var(--color-content-primary);
80
80
  white-space: nowrap; // prevent links from randomly breaking onto new lines
@@ -174,8 +174,9 @@
174
174
  color: inherit;
175
175
  }
176
176
 
177
- .np-text-body-default,
178
177
  .small,
178
+ .np-text-body-default,
179
+ .wds-text-body-default,
179
180
  .secondary {
180
181
  color: @color-navy-content-secondary;
181
182
  }
@@ -313,7 +314,7 @@
313
314
  color: var(--color-content-secondary);
314
315
  white-space: nowrap; // as with > li > a
315
316
 
316
- .np-text-title-group();
317
+ .wds-text-title-group();
317
318
  }
318
319
 
319
320
  // Backdrop to catch body clicks on mobile, etc.
@@ -1,11 +1,31 @@
1
1
  .droppable {
2
+ word-wrap: break-word;
3
+ }
4
+ @supports (hyphenate-limit-chars: 1) {
5
+ .droppable {
6
+ hyphens: auto;hyphenate-limit-chars: 7 3;
7
+ }
8
+ @media (min-width: 840px) {
9
+ .droppable {
10
+ hyphenate-limit-chars: 8 3;
11
+ }
12
+ }
13
+ @media (min-width: 1160px) {
14
+ .droppable {
15
+ hyphenate-limit-chars: 10 4 3;
16
+ }
17
+ }
18
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
19
+ .droppable {
20
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
21
+ }
22
+ @media (min-width: 1160px) {
23
+ .droppable {
24
+ -webkit-hyphenate-limit-before: 4;
25
+ }
26
+ }
27
+ }.droppable {
2
28
  position: relative;
3
- font-weight: 400;
4
- font-weight: var(--font-weight-regular);
5
- font-size: 1rem;
6
- font-size: var(--font-size-16);
7
- line-height: 150%;
8
- letter-spacing: -0.011em;
9
29
  word-wrap: break-word;
10
30
  text-align: center;
11
31
  border: 1px solid #c9cbce;
@@ -167,7 +187,7 @@
167
187
  z-index: 1;
168
188
  }
169
189
  .np-theme-personal .droppable-dropping-card {
170
- background-color: #E1E4DF;
190
+ background-color: #e1e4df;
171
191
  color: #37517e;
172
192
  color: var(--color-content-primary);
173
193
  }
@@ -175,7 +195,7 @@
175
195
  background-color: #404440;
176
196
  }
177
197
  .np-theme-personal--forest-green .droppable-dropping-card {
178
- background-color: #455C35;
198
+ background-color: #455c35;
179
199
  }
180
200
  .droppable-dropping .droppable-dropping-card {
181
201
  display: flex;
@@ -4,7 +4,7 @@
4
4
 
5
5
  .droppable {
6
6
  position: relative;
7
- .np-text-body-large;
7
+ .wds-text-body-large;
8
8
 
9
9
  text-align: center;
10
10
  border: 1px solid var(--color-interactive-secondary);
@@ -74,7 +74,7 @@
74
74
  }
75
75
  .circle {
76
76
  background-color: var(--color-contrast);
77
- color: var(--color-content-primary)!important;
77
+ color: var(--color-content-primary) !important;
78
78
  }
79
79
  }
80
80
  }
@@ -136,7 +136,7 @@
136
136
 
137
137
  .np-theme-personal & {
138
138
  // is a hex code because can't have transparency
139
- background-color: #E1E4DF;
139
+ background-color: #e1e4df;
140
140
  color: var(--color-content-primary);
141
141
  }
142
142
 
@@ -147,7 +147,7 @@
147
147
 
148
148
  .np-theme-personal--forest-green & {
149
149
  // is a hex code because can't have transparency
150
- background-color: #455C35;
150
+ background-color: #455c35;
151
151
  }
152
152
  }
153
153
 
@@ -1,12 +1,44 @@
1
- .footer {
1
+ .footer,
2
+ .footer .footer-link,
3
+ .footer .link-icon {
4
+ word-wrap: break-word;
5
+ }
6
+ @supports (hyphenate-limit-chars: 1) {
7
+ .footer,
8
+ .footer .footer-link,
9
+ .footer .link-icon {
10
+ hyphens: auto;hyphenate-limit-chars: 7 3;
11
+ }
12
+ @media (min-width: 840px) {
13
+ .footer,
14
+ .footer .footer-link,
15
+ .footer .link-icon {
16
+ hyphenate-limit-chars: 8 3;
17
+ }
18
+ }
19
+ @media (min-width: 1160px) {
20
+ .footer,
21
+ .footer .footer-link,
22
+ .footer .link-icon {
23
+ hyphenate-limit-chars: 10 4 3;
24
+ }
25
+ }
26
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
27
+ .footer,
28
+ .footer .footer-link,
29
+ .footer .link-icon {
30
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
31
+ }
32
+ @media (min-width: 1160px) {
33
+ .footer,
34
+ .footer .footer-link,
35
+ .footer .link-icon {
36
+ -webkit-hyphenate-limit-before: 4;
37
+ }
38
+ }
39
+ }.footer {
2
40
  background-color: rgba(134,167,189,0.10196);
3
41
  background-color: var(--color-background-neutral);
4
- font-size: 0.875rem;
5
- font-size: var(--font-size-14);
6
- line-height: 155%;
7
- letter-spacing: -0.006em;
8
- font-weight: 400;
9
- font-weight: var(--font-weight-regular);
10
42
  word-wrap: break-word;
11
43
  padding-block-start: calc(8px * 10);
12
44
  padding-block-start: calc(var(--size-8) * 10);
@@ -61,12 +93,6 @@
61
93
  .footer .link-icon {
62
94
  color: #5d7079;
63
95
  color: var(--color-content-secondary);
64
- font-size: 0.875rem;
65
- font-size: var(--font-size-14);
66
- line-height: 155%;
67
- letter-spacing: -0.006em;
68
- font-weight: 400;
69
- font-weight: var(--font-weight-regular);
70
96
  word-wrap: break-word;
71
97
  }
72
98
  @supports (hyphenate-limit-chars: 1) {
@@ -183,7 +209,8 @@
183
209
  }
184
210
  .footer.footer-inverse .tiny,
185
211
  .footer.footer-inverse .body-3,
186
- .footer.footer-inverse .np-text-body-default {
212
+ .footer.footer-inverse .np-text-body-default,
213
+ .footer.footer-inverse .wds-text-body-default {
187
214
  color: #ffffff;
188
215
  }
189
216
  @media (max-width: 599.98px) {
@@ -3,7 +3,7 @@
3
3
 
4
4
  .footer {
5
5
  background-color: var(--color-background-neutral);
6
- .np-text-body-default;
6
+ .wds-text-body-default;
7
7
 
8
8
  padding-top: calc(var(--size-8) * 10);
9
9
  padding-bottom: calc(var(--size-8) * 10);
@@ -21,7 +21,7 @@
21
21
  .footer-link,
22
22
  .link-icon {
23
23
  color: var(--color-content-secondary);
24
- .np-text-body-default;
24
+ .wds-text-body-default;
25
25
 
26
26
  &:hover,
27
27
  &:active,
@@ -102,7 +102,8 @@
102
102
 
103
103
  .tiny,
104
104
  .body-3,
105
- .np-text-body-default {
105
+ .np-text-body-default,
106
+ .wds-text-body-default {
106
107
  color: @color-navy-content-primary;
107
108
  }
108
109
  }