acemyjob-ui 0.4.0 → 0.6.0

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.
@@ -1,7 +1,7 @@
1
- import D, { useState as k, createContext as me, useEffect as B, useContext as ve } from "react";
1
+ import D, { useState as N, createContext as me, useEffect as L, useContext as ve } from "react";
2
2
  import { Dialog as xe, DialogBackdrop as he, DialogPanel as fe, TransitionChild as ge } from "@headlessui/react";
3
- import { XMarkIcon as be, Bars3Icon as pe, ChevronDownIcon as Ve } from "@heroicons/react/24/outline";
4
- var E = { exports: {} }, N = {};
3
+ import { XMarkIcon as be, Bars3Icon as pe, ChevronDownIcon as je } from "@heroicons/react/24/outline";
4
+ var E = { exports: {} }, k = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-runtime.production.js
@@ -12,26 +12,26 @@ var E = { exports: {} }, N = {};
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
14
  var W;
15
- function je() {
16
- if (W) return N;
15
+ function Ve() {
16
+ if (W) return k;
17
17
  W = 1;
18
- var a = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
19
- function t(o, c, l) {
20
- var u = null;
21
- if (l !== void 0 && (u = "" + l), c.key !== void 0 && (u = "" + c.key), "key" in c) {
22
- l = {};
23
- for (var f in c)
24
- f !== "key" && (l[f] = c[f]);
25
- } else l = c;
26
- return c = l.ref, {
27
- $$typeof: a,
18
+ var s = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
19
+ function n(o, l, t) {
20
+ var i = null;
21
+ if (t !== void 0 && (i = "" + t), l.key !== void 0 && (i = "" + l.key), "key" in l) {
22
+ t = {};
23
+ for (var v in l)
24
+ v !== "key" && (t[v] = l[v]);
25
+ } else t = l;
26
+ return l = t.ref, {
27
+ $$typeof: s,
28
28
  type: o,
29
- key: u,
30
- ref: c !== void 0 ? c : null,
31
- props: l
29
+ key: i,
30
+ ref: l !== void 0 ? l : null,
31
+ props: t
32
32
  };
33
33
  }
34
- return N.Fragment = s, N.jsx = t, N.jsxs = t, N;
34
+ return k.Fragment = a, k.jsx = n, k.jsxs = n, k;
35
35
  }
36
36
  var T = {};
37
37
  /**
@@ -46,7 +46,7 @@ var T = {};
46
46
  var G;
47
47
  function we() {
48
48
  return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
49
- function a(r) {
49
+ function s(r) {
50
50
  if (r == null) return null;
51
51
  if (typeof r == "function")
52
52
  return r.$$typeof === ie ? null : r.displayName || r.name || null;
@@ -71,97 +71,97 @@ function we() {
71
71
  ), r.$$typeof) {
72
72
  case R:
73
73
  return "Portal";
74
- case se:
75
- return (r.displayName || "Context") + ".Provider";
76
74
  case ae:
75
+ return (r.displayName || "Context") + ".Provider";
76
+ case se:
77
77
  return (r._context.displayName || "Context") + ".Consumer";
78
78
  case oe:
79
- var n = r.render;
80
- return r = r.displayName, r || (r = n.displayName || n.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
79
+ var c = r.render;
80
+ return r = r.displayName, r || (r = c.displayName || c.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
81
81
  case le:
82
- return n = r.displayName || null, n !== null ? n : a(r.type) || "Memo";
83
- case $:
84
- n = r._payload, r = r._init;
82
+ return c = r.displayName || null, c !== null ? c : s(r.type) || "Memo";
83
+ case S:
84
+ c = r._payload, r = r._init;
85
85
  try {
86
- return a(r(n));
86
+ return s(r(c));
87
87
  } catch {
88
88
  }
89
89
  }
90
90
  return null;
91
91
  }
92
- function s(r) {
92
+ function a(r) {
93
93
  return "" + r;
94
94
  }
95
- function t(r) {
95
+ function n(r) {
96
96
  try {
97
- s(r);
98
- var n = !1;
97
+ a(r);
98
+ var c = !1;
99
99
  } catch {
100
- n = !0;
100
+ c = !0;
101
101
  }
102
- if (n) {
103
- n = console;
104
- var i = n.error, d = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
105
- return i.call(
106
- n,
102
+ if (c) {
103
+ c = console;
104
+ var u = c.error, d = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
105
+ return u.call(
106
+ c,
107
107
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
108
108
  d
109
- ), s(r);
109
+ ), a(r);
110
110
  }
111
111
  }
112
112
  function o(r) {
113
113
  if (r === C) return "<>";
114
- if (typeof r == "object" && r !== null && r.$$typeof === $)
114
+ if (typeof r == "object" && r !== null && r.$$typeof === S)
115
115
  return "<...>";
116
116
  try {
117
- var n = a(r);
118
- return n ? "<" + n + ">" : "<...>";
117
+ var c = s(r);
118
+ return c ? "<" + c + ">" : "<...>";
119
119
  } catch {
120
120
  return "<...>";
121
121
  }
122
122
  }
123
- function c() {
123
+ function l() {
124
124
  var r = _.A;
125
125
  return r === null ? null : r.getOwner();
126
126
  }
127
- function l() {
127
+ function t() {
128
128
  return Error("react-stack-top-frame");
129
129
  }
130
- function u(r) {
130
+ function i(r) {
131
131
  if (M.call(r, "key")) {
132
- var n = Object.getOwnPropertyDescriptor(r, "key").get;
133
- if (n && n.isReactWarning) return !1;
132
+ var c = Object.getOwnPropertyDescriptor(r, "key").get;
133
+ if (c && c.isReactWarning) return !1;
134
134
  }
135
135
  return r.key !== void 0;
136
136
  }
137
- function f(r, n) {
138
- function i() {
137
+ function v(r, c) {
138
+ function u() {
139
139
  z || (z = !0, console.error(
140
140
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
141
- n
141
+ c
142
142
  ));
143
143
  }
144
- i.isReactWarning = !0, Object.defineProperty(r, "key", {
145
- get: i,
144
+ u.isReactWarning = !0, Object.defineProperty(r, "key", {
145
+ get: u,
146
146
  configurable: !0
147
147
  });
148
148
  }
149
- function V() {
150
- var r = a(this.type);
149
+ function j() {
150
+ var r = s(this.type);
151
151
  return I[r] || (I[r] = !0, console.error(
152
152
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
153
153
  )), r = this.props.ref, r !== void 0 ? r : null;
154
154
  }
155
- function j(r, n, i, d, p, b, O, P) {
156
- return i = b.ref, r = {
155
+ function V(r, c, u, d, p, b, O, P) {
156
+ return u = b.ref, r = {
157
157
  $$typeof: w,
158
158
  type: r,
159
- key: n,
159
+ key: c,
160
160
  props: b,
161
161
  _owner: p
162
- }, (i !== void 0 ? i : null) !== null ? Object.defineProperty(r, "ref", {
162
+ }, (u !== void 0 ? u : null) !== null ? Object.defineProperty(r, "ref", {
163
163
  enumerable: !1,
164
- get: V
164
+ get: j
165
165
  }) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
166
166
  configurable: !1,
167
167
  enumerable: !1,
@@ -184,8 +184,8 @@ function we() {
184
184
  value: P
185
185
  }), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
186
186
  }
187
- function x(r, n, i, d, p, b, O, P) {
188
- var m = n.children;
187
+ function h(r, c, u, d, p, b, O, P) {
188
+ var m = c.children;
189
189
  if (m !== void 0)
190
190
  if (d)
191
191
  if (ue(m)) {
@@ -197,9 +197,9 @@ function we() {
197
197
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
198
198
  );
199
199
  else g(m);
200
- if (M.call(n, "key")) {
201
- m = a(r);
202
- var y = Object.keys(n).filter(function(de) {
200
+ if (M.call(c, "key")) {
201
+ m = s(r);
202
+ var y = Object.keys(c).filter(function(de) {
203
203
  return de !== "key";
204
204
  });
205
205
  d = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", U[m + d] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
@@ -215,21 +215,21 @@ React keys must be passed directly to JSX without using spread:
215
215
  m
216
216
  ), U[m + d] = !0);
217
217
  }
218
- if (m = null, i !== void 0 && (t(i), m = "" + i), u(n) && (t(n.key), m = "" + n.key), "key" in n) {
219
- i = {};
220
- for (var L in n)
221
- L !== "key" && (i[L] = n[L]);
222
- } else i = n;
223
- return m && f(
224
- i,
218
+ if (m = null, u !== void 0 && (n(u), m = "" + u), i(c) && (n(c.key), m = "" + c.key), "key" in c) {
219
+ u = {};
220
+ for (var $ in c)
221
+ $ !== "key" && (u[$] = c[$]);
222
+ } else u = c;
223
+ return m && v(
224
+ u,
225
225
  typeof r == "function" ? r.displayName || r.name || "Unknown" : r
226
- ), j(
226
+ ), V(
227
227
  r,
228
228
  m,
229
229
  b,
230
230
  p,
231
- c(),
232
- i,
231
+ l(),
232
+ u,
233
233
  O,
234
234
  P
235
235
  );
@@ -237,36 +237,36 @@ React keys must be passed directly to JSX without using spread:
237
237
  function g(r) {
238
238
  typeof r == "object" && r !== null && r.$$typeof === w && r._store && (r._store.validated = 1);
239
239
  }
240
- var v = D, w = Symbol.for("react.transitional.element"), R = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), re = Symbol.for("react.profiler"), ae = Symbol.for("react.consumer"), se = Symbol.for("react.context"), oe = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), le = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), ce = Symbol.for("react.activity"), ie = Symbol.for("react.client.reference"), _ = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, ue = Array.isArray, A = console.createTask ? console.createTask : function() {
240
+ var x = D, w = Symbol.for("react.transitional.element"), R = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), re = Symbol.for("react.profiler"), se = Symbol.for("react.consumer"), ae = Symbol.for("react.context"), oe = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), le = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), ce = Symbol.for("react.activity"), ie = Symbol.for("react.client.reference"), _ = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, ue = Array.isArray, A = console.createTask ? console.createTask : function() {
241
241
  return null;
242
242
  };
243
- v = {
243
+ x = {
244
244
  "react-stack-bottom-frame": function(r) {
245
245
  return r();
246
246
  }
247
247
  };
248
- var z, I = {}, Y = v["react-stack-bottom-frame"].bind(
249
- v,
250
- l
251
- )(), F = A(o(l)), U = {};
252
- T.Fragment = C, T.jsx = function(r, n, i, d, p) {
248
+ var z, I = {}, Y = x["react-stack-bottom-frame"].bind(
249
+ x,
250
+ t
251
+ )(), F = A(o(t)), U = {};
252
+ T.Fragment = C, T.jsx = function(r, c, u, d, p) {
253
253
  var b = 1e4 > _.recentlyCreatedOwnerStacks++;
254
- return x(
254
+ return h(
255
255
  r,
256
- n,
257
- i,
256
+ c,
257
+ u,
258
258
  !1,
259
259
  d,
260
260
  p,
261
261
  b ? Error("react-stack-top-frame") : Y,
262
262
  b ? A(o(r)) : F
263
263
  );
264
- }, T.jsxs = function(r, n, i, d, p) {
264
+ }, T.jsxs = function(r, c, u, d, p) {
265
265
  var b = 1e4 > _.recentlyCreatedOwnerStacks++;
266
- return x(
266
+ return h(
267
267
  r,
268
- n,
269
- i,
268
+ c,
269
+ u,
270
270
  !0,
271
271
  d,
272
272
  p,
@@ -278,10 +278,10 @@ React keys must be passed directly to JSX without using spread:
278
278
  }
279
279
  var J;
280
280
  function ye() {
281
- return J || (J = 1, process.env.NODE_ENV === "production" ? E.exports = je() : E.exports = we()), E.exports;
281
+ return J || (J = 1, process.env.NODE_ENV === "production" ? E.exports = Ve() : E.exports = we()), E.exports;
282
282
  }
283
283
  var e = ye();
284
- const ke = {
284
+ const Ne = {
285
285
  bg: "bg-indigo-600",
286
286
  activeBg: "bg-indigo-700",
287
287
  text: "text-indigo-200",
@@ -289,80 +289,80 @@ const ke = {
289
289
  hoverBg: "hover:bg-indigo-700",
290
290
  hoverText: "hover:text-white"
291
291
  };
292
- function h(...a) {
293
- return a.filter(Boolean).join(" ");
292
+ function f(...s) {
293
+ return s.filter(Boolean).join(" ");
294
294
  }
295
- function H({ item: a, colorScheme: s }) {
296
- const [t, o] = k(a.current || a.children?.some((l) => l.current)), c = a.children && a.children.length > 0;
295
+ function H({ item: s, colorScheme: a }) {
296
+ const [n, o] = N(s.current || s.children?.some((t) => t.current)), l = s.children && s.children.length > 0;
297
297
  return /* @__PURE__ */ e.jsxs("li", { children: [
298
298
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
299
299
  "a",
300
300
  {
301
- href: c ? void 0 : a.href,
302
- onClick: (l) => {
303
- c && (l.preventDefault(), o(!t));
301
+ href: l ? void 0 : s.href,
302
+ onClick: (t) => {
303
+ l && (t.preventDefault(), o(!n));
304
304
  },
305
- className: h(
306
- a.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
305
+ className: f(
306
+ s.current ? `${a.activeBg} ${a.activeText}` : `${a.text} ${a.hoverBg} ${a.hoverText}`,
307
307
  "group flex items-center justify-between gap-x-3 rounded-md p-2 text-sm/6 font-semibold",
308
- c ? "cursor-pointer" : ""
308
+ l ? "cursor-pointer" : ""
309
309
  ),
310
310
  children: [
311
311
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-x-3", children: [
312
312
  /* @__PURE__ */ e.jsx(
313
- a.icon,
313
+ s.icon,
314
314
  {
315
315
  "aria-hidden": "true",
316
- className: h(
317
- a.current ? s.activeText : `${s.text} group-${s.hoverText}`,
316
+ className: f(
317
+ s.current ? a.activeText : `${a.text} group-${a.hoverText}`,
318
318
  "size-6 shrink-0"
319
319
  )
320
320
  }
321
321
  ),
322
- a.name
322
+ s.name
323
323
  ] }),
324
- c && /* @__PURE__ */ e.jsx(
325
- Ve,
324
+ l && /* @__PURE__ */ e.jsx(
325
+ je,
326
326
  {
327
- className: h(
327
+ className: f(
328
328
  "size-5 shrink-0 transition-transform",
329
- t ? "rotate-180" : "",
330
- a.current ? s.activeText : s.text
329
+ n ? "rotate-180" : "",
330
+ s.current ? a.activeText : a.text
331
331
  )
332
332
  }
333
333
  )
334
334
  ]
335
335
  }
336
336
  ) }),
337
- c && t && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: a.children.map((l) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
337
+ l && n && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: s.children.map((t) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
338
338
  "a",
339
339
  {
340
- href: l.href,
341
- className: h(
342
- l.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
340
+ href: t.href,
341
+ className: f(
342
+ t.current ? `${a.activeBg} ${a.activeText}` : `${a.text} ${a.hoverBg} ${a.hoverText}`,
343
343
  "group flex gap-x-3 rounded-md p-2 text-sm/6 font-semibold"
344
344
  ),
345
345
  children: [
346
346
  /* @__PURE__ */ e.jsx(
347
- l.icon,
347
+ t.icon,
348
348
  {
349
349
  "aria-hidden": "true",
350
- className: h(
351
- l.current ? s.activeText : `${s.text} group-${s.hoverText}`,
350
+ className: f(
351
+ t.current ? a.activeText : `${a.text} group-${a.hoverText}`,
352
352
  "size-5 shrink-0"
353
353
  )
354
354
  }
355
355
  ),
356
- l.name
356
+ t.name
357
357
  ]
358
358
  }
359
- ) }, l.name)) })
359
+ ) }, t.name)) })
360
360
  ] });
