Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Commit ac6e6a9

Browse files
committed
Publish 1.1.34
1 parent dc63d80 commit ac6e6a9

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
# types: [published]
66

77
jobs:
8-
build:
8+
publish:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
@@ -15,7 +15,7 @@ jobs:
1515
node-version: '20.x'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: npm ci
18-
- run: npm run build-css
18+
- run: npm run build
1919
- run: npm publish --access public
2020
env:
2121
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Checkout the live demo on, codesandbox <br />
2020
- [Square View](#square-view)
2121
- [Horizontal Long Square View](#horizontal-long-square-view)
2222
- [Circular View](#circular-view)
23-
- [Over-ride CSS](#over-ride-css)
23+
- [Use/Over-ride CSS](#useover-ride-css)
2424
- [Properties and Events](#properties-and-events)
2525
- [Usage](#usage)
2626
- [Contributing](#contributing)
@@ -95,7 +95,13 @@ We are providing some examples with design. so, you can easily use it in your pr
9595

9696
<img src="./gifs/round-view.gif"/>
9797

98-
### Over-ride CSS
98+
### Use/Over-ride CSS
99+
100+
- Use `style.css` for UI using,
101+
102+
```js
103+
import "@canopassoftware/react-file-upload/style.css"
104+
```
99105

100106
For over-riding the design of default buttons, you can over-ride it's CSS by class name. <br>
101107
For example., <br>

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@canopassoftware/react-file-upload",
3-
"version": "1.1.33",
3+
"version": "1.1.34",
44
"description": "Show the preview of file and manage files data to upload",
55
"main": "index.umd.js",
66
"repository": {
@@ -22,7 +22,7 @@
2222
"homepage": "https://github.com/canopas/react-file-upload#readme",
2323
"scripts": {
2424
"dev": "next dev",
25-
"build": "npm run build-css && vite build && npm run build-css && cp -r ./src/assets ./ && cp -r ./dist/* ./",
25+
"build": "npm run build-css && vite build && cp -r ./dist/* ./",
2626
"start": "next start",
2727
"lint": "next lint",
2828
"build-css": "tailwindcss -i ./src/app/globals.css -o ./dist/css/output.css --minify && cp ./src/app/style.scss ./dist/css/style.scss"
@@ -55,7 +55,6 @@
5555
},
5656
"files": [
5757
"./assets",
58-
"./css",
5958
"./index.mjs",
6059
"./index.umd.js",
6160
"./style.css"

0 commit comments

Comments
 (0)