@worldresources/wri-design-systems 2.151.0 → 2.153.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/dist/index.cjs.js +300 -304
- package/dist/index.d.ts +6 -1
- package/dist/index.esm.js +297 -301
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -543,9 +543,10 @@ type QualitativeAttributeProps = {
|
|
|
543
543
|
showActionButton?: boolean;
|
|
544
544
|
onActionClick?: () => void;
|
|
545
545
|
pointIcon?: React.ReactNode;
|
|
546
|
+
ariaLabelType?: string;
|
|
546
547
|
};
|
|
547
548
|
|
|
548
|
-
declare const QualitativeAttribute: ({ type, label, caption, color, onActionClick, showActionButton, pointIcon, }: QualitativeAttributeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
549
|
+
declare const QualitativeAttribute: ({ type, label, caption, color, onActionClick, showActionButton, pointIcon, ariaLabelType, }: QualitativeAttributeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
549
550
|
|
|
550
551
|
type ScaleBarProps = {
|
|
551
552
|
colors: string[];
|
|
@@ -796,10 +797,14 @@ declare const TabBar: ({ variant, defaultValue, tabs, onTabClick, activationMode
|
|
|
796
797
|
type AvatarProps = {
|
|
797
798
|
name: string;
|
|
798
799
|
ariaLabel?: string;
|
|
800
|
+
size?: 'small' | 'medium' | 'large';
|
|
801
|
+
customSize?: string;
|
|
799
802
|
src?: string;
|
|
800
803
|
srcSet?: string;
|
|
801
804
|
onClick?: () => void;
|
|
802
805
|
notificationCount?: number;
|
|
806
|
+
disabled?: boolean;
|
|
807
|
+
customBackgroundColor?: string;
|
|
803
808
|
};
|
|
804
809
|
|
|
805
810
|
declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLDivElement>>;
|