361
361
  }
362
- function $e({ company: a, profile: s, navigation: t, colorScheme: o = ke }) {
363
- const [c, l] = k(!1);
362
+ function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
363
+ const [l, t] = N(!1);
364
364
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
365
- /* @__PURE__ */ e.jsxs(xe, { open: c, onClose: l, className: "relative z-50 lg:hidden", children: [
365
+ /* @__PURE__ */ e.jsxs(xe, { open: l, onClose: t, className: "relative z-50 lg:hidden", children: [
366
366
  /* @__PURE__ */ e.jsx(
367
367
  he,
368
368
  {
@@ -376,41 +376,41 @@ function $e({ company: a, profile: s, navigation: t, colorScheme: o = ke }) {
376
376
  transition: !0,
377
377
  className: "relative mr-16 flex w-full max-w-xs flex-1 transform transition duration-300 ease-in-out data-closed:-translate-x-full",
378
378
  children: [
379
- /* @__PURE__ */ e.jsx(ge, { children: /* @__PURE__ */ e.jsx("div", { className: "absolute top-0 left-full flex w-16 justify-center pt-5 duration-300 ease-in-out data-closed:opacity-0", children: /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => l(!1), className: "-m-2.5 p-2.5", children: [
379
+ /* @__PURE__ */ e.jsx(ge, { children: /* @__PURE__ */ e.jsx("div", { className: "absolute top-0 left-full flex w-16 justify-center pt-5 duration-300 ease-in-out data-closed:opacity-0", children: /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => t(!1), className: "-m-2.5 p-2.5", children: [
380
380
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close sidebar" }),
381
381
  /* @__PURE__ */ e.jsx(be, { "aria-hidden": "true", className: "size-6 text-white" })
382
382
  ] }) }) }),
383
- /* @__PURE__ */ e.jsxs("div", { className: h("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2", o.bg), children: [
383
+ /* @__PURE__ */ e.jsxs("div", { className: f("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2", o.bg), children: [
384
384
  /* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
385
385
  "img",
386
386
  {
387
- alt: a.name,
388
- src: a.logo,
387
+ alt: s.name,
388
+ src: s.logo,
389
389
  className: "h-8 w-auto"
390
390
  }
391
391
  ) }),
392
- /* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((u) => /* @__PURE__ */ e.jsx(H, { item: u, colorScheme: o }, u.name)) }) }) }) })
392
+ /* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: n.map((i) => /* @__PURE__ */ e.jsx(H, { item: i, colorScheme: o }, i.name)) }) }) }) })
393
393
  ] })
