@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-4ee52fa",
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>;
@@ -13,7 +13,7 @@ import Avatar, { AvatarType } from '.';
13
13
  export default {
14
14
  component: Avatar,
15
15
  title: 'Content/Avatar',
16
- tags: ['deprecated'],
16
+ tags: ['wds:deprecated'],
17
17
  } satisfies Meta<typeof Avatar>;
18
18
 
19
19
  type Story = StoryObj<typeof Avatar>;
@@ -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>;
@@ -9,7 +9,7 @@ import Badge, { type BadgeProps } from './Badge';
9
9
  const meta: Meta<typeof Badge> = {
10
10
  component: Badge,
11
11
  title: 'Content/Badge',
12
- tags: ['deprecated'],
12
+ tags: ['wds:deprecated'],
13
13
  };
14
14
 
15
15
  export default meta;
@@ -152,6 +152,7 @@ const getPropsForPreview = (args: PreviewStoryArgs) => {
152
152
  const meta: Meta<typeof Button> = {
153
153
  component: Button,
154
154
  title: 'Actions/Button',
155
+ tags: ['wds:new'],
155
156
  argTypes: {
156
157
  v2: {
157
158
  table: {
@@ -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,
@@ -10,7 +10,7 @@ import LegacyListItem from '.';
10
10
 
11
11
  export default {
12
12
  component: LegacyListItem,
13
- title: 'Other/LegacyListItem',
13
+ title: 'Content/LegacyListItem',
14
14
  };
15
15
 
16
16
  const Template = ({
@@ -6,7 +6,8 @@ import List from '../list';
6
6
 
7
7
  export default {
8
8
  component: LegacyListItem,
9
- title: 'Other/LegacyListItem/tests',
9
+ tags: ['!autodocs'],
10
+ title: 'Content/LegacyListItem/tests',
10
11
  };
11
12
 
12
13
  export const LongText = () => {
@@ -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'] },