@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.
@@ -0,0 +1,4 @@
1
+ import { default as FeedItemCategoryProps } from './FeedItemCategory.types';
2
+
3
+ declare const FeedItemCategory: ({ className, text, type }: FeedItemCategoryProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default FeedItemCategory;
@@ -0,0 +1,5 @@
1
+ export default interface FeedItemCategoryProps {
2
+ className?: string;
3
+ text: string;
4
+ type: 'closedPost' | 'theme';
5
+ }
@@ -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,4 @@
1
+ import { default as ThumbnailWrapperProps } from './ThumbnailWrapper.types';
2
+
3
+ declare const ThumbnailWrapper: ({ ariaLabel, children, thumbnail }: ThumbnailWrapperProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default ThumbnailWrapper;
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.8.0-development.1",
3
+ "version": "1.8.0-development.3",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {