@rocket.chat/fuselage 0.32.0-dev.168 → 0.32.0-dev.169

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,9 @@
1
+ declare type MessageGenericPreviewCoverImageProps = {
2
+ url: string;
3
+ width: number;
4
+ height: number;
5
+ className?: string;
6
+ };
7
+ export declare const MessageGenericPreviewCoverImage: ({ url, width, height, className, ...props }: MessageGenericPreviewCoverImageProps) => JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=MessageGenericPreviewCoverImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageGenericPreviewCoverImage.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.tsx"],"names":[],"mappings":"AAIA,aAAK,oCAAoC,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,+BAA+B,gDAMzC,oCAAoC,gBAYtC,CAAC"}
@@ -1,8 +1,8 @@
1
+ import type { ImgHTMLAttributes } from 'react';
1
2
  declare type MessageGenericPreviewImageProps = {
2
3
  url: string;
3
- width: number;
4
- height: number;
5
- };
6
- export declare const MessageGenericPreviewImage: ({ url, width, height, ...props }: MessageGenericPreviewImageProps) => JSX.Element;
4
+ className?: string;
5
+ } & ImgHTMLAttributes<HTMLImageElement>;
6
+ export declare const MessageGenericPreviewImage: ({ url, className, ...props }: MessageGenericPreviewImageProps) => JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=MessageGenericPreviewImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageGenericPreviewImage.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewImage.tsx"],"names":[],"mappings":"AAEA,aAAK,+BAA+B,GAAG;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,0BAA0B,qCAKpC,+BAA+B,gBAQjC,CAAC"}
1
+ {"version":3,"file":"MessageGenericPreviewImage.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/C,aAAK,+BAA+B,GAAG;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAExC,eAAO,MAAM,0BAA0B,iCAIpC,+BAA+B,gBAUjC,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { ReactNode } from 'react';
1
+ import type { AnchorHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
2
2
  declare type MessageGenericPreviewTitleProps = {
3
3
  children?: ReactNode;
4
4
  externalUrl?: string;
5
- };
5
+ } & HTMLAttributes<HTMLSpanElement> & AnchorHTMLAttributes<HTMLAnchorElement>;
6
6
  export declare const MessageGenericPreviewTitle: ({ externalUrl, ...props }: MessageGenericPreviewTitleProps) => JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=MessageGenericPreviewTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageGenericPreviewTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,aAAK,+BAA+B,GAAG;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,0BAA0B,8BAGpC,+BAA+B,gBAU/B,CAAC"}
1
+ {"version":3,"file":"MessageGenericPreviewTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7E,aAAK,+BAA+B,GAAG;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,cAAc,CAAC,eAAe,CAAC,GACjC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,eAAO,MAAM,0BAA0B,8BAGpC,+BAA+B,gBAU/B,CAAC"}
@@ -2,6 +2,7 @@ export * from './MessageGenericPreview';
2
2
  export * from './MessageGenericPreviewContent';
3
3
  export * from './MessageGenericPreviewDescription';
4
4
  export * from './MessageGenericPreviewFooter';
5
+ export * from './MessageGenericPreviewCoverImage';
5
6
  export * from './MessageGenericPreviewImage';
6
7
  export * from './MessageGenericPreviewThumb';
7
8
  export * from './MessageGenericPreviewTitle';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/index.tsx"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/index.tsx"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}