@goodhood-web/ui 1.8.0-development.1 → 1.8.0-development.3
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/index.d.ts +4 -2
- package/index.js +35 -35
- package/index.mjs +2464 -2428
- package/lib/FeedItemCategory/FeedItemCategory.d.ts +4 -0
- package/lib/FeedItemCategory/FeedItemCategory.types.d.ts +5 -0
- package/lib/Thumbnail/Thumbnail.d.ts +1 -1
- package/lib/Thumbnail/Thumbnail.type.d.ts +1 -0
- package/lib/ThumbnailWrapper/ThumbnailWrapper.d.ts +4 -0
- package/lib/ThumbnailWrapper/ThumbnailWrapper.types.d.ts +8 -0
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ThumbnailCircularProps, ThumbnailSquareProps } from './Thumbnail.type';
|
|
2
2
|
|
|
3
|
-
declare const Thumbnail: ({ alt, isPlaceholder, shape, size, src, }: ThumbnailCircularProps | ThumbnailSquareProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Thumbnail: ({ alt, isPlaceholder, label, shape, size, src, }: ThumbnailCircularProps | ThumbnailSquareProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default Thumbnail;
|
|
@@ -2,6 +2,7 @@ import { ImageProps } from '../Image/Image.type';
|
|
|
2
2
|
|
|
3
3
|
interface ThumbnailProps extends ImageProps {
|
|
4
4
|
isPlaceholder?: boolean;
|
|
5
|
+
label?: string;
|
|
5
6
|
}
|
|
6
7
|
export type TCircularSize = '28' | '32' | '40' | '48' | '56' | '64' | '80' | '120' | '280';
|
|
7
8
|
export type TSquareSize = '24' | '32' | '40' | '48' | '56' | '64' | '80' | '120';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BadgeOwnProps } from '@mui/base/Badge/Badge.types';
|
|
2
|
+
import { ThumbnailCircularProps, ThumbnailSquareProps } from '../Thumbnail/Thumbnail.type';
|
|
3
|
+
|
|
4
|
+
export default interface ThumbnailWrapperProps {
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
children: BadgeOwnProps['children'];
|
|
7
|
+
thumbnail: ThumbnailCircularProps | ThumbnailSquareProps;
|
|
8
|
+
}
|