@transferwise/components 0.0.0-experimental-9022f7b → 0.0.0-experimental-97fe512

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 (208) 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/ExpressiveMoneyInput/AmountInput/AmountInput.js +1 -1
  18. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
  19. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +1 -1
  20. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
  21. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js +1 -1
  22. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js.map +1 -1
  23. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs +1 -1
  24. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs.map +1 -1
  25. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js +2 -2
  26. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
  27. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs +2 -2
  28. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
  29. package/build/Inputs/SelectInput/Option/SelectInputOption.js +1 -1
  30. package/build/Inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
  31. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs +1 -1
  32. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
  33. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -3
  34. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
  35. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -3
  36. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
  37. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js +2 -2
  38. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
  39. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs +2 -2
  40. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
  41. package/build/Label/Label.js +1 -1
  42. package/build/Label/Label.js.map +1 -1
  43. package/build/Label/Label.mjs +1 -1
  44. package/build/Label/Label.mjs.map +1 -1
  45. package/build/Stepper/Stepper.js +1 -1
  46. package/build/Stepper/Stepper.js.map +1 -1
  47. package/build/Stepper/Stepper.mjs +1 -1
  48. package/build/Stepper/Stepper.mjs.map +1 -1
  49. package/build/Table/Header/TableHeader.js +1 -1
  50. package/build/Table/Header/TableHeader.js.map +1 -1
  51. package/build/Table/Header/TableHeader.mjs +1 -1
  52. package/build/Table/Header/TableHeader.mjs.map +1 -1
  53. package/build/Tabs/Tab/Tab.js +1 -1
  54. package/build/Tabs/Tab/Tab.js.map +1 -1
  55. package/build/Tabs/Tab/Tab.mjs +1 -1
  56. package/build/Tabs/Tab/Tab.mjs.map +1 -1
  57. package/build/Tag/Tag.js +1 -1
  58. package/build/Tag/Tag.js.map +1 -1
  59. package/build/Tag/Tag.mjs +1 -1
  60. package/build/Tag/Tag.mjs.map +1 -1
  61. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
  62. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
  63. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
  64. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
  65. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
  66. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
  67. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
  68. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
  69. package/build/_deprecated/ActionButton/ActionButton.js +1 -1
  70. package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
  71. package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
  72. package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
  73. package/build/_deprecated/Avatar/Avatar.js +1 -1
  74. package/build/_deprecated/Avatar/Avatar.js.map +1 -1
  75. package/build/_deprecated/Avatar/Avatar.mjs +1 -1
  76. package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
  77. package/build/_deprecated/Select/Select.js +2 -2
  78. package/build/_deprecated/Select/Select.js.map +1 -1
  79. package/build/_deprecated/Select/Select.mjs +2 -2
  80. package/build/_deprecated/Select/Select.mjs.map +1 -1
  81. package/build/main.css +157 -153
  82. package/build/styles/Accordion/Accordion.css +7 -6
  83. package/build/styles/Body/Body.css +1 -1
  84. package/build/styles/Calendar/Calendar.css +11 -4
  85. package/build/styles/Calendar/TableLink/TableLink.css +11 -4
  86. package/build/styles/Chips/Chip/Chip.css +5 -3
  87. package/build/styles/Decision/Decision.css +4 -3
  88. package/build/styles/Emphasis/Emphasis.css +1 -1
  89. package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
  90. package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
  91. package/build/styles/Inputs/Input/Input.css +5 -41
  92. package/build/styles/Inputs/TextArea/TextArea.css +5 -41
  93. package/build/styles/Label/Label.css +3 -0
  94. package/build/styles/Markup/Markup.css +2 -2
  95. package/build/styles/MoneyInput/MoneyInput.css +9 -6
  96. package/build/styles/Nudge/Nudge.css +3 -3
  97. package/build/styles/Popover/Popover.css +1 -37
  98. package/build/styles/ProgressBar/ProgressBar.css +3 -2
  99. package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
  100. package/build/styles/Snackbar/Snackbar.css +1 -1
  101. package/build/styles/Table/Table.css +18 -8
  102. package/build/styles/Tabs/Tabs.css +3 -3
  103. package/build/styles/Tag/Tag.css +1 -1
  104. package/build/styles/Tile/Tile.css +4 -3
  105. package/build/styles/Typeahead/Typeahead.css +4 -2
  106. package/build/styles/UploadInput/UploadInput.css +1 -1
  107. package/build/styles/_deprecated/ActionButton/ActionButton.css +3 -4
  108. package/build/styles/_deprecated/Avatar/Avatar.css +2 -2
  109. package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  110. package/build/styles/_deprecated/Select/Select.css +22 -9
  111. package/build/styles/_deprecated/Summary/Summary.css +2 -2
  112. package/build/styles/common/Circle/Circle.css +1 -1
  113. package/build/styles/common/Option/Option.css +4 -4
  114. package/build/styles/main.css +157 -153
  115. package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
  116. package/package.json +1 -1
  117. package/src/Accordion/Accordion.css +7 -6
  118. package/src/Accordion/Accordion.less +7 -6
  119. package/src/Body/Body.css +1 -1
  120. package/src/Body/Body.less +1 -1
  121. package/src/Body/Body.test.tsx +4 -4
  122. package/src/Body/Body.tsx +2 -2
  123. package/src/Calendar/Calendar.css +11 -4
  124. package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
  125. package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
  126. package/src/Calendar/TableLink/TableLink.css +11 -4
  127. package/src/Calendar/TableLink/TableLink.less +14 -4
  128. package/src/Calendar/TableLink/TableLink.tsx +1 -1
  129. package/src/Chips/Chip/Chip.css +5 -3
  130. package/src/Chips/Chip/Chip.less +3 -2
  131. package/src/CircularButton/_stories/CircularButton.story.tsx +6 -16
  132. package/src/Decision/Decision.css +4 -3
  133. package/src/Decision/Decision.less +4 -3
  134. package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
  135. package/src/Emphasis/Emphasis.css +1 -1
  136. package/src/Emphasis/Emphasis.less +1 -1
  137. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
  138. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +2 -1
  139. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +1 -4
  140. package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
  141. package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
  142. package/src/Inputs/Input/Input.css +5 -41
  143. package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +2 -2
  144. package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
  145. package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
  146. package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +2 -2
  147. package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
  148. package/src/Inputs/TextArea/TextArea.css +5 -41
  149. package/src/Inputs/_common.less +12 -10
  150. package/src/Label/Label.css +3 -0
  151. package/src/Label/Label.less +8 -0
  152. package/src/Label/Label.tsx +1 -1
  153. package/src/Markup/Markup.css +2 -2
  154. package/src/Markup/Markup.less +2 -2
  155. package/src/MoneyInput/MoneyInput.css +9 -6
  156. package/src/MoneyInput/MoneyInput.less +10 -7
  157. package/src/Nudge/Nudge.css +3 -3
  158. package/src/Nudge/Nudge.less +3 -3
  159. package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
  160. package/src/Popover/Popover.css +1 -37
  161. package/src/Popover/Popover.less +2 -2
  162. package/src/ProgressBar/ProgressBar.css +3 -2
  163. package/src/ProgressBar/ProgressBar.less +12 -11
  164. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
  165. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +2 -1
  166. package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
  167. package/src/Snackbar/Snackbar.css +1 -1
  168. package/src/Snackbar/Snackbar.less +1 -1
  169. package/src/Stepper/Stepper.tsx +1 -1
  170. package/src/Table/Header/TableHeader.tsx +1 -1
  171. package/src/Table/StatusText/TableStatusText.test.tsx +5 -5
  172. package/src/Table/Table.css +18 -8
  173. package/src/Table/Table.less +20 -9
  174. package/src/Tabs/Tab/Tab.tsx +1 -1
  175. package/src/Tabs/Tabs.css +3 -3
  176. package/src/Tabs/Tabs.less +3 -3
  177. package/src/Tag/Tag.css +1 -1
  178. package/src/Tag/Tag.less +1 -1
  179. package/src/Tag/Tag.tsx +1 -1
  180. package/src/Tag/_stories/Tag.story.tsx +1 -1
  181. package/src/Tile/Tile.css +4 -3
  182. package/src/Tile/Tile.less +4 -3
  183. package/src/Typeahead/Typeahead.css +4 -2
  184. package/src/Typeahead/Typeahead.less +2 -1
  185. package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
  186. package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +2 -2
  187. package/src/UploadInput/UploadInput.css +1 -1
  188. package/src/UploadInput/UploadInput.less +7 -4
  189. package/src/_deprecated/ActionButton/ActionButton.css +3 -4
  190. package/src/_deprecated/ActionButton/ActionButton.less +4 -5
  191. package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
  192. package/src/_deprecated/Avatar/Avatar.css +2 -2
  193. package/src/_deprecated/Avatar/Avatar.less +2 -2
  194. package/src/_deprecated/Avatar/Avatar.tsx +1 -1
  195. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  196. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +2 -1
  197. package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
  198. package/src/_deprecated/Select/Select.css +22 -9
  199. package/src/_deprecated/Select/Select.less +14 -10
  200. package/src/_deprecated/Select/Select.tsx +2 -2
  201. package/src/_deprecated/Summary/Summary.css +2 -2
  202. package/src/_deprecated/Summary/Summary.less +2 -2
  203. package/src/common/Circle/Circle.css +1 -1
  204. package/src/common/Circle/Circle.less +1 -1
  205. package/src/common/Option/Option.css +4 -4
  206. package/src/common/Option/Option.less +4 -4
  207. package/src/main.css +157 -153
  208. package/src/main.less +3 -2
