@mp-front/components 0.0.1-next-4 → 0.0.1-next-5
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/classNames-CN12fVA7.cjs +1 -0
- package/dist/{index-C3AiNKcY.js → classNames-EUcv3dqx.js} +174 -189
- package/dist/components/steps/steps.component.d.ts +1 -1
- package/dist/components/steps/steps.component.d.ts.map +1 -1
- package/dist/components/steps/steps.stories.d.ts +4 -0
- package/dist/components/steps/steps.stories.d.ts.map +1 -1
- package/dist/components/steps/steps.types.d.ts +2 -0
- package/dist/components/steps/steps.types.d.ts.map +1 -1
- package/dist/index-B2-I-g4_.js +18 -0
- package/dist/index-CFlnP8Em.cjs +1 -0
- package/dist/layout/content.component.d.ts.map +1 -1
- package/dist/ui-components-hooks.js +1 -1
- package/dist/ui-components-index.cjs +26 -26
- package/dist/ui-components-index.js +4703 -4653
- package/dist/ui-components-layout.cjs +9 -9
- package/dist/ui-components-layout.js +2810 -2809
- package/dist/ui-components-utils.cjs +1 -1
- package/dist/ui-components-utils.js +7 -6
- package/dist/{useTranslation-Cenukg7h.js → useTranslation-DlVfOUdM.js} +3 -3
- package/package.json +1 -1
- package/dist/index-Dm9rKIx2.cjs +0 -1
|
@@ -46,6 +46,6 @@ import { StepsProps } from './steps.types';
|
|
|
46
46
|
* @see {@link StepsList} for rendering the list of steps
|
|
47
47
|
* @see {@link StepButton} for navigation buttons
|
|
48
48
|
*/
|
|
49
|
-
declare const Steps: ({ steps, size, className }: StepsProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
declare const Steps: ({ steps, size, className, withNavigation, }: StepsProps) => import("react/jsx-runtime").JSX.Element;
|
|
50
50
|
export default Steps;
|
|
51
51
|
//# sourceMappingURL=steps.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/steps/steps.component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAe,MAAM,eAAe,CAAA;AAcvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"steps.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/steps/steps.component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAe,MAAM,eAAe,CAAA;AAcvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,QAAA,MAAM,KAAK,gDAKR,UAAU,4CAoEZ,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -47,4 +47,8 @@ export declare const WithoutLinks: Story;
|
|
|
47
47
|
* Custom styling example
|
|
48
48
|
*/
|
|
49
49
|
export declare const CustomStyling: Story;
|
|
50
|
+
/**
|
|
51
|
+
* Without navigation buttons
|
|
52
|
+
*/
|
|
53
|
+
export declare const WithoutNavigation: Story;
|
|
50
54
|
//# sourceMappingURL=steps.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.stories.d.ts","sourceRoot":"","sources":["../../../src/lib/components/steps/steps.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AAGpC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"steps.stories.d.ts","sourceRoot":"","sources":["../../../src/lib/components/steps/steps.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AAGpC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAgC5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAWlC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAK5B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAavB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KASvB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAK/B,CAAA"}
|
|
@@ -87,6 +87,7 @@ export interface StepContent {
|
|
|
87
87
|
* @property {StepContent[]} steps - Array of steps to display in the flow
|
|
88
88
|
* @property {Size} [size='md'] - Component size ('sm' | 'md' | 'lg')
|
|
89
89
|
* @property {string} [className=''] - Additional CSS classes for customization
|
|
90
|
+
* @property {boolean} [withNavigation=true] - Show/hide navigation buttons
|
|
90
91
|
*
|
|
91
92
|
* @example
|
|
92
93
|
* ```tsx
|
|
@@ -101,5 +102,6 @@ export interface StepsProps {
|
|
|
101
102
|
steps: StepContent[];
|
|
102
103
|
size?: Size;
|
|
103
104
|
className?: string;
|
|
105
|
+
withNavigation?: boolean;
|
|
104
106
|
}
|
|
105
107
|
//# sourceMappingURL=steps.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.types.d.ts","sourceRoot":"","sources":["../../../src/lib/components/steps/steps.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAErC;;;;;;;;;;GAUG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAA;AAExE;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,OAAO,CAAA;AAEpC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IAC9C,KAAK,EAAE,KAAK,CAAA;IACZ,IAAI,EAAE,IAAI,CAAA;CACX;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,IAAI,CAAA;CACZ;AAED
|
|
1
|
+
{"version":3,"file":"steps.types.d.ts","sourceRoot":"","sources":["../../../src/lib/components/steps/steps.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAErC;;;;;;;;;;GAUG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAA;AAExE;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,OAAO,CAAA;AAEpC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IAC9C,KAAK,EAAE,KAAK,CAAA;IACZ,IAAI,EAAE,IAAI,CAAA;CACX;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,IAAI,CAAA;CACZ;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const o = (n, s) => `${n}-${s}`, m = (n, s) => s ? [
|
|
2
|
+
(s == null ? void 0 : s.sm) && `sm:${o(n, s.sm)}`,
|
|
3
|
+
(s == null ? void 0 : s.md) && `md:${o(n, s.md)}`,
|
|
4
|
+
(s == null ? void 0 : s.lg) && `lg:${o(n, s.lg)}`,
|
|
5
|
+
(s == null ? void 0 : s.xl) && `xl:${o(n, s.xl)}`
|
|
6
|
+
].filter(Boolean) : [], $ = (n, s) => {
|
|
7
|
+
const t = [];
|
|
8
|
+
if (typeof s == "number" || typeof s == "string")
|
|
9
|
+
t.push(o(n, s));
|
|
10
|
+
else if (s && s) {
|
|
11
|
+
const [g, r] = s;
|
|
12
|
+
t.push(o(n, g)), t.push(...m(n, r));
|
|
13
|
+
}
|
|
14
|
+
return t.join(" ");
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
$ as g
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=(n,s)=>`${n}-${s}`,m=(n,s)=>s?[(s==null?void 0:s.sm)&&`sm:${t(n,s.sm)}`,(s==null?void 0:s.md)&&`md:${t(n,s.md)}`,(s==null?void 0:s.lg)&&`lg:${t(n,s.lg)}`,(s==null?void 0:s.xl)&&`xl:${t(n,s.xl)}`].filter(Boolean):[],c=(n,s)=>{const o=[];if(typeof s=="number"||typeof s=="string")o.push(t(n,s));else if(s&&s){const[r,g]=s;o.push(t(n,r)),o.push(...m(n,g))}return o.join(" ")};exports.generateClasses=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.component.d.ts","sourceRoot":"","sources":["../../src/lib/layout/content.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content.component.d.ts","sourceRoot":"","sources":["../../src/lib/layout/content.component.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,OAAO,sCAIjB,cAAc,CAAC,KAAK,CAAC,4CASvB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as L, u as w } from "./use-controlled-state-FlR7N58L.js";
|
|
2
2
|
import { useState as s, useEffect as n } from "react";
|
|
3
|
-
import { u as d } from "./useTranslation-
|
|
3
|
+
import { u as d } from "./useTranslation-DlVfOUdM.js";
|
|
4
4
|
const c = () => {
|
|
5
5
|
const o = typeof window < "u" ? localStorage.getItem("theme") === "dark" : "light", [e, a] = s(o);
|
|
6
6
|
return n(() => {
|