@xelto.npm/xc2-lib 0.0.9 → 0.0.12

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.
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
- declare const AppTileComponent: ({ header }: {
2
+ declare const AppTileComponent: ({ header, forwardedRef }: {
3
3
  header: any;
4
+ forwardedRef: any;
4
5
  }) => JSX.Element;
5
6
  export default AppTileComponent;
@@ -1,2 +1,2 @@
1
1
  export { default as AppTile } from "./appTile";
2
- export { default as TempButton } from "./aTempComponent";
2
+ export { default as Typography } from "./typography";
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare const TypographyComponent: ({ text, type, forwardedRef, ...props }: {
3
+ [x: string]: any;
4
+ text: any;
5
+ type: any;
6
+ forwardedRef: any;
7
+ }) => JSX.Element;
8
+ export default TypographyComponent;
@@ -0,0 +1 @@
1
+ export { default } from "./Typography";
package/dist/index.d.ts CHANGED
@@ -1,10 +1,14 @@
1
1
  /// <reference types="react" />
2
- declare const AppTileComponent: ({ header }: {
2
+ declare const AppTileComponent: ({ header, forwardedRef }: {
3
3
  header: any;
4
+ forwardedRef: any;
4
5
  }) => JSX.Element;
5
6
 
6
- declare const ATempComponent: ({ text }: {
7
+ declare const TypographyComponent: ({ text, type, forwardedRef, ...props }: {
8
+ [x: string]: any;
7
9
  text: any;
10
+ type: any;
11
+ forwardedRef: any;
8
12
  }) => JSX.Element;
9
13
 
10
- export { AppTileComponent as AppTile, ATempComponent as TempButton };
14
+ export { AppTileComponent as AppTile, TypographyComponent as Typography };
package/package.json CHANGED
@@ -1,114 +1,114 @@
1
- {
2
- "name": "@xelto.npm/xc2-lib",
3
- "version": "0.0.9",
4
- "author": "XELTO",
5
- "description": "React component library based on MUI",
6
- "license": "ISC",
7
- "type": "module",
8
- "scripts": {
9
- "start": "react-scripts start",
10
- "rollup": "rollup -c",
11
- "build": "react-scripts build",
12
- "test": "react-scripts test",
13
- "eject": "react-scripts eject",
14
- "storybook": "start-storybook -p 6006 -s ./src",
15
- "build-storybook": "build-storybook -s ./src"
16
- },
17
- "eslintConfig": {
18
- "extends": [
19
- "react-app",
20
- "react-app/jest"
21
- ],
22
- "overrides": [
23
- {
24
- "files": [
25
- "**/*.stories.*"
26
- ],
27
- "rules": {
28
- "import/no-anonymous-default-export": "off"
29
- }
30
- }
31
- ]
32
- },
33
- "browserslist": {
34
- "production": [
35
- ">0.2%",
36
- "not dead",
37
- "not op_mini all"
38
- ],
39
- "development": [
40
- "last 1 chrome version",
41
- "last 1 firefox version",
42
- "last 1 safari version"
43
- ]
44
- },
45
- "devDependencies": {
46
- "@emotion/react": "^11.10.5",
47
- "@emotion/styled": "^11.10.5",
48
- "@mui/icons-material": "^5.10.15",
49
- "@mui/material": "^5.10.15",
50
- "@mui/styles": "^5.10.10",
51
- "@mui/x-date-pickers": "^5.0.8",
52
- "@storybook/addon-docs": "^6.5.13",
53
- "@testing-library/jest-dom": "^5.16.5",
54
- "@testing-library/react": "^13.4.0",
55
- "@testing-library/user-event": "^13.5.0",
56
- "axios": "^1.2.0",
57
- "date-fns": "^2.29.3",
58
- "mui-datatables": "^4.2.2",
59
- "react": "^18.2.0",
60
- "react-dom": "^18.2.0",
61
- "react-router-dom": "^6.4.3",
62
- "react-scripts": "5.0.1",
63
- "react-uuid": "^2.0.0",
64
- "storybook-preset-inline-svg": "^1.0.1",
65
- "styled-components": "^5.3.6",
66
- "svg-inline-loader": "^0.8.2",
67
- "tss-react": "^4.4.4",
68
- "typescript": "^4.9.3",
69
- "web-vitals": "^2.1.4",
70
- "@rollup/plugin-commonjs": "^23.0.3",
71
- "@rollup/plugin-node-resolve": "^15.0.1",
72
- "@rollup/plugin-typescript": "8.3.3",
73
- "@storybook/addon-actions": "^6.5.12",
74
- "@storybook/addon-essentials": "^6.5.12",
75
- "@storybook/addon-interactions": "^6.5.12",
76
- "@storybook/addon-links": "^6.5.12",
77
- "@storybook/builder-webpack5": "^6.5.12",
78
- "@storybook/manager-webpack5": "^6.5.12",
79
- "@storybook/node-logger": "^6.5.12",
80
- "@storybook/preset-create-react-app": "^4.1.2",
81
- "@storybook/react": "^6.5.12",
82
- "@storybook/testing-library": "0.0.13",
83
- "babel-plugin-named-exports-order": "0.0.2",
84
- "prop-types": "^15.8.1",
85
- "rollup": "^3.6.0",
86
- "rollup-plugin-dts": "^5.0.0",
87
- "tslib": "^2.4.1",
88
- "webpack": "^5.74.0"
89
- },
90
- "peerDependencies": {
91
- "react": "^18.2.0",
92
- "react-dom": "^18.2.0"
93
- },
94
- "main": "dist/cjs/index.js",
95
- "module": "dist/esm/index.js",
96
- "files": [
97
- "dist"
98
- ],
99
- "types": "dist/index.d.ts",
100
- "repository": {
101
- "type": "git",
102
- "url": "git+https://github.com/xeltoteam/XC2-LIB.git"
103
- },
104
- "keywords": [
105
- "design-system",
106
- "react",
107
- "mui",
108
- "components-library"
109
- ],
110
- "bugs": {
111
- "url": "https://github.com/xeltoteam/XC2-LIB/issues"
112
- },
113
- "homepage": "https://github.com/xeltoteam/XC2-LIB#readme"
114
- }
1
+ {
2
+ "name": "@xelto.npm/xc2-lib",
3
+ "version": "0.0.12",
4
+ "author": "XELTO",
5
+ "description": "React component library based on MUI",
6
+ "license": "ISC",
7
+ "type": "module",
8
+ "scripts": {
9
+ "start": "react-scripts start",
10
+ "rollup": "rollup -c",
11
+ "build": "react-scripts build",
12
+ "test": "react-scripts test",
13
+ "eject": "react-scripts eject",
14
+ "storybook": "start-storybook -p 6006 -s ./src",
15
+ "build-storybook": "build-storybook -s ./src"
16
+ },
17
+ "eslintConfig": {
18
+ "extends": [
19
+ "react-app",
20
+ "react-app/jest"
21
+ ],
22
+ "overrides": [
23
+ {
24
+ "files": [
25
+ "**/*.stories.*"
26
+ ],
27
+ "rules": {
28
+ "import/no-anonymous-default-export": "off"
29
+ }
30
+ }
31
+ ]
32
+ },
33
+ "browserslist": {
34
+ "production": [
35
+ ">0.2%",
36
+ "not dead",
37
+ "not op_mini all"
38
+ ],
39
+ "development": [
40
+ "last 1 chrome version",
41
+ "last 1 firefox version",
42
+ "last 1 safari version"
43
+ ]
44
+ },
45
+ "devDependencies": {
46
+ "@emotion/react": "^11.10.5",
47
+ "@emotion/styled": "^11.10.5",
48
+ "@mui/icons-material": "^5.10.15",
49
+ "@mui/material": "^5.10.15",
50
+ "@mui/styles": "^5.10.10",
51
+ "@mui/x-date-pickers": "^5.0.8",
52
+ "@storybook/addon-docs": "^6.5.13",
53
+ "@testing-library/jest-dom": "^5.16.5",
54
+ "@testing-library/react": "^13.4.0",
55
+ "@testing-library/user-event": "^13.5.0",
56
+ "axios": "^1.2.0",
57
+ "date-fns": "^2.29.3",
58
+ "mui-datatables": "^4.2.2",
59
+ "react": "^18.2.0",
60
+ "react-dom": "^18.2.0",
61
+ "react-router-dom": "^6.4.3",
62
+ "react-scripts": "5.0.1",
63
+ "react-uuid": "^2.0.0",
64
+ "storybook-preset-inline-svg": "^1.0.1",
65
+ "styled-components": "^5.3.6",
66
+ "svg-inline-loader": "^0.8.2",
67
+ "tss-react": "^4.4.4",
68
+ "typescript": "^4.9.3",
69
+ "web-vitals": "^2.1.4",
70
+ "@rollup/plugin-commonjs": "^23.0.3",
71
+ "@rollup/plugin-node-resolve": "^15.0.1",
72
+ "@rollup/plugin-typescript": "8.3.3",
73
+ "@storybook/addon-actions": "^6.5.12",
74
+ "@storybook/addon-essentials": "^6.5.12",
75
+ "@storybook/addon-interactions": "^6.5.12",
76
+ "@storybook/addon-links": "^6.5.12",
77
+ "@storybook/builder-webpack5": "^6.5.12",
78
+ "@storybook/manager-webpack5": "^6.5.12",
79
+ "@storybook/node-logger": "^6.5.12",
80
+ "@storybook/preset-create-react-app": "^4.1.2",
81
+ "@storybook/react": "^6.5.12",
82
+ "@storybook/testing-library": "0.0.13",
83
+ "babel-plugin-named-exports-order": "0.0.2",
84
+ "prop-types": "^15.8.1",
85
+ "rollup": "^3.6.0",
86
+ "rollup-plugin-dts": "^5.0.0",
87
+ "tslib": "^2.4.1",
88
+ "webpack": "^5.74.0"
89
+ },
90
+ "peerDependencies": {
91
+ "react": "^18.2.0",
92
+ "react-dom": "^18.2.0"
93
+ },
94
+ "main": "dist/cjs/index.js",
95
+ "module": "dist/esm/index.js",
96
+ "files": [
97
+ "dist"
98
+ ],
99
+ "types": "dist/index.d.ts",
100
+ "repository": {
101
+ "type": "git",
102
+ "url": "git+https://github.com/xeltoteam/XC2-LIB.git"
103
+ },
104
+ "keywords": [
105
+ "design-system",
106
+ "react",
107
+ "mui",
108
+ "components-library"
109
+ ],
110
+ "bugs": {
111
+ "url": "https://github.com/xeltoteam/XC2-LIB/issues"
112
+ },
113
+ "homepage": "https://github.com/xeltoteam/XC2-LIB#readme"
114
+ }
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- declare const ATempComponent: ({ text }: {
3
- text: any;
4
- }) => JSX.Element;
5
- export default ATempComponent;
@@ -1 +0,0 @@
1
- export { default } from "./ATempComponent";
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- declare const ATempComponent: ({ text }: {
3
- text: any;
4
- }) => JSX.Element;
5
- export default ATempComponent;
@@ -1 +0,0 @@
1
- export { default } from "./ATempComponent";