react-restyle-components 0.2.32 → 0.2.34
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/lib/package.json +3 -3
- package/lib/src/core-components/atoms/tabs/tabs.component.js +1 -1
- package/lib/src/core-utils/index.d.ts +0 -1
- package/lib/src/core-utils/index.js +0 -1
- package/package.json +3 -3
- package/lib/src/core-utils/unit-test.utils.d.ts +0 -4
- package/lib/src/core-utils/unit-test.utils.js +0 -9
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-restyle-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.33",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easy use restyle components",
|
|
6
6
|
"author": {
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@types/react": "^18.3.11",
|
|
49
49
|
"@types/react-dom": "^18.3.0",
|
|
50
50
|
"buffer": "^6.0.3",
|
|
51
|
+
"clsx": "^2.1.1",
|
|
51
52
|
"dayjs": "^1.11.1",
|
|
52
53
|
"jest-environment-jsdom": "^29.7.0",
|
|
53
54
|
"react-colorful": "^5.6.1",
|
|
@@ -55,6 +56,7 @@
|
|
|
55
56
|
"react-icons": "^5.2.1",
|
|
56
57
|
"react-scripts": "5.0.1",
|
|
57
58
|
"reactstrap": "^9.0.2",
|
|
59
|
+
"tailwind-merge": "^2.5.5",
|
|
58
60
|
"typescript": "^4.9.5",
|
|
59
61
|
"web-vitals": "^2.1.4"
|
|
60
62
|
},
|
|
@@ -81,7 +83,6 @@
|
|
|
81
83
|
"@vitest/coverage-c8": "^0.31.4",
|
|
82
84
|
"@vitest/ui": "^0.31.4",
|
|
83
85
|
"autoprefixer": "^10.4.19",
|
|
84
|
-
"clsx": "^2.1.1",
|
|
85
86
|
"copyfiles": "^2.4.1",
|
|
86
87
|
"craco-alias": "^3.0.1",
|
|
87
88
|
"css-loader": "^7.1.2",
|
|
@@ -99,7 +100,6 @@
|
|
|
99
100
|
"storybook": "^8.0.6",
|
|
100
101
|
"storybook-multilevel-sort": "^2.0.1",
|
|
101
102
|
"style-loader": "^4.0.0",
|
|
102
|
-
"tailwind-merge": "^2.5.5",
|
|
103
103
|
"tailwindcss": "^3.4.14",
|
|
104
104
|
"ts-jest": "^29.2.5",
|
|
105
105
|
"vitest": "^0.31.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import '../../../tc.css';
|
|
3
|
-
import { cn } from '
|
|
3
|
+
import { cn } from '../../../core-utils';
|
|
4
4
|
export const Tab = ({ title, children }) => {
|
|
5
5
|
return (React.createElement("div", { className: "flex", key: title }, children));
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-restyle-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.34",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easy use restyle components",
|
|
6
6
|
"author": {
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@types/react": "^18.3.11",
|
|
49
49
|
"@types/react-dom": "^18.3.0",
|
|
50
50
|
"buffer": "^6.0.3",
|
|
51
|
+
"clsx": "^2.1.1",
|
|
51
52
|
"dayjs": "^1.11.1",
|
|
52
53
|
"jest-environment-jsdom": "^29.7.0",
|
|
53
54
|
"react-colorful": "^5.6.1",
|
|
@@ -55,6 +56,7 @@
|
|
|
55
56
|
"react-icons": "^5.2.1",
|
|
56
57
|
"react-scripts": "5.0.1",
|
|
57
58
|
"reactstrap": "^9.0.2",
|
|
59
|
+
"tailwind-merge": "^2.5.5",
|
|
58
60
|
"typescript": "^4.9.5",
|
|
59
61
|
"web-vitals": "^2.1.4"
|
|
60
62
|
},
|
|
@@ -81,7 +83,6 @@
|
|
|
81
83
|
"@vitest/coverage-c8": "^0.31.4",
|
|
82
84
|
"@vitest/ui": "^0.31.4",
|
|
83
85
|
"autoprefixer": "^10.4.19",
|
|
84
|
-
"clsx": "^2.1.1",
|
|
85
86
|
"copyfiles": "^2.4.1",
|
|
86
87
|
"craco-alias": "^3.0.1",
|
|
87
88
|
"css-loader": "^7.1.2",
|
|
@@ -99,7 +100,6 @@
|
|
|
99
100
|
"storybook": "^8.0.6",
|
|
100
101
|
"storybook-multilevel-sort": "^2.0.1",
|
|
101
102
|
"style-loader": "^4.0.0",
|
|
102
|
-
"tailwind-merge": "^2.5.5",
|
|
103
103
|
"tailwindcss": "^3.4.14",
|
|
104
104
|
"ts-jest": "^29.2.5",
|
|
105
105
|
"vitest": "^0.31.4",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { render as renderComponent } from '@testing-library/react';
|
|
3
|
-
const Providers = ({ children }) => {
|
|
4
|
-
return React.createElement("div", null, children);
|
|
5
|
-
};
|
|
6
|
-
const render = (Component) => {
|
|
7
|
-
return renderComponent(Component, { wrapper: Providers });
|
|
8
|
-
};
|
|
9
|
-
export { render, Providers };
|