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