acemyjob-ui 0.2.2 → 0.3.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 N, createContext as X, useEffect as L, useContext as Q } from "react";
2
- import { Dialog as ve, DialogBackdrop as he, DialogPanel as xe, TransitionChild as fe } from "@headlessui/react";
3
- import { XMarkIcon as ge, Bars3Icon as be } from "@heroicons/react/24/outline";
4
- var T = { exports: {} }, y = {};
1
+ import S, { useState as k, createContext as me, useEffect as D, 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 Ve } from "@heroicons/react/24/outline";
4
+ var E = { exports: {} }, N = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-runtime.production.js
@@ -12,28 +12,28 @@ var T = { exports: {} }, y = {};
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
14
  var U;
15
- function pe() {
16
- if (U) return y;
15
+ function je() {
16
+ if (U) return N;
17
17
  U = 1;
18
- var s = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
19
- function t(l, c, o) {
20
- var d = null;
21
- if (o !== void 0 && (d = "" + o), c.key !== void 0 && (d = "" + c.key), "key" in c) {
22
- o = {};
23
- for (var x in c)
24
- x !== "key" && (o[x] = c[x]);
25
- } else o = c;
26
- return c = o.ref, {
27
- $$typeof: s,
28
- type: l,
29
- key: d,
18
+ var a = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
19
+ function l(o, c, t) {
20
+ var u = null;
21
+ if (t !== void 0 && (u = "" + t), c.key !== void 0 && (u = "" + c.key), "key" in c) {
22
+ t = {};
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,
28
+ type: o,
29
+ key: u,
30
30
  ref: c !== void 0 ? c : null,
31
- props: o
31
+ props: t
32
32
  };
33
33
  }
34
- return y.Fragment = n, y.jsx = t, y.jsxs = t, y;
34
+ return N.Fragment = s, N.jsx = l, N.jsxs = l, N;
35
35
  }
36
- var k = {};
36
+ var T = {};
37
37
  /**
38
38
  * @license React
39
39
  * react-jsx-runtime.development.js
@@ -44,25 +44,25 @@ var k = {};
44
44
  * LICENSE file in the root directory of this source tree.
45
45
  */
46
46
  var W;
47
- function Ve() {
47
+ function we() {
48
48
  return W || (W = 1, process.env.NODE_ENV !== "production" && function() {
49
- function s(r) {
49
+ function a(r) {
50
50
  if (r == null) return null;
51
51
  if (typeof r == "function")
52
- return r.$$typeof === ue ? null : r.displayName || r.name || null;
52
+ return r.$$typeof === ie ? null : r.displayName || r.name || null;
53
53
  if (typeof r == "string") return r;
54
54
  switch (r) {
55
- case _:
55
+ case C:
56
56
  return "Fragment";
57
- case se:
58
- return "Profiler";
59
57
  case re:
58
+ return "Profiler";
59
+ case ee:
60
60
  return "StrictMode";
61
61
  case ne:
62
62
  return "Suspense";
63
63
  case te:
64
64
  return "SuspenseList";
65
- case ie:
65
+ case ce:
66
66
  return "Activity";
67
67
  }
68
68
  if (typeof r == "object")
@@ -71,74 +71,74 @@ function Ve() {
71
71
  ), r.$$typeof) {
72
72
  case R:
73
73
  return "Portal";
74
- case oe:
74
+ case se:
75
75
  return (r.displayName || "Context") + ".Provider";
76
76
  case ae:
77
77
  return (r._context.displayName || "Context") + ".Consumer";
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;
78
81
  case le:
79
- var a = r.render;
80
- return r = r.displayName, r || (r = a.displayName || a.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
81
- case ce:
82
- return a = r.displayName || null, a !== null ? a : s(r.type) || "Memo";
83
- case M:
84
- a = r._payload, r = r._init;
82
+ return n = r.displayName || null, n !== null ? n : a(r.type) || "Memo";
83
+ case B:
84
+ n = r._payload, r = r._init;
85
85
  try {
86
- return s(r(a));
86
+ return a(r(n));
87
87
  } catch {
88
88
  }
89
89
  }
90
90
  return null;
91
91
  }
92
- function n(r) {
92
+ function s(r) {
93
93
  return "" + r;
94
94
  }
95
- function t(r) {
95
+ function l(r) {
96
96
  try {
97
- n(r);
98
- var a = !1;
97
+ s(r);
98
+ var n = !1;
99
99
  } catch {
100
- a = !0;
100
+ n = !0;
101
101
  }
102
- if (a) {
103
- a = console;
104
- var i = a.error, u = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
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
105
  return i.call(
106
- a,
106
+ n,
107
107
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
108
- u
109
- ), n(r);
108
+ d
109
+ ), s(r);
110
110
  }
111
111
  }
112
- function l(r) {
113
- if (r === _) return "<>";
114
- if (typeof r == "object" && r !== null && r.$$typeof === M)
112
+ function o(r) {
113
+ if (r === C) return "<>";
114
+ if (typeof r == "object" && r !== null && r.$$typeof === B)
115
115
  return "<...>";
116
116
  try {
117
- var a = s(r);
118
- return a ? "<" + a + ">" : "<...>";
117
+ var n = a(r);
118
+ return n ? "<" + n + ">" : "<...>";
119
119
  } catch {
120
120
  return "<...>";
121
121
  }
122
122
  }
123
123
  function c() {
124
- var r = C.A;
124
+ var r = _.A;
125
125
  return r === null ? null : r.getOwner();
126
126
  }
127
- function o() {
127
+ function t() {
128
128
  return Error("react-stack-top-frame");
129
129
  }
130
- function d(r) {
131
- if (z.call(r, "key")) {
132
- var a = Object.getOwnPropertyDescriptor(r, "key").get;
133
- if (a && a.isReactWarning) return !1;
130
+ function u(r) {
131
+ if ($.call(r, "key")) {
132
+ var n = Object.getOwnPropertyDescriptor(r, "key").get;
133
+ if (n && n.isReactWarning) return !1;
134
134
  }
135
135
  return r.key !== void 0;
136
136
  }
137
- function x(r, a) {
137
+ function f(r, n) {
138
138
  function i() {
139
- Y || (Y = !0, console.error(
139
+ M || (M = !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
- a
141
+ n
142
142
  ));
143
143
  }
144
144
  i.isReactWarning = !0, Object.defineProperty(r, "key", {
@@ -146,22 +146,22 @@ function Ve() {
146
146
  configurable: !0
147
147
  });
148
148
  }
149
- function p() {
150
- var r = s(this.type);
151
- return F[r] || (F[r] = !0, console.error(
149
+ function V() {
150
+ var r = a(this.type);
151
+ return z[r] || (z[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 V(r, a, i, u, b, g, A, O) {
156
- return i = g.ref, r = {
155
+ function j(r, n, i, d, p, b, O, P) {
156
+ return i = b.ref, r = {
157
157
  $$typeof: w,
158
158
  type: r,
159
- key: a,
160
- props: g,
161
- _owner: b
159
+ key: n,
160
+ props: b,
161
+ _owner: p
162
162
  }, (i !== void 0 ? i : null) !== null ? Object.defineProperty(r, "ref", {
163
163
  enumerable: !1,
164
- get: p
164
+ get: V
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,
@@ -176,68 +176,68 @@ function Ve() {
176
176
  configurable: !1,
177
177
  enumerable: !1,
178
178
  writable: !0,
179
- value: A
179
+ value: O
180
180
  }), Object.defineProperty(r, "_debugTask", {
181
181
  configurable: !1,
182
182
  enumerable: !1,
183
183
  writable: !0,
184
- value: O
184
+ value: P
185
185
  }), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
186
186
  }
187
- function h(r, a, i, u, b, g, A, O) {
188
- var m = a.children;
187
+ function x(r, n, i, d, p, b, O, P) {
188
+ var m = n.children;
189
189
  if (m !== void 0)
190
- if (u)
191
- if (me(m)) {
192
- for (u = 0; u < m.length; u++)
193
- f(m[u]);
190
+ if (d)
191
+ if (ue(m)) {
192
+ for (d = 0; d < m.length; d++)
193
+ g(m[d]);
194
194
  Object.freeze && Object.freeze(m);
195
195
  } else
196
196
  console.error(
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
- else f(m);
200
- if (z.call(a, "key")) {
201
- m = s(r);
202
- var j = Object.keys(a).filter(function(de) {
199
+ else g(m);
200
+ if ($.call(n, "key")) {
201
+ m = a(r);
202
+ var y = Object.keys(n).filter(function(de) {
203
203
  return de !== "key";
204
204
  });
205
- u = 0 < j.length ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}", $[m + u] || (j = 0 < j.length ? "{" + j.join(": ..., ") + ": ...}" : "{}", console.error(
205
+ d = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", F[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} />
209
209
  React keys must be passed directly to JSX without using spread:
210
210
  let props = %s;
211
211
  <%s key={someKey} {...props} />`,
212
- u,
212
+ d,
213
213
  m,
214
- j,
214
+ y,
215
215
  m
216
- ), $[m + u] = !0);
216
+ ), F[m + d] = !0);
217
217
  }
218
- if (m = null, i !== void 0 && (t(i), m = "" + i), d(a) && (t(a.key), m = "" + a.key), "key" in a) {
218
+ if (m = null, i !== void 0 && (l(i), m = "" + i), u(n) && (l(n.key), m = "" + n.key), "key" in n) {
219
219
  i = {};
220
- for (var P in a)
221
- P !== "key" && (i[P] = a[P]);
222
- } else i = a;
223
- return m && x(
220
+ for (var L in n)
221
+ L !== "key" && (i[L] = n[L]);
222
+ } else i = n;
223
+ return m && f(
224
224
  i,
225
225
  typeof r == "function" ? r.displayName || r.name || "Unknown" : r
226
- ), V(
226
+ ), j(
227
227
  r,
228
228
  m,
229
- g,
230
229
  b,
230
+ p,
231
231
  c(),
232
232
  i,
233
- A,
234
- O
233
+ O,
234
+ P
235
235
  );
236
236
  }
237
- function f(r) {
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"), _ = 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"), le = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), ce = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), ue = Symbol.for("react.client.reference"), C = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, me = Array.isArray, S = console.createTask ? console.createTask : function() {
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() {
241
241
  return null;
242
242
  };
243
243
  v = {
@@ -245,49 +245,124 @@ React keys must be passed directly to JSX without using spread:
245
245
  return r();
246
246
  }
247
247
  };
248
- var Y, F = {}, B = v["react-stack-bottom-frame"].bind(
248
+ var M, z = {}, I = v["react-stack-bottom-frame"].bind(
249
249
  v,
250
- o
251
- )(), I = S(l(o)), $ = {};
252
- k.Fragment = _, k.jsx = function(r, a, i, u, b) {
253
- var g = 1e4 > C.recentlyCreatedOwnerStacks++;
254
- return h(
250
+ t
251
+ )(), Y = A(o(t)), F = {};
252
+ T.Fragment = C, T.jsx = function(r, n, i, d, p) {
253
+ var b = 1e4 > _.recentlyCreatedOwnerStacks++;
254
+ return x(
255
255
  r,
256
- a,
256
+ n,
257
257
  i,
258
258
  !1,
259
- u,
260
- b,
261
- g ? Error("react-stack-top-frame") : B,
262
- g ? S(l(r)) : I
259
+ d,
260
+ p,
261
+ b ? Error("react-stack-top-frame") : I,
262
+ b ? A(o(r)) : Y
263
263
  );
264
- }, k.jsxs = function(r, a, i, u, b) {
265
- var g = 1e4 > C.recentlyCreatedOwnerStacks++;
266
- return h(
264
+ }, T.jsxs = function(r, n, i, d, p) {
265
+ var b = 1e4 > _.recentlyCreatedOwnerStacks++;
266
+ return x(
267
267
  r,
268
- a,
268
+ n,
269
269
  i,
270
270
  !0,
271
- u,
272
- b,
273
- g ? Error("react-stack-top-frame") : B,
274
- g ? S(l(r)) : I
271
+ d,
272
+ p,
273
+ b ? Error("react-stack-top-frame") : I,
274
+ b ? A(o(r)) : Y
275
275
  );
276
276
  };
277
- }()), k;
277
+ }()), T;
278
278
  }
279
279
  var G;
280
- function we() {
281
- return G || (G = 1, process.env.NODE_ENV === "production" ? T.exports = pe() : T.exports = Ve()), T.exports;
280
+ function ye() {
281
+ return G || (G = 1, process.env.NODE_ENV === "production" ? E.exports = je() : E.exports = we()), E.exports;
282
282
  }
283
- var e = we();
284
- function E(...s) {
285
- return s.filter(Boolean).join(" ");
283
+ var e = ye();
284
+ const ke = {
285
+ bg: "bg-indigo-600",
286
+ activeBg: "bg-indigo-700",
287
+ text: "text-indigo-200",
288
+ activeText: "text-white",
289
+ hoverBg: "hover:bg-indigo-700",
290
+ hoverText: "hover:text-white"
291
+ };
292
+ function h(...a) {
293
+ return a.filter(Boolean).join(" ");
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;
297
+ return /* @__PURE__ */ e.jsxs("li", { children: [
298
+ /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
299
+ "a",
300
+ {
301
+ href: c ? void 0 : a.href,
302
+ onClick: (t) => {
303
+ c && (t.preventDefault(), o(!l));
304
+ },
305
+ className: h(
306
+ a.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
307
+ "group flex items-center justify-between gap-x-3 rounded-md p-2 text-sm/6 font-semibold",
308
+ c ? "cursor-pointer" : ""
309
+ ),
310
+ children: [
311
+ /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-x-3", children: [
312
+ /* @__PURE__ */ e.jsx(
313
+ a.icon,
314
+ {
315
+ "aria-hidden": "true",
316
+ className: h(
317
+ a.current ? s.activeText : `${s.text} group-${s.hoverText}`,
318
+ "size-6 shrink-0"
319
+ )
320
+ }
321
+ ),
322
+ a.name
323
+ ] }),
324
+ c && /* @__PURE__ */ e.jsx(
325
+ Ve,
326
+ {
327
+ className: h(
328
+ "size-5 shrink-0 transition-transform",
329
+ l ? "rotate-180" : "",
330
+ a.current ? s.activeText : s.text
331
+ )
332
+ }
333
+ )
334
+ ]
335
+ }
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(
338
+ "a",
339
+ {
340
+ href: t.href,
341
+ className: h(
342
+ t.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
343
+ "group flex gap-x-3 rounded-md p-2 text-sm/6 font-semibold"
344
+ ),
345
+ children: [
346
+ /* @__PURE__ */ e.jsx(
347
+ t.icon,
348
+ {
349
+ "aria-hidden": "true",
350
+ className: h(
351
+ t.current ? s.activeText : `${s.text} group-${s.hoverText}`,
352
+ "size-5 shrink-0"
353
+ )
354
+ }
355
+ ),
356
+ t.name
357
+ ]
358
+ }
359
+ ) }, t.name)) })
360
+ ] });
286
361
  }
287
- function De({ company: s, profile: n, navigation: t }) {
288
- const [l, c] = N(!1);
362
+ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
363
+ const [c, t] = k(!1);
289
364
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
290
- /* @__PURE__ */ e.jsxs(ve, { open: l, onClose: c, className: "relative z-50 lg:hidden", children: [
365
+ /* @__PURE__ */ e.jsxs(xe, { open: c, onClose: t, className: "relative z-50 lg:hidden", children: [
291
366
  /* @__PURE__ */ e.jsx(
292
367
  he,
293
368
  {
@@ -296,146 +371,106 @@ function De({ company: s, profile: n, navigation: t }) {
296
371
  }
297
372
  ),
298
373
  /* @__PURE__ */ e.jsx("div", { className: "fixed inset-0 flex", children: /* @__PURE__ */ e.jsxs(
299
- xe,
374
+ fe,
300
375
  {
301
376
  transition: !0,
302
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",
303
378
  children: [
304
- /* @__PURE__ */ e.jsx(fe, { 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: () => c(!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: [
305
380
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close sidebar" }),
306
- /* @__PURE__ */ e.jsx(ge, { "aria-hidden": "true", className: "size-6 text-white" })
381
+ /* @__PURE__ */ e.jsx(be, { "aria-hidden": "true", className: "size-6 text-white" })
307
382
  ] }) }) }),
308
- /* @__PURE__ */ e.jsxs("div", { className: "flex grow flex-col gap-y-5 overflow-y-auto bg-indigo-600 px-6 pb-2", children: [
383
+ /* @__PURE__ */ e.jsxs("div", { className: h("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2", o.bg), children: [
309
384
  /* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
310
385
  "img",
311
386
  {
312
- alt: s.name,
313
- src: s.logo,
387
+ alt: a.name,
388
+ src: a.logo,
314
389
  className: "h-8 w-auto"
315
390
  }
316
391
  ) }),
317
- /* @__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((o) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
318
- "a",
319
- {
320
- href: o.href,
321
- className: E(
322
- o.current ? "bg-indigo-700 text-white" : "text-indigo-200 hover:bg-indigo-700 hover:text-white",
323
- "group flex gap-x-3 rounded-md p-2 text-sm/6 font-semibold"
324
- ),
325
- children: [
326
- /* @__PURE__ */ e.jsx(
327
- o.icon,
328
- {
329
- "aria-hidden": "true",
330
- className: E(
331
- o.current ? "text-white" : "text-indigo-200 group-hover:text-white",
332
- "size-6 shrink-0"
333
- )
334
- }
335
- ),
336
- o.name
337
- ]
338
- }
339
- ) }, o.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: l.map((u) => /* @__PURE__ */ e.jsx(J, { item: u, colorScheme: o }, u.name)) }) }) }) })
340
393
  ] })
341
394
  ]
342
395
  }
343
396
  ) })
344
397
  ] }),
345
- /* @__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: "flex grow flex-col gap-y-5 overflow-y-auto bg-indigo-600 px-6", 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: h("flex grow flex-col gap-y-5 overflow-y-auto px-6", o.bg), children: [
346
399
  /* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
347
400
  "img",
348
401
  {
349
- alt: s.name,
350
- src: s.logo,
402
+ alt: a.name,
403
+ src: a.logo,
351
404
  className: "h-8 w-auto"
352
405
  }
353
406
  ) }),
354
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: [
355
- /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((o) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
356
- "a",
357
- {
358
- href: o.href,
359
- className: E(
360
- o.current ? "bg-indigo-700 text-white" : "text-indigo-200 hover:bg-indigo-700 hover:text-white",
361
- "group flex gap-x-3 rounded-md p-2 text-sm/6 font-semibold"
362
- ),
363
- children: [
364
- /* @__PURE__ */ e.jsx(
365
- o.icon,
366
- {
367
- "aria-hidden": "true",
368
- className: E(
369
- o.current ? "text-white" : "text-indigo-200 group-hover:text-white",
370
- "size-6 shrink-0"
371
- )
372
- }
373
- ),
374
- o.name
375
- ]
376
- }
377
- ) }, o.name)) }) }),
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)) }) }),
378
409
  /* @__PURE__ */ e.jsx("li", { className: "-mx-6 mt-auto", children: /* @__PURE__ */ e.jsxs(
379
410
  "a",
380
411
  {
381
412
  href: "#",
382
- className: "flex items-center gap-x-4 px-6 py-3 text-sm/6 font-semibold text-white hover:bg-indigo-700",
413
+ className: h(
414
+ "flex items-center gap-x-4 px-6 py-3 text-sm/6 font-semibold",
415
+ o.activeText,
416
+ o.hoverBg
417
+ ),
383
418
  children: [
384
419
  /* @__PURE__ */ e.jsx(
385
420
  "img",
386
421
  {
387
- alt: n.name,
388
- src: n.image,
389
- className: "size-8 rounded-full bg-indigo-700"
422
+ alt: s.name,
423
+ src: s.image,
424
+ className: h("size-8 rounded-full", o.activeBg)
390
425
  }
391
426
  ),
392
427
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
393
- /* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children: n.name })
428
+ /* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children: s.name })
394
429
  ]
395
430
  }
396
431
  ) })
397
432
  ] }) })
398
433
  ] }) }),
399
- /* @__PURE__ */ e.jsxs("div", { className: "sticky top-0 z-40 flex items-center gap-x-6 bg-indigo-600 px-4 py-4 shadow-xs sm:px-6 lg:hidden", children: [
400
- /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => c(!0), className: "-m-2.5 p-2.5 text-indigo-200 lg:hidden", children: [
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: [
401
436
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Open sidebar" }),
402
- /* @__PURE__ */ e.jsx(be, { "aria-hidden": "true", className: "size-6" })
437
+ /* @__PURE__ */ e.jsx(pe, { "aria-hidden": "true", className: "size-6" })
403
438
  ] }),
404
- /* @__PURE__ */ e.jsx("div", { className: "flex-1 text-sm/6 font-semibold text-white", children: "Dashboard" }),
439
+ /* @__PURE__ */ e.jsx("div", { className: h("flex-1 text-sm/6 font-semibold", o.activeText), children: "Dashboard" }),
405
440
  /* @__PURE__ */ e.jsxs("a", { href: "#", children: [
406
441
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
407
442
  /* @__PURE__ */ e.jsx(
408
443
  "img",
409
444
  {
410
- alt: n.name,
411
- src: n.image,
412
- className: "size-8 rounded-full bg-indigo-700"
445
+ alt: s.name,
446
+ src: s.image,
447
+ className: h("size-8 rounded-full", o.activeBg)
413
448
  }
414
449
  )
415
450
  ] })
416
451
  ] })
417
452
  ] }) });
418
453
  }
419
- const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value: t }) => {
420
- const l = `rgb(${t})`;
454
+ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value: l }) => {
455
+ const o = `rgb(${l})`;
421
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: [
422
457
  /* @__PURE__ */ e.jsx(
423
458
  "div",
424
459
  {
425
- className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Z(n)}`
460
+ className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Q(s)}`
426
461
  }
427
462
  ),
428
463
  /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
429
- /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: s }),
430
- /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: n }),
431
- /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-secondary", children: l })
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 }),
466
+ /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-secondary", children: o })
432
467
  ] })
433
468
  ] });
434
- }, J = ({ title: s, colors: n }) => /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
435
- /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: s }),
436
- /* @__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: n.map((t) => /* @__PURE__ */ e.jsx(je, { ...t }, t.name)) })
437
- ] }), ye = () => {
438
- const s = [
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)) })
472
+ ] }), Te = () => {
473
+ const a = [
439
474
  {
440
475
  title: "Success Colors (Green)",
441
476
  colors: [
@@ -484,7 +519,7 @@ const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value
484
519
  { name: "950", cssVar: "--color-error-950", value: "69 10 10" }
485
520
  ]
486
521
  }
487
- ], n = [
522
+ ], s = [
488
523
  {
489
524
  title: "Reseda Green",
490
525
  colors: [
@@ -635,7 +670,7 @@ const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value
635
670
  { name: "900", cssVar: "--color-beaver-900", value: "235 229 224" }
636
671
  ]
637
672
  }
638
- ], t = [
673
+ ], l = [
639
674
  { name: "Background", cssVar: "--color-background" },
640
675
  { name: "Surface", cssVar: "--color-surface" },
641
676
  { name: "Surface Variant", cssVar: "--color-surface-variant" },
@@ -650,68 +685,63 @@ const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value
650
685
  /* @__PURE__ */ e.jsx("h1", { className: "text-3xl font-bold text-text-primary", children: "AceMyJob Color Palette" }),
651
686
  /* @__PURE__ */ e.jsx("p", { className: "text-text-secondary", children: "Your complete design system color reference" })
652
687
  ] }),
653
- n.map((l) => /* @__PURE__ */ e.jsx(J, { ...l }, l.title)),
654
- s.map((l) => /* @__PURE__ */ e.jsx(J, { ...l }, l.title)),
688
+ s.map((o) => /* @__PURE__ */ e.jsx(H, { ...o }, o.title)),
689
+ a.map((o) => /* @__PURE__ */ e.jsx(H, { ...o }, o.title)),
655
690
  /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
656
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)" }),
657
- /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children: t.map((l) => /* @__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: 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: [
658
693
  /* @__PURE__ */ e.jsx(
659
694
  "div",
660
695
  {
661
- className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Z(l.cssVar)}`
696
+ className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Q(o.cssVar)}`
662
697
  }
663
698
  ),
664
699
  /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
665
- /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: l.name }),
666
- /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: l.cssVar })
700
+ /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: o.name }),
701
+ /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: o.cssVar })
667
702
  ] })
668
- ] }, l.name)) })
703
+ ] }, o.name)) })
669
704
  ] }),
670
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" }) })
671
706
  ] });
672
- }, K = X(void 0), ke = ({
673
- children: s,
674
- defaultTheme: n = "system",
675
- storageKey: t = "acemyjob-ui-theme"
707
+ }, Z = me(void 0), Ee = ({
708
+ children: a,
709
+ defaultTheme: s = "system",
710
+ storageKey: l = "acemyjob-ui-theme"
676
711
  }) => {
677
- const [l, c] = N(n), [o, d] = N("light"), [x, p] = N(!1);
678
- L(() => {
679
- const h = localStorage.getItem(t);
680
- h && c(h), p(!0);
681
- }, [t]), L(() => {
682
- if (!x) return;
683
- const h = window.document.documentElement, f = () => {
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(() => {
717
+ if (!f) return;
718
+ const x = window.document.documentElement, g = () => {
684
719
  let v;
685
- l === "system" ? v = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : v = l, d(v), h.classList.remove("light", "dark"), h.classList.add(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);
686
721
  };
687
- if (f(), l === "system") {
688
- const v = window.matchMedia("(prefers-color-scheme: dark)"), w = () => f();
722
+ if (g(), o === "system") {
723
+ const v = window.matchMedia("(prefers-color-scheme: dark)"), w = () => g();
689
724
  return v.addEventListener("change", w), () => v.removeEventListener("change", w);
690
725
  }
691
- }, [l, x]);
692
- const V = {
693
- theme: l,
694
- setTheme: (h) => {
695
- localStorage.setItem(t, h), c(h);
726
+ }, [o, f]);
727
+ const j = {
728
+ theme: o,
729
+ setTheme: (x) => {
730
+ localStorage.setItem(l, x), c(x);
696
731
  },
697
- resolvedTheme: o
732
+ resolvedTheme: t
698
733
  };
699
- return /* @__PURE__ */ e.jsx(K.Provider, { value: V, children: s });
700
- }, Me = () => {
701
- const s = Q(K);
702
- if (s === void 0)
703
- throw new Error("useTheme must be used within a ThemeProvider");
704
- return s;
705
- }, Ne = X(void 0), Te = () => {
706
- const s = Q(Ne);
707
- if (s === void 0)
734
+ return /* @__PURE__ */ e.jsx(Z.Provider, { value: j, children: a });
735
+ }, Re = () => {
736
+ const a = ve(Z);
737
+ if (a === void 0)
708
738
  throw new Error("useTheme must be used within a ThemeProvider");
709
- return s;
710
- }, Ee = () => {
711
- const { theme: s, setTheme: n } = Te(), [t, l] = N(!1);
712
- if (L(() => {
713
- l(!0);
714
- }, []), !t)
739
+ return a;
740
+ }, Ce = () => {
741
+ const { theme: a, setTheme: s } = Re(), [l, o] = k(!1);
742
+ if (D(() => {
743
+ o(!0);
744
+ }, []), !l)
715
745
  return /* @__PURE__ */ e.jsxs(
716
746
  "button",
717
747
  {
@@ -724,9 +754,9 @@ const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value
724
754
  }
725
755
  );
726
756
  const c = () => {
727
- n(s === "light" ? "dark" : s === "dark" ? "system" : "light");
728
- }, o = () => {
729
- switch (s) {
757
+ s(a === "light" ? "dark" : a === "dark" ? "system" : "light");
758
+ }, t = () => {
759
+ switch (a) {
730
760
  case "light":
731
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" }) });
732
762
  case "dark":
@@ -734,8 +764,8 @@ const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value
734
764
  case "system":
735
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" }) });
736
766
  }
737
- }, d = () => {
738
- switch (s) {
767
+ }, u = () => {
768
+ switch (a) {
739
769
  case "light":
740
770
  return "Light";
741
771
  case "dark":
@@ -749,17 +779,17 @@ const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value
749
779
  {
750
780
  onClick: c,
751
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",
752
- "aria-label": `Current theme: ${d()}. Click to cycle themes.`,
782
+ "aria-label": `Current theme: ${u()}. Click to cycle themes.`,
753
783
  children: [
754
- o(),
755
- /* @__PURE__ */ e.jsx("span", { className: "hidden sm:inline", children: d() })
784
+ t(),
785
+ /* @__PURE__ */ e.jsx("span", { className: "hidden sm:inline", children: u() })
756
786
  ]
757
787
  }
758
788
  );
759
- }, Re = () => /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
760
- /* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(Ee, {}) }),
761
- /* @__PURE__ */ e.jsx(ye, {})
762
- ] }), ze = () => /* @__PURE__ */ e.jsx(ke, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(Re, {}) }), H = {
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, {}) }), q = {
763
793
  variant: {
764
794
  default: "bg-reseda-green-500 text-white hover:bg-reseda-green-600 focus-visible:ring-reseda-green-500",
765
795
  destructive: "bg-error-500 text-white hover:bg-error-600 focus-visible:ring-error-500",
@@ -777,33 +807,33 @@ const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value
777
807
  xl: "h-12 rounded-md px-10 text-base",
778
808
  icon: "h-10 w-10"
779
809
  }
780
- }, _e = "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", Ce = (...s) => s.filter(Boolean).join(" "), ee = 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 = (...a) => a.filter(Boolean).join(" "), K = S.forwardRef(
781
811
  ({
782
- className: s,
783
- variant: n = "default",
784
- size: t = "default",
785
- fullWidth: l = !1,
812
+ className: a,
813
+ variant: s = "default",
814
+ size: l = "default",
815
+ fullWidth: o = !1,
786
816
  loading: c = !1,
787
- leftIcon: o,
788
- rightIcon: d,
789
- children: x,
790
- disabled: p,
791
- ...V
792
- }, h) => {
793
- const f = p || c, v = Ce(
794
- _e,
795
- H.variant[n],
796
- H.size[t],
797
- l ? "w-full" : "",
798
- s
817
+ leftIcon: t,
818
+ rightIcon: u,
819
+ children: f,
820
+ disabled: V,
821
+ ...j
822
+ }, x) => {
823
+ const g = V || c, v = Oe(
824
+ Ae,
825
+ q.variant[s],
826
+ q.size[l],
827
+ o ? "w-full" : "",
828
+ a
799
829
  );
800
830
  return /* @__PURE__ */ e.jsxs(
801
831
  "button",
802
832
  {
803
833
  className: v,
804
- ref: h,
805
- disabled: f,
806
- ...V,
834
+ ref: x,
835
+ disabled: g,
836
+ ...j,
807
837
  children: [
808
838
  c && /* @__PURE__ */ e.jsxs(
809
839
  "svg",
@@ -835,16 +865,16 @@ const Z = (s) => s.replace("--color-", "bg-"), je = ({ name: s, cssVar: n, value
835
865
  ]
836
866
  }
837
867
  ),
838
- !c && o && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: o }),
839
- x,
840
- !c && d && /* @__PURE__ */ e.jsx("span", { className: "ml-2", children: d })
868
+ !c && t && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: t }),
869
+ f,
870
+ !c && u && /* @__PURE__ */ e.jsx("span", { className: "ml-2", children: u })
841
871
  ]
842
872
  }
843
873
  );
844
874
  }
845
875
  );
846
- ee.displayName = "Button";
847
- const q = {
876
+ K.displayName = "Button";
877
+ const X = {
848
878
  provider: {
849
879
  linkedin: "bg-[#0077B5] hover:bg-[#005885] text-white focus-visible:ring-[#0077B5]"
850
880
  },
@@ -853,55 +883,55 @@ const q = {
853
883
  right: "flex-row-reverse",
854
884
  only: "justify-center"
855
885
  }
856
- }, Se = (...s) => s.filter(Boolean).join(" "), Ae = D.forwardRef(
886
+ }, Pe = (...a) => a.filter(Boolean).join(" "), Le = S.forwardRef(
857
887
  ({
858
- className: s,
859
- provider: n,
860
- iconPosition: t = "left",
861
- icon: l,
888
+ className: a,
889
+ provider: s,
890
+ iconPosition: l = "left",
891
+ icon: o,
862
892
  showText: c = !0,
863
- children: o,
864
- size: d = "default",
865
- fullWidth: x = !0,
866
- ...p
867
- }, V) => {
868
- const f = l || {
893
+ children: t,
894
+ size: u = "default",
895
+ fullWidth: f = !0,
896
+ ...V
897
+ }, j) => {
898
+ const g = o || {
869
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" }) })
870
- }[n], w = o || (c ? {
900
+ }[s], w = t || (c ? {
871
901
  linkedin: "Continue with LinkedIn"
872
- }[n] : ""), R = Se(
902
+ }[s] : ""), R = Pe(
873
903
  "relative overflow-hidden transition-all duration-200",
874
- q.provider[n],
875
- q.iconPosition[t],
876
- s
904
+ X.provider[s],
905
+ X.iconPosition[l],
906
+ a
877
907
  );
878
908
  return /* @__PURE__ */ e.jsxs(
879
- ee,
909
+ K,
880
910
  {
881
- ref: V,
911
+ ref: j,
882
912
  variant: "none",
883
913
  className: R,
884
- size: d,
885
- fullWidth: x,
886
- leftIcon: t === "left" ? f : void 0,
887
- rightIcon: t === "right" ? f : void 0,
888
- ...p,
914
+ size: u,
915
+ fullWidth: f,
916
+ leftIcon: l === "left" ? g : void 0,
917
+ rightIcon: l === "right" ? g : void 0,
918
+ ...V,
889
919
  children: [
890
- t === "only" && f,
891
- t !== "only" && w
920
+ l === "only" && g,
921
+ l !== "only" && w
892
922
  ]
893
923
  }
894
924
  );
895
925
  }
896
926
  );
897
- Ae.displayName = "SocialButton";
927
+ Le.displayName = "SocialButton";
898
928
  export {
899
- ee as Button,
900
- ye as ColorPalette,
901
- ze as Demo,
902
- De as Sidebar,
903
- Ae as SocialButton,
904
- ke as ThemeProvider,
905
- Ee as ThemeToggle,
906
- Me as useTheme
929
+ K as Button,
930
+ Te as ColorPalette,
931
+ Me as Demo,
932
+ $e as Sidebar,
933
+ Le as SocialButton,
934
+ Ee as ThemeProvider,
935
+ Ce as ThemeToggle,
936
+ Re as useTheme
907
937
  };