-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
11,218 additions
and
4,585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-react", | ||
"@babel/preset-typescript" | ||
] | ||
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript"] | ||
} |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.5.0.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
declare module '*.module.sass' { | ||
const classes: { [key: string]: string }; | ||
export default classes; | ||
const classes: { [key: string]: string } | ||
export default classes | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react' | ||
import { createRoot } from 'react-dom/client' | ||
|
||
import {Button} from '@/index' | ||
|
||
const App = () => ( | ||
<div> | ||
<h1>UI Components Demo</h1> | ||
<Button /> | ||
</div> | ||
) | ||
|
||
const container = document.getElementById('app') as HTMLElement | ||
const root = createRoot(container) | ||
root.render(<App />) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,37 +2,65 @@ | |
"name": "simple-ui", | ||
"version": "1.0.0", | ||
"description": "My small UI framework for projects", | ||
"main": "index.tsx", | ||
"repository": "https://github.com/miksrv/simple-ui.git", | ||
"scripts": { | ||
"build": "webpack", | ||
"changeset": "npx changeset", | ||
"publish": "npm publish", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"start": "webpack serve --config example/webpack.config.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"eslint:check": "eslint", | ||
"eslint:fix": "eslint --fix", | ||
"prettier:check": "prettier --check .", | ||
"prettier:fix": "prettier --write ." | ||
}, | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [], | ||
"author": "Misha Topchilo <[email protected]>", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@babel/core": "^7.24.8", | ||
"@babel/preset-env": "^7.24.8", | ||
"@babel/core": "^7.25.2", | ||
"@babel/preset-env": "^7.25.4", | ||
"@babel/preset-react": "^7.24.7", | ||
"@babel/preset-typescript": "^7.24.7", | ||
"@types/react": "^18.3.3", | ||
"@changesets/cli": "^2.27.8", | ||
"@eslint/compat": "^1.1.1", | ||
"@eslint/js": "^9.11.1", | ||
"@types/lodash-es": "^4.17.12", | ||
"@types/react": "^18.3.10", | ||
"@types/react-dom": "^18.3.0", | ||
"babel-loader": "^9.1.3", | ||
"babel-loader": "^9.2.1", | ||
"css-loader": "^7.1.2", | ||
"sass": "^1.77.8", | ||
"sass-loader": "^14.2.1", | ||
"eslint": "^9.11.1", | ||
"eslint-plugin-eslint-comments": "^3.2.0", | ||
"eslint-plugin-eslint-plugin": "^6.2.0", | ||
"eslint-plugin-import": "^2.30.0", | ||
"eslint-plugin-jest": "^28.8.3", | ||
"eslint-plugin-react": "^7.37.0", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
"html-webpack-plugin": "^5.6.0", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.3.3", | ||
"sass": "^1.79.4", | ||
"sass-loader": "^16.0.2", | ||
"style-loader": "^4.0.0", | ||
"ts-loader": "^9.5.1", | ||
"tsconfig-paths-webpack-plugin": "^4.1.0", | ||
"typescript": "^5.5.3", | ||
"webpack": "^5.93.0", | ||
"webpack-cli": "^5.1.4" | ||
"typescript": "^5.6.2", | ||
"typescript-eslint": "^8.7.0", | ||
"webpack": "^5.95.0", | ||
"webpack-cli": "^5.1.4", | ||
"webpack-dev-server": "^5.1.0" | ||
}, | ||
"dependencies": { | ||
"embla-carousel-react": "^8.1.6", | ||
"embla-carousel-react": "^8.3.0", | ||
"lodash-es": "^4.17.21", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1" | ||
}, | ||
"repository": "https://github.com/miksrv/simple-ui.git" | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.