394
394
  ]
395
395
  }
396
396
  ) })
397
397
  ] }),
398
- /* @__PURE__ */ e.jsx("div", { className: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-72 lg:flex-col", children: /* @__PURE__ */ e.jsxs("div", { className: h("flex grow flex-col gap-y-5 overflow-y-auto px-6", o.bg), children: [
398
+ /* @__PURE__ */ e.jsx("div", { className: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-72 lg:flex-col", children: /* @__PURE__ */ e.jsxs("div", { className: f("flex grow flex-col gap-y-5 overflow-y-auto px-6", o.bg), children: [
399
399
  /* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
400
400
  "img",
401
401
  {
402
- alt: a.name,
403
- src: a.logo,
402
+ alt: s.name,
403
+ src: s.logo,
404
404
  className: "h-8 w-auto"
405
405
  }
406
406
  ) }),
407
407
  /* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsxs("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: [
408
- /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((u) => /* @__PURE__ */ e.jsx(H, { item: u, colorScheme: o }, u.name)) }) }),
408
+ /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: n.map((i) => /* @__PURE__ */ e.jsx(H, { item: i, colorScheme: o }, i.name)) }) }),
409
409
  /* @__PURE__ */ e.jsx("li", { className: "-mx-6 mt-auto", children: /* @__PURE__ */ e.jsxs(
410
410
  "a",
411
411
  {
412
412
  href: "#",
413
- className: h(
413
+ className: f(
414
414
  "flex items-center gap-x-4 px-6 py-3 text-sm/6 font-semibold",
415
415
  o.activeText,
416
416
  o.hoverBg
@@ -419,58 +419,58 @@ function $e({ company: a, profile: s, navigation: t, colorScheme: o = ke }) {
419
419
  /* @__PURE__ */ e.jsx(
420
420
  "img",
421
421
  {
422
- alt: s.name,
423
- src: s.image,
424
- className: h("size-8 rounded-full", o.activeBg)
422
+ alt: a.name,
423
+ src: a.image,
424
+ className: f("size-8 rounded-full", o.activeBg)
425
425
  }
426
426
  ),
427
427
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
428
- /* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children: s.name })
428
+ /* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children: a.name })
429
429
  ]
430
430
  }
431
431
  ) })
432
432
  ] }) })
433
433
  ] }) }),
434
- /* @__PURE__ */ e.jsxs("div", { className: h("sticky top-0 z-40 flex items-center gap-x-6 px-4 py-4 shadow-xs sm:px-6 lg:hidden", o.bg), children: [
435
- /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => l(!0), className: h("-m-2.5 p-2.5 lg:hidden", o.text), children: [
434
+ /* @__PURE__ */ e.jsxs("div", { className: f("sticky top-0 z-40 flex items-center gap-x-6 px-4 py-4 shadow-xs sm:px-6 lg:hidden", o.bg), children: [
435
+ /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => t(!0), className: f("-m-2.5 p-2.5 lg:hidden", o.text), children: [
436
436
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Open sidebar" }),
437
437
  /* @__PURE__ */ e.jsx(pe, { "aria-hidden": "true", className: "size-6" })
438
438
  ] }),
439
- /* @__PURE__ */ e.jsx("div", { className: h("flex-1 text-sm/6 font-semibold", o.activeText), children: "Dashboard" }),
439
+ /* @__PURE__ */ e.jsx("div", { className: f("flex-1 text-sm/6 font-semibold", o.activeText), children: "Dashboard" }),
440
440
  /* @__PURE__ */ e.jsxs("a", { href: "#", children: [
441
441
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
442
442
  /* @__PURE__ */ e.jsx(
443
443
  "img",
444
444
  {
445
- alt: s.name,
446
- src: s.image,
447
- className: h("size-8 rounded-full", o.activeBg)
445
+ alt: a.name,
446
+ src: a.image,
447
+ className: f("size-8 rounded-full", o.activeBg)
448
448
  }
449
449
  )
450
450
  ] })
451
451
  ] })
452
452
  ] }) });
453
453
  }
454
- const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value: t }) => {
455
- const o = `rgb(${t})`;
454
+ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value: n }) => {
455
+ const o = `rgb(${n})`;
456
456
  return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center space-y-2 p-3 rounded-lg border border-border-subtle bg-surface hover:bg-surface-variant transition-colors", children: [
457
457
  /* @__PURE__ */ e.jsx(
458
458
  "div",
459
459
  {
460
- className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Z(s)}`
460
+ className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Z(a)}`
461
461
  }
462
462
  ),
