mcr-design-systems 1.0.33 → 1.0.35

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.
@@ -1,7 +1,7 @@
1
- import { jsxs as m, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
2
  import f from "react";
3
3
  import { radioInputContainerVariants as u, radioVariants as g } from "./variants.js";
4
- import { Typography as s } from "../Typography/index.js";
4
+ import { Typography as m } from "../Typography/index.js";
5
5
  import "clsx";
6
6
  import "tailwind-merge";
7
7
  import { dataTestId as h } from "../../shared/utils/dataTestId.js";
@@ -10,46 +10,46 @@ const x = f.forwardRef(
10
10
  disabled: a,
11
11
  label: o,
12
12
  helpText: e,
13
- id: i,
13
+ id: s,
14
14
  checked: d,
15
15
  name: l,
16
- radioSize: t = "medium",
16
+ radioSize: r = "medium",
17
17
  ...n
18
18
  }, c) => {
19
- const { id: p } = h("Radio");
20
- return /* @__PURE__ */ m("div", { "data-testid": p, className: "flex items-start gap-2", children: [
21
- /* @__PURE__ */ r("div", { className: u({}), children: /* @__PURE__ */ r(
19
+ const { "data-testid": p } = h("Radio");
20
+ return /* @__PURE__ */ i("div", { "data-testid": p, className: "flex items-start gap-2", children: [
21
+ /* @__PURE__ */ t("div", { className: u({}), children: /* @__PURE__ */ t(
22
22
  "input",
23
23
  {
24
24
  ...n,
25
25
  ref: c,
26
- id: i,
26
+ id: s,
27
27
  checked: d,
28
- className: g({ disabled: a, size: t }),
28
+ className: g({ disabled: a, size: r }),
29
29
  type: "radio",
30
30
  disabled: a,
31
31
  name: l,
32
32
  tabIndex: a ? -1 : 0
33
33
  }
34
34
  ) }),
35
- o && /* @__PURE__ */ m("div", { className: "flex flex-col gap-100 pt-[0.125rem]", children: [
36
- /* @__PURE__ */ r(
37
- s,
35
+ o && /* @__PURE__ */ i("div", { className: "flex flex-col gap-100 pt-[0.125rem]", children: [
36
+ /* @__PURE__ */ t(
37
+ m,
38
38
  {
39
- htmlFor: i,
39
+ htmlFor: s,
40
40
  as: "label",
41
41
  variants: "body",
42
- size: t === "medium" ? "md" : "lg",
42
+ size: r === "medium" ? "md" : "lg",
43
43
  className: `${a ? "cursor-not-allowed" : "cursor-pointer"}`,
44
44
  color: "fg-neutral-main",
45
45
  children: o
46
46
  }
47
47
  ),
48
- e && /* @__PURE__ */ r(
49
- s,
48
+ e && /* @__PURE__ */ t(
49
+ m,
50
50
  {
51
51
  variants: "body",
52
- size: t === "medium" ? "sm" : "md",
52
+ size: r === "medium" ? "sm" : "md",
53
53
  color: "fg-neutral-subtle",
54
54
  children: e
55
55
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcr-design-systems",
3
3
  "private": false,
4
- "version": "1.0.33",
4
+ "version": "1.0.35",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",