Skip to content

Commit

Permalink
Merge pull request #108 from vector-im/quenting/forms-cleanup
Browse files Browse the repository at this point in the history
Forms cleanup
  • Loading branch information
sandhose authored Oct 24, 2023
2 parents 116081a + 200b429 commit 5f5a56c
Show file tree
Hide file tree
Showing 63 changed files with 2,556 additions and 1,118 deletions.
1 change: 1 addition & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<meta name="viewport" content="width=device-width, maximum-scale=1" />
<script>
window.global = window;
</script>
1 change: 1 addition & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { withThemeByClassName } from "@storybook/addon-themes";
import { Decorator, Parameters } from "@storybook/react";

import "@fontsource/inconsolata/700.css";
import "@fontsource/inter/400.css";
import "@fontsource/inter/500.css";
import "@fontsource/inter/600.css";
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"homepage": "https://github.com/vector-im/compound-web#readme",
"devDependencies": {
"@fontsource/inter": "^5.0.8",
"@fontsource/inconsolata": "^5.0.8",
"@percy/cli": "^1.27.1",
"@percy/storybook": "^4.3.6",
"@storybook/addon-designs": "7.0.5",
Expand Down Expand Up @@ -109,6 +110,7 @@
},
"peerDependencies": {
"@fontsource/inter": "^5",
"@fontsource/inconsolata": "^5",
"@types/react": "*",
"@types/react-dom": "*",
"@vector-im/compound-design-tokens": "^0.0.6",
Expand Down
42 changes: 0 additions & 42 deletions src/components/ActionControl/ActionControl.stories.tsx

This file was deleted.

94 changes: 0 additions & 94 deletions src/components/ActionControl/ActionControl.tsx

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type ButtonOwnProps = PropsWithChildren<{

type ButtonPropsFor<C extends React.ElementType> = ButtonOwnProps &
Omit<React.ComponentPropsWithoutRef<C>, keyof ButtonOwnProps | "as"> & {
ref?: React.Ref<C>;
ref?: React.Ref<React.ComponentRef<C>>;
};

/**
Expand Down
152 changes: 0 additions & 152 deletions src/components/Checkbox/Checkbox.module.css

This file was deleted.

Loading

0 comments on commit 5f5a56c

Please sign in to comment.