forstok-ui-lib 8.0.8 → 8.1.0
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.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/checkbox/index.tsx +1 -1
- package/src/components/select/typed.ts +3 -0
package/dist/index.mjs
CHANGED
|
@@ -446,7 +446,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function j(e,t){if(!e){"un
|
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
${Dr}
|
|
449
|
-
`;const Or=r=>{var{id:i,name:n,children:a,$flow:d,extendKey:c,extendClass:s,reset:h,setReset:p,isForceUpdate:g,setForceUpdate:x,evChange:m,$isError:u,$iconRight:v}=r,w=B(r,["id","name","children","$flow","extendKey","extendClass","reset","setReset","isForceUpdate","setForceUpdate","evChange","$isError","$iconRight"]);const{disabled:F,defaultChecked:f}=w,[y,A]=o(f||!1),b=C(null);l((()=>{g&&(A(f||!1),x&&x(!1)),h&&(A(!1),p&&p(!1))}),[h,p,g,x,f]);return delete Object.assign({},w).defaultChecked,t(kr,{$flow:d,$iconRight:v,ref:b,htmlFor:i,disabled:F||!1,children:[
|
|
449
|
+
`;const Or=r=>{var{id:i,name:n,children:a,$flow:d,extendKey:c,extendClass:s,reset:h,setReset:p,isForceUpdate:g,setForceUpdate:x,evChange:m,$isError:u,$iconRight:v}=r,w=B(r,["id","name","children","$flow","extendKey","extendClass","reset","setReset","isForceUpdate","setForceUpdate","evChange","$isError","$iconRight"]);const{disabled:F,defaultChecked:f}=w,[y,A]=o(f||!1),b=C(null);l((()=>{g&&(A(f||!1),x&&x(!1)),h&&(A(!1),p&&p(!1))}),[h,p,g,x,f]);return delete Object.assign({},w).defaultChecked,t(kr,{$flow:d,$iconRight:v,ref:b,htmlFor:i,disabled:F||!1,children:[e(yr,Object.assign({id:i,type:"checkbox",checked:y,name:n,evChange:e=>{A(e.target.checked),m&&m(e)}},s&&{className:s},""!==c&&{"data-key":c},w)),a,e(Br,Object.assign({$isError:u},w["data-qa-id"]&&{"data-qa-id":w["data-qa-id"]}))]})},zr=i.aside`
|
|
450
450
|
display: grid;
|
|
451
451
|
grid-auto-flow: column;
|
|
452
452
|
grid-gap: 8px;
|