acemyjob-ui 0.7.0 → 0.9.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,6 +1,7 @@
1
- import D, { useState as N, createContext as me, useEffect as L, useContext as ve } from "react";
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 je } from "@heroicons/react/24/outline";
1
+ import * as R from "react";
2
+ import D, { useState as N, createContext as xe, useEffect as B, useContext as ve } from "react";
3
+ import { Dialog as fe, DialogBackdrop as he, DialogPanel as ge, TransitionChild as be } from "@headlessui/react";
4
+ import { XMarkIcon as pe, Bars3Icon as je, ChevronDownIcon as we, InformationCircleIcon as Ve, ExclamationCircleIcon as ye, XCircleIcon as Ne, CheckCircleIcon as ke } from "@heroicons/react/24/outline";
4
5
  var E = { exports: {} }, k = {};
5
6
  /**
6
7
  * @license React
@@ -12,26 +13,26 @@ var E = { exports: {} }, k = {};
12
13
  * LICENSE file in the root directory of this source tree.
13
14
  */
14
15
  var W;
15
- function Ve() {
16
+ function Te() {
16
17
  if (W) return k;
17
18
  W = 1;
18
19
  var s = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
19
- function n(o, l, t) {
20
+ function t(o, l, n) {
20
21
  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, {
22
+ if (n !== void 0 && (i = "" + n), l.key !== void 0 && (i = "" + l.key), "key" in l) {
23
+ n = {};
24
+ for (var u in l)
25
+ u !== "key" && (n[u] = l[u]);
26
+ } else n = l;
27
+ return l = n.ref, {
27
28
  $$typeof: s,
28
29
  type: o,
29
30
  key: i,
30
31
  ref: l !== void 0 ? l : null,
31
- props: t
32
+ props: n
32
33
  };
33
34
  }
34
- return k.Fragment = a, k.jsx = n, k.jsxs = n, k;
35
+ return k.Fragment = a, k.jsx = t, k.jsxs = t, k;
35
36
  }
36
37
  var T = {};
37
38
  /**
@@ -44,41 +45,41 @@ var T = {};
44
45
  * LICENSE file in the root directory of this source tree.
45
46
  */
46
47
  var G;
47
- function we() {
48
+ function Ee() {
48
49
  return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
49
50
  function s(r) {
50
51
  if (r == null) return null;
51
52
  if (typeof r == "function")
52
- return r.$$typeof === ie ? null : r.displayName || r.name || null;
53
+ return r.$$typeof === ue ? null : r.displayName || r.name || null;
53
54
  if (typeof r == "string") return r;
54
55
  switch (r) {
55
- case C:
56
+ case _:
56
57
  return "Fragment";
57
- case re:
58
+ case se:
58
59
  return "Profiler";
59
- case ee:
60
+ case re:
60
61
  return "StrictMode";
61
62
  case ne:
62
63
  return "Suspense";
63
- case te:
64
+ case le:
64
65
  return "SuspenseList";
65
- case ce:
66
+ case ie:
66
67
  return "Activity";
67
68
  }
68
69
  if (typeof r == "object")
69
70
  switch (typeof r.tag == "number" && console.error(
70
71
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
71
72
  ), r.$$typeof) {
72
- case R:
73
+ case C:
73
74
  return "Portal";
74
- case ae:
75
+ case oe:
75
76
  return (r.displayName || "Context") + ".Provider";
76
- case se:
77
+ case ae:
77
78
  return (r._context.displayName || "Context") + ".Consumer";
78
- case oe:
79
+ case te:
79
80
  var c = r.render;
80
81
  return r = r.displayName, r || (r = c.displayName || c.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
81
- case le:
82
+ case ce:
82
83
  return c = r.displayName || null, c !== null ? c : s(r.type) || "Memo";
83
84
  case S:
84
85
  c = r._payload, r = r._init;
@@ -92,7 +93,7 @@ function we() {
92
93
  function a(r) {
93
94
  return "" + r;
94
95
  }
95
- function n(r) {
96
+ function t(r) {
96
97
  try {
97
98
  a(r);
98
99
  var c = !1;
@@ -101,16 +102,16 @@ function we() {
101
102
  }
102
103
  if (c) {
103
104
  c = console;
104
- var u = c.error, d = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
105
- return u.call(
105
+ var d = c.error, x = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
106
+ return d.call(
106
107
  c,
107
108
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
108
- d
109
+ x
109
110
  ), a(r);
110
111
  }
111
112
  }
112
113
  function o(r) {
113
- if (r === C) return "<>";
114
+ if (r === _) return "<>";
114
115
  if (typeof r == "object" && r !== null && r.$$typeof === S)
115
116
  return "<...>";
116
117
  try {
@@ -121,47 +122,47 @@ function we() {
121
122
  }
122
123
  }
123
124
  function l() {
124
- var r = _.A;
125
+ var r = A.A;
125
126
  return r === null ? null : r.getOwner();
126
127
  }
127
- function t() {
128
+ function n() {
128
129
  return Error("react-stack-top-frame");
129
130
  }
130
131
  function i(r) {
131
- if (M.call(r, "key")) {
132
+ if (I.call(r, "key")) {
132
133
  var c = Object.getOwnPropertyDescriptor(r, "key").get;
133
134
  if (c && c.isReactWarning) return !1;
134
135
  }
135
136
  return r.key !== void 0;
136
137
  }
137
- function v(r, c) {
138
- function u() {
139
- z || (z = !0, console.error(
138
+ function u(r, c) {
139
+ function d() {
140
+ M || (M = !0, console.error(
140
141
  "%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
142
  c
142
143
  ));
143
144
  }
144
- u.isReactWarning = !0, Object.defineProperty(r, "key", {
145
- get: u,
145
+ d.isReactWarning = !0, Object.defineProperty(r, "key", {
146
+ get: d,
146
147
  configurable: !0
147
148
  });
148
149
  }
149
- function j() {
150
+ function p() {
150
151
  var r = s(this.type);
151
- return I[r] || (I[r] = !0, console.error(
152
+ return z[r] || (z[r] = !0, console.error(
152
153
  "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
154
  )), r = this.props.ref, r !== void 0 ? r : null;
154
155
  }
155
- function V(r, c, u, d, p, b, O, P) {
156
- return u = b.ref, r = {
157
- $$typeof: w,
156
+ function j(r, c, d, x, w, b, O, P) {
157
+ return d = b.ref, r = {
158
+ $$typeof: V,
158
159
  type: r,
159
160
  key: c,
160
161
  props: b,
161
- _owner: p
162
- }, (u !== void 0 ? u : null) !== null ? Object.defineProperty(r, "ref", {
162
+ _owner: w
163
+ }, (d !== void 0 ? d : null) !== null ? Object.defineProperty(r, "ref", {
163
164
  enumerable: !1,
164
- get: j
165
+ get: p
165
166
  }) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
166
167
  configurable: !1,
167
168
  enumerable: !1,
@@ -184,104 +185,104 @@ function we() {
184
185
  value: P
185
186
  }), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
186
187
  }
187
- function h(r, c, u, d, p, b, O, P) {
188
- var m = c.children;
189
- if (m !== void 0)
190
- if (d)
191
- if (ue(m)) {
192
- for (d = 0; d < m.length; d++)
193
- g(m[d]);
194
- Object.freeze && Object.freeze(m);
188
+ function m(r, c, d, x, w, b, O, P) {
189
+ var v = c.children;
190
+ if (v !== void 0)
191
+ if (x)
192
+ if (de(v)) {
193
+ for (x = 0; x < v.length; x++)
194
+ g(v[x]);
195
+ Object.freeze && Object.freeze(v);
195
196
  } else
196
197
  console.error(
197
198
  "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
199
  );
199
- else g(m);
200
- if (M.call(c, "key")) {
201
- m = s(r);
202
- var y = Object.keys(c).filter(function(de) {
203
- return de !== "key";
200
+ else g(v);
201
+ if (I.call(c, "key")) {
202
+ v = s(r);
203
+ var y = Object.keys(c).filter(function(me) {
204
+ return me !== "key";
204
205
  });
205
- d = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", U[m + d] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
206
+ x = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", U[v + x] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
206
207
  `A props object containing a "key" prop is being spread into JSX:
207
208
  let props = %s;
208
209
  <%s {...props} />
209
210
  React keys must be passed directly to JSX without using spread:
210
211
  let props = %s;
211
212
  <%s key={someKey} {...props} />`,
212
- d,
213
- m,
213
+ x,
214
+ v,
214
215
  y,
215
- m
216
- ), U[m + d] = !0);
216
+ v
217
+ ), U[v + x] = !0);
217
218
  }
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,
219
+ if (v = null, d !== void 0 && (t(d), v = "" + d), i(c) && (t(c.key), v = "" + c.key), "key" in c) {
220
+ d = {};
221
+ for (var L in c)
222
+ L !== "key" && (d[L] = c[L]);
223
+ } else d = c;
224
+ return v && u(
225
+ d,
225
226
  typeof r == "function" ? r.displayName || r.name || "Unknown" : r
226
- ), V(
227
+ ), j(
227
228
  r,
228
- m,
229
+ v,
229
230
  b,
230
- p,
231
+ w,
231
232
  l(),
232
- u,
233
+ d,
233
234
  O,
234
235
  P
235
236
  );
236
237
  }
237
238
  function g(r) {
238
- typeof r == "object" && r !== null && r.$$typeof === w && r._store && (r._store.validated = 1);
239
+ typeof r == "object" && r !== null && r.$$typeof === V && r._store && (r._store.validated = 1);
239
240
  }
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
+ var f = D, V = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), re = Symbol.for("react.strict_mode"), se = Symbol.for("react.profiler"), ae = Symbol.for("react.consumer"), oe = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), le = Symbol.for("react.suspense_list"), ce = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), ue = Symbol.for("react.client.reference"), A = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, de = Array.isArray, $ = console.createTask ? console.createTask : function() {
241
242
  return null;
242
243
  };
243
- x = {
244
+ f = {
244
245
  "react-stack-bottom-frame": function(r) {
245
246
  return r();
246
247
  }
247
248
  };
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
- var b = 1e4 > _.recentlyCreatedOwnerStacks++;
254
- return h(
249
+ var M, z = {}, F = f["react-stack-bottom-frame"].bind(
250
+ f,
251
+ n
252
+ )(), Y = $(o(n)), U = {};
253
+ T.Fragment = _, T.jsx = function(r, c, d, x, w) {
254
+ var b = 1e4 > A.recentlyCreatedOwnerStacks++;
255
+ return m(
255
256
  r,
256
257
  c,
257
- u,
258
- !1,
259
258
  d,
260
- p,
261
- b ? Error("react-stack-top-frame") : Y,
262
- b ? A(o(r)) : F
259
+ !1,
260
+ x,
261
+ w,
262
+ b ? Error("react-stack-top-frame") : F,
263
+ b ? $(o(r)) : Y
263
264
  );
264
- }, T.jsxs = function(r, c, u, d, p) {
265
- var b = 1e4 > _.recentlyCreatedOwnerStacks++;
266
- return h(
265
+ }, T.jsxs = function(r, c, d, x, w) {
266
+ var b = 1e4 > A.recentlyCreatedOwnerStacks++;
267
+ return m(
267
268
  r,
268
269
  c,
269
- u,
270
- !0,
271
270
  d,
272
- p,
273
- b ? Error("react-stack-top-frame") : Y,
274
- b ? A(o(r)) : F
271
+ !0,
272
+ x,
273
+ w,
274
+ b ? Error("react-stack-top-frame") : F,
275
+ b ? $(o(r)) : Y
275
276
  );
276
277
  };
277
278
  }()), T;
278
279
  }
279
280
  var J;
280
- function ye() {
281
- return J || (J = 1, process.env.NODE_ENV === "production" ? E.exports = Ve() : E.exports = we()), E.exports;
281
+ function Re() {
282
+ return J || (J = 1, process.env.NODE_ENV === "production" ? E.exports = Te() : E.exports = Ee()), E.exports;
282
283
  }
283
- var e = ye();
284
- const Ne = {
284
+ var e = Re();
285
+ const Ce = {
285
286
  bg: "bg-indigo-600",
286
287
  activeBg: "bg-indigo-700",
287
288
  text: "text-indigo-200",
@@ -289,20 +290,20 @@ const Ne = {
289
290
  hoverBg: "hover:bg-indigo-700",
290
291
  hoverText: "hover:text-white"
291
292
  };
292
- function f(...s) {
293
+ function h(...s) {
293
294
  return s.filter(Boolean).join(" ");
294
295
  }
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;
296
+ function X({ item: s, colorScheme: a }) {
297
+ const [t, o] = N(s.current || s.children?.some((n) => n.current)), l = s.children && s.children.length > 0;
297
298
  return /* @__PURE__ */ e.jsxs("li", { children: [
298
299
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
299
300
  "a",
300
301
  {
301
302
  href: l ? void 0 : s.href,
302
- onClick: (t) => {
303
- l && (t.preventDefault(), o(!n));
303
+ onClick: (n) => {
304
+ l && (n.preventDefault(), o(!t));
304
305
  },
305
- className: f(
306
+ className: h(
306
307
  s.current ? `${a.activeBg} ${a.activeText}` : `${a.text} ${a.hoverBg} ${a.hoverText}`,
307
308
  "group flex items-center justify-between gap-x-3 rounded-md p-2 text-sm/6 font-semibold",
308
309
  l ? "cursor-pointer" : ""
@@ -313,7 +314,7 @@ function H({ item: s, colorScheme: a }) {
313
314
  s.icon,
314
315
  {
315
316
  "aria-hidden": "true",
316
- className: f(
317
+ className: h(
317
318
  s.current ? a.activeText : `${a.text} group-${a.hoverText}`,
318
319
  "size-6 shrink-0"
319
320
  )
@@ -322,11 +323,11 @@ function H({ item: s, colorScheme: a }) {
322
323
  s.name
323
324
  ] }),
324
325
  l && /* @__PURE__ */ e.jsx(
325
- je,
326
+ we,
326
327
  {
327
- className: f(
328
+ className: h(
328
329
  "size-5 shrink-0 transition-transform",
329
- n ? "rotate-180" : "",
330
+ t ? "rotate-180" : "",
330
331
  s.current ? a.activeText : a.text
331
332
  )
332
333
  }
@@ -334,35 +335,35 @@ function H({ item: s, colorScheme: a }) {
334
335
  ]
335
336
  }
336
337
  ) }),
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
+ l && t && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: s.children.map((n) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
338
339
  "a",
339
340
  {
340
- href: t.href,
341
- className: f(
342
- t.current ? `${a.activeBg} ${a.activeText}` : `${a.text} ${a.hoverBg} ${a.hoverText}`,
341
+ href: n.href,
342
+ className: h(
343
+ n.current ? `${a.activeBg} ${a.activeText}` : `${a.text} ${a.hoverBg} ${a.hoverText}`,
343
344
  "group flex gap-x-3 rounded-md p-2 text-sm/6 font-semibold"
344
345
  ),
345
346
  children: [
346
347
  /* @__PURE__ */ e.jsx(
347
- t.icon,
348
+ n.icon,
348
349
  {
349
350
  "aria-hidden": "true",
350
- className: f(
351
- t.current ? a.activeText : `${a.text} group-${a.hoverText}`,
351
+ className: h(
352
+ n.current ? a.activeText : `${a.text} group-${a.hoverText}`,
352
353
  "size-5 shrink-0"
353
354
  )
354
355
  }
355
356
  ),
356
- t.name
357
+ n.name
357
358
  ]
358
359
  }
359
- ) }, t.name)) })
360
+ ) }, n.name)) })
360
361
  ] });
361
362
  }
362
- function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
363
- const [l, t] = N(!1);
363
+ function We({ company: s, profile: a, navigation: t, colorScheme: o = Ce }) {
364
+ const [l, n] = N(!1);
364
365
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
365
- /* @__PURE__ */ e.jsxs(xe, { open: l, onClose: t, className: "relative z-50 lg:hidden", children: [
366
+ /* @__PURE__ */ e.jsxs(fe, { open: l, onClose: n, className: "relative z-50 lg:hidden", children: [
366
367
  /* @__PURE__ */ e.jsx(
367
368
  he,
368
369
  {
@@ -371,16 +372,16 @@ function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
371
372
  }
372
373
  ),
373
374
  /* @__PURE__ */ e.jsx("div", { className: "fixed inset-0 flex", children: /* @__PURE__ */ e.jsxs(
374
- fe,
375
+ ge,
375
376
  {
376
377
  transition: !0,
377
378
  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
379
  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
+ /* @__PURE__ */ e.jsx(be, { 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: () => n(!1), className: "-m-2.5 p-2.5", children: [
380
381
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close sidebar" }),
381
- /* @__PURE__ */ e.jsx(be, { "aria-hidden": "true", className: "size-6 text-white" })
382
+ /* @__PURE__ */ e.jsx(pe, { "aria-hidden": "true", className: "size-6 text-white" })
382
383
  ] }) }) }),
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
+ /* @__PURE__ */ e.jsxs("div", { className: h("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2", o.bg), children: [
384
385
  /* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
385
386
  "img",
386
387
  {
@@ -389,13 +390,13 @@ function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
389
390
  className: "h-8 w-auto"
390
391
  }
391
392
  ) }),
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
+ /* @__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((i) => /* @__PURE__ */ e.jsx(X, { item: i, colorScheme: o }, i.name)) }) }) }) })
393
394
  ] })
394
395
  ]
395
396
  }
396
397
  ) })
397
398
  ] }),
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
+ /* @__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: [
399
400
  /* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
400
401
  "img",
401
402
  {
@@ -405,12 +406,12 @@ function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
405
406
  }
406
407
  ) }),
407
408
  /* @__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: n.map((i) => /* @__PURE__ */ e.jsx(H, { item: i, colorScheme: o }, i.name)) }) }),
409
+ /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((i) => /* @__PURE__ */ e.jsx(X, { item: i, colorScheme: o }, i.name)) }) }),
409
410
  /* @__PURE__ */ e.jsx("li", { className: "-mx-6 mt-auto", children: /* @__PURE__ */ e.jsxs(
410
411
  "a",
411
412
  {
412
413
  href: "#",
413
- className: f(
414
+ className: h(
414
415
  "flex items-center gap-x-4 px-6 py-3 text-sm/6 font-semibold",
415
416
  o.activeText,
416
417
  o.hoverBg
@@ -421,7 +422,7 @@ function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
421
422
  {
422
423
  alt: a.name,
423
424
  src: a.image,
424
- className: f("size-8 rounded-full", o.activeBg)
425
+ className: h("size-8 rounded-full", o.activeBg)
425
426
  }
426
427
  ),
427
428
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
@@ -431,12 +432,12 @@ function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
431
432
  ) })
432
433
  ] }) })
433
434
  ] }) }),
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: [
435
+ /* @__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: [
436
+ /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!0), className: h("-m-2.5 p-2.5 lg:hidden", o.text), children: [
436
437
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Open sidebar" }),
437
- /* @__PURE__ */ e.jsx(pe, { "aria-hidden": "true", className: "size-6" })
438
+ /* @__PURE__ */ e.jsx(je, { "aria-hidden": "true", className: "size-6" })
438
439
  ] }),
439
- /* @__PURE__ */ e.jsx("div", { className: f("flex-1 text-sm/6 font-semibold", o.activeText), children: "Dashboard" }),
440
+ /* @__PURE__ */ e.jsx("div", { className: h("flex-1 text-sm/6 font-semibold", o.activeText), children: "Dashboard" }),
440
441
  /* @__PURE__ */ e.jsxs("a", { href: "#", children: [
441
442
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
442
443
  /* @__PURE__ */ e.jsx(
@@ -444,20 +445,20 @@ function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
444
445
  {
445
446
  alt: a.name,
446
447
  src: a.image,
447
- className: f("size-8 rounded-full", o.activeBg)
448
+ className: h("size-8 rounded-full", o.activeBg)
448
449
  }
449
450
  )
450
451
  ] })
451
452
  ] })
452
453
  ] }) });