@@ -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 {
@@ -23,7 +24,7 @@
23
24
  }
24
25
  }
25
26
  .np-accordion-item .np-option .np-option__title {
26
- font-weight: var(--font-weight-semi-bold);
27
+ font-weight: var(--wds-font-weight-body-bold);
27
28
  }
28
29
  .np-theme-personal .np-accordion-item--with-media .media {
29
30
  display: flex;
@@ -38,13 +39,13 @@
38
39
  align-items: flex-start;
39
40
  }
40
41
  .np-theme-personal .np-accordion-item .decision__title {
41
- font-size: var(--font-size-18);
42
+ font-size: var(--wds-line-height-title-body);
42
43
  }
43
44
  .np-theme-personal .np-accordion-item .np-option .np-option__title {
44
45
  margin-block-end: 0;
45
- font-size: var(--font-size-18);
46
- letter-spacing: var(--letter-spacing-negative-xs);
47
- line-height: var(--line-height-24);
46
+ font-size: var(--wds-line-height-title-body);
47
+ letter-spacing: var(--wds-letter-spacing-title-body);
48
+ line-height: var(--wds-line-height-title-body);
48
49
  }
49
50
  .np-theme-personal .np-accordion-item .np-option .circle-sm {
50
51
  background-color: transparent;
@@ -1,3 +1,3 @@
1
- .np-text--pre-line {
1
+ .wds-text--pre-line {
2
2
  white-space: pre-line;
3
3
  }
@@ -7,7 +7,7 @@
7
7
  border: transparent;
8
8
  border-radius: var(--radius-small);
9
9
  background-color: transparent;
10
- font-weight: var(--font-weight-semi-bold);
10
+ font-weight: var(--wds-font-weight-title-screen);
11
11
  color: var(--color-content-primary);
12
12
  }
13
13
  @media (max-width: 320px) {
@@ -89,10 +89,11 @@
89
89
  text-decoration-color: var(--color-content-tertiary);
90
90
  }
91
91
  .wds-Calendar__option--day {
92
- block-size: var(--size-40);
92
+ --circleSize: var(--size-40);
93
+ block-size: var(--circleSize);
94
+ line-height: var(--circleSize);
95
+ inline-size: var(--circleSize);
93
96
  border-radius: var(--radius-full);
94
- line-height: var(--size-40);
95
- inline-size: var(--size-40);
96
97
  padding: 0;
97
98
  display: inline-flex;
98
99
  align-items: center;
@@ -104,6 +105,12 @@
104
105
  text-decoration-thickness: 2px;
105
106
  text-underline-offset: 4px;
106
107
  }
108
+ .wds-Calendar__option--year {
109
+ display: inline-flex;
110
+ align-items: center;
111
+ justify-content: center;
112
+ block-size: calc(1rlh * 1.6);
113
+ }
107
114
  .tw-date-lookup-calendar {
108
115
  min-inline-size: 300px;
109
116
  text-align: center;
@@ -7,7 +7,7 @@
7
7
  border: transparent;
8
8
  border-radius: var(--radius-small);
9
9
  background-color: transparent;
10
- font-weight: var(--font-weight-semi-bold);
10
+ font-weight: var(--wds-font-weight-title-screen);
11
11
  color: var(--color-content-primary);
12
12
  }
13
13
  @media (max-width: 320px) {
@@ -89,10 +89,11 @@
89
89
  text-decoration-color: var(--color-content-tertiary);
90
90
  }
91
91
  .wds-Calendar__option--day {
92
- block-size: var(--size-40);
92
+ --circleSize: var(--size-40);
93
+ block-size: var(--circleSize);
94
+ line-height: var(--circleSize);
95
+ inline-size: var(--circleSize);
93
96
  border-radius: var(--radius-full);
94
- line-height: var(--size-40);
95
- inline-size: var(--size-40);
96
97
  padding: 0;
97
98
  display: inline-flex;
98
99
  align-items: center;
@@ -104,3 +105,9 @@
104
105
  text-decoration-thickness: 2px;
105
106
  text-underline-offset: 4px;
106
107
  }
108
+ .wds-Calendar__option--year {
109
+ display: inline-flex;
110
+ align-items: center;
111
+ justify-content: center;
112
+ block-size: calc(1rlh * 1.6);
113
+ }
@@ -70,7 +70,7 @@
70
70
  border-color: var(--color-sentiment-negative-active) !important;
71
71
  }
