opus-toolkit-components 1.7.6 → 1.7.9
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/components/Accordions/index.d.ts +19 -0
- package/lib/components/BarLayout/index.d.ts +8 -0
- package/lib/components/Buttons/index.d.ts +36 -0
- package/lib/components/Cards/index.d.ts +16 -0
- package/lib/components/Cookie/index.d.ts +11 -0
- package/lib/components/Footer/index.d.ts +8 -0
- package/lib/components/Forms/Checkbox/index.d.ts +20 -0
- package/lib/components/Forms/Datepickers/index.d.ts +23 -0
- package/lib/components/Forms/Dropdowns/index.d.ts +35 -0
- package/lib/components/Forms/Inputs/index.d.ts +45 -0
- package/lib/components/Forms/Radios/index.d.ts +29 -0
- package/lib/components/Header/index.d.ts +8 -0
- package/lib/components/Icon/index.d.ts +15 -0
- package/lib/components/IconButton/index.d.ts +22 -0
- package/lib/components/Link/index.js +131 -0
- package/lib/components/Link/index.js.map +1 -0
- package/lib/components/Loader/index.d.ts +8 -0
- package/lib/components/Modals/index.d.ts +16 -0
- package/lib/components/Navbar/index.d.ts +8 -0
- package/lib/components/PageTemplate/index.d.ts +12 -0
- package/lib/components/Pills/index.d.ts +8 -0
- package/lib/components/Profile/ProfileCard/index.d.ts +11 -0
- package/lib/components/Sidebar/index.d.ts +48 -0
- package/lib/components/Tables/index.d.ts +18 -0
- package/lib/components/Text/index.d.ts +25 -0
- package/lib/index.d.ts +23 -464
- package/lib/{opus-components.main.js → main.js} +222 -85
- package/lib/main.js.map +1 -0
- package/package.json +36 -32
- package/lib/opus-components.main.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opus-toolkit-components",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.9",
|
|
4
4
|
"private": false,
|
|
5
|
+
|
|
5
6
|
"peerDependencies": {
|
|
6
7
|
"react": "^17.0.0 || ^18.0.0",
|
|
7
8
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
8
9
|
},
|
|
9
10
|
"peerDependenciesMeta": {
|
|
10
|
-
"react": {
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"react-dom": {
|
|
14
|
-
"optional": false
|
|
15
|
-
}
|
|
11
|
+
"react": { "optional": false },
|
|
12
|
+
"react-dom": { "optional": false }
|
|
16
13
|
},
|
|
14
|
+
|
|
17
15
|
"dependencies": {
|
|
18
16
|
"@headlessui/react": "^2.1.8",
|
|
19
17
|
"@heroicons/react": "^2.1.5",
|
|
@@ -29,6 +27,7 @@
|
|
|
29
27
|
"semantic-ui-react": "^2.1.5",
|
|
30
28
|
"web-vitals": "^2.1.4"
|
|
31
29
|
},
|
|
30
|
+
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@babel/core": "^7.28.3",
|
|
34
33
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
@@ -36,17 +35,17 @@
|
|
|
36
35
|
"@babel/preset-env": "^7.28.3",
|
|
37
36
|
"@babel/preset-react": "^7.27.1",
|
|
38
37
|
"@mdx-js/react": "^3.1.0",
|
|
39
|
-
"@storybook/addon-a11y": "^
|
|
40
|
-
"@storybook/addon-
|
|
41
|
-
"@storybook/addon-docs": "
|
|
42
|
-
"@storybook/addon-links": "^
|
|
43
|
-
"@storybook/addon-onboarding": "^
|
|
38
|
+
"@storybook/addon-a11y": "^10.1.4",
|
|
39
|
+
"@storybook/addon-designs": "^11.1.0",
|
|
40
|
+
"@storybook/addon-docs": "10.1.4",
|
|
41
|
+
"@storybook/addon-links": "^10.1.4",
|
|
42
|
+
"@storybook/addon-onboarding": "^10.1.4",
|
|
44
43
|
"@storybook/addon-postcss": "^2.0.0",
|
|
45
|
-
"@storybook/cli": "^
|
|
44
|
+
"@storybook/cli": "^10.1.4",
|
|
46
45
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
47
|
-
"@storybook/preset-create-react-app": "^
|
|
48
|
-
"@storybook/react-webpack5": "^
|
|
49
|
-
"@storybook/test-runner": "^0.
|
|
46
|
+
"@storybook/preset-create-react-app": "^10.1.4",
|
|
47
|
+
"@storybook/react-webpack5": "^10.1.4",
|
|
48
|
+
"@storybook/test-runner": "^0.24.2",
|
|
50
49
|
"@storybook/testing-library": "^0.2.2",
|
|
51
50
|
"@tailwindcss/forms": "^0.5.9",
|
|
52
51
|
"autoprefixer": "^10.4.20",
|
|
@@ -55,12 +54,13 @@
|
|
|
55
54
|
"compression-webpack-plugin": "^11.1.0",
|
|
56
55
|
"copy-webpack-plugin": "^13.0.1",
|
|
57
56
|
"copyfiles": "^2.4.1",
|
|
57
|
+
"cpy-cli": "^6.0.0",
|
|
58
58
|
"css-loader": "^7.1.2",
|
|
59
59
|
"cypress": "^13.4.0",
|
|
60
60
|
"eslint": "^8.57.1",
|
|
61
61
|
"eslint-config-prettier": "^10.1.8",
|
|
62
62
|
"eslint-plugin-prettier": "^5.5.4",
|
|
63
|
-
"eslint-plugin-storybook": "^
|
|
63
|
+
"eslint-plugin-storybook": "^10.1.4",
|
|
64
64
|
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
65
65
|
"file-loader": "^6.2.0",
|
|
66
66
|
"html-webpack-plugin": "^5.6.0",
|
|
@@ -79,20 +79,21 @@
|
|
|
79
79
|
"webpack-cli": "^5.1.4",
|
|
80
80
|
"webpack-dev-server": "^5.1.0"
|
|
81
81
|
},
|
|
82
|
+
|
|
82
83
|
"scripts": {
|
|
83
84
|
"start": "react-scripts start",
|
|
84
|
-
"build": "webpack --mode production",
|
|
85
85
|
"test": "react-scripts test",
|
|
86
86
|
"eject": "react-scripts eject",
|
|
87
87
|
"storybook": "storybook dev -p 6006",
|
|
88
|
-
"build-storybook": "storybook build"
|
|
88
|
+
"build-storybook": "storybook build",
|
|
89
|
+
"generate:types": "node index-dts-generator.js",
|
|
90
|
+
"build": "npm run generate:types && webpack --mode production"
|
|
89
91
|
},
|
|
92
|
+
|
|
90
93
|
"eslintConfig": {
|
|
91
|
-
"extends": [
|
|
92
|
-
"react-app",
|
|
93
|
-
"react-app/jest"
|
|
94
|
-
]
|
|
94
|
+
"extends": ["react-app", "react-app/jest"]
|
|
95
95
|
},
|
|
96
|
+
|
|
96
97
|
"browserslist": {
|
|
97
98
|
"production": [
|
|
98
99
|
">0.2%",
|
|
@@ -105,21 +106,24 @@
|
|
|
105
106
|
"last 1 safari version"
|
|
106
107
|
]
|
|
107
108
|
},
|
|
109
|
+
|
|
108
110
|
"description": "React component library",
|
|
109
|
-
|
|
111
|
+
|
|
112
|
+
"main": "lib/main.js",
|
|
110
113
|
"types": "lib/index.d.ts",
|
|
111
|
-
|
|
112
|
-
"license": "ISC",
|
|
113
|
-
"files": [
|
|
114
|
-
"lib"
|
|
115
|
-
],
|
|
114
|
+
|
|
116
115
|
"exports": {
|
|
117
116
|
".": {
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"require": "./lib/opus-components.main.js"
|
|
117
|
+
"require": "./lib/main.js",
|
|
118
|
+
"types": "./lib/index.d.ts"
|
|
121
119
|
}
|
|
122
120
|
},
|
|
121
|
+
|
|
122
|
+
"files": ["lib"],
|
|
123
|
+
|
|
124
|
+
"author": "Sye",
|
|
125
|
+
"license": "ISC",
|
|
126
|
+
|
|
123
127
|
"directories": {
|
|
124
128
|
"lib": "lib"
|
|
125
129
|
}
|