naria-ui 0.1.31 → 0.1.34
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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Input } from './Input';
|
package/dist/naria-ui.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("react");var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("react");var p={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 te(){if($)return R;$=1;var a=Symbol.for("react.transitional.element"),l=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=l,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 ne(){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===Q?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case z:return"Profiler";case q:return"StrictMode";case X:return"Suspense";case B:return"SuspenseList";case Z:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case W:return"Portal";case V:return(e.displayName||"Context")+".Provider";case J:return(e._context.displayName||"Context")+".Consumer";case G:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case H:return r=e.displayName||null,r!==null?r:a(e.type)||"Memo";case g:r=e._payload,e=e._init;try{return a(e(r))}catch{}}return null}function l(e){return""+e}function d(e){try{l(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),l(e)}}function m(e){if(e===T)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===g)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 L(){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 U(e,r,t,n,i,c,A,S){return t=c.ref,e={$$typeof:w,type:e,key:r,props:c,_owner:i},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:L}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:S}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function j(e,r,t,n,i,c,A,S){var o=r.children;if(o!==void 0)if(n)if(K(o)){for(n=0;n<o.length;n++)x(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 x(o);if(h.call(r,"key")){o=a(e);var f=Object.keys(r).filter(function(ee){return ee!=="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),U(e,o,c,i,u(),t,A,S)}function x(e){typeof e=="object"&&e!==null&&e.$$typeof===w&&e._store&&(e._store.validated=1)}var v=re,w=Symbol.for("react.transitional.element"),W=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),J=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"),g=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),Q=Symbol.for("react.client.reference"),k=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,h=Object.prototype.hasOwnProperty,K=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=T,_.jsx=function(e,r,t,n,i){var c=1e4>k.recentlyCreatedOwnerStacks++;return j(e,r,t,!1,n,i,c?Error("react-stack-top-frame"):C,c?O(m(e)):Y)},_.jsxs=function(e,r,t,n,i){var c=1e4>k.recentlyCreatedOwnerStacks++;return j(e,r,t,!0,n,i,c?Error("react-stack-top-frame"):C,c?O(m(e)):Y)}}()),_}var D;function oe(){return D||(D=1,process.env.NODE_ENV==="production"?p.exports=te():p.exports=ne()),p.exports}var M=oe();const ae=({type:a="button",value:l})=>M.jsx("button",{type:a,children:l}),ue=({type:a="text",placeholder:l})=>M.jsx("input",{type:a,placeholder:l});function se(a){return a.charAt(0).toUpperCase()+a.slice(1)}exports.Button=ae;exports.Input=ue;exports.capitalize=se;
|
package/dist/naria-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import re from "react";
|
|
2
|
-
var
|
|
2
|
+
var p = { 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
|
|
12
|
+
var $;
|
|
13
13
|
function te() {
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
if (u !== void 0 && (
|
|
14
|
+
if ($) return b;
|
|
15
|
+
$ = 1;
|
|
16
|
+
var a = Symbol.for("react.transitional.element"), l = 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 = l, 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,16 +41,16 @@ 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
|
|
44
|
+
var F;
|
|
45
45
|
function ne() {
|
|
46
|
-
return
|
|
47
|
-
function
|
|
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
50
|
return e.$$typeof === Q ? null : e.displayName || e.name || null;
|
|
51
51
|
if (typeof e == "string") return e;
|
|
52
52
|
switch (e) {
|
|
53
|
-
case
|
|
53
|
+
case T:
|
|
54
54
|
return "Fragment";
|
|
55
55
|
case z:
|
|
56
56
|
return "Profiler";
|
|
@@ -77,22 +77,22 @@ function ne() {
|
|
|
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
79
|
case H:
|
|
80
|
-
return r = e.displayName || null, r !== null ? r :
|
|
81
|
-
case
|
|
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 l(e) {
|
|
91
91
|
return "" + e;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function d(e) {
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
l(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
|
+
), l(e);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function m(e) {
|
|
111
|
-
if (e ===
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
111
|
+
if (e === T) return "<>";
|
|
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)",
|
|
@@ -145,18 +145,18 @@ function ne() {
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
function M() {
|
|
148
|
-
var e =
|
|
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 U(e, r, t, n,
|
|
153
|
+
function U(e, r, t, n, i, c, A, S) {
|
|
154
154
|
return t = c.ref, e = {
|
|
155
|
-
$$typeof:
|
|
155
|
+
$$typeof: w,
|
|
156
156
|
type: e,
|
|
157
157
|
key: r,
|
|
158
158
|
props: c,
|
|
159
|
-
_owner:
|
|
159
|
+
_owner: i
|
|
160
160
|
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
161
|
enumerable: !1,
|
|
162
162
|
get: M
|
|
@@ -182,25 +182,25 @@ function ne() {
|
|
|
182
182
|
value: S
|
|
183
183
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function P(e, r, t, n, i, c, A, S) {
|
|
186
186
|
var o = r.children;
|
|
187
187
|
if (o !== void 0)
|
|
188
188
|
if (n)
|
|
189
189
|
if (K(o)) {
|
|
190
190
|
for (n = 0; n < o.length; n++)
|
|
191
|
-
|
|
191
|
+
j(o[n]);
|
|
192
192
|
Object.freeze && Object.freeze(o);
|
|
193
193
|
} else
|
|
194
194
|
console.error(
|
|
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
|
-
else
|
|
198
|
-
if (
|
|
199
|
-
o =
|
|
200
|
-
var
|
|
197
|
+
else j(o);
|
|
198
|
+
if (g.call(r, "key")) {
|
|
199
|
+
o = a(e);
|
|
200
|
+
var f = Object.keys(r).filter(function(ee) {
|
|
201
201
|
return ee !== "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,33 +209,33 @@ 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
|
-
for (var
|
|
219
|
-
|
|
218
|
+
for (var x in r)
|
|
219
|
+
x !== "key" && (t[x] = r[x]);
|
|
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
|
), U(
|
|
225
225
|
e,
|
|
226
226
|
o,
|
|
227
227
|
c,
|
|
228
|
-
|
|
229
|
-
|
|
228
|
+
i,
|
|
229
|
+
s(),
|
|
230
230
|
t,
|
|
231
231
|
A,
|
|
232
232
|
S
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
typeof e == "object" && e !== null && e.$$typeof ===
|
|
235
|
+
function j(e) {
|
|
236
|
+
typeof e == "object" && e !== null && e.$$typeof === w && e._store && (e._store.validated = 1);
|
|
237
237
|
}
|
|
238
|
-
var v = re,
|
|
238
|
+
var v = re, w = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), z = Symbol.for("react.profiler"), J = 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"), h = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, g = Object.prototype.hasOwnProperty, K = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
239
239
|
return null;
|
|
240
240
|
};
|
|
241
241
|
v = {
|
|
@@ -246,44 +246,45 @@ 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 = T, _.jsx = function(e, r, t, n, i) {
|
|
251
251
|
var c = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
252
|
-
return
|
|
252
|
+
return P(
|
|
253
253
|
e,
|
|
254
254
|
r,
|
|
255
255
|
t,
|
|
256
256
|
!1,
|
|
257
257
|
n,
|
|
258
|
-
|
|
258
|
+
i,
|
|
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, i) {
|
|
263
263
|
var c = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
264
|
-
return
|
|
264
|
+
return P(
|
|
265
265
|
e,
|
|
266
266
|
r,
|
|
267
267
|
t,
|
|
268
268
|
!0,
|
|
269
269
|
n,
|
|
270
|
-
|
|
270
|
+
i,
|
|
271
271
|
c ? Error("react-stack-top-frame") : C,
|
|
272
272
|
c ? O(m(e)) : Y
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
|
-
}()),
|
|
275
|
+
}()), _;
|
|
276
276
|
}
|
|
277
277
|
var D;
|
|
278
278
|
function oe() {
|
|
279
|
-
return D || (D = 1, process.env.NODE_ENV === "production" ?
|
|
279
|
+
return D || (D = 1, process.env.NODE_ENV === "production" ? p.exports = te() : p.exports = ne()), p.exports;
|
|
280
280
|
}
|
|
281
281
|
var L = oe();
|
|
282
|
-
const se = () => /* @__PURE__ */ L.jsx(L.
|
|
283
|
-
function
|
|
284
|
-
return
|
|
282
|
+
const se = ({ type: a = "button", value: l }) => /* @__PURE__ */ L.jsx("button", { type: a, children: l }), ue = ({ type: a = "text", placeholder: l }) => /* @__PURE__ */ L.jsx("input", { type: a, placeholder: l });
|
|
283
|
+
function ce(a) {
|
|
284
|
+
return a.charAt(0).toUpperCase() + a.slice(1);
|
|
285
285
|
}
|
|
286
286
|
export {
|
|
287
287
|
se as Button,
|
|
288
|
-
ue as
|
|
288
|
+
ue as Input,
|
|
289
|
+
ce as capitalize
|
|
289
290
|
};
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "Mohammad Mehdi Mohammadi",
|
|
6
6
|
"url": ""
|
|
7
7
|
},
|
|
8
|
-
"version": "0.1.
|
|
8
|
+
"version": "0.1.34",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"main": "dist/naria-ui.cjs.js",
|
|
11
11
|
"module": "dist/naria-ui.es.js",
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
"react-dom": "^19.1.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@eslint/js": "^9.
|
|
40
|
-
"@types/react": "^19.
|
|
41
|
-
"@types/react-dom": "^19.
|
|
42
|
-
"@vitejs/plugin-react": "^
|
|
43
|
-
"@vitest/browser": "^3.
|
|
44
|
-
"@vitest/coverage-v8": "^3.
|
|
45
|
-
"eslint": "^9.
|
|
46
|
-
"eslint-plugin-react-hooks": "^
|
|
47
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
48
|
-
"globals": "^16.
|
|
49
|
-
"playwright": "^1.
|
|
50
|
-
"typescript": "~5.
|
|
51
|
-
"typescript-eslint": "^8.
|
|
52
|
-
"vite": "^
|
|
53
|
-
"vitest": "^3.
|
|
39
|
+
"@eslint/js": "^9.38.0",
|
|
40
|
+
"@types/react": "^19.2.2",
|
|
41
|
+
"@types/react-dom": "^19.2.2",
|
|
42
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
43
|
+
"@vitest/browser": "^3.2.4",
|
|
44
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
45
|
+
"eslint": "^9.38.0",
|
|
46
|
+
"eslint-plugin-react-hooks": "^7.0.0",
|
|
47
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
48
|
+
"globals": "^16.4.0",
|
|
49
|
+
"playwright": "^1.56.1",
|
|
50
|
+
"typescript": "~5.9.3",
|
|
51
|
+
"typescript-eslint": "^8.46.1",
|
|
52
|
+
"vite": "^7.1.10",
|
|
53
|
+
"vitest": "^3.2.4",
|
|
54
54
|
"vite-plugin-dts": "^4.5.4"
|
|
55
55
|
}
|
|
56
56
|
}
|