@worldresources/wri-design-systems 2.204.0 → 2.205.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/README.md +75 -11
- package/dist/index.cjs.js +109 -108
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +105 -104
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1773,11 +1773,12 @@ declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.Re
|
|
|
1773
1773
|
|
|
1774
1774
|
declare const Badge: ({ hasNotification, notificationCount, label, labels, children, size, }: BadgeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1775
1775
|
|
|
1776
|
+
type InlineMessageSize = 'small' | 'large' | 'full-width' | 'small-full-width';
|
|
1776
1777
|
type InlineMessageProps = {
|
|
1777
1778
|
label: string | React.ReactNode;
|
|
1778
1779
|
caption?: string | React.ReactNode;
|
|
1779
1780
|
variant: 'info-white' | 'info-grey' | 'success' | 'warning' | 'error';
|
|
1780
|
-
size?:
|
|
1781
|
+
size?: InlineMessageSize;
|
|
1781
1782
|
icon?: React.ReactNode;
|
|
1782
1783
|
onActionClick?: VoidFunction;
|
|
1783
1784
|
actionLabel?: string;
|