acemyjob-ui 0.3.0 → 0.5.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 S, { useState as k, createContext as me, useEffect as D, useContext as ve } from "react";
1
+ import B, { useState as N, createContext as me, useEffect as $, 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
@@ -11,27 +11,27 @@ var E = { exports: {} }, N = {};
11
11
  * This source code is licensed under the MIT license found in the
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
- var U;
15
- function je() {
16
- if (U) return N;
17
- U = 1;
18
- var a = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
19
- function l(o, c, t) {
14
+ var W;
15
+ function Ve() {
16
+ if (W) return k;
17
+ W = 1;
18
+ var s = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
19
+ function n(o, c, l) {
20
20
  var u = null;
21
- if (t !== void 0 && (u = "" + t), c.key !== void 0 && (u = "" + c.key), "key" in c) {
22
- t = {};
21
+ if (l !== void 0 && (u = "" + l), c.key !== void 0 && (u = "" + c.key), "key" in c) {
22
+ l = {};
23
23
  for (var f in c)
24
- f !== "key" && (t[f] = c[f]);
25
- } else t = c;
26
- return c = t.ref, {
27
- $$typeof: a,
24
+ f !== "key" && (l[f] = c[f]);
25
+ } else l = c;
26
+ return c = l.ref, {
27
+ $$typeof: s,
28
28
  type: o,
29
29
  key: u,
30
30
  ref: c !== void 0 ? c : null,
31
- props: t
31
+ props: l
32
32
  };
33
33
  }
34
- return N.Fragment = s, N.jsx = l, N.jsxs = l, N;
34
+ return k.Fragment = a, k.jsx = n, k.jsxs = n, k;
35
35
  }
36
36
  var T = {};
37
37
  /**
@@ -43,10 +43,10 @@ var T = {};
43
43
  * This source code is licensed under the MIT license found in the
44
44
  * LICENSE file in the root directory of this source tree.
45
45
  */
46
- var W;
46
+ var G;
47
47
  function we() {
48
- return W || (W = 1, process.env.NODE_ENV !== "production" && function() {
49
- function a(r) {
48
+ return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
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,51 +71,51 @@ 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 t = r.render;
80
+ return r = r.displayName, r || (r = t.displayName || t.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 B:
84
- n = r._payload, r = r._init;
82
+ return t = r.displayName || null, t !== null ? t : s(r.type) || "Memo";
83
+ case S:
84
+ t = r._payload, r = r._init;
85
85
  try {
86
- return a(r(n));
86
+ return s(r(t));
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 l(r) {
95
+ function n(r) {
96
96
  try {
97
- s(r);
98
- var n = !1;
97
+ a(r);
98
+ var t = !1;
99
99
  } catch {
100
- n = !0;
100
+ t = !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";
102
+ if (t) {
103
+ t = console;
104
+ var i = t.error, d = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
105
105
  return i.call(
106
- n,
106
+ t,
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 === B)
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 t = s(r);
118
+ return t ? "<" + t + ">" : "<...>";
119
119
  } catch {
120
120
  return "<...>";
121
121
  }
@@ -124,21 +124,21 @@ function we() {
124
124
  var r = _.A;
125
125
  return r === null ? null : r.getOwner();
126
126
  }
127
- function t() {
127
+ function l() {
128
128
  return Error("react-stack-top-frame");
129
129
  }
130
130
  function u(r) {
131
- if ($.call(r, "key")) {
132
- var n = Object.getOwnPropertyDescriptor(r, "key").get;
133
- if (n && n.isReactWarning) return !1;
131
+ if (M.call(r, "key")) {
132
+ var t = Object.getOwnPropertyDescriptor(r, "key").get;
133
+ if (t && t.isReactWarning) return !1;
134
134
  }
135
135
  return r.key !== void 0;
136
136
  }
137
- function f(r, n) {
137
+ function f(r, t) {
138
138
  function i() {
139
- M || (M = !0, console.error(
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
+ t
142
142
  ));
143
143
  }
144
144
  i.isReactWarning = !0, Object.defineProperty(r, "key", {
@@ -146,22 +146,22 @@ function we() {
146
146
  configurable: !0
147
147
  });
148
148
  }
149
- function V() {
150
- var r = a(this.type);
151
- return z[r] || (z[r] = !0, console.error(
149
+ function j() {
150
+ var r = s(this.type);
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) {
155
+ function V(r, t, i, d, p, b, O, P) {
156
156
  return i = b.ref, r = {
157
157
  $$typeof: w,
158
158
  type: r,
159
- key: n,
159
+ key: t,
160
160
  props: b,
161
161
  _owner: p
162
162
  }, (i !== void 0 ? i : 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 x(r, t, i, d, p, b, O, P) {
188
+ var m = t.children;
189
189
  if (m !== void 0)
190
190
  if (d)
191
191
  if (ue(m)) {
@@ -197,12 +197,12 @@ 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 ($.call(n, "key")) {
201
- m = a(r);
202
- var y = Object.keys(n).filter(function(de) {
200
+ if (M.call(t, "key")) {
201
+ m = s(r);
202
+ var y = Object.keys(t).filter(function(de) {
203
203
  return de !== "key";
204
204
  });
205
- d = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", F[m + d] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
205
+ d = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", U[m + d] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
206
206
  `A props object containing a "key" prop is being spread into JSX:
207
207
  let props = %s;
208
208
  <%s {...props} />
@@ -213,17 +213,17 @@ React keys must be passed directly to JSX without using spread:
213
213
  m,
214
214
  y,
215
215
  m
216
- ), F[m + d] = !0);
216
+ ), U[m + d] = !0);
217
217
  }
218
- if (m = null, i !== void 0 && (l(i), m = "" + i), u(n) && (l(n.key), m = "" + n.key), "key" in n) {
218
+ if (m = null, i !== void 0 && (n(i), m = "" + i), u(t) && (n(t.key), m = "" + t.key), "key" in t) {
219
219
  i = {};
220
- for (var L in n)
221
- L !== "key" && (i[L] = n[L]);
222
- } else i = n;
220
+ for (var L in t)
221
+ L !== "key" && (i[L] = t[L]);
222
+ } else i = t;
223
223
  return m && f(
224
224
  i,
225
225
  typeof r == "function" ? r.displayName || r.name || "Unknown" : r
226
- ), j(
226
+ ), V(
227
227
  r,
228
228
  m,
229
229
  b,
@@ -237,7 +237,7 @@ 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 = S, 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"), B = 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, $ = Object.prototype.hasOwnProperty, ue = Array.isArray, A = console.createTask ? console.createTask : function() {
240
+ var v = B, 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"), _ = 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() {
241
241
  return null;
242
242
  };
243
243
  v = {
@@ -245,43 +245,43 @@ React keys must be passed directly to JSX without using spread:
245
245
  return r();
246
246
  }
247
247
  };
248
- var M, z = {}, I = v["react-stack-bottom-frame"].bind(
248
+ var z, I = {}, Y = v["react-stack-bottom-frame"].bind(
249
249
  v,
250
- t
251
- )(), Y = A(o(t)), F = {};
252
- T.Fragment = C, T.jsx = function(r, n, i, d, p) {
250
+ l
251
+ )(), F = A(o(l)), U = {};
252
+ T.Fragment = C, T.jsx = function(r, t, i, d, p) {
253
253
  var b = 1e4 > _.recentlyCreatedOwnerStacks++;
254
254
  return x(
255
255
  r,
256
- n,
256
+ t,
257
257
  i,
258
258
  !1,
259
259
  d,
260
260
  p,
261
- b ? Error("react-stack-top-frame") : I,
262
- b ? A(o(r)) : Y
261
+ b ? Error("react-stack-top-frame") : Y,
262
+ b ? A(o(r)) : F
263
263
  );
264
- }, T.jsxs = function(r, n, i, d, p) {
264
+ }, T.jsxs = function(r, t, i, d, p) {
265
265
  var b = 1e4 > _.recentlyCreatedOwnerStacks++;
266
266
  return x(
267
267
  r,
268
- n,
268
+ t,
269
269
  i,
270
270
  !0,
271
271
  d,
272
272
  p,
273
- b ? Error("react-stack-top-frame") : I,
274
- b ? A(o(r)) : Y
273
+ b ? Error("react-stack-top-frame") : Y,
274
+ b ? A(o(r)) : F
275
275
  );
276
276
  };
277
277
  }()), T;
278
278
  }
279
- var G;
279
+ var J;
280
280
  function ye() {
281
- return G || (G = 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 h(...s) {
293
+ return s.filter(Boolean).join(" ");
294
294
  }
295
- function J({ item: a, colorScheme: s }) {
296
- const [l, o] = k(a.current || a.children?.some((t) => t.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((l) => l.current)), c = 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: (t) => {
303
- c && (t.preventDefault(), o(!l));
301
+ href: c ? void 0 : s.href,
302
+ onClick: (l) => {
303
+ c && (l.preventDefault(), o(!n));
304
304
  },
305
305
  className: h(
306
- a.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
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
308
  c ? "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
316
  className: h(
317
- a.current ? s.activeText : `${s.text} group-${s.hoverText}`,
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
324
  c && /* @__PURE__ */ e.jsx(
325
- Ve,
325
+ je,
326
326
  {
327
327
  className: h(
328
328
  "size-5 shrink-0 transition-transform",
329
- l ? "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 && l && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: a.children.map((t) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
337
+ c && n && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: s.children.map((l) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
338
338
  "a",
339
339
  {
340
- href: t.href,
340
+ href: l.href,
341
341
  className: h(
342
- t.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
342
+ l.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
- t.icon,
347
+ l.icon,
348
348
  {
349
349
  "aria-hidden": "true",
350
350
  className: h(
351
- t.current ? s.activeText : `${s.text} group-${s.hoverText}`,
351
+ l.current ? a.activeText : `${a.text} group-${a.hoverText}`,
352
352
  "size-5 shrink-0"
353
353
  )
354
354
  }
355
355
  ),
356
- t.name
356
+ l.name
357
357
  ]
358
358
  }
359
- ) }, t.name)) })
359
+ ) }, l.name)) })
360
360
  ] });
361
361
  }
362
- function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
363
- const [c, t] = k(!1);
362
+ function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
363
+ const [c, l] = N(!1);
364
364
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
365
- /* @__PURE__ */ e.jsxs(xe, { open: c, onClose: t, className: "relative z-50 lg:hidden", children: [
365
+ /* @__PURE__ */ e.jsxs(xe, { open: c, onClose: l, className: "relative z-50 lg:hidden", children: [
366
366
  /* @__PURE__ */ e.jsx(
367
367
  he,
368
368
  {
@@ -376,7 +376,7 @@ function $e({ company: a, profile: s, navigation: l, 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: () => t(!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: () => l(!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
  ] }) }) }),
@@ -384,12 +384,12 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
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: l.map((u) => /* @__PURE__ */ e.jsx(J, { 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((u) => /* @__PURE__ */ e.jsx(H, { item: u, colorScheme: o }, u.name)) }) }) }) })
393
393
  ] })
394
394
  ]
395
395
  }
@@ -399,13 +399,13 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
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: l.map((u) => /* @__PURE__ */ e.jsx(J, { 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((u) => /* @__PURE__ */ e.jsx(H, { item: u, colorScheme: o }, u.name)) }) }),
409
409
  /* @__PURE__ */ e.jsx("li", { className: "-mx-6 mt-auto", children: /* @__PURE__ */ e.jsxs(
410
410
  "a",
411
411
  {
@@ -419,20 +419,20 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
419
419
  /* @__PURE__ */ e.jsx(
420
420
  "img",
421
421
  {
422
- alt: s.name,
423
- src: s.image,
422
+ alt: a.name,
423
+ src: a.image,
424
424
  className: h("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
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: () => t(!0), className: h("-m-2.5 p-2.5 lg:hidden", o.text), children: [
435
+ /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => l(!0), className: h("-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
  ] }),
@@ -442,8 +442,8 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
442
442
  /* @__PURE__ */ e.jsx(
443
443
  "img",
444
444
  {
445
- alt: s.name,
446
- src: s.image,
445
+ alt: a.name,
446
+ src: a.image,
447
447
  className: h("size-8 rounded-full", o.activeBg)
448
448
  }
449
449
  )
@@ -451,26 +451,26 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
451
451
  ] })
452
452
  ] }) });
453
453
  }
454
- const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value: l }) => {
455
- const o = `rgb(${l})`;
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 ${Q(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
- }, H = ({ 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((l) => /* @__PURE__ */ e.jsx(Ne, { ...l }, l.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 Q = (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 Q = (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
- ], l = [
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,15 +685,15 @@ const Q = (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(H, { ...o }, o.title)),
689
- a.map((o) => /* @__PURE__ */ e.jsx(H, { ...o }, o.title)),
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: l.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
  {
696
- className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Q(o.cssVar)}`
696
+ className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Z(o.cssVar)}`
697
697
  }
698
698
  ),
699
699
  /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
@@ -704,16 +704,16 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
704
704
  ] }),
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
- }, Z = me(void 0), Ee = ({
708
- children: a,
709
- defaultTheme: s = "system",
710
- storageKey: l = "acemyjob-ui-theme"
707
+ }, K = me(void 0), Ee = ({
708
+ children: s,
709
+ defaultTheme: a = "system",
710
+ storageKey: n = "acemyjob-ui-theme"
711
711
  }) => {
712
- const [o, c] = k(s), [t, u] = k("light"), [f, V] = k(!1);
713
- D(() => {
714
- const x = localStorage.getItem(l);
715
- x && c(x), V(!0);
716
- }, [l]), D(() => {
712
+ const [o, c] = N(a), [l, u] = N("light"), [f, j] = N(!1);
713
+ $(() => {
714
+ const x = localStorage.getItem(n);
715
+ x && c(x), j(!0);
716
+ }, [n]), $(() => {
717
717
  if (!f) return;
718
718
  const x = window.document.documentElement, g = () => {
719
719
  let v;
@@ -724,24 +724,24 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
724
724
  return v.addEventListener("change", w), () => v.removeEventListener("change", w);
725
725
  }
726
726
  }, [o, f]);
727
- const j = {
727
+ const V = {
728
728
  theme: o,
729
729
  setTheme: (x) => {
730
- localStorage.setItem(l, x), c(x);
730
+ localStorage.setItem(n, x), c(x);
731
731
  },
732
- resolvedTheme: t
732
+ resolvedTheme: l
733
733
  };
734
- return /* @__PURE__ */ e.jsx(Z.Provider, { value: j, children: a });
734
+ return /* @__PURE__ */ e.jsx(K.Provider, { value: V, children: s });
735
735
  }, Re = () => {
736
- const a = ve(Z);
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(), [l, o] = k(!1);
742
- if (D(() => {
741
+ const { theme: s, setTheme: a } = Re(), [n, o] = N(!1);
742
+ if ($(() => {
743
743
  o(!0);
744
- }, []), !l)
744
+ }, []), !n)
745
745
  return /* @__PURE__ */ e.jsxs(
746
746
  "button",
747
747
  {
@@ -754,9 +754,9 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
754
754
  }
755
755
  );
756
756
  const c = () => {
757
- s(a === "light" ? "dark" : a === "dark" ? "system" : "light");
758
- }, t = () => {
759
- switch (a) {
757
+ a(s === "light" ? "dark" : s === "dark" ? "system" : "light");
758
+ }, l = () => {
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":
@@ -765,7 +765,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
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
767
  }, u = () => {
768
- switch (a) {
768
+ switch (s) {
769
769
  case "light":
770
770
  return "Light";
771
771
  case "dark":
@@ -781,7 +781,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
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
782
  "aria-label": `Current theme: ${u()}. Click to cycle themes.`,
783
783
  children: [
784
- t(),
784
+ l(),
785
785
  /* @__PURE__ */ e.jsx("span", { className: "hidden sm:inline", children: u() })
786
786
  ]
787
787
  }
@@ -789,7 +789,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
789
789
  }, _e = () => /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
790
790
  /* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(Ce, {}) }),
791
791
  /* @__PURE__ */ e.jsx(Te, {})
792
- ] }), Me = () => /* @__PURE__ */ e.jsx(Ee, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(_e, {}) }), q = {
792
+ ] }), Me = () => /* @__PURE__ */ e.jsx(Ee, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(_e, {}) }), X = {
793
793
  variant: {
794
794
  default: "bg-reseda-green-500 text-white hover:bg-reseda-green-600 focus-visible:ring-reseda-green-500",
795
795
  destructive: "bg-error-500 text-white hover:bg-error-600 focus-visible:ring-error-500",
@@ -807,25 +807,25 @@ const Q = (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(" "), K = S.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(" "), D = B.forwardRef(
811
811
  ({
812
- className: a,
813
- variant: s = "default",
814
- size: l = "default",
812
+ className: s,
813
+ variant: a = "default",
814
+ size: n = "default",
815
815
  fullWidth: o = !1,
816
816
  loading: c = !1,
817
- leftIcon: t,
817
+ leftIcon: l,
818
818
  rightIcon: u,
819
819
  children: f,
820
- disabled: V,
821
- ...j
820
+ disabled: j,
821
+ ...V
822
822
  }, x) => {
823
- const g = V || c, v = Oe(
823
+ const g = j || c, v = Oe(
824
824
  Ae,
825
- q.variant[s],
826
- q.size[l],
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",
@@ -833,7 +833,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
833
833
  className: v,
834
834
  ref: x,
835
835
  disabled: g,
836
- ...j,
836
+ ...V,
837
837
  children: [
838
838
  c && /* @__PURE__ */ e.jsxs(
839
839
  "svg",
@@ -865,7 +865,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
865
865
  ]
866
866
  }
867
867
  ),
868
- !c && t && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: t }),
868
+ !c && l && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: l }),
869
869
  f,
870
870
  !c && u && /* @__PURE__ */ e.jsx("span", { className: "ml-2", children: u })
871
871
  ]
@@ -873,8 +873,8 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
873
873
  );
874
874
  }
875
875
  );
876
- K.displayName = "Button";
877
- const X = {
876
+ D.displayName = "Button";
877
+ const Q = {
878
878
  provider: {
879
879
  linkedin: "bg-[#0077B5] hover:bg-[#005885] text-white focus-visible:ring-[#0077B5]"
880
880
  },
@@ -883,54 +883,93 @@ const X = {
883
883
  right: "flex-row-reverse",
884
884
  only: "justify-center"
885
885
  }
886
- }, Pe = (...a) => a.filter(Boolean).join(" "), Le = S.forwardRef(
886
+ }, Pe = (...s) => s.filter(Boolean).join(" "), Le = B.forwardRef(
887
887
  ({
888
- className: a,
889
- provider: s,
890
- iconPosition: l = "left",
888
+ className: s,
889
+ provider: a,
890
+ iconPosition: n = "left",
891
891
  icon: o,
892
892
  showText: c = !0,
893
- children: t,
893
+ children: l,
894
894
  size: u = "default",
895
895
  fullWidth: f = !0,
896
- ...V
897
- }, j) => {
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 = t || (c ? {
900
+ }[a], w = l || (c ? {
901
901
  linkedin: "Continue with LinkedIn"
902
- }[s] : ""), R = Pe(
902
+ }[a] : ""), R = Pe(
903
903
  "relative overflow-hidden transition-all duration-200",
904
- X.provider[s],
905
- X.iconPosition[l],
906
- a
904
+ Q.provider[a],
905
+ Q.iconPosition[n],
906
+ s
907
907
  );
908
908
  return /* @__PURE__ */ e.jsxs(
909
- K,
909
+ D,
910
910
  {
911
- ref: j,
911
+ ref: V,
912
912
  variant: "none",
913
913
  className: R,
914
914
  size: u,
915
915
  fullWidth: f,
916
- leftIcon: l === "left" ? g : void 0,
917
- rightIcon: l === "right" ? g : void 0,
918
- ...V,
916
+ leftIcon: n === "left" ? g : void 0,
917
+ rightIcon: n === "right" ? g : void 0,
918
+ ...j,
919
919
  children: [
920
- l === "only" && g,
921
- l !== "only" && w
920
+ n === "only" && g,
921
+ n !== "only" && w
922
922
  ]
923
923
  }
924
924
  );
925
925
  }
926
926
  );
927
927
  Le.displayName = "SocialButton";
928
+ function ze({ tabs: s, activeTab: a, disabled: n = !1, onChange: o }) {
929
+ return /* @__PURE__ */ e.jsx("div", { className: "flex border-b border-border mb-6", children: s.map((c) => {
930
+ const l = a === c.id;
931
+ return /* @__PURE__ */ e.jsx(
932
+ D,
933
+ {
934
+ variant: "ghost",
935
+ onClick: () => !n && o(c.id),
936
+ disabled: n && !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" : n ? "border-transparent text-text-disabled cursor-not-allowed" : "border-transparent text-text-secondary hover:text-text-primary"}`,
938
+ children: c.label
939
+ },
940
+ c.id
941
+ );
942
+ }) });
943
+ }
944
+ function Ie({ currentStep: s, steps: a }) {
945
+ 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: [
946
+ /* @__PURE__ */ e.jsxs("div", { className: "flex items-center", children: [
947
+ /* @__PURE__ */ e.jsx(
948
+ "span",
949
+ {
950
+ 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"}`,
951
+ children: n.number
952
+ }
953
+ ),
954
+ /* @__PURE__ */ e.jsx(
955
+ "span",
956
+ {
957
+ className: `ml-3 text-sm font-medium whitespace-nowrap ${s >= n.number ? "text-reseda-green-800" : "text-text-muted"}`,
958
+ children: n.label
959
+ }
960
+ )
961
+ ] }),
962
+ o < a.length - 1 && /* @__PURE__ */ e.jsx("div", { className: "flex-1 h-0.5 mx-4 bg-border" })
963
+ ] }, n.number)) }) });
964
+ }
928
965
  export {
929
- K as Button,
966
+ D as Button,
930
967
  Te as ColorPalette,
931
968
  Me as Demo,
932
- $e as Sidebar,
969
+ Se as Sidebar,
933
970
  Le as SocialButton,
971
+ Ie as Stepper,
972
+ ze as TabBar,
934
973
  Ee as ThemeProvider,
935
974
  Ce as ThemeToggle,
936
975
  Re as useTheme