@sakura-ui/forms 0.4.0 → 0.4.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Taisuke Fujita
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.cjs.js CHANGED
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("react");var k={exports:{}},E={};var U;function ve(){if(U)return E;U=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(n,a,t){var o=null;if(t!==void 0&&(o=""+t),a.key!==void 0&&(o=""+a.key),"key"in a){t={};for(var u in a)u!=="key"&&(t[u]=a[u])}else t=a;return a=t.ref,{$$typeof:r,type:n,key:o,ref:a!==void 0?a:null,props:t}}return E.Fragment=i,E.jsx=c,E.jsxs=c,E}var _={};var G;function ye(){return G||(G=1,process.env.NODE_ENV!=="production"&&function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===me?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case ne:return"Profiler";case ie:return"StrictMode";case fe:return"Suspense";case pe:return"SuspenseList";case xe: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 oe:return"Portal";case ce:return e.displayName||"Context";case de:return(e._context.displayName||"Context")+".Consumer";case ue:var l=e.render;return e=e.displayName,e||(e=l.displayName||l.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case be:return l=e.displayName||null,l!==null?l:r(e.type)||"Memo";case P:l=e._payload,e=e._init;try{return r(e(l))}catch{}}return null}function i(e){return""+e}function c(e){try{i(e);var l=!1}catch{l=!0}if(l){l=console;var p=l.error,b=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return p.call(l,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",b),i(e)}}function n(e){if(e===C)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===P)return"<...>";try{var l=r(e);return l?"<"+l+">":"<...>"}catch{return"<...>"}}function a(){var e=S.A;return e===null?null:e.getOwner()}function t(){return Error("react-stack-top-frame")}function o(e){if(Y.call(e,"key")){var l=Object.getOwnPropertyDescriptor(e,"key").get;if(l&&l.isReactWarning)return!1}return e.key!==void 0}function u(e,l){function p(){z||(z=!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)",l))}p.isReactWarning=!0,Object.defineProperty(e,"key",{get:p,configurable:!0})}function d(){var e=r(this.type);return L[e]||(L[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function m(e,l,p,b,I,A){var x=p.ref;return e={$$typeof:F,type:e,key:l,props:p,_owner:b},(x!==void 0?x:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:d}):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:I}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function f(e,l,p,b,I,A){var x=l.children;if(x!==void 0)if(b)if(ge(x)){for(b=0;b<x.length;b++)g(x[b]);Object.freeze&&Object.freeze(x)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(x);if(Y.call(l,"key")){x=r(e);var j=Object.keys(l).filter(function(he){return he!=="key"});b=0<j.length?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}",B[x+b]||(j=0<j.length?"{"+j.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("react");var k={exports:{}},E={};var U;function ve(){if(U)return E;U=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(n,a,t){var o=null;if(t!==void 0&&(o=""+t),a.key!==void 0&&(o=""+a.key),"key"in a){t={};for(var u in a)u!=="key"&&(t[u]=a[u])}else t=a;return a=t.ref,{$$typeof:r,type:n,key:o,ref:a!==void 0?a:null,props:t}}return E.Fragment=i,E.jsx=c,E.jsxs=c,E}var _={};var G;function ye(){return G||(G=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===me?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case ne:return"Profiler";case ie:return"StrictMode";case fe:return"Suspense";case pe:return"SuspenseList";case xe: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 oe:return"Portal";case ce:return e.displayName||"Context";case de:return(e._context.displayName||"Context")+".Consumer";case ue:var l=e.render;return e=e.displayName,e||(e=l.displayName||l.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case be:return l=e.displayName||null,l!==null?l:r(e.type)||"Memo";case P:l=e._payload,e=e._init;try{return r(e(l))}catch{}}return null}function i(e){return""+e}function c(e){try{i(e);var l=!1}catch{l=!0}if(l){l=console;var p=l.error,b=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return p.call(l,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",b),i(e)}}function n(e){if(e===C)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===P)return"<...>";try{var l=r(e);return l?"<"+l+">":"<...>"}catch{return"<...>"}}function a(){var e=S.A;return e===null?null:e.getOwner()}function t(){return Error("react-stack-top-frame")}function o(e){if(Y.call(e,"key")){var l=Object.getOwnPropertyDescriptor(e,"key").get;if(l&&l.isReactWarning)return!1}return e.key!==void 0}function u(e,l){function p(){z||(z=!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)",l))}p.isReactWarning=!0,Object.defineProperty(e,"key",{get:p,configurable:!0})}function d(){var e=r(this.type);return L[e]||(L[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function m(e,l,p,b,I,A){var x=p.ref;return e={$$typeof:F,type:e,key:l,props:p,_owner:b},(x!==void 0?x:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:d}):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:I}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function f(e,l,p,b,I,A){var x=l.children;if(x!==void 0)if(b)if(ge(x)){for(b=0;b<x.length;b++)g(x[b]);Object.freeze&&Object.freeze(x)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(x);if(Y.call(l,"key")){x=r(e);var j=Object.keys(l).filter(function(he){return he!=="key"});b=0<j.length?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}",B[x+b]||(j=0<j.length?"{"+j.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
2
  let props = %s;
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,b,x,j,x),B[x+b]=!0)}if(x=null,p!==void 0&&(c(p),x=""+p),o(l)&&(c(l.key),x=""+l.key),"key"in l){p={};for(var $ in l)$!=="key"&&(p[$]=l[$])}else p=l;return x&&u(p,typeof e=="function"?e.displayName||e.name||"Unknown":e),m(e,x,p,a(),I,A)}function g(e){h(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===P&&(e._payload.status==="fulfilled"?h(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function h(e){return typeof e=="object"&&e!==null&&e.$$typeof===F}var v=R,F=Symbol.for("react.transitional.element"),oe=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),ne=Symbol.for("react.profiler"),de=Symbol.for("react.consumer"),ce=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),pe=Symbol.for("react.suspense_list"),be=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),xe=Symbol.for("react.activity"),me=Symbol.for("react.client.reference"),S=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.prototype.hasOwnProperty,ge=Array.isArray,O=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var z,L={},D=v.react_stack_bottom_frame.bind(v,t)(),W=O(n(t)),B={};_.Fragment=C,_.jsx=function(e,l,p){var b=1e4>S.recentlyCreatedOwnerStacks++;return f(e,l,p,!1,b?Error("react-stack-top-frame"):D,b?O(n(e)):W)},_.jsxs=function(e,l,p){var b=1e4>S.recentlyCreatedOwnerStacks++;return f(e,l,p,!0,b?Error("react-stack-top-frame"):D,b?O(n(e)):W)}}()),_}var V;function Re(){return V||(V=1,process.env.NODE_ENV==="production"?k.exports=ve():k.exports=ye()),k.exports}var s=Re();const y=(...r)=>r.filter(Boolean).join(" ");var N;(r=>{r.clickable=`
6
+ <%s key={someKey} {...props} />`,b,x,j,x),B[x+b]=!0)}if(x=null,p!==void 0&&(c(p),x=""+p),o(l)&&(c(l.key),x=""+l.key),"key"in l){p={};for(var $ in l)$!=="key"&&(p[$]=l[$])}else p=l;return x&&u(p,typeof e=="function"?e.displayName||e.name||"Unknown":e),m(e,x,p,a(),I,A)}function g(e){h(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===P&&(e._payload.status==="fulfilled"?h(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function h(e){return typeof e=="object"&&e!==null&&e.$$typeof===F}var v=R,F=Symbol.for("react.transitional.element"),oe=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),ne=Symbol.for("react.profiler"),de=Symbol.for("react.consumer"),ce=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),pe=Symbol.for("react.suspense_list"),be=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),xe=Symbol.for("react.activity"),me=Symbol.for("react.client.reference"),S=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.prototype.hasOwnProperty,ge=Array.isArray,O=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var z,L={},D=v.react_stack_bottom_frame.bind(v,t)(),W=O(n(t)),B={};_.Fragment=C,_.jsx=function(e,l,p){var b=1e4>S.recentlyCreatedOwnerStacks++;return f(e,l,p,!1,b?Error("react-stack-top-frame"):D,b?O(n(e)):W)},_.jsxs=function(e,l,p){var b=1e4>S.recentlyCreatedOwnerStacks++;return f(e,l,p,!0,b?Error("react-stack-top-frame"):D,b?O(n(e)):W)}})()),_}var V;function Re(){return V||(V=1,process.env.NODE_ENV==="production"?k.exports=ve():k.exports=ye()),k.exports}var s=Re();const y=(...r)=>r.filter(Boolean).join(" ");var N;(r=>{r.clickable=`
7
7
  px-2
8
8
  min-h-[calc(44/16*1rem)]
9
9
  border
@@ -14,7 +14,6 @@ React keys must be passed directly to JSX without using spread:
14
14
  rounded-full
15
15
  bg-yellow-50
16
16
  `;const i=`
17
- focus-visible:outline
18
17
  focus-visible:outline-4
19
18
  focus-visible:outline-black
20
19
  focus-visible:ring-yellow-300
@@ -32,7 +31,7 @@ React keys must be passed directly to JSX without using spread:
32
31
  focus-visible:ring-[calc(2/16*1rem)]
33
32
  `,r.focusRounded=`
34
33
  ${r.focusRect}
35
- focus-visible:rounded
34
+ focus-visible:rounded-sm
36
35
  `,r.focusCard=`
37
36
  ${r.focusRect}
38
37
  focus-visible:rounded-2xl
@@ -42,7 +41,7 @@ React keys must be passed directly to JSX without using spread:
42
41
  focus-visible:bg-yellow-300
43
42
  `,r.focusRoundedWithBg=`
44
43
  ${r.focusRectWithBg}
45
- focus-visible:rounded
44
+ focus-visible:rounded-sm
46
45
  `,r.hoverUnderline=`
47
46
  hover:underline
48
47
  hover:underline-offset-[calc(3/16*1rem)]
@@ -72,7 +71,6 @@ React keys must be passed directly to JSX without using spread:
72
71
  top-11
73
72
  left-0
74
73
  `,(c=>{c.focus=`
75
- peer-focus-visible:outline
76
74
  peer-focus-visible:outline-4
77
75
  peer-focus-visible:outline-black
78
76
  peer-focus-visible:ring-yellow-300
package/dist/index.es.js CHANGED
@@ -4,7 +4,7 @@ var W;
4
4
  function fe() {
5
5
  if (W) return E;
6
6
  W = 1;
7
- var r = Symbol.for("react.transitional.element"), i = Symbol.for("react.fragment");
7
+ var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), i = /* @__PURE__ */ Symbol.for("react.fragment");
8
8
  function c(n, a, s) {
9
9
  var o = null;
10
10
  if (s !== void 0 && (o = "" + s), a.key !== void 0 && (o = "" + a.key), "key" in a) {
@@ -25,7 +25,7 @@ function fe() {
25
25
  var _ = {};
26
26
  var B;
27
27
  function pe() {
28
- return B || (B = 1, process.env.NODE_ENV !== "production" && function() {
28
+ return B || (B = 1, process.env.NODE_ENV !== "production" && (function() {
29
29
  function r(e) {
30
30
  if (e == null) return null;
31
31
  if (typeof e == "function")
@@ -219,7 +219,7 @@ React keys must be passed directly to JSX without using spread:
219
219
  function h(e) {
220
220
  return typeof e == "object" && e !== null && e.$$typeof === q;
221
221
  }
222
- var v = R, q = Symbol.for("react.transitional.element"), K = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), re = Symbol.for("react.profiler"), se = Symbol.for("react.consumer"), te = Symbol.for("react.context"), le = Symbol.for("react.forward_ref"), ae = Symbol.for("react.suspense"), oe = Symbol.for("react.suspense_list"), ie = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), ne = Symbol.for("react.activity"), de = Symbol.for("react.client.reference"), C = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, ce = Array.isArray, S = console.createTask ? console.createTask : function() {
222
+ var v = R, q = /* @__PURE__ */ Symbol.for("react.transitional.element"), K = /* @__PURE__ */ Symbol.for("react.portal"), k = /* @__PURE__ */ Symbol.for("react.fragment"), ee = /* @__PURE__ */ Symbol.for("react.strict_mode"), re = /* @__PURE__ */ Symbol.for("react.profiler"), se = /* @__PURE__ */ Symbol.for("react.consumer"), te = /* @__PURE__ */ Symbol.for("react.context"), le = /* @__PURE__ */ Symbol.for("react.forward_ref"), ae = /* @__PURE__ */ Symbol.for("react.suspense"), oe = /* @__PURE__ */ Symbol.for("react.suspense_list"), ie = /* @__PURE__ */ Symbol.for("react.memo"), P = /* @__PURE__ */ Symbol.for("react.lazy"), ne = /* @__PURE__ */ Symbol.for("react.activity"), de = /* @__PURE__ */ Symbol.for("react.client.reference"), C = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, ce = Array.isArray, S = console.createTask ? console.createTask : function() {
223
223
  return null;
224
224
  };
225
225
  v = {
@@ -252,7 +252,7 @@ React keys must be passed directly to JSX without using spread:
252
252
  b ? S(n(e)) : D
253
253
  );
254
254
  };
255
- }()), _;
255
+ })()), _;
256
256
  }
257
257
  var U;
258
258
  function be() {
@@ -274,7 +274,6 @@ var N;
274
274
  bg-yellow-50
275
275
  `;
276
276
  const i = `
277
- focus-visible:outline
278
277
  focus-visible:outline-4
279
278
  focus-visible:outline-black
280
279
  focus-visible:ring-yellow-300
@@ -293,7 +292,7 @@ var N;
293
292
  focus-visible:ring-[calc(2/16*1rem)]
294
293
  `, r.focusRounded = `
295
294
  ${r.focusRect}
296
- focus-visible:rounded
295
+ focus-visible:rounded-sm
297
296
  `, r.focusCard = `
298
297
  ${r.focusRect}
299
298
  focus-visible:rounded-2xl
@@ -303,7 +302,7 @@ var N;
303
302
  focus-visible:bg-yellow-300
304
303
  `, r.focusRoundedWithBg = `
305
304
  ${r.focusRectWithBg}
306
- focus-visible:rounded
305
+ focus-visible:rounded-sm
307
306
  `, r.hoverUnderline = `
308
307
  hover:underline
309
308
  hover:underline-offset-[calc(3/16*1rem)]
@@ -334,7 +333,6 @@ var N;
334
333
  left-0
335
334
  `, ((c) => {
336
335
  c.focus = `
337
- peer-focus-visible:outline
338
336
  peer-focus-visible:outline-4
339
337
  peer-focus-visible:outline-black
340
338
  peer-focus-visible:ring-yellow-300
@@ -656,20 +654,24 @@ const xe = (r) => {
656
654
  file:leading-snug
657
655
  `
658
656
  };
659
- return /* @__PURE__ */ t.jsx(
660
- "input",
661
- {
662
- type: "file",
663
- id: i || s.id,
664
- className: y(o, u, x[n], d, c),
665
- "aria-describedby": s.helperTextId,
666
- "aria-errormessage": s.errorMessageId,
667
- "aria-invalid": s.isInvalid ?? !1,
668
- "aria-required": s.isRequired ?? !1,
669
- role: "button",
670
- "aria-label": "File Upload",
671
- ...a
672
- }
657
+ return (
658
+ // biome-ignore lint/a11y/useAriaPropsSupportedByRole: see the TODO above
659
+ // biome-ignore lint/a11y/useSemanticElements: see the TODO above
660
+ /* @__PURE__ */ t.jsx(
661
+ "input",
662
+ {
663
+ type: "file",
664
+ id: i || s.id,
665
+ className: y(o, u, x[n], d, c),
666
+ "aria-describedby": s.helperTextId,
667
+ "aria-errormessage": s.errorMessageId,
668
+ "aria-invalid": s.isInvalid ?? !1,
669
+ "aria-required": s.isRequired ?? !1,
670
+ role: "button",
671
+ "aria-label": "File Upload",
672
+ ...a
673
+ }
674
+ )
673
675
  );
674
676
  };
675
677
  xe.displayName = "FileInput";
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef } from 'react';
1
+ import React, { type ComponentPropsWithRef } from 'react';
2
2
  import { type InputSize } from './inputStyle';
3
3
  export declare namespace Checkbox {
4
4
  interface Props extends Omit<ComponentPropsWithRef<'input'>, 'size'> {
@@ -6,7 +6,7 @@ export declare namespace Checkbox {
6
6
  }
7
7
  }
8
8
  export declare const Checkbox: {
9
- (props: Checkbox.Props): import("react/jsx-runtime").JSX.Element;
9
+ (props: Checkbox.Props): React.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,EACL,KAAK,SAAS,EAIf,MAAM,cAAc,CAAA;AAErB,yBAAiB,QAAQ,CAAC;IACxB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QACzE,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,QAAQ;YAAW,QAAQ,CAAC,KAAK;;CA0E7C,CAAA"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,EACL,KAAK,SAAS,EAIf,MAAM,cAAc,CAAA;AAErB,yBAAiB,QAAQ,CAAC;IACxB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QACzE,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,QAAQ;YAAW,QAAQ,CAAC,KAAK;;CA0E7C,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef } from 'react';
1
+ import React, { type ComponentPropsWithRef } from 'react';
2
2
  export declare namespace FieldsetControl {
3
3
  interface Props extends ComponentPropsWithRef<'fieldset'> {
4
4
  labelText: string;
@@ -10,7 +10,7 @@ export declare namespace FieldsetControl {
10
10
  }
11
11
  }
12
12
  export declare const FieldsetControl: {
13
- (props: FieldsetControl.Props): import("react/jsx-runtime").JSX.Element;
13
+ (props: FieldsetControl.Props): React.JSX.Element;
14
14
  displayName: string;
15
15
  };
16
16
  //# sourceMappingURL=FieldsetControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldsetControl.d.ts","sourceRoot":"","sources":["../../../src/components/FieldsetControl.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAIzD,yBAAiB,eAAe,CAAC;IAC/B,UAAiB,KAAM,SAAQ,qBAAqB,CAAC,UAAU,CAAC;QAC9D,SAAS,EAAE,MAAM,CAAA;QACjB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,OAAO,CAAA;QACnB,UAAU,CAAC,EAAE,OAAO,CAAA;QACpB,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;KACpC;CACF;AAED,eAAO,MAAM,eAAe;YAAW,eAAe,CAAC,KAAK;;CAoD3D,CAAA"}
1
+ {"version":3,"file":"FieldsetControl.d.ts","sourceRoot":"","sources":["../../../src/components/FieldsetControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAIzD,yBAAiB,eAAe,CAAC;IAC/B,UAAiB,KAAM,SAAQ,qBAAqB,CAAC,UAAU,CAAC;QAC9D,SAAS,EAAE,MAAM,CAAA;QACjB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,OAAO,CAAA;QACnB,UAAU,CAAC,EAAE,OAAO,CAAA;QACpB,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;KACpC;CACF;AAED,eAAO,MAAM,eAAe;YAAW,eAAe,CAAC,KAAK;;CAoD3D,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef } from 'react';
1
+ import React, { type ComponentPropsWithRef } from 'react';
2
2
  import type { InputSize } from './inputStyle';
3
3
  export declare namespace FileInput {
4
4
  interface Props extends Omit<ComponentPropsWithRef<'input'>, 'size'> {
@@ -6,7 +6,7 @@ export declare namespace FileInput {
6
6
  }
7
7
  }
8
8
  export declare const FileInput: {
9
- (props: FileInput.Props): import("react/jsx-runtime").JSX.Element;
9
+ (props: FileInput.Props): React.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  //# sourceMappingURL=FileInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,yBAAiB,SAAS,CAAC;IACzB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QACzE,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,SAAS;YAAW,SAAS,CAAC,KAAK;;CAsF/C,CAAA"}
1
+ {"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,yBAAiB,SAAS,CAAC;IACzB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QACzE,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,SAAS;YAAW,SAAS,CAAC,KAAK;;CA2F/C,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef } from 'react';
1
+ import React, { type ComponentPropsWithRef } from 'react';
2
2
  import { type InputSize } from './inputStyle';
3
3
  export declare namespace Input {
4
4
  interface Props extends Omit<ComponentPropsWithRef<'input'>, 'size'> {
@@ -6,7 +6,7 @@ export declare namespace Input {
6
6
  }
7
7
  }
8
8
  export declare const Input: {
9
- (props: Input.Props): import("react/jsx-runtime").JSX.Element;
9
+ (props: Input.Props): React.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,EACL,KAAK,SAAS,EAGf,MAAM,cAAc,CAAA;AAErB,yBAAiB,KAAK,CAAC;IACrB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QACzE,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,KAAK;YAAW,KAAK,CAAC,KAAK;;CAuBvC,CAAA"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,EACL,KAAK,SAAS,EAGf,MAAM,cAAc,CAAA;AAErB,yBAAiB,KAAK,CAAC;IACrB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QACzE,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,KAAK;YAAW,KAAK,CAAC,KAAK;;CAuBvC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef } from 'react';
1
+ import React, { type ComponentPropsWithRef } from 'react';
2
2
  export declare namespace LabelControl {
3
3
  interface Props extends ComponentPropsWithRef<'label'> {
4
4
  labelText: string;
@@ -9,7 +9,7 @@ export declare namespace LabelControl {
9
9
  }
10
10
  }
11
11
  export declare const LabelControl: {
12
- (props: LabelControl.Props): import("react/jsx-runtime").JSX.Element;
12
+ (props: LabelControl.Props): React.JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  //# sourceMappingURL=LabelControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LabelControl.d.ts","sourceRoot":"","sources":["../../../src/components/LabelControl.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAIzD,yBAAiB,YAAY,CAAC;IAC5B,UAAiB,KAAM,SAAQ,qBAAqB,CAAC,OAAO,CAAC;QAC3D,SAAS,EAAE,MAAM,CAAA;QACjB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,OAAO,CAAA;QACnB,UAAU,CAAC,EAAE,OAAO,CAAA;KACrB;CACF;AAED,eAAO,MAAM,YAAY;YAAW,YAAY,CAAC,KAAK;;CAwDrD,CAAA"}
1
+ {"version":3,"file":"LabelControl.d.ts","sourceRoot":"","sources":["../../../src/components/LabelControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAIzD,yBAAiB,YAAY,CAAC;IAC5B,UAAiB,KAAM,SAAQ,qBAAqB,CAAC,OAAO,CAAC;QAC3D,SAAS,EAAE,MAAM,CAAA;QACjB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,OAAO,CAAA;QACnB,UAAU,CAAC,EAAE,OAAO,CAAA;KACrB;CACF;AAED,eAAO,MAAM,YAAY;YAAW,YAAY,CAAC,KAAK;;CAwDrD,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef } from 'react';
1
+ import React, { type ComponentPropsWithRef } from 'react';
2
2
  import { type InputSize } from './inputStyle';
3
3
  export declare namespace Radio {
4
4
  interface Props extends Omit<ComponentPropsWithRef<'input'>, 'size'> {
@@ -6,7 +6,7 @@ export declare namespace Radio {
6
6
  }
7
7
  }
8
8
  export declare const Radio: {
9
- (props: Radio.Props): import("react/jsx-runtime").JSX.Element;
9
+ (props: Radio.Props): React.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  //# sourceMappingURL=Radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,EACL,KAAK,SAAS,EAIf,MAAM,cAAc,CAAA;AAErB,yBAAiB,KAAK,CAAC;IACrB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QACzE,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,KAAK;YAAW,KAAK,CAAC,KAAK;;CA+DvC,CAAA"}
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,EACL,KAAK,SAAS,EAIf,MAAM,cAAc,CAAA;AAErB,yBAAiB,KAAK,CAAC;IACrB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QACzE,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,KAAK;YAAW,KAAK,CAAC,KAAK;;CAiEvC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef } from 'react';
1
+ import React, { type ComponentPropsWithRef } from 'react';
2
2
  import { type InputSize } from './inputStyle';
3
3
  export declare namespace Select {
4
4
  interface Props extends Omit<ComponentPropsWithRef<'select'>, 'size'> {
@@ -6,7 +6,7 @@ export declare namespace Select {
6
6
  }
7
7
  }
8
8
  export declare const Select: {
9
- (props: Select.Props): import("react/jsx-runtime").JSX.Element;
9
+ (props: Select.Props): React.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,EACL,KAAK,SAAS,EAGf,MAAM,cAAc,CAAA;AAErB,yBAAiB,MAAM,CAAC;IACtB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAC1E,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,MAAM;YAAW,MAAM,CAAC,KAAK;;CA2DzC,CAAA"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,EACL,KAAK,SAAS,EAGf,MAAM,cAAc,CAAA;AAErB,yBAAiB,MAAM,CAAC;IACtB,UAAiB,KAAM,SAAQ,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAC1E,IAAI,CAAC,EAAE,SAAS,CAAA;KACjB;CACF;AAED,eAAO,MAAM,MAAM;YAAW,MAAM,CAAC,KAAK;;CA2DzC,CAAA"}
@@ -1,10 +1,10 @@
1
- import { type ComponentPropsWithRef } from 'react';
1
+ import React, { type ComponentPropsWithRef } from 'react';
2
2
  export declare namespace Textarea {
3
3
  interface Props extends ComponentPropsWithRef<'textarea'> {
4
4
  }
5
5
  }
6
6
  export declare const Textarea: {
7
- (props: Textarea.Props): import("react/jsx-runtime").JSX.Element;
7
+ (props: Textarea.Props): React.JSX.Element;
8
8
  displayName: string;
9
9
  };
10
10
  //# sourceMappingURL=Textarea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAIzD,yBAAiB,QAAQ,CAAC;IACxB,UAAiB,KAAM,SAAQ,qBAAqB,CAAC,UAAU,CAAC;KAAG;CACpE;AAED,eAAO,MAAM,QAAQ;YAAW,QAAQ,CAAC,KAAK;;CAyD7C,CAAA"}
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAIzD,yBAAiB,QAAQ,CAAC;IACxB,UAAiB,KAAM,SAAQ,qBAAqB,CAAC,UAAU,CAAC;KAAG;CACpE;AAED,eAAO,MAAM,QAAQ;YAAW,QAAQ,CAAC,KAAK;;CAyD7C,CAAA"}
@@ -14,7 +14,7 @@ export declare namespace CheckboxGroup {
14
14
  }
15
15
  }
16
16
  export declare const CheckboxGroup: {
17
- (props: CheckboxGroup.Props): import("react/jsx-runtime").JSX.Element;
17
+ (props: CheckboxGroup.Props): React.JSX.Element;
18
18
  displayName: string;
19
19
  };
20
20
  //# sourceMappingURL=CheckboxGroup.d.ts.map
@@ -15,7 +15,7 @@ export declare namespace RadioGroup {
15
15
  }
16
16
  }
17
17
  export declare const RadioGroup: {
18
- (props: RadioGroup.Props): import("react/jsx-runtime").JSX.Element;
18
+ (props: RadioGroup.Props): React.JSX.Element;
19
19
  displayName: string;
20
20
  };
21
21
  //# sourceMappingURL=RadioGroup.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export type InputSize = 'lg' | 'md' | 'sm';
2
- export declare const borderedInputBaseStyles = "\n bg-white\n border\n border-solid\n border-solid-gray-900\n disabled:bg-transparent\n disabled:text-solid-gray-500\n disabled:border-solid-gray-500\n aria-invalid:border-red-800\n \n \n focus-visible:outline\n focus-visible:outline-4\n focus-visible:outline-black\n focus-visible:ring-yellow-300\n \n focus-visible:outline-offset-[calc(2/16*1rem)]\n focus-visible:ring-[calc(2/16*1rem)]\n \n";
2
+ export declare const borderedInputBaseStyles = "\n bg-white\n border\n border-solid\n border-solid-gray-900\n disabled:bg-transparent\n disabled:text-solid-gray-500\n disabled:border-solid-gray-500\n aria-invalid:border-red-800\n \n \n focus-visible:outline-4\n focus-visible:outline-black\n focus-visible:ring-yellow-300\n \n focus-visible:outline-offset-[calc(2/16*1rem)]\n focus-visible:ring-[calc(2/16*1rem)]\n \n";
3
3
  export declare const borderedInputSizeStyles: {
4
4
  [key in InputSize]: string;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"inputStyle.d.ts","sourceRoot":"","sources":["../../../src/components/inputStyle.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE1C,eAAO,MAAM,uBAAuB,8aAUnC,CAAA;AAGD,eAAO,MAAM,uBAAuB,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAwBjE,CAAA;AAED,eAAO,MAAM,yBAAyB,yFAMrC,CAAA;AAGD,eAAO,MAAM,yBAAyB,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAsBnE,CAAA;AAGD,eAAO,MAAM,UAAU,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAIpD,CAAA"}
1
+ {"version":3,"file":"inputStyle.d.ts","sourceRoot":"","sources":["../../../src/components/inputStyle.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE1C,eAAO,MAAM,uBAAuB,mZAUnC,CAAA;AAGD,eAAO,MAAM,uBAAuB,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAwBjE,CAAA;AAED,eAAO,MAAM,yBAAyB,yFAMrC,CAAA;AAGD,eAAO,MAAM,yBAAyB,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAsBnE,CAAA;AAGD,eAAO,MAAM,UAAU,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAIpD,CAAA"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sakura-ui/forms",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "glassonion1",
7
7
  "homepage": "https://github.com/glassonion1/sakura-ui",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "git+ssh://git@github.com:glassonion1/sakura-ui.git",
10
+ "url": "git+https://github.com/glassonion1/sakura-ui.git",
11
11
  "directory": "packages/forms"
12
12
  },
13
13
  "license": "MIT",
@@ -28,35 +28,36 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
- "scripts": {
32
- "lint": "run-s lint:*",
33
- "lint:lint": "biome lint ./",
34
- "lint:prettier": "prettier --write --ignore-path .gitignore './src/*.ts'",
35
- "prebuild": "rimraf dist",
36
- "build": "run-p build:*",
37
- "build:scripts": "vite build",
38
- "build:types": "tsc && tsc-alias",
39
- "test": "vitest"
40
- },
41
31
  "peerDependencies": {
42
32
  "react": "^19.2.1",
43
33
  "react-dom": "^19.2.1",
44
34
  "tailwindcss": "^4.1.17"
45
35
  },
46
36
  "dependencies": {
47
- "@sakura-ui/helper": "0.0.6"
37
+ "@sakura-ui/helper": "0.0.9"
48
38
  },
49
39
  "devDependencies": {
50
- "@testing-library/jest-dom": "catalog:",
51
- "@testing-library/react": "catalog:",
52
- "@types/react": "catalog:",
53
- "@types/react-dom": "catalog:",
54
- "@tailwindcss/vite": "catalog:",
55
- "autoprefixer": "catalog:",
56
- "happy-dom": "catalog:",
57
- "postcss": "catalog:",
58
- "react": "catalog:",
59
- "react-dom": "catalog:",
60
- "tailwindcss": "catalog:"
40
+ "@testing-library/jest-dom": "^7.0.1",
41
+ "@testing-library/react": "^16.3.2",
42
+ "@types/react": "^19.2.18",
43
+ "@types/react-dom": "^19.2.4",
44
+ "@tailwindcss/vite": "^4.3.3",
45
+ "autoprefixer": "^10.5.4",
46
+ "happy-dom": "^20.11.6",
47
+ "postcss": "^8.5.26",
48
+ "react": "^19.2.8",
49
+ "react-dom": "^19.2.8",
50
+ "tailwindcss": "4.3.3"
51
+ },
52
+ "scripts": {
53
+ "lint": "run-s lint:*",
54
+ "lint:lint": "biome lint ./",
55
+ "lint:prettier": "prettier --write --ignore-path .gitignore './src/*.ts'",
56
+ "prebuild": "rimraf dist",
57
+ "build": "run-p build:*",
58
+ "build:scripts": "vite build",
59
+ "build:types": "tsc && tsc-alias",
60
+ "test": "vitest run",
61
+ "test:watch": "vitest"
61
62
  }
62
- }
63
+ }