@telepix-lab/telepix-ui 0.6.2 → 0.6.3
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,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
1
2
|
import { RadioGroup as RadioGroupRadix } from "radix-ui";
|
|
2
3
|
import { RadioGroupOrientation } from "./types";
|
|
3
4
|
interface RadioGroupProps extends RadioGroupRadix.RadioGroupProps {
|
|
@@ -23,7 +24,7 @@ interface RadioGroupProps extends RadioGroupRadix.RadioGroupProps {
|
|
|
23
24
|
*/
|
|
24
25
|
export declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
26
|
interface RadioItemProps extends RadioGroupRadix.RadioGroupItemProps {
|
|
26
|
-
label?: string;
|
|
27
|
+
label?: string | ReactNode;
|
|
27
28
|
labelClassName?: string;
|
|
28
29
|
wrapperClassName?: string;
|
|
29
30
|
className?: string;
|
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, {
|
|
2
|
+
import React__default, { ReactNode, FC, Ref } from 'react';
|
|
3
3
|
import { RadioGroup as RadioGroup$1, Checkbox as Checkbox$1, Dialog as Dialog$1, Select as Select$1, Tooltip as Tooltip$1, Popover, ContextMenu as ContextMenu$1, Switch as Switch$1 } from 'radix-ui';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { DayPicker, DateRange } from 'react-day-picker';
|
|
@@ -33,7 +33,7 @@ interface RadioGroupProps extends RadioGroup$1.RadioGroupProps {
|
|
|
33
33
|
*/
|
|
34
34
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
35
35
|
interface RadioItemProps extends RadioGroup$1.RadioGroupItemProps {
|
|
36
|
-
label?: string;
|
|
36
|
+
label?: string | ReactNode;
|
|
37
37
|
labelClassName?: string;
|
|
38
38
|
wrapperClassName?: string;
|
|
39
39
|
className?: string;
|
|
@@ -41,7 +41,7 @@ interface RadioItemProps extends RadioGroup$1.RadioGroupItemProps {
|
|
|
41
41
|
declare const RadioItem: React$1.ForwardRefExoticComponent<RadioItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
42
42
|
|
|
43
43
|
interface CheckboxProps extends Checkbox$1.CheckboxProps {
|
|
44
|
-
label?: string;
|
|
44
|
+
label?: string | ReactNode;
|
|
45
45
|
labelClassName?: string;
|
|
46
46
|
wrapperClassName?: string;
|
|
47
47
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
1
2
|
import { RadioGroup as RadioGroupRadix } from "radix-ui";
|
|
2
3
|
import { RadioGroupOrientation } from "./types";
|
|
3
4
|
interface RadioGroupProps extends RadioGroupRadix.RadioGroupProps {
|
|
@@ -23,7 +24,7 @@ interface RadioGroupProps extends RadioGroupRadix.RadioGroupProps {
|
|
|
23
24
|
*/
|
|
24
25
|
export declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
26
|
interface RadioItemProps extends RadioGroupRadix.RadioGroupItemProps {
|
|
26
|
-
label?: string;
|
|
27
|
+
label?: string | ReactNode;
|
|
27
28
|
labelClassName?: string;
|
|
28
29
|
wrapperClassName?: string;
|
|
29
30
|
className?: string;
|