@definable/ui 0.1.8 → 0.1.10

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.
Files changed (43) hide show
  1. package/dist/MonacoEditor-COZcVMEj.cjs +8 -0
  2. package/dist/MonacoEditor-COZcVMEj.cjs.map +1 -0
  3. package/dist/MonacoEditor-D3QSSKa4.js +295 -0
  4. package/dist/MonacoEditor-D3QSSKa4.js.map +1 -0
  5. package/dist/alert.d.ts +7 -0
  6. package/dist/badge.d.ts +1 -1
  7. package/dist/command.d.ts +13 -13
  8. package/dist/components/alert.d.ts +7 -0
  9. package/dist/components/alert.esm.js +35 -22
  10. package/dist/components/alert.esm.js.map +1 -1
  11. package/dist/components/alert.js +1 -1
  12. package/dist/components/alert.js.map +1 -1
  13. package/dist/components/badge.d.ts +1 -1
  14. package/dist/components/command.d.ts +13 -13
  15. package/dist/components/modal.esm.js +55 -44
  16. package/dist/components/modal.esm.js.map +1 -1
  17. package/dist/components/modal.js +1 -1
  18. package/dist/components/modal.js.map +1 -1
  19. package/dist/components/monaco-editor.esm.js +6 -292
  20. package/dist/components/monaco-editor.esm.js.map +1 -1
  21. package/dist/components/monaco-editor.js +1 -7
  22. package/dist/components/monaco-editor.js.map +1 -1
  23. package/dist/components/selection-bar.esm.js +7 -7
  24. package/dist/components/selection-bar.esm.js.map +1 -1
  25. package/dist/components/selection-bar.js +1 -1
  26. package/dist/components/selection-bar.js.map +1 -1
  27. package/dist/components/stepper.esm.js +4 -211
  28. package/dist/components/stepper.esm.js.map +1 -1
  29. package/dist/components/stepper.js +1 -1
  30. package/dist/components/stepper.js.map +1 -1
  31. package/dist/index.d.ts +464 -1
  32. package/dist/index.esm.js +455 -111
  33. package/dist/index.esm.js.map +1 -1
  34. package/dist/index.js +1 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/stepper-modal-CPlBpxWy.cjs +2 -0
  37. package/dist/stepper-modal-CPlBpxWy.cjs.map +1 -0
  38. package/dist/stepper-modal-SYU9mbXs.js +214 -0
  39. package/dist/stepper-modal-SYU9mbXs.js.map +1 -0
  40. package/dist/styles.css +1 -1
  41. package/dist/utils-DSKoFOjv.cjs.map +1 -1
  42. package/dist/utils-qaFjX9_3.js.map +1 -1
  43. package/package.json +6 -1
