@sigtes/ui 0.3.4 → 0.4.1

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,70 +1,88 @@
1
1
  "use client";
2
- import ee from "react";
3
- import { Slot as re } from "@radix-ui/react-slot";
4
- import { cva as te } from "class-variance-authority";
5
- import { twMerge as ne } from "tailwind-merge";
6
- var g = { exports: {} }, m = {};
7
- var I;
2
+ import re from "react";
3
+ import { Slot as te } from "@radix-ui/react-slot";
4
+ import { cva as ne } from "class-variance-authority";
5
+ import { twMerge as oe } from "tailwind-merge";
6
+ var _ = { exports: {} }, p = {};
7
+ /**
8
+ * @license React
9
+ * react-jsx-runtime.production.js
10
+ *
11
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */
16
+ var F;
8
17
  function ae() {
9
- if (I) return m;
10
- I = 1;
11
- var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.fragment");
12
- function i(a, u, c) {
13
- var d = null;
14
- if (c !== void 0 && (d = "" + c), u.key !== void 0 && (d = "" + u.key), "key" in u) {
15
- c = {};
16
- for (var v in u)
17
- v !== "key" && (c[v] = u[v]);
18
- } else c = u;
19
- return u = c.ref, {
18
+ if (F) return p;
19
+ F = 1;
20
+ var t = Symbol.for("react.transitional.element"), c = Symbol.for("react.fragment");
21
+ function a(o, s, l) {
22
+ var v = null;
23
+ if (l !== void 0 && (v = "" + l), s.key !== void 0 && (v = "" + s.key), "key" in s) {
24
+ l = {};
25
+ for (var b in s)
26
+ b !== "key" && (l[b] = s[b]);
27
+ } else l = s;
28
+ return s = l.ref, {
20
29
  $$typeof: t,
21
- type: a,
22
- key: d,
23
- ref: u !== void 0 ? u : null,
24
- props: c
30
+ type: o,
31
+ key: v,
32
+ ref: s !== void 0 ? s : null,
33
+ props: l
25
34
  };
26
35
  }
27
- return m.Fragment = l, m.jsx = i, m.jsxs = i, m;
36
+ return p.Fragment = c, p.jsx = a, p.jsxs = a, p;
28
37
  }
29
- var b = {};
30
- var $;
31
- function oe() {
32
- return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
38
+ var g = {};
39
+ /**
40
+ * @license React
41
+ * react-jsx-runtime.development.js
42
+ *
43
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
44
+ *
45
+ * This source code is licensed under the MIT license found in the
46
+ * LICENSE file in the root directory of this source tree.
47
+ */
48
+ var D;
49
+ function se() {
50
+ return D || (D = 1, process.env.NODE_ENV !== "production" && (function() {
33
51
  function t(e) {
34
52
  if (e == null) return null;
35
53
  if (typeof e == "function")
36
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
54
+ return e.$$typeof === Q ? null : e.displayName || e.name || null;
37
55
  if (typeof e == "string") return e;
38
56
  switch (e) {
39
- case E:
57
+ case R:
40
58
  return "Fragment";
41
- case U:
59
+ case V:
42
60
  return "Profiler";
43
- case W:
61
+ case U:
44
62
  return "StrictMode";
45
- case G:
46
- return "Suspense";
47
63
  case X:
64
+ return "Suspense";
65
+ case B:
48
66
  return "SuspenseList";
49
- case H:
67
+ case Z:
50
68
  return "Activity";
51
69
  }
52
70
  if (typeof e == "object")
53
71
  switch (typeof e.tag == "number" && console.error(
54
72
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
55
73
  ), e.$$typeof) {
56
- case L:
74
+ case W:
57
75
  return "Portal";
76
+ case q:
77
+ return (e.displayName || "Context") + ".Provider";
58
78
  case J:
59
- return e.displayName || "Context";
60
- case V:
61
79
  return (e._context.displayName || "Context") + ".Consumer";
62
- case q:
80
+ case G:
63
81
  var r = e.render;
64
82
  return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
65
- case B:
83
+ case H:
66
84
  return r = e.displayName || null, r !== null ? r : t(e.type) || "Memo";
67
- case R:
85
+ case S:
68
86
  r = e._payload, e = e._init;
69
87
  try {
70
88
  return t(e(r));
@@ -73,29 +91,29 @@ function oe() {
73
91
  }
74
92
  return null;
75
93
  }
76
- function l(e) {
94
+ function c(e) {
77
95
  return "" + e;
78
96
  }
79
- function i(e) {
97
+ function a(e) {
80
98
  try {
81
- l(e);
99
+ c(e);
82
100
  var r = !1;
83
101
  } catch {
84
102
  r = !0;
85
103
  }
86
104
  if (r) {
87
105
  r = console;
88
- var n = r.error, o = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
106
+ var n = r.error, i = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
89
107
  return n.call(
90
108
  r,
91
109
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
92
- o
93
- ), l(e);
110
+ i
111
+ ), c(e);
94
112
  }
95
113
  }
96
- function a(e) {
97
- if (e === E) return "<>";
98
- if (typeof e == "object" && e !== null && e.$$typeof === R)
114
+ function o(e) {
115
+ if (e === R) return "<>";
116
+ if (typeof e == "object" && e !== null && e.$$typeof === S)
99
117
  return "<...>";
100
118
  try {
101
119
  var r = t(e);
@@ -104,23 +122,23 @@ function oe() {
104
122
  return "<...>";
105
123
  }
106
124
  }
107
- function u() {
125
+ function s() {
108
126
  var e = h.A;
109
127
  return e === null ? null : e.getOwner();
110
128
  }
111
- function c() {
129
+ function l() {
112
130
  return Error("react-stack-top-frame");
113
131
  }
114
- function d(e) {
115
- if (S.call(e, "key")) {
132
+ function v(e) {
133
+ if (j.call(e, "key")) {
116
134
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
117
135
  if (r && r.isReactWarning) return !1;
118
136
  }
119
137
  return e.key !== void 0;
120
138
  }
121
- function v(e, r) {
139
+ function b(e, r) {
122
140
  function n() {
123
- j || (j = !0, console.error(
141
+ P || (P = !0, console.error(
124
142
  "%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)",
125
143
  r
126
144
  ));
@@ -130,23 +148,22 @@ function oe() {
130
148
  configurable: !0
131
149
  });
132
150
  }
133
- function z() {
151
+ function M() {
134
152
  var e = t(this.type);
135
- return P[e] || (P[e] = !0, console.error(
153
+ return N[e] || (N[e] = !0, console.error(
136
154
  "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."
137
155
  )), e = this.props.ref, e !== void 0 ? e : null;
138
156
  }
139
- function M(e, r, n, o, _, k) {
140
- var s = n.ref;
141
- return e = {
157
+ function L(e, r, n, i, d, f, k, x) {
158
+ return n = f.ref, e = {
142
159
  $$typeof: O,
143
160
  type: e,
144
161
  key: r,
145
- props: n,
146
- _owner: o
147
- }, (s !== void 0 ? s : null) !== null ? Object.defineProperty(e, "ref", {
162
+ props: f,
163
+ _owner: d
164
+ }, (n !== void 0 ? n : null) !== null ? Object.defineProperty(e, "ref", {
148
165
  enumerable: !1,
149
- get: z
166
+ get: M
150
167
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
151
168
  configurable: !1,
152
169
  enumerable: !1,
@@ -161,109 +178,112 @@ function oe() {
161
178
  configurable: !1,
162
179
  enumerable: !1,
163
180
  writable: !0,
164
- value: _
181
+ value: k
165
182
  }), Object.defineProperty(e, "_debugTask", {
166
183
  configurable: !1,
167
184
  enumerable: !1,
168
185
  writable: !0,
169
- value: k
186
+ value: x
170
187
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
171
188
  }
172
- function y(e, r, n, o, _, k) {
173
- var s = r.children;
174
- if (s !== void 0)
175
- if (o)
176
- if (Q(s)) {
177
- for (o = 0; o < s.length; o++)
178
- w(s[o]);
179
- Object.freeze && Object.freeze(s);
189
+ function w(e, r, n, i, d, f, k, x) {
190
+ var u = r.children;
191
+ if (u !== void 0)
192
+ if (i)
193
+ if (K(u)) {
194
+ for (i = 0; i < u.length; i++)
195
+ A(u[i]);
196
+ Object.freeze && Object.freeze(u);
180
197
  } else
181
198
  console.error(
182
199
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
183
200
  );
184
- else w(s);
185
- if (S.call(r, "key")) {
186
- s = t(e);
187
- var f = Object.keys(r).filter(function(K) {
188
- return K !== "key";
201
+ else A(u);
202
+ if (j.call(r, "key")) {
203
+ u = t(e);
204
+ var m = Object.keys(r).filter(function(ee) {
205
+ return ee !== "key";
189
206
  });
190
- o = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", Y[s + o] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ i = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", I[u + i] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error(
191
208
  `A props object containing a "key" prop is being spread into JSX:
192
209
  let props = %s;
193
210
  <%s {...props} />
194
211
  React keys must be passed directly to JSX without using spread:
195
212
  let props = %s;
196
213
  <%s key={someKey} {...props} />`,
197
- o,
198
- s,
199
- f,
200
- s
201
- ), Y[s + o] = !0);
214
+ i,
215
+ u,
216
+ m,
217
+ u
218
+ ), I[u + i] = !0);
202
219
  }
203
- if (s = null, n !== void 0 && (i(n), s = "" + n), d(r) && (i(r.key), s = "" + r.key), "key" in r) {
220
+ if (u = null, n !== void 0 && (a(n), u = "" + n), v(r) && (a(r.key), u = "" + r.key), "key" in r) {
204
221
  n = {};
205
- for (var x in r)
206
- x !== "key" && (n[x] = r[x]);
222
+ for (var y in r)
223
+ y !== "key" && (n[y] = r[y]);
207
224
  } else n = r;
208
- return s && v(
225
+ return u && b(
209
226
  n,
210
227
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
211
- ), M(
228
+ ), L(
212
229
  e,
213
- s,
230
+ u,
231
+ f,
232
+ d,
233
+ s(),
214
234
  n,
215
- u(),
216
- _,
217
- k
235
+ k,
236
+ x
218
237
  );
219
238
  }
220
- function w(e) {
221
- A(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === R && (e._payload.status === "fulfilled" ? A(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
222
- }
223
239
  function A(e) {
224
- return typeof e == "object" && e !== null && e.$$typeof === O;
240
+ typeof e == "object" && e !== null && e.$$typeof === O && e._store && (e._store.validated = 1);
225
241
  }
226
- var p = ee, O = /* @__PURE__ */ Symbol.for("react.transitional.element"), L = /* @__PURE__ */ Symbol.for("react.portal"), E = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), V = /* @__PURE__ */ Symbol.for("react.consumer"), J = /* @__PURE__ */ Symbol.for("react.context"), q = /* @__PURE__ */ Symbol.for("react.forward_ref"), G = /* @__PURE__ */ Symbol.for("react.suspense"), X = /* @__PURE__ */ Symbol.for("react.suspense_list"), B = /* @__PURE__ */ Symbol.for("react.memo"), R = /* @__PURE__ */ Symbol.for("react.lazy"), H = /* @__PURE__ */ Symbol.for("react.activity"), Z = /* @__PURE__ */ Symbol.for("react.client.reference"), h = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, Q = Array.isArray, T = console.createTask ? console.createTask : function() {
242
+ var E = re, O = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), q = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), X = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), h = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, K = Array.isArray, T = console.createTask ? console.createTask : function() {
227
243
  return null;
228
244
  };
229
- p = {
245
+ E = {
230
246
  react_stack_bottom_frame: function(e) {
231
247
  return e();
232
248
  }
233
249
  };
234
- var j, P = {}, N = p.react_stack_bottom_frame.bind(
235
- p,
236
- c
237
- )(), C = T(a(c)), Y = {};
238
- b.Fragment = E, b.jsx = function(e, r, n) {
239
- var o = 1e4 > h.recentlyCreatedOwnerStacks++;
240
- return y(
250
+ var P, N = {}, C = E.react_stack_bottom_frame.bind(
251
+ E,
252
+ l
253
+ )(), Y = T(o(l)), I = {};
254
+ g.Fragment = R, g.jsx = function(e, r, n, i, d) {
255
+ var f = 1e4 > h.recentlyCreatedOwnerStacks++;
256
+ return w(
241
257
  e,
242
258
  r,
243
259
  n,
244
260
  !1,
245
- o ? Error("react-stack-top-frame") : N,
246
- o ? T(a(e)) : C
261
+ i,
262
+ d,
263
+ f ? Error("react-stack-top-frame") : C,
264
+ f ? T(o(e)) : Y
247
265
  );
248
- }, b.jsxs = function(e, r, n) {
249
- var o = 1e4 > h.recentlyCreatedOwnerStacks++;
250
- return y(
266
+ }, g.jsxs = function(e, r, n, i, d) {
267
+ var f = 1e4 > h.recentlyCreatedOwnerStacks++;
268
+ return w(
251
269
  e,
252
270
  r,
253
271
  n,
254
272
  !0,
255
- o ? Error("react-stack-top-frame") : N,
256
- o ? T(a(e)) : C
273
+ i,
274
+ d,
275
+ f ? Error("react-stack-top-frame") : C,
276
+ f ? T(o(e)) : Y
257
277
  );
258
278
  };
259
- })()), b;
279
+ })()), g;
260
280
  }
261
- var F;
262
- function se() {
263
- return F || (F = 1, process.env.NODE_ENV === "production" ? g.exports = ae() : g.exports = oe()), g.exports;
281
+ var $;
282
+ function ie() {
283
+ return $ || ($ = 1, process.env.NODE_ENV === "production" ? _.exports = ae() : _.exports = se()), _.exports;
264
284
  }
265
- var ie = se();
266
- const ue = te(
285
+ var ue = ie();
286
+ const ce = ne(
267
287
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
268
288
  {
269
289
  variants: {
@@ -288,42 +308,42 @@ const ue = te(
288
308
  }
289
309
  }
290
310
  );
291
- function D(t) {
292
- var l, i, a = "";
293
- if (typeof t == "string" || typeof t == "number") a += t;
311
+ function z(t) {
312
+ var c, a, o = "";
313
+ if (typeof t == "string" || typeof t == "number") o += t;
294
314
  else if (typeof t == "object") if (Array.isArray(t)) {
295
- var u = t.length;
296
- for (l = 0; l < u; l++) t[l] && (i = D(t[l])) && (a && (a += " "), a += i);
297
- } else for (i in t) t[i] && (a && (a += " "), a += i);
298
- return a;
315
+ var s = t.length;
316
+ for (c = 0; c < s; c++) t[c] && (a = z(t[c])) && (o && (o += " "), o += a);
317
+ } else for (a in t) t[a] && (o && (o += " "), o += a);
318
+ return o;
299
319
  }
300
320
  function le() {
301
- for (var t, l, i = 0, a = "", u = arguments.length; i < u; i++) (t = arguments[i]) && (l = D(t)) && (a && (a += " "), a += l);
302
- return a;
321
+ for (var t, c, a = 0, o = "", s = arguments.length; a < s; a++) (t = arguments[a]) && (c = z(t)) && (o && (o += " "), o += c);
322
+ return o;
303
323
  }
304
- function ce(...t) {
305
- return ne(le(t));
324
+ function fe(...t) {
325
+ return oe(le(t));
306
326
  }
307
- function be({
327
+ function pe({
308
328
  className: t,
309
- variant: l,
310
- size: i,
311
- asChild: a = !1,
312
- ...u
329
+ variant: c,
330
+ size: a,
331
+ asChild: o = !1,
332
+ ...s
313
333
  }) {
314
- const c = a ? re : "button";
315
- return /* @__PURE__ */ ie.jsx(
316
- c,
334
+ const l = o ? te : "button";
335
+ return /* @__PURE__ */ ue.jsx(
336
+ l,
317
337
  {
318
338
  "data-slot": "button",
319
- className: ce(ue({ variant: l, size: i, className: t })),
320
- ...u
339
+ className: fe(ce({ variant: c, size: a, className: t })),
340
+ ...s
321
341
  }
322
342
  );
323
343
  }
324
344
  export {
325
- be as B,
326
- ue as b,
327
- ce as c,
328
- ie as j
345
+ pe as B,
346
+ ce as b,
347
+ fe as c,
348
+ ue as j
329
349
  };
@@ -0,0 +1,22 @@
1
+ "use client";"use strict";const oe=require("react"),ae=require("@radix-ui/react-slot"),se=require("class-variance-authority"),ie=require("tailwind-merge");var _={exports:{}},p={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var F;function ue(){if(F)return p;F=1;var t=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function a(o,s,l){var b=null;if(l!==void 0&&(b=""+l),s.key!==void 0&&(b=""+s.key),"key"in s){l={};for(var m in s)m!=="key"&&(l[m]=s[m])}else l=s;return s=l.ref,{$$typeof:t,type:o,key:b,ref:s!==void 0?s:null,props:l}}return p.Fragment=c,p.jsx=a,p.jsxs=a,p}var g={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var $;function ce(){return $||($=1,process.env.NODE_ENV!=="production"&&(function(){function t(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===re?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case R:return"Fragment";case G:return"Profiler";case J:return"StrictMode";case Z:return"Suspense";case Q:return"SuspenseList";case ee:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case U:return"Portal";case B:return(e.displayName||"Context")+".Provider";case X:return(e._context.displayName||"Context")+".Consumer";case H:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return r=e.displayName||null,r!==null?r:t(e.type)||"Memo";case S:r=e._payload,e=e._init;try{return t(e(r))}catch{}}return null}function c(e){return""+e}function a(e){try{c(e);var r=!1}catch{r=!0}if(r){r=console;var n=r.error,i=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",i),c(e)}}function o(e){if(e===R)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===S)return"<...>";try{var r=t(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function s(){var e=h.A;return e===null?null:e.getOwner()}function l(){return Error("react-stack-top-frame")}function b(e){if(j.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function m(e,r){function n(){P||(P=!0,console.error("%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)",r))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function V(){var e=t(this.type);return N[e]||(N[e]=!0,console.error("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.")),e=this.props.ref,e!==void 0?e:null}function W(e,r,n,i,d,f,k,x){return n=f.ref,e={$$typeof:O,type:e,key:r,props:f,_owner:d},(n!==void 0?n:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:V}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:k}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:x}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function w(e,r,n,i,d,f,k,x){var u=r.children;if(u!==void 0)if(i)if(te(u)){for(i=0;i<u.length;i++)A(u[i]);Object.freeze&&Object.freeze(u)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else A(u);if(j.call(r,"key")){u=t(e);var v=Object.keys(r).filter(function(ne){return ne!=="key"});i=0<v.length?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}",I[u+i]||(v=0<v.length?"{"+v.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
+ let props = %s;
19
+ <%s {...props} />
20
+ React keys must be passed directly to JSX without using spread:
21
+ let props = %s;
22
+ <%s key={someKey} {...props} />`,i,u,v,u),I[u+i]=!0)}if(u=null,n!==void 0&&(a(n),u=""+n),b(r)&&(a(r.key),u=""+r.key),"key"in r){n={};for(var y in r)y!=="key"&&(n[y]=r[y])}else n=r;return u&&m(n,typeof e=="function"?e.displayName||e.name||"Unknown":e),W(e,u,f,d,s(),n,k,x)}function A(e){typeof e=="object"&&e!==null&&e.$$typeof===O&&e._store&&(e._store.validated=1)}var E=oe,O=Symbol.for("react.transitional.element"),U=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),B=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),re=Symbol.for("react.client.reference"),h=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,te=Array.isArray,T=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(e){return e()}};var P,N={},C=E.react_stack_bottom_frame.bind(E,l)(),Y=T(o(l)),I={};g.Fragment=R,g.jsx=function(e,r,n,i,d){var f=1e4>h.recentlyCreatedOwnerStacks++;return w(e,r,n,!1,i,d,f?Error("react-stack-top-frame"):C,f?T(o(e)):Y)},g.jsxs=function(e,r,n,i,d){var f=1e4>h.recentlyCreatedOwnerStacks++;return w(e,r,n,!0,i,d,f?Error("react-stack-top-frame"):C,f?T(o(e)):Y)}})()),g}var D;function le(){return D||(D=1,process.env.NODE_ENV==="production"?_.exports=ue():_.exports=ce()),_.exports}var M=le();const z=se.cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function q(t){var c,a,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(c=0;c<s;c++)t[c]&&(a=q(t[c]))&&(o&&(o+=" "),o+=a)}else for(a in t)t[a]&&(o&&(o+=" "),o+=a);return o}function fe(){for(var t,c,a=0,o="",s=arguments.length;a<s;a++)(t=arguments[a])&&(c=q(t))&&(o&&(o+=" "),o+=c);return o}function L(...t){return ie.twMerge(fe(t))}function de({className:t,variant:c,size:a,asChild:o=!1,...s}){const l=o?ae.Slot:"button";return M.jsx(l,{"data-slot":"button",className:L(z({variant:c,size:a,className:t})),...s})}exports.Button=de;exports.buttonVariants=z;exports.cn=L;exports.jsxRuntimeExports=M;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ interface DefaultLayoutProps {
3
+ header: React.ReactNode;
4
+ sidebar: React.ReactNode;
5
+ showSidebar: boolean;
6
+ }
7
+ export declare function DefaultLayoutBase({ children, header, sidebar, showSidebar, }: DefaultLayoutProps & React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export { DefaultLayoutBase } from './DefaultLayoutBase';
@@ -0,0 +1,6 @@
1
+ import { default as React, PropsWithChildren } from 'react';
2
+ export interface DetailsLineProps {
3
+ displayName: string;
4
+ value: string | React.ReactNode;
5
+ }
6
+ export declare function DetailsLine({ displayName, value, ...props }: PropsWithChildren<DetailsLineProps> & React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface DetailsListDef {
3
+ key: string;
4
+ displayName: string;
5
+ formatFunction?: (data: any, x: any) => string | React.ReactNode;
6
+ }
7
+ interface DetailsListProps<TData> {
8
+ lines: DetailsListDef[];
9
+ data: TData;
10
+ }
11
+ export declare function DetailsList<TData>({ lines, data, ...props }: PropsWithChildren<DetailsListProps<TData>> & React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,2 @@
1
+ export { DetailsLine, type DetailsLineProps } from './DetailsLine';
2
+ export { DetailsList, type DetailsListDef } from './DetailsList';
@@ -0,0 +1,6 @@
1
+ interface HeaderProps {
2
+ pageName?: string;
3
+ hiddenSidebar: () => void;
4
+ }
5
+ export declare function HeaderBase({ pageName, hiddenSidebar, children, }: HeaderProps & React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export { HeaderBase } from './HeaderBase';
@@ -0,0 +1,4 @@
1
+ export declare function Sidebar(props: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
2
+ export declare function SidebarGroup({ children, title, }: {
3
+ title: string;
4
+ } & React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { Sidebar, SidebarGroup } from './Sidebar';