463
463
  /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
464
- /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: a }),
465
- /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: s }),
464
+ /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: s }),
465
+ /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: a }),
466
466
  /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-secondary", children: o })
467
467
  ] })
468
468
  ] });
469
- }, q = ({ title: a, colors: s }) => /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
470
- /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: a }),
471
- /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-11 gap-4", children: s.map((t) => /* @__PURE__ */ e.jsx(Ne, { ...t }, t.name)) })
469
+ }, q = ({ title: s, colors: a }) => /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
470
+ /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: s }),
471
+ /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-11 gap-4", children: a.map((n) => /* @__PURE__ */ e.jsx(ke, { ...n }, n.name)) })
472
472
  ] }), Te = () => {
473
- const a = [
473
+ const s = [
474
474
  {
475
475
  title: "Success Colors (Green)",
476
476
  colors: [
@@ -519,7 +519,7 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
519
519
  { name: "950", cssVar: "--color-error-950", value: "69 10 10" }
520
520
  ]
521
521
  }
522
- ], s = [
522
+ ], a = [
523
523
  {
524
524
  title: "Reseda Green",
525
525
  colors: [
@@ -670,7 +670,7 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
670
670
  { name: "900", cssVar: "--color-beaver-900", value: "235 229 224" }
671
671
  ]
672
672
  }
673
- ], t = [
673
+ ], n = [
674
674
  { name: "Background", cssVar: "--color-background" },
675
675
  { name: "Surface", cssVar: "--color-surface" },
676
676
  { name: "Surface Variant", cssVar: "--color-surface-variant" },
@@ -685,11 +685,11 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
685
685
  /* @__PURE__ */ e.jsx("h1", { className: "text-3xl font-bold text-text-primary", children: "AceMyJob Color Palette" }),
686
686
  /* @__PURE__ */ e.jsx("p", { className: "text-text-secondary", children: "Your complete design system color reference" })
687
687
  ] }),
