@rocket.chat/fuselage 0.32.0-dev.5 → 0.32.0-dev.8

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,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,5 +1,5 @@
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;
@@ -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"}
@@ -9191,7 +9191,10 @@ __webpack_require__.r(__webpack_exports__);
9191
9191
  /* harmony import */ var _MessageSystem_styles_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MessageSystem.styles.scss */ "./src/components/Message/MessageSystem/MessageSystem.styles.scss");
9192
9192
 
9193
9193
 
9194
- var MessageSystem = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: 'rcx-box rcx-box--full rcx-message-system' }, props.children)); };
9194
+ var MessageSystem = function (_a) {
9195
+ var children = _a.children, title = _a.title;
9196
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: 'rcx-box rcx-box--full rcx-message-system', title: title }, children));
9197
+ };
9195
9198
 
9196
9199
 
9197
9200
  /***/ }),
@@ -16306,7 +16309,7 @@ __webpack_require__.r(__webpack_exports__);
16306
16309
 
16307
16310
 
16308
16311
  if (true) {
16309
- console.log("fuselage: " + "0.31.8");
16312
+ console.log("fuselage: " + "0.31.9");
16310
16313
  }
16311
16314
 
16312
16315