453
454
  }
454
- const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value: n }) => {
455
- const o = `rgb(${n})`;
455
+ const Q = (s) => s.replace("--color-", "bg-"), _e = ({ name: s, cssVar: a, value: t }) => {
456
+ const o = `rgb(${t})`;
456
457
  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
458
  /* @__PURE__ */ e.jsx(
458
459
  "div",
459
460
  {
460
- className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Z(a)}`
461
+ className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Q(a)}`
461
462
  }
462
463
  ),
463
464
  /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
@@ -466,10 +467,10 @@ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value
466
467
  /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-secondary", children: o })
467
468
  ] })
468
469
  ] });
469
- }, q = ({ title: s, colors: a }) => /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
470
+ }, H = ({ title: s, colors: a }) => /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
470
471
  /* @__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
- ] }), Te = () => {
472
+ /* @__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((t) => /* @__PURE__ */ e.jsx(_e, { ...t }, t.name)) })
473
+ ] }), Ae = () => {
473
474
  const s = [
474
475
  {
475
476
  title: "Success Colors (Green)",
@@ -670,7 +671,7 @@ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value
670
671
  { name: "900", cssVar: "--color-beaver-900", value: "235 229 224" }
671
672
  ]
672
673
  }
673
- ], n = [
674
+ ], t = [
674
675
  { name: "Background", cssVar: "--color-background" },
675
676
  { name: "Surface", cssVar: "--color-surface" },
676
677
  { name: "Surface Variant", cssVar: "--color-surface-variant" },
@@ -685,15 +686,15 @@ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value
685
686
  /* @__PURE__ */ e.jsx("h1", { className: "text-3xl font-bold text-text-primary", children: "AceMyJob Color Palette" }),
686
687
  /* @__PURE__ */ e.jsx("p", { className: "text-text-secondary", children: "Your complete design system color reference" })
687
688
  ] }),
