File tree Expand file tree Collapse file tree 6 files changed +21
-5
lines changed
examples/shadcn/components
packages/react-image-upload Expand file tree Collapse file tree 6 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ npm install @fourcels/react-image-upload
1313
1414``` jsx
1515import { ImageUpload } from " @fourcels/react-image-upload" ;
16- import " @fourcels/react-image-upload/dist/index .css" ;
16+ import " @fourcels/react-image-upload/style .css" ;
1717
1818function MyApp () {
1919 return < ImageUpload / > ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import Heading from "@theme/Heading";
66
77import styles from "./index.module.css" ;
88import { ImageUpload } from "@fourcels/react-image-upload" ;
9- import "@fourcels/react-image-upload/dist/index .css" ;
9+ import "@fourcels/react-image-upload/style .css" ;
1010
1111function HomepageHeader ( ) {
1212 const { siteConfig } = useDocusaurusContext ( ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
1818import { Input } from "@/components/ui/input" ;
1919
2020import { ImageUpload } from "@fourcels/react-image-upload" ;
21- import "@fourcels/react-image-upload/dist/index .css" ;
21+ import "@fourcels/react-image-upload/style .css" ;
2222
2323const FormSchema = z . object ( {
2424 username : z . string ( ) . min ( 2 , {
Original file line number Diff line number Diff line change 11# @fourcels/react-image-upload
22
3+ ## 0.6.2
4+
5+ ### Patch Changes
6+
7+ - feat: export style.css
8+
39## 0.6.1
410
511### Patch Changes
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ pnpm add @fourcels/react-image-upload
1818
1919``` jsx
2020import { ImageUpload } from " @fourcels/react-image-upload" ;
21- import " @fourcels/react-image-upload/dist/index .css" ;
21+ import " @fourcels/react-image-upload/style .css" ;
2222
2323function MyApp () {
2424 return < ImageUpload / > ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @fourcels/react-image-upload" ,
3- "version" : " 0.6.1 " ,
3+ "version" : " 0.6.2 " ,
44 "type" : " module" ,
55 "description" : " A image upload component for React" ,
66 "main" : " ./dist/index.js" ,
7+ "exports" : {
8+ "." : {
9+ "import" : " ./dist/index.js" ,
10+ "require" : " ./dist/index.js"
11+ },
12+ "./style.css" : {
13+ "import" : " ./dist/index.css" ,
14+ "require" : " ./dist/index.css"
15+ }
16+ },
717 "scripts" : {
818 "dev" : " tsup --watch" ,
919 "build" : " tsup"
You can’t perform that action at this time.
0 commit comments