@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 +35 -5
- package/dist/Radio.d.ts +10 -6
- package/dist/Radio.d.ts.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +108 -110
- package/package.json +10 -10
- package/dist/Radio.stories.d.ts +0 -8
- package/dist/Radio.stories.d.ts.map +0 -1
- package/dist/Radio.test.d.ts +0 -5
- package/dist/Radio.test.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -4,16 +4,46 @@ The `Radio` component.
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
\`\`\`bash
|
|
8
8
|
npm install @pittorica/radio-react
|
|
9
|
-
|
|
9
|
+
\`\`\`
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
\`\`\`jsx
|
|
14
14
|
import { Radio } from '@pittorica/radio-react';
|
|
15
|
-
|
|
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
|
|
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
|
-
|
|
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 '
|
|
11
|
+
/** @default 'source' */
|
|
9
12
|
color?: PittoricaColor;
|
|
10
13
|
value?: string;
|
|
11
14
|
name?: string;
|
|
12
15
|
onCheckedChange?: (checked: boolean) => void;
|
|
13
|
-
|
|
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,
|
|
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
|
package/dist/Radio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../src/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
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
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
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
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
function
|
|
4
|
-
var
|
|
5
|
-
if (typeof
|
|
6
|
-
else if (typeof
|
|
7
|
-
var
|
|
8
|
-
for (
|
|
9
|
-
} else for (
|
|
10
|
-
return
|
|
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
|
|
13
|
-
for (var
|
|
14
|
-
return
|
|
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
|
|
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
|
|
50
|
-
const
|
|
51
|
-
({ color:
|
|
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:
|
|
55
|
-
...
|
|
56
|
-
width:
|
|
57
|
-
height:
|
|
58
|
-
className: ["tabler-icon", `tabler-icon-${
|
|
59
|
-
...
|
|
60
|
-
fill:
|
|
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:
|
|
63
|
-
stroke:
|
|
62
|
+
strokeWidth: m,
|
|
63
|
+
stroke: l
|
|
64
64
|
},
|
|
65
|
-
...
|
|
65
|
+
...g
|
|
66
66
|
},
|
|
67
67
|
[
|
|
68
|
-
p &&
|
|
69
|
-
...
|
|
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
|
|
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
|
|
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 =
|
|
90
|
-
function
|
|
91
|
-
var
|
|
92
|
-
if (typeof
|
|
93
|
-
else if (typeof
|
|
94
|
-
var
|
|
95
|
-
for (
|
|
96
|
-
} else for (
|
|
97
|
-
return
|
|
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
|
|
101
|
-
return
|
|
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
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
children: i,
|
|
103
|
+
const R = ({
|
|
104
|
+
as: i,
|
|
105
|
+
children: a,
|
|
107
106
|
display: r,
|
|
108
|
-
m:
|
|
109
|
-
mt:
|
|
107
|
+
m: t,
|
|
108
|
+
mt: o,
|
|
110
109
|
mr: l,
|
|
111
110
|
mb: c,
|
|
112
|
-
ml:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
ml: m,
|
|
112
|
+
mx: p,
|
|
113
|
+
my: d,
|
|
114
|
+
p: n,
|
|
115
|
+
pt: g,
|
|
116
|
+
pr: u,
|
|
116
117
|
pb: f,
|
|
117
|
-
pl:
|
|
118
|
-
|
|
118
|
+
pl: s,
|
|
119
|
+
px: h,
|
|
120
|
+
py: v,
|
|
121
|
+
width: k,
|
|
119
122
|
height: y,
|
|
120
|
-
position:
|
|
121
|
-
style:
|
|
122
|
-
className:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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
|
|
133
|
-
r && (
|
|
134
|
-
const
|
|
135
|
-
...
|
|
136
|
-
...
|
|
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__ */
|
|
139
|
-
|
|
136
|
+
return /* @__PURE__ */ $(
|
|
137
|
+
q,
|
|
140
138
|
{
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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
|
-
|
|
148
|
+
R.displayName = "Box";
|
|
157
149
|
const H = ({
|
|
158
|
-
checked:
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|
|
169
|
-
|
|
170
|
-
|
|
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
|
-
|
|
173
|
-
|
|
174
|
-
type: "button",
|
|
168
|
+
as: v,
|
|
169
|
+
type: v === "button" ? "button" : void 0,
|
|
175
170
|
role: "radio",
|
|
176
|
-
name:
|
|
177
|
-
"aria-checked":
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
onClick: () =>
|
|
182
|
-
|
|
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":
|
|
185
|
-
...
|
|
181
|
+
"--pittorica-source-color": h,
|
|
182
|
+
...l
|
|
186
183
|
},
|
|
187
|
-
|
|
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.
|
|
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/
|
|
15
|
-
"@pittorica/
|
|
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": "^
|
|
26
|
-
"vitest": "^2.
|
|
27
|
-
"@pittorica/
|
|
28
|
-
"@pittorica/
|
|
29
|
-
"pittorica": "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
|
}
|
package/dist/Radio.stories.d.ts
DELETED
|
@@ -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"}
|
package/dist/Radio.test.d.ts
DELETED
package/dist/Radio.test.d.ts.map
DELETED
|
@@ -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"}
|