Skip to content

Commit

Permalink
Merge branch 'main' into quenting/forms-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose authored Oct 24, 2023
2 parents cf24035 + 116081a commit 200b429
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 36 deletions.
2 changes: 2 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ sonar.coverage.exclusions=**/*.stories.tsx,**/*.test.tsx,**/*.stories.ts,**/*.te

sonar.typescript.tsconfigPath=./tsconfig.json
sonar.javascript.lcov.reportPaths=coverage/lcov.info

sonar.cpd.exclusions=**/*.stories.tsx,**/*.test.tsx,**/*.stories.ts,**/*.test.ts
4 changes: 0 additions & 4 deletions src/components/Avatar/Avatar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ export default {
src: "/images/__test__/kitten.jpg",
type: "round",
},
design: {
type: "figma",
url: "https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=522-742&mode=dev",
},
} as Meta<typeof AvatarComponent>;

const Template: StoryFn<typeof AvatarComponent> = (args) => (
Expand Down
21 changes: 0 additions & 21 deletions src/components/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,11 @@ Primary.args = {
kind: "primary",
};

Primary.parameters = {
design: {
type: "figma",
url: "https://www.figma.com/file/HUysJAhv6cK6p1Pc81Fxaa/Matrix-Authentication-Service-(MAS)?node-id=101%3A16968&t=gc1qRwZLEob0m7OM-1",
},
};

export const Secondary = Template.bind({});
Secondary.args = {
kind: "secondary",
};

Secondary.parameters = {
design: {
type: "figma",
url: "https://www.figma.com/file/HUysJAhv6cK6p1Pc81Fxaa/Matrix-Authentication-Service-(MAS)?node-id=101%3A16968&t=gc1qRwZLEob0m7OM-1",
},
};

export const Tertiary = Template.bind({});
Tertiary.args = {
kind: "tertiary",
Expand All @@ -87,10 +73,3 @@ export const Destructive = Template.bind({});
Destructive.args = {
kind: "destructive",
};

Destructive.parameters = {
design: {
type: "figma",
url: "https://www.figma.com/file/HUysJAhv6cK6p1Pc81Fxaa/Matrix-Authentication-Service-(MAS)?node-id=101%3A16968&t=gc1qRwZLEob0m7OM-1",
},
};
7 changes: 0 additions & 7 deletions src/components/MenuItem/ToggleMenuItem.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,3 @@ const Template: StoryFn<typeof ToggleMenuItemComponent> = (args) => (

export const Primary = Template.bind({});
Primary.args = {};

Primary.parameters = {
design: {
type: "figma",
url: "https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=712-6909&mode=dev",
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ export default {
tags: ["autodocs"],
argTypes: {},
args: {},
design: {
type: "figma",
url: "%FIGMA_URL%",
},
} as Meta<typeof __ComponentTemplate__Component>;

export const Default = {
Expand Down

0 comments on commit 200b429

Please sign in to comment.