forstok-ui-lib 7.6.2 → 7.6.3

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.mjs CHANGED
@@ -4495,7 +4495,7 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function j(e,t){if(!e){"un
4495
4495
  }
4496
4496
  }
4497
4497
  `}}
4498
- `,Ko=r=>{var{children:i,$mode:n,evChange:a}=r,o=B(r,["children","$mode","evChange"]);const{id:l}=o;return e(Go,{children:t("label",{htmlFor:l,children:[e(Ro,Object.assign({type:"radio",id:l,$mode:n,onChange:e=>{a&&a(e)}},o)),e(Zo,Object.assign({$mode:n},o["data-qa-id"]&&{"data-qa-id":o["data-qa-id"]},{children:i}))]})})},Jo=i.div`
4498
+ `,Ko=r=>{var{children:i,$mode:n,evChange:a,reset:d,setReset:c,isForceUpdate:C,setForceUpdate:s}=r,p=B(r,["children","$mode","evChange","reset","setReset","isForceUpdate","setForceUpdate"]);const{id:h,defaultChecked:g}=p,[x,m]=o(g||!1);l((()=>{C&&(m(g||!1),s&&s(!1)),d&&(m(!1),c&&c(!1))}),[C,s,d,c,g,m]);let u=Object.assign({},p);return delete u.defaultChecked,e(Go,{children:t("label",{htmlFor:h,children:[e(Ro,Object.assign({type:"radio",id:h,$mode:n,checked:x,onChange:e=>{a&&a(e)}},u)),e(Zo,Object.assign({$mode:n},p["data-qa-id"]&&{"data-qa-id":p["data-qa-id"]},{children:i}))]})})},Jo=i.div`
4499
4499
  > input:checked + label::after {
4500
4500
  left: 16px;
4501
4501
  }