barook-ui-library 0.1.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/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # UI Component Library
2
+
3
+ A scalable, testable UI component library built with:
4
+ - React
5
+ - TypeScript
6
+ - MUI
7
+ - Storybook
8
+ - Jest
9
+
10
+ ## Goals
11
+ - Reusable across React & Next.js projects
12
+ - External theming support
13
+ - Educational architecture
14
+ - Strong testing strategy
15
+
16
+ ## Tech Stack
17
+ ...
18
+
19
+ ## Project Structure
20
+ ...
21
+
22
+ ## Available Components
23
+ - TextField
24
+ - Button
25
+ ...
26
+
27
+ ## Testing
28
+ - Unit tests with Testing Library
29
+ - Visual testing via Storybook
30
+
31
+ ## How to Use
32
+ ...
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/dist/index.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // src/index.ts
17
+ var index_exports = {};
18
+ module.exports = __toCommonJS(index_exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "barook-ui-library",
3
+ "version": "0.1.0",
4
+ "description": "A scalable, testable UI component library built with React, TypeScript, MUI, Storybook, and Jest",
5
+ "author": "Mehdi_Samani",
6
+ "license": "MIT",
7
+ "main": "dist/index.js",
8
+ "module": "dist/index.mjs",
9
+ "types": "dist/index.d.ts",
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "scripts": {
14
+ "build": "tsup",
15
+ "dev": "tsup --watch",
16
+ "test": "jest",
17
+ "storybook": "storybook dev -p 6006",
18
+ "build-storybook": "storybook build"
19
+ },
20
+ "peerDependencies": {
21
+ "react": ">=17",
22
+ "react-dom": ">=17"
23
+ },
24
+ "devDependencies": {
25
+ "@chromatic-com/storybook": "^4.1.3",
26
+ "@emotion/react": "^11.14.0",
27
+ "@emotion/styled": "^11.14.1",
28
+ "@mui/material": "^7.3.6",
29
+ "@mui/system": "^7.3.6",
30
+ "@storybook/addon-a11y": "^10.1.10",
31
+ "@storybook/addon-docs": "^10.1.10",
32
+ "@storybook/addon-vitest": "^10.1.10",
33
+ "@storybook/react": "^10.1.10",
34
+ "@storybook/react-vite": "^10.1.10",
35
+ "@testing-library/jest-dom": "^6.9.1",
36
+ "@testing-library/react": "^16.3.1",
37
+ "@types/jest": "^30.0.0",
38
+ "@types/node": "^25.0.3",
39
+ "@types/react": "^19.2.7",
40
+ "@types/react-dom": "^19.2.3",
41
+ "@vitest/browser-playwright": "^4.0.16",
42
+ "@vitest/coverage-v8": "^4.0.16",
43
+ "jest": "^30.2.0",
44
+ "jest-environment-jsdom": "^30.2.0",
45
+ "playwright": "^1.57.0",
46
+ "storybook": "^10.1.10",
47
+ "ts-jest": "^29.4.6",
48
+ "ts-node": "^10.9.2",
49
+ "tsup": "^8.0.0",
50
+ "typescript": "^5.0.0",
51
+ "vitest": "^4.0.16"
52
+ },
53
+ "dependencies": {
54
+ "@emotion/cache": "^11.14.0",
55
+ "@heroicons/react": "^2.2.0",
56
+ "@mui/types": "^7.4.10",
57
+ "@mui/utils": "^7.3.7",
58
+ "@types/css-mediaquery": "^0.1.4",
59
+ "@types/stylis": "^4.2.7",
60
+ "css-mediaquery": "^0.1.2",
61
+ "lodash.noop": "^3.0.1",
62
+ "path": "^0.12.7",
63
+ "stylis": "4.2.0",
64
+ "stylis-plugin-rtl": "^2.1.1",
65
+ "url": "^0.11.4"
66
+ }
67
+ }