Skip to content

Commit 0530e0e

Browse files
added style prop to ShapesComp
0 parents  commit 0530e0e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+16028
-0
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
node_modules/

.eslintrc.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"browser": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:react/recommended"
10+
],
11+
"parser": "@typescript-eslint/parser",
12+
"parserOptions": {
13+
"ecmaVersion": "latest",
14+
"sourceType": "module"
15+
},
16+
"plugins": ["@typescript-eslint", "react"],
17+
"rules": {}
18+
}

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: realvjy
2+
buy_me_a_coffee: realvjy

.github/workflows/coolshapes.js.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and test
2+
3+
on:
4+
push:
5+
branches: ["dev", "main"]
6+
pull_request:
7+
branches: ["dev", "main"]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Builds and test
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 16.x
19+
cache: "npm"
20+
- run: npm ci
21+
- run: npm run build
22+
- run: npm test

.github/workflows/release.js.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish Package
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
11+
with:
12+
node-version: '20.x'
13+
registry-url: 'https://registry.npmjs.org'
14+
- run: npm ci
15+
- run: npm run test
16+
- run: npm run build
17+
- run: npm publish
18+
env:
19+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.DS_Store
2+
node_modules
3+
.idea
4+
*.env

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
tsconfig.json
2+
src/
3+
.babelrc
4+
node_modules
5+
rollup.config.mjs

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"tabWidth": 2,
3+
"trailingComma": "es5",
4+
"bracketSpacing": true,
5+
"bracketSameLine": true
6+
}

CHANGELOG.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Changelog
2+
3+
## 1.0.0
4+
- Update Cover
5+
6+
## 1.0.0
7+
- Added SVG + PNG Zip
8+
- Releasing v1
9+
10+
## 0.1.2-beta.0
11+
12+
- Bug fix
13+
- Readme Update
14+
- Action
15+
16+
## 0.1.1-beta.0
17+
18+
- Fix Random Function
19+
- Fix state issue
20+
21+
## 0.1.0-beta.0
22+
23+
- Bug Fix
24+
- Update Interface of iconBase
25+
- Ready to release
26+
27+
## 0.0.8-alpha.1
28+
29+
- Bug Fix
30+
31+
## 0.0.7-alpha.0
32+
33+
- Rendering View Bug Fix for some shapes
34+
35+
36+
## 0.0.6-alpha.0
37+
38+
- Add `number` type shapes, Total count 115
39+
- Change the index to start from 0
40+
41+
## 0.0.5-alpha.1
42+
43+
- Add more shapes. Total count 105
44+
- Fix noise toggle
45+
46+
## 0.0.5-alpha.0
47+
48+
- Change name to `coolshapes-react@0.0.5-alpha.0`
49+
- Fix rendering bugs
50+
- Added all remaining shapes
51+
52+
## 0.0.4-alpha.0
53+
54+
- Changed versioning to alpha `react-coolshapes@0.0.4-alpha.0`
55+
- Added 90+ shapes from different categories
56+
`Coolshape`, `Ellipse`, `Flower`, `Misc`, `Moon`, `Polygon`, `Rectangle`, `Star`, `Triangle`
57+
58+
## 0.0.3
59+
60+
- `react-coolshapes@0.0.3`
61+
- Changed render type of shapes and added dynamic support
62+
63+
```jsx
64+
<Coolshape type="star" noise="true">
65+
```
66+
67+
## 0.0.2
68+
69+
- Published - `react-coolshapes@0.0.2`
70+
- Minor fixes
71+
72+
## 0.0.1 First Publish
73+
74+
- NPM package published - `react-coolshapes`
75+
76+
- Added these 4 shapes and publish to test on [coolshap.es](https://coolshapes)
77+
```jsx
78+
"star-1": ShapeType;
79+
"star-2": ShapeType;
80+
"circle-1": ShapeType;
81+
"circle-2": ShapeType;
82+
```

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Coolshapes
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)