@companycam/slab-web 1.31.4 → 1.31.5
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/index.js +1 -1
- package/index.mjs +2 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1455,7 +1455,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Gs]+=1);const Y0=G.span`
|
|
|
1455
1455
|
outline-offset: var(--cc_size_spacing_xxs);
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
`,km=w.forwardRef(({id:e,label:n,name:t,testId:r,value:i,...o},a)=>{const{status:c
|
|
1458
|
+
`,km=w.forwardRef(({id:e,label:n,name:t,testId:r,value:i,...o},a)=>{const{status:c,className:u,style:f,disabled:p=!1,...g}=o,y=o["data-testid"]||r;return P.jsxs(MR,{$disabled:o.disabled,$status:c,style:f,className:u,children:[P.jsx(Ko,{ref:a,type:"radio","aria-invalid":c==="error"?!0:void 0,"aria-disabled":p,"data-testid":y,id:e,name:t,value:i,$status:c,...g}),P.jsxs(qo,{htmlFor:e,$disabled:o.disabled,"data-testid":y?`${y}-label`:"",children:[P.jsx(Ea,{$status:c,$disabled:o.disabled}),P.jsx($R,{children:n})]})]})});function PR({onChange:e,options:n,selectedValue:t,...r}){return P.jsx(Kg,{...r,children:n.map(i=>P.jsx(km,{status:i.status||r.status,id:`${r.id}-${i.value}`,name:r.id,onChange:e,checked:t===i.value,disabled:i.disabled||r.disabled,...i},i.value))})}const DR=G.span`
|
|
1459
1459
|
min-height: var(--cc_size_spacing_l);
|
|
1460
1460
|
display: flex;
|
|
1461
1461
|
align-items: center;
|
package/index.mjs
CHANGED
|
@@ -13842,13 +13842,7 @@ const RN = Gt(
|
|
|
13842
13842
|
}
|
|
13843
13843
|
`, AR = Gt(
|
|
13844
13844
|
({ id: e, label: n, name: t, testId: r, value: i, ...o }, a) => {
|
|
13845
|
-
const {
|
|
13846
|
-
status: c = "normal",
|
|
13847
|
-
className: u,
|
|
13848
|
-
style: f,
|
|
13849
|
-
disabled: p = !1,
|
|
13850
|
-
...g
|
|
13851
|
-
} = o, y = o["data-testid"] || r;
|
|
13845
|
+
const { status: c, className: u, style: f, disabled: p = !1, ...g } = o, y = o["data-testid"] || r;
|
|
13852
13846
|
return /* @__PURE__ */ we(
|
|
13853
13847
|
FR,
|
|
13854
13848
|
{
|
|
@@ -13862,7 +13856,7 @@ const RN = Gt(
|
|
|
13862
13856
|
{
|
|
13863
13857
|
ref: a,
|
|
13864
13858
|
type: "radio",
|
|
13865
|
-
"aria-invalid": c === "error",
|
|
13859
|
+
"aria-invalid": c === "error" ? !0 : void 0,
|
|
13866
13860
|
"aria-disabled": p,
|
|
13867
13861
|
"data-testid": y,
|
|
13868
13862
|
id: e,
|