@aleleba/ro-ut-ui 2.2.21 → 3.0.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/dist/index.css +9 -21
- package/dist/index.js +1 -1
- package/dist/types/cypress/support/commands.d.ts +0 -0
- package/dist/types/cypress/support/component.d.ts +9 -0
- package/dist/types/jest.config.d.ts +7 -0
- package/dist/types/postcss.config.d.ts +3 -0
- package/dist/types/setupTest.d.ts +1 -0
- package/dist/types/src/__mocks__/fileMock.d.ts +0 -0
- package/dist/types/src/components/Buttons/Button/index.d.ts +33 -0
- package/dist/types/src/components/Buttons/Button.stories.d.ts +11 -0
- package/dist/types/src/components/Buttons/__tests__/Button.test.cy.d.ts +1 -0
- package/dist/types/src/components/Buttons/__tests__/Button.test.d.ts +1 -0
- package/dist/types/src/components/Buttons/index.d.ts +21 -0
- package/dist/types/src/components/Cards/Card/index.d.ts +25 -0
- package/dist/types/src/components/Cards/Card.stories.d.ts +11 -0
- package/dist/types/src/components/Cards/__tests__/Card.test.cy.d.ts +1 -0
- package/dist/types/src/components/Cards/__tests__/Card.test.d.ts +1 -0
- package/dist/types/src/components/Cards/index.d.ts +17 -0
- package/dist/types/src/components/Icons/Icon/index.d.ts +17 -0
- package/dist/types/src/components/Icons/Icon.stories.d.ts +5 -0
- package/dist/types/src/components/Icons/index.d.ts +33 -0
- package/dist/types/src/components/Inputs/Input/index.d.ts +38 -0
- package/dist/types/src/components/Inputs/Input.stories.d.ts +15 -0
- package/dist/types/src/components/Inputs/__tests__/Input.test.cy.d.ts +1 -0
- package/dist/types/src/components/Inputs/__tests__/Input.test.d.ts +1 -0
- package/dist/types/src/components/Inputs/index.d.ts +9 -0
- package/dist/types/src/components/index.d.ts +5 -0
- package/dist/types/src/icons/icons.d.ts +0 -0
- package/dist/types/src/icons/icons.font.d.ts +0 -0
- package/dist/types/src/utils/index.d.ts +1 -0
- package/dist/types/tailwind.config.d.ts +2 -0
- package/dist/types/webpack.config.d.ts +63 -0
- package/dist/types/webpack.cy.config.d.ts +60 -0
- package/dist/types/webpack.icons.config.d.ts +1 -0
- package/package.json +61 -51
package/package.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aleleba/ro-ut-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "UI Component for Ro-ut App",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"start": "npm run storybook",
|
|
8
|
-
"build": "webpack",
|
|
7
|
+
"start": "npm run build:icons && npm run storybook",
|
|
8
|
+
"build": "npm run build:icons && webpack",
|
|
9
|
+
"build:icons": "webpack --config webpack.icons.config.ts",
|
|
9
10
|
"lint": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx",
|
|
10
11
|
"lint:fix": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx --fix",
|
|
11
|
-
"test": "jest",
|
|
12
|
-
"test:watch": "jest --watch",
|
|
12
|
+
"test": "npm run build:icons && jest",
|
|
13
|
+
"test:watch": "npm run build:icons && jest --watch",
|
|
13
14
|
"storybook": "storybook dev -p 3000",
|
|
14
15
|
"build-storybook": "storybook build",
|
|
15
|
-
"check-updates": "npx npm-check-updates -u && npm i",
|
|
16
|
-
"cy:open": "npx cypress open",
|
|
17
|
-
"cy:run": "cypress install && cypress run --headless --component"
|
|
16
|
+
"check-updates": "npx npm-check-updates -u --reject @types/cypress && npm i",
|
|
17
|
+
"cy:open": "npm run build:icons && npx cypress open",
|
|
18
|
+
"cy:run": "npm run build:icons && cypress install && cypress run --headless --component"
|
|
18
19
|
},
|
|
19
20
|
"repository": {
|
|
20
21
|
"type": "git",
|
|
@@ -34,60 +35,69 @@
|
|
|
34
35
|
},
|
|
35
36
|
"homepage": "https://github.com/aleleba/create-react-component-library#readme",
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@babel/core": "^7.
|
|
38
|
-
"@babel/preset-env": "^7.
|
|
39
|
-
"@babel/preset-react": "^7.
|
|
40
|
-
"@babel/preset-typescript": "^7.
|
|
41
|
-
"@babel/register": "^7.
|
|
42
|
-
"@mdx-js/react": "^3.
|
|
43
|
-
"@storybook/addon-actions": "^
|
|
44
|
-
"@storybook/addon-docs": "^
|
|
45
|
-
"@storybook/addon-essentials": "^
|
|
46
|
-
"@storybook/addon-interactions": "^
|
|
47
|
-
"@storybook/addon-links": "^
|
|
38
|
+
"@babel/core": "^7.26.0",
|
|
39
|
+
"@babel/preset-env": "^7.26.0",
|
|
40
|
+
"@babel/preset-react": "^7.25.9",
|
|
41
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
42
|
+
"@babel/register": "^7.25.9",
|
|
43
|
+
"@mdx-js/react": "^3.1.0",
|
|
44
|
+
"@storybook/addon-actions": "^8.3.6",
|
|
45
|
+
"@storybook/addon-docs": "^8.3.6",
|
|
46
|
+
"@storybook/addon-essentials": "^8.3.6",
|
|
47
|
+
"@storybook/addon-interactions": "^8.3.6",
|
|
48
|
+
"@storybook/addon-links": "^8.3.6",
|
|
49
|
+
"@storybook/addon-styling-webpack": "^1.0.0",
|
|
50
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
|
51
|
+
"@storybook/blocks": "^8.3.6",
|
|
48
52
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
49
|
-
"@storybook/
|
|
50
|
-
"@storybook/react": "^
|
|
51
|
-
"@storybook/react-webpack5": "^7.5.3",
|
|
53
|
+
"@storybook/react": "^8.3.6",
|
|
54
|
+
"@storybook/react-webpack5": "^8.3.6",
|
|
52
55
|
"@storybook/testing-library": "^0.2.2",
|
|
53
|
-
"@testing-library/jest-dom": "^6.
|
|
54
|
-
"@testing-library/react": "^
|
|
55
|
-
"@testing-library/user-event": "^14.5.
|
|
56
|
-
"@types/
|
|
57
|
-
"@types/
|
|
58
|
-
"@types/
|
|
59
|
-
"@types/react
|
|
56
|
+
"@testing-library/jest-dom": "^6.6.2",
|
|
57
|
+
"@testing-library/react": "^16.0.1",
|
|
58
|
+
"@testing-library/user-event": "^14.5.2",
|
|
59
|
+
"@types/cypress": "^0.1.6",
|
|
60
|
+
"@types/jest": "^29.5.14",
|
|
61
|
+
"@types/node": "^22.8.4",
|
|
62
|
+
"@types/react": "^18.3.12",
|
|
63
|
+
"@types/react-dom": "^18.3.1",
|
|
60
64
|
"@types/webpack": "^5.28.5",
|
|
61
|
-
"
|
|
62
|
-
"
|
|
65
|
+
"autoprefixer": "^10.4.20",
|
|
66
|
+
"babel-loader": "^9.2.1",
|
|
63
67
|
"clean-webpack-plugin": "^4.0.0",
|
|
64
|
-
"css-loader": "^
|
|
65
|
-
"css-minimizer-webpack-plugin": "^
|
|
66
|
-
"cypress": "^13.
|
|
67
|
-
"dotenv": "^16.
|
|
68
|
-
"eslint": "^
|
|
69
|
-
"eslint-plugin-react": "^7.
|
|
70
|
-
"eslint-plugin-storybook": "^0.
|
|
71
|
-
"eslint-webpack-plugin": "^4.0
|
|
72
|
-
"html-webpack-plugin": "^5.
|
|
68
|
+
"css-loader": "^7.1.2",
|
|
69
|
+
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
70
|
+
"cypress": "^13.15.1",
|
|
71
|
+
"dotenv": "^16.4.5",
|
|
72
|
+
"eslint": "^9.13.0",
|
|
73
|
+
"eslint-plugin-react": "^7.37.2",
|
|
74
|
+
"eslint-plugin-storybook": "^0.10.1",
|
|
75
|
+
"eslint-webpack-plugin": "^4.2.0",
|
|
76
|
+
"html-webpack-plugin": "^5.6.3",
|
|
73
77
|
"identity-obj-proxy": "^3.0.0",
|
|
74
78
|
"jest": "^29.7.0",
|
|
75
79
|
"jest-environment-jsdom": "^29.7.0",
|
|
76
80
|
"jest-fetch-mock": "^3.0.3",
|
|
77
|
-
"mini-css-extract-plugin": "^2.
|
|
78
|
-
"
|
|
79
|
-
"
|
|
81
|
+
"mini-css-extract-plugin": "^2.9.1",
|
|
82
|
+
"postcss": "^8.4.47",
|
|
83
|
+
"postcss-loader": "^8.1.1",
|
|
84
|
+
"react": "^18.3.1",
|
|
85
|
+
"react-dom": "^18.3.1",
|
|
86
|
+
"react-router-dom": "^6.27.0",
|
|
80
87
|
"resolve-ts-aliases": "^1.0.1",
|
|
81
|
-
"sass": "^1.
|
|
82
|
-
"sass-loader": "^
|
|
83
|
-
"storybook": "^
|
|
84
|
-
"style-loader": "^
|
|
85
|
-
"
|
|
86
|
-
"
|
|
88
|
+
"sass": "^1.80.5",
|
|
89
|
+
"sass-loader": "^16.0.2",
|
|
90
|
+
"storybook": "^8.3.6",
|
|
91
|
+
"style-loader": "^4.0.0",
|
|
92
|
+
"tailwindcss": "^3.4.14",
|
|
93
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
94
|
+
"ts-jest": "^29.2.5",
|
|
95
|
+
"ts-loader": "^9.5.1",
|
|
87
96
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
88
|
-
"typescript": "^5.3
|
|
97
|
+
"typescript": "^5.6.3",
|
|
89
98
|
"url-loader": "^4.1.1",
|
|
90
|
-
"
|
|
99
|
+
"webfonts-loader": "^8.0.1",
|
|
100
|
+
"webpack": "^5.95.0",
|
|
91
101
|
"webpack-cli": "^5.1.4",
|
|
92
102
|
"webpack-node-externals": "^3.0.0"
|
|
93
103
|
},
|