next-ui-lib 0.0.0 → 0.1.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.
- package/dist/styles.css +1 -1
- package/dist/ui.cjs.js +15 -7
- package/dist/ui.es.js +570 -221
- package/dist/ui.umd.js +15 -7
- package/package.json +5 -3
package/dist/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background:0 0% 100%;--foreground:0 0% 3.9%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%;--radius:0.5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background:0 0% 100%;--foreground:0 0% 3.9%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%;--radius:0.5rem}.dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.relative{position:relative}.flex{display:flex}.w-full{width:100%}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.whitespace-nowrap{white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:var(--radius)}.rounded-xl{border-radius:.75rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition{transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.duration-150{animation-duration:.15s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.active\:translate-y-\[4px\]:active{--tw-translate-y:4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width:640px){.sm\:max-w-xs{max-width:20rem}}@media (min-width:1024px){.lg\:max-w-sm{max-width:24rem}}@media (min-width:1280px){.xl\:max-w-md{max-width:28rem}}
|
package/dist/ui.cjs.js
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Se=require("react");var V={exports:{}},D={};/**
|
|
2
2
|
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var xe;function cr(){if(xe)return D;xe=1;var C=Se,y=Symbol.for("react.element"),U=Symbol.for("react.fragment"),T=Object.prototype.hasOwnProperty,I=C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,$={key:!0,ref:!0,__self:!0,__source:!0};function P(m,f,x){var p,h={},E=null,W=null;x!==void 0&&(E=""+x),f.key!==void 0&&(E=""+f.key),f.ref!==void 0&&(W=f.ref);for(p in f)T.call(f,p)&&!$.hasOwnProperty(p)&&(h[p]=f[p]);if(m&&m.defaultProps)for(p in f=m.defaultProps,f)h[p]===void 0&&(h[p]=f[p]);return{$$typeof:y,type:m,key:E,ref:W,props:h,_owner:I.current}}return D.Fragment=U,D.jsx=P,D.jsxs=P,D}var F={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
13
|
-
* Copyright (c)
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var Oe;function dr(){return Oe||(Oe=1,process.env.NODE_ENV!=="production"&&(function(){var C=Se,y=Symbol.for("react.element"),U=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),m=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),Z=Symbol.iterator,Ce="@@iterator";function Pe(e){if(e===null||typeof e!="object")return null;var r=Z&&e[Z]||e[Ce];return typeof r=="function"?r:null}var O=C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];je("error",e,t)}}function je(e,r,t){{var n=O.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var ke=!1,De=!1,Fe=!1,Ae=!1,Ie=!1,Q;Q=Symbol.for("react.module.reference");function $e(e){return!!(typeof e=="string"||typeof e=="function"||e===T||e===$||Ie||e===I||e===x||e===p||Ae||e===W||ke||De||Fe||typeof e=="object"&&e!==null&&(e.$$typeof===E||e.$$typeof===h||e.$$typeof===P||e.$$typeof===m||e.$$typeof===f||e.$$typeof===Q||e.getModuleId!==void 0))}function We(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ee(e){return e.displayName||"Context"}function b(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case U:return"Portal";case $:return"Profiler";case I:return"StrictMode";case x:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case m:var r=e;return ee(r)+".Consumer";case P:var t=e;return ee(t._context)+".Provider";case f:return We(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:b(e.type)||"Memo";case E:{var o=e,u=o._payload,i=o._init;try{return b(i(u))}catch{return null}}}return null}var R=Object.assign,j=0,re,te,ne,ae,ie,oe,ue;function se(){}se.__reactDisabledLog=!0;function Ye(){{if(j===0){re=console.log,te=console.info,ne=console.warn,ae=console.error,ie=console.group,oe=console.groupCollapsed,ue=console.groupEnd;var e={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}j++}}function Ne(){{if(j--,j===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:re}),info:R({},e,{value:te}),warn:R({},e,{value:ne}),error:R({},e,{value:ae}),group:R({},e,{value:ie}),groupCollapsed:R({},e,{value:oe}),groupEnd:R({},e,{value:ue})})}j<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=O.ReactCurrentDispatcher,J;function Y(e,r,t){{if(J===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);J=n&&n[1]||""}return`
|
|
18
|
+
`+J+e}}var B=!1,N;{var Le=typeof WeakMap=="function"?WeakMap:Map;N=new Le}function le(e,r){if(!e||B)return"";{var t=N.get(e);if(t!==void 0)return t}var n;B=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=q.current,q.current=null,Ye();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(v){n=v}Reflect.construct(e,[],i)}else{try{i.call()}catch(v){n=v}e.call(i.prototype)}}else{try{throw Error()}catch(v){n=v}e()}}catch(v){if(v&&n&&typeof v.stack=="string"){for(var a=v.stack.split(`
|
|
19
|
+
`),d=n.stack.split(`
|
|
20
|
+
`),s=a.length-1,l=d.length-1;s>=1&&l>=0&&a[s]!==d[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==d[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==d[l]){var g=`
|
|
21
|
+
`+a[s].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&N.set(e,g),g}while(s>=1&&l>=0);break}}}finally{B=!1,q.current=u,Ne(),Error.prepareStackTrace=o}var S=e?e.displayName||e.name:"",_=S?Y(S):"";return typeof e=="function"&&N.set(e,_),_}function Me(e,r,t){return le(e,!1)}function Ve(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function L(e,r,t){if(e==null)return"";if(typeof e=="function")return le(e,Ve(e));if(typeof e=="string")return Y(e);switch(e){case x:return Y("Suspense");case p:return Y("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Me(e.render);case h:return L(e.type,r,t);case E:{var n=e,o=n._payload,u=n._init;try{return L(u(o),r,t)}catch{}}}return""}var k=Object.prototype.hasOwnProperty,fe={},ce=O.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);ce.setExtraStackFrame(t)}else ce.setExtraStackFrame(null)}function Ue(e,r,t,n,o){{var u=Function.call.bind(k);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var d=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(M(o),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),M(null)),a instanceof Error&&!(a.message in fe)&&(fe[a.message]=!0,M(o),c("Failed %s type: %s",t,a.message),M(null))}}}var qe=Array.isArray;function K(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Be(e){try{return de(e),!1}catch{return!0}}function de(e){return""+e}function ve(e){if(Be(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),de(e)}var pe=O.ReactCurrentOwner,Ke={key:!0,ref:!0,__self:!0,__source:!0},ge,he;function Ge(e){if(k.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function ze(e){if(k.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Xe(e,r){typeof e.ref=="string"&&pe.current}function He(e,r){{var t=function(){ge||(ge=!0,c("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ze(e,r){{var t=function(){he||(he=!0,c("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Qe=function(e,r,t,n,o,u,i){var a={$$typeof:y,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function er(e,r,t,n,o){{var u,i={},a=null,d=null;t!==void 0&&(ve(t),a=""+t),ze(r)&&(ve(r.key),a=""+r.key),Ge(r)&&(d=r.ref,Xe(r,o));for(u in r)k.call(r,u)&&!Ke.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||d){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&He(i,l),d&&Ze(i,l)}return Qe(e,a,d,o,n,pe.current,i)}}var G=O.ReactCurrentOwner,be=O.ReactDebugCurrentFrame;function w(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);be.setExtraStackFrame(t)}else be.setExtraStackFrame(null)}var z;z=!1;function X(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function ye(){{if(G.current){var e=b(G.current.type);if(e)return`
|
|
22
|
+
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function rr(e){return""}var me={};function tr(e){{var r=ye();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
24
|
+
|
|
25
|
+
Check the top-level render call using <`+t+">.")}return r}}function Ee(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=tr(r);if(me[t])return;me[t]=!0;var n="";e&&e._owner&&e._owner!==G.current&&(n=" It was passed a child from "+b(e._owner.type)+"."),w(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),w(null)}}function Re(e,r){{if(typeof e!="object")return;if(K(e))for(var t=0;t<e.length;t++){var n=e[t];X(n)&&Ee(n,r)}else if(X(e))e._store&&(e._store.validated=!0);else if(e){var o=Pe(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)X(i.value)&&Ee(i.value,r)}}}function nr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===f||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=b(r);Ue(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var o=b(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){w(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),w(null);break}}e.ref!==null&&(w(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),w(null))}}var _e={};function Te(e,r,t,n,o,u){{var i=$e(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=rr();d?a+=d:a+=ye();var s;e===null?s="null":K(e)?s="array":e!==void 0&&e.$$typeof===y?(s="<"+(b(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=er(e,r,t,o,u);if(l==null)return l;if(i){var g=r.children;if(g!==void 0)if(n)if(K(g)){for(var S=0;S<g.length;S++)Re(g[S],e);Object.freeze&&Object.freeze(g)}else c("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 Re(g,e)}if(k.call(r,"key")){var _=b(e),v=Object.keys(r).filter(function(fr){return fr!=="key"}),H=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!_e[_+H]){var lr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX:
|
|
18
26
|
let props = %s;
|
|
19
27
|
<%s {...props} />
|
|
20
28
|
React keys must be passed directly to JSX without using spread:
|
|
21
29
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,
|
|
30
|
+
<%s key={someKey} {...props} />`,H,_,lr,_),_e[_+H]=!0}}return e===T?ar(l):nr(l),l}}function ir(e,r,t){return Te(e,r,t,!0)}function or(e,r,t){return Te(e,r,t,!1)}var ur=or,sr=ir;F.Fragment=T,F.jsx=ur,F.jsxs=sr})()),F}var we;function vr(){return we||(we=1,process.env.NODE_ENV==="production"?V.exports=cr():V.exports=dr()),V.exports}var A=vr();const pr=({title:C,description:y})=>A.jsx("div",{className:"ui",children:A.jsx("div",{className:"ui-bg-white ui-rounded-lg ui-shadow-lg ui-overflow-hidden sm:max-w-xs lg:max-w-sm xl:max-w-md",children:A.jsxs("div",{className:"ui-px-6 ui-py-4",children:[A.jsx("h2",{className:"ui-font-sans ui-text-red-700 ui-font-bold ui-text-xl ui-mb-2",children:C}),A.jsx("p",{className:"ui-bg-white ui-border-none ui-rounded-none ui-font-sans ui-text-gray-700 ui-text-base",children:y})]})})});exports.Card=pr;
|
package/dist/ui.es.js
CHANGED
|
@@ -1,288 +1,637 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import Se from "react";
|
|
2
|
+
var M = { exports: {} }, D = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
|
-
* react-jsx-runtime.production.js
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
6
|
*
|
|
7
|
-
* Copyright (c)
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
var E = null;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} else s = o;
|
|
24
|
-
return o = s.ref, {
|
|
25
|
-
$$typeof: l,
|
|
26
|
-
type: m,
|
|
27
|
-
key: E,
|
|
28
|
-
ref: o !== void 0 ? o : null,
|
|
29
|
-
props: s
|
|
30
|
-
};
|
|
12
|
+
var xe;
|
|
13
|
+
function cr() {
|
|
14
|
+
if (xe) return D;
|
|
15
|
+
xe = 1;
|
|
16
|
+
var C = Se, m = Symbol.for("react.element"), U = Symbol.for("react.fragment"), T = Object.prototype.hasOwnProperty, I = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, $ = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function P(y, f, x) {
|
|
18
|
+
var p, h = {}, E = null, W = null;
|
|
19
|
+
x !== void 0 && (E = "" + x), f.key !== void 0 && (E = "" + f.key), f.ref !== void 0 && (W = f.ref);
|
|
20
|
+
for (p in f) T.call(f, p) && !$.hasOwnProperty(p) && (h[p] = f[p]);
|
|
21
|
+
if (y && y.defaultProps) for (p in f = y.defaultProps, f) h[p] === void 0 && (h[p] = f[p]);
|
|
22
|
+
return { $$typeof: m, type: y, key: E, ref: W, props: h, _owner: I.current };
|
|
31
23
|
}
|
|
32
|
-
return
|
|
24
|
+
return D.Fragment = U, D.jsx = P, D.jsxs = P, D;
|
|
33
25
|
}
|
|
34
|
-
var
|
|
26
|
+
var F = {};
|
|
35
27
|
/**
|
|
36
28
|
* @license React
|
|
37
29
|
* react-jsx-runtime.development.js
|
|
38
30
|
*
|
|
39
|
-
* Copyright (c)
|
|
31
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
40
32
|
*
|
|
41
33
|
* This source code is licensed under the MIT license found in the
|
|
42
34
|
* LICENSE file in the root directory of this source tree.
|
|
43
35
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
if (typeof e
|
|
50
|
-
return
|
|
51
|
-
|
|
36
|
+
var we;
|
|
37
|
+
function dr() {
|
|
38
|
+
return we || (we = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
39
|
+
var C = Se, m = Symbol.for("react.element"), U = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Z = Symbol.iterator, Ce = "@@iterator";
|
|
40
|
+
function Pe(e) {
|
|
41
|
+
if (e === null || typeof e != "object")
|
|
42
|
+
return null;
|
|
43
|
+
var r = Z && e[Z] || e[Ce];
|
|
44
|
+
return typeof r == "function" ? r : null;
|
|
45
|
+
}
|
|
46
|
+
var w = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function c(e) {
|
|
48
|
+
{
|
|
49
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
50
|
+
t[n - 1] = arguments[n];
|
|
51
|
+
je("error", e, t);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function je(e, r, t) {
|
|
55
|
+
{
|
|
56
|
+
var n = w.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
|
57
|
+
o !== "" && (r += "%s", t = t.concat([o]));
|
|
58
|
+
var u = t.map(function(i) {
|
|
59
|
+
return String(i);
|
|
60
|
+
});
|
|
61
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
var ke = !1, De = !1, Fe = !1, Ae = !1, Ie = !1, Q;
|
|
65
|
+
Q = Symbol.for("react.module.reference");
|
|
66
|
+
function $e(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === T || e === $ || Ie || e === I || e === x || e === p || Ae || e === W || ke || De || Fe || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === h || e.$$typeof === P || e.$$typeof === y || e.$$typeof === f || // This needs to include all possible module reference object
|
|
68
|
+
// types supported by any Flight configuration anywhere since
|
|
69
|
+
// we don't know which Flight build this will end up being used
|
|
70
|
+
// with.
|
|
71
|
+
e.$$typeof === Q || e.getModuleId !== void 0));
|
|
72
|
+
}
|
|
73
|
+
function We(e, r, t) {
|
|
74
|
+
var n = e.displayName;
|
|
75
|
+
if (n)
|
|
76
|
+
return n;
|
|
77
|
+
var o = r.displayName || r.name || "";
|
|
78
|
+
return o !== "" ? t + "(" + o + ")" : t;
|
|
79
|
+
}
|
|
80
|
+
function ee(e) {
|
|
81
|
+
return e.displayName || "Context";
|
|
82
|
+
}
|
|
83
|
+
function b(e) {
|
|
84
|
+
if (e == null)
|
|
85
|
+
return null;
|
|
86
|
+
if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
87
|
+
return e.displayName || e.name || null;
|
|
88
|
+
if (typeof e == "string")
|
|
89
|
+
return e;
|
|
52
90
|
switch (e) {
|
|
53
|
-
case
|
|
91
|
+
case T:
|
|
54
92
|
return "Fragment";
|
|
55
|
-
case
|
|
93
|
+
case U:
|
|
94
|
+
return "Portal";
|
|
95
|
+
case $:
|
|
56
96
|
return "Profiler";
|
|
57
|
-
case
|
|
97
|
+
case I:
|
|
58
98
|
return "StrictMode";
|
|
59
|
-
case
|
|
99
|
+
case x:
|
|
60
100
|
return "Suspense";
|
|
61
|
-
case
|
|
101
|
+
case p:
|
|
62
102
|
return "SuspenseList";
|
|
63
|
-
case Z:
|
|
64
|
-
return "Activity";
|
|
65
103
|
}
|
|
66
104
|
if (typeof e == "object")
|
|
67
|
-
switch (typeof
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
return "Portal";
|
|
72
|
-
case V:
|
|
73
|
-
return (e.displayName || "Context") + ".Provider";
|
|
74
|
-
case z:
|
|
75
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
-
case G:
|
|
77
|
-
var r = e.render;
|
|
78
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
-
case H:
|
|
80
|
-
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
105
|
+
switch (e.$$typeof) {
|
|
106
|
+
case y:
|
|
107
|
+
var r = e;
|
|
108
|
+
return ee(r) + ".Consumer";
|
|
81
109
|
case P:
|
|
82
|
-
|
|
110
|
+
var t = e;
|
|
111
|
+
return ee(t._context) + ".Provider";
|
|
112
|
+
case f:
|
|
113
|
+
return We(e, e.render, "ForwardRef");
|
|
114
|
+
case h:
|
|
115
|
+
var n = e.displayName || null;
|
|
116
|
+
return n !== null ? n : b(e.type) || "Memo";
|
|
117
|
+
case E: {
|
|
118
|
+
var o = e, u = o._payload, i = o._init;
|
|
83
119
|
try {
|
|
84
|
-
return
|
|
120
|
+
return b(i(u));
|
|
85
121
|
} catch {
|
|
122
|
+
return null;
|
|
86
123
|
}
|
|
124
|
+
}
|
|
87
125
|
}
|
|
88
126
|
return null;
|
|
89
127
|
}
|
|
90
|
-
|
|
91
|
-
|
|
128
|
+
var R = Object.assign, j = 0, re, te, ne, ae, ie, oe, ue;
|
|
129
|
+
function se() {
|
|
92
130
|
}
|
|
93
|
-
|
|
131
|
+
se.__reactDisabledLog = !0;
|
|
132
|
+
function Ye() {
|
|
133
|
+
{
|
|
134
|
+
if (j === 0) {
|
|
135
|
+
re = console.log, te = console.info, ne = console.warn, ae = console.error, ie = console.group, oe = console.groupCollapsed, ue = console.groupEnd;
|
|
136
|
+
var e = {
|
|
137
|
+
configurable: !0,
|
|
138
|
+
enumerable: !0,
|
|
139
|
+
value: se,
|
|
140
|
+
writable: !0
|
|
141
|
+
};
|
|
142
|
+
Object.defineProperties(console, {
|
|
143
|
+
info: e,
|
|
144
|
+
log: e,
|
|
145
|
+
warn: e,
|
|
146
|
+
error: e,
|
|
147
|
+
group: e,
|
|
148
|
+
groupCollapsed: e,
|
|
149
|
+
groupEnd: e
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
j++;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
function Ne() {
|
|
156
|
+
{
|
|
157
|
+
if (j--, j === 0) {
|
|
158
|
+
var e = {
|
|
159
|
+
configurable: !0,
|
|
160
|
+
enumerable: !0,
|
|
161
|
+
writable: !0
|
|
162
|
+
};
|
|
163
|
+
Object.defineProperties(console, {
|
|
164
|
+
log: R({}, e, {
|
|
165
|
+
value: re
|
|
166
|
+
}),
|
|
167
|
+
info: R({}, e, {
|
|
168
|
+
value: te
|
|
169
|
+
}),
|
|
170
|
+
warn: R({}, e, {
|
|
171
|
+
value: ne
|
|
172
|
+
}),
|
|
173
|
+
error: R({}, e, {
|
|
174
|
+
value: ae
|
|
175
|
+
}),
|
|
176
|
+
group: R({}, e, {
|
|
177
|
+
value: ie
|
|
178
|
+
}),
|
|
179
|
+
groupCollapsed: R({}, e, {
|
|
180
|
+
value: oe
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: R({}, e, {
|
|
183
|
+
value: ue
|
|
184
|
+
})
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
j < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
var J = w.ReactCurrentDispatcher, q;
|
|
191
|
+
function Y(e, r, t) {
|
|
192
|
+
{
|
|
193
|
+
if (q === void 0)
|
|
194
|
+
try {
|
|
195
|
+
throw Error();
|
|
196
|
+
} catch (o) {
|
|
197
|
+
var n = o.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
q = n && n[1] || "";
|
|
199
|
+
}
|
|
200
|
+
return `
|
|
201
|
+
` + q + e;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
var B = !1, N;
|
|
205
|
+
{
|
|
206
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
N = new Le();
|
|
208
|
+
}
|
|
209
|
+
function le(e, r) {
|
|
210
|
+
if (!e || B)
|
|
211
|
+
return "";
|
|
212
|
+
{
|
|
213
|
+
var t = N.get(e);
|
|
214
|
+
if (t !== void 0)
|
|
215
|
+
return t;
|
|
216
|
+
}
|
|
217
|
+
var n;
|
|
218
|
+
B = !0;
|
|
219
|
+
var o = Error.prepareStackTrace;
|
|
220
|
+
Error.prepareStackTrace = void 0;
|
|
221
|
+
var u;
|
|
222
|
+
u = J.current, J.current = null, Ye();
|
|
94
223
|
try {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
224
|
+
if (r) {
|
|
225
|
+
var i = function() {
|
|
226
|
+
throw Error();
|
|
227
|
+
};
|
|
228
|
+
if (Object.defineProperty(i.prototype, "props", {
|
|
229
|
+
set: function() {
|
|
230
|
+
throw Error();
|
|
231
|
+
}
|
|
232
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
|
+
try {
|
|
234
|
+
Reflect.construct(i, []);
|
|
235
|
+
} catch (v) {
|
|
236
|
+
n = v;
|
|
237
|
+
}
|
|
238
|
+
Reflect.construct(e, [], i);
|
|
239
|
+
} else {
|
|
240
|
+
try {
|
|
241
|
+
i.call();
|
|
242
|
+
} catch (v) {
|
|
243
|
+
n = v;
|
|
244
|
+
}
|
|
245
|
+
e.call(i.prototype);
|
|
246
|
+
}
|
|
247
|
+
} else {
|
|
248
|
+
try {
|
|
249
|
+
throw Error();
|
|
250
|
+
} catch (v) {
|
|
251
|
+
n = v;
|
|
252
|
+
}
|
|
253
|
+
e();
|
|
254
|
+
}
|
|
255
|
+
} catch (v) {
|
|
256
|
+
if (v && n && typeof v.stack == "string") {
|
|
257
|
+
for (var a = v.stack.split(`
|
|
258
|
+
`), d = n.stack.split(`
|
|
259
|
+
`), s = a.length - 1, l = d.length - 1; s >= 1 && l >= 0 && a[s] !== d[l]; )
|
|
260
|
+
l--;
|
|
261
|
+
for (; s >= 1 && l >= 0; s--, l--)
|
|
262
|
+
if (a[s] !== d[l]) {
|
|
263
|
+
if (s !== 1 || l !== 1)
|
|
264
|
+
do
|
|
265
|
+
if (s--, l--, l < 0 || a[s] !== d[l]) {
|
|
266
|
+
var g = `
|
|
267
|
+
` + a[s].replace(" at new ", " at ");
|
|
268
|
+
return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, g), g;
|
|
269
|
+
}
|
|
270
|
+
while (s >= 1 && l >= 0);
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
} finally {
|
|
275
|
+
B = !1, J.current = u, Ne(), Error.prepareStackTrace = o;
|
|
276
|
+
}
|
|
277
|
+
var S = e ? e.displayName || e.name : "", _ = S ? Y(S) : "";
|
|
278
|
+
return typeof e == "function" && N.set(e, _), _;
|
|
279
|
+
}
|
|
280
|
+
function Ve(e, r, t) {
|
|
281
|
+
return le(e, !1);
|
|
282
|
+
}
|
|
283
|
+
function Me(e) {
|
|
284
|
+
var r = e.prototype;
|
|
285
|
+
return !!(r && r.isReactComponent);
|
|
286
|
+
}
|
|
287
|
+
function L(e, r, t) {
|
|
288
|
+
if (e == null)
|
|
289
|
+
return "";
|
|
290
|
+
if (typeof e == "function")
|
|
291
|
+
return le(e, Me(e));
|
|
292
|
+
if (typeof e == "string")
|
|
293
|
+
return Y(e);
|
|
294
|
+
switch (e) {
|
|
295
|
+
case x:
|
|
296
|
+
return Y("Suspense");
|
|
297
|
+
case p:
|
|
298
|
+
return Y("SuspenseList");
|
|
99
299
|
}
|
|
100
|
-
if (
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
300
|
+
if (typeof e == "object")
|
|
301
|
+
switch (e.$$typeof) {
|
|
302
|
+
case f:
|
|
303
|
+
return Ve(e.render);
|
|
304
|
+
case h:
|
|
305
|
+
return L(e.type, r, t);
|
|
306
|
+
case E: {
|
|
307
|
+
var n = e, o = n._payload, u = n._init;
|
|
308
|
+
try {
|
|
309
|
+
return L(u(o), r, t);
|
|
310
|
+
} catch {
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
return "";
|
|
315
|
+
}
|
|
316
|
+
var k = Object.prototype.hasOwnProperty, fe = {}, ce = w.ReactDebugCurrentFrame;
|
|
317
|
+
function V(e) {
|
|
318
|
+
if (e) {
|
|
319
|
+
var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
|
|
320
|
+
ce.setExtraStackFrame(t);
|
|
321
|
+
} else
|
|
322
|
+
ce.setExtraStackFrame(null);
|
|
323
|
+
}
|
|
324
|
+
function Ue(e, r, t, n, o) {
|
|
325
|
+
{
|
|
326
|
+
var u = Function.call.bind(k);
|
|
327
|
+
for (var i in e)
|
|
328
|
+
if (u(e, i)) {
|
|
329
|
+
var a = void 0;
|
|
330
|
+
try {
|
|
331
|
+
if (typeof e[i] != "function") {
|
|
332
|
+
var d = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw d.name = "Invariant Violation", d;
|
|
334
|
+
}
|
|
335
|
+
a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
+
} catch (s) {
|
|
337
|
+
a = s;
|
|
338
|
+
}
|
|
339
|
+
a && !(a instanceof Error) && (V(o), c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof a), V(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, V(o), c("Failed %s type: %s", t, a.message), V(null));
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
var Je = Array.isArray;
|
|
344
|
+
function K(e) {
|
|
345
|
+
return Je(e);
|
|
346
|
+
}
|
|
347
|
+
function qe(e) {
|
|
348
|
+
{
|
|
349
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
|
+
return t;
|
|
108
351
|
}
|
|
109
352
|
}
|
|
110
|
-
function
|
|
111
|
-
if (e === x) return "<>";
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof === P)
|
|
113
|
-
return "<...>";
|
|
353
|
+
function Be(e) {
|
|
114
354
|
try {
|
|
115
|
-
|
|
116
|
-
return r ? "<" + r + ">" : "<...>";
|
|
355
|
+
return de(e), !1;
|
|
117
356
|
} catch {
|
|
118
|
-
return
|
|
357
|
+
return !0;
|
|
119
358
|
}
|
|
120
359
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
123
|
-
|
|
360
|
+
function de(e) {
|
|
361
|
+
return "" + e;
|
|
362
|
+
}
|
|
363
|
+
function ve(e) {
|
|
364
|
+
if (Be(e))
|
|
365
|
+
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qe(e)), de(e);
|
|
124
366
|
}
|
|
125
|
-
|
|
126
|
-
|
|
367
|
+
var pe = w.ReactCurrentOwner, Ke = {
|
|
368
|
+
key: !0,
|
|
369
|
+
ref: !0,
|
|
370
|
+
__self: !0,
|
|
371
|
+
__source: !0
|
|
372
|
+
}, ge, he;
|
|
373
|
+
function Ge(e) {
|
|
374
|
+
if (k.call(e, "ref")) {
|
|
375
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
|
+
if (r && r.isReactWarning)
|
|
377
|
+
return !1;
|
|
378
|
+
}
|
|
379
|
+
return e.ref !== void 0;
|
|
127
380
|
}
|
|
128
|
-
function
|
|
129
|
-
if (
|
|
381
|
+
function ze(e) {
|
|
382
|
+
if (k.call(e, "key")) {
|
|
130
383
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
|
-
if (r && r.isReactWarning)
|
|
384
|
+
if (r && r.isReactWarning)
|
|
385
|
+
return !1;
|
|
132
386
|
}
|
|
133
387
|
return e.key !== void 0;
|
|
134
388
|
}
|
|
135
|
-
function
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
)
|
|
389
|
+
function Xe(e, r) {
|
|
390
|
+
typeof e.ref == "string" && pe.current;
|
|
391
|
+
}
|
|
392
|
+
function He(e, r) {
|
|
393
|
+
{
|
|
394
|
+
var t = function() {
|
|
395
|
+
ge || (ge = !0, c("%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://reactjs.org/link/special-props)", r));
|
|
396
|
+
};
|
|
397
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
|
+
get: t,
|
|
399
|
+
configurable: !0
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
function Ze(e, r) {
|
|
404
|
+
{
|
|
405
|
+
var t = function() {
|
|
406
|
+
he || (he = !0, c("%s: `ref` 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://reactjs.org/link/special-props)", r));
|
|
407
|
+
};
|
|
408
|
+
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
|
+
get: t,
|
|
410
|
+
configurable: !0
|
|
411
|
+
});
|
|
141
412
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
var e = l(this.type);
|
|
149
|
-
return C[e] || (C[e] = !0, console.error(
|
|
150
|
-
"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
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
|
-
}
|
|
153
|
-
function W(e, r, t, n, i, u, h, O) {
|
|
154
|
-
return t = u.ref, e = {
|
|
155
|
-
$$typeof: S,
|
|
413
|
+
}
|
|
414
|
+
var Qe = function(e, r, t, n, o, u, i) {
|
|
415
|
+
var a = {
|
|
416
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
417
|
+
$$typeof: m,
|
|
418
|
+
// Built-in properties that belong on the element
|
|
156
419
|
type: e,
|
|
157
420
|
key: r,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
421
|
+
ref: t,
|
|
422
|
+
props: i,
|
|
423
|
+
// Record the component responsible for creating this element.
|
|
424
|
+
_owner: u
|
|
425
|
+
};
|
|
426
|
+
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
164
427
|
configurable: !1,
|
|
165
428
|
enumerable: !1,
|
|
166
429
|
writable: !0,
|
|
167
|
-
value:
|
|
168
|
-
}), Object.defineProperty(
|
|
430
|
+
value: !1
|
|
431
|
+
}), Object.defineProperty(a, "_self", {
|
|
169
432
|
configurable: !1,
|
|
170
433
|
enumerable: !1,
|
|
171
|
-
writable: !
|
|
172
|
-
value:
|
|
173
|
-
}), Object.defineProperty(
|
|
434
|
+
writable: !1,
|
|
435
|
+
value: n
|
|
436
|
+
}), Object.defineProperty(a, "_source", {
|
|
174
437
|
configurable: !1,
|
|
175
438
|
enumerable: !1,
|
|
176
|
-
writable: !
|
|
177
|
-
value:
|
|
178
|
-
}), Object.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
439
|
+
writable: !1,
|
|
440
|
+
value: o
|
|
441
|
+
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
442
|
+
};
|
|
443
|
+
function er(e, r, t, n, o) {
|
|
444
|
+
{
|
|
445
|
+
var u, i = {}, a = null, d = null;
|
|
446
|
+
t !== void 0 && (ve(t), a = "" + t), ze(r) && (ve(r.key), a = "" + r.key), Ge(r) && (d = r.ref, Xe(r, o));
|
|
447
|
+
for (u in r)
|
|
448
|
+
k.call(r, u) && !Ke.hasOwnProperty(u) && (i[u] = r[u]);
|
|
449
|
+
if (e && e.defaultProps) {
|
|
450
|
+
var s = e.defaultProps;
|
|
451
|
+
for (u in s)
|
|
452
|
+
i[u] === void 0 && (i[u] = s[u]);
|
|
453
|
+
}
|
|
454
|
+
if (a || d) {
|
|
455
|
+
var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
+
a && He(i, l), d && Ze(i, l);
|
|
457
|
+
}
|
|
458
|
+
return Qe(e, a, d, o, n, pe.current, i);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
var G = w.ReactCurrentOwner, be = w.ReactDebugCurrentFrame;
|
|
462
|
+
function O(e) {
|
|
463
|
+
if (e) {
|
|
464
|
+
var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
|
|
465
|
+
be.setExtraStackFrame(t);
|
|
466
|
+
} else
|
|
467
|
+
be.setExtraStackFrame(null);
|
|
468
|
+
}
|
|
469
|
+
var z;
|
|
470
|
+
z = !1;
|
|
471
|
+
function X(e) {
|
|
472
|
+
return typeof e == "object" && e !== null && e.$$typeof === m;
|
|
473
|
+
}
|
|
474
|
+
function me() {
|
|
475
|
+
{
|
|
476
|
+
if (G.current) {
|
|
477
|
+
var e = b(G.current.type);
|
|
478
|
+
if (e)
|
|
479
|
+
return `
|
|
480
|
+
|
|
481
|
+
Check the render method of \`` + e + "`.";
|
|
482
|
+
}
|
|
483
|
+
return "";
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
function rr(e) {
|
|
487
|
+
return "";
|
|
488
|
+
}
|
|
489
|
+
var ye = {};
|
|
490
|
+
function tr(e) {
|
|
491
|
+
{
|
|
492
|
+
var r = me();
|
|
493
|
+
if (!r) {
|
|
494
|
+
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
|
+
t && (r = `
|
|
496
|
+
|
|
497
|
+
Check the top-level render call using <` + t + ">.");
|
|
498
|
+
}
|
|
499
|
+
return r;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
function Ee(e, r) {
|
|
503
|
+
{
|
|
504
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
505
|
+
return;
|
|
506
|
+
e._store.validated = !0;
|
|
507
|
+
var t = tr(r);
|
|
508
|
+
if (ye[t])
|
|
509
|
+
return;
|
|
510
|
+
ye[t] = !0;
|
|
511
|
+
var n = "";
|
|
512
|
+
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + b(e._owner.type) + "."), O(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), O(null);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
function Re(e, r) {
|
|
516
|
+
{
|
|
517
|
+
if (typeof e != "object")
|
|
518
|
+
return;
|
|
519
|
+
if (K(e))
|
|
520
|
+
for (var t = 0; t < e.length; t++) {
|
|
521
|
+
var n = e[t];
|
|
522
|
+
X(n) && Ee(n, r);
|
|
523
|
+
}
|
|
524
|
+
else if (X(e))
|
|
525
|
+
e._store && (e._store.validated = !0);
|
|
526
|
+
else if (e) {
|
|
527
|
+
var o = Pe(e);
|
|
528
|
+
if (typeof o == "function" && o !== e.entries)
|
|
529
|
+
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
530
|
+
X(i.value) && Ee(i.value, r);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
function nr(e) {
|
|
535
|
+
{
|
|
536
|
+
var r = e.type;
|
|
537
|
+
if (r == null || typeof r == "string")
|
|
538
|
+
return;
|
|
539
|
+
var t;
|
|
540
|
+
if (typeof r == "function")
|
|
541
|
+
t = r.propTypes;
|
|
542
|
+
else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
|
|
543
|
+
// Inner props are checked in the reconciler.
|
|
544
|
+
r.$$typeof === h))
|
|
545
|
+
t = r.propTypes;
|
|
546
|
+
else
|
|
547
|
+
return;
|
|
548
|
+
if (t) {
|
|
549
|
+
var n = b(r);
|
|
550
|
+
Ue(t, e.props, "prop", n, e);
|
|
551
|
+
} else if (r.PropTypes !== void 0 && !z) {
|
|
552
|
+
z = !0;
|
|
553
|
+
var o = b(r);
|
|
554
|
+
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
555
|
+
}
|
|
556
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
function ar(e) {
|
|
560
|
+
{
|
|
561
|
+
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
562
|
+
var n = r[t];
|
|
563
|
+
if (n !== "children" && n !== "key") {
|
|
564
|
+
O(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), O(null);
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
e.ref !== null && (O(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), O(null));
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
var _e = {};
|
|
572
|
+
function Te(e, r, t, n, o, u) {
|
|
573
|
+
{
|
|
574
|
+
var i = $e(e);
|
|
575
|
+
if (!i) {
|
|
576
|
+
var a = "";
|
|
577
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
+
var d = rr();
|
|
579
|
+
d ? a += d : a += me();
|
|
580
|
+
var s;
|
|
581
|
+
e === null ? s = "null" : K(e) ? s = "array" : e !== void 0 && e.$$typeof === m ? (s = "<" + (b(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
|
|
582
|
+
}
|
|
583
|
+
var l = er(e, r, t, o, u);
|
|
584
|
+
if (l == null)
|
|
585
|
+
return l;
|
|
586
|
+
if (i) {
|
|
587
|
+
var g = r.children;
|
|
588
|
+
if (g !== void 0)
|
|
589
|
+
if (n)
|
|
590
|
+
if (K(g)) {
|
|
591
|
+
for (var S = 0; S < g.length; S++)
|
|
592
|
+
Re(g[S], e);
|
|
593
|
+
Object.freeze && Object.freeze(g);
|
|
594
|
+
} else
|
|
595
|
+
c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
|
+
else
|
|
597
|
+
Re(g, e);
|
|
598
|
+
}
|
|
599
|
+
if (k.call(r, "key")) {
|
|
600
|
+
var _ = b(e), v = Object.keys(r).filter(function(fr) {
|
|
601
|
+
return fr !== "key";
|
|
602
|
+
}), H = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!_e[_ + H]) {
|
|
604
|
+
var lr = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
+
c(`A props object containing a "key" prop is being spread into JSX:
|
|
205
606
|
let props = %s;
|
|
206
607
|
<%s {...props} />
|
|
207
608
|
React keys must be passed directly to JSX without using spread:
|
|
208
609
|
let props = %s;
|
|
209
|
-
<%s key={someKey} {...props} />`,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
a
|
|
214
|
-
), $[a + n] = !0);
|
|
215
|
-
}
|
|
216
|
-
if (a = null, t !== void 0 && (d(t), a = "" + t), E(r) && (d(r.key), a = "" + r.key), "key" in r) {
|
|
217
|
-
t = {};
|
|
218
|
-
for (var j in r)
|
|
219
|
-
j !== "key" && (t[j] = r[j]);
|
|
220
|
-
} else t = r;
|
|
221
|
-
return a && b(
|
|
222
|
-
t,
|
|
223
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
-
), W(
|
|
225
|
-
e,
|
|
226
|
-
a,
|
|
227
|
-
u,
|
|
228
|
-
i,
|
|
229
|
-
o(),
|
|
230
|
-
t,
|
|
231
|
-
h,
|
|
232
|
-
O
|
|
233
|
-
);
|
|
234
|
-
}
|
|
235
|
-
function g(e) {
|
|
236
|
-
typeof e == "object" && e !== null && e.$$typeof === S && e._store && (e._store.validated = 1);
|
|
237
|
-
}
|
|
238
|
-
var T = re, S = Symbol.for("react.transitional.element"), U = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), z = Symbol.for("react.consumer"), V = 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"), P = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), k = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, K = Array.isArray, w = console.createTask ? console.createTask : function() {
|
|
239
|
-
return null;
|
|
240
|
-
};
|
|
241
|
-
T = {
|
|
242
|
-
react_stack_bottom_frame: function(e) {
|
|
243
|
-
return e();
|
|
610
|
+
<%s key={someKey} {...props} />`, H, _, lr, _), _e[_ + H] = !0;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
return e === T ? ar(l) : nr(l), l;
|
|
244
614
|
}
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
t,
|
|
256
|
-
!1,
|
|
257
|
-
n,
|
|
258
|
-
i,
|
|
259
|
-
u ? Error("react-stack-top-frame") : Y,
|
|
260
|
-
u ? w(m(e)) : I
|
|
261
|
-
);
|
|
262
|
-
}, R.jsxs = function(e, r, t, n, i) {
|
|
263
|
-
var u = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
264
|
-
return A(
|
|
265
|
-
e,
|
|
266
|
-
r,
|
|
267
|
-
t,
|
|
268
|
-
!0,
|
|
269
|
-
n,
|
|
270
|
-
i,
|
|
271
|
-
u ? Error("react-stack-top-frame") : Y,
|
|
272
|
-
u ? w(m(e)) : I
|
|
273
|
-
);
|
|
274
|
-
};
|
|
275
|
-
})()), R;
|
|
615
|
+
}
|
|
616
|
+
function ir(e, r, t) {
|
|
617
|
+
return Te(e, r, t, !0);
|
|
618
|
+
}
|
|
619
|
+
function or(e, r, t) {
|
|
620
|
+
return Te(e, r, t, !1);
|
|
621
|
+
}
|
|
622
|
+
var ur = or, sr = ir;
|
|
623
|
+
F.Fragment = T, F.jsx = ur, F.jsxs = sr;
|
|
624
|
+
})()), F;
|
|
276
625
|
}
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
return
|
|
626
|
+
var Oe;
|
|
627
|
+
function vr() {
|
|
628
|
+
return Oe || (Oe = 1, process.env.NODE_ENV === "production" ? M.exports = cr() : M.exports = dr()), M.exports;
|
|
280
629
|
}
|
|
281
|
-
var
|
|
282
|
-
const
|
|
283
|
-
/* @__PURE__ */
|
|
284
|
-
/* @__PURE__ */
|
|
630
|
+
var A = vr();
|
|
631
|
+
const gr = ({ title: C, description: m }) => /* @__PURE__ */ A.jsx("div", { className: "ui", children: /* @__PURE__ */ A.jsx("div", { className: "ui-bg-white ui-rounded-lg ui-shadow-lg ui-overflow-hidden sm:max-w-xs lg:max-w-sm xl:max-w-md", children: /* @__PURE__ */ A.jsxs("div", { className: "ui-px-6 ui-py-4", children: [
|
|
632
|
+
/* @__PURE__ */ A.jsx("h2", { className: "ui-font-sans ui-text-red-700 ui-font-bold ui-text-xl ui-mb-2", children: C }),
|
|
633
|
+
/* @__PURE__ */ A.jsx("p", { className: "ui-bg-white ui-border-none ui-rounded-none ui-font-sans ui-text-gray-700 ui-text-base", children: m })
|
|
285
634
|
] }) }) });
|
|
286
635
|
export {
|
|
287
|
-
|
|
636
|
+
gr as Card
|
|
288
637
|
};
|
package/dist/ui.umd.js
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(y,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],x):(y=typeof globalThis<"u"?globalThis:y||self,x(y.ui={},y.React))})(this,(function(y,x){"use strict";var Y={exports:{}},j={};/**
|
|
2
2
|
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var ee;function Pe(){if(ee)return j;ee=1;var F=x,m=Symbol.for("react.element"),q=Symbol.for("react.fragment"),O=Object.prototype.hasOwnProperty,$=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,N={key:!0,ref:!0,__self:!0,__source:!0};function A(E,f,w){var p,g={},R=null,L=null;w!==void 0&&(R=""+w),f.key!==void 0&&(R=""+f.key),f.ref!==void 0&&(L=f.ref);for(p in f)O.call(f,p)&&!N.hasOwnProperty(p)&&(g[p]=f[p]);if(E&&E.defaultProps)for(p in f=E.defaultProps,f)g[p]===void 0&&(g[p]=f[p]);return{$$typeof:m,type:E,key:R,ref:L,props:g,_owner:$.current}}return j.Fragment=q,j.jsx=A,j.jsxs=A,j}var k={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
13
|
-
* Copyright (c)
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var re;function je(){return re||(re=1,process.env.NODE_ENV!=="production"&&(function(){var F=x,m=Symbol.for("react.element"),q=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),E=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),ne=Symbol.iterator,Fe="@@iterator";function Ae(e){if(e===null||typeof e!="object")return null;var r=ne&&e[ne]||e[Fe];return typeof r=="function"?r:null}var S=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ie("error",e,t)}}function Ie(e,r,t){{var n=S.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var We=!1,Ye=!1,$e=!1,Ne=!1,Le=!1,ae;ae=Symbol.for("react.module.reference");function Me(e){return!!(typeof e=="string"||typeof e=="function"||e===O||e===N||Le||e===$||e===w||e===p||Ne||e===L||We||Ye||$e||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===g||e.$$typeof===A||e.$$typeof===E||e.$$typeof===f||e.$$typeof===ae||e.getModuleId!==void 0))}function Ve(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ie(e){return e.displayName||"Context"}function b(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case q:return"Portal";case N:return"Profiler";case $:return"StrictMode";case w:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case E:var r=e;return ie(r)+".Consumer";case A:var t=e;return ie(t._context)+".Provider";case f:return Ve(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:b(e.type)||"Memo";case R:{var o=e,u=o._payload,i=o._init;try{return b(i(u))}catch{return null}}}return null}var _=Object.assign,I=0,oe,ue,se,le,fe,ce,de;function ve(){}ve.__reactDisabledLog=!0;function Ue(){{if(I===0){oe=console.log,ue=console.info,se=console.warn,le=console.error,fe=console.group,ce=console.groupCollapsed,de=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}I++}}function Je(){{if(I--,I===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_({},e,{value:oe}),info:_({},e,{value:ue}),warn:_({},e,{value:se}),error:_({},e,{value:le}),group:_({},e,{value:fe}),groupCollapsed:_({},e,{value:ce}),groupEnd:_({},e,{value:de})})}I<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var B=S.ReactCurrentDispatcher,K;function M(e,r,t){{if(K===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);K=n&&n[1]||""}return`
|
|
18
|
+
`+K+e}}var G=!1,V;{var qe=typeof WeakMap=="function"?WeakMap:Map;V=new qe}function pe(e,r){if(!e||G)return"";{var t=V.get(e);if(t!==void 0)return t}var n;G=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=B.current,B.current=null,Ue();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(v){n=v}Reflect.construct(e,[],i)}else{try{i.call()}catch(v){n=v}e.call(i.prototype)}}else{try{throw Error()}catch(v){n=v}e()}}catch(v){if(v&&n&&typeof v.stack=="string"){for(var a=v.stack.split(`
|
|
19
|
+
`),d=n.stack.split(`
|
|
20
|
+
`),s=a.length-1,l=d.length-1;s>=1&&l>=0&&a[s]!==d[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==d[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==d[l]){var h=`
|
|
21
|
+
`+a[s].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),typeof e=="function"&&V.set(e,h),h}while(s>=1&&l>=0);break}}}finally{G=!1,B.current=u,Je(),Error.prepareStackTrace=o}var P=e?e.displayName||e.name:"",T=P?M(P):"";return typeof e=="function"&&V.set(e,T),T}function Be(e,r,t){return pe(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function U(e,r,t){if(e==null)return"";if(typeof e=="function")return pe(e,Ke(e));if(typeof e=="string")return M(e);switch(e){case w:return M("Suspense");case p:return M("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Be(e.render);case g:return U(e.type,r,t);case R:{var n=e,o=n._payload,u=n._init;try{return U(u(o),r,t)}catch{}}}return""}var W=Object.prototype.hasOwnProperty,he={},ge=S.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}function Ge(e,r,t,n,o){{var u=Function.call.bind(W);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var d=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(J(o),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),J(null)),a instanceof Error&&!(a.message in he)&&(he[a.message]=!0,J(o),c("Failed %s type: %s",t,a.message),J(null))}}}var ze=Array.isArray;function z(e){return ze(e)}function Xe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function He(e){try{return be(e),!1}catch{return!0}}function be(e){return""+e}function ye(e){if(He(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xe(e)),be(e)}var me=S.ReactCurrentOwner,Ze={key:!0,ref:!0,__self:!0,__source:!0},Ee,Re;function Qe(e){if(W.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function er(e){if(W.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function rr(e,r){typeof e.ref=="string"&&me.current}function tr(e,r){{var t=function(){Ee||(Ee=!0,c("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function nr(e,r){{var t=function(){Re||(Re=!0,c("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var ar=function(e,r,t,n,o,u,i){var a={$$typeof:m,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ir(e,r,t,n,o){{var u,i={},a=null,d=null;t!==void 0&&(ye(t),a=""+t),er(r)&&(ye(r.key),a=""+r.key),Qe(r)&&(d=r.ref,rr(r,o));for(u in r)W.call(r,u)&&!Ze.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||d){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&tr(i,l),d&&nr(i,l)}return ar(e,a,d,o,n,me.current,i)}}var X=S.ReactCurrentOwner,_e=S.ReactDebugCurrentFrame;function C(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);_e.setExtraStackFrame(t)}else _e.setExtraStackFrame(null)}var H;H=!1;function Z(e){return typeof e=="object"&&e!==null&&e.$$typeof===m}function Te(){{if(X.current){var e=b(X.current.type);if(e)return`
|
|
22
|
+
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function or(e){return""}var xe={};function ur(e){{var r=Te();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
24
|
+
|
|
25
|
+
Check the top-level render call using <`+t+">.")}return r}}function Oe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ur(r);if(xe[t])return;xe[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+b(e._owner.type)+"."),C(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),C(null)}}function we(e,r){{if(typeof e!="object")return;if(z(e))for(var t=0;t<e.length;t++){var n=e[t];Z(n)&&Oe(n,r)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var o=Ae(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)Z(i.value)&&Oe(i.value,r)}}}function sr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===f||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=b(r);Ge(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!H){H=!0;var o=b(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){C(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),C(null);break}}e.ref!==null&&(C(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),C(null))}}var Se={};function Ce(e,r,t,n,o,u){{var i=Me(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=or();d?a+=d:a+=Te();var s;e===null?s="null":z(e)?s="array":e!==void 0&&e.$$typeof===m?(s="<"+(b(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=ir(e,r,t,o,u);if(l==null)return l;if(i){var h=r.children;if(h!==void 0)if(n)if(z(h)){for(var P=0;P<h.length;P++)we(h[P],e);Object.freeze&&Object.freeze(h)}else c("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 we(h,e)}if(W.call(r,"key")){var T=b(e),v=Object.keys(r).filter(function(hr){return hr!=="key"}),Q=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!Se[T+Q]){var pr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX:
|
|
18
26
|
let props = %s;
|
|
19
27
|
<%s {...props} />
|
|
20
28
|
React keys must be passed directly to JSX without using spread:
|
|
21
29
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,
|
|
30
|
+
<%s key={someKey} {...props} />`,Q,T,pr,T),Se[T+Q]=!0}}return e===O?lr(l):sr(l),l}}function fr(e,r,t){return Ce(e,r,t,!0)}function cr(e,r,t){return Ce(e,r,t,!1)}var dr=cr,vr=fr;k.Fragment=O,k.jsx=dr,k.jsxs=vr})()),k}var te;function ke(){return te||(te=1,process.env.NODE_ENV==="production"?Y.exports=Pe():Y.exports=je()),Y.exports}var D=ke();const De=({title:F,description:m})=>D.jsx("div",{className:"ui",children:D.jsx("div",{className:"ui-bg-white ui-rounded-lg ui-shadow-lg ui-overflow-hidden sm:max-w-xs lg:max-w-sm xl:max-w-md",children:D.jsxs("div",{className:"ui-px-6 ui-py-4",children:[D.jsx("h2",{className:"ui-font-sans ui-text-red-700 ui-font-bold ui-text-xl ui-mb-2",children:F}),D.jsx("p",{className:"ui-bg-white ui-border-none ui-rounded-none ui-font-sans ui-text-gray-700 ui-text-base",children:m})]})})});y.Card=De,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-ui-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"prepublishOnly": "npm run build"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"react": "^
|
|
33
|
-
"react-dom": "^
|
|
32
|
+
"react": "^16.8 || ^17 || ^18",
|
|
33
|
+
"react-dom": "^16.8 || ^17 || ^18"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@chromatic-com/storybook": "^4.1.1",
|
|
@@ -52,6 +52,8 @@
|
|
|
52
52
|
"eslint-plugin-storybook": "^9.1.5",
|
|
53
53
|
"globals": "^16.3.0",
|
|
54
54
|
"playwright": "^1.55.0",
|
|
55
|
+
"react": "^18.3.1",
|
|
56
|
+
"react-dom": "^18.3.1",
|
|
55
57
|
"storybook": "^9.1.5",
|
|
56
58
|
"tailwindcss": "^3.4.17",
|
|
57
59
|
"typescript": "~5.8.3",
|