@ssa-ui-kit/core 0.0.29-alpha → 0.0.33-alpha
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/.storybook/main.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
- package/src/components/Filters/Filters.e2e.ts +1 -3
- package/src/components/LinksTabBar/LinksTabBar.spec.tsx +0 -2
- package/src/components/NavBar/NavBarWrapper.ts +1 -1
- package/src/components/ProgressInfo/ProgressInfo.tsx +4 -3
- package/src/components/WithVisibleLG/WithVisibleLG.spec.tsx +0 -2
- package/src/components/WithVisibleMD/WithVisibleMD.spec.tsx +0 -2
- package/src/components/WithVisibleSM/WithVisibleSM.spec.tsx +0 -2
- package/src/components/WithVisibleUpToLG/WithVisibleUpToLG.spec.tsx +0 -2
- package/tsbuildcache +1 -1
- package/webpack.config.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ssa-ui-kit/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33-alpha",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"loose-envify": "^1.4.0",
|
|
30
30
|
"scheduler": "^0.23.0",
|
|
31
31
|
"uuid": "^9.0.0",
|
|
32
|
-
"@ssa-ui-kit/
|
|
33
|
-
"@ssa-ui-kit/
|
|
32
|
+
"@ssa-ui-kit/hooks": "^0.0.2-alpha",
|
|
33
|
+
"@ssa-ui-kit/utils": "^0.0.1-alpha"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@emotion/jest": "^11.11.0",
|
|
@@ -58,7 +58,8 @@
|
|
|
58
58
|
"@nivo/pie": "0.83.0",
|
|
59
59
|
"react": "18.x",
|
|
60
60
|
"react-dom": "18.x",
|
|
61
|
-
"react-hook-form": "^7.46.1"
|
|
61
|
+
"react-hook-form": "^7.46.1",
|
|
62
|
+
"react-router-dom": "6.x"
|
|
62
63
|
},
|
|
63
64
|
"peerDependenciesMeta": {
|
|
64
65
|
"@types/react": {
|
|
@@ -64,7 +64,7 @@ test('Widgets: Filters - More button count notification should be changed', asyn
|
|
|
64
64
|
return window.getComputedStyle(el, ':before').content;
|
|
65
65
|
});
|
|
66
66
|
expect(beforeContent).toEqual('"More"');
|
|
67
|
-
|
|
67
|
+
const buttonText = await triggerButton.innerText();
|
|
68
68
|
expect(buttonText).toEqual('2');
|
|
69
69
|
|
|
70
70
|
await page.getByText('Status: Running').click();
|
|
@@ -79,8 +79,6 @@ test('Widgets: Filters - More button count notification should be changed', asyn
|
|
|
79
79
|
return window.getComputedStyle(el, ':before').content;
|
|
80
80
|
});
|
|
81
81
|
expect(beforeContent).toEqual('"More"');
|
|
82
|
-
buttonText = await triggerButton.innerText();
|
|
83
|
-
expect(buttonText).toEqual('3');
|
|
84
82
|
});
|
|
85
83
|
|
|
86
84
|
test('Widgets: Filters - Filter button should be shown when items not selected', async ({
|
|
@@ -36,9 +36,10 @@ export const ProgressInfo = ({ data, className }: ProgressInfoProps) => {
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
setOptions(options);
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
if (options.length > 0) {
|
|
40
|
+
setSelected(options[0]);
|
|
41
|
+
filterData(options[0].id as Period);
|
|
42
|
+
}
|
|
42
43
|
}
|
|
43
44
|
}, [data]);
|
|
44
45
|
|