@transferwise/components 0.0.0-experimental-a54e650 → 0.0.0-experimental-5a9ce14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/components",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-5a9ce14",
|
|
4
4
|
"description": "Neptune React components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -91,13 +91,13 @@
|
|
|
91
91
|
"rollup": "^4.18.1",
|
|
92
92
|
"rollup-preserve-directives": "^1.1.1",
|
|
93
93
|
"storybook": "^8.2.2",
|
|
94
|
-
"@transferwise/
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
94
|
+
"@transferwise/less-config": "3.1.0",
|
|
95
|
+
"@transferwise/neptune-css": "0.0.0-experimental-5a9ce14",
|
|
96
|
+
"@wise/components-theming": "1.6.1"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"@transferwise/icons": "^3.13.1",
|
|
100
|
-
"@transferwise/neptune-css": "0.0.0-experimental-
|
|
100
|
+
"@transferwise/neptune-css": "0.0.0-experimental-5a9ce14",
|
|
101
101
|
"@wise/art": "^2.16",
|
|
102
102
|
"@wise/components-theming": "^1.0.0",
|
|
103
103
|
"react": ">=18",
|
|
@@ -10,7 +10,7 @@ import AvatarWrapper from './AvatarWrapper';
|
|
|
10
10
|
export default {
|
|
11
11
|
tags: ['autodocs'],
|
|
12
12
|
component: AvatarWrapper,
|
|
13
|
-
title: 'Content/AvatarWrapper',
|
|
13
|
+
title: 'Content/AvatarWrapper (Deprecated)',
|
|
14
14
|
} satisfies Meta<typeof AvatarWrapper>;
|
|
15
15
|
|
|
16
16
|
type Story = StoryObj<typeof AvatarWrapper>;
|
package/src/card/Card.story.tsx
CHANGED
|
@@ -7,9 +7,14 @@ import Card from '.';
|
|
|
7
7
|
|
|
8
8
|
type Story = StoryObj<typeof Card>;
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated use Navigation pattern (via `NavigationOption` component)
|
|
12
|
+
*
|
|
13
|
+
* @see https://transferwise.atlassian.net/wiki/spaces/DS/pages/2387314550/Instructions+for+killing+expanding+cards+on+web+design+pattern
|
|
14
|
+
*/
|
|
10
15
|
export default {
|
|
11
16
|
component: Card,
|
|
12
|
-
title: 'Layouts/Card',
|
|
17
|
+
title: 'Layouts/Card (Deprecated)',
|
|
13
18
|
args: {
|
|
14
19
|
title: 'A card',
|
|
15
20
|
details: 'Some details about this card',
|
|
@@ -4,9 +4,12 @@ import { useState } from 'react';
|
|
|
4
4
|
|
|
5
5
|
import Select, { SelectItem, SelectOptionItem } from './Select';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use **`SelectInput`** instead (https://neptune.wise.design/blog/2023-11-28-adopting-our-new-selectinput)
|
|
9
|
+
*/
|
|
7
10
|
export default {
|
|
8
11
|
component: Select,
|
|
9
|
-
title: 'Forms/Select',
|
|
12
|
+
title: 'Forms/Select (Deprecated)',
|
|
10
13
|
};
|
|
11
14
|
|
|
12
15
|
const ImageIcon = () => (
|