@cleen/ui 0.1.82 → 0.1.84
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.d.ts +25 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2650,8 +2650,9 @@ interface RadioBoxData {
|
|
|
2650
2650
|
id: string | number;
|
|
2651
2651
|
label?: ReactNode;
|
|
2652
2652
|
subLabel?: ReactNode;
|
|
2653
|
+
[key: string]: unknown;
|
|
2653
2654
|
}
|
|
2654
|
-
interface RadioBoxGroupProps {
|
|
2655
|
+
interface RadioBoxGroupProps extends ComponentProps<'div'> {
|
|
2655
2656
|
horizontal?: boolean;
|
|
2656
2657
|
boxes: RadioBoxData[];
|
|
2657
2658
|
selectedBox?: RadioBoxData;
|
|
@@ -2661,8 +2662,28 @@ interface RadioBoxGroupProps {
|
|
|
2661
2662
|
leftIcon?: ReactNode;
|
|
2662
2663
|
leftIconName?: IconName;
|
|
2663
2664
|
rightIconName?: IconName;
|
|
2664
|
-
|
|
2665
|
-
|
|
2665
|
+
classNames?: {
|
|
2666
|
+
container?: string;
|
|
2667
|
+
box?: string;
|
|
2668
|
+
leftIconContainer?: string;
|
|
2669
|
+
leftIcon?: string;
|
|
2670
|
+
labelContainer?: string;
|
|
2671
|
+
label?: string;
|
|
2672
|
+
subLabel?: string;
|
|
2673
|
+
rightIcon?: string;
|
|
2674
|
+
rightIconContainer?: string;
|
|
2675
|
+
};
|
|
2676
|
+
styles?: {
|
|
2677
|
+
container?: CSSProperties;
|
|
2678
|
+
box?: CSSProperties;
|
|
2679
|
+
leftIconContainer?: CSSProperties;
|
|
2680
|
+
leftIcon?: CSSProperties;
|
|
2681
|
+
labelContainer?: CSSProperties;
|
|
2682
|
+
label?: CSSProperties;
|
|
2683
|
+
subLabel?: CSSProperties;
|
|
2684
|
+
rightIcon?: CSSProperties;
|
|
2685
|
+
rightIconContainer?: CSSProperties;
|
|
2686
|
+
};
|
|
2666
2687
|
}
|
|
2667
2688
|
/**
|
|
2668
2689
|
* A group of selectable option boxes, each displaying a label and optional sub-label with an icon.
|
|
@@ -2672,7 +2693,7 @@ interface RadioBoxGroupProps {
|
|
|
2672
2693
|
* - Toggle `horizontal` to switch from a vertical stack to a flex-wrap row layout.
|
|
2673
2694
|
* - Inject leading content per row with `leftElement` / `leftIcon` / `leftIconName`, and trailing content with `rightElement` / `rightIconName`.
|
|
2674
2695
|
*/
|
|
2675
|
-
declare const RadioBoxGroup: ({ horizontal, boxes, selectedBox, onBoxClick, leftElement, rightElement, leftIcon, leftIconName, rightIconName, className, style, }: RadioBoxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
2696
|
+
declare const RadioBoxGroup: ({ horizontal, boxes, selectedBox, onBoxClick, leftElement, rightElement, leftIcon, leftIconName, rightIconName, className, classNames, style, styles, ...props }: RadioBoxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
2676
2697
|
|
|
2677
2698
|
interface RadioButtonData {
|
|
2678
2699
|
id: string | number;
|