@transferwise/components 0.0.0-experimental-cadb950 → 0.0.0-experimental-aeb1e07

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.
package/build/main.css CHANGED
@@ -5333,14 +5333,6 @@ html:not([dir="rtl"]) .np-navigation-option {
5333
5333
  .np-table-cell--currency .np-text-body-default {
5334
5334
  white-space: nowrap;
5335
5335
  }
5336
- .np-table-cell--status .status-circle {
5337
- width: 24px;
5338
- height: 24px;
5339
- }
5340
- .np-table-cell--status .status-circle .status-icon > svg {
5341
- width: 21px;
5342
- height: 21px;
5343
- }
5344
5336
  .np-table-cell .tw-chevron {
5345
5337
  margin-left: 8px;
5346
5338
  margin-left: var(--size-8);
@@ -5333,14 +5333,6 @@ html:not([dir="rtl"]) .np-navigation-option {
5333
5333
  .np-table-cell--currency .np-text-body-default {
5334
5334
  white-space: nowrap;
5335
5335
  }
5336
- .np-table-cell--status .status-circle {
5337
- width: 24px;
5338
- height: 24px;
5339
- }
5340
- .np-table-cell--status .status-circle .status-icon > svg {
5341
- width: 21px;
5342
- height: 21px;
5343
- }
5344
5336
  .np-table-cell .tw-chevron {
5345
5337
  margin-left: 8px;
5346
5338
  margin-left: var(--size-8);
@@ -210,14 +210,6 @@
210
210
  .np-table-cell--currency .np-text-body-default {
211
211
  white-space: nowrap;
212
212
  }
213
- .np-table-cell--status .status-circle {
214
- width: 24px;
215
- height: 24px;
216
- }
217
- .np-table-cell--status .status-circle .status-icon > svg {
218
- width: 21px;
219
- height: 21px;
220
- }
221
213
  .np-table-cell .tw-chevron {
222
214
  margin-left: 8px;
223
215
  margin-left: var(--size-8);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-cadb950",
3
+ "version": "0.0.0-experimental-aeb1e07",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -92,9 +92,9 @@
92
92
  "rollup": "^4.18.1",
93
93
  "rollup-preserve-directives": "^1.1.1",
94
94
  "storybook": "^8.2.2",
95
+ "@transferwise/less-config": "3.1.0",
95
96
  "@transferwise/neptune-css": "14.20.0",
96
- "@wise/components-theming": "1.6.1",
97
- "@transferwise/less-config": "3.1.0"
97
+ "@wise/components-theming": "1.6.1"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "@transferwise/icons": "^3.13.1",
package/src/main.css CHANGED
@@ -5333,14 +5333,6 @@ html:not([dir="rtl"]) .np-navigation-option {
5333
5333
  .np-table-cell--currency .np-text-body-default {
5334
5334
  white-space: nowrap;
5335
5335
  }
5336
- .np-table-cell--status .status-circle {
5337
- width: 24px;
5338
- height: 24px;
5339
- }
5340
- .np-table-cell--status .status-circle .status-icon > svg {
5341
- width: 21px;
5342
- height: 21px;
5343
- }
5344
5336
  .np-table-cell .tw-chevron {
5345
5337
  margin-left: 8px;
5346
5338
  margin-left: var(--size-8);
@@ -210,14 +210,6 @@
210
210
  .np-table-cell--currency .np-text-body-default {
211
211
  white-space: nowrap;
212
212
  }
213
- .np-table-cell--status .status-circle {
214
- width: 24px;
215
- height: 24px;
216
- }
217
- .np-table-cell--status .status-circle .status-icon > svg {
218
- width: 21px;
219
- height: 21px;
220
- }
221
213
  .np-table-cell .tw-chevron {
222
214
  margin-left: 8px;
223
215
  margin-left: var(--size-8);
@@ -262,19 +262,6 @@
262
262
  }
263
263
  }
264
264
 
265
- // TODO: In next iterations this block of code should be removed after we'll have `24px` status icons
266
- &--status {
267
- .status-circle {
268
- width: 24px;
269
- height: 24px;
270
-
271
- .status-icon > svg {
272
- width: 21px;
273
- height: 21px;
274
- }
275
- }
276
- }
277
-
278
265
  .tw-chevron {
279
266
  margin-left: @table-spacing-md;
280
267
  }
@@ -91,7 +91,7 @@ const TableCell = ({ cell, alignment, className, colSpan, children }: TableCellP
91
91
  }
92
92
 
93
93
  if (cell?.type === 'status') {
94
- mediaContent = <StatusIcon size="md" sentiment={cell?.sentiment ?? 'neutral'} />;
94
+ mediaContent = <StatusIcon size={24} sentiment={cell?.sentiment ?? 'neutral'} />;
95
95
  }
96
96
 
97
97
  if (mediaContent) {