@worldresources/wri-design-systems 2.191.10 → 2.191.11
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.cjs.js +270 -270
- package/dist/index.d.ts +4 -2
- package/dist/index.esm.js +272 -272
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -615,6 +615,8 @@ declare const Menu: ({ theme, label, fontSize, items, groups, onSelect, customTr
|
|
|
615
615
|
type MultiActionButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children'> & {
|
|
616
616
|
variant?: 'primary' | 'secondary';
|
|
617
617
|
size?: 'default' | 'small';
|
|
618
|
+
mainActionLeftIcon?: React__default.ReactNode;
|
|
619
|
+
mainActionRightIcon?: React__default.ReactNode;
|
|
618
620
|
mainActionLabel: string;
|
|
619
621
|
mainActionOnClick: VoidFunction;
|
|
620
622
|
otherActions: {
|
|
@@ -625,7 +627,7 @@ type MultiActionButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPal
|
|
|
625
627
|
disabled?: boolean;
|
|
626
628
|
};
|
|
627
629
|
|
|
628
|
-
declare const MultiActionButton: ({ variant, size, mainActionLabel, mainActionOnClick, otherActions, disabled: isDisabledProp, ...rest }: MultiActionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
630
|
+
declare const MultiActionButton: ({ variant, size, mainActionLabel, mainActionOnClick, otherActions, disabled: isDisabledProp, mainActionLeftIcon, mainActionRightIcon, ...rest }: MultiActionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
629
631
|
|
|
630
632
|
type TooltipProps = {
|
|
631
633
|
children: React.ReactNode;
|
|
@@ -1150,7 +1152,7 @@ interface ListItemProps {
|
|
|
1150
1152
|
label: string;
|
|
1151
1153
|
caption?: string;
|
|
1152
1154
|
icon?: ReactElement;
|
|
1153
|
-
value?:
|
|
1155
|
+
value?: React__default.ReactNode;
|
|
1154
1156
|
variant?: ListItemVariant;
|
|
1155
1157
|
isExpanded?: boolean;
|
|
1156
1158
|
onItemClick?: () => void;
|