@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.cjs.js
CHANGED
|
@@ -3838,9 +3838,7 @@ function SidebarMenuSkeleton({
|
|
|
3838
3838
|
showIcon = false,
|
|
3839
3839
|
...props
|
|
3840
3840
|
}) {
|
|
3841
|
-
const width = React__namespace.
|
|
3842
|
-
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
3843
|
-
}, []);
|
|
3841
|
+
const [width] = React__namespace.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
|
|
3844
3842
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3845
3843
|
"div",
|
|
3846
3844
|
{
|
|
@@ -4051,7 +4049,7 @@ function Stepper({
|
|
|
4051
4049
|
if (initialStep !== currentStep) {
|
|
4052
4050
|
setCurrentStep(initialStep);
|
|
4053
4051
|
}
|
|
4054
|
-
}, [initialStep]);
|
|
4052
|
+
}, [initialStep, currentStep]);
|
|
4055
4053
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4056
4054
|
StepperContext.Provider,
|
|
4057
4055
|
{
|