688
- a.map((o) => /* @__PURE__ */ e.jsx(q, { ...o }, o.title)),
689
- s.map((o) => /* @__PURE__ */ e.jsx(q, { ...o }, o.title)),
689
+ a.map((o) => /* @__PURE__ */ e.jsx(H, { ...o }, o.title)),
690
+ s.map((o) => /* @__PURE__ */ e.jsx(H, { ...o }, o.title)),
690
691
  /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
691
692
  /* @__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: 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
+ /* @__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: [
693
694
  /* @__PURE__ */ e.jsx(
694
695
  "div",
695
696
  {
696
- className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Z(o.cssVar)}`
697
+ className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Q(o.cssVar)}`
697
698
  }
698
699
  ),
699
700
  /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
@@ -704,44 +705,44 @@ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value
704
705
  ] }),
705
706
  /* @__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
707
  ] });
707
- }, K = me(void 0), Ee = ({
708
+ }, K = xe(void 0), $e = ({
708
709
  children: s,
709
710
  defaultTheme: a = "system",
710
- storageKey: n = "acemyjob-ui-theme"
711
+ storageKey: t = "acemyjob-ui-theme"
711
712
  }) => {
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);
713
+ const [o, l] = N(a), [n, i] = N("light"), [u, p] = N(!1);
714
+ B(() => {
715
+ const m = localStorage.getItem(t);
716
+ m && l(m), p(!0);
717
+ }, [t]), B(() => {
718
+ if (!u) return;
719
+ const m = window.document.documentElement, g = () => {
720
+ let f;
721
+ o === "system" ? f = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : f = o, i(f), m.classList.remove("light", "dark"), m.classList.add(f);
721
722
  };
722
723
  if (g(), o === "system") {
723
- const x = window.matchMedia("(prefers-color-scheme: dark)"), w = () => g();
724
- return x.addEventListener("change", w), () => x.removeEventListener("change", w);
724
+ const f = window.matchMedia("(prefers-color-scheme: dark)"), V = () => g();
725
+ return f.addEventListener("change", V), () => f.removeEventListener("change", V);
725
726
  }
726
- }, [o, v]);
727
- const V = {
727
+ }, [o, u]);
728
+ const j = {
728
729
  theme: o,
729
- setTheme: (h) => {
730
- localStorage.setItem(n, h), l(h);
730
+ setTheme: (m) => {
731
+ localStorage.setItem(t, m), l(m);
731
732
  },
732
- resolvedTheme: t
733
+ resolvedTheme: n
733
734
  };
734
- return /* @__PURE__ */ e.jsx(K.Provider, { value: V, children: s });
735
- }, Re = () => {
735
+ return /* @__PURE__ */ e.jsx(K.Provider, { value: j, children: s });
736
+ }, Oe = () => {
736
737
  const s = ve(K);
737
738
  if (s === void 0)
738
739
  throw new Error("useTheme must be used within a ThemeProvider");
739
740
  return s;
740
- }, Ce = () => {
741
- const { theme: s, setTheme: a } = Re(), [n, o] = N(!1);
742
- if (L(() => {
741
+ }, Pe = () => {
742
+ const { theme: s, setTheme: a } = Oe(), [t, o] = N(!1);
743
+ if (B(() => {
743
744
  o(!0);
744
- }, []), !n)
745
+ }, []), !t)
745
746
  return /* @__PURE__ */ e.jsxs(
746
747
  "button",
747
748
  {
@@ -755,7 +756,7 @@ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value
755
756
  );
756
757
  const l = () => {
757
758
  a(s === "light" ? "dark" : s === "dark" ? "system" : "light");
758
- }, t = () => {
759
+ }, n = () => {
759
760
  switch (s) {
760
761
  case "light":
761
762
  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" }) });
@@ -781,15 +782,15 @@ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value
781
782
  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
783
  "aria-label": `Current theme: ${i()}. Click to cycle themes.`,
783
784
  children: [
784
- t(),
785
+ n(),
785
786
  /* @__PURE__ */ e.jsx("span", { className: "hidden sm:inline", children: i() })
786
787
  ]
787
788
  }
788
789
  );
789
- }, _e = () => /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
790
- /* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(Ce, {}) }),
791
- /* @__PURE__ */ e.jsx(Te, {})
792
- ] }), Me = () => /* @__PURE__ */ e.jsx(Ee, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(_e, {}) }), X = {
790
+ }, Le = () => /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
791
+ /* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(Pe, {}) }),
792
+ /* @__PURE__ */ e.jsx(Ae, {})
793
+ ] }), Ge = () => /* @__PURE__ */ e.jsx($e, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(Le, {}) }), q = {
793
794
  variant: {
794
795
  default: "bg-reseda-green-500 text-white hover:bg-reseda-green-600 focus-visible:ring-reseda-green-500",
795
796
  destructive: "bg-error-500 text-white hover:bg-error-600 focus-visible:ring-error-500",
@@ -807,33 +808,33 @@ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value
807
808
  xl: "h-12 rounded-md px-10 text-base",
808
809
  icon: "h-10 w-10"
809
810
  }
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
+ }, Be = "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", De = (...s) => s.filter(Boolean).join(" "), ee = D.forwardRef(
811
812
  ({
812
813
  className: s,
813
814
  variant: a = "default",
814
- size: n = "default",
815
+ size: t = "default",
815
816
  fullWidth: o = !1,
816
817
  loading: l = !1,
817
- leftIcon: t,
818
+ leftIcon: n,
818
819
  rightIcon: i,
819
- children: v,
820
- disabled: j,
821
- ...V
822
- }, h) => {
823
- const g = j || l, x = Oe(
824
- Ae,
825
- X.variant[a],
826
- X.size[n],
820
+ children: u,
821
+ disabled: p,
822
+ ...j
823
+ }, m) => {
824
+ const g = p || l, f = De(
825
+ Be,
826
+ q.variant[a],
827
+ q.size[t],
827
828
  o ? "w-full" : "",
828
829
  s
829
830
  );
830
831
  return /* @__PURE__ */ e.jsxs(
831
832
  "button",
832
833
  {
833
- className: x,
834
- ref: h,
834
+ className: f,
835
+ ref: m,
835
836
  disabled: g,
836
- ...V,
837
+ ...j,
837
838
  children: [
838
839
  l && /* @__PURE__ */ e.jsxs(
839
840
  "svg",
@@ -865,16 +866,16 @@ const Z = (s) => s.replace("--color-", "bg-"), ke = ({ name: s, cssVar: a, value
865
866
  ]
866
867
  }
867
868
  ),
868
- !l && t && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: t }),
869
- v,
869
+ !l && n && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: n }),
870
+ u,
870
871
  !l && i && /* @__PURE__ */ e.jsx("span", { className: "ml-2", children: i })
871
872
  ]