72
72
  .np-theme-personal .np-chip {
73
- font-weight: var(--font-weight-semi-bold);
73
+ font-weight: var(--wds-font-weight-body-bold);
74
74
  color: var(--color-interactive-primary);
75
75
  padding-block: 0;
76
76
  padding-inline: var(--size-16);
@@ -114,11 +114,13 @@
114
114
  .np-theme-personal .np-chip.np-chip--removable {
115
115
  position: relative;
116
116
  }
117
- .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
117
+ .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold,
118
+ .np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
118
119
  padding-inline-end: var(--size-24);
119
120
  }
120
121
  @media (max-width: 320px) {
121
- .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
122
+ .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold,
123
+ .np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
122
124
  padding-inline-end: var(--size-48);
123
125
  }
124
126
  }
@@ -1,9 +1,10 @@
1
1
  .np-decision .decision {
2
2
  display: flex;
3
3
  }
4
- .np-decision__tile--small .np-text-title-subsection {
5
- font-size: var(--font-size-16);
6
- line-height: var(--line-height-title);
4
+ .np-decision__tile--small .np-text-title-subsection,
5
+ .np-decision__tile--small .wds-text-title-subsection {
6
+ font-size: var(--wds-font-size-body-large);
7
+ line-height: var(--wds-line-height-body-large);
7
8
  }
8
9
  .np-decision:not(.flex-column) {
9
10
  gap: var(--size-24);
@@ -1,5 +1,5 @@
1
1
  .emphasis {
2
- font-weight: var(--font-weight-semi-bold);
2
+ font-weight: var(--wds-font-weight-body-bold);
3
3
  font-style: normal;
4
4
  }
5
5
  .emphasis--important {
@@ -2,6 +2,7 @@
2
2
  inline-size: 100%;
3
3
  }
4
4
  .wds-amount-input-input-container {
5
+ font-family: var(--wds-font-family-display-number);
5
6
  display: flex;
6
7
  justify-content: right;
7
8
  inline-size: 100%;
@@ -36,5 +37,5 @@
36
37
  flex-grow: 0;
37
38
  display: flex;
38
39
  align-items: center;
39
- line-height: inherit;
40
+ line-height: 1em;
40
41
  }
@@ -2,6 +2,7 @@
2
2
  inline-size: 100%;
3
3
  }
4
4
  .wds-amount-input-input-container {
5
+ font-family: var(--wds-font-family-display-number);
5
6
  display: flex;
6
7
  justify-content: right;
7
8
  inline-size: 100%;
@@ -36,7 +37,7 @@
36
37
  flex-grow: 0;
37
38
  display: flex;
38
39
  align-items: center;
39
- line-height: inherit;
40
+ line-height: 1em;
40
41
  }
41
42
  .wds-currency-selector:disabled {
42
43
  opacity: 1 !important;
@@ -136,7 +136,7 @@
136
136
  }
137
137
  .np-form-control--size-sm {
138
138
  word-wrap: break-word;
139
- block-size: var(--size-32) !important;
139
+ block-size: calc(2 * var(--size-4) + var(--wds-font-size-body) * var(--wds-line-height-body)) !important;
140
140
  }
141
141
  @supports (hyphenate-limit-chars: 1) {
142
142
  .np-form-control--size-sm {
@@ -168,12 +168,12 @@
168
168
  }
169
169
  @media (max-width: 320px) {
170
170
  .np-form-control--size-sm {
171
- block-size: var(--size-64) !important;
171
+ block-size: calc(2 * var(--size-8) + var(--wds-font-size-body) * var(--wds-line-height-body)) !important;
172
172
  }
173
173
  }
174
174
  .np-form-control--size-md {
175
175
  word-wrap: break-word;
176
- block-size: var(--size-48) !important;
176
+ block-size: calc(2 * var(--size-12) + var(--wds-font-size-body-large) * var(--wds-line-height-body-large)) !important;
177
177
  }
178
178
  @supports (hyphenate-limit-chars: 1) {
179
179
  .np-form-control--size-md {
@@ -205,48 +205,12 @@
205
205
  }
206
206
  @media (max-width: 320px) {
207
207
  .np-form-control--size-md {
208
- block-size: var(--size-72) !important;
208
+ block-size: calc(2 * var(--size-12) + var(--wds-font-size-body-large) * var(--wds-line-height-body-large)) !important;
209
209
  }
210
210
  }
211
211
  .np-form-control--size-lg {
212
- margin: 0;
213
- color: var(--color-content-primary);
214
- word-wrap: break-word;
215
212
  margin-block-end: initial;
216
- block-size: var(--size-72) !important;
217
- }
218
- @supports (hyphenate-limit-chars: 1) {
219
- .np-form-control--size-lg {
220
- hyphens: auto;
221
- hyphenate-limit-chars: 7 3;
222
- }
223
- @media (min-width: 840px) {
224
- .np-form-control--size-lg {
225
- hyphenate-limit-chars: 8 3;
226
- }
227
- }
228
- @media (min-width: 1160px) {
229
- .np-form-control--size-lg {
230
- hyphenate-limit-chars: 10 4 3;
231
- }
232
- }
233
- }
234
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
235
- .np-form-control--size-lg {
236
- hyphens: auto;
237
- -webkit-hyphenate-limit-before: 3;
238
- -webkit-hyphenate-limit-after: 3;
239
- }
240
- @media (min-width: 1160px) {
241
- .np-form-control--size-lg {
242
- -webkit-hyphenate-limit-before: 4;
243
- }
244
- }
245
- }
246
- .np-form-control--size-lg + p,
247
- .np-form-control--size-lg + ul:not(.list-unstyled),
248
- .np-form-control--size-lg + ol:not(.list-unstyled) {
249
- margin-block-start: var(--size-8);
213
+ block-size: calc(2 * var(--size-24) + var(--wds-font-size-title-body) * var(--wds-line-height-title-body)) !important;
250
214
  }
251
215
  .np-input::-moz-placeholder {
252
216
  color: var(--color-content-tertiary);
@@ -136,7 +136,7 @@
136
136
  }
137
137
  .np-form-control--size-sm {
138
138
  word-wrap: break-word;
139
- block-size: var(--size-32) !important;
139
+ block-size: calc(2 * var(--size-4) + var(--wds-font-size-body) * var(--wds-line-height-body)) !important;
140
140
  }
141
141
  @supports (hyphenate-limit-chars: 1) {
142
142
  .np-form-control--size-sm {
@@ -168,12 +168,12 @@
168
168
  }
169
169
  @media (max-width: 320px) {
170
170
  .np-form-control--size-sm {
171
- block-size: var(--size-64) !important;
171
+ block-size: calc(2 * var(--size-8) + var(--wds-font-size-body) * var(--wds-line-height-body)) !important;
172
172
  }
173
173
  }
174
174
  .np-form-control--size-md {
175
175
  word-wrap: break-word;
176
- block-size: var(--size-48) !important;
176
+ block-size: calc(2 * var(--size-12) + var(--wds-font-size-body-large) * var(--wds-line-height-body-large)) !important;
177
177
  }
178
178
  @supports (hyphenate-limit-chars: 1) {
179
179
  .np-form-control--size-md {
@@ -205,48 +205,12 @@
205
205
  }
206
206
  @media (max-width: 320px) {
207
207
  .np-form-control--size-md {
208
- block-size: var(--size-72) !important;
208
+ block-size: calc(2 * var(--size-12) + var(--wds-font-size-body-large) * var(--wds-line-height-body-large)) !important;
209
209
  }
210
210
  }
211
211
  .np-form-control--size-lg {
212
- margin: 0;
213
- color: var(--color-content-primary);
214
- word-wrap: break-word;
215
212
  margin-block-end: initial;
216
- block-size: var(--size-72) !important;
217
- }
218
- @supports (hyphenate-limit-chars: 1) {
219
- .np-form-control--size-lg {
220
- hyphens: auto;
221
- hyphenate-limit-chars: 7 3;
222
- }
223
- @media (min-width: 840px) {
224
- .np-form-control--size-lg {
225
- hyphenate-limit-chars: 8 3;
226
- }
227
- }
228
- @media (min-width: 1160px) {
229
- .np-form-control--size-lg {
230
- hyphenate-limit-chars: 10 4 3;
231
- }
232
- }
233
- }
234
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
235
- .np-form-control--size-lg {
236
- hyphens: auto;
237
- -webkit-hyphenate-limit-before: 3;
238
- -webkit-hyphenate-limit-after: 3;
239
- }
240
- @media (min-width: 1160px) {
241
- .np-form-control--size-lg {
242
- -webkit-hyphenate-limit-before: 4;
243
- }
244
- }
245
- }
246
- .np-form-control--size-lg + p,
247
- .np-form-control--size-lg + ul:not(.list-unstyled),
248
- .np-form-control--size-lg + ol:not(.list-unstyled) {
249
- margin-block-start: var(--size-8);
213
+ block-size: calc(2 * var(--size-24) + var(--wds-font-size-title-body) * var(--wds-line-height-title-body)) !important;
250
214
  }
251
215
  .np-text-area {
252
216
  min-block-size: var(--size-72);
@@ -0,0 +1,3 @@
1
+ :lang(ar) .np-label .np-info {
2
+ line-height: calc(1lh * 0.8);
3
+ }
@@ -1,5 +1,5 @@
1
1
  .wds-markup-emphasis {
2
- font-weight: var(--font-weight-semi-bold);
2
+ font-weight: var(--wds-font-weight-body-bold);
3
3
  font-style: normal;
4
4
  }
5
5
  .wds-markup-emphasis--important {
@@ -12,7 +12,7 @@
12
12
  color: var(--color-content-negative);
13
13
  }
14
14
  .wds-markup-strong {
15
- font-weight: var(--font-weight-semi-bold);
15
+ font-weight: var(--wds-font-weight-body-bold);
16
16
  }
17
17
  .wds-markup-strikethrough {
18
18
  -webkit-text-decoration: line-through;
@@ -4,9 +4,10 @@
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: var(--color-content-tertiary);
9
- font-weight: var(--font-weight-semi-bold);
10
+ font-weight: var(--wds-font-weight-body-bold);
10
11
  }
11
12
  [dir="rtl"] .tw-money-input .money-input__number-input {
12
13
  text-align: end;
@@ -18,14 +19,16 @@
18
19
  .tw-money-input.input-group-sm .form-control {
19
20
  min-block-size: 34px;
20
21
  }
21
- .tw-money-input.input-group-sm .np-text-title-subsection {
22
- font-size: var(--font-size-14);
22
+ .tw-money-input.input-group-sm .np-text-title-subsection,
23
+ .tw-money-input.input-group-sm .wds-text-title-subsection {
24
+ font-size: var(--wds-font-size-body);
23
25
  }
24
26
  .tw-money-input.input-group-md .form-control {
25
27
  min-block-size: 53px;
26
28
  }
27
- .tw-money-input.input-group-md .np-text-title-subsection {
28
- font-size: var(--font-size-16);
29
+ .tw-money-input.input-group-md .np-text-title-subsection,
30
+ .tw-money-input.input-group-md .wds-text-title-subsection {
31
+ font-size: var(--wds-font-size-body-large);
29
32
  }
30
33
  .tw-money-input .input-group-addon {
31
34
  flex-shrink: 0;
@@ -9,8 +9,8 @@
9
9
  --nudge-container-padding: var(--size-16);
10
10
  --nudge-content-flex-alignment: center;
11
11
  --nudge-title-color: var(--color-content-primary);
12
- --nudge-title-font-weight: var(--font-weight-semi-bold);
13
- --nudge-title-line-height: var(--line-height-title);
12
+ --nudge-title-font-weight: var(--wds-font-weight-body-bold);
13
+ --nudge-title-line-height: var(--wds-line-height-title-section);
14
14
  --nudge-control-width: var(--size-24);
15
15
  --nudge-control-background-color: var(--color-background-neutral);
16
16
  align-items: stretch;
@@ -141,7 +141,7 @@
141
141
  margin: 0;
142
142
  }
143
143
  .wds-nudge-container .wds-nudge-content .wds-nudge-link {
144
- font-weight: var(--font-weight-semi-bold);
144
+ font-weight: var(--wds-font-weight-body-bold);
145
145
  margin-block-start: var(--size-4);
146
146
  -webkit-text-decoration: var(--nudge-link-text-decoration);
147
147
  text-decoration: var(--nudge-link-text-decoration);
@@ -6,7 +6,7 @@
6
6
  }
7
7
  .np-popover__container .np-popover__content {
8
8
  color: var(--color-content-secondary);
9
- font-size: var(--font-size-14);
9
+ font-size: var(--wds-font-size-body);
10
10
  }
11
11
  .np-popover__container .np-popover__content p:last-child {
12
12
  margin-block-end: 0;
@@ -20,44 +20,8 @@
20
20
  padding: var(--size-24);
21
21
  }
22
22
  .np-popover__container.np-bottom-sheet .np-popover__title {
23
- margin: 0;
24
- color: var(--color-content-primary);
25
- word-wrap: break-word;
26
23
  margin-block-end: initial;
27
24
  }
28
- @supports (hyphenate-limit-chars: 1) {
29
- .np-popover__container.np-bottom-sheet .np-popover__title {
30
- hyphens: auto;
31
- hyphenate-limit-chars: 7 3;
32
- }
33
- @media (min-width: 840px) {
34
- .np-popover__container.np-bottom-sheet .np-popover__title {
35
- hyphenate-limit-chars: 8 3;
36
- }
37
- }
38
- @media (min-width: 1160px) {
39
- .np-popover__container.np-bottom-sheet .np-popover__title {
40
- hyphenate-limit-chars: 10 4 3;
41
- }
42
- }
43
- }
44
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
45
- .np-popover__container.np-bottom-sheet .np-popover__title {
46
- hyphens: auto;
47
- -webkit-hyphenate-limit-before: 3;
48
- -webkit-hyphenate-limit-after: 3;
49
- }
50
- @media (min-width: 1160px) {
51
- .np-popover__container.np-bottom-sheet .np-popover__title {
52
- -webkit-hyphenate-limit-before: 4;
53
- }
54
- }
55
- }
56
- .np-popover__container.np-bottom-sheet .np-popover__title + p,
57
- .np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
58
- .np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
59
- margin-block-start: var(--size-8);
60
- }
61
25
  .np-popover__container.np-bottom-sheet .np-popover__content {
62
26
  padding-block: var(--size-32);
63
27
  padding-inline: var(--size-24);
@@ -1,9 +1,10 @@
1
- .np-progress-bar__title .h4 {
1
+ .np-progress-bar__title .h4,
2
+ .np-progress-bar__title .wds-text-title-body {
2
3
  color: var(--color-content-primary);
3
4
  margin-block-end: var(--size-4);
4
5
  }
5
6
  .np-progress-bar p {
6
7
  color: var(--color-content-primary);
7
8
  margin-block-start: var(--size-4);
8
- font-weight: var(--font-weight-semi-bold);
9
+ font-weight: var(--wds-font-weight-body-bold);
9
10
  }
@@ -21,7 +21,8 @@
21
21
  }
22
22
  .wds-prompt__media-wrapper {
23
23
  align-self: flex-start;
24
- padding-block-start: calc(var(--size-4) - 1px);
24
+ align-content: center;
25
+ min-block-size: calc(var(--wds-line-height-body) * var(--wds-font-size-body));
25
26
  }
26
27
  .wds-prompt__media-wrapper .tw-icon-tags,
27
28
  .wds-prompt__media-wrapper .tw-icon-confetti {
@@ -15,7 +15,7 @@
15
15
  align-items: center;
16
16
  justify-content: space-between;
17
17
  text-align: start;
18
- font-size: var(--font-size-14);
18
+ font-size: var(--wds-font-size-body);
19
19
  margin-block: 0;
20
20
  margin-inline: var(--size-16);
21
21
  padding-block: var(--size-8);
@@ -37,10 +37,16 @@
37
37
  }
38
38
  .np-table-inner-container {
39
39
  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));
40
- background-position: left center, right center, left center, right center;
40
+ background-position: left center,
41
+ right center,
42
+ left center,
43
+ right center;
41
44
  background-repeat: no-repeat;
42
45
  background-color: var(--color-contrast-overlay);
43
- background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
46
+ background-size: 15px 100%,
47
+ 15px 100%,
48
+ 15px 100%,
49
+ 15px 100%;
44
50
  background-attachment: local, local, scroll, scroll;
45
51
  overflow-x: auto;
46
52
  border-radius: 10px;
@@ -130,7 +136,9 @@
130
136
  padding-inline-end: 0;
131
137
  }
132
138
  .np-table-header.np-table-header--right > .np-text-body-default,
133
- .np-table-cell.np-table-cell--right > .np-text-body-default {
139
+ .np-table-cell.np-table-cell--right > .np-text-body-default,
140
+ .np-table-header.np-table-header--right > .wds-text-body-default,
141
+ .np-table-cell.np-table-cell--right > .wds-text-body-default {
134
142
  text-align: end;
135
143
  }
136
144
  .np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
@@ -159,8 +167,8 @@
159
167
  padding-block-start: 5px;
160
168
  padding-block-end: 5px;
161
169
  white-space: nowrap;
162
- line-height: var(--line-height-22);
163
- letter-spacing: var(--letter-spacing-sm);
170
+ line-height: var(--wds-line-height-title-subsection);
171
+ letter-spacing: var(--wds-letter-spacing-title-subsection);
164
172
  }
165
173
  .np-table-header--error {
166
174
  color: var(--color-sentiment-negative);
@@ -180,7 +188,8 @@
180
188
  .np-table-cell--primary {
181
189
  min-inline-size: 200px;
182
190
  }
183
- .np-table-cell--currency .np-text-body-default {
191
+ .np-table-cell--currency .np-text-body-default,
192
+ .np-table-cell--currency .wds-text-body-default {
184
193
  white-space: nowrap;
185
194
  }
186
195
  .np-table-cell .tw-chevron {
@@ -193,7 +202,8 @@
193
202
  background-color: var(--color-background-neutral);
194
203
  padding: 0;
195
204
  }
196
- .np-table-cell .np-text-body-default-bold {
205
+ .np-table-cell .np-text-body-default-bold,
206
+ .np-table-cell .wds-text-body-default-bold {
197
207
  display: flex;
198
208
  align-items: center;
199
209
  color: var(--color-content-primary);
@@ -232,7 +242,7 @@
232
242
  .np-table-content-body {
233
243
  display: flex;
234
244
  flex-direction: column;
235
- font-size: var(--font-size-12);
245
+ font-size: var(--wds-font-size-nav);
236
246
  color: var(--color-content-tertiary);
237
247
  }
238
248
  .np-table-content--reversed {
@@ -8,19 +8,19 @@
8
8
  padding: var(--size-8);
9
9
  margin-block-end: -2px;
10
10
  color: var(--color-content-primary);
11
- font-weight: var(--font-weight-semi-bold);
11
+ font-weight: var(--wds-font-weight-body-bold);
12
12
  transition: color 0.15s ease-in-out;
13
13
  }
14
14
  .np-theme-personal .tabs__tab {
15
15
  color: var(--color-content-secondary);
16
- font-weight: var(--font-weight-regular);
16
+ font-weight: var(--wds-font-weight-body-regular);
17
17
  }
18
18
  .tabs__tab--selected {
19
19
  color: var(--color-content-accent);
20
20
  }
21
21
  .np-theme-personal .tabs__tab--selected {
22
22
  color: var(--color-interactive-primary);
23
- font-weight: var(--font-weight-semi-bold);
23
+ font-weight: var(--wds-font-weight-body-bold);
24
24
  }
25
25
  .tabs__tab__content {
26
26
  border-radius: 2px;
@@ -11,7 +11,7 @@
11
11
  }
12
12
  .wds-tag--small {
13
13
  border-radius: 6px;
14
- font-size: var(--font-size-12);
14
+ font-size: var(--wds-font-size-nav);
15
15
  padding-block: 1px;
16
16
  padding-inline: var(--size-4);
17
17
  }
@@ -22,7 +22,8 @@
22
22
  .np-theme-personal .np-tile.decision:active {
23
23
  background-color: var(--color-background-neutral-active);
24
24
  }
25
- .np-theme-personal .np-tile.decision .np-text-body-default {
25
+ .np-theme-personal .np-tile.decision .np-text-body-default,
26
+ .np-theme-personal .np-tile.decision .wds-text-body-default {
26
27
  color: var(--color-content-secondary);
27
28
  }
28
29
  .np-tile.np-decision__tile--fixed-width {
@@ -50,7 +51,7 @@
50
51
  }
51
52
  .np-tile__description {
52
53
  color: var(--color-content-secondary);
53
- font-weight: var(--font-weight-regular);
54
- line-height: var(--line-height-body);
54
+ font-weight: var(--wds-font-weight-body-regular);
55
+ line-height: var(--wds-line-height-body);
55
56
  margin-block-start: var(--size-12);
56
57
  }
@@ -168,11 +168,13 @@
168
168
  .np-theme-personal .typeahead .np-chip {
169
169
  margin-block-start: 9px !important;
170
170
  }
171
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
171
+ .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
172
+ .np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
172
173
  padding-inline-end: var(--size-16);
173
174
  }
174
175
  @media (max-width: 320px) {
175
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
176
+ .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
177
+ .np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
176
178
  padding-inline-end: var(--size-32);
177
179
  }
178
180
  }
@@ -9,7 +9,7 @@
9
9
  border-radius: var(--radius-small);
10
10
  border-block-end: var(--outerBorder);
11
11
  }
12
- .np-upload-input .np-upload-input__section:has(.np-upload-input__item:last-child.is-interactive:hover):not(:has(.np-upload-input__item-button:hover)) + .np-upload-input__section--uploader .np-upload-input__upload-button::before {
12
+ .np-upload-input .np-upload-input__section:has(.np-upload-input__item:last-child.is-interactive:hover):not( :has(.np-upload-input__item-button:hover)) + .np-upload-input__section--uploader .np-upload-input__upload-button::before {
13
13
  inset-inline-start: 0;
14
14
  inline-size: 100%;
15
15
  inset-block-start: 0;