@@ -1,214 +1,7 @@
1
- import { j as e } from "../jsx-runtime-DGlMoOmv.js";
2
- import { c as a } from "../utils-qaFjX9_3.js";
3
- import { motion as t, AnimatePresence as k } from "framer-motion";
4
- import { Modal as L } from "./modal.esm.js";
5
- import { Button as d } from "./button.esm.js";
6
- function A({ steps: o, className: s }) {
7
- return /* @__PURE__ */ e.jsx("div", { className: a("py-6 space-y-5", s), children: o.map((i, r) => /* @__PURE__ */ e.jsxs(
8
- t.div,
9
- {
10
- className: "relative",
11
- initial: { opacity: 0, y: 10 },
12
- animate: { opacity: 1, y: 0 },
13
- transition: { delay: r * 0.1, duration: 0.3 },
14
- children: [
15
- r !== 0 && /* @__PURE__ */ e.jsx(
16
- t.div,
17
- {
18
- className: a(
19
- "absolute left-[15px] -top-[26px] w-[2px] h-[24px] origin-top",
20
- i.isCompleted || i.isCurrent ? "bg-primary/60" : "bg-border"
21
- ),
22
- initial: { scaleY: 0 },
23
- animate: { scaleY: 1 },
24
- transition: { delay: r * 0.1 + 0.2, duration: 0.2 }
25
- }
26
- ),
27
- /* @__PURE__ */ e.jsxs("div", { className: "flex gap-4 items-start", children: [
28
- /* @__PURE__ */ e.jsx(
29
- t.div,
30
- {
31
- className: a(
32
- "w-[30px] h-[30px] rounded-full flex items-center justify-center text-xs font-medium shrink-0 transition-all",
33
- i.isCompleted && "bg-primary text-primary-foreground shadow-sm shadow-primary/20",
34
- i.isCurrent && "border-2 border-primary bg-primary/10 text-primary",
35
- !i.isCompleted && !i.isCurrent && "border-2 border-muted-foreground/30 text-muted-foreground"
36
- ),
37
- whileHover: { scale: 1.05 },
38
- whileTap: { scale: 0.98 },
39
- transition: { duration: 0.2 },
40
- children: i.isCompleted ? /* @__PURE__ */ e.jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
41
- "path",
42
- {
43
- d: "M7.75 12.75L10 15.25L16.25 8.75",
44
- stroke: "currentColor",
45
- strokeWidth: "2",
46
- strokeLinecap: "round",
47
- strokeLinejoin: "round"
48
- }
49
- ) }) : r + 1
50
- }
51
- ),
52
- /* @__PURE__ */ e.jsxs("div", { className: "space-y-0.5 pt-0.5", children: [
53
- /* @__PURE__ */ e.jsx("h3", { className: a(
54
- "text-sm font-medium transition-colors",
55
- i.isCurrent && "text-primary",
56
- i.isCompleted && "text-foreground",
57
- !i.isCurrent && !i.isCompleted && "text-muted-foreground"
58
- ), children: i.title }),
59
- i.description && /* @__PURE__ */ e.jsx("p", { className: a(
60
- "text-xs text-muted-foreground leading-relaxed",
61
- i.isCurrent && "text-muted-foreground/90"
62
- ), children: i.description })
63
- ] })
64
- ] })
65
- ]
66
- },
67
- i.title
68
- )) });
69
- }
70
- function O({
71
- children: o,
72
- title: s,
73
- sidebar: i,
74
- subclassName: r
75
- }) {
76
- return /* @__PURE__ */ e.jsxs("div", { className: "flex h-scroll-xl overflow-hidden", children: [
77
- /* @__PURE__ */ e.jsx(
78
- t.div,
79
- {
80
- className: "border-r bg-gradient-to-b from-muted/30 to-muted/60 sticky top-0 self-start h-full max-h-[calc(100vh-10rem)]",
81
- initial: { opacity: 0, x: -10 },
82
- animate: { opacity: 1, x: 0 },
83
- transition: { duration: 0.3, ease: "easeInOut" },
84
- children: i
85
- }
86
- ),
87
- /* @__PURE__ */ e.jsxs(
88
- t.div,
89
- {
90
- className: a("flex-1 px-5 py-4 overflow-y-auto", r),
91
- initial: { opacity: 0, x: 5 },
92
- animate: { opacity: 1, x: 0 },
93
- transition: { duration: 0.3, delay: 0.1, ease: "easeInOut" },
94
- children: [
95
- s && /* @__PURE__ */ e.jsx("div", { className: "flex items-center mb-5", children: /* @__PURE__ */ e.jsx("h2", { className: "text-lg font-semibold text-foreground", children: s }) }),
96
- /* @__PURE__ */ e.jsx("div", { className: "h-full", children: o })
97
- ]
98
- }
99
- )
100
- ] });
101
- }
102
- function E({
103
- isOpen: o,
104
- onClose: s,
105
- title: i,
106
- description: r,
107
- icon: m,
108
- currentStep: l,
109
- totalSteps: n,
110
- onBack: u,
111
- onNext: f,
112
- onComplete: h,
113
- sidebar: p,
114
- children: y,
115
- continueText: j = "Continue",
116
- completeText: g = "Complete",
117
- isNextDisabled: c = !1,
118
- isNextLoading: x = !1,
119
- size: v = "2xl",
120
- stepLayoutSubclassName: b,
121
- isShowBackButton: N = !0,
122
- isModelContentScrollable: w = !1
123
- }) {
124
- const C = (l + 1) / n * 100;
125
- return /* @__PURE__ */ e.jsxs(
126
- L,
127
- {
128
- isOpen: o,
129
- onClose: s,
130
- size: v,
131
- showClose: !0,
132
- title: i,
133
- isContentScrollable: w,
134
- description: r,
135
- icon: m && /* @__PURE__ */ e.jsx("div", { className: "bg-primary/10 p-2 rounded-full", children: /* @__PURE__ */ e.jsx(m, { className: "h-5 w-5 text-primary" }) }),
136
- contentClassName: "px-0 pt-0 pb-0",
137
- footer: /* @__PURE__ */ e.jsxs("div", { className: "w-full flex items-center justify-between", children: [
138
- /* @__PURE__ */ e.jsx("div", { className: "flex-1", children: l > 0 && N && /* @__PURE__ */ e.jsx(
139
- d,
140
- {
141
- variant: "ghost",
142
- onClick: u,
143
- size: "sm",
144
- className: "text-muted-foreground hover:text-foreground transition-colors",
145
- children: "Back"
146
- }
147
- ) }),
148
- /* @__PURE__ */ e.jsxs("div", { className: "flex-1 flex justify-center text-xs text-muted-foreground", children: [
149
- "Step ",
150
- l + 1,
151
- " of ",
152
- n
153
- ] }),
154
- /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex justify-end", children: l < n - 1 ? /* @__PURE__ */ e.jsx(
155
- d,
156
- {
157
- onClick: f,
158
- disabled: c,
159
- isLoading: x,
160
- size: "sm",
161
- className: "bg-primary text-primary-foreground hover:bg-primary/90",
162
- children: j
163
- }
164
- ) : /* @__PURE__ */ e.jsx(
165
- d,
166
- {
167
- onClick: h,
168
- disabled: c,
169
- isLoading: x,
170
- size: "sm",
171
- className: "bg-primary text-primary-foreground hover:bg-primary/90",
172
- children: g
173
- }
174
- ) })
175
- ] }),
176
- children: [
177
- /* @__PURE__ */ e.jsx("div", { className: "w-full h-0.5 bg-muted relative mb-1", children: /* @__PURE__ */ e.jsx(
178
- t.div,
179
- {
180
- className: "absolute top-0 left-0 h-full bg-primary",
181
- initial: { width: 0 },
182
- animate: { width: `${C}%` },
183
- transition: { duration: 0.3, ease: "easeInOut" }
184
- }
185
- ) }),
186
- /* @__PURE__ */ e.jsx(
187
- O,
188
- {
189
- sidebar: p,
190
- subclassName: b,
191
- children: /* @__PURE__ */ e.jsx(k, { mode: "wait", children: /* @__PURE__ */ e.jsx(
192
- t.div,
193
- {
194
- initial: { opacity: 0, y: 10 },
195
- animate: { opacity: 1, y: 0 },
196
- exit: { opacity: 0, y: -10 },
197
- transition: { duration: 0.25, ease: "easeInOut" },
198
- className: "h-full",
199
- children: y
200
- },
201
- l
202
- ) })
203
- }
204
- )
205
- ]
206
- }
207
- );
208
- }
1
+ import { a as p, S as t, b as o } from "../stepper-modal-SYU9mbXs.js";
209
2
  export {
210
- O as StepLayout,
211
- A as Stepper,
212
- E as StepperModal
3
+ p as StepLayout,
4
+ t as Stepper,
5
+ o as StepperModal
213
6
  };