872
873
  }
873
874
  );
874
875
  }
875
876
  );
876
- B.displayName = "Button";
877
- const Q = {
877
+ ee.displayName = "Button";
878
+ const Z = {
878
879
  provider: {
879
880
  linkedin: "bg-[#0077B5] hover:bg-[#005885] text-white focus-visible:ring-[#0077B5]"
880
881
  },
@@ -883,143 +884,247 @@ const Q = {
883
884
  right: "flex-row-reverse",
884
885
  only: "justify-center"
885
886
  }
886
- }, Pe = (...s) => s.filter(Boolean).join(" "), $e = D.forwardRef(
887
+ }, Se = (...s) => s.filter(Boolean).join(" "), Ie = D.forwardRef(
887
888
  ({
888
889
  className: s,
889
890
  provider: a,
890
- iconPosition: n = "left",
891
+ iconPosition: t = "left",
891
892
  icon: o,
892
893
  showText: l = !0,
893
- children: t,
894
+ children: n,
894
895
  size: i = "default",
895
- fullWidth: v = !0,
896
- ...j
897
- }, V) => {
896
+ fullWidth: u = !0,
897
+ ...p
898
+ }, j) => {
898
899
  const g = o || {
899
900
  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
- }[a], w = t || (l ? {
901
+ }[a], V = n || (l ? {
901
902
  linkedin: "Continue with LinkedIn"
902
- }[a] : ""), R = Pe(
903
+ }[a] : ""), C = Se(
903
904
  "relative overflow-hidden transition-all duration-200",
904
- Q.provider[a],
905
- Q.iconPosition[n],
905
+ Z.provider[a],
906
+ Z.iconPosition[t],
906
907
  s
907
908
  );
908
909
  return /* @__PURE__ */ e.jsxs(
909
- B,
910
+ ee,
910
911
  {
911
- ref: V,
912
+ ref: j,
912
913
  variant: "none",
913
- className: R,
914
+ className: C,
914
915
  size: i,
915
- fullWidth: v,
916
- leftIcon: n === "left" ? g : void 0,
917
- rightIcon: n === "right" ? g : void 0,
918
- ...j,
916
+ fullWidth: u,
917
+ leftIcon: t === "left" ? g : void 0,
918
+ rightIcon: t === "right" ? g : void 0,
919
+ ...p,
919
920
  children: [
920
- n === "only" && g,
921
- n !== "only" && w
921
+ t === "only" && g,
922
+ t !== "only" && V
922
923
  ]
923
924
  }
924
925
  );
925
926
  }
926
927
  );
