@rocket.chat/fuselage 0.47.0 → 0.47.1
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/CHANGELOG.md +6 -0
- package/dist/components/Message/MessageNameContainer.d.ts +2 -1
- package/dist/components/Message/MessageNameContainer.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +1 -1
- package/dist/fuselage.development.js +26 -5
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.47.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1291](https://github.com/RocketChat/fuselage/pull/1291) [`7d61a2677`](https://github.com/RocketChat/fuselage/commit/7d61a26778253cf2e022a7d9422fdbe3aaedd9f2) Thanks [@dougfabris](https://github.com/dougfabris)! - fix(fuselage): `MessageNameContainer` missing forwardRef
|
|
8
|
+
|
|
3
9
|
## 0.47.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AllHTMLAttributes } from 'react';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
type MessageNameContainerProps = AllHTMLAttributes<HTMLSpanElement>;
|
|
3
|
-
export declare const MessageNameContainer:
|
|
4
|
+
export declare const MessageNameContainer: React.ForwardRefExoticComponent<MessageNameContainerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
4
5
|
export {};
|
|
5
6
|
//# sourceMappingURL=MessageNameContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageNameContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageNameContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageNameContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageNameContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,KAAK,yBAAyB,GAAG,iBAAiB,CAAC,eAAe,CAAC,CAAC;AAEpE,eAAO,MAAM,oBAAoB,mGAW/B,CAAC"}
|
|
@@ -192,7 +192,7 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
|
|
|
192
192
|
children: import("react").ReactNode;
|
|
193
193
|
title?: string | undefined;
|
|
194
194
|
}) => JSX.Element;
|
|
195
|
-
NameContainer: (
|
|
195
|
+
NameContainer: import("react").ForwardRefExoticComponent<import("react").AllHTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
196
196
|
Name: (props: import("react").AllHTMLAttributes<HTMLSpanElement>) => JSX.Element;
|
|
197
197
|
Username: (props: import("react").AllHTMLAttributes<HTMLSpanElement>) => JSX.Element;
|
|
198
198
|
Roles: (props: {
|
|
@@ -8302,14 +8302,35 @@ var __assign = (this && this.__assign) || function () {
|
|
|
8302
8302
|
};
|
|
8303
8303
|
return __assign.apply(this, arguments);
|
|
8304
8304
|
};
|
|
8305
|
-
var
|
|
8306
|
-
|
|
8305
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8306
|
+
if (k2 === undefined) k2 = k;
|
|
8307
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8308
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8309
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8310
|
+
}
|
|
8311
|
+
Object.defineProperty(o, k2, desc);
|
|
8312
|
+
}) : (function(o, m, k, k2) {
|
|
8313
|
+
if (k2 === undefined) k2 = k;
|
|
8314
|
+
o[k2] = m[k];
|
|
8315
|
+
}));
|
|
8316
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
8317
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
8318
|
+
}) : function(o, v) {
|
|
8319
|
+
o["default"] = v;
|
|
8320
|
+
});
|
|
8321
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
8322
|
+
if (mod && mod.__esModule) return mod;
|
|
8323
|
+
var result = {};
|
|
8324
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
8325
|
+
__setModuleDefault(result, mod);
|
|
8326
|
+
return result;
|
|
8307
8327
|
};
|
|
8308
8328
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8309
8329
|
exports.MessageNameContainer = void 0;
|
|
8310
|
-
var react_1 =
|
|
8311
|
-
|
|
8312
|
-
|
|
8330
|
+
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
8331
|
+
exports.MessageNameContainer = (0, react_1.forwardRef)(function MessageNameContainer(props, ref) {
|
|
8332
|
+
return (react_1.default.createElement("span", __assign({ ref: ref, className: 'rcx-box rcx-box--full rcx-message-header__name-container' }, props)));
|
|
8333
|
+
});
|
|
8313
8334
|
|
|
8314
8335
|
|
|
8315
8336
|
/***/ }),
|