@rocket.chat/fuselage-toastbar 0.32.0-dev.15 → 0.32.0-dev.151
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
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
[](https://www.npmjs.com/package/@rocket.chat/icons/v/latest) [](https://www.npmjs.com/package/@rocket.chat/icons/v/next)  [](https://rocketchat.github.io/Rocket.Chat.Fuselage/fuselage-toastbar)  
|
|
16
16
|
|
|
17
|
-
   
|
|
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:
|
|
@@ -49,7 +49,7 @@ yarn add @rocket.chat/fuselage-toastbar
|
|
|
49
49
|
<!--contributing(msg)-->
|
|
50
50
|
|
|
51
51
|
Contributions, issues, and feature requests are welcome!<br />
|
|
52
|
-
Feel free to check the [issues](https://github.com/RocketChat/
|
|
52
|
+
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).
|
|
53
53
|
|
|
54
54
|
<!--/contributing(msg)-->
|
|
55
55
|
|
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
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
|
|
8
|
-
require("react");
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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":"
|
|
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,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import 'react';
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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,
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/fuselage-toastbar",
|
|
3
|
-
"version": "0.32.0-dev.
|
|
3
|
+
"version": "0.32.0-dev.151",
|
|
4
4
|
"description": "Fuselage ToastBar component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rocketchat",
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
"name": "Rocket.Chat",
|
|
14
14
|
"url": "https://rocket.chat/"
|
|
15
15
|
},
|
|
16
|
-
"homepage": "https://github.com/RocketChat/
|
|
16
|
+
"homepage": "https://github.com/RocketChat/fuselage#readme",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "git+https://github.com/RocketChat/
|
|
23
|
+
"url": "git+https://github.com/RocketChat/fuselage.git",
|
|
24
24
|
"directory": "packages/fuselage-toastbar"
|
|
25
25
|
},
|
|
26
26
|
"bugs": {
|
|
27
|
-
"url": "https://github.com/RocketChat/
|
|
27
|
+
"url": "https://github.com/RocketChat/fuselage/issues"
|
|
28
28
|
},
|
|
29
29
|
"main": "dist/cjs/index.js",
|
|
30
30
|
"module": "dist/esm/index.js",
|
|
@@ -46,20 +46,13 @@
|
|
|
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.0",
|
|
57
|
-
"@rocket.chat/styled": "~0.31.13-dev.0"
|
|
58
|
-
},
|
|
59
49
|
"devDependencies": {
|
|
60
|
-
"@rocket.chat/eslint-config-alt": "~0.31.
|
|
61
|
-
"@rocket.chat/
|
|
62
|
-
"@rocket.chat/
|
|
50
|
+
"@rocket.chat/eslint-config-alt": "~0.31.20-dev.14",
|
|
51
|
+
"@rocket.chat/fuselage": "~0.32.0-dev.177",
|
|
52
|
+
"@rocket.chat/fuselage-hooks": "~0.32.0-dev.90",
|
|
53
|
+
"@rocket.chat/layout": "~0.32.0-dev.60",
|
|
54
|
+
"@rocket.chat/prettier-config": "~0.31.20-dev.14",
|
|
55
|
+
"@rocket.chat/styled": "~0.31.20-dev.14",
|
|
63
56
|
"@storybook/addon-essentials": "~6.4.18",
|
|
64
57
|
"@storybook/addons": "~6.4.18",
|
|
65
58
|
"@storybook/react": "~6.4.18",
|
|
@@ -68,10 +61,10 @@
|
|
|
68
61
|
"@types/jest": "~27.4.0",
|
|
69
62
|
"@types/react": "~17.0.39",
|
|
70
63
|
"@types/react-dom": "^17.0.11",
|
|
71
|
-
"bump": "~0.31.
|
|
64
|
+
"bump": "~0.31.19",
|
|
72
65
|
"eslint": "~8.8.0",
|
|
73
66
|
"jest": "~27.5.1",
|
|
74
|
-
"lint-all": "~0.31.
|
|
67
|
+
"lint-all": "~0.31.19",
|
|
75
68
|
"lint-staged": "~12.3.3",
|
|
76
69
|
"npm-run-all": "^4.1.5",
|
|
77
70
|
"prettier": "~2.5.1",
|
|
@@ -81,6 +74,14 @@
|
|
|
81
74
|
"typedoc": "~0.22.11",
|
|
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": {
|