@yamada-ui/progress
Advanced tools
Comparing version 0.0.0-dev-20230717002511 to 0.0.0-dev-20230718011629
@@ -89,18 +89,27 @@ "use strict"; | ||
}; | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_core.ui.div, { ref, className: (0, import_utils.cx)("ui-circle-progress", className), __css: css, ...rest, children: [ | ||
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Shape, { size, isAnimation, speed, children: [ | ||
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Circle, { stroke: trackColor, strokeWidth: thickness }), | ||
/* @__PURE__ */ (0, import_jsx_runtime.jsx)( | ||
Circle, | ||
{ | ||
stroke: color, | ||
strokeWidth: thickness, | ||
strokeLinecap: isRounded ? "round" : void 0, | ||
opacity: isTransparent ? 0 : void 0, | ||
...props | ||
} | ||
) | ||
] }), | ||
children | ||
] }); | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)( | ||
import_core.ui.div, | ||
{ | ||
ref, | ||
className: (0, import_utils.cx)("ui-circle-progress", className), | ||
__css: css, | ||
...rest, | ||
children: [ | ||
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Shape, { size, isAnimation, speed, children: [ | ||
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Circle, { stroke: trackColor, strokeWidth: thickness }), | ||
/* @__PURE__ */ (0, import_jsx_runtime.jsx)( | ||
Circle, | ||
{ | ||
stroke: color, | ||
strokeWidth: thickness, | ||
strokeLinecap: isRounded ? "round" : void 0, | ||
opacity: isTransparent ? 0 : void 0, | ||
...props | ||
} | ||
) | ||
] }), | ||
children | ||
] | ||
} | ||
); | ||
} | ||
@@ -107,0 +116,0 @@ ); |
@@ -202,18 +202,27 @@ "use strict"; | ||
}; | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_core2.ui.div, { ref, className: (0, import_utils2.cx)("ui-circle-progress", className), __css: css, ...rest, children: [ | ||
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Shape, { size, isAnimation, speed, children: [ | ||
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Circle, { stroke: trackColor, strokeWidth: thickness }), | ||
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)( | ||
Circle, | ||
{ | ||
stroke: color, | ||
strokeWidth: thickness, | ||
strokeLinecap: isRounded ? "round" : void 0, | ||
opacity: isTransparent ? 0 : void 0, | ||
...props | ||
} | ||
) | ||
] }), | ||
children | ||
] }); | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)( | ||
import_core2.ui.div, | ||
{ | ||
ref, | ||
className: (0, import_utils2.cx)("ui-circle-progress", className), | ||
__css: css, | ||
...rest, | ||
children: [ | ||
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Shape, { size, isAnimation, speed, children: [ | ||
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Circle, { stroke: trackColor, strokeWidth: thickness }), | ||
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)( | ||
Circle, | ||
{ | ||
stroke: color, | ||
strokeWidth: thickness, | ||
strokeLinecap: isRounded ? "round" : void 0, | ||
opacity: isTransparent ? 0 : void 0, | ||
...props | ||
} | ||
) | ||
] }), | ||
children | ||
] | ||
} | ||
); | ||
} | ||
@@ -220,0 +229,0 @@ ); |
{ | ||
"name": "@yamada-ui/progress", | ||
"version": "0.0.0-dev-20230717002511", | ||
"version": "0.0.0-dev-20230718011629", | ||
"description": "Yamada UI progress components", | ||
@@ -38,7 +38,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/core": "0.0.0-dev-20230717002511", | ||
"@yamada-ui/utils": "0.1.3", | ||
"@yamada-ui/use-value": "0.0.0-dev-20230717002511", | ||
"@yamada-ui/use-token": "0.0.0-dev-20230717002511", | ||
"@yamada-ui/use-animation": "0.0.0-dev-20230717002511" | ||
"@yamada-ui/core": "0.0.0-dev-20230718011629", | ||
"@yamada-ui/utils": "0.0.0-dev-20230718011629", | ||
"@yamada-ui/use-value": "0.0.0-dev-20230718011629", | ||
"@yamada-ui/use-token": "0.0.0-dev-20230718011629", | ||
"@yamada-ui/use-animation": "0.0.0-dev-20230718011629" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
34305
949
+ Added@yamada-ui/core@0.0.0-dev-20230718011629(transitive)
+ Added@yamada-ui/portal@0.0.0-dev-20230718011629(transitive)
+ Added@yamada-ui/use-animation@0.0.0-dev-20230718011629(transitive)
+ Added@yamada-ui/use-breakpoint@0.0.0-dev-20230718011629(transitive)
+ Added@yamada-ui/use-event-listener@0.0.0-dev-20230718011629(transitive)
+ Added@yamada-ui/use-token@0.0.0-dev-20230718011629(transitive)
+ Added@yamada-ui/use-value@0.0.0-dev-20230718011629(transitive)
+ Added@yamada-ui/utils@0.0.0-dev-20230718011629(transitive)
- Removed@yamada-ui/core@0.0.0-dev-20230717002511(transitive)
- Removed@yamada-ui/portal@0.2.2(transitive)
- Removed@yamada-ui/use-animation@0.0.0-dev-20230717002511(transitive)
- Removed@yamada-ui/use-breakpoint@0.0.0-dev-20230717002511(transitive)
- Removed@yamada-ui/use-event-listener@0.1.3(transitive)
- Removed@yamada-ui/use-token@0.0.0-dev-20230717002511(transitive)
- Removed@yamada-ui/use-value@0.0.0-dev-20230717002511(transitive)
- Removed@yamada-ui/utils@0.1.3(transitive)