@rocket.chat/fuselage 0.32.0-dev.78 → 0.32.0-dev.80
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/dist/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.d.ts +6 -3
- package/dist/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.d.ts.map +1 -1
- package/dist/fuselage.development.js +3 -25
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +11 -11
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
2
|
import type { MessageStatusIndicatorItem } from './MessageStatusIndicatorItem';
|
|
3
|
-
declare type
|
|
4
|
-
|
|
3
|
+
declare type MessageStatusPrivateIndicatorProps = {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
variant?: ComponentProps<typeof MessageStatusIndicatorItem>['variant'];
|
|
6
|
+
};
|
|
7
|
+
export declare const MessageStatusPrivateIndicator: ({ children, variant, }: MessageStatusPrivateIndicatorProps) => JSX.Element;
|
|
5
8
|
export {};
|
|
6
9
|
//# sourceMappingURL=MessageStatusPrivateIndicator.d.ts.map
|
package/dist/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageStatusPrivateIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageStatusPrivateIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,aAAK,kCAAkC,GAAG;IACxC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC;CACxE,CAAC;AAEF,eAAO,MAAM,6BAA6B,2BAGvC,kCAAkC,gBAWpC,CAAC"}
|
|
@@ -9256,37 +9256,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9256
9256
|
/* harmony export */ });
|
|
9257
9257
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
9258
9258
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
9259
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
9260
|
-
__assign = Object.assign || function(t) {
|
|
9261
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9262
|
-
s = arguments[i];
|
|
9263
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
9264
|
-
t[p] = s[p];
|
|
9265
|
-
}
|
|
9266
|
-
return t;
|
|
9267
|
-
};
|
|
9268
|
-
return __assign.apply(this, arguments);
|
|
9269
|
-
};
|
|
9270
|
-
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
9271
|
-
var t = {};
|
|
9272
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
9273
|
-
t[p] = s[p];
|
|
9274
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
9275
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9276
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9277
|
-
t[p[i]] = s[p[i]];
|
|
9278
|
-
}
|
|
9279
|
-
return t;
|
|
9280
|
-
};
|
|
9281
9259
|
|
|
9282
9260
|
var MessageStatusPrivateIndicator = function (_a) {
|
|
9283
|
-
var
|
|
9284
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span",
|
|
9261
|
+
var children = _a.children, variant = _a.variant;
|
|
9262
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", { className: [
|
|
9285
9263
|
'rcx-message-status-indicator__item `rcx-message-status-indicator__item--private',
|
|
9286
9264
|
variant && "rcx-message-status-indicator__item--" + variant,
|
|
9287
9265
|
]
|
|
9288
9266
|
.filter(Boolean)
|
|
9289
|
-
.join(' ') },
|
|
9267
|
+
.join(' ') }, children));
|
|
9290
9268
|
};
|
|
9291
9269
|
|
|
9292
9270
|
|