@sakura-ui/forms 0.4.1 → 0.4.2

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/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 G;function ve(){if(G)return E;G=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function d(i,o,t){var a=null;if(t!==void 0&&(a=""+t),o.key!==void 0&&(a=""+o.key),"key"in o){t={};for(var u in o)u!=="key"&&(t[u]=o[u])}else t=o;return o=t.ref,{$$typeof:r,type:i,key:a,ref:o!==void 0?o:null,props:t}}return E.Fragment=n,E.jsx=d,E.jsxs=d,E}var _={};var U;function ye(){return U||(U=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 ie:return"Profiler";case ne: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 ae: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 n(e){return""+e}function d(e){try{n(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),n(e)}}function i(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 o(){var e=S.A;return e===null?null:e.getOwner()}function t(){return Error("react-stack-top-frame")}function a(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 c(){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:c}):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&&(d(p),x=""+p),a(l)&&(d(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,o(),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"),ae=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),ne=Symbol.for("react.strict_mode"),ie=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(i(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(i(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(i(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
@@ -13,12 +13,12 @@ React keys must be passed directly to JSX without using spread:
13
13
  `,r.selected=`
14
14
  rounded-full
15
15
  bg-yellow-50
16
- `;const i=`
16
+ `;const n=`
17
17
  focus-visible:outline-4
18
18
  focus-visible:outline-black
19
19
  focus-visible:ring-yellow-300
20
20
  `;r.focusRectCondensed=`
21
- ${i}
21
+ ${n}
22
22
  focus-visible:-outline-offset-4
23
23
  focus-visible:ring-[calc(6/16*1rem)]
24
24
  focus-visible:ring-inset
@@ -26,7 +26,7 @@ React keys must be passed directly to JSX without using spread:
26
26
  ${r.focusRectCondensed}
27
27
  focus-visible:bg-yellow-300
28
28
  `,r.focusRect=`
29
- ${i}
29
+ ${n}
30
30
  focus-visible:outline-offset-[calc(2/16*1rem)]
31
31
  focus-visible:ring-[calc(2/16*1rem)]
32
32
  `,r.focusRounded=`
@@ -70,12 +70,12 @@ React keys must be passed directly to JSX without using spread:
70
70
  absolute
71
71
  top-11
72
72
  left-0
73
- `,(c=>{c.focus=`
73
+ `,(d=>{d.focus=`
74
74
  peer-focus-visible:outline-4
75
75
  peer-focus-visible:outline-black
76
76
  peer-focus-visible:ring-yellow-300
77
- `,c.focusRect=`
78
- ${c.focus}
77
+ `,d.focusRect=`
78
+ ${d.focus}
79
79
  peer-focus-visible:outline-offset-[calc(2/16*1rem)]
80
80
  peer-focus-visible:ring-[calc(2/16*1rem)]
81
81
  `})(r.Peer||(r.Peer={}))})(N||(N={}));const T=R.createContext({helperTextId:"",errorMessageId:"",isInvalid:!1,isRequired:!1}),J=`
@@ -126,7 +126,7 @@ React keys must be passed directly to JSX without using spread:
126
126
  py-2
127
127
  text-label
128
128
  leading-snug
129
- `},Q={lg:"w-[22px] h-[22px] mr-2",md:"w-[18px] h-[18px] mr-1.5",sm:"w-[18px] h-[18px] mr-1"},q=r=>{const{id:i,className:c,size:n="lg",children:a,...t}=r,o=R.useId(),u=i||o,d=R.useContext(T);d.isRequired&&(t.required=!0),d.groupName&&(t.name=d.groupName);const m={lg:22/24,md:18/24,sm:18/24},f=`
129
+ `},Q={lg:"w-[22px] h-[22px] mr-2",md:"w-[18px] h-[18px] mr-1.5",sm:"w-[18px] h-[18px] mr-1"},M=r=>{const{id:n,className:d,size:i="lg",children:o,...t}=r,a=R.useId(),u=n||a,c=R.useContext(T);c.isRequired&&(t.required=!0),c.groupName&&(t.name=c.groupName);const m={lg:22/24,md:18/24,sm:18/24},f=`
130
130
  peer
131
131
  sr-only
132
132
  `,g=`
@@ -141,7 +141,7 @@ React keys must be passed directly to JSX without using spread:
141
141
  peer-checked:border-none
142
142
  peer-disabled:border-solid-gray-500
143
143
  ${N.Peer.focusRect}
144
- `;return s.jsx("label",{htmlFor:u,className:y(X,Z[n],c),children:s.jsxs("span",{className:"flex items-center",children:[s.jsx("input",{id:u,className:f,type:"checkbox","aria-describedby":d.helperTextId,"aria-errormessage":d.errorMessageId,"aria-invalid":d.isInvalid??!1,"aria-required":d.isRequired??!1,...t}),s.jsx("span",{className:y(g,Q[n]),children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,width:"24",height:"24",viewBox:"0 0 24 24",children:s.jsx("g",{transform:`scale(${m[n]} ${m[n]})`,children:s.jsx("path",{d:"m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z"})})})}),s.jsx("span",{className:"peer-disabled:text-solid-gray-500",children:a})]})})};q.displayName="Checkbox";const M=r=>{const{id:i,className:c,size:n="lg",children:a,...t}=r,o=R.useId(),u=i||o,d=R.useContext(T);d.isRequired&&(t.required=!0),d.groupName&&(t.name=d.groupName);const m=`
144
+ `;return s.jsx("label",{htmlFor:u,className:y(X,Z[i],d),children:s.jsxs("span",{className:"flex items-center",children:[s.jsx("input",{id:u,className:f,type:"checkbox","aria-describedby":c.helperTextId,"aria-errormessage":c.errorMessageId,"aria-invalid":c.isInvalid??!1,...t}),s.jsx("span",{className:y(g,Q[i]),children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,width:"24",height:"24",viewBox:"0 0 24 24",children:s.jsx("g",{transform:`scale(${m[i]} ${m[i]})`,children:s.jsx("path",{d:"m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z"})})})}),s.jsx("span",{className:"peer-disabled:text-solid-gray-500",children:o})]})})};M.displayName="Checkbox";const q=r=>{const{id:n,className:d,size:i="lg",children:o,...t}=r,a=R.useId(),u=n||a,c=R.useContext(T);c.isRequired&&(t.required=!0),c.groupName&&(t.name=c.groupName);const m=`
145
145
  peer
146
146
  sr-only
147
147
  `,f=`
@@ -154,12 +154,12 @@ React keys must be passed directly to JSX without using spread:
154
154
  peer-checked:border-blue-600
155
155
  peer-disabled:border-solid-gray-500
156
156
  ${N.Peer.focusRect}
157
- `,g={lg:"p-1",md:"p-[3px]",sm:"p-[3px]"};return s.jsx("label",{htmlFor:u,className:y(X,Z[n],c),children:s.jsxs("span",{className:"flex items-center",children:[s.jsx("input",{id:u,className:m,type:"radio","aria-describedby":d.helperTextId,"aria-errormessage":d.errorMessageId,"aria-invalid":d.isInvalid??!1,"aria-required":d.isRequired??!1,...t}),s.jsx("span",{"aria-hidden":!0,className:y(f,g[n],Q[n])}),s.jsx("span",{className:"peer-disabled:text-solid-gray-500",children:a})]})})};M.displayName="Radio";const K=r=>{const{id:i,className:c,size:n="lg",children:a,...t}=r,o=R.useContext(T);return o.isRequired&&(t.required=!0),s.jsxs("div",{className:"inline-block relative",children:[s.jsx("select",{id:i||o.id,className:y(`
157
+ `,g={lg:"p-1",md:"p-[3px]",sm:"p-[3px]"};return s.jsx("label",{htmlFor:u,className:y(X,Z[i],d),children:s.jsxs("span",{className:"flex items-center",children:[s.jsx("input",{id:u,className:m,type:"radio","aria-describedby":c.helperTextId,"aria-errormessage":c.errorMessageId,"aria-invalid":c.isInvalid??!1,...t}),s.jsx("span",{"aria-hidden":!0,className:y(f,g[i],Q[i])}),s.jsx("span",{className:"peer-disabled:text-solid-gray-500",children:o})]})})};q.displayName="Radio";const K=r=>{const{id:n,className:d,size:i="lg",children:o,...t}=r,a=R.useContext(T);return a.isRequired&&(t.required=!0),s.jsxs("div",{className:"inline-block relative",children:[s.jsx("select",{id:n||a.id,className:y(`
158
158
  !pr-8
159
159
  peer
160
160
  cursor-pointer
161
161
  appearance-none
162
- `,J,H[n],c),"aria-describedby":o.helperTextId,"aria-errormessage":o.errorMessageId,"aria-invalid":o.isInvalid??!1,"aria-required":o.isRequired??!1,...t,children:a}),s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:`
162
+ `,J,H[i],d),"aria-describedby":a.helperTextId,"aria-errormessage":a.errorMessageId,"aria-invalid":a.isInvalid??!1,...t,children:o}),s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:`
163
163
  pointer-events-none
164
164
  absolute
165
165
  right-4
@@ -167,7 +167,7 @@ React keys must be passed directly to JSX without using spread:
167
167
  -translate-y-1/2
168
168
  text-solid-gray-900
169
169
  peer-disabled:text-solid-gray-500
170
- `,fill:"none",width:"16",height:"16",viewBox:"0 0 16 16",children:[s.jsx("title",{children:"arrow down"}),s.jsx("path",{d:"M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",fill:"currentColor"})]})]})};K.displayName="Select";const ee=r=>{const{id:i,className:c,size:n="lg",...a}=r,t=R.useContext(T);t.isRequired&&(a.required=!0);const o=`
170
+ `,fill:"none",width:"16",height:"16",viewBox:"0 0 16 16",children:[s.jsx("title",{children:"arrow down"}),s.jsx("path",{d:"M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",fill:"currentColor"})]})]})};K.displayName="Select";const ee=r=>{const{id:n,className:d,size:i="lg",...o}=r,t=R.useContext(T);t.isRequired&&(o.required=!0);const a=`
171
171
  file:mr-2
172
172
  file:inline-block
173
173
  file:text-button
@@ -192,7 +192,7 @@ React keys must be passed directly to JSX without using spread:
192
192
  file:active:bg-blue-300
193
193
  file:disabled:text-solid-gray-500
194
194
  file:disabled:bg-transparent
195
- `,d=`
195
+ `,c=`
196
196
  text-label
197
197
  text-solid-gray-900
198
198
  rounded-lg
@@ -217,7 +217,7 @@ React keys must be passed directly to JSX without using spread:
217
217
  file:text-button
218
218
  file:rounded-md
219
219
  file:leading-snug
220
- `};return s.jsx("input",{type:"file",id:i||t.id,className:y(o,u,m[n],d,c),"aria-describedby":t.helperTextId,"aria-errormessage":t.errorMessageId,"aria-invalid":t.isInvalid??!1,"aria-required":t.isRequired??!1,role:"button","aria-label":"File Upload",...a})};ee.displayName="FileInput";const re=r=>{const{id:i,className:c,size:n="lg",...a}=r,t=R.useContext(T);return t.isRequired&&(a.required=!0),s.jsx("input",{type:"text",id:i||t.id,className:y(J,H[n],c),"aria-describedby":t.helperTextId,"aria-errormessage":t.errorMessageId,"aria-invalid":t.isInvalid??!1,"aria-required":t.isRequired??!1,...a})};re.displayName="Input";const te=r=>{const{id:i,className:c,children:n,onChange:a,maxLength:t,...o}=r,[u,d]=R.useState(0),m=v=>{a&&a(v),d(v.target.value.length)},f=R.useContext(T);f.isRequired&&(o.required=!0);const g=u>(t||0)?"text-red-800":"text-solid-gray-700",h=`
220
+ `};return s.jsx("input",{type:"file",id:n||t.id,className:y(a,u,m[i],c,d),"aria-describedby":t.helperTextId,"aria-errormessage":t.errorMessageId,"aria-invalid":t.isInvalid??!1,...o})};ee.displayName="FileInput";const re=r=>{const{id:n,className:d,size:i="lg",...o}=r,t=R.useContext(T);return t.isRequired&&(o.required=!0),s.jsx("input",{type:"text",id:n||t.id,className:y(J,H[i],d),"aria-describedby":t.helperTextId,"aria-errormessage":t.errorMessageId,"aria-invalid":t.isInvalid??!1,...o})};re.displayName="Input";const te=r=>{const{id:n,className:d,children:i,onChange:o,maxLength:t,...a}=r,[u,c]=R.useState(0),m=v=>{o&&o(v),c(v.target.value.length)},f=R.useContext(T);f.isRequired&&(a.required=!0);const g=u>(t||0)?"text-red-800":"text-solid-gray-700",h=`
221
221
  p-4
222
222
  text-label
223
223
  rounded-lg
@@ -229,8 +229,8 @@ React keys must be passed directly to JSX without using spread:
229
229
  disabled:border-solid-gray-500
230
230
  aria-invalid:border-red-800
231
231
  ${N.focusRect}
232
- `;return s.jsxs(s.Fragment,{children:[s.jsx("textarea",{id:i||f.id,className:y(h,c),"aria-describedby":f.helperTextId,"aria-errormessage":f.errorMessageId,"aria-invalid":f.isInvalid??!1,"aria-required":f.isRequired??!1,onChange:m,...o,children:n}),t?s.jsxs("p",{className:"text-label text-solid-gray-700",children:[s.jsx("span",{className:g,children:u}),"/",s.jsx("span",{children:t})]}):""]})};te.displayName="Textarea";const se=r=>{const i=R.useId(),{labelText:c,className:n,helperText:a,errorMessage:t,isInvalid:o,isRequired:u,children:d,...m}=r,f={id:r.htmlFor??`input-${i}`,helperTextId:`helper-text-${i}`,errorMessageId:`error-message-${i}`,isInvalid:o??!1,isRequired:u??!1};return s.jsx(T.Provider,{value:f,children:s.jsxs("div",{className:y("flex flex-col items-start gap-2",n),children:[s.jsxs("label",{className:y("block text-label",o&&"text-red-800"),htmlFor:f.id,...m,children:[c,u&&s.jsx("span",{className:"text-label text-red-800",children:" *"})]}),a&&s.jsx("p",{id:f.helperTextId,className:`
232
+ `;return s.jsxs(s.Fragment,{children:[s.jsx("textarea",{id:n||f.id,className:y(h,d),"aria-describedby":f.helperTextId,"aria-errormessage":f.errorMessageId,"aria-invalid":f.isInvalid??!1,onChange:m,...a,children:i}),t?s.jsxs("p",{className:"text-label text-solid-gray-700",children:[s.jsx("span",{className:g,children:u}),"/",s.jsx("span",{children:t})]}):""]})};te.displayName="Textarea";const se=r=>{const n=R.useId(),{labelText:d,className:i,helperText:o,errorMessage:t,isInvalid:a,isRequired:u,children:c,...m}=r,f={id:r.htmlFor??`input-${n}`,helperTextId:`helper-text-${n}`,errorMessageId:`error-message-${n}`,isInvalid:a??!1,isRequired:u??!1};return s.jsx(T.Provider,{value:f,children:s.jsxs("div",{className:y("flex flex-col items-start gap-2",i),children:[s.jsxs("label",{className:y("block text-label",a&&"text-red-800"),htmlFor:f.id,...m,children:[d,u&&s.jsx("span",{className:"text-label text-red-800",children:" *"})]}),o&&s.jsx("p",{id:f.helperTextId,className:`
233
233
  text-label text-solid-gray-700
234
- `,children:a}),d,o&&s.jsx("p",{id:f.errorMessageId,className:`
234
+ `,children:o}),c,a&&s.jsx("p",{id:f.errorMessageId,className:`
235
235
  text-label text-red-800
236
- `,children:t})]})})};se.displayName="LabelControl";const w=r=>{const i=R.useId(),{labelText:c,className:n,helperText:a,errorMessage:t,isInvalid:o,isRequired:u,direction:d,children:m,...f}=r,h={groupName:f.name??`group-${i}`,helperTextId:`helper-text-${i}`,errorMessageId:`error-message-${i}`,isInvalid:o??!1,isRequired:u??!1},v=d??"flex-col";return s.jsx(T.Provider,{value:h,children:s.jsxs("fieldset",{className:y("flex flex-col items-start gap-2",n),...f,children:[s.jsx("legend",{children:s.jsxs("p",{className:y("block text-label",o&&"text-red-800"),children:[c,u&&s.jsx("span",{className:"text-red-800",children:" *"})]})}),s.jsx("div",{className:y("inline-flex",v),children:m}),a&&s.jsx("p",{id:h.helperTextId,className:"text-sup text-solid-gray-700",children:a}),o&&s.jsx("p",{id:h.errorMessageId,className:"text-label text-red-800",children:t})]})})};w.displayName="FieldsetControl";const le=r=>{const{items:i,onChange:c,className:n,labelText:a,helperText:t,errorMessage:o,isInvalid:u,isRequired:d,size:m,...f}=r;return s.jsx(w,{className:n,labelText:a,helperText:t,errorMessage:o,isInvalid:u,isRequired:d,...f,children:i.map(({label:g,value:h})=>s.jsx(q,{size:m,value:h,onChange:c,children:g},`${g}-${h}`))})};le.displayName="CheckboxGroup";const ae=r=>{const{items:i,onChange:c,className:n,labelText:a,helperText:t,errorMessage:o,isInvalid:u,isRequired:d,defaultValue:m,size:f,...g}=r;return s.jsx(w,{className:n,labelText:a,helperText:t,errorMessage:o,isInvalid:u,isRequired:d,...g,children:i.map(({label:h,value:v})=>s.jsx(M,{size:f,value:v,onChange:c,defaultChecked:m===v,children:h},`${h}-${v}`))})};ae.displayName="RadioGroup";exports.Checkbox=q;exports.CheckboxGroup=le;exports.FieldsetControl=w;exports.FileInput=ee;exports.Input=re;exports.LabelControl=se;exports.Radio=M;exports.RadioGroup=ae;exports.Select=K;exports.Textarea=te;
236
+ `,children:t})]})})};se.displayName="LabelControl";const w=r=>{const n=R.useId(),{labelText:d,className:i,helperText:o,errorMessage:t,isInvalid:a,isRequired:u,direction:c,children:m,...f}=r,h={groupName:f.name??`group-${n}`,helperTextId:`helper-text-${n}`,errorMessageId:`error-message-${n}`,isInvalid:a??!1,isRequired:u??!1},v=c??"flex-col";return s.jsx(T.Provider,{value:h,children:s.jsxs("fieldset",{className:y("flex flex-col items-start gap-2",i),...f,children:[s.jsx("legend",{children:s.jsxs("p",{className:y("block text-label",a&&"text-red-800"),children:[d,u&&s.jsx("span",{className:"text-red-800",children:" *"})]})}),s.jsx("div",{className:y("inline-flex",v),children:m}),o&&s.jsx("p",{id:h.helperTextId,className:"text-sup text-solid-gray-700",children:o}),a&&s.jsx("p",{id:h.errorMessageId,className:"text-label text-red-800",children:t})]})})};w.displayName="FieldsetControl";const le=r=>{const{items:n,onChange:d,className:i,labelText:o,helperText:t,errorMessage:a,isInvalid:u,isRequired:c,size:m,...f}=r;return s.jsx(w,{className:i,labelText:o,helperText:t,errorMessage:a,isInvalid:u,isRequired:c,...f,children:n.map(({label:g,value:h})=>s.jsx(M,{size:m,value:h,onChange:d,children:g},`${g}-${h}`))})};le.displayName="CheckboxGroup";const oe=r=>{const{items:n,onChange:d,className:i,labelText:o,helperText:t,errorMessage:a,isInvalid:u,isRequired:c,defaultValue:m,size:f,...g}=r;return s.jsx(w,{className:i,labelText:o,helperText:t,errorMessage:a,isInvalid:u,isRequired:c,...g,children:n.map(({label:h,value:v})=>s.jsx(q,{size:f,value:v,onChange:d,defaultChecked:m===v,children:h},`${h}-${v}`))})};oe.displayName="RadioGroup";exports.Checkbox=M;exports.CheckboxGroup=le;exports.FieldsetControl=w;exports.FileInput=ee;exports.Input=re;exports.LabelControl=se;exports.Radio=q;exports.RadioGroup=oe;exports.Select=K;exports.Textarea=te;
package/dist/index.es.js CHANGED
@@ -4,23 +4,23 @@ var W;
4
4
  function fe() {
5
5
  if (W) return E;
6
6
  W = 1;
7
- var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), i = /* @__PURE__ */ Symbol.for("react.fragment");
8
- function c(n, a, s) {
7
+ var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), n = /* @__PURE__ */ Symbol.for("react.fragment");
8
+ function d(i, a, t) {
9
9
  var o = null;
10
- if (s !== void 0 && (o = "" + s), a.key !== void 0 && (o = "" + a.key), "key" in a) {
11
- s = {};
10
+ if (t !== void 0 && (o = "" + t), a.key !== void 0 && (o = "" + a.key), "key" in a) {
11
+ t = {};
12
12
  for (var u in a)
13
- u !== "key" && (s[u] = a[u]);
14
- } else s = a;
15
- return a = s.ref, {
13
+ u !== "key" && (t[u] = a[u]);
14
+ } else t = a;
15
+ return a = t.ref, {
16
16
  $$typeof: r,
17
- type: n,
17
+ type: i,
18
18
  key: o,
19
19
  ref: a !== void 0 ? a : null,
20
- props: s
20
+ props: t
21
21
  };
22
22
  }
23
- return E.Fragment = i, E.jsx = c, E.jsxs = c, E;
23
+ return E.Fragment = n, E.jsx = d, E.jsxs = d, E;
24
24
  }