688
- s.map((o) => /* @__PURE__ */ e.jsx(q, { ...o }, o.title)),
689
688
  a.map((o) => /* @__PURE__ */ e.jsx(q, { ...o }, o.title)),
689
+ s.map((o) => /* @__PURE__ */ e.jsx(q, { ...o }, o.title)),
690
690
  /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
691
691
  /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: "Semantic Colors (Theme-aware)" }),
692
- /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children: t.map((o) => /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center space-y-2 p-3 rounded-lg border border-border-subtle bg-surface hover:bg-surface-variant transition-colors", children: [
692
+ /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children: n.map((o) => /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center space-y-2 p-3 rounded-lg border border-border-subtle bg-surface hover:bg-surface-variant transition-colors", children: [
693
693
  /* @__PURE__ */ e.jsx(
694
694
  "div",
695
695
  {
@@ -705,43 +705,43 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
705
705
  /* @__PURE__ */ e.jsx("div", { className: "text-center pt-8 border-t border-border-subtle", children: /* @__PURE__ */ e.jsx("p", { className: "text-text-muted text-sm", children: "Toggle between light and dark themes to see how semantic colors adapt" }) })
706
706
  ] });
707
707
  }, K = me(void 0), Ee = ({
708
- children: a,
709
- defaultTheme: s = "system",
710
- storageKey: t = "acemyjob-ui-theme"
708
+ children: s,
709
+ defaultTheme: a = "system",
710
+ storageKey: n = "acemyjob-ui-theme"
711
711
  }) => {
712
- const [o, c] = k(s), [l, u] = k("light"), [f, V] = k(!1);
713
- B(() => {
714
- const x = localStorage.getItem(t);
715
- x && c(x), V(!0);
716
- }, [t]), B(() => {
717
- if (!f) return;
718
- const x = window.document.documentElement, g = () => {
719
- let v;
720
- o === "system" ? v = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : v = o, u(v), x.classList.remove("light", "dark"), x.classList.add(v);
712
+ const [o, l] = N(a), [t, i] = N("light"), [v, j] = N(!1);
713
+ L(() => {
714
+ const h = localStorage.getItem(n);
715
+ h && l(h), j(!0);
716
+ }, [n]), L(() => {
717
+ if (!v) return;
718
+ const h = window.document.documentElement, g = () => {
719
+ let x;
720
+ o === "system" ? x = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : x = o, i(x), h.classList.remove("light", "dark"), h.classList.add(x);
721
721
  };
722
722
  if (g(), o === "system") {
723
- const v = window.matchMedia("(prefers-color-scheme: dark)"), w = () => g();
724
- return v.addEventListener("change", w), () => v.removeEventListener("change", w);
723
+ const x = window.matchMedia("(prefers-color-scheme: dark)"), w = () => g();
724
+ return x.addEventListener("change", w), () => x.removeEventListener("change", w);
725
725
  }
726
- }, [o, f]);
727
- const j = {
726
+ }, [o, v]);
727
+ const V = {
728
728
  theme: o,
729
- setTheme: (x) => {
730
- localStorage.setItem(t, x), c(x);
729
+ setTheme: (h) => {
730
+ localStorage.setItem(n, h), l(h);
731
731
  },
732
- resolvedTheme: l
732
+ resolvedTheme: t
733
733
  };
734
- return /* @__PURE__ */ e.jsx(K.Provider, { value: j, children: a });
734
+ return /* @__PURE__ */ e.jsx(K.Provider, { value: V, children: s });
735
735
  }, Re = () => {
736
- const a = ve(K);
737
- if (a === void 0)
736
+ const s = ve(K);
737
+ if (s === void 0)
738
738
  throw new Error("useTheme must be used within a ThemeProvider");
739
- return a;
739
+ return s;
740
740
  }, Ce = () => {
741
- const { theme: a, setTheme: s } = Re(), [t, o] = k(!1);
742
- if (B(() => {
741
+ const { theme: s, setTheme: a } = Re(), [n, o] = N(!1);
742
+ if (L(() => {
743
743
  o(!0);
744
- }, []), !t)
744
+ }, []), !n)
745
745
  return /* @__PURE__ */ e.jsxs(
746
746
  "button",
747
747
  {
@@ -753,10 +753,10 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
753
753
  ]
754
754
  }
755
755
  );
756
- const c = () => {
757
- s(a === "light" ? "dark" : a === "dark" ? "system" : "light");
758
- }, l = () => {
759
- switch (a) {
756
+ const l = () => {
757
+ a(s === "light" ? "dark" : s === "dark" ? "system" : "light");
758
+ }, t = () => {
759
+ switch (s) {
760
760
  case "light":
761
761
  return /* @__PURE__ */ e.jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z" }) });
762
762
  case "dark":
@@ -764,8 +764,8 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
764
764
  case "system":
765
765
  return /* @__PURE__ */ e.jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" }) });
766
766
  }
767
- }, u = () => {
768
- switch (a) {
767
+ }, i = () => {
768
+ switch (s) {
769
769
  case "light":
770
770
  return "Light";
771
771
  case "dark":
@@ -777,12 +777,12 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
777
777
  return /* @__PURE__ */ e.jsxs(
778
778
  "button",
779
779
  {
780
- onClick: c,
780
+ onClick: l,
781
781
  className: "flex items-center gap-2 px-3 py-2 text-sm font-medium text-text-secondary hover:text-text-primary bg-surface hover:bg-surface-variant border border-border-subtle rounded-md transition-colors",
782
- "aria-label": `Current theme: ${u()}. Click to cycle themes.`,
782
+ "aria-label": `Current theme: ${i()}. Click to cycle themes.`,
783
783
  children: [
784
- l(),
785
- /* @__PURE__ */ e.jsx("span", { className: "hidden sm:inline", children: u() })
784
+ t(),
785
+ /* @__PURE__ */ e.jsx("span", { className: "hidden sm:inline", children: i() })
786
786
  ]
787
787
  }
788
788
  );
@@ -807,35 +807,35 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
807
807
  xl: "h-12 rounded-md px-10 text-base",
808
808
  icon: "h-10 w-10"
809
809
  }
810
- }, Ae = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", Oe = (...a) => a.filter(Boolean).join(" "), S = D.forwardRef(
810
+ }, Ae = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", Oe = (...s) => s.filter(Boolean).join(" "), B = D.forwardRef(
811
811
  ({
812
- className: a,
813
- variant: s = "default",
814
- size: t = "default",
812
+ className: s,
813
+ variant: a = "default",
814
+ size: n = "default",
815
815
  fullWidth: o = !1,
816
- loading: c = !1,
817
- leftIcon: l,
818
- rightIcon: u,
819
- children: f,
820
- disabled: V,
821
- ...j
822
- }, x) => {
823
- const g = V || c, v = Oe(
816
+ loading: l = !1,
817
+ leftIcon: t,
818
+ rightIcon: i,
819
+ children: v,
820
+ disabled: j,
821
+ ...V
822
+ }, h) => {
823
+ const g = j || l, x = Oe(
824
824
  Ae,
825
- X.variant[s],
826
- X.size[t],
825
+ X.variant[a],
826
+ X.size[n],
827
827
  o ? "w-full" : "",
828
- a
828
+ s
829
829
  );
830
830
  return /* @__PURE__ */ e.jsxs(
831
831
  "button",
832
832
  {
833
- className: v,
834
- ref: x,
833
+ className: x,
834
+ ref: h,
835
835
  disabled: g,
836
- ...j,
836
+ ...V,
837
837
  children: [
838
- c && /* @__PURE__ */ e.jsxs(
838
+ l && /* @__PURE__ */ e.jsxs(
839
839
  "svg",
840
840
  {
841
841
  className: "mr-2 h-4 w-4 animate-spin",
@@ -865,15 +865,15 @@ const Z = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
865
865
  ]
866
866
  }
867
867
  ),
868
- !c && l && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: l }),
869
- f,
870
- !c && u && /* @__PURE__ */ e.jsx("span", { className: "ml-2", children: u })
868
+ !l && t && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: t }),
869
+ v,
870
+ !l && i && /* @__PURE__ */ e.jsx("span", { className: "ml-2", children: i })
871
871
  ]
872
872
  }
873
873
  );
874
874
  }
875
875
  );
