@salutejs/plasma-hope 1.360.0-canary.2452.21584026956.0 → 1.360.0-dev.0
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/components/PreviewGallery/PreviewGallery.component-test.js +1 -0
- package/components/UploadVisual/UploadVisual.component-test.js +1 -0
- package/es/components/PreviewGallery/PreviewGallery.component-test.js +1 -0
- package/es/components/UploadVisual/UploadVisual.component-test.js +1 -0
- package/package.json +5 -5
|
@@ -227,6 +227,7 @@ describe('plasma-hope: PreviewGallery utils', function () {
|
|
|
227
227
|
expect((0, _utils.arrayItemSwapping)([], 0, 0)).to.deep.eq([]);
|
|
228
228
|
expect((0, _utils.arrayItemRemoving)(itemsExamples, 123)).to.deep.eq(itemsExamples);
|
|
229
229
|
expect((0, _utils.arrayItemSelecting)(itemsExamples, 123)).to.deep.eq(itemsExamples);
|
|
230
|
+
cy.viewport(500, 523);
|
|
230
231
|
cy.matchImageSnapshot();
|
|
231
232
|
});
|
|
232
233
|
it('remove last item', function () {
|
|
@@ -40,6 +40,7 @@ describe('plasma-hope: UploadVisual', function () {
|
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
it('__maxCount', function () {
|
|
43
|
+
cy.viewport(500, 537);
|
|
43
44
|
(0, _plasmaCyUtils.mount)(_CypressTestDecorator2 || (_CypressTestDecorator2 = /*#__PURE__*/_react["default"].createElement(_plasmaCyUtils.CypressTestDecorator, null, /*#__PURE__*/_react["default"].createElement(UploadVisual, {
|
|
44
45
|
maxCount: 12,
|
|
45
46
|
items: items
|
|
@@ -224,6 +224,7 @@ describe('plasma-hope: PreviewGallery utils', function () {
|
|
|
224
224
|
expect(arrayItemSwapping([], 0, 0)).to.deep.eq([]);
|
|
225
225
|
expect(arrayItemRemoving(itemsExamples, 123)).to.deep.eq(itemsExamples);
|
|
226
226
|
expect(arrayItemSelecting(itemsExamples, 123)).to.deep.eq(itemsExamples);
|
|
227
|
+
cy.viewport(500, 523);
|
|
227
228
|
cy.matchImageSnapshot();
|
|
228
229
|
});
|
|
229
230
|
it('remove last item', function () {
|
|
@@ -37,6 +37,7 @@ describe('plasma-hope: UploadVisual', function () {
|
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
it('__maxCount', function () {
|
|
40
|
+
cy.viewport(500, 537);
|
|
40
41
|
mount(_CypressTestDecorator2 || (_CypressTestDecorator2 = /*#__PURE__*/React.createElement(CypressTestDecorator, null, /*#__PURE__*/React.createElement(UploadVisual, {
|
|
41
42
|
maxCount: 12,
|
|
42
43
|
items: items
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/plasma-hope",
|
|
3
|
-
"version": "1.360.0-
|
|
3
|
+
"version": "1.360.0-dev.0",
|
|
4
4
|
"description": "Salute Design System / Internal React UI kit for web applications",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@popperjs/core": "2.9.2",
|
|
37
|
-
"@salutejs/plasma-core": "1.214.0-
|
|
37
|
+
"@salutejs/plasma-core": "1.214.0-dev.0",
|
|
38
38
|
"@salutejs/plasma-typo": "0.42.0",
|
|
39
39
|
"react-file-drop": "3.1.6",
|
|
40
40
|
"react-popper": "2.3.0",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@babel/preset-typescript": "7.24.1",
|
|
58
58
|
"@microsoft/api-extractor": "7.38.3",
|
|
59
59
|
"@salutejs/plasma-colors": "0.16.0",
|
|
60
|
-
"@salutejs/plasma-cy-utils": "0.144.0-
|
|
60
|
+
"@salutejs/plasma-cy-utils": "0.144.0-dev.0",
|
|
61
61
|
"@salutejs/plasma-icons": "1.228.0",
|
|
62
|
-
"@salutejs/plasma-sb-utils": "0.214.0-
|
|
62
|
+
"@salutejs/plasma-sb-utils": "0.214.0-dev.0",
|
|
63
63
|
"@salutejs/plasma-tokens-b2b": "1.54.0",
|
|
64
64
|
"@salutejs/plasma-tokens-b2c": "0.65.0",
|
|
65
65
|
"@salutejs/plasma-tokens-web": "1.69.0",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"Vasiliy Loginevskiy"
|
|
113
113
|
],
|
|
114
114
|
"sideEffects": false,
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "8aa9623399b7ecac16e7657b3d8f006777a7294f"
|
|
116
116
|
}
|