@yamada-ui/dropzone 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,11 +10,11 @@ type DropzoneOptions = {
10
10
  /**
11
11
  * The border color when the input is focused.
12
12
  */
13
- focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
13
+ focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
14
14
  /**
15
15
  * The border color when the input is invalid.
16
16
  */
17
- errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
17
+ errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
18
18
  /**
19
19
  * If `true`, display the dropzone loading icon.
20
20
  *
@@ -38,7 +38,7 @@ type DropzoneOptions = {
38
38
  */
39
39
  openRef?: ForwardedRef<() => void | undefined>;
40
40
  };
41
- type DropzoneProps = Omit<HTMLUIProps<'div'>, 'onDrop'> & ThemeProps<'Dropzone'> & DropzoneOptions & FormControlOptions & Omit<DropzoneOptions$1, 'accept'>;
41
+ type DropzoneProps = Omit<HTMLUIProps<"div">, "onDrop"> & ThemeProps<"Dropzone"> & DropzoneOptions & FormControlOptions & Omit<DropzoneOptions$1, "accept">;
42
42
  declare const Dropzone: _yamada_ui_core.Component<"input", DropzoneProps>;
43
43
  declare const DropzoneAccept: FC<PropsWithChildren>;
44
44
  declare const DropzoneReject: FC<PropsWithChildren>;
@@ -10,11 +10,11 @@ type DropzoneOptions = {
10
10
  /**
11
11
  * The border color when the input is focused.
12
12
  */
13
- focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
13
+ focusBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
14
14
  /**
15
15
  * The border color when the input is invalid.
16
16
  */
17
- errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, 'colors'>;
17
+ errorBorderColor?: ColorModeToken<CSS.Property.BorderColor, "colors">;
18
18
  /**
19
19
  * If `true`, display the dropzone loading icon.
20
20
  *
@@ -38,7 +38,7 @@ type DropzoneOptions = {
38
38
  */
39
39
  openRef?: ForwardedRef<() => void | undefined>;
40
40
  };
41
- type DropzoneProps = Omit<HTMLUIProps<'div'>, 'onDrop'> & ThemeProps<'Dropzone'> & DropzoneOptions & FormControlOptions & Omit<DropzoneOptions$1, 'accept'>;
41
+ type DropzoneProps = Omit<HTMLUIProps<"div">, "onDrop"> & ThemeProps<"Dropzone"> & DropzoneOptions & FormControlOptions & Omit<DropzoneOptions$1, "accept">;
42
42
  declare const Dropzone: _yamada_ui_core.Component<"input", DropzoneProps>;
43
43
  declare const DropzoneAccept: FC<PropsWithChildren>;
44
44
  declare const DropzoneReject: FC<PropsWithChildren>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/dropzone",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Yamada UI dropzone component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -36,11 +36,11 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "react-dropzone": "14.2.3",
39
- "@yamada-ui/core": "0.12.5",
39
+ "@yamada-ui/core": "0.12.6",
40
40
  "@yamada-ui/utils": "0.3.3",
41
- "@yamada-ui/form-control": "0.3.18",
42
- "@yamada-ui/transitions": "0.3.16",
43
- "@yamada-ui/loading": "0.5.2"
41
+ "@yamada-ui/form-control": "0.3.19",
42
+ "@yamada-ui/transitions": "0.3.18",
43
+ "@yamada-ui/loading": "0.5.3"
44
44
  },
45
45
  "devDependencies": {
46
46
  "react": "^18.0.0",