876
- S.displayName = "Button";
876
+ B.displayName = "Button";
877
877
  const Q = {
878
878
  provider: {
879
879
  linkedin: "bg-[#0077B5] hover:bg-[#005885] text-white focus-visible:ring-[#0077B5]"
@@ -883,71 +883,121 @@ const Q = {
883
883
  right: "flex-row-reverse",
884
884
  only: "justify-center"
885
885
  }
886
- }, Pe = (...a) => a.filter(Boolean).join(" "), Le = D.forwardRef(
886
+ }, Pe = (...s) => s.filter(Boolean).join(" "), $e = D.forwardRef(
887
887
  ({
888
- className: a,
889
- provider: s,
890
- iconPosition: t = "left",
888
+ className: s,
889
+ provider: a,
890
+ iconPosition: n = "left",
891
891
  icon: o,
892
- showText: c = !0,
893
- children: l,
894
- size: u = "default",
895
- fullWidth: f = !0,
896
- ...V
897
- }, j) => {
892
+ showText: l = !0,
893
+ children: t,
894
+ size: i = "default",
895
+ fullWidth: v = !0,
896
+ ...j
897
+ }, V) => {
898
898
  const g = o || {
899
899
  linkedin: /* @__PURE__ */ e.jsx("svg", { className: "w-5 h-5", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ e.jsx("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) })
900
- }[s], w = l || (c ? {
900
+ }[a], w = t || (l ? {
901
901
  linkedin: "Continue with LinkedIn"
902
- }[s] : ""), R = Pe(
902
+ }[a] : ""), R = Pe(
903
903
  "relative overflow-hidden transition-all duration-200",
904
- Q.provider[s],
905
- Q.iconPosition[t],
906
- a
904
+ Q.provider[a],
905
+ Q.iconPosition[n],
906
+ s
907
907
  );
908
908
  return /* @__PURE__ */ e.jsxs(
909
- S,
909
+ B,
910
910
  {
911
- ref: j,
911
+ ref: V,
912
912
  variant: "none",
913
913
  className: R,
914
- size: u,
915
- fullWidth: f,
916
- leftIcon: t === "left" ? g : void 0,
917
- rightIcon: t === "right" ? g : void 0,
918
- ...V,
914
+ size: i,
915
+ fullWidth: v,
916
+ leftIcon: n === "left" ? g : void 0,
917
+ rightIcon: n === "right" ? g : void 0,
918
+ ...j,
919
919
  children: [
920
- t === "only" && g,
921
- t !== "only" && w
920
+ n === "only" && g,
921
+ n !== "only" && w
922
922
  ]
923
923
  }
924
924
  );
925
925
  }
926
926
  );
927
- Le.displayName = "SocialButton";
928
- function ze({ tabs: a, activeTab: s, disabled: t = !1, onChange: o }) {
929
- return /* @__PURE__ */ e.jsx("div", { className: "flex border-b border-border mb-6", children: a.map((c) => {
930
- const l = s === c.id;
927
+ $e.displayName = "SocialButton";
928
+ function ze({
929
+ children: s,
930
+ variant: a = "default",
931
+ isActive: n = !1,
932
+ onClick: o,
933
+ className: l = ""
934
+ }) {
935
+ const t = "rounded-lg transition-all", i = {
936
+ default: "border border-border p-4",
937
+ surface: "bg-surface-variant p-4",
938
+ elevated: "bg-surface shadow-md p-6",
939
+ interactive: `border-2 p-4 cursor-pointer ${n ? "border-success-500 bg-success-50" : "border-border bg-surface hover:border-border-subtle"}`
940
+ };
941
+ return /* @__PURE__ */ e.jsx(
942
+ "div",
943
+ {
944
+ className: `${t} ${i[a]} ${l}`,
945
+ onClick: o,
946
+ role: o ? "button" : void 0,
947
+ tabIndex: o ? 0 : void 0,
948
+ onKeyDown: o ? (v) => {
949
+ (v.key === "Enter" || v.key === " ") && o();
950
+ } : void 0,
951
+ children: s
952
+ }
953
+ );
954
+ }
955
+ function Ie({ tabs: s, activeTab: a, disabled: n = !1, onChange: o }) {
956
+ return /* @__PURE__ */ e.jsx("div", { className: "flex border-b border-border mb-6", children: s.map((l) => {
957
+ const t = a === l.id;
931
958
  return /* @__PURE__ */ e.jsx(
932
- S,
959
+ B,
933
960
  {
934
961
  variant: "ghost",
935
- onClick: () => !t && o(c.id),
936
- disabled: t && !l,
937
- className: `px-4 py-2.5 text-sm font-medium whitespace-nowrap transition-colors border-b-2 -mb-px ${l ? "border-reseda-green-700 text-reseda-green-700" : t ? "border-transparent text-text-disabled cursor-not-allowed" : "border-transparent text-text-secondary hover:text-text-primary"}`,
938
- children: c.label
962
+ onClick: () => !n && o(l.id),
963
+ disabled: n && !t,
964
+ className: `px-4 py-2.5 text-sm font-medium whitespace-nowrap transition-colors border-b-2 -mb-px ${t ? "border-reseda-green-700 text-reseda-green-700" : n ? "border-transparent text-text-disabled cursor-not-allowed" : "border-transparent text-text-secondary hover:text-text-primary"}`,
965
+ children: l.label
939
966
  },
940
- c.id
967
+ l.id
941
968
  );
942
969
  }) });
943
970
  }
971
+ function Ye({ currentStep: s, steps: a }) {
972
+ return /* @__PURE__ */ e.jsx("nav", { className: "mb-10", children: /* @__PURE__ */ e.jsx("ol", { className: "flex items-center w-full", children: a.map((n, o) => /* @__PURE__ */ e.jsxs("li", { className: `flex items-center ${o < a.length - 1 ? "flex-1" : ""}`, children: [
973
+ /* @__PURE__ */ e.jsxs("div", { className: "flex items-center", children: [
974
+ /* @__PURE__ */ e.jsx(
975
+ "span",
976
+ {
977
+ className: `flex items-center justify-center w-9 h-9 rounded-full text-sm font-semibold shrink-0 ${s === n.number ? "bg-reseda-green-700 text-white" : s > n.number ? "bg-success-500 text-white" : "border-2 border-border text-text-muted"}`,
978
+ children: n.number
979
+ }
980
+ ),
981
+ /* @__PURE__ */ e.jsx(
982
+ "span",
983
+ {
984
+ className: `ml-3 text-sm font-medium whitespace-nowrap ${s >= n.number ? "text-reseda-green-800" : "text-text-muted"}`,
985
+ children: n.label
986
+ }
987
+ )
988
+ ] }),
989
+ o < a.length - 1 && /* @__PURE__ */ e.jsx("div", { className: "flex-1 h-0.5 mx-4 bg-border" })
990
+ ] }, n.number)) }) });
991
+ }
944
992
  export {
945
- S as Button,
993
+ B as Button,
994
+ ze as Card,
946
995
  Te as ColorPalette,
947
996
  Me as Demo,
948
- $e as Sidebar,
949
- Le as SocialButton,
950
- ze as TabBar,
997
+ Se as Sidebar,
998
+ $e as SocialButton,
999
+ Ye as Stepper,
1000
+ Ie as TabBar,
951
1001
  Ee as ThemeProvider,
952
1002
  Ce as ThemeToggle,
953
1003
  Re as useTheme