214
7
  //# sourceMappingURL=stepper.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.esm.js","sources":["../../src/components/stepper/stepper.tsx","../../src/components/stepper/step-layout.tsx","../../src/components/stepper/stepper-modal.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\"\nimport { motion } from \"framer-motion\"\nimport { Step } from \"./types\"\n\ninterface StepperProps {\n steps: Step[]\n className?: string\n}\n\nexport function Stepper({ steps, className }: StepperProps) {\n return (\n <div className={cn(\"py-6 space-y-5\", className)}>\n {steps.map((step, index) => (\n <motion.div \n key={step.title} \n className=\"relative\"\n initial={{ opacity: 0, y: 10 }}\n animate={{ opacity: 1, y: 0 }}\n transition={{ delay: index * 0.1, duration: 0.3 }}\n >\n {/* Connector line between steps */}\n {index !== 0 && (\n <motion.div \n className={cn(\n \"absolute left-[15px] -top-[26px] w-[2px] h-[24px] origin-top\",\n step.isCompleted || step.isCurrent ? \"bg-primary/60\" : \"bg-border\"\n )}\n initial={{ scaleY: 0 }}\n animate={{ scaleY: 1 }}\n transition={{ delay: index * 0.1 + 0.2, duration: 0.2 }}\n />\n )}\n \n <div className=\"flex gap-4 items-start\">\n {/* Step indicator circle */}\n <motion.div \n className={cn(\n \"w-[30px] h-[30px] rounded-full flex items-center justify-center text-xs font-medium shrink-0 transition-all\",\n step.isCompleted && \"bg-primary text-primary-foreground shadow-sm shadow-primary/20\",\n step.isCurrent && \"border-2 border-primary bg-primary/10 text-primary\",\n !step.isCompleted && !step.isCurrent && \"border-2 border-muted-foreground/30 text-muted-foreground\"\n )}\n whileHover={{ scale: 1.05 }}\n whileTap={{ scale: 0.98 }}\n transition={{ duration: 0.2 }}\n >\n {step.isCompleted ? (\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M7.75 12.75L10 15.25L16.25 8.75\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n ) : (\n index + 1\n )}\n </motion.div>\n \n {/* Step content */}\n <div className=\"space-y-0.5 pt-0.5\">\n <h3 className={cn(\n \"text-sm font-medium transition-colors\",\n step.isCurrent && \"text-primary\",\n step.isCompleted && \"text-foreground\",\n !step.isCurrent && !step.isCompleted && \"text-muted-foreground\"\n )}>\n {step.title}\n </h3>\n {step.description && (\n <p className={cn(\n \"text-xs text-muted-foreground leading-relaxed\",\n step.isCurrent && \"text-muted-foreground/90\"\n )}>\n {step.description}\n </p>\n )}\n </div>\n </div>\n </motion.div>\n ))}\n </div>\n )\n} ","import { cn } from \"@/lib/utils\"\nimport { motion } from \"framer-motion\"\n\ninterface StepLayoutProps {\n children: React.ReactNode\n title?: string\n sidebar?: React.ReactNode\n subclassName?: string\n}\n\nexport function StepLayout({ \n children, \n title,\n sidebar,\n subclassName,\n}: StepLayoutProps) {\n return (\n <div className=\"flex h-scroll-xl overflow-hidden\">\n {/* Sidebar with sticky positioning */}\n <motion.div \n className=\"border-r bg-gradient-to-b from-muted/30 to-muted/60 sticky top-0 self-start h-full max-h-[calc(100vh-10rem)]\"\n initial={{ opacity: 0, x: -10 }}\n animate={{ opacity: 1, x: 0 }}\n transition={{ duration: 0.3, ease: \"easeInOut\" }}\n >\n {sidebar}\n </motion.div>\n \n {/* Main content area */}\n <motion.div \n className={cn(\"flex-1 px-5 py-4 overflow-y-auto\", subclassName)}\n initial={{ opacity: 0, x: 5 }}\n animate={{ opacity: 1, x: 0 }}\n transition={{ duration: 0.3, delay: 0.1, ease: \"easeInOut\" }}\n >\n {title && (\n <div className=\"flex items-center mb-5\">\n <h2 className=\"text-lg font-semibold text-foreground\">{title}</h2>\n </div>\n )}\n <div className=\"h-full\">\n {children}\n </div>\n </motion.div>\n </div>\n )\n} ","import { Modal, ModalProps } from \"../modal\"\nimport { StepLayout } from \"./step-layout\"\nimport { Button } from \"../button\"\nimport { motion, AnimatePresence } from \"framer-motion\"\nimport { cn } from \"@/lib/utils\"\n\ninterface StepperModalProps {\n isOpen: boolean\n onClose: () => void\n title: string\n description?: string\n icon?: React.ComponentType<any>\n currentStep: number\n totalSteps: number\n onBack: () => void\n onNext: () => void\n onComplete: () => void\n sidebar: React.ReactNode\n children: React.ReactNode\n continueText?: string\n completeText?: string\n isNextDisabled?: boolean\n isNextLoading?: boolean\n size?: ModalProps['size']\n stepLayoutSubclassName?: string \n isShowClose?: boolean\n isShowBackButton?: boolean\n isModelContentScrollable?: boolean\n}\n\nexport function StepperModal({\n isOpen,\n onClose,\n title,\n description,\n icon: Icon,\n currentStep,\n totalSteps,\n onBack,\n onNext,\n onComplete,\n sidebar,\n children,\n continueText = \"Continue\",\n completeText = \"Complete\",\n isNextDisabled = false,\n isNextLoading = false,\n size = \"2xl\",\n stepLayoutSubclassName,\n isShowBackButton = true,\n isModelContentScrollable = false\n}: StepperModalProps) {\n // Calculate progress percentage\n const progress = ((currentStep + 1) / totalSteps) * 100;\n \n return (\n <Modal \n isOpen={isOpen} \n onClose={onClose}\n size={size}\n showClose={true}\n title={title}\n isContentScrollable={isModelContentScrollable}\n description={description}\n icon={Icon && (\n <div className=\"bg-primary/10 p-2 rounded-full\">\n <Icon className=\"h-5 w-5 text-primary\" />\n </div>\n )}\n contentClassName=\"px-0 pt-0 pb-0\"\n footer={\n <div className=\"w-full flex items-center justify-between\">\n <div className=\"flex-1\">\n {currentStep > 0 && isShowBackButton && (\n <Button \n variant=\"ghost\" \n onClick={onBack}\n size=\"sm\"\n className=\"text-muted-foreground hover:text-foreground transition-colors\"\n >\n Back\n </Button>\n )}\n </div>\n \n <div className=\"flex-1 flex justify-center text-xs text-muted-foreground\">\n Step {currentStep + 1} of {totalSteps}\n </div>\n \n <div className=\"flex-1 flex justify-end\">\n {currentStep < totalSteps - 1 ? (\n <Button \n onClick={onNext} \n disabled={isNextDisabled} \n isLoading={isNextLoading}\n size=\"sm\"\n className=\"bg-primary text-primary-foreground hover:bg-primary/90\"\n >\n {continueText}\n </Button>\n ) : (\n <Button \n onClick={onComplete} \n disabled={isNextDisabled} \n isLoading={isNextLoading}\n size=\"sm\"\n className=\"bg-primary text-primary-foreground hover:bg-primary/90\"\n >\n {completeText}\n </Button>\n )}\n </div>\n </div>\n }\n >\n {/* Progress bar */}\n <div className=\"w-full h-0.5 bg-muted relative mb-1\">\n <motion.div \n className=\"absolute top-0 left-0 h-full bg-primary\"\n initial={{ width: 0 }}\n animate={{ width: `${progress}%` }}\n transition={{ duration: 0.3, ease: \"easeInOut\" }}\n />\n </div>\n \n <StepLayout\n sidebar={sidebar}\n subclassName={stepLayoutSubclassName}\n >\n <AnimatePresence mode=\"wait\">\n <motion.div\n key={currentStep}\n initial={{ opacity: 0, y: 10 }}\n animate={{ opacity: 1, y: 0 }}\n exit={{ opacity: 0, y: -10 }}\n transition={{ duration: 0.25, ease: \"easeInOut\" }}\n className=\"h-full\"\n >\n {children}\n </motion.div>\n </AnimatePresence>\n </StepLayout>\n </Modal>\n )\n} "],"names":["Stepper","steps","className","jsx","cn","step","index","jsxs","motion","StepLayout","children","title","sidebar","subclassName","StepperModal","isOpen","onClose","description","Icon","currentStep","totalSteps","onBack","onNext","onComplete","continueText","completeText","isNextDisabled","isNextLoading","size","stepLayoutSubclassName","isShowBackButton","isModelContentScrollable","progress","Modal","Button","AnimatePresence"],"mappings":";;;;;AASO,SAASA,EAAQ,EAAE,OAAAC,GAAO,WAAAC,KAA2B;AAC1D,SACEC,gBAAAA,EAAAA,IAAC,OAAA,EAAI,WAAWC,EAAG,kBAAkBF,CAAS,GAC3C,UAAAD,EAAM,IAAI,CAACI,GAAMC,MAChBC,gBAAAA,EAAAA;AAAAA,IAACC,EAAO;AAAA,IAAP;AAAA,MAEC,WAAU;AAAA,MACV,SAAS,EAAE,SAAS,GAAG,GAAG,GAAA;AAAA,MAC1B,SAAS,EAAE,SAAS,GAAG,GAAG,EAAA;AAAA,MAC1B,YAAY,EAAE,OAAOF,IAAQ,KAAK,UAAU,IAAA;AAAA,MAG3C,UAAA;AAAA,QAAAA,MAAU,KACTH,gBAAAA,EAAAA;AAAAA,UAACK,EAAO;AAAA,UAAP;AAAA,YACC,WAAWJ;AAAA,cACT;AAAA,cACAC,EAAK,eAAeA,EAAK,YAAY,kBAAkB;AAAA,YAAA;AAAA,YAEzD,SAAS,EAAE,QAAQ,EAAA;AAAA,YACnB,SAAS,EAAE,QAAQ,EAAA;AAAA,YACnB,YAAY,EAAE,OAAOC,IAAQ,MAAM,KAAK,UAAU,IAAA;AAAA,UAAI;AAAA,QAAA;AAAA,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
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../jsx-runtime-BYECrxsp.cjs"),o=require("../utils-DSKoFOjv.cjs"),i=require("framer-motion"),C=require("./modal.js"),x=require("./button.js");function k({steps:n,className:r}){return e.jsxRuntimeExports.jsx("div",{className:o.cn("py-6 space-y-5",r),children:n.map((t,s)=>e.jsxRuntimeExports.jsxs(i.motion.div,{className:"relative",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:s*.1,duration:.3},children:[s!==0&&e.jsxRuntimeExports.jsx(i.motion.div,{className:o.cn("absolute left-[15px] -top-[26px] w-[2px] h-[24px] origin-top",t.isCompleted||t.isCurrent?"bg-primary/60":"bg-border"),initial:{scaleY:0},animate:{scaleY:1},transition:{delay:s*.1+.2,duration:.2}}),e.jsxRuntimeExports.jsxs("div",{className:"flex gap-4 items-start",children:[e.jsxRuntimeExports.jsx(i.motion.div,{className:o.cn("w-[30px] h-[30px] rounded-full flex items-center justify-center text-xs font-medium shrink-0 transition-all",t.isCompleted&&"bg-primary text-primary-foreground shadow-sm shadow-primary/20",t.isCurrent&&"border-2 border-primary bg-primary/10 text-primary",!t.isCompleted&&!t.isCurrent&&"border-2 border-muted-foreground/30 text-muted-foreground"),whileHover:{scale:1.05},whileTap:{scale:.98},transition:{duration:.2},children:t.isCompleted?e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsxRuntimeExports.jsx("path",{d:"M7.75 12.75L10 15.25L16.25 8.75",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):s+1}),e.jsxRuntimeExports.jsxs("div",{className:"space-y-0.5 pt-0.5",children:[e.jsxRuntimeExports.jsx("h3",{className:o.cn("text-sm font-medium transition-colors",t.isCurrent&&"text-primary",t.isCompleted&&"text-foreground",!t.isCurrent&&!t.isCompleted&&"text-muted-foreground"),children:t.title}),t.description&&e.jsxRuntimeExports.jsx("p",{className:o.cn("text-xs text-muted-foreground leading-relaxed",t.isCurrent&&"text-muted-foreground/90"),children:t.description})]})]})]},t.title))})}function c({children:n,title:r,sidebar:t,subclassName:s}){return e.jsxRuntimeExports.jsxs("div",{className:"flex h-scroll-xl overflow-hidden",children:[e.jsxRuntimeExports.jsx(i.motion.div,{className:"border-r bg-gradient-to-b from-muted/30 to-muted/60 sticky top-0 self-start h-full max-h-[calc(100vh-10rem)]",initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{duration:.3,ease:"easeInOut"},children:t}),e.jsxRuntimeExports.jsxs(i.motion.div,{className:o.cn("flex-1 px-5 py-4 overflow-y-auto",s),initial:{opacity:0,x:5},animate:{opacity:1,x:0},transition:{duration:.3,delay:.1,ease:"easeInOut"},children:[r&&e.jsxRuntimeExports.jsx("div",{className:"flex items-center mb-5",children:e.jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold text-foreground",children:r})}),e.jsxRuntimeExports.jsx("div",{className:"h-full",children:n})]})]})}function L({isOpen:n,onClose:r,title:t,description:s,icon:m,currentStep:a,totalSteps:l,onBack:p,onNext:j,onComplete:h,sidebar:f,children:y,continueText:g="Continue",completeText:b="Complete",isNextDisabled:d=!1,isNextLoading:u=!1,size:v="2xl",stepLayoutSubclassName:R,isShowBackButton:E=!0,isModelContentScrollable:N=!1}){const w=(a+1)/l*100;return e.jsxRuntimeExports.jsxs(C.Modal,{isOpen:n,onClose:r,size:v,showClose:!0,title:t,isContentScrollable:N,description:s,icon:m&&e.jsxRuntimeExports.jsx("div",{className:"bg-primary/10 p-2 rounded-full",children:e.jsxRuntimeExports.jsx(m,{className:"h-5 w-5 text-primary"})}),contentClassName:"px-0 pt-0 pb-0",footer:e.jsxRuntimeExports.jsxs("div",{className:"w-full flex items-center justify-between",children:[e.jsxRuntimeExports.jsx("div",{className:"flex-1",children:a>0&&E&&e.jsxRuntimeExports.jsx(x.Button,{variant:"ghost",onClick:p,size:"sm",className:"text-muted-foreground hover:text-foreground transition-colors",children:"Back"})}),e.jsxRuntimeExports.jsxs("div",{className:"flex-1 flex justify-center text-xs text-muted-foreground",children:["Step ",a+1," of ",l]}),e.jsxRuntimeExports.jsx("div",{className:"flex-1 flex justify-end",children:a<l-1?e.jsxRuntimeExports.jsx(x.Button,{onClick:j,disabled:d,isLoading:u,size:"sm",className:"bg-primary text-primary-foreground hover:bg-primary/90",children:g}):e.jsxRuntimeExports.jsx(x.Button,{onClick:h,disabled:d,isLoading:u,size:"sm",className:"bg-primary text-primary-foreground hover:bg-primary/90",children:b})})]}),children:[e.jsxRuntimeExports.jsx("div",{className:"w-full h-0.5 bg-muted relative mb-1",children:e.jsxRuntimeExports.jsx(i.motion.div,{className:"absolute top-0 left-0 h-full bg-primary",initial:{width:0},animate:{width:`${w}%`},transition:{duration:.3,ease:"easeInOut"}})}),e.jsxRuntimeExports.jsx(c,{sidebar:f,subclassName:R,children:e.jsxRuntimeExports.jsx(i.AnimatePresence,{mode:"wait",children:e.jsxRuntimeExports.jsx(i.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.25,ease:"easeInOut"},className:"h-full",children:y},a)})})]})}exports.StepLayout=c;exports.Stepper=k;exports.StepperModal=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../stepper-modal-CPlBpxWy.cjs");exports.StepLayout=e.StepLayout;exports.Stepper=e.Stepper;exports.StepperModal=e.StepperModal;
2
2
  //# sourceMappingURL=stepper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.js","sources":["../../src/components/stepper/stepper.tsx","../../src/components/stepper/step-layout.tsx","../../src/components/stepper/stepper-modal.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\"\nimport { motion } from \"framer-motion\"\nimport { Step } from \"./types\"\n\ninterface StepperProps {\n steps: Step[]\n className?: string\n}\n\nexport function Stepper({ steps, className }: StepperProps) {\n return (\n <div className={cn(\"py-6 space-y-5\", className)}>\n {steps.map((step, index) => (\n <motion.div \n key={step.title} \n className=\"relative\"\n initial={{ opacity: 0, y: 10 }}\n animate={{ opacity: 1, y: 0 }}\n transition={{ delay: index * 0.1, duration: 0.3 }}\n >\n {/* Connector line between steps */}\n {index !== 0 && (\n <motion.div \n className={cn(\n \"absolute left-[15px] -top-[26px] w-[2px] h-[24px] origin-top\",\n step.isCompleted || step.isCurrent ? \"bg-primary/60\" : \"bg-border\"\n )}\n initial={{ scaleY: 0 }}\n animate={{ scaleY: 1 }}\n transition={{ delay: index * 0.1 + 0.2, duration: 0.2 }}\n />\n )}\n \n <div className=\"flex gap-4 items-start\">\n {/* Step indicator circle */}\n <motion.div \n className={cn(\n \"w-[30px] h-[30px] rounded-full flex items-center justify-center text-xs font-medium shrink-0 transition-all\",\n step.isCompleted && \"bg-primary text-primary-foreground shadow-sm shadow-primary/20\",\n step.isCurrent && \"border-2 border-primary bg-primary/10 text-primary\",\n !step.isCompleted && !step.isCurrent && \"border-2 border-muted-foreground/30 text-muted-foreground\"\n )}\n whileHover={{ scale: 1.05 }}\n whileTap={{ scale: 0.98 }}\n transition={{ duration: 0.2 }}\n >\n {step.isCompleted ? (\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M7.75 12.75L10 15.25L16.25 8.75\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n ) : (\n index + 1\n )}\n </motion.div>\n \n {/* Step content */}\n <div className=\"space-y-0.5 pt-0.5\">\n <h3 className={cn(\n \"text-sm font-medium transition-colors\",\n step.isCurrent && \"text-primary\",\n step.isCompleted && \"text-foreground\",\n !step.isCurrent && !step.isCompleted && \"text-muted-foreground\"\n )}>\n {step.title}\n </h3>\n {step.description && (\n <p className={cn(\n \"text-xs text-muted-foreground leading-relaxed\",\n step.isCurrent && \"text-muted-foreground/90\"\n )}>\n {step.description}\n </p>\n )}\n </div>\n </div>\n </motion.div>\n ))}\n </div>\n )\n} ","import { cn } from \"@/lib/utils\"\nimport { motion } from \"framer-motion\"\n\ninterface StepLayoutProps {\n children: React.ReactNode\n title?: string\n sidebar?: React.ReactNode\n subclassName?: string\n}\n\nexport function StepLayout({ \n children, \n title,\n sidebar,\n subclassName,\n}: StepLayoutProps) {\n return (\n <div className=\"flex h-scroll-xl overflow-hidden\">\n {/* Sidebar with sticky positioning */}\n <motion.div \n className=\"border-r bg-gradient-to-b from-muted/30 to-muted/60 sticky top-0 self-start h-full max-h-[calc(100vh-10rem)]\"\n initial={{ opacity: 0, x: -10 }}\n animate={{ opacity: 1, x: 0 }}\n transition={{ duration: 0.3, ease: \"easeInOut\" }}\n >\n {sidebar}\n </motion.div>\n \n {/* Main content area */}\n <motion.div \n className={cn(\"flex-1 px-5 py-4 overflow-y-auto\", subclassName)}\n initial={{ opacity: 0, x: 5 }}\n animate={{ opacity: 1, x: 0 }}\n transition={{ duration: 0.3, delay: 0.1, ease: \"easeInOut\" }}\n >\n {title && (\n <div className=\"flex items-center mb-5\">\n <h2 className=\"text-lg font-semibold text-foreground\">{title}</h2>\n </div>\n )}\n <div className=\"h-full\">\n {children}\n </div>\n </motion.div>\n </div>\n )\n} ","import { Modal, ModalProps } from \"../modal\"\nimport { StepLayout } from \"./step-layout\"\nimport { Button } from \"../button\"\nimport { motion, AnimatePresence } from \"framer-motion\"\nimport { cn } from \"@/lib/utils\"\n\ninterface StepperModalProps {\n isOpen: boolean\n onClose: () => void\n title: string\n description?: string\n icon?: React.ComponentType<any>\n currentStep: number\n totalSteps: number\n onBack: () => void\n onNext: () => void\n onComplete: () => void\n sidebar: React.ReactNode\n children: React.ReactNode\n continueText?: string\n completeText?: string\n isNextDisabled?: boolean\n isNextLoading?: boolean\n size?: ModalProps['size']\n stepLayoutSubclassName?: string \n isShowClose?: boolean\n isShowBackButton?: boolean\n isModelContentScrollable?: boolean\n}\n\nexport function StepperModal({\n isOpen,\n onClose,\n title,\n description,\n icon: Icon,\n currentStep,\n totalSteps,\n onBack,\n onNext,\n onComplete,\n sidebar,\n children,\n continueText = \"Continue\",\n completeText = \"Complete\",\n isNextDisabled = false,\n isNextLoading = false,\n size = \"2xl\",\n stepLayoutSubclassName,\n isShowBackButton = true,\n isModelContentScrollable = false\n}: StepperModalProps) {\n // Calculate progress percentage\n const progress = ((currentStep + 1) / totalSteps) * 100;\n \n return (\n <Modal \n isOpen={isOpen} \n onClose={onClose}\n size={size}\n showClose={true}\n title={title}\n isContentScrollable={isModelContentScrollable}\n description={description}\n icon={Icon && (\n <div className=\"bg-primary/10 p-2 rounded-full\">\n <Icon className=\"h-5 w-5 text-primary\" />\n </div>\n )}\n contentClassName=\"px-0 pt-0 pb-0\"\n footer={\n <div className=\"w-full flex items-center justify-between\">\n <div className=\"flex-1\">\n {currentStep > 0 && isShowBackButton && (\n <Button \n variant=\"ghost\" \n onClick={onBack}\n size=\"sm\"\n className=\"text-muted-foreground hover:text-foreground transition-colors\"\n >\n Back\n </Button>\n )}\n </div>\n \n <div className=\"flex-1 flex justify-center text-xs text-muted-foreground\">\n Step {currentStep + 1} of {totalSteps}\n </div>\n \n <div className=\"flex-1 flex justify-end\">\n {currentStep < totalSteps - 1 ? (\n <Button \n onClick={onNext} \n disabled={isNextDisabled} \n isLoading={isNextLoading}\n size=\"sm\"\n className=\"bg-primary text-primary-foreground hover:bg-primary/90\"\n >\n {continueText}\n </Button>\n ) : (\n <Button \n onClick={onComplete} \n disabled={isNextDisabled} \n isLoading={isNextLoading}\n size=\"sm\"\n className=\"bg-primary text-primary-foreground hover:bg-primary/90\"\n >\n {completeText}\n </Button>\n )}\n </div>\n </div>\n }\n >\n {/* Progress bar */}\n <div className=\"w-full h-0.5 bg-muted relative mb-1\">\n <motion.div \n className=\"absolute top-0 left-0 h-full bg-primary\"\n initial={{ width: 0 }}\n animate={{ width: `${progress}%` }}\n transition={{ duration: 0.3, ease: \"easeInOut\" }}\n />\n </div>\n \n <StepLayout\n sidebar={sidebar}\n subclassName={stepLayoutSubclassName}\n >\n <AnimatePresence mode=\"wait\">\n <motion.div\n key={currentStep}\n initial={{ opacity: 0, y: 10 }}\n animate={{ opacity: 1, y: 0 }}\n exit={{ opacity: 0, y: -10 }}\n transition={{ duration: 0.25, ease: \"easeInOut\" }}\n className=\"h-full\"\n >\n {children}\n </motion.div>\n </AnimatePresence>\n </StepLayout>\n </Modal>\n )\n} "],"names":["Stepper","steps","className","jsx","cn","step","index","jsxs","motion","StepLayout","children","title","sidebar","subclassName","StepperModal","isOpen","onClose","description","Icon","currentStep","totalSteps","onBack","onNext","onComplete","continueText","completeText","isNextDisabled","isNextLoading","size","stepLayoutSubclassName","isShowBackButton","isModelContentScrollable","progress","Modal","Button","AnimatePresence"],"mappings":"8OASO,SAASA,EAAQ,CAAE,MAAAC,EAAO,UAAAC,GAA2B,CAC1D,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CAAI,UAAWC,EAAAA,GAAG,iBAAkBF,CAAS,EAC3C,SAAAD,EAAM,IAAI,CAACI,EAAMC,IAChBC,EAAAA,kBAAAA,KAACC,EAAAA,OAAO,IAAP,CAEC,UAAU,WACV,QAAS,CAAE,QAAS,EAAG,EAAG,EAAA,EAC1B,QAAS,CAAE,QAAS,EAAG,EAAG,CAAA,EAC1B,WAAY,CAAE,MAAOF,EAAQ,GAAK,SAAU,EAAA,EAG3C,SAAA,CAAAA,IAAU,GACTH,EAAAA,kBAAAA,IAACK,EAAAA,OAAO,IAAP,CACC,UAAWJ,EAAAA,GACT,+DACAC,EAAK,aAAeA,EAAK,UAAY,gBAAkB,WAAA,EAEzD,QAAS,CAAE,OAAQ,CAAA,EACnB,QAAS,CAAE,OAAQ,CAAA,EACnB,WAAY,CAAE,MAAOC,EAAQ,GAAM,GAAK,SAAU,EAAA,CAAI,CAAA,EAI1DC,EAAAA,kBAAAA,KAAC,MAAA,CAAI,UAAU,yBAEb,SAAA,CAAAJ,EAAAA,kBAAAA,IA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