{"version":3,"file":"SkeletonRadioButtonGroup.cjs","sources":["../../../../../src/components/loader/skeletons/SkeletonRadioButtonGroup.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport React from \"react\";\nimport type { SkeletonRadioButtonGroupProps } from \"../types.js\";\nimport { SkeletonElement } from \"./SkeletonElement.js\";\nimport { SkeletonLabel } from \"./SkeletonLabel.js\";\n\nexport const SkeletonRadioButtonGroup = ({\n    className,\n    radioButtons,\n    labelProps,\n    inputProps,\n    ...rest\n}: SkeletonRadioButtonGroupProps) => {\n    return (\n        <div className={clsx(\"jkl-skeleton-input\", className)} {...rest}>\n            <SkeletonLabel {...labelProps} />\n            {Array.from(Array(radioButtons)).map((_, index) => (\n                <div\n                    key={`jkl-skeleton-checkbox-${index}`}\n                    className=\"jkl-skeleton-input__checkbox\"\n                >\n                    <SkeletonElement\n                        width=\"var(--jkl-unit-30)\"\n                        height=\"var(--jkl-unit-30)\"\n                        style={{ borderRadius: \"50%\" }}\n                    />\n                    <SkeletonElement\n                        width=\"var(--jkl-unit-210)\"\n                        height=\"var(--jkl-unit-30)\"\n                        {...inputProps}\n                    />\n                </div>\n            ))}\n        </div>\n    );\n};\n"],"names":["className","radioButtons","labelProps","inputProps","rest","jsxs","clsx","children","jsx","SkeletonLabel","Array","from","map","_","index","SkeletonElement","width","height","style","borderRadius"],"mappings":"4RAMwC,EACpCA,UAAAA,EACAC,aAAAA,EACAC,WAAAA,EACAC,WAAAA,KACGC,KAGCC,EAAAA,KAAC,OAAIL,UAAWM,EAAAA,KAAK,qBAAsBN,MAAgBI,EACvDG,SAAA,CAAAC,EAAAA,IAACC,EAAAA,cAAA,IAAkBP,IAClBQ,MAAMC,KAAKD,MAAMT,IAAeW,IAAI,CAACC,EAAGC,IACrCT,EAAAA,KAAC,MAAA,CAEGL,UAAU,+BAEVO,SAAA,CAAAC,EAAAA,IAACO,EAAAA,gBAAA,CACGC,MAAM,qBACNC,OAAO,qBACPC,MAAO,CAAEC,aAAc,SAE3BX,EAAAA,IAACO,EAAAA,gBAAA,CACGC,MAAM,sBACNC,OAAO,wBACHd,MAXH,yBAAyBW"}