25
25
  var _ = {};
26
26
  var B;
@@ -42,7 +42,7 @@ function pe() {
42
42
  return "Suspense";
43
43
  case oe:
44
44
  return "SuspenseList";
45
- case ne:
45
+ case ie:
46
46
  return "Activity";
47
47
  }
48
48
  if (typeof e == "object")
@@ -51,14 +51,14 @@ function pe() {
51
51
  ), e.$$typeof) {
52
52
  case K:
53
53
  return "Portal";
54
- case te:
55
- return e.displayName || "Context";
56
54
  case se:
55
+ return e.displayName || "Context";
56
+ case te:
57
57
  return (e._context.displayName || "Context") + ".Consumer";
58
58
  case le:
59
59
  var l = e.render;
60
60
  return e = e.displayName, e || (e = l.displayName || l.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
61
- case ie:
61
+ case ne:
62
62
  return l = e.displayName || null, l !== null ? l : r(e.type) || "Memo";
63
63
  case P:
64
64
  l = e._payload, e = e._init;
@@ -69,12 +69,12 @@ function pe() {
69
69
  }
70
70
  return null;
71
71
  }
72
- function i(e) {
72
+ function n(e) {
73
73
  return "" + e;
74
74
  }
75
- function c(e) {
75
+ function d(e) {
76
76
  try {
77
- i(e);
77
+ n(e);
78
78
  var l = !1;
79
79
  } catch {
80
80
  l = !0;
@@ -86,10 +86,10 @@ function pe() {
86
86
  l,
87
87
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
88
88
  b
89
- ), i(e);
89
+ ), n(e);
90
90
  }
91
91
  }
92
- function n(e) {
92
+ function i(e) {
93
93
  if (e === k) return "<>";
94
94
  if (typeof e == "object" && e !== null && e.$$typeof === P)
95
95
  return "<...>";
@@ -104,11 +104,11 @@ function pe() {
104
104
  var e = C.A;
105
105
  return e === null ? null : e.getOwner();
106
106
  }
107
- function s() {
107
+ function t() {
108
108
  return Error("react-stack-top-frame");
109
109
  }
110
110
  function o(e) {
111
- if (M.call(e, "key")) {
111
+ if (q.call(e, "key")) {
112
112
  var l = Object.getOwnPropertyDescriptor(e, "key").get;
113
113
  if (l && l.isReactWarning) return !1;
114
114
  }
@@ -126,7 +126,7 @@ function pe() {
126
126
  configurable: !0
127
127
  });
128
128
  }
129
- function d() {
129
+ function c() {
130
130
  var e = r(this.type);
131
131
  return Y[e] || (Y[e] = !0, console.error(
132
132
  "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."
@@ -135,14 +135,14 @@ function pe() {
135
135
  function x(e, l, p, b, w, A) {
136
136
  var m = p.ref;
137
137
  return e = {
138
- $$typeof: q,
138
+ $$typeof: M,
139
139
  type: e,
140
140
  key: l,
141
141
  props: p,
142
142
  _owner: b
143
143
  }, (m !== void 0 ? m : null) !== null ? Object.defineProperty(e, "ref", {
144
144
  enumerable: !1,
145
- get: d
145
+ get: c
146
146
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
147
147
  configurable: !1,
148
148
  enumerable: !1,
@@ -178,7 +178,7 @@ function pe() {
178
178
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
179
179
  );
180
180
  else g(m);
181
- if (M.call(l, "key")) {
181
+ if (q.call(l, "key")) {
182
182
  m = r(e);
183
183
  var j = Object.keys(l).filter(function(ue) {
184
184
  return ue !== "key";
@@ -196,7 +196,7 @@ React keys must be passed directly to JSX without using spread:
196
196
  m
197
197
  ), L[m + b] = !0);
198
198
  }
199
- if (m = null, p !== void 0 && (c(p), m = "" + p), o(l) && (c(l.key), m = "" + l.key), "key" in l) {
199
+ if (m = null, p !== void 0 && (d(p), m = "" + p), o(l) && (d(l.key), m = "" + l.key), "key" in l) {
200
200
  p = {};
201
201
  for (var O in l)
202
202
  O !== "key" && (p[O] = l[O]);
@@ -217,9 +217,9 @@ React keys must be passed directly to JSX without using spread:
217
217
  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));
218
218
  }
219
219
  function h(e) {
220
- return typeof e == "object" && e !== null && e.$$typeof === q;
220
+ return typeof e == "object" && e !== null && e.$$typeof === M;
221
221
  }
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() {
222
+ var v = R, M = /* @__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"), te = /* @__PURE__ */ Symbol.for("react.consumer"), se = /* @__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"), ne = /* @__PURE__ */ Symbol.for("react.memo"), P = /* @__PURE__ */ Symbol.for("react.lazy"), ie = /* @__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, q = Object.prototype.hasOwnProperty, ce = Array.isArray, S = console.createTask ? console.createTask : function() {
223
223
  return null;
224
224
  };
225
225
  v = {
@@ -229,8 +229,8 @@ React keys must be passed directly to JSX without using spread:
229
229
  };
230
230
  var F, Y = {}, z = v.react_stack_bottom_frame.bind(
231
231
  v,
232
- s
233
- )(), D = S(n(s)), L = {};
232
+ t
233
+ )(), D = S(i(t)), L = {};
234
234
  _.Fragment = k, _.jsx = function(e, l, p) {
235
235
  var b = 1e4 > C.recentlyCreatedOwnerStacks++;
236
236
  return f(
@@ -239,7 +239,7 @@ React keys must be passed directly to JSX without using spread:
239
239
  p,
240
240
  !1,
241
241
  b ? Error("react-stack-top-frame") : z,
242
- b ? S(n(e)) : D
242
+ b ? S(i(e)) : D
243
243
  );
244
244
  }, _.jsxs = function(e, l, p) {
245
245
  var b = 1e4 > C.recentlyCreatedOwnerStacks++;
@@ -249,7 +249,7 @@ React keys must be passed directly to JSX without using spread:
249
249
  p,
250
250
  !0,
251
251
  b ? Error("react-stack-top-frame") : z,
252
- b ? S(n(e)) : D
252
+ b ? S(i(e)) : D
253
253
  );
254
254
  };
255
255
  })()), _;
@@ -258,7 +258,7 @@ var U;
258
258
  function be() {
259
259
  return U || (U = 1, process.env.NODE_ENV === "production" ? I.exports = fe() : I.exports = pe()), I.exports;
260
260
  }
261
- var t = be();
261
+ var s = be();
262
262
  const y = (...r) => r.filter(Boolean).join(" ");
263
263
  var N;
264
264
  ((r) => {
@@ -273,13 +273,13 @@ var N;
273
273
  rounded-full
274
274
  bg-yellow-50
275
275
  `;
276
- const i = `
276
+ const n = `
277
277
  focus-visible:outline-4
278
278
  focus-visible:outline-black
279
279
  focus-visible:ring-yellow-300
280
280
  `;
281
281
  r.focusRectCondensed = `
282
- ${i}
282
+ ${n}
283
283
  focus-visible:-outline-offset-4
284
284
  focus-visible:ring-[calc(6/16*1rem)]
285
285
  focus-visible:ring-inset
@@ -287,7 +287,7 @@ var N;
287
287
  ${r.focusRectCondensed}
288
288
  focus-visible:bg-yellow-300
289
289
  `, r.focusRect = `
290
- ${i}
290
+ ${n}
291
291
  focus-visible:outline-offset-[calc(2/16*1rem)]
292
292
  focus-visible:ring-[calc(2/16*1rem)]
293
293
  `, r.focusRounded = `
@@ -331,13 +331,13 @@ var N;
331
331
  absolute
332
332
  top-11
333
333
  left-0
334
- `, ((c) => {
335
- c.focus = `
334
+ `, ((d) => {
335
+ d.focus = `
336
336
  peer-focus-visible:outline-4
337
337
  peer-focus-visible:outline-black
338
338
  peer-focus-visible:ring-yellow-300
339
- `, c.focusRect = `
340
- ${c.focus}
339
+ `, d.focusRect = `
340
+ ${d.focus}
341
341
  peer-focus-visible:outline-offset-[calc(2/16*1rem)]
342
342
  peer-focus-visible:ring-[calc(2/16*1rem)]
343
343
  `;
@@ -415,8 +415,8 @@ const T = R.createContext({
415
415
  md: "w-[18px] h-[18px] mr-1.5",
416
416
  sm: "w-[18px] h-[18px] mr-1"
417
417
  }, Z = (r) => {
418
- const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = R.useId(), u = i || o, d = R.useContext(T);
419
- d.isRequired && (s.required = !0), d.groupName && (s.name = d.groupName);
418
+ const { id: n, className: d, size: i = "lg", children: a, ...t } = r, o = R.useId(), u = n || o, c = R.useContext(T);
419
+ c.isRequired && (t.required = !0), c.groupName && (t.name = c.groupName);
420
420
  const x = {
421
421
  lg: 22 / 24,
422
422
  md: 18 / 24,
@@ -437,30 +437,29 @@ const T = R.createContext({
437
437
  peer-disabled:border-solid-gray-500
438
438
  ${N.Peer.focusRect}
439
439
  `;
440
- return /* @__PURE__ */ t.jsx(
440
+ return /* @__PURE__ */ s.jsx(
441
441
  "label",
442
442
  {
443
443
  htmlFor: u,
444
444
  className: y(
445
445
  J,
446
- H[n],
447
- c
446
+ H[i],
447
+ d
448
448
  ),
449
- children: /* @__PURE__ */ t.jsxs("span", { className: "flex items-center", children: [
450
- /* @__PURE__ */ t.jsx(
449
+ children: /* @__PURE__ */ s.jsxs("span", { className: "flex items-center", children: [
450
+ /* @__PURE__ */ s.jsx(
451
451
  "input",
452
452
  {
453
453
  id: u,
454
454
  className: f,
455
455
  type: "checkbox",
456
- "aria-describedby": d.helperTextId,
457
- "aria-errormessage": d.errorMessageId,
458
- "aria-invalid": d.isInvalid ?? !1,
459
- "aria-required": d.isRequired ?? !1,
460
- ...s
456
+ "aria-describedby": c.helperTextId,
457
+ "aria-errormessage": c.errorMessageId,
458
+ "aria-invalid": c.isInvalid ?? !1,
459
+ ...t
461
460
  }
462
461
  ),
463
- /* @__PURE__ */ t.jsx("span", { className: y(g, X[n]), children: /* @__PURE__ */ t.jsx(
462
+ /* @__PURE__ */ s.jsx("span", { className: y(g, X[i]), children: /* @__PURE__ */ s.jsx(
464
463
  "svg",
465
464
  {
466
465
  xmlns: "http://www.w3.org/2000/svg",
@@ -468,18 +467,18 @@ const T = R.createContext({
468
467
  width: "24",
469
468
  height: "24",
470
469
  viewBox: "0 0 24 24",
471
- children: /* @__PURE__ */ t.jsx("g", { transform: `scale(${x[n]} ${x[n]})`, children: /* @__PURE__ */ t.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
470
+ children: /* @__PURE__ */ s.jsx("g", { transform: `scale(${x[i]} ${x[i]})`, children: /* @__PURE__ */ s.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
472
471
  }
473
472
  ) }),
474
- /* @__PURE__ */ t.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: a })
473
+ /* @__PURE__ */ s.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: a })
475
474
  ] })
476
475
  }
477
476
  );
478
477
  };
479
478
  Z.displayName = "Checkbox";
480
479
  const Q = (r) => {
481
- const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = R.useId(), u = i || o, d = R.useContext(T);
482
- d.isRequired && (s.required = !0), d.groupName && (s.name = d.groupName);
480
+ const { id: n, className: d, size: i = "lg", children: a, ...t } = r, o = R.useId(), u = n || o, c = R.useContext(T);
481
+ c.isRequired && (t.required = !0), c.groupName && (t.name = c.groupName);
483
482
  const x = `
484
483
  peer
485
484
  sr-only
@@ -498,49 +497,48 @@ const Q = (r) => {
498
497
  md: "p-[3px]",
499
498
  sm: "p-[3px]"
500
499
  };
501
- return /* @__PURE__ */ t.jsx(
500
+ return /* @__PURE__ */ s.jsx(
502
501
  "label",
503
502
  {
504
503
  htmlFor: u,
505
504
  className: y(
506
505
  J,
507
- H[n],
508
- c
506
+ H[i],
507
+ d
509
508
  ),
510
- children: /* @__PURE__ */ t.jsxs("span", { className: "flex items-center", children: [
511
- /* @__PURE__ */ t.jsx(
509
+ children: /* @__PURE__ */ s.jsxs("span", { className: "flex items-center", children: [
510
+ /* @__PURE__ */ s.jsx(
512
511
  "input",
513
512
  {
514
513
  id: u,
515
514
  className: x,
516
515
  type: "radio",
517
- "aria-describedby": d.helperTextId,
518
- "aria-errormessage": d.errorMessageId,
519
- "aria-invalid": d.isInvalid ?? !1,
520
- "aria-required": d.isRequired ?? !1,
521
- ...s
516
+ "aria-describedby": c.helperTextId,
517
+ "aria-errormessage": c.errorMessageId,
518
+ "aria-invalid": c.isInvalid ?? !1,
519
+ ...t
522
520
  }
523
521
  ),
524
- /* @__PURE__ */ t.jsx(
522
+ /* @__PURE__ */ s.jsx(
525
523
  "span",
526
524
  {
527
525
  "aria-hidden": !0,
528
- className: y(f, g[n], X[n])
526
+ className: y(f, g[i], X[i])
529
527
  }
530
528
  ),
531
- /* @__PURE__ */ t.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: a })
529
+ /* @__PURE__ */ s.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: a })
532
530
  ] })
533
531
  }
534
532
  );
535
533
  };
536
534
  Q.displayName = "Radio";
537
535
  const me = (r) => {
538
- const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = R.useContext(T);
539
- return o.isRequired && (s.required = !0), /* @__PURE__ */ t.jsxs("div", { className: "inline-block relative", children: [
540
- /* @__PURE__ */ t.jsx(
536
+ const { id: n, className: d, size: i = "lg", children: a, ...t } = r, o = R.useContext(T);
537
+ return o.isRequired && (t.required = !0), /* @__PURE__ */ s.jsxs("div", { className: "inline-block relative", children: [
538
+ /* @__PURE__ */ s.jsx(
541
539
  "select",
542
540
  {
543
- id: i || o.id,
541
+ id: n || o.id,
544
542
  className: y(
545
543
  `
546
544
  !pr-8
@@ -549,18 +547,17 @@ const me = (r) => {
549
547
  appearance-none
550
548
  `,
551
549
  G,
552
- V[n],
553
- c
550
+ V[i],
551
+ d
554
552
  ),
555
553
  "aria-describedby": o.helperTextId,
556
554
  "aria-errormessage": o.errorMessageId,
557
555
  "aria-invalid": o.isInvalid ?? !1,
558
- "aria-required": o.isRequired ?? !1,
559
- ...s,
556
+ ...t,
560
557
  children: a
561
558
  }
562
559
  ),
563
- /* @__PURE__ */ t.jsxs(
560
+ /* @__PURE__ */ s.jsxs(
564
561
  "svg",
565
562
  {
566
563
  xmlns: "http://www.w3.org/2000/svg",
@@ -579,8 +576,8 @@ const me = (r) => {
579
576
  height: "16",
580
577
  viewBox: "0 0 16 16",
581
578
  children: [
582
- /* @__PURE__ */ t.jsx("title", { children: "arrow down" }),
583
- /* @__PURE__ */ t.jsx(
579
+ /* @__PURE__ */ s.jsx("title", { children: "arrow down" }),
580
+ /* @__PURE__ */ s.jsx(
584
581
  "path",
585
582
  {
586
583
  d: "M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",
@@ -594,8 +591,8 @@ const me = (r) => {
594
591
  };
595
592
  me.displayName = "Select";
596
593
  const xe = (r) => {
597
- const { id: i, className: c, size: n = "lg", ...a } = r, s = R.useContext(T);
598
- s.isRequired && (a.required = !0);
594
+ const { id: n, className: d, size: i = "lg", ...a } = r, t = R.useContext(T);
595
+ t.isRequired && (a.required = !0);
599
596
  const o = `
600
597
  file:mr-2
601
598
  file:inline-block
@@ -621,7 +618,7 @@ const xe = (r) => {
621
618
  file:active:bg-blue-300
622
619
  file:disabled:text-solid-gray-500
623
620
  file:disabled:bg-transparent
624
- `, d = `
621
+ `, c = `
625
622
  text-label
626
623
  text-solid-gray-900
627
624
  rounded-lg
@@ -654,54 +651,46 @@ const xe = (r) => {
654
651
  file:leading-snug
655
652
  `
656
653
  };
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
- )
654
+ return /* @__PURE__ */ s.jsx(
655
+ "input",
656
+ {
657
+ type: "file",
658
+ id: n || t.id,
659
+ className: y(o, u, x[i], c, d),
660
+ "aria-describedby": t.helperTextId,
661
+ "aria-errormessage": t.errorMessageId,
662
+ "aria-invalid": t.isInvalid ?? !1,
663
+ ...a
664
+ }
675
665
  );
676
666
  };
677
667
  xe.displayName = "FileInput";
678
668
  const ge = (r) => {
679
- const { id: i, className: c, size: n = "lg", ...a } = r, s = R.useContext(T);
680
- return s.isRequired && (a.required = !0), /* @__PURE__ */ t.jsx(
669
+ const { id: n, className: d, size: i = "lg", ...a } = r, t = R.useContext(T);
670
+ return t.isRequired && (a.required = !0), /* @__PURE__ */ s.jsx(
681
671
  "input",
682
672
  {
683
673
  type: "text",
684
- id: i || s.id,
674
+ id: n || t.id,
685
675
  className: y(
686
676
  G,
687
- V[n],
688
- c
677
+ V[i],
678
+ d
689
679
  ),
690
- "aria-describedby": s.helperTextId,
691
- "aria-errormessage": s.errorMessageId,
692
- "aria-invalid": s.isInvalid ?? !1,
693
- "aria-required": s.isRequired ?? !1,
680
+ "aria-describedby": t.helperTextId,
681
+ "aria-errormessage": t.errorMessageId,
682
+ "aria-invalid": t.isInvalid ?? !1,
694
683
  ...a
695
684
  }
696
685
  );
697
686
  };
698
687
  ge.displayName = "Input";
699
688
  const he = (r) => {
700
- const { id: i, className: c, children: n, onChange: a, maxLength: s, ...o } = r, [u, d] = R.useState(0), x = (v) => {
701
- a && a(v), d(v.target.value.length);
689
+ const { id: n, className: d, children: i, onChange: a, maxLength: t, ...o } = r, [u, c] = R.useState(0), x = (v) => {
690
+ a && a(v), c(v.target.value.length);
702
691
  }, f = R.useContext(T);
703
692
  f.isRequired && (o.required = !0);
704
- const g = u > (s || 0) ? "text-red-800" : "text-solid-gray-700", h = `
693
+ const g = u > (t || 0) ? "text-red-800" : "text-solid-gray-700", h = `
705
694
  p-4
706
695
  text-label
707
696
  rounded-lg
@@ -714,100 +703,99 @@ const he = (r) => {
714
703
  aria-invalid:border-red-800
715
704
  ${N.focusRect}
716
705
  `;
717
- return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
718
- /* @__PURE__ */ t.jsx(
706
+ return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
707
+ /* @__PURE__ */ s.jsx(
719
708
  "textarea",
720
709
  {
721
- id: i || f.id,
722
- className: y(h, c),
710
+ id: n || f.id,
711
+ className: y(h, d),
723
712
  "aria-describedby": f.helperTextId,
724
713
  "aria-errormessage": f.errorMessageId,
725
714
  "aria-invalid": f.isInvalid ?? !1,
726
- "aria-required": f.isRequired ?? !1,
727
715
  onChange: x,
728
716
  ...o,
729
- children: n
717
+ children: i
730
718
  }
731
719
  ),
732
- s ? /* @__PURE__ */ t.jsxs("p", { className: "text-label text-solid-gray-700", children: [
733
- /* @__PURE__ */ t.jsx("span", { className: g, children: u }),
720
+ t ? /* @__PURE__ */ s.jsxs("p", { className: "text-label text-solid-gray-700", children: [
721
+ /* @__PURE__ */ s.jsx("span", { className: g, children: u }),
734
722
  "/",
735
- /* @__PURE__ */ t.jsx("span", { children: s })
723
+ /* @__PURE__ */ s.jsx("span", { children: t })
736
724
  ] }) : ""
737
725
  ] });
738
726
  };
739
727
  he.displayName = "Textarea";
740
728
  const ve = (r) => {
741
- const i = R.useId(), {
742
- labelText: c,
743
- className: n,
729
+ const n = R.useId(), {
730
+ labelText: d,
731
+ className: i,
744
732
  helperText: a,
745
- errorMessage: s,
733
+ errorMessage: t,
746
734
  isInvalid: o,
747
735
  isRequired: u,
748
- children: d,
736
+ children: c,
749
737
  ...x
750
738
  } = r, f = {
751
- id: r.htmlFor ?? `input-${i}`,
752
- helperTextId: `helper-text-${i}`,
753
- errorMessageId: `error-message-${i}`,
739
+ id: r.htmlFor ?? `input-${n}`,
740
+ helperTextId: `helper-text-${n}`,
741
+ errorMessageId: `error-message-${n}`,
754
742
  isInvalid: o ?? !1,
755
743
  isRequired: u ?? !1
756
744
  };
757
- return /* @__PURE__ */ t.jsx(T.Provider, { value: f, children: /* @__PURE__ */ t.jsxs("div", { className: y("flex flex-col items-start gap-2", n), children: [
758
- /* @__PURE__ */ t.jsxs(
745
+ return /* @__PURE__ */ s.jsx(T.Provider, { value: f, children: /* @__PURE__ */ s.jsxs("div", { className: y("flex flex-col items-start gap-2", i), children: [
746
+ /* @__PURE__ */ s.jsxs(
759
747
  "label",
760
748
  {
761
749
  className: y("block text-label", o && "text-red-800"),
762
750
  htmlFor: f.id,
763
751
  ...x,
764
752
  children: [
765
- c,
766
- u && /* @__PURE__ */ t.jsx("span", { className: "text-label text-red-800", children: " *" })
753
+ d,
754
+ u && /* @__PURE__ */ s.jsx("span", { className: "text-label text-red-800", children: " *" })
767
755
  ]
768
756
  }
769
757
  ),
770
- a && /* @__PURE__ */ t.jsx("p", { id: f.helperTextId, className: `
758
+ a && /* @__PURE__ */ s.jsx("p", { id: f.helperTextId, className: `
771
759
  text-label text-solid-gray-700
772
760
  `, children: a }),
773
- d,
774
- o && /* @__PURE__ */ t.jsx("p", { id: f.errorMessageId, className: `
761
+ c,
762
+ o && /* @__PURE__ */ s.jsx("p", { id: f.errorMessageId, className: `
775
763
  text-label text-red-800
776
- `, children: s })
764
+ `, children: t })
777
765
  ] }) });
778
766
  };
779
767
  ve.displayName = "LabelControl";
780
768
  const $ = (r) => {
781
- const i = R.useId(), {
782
- labelText: c,
783
- className: n,
769
+ const n = R.useId(), {
770
+ labelText: d,
771
+ className: i,
784
772
  helperText: a,
785
- errorMessage: s,
773
+ errorMessage: t,
786
774
  isInvalid: o,
787
775
  isRequired: u,
788
- direction: d,
776
+ direction: c,
789
777
  children: x,
790
778
  ...f
791
779
  } = r, h = {
792
- groupName: f.name ?? `group-${i}`,
793
- helperTextId: `helper-text-${i}`,
794
- errorMessageId: `error-message-${i}`,
780
+ groupName: f.name ?? `group-${n}`,
781
+ helperTextId: `helper-text-${n}`,
782
+ errorMessageId: `error-message-${n}`,
795
783
  isInvalid: o ?? !1,
796
784
  isRequired: u ?? !1
797
- }, v = d ?? "flex-col";
798
- return /* @__PURE__ */ t.jsx(T.Provider, { value: h, children: /* @__PURE__ */ t.jsxs(
785
+ }, v = c ?? "flex-col";
786
+ return /* @__PURE__ */ s.jsx(T.Provider, { value: h, children: /* @__PURE__ */ s.jsxs(
799
787
  "fieldset",
800
788
  {
801
- className: y("flex flex-col items-start gap-2", n),
789
+ className: y("flex flex-col items-start gap-2", i),
802
790
  ...f,
803
791
  children: [
804
- /* @__PURE__ */ t.jsx("legend", { children: /* @__PURE__ */ t.jsxs("p", { className: y("block text-label", o && "text-red-800"), children: [
805
- c,
806
- u && /* @__PURE__ */ t.jsx("span", { className: "text-red-800", children: " *" })
792
+ /* @__PURE__ */ s.jsx("legend", { children: /* @__PURE__ */ s.jsxs("p", { className: y("block text-label", o && "text-red-800"), children: [
793
+ d,
794
+ u && /* @__PURE__ */ s.jsx("span", { className: "text-red-800", children: " *" })
807
795
  ] }) }),
808
- /* @__PURE__ */ t.jsx("div", { className: y("inline-flex", v), children: x }),
809
- a && /* @__PURE__ */ t.jsx("p", { id: h.helperTextId, className: "text-sup text-solid-gray-700", children: a }),
810
- o && /* @__PURE__ */ t.jsx("p", { id: h.errorMessageId, className: "text-label text-red-800", children: s })
796
+ /* @__PURE__ */ s.jsx("div", { className: y("inline-flex", v), children: x }),
797
+ a && /* @__PURE__ */ s.jsx("p", { id: h.helperTextId, className: "text-sup text-solid-gray-700", children: a }),
798
+ o && /* @__PURE__ */ s.jsx("p", { id: h.errorMessageId, className: "text-label text-red-800", children: t })
811
799
  ]
812
800
  }
813
801
  ) });
@@ -815,33 +803,33 @@ const $ = (r) => {
815
803
  $.displayName = "FieldsetControl";
816
804
  const ye = (r) => {
817
805
  const {
818
- items: i,
819
- onChange: c,
820
- className: n,
806
+ items: n,
807
+ onChange: d,
808
+ className: i,
821
809
  labelText: a,
822
- helperText: s,
810
+ helperText: t,
823
811
  errorMessage: o,
824
812
  isInvalid: u,
825
- isRequired: d,
813
+ isRequired: c,
826
814
  size: x,
827
815
  ...f
828
816
  } = r;
829
- return /* @__PURE__ */ t.jsx(
817
+ return /* @__PURE__ */ s.jsx(
830
818
  $,
831
819
  {
832
- className: n,
820
+ className: i,
833
821
  labelText: a,
834
- helperText: s,
822
+ helperText: t,
835
823
  errorMessage: o,
836
824
  isInvalid: u,
837
- isRequired: d,
825
+ isRequired: c,
838
826
  ...f,
839
- children: i.map(({ label: g, value: h }) => /* @__PURE__ */ t.jsx(
827
+ children: n.map(({ label: g, value: h }) => /* @__PURE__ */ s.jsx(
840
828
  Z,
841
829
  {
842
830
  size: x,
843
831
  value: h,
844
- onChange: c,
832
+ onChange: d,
845
833
  children: g
846
834
  },
847
835
  `${g}-${h}`
@@ -852,34 +840,34 @@ const ye = (r) => {
852
840
  ye.displayName = "CheckboxGroup";
853
841
  const Re = (r) => {
854
842
  const {
855
- items: i,
856
- onChange: c,
857
- className: n,
843
+ items: n,
844
+ onChange: d,
845
+ className: i,
858
846
  labelText: a,
859
- helperText: s,
847
+ helperText: t,
860
848
  errorMessage: o,
861
849
  isInvalid: u,
862
- isRequired: d,
850
+ isRequired: c,
863
851
  defaultValue: x,
864
852
  size: f,
865
853
  ...g
866
854
  } = r;
867
- return /* @__PURE__ */ t.jsx(
855
+ return /* @__PURE__ */ s.jsx(
868
856
  $,
869
857
  {
870
- className: n,
858
+ className: i,
871
859
  labelText: a,
872
- helperText: s,
860
+ helperText: t,
873
861
  errorMessage: o,
874
862
  isInvalid: u,
875
- isRequired: d,
863
+ isRequired: c,
876
864
  ...g,
877
- children: i.map(({ label: h, value: v }) => /* @__PURE__ */ t.jsx(
865
+ children: n.map(({ label: h, value: v }) => /* @__PURE__ */ s.jsx(
878
866
  Q,
879
867
  {
880
868
  size: f,
881
869
  value: v,
882
- onChange: c,
870
+ onChange: d,
883
871
  defaultChecked: x === v,
884
872
  children: h
885
873
  },
@@ -1 +1 @@
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
+ {"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;;CAyE7C,CAAA"}
@@ -1 +1 @@
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
+ {"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;;CAsF/C,CAAA"}
@@ -1 +1 @@
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
+ {"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;;CAsBvC,CAAA"}
@@ -1 +1 @@
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
+ {"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;;CA8DvC,CAAA"}
@@ -1 +1 @@
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
+ {"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;;CA0DzC,CAAA"}
@@ -1 +1 @@
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"}
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;;CAwD7C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sakura-ui/forms",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "glassonion1",