@pittorica/radio-react 0.24.0 → 0.26.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/README.md CHANGED
@@ -4,16 +4,46 @@ The `Radio` component.
4
4
 
5
5
  ## Installation
6
6
 
7
- ```bash
7
+ \`\`\`bash
8
8
  npm install @pittorica/radio-react
9
- ```
9
+ \`\`\`
10
10
 
11
11
  ## Usage
12
12
 
13
- ```jsx
13
+ \`\`\`jsx
14
14
  import { Radio } from '@pittorica/radio-react';
15
- // TODO: Add usage example
16
- ```
15
+
16
+ function MyForm() {
17
+ const [selectedValue, setSelectedValue] = useState('option1');
18
+
19
+ return (
20
+
21
+ <form>
22
+ <Radio
23
+ label="Option 1"
24
+ value="option1"
25
+ name="myRadioGroup"
26
+ checked={selectedValue === 'option1'}
27
+ onCheckedChange={(checked) => {
28
+ if (checked) setSelectedValue('option1');
29
+ }}
30
+ required // Mark as required
31
+ color="source" // Default color is now 'source'
32
+ />
33
+ <Radio
34
+ label="Option 2"
35
+ value="option2"
36
+ name="myRadioGroup"
37
+ checked={selectedValue === 'option2'}
38
+ onCheckedChange={(checked) => {
39
+ if (checked) setSelectedValue('option2');
40
+ }}
41
+ />
42
+ <button type="submit" disabled={!selectedValue}>Submit</button>
43
+ </form>
44
+ );
45
+ }
46
+ \`\`\`
17
47
 
18
48
  ## License
19
49
 
package/dist/Radio.d.ts CHANGED
@@ -1,22 +1,26 @@
1
- import { type Ref } from 'react';
1
+ import { type ElementType } from 'react';
2
2
  import { type BoxProps } from '@pittorica/box-react';
3
3
  import type { PittoricaColor } from '@pittorica/text-react';
4
- export interface RadioProps extends Omit<BoxProps, 'onChange'> {
4
+ /**
5
+ * Fix TS2314 & TS2312: Use 'type' alias for intersection with polymorphic BoxProps<E>.
6
+ */
7
+ export type RadioProps<E extends ElementType = 'button'> = Omit<BoxProps<E>, 'onChange'> & {
5
8
  checked?: boolean;
6
9
  defaultChecked?: boolean;
7
10
  disabled?: boolean;
8
- /** @default 'indigo' */
11
+ /** @default 'source' */
9
12
  color?: PittoricaColor;
10
13
  value?: string;
11
14
  name?: string;
12
15
  onCheckedChange?: (checked: boolean) => void;
13
- ref?: Ref<HTMLButtonElement>;
14
- }
16
+ required?: boolean;
17
+ };
15
18
  /**
16
19
  * Primitive Radio component.
20
+ * Fully polymorphic and agnostic foundation.
17
21
  */
18
22
  export declare const Radio: {
19
- ({ checked, disabled, color, className, style, onCheckedChange, name, ref, ...props }: RadioProps): import("react/jsx-runtime").JSX.Element;
23
+ <E extends ElementType = "button">({ checked, defaultChecked, disabled, color, className, style, onCheckedChange, name, required, as, ...props }: RadioProps<E>): import("react/jsx-runtime").JSX.Element;
20
24
  displayName: string;
21
25
  };
22
26
  //# sourceMappingURL=Radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../src/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,GAAG,EAAa,MAAM,OAAO,CAAC;AAMhE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB;IACxB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,GAAG,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;CAC9B;AAED;;GAEG;AACH,eAAO,MAAM,KAAK;2FAUf,UAAU;;CAgCZ,CAAC"}
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../src/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,EAGjB,MAAM,OAAO,CAAC;AAMf,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,QAAQ,IAAI,IAAI,CAC7D,QAAQ,CAAC,CAAC,CAAC,EACX,UAAU,CACX,GAAG;IACF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB;IACxB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK;KAAI,CAAC,SAAS,WAAW,4HAYxC,UAAU,CAAC,CAAC,CAAC;;CAoDf,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export type { RadioProps } from './Radio.js';
2
- export { Radio } from './Radio.js';
1
+ export * from './Radio.js';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- import { jsx as h } from "react/jsx-runtime";
2
- import { forwardRef as I, createElement as v } from "react";
3
- function b(t) {
4
- var e, i, r = "";
5
- if (typeof t == "string" || typeof t == "number") r += t;
6
- else if (typeof t == "object") if (Array.isArray(t)) {
7
- var a = t.length;
8
- for (e = 0; e < a; e++) t[e] && (i = b(t[e])) && (r && (r += " "), r += i);
9
- } else for (i in t) t[i] && (r && (r += " "), r += i);
10
- return r;
1
+ import { jsx as $ } from "react/jsx-runtime";
2
+ import { forwardRef as _, createElement as w, useState as z } from "react";
3
+ function C(i) {
4
+ var a, r, t = "";
5
+ if (typeof i == "string" || typeof i == "number") t += i;
6
+ else if (typeof i == "object") if (Array.isArray(i)) {
7
+ var o = i.length;
8
+ for (a = 0; a < o; a++) i[a] && (r = C(i[a])) && (t && (t += " "), t += r);
9
+ } else for (r in i) i[r] && (t && (t += " "), t += r);
10
+ return t;
11
11
  }
12
- function M() {
13
- for (var t, e, i = 0, r = "", a = arguments.length; i < a; i++) (t = arguments[i]) && (e = b(t)) && (r && (r += " "), r += e);
14
- return r;
12
+ function I() {
13
+ for (var i, a, r = 0, t = "", o = arguments.length; r < o; r++) (i = arguments[r]) && (a = C(i)) && (t && (t += " "), t += a);
14
+ return t;
15
15
  }
16
16
  /**
17
17
  * @license @tabler/icons-react v3.36.1 - MIT
@@ -19,7 +19,7 @@ function M() {
19
19
  * This source code is licensed under the MIT license.
20
20
  * See the LICENSE file in the root directory of this source tree.
21
21
  */
22
- var S = {
22
+ var F = {
23
23
  outline: {
24
24
  xmlns: "http://www.w3.org/2000/svg",
25
25
  width: 24,
@@ -46,32 +46,32 @@ var S = {
46
46
  * This source code is licensed under the MIT license.
47
47
  * See the LICENSE file in the root directory of this source tree.
48
48
  */
49
- const $ = (t, e, i, r) => {
50
- const a = I(
51
- ({ color: s = "currentColor", size: l = 24, stroke: c = 2, title: p, className: d, children: n, ...m }, f) => v(
49
+ const x = (i, a, r, t) => {
50
+ const o = _(
51
+ ({ color: l = "currentColor", size: c = 24, stroke: m = 2, title: p, className: d, children: n, ...g }, u) => w(
52
52
  "svg",
53
53
  {
54
- ref: f,
55
- ...S[t],
56
- width: l,
57
- height: l,
58
- className: ["tabler-icon", `tabler-icon-${e}`, d].join(" "),
59
- ...t === "filled" ? {
60
- fill: s
54
+ ref: u,
55
+ ...F[i],
56
+ width: c,
57
+ height: c,
58
+ className: ["tabler-icon", `tabler-icon-${a}`, d].join(" "),
59
+ ...i === "filled" ? {
60
+ fill: l
61
61
  } : {
62
- strokeWidth: c,
63
- stroke: s
62
+ strokeWidth: m,
63
+ stroke: l
64
64
  },
65
- ...m
65
+ ...g
66
66
  },
67
67
  [
68
- p && v("title", { key: "svg-title" }, p),
69
- ...r.map(([g, u]) => v(g, u)),
68
+ p && w("title", { key: "svg-title" }, p),
69
+ ...t.map(([f, s]) => w(f, s)),
70
70
  ...Array.isArray(n) ? n : [n]
71
71
  ]
72
72
  )
73
73
  );
74
- return a.displayName = `${i}`, a;
74
+ return o.displayName = `${r}`, o;
75
75
  };
76
76
  /**
77
77
  * @license @tabler/icons-react v3.36.1 - MIT
@@ -79,112 +79,110 @@ const $ = (t, e, i, r) => {
79
79
  * This source code is licensed under the MIT license.
80
80
  * See the LICENSE file in the root directory of this source tree.
81
81
  */
82
- const T = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0", key: "svg-0" }]], q = $("outline", "circle", "Circle", T);
82
+ const M = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0", key: "svg-0" }]], S = x("outline", "circle", "Circle", M);
83
83
  /**
84
84
  * @license @tabler/icons-react v3.36.1 - MIT
85
85
  *
86
86
  * This source code is licensed under the MIT license.
87
87
  * See the LICENSE file in the root directory of this source tree.
88
88
  */
89
- const E = [["path", { d: "M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z", key: "svg-0" }]], D = $("filled", "circle-check-filled", "CircleCheckFilled", E);
90
- function k(t) {
91
- var e, i, r = "";
92
- if (typeof t == "string" || typeof t == "number") r += t;
93
- else if (typeof t == "object") if (Array.isArray(t)) {
94
- var a = t.length;
95
- for (e = 0; e < a; e++) t[e] && (i = k(t[e])) && (r && (r += " "), r += i);
96
- } else for (i in t) t[i] && (r && (r += " "), r += i);
97
- return r;
89
+ const E = [["path", { d: "M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z", key: "svg-0" }]], D = x("filled", "circle-check-filled", "CircleCheckFilled", E);
90
+ function N(i) {
91
+ var a, r, t = "";
92
+ if (typeof i == "string" || typeof i == "number") t += i;
93
+ else if (typeof i == "object") if (Array.isArray(i)) {
94
+ var o = i.length;
95
+ for (a = 0; a < o; a++) i[a] && (r = N(i[a])) && (t && (t += " "), t += r);
96
+ } else for (r in i) i[r] && (t && (t += " "), t += r);
97
+ return t;
98
98
  }
99
99
  function G() {
100
- for (var t, e, i = 0, r = "", a = arguments.length; i < a; i++) (t = arguments[i]) && (e = k(t)) && (r && (r += " "), r += e);
101
- return r;
100
+ for (var i, a, r = 0, t = "", o = arguments.length; r < o; r++) (i = arguments[r]) && (a = N(i)) && (t && (t += " "), t += a);
101
+ return t;
102
102
  }
103
- const x = ({
104
- ref: t,
105
- as: e = "div",
106
- children: i,
103
+ const R = ({
104
+ as: i,
105
+ children: a,
107
106
  display: r,
108
- m: a,
109
- mt: s,
107
+ m: t,
108
+ mt: o,
110
109
  mr: l,
111
110
  mb: c,
112
- ml: p,
113
- p: d,
114
- pt: n,
115
- pr: m,
111
+ ml: m,
112
+ mx: p,
113
+ my: d,
114
+ p: n,
115
+ pt: g,
116
+ pr: u,
116
117
  pb: f,
117
- pl: g,
118
- width: u,
118
+ pl: s,
119
+ px: h,
120
+ py: v,
121
+ width: k,
119
122
  height: y,
120
- position: w,
121
- style: N,
122
- className: A,
123
- href: R,
124
- target: j,
125
- rel: B,
126
- htmlFor: C,
127
- type: F,
128
- name: L,
129
- disabled: W,
130
- ..._
123
+ position: b,
124
+ style: A,
125
+ className: B,
126
+ disabled: L,
127
+ required: T,
128
+ ...j
131
129
  }) => {
132
- const o = {};
133
- r && (o.display = r), u && (o.width = u), y && (o.height = y), w && (o.position = w), a && (o.margin = `var(--pittorica-space-${a})`), s && (o.marginTop = `var(--pittorica-space-${s})`), l && (o.marginRight = `var(--pittorica-space-${l})`), c && (o.marginBottom = `var(--pittorica-space-${c})`), p && (o.marginLeft = `var(--pittorica-space-${p})`), d && (o.padding = `var(--pittorica-space-${d})`), n && (o.paddingTop = `var(--pittorica-space-${n})`), m && (o.paddingRight = `var(--pittorica-space-${m})`), f && (o.paddingBottom = `var(--pittorica-space-${f})`), g && (o.paddingLeft = `var(--pittorica-space-${g})`);
134
- const z = {
135
- ...N,
136
- ...o
130
+ const q = i || "div", e = {};
131
+ r && (e.display = r), k && (e.width = k), y && (e.height = y), b && (e.position = b), t && (e.margin = `var(--pittorica-space-${t})`), o && (e.marginTop = `var(--pittorica-space-${o})`), l && (e.marginRight = `var(--pittorica-space-${l})`), c && (e.marginBottom = `var(--pittorica-space-${c})`), m && (e.marginLeft = `var(--pittorica-space-${m})`), p && (e.marginLeft = `var(--pittorica-space-${p})`, e.marginRight = `var(--pittorica-space-${p})`), d && (e.marginTop = `var(--pittorica-space-${d})`, e.marginBottom = `var(--pittorica-space-${d})`), n && (e.padding = `var(--pittorica-space-${n})`), g && (e.paddingTop = `var(--pittorica-space-${g})`), u && (e.paddingRight = `var(--pittorica-space-${u})`), f && (e.paddingBottom = `var(--pittorica-space-${f})`), s && (e.paddingLeft = `var(--pittorica-space-${s})`), h && (e.paddingLeft = `var(--pittorica-space-${h})`, e.paddingRight = `var(--pittorica-space-${h})`), v && (e.paddingTop = `var(--pittorica-space-${v})`, e.paddingBottom = `var(--pittorica-space-${v})`);
132
+ const W = {
133
+ ...A,
134
+ ...e
137
135
  };
138
- return /* @__PURE__ */ h(
139
- e,
136
+ return /* @__PURE__ */ $(
137
+ q,
140
138
  {
141
- ref: t,
142
- className: G("pittorica-box", A),
143
- style: z,
144
- href: R,
145
- target: j,
146
- rel: B,
147
- htmlFor: C,
148
- type: F,
149
- name: L,
150
- disabled: W,
151
- ..._,
152
- children: i
139
+ className: G("pittorica-box", B),
140
+ style: W,
141
+ disabled: L,
142
+ required: T,
143
+ ...j,
144
+ children: a
153
145
  }
154
146
  );
155
147
  };
156
- x.displayName = "Box";
148
+ R.displayName = "Box";
157
149
  const H = ({
158
- checked: t,
159
- disabled: e,
160
- color: i = "indigo",
161
- className: r,
162
- style: a,
163
- onCheckedChange: s,
164
- name: l,
165
- ref: c,
166
- ...p
150
+ checked: i,
151
+ defaultChecked: a,
152
+ disabled: r,
153
+ color: t = "source",
154
+ className: o,
155
+ style: l,
156
+ onCheckedChange: c,
157
+ name: m,
158
+ required: p = !1,
159
+ as: d,
160
+ ...n
167
161
  }) => {
168
- const n = i !== "inherit" && !(i != null && i.startsWith("#")) && !(i != null && i.startsWith("rgb")) ? `var(--pittorica-${i}-9)` : i;
169
- return /* @__PURE__ */ h(
170
- x,
162
+ const [g, u] = z(
163
+ a ?? !1
164
+ ), f = i !== void 0, s = f ? i : g, h = t !== "inherit" && !(t != null && t.startsWith("#")) && !(t != null && t.startsWith("rgb")) ? `var(--pittorica-${t}-9)` : t, v = d || "button";
165
+ return /* @__PURE__ */ $(
166
+ R,
171
167
  {
172
- ...p,
173
- as: "button",
174
- type: "button",
168
+ as: v,
169
+ type: v === "button" ? "button" : void 0,
175
170
  role: "radio",
176
- name: l,
177
- "aria-checked": t,
178
- "data-state": t ? "checked" : "unchecked",
179
- disabled: e,
180
- className: M("pittorica-radio-root", r),
181
- onClick: () => !e && (s == null ? void 0 : s(!t)),
182
- ref: c,
171
+ name: m,
172
+ "aria-checked": s,
173
+ "aria-required": p,
174
+ "data-state": s ? "checked" : "unchecked",
175
+ disabled: r,
176
+ onClick: (y) => {
177
+ r || (f || u(!s), c == null || c(!s), typeof n.onClick == "function" && n.onClick(y));
178
+ },
179
+ className: I("pittorica-radio-root", o),
183
180
  style: {
184
- "--pittorica-source-color": n,
185
- ...a
181
+ "--pittorica-source-color": h,
182
+ ...l
186
183
  },
187
- children: t ? /* @__PURE__ */ h(D, { size: 14 }) : /* @__PURE__ */ h(q, { size: 14, opacity: 0.5 })
184
+ ...n,
185
+ children: s ? /* @__PURE__ */ $(D, { size: 14 }) : /* @__PURE__ */ $(S, { size: 14, opacity: 0.5 })
188
186
  }
189
187
  );
190
188
  };
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@pittorica/radio-react",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
+ "homepage": "https://pittorica.dcdavidev.me",
4
5
  "type": "module",
5
6
  "main": "./dist/index.js",
6
7
  "module": "./dist/index.js",
@@ -11,8 +12,8 @@
11
12
  "dependencies": {
12
13
  "@tabler/icons-react": "^3.36.1",
13
14
  "clsx": "^2.1.1",
14
- "@pittorica/box-react": "0.24.0",
15
- "@pittorica/text-react": "0.24.0"
15
+ "@pittorica/text-react": "0.26.0",
16
+ "@pittorica/box-react": "0.26.0"
16
17
  },
17
18
  "devDependencies": {
18
19
  "@testing-library/jest-dom": "^6.9.1",
@@ -22,11 +23,11 @@
22
23
  "@vitejs/plugin-react": "^4.0.0",
23
24
  "jsdom": "^22.0.0",
24
25
  "typescript": "^5.0.0",
25
- "vite": "^5.0.0",
26
- "vitest": "^2.1.9",
27
- "@pittorica/theme-react": "0.24.0",
28
- "@pittorica/flex-react": "0.24.0",
29
- "pittorica": "0.24.0"
26
+ "vite": "^6.4.1",
27
+ "vitest": "^3.2.4",
28
+ "@pittorica/flex-react": "0.26.0",
29
+ "@pittorica/theme-react": "0.26.0",
30
+ "pittorica": "0.26.0"
30
31
  },
31
32
  "peerDependencies": {
32
33
  "react": ">=19",
@@ -36,8 +37,7 @@
36
37
  "build": "npm run clean && npm run build:js && npm run build:types",
37
38
  "build:js": "vite build",
38
39
  "build:types": "tsc -p tsconfig.json",
39
- "clean": "rm -rf dist",
40
- "dev": "vite",
40
+ "clean": "rm -rf dist *.tsbuildinfo",
41
41
  "test": "vitest run",
42
42
  "test:watch": "vitest"
43
43
  }
@@ -1,8 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { Radio } from './Radio.js';
3
- declare const meta: Meta<typeof Radio>;
4
- export default meta;
5
- export declare const Basic: StoryObj<typeof Radio>;
6
- export declare const Colors: StoryObj<typeof Radio>;
7
- export declare const States: StoryObj<typeof Radio>;
8
- //# sourceMappingURL=Radio.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Radio.stories.d.ts","sourceRoot":"","sources":["../src/Radio.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAI5B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,KAAK,CAYxC,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,KAAK,CASzC,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,KAAK,CAiBzC,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * @vitest-environment jsdom
3
- */
4
- import '@testing-library/jest-dom';
5
- //# sourceMappingURL=Radio.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Radio.test.d.ts","sourceRoot":"","sources":["../src/Radio.test.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,2BAA2B,CAAC"}