acemyjob-ui 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acemyjob-ui.es.js +233 -194
- package/dist/acemyjob-ui.umd.js +4 -4
- package/dist/component/Stepper/Stepper.d.ts +10 -0
- package/dist/component/Stepper/index.d.ts +1 -0
- package/dist/component/Tab/Tab.d.ts +13 -0
- package/dist/component/Tab/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
|
|
1
|
+
import B, { useState as N, createContext as me, useEffect as $, useContext as ve } from "react";
|
|
2
2
|
import { Dialog as xe, DialogBackdrop as he, DialogPanel as fe, TransitionChild as ge } from "@headlessui/react";
|
|
3
|
-
import { XMarkIcon as be, Bars3Icon as pe, ChevronDownIcon as
|
|
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
|
|
@@ -11,27 +11,27 @@ var E = { exports: {} }, N = {};
|
|
|
11
11
|
* This source code is licensed under the MIT license found in the
|
|
12
12
|
* LICENSE file in the root directory of this source tree.
|
|
13
13
|
*/
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
if (
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
function
|
|
14
|
+
var W;
|
|
15
|
+
function Ve() {
|
|
16
|
+
if (W) return k;
|
|
17
|
+
W = 1;
|
|
18
|
+
var s = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
|
|
19
|
+
function n(o, c, l) {
|
|
20
20
|
var u = null;
|
|
21
|
-
if (
|
|
22
|
-
|
|
21
|
+
if (l !== void 0 && (u = "" + l), c.key !== void 0 && (u = "" + c.key), "key" in c) {
|
|
22
|
+
l = {};
|
|
23
23
|
for (var f in c)
|
|
24
|
-
f !== "key" && (
|
|
25
|
-
} else
|
|
26
|
-
return c =
|
|
27
|
-
$$typeof:
|
|
24
|
+
f !== "key" && (l[f] = c[f]);
|
|
25
|
+
} else l = c;
|
|
26
|
+
return c = l.ref, {
|
|
27
|
+
$$typeof: s,
|
|
28
28
|
type: o,
|
|
29
29
|
key: u,
|
|
30
30
|
ref: c !== void 0 ? c : null,
|
|
31
|
-
props:
|
|
31
|
+
props: l
|
|
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
|
/**
|
|
@@ -43,10 +43,10 @@ var T = {};
|
|
|
43
43
|
* This source code is licensed under the MIT license found in the
|
|
44
44
|
* LICENSE file in the root directory of this source tree.
|
|
45
45
|
*/
|
|
46
|
-
var
|
|
46
|
+
var G;
|
|
47
47
|
function we() {
|
|
48
|
-
return
|
|
49
|
-
function
|
|
48
|
+
return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
|
|
49
|
+
function s(r) {
|
|
50
50
|
if (r == null) return null;
|
|
51
51
|
if (typeof r == "function")
|
|
52
52
|
return r.$$typeof === ie ? null : r.displayName || r.name || null;
|
|
@@ -71,51 +71,51 @@ function we() {
|
|
|
71
71
|
), r.$$typeof) {
|
|
72
72
|
case R:
|
|
73
73
|
return "Portal";
|
|
74
|
-
case se:
|
|
75
|
-
return (r.displayName || "Context") + ".Provider";
|
|
76
74
|
case ae:
|
|
75
|
+
return (r.displayName || "Context") + ".Provider";
|
|
76
|
+
case se:
|
|
77
77
|
return (r._context.displayName || "Context") + ".Consumer";
|
|
78
78
|
case oe:
|
|
79
|
-
var
|
|
80
|
-
return r = r.displayName, r || (r =
|
|
79
|
+
var t = r.render;
|
|
80
|
+
return r = r.displayName, r || (r = t.displayName || t.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
|
|
81
81
|
case le:
|
|
82
|
-
return
|
|
83
|
-
case
|
|
84
|
-
|
|
82
|
+
return t = r.displayName || null, t !== null ? t : s(r.type) || "Memo";
|
|
83
|
+
case S:
|
|
84
|
+
t = r._payload, r = r._init;
|
|
85
85
|
try {
|
|
86
|
-
return
|
|
86
|
+
return s(r(t));
|
|
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 t = !1;
|
|
99
99
|
} catch {
|
|
100
|
-
|
|
100
|
+
t = !0;
|
|
101
101
|
}
|
|
102
|
-
if (
|
|
103
|
-
|
|
104
|
-
var i =
|
|
102
|
+
if (t) {
|
|
103
|
+
t = console;
|
|
104
|
+
var i = t.error, d = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
105
105
|
return i.call(
|
|
106
|
-
|
|
106
|
+
t,
|
|
107
107
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
108
108
|
d
|
|
109
|
-
),
|
|
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 t = s(r);
|
|
118
|
+
return t ? "<" + t + ">" : "<...>";
|
|
119
119
|
} catch {
|
|
120
120
|
return "<...>";
|
|
121
121
|
}
|
|
@@ -124,21 +124,21 @@ function we() {
|
|
|
124
124
|
var r = _.A;
|
|
125
125
|
return r === null ? null : r.getOwner();
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function l() {
|
|
128
128
|
return Error("react-stack-top-frame");
|
|
129
129
|
}
|
|
130
130
|
function u(r) {
|
|
131
|
-
if (
|
|
132
|
-
var
|
|
133
|
-
if (
|
|
131
|
+
if (M.call(r, "key")) {
|
|
132
|
+
var t = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
133
|
+
if (t && t.isReactWarning) return !1;
|
|
134
134
|
}
|
|
135
135
|
return r.key !== void 0;
|
|
136
136
|
}
|
|
137
|
-
function f(r,
|
|
137
|
+
function f(r, t) {
|
|
138
138
|
function i() {
|
|
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
|
+
t
|
|
142
142
|
));
|
|
143
143
|
}
|
|
144
144
|
i.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
@@ -146,22 +146,22 @@ function we() {
|
|
|
146
146
|
configurable: !0
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
|
-
function
|
|
150
|
-
var r =
|
|
151
|
-
return
|
|
149
|
+
function j() {
|
|
150
|
+
var r = s(this.type);
|
|
151
|
+
return I[r] || (I[r] = !0, console.error(
|
|
152
152
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
153
153
|
)), r = this.props.ref, r !== void 0 ? r : null;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function V(r, t, i, d, p, b, O, P) {
|
|
156
156
|
return i = b.ref, r = {
|
|
157
157
|
$$typeof: w,
|
|
158
158
|
type: r,
|
|
159
|
-
key:
|
|
159
|
+
key: t,
|
|
160
160
|
props: b,
|
|
161
161
|
_owner: p
|
|
162
162
|
}, (i !== void 0 ? i : null) !== null ? Object.defineProperty(r, "ref", {
|
|
163
163
|
enumerable: !1,
|
|
164
|
-
get:
|
|
164
|
+
get: j
|
|
165
165
|
}) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
|
|
166
166
|
configurable: !1,
|
|
167
167
|
enumerable: !1,
|
|
@@ -184,8 +184,8 @@ function we() {
|
|
|
184
184
|
value: P
|
|
185
185
|
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
|
|
186
186
|
}
|
|
187
|
-
function x(r,
|
|
188
|
-
var m =
|
|
187
|
+
function x(r, t, i, d, p, b, O, P) {
|
|
188
|
+
var m = t.children;
|
|
189
189
|
if (m !== void 0)
|
|
190
190
|
if (d)
|
|
191
191
|
if (ue(m)) {
|
|
@@ -197,12 +197,12 @@ function we() {
|
|
|
197
197
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
198
198
|
);
|
|
199
199
|
else g(m);
|
|
200
|
-
if (
|
|
201
|
-
m =
|
|
202
|
-
var y = Object.keys(
|
|
200
|
+
if (M.call(t, "key")) {
|
|
201
|
+
m = s(r);
|
|
202
|
+
var y = Object.keys(t).filter(function(de) {
|
|
203
203
|
return de !== "key";
|
|
204
204
|
});
|
|
205
|
-
d = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
205
|
+
d = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", U[m + d] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
206
206
|
`A props object containing a "key" prop is being spread into JSX:
|
|
207
207
|
let props = %s;
|
|
208
208
|
<%s {...props} />
|
|
@@ -213,17 +213,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
213
213
|
m,
|
|
214
214
|
y,
|
|
215
215
|
m
|
|
216
|
-
),
|
|
216
|
+
), U[m + d] = !0);
|
|
217
217
|
}
|
|
218
|
-
if (m = null, i !== void 0 && (
|
|
218
|
+
if (m = null, i !== void 0 && (n(i), m = "" + i), u(t) && (n(t.key), m = "" + t.key), "key" in t) {
|
|
219
219
|
i = {};
|
|
220
|
-
for (var L in
|
|
221
|
-
L !== "key" && (i[L] =
|
|
222
|
-
} else i =
|
|
220
|
+
for (var L in t)
|
|
221
|
+
L !== "key" && (i[L] = t[L]);
|
|
222
|
+
} else i = t;
|
|
223
223
|
return m && f(
|
|
224
224
|
i,
|
|
225
225
|
typeof r == "function" ? r.displayName || r.name || "Unknown" : r
|
|
226
|
-
),
|
|
226
|
+
), V(
|
|
227
227
|
r,
|
|
228
228
|
m,
|
|
229
229
|
b,
|
|
@@ -237,7 +237,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
237
237
|
function g(r) {
|
|
238
238
|
typeof r == "object" && r !== null && r.$$typeof === w && r._store && (r._store.validated = 1);
|
|
239
239
|
}
|
|
240
|
-
var v =
|
|
240
|
+
var v = B, w = Symbol.for("react.transitional.element"), R = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), re = Symbol.for("react.profiler"), se = Symbol.for("react.consumer"), ae = Symbol.for("react.context"), oe = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), le = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), ce = Symbol.for("react.activity"), ie = Symbol.for("react.client.reference"), _ = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, ue = Array.isArray, A = console.createTask ? console.createTask : function() {
|
|
241
241
|
return null;
|
|
242
242
|
};
|
|
243
243
|
v = {
|
|
@@ -245,43 +245,43 @@ React keys must be passed directly to JSX without using spread:
|
|
|
245
245
|
return r();
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
|
-
var
|
|
248
|
+
var z, I = {}, Y = v["react-stack-bottom-frame"].bind(
|
|
249
249
|
v,
|
|
250
|
-
|
|
251
|
-
)(),
|
|
252
|
-
T.Fragment = C, T.jsx = function(r,
|
|
250
|
+
l
|
|
251
|
+
)(), F = A(o(l)), U = {};
|
|
252
|
+
T.Fragment = C, T.jsx = function(r, t, i, d, p) {
|
|
253
253
|
var b = 1e4 > _.recentlyCreatedOwnerStacks++;
|
|
254
254
|
return x(
|
|
255
255
|
r,
|
|
256
|
-
|
|
256
|
+
t,
|
|
257
257
|
i,
|
|
258
258
|
!1,
|
|
259
259
|
d,
|
|
260
260
|
p,
|
|
261
|
-
b ? Error("react-stack-top-frame") :
|
|
262
|
-
b ? A(o(r)) :
|
|
261
|
+
b ? Error("react-stack-top-frame") : Y,
|
|
262
|
+
b ? A(o(r)) : F
|
|
263
263
|
);
|
|
264
|
-
}, T.jsxs = function(r,
|
|
264
|
+
}, T.jsxs = function(r, t, i, d, p) {
|
|
265
265
|
var b = 1e4 > _.recentlyCreatedOwnerStacks++;
|
|
266
266
|
return x(
|
|
267
267
|
r,
|
|
268
|
-
|
|
268
|
+
t,
|
|
269
269
|
i,
|
|
270
270
|
!0,
|
|
271
271
|
d,
|
|
272
272
|
p,
|
|
273
|
-
b ? Error("react-stack-top-frame") :
|
|
274
|
-
b ? A(o(r)) :
|
|
273
|
+
b ? Error("react-stack-top-frame") : Y,
|
|
274
|
+
b ? A(o(r)) : F
|
|
275
275
|
);
|
|
276
276
|
};
|
|
277
277
|
}()), T;
|
|
278
278
|
}
|
|
279
|
-
var
|
|
279
|
+
var J;
|
|
280
280
|
function ye() {
|
|
281
|
-
return
|
|
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 h(...
|
|
293
|
-
return
|
|
292
|
+
function h(...s) {
|
|
293
|
+
return s.filter(Boolean).join(" ");
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
const [
|
|
295
|
+
function H({ item: s, colorScheme: a }) {
|
|
296
|
+
const [n, o] = N(s.current || s.children?.some((l) => l.current)), c = s.children && s.children.length > 0;
|
|
297
297
|
return /* @__PURE__ */ e.jsxs("li", { children: [
|
|
298
298
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
|
|
299
299
|
"a",
|
|
300
300
|
{
|
|
301
|
-
href: c ? void 0 :
|
|
302
|
-
onClick: (
|
|
303
|
-
c && (
|
|
301
|
+
href: c ? void 0 : s.href,
|
|
302
|
+
onClick: (l) => {
|
|
303
|
+
c && (l.preventDefault(), o(!n));
|
|
304
304
|
},
|
|
305
305
|
className: h(
|
|
306
|
-
|
|
306
|
+
s.current ? `${a.activeBg} ${a.activeText}` : `${a.text} ${a.hoverBg} ${a.hoverText}`,
|
|
307
307
|
"group flex items-center justify-between gap-x-3 rounded-md p-2 text-sm/6 font-semibold",
|
|
308
308
|
c ? "cursor-pointer" : ""
|
|
309
309
|
),
|
|
310
310
|
children: [
|
|
311
311
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-x-3", children: [
|
|
312
312
|
/* @__PURE__ */ e.jsx(
|
|
313
|
-
|
|
313
|
+
s.icon,
|
|
314
314
|
{
|
|
315
315
|
"aria-hidden": "true",
|
|
316
316
|
className: h(
|
|
317
|
-
|
|
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
324
|
c && /* @__PURE__ */ e.jsx(
|
|
325
|
-
|
|
325
|
+
je,
|
|
326
326
|
{
|
|
327
327
|
className: h(
|
|
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
|
-
c &&
|
|
337
|
+
c && n && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: s.children.map((l) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
|
|
338
338
|
"a",
|
|
339
339
|
{
|
|
340
|
-
href:
|
|
340
|
+
href: l.href,
|
|
341
341
|
className: h(
|
|
342
|
-
|
|
342
|
+
l.current ? `${a.activeBg} ${a.activeText}` : `${a.text} ${a.hoverBg} ${a.hoverText}`,
|
|
343
343
|
"group flex gap-x-3 rounded-md p-2 text-sm/6 font-semibold"
|
|
344
344
|
),
|
|
345
345
|
children: [
|
|
346
346
|
/* @__PURE__ */ e.jsx(
|
|
347
|
-
|
|
347
|
+
l.icon,
|
|
348
348
|
{
|
|
349
349
|
"aria-hidden": "true",
|
|
350
350
|
className: h(
|
|
351
|
-
|
|
351
|
+
l.current ? a.activeText : `${a.text} group-${a.hoverText}`,
|
|
352
352
|
"size-5 shrink-0"
|
|
353
353
|
)
|
|
354
354
|
}
|
|
355
355
|
),
|
|
356
|
-
|
|
356
|
+
l.name
|
|
357
357
|
]
|
|
358
358
|
}
|
|
359
|
-
) },
|
|
359
|
+
) }, l.name)) })
|
|
360
360
|
] });
|
|
361
361
|
}
|
|
362
|
-
function
|
|
363
|
-
const [c,
|
|
362
|
+
function Se({ company: s, profile: a, navigation: n, colorScheme: o = Ne }) {
|
|
363
|
+
const [c, l] = N(!1);
|
|
364
364
|
return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
365
|
-
/* @__PURE__ */ e.jsxs(xe, { open: c, onClose:
|
|
365
|
+
/* @__PURE__ */ e.jsxs(xe, { open: c, onClose: l, className: "relative z-50 lg:hidden", children: [
|
|
366
366
|
/* @__PURE__ */ e.jsx(
|
|
367
367
|
he,
|
|
368
368
|
{
|
|
@@ -376,7 +376,7 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
|
|
|
376
376
|
transition: !0,
|
|
377
377
|
className: "relative mr-16 flex w-full max-w-xs flex-1 transform transition duration-300 ease-in-out data-closed:-translate-x-full",
|
|
378
378
|
children: [
|
|
379
|
-
/* @__PURE__ */ e.jsx(ge, { children: /* @__PURE__ */ e.jsx("div", { className: "absolute top-0 left-full flex w-16 justify-center pt-5 duration-300 ease-in-out data-closed:opacity-0", children: /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () =>
|
|
379
|
+
/* @__PURE__ */ e.jsx(ge, { children: /* @__PURE__ */ e.jsx("div", { className: "absolute top-0 left-full flex w-16 justify-center pt-5 duration-300 ease-in-out data-closed:opacity-0", children: /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => l(!1), className: "-m-2.5 p-2.5", children: [
|
|
380
380
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close sidebar" }),
|
|
381
381
|
/* @__PURE__ */ e.jsx(be, { "aria-hidden": "true", className: "size-6 text-white" })
|
|
382
382
|
] }) }) }),
|
|
@@ -384,12 +384,12 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
|
|
|
384
384
|
/* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
|
|
385
385
|
"img",
|
|
386
386
|
{
|
|
387
|
-
alt:
|
|
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((u) => /* @__PURE__ */ e.jsx(H, { item: u, colorScheme: o }, u.name)) }) }) }) })
|
|
393
393
|
] })
|
|
394
394
|
]
|
|
395
395
|
}
|
|
@@ -399,13 +399,13 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
|
|
|
399
399
|
/* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
|
|
400
400
|
"img",
|
|
401
401
|
{
|
|
402
|
-
alt:
|
|
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((u) => /* @__PURE__ */ e.jsx(H, { item: u, colorScheme: o }, u.name)) }) }),
|
|
409
409
|
/* @__PURE__ */ e.jsx("li", { className: "-mx-6 mt-auto", children: /* @__PURE__ */ e.jsxs(
|
|
410
410
|
"a",
|
|
411
411
|
{
|
|
@@ -419,20 +419,20 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
|
|
|
419
419
|
/* @__PURE__ */ e.jsx(
|
|
420
420
|
"img",
|
|
421
421
|
{
|
|
422
|
-
alt:
|
|
423
|
-
src:
|
|
422
|
+
alt: a.name,
|
|
423
|
+
src: a.image,
|
|
424
424
|
className: h("size-8 rounded-full", o.activeBg)
|
|
425
425
|
}
|
|
426
426
|
),
|
|
427
427
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
|
|
428
|
-
/* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children:
|
|
428
|
+
/* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children: a.name })
|
|
429
429
|
]
|
|
430
430
|
}
|
|
431
431
|
) })
|
|
432
432
|
] }) })
|
|
433
433
|
] }) }),
|
|
434
434
|
/* @__PURE__ */ e.jsxs("div", { className: h("sticky top-0 z-40 flex items-center gap-x-6 px-4 py-4 shadow-xs sm:px-6 lg:hidden", o.bg), children: [
|
|
435
|
-
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () =>
|
|
435
|
+
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => l(!0), className: h("-m-2.5 p-2.5 lg:hidden", o.text), children: [
|
|
436
436
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Open sidebar" }),
|
|
437
437
|
/* @__PURE__ */ e.jsx(pe, { "aria-hidden": "true", className: "size-6" })
|
|
438
438
|
] }),
|
|
@@ -442,8 +442,8 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
|
|
|
442
442
|
/* @__PURE__ */ e.jsx(
|
|
443
443
|
"img",
|
|
444
444
|
{
|
|
445
|
-
alt:
|
|
446
|
-
src:
|
|
445
|
+
alt: a.name,
|
|
446
|
+
src: a.image,
|
|
447
447
|
className: h("size-8 rounded-full", o.activeBg)
|
|
448
448
|
}
|
|
449
449
|
)
|
|
@@ -451,26 +451,26 @@ function $e({ company: a, profile: s, navigation: l, colorScheme: o = ke }) {
|
|
|
451
451
|
] })
|
|
452
452
|
] }) });
|
|
453
453
|
}
|
|
454
|
-
const
|
|
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 ${
|
|
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
|
-
},
|
|
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 Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
519
519
|
{ name: "950", cssVar: "--color-error-950", value: "69 10 10" }
|
|
520
520
|
]
|
|
521
521
|
}
|
|
522
|
-
],
|
|
522
|
+
], a = [
|
|
523
523
|
{
|
|
524
524
|
title: "Reseda Green",
|
|
525
525
|
colors: [
|
|
@@ -670,7 +670,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
670
670
|
{ name: "900", cssVar: "--color-beaver-900", value: "235 229 224" }
|
|
671
671
|
]
|
|
672
672
|
}
|
|
673
|
-
],
|
|
673
|
+
], n = [
|
|
674
674
|
{ name: "Background", cssVar: "--color-background" },
|
|
675
675
|
{ name: "Surface", cssVar: "--color-surface" },
|
|
676
676
|
{ name: "Surface Variant", cssVar: "--color-surface-variant" },
|
|
@@ -685,15 +685,15 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
685
685
|
/* @__PURE__ */ e.jsx("h1", { className: "text-3xl font-bold text-text-primary", children: "AceMyJob Color Palette" }),
|
|
686
686
|
/* @__PURE__ */ e.jsx("p", { className: "text-text-secondary", children: "Your complete design system color reference" })
|
|
687
687
|
] }),
|
|
688
|
-
|
|
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
|
{
|
|
696
|
-
className: `w-16 h-16 rounded-lg border border-border shadow-sm ${
|
|
696
|
+
className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Z(o.cssVar)}`
|
|
697
697
|
}
|
|
698
698
|
),
|
|
699
699
|
/* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
|
|
@@ -704,16 +704,16 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
704
704
|
] }),
|
|
705
705
|
/* @__PURE__ */ e.jsx("div", { className: "text-center pt-8 border-t border-border-subtle", children: /* @__PURE__ */ e.jsx("p", { className: "text-text-muted text-sm", children: "Toggle between light and dark themes to see how semantic colors adapt" }) })
|
|
706
706
|
] });
|
|
707
|
-
},
|
|
708
|
-
children:
|
|
709
|
-
defaultTheme:
|
|
710
|
-
storageKey:
|
|
707
|
+
}, K = me(void 0), Ee = ({
|
|
708
|
+
children: s,
|
|
709
|
+
defaultTheme: a = "system",
|
|
710
|
+
storageKey: n = "acemyjob-ui-theme"
|
|
711
711
|
}) => {
|
|
712
|
-
const [o, c] =
|
|
713
|
-
|
|
714
|
-
const x = localStorage.getItem(
|
|
715
|
-
x && c(x),
|
|
716
|
-
}, [
|
|
712
|
+
const [o, c] = N(a), [l, u] = N("light"), [f, j] = N(!1);
|
|
713
|
+
$(() => {
|
|
714
|
+
const x = localStorage.getItem(n);
|
|
715
|
+
x && c(x), j(!0);
|
|
716
|
+
}, [n]), $(() => {
|
|
717
717
|
if (!f) return;
|
|
718
718
|
const x = window.document.documentElement, g = () => {
|
|
719
719
|
let v;
|
|
@@ -724,24 +724,24 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
724
724
|
return v.addEventListener("change", w), () => v.removeEventListener("change", w);
|
|
725
725
|
}
|
|
726
726
|
}, [o, f]);
|
|
727
|
-
const
|
|
727
|
+
const V = {
|
|
728
728
|
theme: o,
|
|
729
729
|
setTheme: (x) => {
|
|
730
|
-
localStorage.setItem(
|
|
730
|
+
localStorage.setItem(n, x), c(x);
|
|
731
731
|
},
|
|
732
|
-
resolvedTheme:
|
|
732
|
+
resolvedTheme: l
|
|
733
733
|
};
|
|
734
|
-
return /* @__PURE__ */ e.jsx(
|
|
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 ($(() => {
|
|
743
743
|
o(!0);
|
|
744
|
-
}, []), !
|
|
744
|
+
}, []), !n)
|
|
745
745
|
return /* @__PURE__ */ e.jsxs(
|
|
746
746
|
"button",
|
|
747
747
|
{
|
|
@@ -754,9 +754,9 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
754
754
|
}
|
|
755
755
|
);
|
|
756
756
|
const c = () => {
|
|
757
|
-
s
|
|
758
|
-
},
|
|
759
|
-
switch (
|
|
757
|
+
a(s === "light" ? "dark" : s === "dark" ? "system" : "light");
|
|
758
|
+
}, l = () => {
|
|
759
|
+
switch (s) {
|
|
760
760
|
case "light":
|
|
761
761
|
return /* @__PURE__ */ e.jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z" }) });
|
|
762
762
|
case "dark":
|
|
@@ -765,7 +765,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
765
765
|
return /* @__PURE__ */ e.jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" }) });
|
|
766
766
|
}
|
|
767
767
|
}, u = () => {
|
|
768
|
-
switch (
|
|
768
|
+
switch (s) {
|
|
769
769
|
case "light":
|
|
770
770
|
return "Light";
|
|
771
771
|
case "dark":
|
|
@@ -781,7 +781,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
781
781
|
className: "flex items-center gap-2 px-3 py-2 text-sm font-medium text-text-secondary hover:text-text-primary bg-surface hover:bg-surface-variant border border-border-subtle rounded-md transition-colors",
|
|
782
782
|
"aria-label": `Current theme: ${u()}. Click to cycle themes.`,
|
|
783
783
|
children: [
|
|
784
|
-
|
|
784
|
+
l(),
|
|
785
785
|
/* @__PURE__ */ e.jsx("span", { className: "hidden sm:inline", children: u() })
|
|
786
786
|
]
|
|
787
787
|
}
|
|
@@ -789,7 +789,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
789
789
|
}, _e = () => /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
|
|
790
790
|
/* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(Ce, {}) }),
|
|
791
791
|
/* @__PURE__ */ e.jsx(Te, {})
|
|
792
|
-
] }), Me = () => /* @__PURE__ */ e.jsx(Ee, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(_e, {}) }),
|
|
792
|
+
] }), Me = () => /* @__PURE__ */ e.jsx(Ee, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(_e, {}) }), X = {
|
|
793
793
|
variant: {
|
|
794
794
|
default: "bg-reseda-green-500 text-white hover:bg-reseda-green-600 focus-visible:ring-reseda-green-500",
|
|
795
795
|
destructive: "bg-error-500 text-white hover:bg-error-600 focus-visible:ring-error-500",
|
|
@@ -807,25 +807,25 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
807
807
|
xl: "h-12 rounded-md px-10 text-base",
|
|
808
808
|
icon: "h-10 w-10"
|
|
809
809
|
}
|
|
810
|
-
}, Ae = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", Oe = (...
|
|
810
|
+
}, Ae = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", Oe = (...s) => s.filter(Boolean).join(" "), D = B.forwardRef(
|
|
811
811
|
({
|
|
812
|
-
className:
|
|
813
|
-
variant:
|
|
814
|
-
size:
|
|
812
|
+
className: s,
|
|
813
|
+
variant: a = "default",
|
|
814
|
+
size: n = "default",
|
|
815
815
|
fullWidth: o = !1,
|
|
816
816
|
loading: c = !1,
|
|
817
|
-
leftIcon:
|
|
817
|
+
leftIcon: l,
|
|
818
818
|
rightIcon: u,
|
|
819
819
|
children: f,
|
|
820
|
-
disabled:
|
|
821
|
-
...
|
|
820
|
+
disabled: j,
|
|
821
|
+
...V
|
|
822
822
|
}, x) => {
|
|
823
|
-
const g =
|
|
823
|
+
const g = j || c, v = Oe(
|
|
824
824
|
Ae,
|
|
825
|
-
|
|
826
|
-
|
|
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",
|
|
@@ -833,7 +833,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
833
833
|
className: v,
|
|
834
834
|
ref: x,
|
|
835
835
|
disabled: g,
|
|
836
|
-
...
|
|
836
|
+
...V,
|
|
837
837
|
children: [
|
|
838
838
|
c && /* @__PURE__ */ e.jsxs(
|
|
839
839
|
"svg",
|
|
@@ -865,7 +865,7 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
865
865
|
]
|
|
866
866
|
}
|
|
867
867
|
),
|
|
868
|
-
!c &&
|
|
868
|
+
!c && l && /* @__PURE__ */ e.jsx("span", { className: "mr-2", children: l }),
|
|
869
869
|
f,
|
|
870
870
|
!c && u && /* @__PURE__ */ e.jsx("span", { className: "ml-2", children: u })
|
|
871
871
|
]
|
|
@@ -873,8 +873,8 @@ const Q = (a) => a.replace("--color-", "bg-"), Ne = ({ name: a, cssVar: s, value
|
|
|
873
873
|
);
|
|
874
874
|
}
|
|
875
875
|
);
|
|
876
|
-
|
|
877
|
-
const
|
|
876
|
+
D.displayName = "Button";
|
|
877
|
+
const Q = {
|
|
878
878
|
provider: {
|
|
879
879
|
linkedin: "bg-[#0077B5] hover:bg-[#005885] text-white focus-visible:ring-[#0077B5]"
|
|
880
880
|
},
|
|
@@ -883,54 +883,93 @@ const X = {
|
|
|
883
883
|
right: "flex-row-reverse",
|
|
884
884
|
only: "justify-center"
|
|
885
885
|
}
|
|
886
|
-
}, Pe = (...
|
|
886
|
+
}, Pe = (...s) => s.filter(Boolean).join(" "), Le = B.forwardRef(
|
|
887
887
|
({
|
|
888
|
-
className:
|
|
889
|
-
provider:
|
|
890
|
-
iconPosition:
|
|
888
|
+
className: s,
|
|
889
|
+
provider: a,
|
|
890
|
+
iconPosition: n = "left",
|
|
891
891
|
icon: o,
|
|
892
892
|
showText: c = !0,
|
|
893
|
-
children:
|
|
893
|
+
children: l,
|
|
894
894
|
size: u = "default",
|
|
895
895
|
fullWidth: f = !0,
|
|
896
|
-
...
|
|
897
|
-
},
|
|
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 = l || (c ? {
|
|
901
901
|
linkedin: "Continue with LinkedIn"
|
|
902
|
-
}[
|
|
902
|
+
}[a] : ""), R = Pe(
|
|
903
903
|
"relative overflow-hidden transition-all duration-200",
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
904
|
+
Q.provider[a],
|
|
905
|
+
Q.iconPosition[n],
|
|
906
|
+
s
|
|
907
907
|
);
|
|
908
908
|
return /* @__PURE__ */ e.jsxs(
|
|
909
|
-
|
|
909
|
+
D,
|
|
910
910
|
{
|
|
911
|
-
ref:
|
|
911
|
+
ref: V,
|
|
912
912
|
variant: "none",
|
|
913
913
|
className: R,
|
|
914
914
|
size: u,
|
|
915
915
|
fullWidth: f,
|
|
916
|
-
leftIcon:
|
|
917
|
-
rightIcon:
|
|
918
|
-
...
|
|
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
927
|
Le.displayName = "SocialButton";
|
|
928
|
+
function ze({ tabs: s, activeTab: a, disabled: n = !1, onChange: o }) {
|
|
929
|
+
return /* @__PURE__ */ e.jsx("div", { className: "flex border-b border-border mb-6", children: s.map((c) => {
|
|
930
|
+
const l = a === c.id;
|
|
931
|
+
return /* @__PURE__ */ e.jsx(
|
|
932
|
+
D,
|
|
933
|
+
{
|
|
934
|
+
variant: "ghost",
|
|
935
|
+
onClick: () => !n && o(c.id),
|
|
936
|
+
disabled: n && !l,
|
|
937
|
+
className: `px-4 py-2.5 text-sm font-medium whitespace-nowrap transition-colors border-b-2 -mb-px ${l ? "border-reseda-green-700 text-reseda-green-700" : n ? "border-transparent text-text-disabled cursor-not-allowed" : "border-transparent text-text-secondary hover:text-text-primary"}`,
|
|
938
|
+
children: c.label
|
|
939
|
+
},
|
|
940
|
+
c.id
|
|
941
|
+
);
|
|
942
|
+
}) });
|
|
943
|
+
}
|
|
944
|
+
function Ie({ currentStep: s, steps: a }) {
|
|
945
|
+
return /* @__PURE__ */ e.jsx("nav", { className: "mb-10", children: /* @__PURE__ */ e.jsx("ol", { className: "flex items-center w-full", children: a.map((n, o) => /* @__PURE__ */ e.jsxs("li", { className: `flex items-center ${o < a.length - 1 ? "flex-1" : ""}`, children: [
|
|
946
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center", children: [
|
|
947
|
+
/* @__PURE__ */ e.jsx(
|
|
948
|
+
"span",
|
|
949
|
+
{
|
|
950
|
+
className: `flex items-center justify-center w-9 h-9 rounded-full text-sm font-semibold shrink-0 ${s === n.number ? "bg-reseda-green-700 text-white" : s > n.number ? "bg-success-500 text-white" : "border-2 border-border text-text-muted"}`,
|
|
951
|
+
children: n.number
|
|
952
|
+
}
|
|
953
|
+
),
|
|
954
|
+
/* @__PURE__ */ e.jsx(
|
|
955
|
+
"span",
|
|
956
|
+
{
|
|
957
|
+
className: `ml-3 text-sm font-medium whitespace-nowrap ${s >= n.number ? "text-reseda-green-800" : "text-text-muted"}`,
|
|
958
|
+
children: n.label
|
|
959
|
+
}
|
|
960
|
+
)
|
|
961
|
+
] }),
|
|
962
|
+
o < a.length - 1 && /* @__PURE__ */ e.jsx("div", { className: "flex-1 h-0.5 mx-4 bg-border" })
|
|
963
|
+
] }, n.number)) }) });
|
|
964
|
+
}
|
|
928
965
|
export {
|
|
929
|
-
|
|
966
|
+
D as Button,
|
|
930
967
|
Te as ColorPalette,
|
|
931
968
|
Me as Demo,
|
|
932
|
-
|
|
969
|
+
Se as Sidebar,
|
|
933
970
|
Le as SocialButton,
|
|
971
|
+
Ie as Stepper,
|
|
972
|
+
ze as TabBar,
|
|
934
973
|
Ee as ThemeProvider,
|
|
935
974
|
Ce as ThemeToggle,
|
|
936
975
|
Re as useTheme
|