@e-infra/design-system 0.0.4 → 0.0.6
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.
- package/dist/index.cjs.js +2 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -4
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -0
- package/dist/types/components/ui/badge.d.ts.map +1 -1
- package/dist/types/components/ui/button.d.ts.map +1 -1
- package/dist/types/components/ui/form.d.ts.map +1 -1
- package/dist/types/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/types/components/ui/sidebar.d.ts.map +1 -1
- package/dist/types/components/ui/stepper.d.ts.map +1 -1
- package/dist/types/components/ui/toggle.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/index.cjs2.js +0 -256
- package/dist/index.cjs2.js.map +0 -1
- package/dist/index.cjs3.js +0 -256
- package/dist/index.cjs3.js.map +0 -1
- package/dist/index.es2.js +0 -256
- package/dist/index.es2.js.map +0 -1
- package/dist/index.es3.js +0 -256
- package/dist/index.es3.js.map +0 -1
- package/dist/types/components.d.ts +0 -2
- package/dist/types/hooks.d.ts +0 -2
package/dist/index.es.js
CHANGED
|
@@ -3793,9 +3793,7 @@ function SidebarMenuSkeleton({
|
|
|
3793
3793
|
showIcon = false,
|
|
3794
3794
|
...props
|
|
3795
3795
|
}) {
|
|
3796
|
-
const width = React.
|
|
3797
|
-
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
3798
|
-
}, []);
|
|
3796
|
+
const [width] = React.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
|
|
3799
3797
|
return /* @__PURE__ */ jsxs(
|
|
3800
3798
|
"div",
|
|
3801
3799
|
{
|
|
@@ -4006,7 +4004,7 @@ function Stepper({
|
|
|
4006
4004
|
if (initialStep !== currentStep) {
|
|
4007
4005
|
setCurrentStep(initialStep);
|
|
4008
4006
|
}
|
|
4009
|
-
}, [initialStep]);
|
|
4007
|
+
}, [initialStep, currentStep]);
|
|
4010
4008
|
return /* @__PURE__ */ jsx(
|
|
4011
4009
|
StepperContext.Provider,
|
|
4012
4010
|
{
|