@plyaz/ui 0.1.4 → 0.1.5

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.
@@ -0,0 +1,10 @@
1
+ export * from './Box/Box';
2
+ export * from './Container/Container';
3
+ export * from './Flex/Flex';
4
+ export * from './Grid/Grid';
5
+ export * from './Heading/Heading';
6
+ export * from './Link/Link';
7
+ export * from './Paragraph/Paragraph';
8
+ export * from './Section/Section';
9
+ export * from './Stack/Stack';
10
+ export * from './Text/Text';
package/dist/ui.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui2.cjs"),i=require("./ui3.cjs"),t=require("./ui4.cjs"),e=require("./ui5.cjs"),n=require("./ui6.cjs"),o=require("./ui7.cjs"),a=require("./ui8.cjs"),c=require("./ui9.cjs"),u=require("./ui10.cjs"),s=require("./ui11.cjs");exports.Box=r.Box;exports.Container=i.Container;exports.Flex=t.Flex;exports.ALIGN_MAPPER=e.ALIGN_MAPPER;exports.Grid=e.Grid;exports.JUASTIFY_MAPPER=e.JUASTIFY_MAPPER;exports.Heading=n.Heading;exports.Link=o.Link;exports.Paragraph=a.Paragraph;exports.Section=c.Section;exports.Stack=u.Stack;exports.Text=s.Text;
package/dist/ui.js ADDED
@@ -0,0 +1,24 @@
1
+ import { Box as e } from "./ui2.js";
2
+ import { Container as x } from "./ui3.js";
3
+ import { Flex as f } from "./ui4.js";
4
+ import { ALIGN_MAPPER as a, Grid as i, JUASTIFY_MAPPER as n } from "./ui5.js";
5
+ import { Heading as A } from "./ui6.js";
6
+ import { Link as c } from "./ui7.js";
7
+ import { Paragraph as g } from "./ui8.js";
8
+ import { Section as E } from "./ui9.js";
9
+ import { Stack as G } from "./ui10.js";
10
+ import { Text as L } from "./ui11.js";
11
+ export {
12
+ a as ALIGN_MAPPER,
13
+ e as Box,
14
+ x as Container,
15
+ f as Flex,
16
+ i as Grid,
17
+ A as Heading,
18
+ n as JUASTIFY_MAPPER,
19
+ c as Link,
20
+ g as Paragraph,
21
+ E as Section,
22
+ G as Stack,
23
+ L as Text
24
+ };
package/dist/ui10.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./ui12.cjs");require("react");const x=require("./ui13.cjs"),n=require("./ui2.cjs"),u=({children:e,direction:t="horizontal",spacing:r="space-x-2",element:o,className:c,...s})=>{const i=t==="vertical"?"flex-col":"flex-row";return l.jsxRuntimeExports.jsx(n.Box,{element:o,className:x.clsx("flex",i,r,c),...s,children:e})};exports.Stack=u;
package/dist/ui10.js ADDED
@@ -0,0 +1,26 @@
1
+ import { j as i } from "./ui12.js";
2
+ import "react";
3
+ import { clsx as l } from "./ui13.js";
4
+ import { Box as m } from "./ui2.js";
5
+ const j = ({
6
+ children: o,
7
+ direction: r = "horizontal",
8
+ spacing: t = "space-x-2",
9
+ element: e,
10
+ className: x,
11
+ ...s
12
+ }) => {
13
+ const c = r === "vertical" ? "flex-col" : "flex-row";
14
+ return /* @__PURE__ */ i.jsx(
15
+ m,
16
+ {
17
+ element: e,
18
+ className: l("flex", c, t, x),
19
+ ...s,
20
+ children: o
21
+ }
22
+ );
23
+ };
24
+ export {
25
+ j as Stack
26
+ };
package/dist/ui11.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui12.cjs");require("react");const a=require("./ui13.cjs"),c={body:"font-sans",heading:"font-sans",caption:"font-sans"},i={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","6xl":"text-6xl","7xl":"text-7xl","8xl":"text-8xl","9xl":"text-9xl"},f={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",light:"font-light"},u=({className:l,children:s,element:n,weight:t,variant:x,size:e,...o})=>{const m=n;return r.jsxRuntimeExports.jsx(m,{className:a.clsx("font-normal text-base font-sans",e&&i[e],t&&f[t],x&&c[x],l),...o,children:s})};exports.Text=u;
package/dist/ui11.js ADDED
@@ -0,0 +1,55 @@
1
+ import { j as a } from "./ui12.js";
2
+ import "react";
3
+ import { clsx as f } from "./ui13.js";
4
+ const r = {
5
+ body: "font-sans",
6
+ heading: "font-sans",
7
+ caption: "font-sans"
8
+ }, i = {
9
+ xs: "text-xs",
10
+ sm: "text-sm",
11
+ base: "text-base",
12
+ lg: "text-lg",
13
+ xl: "text-xl",
14
+ "2xl": "text-2xl",
15
+ "3xl": "text-3xl",
16
+ "4xl": "text-4xl",
17
+ "5xl": "text-5xl",
18
+ "6xl": "text-6xl",
19
+ "7xl": "text-7xl",
20
+ "8xl": "text-8xl",
21
+ "9xl": "text-9xl"
22
+ }, b = {
23
+ normal: "font-normal",
24
+ medium: "font-medium",
25
+ semibold: "font-semibold",
26
+ bold: "font-bold",
27
+ light: "font-light"
28
+ }, p = ({
29
+ className: o,
30
+ children: s,
31
+ element: e,
32
+ weight: t,
33
+ variant: x,
34
+ size: l,
35
+ ...n
36
+ }) => {
37
+ const m = e;
38
+ return /* @__PURE__ */ a.jsx(
39
+ m,
40
+ {
41
+ className: f(
42
+ "font-normal text-base font-sans",
43
+ l && i[l],
44
+ t && b[t],
45
+ x && r[x],
46
+ o
47
+ ),
48
+ ...n,
49
+ children: s
50
+ }
51
+ );
52
+ };
53
+ export {
54
+ p as Text
55
+ };
package/dist/ui12.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ui14.cjs");var t=e.__require();exports.jsxRuntimeExports=t;
package/dist/ui12.js ADDED
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "./ui14.js";
2
+ var i = r();
3
+ export {
4
+ i as j
5
+ };
package/dist/ui13.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function n(r){var o,e,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var u=r.length;for(o=0;o<u;o++)r[o]&&(e=n(r[o]))&&(t&&(t+=" "),t+=e)}else for(e in r)r[e]&&(t&&(t+=" "),t+=e);return t}function f(){for(var r,o,e=0,t="",u=arguments.length;e<u;e++)(r=arguments[e])&&(o=n(r))&&(t&&(t+=" "),t+=o);return t}exports.clsx=f;exports.default=f;
package/dist/ui13.js ADDED
@@ -0,0 +1,17 @@
1
+ function a(r) {
2
+ var n, f, t = "";
3
+ if (typeof r == "string" || typeof r == "number") t += r;
4
+ else if (typeof r == "object") if (Array.isArray(r)) {
5
+ var o = r.length;
6
+ for (n = 0; n < o; n++) r[n] && (f = a(r[n])) && (t && (t += " "), t += f);
7
+ } else for (f in r) r[f] && (t && (t += " "), t += f);
8
+ return t;
9
+ }
10
+ function i() {
11
+ for (var r, n, f = 0, t = "", o = arguments.length; f < o; f++) (r = arguments[f]) && (n = a(r)) && (t && (t += " "), t += n);
12
+ return t;
13
+ }
14
+ export {
15
+ i as clsx,
16
+ i as default
17
+ };
package/dist/ui14.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ui15.cjs"),t=require("./ui16.cjs"),u=require("./ui17.cjs");var r;function o(){return r||(r=1,process.env.NODE_ENV==="production"?e.__module.exports=t.__require():e.__module.exports=u.__require()),e.__module.exports}exports.__require=o;
package/dist/ui14.js ADDED
@@ -0,0 +1,10 @@
1
+ import { __module as e } from "./ui15.js";
2
+ import { __require as t } from "./ui16.js";
3
+ import { __require as i } from "./ui17.js";
4
+ var r;
5
+ function m() {
6
+ return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = t() : e.exports = i(), e.exports);
7
+ }
8
+ export {
9
+ m as __require
10
+ };
package/dist/ui15.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
package/dist/ui15.js ADDED
@@ -0,0 +1,4 @@
1
+ var e = { exports: {} };
2
+ export {
3
+ e as __module
4
+ };
package/dist/ui16.cjs ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ui18.cjs");/**
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 _;function x(){if(_)return e.__exports;_=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(l,r,t){var o=null;if(t!==void 0&&(o=""+t),r.key!==void 0&&(o=""+r.key),"key"in r){t={};for(var u in r)u!=="key"&&(t[u]=r[u])}else t=r;return r=t.ref,{$$typeof:n,type:l,key:o,ref:r!==void 0?r:null,props:t}}return e.__exports.Fragment=i,e.__exports.jsx=s,e.__exports.jsxs=s,e.__exports}exports.__require=x;
package/dist/ui16.js ADDED
@@ -0,0 +1,35 @@
1
+ import { __exports as e } from "./ui18.js";
2
+ /**
3
+ * @license React
4
+ * react-jsx-runtime.production.js
5
+ *
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ var s;
12
+ function a() {
13
+ if (s) return e;
14
+ s = 1;
15
+ var i = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
16
+ function o(l, r, t) {
17
+ var u = null;
18
+ if (t !== void 0 && (u = "" + t), r.key !== void 0 && (u = "" + r.key), "key" in r) {
19
+ t = {};
20
+ for (var n in r)
21
+ n !== "key" && (t[n] = r[n]);
22
+ } else t = r;
23
+ return r = t.ref, {
24
+ $$typeof: i,
25
+ type: l,
26
+ key: u,
27
+ ref: r !== void 0 ? r : null,
28
+ props: t
29
+ };
30
+ }
31
+ return e.Fragment = _, e.jsx = o, e.jsxs = o, e;
32
+ }
33
+ export {
34
+ a as __require
35
+ };
package/dist/ui17.cjs ADDED
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./ui19.cjs"),B=require("react");/**
2
+ * @license React
3
+ * react-jsx-runtime.development.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 N;function H(){return N||(N=1,process.env.NODE_ENV!=="production"&&function(){function l(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===X?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case W:return"Profiler";case F:return"StrictMode";case q:return"Suspense";case z:return"SuspenseList";case G: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 D:return"Portal";case M:return(e.displayName||"Context")+".Provider";case L:return(e._context.displayName||"Context")+".Consumer";case U:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return r=e.displayName||null,r!==null?r:l(e.type)||"Memo";case S:r=e._payload,e=e._init;try{return l(e(r))}catch{}}return null}function T(e){return""+e}function v(e){try{T(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),T(e)}}function f(e){if(e===m)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===S)return"<...>";try{var r=l(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function x(){var e=b.A;return e===null?null:e.getOwner()}function p(){return Error("react-stack-top-frame")}function C(e){if(A.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Y(e,r){function t(){w||(w=!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))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function I(){var e=l(this.type);return P[e]||(P[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 $(e,r,t,n,c,a,_,E){return t=a.ref,e={$$typeof:k,type:e,key:r,props:a,_owner:c},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:I}):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:_}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:E}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function O(e,r,t,n,c,a,_,E){var o=r.children;if(o!==void 0)if(n)if(K(o)){for(n=0;n<o.length;n++)g(o[n]);Object.freeze&&Object.freeze(o)}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 g(o);if(A.call(r,"key")){o=l(e);var s=Object.keys(r).filter(function(J){return J!=="key"});n=0<s.length?"{key: someKey, "+s.join(": ..., ")+": ...}":"{key: someKey}",h[o+n]||(s=0<s.length?"{"+s.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
10
+ let props = %s;
11
+ <%s {...props} />
12
+ React keys must be passed directly to JSX without using spread:
13
+ let props = %s;
14
+ <%s key={someKey} {...props} />`,n,o,s,o),h[o+n]=!0)}if(o=null,t!==void 0&&(v(t),o=""+t),C(r)&&(v(r.key),o=""+r.key),"key"in r){t={};for(var R in r)R!=="key"&&(t[R]=r[R])}else t=r;return o&&Y(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),$(e,o,a,c,x(),t,_,E)}function g(e){typeof e=="object"&&e!==null&&e.$$typeof===k&&e._store&&(e._store.validated=1)}var i=B,k=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),M=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),X=Symbol.for("react.client.reference"),b=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,K=Array.isArray,d=console.createTask?console.createTask:function(){return null};i={"react-stack-bottom-frame":function(e){return e()}};var w,P={},y=i["react-stack-bottom-frame"].bind(i,p)(),j=d(f(p)),h={};u.__exports.Fragment=m,u.__exports.jsx=function(e,r,t,n,c){var a=1e4>b.recentlyCreatedOwnerStacks++;return O(e,r,t,!1,n,c,a?Error("react-stack-top-frame"):y,a?d(f(e)):j)},u.__exports.jsxs=function(e,r,t,n,c){var a=1e4>b.recentlyCreatedOwnerStacks++;return O(e,r,t,!0,n,c,a?Error("react-stack-top-frame"):y,a?d(f(e)):j)}}()),u.__exports}exports.__require=H;
@@ -1,37 +1,5 @@
1
- import ee from "react";
2
- var T = { exports: {} }, R = {};
3
- /**
4
- * @license React
5
- * react-jsx-runtime.production.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var $;
13
- function re() {
14
- if ($) return R;
15
- $ = 1;
16
- var l = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
17
- function f(d, a, s) {
18
- var m = null;
19
- if (s !== void 0 && (m = "" + s), a.key !== void 0 && (m = "" + a.key), "key" in a) {
20
- s = {};
21
- for (var E in a)
22
- E !== "key" && (s[E] = a[E]);
23
- } else s = a;
24
- return a = s.ref, {
25
- $$typeof: l,
26
- type: d,
27
- key: m,
28
- ref: a !== void 0 ? a : null,
29
- props: s
30
- };
31
- }
32
- return R.Fragment = _, R.jsx = f, R.jsxs = f, R;
33
- }
34
- var b = {};
1
+ import { __exports as u } from "./ui19.js";
2
+ import B from "react";
35
3
  /**
36
4
  * @license React
37
5
  * react-jsx-runtime.development.js
@@ -41,44 +9,44 @@ var b = {};
41
9
  * This source code is licensed under the MIT license found in the
42
10
  * LICENSE file in the root directory of this source tree.
43
11
  */
