@rocket.chat/fuselage-toastbar 0.32.0-dev.19 → 0.32.0-dev.191

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/README.md CHANGED
@@ -12,9 +12,9 @@
12
12
 
13
13
  ---
14
14
 
15
- [![npm@latest](https://img.shields.io/npm/v/@rocket.chat/fuselage-toastbar/latest?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons/v/latest) [![npm@next](https://img.shields.io/npm/v/@rocket.chat/fuselage-toastbar/next?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons/v/next) ![react version](https://img.shields.io/npm/dependency-version/@rocket.chat/fuselage-toastbar/peer/react?style=flat-square) [![Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.svg)](https://rocketchat.github.io/Rocket.Chat.Fuselage/fuselage-toastbar) ![npm downloads](https://img.shields.io/npm/dw/@rocket.chat/fuselage-toastbar?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@rocket.chat/fuselage-toastbar?style=flat-square)
15
+ [![npm@latest](https://img.shields.io/npm/v/@rocket.chat/fuselage-toastbar/latest?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/fuselage-toastbar/v/latest) [![npm@next](https://img.shields.io/npm/v/@rocket.chat/fuselage-toastbar/next?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/fuselage-toastbar/v/next) ![react version](https://img.shields.io/npm/dependency-version/@rocket.chat/fuselage-toastbar/peer/react?style=flat-square) [![Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.svg)](https://rocketchat.github.io/fuselage/fuselage-toastbar) ![npm downloads](https://img.shields.io/npm/dw/@rocket.chat/fuselage-toastbar?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@rocket.chat/fuselage-toastbar?style=flat-square)
16
16
 
17
- ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Ffuselage-toastbar&style=flat-square) ![peer deps](https://img.shields.io/david/peer/RocketChat/fuselage?path=packages%2Ffuselage-toastbar&style=flat-square) ![dev deps](https://img.shields.io/david/dev/RocketChat/fuselage?path=packages%2Ffuselage-toastbar&style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@rocket.chat/fuselage-toastbar?style=flat-square)
17
+ ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/fuselage-toastbar?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@rocket.chat/fuselage-toastbar?style=flat-square)
18
18
 
19
19
  <!--/header-->
20
20
 
@@ -25,11 +25,11 @@
25
25
  Firstly, install the peer dependencies (prerequisites):
26
26
 
27
27
  ```sh
28
- npm i @rocket.chat/fuselage @rocket.chat/fuselage-polyfills react react-dom
28
+ npm i @rocket.chat/fuselage @rocket.chat/fuselage-hooks @rocket.chat/fuselage-polyfills @rocket.chat/styled react react-dom
29
29
 
30
30
  # or, if you are using yarn:
31
31
 
32
- yarn add @rocket.chat/fuselage @rocket.chat/fuselage-polyfills react react-dom
32
+ yarn add @rocket.chat/fuselage @rocket.chat/fuselage-hooks @rocket.chat/fuselage-polyfills @rocket.chat/styled react react-dom
33
33
  ```
34
34
 
35
35
  Add `@rocket.chat/fuselage-toastbar` as a dependency:
@@ -1,15 +1,32 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
4
20
  };
5
21
  Object.defineProperty(exports, "__esModule", { value: true });
6
22
  var jsx_runtime_1 = require("react/jsx-runtime");
7
- var fuselage_1 = require("@rocket.chat/fuselage");
8
- require("react");
9
- var react_dom_1 = __importDefault(require("react-dom"));
10
- it('renders without crashing', function () {
11
- var div = document.createElement('div');
12
- react_dom_1.default.render(jsx_runtime_1.jsx(fuselage_1.ToastBar, {}, void 0), div);
13
- react_dom_1.default.unmountComponentAtNode(div);
23
+ var testing_react_1 = require("@storybook/testing-react");
24
+ var react_1 = require("@testing-library/react");
25
+ var stories = __importStar(require("./stories"));
26
+ var ToastBarWithData = testing_react_1.composeStories(stories).ToastBarWithData;
27
+ describe('[ToastBarWithData Component]', function () {
28
+ it('renders without crashing', function () {
29
+ react_1.render(jsx_runtime_1.jsx(ToastBarWithData, {}, void 0));
30
+ });
14
31
  });
15
32
  //# sourceMappingURL=ToastBar.spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToastBar.spec.js","sourceRoot":"","sources":["../../src/ToastBar.spec.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAiD;AACjD,iBAA0B;AAC1B,wDAAiC;AAEjC,EAAE,CAAC,0BAA0B,EAAE;IAC7B,IAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC1C,mBAAQ,CAAC,MAAM,CAAC,kBAAC,mBAAQ,aAAG,EAAE,GAAG,CAAC,CAAC;IACnC,mBAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ToastBar.spec.js","sourceRoot":"","sources":["../../src/ToastBar.spec.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA0D;AAC1D,gDAAgD;AAEhD,iDAAqC;AAE7B,IAAA,gBAAgB,GAAK,8BAAc,CAAC,OAAO,CAAC,iBAA5B,CAA6B;AAErD,QAAQ,CAAC,8BAA8B,EAAE;IACvC,EAAE,CAAC,0BAA0B,EAAE;QAC7B,cAAM,CAAC,kBAAC,gBAAgB,aAAG,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ToastBarZone.d.ts","sourceRoot":"","sources":["../../src/ToastBarZone.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AASzD,eAAO,MAAM,iBAAiB,gQAY7B,CAAC;AAEF,aAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,YAAY,4BAGf,iBAAiB,KAAG,YAEtB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ToastBarZone.d.ts","sourceRoot":"","sources":["../../src/ToastBarZone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AASzD,eAAO,MAAM,iBAAiB,gQAY7B,CAAC;AAEF,aAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,YAAY,4BAGf,iBAAiB,KAAG,YAEtB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -31,7 +31,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
32
  exports.ToastBarContainer = void 0;
33
33
  var jsx_runtime_1 = require("react/jsx-runtime");
34
- // import { Box } from '@rocket.chat/fuselage';
35
34
  var styled_1 = __importDefault(require("@rocket.chat/styled"));
36
35
  require("react");
37
36
  var positionProps = {
@@ -43,7 +42,7 @@ var positionProps = {
43
42
  exports.ToastBarContainer = styled_1.default('div', function (_a) {
44
43
  var _position = _a.position, props = __rest(_a, ["position"]);
45
44
  return props;
46
- })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: fixed;\n gap: 1rem;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 1rem;\n ", "\n"], ["\n position: fixed;\n gap: 1rem;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 1rem;\n ", "\n"])), function (p) { return (p.position ? positionProps[p.position] : ''); });
45
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: fixed;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 1rem;\n z-index: 1;\n ", "\n"], ["\n position: fixed;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 1rem;\n z-index: 1;\n ", "\n"])), function (p) { return (p.position ? positionProps[p.position] : ''); });
47
46
  var ToastBarZone = function (_a) {
48
47
  var children = _a.children, _b = _a.position, position = _b === void 0 ? 'top-end' : _b;
49
48
  return (jsx_runtime_1.jsx(exports.ToastBarContainer, __assign({ position: position }, { children: children }), void 0));
@@ -1 +1 @@
1
- {"version":3,"file":"ToastBarZone.js","sourceRoot":"","sources":["../../src/ToastBarZone.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,+DAAyC;AAGzC,iBAA0B;AAI1B,IAAM,aAAa,GAAG;IACpB,WAAW,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AC,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAA7C,CAA6C,EACtD;AAOF,IAAM,YAAY,GAAG,UAAC,EAGF;QAFlB,QAAQ,cAAA,EACR,gBAAoB,EAApB,QAAQ,mBAAG,SAAS,KAAA;IACiB,OAAA,CACrC,kBAAC,yBAAiB,aAAC,QAAQ,EAAE,QAAQ,gBAAG,QAAQ,YAAqB,CACtE;AAFsC,CAEtC,CAAC;AAEF,kBAAe,YAAY,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { ToastBar } from '@rocket.chat/fuselage';
3
- import 'react';
4
- import ReactDOM from 'react-dom';
5
- it('renders without crashing', function () {
6
- var div = document.createElement('div');
7
- ReactDOM.render(_jsx(ToastBar, {}, void 0), div);
8
- ReactDOM.unmountComponentAtNode(div);
2
+ import { composeStories } from '@storybook/testing-react';
3
+ import { render } from '@testing-library/react';
4
+ import * as stories from './stories';
5
+ var ToastBarWithData = composeStories(stories).ToastBarWithData;
6
+ describe('[ToastBarWithData Component]', function () {
7
+ it('renders without crashing', function () {
8
+ render(_jsx(ToastBarWithData, {}, void 0));
9
+ });
9
10
  });
10
11
  //# sourceMappingURL=ToastBar.spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToastBar.spec.js","sourceRoot":"","sources":["../../src/ToastBar.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAkB,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,WAAW,CAAC;AAEjC,EAAE,CAAC,0BAA0B,EAAE;IAC7B,IAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC1C,QAAQ,CAAC,MAAM,CAAC,KAAC,QAAQ,aAAG,EAAE,GAAG,CAAC,CAAC;IACnC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ToastBar.spec.js","sourceRoot":"","sources":["../../src/ToastBar.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAE7B,IAAA,gBAAgB,GAAK,cAAc,CAAC,OAAO,CAAC,iBAA5B,CAA6B;AAErD,QAAQ,CAAC,8BAA8B,EAAE;IACvC,EAAE,CAAC,0BAA0B,EAAE;QAC7B,MAAM,CAAC,KAAC,gBAAgB,aAAG,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ToastBarZone.d.ts","sourceRoot":"","sources":["../../src/ToastBarZone.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AASzD,eAAO,MAAM,iBAAiB,gQAY7B,CAAC;AAEF,aAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,YAAY,4BAGf,iBAAiB,KAAG,YAEtB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ToastBarZone.d.ts","sourceRoot":"","sources":["../../src/ToastBarZone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AASzD,eAAO,MAAM,iBAAiB,gQAY7B,CAAC;AAEF,aAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,YAAY,4BAGf,iBAAiB,KAAG,YAEtB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -25,7 +25,6 @@ var __rest = (this && this.__rest) || function (s, e) {
25
25
  return t;
26
26
  };
27
27
  import { jsx as _jsx } from "react/jsx-runtime";
28
- // import { Box } from '@rocket.chat/fuselage';
29
28
  import styled from '@rocket.chat/styled';
30
29
  import 'react';
31
30
  var positionProps = {
@@ -37,7 +36,7 @@ var positionProps = {
37
36
  export var ToastBarContainer = styled('div', function (_a) {
38
37
  var _position = _a.position, props = __rest(_a, ["position"]);
39
38
  return props;
40
- })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: fixed;\n gap: 1rem;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 1rem;\n ", "\n"], ["\n position: fixed;\n gap: 1rem;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 1rem;\n ", "\n"])), function (p) { return (p.position ? positionProps[p.position] : ''); });
39
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: fixed;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 1rem;\n z-index: 1;\n ", "\n"], ["\n position: fixed;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 1rem;\n z-index: 1;\n ", "\n"])), function (p) { return (p.position ? positionProps[p.position] : ''); });
41
40
  var ToastBarZone = function (_a) {
42
41
  var children = _a.children, _b = _a.position, position = _b === void 0 ? 'top-end' : _b;
43
42
  return (_jsx(ToastBarContainer, __assign({ position: position }, { children: children }), void 0));
@@ -1 +1 @@
1
- {"version":3,"file":"ToastBarZone.js","sourceRoot":"","sources":["../../src/ToastBarZone.tsx"],"names":[],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,KAAK,EACL,UAAC,EAAoE;IAAlE,IAAU,SAAS,cAAA,EAAK,KAAK,cAA/B,YAAiC,CAAF;IAC9B,OAAA,KAAK,CAAA;CAAA,CACR,qMAAA,4HAOG,EAAoD,IACvD,KADG,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAA7C,CAA6C,CACvD,CAAC;AAOF,IAAM,YAAY,GAAG,UAAC,EAGF;QAFlB,QAAQ,cAAA,EACR,gBAAoB,EAApB,QAAQ,mBAAG,SAAS,KAAA;IACiB,OAAA,CACrC,KAAC,iBAAiB,aAAC,QAAQ,EAAE,QAAQ,gBAAG,QAAQ,YAAqB,CACtE;AAFsC,CAEtC,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocket.chat/fuselage-toastbar",
3
- "version": "0.32.0-dev.19",
3
+ "version": "0.32.0-dev.191",
4
4
  "description": "Fuselage ToastBar component",
5
5
  "keywords": [
6
6
  "rocketchat",
@@ -46,41 +46,42 @@
46
46
  "build-storybook": "build-storybook",
47
47
  "bump-next": "bump-next"
48
48
  },
49
- "peerDependencies": {
50
- "@rocket.chat/fuselage": "*",
51
- "@rocket.chat/fuselage-polyfills": "*",
52
- "react": "^17.0.2",
53
- "react-dom": "^17.0.2"
54
- },
55
- "dependencies": {
56
- "@rocket.chat/fuselage-hooks": "~0.31.13-dev.4",
57
- "@rocket.chat/styled": "~0.31.13-dev.4"
58
- },
59
49
  "devDependencies": {
60
- "@rocket.chat/eslint-config-alt": "~0.31.13-dev.4",
61
- "@rocket.chat/onboarding-ui": "~0.32.0-dev.45",
62
- "@rocket.chat/prettier-config": "~0.31.13-dev.4",
63
- "@storybook/addon-essentials": "~6.4.18",
64
- "@storybook/addons": "~6.4.18",
65
- "@storybook/react": "~6.4.18",
66
- "@storybook/source-loader": "~6.4.18",
67
- "@storybook/theming": "~6.4.18",
68
- "@types/jest": "~27.4.0",
69
- "@types/react": "~17.0.39",
70
- "@types/react-dom": "^17.0.11",
71
- "bump": "~0.31.12",
72
- "eslint": "~8.8.0",
50
+ "@rocket.chat/eslint-config-alt": "~0.31.22-dev.28",
51
+ "@rocket.chat/fuselage": "~0.32.0-dev.217",
52
+ "@rocket.chat/fuselage-hooks": "~0.32.0-dev.130",
53
+ "@rocket.chat/layout": "~0.32.0-dev.100",
54
+ "@rocket.chat/prettier-config": "~0.31.22-dev.28",
55
+ "@rocket.chat/styled": "~0.31.22-dev.28",
56
+ "@storybook/addon-essentials": "~6.5.13",
57
+ "@storybook/addons": "~6.5.13",
58
+ "@storybook/react": "~6.5.13",
59
+ "@storybook/source-loader": "~6.5.13",
60
+ "@storybook/theming": "~6.5.13",
61
+ "@types/jest": "~27.4.1",
62
+ "@types/react": "~17.0.51",
63
+ "@types/react-dom": "^17.0.17",
64
+ "bump": "~0.31.21",
65
+ "eslint": "~8.26.0",
73
66
  "jest": "~27.5.1",
74
- "lint-all": "~0.31.12",
75
- "lint-staged": "~12.3.3",
67
+ "lint-all": "~0.31.21",
68
+ "lint-staged": "~12.3.8",
76
69
  "npm-run-all": "^4.1.5",
77
- "prettier": "~2.5.1",
70
+ "prettier": "~2.7.1",
78
71
  "rimraf": "~3.0.2",
79
- "storybook-dark-mode": "~1.1.0",
80
- "ts-jest": "~27.1.3",
81
- "typedoc": "~0.22.11",
72
+ "storybook-dark-mode": "~1.1.2",
73
+ "ts-jest": "~27.1.5",
74
+ "typedoc": "~0.22.18",
82
75
  "typescript": "~4.3.5"
83
76
  },
77
+ "peerDependencies": {
78
+ "@rocket.chat/fuselage": "*",
79
+ "@rocket.chat/fuselage-hooks": "*",
80
+ "@rocket.chat/fuselage-polyfills": "*",
81
+ "@rocket.chat/styled": "*",
82
+ "react": "^17.0.2",
83
+ "react-dom": "^17.0.2"
84
+ },
84
85
  "eslintConfig": {
85
86
  "extends": "@rocket.chat/eslint-config-alt/typescript",
86
87
  "env": {