Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:stakefish/stakefish-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
balajmarius committed May 7, 2021
2 parents e1f6f0d + 34f0176 commit a00a7dc
Show file tree
Hide file tree
Showing 8 changed files with 303 additions and 15,202 deletions.
510 changes: 287 additions & 223 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"lint": "eslint 'src/**/*.{ts,tsx}'",
"format": "prettier --config .prettierrc 'src/**/*.{ts,tsx}'",
"pack": "rollup -c",
"build": "rollup -c",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public"
},
Expand Down
6 changes: 4 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ import remove from "rollup-plugin-delete";
import multi from "rollup-plugin-multi-input";

const config = {
input: ["./src/*.tsx"],
input: ["./src/**/*.ts(x)?"],
output: [{ dir: "lib", format: "esm", exports: "named" }],
plugins: [
remove({ targets: ["lib/*"] }),
multi(),
peerDepsExternal(),
resolve(),
Expand All @@ -33,6 +32,9 @@ const config = {
{ src: "LICENSE.md", dest: "lib/" },
],
}),
remove({
targets: ["lib/*"],
}),
],
};

Expand Down
File renamed without changes.
14 changes: 7 additions & 7 deletions src/ThemeProvider.tsx → src/core/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import createPalette from "@material-ui/core/styles/createPalette";
import { ThemeProvider as MuiThemeProvider } from "@material-ui/core/styles";
import { CssBaseline } from "@material-ui/core";

import colors from "./theme/colors";
import lineHeight from "./theme/lineHeight";
import fontSize from "./theme/fontSize";
import fontFamily from "./theme/fontFamily";
import fontWeight from "./theme/fontWeight";
import colors from "../theme/colors";
import lineHeight from "../theme/lineHeight";
import fontSize from "../theme/fontSize";
import fontFamily from "../theme/fontFamily";
import fontWeight from "../theme/fontWeight";

import MuiCssBaseline from "./overrides/MuiCssBaseline";
import MuiTypography from "./overrides/MuiTypography";
import MuiCssBaseline from "../overrides/MuiCssBaseline";
import MuiTypography from "../overrides/MuiTypography";

/**
* Types
Expand Down
6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
export { default as ThemeProvider, ThemeProviderProps } from "./ThemeProvider";
export { default as Typography, TypographyProps } from "./Typography";
export { default as makeStyles } from "@material-ui/core/styles/createStyles";

export { default as ThemeProvider, ThemeProviderProps } from "./core/ThemeProvider";
export { default as Typography, TypographyProps } from "./components/Typography";
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
},
"include": [
"src",
"stories",
"definitions",
]
}
14,966 changes: 0 additions & 14,966 deletions yarn.lock

This file was deleted.

0 comments on commit a00a7dc

Please sign in to comment.