927
- $e.displayName = "SocialButton";
928
- function ze({
928
+ Ie.displayName = "SocialButton";
929
+ function Je({
929
930
  children: s,
930
931
  variant: a = "default",
931
- isActive: n = !1,
932
+ isActive: t = !1,
932
933
  onClick: o,
933
934
  className: l = ""
934
935
  }) {
935
- const t = "rounded-lg transition-all", i = {
936
+ const n = "rounded-lg transition-all", i = {
936
937
  default: "border border-border p-4",
937
938
  surface: "bg-surface-variant p-4",
938
939
  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
+ interactive: `border-2 p-4 cursor-pointer ${t ? "border-success-500 bg-success-50" : "border-border bg-surface hover:border-border-subtle"}`
940
941
  };
941
942
  return /* @__PURE__ */ e.jsx(
942
943
  "div",
943
944
  {
944
- className: `${t} ${i[a]} ${l}`,
945
+ className: `${n} ${i[a]} ${l}`,
945
946
  onClick: o,
946
947
  role: o ? "button" : void 0,
947
948
  tabIndex: o ? 0 : void 0,
948
- onKeyDown: o ? (v) => {
949
- (v.key === "Enter" || v.key === " ") && o();
949
+ onKeyDown: o ? (u) => {
950
+ (u.key === "Enter" || u.key === " ") && o();
950
951
  } : void 0,
951
952
  children: s
952
953
  }
953
954
  );
954
955
  }
955
- function Ie({
956
+ function Xe({
956
957
  title: s,
957
958
  children: a,
958
- subtitle: n,
959
+ subtitle: t,
959
960
  spacing: o = "normal",
960
961
  className: l = ""
961
962
  }) {
962
- const t = {
963
+ const n = {
963
964
  compact: "space-y-3",
964
965
  normal: "space-y-6",
965
966
  spacious: "space-y-8"
966
967
  };
967
- return /* @__PURE__ */ e.jsxs("div", { className: `${t[o]} ${l}`, children: [
968
+ return /* @__PURE__ */ e.jsxs("div", { className: `${n[o]} ${l}`, children: [
968
969
  /* @__PURE__ */ e.jsxs("div", { children: [
969
970
  /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary", children: s }),
970
- n && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-1", children: n })
971
+ t && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-1", children: t })
971
972
  ] }),
972
973
  a
973
974
  ] });
974
975
  }
975
- function Ye({ tabs: s, activeTab: a, disabled: n = !1, onChange: o }) {
976
- return /* @__PURE__ */ e.jsx("div", { className: "flex border-b border-border mb-6", children: s.map((l) => {
977
- const t = a === l.id;
978
- return /* @__PURE__ */ e.jsx(
979
- B,
980
- {
981
- variant: "ghost",
982
- onClick: () => !n && o(l.id),
983
- disabled: n && !t,
984
- 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"}`,
985
- children: l.label
986
- },
987
- l.id
988
- );
989
- }) });
976
+ function He({
977
+ variant: s,
978
+ title: a,
979
+ message: t,
980
+ icon: o,
981
+ onClose: l,
982
+ className: n = ""
983
+ }) {
984
+ const u = {
985
+ success: {
986
+ bg: "bg-success-50",
987
+ border: "border-success-200",
988
+ text: "text-success-700",
989
+ icon: /* @__PURE__ */ e.jsx(ke, { className: "h-5 w-5" })
990
+ },
991
+ error: {
992
+ bg: "bg-error-50",
993
+ border: "border-error-200",
994
+ text: "text-error-700",
995
+ icon: /* @__PURE__ */ e.jsx(Ne, { className: "h-5 w-5" })
996
+ },
997
+ warning: {
998
+ bg: "bg-warning-50",
999
+ border: "border-warning-200",
1000
+ text: "text-warning-700",
1001
+ icon: /* @__PURE__ */ e.jsx(ye, { className: "h-5 w-5" })
1002
+ },
1003
+ info: {
1004
+ bg: "bg-info-50",
1005
+ border: "border-info-200",
1006
+ text: "text-info-700",
1007
+ icon: /* @__PURE__ */ e.jsx(Ve, { className: "h-5 w-5" })
1008
+ }
1009
+ }[s];
1010
+ return /* @__PURE__ */ e.jsx(
1011
+ "div",
1012
+ {
1013
+ className: `${u.bg} border ${u.border} rounded-md p-3 ${n}`,
1014
+ role: "alert",
1015
+ children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
1016
+ /* @__PURE__ */ e.jsx("div", { className: `flex-shrink-0 ${u.text}`, children: o || u.icon }),
1017
+ /* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
1018
+ a && /* @__PURE__ */ e.jsx("p", { className: `text-sm font-medium ${u.text}`, children: a }),
1019
+ /* @__PURE__ */ e.jsx("p", { className: `text-sm ${u.text}`, children: t })
1020
+ ] }),
1021
+ l && /* @__PURE__ */ e.jsx(
1022
+ "button",
1023
+ {
1024
+ onClick: l,
1025
+ className: `flex-shrink-0 ${u.text} hover:opacity-70`,
1026
+ "aria-label": "Close alert",
1027
+ children: "✕"
1028
+ }
1029
+ )
1030
+ ] })
1031
+ }
1032
+ );
1033
+ }
1034
+ function Me({
1035
+ title: s,
1036
+ titleId: a,
1037
+ ...t
1038
+ }, o) {
1039
+ return /* @__PURE__ */ R.createElement("svg", Object.assign({
1040
+ xmlns: "http://www.w3.org/2000/svg",
1041
+ viewBox: "0 0 20 20",
1042
+ fill: "currentColor",
1043
+ "aria-hidden": "true",
1044
+ "data-slot": "icon",
1045
+ ref: o,
1046
+ "aria-labelledby": a
1047
+ }, t), s ? /* @__PURE__ */ R.createElement("title", {
1048
+ id: a
1049
+ }, s) : null, /* @__PURE__ */ R.createElement("path", {
1050
+ d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"
1051
+ }));
1052
+ }
1053
+ const ze = /* @__PURE__ */ R.forwardRef(Me);
1054
+ function qe({
1055
+ children: s,
1056
+ variant: a = "default",
1057
+ size: t = "md",
1058
+ removable: o = !1,
1059
+ onRemove: l,
1060
+ className: n = "",
1061
+ style: i,
1062
+ colorClass: u
1063
+ }) {
1064
+ const p = {
1065
+ default: "bg-surface-variant text-text-secondary",
1066
+ success: "bg-success-50 text-success-700",
1067
+ error: "bg-error-50 text-error-700",
1068
+ warning: "bg-warning-50 text-warning-700",
1069
+ info: "bg-info-50 text-info-700"
1070
+ }, j = {
1071
+ sm: "px-2 py-0.5 text-xs",
1072
+ md: "px-3 py-1 text-sm",
1073
+ lg: "px-4 py-1.5 text-base"
1074
+ }, m = u || p[a];
1075
+ return /* @__PURE__ */ e.jsxs(
1076
+ "span",
1077
+ {
1078
+ className: `inline-flex items-center gap-1 rounded-full ${m} ${j[t]} ${n}`,
1079
+ style: i,
1080
+ children: [
1081
+ s,
1082
+ o && l && /* @__PURE__ */ e.jsx(
1083
+ "button",
1084
+ {
1085
+ onClick: l,
1086
+ className: "ml-1 hover:opacity-70",
1087
+ "aria-label": "Remove badge",
1088
+ children: /* @__PURE__ */ e.jsx(ze, { className: "w-3 h-3" })
1089
+ }
1090
+ )
1091
+ ]
1092
+ }
1093
+ );
990
1094
  }
991
- function Fe({ currentStep: s, steps: a }) {
992
- 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: [
1095
+ function Ze({ currentStep: s, steps: a }) {
1096
+ return /* @__PURE__ */ e.jsx("nav", { className: "mb-10", children: /* @__PURE__ */ e.jsx("ol", { className: "flex items-center w-full", children: a.map((t, o) => /* @__PURE__ */ e.jsxs("li", { className: `flex items-center ${o < a.length - 1 ? "flex-1" : ""}`, children: [
993
1097
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center", children: [
994
1098
  /* @__PURE__ */ e.jsx(
995
1099
  "span",
996
1100
  {
997
- 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"}`,
998
- children: n.number
1101
+ className: `flex items-center justify-center w-9 h-9 rounded-full text-sm font-semibold shrink-0 ${s === t.number ? "bg-reseda-green-700 text-white" : s > t.number ? "bg-success-500 text-white" : "border-2 border-border text-text-muted"}`,
1102
+ children: t.number
999
1103
  }
1000
1104
  ),
1001
1105
  /* @__PURE__ */ e.jsx(
1002
1106
  "span",
1003
1107
  {
1004
- className: `ml-3 text-sm font-medium whitespace-nowrap ${s >= n.number ? "text-reseda-green-800" : "text-text-muted"}`,
1005
- children: n.label
1108
+ className: `ml-3 text-sm font-medium whitespace-nowrap ${s >= t.number ? "text-reseda-green-800" : "text-text-muted"}`,
1109
+ children: t.label
1006
1110
  }
1007
1111
  )
1008
1112
  ] }),
1009
1113
  o < a.length - 1 && /* @__PURE__ */ e.jsx("div", { className: "flex-1 h-0.5 mx-4 bg-border" })
1010
- ] }, n.number)) }) });
1114
+ ] }, t.number)) }) });
1011
1115
  }
1012
1116
  export {
1013
- B as Button,
1014
- ze as Card,
1015
- Te as ColorPalette,
1016
- Me as Demo,
1017
- Ie as Section,
1018
- Se as Sidebar,
1019
- $e as SocialButton,
1020
- Fe as Stepper,
1021
- Ye as TabBar,
1022
- Ee as ThemeProvider,
1023
- Ce as ThemeToggle,
1024
- Re as useTheme
1117
+ He as Alert,
1118
+ qe as Badge,
1119
+ ee as Button,
1120
+ Je as Card,
1121
+ Ae as ColorPalette,
1122
+ Ge as Demo,
1123
+ Xe as Section,
1124
+ We as Sidebar,
1125
+ Ie as SocialButton,
1126
+ Ze as Stepper,
1127
+ $e as ThemeProvider,
1128
+ Pe as ThemeToggle,
1129
+ Oe as useTheme
1025
1130
  };