@transferwise/components 0.0.0-experimental-4ee52fa → 0.0.0-experimental-0d4b232
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 +3 -3
- package/src/actionButton/ActionButton.story.tsx +1 -1
- package/src/avatar/Avatar.story.tsx +1 -1
- package/src/avatarWrapper/AvatarWrapper.story.tsx +1 -1
- package/src/badge/Badge.story.tsx +1 -1
- package/src/button/Button.story.tsx +1 -0
- package/src/button/LegacyButton.story.tsx +1 -1
- package/src/legacylistItem/LegacyListItem.story.tsx +1 -1
- package/src/legacylistItem/LegacyListItem.tests.story.tsx +2 -1
- package/src/listItem/_stories/ListItem.story.tsx +6 -1
- package/src/select/Select.story.tsx +1 -1
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-0d4b232",
|
|
4
4
|
"description": "Neptune React components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"storybook-addon-tag-badges": "^2.0.1",
|
|
85
85
|
"storybook-addon-test-codegen": "^2.0.1",
|
|
86
86
|
"@transferwise/less-config": "3.1.2",
|
|
87
|
-
"@transferwise/neptune-css": "14.24.5",
|
|
88
87
|
"@wise/components-theming": "1.6.4",
|
|
89
|
-
"@wise/wds-configs": "0.0.0"
|
|
88
|
+
"@wise/wds-configs": "0.0.0",
|
|
89
|
+
"@transferwise/neptune-css": "14.24.5"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@transferwise/icons": "^3.22.3",
|
|
@@ -13,7 +13,7 @@ import ActionButton from './ActionButton';
|
|
|
13
13
|
export default {
|
|
14
14
|
component: ActionButton,
|
|
15
15
|
title: 'Actions/ActionButton',
|
|
16
|
-
tags: ['deprecated'],
|
|
16
|
+
tags: ['wds:deprecated'],
|
|
17
17
|
} satisfies Meta<typeof ActionButton>;
|
|
18
18
|
|
|
19
19
|
type Story = StoryObj<typeof ActionButton>;
|
|
@@ -10,7 +10,7 @@ import AvatarWrapper from './AvatarWrapper';
|
|
|
10
10
|
export default {
|
|
11
11
|
component: AvatarWrapper,
|
|
12
12
|
title: 'Content/AvatarWrapper',
|
|
13
|
-
tags: ['deprecated'],
|
|
13
|
+
tags: ['wds:deprecated'],
|
|
14
14
|
} satisfies Meta<typeof AvatarWrapper>;
|
|
15
15
|
|
|
16
16
|
type Story = StoryObj<typeof AvatarWrapper>;
|
|
@@ -25,7 +25,7 @@ const withContainer = (Story: any) => (
|
|
|
25
25
|
const meta: Meta<typeof LegacyButton> = {
|
|
26
26
|
component: LegacyButton,
|
|
27
27
|
title: 'Actions/Button/Legacy Button',
|
|
28
|
-
tags: ['deprecated'],
|
|
28
|
+
tags: ['wds:deprecated'],
|
|
29
29
|
args: {
|
|
30
30
|
size: undefined,
|
|
31
31
|
priority: undefined,
|
|
@@ -46,6 +46,7 @@ export default {
|
|
|
46
46
|
'ListItem.Image': ListItem.Image,
|
|
47
47
|
},
|
|
48
48
|
title: 'Content/ListItem',
|
|
49
|
+
tags: ['wds:early-access'],
|
|
49
50
|
parameters: {
|
|
50
51
|
docs: {
|
|
51
52
|
toc: true,
|
|
@@ -250,7 +251,7 @@ const getPropsForPreview = (args: PreviewStoryArgs): [ListItemProps, Partial<Lis
|
|
|
250
251
|
};
|
|
251
252
|
|
|
252
253
|
export const Playground: StoryObj<PreviewStoryArgs> = {
|
|
253
|
-
tags: ['!autodocs'],
|
|
254
|
+
tags: ['!autodocs', 'frog'],
|
|
254
255
|
render: (args: PreviewStoryArgs) => {
|
|
255
256
|
const [props, previewProps] = getPropsForPreview(args);
|
|
256
257
|
|
|
@@ -273,6 +274,10 @@ export const Playground: StoryObj<PreviewStoryArgs> = {
|
|
|
273
274
|
decorators: [withoutKey],
|
|
274
275
|
};
|
|
275
276
|
|
|
277
|
+
export const Banana: Story = {
|
|
278
|
+
tags: ['frog'],
|
|
279
|
+
};
|
|
280
|
+
|
|
276
281
|
/**
|
|
277
282
|
* ListItem uses container queries under the hood, which means its layout self-adjusts based on
|
|
278
283
|
* the available space. At the 100% zoom level, these breakpoints correspond to
|
|
@@ -9,7 +9,7 @@ import Select, { SelectItem, SelectOptionItem } from './Select';
|
|
|
9
9
|
const meta: Meta<typeof Select> = {
|
|
10
10
|
component: Select,
|
|
11
11
|
title: 'Forms/Select',
|
|
12
|
-
tags: ['deprecated'],
|
|
12
|
+
tags: ['wds:deprecated'],
|
|
13
13
|
argTypes: {
|
|
14
14
|
id: { control: 'text' },
|
|
15
15
|
size: { control: 'radio', options: ['sm', 'md', 'lg'] },
|