44
- var F;
45
- function te() {
46
- return F || (F = 1, process.env.NODE_ENV !== "production" && function() {
12
+ var N;
13
+ function Q() {
14
+ return N ? u : (N = 1, process.env.NODE_ENV !== "production" && function() {
47
15
  function l(e) {
48
16
  if (e == null) return null;
49
17
  if (typeof e == "function")
50
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
18
+ return e.$$typeof === X ? null : e.displayName || e.name || null;
51
19
  if (typeof e == "string") return e;
52
20
  switch (e) {
53
- case p:
21
+ case m:
54
22
  return "Fragment";
55
- case q:
23
+ case W:
56
24
  return "Profiler";
57
- case U:
25
+ case F:
58
26
  return "StrictMode";
59
- case G:
27
+ case z:
60
28
  return "Suspense";
61
- case X:
29
+ case V:
62
30
  return "SuspenseList";
63
- case H:
31
+ case G:
64
32
  return "Activity";
65
33
  }
66
34
  if (typeof e == "object")
67
35
  switch (typeof e.tag == "number" && console.error(
68
36
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
37
  ), e.$$typeof) {
70
- case W:
38
+ case D:
71
39
  return "Portal";
72
- case z:
40
+ case U:
73
41
  return (e.displayName || "Context") + ".Provider";
74
- case J:
42
+ case L:
75
43
  return (e._context.displayName || "Context") + ".Consumer";
76
- case V:
44
+ case M:
77
45
  var r = e.render;
78
46
  return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
- case B:
47
+ case q:
80
48
  return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
81
- case h:
49
+ case A:
82
50
  r = e._payload, e = e._init;
83
51
  try {
84
52
  return l(e(r));
@@ -87,12 +55,12 @@ function te() {
87
55
  }
88
56
  return null;
89
57
  }
90
- function _(e) {
58
+ function T(e) {
91
59
  return "" + e;
92
60
  }
93
- function f(e) {
61
+ function v(e) {
94
62
  try {
95
- _(e);
63
+ T(e);
96
64
  var r = !1;
97
65
  } catch {
98
66
  r = !0;
@@ -104,12 +72,12 @@ function te() {
104
72
  r,
105
73
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
74
  n
107
- ), _(e);
75
+ ), T(e);
108
76
  }
109
77
  }
110
- function d(e) {
111
- if (e === p) return "<>";
112
- if (typeof e == "object" && e !== null && e.$$typeof === h)
78
+ function f(e) {
79
+ if (e === m) return "<>";
80
+ if (typeof e == "object" && e !== null && e.$$typeof === A)
113
81
  return "<...>";
114
82
  try {
115
83
  var r = l(e);
@@ -118,23 +86,23 @@ function te() {
118
86
  return "<...>";
119
87
  }
120
88
  }
121
- function a() {
122
- var e = k.A;
89
+ function C() {
90
+ var e = b.A;
123
91
  return e === null ? null : e.getOwner();
124
92
  }
125
- function s() {
93
+ function p() {
126
94
  return Error("react-stack-top-frame");
127
95
  }
128
- function m(e) {
129
- if (x.call(e, "key")) {
96
+ function x(e) {
97
+ if (S.call(e, "key")) {
130
98
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
131
99
  if (r && r.isReactWarning) return !1;
132
100
  }
133
101
  return e.key !== void 0;
134
102
  }
135
- function E(e, r) {
103
+ function Y(e, r) {
136
104
  function t() {
137
- y || (y = !0, console.error(
105
+ w || (w = !0, console.error(
138
106
  "%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)",
139
107
  r
140
108
  ));
@@ -144,22 +112,22 @@ function te() {
144
112
  configurable: !0
145
113
  });
146
114
  }
147
- function L() {
115
+ function I() {
148
116
  var e = l(this.type);
149
- return N[e] || (N[e] = !0, console.error(
117
+ return P[e] || (P[e] = !0, console.error(
150
118
  "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."
151
119
  )), e = this.props.ref, e !== void 0 ? e : null;
152
120
  }
153
- function M(e, r, t, n, c, u, A, S) {
154
- return t = u.ref, e = {
121
+ function $(e, r, t, n, c, o, E, _) {
122
+ return t = o.ref, e = {
155
123
  $$typeof: g,
156
124
  type: e,
157
125
  key: r,
158
- props: u,
126
+ props: o,
159
127
  _owner: c
160
128
  }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
161
129
  enumerable: !1,
162
- get: L
130
+ get: I
163
131
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
164
132
  configurable: !1,
165
133
  enumerable: !1,
@@ -174,33 +142,33 @@ function te() {
174
142
  configurable: !1,
175
143
  enumerable: !1,
176
144
  writable: !0,
177
- value: A
145
+ value: E
178
146
  }), Object.defineProperty(e, "_debugTask", {
179
147
  configurable: !1,
180
148
  enumerable: !1,
181
149
  writable: !0,
182
- value: S
150
+ value: _
183
151
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
184
152
  }
185
- function w(e, r, t, n, c, u, A, S) {
186
- var o = r.children;
187
- if (o !== void 0)
153
+ function O(e, r, t, n, c, o, E, _) {
154
+ var a = r.children;
155
+ if (a !== void 0)
188
156
  if (n)
189
- if (Q(o)) {
190
- for (n = 0; n < o.length; n++)
191
- j(o[n]);
192
- Object.freeze && Object.freeze(o);
157
+ if (K(a)) {
158
+ for (n = 0; n < a.length; n++)
159
+ k(a[n]);
160
+ Object.freeze && Object.freeze(a);
193
161
  } else
194
162
  console.error(
195
163
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
164
  );
197
- else j(o);
198
- if (x.call(r, "key")) {
199
- o = l(e);
200
- var i = Object.keys(r).filter(function(K) {
201
- return K !== "key";
165
+ else k(a);
166
+ if (S.call(r, "key")) {
167
+ a = l(e);
168
+ var s = Object.keys(r).filter(function(J) {
169
+ return J !== "key";
202
170
  });
203
- n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
171
+ n = 0 < s.length ? "{key: someKey, " + s.join(": ..., ") + ": ...}" : "{key: someKey}", j[a + n] || (s = 0 < s.length ? "{" + s.join(": ..., ") + ": ...}" : "{}", console.error(
204
172
  `A props object containing a "key" prop is being spread into JSX:
205
173
  let props = %s;
206
174
  <%s {...props} />
@@ -208,74 +176,72 @@ React keys must be passed directly to JSX without using spread:
208
176
  let props = %s;
209
177
  <%s key={someKey} {...props} />`,
210
178
  n,
211
- o,
212
- i,
213
- o
214
- ), I[o + n] = !0);
179
+ a,
180
+ s,
181
+ a
182
+ ), j[a + n] = !0);
215
183
  }
216
- if (o = null, t !== void 0 && (f(t), o = "" + t), m(r) && (f(r.key), o = "" + r.key), "key" in r) {
184
+ if (a = null, t !== void 0 && (v(t), a = "" + t), x(r) && (v(r.key), a = "" + r.key), "key" in r) {
217
185
  t = {};
218
- for (var P in r)
219
- P !== "key" && (t[P] = r[P]);
186
+ for (var R in r)
187
+ R !== "key" && (t[R] = r[R]);
220
188
  } else t = r;
221
- return o && E(
189
+ return a && Y(
222
190
  t,
223
191
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
224
- ), M(
192
+ ), $(
225
193
  e,
194
+ a,
226
195
  o,
227
- u,
228
196
  c,
229
- a(),
197
+ C(),
230
198
  t,
231
- A,
232
- S
199
+ E,
200
+ _
233
201
  );
234
202
  }
235
- function j(e) {
203
+ function k(e) {
236
204
  typeof e == "object" && e !== null && e.$$typeof === g && e._store && (e._store.validated = 1);
237
205
  }
238
- var v = ee, g = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
206
+ var i = B, g = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), W = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), U = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), G = Symbol.for("react.activity"), X = Symbol.for("react.client.reference"), b = i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, K = Array.isArray, d = console.createTask ? console.createTask : function() {
239
207
  return null;
240
208
  };
241
- v = {
209
+ i = {
242
210
  "react-stack-bottom-frame": function(e) {
243
211
  return e();
244
212
  }
245
213
  };
246
- var y, N = {}, C = v["react-stack-bottom-frame"].bind(
247
- v,
248
- s
249
- )(), Y = O(d(s)), I = {};
250
- b.Fragment = p, b.jsx = function(e, r, t, n, c) {
251
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
252
- return w(
214
+ var w, P = {}, y = i["react-stack-bottom-frame"].bind(
215
+ i,
216
+ p
217
+ )(), h = d(f(p)), j = {};
218
+ u.Fragment = m, u.jsx = function(e, r, t, n, c) {
219
+ var o = 1e4 > b.recentlyCreatedOwnerStacks++;
220
+ return O(
253
221
  e,
254
222
  r,
255
223
  t,
256
224
  !1,
257
225
  n,
258
226
  c,
259
- u ? Error("react-stack-top-frame") : C,
260
- u ? O(d(e)) : Y
227
+ o ? Error("react-stack-top-frame") : y,
228
+ o ? d(f(e)) : h
261
229
  );
262
- }, b.jsxs = function(e, r, t, n, c) {
263
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
264
- return w(
230
+ }, u.jsxs = function(e, r, t, n, c) {
231
+ var o = 1e4 > b.recentlyCreatedOwnerStacks++;
232
+ return O(
265
233
  e,
266
234
  r,
267
235
  t,
268
236
  !0,
269
237
  n,
270
238
  c,
271
- u ? Error("react-stack-top-frame") : C,
272
- u ? O(d(e)) : Y
239
+ o ? Error("react-stack-top-frame") : y,
240
+ o ? d(f(e)) : h
273
241
  );
274
242
  };
275
- }()), b;
276
- }
277
- var D;
278
- function ne() {
279
- return D || (D = 1, process.env.NODE_ENV === "production" ? T.exports = re() : T.exports = te()), T.exports;
243
+ }(), u);
280
244
  }
281
- ne();
245
+ export {
246
+ Q as __require
247
+ };
package/dist/ui18.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/dist/ui18.js ADDED
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
package/dist/ui19.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/dist/ui19.js ADDED
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
package/dist/ui2.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./ui12.cjs");require("react");const i=({children:e,element:t="div",className:r="",...o})=>{const n=t;return s.jsxRuntimeExports.jsx(n,{className:r,...o,children:e})};exports.Box=i;
package/dist/ui2.js ADDED
@@ -0,0 +1,14 @@
1
+ import { j as m } from "./ui12.js";
2
+ import "react";
3
+ const i = ({
4
+ children: t,
5
+ element: o = "div",
6
+ className: r = "",
7
+ ...s
8
+ }) => {
9
+ const e = o;
10
+ return /* @__PURE__ */ m.jsx(e, { className: r, ...s, children: t });
11
+ };
12
+ export {
13
+ i as Box
14
+ };
package/dist/ui3.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./ui12.cjs");require("react");const x=require("./ui13.cjs"),n=require("./ui2.cjs"),i=({className:e="",children:r,element:t,...s})=>o.jsxRuntimeExports.jsx(n.Box,{element:t,className:x.clsx("mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl",e),...s,children:r});exports.Container=i;
package/dist/ui3.js ADDED
@@ -0,0 +1,21 @@
1
+ import { j as t } from "./ui12.js";
2
+ import "react";
3
+ import { clsx as p } from "./ui13.js";
4
+ import { Box as s } from "./ui2.js";
5
+ const l = ({
6
+ className: o = "",
7
+ children: m,
8
+ element: r,
9
+ ...x
10
+ }) => /* @__PURE__ */ t.jsx(
11
+ s,
12
+ {
13
+ element: r,
14
+ className: p("mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl", o),
15
+ ...x,
16
+ children: m
17
+ }
18
+ );
19
+ export {
20
+ l as Container
21
+ };
package/dist/ui4.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./ui12.cjs");require("react");const w=require("./ui13.cjs"),a=require("./ui2.cjs"),l=require("./ui5.cjs"),f={row:"flex-row",col:"flex-col","row-reverse":"flex-row-reverse","col-reverse":"flex-col-reverse"},R={wrap:"flex-wrap",nowrap:"flex-nowrap","wrap-reverse":"flex-wrap-reverse"},i=({children:x,gap:c,direction:e,justify:r,align:o,wrap:s,className:t="",element:n,...u})=>P.jsxRuntimeExports.jsx(a.Box,{element:n,className:w.clsx("flex",e&&f[e],r&&l.JUASTIFY_MAPPER[r],o&&l.ALIGN_MAPPER[o],s&&R[s],c,t),...u,children:x});exports.Flex=i;
package/dist/ui4.js ADDED
@@ -0,0 +1,44 @@
1
+ import { j as t } from "./ui12.js";
2
+ import "react";
3
+ import { clsx as w } from "./ui13.js";
4
+ import { Box as P } from "./ui2.js";
5
+ import { ALIGN_MAPPER as c, JUASTIFY_MAPPER as a } from "./ui5.js";
6
+ const A = {
7
+ row: "flex-row",
8
+ col: "flex-col",
9
+ "row-reverse": "flex-row-reverse",
10
+ "col-reverse": "flex-col-reverse"
11
+ }, R = {
12
+ wrap: "flex-wrap",
13
+ nowrap: "flex-nowrap",
14
+ "wrap-reverse": "flex-wrap-reverse"
15
+ }, _ = ({
16
+ children: x,
17
+ gap: l,
18
+ direction: r,
19
+ justify: e,
20
+ align: o,
21
+ wrap: s,
22
+ className: p = "",
23
+ element: f,
24
+ ...m
25
+ }) => /* @__PURE__ */ t.jsx(
26
+ P,
27
+ {
28
+ element: f,
29
+ className: w(
30
+ "flex",
31
+ r && A[r],
32
+ e && a[e],
33
+ o && c[o],
34
+ s && R[s],
35
+ l,
36
+ p
37
+ ),
38
+ ...m,
39
+ children: x
40
+ }
41
+ );
42
+ export {
43
+ _ as Flex
44
+ };
package/dist/ui5.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("./ui12.cjs");require("react");const y=require("./ui13.cjs"),l=require("./ui2.cjs"),s={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly",stretch:"justify-stretch"},r={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},m=({children:n,className:i,cols:c,rows:u,gap:o,justify:e,align:t,element:a,...d})=>j.jsxRuntimeExports.jsx(l.Box,{element:a,className:y.clsx("grid",c,u,o,e&&s[e],t&&r[t],i),...d,children:n});exports.ALIGN_MAPPER=r;exports.Grid=m;exports.JUASTIFY_MAPPER=s;
package/dist/ui5.js ADDED
@@ -0,0 +1,50 @@
1
+ import { j as a } from "./ui12.js";
2
+ import "react";
3
+ import { clsx as u } from "./ui13.js";
4
+ import { Box as f } from "./ui2.js";
5
+ const j = {
6
+ start: "justify-start",
7
+ end: "justify-end",
8
+ center: "justify-center",
9
+ between: "justify-between",
10
+ around: "justify-around",
11
+ evenly: "justify-evenly",
12
+ stretch: "justify-stretch"
13
+ }, d = {
14
+ start: "items-start",
15
+ end: "items-end",
16
+ center: "items-center",
17
+ baseline: "items-baseline",
18
+ stretch: "items-stretch"
19
+ }, b = ({
20
+ children: s,
21
+ className: r,
22
+ cols: n,
23
+ rows: i,
24
+ gap: o,
25
+ justify: t,
26
+ align: e,
27
+ element: m,
28
+ ...c
29
+ }) => /* @__PURE__ */ a.jsx(
30
+ f,
31
+ {
32
+ element: m,
33
+ className: u(
34
+ "grid",
35
+ n,
36
+ i,
37
+ o,
38
+ t && j[t],
39
+ e && d[e],
40
+ r
41
+ ),
42
+ ...c,
43
+ children: s
44
+ }
45
+ );
46
+ export {
47
+ d as ALIGN_MAPPER,
48
+ b as Grid,
49
+ j as JUASTIFY_MAPPER
50
+ };
package/dist/ui6.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui12.cjs");require("react");const l=require("./ui11.cjs"),n={xs:"xs",sm:"sm",base:"base",lg:"lg",xl:"xl","2xl":"2xl","3xl":"3xl","4xl":"4xl"},u=({children:e,element:t,className:s,size:x,...i})=>r.jsxRuntimeExports.jsx(l.Text,{element:t,weight:"medium",variant:"heading",className:s,size:n[x],...i,children:e});exports.Heading=u;
package/dist/ui6.js ADDED
@@ -0,0 +1,33 @@
1
+ import { j as l } from "./ui12.js";
2
+ import "react";
3
+ import { Text as m } from "./ui11.js";
4
+ const r = {
5
+ xs: "xs",
6
+ sm: "sm",
7
+ base: "base",
8
+ lg: "lg",
9
+ xl: "xl",
10
+ "2xl": "2xl",
11
+ "3xl": "3xl",
12
+ "4xl": "4xl"
13
+ }, g = ({
14
+ children: x,
15
+ element: s,
16
+ className: t,
17
+ size: e,
18
+ ...i
19
+ }) => /* @__PURE__ */ l.jsx(
20
+ m,
21
+ {
22
+ element: s,
23
+ weight: "medium",
24
+ variant: "heading",
25
+ className: t,
26
+ size: r[e],
27
+ ...i,
28
+ children: x
29
+ }
30
+ );
31
+ export {
32
+ g as Heading
33
+ };
package/dist/ui7.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui12.cjs");require("react");const o=require("./ui13.cjs"),s=({children:e,className:t,href:r,...n})=>i.jsxRuntimeExports.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:o.clsx("text-blue-600 hover:underline visited:text-purple-600 active:text-blue-900 focus:outline-none ",t),...n,children:e});exports.Link=s;
package/dist/ui7.js ADDED
@@ -0,0 +1,20 @@
1
+ import { j as n } from "./ui12.js";
2
+ import "react";
3
+ import { clsx as i } from "./ui13.js";
4
+ const u = ({ children: e, className: r, href: t, ...o }) => /* @__PURE__ */ n.jsx(
5
+ "a",
6
+ {
7
+ href: t,
8
+ target: "_blank",
9
+ rel: "noopener noreferrer",
10
+ className: i(
11
+ "text-blue-600 hover:underline visited:text-purple-600 active:text-blue-900 focus:outline-none ",
12
+ r
13
+ ),
14
+ ...o,
15
+ children: e
16
+ }
17
+ );
18
+ export {
19
+ u as Link
20
+ };
package/dist/ui8.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./ui12.cjs");require("react");const n=require("./ui11.cjs"),i={xs:"xs",sm:"sm",base:"base",lg:"lg"},o=({children:e,className:r,size:t,...s})=>a.jsxRuntimeExports.jsx(n.Text,{element:"p",weight:"normal",variant:"body",className:r,size:i[t],...s,children:e});exports.Paragraph=o;
package/dist/ui8.js ADDED
@@ -0,0 +1,28 @@
1
+ import { j as o } from "./ui12.js";
2
+ import "react";
3
+ import { Text as m } from "./ui11.js";
4
+ const a = {
5
+ xs: "xs",
6
+ sm: "sm",
7
+ base: "base",
8
+ lg: "lg"
9
+ }, x = ({
10
+ children: r,
11
+ className: s,
12
+ size: t,
13
+ ...e
14
+ }) => /* @__PURE__ */ o.jsx(
15
+ m,
16
+ {
17
+ element: "p",
18
+ weight: "normal",
19
+ variant: "body",
20
+ className: s,
21
+ size: a[t],
22
+ ...e,
23
+ children: r
24
+ }
25
+ );
26
+ export {
27
+ x as Paragraph
28
+ };
package/dist/ui9.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui12.cjs");require("react");const o=require("./ui13.cjs"),n=require("./ui2.cjs"),c=({className:e="",children:t,...s})=>r.jsxRuntimeExports.jsx(n.Box,{element:"section",className:o.clsx("p-4 sm:p-6 my-4 mx-2",e),...s,children:t});exports.Section=c;
package/dist/ui9.js ADDED
@@ -0,0 +1,20 @@
1
+ import { j as r } from "./ui12.js";
2
+ import "react";
3
+ import { clsx as s } from "./ui13.js";
4
+ import { Box as e } from "./ui2.js";
5
+ const c = ({
6
+ className: m = "",
7
+ children: o,
8
+ ...t
9
+ }) => /* @__PURE__ */ r.jsx(
10
+ e,
11
+ {
12
+ element: "section",
13
+ className: s("p-4 sm:p-6 my-4 mx-2", m),
14
+ ...t,
15
+ children: o
16
+ }
17
+ );
18
+ export {
19
+ c as Section
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/ui",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "A reusable, accessible, and themeable component library powering the Plyaz Web App interface. Built with performance and consistency in mind, @plyaz/ui delivers modular React components aligned with the Plyaz design system — enabling seamless development across fan-facing features, quests, NFTs, and loyalty flows in the Web3 ecosystem.",
5
5
  "main": "index.ts",
6
6
  "type": "module",
@@ -1,2 +0,0 @@
1
- export * from './index'
2
- export {}
package/dist/ui.cjs.js DELETED
@@ -1,22 +0,0 @@
1
- "use strict";const ee=require("react");var T={exports:{}},R={};/**
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 $;function re(){if($)return R;$=1;var l=Symbol.for("react.transitional.element"),_=Symbol.for("react.fragment");function f(d,a,s){var m=null;if(s!==void 0&&(m=""+s),a.key!==void 0&&(m=""+a.key),"key"in a){s={};for(var E in a)E!=="key"&&(s[E]=a[E])}else s=a;return a=s.ref,{$$typeof:l,type:d,key:m,ref:a!==void 0?a:null,props:s}}return R.Fragment=_,R.jsx=f,R.jsxs=f,R}var b={};/**
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 F;function te(){return F||(F=1,process.env.NODE_ENV!=="production"&&function(){function l(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Z?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case q:return"Profiler";case U:return"StrictMode";case G:return"Suspense";case X:return"SuspenseList";case H: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 W:return"Portal";case z:return(e.displayName||"Context")+".Provider";case J:return(e._context.displayName||"Context")+".Consumer";case V:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case B:return r=e.displayName||null,r!==null?r:l(e.type)||"Memo";case h:r=e._payload,e=e._init;try{return l(e(r))}catch{}}return null}function _(e){return""+e}function f(e){try{_(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),_(e)}}function d(e){if(e===p)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===h)return"<...>";try{var r=l(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function a(){var e=k.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function m(e){if(x.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function E(e,r){function t(){y||(y=!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))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function L(){var e=l(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 M(e,r,t,n,c,u,A,S){return t=u.ref,e={$$typeof:g,type:e,key:r,props:u,_owner:c},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:L}):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:A}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:S}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function w(e,r,t,n,c,u,A,S){var o=r.children;if(o!==void 0)if(n)if(Q(o)){for(n=0;n<o.length;n++)j(o[n]);Object.freeze&&Object.freeze(o)}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 j(o);if(x.call(r,"key")){o=l(e);var i=Object.keys(r).filter(function(K){return K!=="key"});n=0<i.length?"{key: someKey, "+i.join(": ..., ")+": ...}":"{key: someKey}",I[o+n]||(i=0<i.length?"{"+i.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} />`,n,o,i,o),I[o+n]=!0)}if(o=null,t!==void 0&&(f(t),o=""+t),m(r)&&(f(r.key),o=""+r.key),"key"in r){t={};for(var P in r)P!=="key"&&(t[P]=r[P])}else t=r;return o&&E(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),M(e,o,u,c,a(),t,A,S)}function j(e){typeof e=="object"&&e!==null&&e.$$typeof===g&&e._store&&(e._store.validated=1)}var v=ee,g=Symbol.for("react.transitional.element"),W=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),J=Symbol.for("react.consumer"),z=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),Z=Symbol.for("react.client.reference"),k=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,x=Object.prototype.hasOwnProperty,Q=Array.isArray,O=console.createTask?console.createTask:function(){return null};v={"react-stack-bottom-frame":function(e){return e()}};var y,N={},C=v["react-stack-bottom-frame"].bind(v,s)(),Y=O(d(s)),I={};b.Fragment=p,b.jsx=function(e,r,t,n,c){var u=1e4>k.recentlyCreatedOwnerStacks++;return w(e,r,t,!1,n,c,u?Error("react-stack-top-frame"):C,u?O(d(e)):Y)},b.jsxs=function(e,r,t,n,c){var u=1e4>k.recentlyCreatedOwnerStacks++;return w(e,r,t,!0,n,c,u?Error("react-stack-top-frame"):C,u?O(d(e)):Y)}}()),b}var D;function ne(){return D||(D=1,process.env.NODE_ENV==="production"?T.exports=re():T.exports=te()),T.exports}ne();
package/dist/ui.css DELETED
@@ -1 +0,0 @@
1
- #root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}