@rocket.chat/fuselage 0.32.0-dev.1 → 0.32.0-dev.12

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.
@@ -1,3 +1,4 @@
1
1
  import type { ComponentType } from 'react';
2
- export declare const withBoxStyling: <TProps>(component: ComponentType<TProps>) => ComponentType<TProps>;
2
+ import type { StylingProps } from './stylingProps';
3
+ export declare const withBoxStyling: <TProps>(component: ComponentType<TProps>) => ComponentType<TProps & Partial<StylingProps>>;
3
4
  //# sourceMappingURL=withBoxStyling.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"withBoxStyling.d.ts","sourceRoot":"","sources":["../../../src/components/Box/withBoxStyling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAO3C,eAAO,MAAM,cAAc,qEAc1B,CAAC"}
1
+ {"version":3,"file":"withBoxStyling.d.ts","sourceRoot":"","sources":["../../../src/components/Box/withBoxStyling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,eAAO,MAAM,cAAc,6FAc1B,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import type { ButtonHTMLAttributes } from 'react';
2
2
  import React from 'react';
3
- declare type ChipProps = Omit<HTMLAttributes<HTMLButtonElement>, 'type'> & {
3
+ declare type ChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> & {
4
4
  thumbUrl?: string;
5
5
  renderThumb?: (props: {
6
6
  url: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,aAAK,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,GAAG;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,mBAAmB,CAAC,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;CAC7C,CAAC;AASF,eAAO,MAAM,IAAI;yGASd,SAAS;;CAkBX,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,aAAK,SAAS,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,GAAG;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,mBAAmB,CAAC,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;CAC7C,CAAC;AASF,eAAO,MAAM,IAAI;yGASd,SAAS;;CAkBX,CAAC"}
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- declare const _default: import("react").ComponentType<Omit<import("react").HTMLAttributes<HTMLButtonElement>, "type"> & {
2
+ declare const _default: import("react").ComponentType<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type"> & {
3
3
  thumbUrl?: string | undefined;
4
4
  renderThumb?: ((props: {
5
5
  url: string;
6
6
  }) => import("react").ReactNode) | undefined;
7
7
  renderDismissSymbol?: (() => import("react").ReactNode) | undefined;
8
- }>;
8
+ } & Partial<import("../Box/stylingProps").StylingProps>>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -5,5 +5,8 @@ export declare const Message: React.ForwardRefExoticComponent<AllHTMLAttributes<
5
5
  clickable?: boolean | undefined;
6
6
  sequential?: boolean | undefined;
7
7
  className?: string | undefined;
8
+ isSelected?: boolean | undefined;
9
+ isEditing?: boolean | undefined;
10
+ highlight?: boolean | undefined;
8
11
  } & React.RefAttributes<HTMLDivElement>>;
9
12
  //# sourceMappingURL=Message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAO,MAAM,OAAO,CAAC;AACpD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,wBAAwB,CAAC;AAUhC,eAAO,MAAM,OAAO;;;;wCAoBlB,CAAC"}
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAO,MAAM,OAAO,CAAC;AACpD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,wBAAwB,CAAC;AAahC,eAAO,MAAM,OAAO;;;;;;;wCA+BlB,CAAC"}
@@ -2,7 +2,8 @@ import type { ReactNode } from 'react';
2
2
  import './MessageSystem.styles.scss';
3
3
  declare type MessageSystemProps = {
4
4
  children?: ReactNode;
5
+ title?: string;
5
6
  };
6
- export declare const MessageSystem: (props: MessageSystemProps) => JSX.Element;
7
+ export declare const MessageSystem: ({ children, title }: MessageSystemProps) => JSX.Element;
7
8
  export {};
8
9
  //# sourceMappingURL=MessageSystem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageSystem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageSystem/MessageSystem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,6BAA6B,CAAC;AAErC,aAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,kBAAkB,gBAItD,CAAC"}
1
+ {"version":3,"file":"MessageSystem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageSystem/MessageSystem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,6BAA6B,CAAC;AAErC,aAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,wBAAyB,kBAAkB,gBAIpE,CAAC"}
@@ -9,5 +9,6 @@ export declare const MessageSystemLeftContainer: (props: {
9
9
  }) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
10
10
  export declare const MessageSystemTimestamp: (props: {
11
11
  children: import("react").ReactNode;
12
+ title?: string | undefined;
12
13
  }) => JSX.Element;
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageSystem/index.tsx"],"names":[],"mappings":";AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,eAAO,MAAM,0BAA0B;;4FAAuB,CAAC;AAC/D,eAAO,MAAM,sBAAsB;;iBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageSystem/index.tsx"],"names":[],"mappings":";AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,eAAO,MAAM,0BAA0B;;4FAAuB,CAAC;AAC/D,eAAO,MAAM,sBAAsB;;;iBAAmB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
2
  declare type MessageTimestampProps = {
3
3
  children: ReactNode;
4
+ title?: string;
4
5
  };
5
6
  export declare const MessageTimestamp: (props: MessageTimestampProps) => JSX.Element;
6
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"MessageTimestamp.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageTimestamp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,aAAK,qBAAqB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAErD,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,gBAE5D,CAAC"}
1
+ {"version":3,"file":"MessageTimestamp.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageTimestamp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,aAAK,qBAAqB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErE,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,gBAE5D,CAAC"}
@@ -14,6 +14,9 @@ declare const _default: ((props: import("react").AllHTMLAttributes<HTMLDivElemen
14
14
  clickable?: boolean | undefined;
15
15
  sequential?: boolean | undefined;
16
16
  className?: string | undefined;
17
+ isSelected?: boolean | undefined;
18
+ isEditing?: boolean | undefined;
19
+ highlight?: boolean | undefined;
17
20
  } & import("react").RefAttributes<HTMLDivElement>) => JSX.Element) & {
18
21
  Row: (props: import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element;
19
22
  Container: (props: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/ThreadMessage/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,QAAA,MAAM,0BAA0B;;4FAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAExD,wBASG;AAEH,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,GAC3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/ThreadMessage/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,QAAA,MAAM,0BAA0B;;4FAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,wBASG;AAEH,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,GAC3B,CAAC"}
@@ -22,6 +22,9 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
22
22
  clickable?: boolean | undefined;
23
23
  sequential?: boolean | undefined;
24
24
  className?: string | undefined;
25
+ isSelected?: boolean | undefined;
26
+ isEditing?: boolean | undefined;
27
+ highlight?: boolean | undefined;
25
28
  } & import("react").RefAttributes<HTMLDivElement>> & {
26
29
  Metrics: ((props: import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element) & {
27
30
  Reply: (props: Pick<{
@@ -175,6 +178,7 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
175
178
  } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>) => JSX.Element;
176
179
  Timestamp: (props: {
177
180
  children: import("react").ReactNode;
181
+ title?: string | undefined;
178
182
  }) => JSX.Element;
179
183
  Name: (props: import("react").AllHTMLAttributes<HTMLSpanElement>) => JSX.Element;
180
184
  Username: (props: import("react").AllHTMLAttributes<HTMLSpanElement>) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Message/index.tsx"],"names":[],"mappings":";AAgBA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB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