@yamada-ui/progress 0.4.15 → 0.4.17

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.
@@ -1,10 +1,7 @@
1
1
  "use client"
2
2
 
3
3
  // src/circle-progress.tsx
4
- import {
5
- ui,
6
- forwardRef
7
- } from "@yamada-ui/core";
4
+ import { ui, forwardRef } from "@yamada-ui/core";
8
5
  import { useAnimation } from "@yamada-ui/use-animation";
9
6
  import { useToken } from "@yamada-ui/use-token";
10
7
  import { useValue } from "@yamada-ui/use-value";
@@ -7,25 +7,25 @@ type CircleProgressOptions = {
7
7
  *
8
8
  * @default '6rem'
9
9
  */
10
- size?: CSSUIProps['boxSize'];
10
+ size?: CSSUIProps["boxSize"];
11
11
  /**
12
12
  * The CSS `width` property.
13
13
  *
14
14
  * @default '0.625ewm'
15
15
  */
16
- thickness?: CSSUIProps['width'];
16
+ thickness?: CSSUIProps["width"];
17
17
  /**
18
18
  * The CSS `color` property.
19
19
  *
20
20
  * @default 'primary'
21
21
  */
22
- color?: CSSUIProps['color'];
22
+ color?: CSSUIProps["color"];
23
23
  /**
24
24
  * The CSS `color` property.
25
25
  *
26
26
  * @default 'border'
27
27
  */
28
- trackColor?: CSSUIProps['color'];
28
+ trackColor?: CSSUIProps["color"];
29
29
  /**
30
30
  * The value of the progress.
31
31
  *
@@ -63,7 +63,7 @@ type CircleProgressOptions = {
63
63
  */
64
64
  speed?: [string | number, string | number];
65
65
  };
66
- type CircleProgressProps = Omit<HTMLUIProps<'div'>, 'color'> & CircleProgressOptions;
66
+ type CircleProgressProps = Omit<HTMLUIProps<"div">, "color"> & CircleProgressOptions;
67
67
  declare const CircleProgress: _yamada_ui_core.Component<"div", CircleProgressProps>;
68
68
  declare const CircleProgressLabel: _yamada_ui_core.UIComponent<"span", {}>;
69
69
 
@@ -7,25 +7,25 @@ type CircleProgressOptions = {
7
7
  *
8
8
  * @default '6rem'
9
9
  */
10
- size?: CSSUIProps['boxSize'];
10
+ size?: CSSUIProps["boxSize"];
11
11
  /**
12
12
  * The CSS `width` property.
13
13
  *
14
14
  * @default '0.625ewm'
15
15
  */
16
- thickness?: CSSUIProps['width'];
16
+ thickness?: CSSUIProps["width"];
17
17
  /**
18
18
  * The CSS `color` property.
19
19
  *
20
20
  * @default 'primary'
21
21
  */
22
- color?: CSSUIProps['color'];
22
+ color?: CSSUIProps["color"];
23
23
  /**
24
24
  * The CSS `color` property.
25
25
  *
26
26
  * @default 'border'
27
27
  */
28
- trackColor?: CSSUIProps['color'];
28
+ trackColor?: CSSUIProps["color"];
29
29
  /**
30
30
  * The value of the progress.
31
31
  *
@@ -63,7 +63,7 @@ type CircleProgressOptions = {
63
63
  */
64
64
  speed?: [string | number, string | number];
65
65
  };
66
- type CircleProgressProps = Omit<HTMLUIProps<'div'>, 'color'> & CircleProgressOptions;
66
+ type CircleProgressProps = Omit<HTMLUIProps<"div">, "color"> & CircleProgressOptions;
67
67
  declare const CircleProgress: _yamada_ui_core.Component<"div", CircleProgressProps>;
68
68
  declare const CircleProgressLabel: _yamada_ui_core.UIComponent<"span", {}>;
69
69
 
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  CircleProgress,
4
4
  CircleProgressLabel
5
- } from "./chunk-JKSTDK2X.mjs";
5
+ } from "./chunk-EON76E4Y.mjs";
6
6
  export {
7
7
  CircleProgress,
8
8
  CircleProgressLabel
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  CircleProgress,
4
4
  CircleProgressLabel
5
- } from "./chunk-JKSTDK2X.mjs";
5
+ } from "./chunk-EON76E4Y.mjs";
6
6
  import {
7
7
  Progress
8
8
  } from "./chunk-2KGMJKZ2.mjs";
@@ -47,9 +47,9 @@ type ProgressOptions = {
47
47
  /**
48
48
  * The CSS `color` property.
49
49
  */
50
- filledTrackColor?: ColorModeToken<CSS.Property.Color, 'colors'>;
50
+ filledTrackColor?: ColorModeToken<CSS.Property.Color, "colors">;
51
51
  };
52
- type ProgressProps = HTMLUIProps<'div'> & ThemeProps<'Progress'> & ProgressOptions;
52
+ type ProgressProps = HTMLUIProps<"div"> & ThemeProps<"Progress"> & ProgressOptions;
53
53
  declare const Progress: _yamada_ui_core.Component<"div", ProgressProps>;
54
54
 
55
55
  export { Progress, ProgressProps };
@@ -47,9 +47,9 @@ type ProgressOptions = {
47
47
  /**
48
48
  * The CSS `color` property.
49
49
  */
50
- filledTrackColor?: ColorModeToken<CSS.Property.Color, 'colors'>;
50
+ filledTrackColor?: ColorModeToken<CSS.Property.Color, "colors">;
51
51
  };
52
- type ProgressProps = HTMLUIProps<'div'> & ThemeProps<'Progress'> & ProgressOptions;
52
+ type ProgressProps = HTMLUIProps<"div"> & ThemeProps<"Progress"> & ProgressOptions;
53
53
  declare const Progress: _yamada_ui_core.Component<"div", ProgressProps>;
54
54
 
55
55
  export { Progress, ProgressProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/progress",
3
- "version": "0.4.15",
3
+ "version": "0.4.17",
4
4
  "description": "Yamada UI progress components",
5
5
  "keywords": [
6
6
  "yamada",
@@ -35,11 +35,11 @@
35
35
  "url": "https://github.com/hirotomoyamada/yamada-ui/issues"
36
36
  },
37
37
  "dependencies": {
38
- "@yamada-ui/core": "0.12.5",
38
+ "@yamada-ui/core": "0.12.7",
39
39
  "@yamada-ui/utils": "0.3.3",
40
- "@yamada-ui/use-value": "0.2.15",
41
- "@yamada-ui/use-token": "0.3.9",
42
- "@yamada-ui/use-animation": "0.4.4"
40
+ "@yamada-ui/use-value": "0.2.17",
41
+ "@yamada-ui/use-token": "0.3.11",
42
+ "@yamada-ui/use-animation": "0.4.6"
43
43
  },
44
44
  "devDependencies": {
45
45
  "react": "^18.0.0",