@mond-design-system/react 6.0.0 → 6.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.cjs CHANGED
@@ -1257,9 +1257,9 @@ function Checkbox({
1257
1257
  }
1258
1258
 
1259
1259
  // mds-cssmod:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Radio/Radio.module.css?mds-scoped
1260
- var Radio_module_default = { "root": "mds-Radio__root", "dot": "mds-Radio__dot mds-hit-area__hitArea", "label": "mds-Radio__label" };
1261
- function Radio({ label, className, ...rest }) {
1262
- return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: cx(Radio_module_default.root, className), children: [
1260
+ var Radio_module_default = { "root": "mds-Radio__root", "size-sm": "mds-Radio__size-sm", "size-lg": "mds-Radio__size-lg", "dot": "mds-Radio__dot mds-hit-area__hitArea", "label": "mds-Radio__label" };
1261
+ function Radio({ label, size: size2 = "md", className, ...rest }) {
1262
+ return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: cx(Radio_module_default.root, Radio_module_default[`size-${size2}`], className), children: [
1263
1263
  /* @__PURE__ */ jsxRuntime.jsx("input", { type: "radio", className: Radio_module_default.dot, ...rest }),
1264
1264
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: Radio_module_default.label, children: label })
1265
1265
  ] });