@plyaz/ui 0.1.19 → 0.2.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/types/App.d.ts +2 -1
- package/dist/types/App.d.ts.map +1 -0
- package/dist/types/components/Box/Box.d.ts +2 -1
- package/dist/types/components/Box/Box.d.ts.map +1 -0
- package/dist/types/components/Box/Box.stories.d.ts +2 -1
- package/dist/types/components/Box/Box.stories.d.ts.map +1 -0
- package/dist/types/components/Container/Container.d.ts +2 -1
- package/dist/types/components/Container/Container.d.ts.map +1 -0
- package/dist/types/components/Container/Container.stories.d.ts +2 -1
- package/dist/types/components/Container/Container.stories.d.ts.map +1 -0
- package/dist/types/components/ExternalLink/ExternalLink.d.ts +2 -1
- package/dist/types/components/ExternalLink/ExternalLink.d.ts.map +1 -0
- package/dist/types/components/ExternalLink/ExternalLink.stories.d.ts +2 -1
- package/dist/types/components/ExternalLink/ExternalLink.stories.d.ts.map +1 -0
- package/dist/types/components/Flex/Flex.d.ts +6 -5
- package/dist/types/components/Flex/Flex.d.ts.map +1 -0
- package/dist/types/components/Flex/Flex.stories.d.ts +2 -1
- package/dist/types/components/Flex/Flex.stories.d.ts.map +1 -0
- package/dist/types/components/Grid/Grid.d.ts +3 -17
- package/dist/types/components/Grid/Grid.d.ts.map +1 -0
- package/dist/types/components/Grid/Grid.stories.d.ts +2 -1
- package/dist/types/components/Grid/Grid.stories.d.ts.map +1 -0
- package/dist/types/components/Heading/Heading.d.ts +6 -5
- package/dist/types/components/Heading/Heading.d.ts.map +1 -0
- package/dist/types/components/Heading/Heading.stories.d.ts +2 -1
- package/dist/types/components/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/types/components/Paragraph/Paragraph.d.ts +2 -1
- package/dist/types/components/Paragraph/Paragraph.d.ts.map +1 -0
- package/dist/types/components/Paragraph/Paragraph.stories.d.ts +2 -1
- package/dist/types/components/Paragraph/Paragraph.stories.d.ts.map +1 -0
- package/dist/types/components/Section/Section.d.ts +2 -1
- package/dist/types/components/Section/Section.d.ts.map +1 -0
- package/dist/types/components/Section/Section.stories.d.ts +2 -1
- package/dist/types/components/Section/Section.stories.d.ts.map +1 -0
- package/dist/types/components/Stack/Stack.d.ts +3 -2
- package/dist/types/components/Stack/Stack.d.ts.map +1 -0
- package/dist/types/components/Stack/Stack.stories.d.ts +2 -1
- package/dist/types/components/Stack/Stack.stories.d.ts.map +1 -0
- package/dist/types/components/Text/Text.d.ts +13 -12
- package/dist/types/components/Text/Text.d.ts.map +1 -0
- package/dist/types/components/Text/Text.stories.d.ts +2 -1
- package/dist/types/components/Text/Text.stories.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/constants/constant.d.ts +17 -0
- package/dist/types/constants/constant.d.ts.map +1 -0
- package/dist/types/docs/DocTemplate.d.ts +2 -1
- package/dist/types/docs/DocTemplate.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/main.d.ts +1 -0
- package/dist/types/main.d.ts.map +1 -0
- package/dist/types/types/type.d.ts +2 -1
- package/dist/types/types/type.d.ts.map +1 -0
- package/dist/types/utils/cn.d.ts +3 -0
- package/dist/types/utils/cn.d.ts.map +1 -0
- package/dist/ui.cjs10.js +1 -1
- package/dist/ui.cjs11.js +1 -1
- package/dist/ui.cjs12.js +1 -1
- package/dist/ui.cjs14.js +1 -1
- package/dist/ui.cjs15.js +1 -1
- package/dist/ui.cjs16.js +1 -9
- package/dist/ui.cjs17.js +3 -8
- package/dist/ui.cjs18.js +14 -1
- package/dist/ui.cjs2.js +1 -1
- package/dist/ui.cjs20.js +1 -0
- package/dist/ui.cjs3.js +5 -1
- package/dist/ui.cjs4.js +1 -1
- package/dist/ui.cjs5.js +1 -1
- package/dist/ui.cjs6.js +1 -1
- package/dist/ui.cjs7.js +7 -1
- package/dist/ui.cjs8.js +1 -1
- package/dist/ui.cjs9.js +4 -1
- package/dist/ui.es10.js +5 -14
- package/dist/ui.es11.js +9 -12
- package/dist/ui.es12.js +1 -1
- package/dist/ui.es14.js +17 -8
- package/dist/ui.es15.js +8 -2
- package/dist/ui.es16.js +2 -33
- package/dist/ui.es17.js +23 -235
- package/dist/ui.es18.js +245 -2
- package/dist/ui.es19.js +2 -2
- package/dist/ui.es2.js +3 -9
- package/dist/ui.es20.js +4 -0
- package/dist/ui.es3.js +17 -16
- package/dist/ui.es4.js +7 -8
- package/dist/ui.es5.js +26 -42
- package/dist/ui.es6.js +10 -17
- package/dist/ui.es7.js +12 -12
- package/dist/ui.es8.js +7 -13
- package/dist/ui.es9.js +14 -13
- package/package.json +63 -11
package/dist/ui.cjs18.js
CHANGED
|
@@ -1 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./ui.cjs20.js"),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;
|
package/dist/ui.cjs2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./ui.cjs12.js")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./ui.cjs12.js"),e=({children:t,element:o="div",className:s="",...u})=>{const r=o;return i.jsxRuntimeExports.jsx(r,{className:s,...u,"data-testid":"box",children:t})};exports.Box=e;exports.default=e;
|
package/dist/ui.cjs20.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
package/dist/ui.cjs3.js
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./ui.cjs12.js")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./ui.cjs12.js"),x=require("./ui.cjs13.js"),n=require("./ui.cjs2.js"),e=({className:t="",children:s,element:r,...o})=>u.jsxRuntimeExports.jsx(n.Box,{element:r,className:x.clsx(`
|
|
2
|
+
mx-auto max-w-7xl px-4
|
|
3
|
+
sm:px-6
|
|
4
|
+
lg:px-8
|
|
5
|
+
`,t),...o,children:s});exports.Container=e;exports.default=e;
|
package/dist/ui.cjs4.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const P=require("./ui.cjs12.js")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const P=require("./ui.cjs12.js"),f=require("./ui.cjs13.js"),w=require("./ui.cjs2.js"),l=require("./ui.cjs14.js"),_={row:"flex-row",col:"flex-col",row_reverse:"flex-row-reverse",col_reverse:"flex-col-reverse"},v={wrap:"flex-wrap",nowrap:"flex-nowrap",wrap_reverse:"flex-wrap-reverse"},t=({children:x,gap:c,direction:e,justify:r,align:o,wrap:s,className:n="",element:u,...a})=>P.jsxRuntimeExports.jsx(w.Box,{element:u,className:f.clsx("flex",e&&_[e],r&&l.JUASTIFY_MAPPER[r],o&&l.ALIGN_MAPPER[o],s&&v[s],c,n),...a,children:x});exports.Flex=t;exports.default=t;
|
package/dist/ui.cjs5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./ui.cjs12.js"),a=require("./ui.cjs13.js"),P=require("./ui.cjs2.js"),t=require("./ui.cjs14.js"),s=({children:o,className:u,cols:c,rows:i,gap:n,justify:e,align:r,element:l,...x})=>d.jsxRuntimeExports.jsx(P.Box,{element:l,className:a.clsx("grid",c,i,n,e&&t.JUASTIFY_MAPPER[e],r&&t.ALIGN_MAPPER[r],u),...x,children:o});exports.Grid=s;exports.default=s;
|
package/dist/ui.cjs6.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./ui.cjs12.js"),r=require("./ui.cjs11.js"),u={xs:"xs",sm:"sm",base:"base",lg:"lg",xl:"xl","2xl":"2xl","3xl":"3xl","4xl":"4xl"},e=({children:t,element:s,className:l,size:x,...i})=>n.jsxRuntimeExports.jsx(r.Text,{className:l,element:s,size:u[x],variant:"heading",weight:"medium",...i,children:t});exports.Heading=e;exports.default=e;
|
package/dist/ui.cjs7.js
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./ui.cjs12.js"),u=require("./ui.cjs13.js"),e=({children:t,className:r,href:n,...l})=>s.jsxRuntimeExports.jsx("a",{"data-testid":"link",href:n,rel:"noopener noreferrer",target:"_blank",className:u.clsx(`
|
|
2
|
+
text-blue-600
|
|
3
|
+
visited:text-purple-600
|
|
4
|
+
hover:underline
|
|
5
|
+
focus:outline-none
|
|
6
|
+
active:text-blue-900
|
|
7
|
+
`,r),...l,children:t});exports.ExternalLink=e;exports.default=e;
|
package/dist/ui.cjs8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./ui.cjs12.js"),o=require("./ui.cjs11.js"),u={xs:"xs",sm:"sm",base:"base",lg:"lg"},e=({children:t,className:s,size:r,...a})=>n.jsxRuntimeExports.jsx(o.Text,{className:s,element:"p",size:u[r],variant:"body",weight:"normal",...a,children:t});exports.Paragraph=e;exports.default=e;
|
package/dist/ui.cjs9.js
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./ui.cjs12.js"),n=require("./ui.cjs13.js"),u=require("./ui.cjs2.js"),e=({className:t="",children:s,...o})=>r.jsxRuntimeExports.jsx(u.Box,{element:"section",className:n.clsx(`
|
|
2
|
+
mx-2 my-4 p-4
|
|
3
|
+
sm:p-6
|
|
4
|
+
`,t),...o,children:s});exports.Section=e;exports.default=e;
|
package/dist/ui.es10.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { j as a } from "./ui.es12.js";
|
|
2
|
-
import "react";
|
|
3
2
|
import { clsx as c } from "./ui.es13.js";
|
|
4
|
-
import { Box as
|
|
5
|
-
const
|
|
3
|
+
import { Box as f } from "./ui.es2.js";
|
|
4
|
+
const p = ({
|
|
6
5
|
children: o,
|
|
7
6
|
direction: r = "horizontal",
|
|
8
7
|
spacing: t = "space-x-2",
|
|
@@ -11,17 +10,9 @@ const j = ({
|
|
|
11
10
|
...x
|
|
12
11
|
}) => {
|
|
13
12
|
const l = r === "vertical" ? "flex-col" : "flex-row";
|
|
14
|
-
return /* @__PURE__ */ a.jsx(
|
|
15
|
-
i,
|
|
16
|
-
{
|
|
17
|
-
element: e,
|
|
18
|
-
className: c("flex", l, t, s),
|
|
19
|
-
...x,
|
|
20
|
-
children: o
|
|
21
|
-
}
|
|
22
|
-
);
|
|
13
|
+
return /* @__PURE__ */ a.jsx(f, { className: c("flex", l, t, s), element: e, ...x, children: o });
|
|
23
14
|
};
|
|
24
15
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
p as Stack,
|
|
17
|
+
p as default
|
|
27
18
|
};
|
package/dist/ui.es11.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { j as a } from "./ui.es12.js";
|
|
2
|
-
import "react";
|
|
3
2
|
import { clsx as f } from "./ui.es13.js";
|
|
4
3
|
const d = {
|
|
5
4
|
body: "font-sans",
|
|
@@ -25,9 +24,9 @@ const d = {
|
|
|
25
24
|
semibold: "font-semibold",
|
|
26
25
|
bold: "font-bold",
|
|
27
26
|
light: "font-light"
|
|
28
|
-
},
|
|
29
|
-
className:
|
|
30
|
-
children:
|
|
27
|
+
}, E = ({
|
|
28
|
+
className: e,
|
|
29
|
+
children: o,
|
|
31
30
|
element: s,
|
|
32
31
|
weight: t,
|
|
33
32
|
variant: x,
|
|
@@ -38,22 +37,20 @@ const d = {
|
|
|
38
37
|
return /* @__PURE__ */ a.jsx(
|
|
39
38
|
m,
|
|
40
39
|
{
|
|
40
|
+
"data-testid": "text",
|
|
41
41
|
className: f(
|
|
42
|
-
"font-
|
|
42
|
+
"font-sans text-base font-normal",
|
|
43
43
|
l && r[l],
|
|
44
44
|
t && i[t],
|
|
45
45
|
x && d[x],
|
|
46
|
-
|
|
46
|
+
e
|
|
47
47
|
),
|
|
48
|
-
"data-testid": "text",
|
|
49
48
|
...n,
|
|
50
|
-
children:
|
|
49
|
+
children: o
|
|
51
50
|
}
|
|
52
51
|
);
|
|
53
52
|
};
|
|
54
53
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
d as VARIANT_MAPPER,
|
|
58
|
-
p as default
|
|
54
|
+
E as Text,
|
|
55
|
+
E as default
|
|
59
56
|
};
|
package/dist/ui.es12.js
CHANGED
package/dist/ui.es14.js
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const t = {
|
|
2
|
+
start: "justify-start",
|
|
3
|
+
end: "justify-end",
|
|
4
|
+
center: "justify-center",
|
|
5
|
+
between: "justify-between",
|
|
6
|
+
around: "justify-around",
|
|
7
|
+
evenly: "justify-evenly",
|
|
8
|
+
stretch: "justify-stretch"
|
|
9
|
+
}, e = {
|
|
10
|
+
start: "items-start",
|
|
11
|
+
end: "items-end",
|
|
12
|
+
center: "items-center",
|
|
13
|
+
baseline: "items-baseline",
|
|
14
|
+
stretch: "items-stretch"
|
|
15
|
+
};
|
|
8
16
|
export {
|
|
9
|
-
|
|
17
|
+
e as ALIGN_MAPPER,
|
|
18
|
+
t as JUASTIFY_MAPPER
|
|
10
19
|
};
|
package/dist/ui.es15.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { __module as e } from "./ui.es16.js";
|
|
2
|
+
import { __require as t } from "./ui.es17.js";
|
|
3
|
+
import { __require as i } from "./ui.es18.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
|
+
}
|
|
2
8
|
export {
|
|
3
|
-
|
|
9
|
+
m as __require
|
|
4
10
|
};
|
package/dist/ui.es16.js
CHANGED
|
@@ -1,35 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
}
|
|
1
|
+
var e = { exports: {} };
|
|
33
2
|
export {
|
|
34
|
-
|
|
3
|
+
e as __module
|
|
35
4
|
};
|
package/dist/ui.es17.js
CHANGED
|
@@ -1,247 +1,35 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import B from "react";
|
|
1
|
+
import { __exports as e } from "./ui.es19.js";
|
|
3
2
|
/**
|
|
4
3
|
* @license React
|
|
5
|
-
* react-jsx-runtime.
|
|
4
|
+
* react-jsx-runtime.production.js
|
|
6
5
|
*
|
|
7
6
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
7
|
*
|
|
9
8
|
* This source code is licensed under the MIT license found in the
|
|
10
9
|
* LICENSE file in the root directory of this source tree.
|
|
11
10
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return "SuspenseList";
|
|
31
|
-
case G:
|
|
32
|
-
return "Activity";
|
|
33
|
-
}
|
|
34
|
-
if (typeof e == "object")
|
|
35
|
-
switch (typeof e.tag == "number" && console.error(
|
|
36
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
37
|
-
), e.$$typeof) {
|
|
38
|
-
case D:
|
|
39
|
-
return "Portal";
|
|
40
|
-
case U:
|
|
41
|
-
return (e.displayName || "Context") + ".Provider";
|
|
42
|
-
case L:
|
|
43
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
44
|
-
case M:
|
|
45
|
-
var r = e.render;
|
|
46
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
47
|
-
case q:
|
|
48
|
-
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
49
|
-
case A:
|
|
50
|
-
r = e._payload, e = e._init;
|
|
51
|
-
try {
|
|
52
|
-
return l(e(r));
|
|
53
|
-
} catch {
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
function T(e) {
|
|
59
|
-
return "" + e;
|
|
60
|
-
}
|
|
61
|
-
function v(e) {
|
|
62
|
-
try {
|
|
63
|
-
T(e);
|
|
64
|
-
var r = !1;
|
|
65
|
-
} catch {
|
|
66
|
-
r = !0;
|
|
67
|
-
}
|
|
68
|
-
if (r) {
|
|
69
|
-
r = console;
|
|
70
|
-
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
71
|
-
return t.call(
|
|
72
|
-
r,
|
|
73
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
74
|
-
n
|
|
75
|
-
), T(e);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function f(e) {
|
|
79
|
-
if (e === m) return "<>";
|
|
80
|
-
if (typeof e == "object" && e !== null && e.$$typeof === A)
|
|
81
|
-
return "<...>";
|
|
82
|
-
try {
|
|
83
|
-
var r = l(e);
|
|
84
|
-
return r ? "<" + r + ">" : "<...>";
|
|
85
|
-
} catch {
|
|
86
|
-
return "<...>";
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
function C() {
|
|
90
|
-
var e = b.A;
|
|
91
|
-
return e === null ? null : e.getOwner();
|
|
92
|
-
}
|
|
93
|
-
function p() {
|
|
94
|
-
return Error("react-stack-top-frame");
|
|
95
|
-
}
|
|
96
|
-
function x(e) {
|
|
97
|
-
if (S.call(e, "key")) {
|
|
98
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
99
|
-
if (r && r.isReactWarning) return !1;
|
|
100
|
-
}
|
|
101
|
-
return e.key !== void 0;
|
|
102
|
-
}
|
|
103
|
-
function Y(e, r) {
|
|
104
|
-
function t() {
|
|
105
|
-
w || (w = !0, console.error(
|
|
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)",
|
|
107
|
-
r
|
|
108
|
-
));
|
|
109
|
-
}
|
|
110
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
111
|
-
get: t,
|
|
112
|
-
configurable: !0
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
function I() {
|
|
116
|
-
var e = l(this.type);
|
|
117
|
-
return P[e] || (P[e] = !0, console.error(
|
|
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."
|
|
119
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
120
|
-
}
|
|
121
|
-
function $(e, r, t, n, c, o, E, _) {
|
|
122
|
-
return t = o.ref, e = {
|
|
123
|
-
$$typeof: g,
|
|
124
|
-
type: e,
|
|
125
|
-
key: r,
|
|
126
|
-
props: o,
|
|
127
|
-
_owner: c
|
|
128
|
-
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
129
|
-
enumerable: !1,
|
|
130
|
-
get: I
|
|
131
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
132
|
-
configurable: !1,
|
|
133
|
-
enumerable: !1,
|
|
134
|
-
writable: !0,
|
|
135
|
-
value: 0
|
|
136
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
137
|
-
configurable: !1,
|
|
138
|
-
enumerable: !1,
|
|
139
|
-
writable: !0,
|
|
140
|
-
value: null
|
|
141
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
142
|
-
configurable: !1,
|
|
143
|
-
enumerable: !1,
|
|
144
|
-
writable: !0,
|
|
145
|
-
value: E
|
|
146
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
147
|
-
configurable: !1,
|
|
148
|
-
enumerable: !1,
|
|
149
|
-
writable: !0,
|
|
150
|
-
value: _
|
|
151
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
152
|
-
}
|
|
153
|
-
function O(e, r, t, n, c, o, E, _) {
|
|
154
|
-
var a = r.children;
|
|
155
|
-
if (a !== void 0)
|
|
156
|
-
if (n)
|
|
157
|
-
if (K(a)) {
|
|
158
|
-
for (n = 0; n < a.length; n++)
|
|
159
|
-
k(a[n]);
|
|
160
|
-
Object.freeze && Object.freeze(a);
|
|
161
|
-
} else
|
|
162
|
-
console.error(
|
|
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."
|
|
164
|
-
);
|
|
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";
|
|
170
|
-
});
|
|
171
|
-
n = 0 < s.length ? "{key: someKey, " + s.join(": ..., ") + ": ...}" : "{key: someKey}", j[a + n] || (s = 0 < s.length ? "{" + s.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
172
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
173
|
-
let props = %s;
|
|
174
|
-
<%s {...props} />
|
|
175
|
-
React keys must be passed directly to JSX without using spread:
|
|
176
|
-
let props = %s;
|
|
177
|
-
<%s key={someKey} {...props} />`,
|
|
178
|
-
n,
|
|
179
|
-
a,
|
|
180
|
-
s,
|
|
181
|
-
a
|
|
182
|
-
), j[a + n] = !0);
|
|
183
|
-
}
|
|
184
|
-
if (a = null, t !== void 0 && (v(t), a = "" + t), x(r) && (v(r.key), a = "" + r.key), "key" in r) {
|
|
185
|
-
t = {};
|
|
186
|
-
for (var R in r)
|
|
187
|
-
R !== "key" && (t[R] = r[R]);
|
|
188
|
-
} else t = r;
|
|
189
|
-
return a && Y(
|
|
190
|
-
t,
|
|
191
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
192
|
-
), $(
|
|
193
|
-
e,
|
|
194
|
-
a,
|
|
195
|
-
o,
|
|
196
|
-
c,
|
|
197
|
-
C(),
|
|
198
|
-
t,
|
|
199
|
-
E,
|
|
200
|
-
_
|
|
201
|
-
);
|
|
202
|
-
}
|
|
203
|
-
function k(e) {
|
|
204
|
-
typeof e == "object" && e !== null && e.$$typeof === g && e._store && (e._store.validated = 1);
|
|
205
|
-
}
|
|
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() {
|
|
207
|
-
return null;
|
|
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
|
|
208
29
|
};
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
return e();
|
|
212
|
-
}
|
|
213
|
-
};
|
|
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(
|
|
221
|
-
e,
|
|
222
|
-
r,
|
|
223
|
-
t,
|
|
224
|
-
!1,
|
|
225
|
-
n,
|
|
226
|
-
c,
|
|
227
|
-
o ? Error("react-stack-top-frame") : y,
|
|
228
|
-
o ? d(f(e)) : h
|
|
229
|
-
);
|
|
230
|
-
}, u.jsxs = function(e, r, t, n, c) {
|
|
231
|
-
var o = 1e4 > b.recentlyCreatedOwnerStacks++;
|
|
232
|
-
return O(
|
|
233
|
-
e,
|
|
234
|
-
r,
|
|
235
|
-
t,
|
|
236
|
-
!0,
|
|
237
|
-
n,
|
|
238
|
-
c,
|
|
239
|
-
o ? Error("react-stack-top-frame") : y,
|
|
240
|
-
o ? d(f(e)) : h
|
|
241
|
-
);
|
|
242
|
-
};
|
|
243
|
-
}(), u);
|
|
30
|
+
}
|
|
31
|
+
return e.Fragment = _, e.jsx = o, e.jsxs = o, e;
|
|
244
32
|
}
|
|
245
33
|
export {
|
|
246
|
-
|
|
34
|
+
a as __require
|
|
247
35
|
};
|