widenarrow-ui 2.0.12 → 2.0.13
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/lib/index.css +1 -1
- package/lib/index.d.ts +4 -1
- package/lib/index.esm.css +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -635,18 +635,21 @@ interface FacetButtonProps {
|
|
|
635
635
|
component?: ReactNode;
|
|
636
636
|
id?: string | number;
|
|
637
637
|
onClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
638
|
+
onRightClickCallback?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
638
639
|
disabled?: boolean;
|
|
639
640
|
selected?: boolean;
|
|
640
641
|
blocked?: boolean;
|
|
641
642
|
icon?: Partial<IconTypes>;
|
|
643
|
+
rightIcon?: Partial<IconTypes>;
|
|
642
644
|
children?: ReactNode;
|
|
643
645
|
className?: string;
|
|
644
646
|
toolTip?: string;
|
|
647
|
+
rightAriaLabel?: string;
|
|
645
648
|
percent: number;
|
|
646
649
|
}
|
|
647
650
|
|
|
648
651
|
declare const FacetButton: {
|
|
649
|
-
({ text, component, id, onClickCallback, disabled, selected, icon, className, toolTip, blocked, percent, children }: FacetButtonProps): JSX.Element;
|
|
652
|
+
({ text, component, id, onClickCallback, onRightClickCallback, disabled, selected, icon, rightIcon, className, toolTip, blocked, percent, children, rightAriaLabel }: FacetButtonProps): JSX.Element;
|
|
650
653
|
displayName: string;
|
|
651
654
|
};
|
|
652
655
|
|