@rocket.chat/fuselage-toastbar 0.32.0-dev.18 → 0.32.0-dev.181
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
|
-
[](https://www.npmjs.com/package/@rocket.chat/
|
|
15
|
+
[](https://www.npmjs.com/package/@rocket.chat/fuselage-toastbar/v/latest) [](https://www.npmjs.com/package/@rocket.chat/fuselage-toastbar/v/next)  [](https://rocketchat.github.io/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.181",
|
|
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,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.3",
|
|
57
|
-
"@rocket.chat/styled": "~0.31.13-dev.3"
|
|
58
|
-
},
|
|
59
49
|
"devDependencies": {
|
|
60
|
-
"@rocket.chat/eslint-config-alt": "~0.31.
|
|
61
|
-
"@rocket.chat/
|
|
62
|
-
"@rocket.chat/
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@storybook/
|
|
67
|
-
"@storybook/
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"
|
|
72
|
-
"
|
|
50
|
+
"@rocket.chat/eslint-config-alt": "~0.31.22-dev.18",
|
|
51
|
+
"@rocket.chat/fuselage": "~0.32.0-dev.207",
|
|
52
|
+
"@rocket.chat/fuselage-hooks": "~0.32.0-dev.120",
|
|
53
|
+
"@rocket.chat/layout": "~0.32.0-dev.90",
|
|
54
|
+
"@rocket.chat/prettier-config": "~0.31.22-dev.18",
|
|
55
|
+
"@rocket.chat/styled": "~0.31.22-dev.18",
|
|
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.
|
|
75
|
-
"lint-staged": "~12.3.
|
|
67
|
+
"lint-all": "~0.31.21",
|
|
68
|
+
"lint-staged": "~12.3.8",
|
|
76
69
|
"npm-run-all": "^4.1.5",
|
|
77
|
-
"prettier": "~2.
|
|
70
|
+
"prettier": "~2.7.1",
|
|
78
71
|
"rimraf": "~3.0.2",
|
|
79
|
-
"storybook-dark-mode": "~1.1.
|
|
80
|
-
"ts-jest": "~27.1.
|
|
81
|
-
"typedoc": "~0.22.
|
|
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": {
|