naria-ui 0.1.30 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export
|
|
1
|
+
import { default as React, FC } from 'react';
|
|
2
|
+
export interface props extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
3
|
+
type?: "button" | "submit";
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const Button: FC<props>;
|
package/dist/naria-ui.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ee=require("react");var T={exports:{}},R={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
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 $;function re(){if($)return R;$=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function d(m,u,s){var E=null;if(s!==void 0&&(E=""+s),u.key!==void 0&&(E=""+u.key),"key"in u){s={};for(var b in u)b!=="key"&&(s[b]=u[b])}else s=u;return u=s.ref,{$$typeof:a,type:m,key:E,ref:u!==void 0?u:null,props:s}}return R.Fragment=i,R.jsx=d,R.jsxs=d,R}var _={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,9 +14,9 @@
|
|
|
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 F;function te(){return F||(F=1,process.env.NODE_ENV!=="production"&&function(){function a(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Z?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case q:return"Profiler";case W:return"StrictMode";case G:return"Suspense";case X:return"SuspenseList";case H:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case U:return"Portal";case J:return(e.displayName||"Context")+".Provider";case z:return(e._context.displayName||"Context")+".Consumer";case V:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case B:return r=e.displayName||null,r!==null?r:a(e.type)||"Memo";case x:r=e._payload,e=e._init;try{return a(e(r))}catch{}}return null}function i(e){return""+e}function d(e){try{i(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),i(e)}}function m(e){if(e===p)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===x)return"<...>";try{var r=a(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function u(){var e=k.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function E(e){if(h.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function b(e,r){function t(){y||(y=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function M(){var e=a(this.type);return N[e]||(N[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function L(e,r,t,n,l,c,A,S){return t=c.ref,e={$$typeof:g,type:e,key:r,props:c,_owner:l},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:M}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:S}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function j(e,r,t,n,l,c,A,S){var o=r.children;if(o!==void 0)if(n)if(Q(o)){for(n=0;n<o.length;n++)w(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 w(o);if(h.call(r,"key")){o=a(e);var f=Object.keys(r).filter(function(K){return K!=="key"});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",I[o+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,n,o,
|
|
22
|
+
<%s key={someKey} {...props} />`,n,o,f,o),I[o+n]=!0)}if(o=null,t!==void 0&&(d(t),o=""+t),E(r)&&(d(r.key),o=""+r.key),"key"in r){t={};for(var P in r)P!=="key"&&(t[P]=r[P])}else t=r;return o&&b(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),L(e,o,c,l,u(),t,A,S)}function w(e){typeof e=="object"&&e!==null&&e.$$typeof===g&&e._store&&(e._store.validated=1)}var v=ee,g=Symbol.for("react.transitional.element"),U=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),J=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),Z=Symbol.for("react.client.reference"),k=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,h=Object.prototype.hasOwnProperty,Q=Array.isArray,O=console.createTask?console.createTask:function(){return null};v={"react-stack-bottom-frame":function(e){return e()}};var y,N={},C=v["react-stack-bottom-frame"].bind(v,s)(),Y=O(m(s)),I={};_.Fragment=p,_.jsx=function(e,r,t,n,l){var c=1e4>k.recentlyCreatedOwnerStacks++;return j(e,r,t,!1,n,l,c?Error("react-stack-top-frame"):C,c?O(m(e)):Y)},_.jsxs=function(e,r,t,n,l){var c=1e4>k.recentlyCreatedOwnerStacks++;return j(e,r,t,!0,n,l,c?Error("react-stack-top-frame"):C,c?O(m(e)):Y)}}()),_}var D;function ne(){return D||(D=1,process.env.NODE_ENV==="production"?T.exports=re():T.exports=te()),T.exports}var oe=ne();const ae=({type:a="button",value:i})=>oe.jsx("button",{type:a,children:i});function ue(a){return a.charAt(0).toUpperCase()+a.slice(1)}exports.Button=ae;exports.capitalize=ue;
|
package/dist/naria-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var T = { exports: {} },
|
|
1
|
+
import ee from "react";
|
|
2
|
+
var T = { exports: {} }, b = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.js
|
|
@@ -9,29 +9,29 @@ var T = { exports: {} }, R = {};
|
|
|
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
|
|
19
|
-
if (u !== void 0 && (
|
|
12
|
+
var $;
|
|
13
|
+
function re() {
|
|
14
|
+
if ($) return b;
|
|
15
|
+
$ = 1;
|
|
16
|
+
var a = Symbol.for("react.transitional.element"), i = Symbol.for("react.fragment");
|
|
17
|
+
function d(m, s, u) {
|
|
18
|
+
var E = null;
|
|
19
|
+
if (u !== void 0 && (E = "" + u), s.key !== void 0 && (E = "" + s.key), "key" in s) {
|
|
20
20
|
u = {};
|
|
21
|
-
for (var
|
|
22
|
-
|
|
23
|
-
} else u =
|
|
24
|
-
return
|
|
25
|
-
$$typeof:
|
|
21
|
+
for (var R in s)
|
|
22
|
+
R !== "key" && (u[R] = s[R]);
|
|
23
|
+
} else u = s;
|
|
24
|
+
return s = u.ref, {
|
|
25
|
+
$$typeof: a,
|
|
26
26
|
type: m,
|
|
27
|
-
key:
|
|
28
|
-
ref:
|
|
27
|
+
key: E,
|
|
28
|
+
ref: s !== void 0 ? s : null,
|
|
29
29
|
props: u
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return b.Fragment = i, b.jsx = d, b.jsxs = d, b;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var _ = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -41,58 +41,58 @@ var b = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
47
|
-
function
|
|
44
|
+
var F;
|
|
45
|
+
function te() {
|
|
46
|
+
return F || (F = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
function a(e) {
|
|
48
48
|
if (e == null) return null;
|
|
49
49
|
if (typeof e == "function")
|
|
50
|
-
return e.$$typeof ===
|
|
50
|
+
return e.$$typeof === Z ? null : e.displayName || e.name || null;
|
|
51
51
|
if (typeof e == "string") return e;
|
|
52
52
|
switch (e) {
|
|
53
53
|
case p:
|
|
54
54
|
return "Fragment";
|
|
55
|
-
case z:
|
|
56
|
-
return "Profiler";
|
|
57
55
|
case q:
|
|
56
|
+
return "Profiler";
|
|
57
|
+
case W:
|
|
58
58
|
return "StrictMode";
|
|
59
|
-
case
|
|
59
|
+
case G:
|
|
60
60
|
return "Suspense";
|
|
61
|
-
case
|
|
61
|
+
case X:
|
|
62
62
|
return "SuspenseList";
|
|
63
|
-
case
|
|
63
|
+
case H:
|
|
64
64
|
return "Activity";
|
|
65
65
|
}
|
|
66
66
|
if (typeof e == "object")
|
|
67
67
|
switch (typeof e.tag == "number" && console.error(
|
|
68
68
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
69
|
), e.$$typeof) {
|
|
70
|
-
case
|
|
70
|
+
case U:
|
|
71
71
|
return "Portal";
|
|
72
|
-
case V:
|
|
73
|
-
return (e.displayName || "Context") + ".Provider";
|
|
74
72
|
case J:
|
|
73
|
+
return (e.displayName || "Context") + ".Provider";
|
|
74
|
+
case z:
|
|
75
75
|
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
-
case
|
|
76
|
+
case V:
|
|
77
77
|
var r = e.render;
|
|
78
78
|
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
-
case
|
|
80
|
-
return r = e.displayName || null, r !== null ? r :
|
|
81
|
-
case
|
|
79
|
+
case B:
|
|
80
|
+
return r = e.displayName || null, r !== null ? r : a(e.type) || "Memo";
|
|
81
|
+
case h:
|
|
82
82
|
r = e._payload, e = e._init;
|
|
83
83
|
try {
|
|
84
|
-
return
|
|
84
|
+
return a(e(r));
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function i(e) {
|
|
91
91
|
return "" + e;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function d(e) {
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
i(e);
|
|
96
96
|
var r = !1;
|
|
97
97
|
} catch {
|
|
98
98
|
r = !0;
|
|
@@ -104,35 +104,35 @@ function ne() {
|
|
|
104
104
|
r,
|
|
105
105
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
106
|
n
|
|
107
|
-
),
|
|
107
|
+
), i(e);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function m(e) {
|
|
111
111
|
if (e === p) return "<>";
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === h)
|
|
113
113
|
return "<...>";
|
|
114
114
|
try {
|
|
115
|
-
var r =
|
|
115
|
+
var r = a(e);
|
|
116
116
|
return r ? "<" + r + ">" : "<...>";
|
|
117
117
|
} catch {
|
|
118
118
|
return "<...>";
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function s() {
|
|
122
122
|
var e = k.A;
|
|
123
123
|
return e === null ? null : e.getOwner();
|
|
124
124
|
}
|
|
125
125
|
function u() {
|
|
126
126
|
return Error("react-stack-top-frame");
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
if (
|
|
128
|
+
function E(e) {
|
|
129
|
+
if (g.call(e, "key")) {
|
|
130
130
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
131
|
if (r && r.isReactWarning) return !1;
|
|
132
132
|
}
|
|
133
133
|
return e.key !== void 0;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function R(e, r) {
|
|
136
136
|
function t() {
|
|
137
137
|
y || (y = !0, console.error(
|
|
138
138
|
"%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)",
|
|
@@ -144,13 +144,13 @@ function ne() {
|
|
|
144
144
|
configurable: !0
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
var e =
|
|
147
|
+
function L() {
|
|
148
|
+
var e = a(this.type);
|
|
149
149
|
return N[e] || (N[e] = !0, console.error(
|
|
150
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
151
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function M(e, r, t, n, l, c, A, S) {
|
|
154
154
|
return t = c.ref, e = {
|
|
155
155
|
$$typeof: x,
|
|
156
156
|
type: e,
|
|
@@ -159,7 +159,7 @@ function ne() {
|
|
|
159
159
|
_owner: l
|
|
160
160
|
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
161
|
enumerable: !1,
|
|
162
|
-
get:
|
|
162
|
+
get: L
|
|
163
163
|
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
164
164
|
configurable: !1,
|
|
165
165
|
enumerable: !1,
|
|
@@ -186,7 +186,7 @@ function ne() {
|
|
|
186
186
|
var o = r.children;
|
|
187
187
|
if (o !== void 0)
|
|
188
188
|
if (n)
|
|
189
|
-
if (
|
|
189
|
+
if (Q(o)) {
|
|
190
190
|
for (n = 0; n < o.length; n++)
|
|
191
191
|
w(o[n]);
|
|
192
192
|
Object.freeze && Object.freeze(o);
|
|
@@ -195,12 +195,12 @@ function ne() {
|
|
|
195
195
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
196
|
);
|
|
197
197
|
else w(o);
|
|
198
|
-
if (
|
|
199
|
-
o =
|
|
200
|
-
var
|
|
201
|
-
return
|
|
198
|
+
if (g.call(r, "key")) {
|
|
199
|
+
o = a(e);
|
|
200
|
+
var f = Object.keys(r).filter(function(K) {
|
|
201
|
+
return K !== "key";
|
|
202
202
|
});
|
|
203
|
-
n = 0 <
|
|
203
|
+
n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
204
|
`A props object containing a "key" prop is being spread into JSX:
|
|
205
205
|
let props = %s;
|
|
206
206
|
<%s {...props} />
|
|
@@ -209,24 +209,24 @@ React keys must be passed directly to JSX without using spread:
|
|
|
209
209
|
<%s key={someKey} {...props} />`,
|
|
210
210
|
n,
|
|
211
211
|
o,
|
|
212
|
-
|
|
212
|
+
f,
|
|
213
213
|
o
|
|
214
|
-
),
|
|
214
|
+
), I[o + n] = !0);
|
|
215
215
|
}
|
|
216
|
-
if (o = null, t !== void 0 && (
|
|
216
|
+
if (o = null, t !== void 0 && (d(t), o = "" + t), E(r) && (d(r.key), o = "" + r.key), "key" in r) {
|
|
217
217
|
t = {};
|
|
218
218
|
for (var P in r)
|
|
219
219
|
P !== "key" && (t[P] = r[P]);
|
|
220
220
|
} else t = r;
|
|
221
|
-
return o &&
|
|
221
|
+
return o && R(
|
|
222
222
|
t,
|
|
223
223
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
-
),
|
|
224
|
+
), M(
|
|
225
225
|
e,
|
|
226
226
|
o,
|
|
227
227
|
c,
|
|
228
228
|
l,
|
|
229
|
-
|
|
229
|
+
s(),
|
|
230
230
|
t,
|
|
231
231
|
A,
|
|
232
232
|
S
|
|
@@ -235,7 +235,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
235
235
|
function w(e) {
|
|
236
236
|
typeof e == "object" && e !== null && e.$$typeof === x && e._store && (e._store.validated = 1);
|
|
237
237
|
}
|
|
238
|
-
var v =
|
|
238
|
+
var v = ee, x = Symbol.for("react.transitional.element"), U = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), z = Symbol.for("react.consumer"), J = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, g = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
239
239
|
return null;
|
|
240
240
|
};
|
|
241
241
|
v = {
|
|
@@ -246,8 +246,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
246
246
|
var y, N = {}, C = v["react-stack-bottom-frame"].bind(
|
|
247
247
|
v,
|
|
248
248
|
u
|
|
249
|
-
)(), Y = O(m(u)),
|
|
250
|
-
|
|
249
|
+
)(), Y = O(m(u)), I = {};
|
|
250
|
+
_.Fragment = p, _.jsx = function(e, r, t, n, l) {
|
|
251
251
|
var c = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
252
252
|
return j(
|
|
253
253
|
e,
|
|
@@ -259,7 +259,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
259
259
|
c ? Error("react-stack-top-frame") : C,
|
|
260
260
|
c ? O(m(e)) : Y
|
|
261
261
|
);
|
|
262
|
-
},
|
|
262
|
+
}, _.jsxs = function(e, r, t, n, l) {
|
|
263
263
|
var c = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
264
264
|
return j(
|
|
265
265
|
e,
|
|
@@ -272,16 +272,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272
272
|
c ? O(m(e)) : Y
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
|
-
}()),
|
|
275
|
+
}()), _;
|
|
276
276
|
}
|
|
277
277
|
var D;
|
|
278
|
-
function
|
|
279
|
-
return D || (D = 1, process.env.NODE_ENV === "production" ? T.exports =
|
|
278
|
+
function ne() {
|
|
279
|
+
return D || (D = 1, process.env.NODE_ENV === "production" ? T.exports = re() : T.exports = te()), T.exports;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
const se = () => /* @__PURE__ */
|
|
283
|
-
function ue(
|
|
284
|
-
return
|
|
281
|
+
var oe = ne();
|
|
282
|
+
const se = ({ type: a = "button", value: i }) => /* @__PURE__ */ oe.jsx("button", { type: a, children: i });
|
|
283
|
+
function ue(a) {
|
|
284
|
+
return a.charAt(0).toUpperCase() + a.slice(1);
|
|
285
285
|
}
|
|
286
286
|
export {
|
|
287
287
|
se as Button,
|