react-mosaic-ui 1.0.1
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 +378 -0
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +180 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/entities/mosaic/index.d.ts +4 -0
- package/dist/types/entities/mosaic/index.d.ts.map +1 -0
- package/dist/types/entities/mosaic/ui/mosaic-root.d.ts +10 -0
- package/dist/types/entities/mosaic/ui/mosaic-root.d.ts.map +1 -0
- package/dist/types/entities/mosaic/ui/mosaic.d.ts +21 -0
- package/dist/types/entities/mosaic/ui/mosaic.d.ts.map +1 -0
- package/dist/types/entities/window/index.d.ts +3 -0
- package/dist/types/entities/window/index.d.ts.map +1 -0
- package/dist/types/entities/window/ui/mosaic-window.d.ts +24 -0
- package/dist/types/entities/window/ui/mosaic-window.d.ts.map +1 -0
- package/dist/types/features/drag-drop/index.d.ts +4 -0
- package/dist/types/features/drag-drop/index.d.ts.map +1 -0
- package/dist/types/features/drag-drop/lib/use-drag-source.d.ts +11 -0
- package/dist/types/features/drag-drop/lib/use-drag-source.d.ts.map +1 -0
- package/dist/types/features/drag-drop/ui/mosaic-drop-target.d.ts +9 -0
- package/dist/types/features/drag-drop/ui/mosaic-drop-target.d.ts.map +1 -0
- package/dist/types/features/resize/index.d.ts +3 -0
- package/dist/types/features/resize/index.d.ts.map +1 -0
- package/dist/types/features/resize/resize-isolation.test.d.ts +2 -0
- package/dist/types/features/resize/resize-isolation.test.d.ts.map +1 -0
- package/dist/types/features/resize/ui/split.d.ts +16 -0
- package/dist/types/features/resize/ui/split.d.ts.map +1 -0
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/shared/lib/bounding-box.d.ts +7 -0
- package/dist/types/shared/lib/bounding-box.d.ts.map +1 -0
- package/dist/types/shared/lib/context.d.ts +4 -0
- package/dist/types/shared/lib/context.d.ts.map +1 -0
- package/dist/types/shared/lib/index.d.ts +4 -0
- package/dist/types/shared/lib/index.d.ts.map +1 -0
- package/dist/types/shared/lib/mosaic-updates.d.ts +10 -0
- package/dist/types/shared/lib/mosaic-updates.d.ts.map +1 -0
- package/dist/types/shared/lib/mosaic-updates.test.d.ts +2 -0
- package/dist/types/shared/lib/mosaic-updates.test.d.ts.map +1 -0
- package/dist/types/shared/lib/mosaic-utilities.d.ts +13 -0
- package/dist/types/shared/lib/mosaic-utilities.d.ts.map +1 -0
- package/dist/types/shared/types/context.types.d.ts +23 -0
- package/dist/types/shared/types/context.types.d.ts.map +1 -0
- package/dist/types/shared/types/index.d.ts +4 -0
- package/dist/types/shared/types/index.d.ts.map +1 -0
- package/dist/types/shared/types/mosaic.types.d.ts +59 -0
- package/dist/types/shared/types/mosaic.types.d.ts.map +1 -0
- package/package.json +91 -0
package/package.json
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-mosaic-ui",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "A modern React tiling window manager with FSD architecture, Rollup bundling, and Tailwind CSS v4",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./styles.css": "./dist/styles.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "rollup -c --watch",
|
|
22
|
+
"build": "rollup -c",
|
|
23
|
+
"test": "vitest",
|
|
24
|
+
"test:coverage": "vitest --coverage",
|
|
25
|
+
"typecheck": "bun tsc --noEmit",
|
|
26
|
+
"lint": "biome check .",
|
|
27
|
+
"lint:fix": "biome check --write .",
|
|
28
|
+
"format": "biome format --write .",
|
|
29
|
+
"prepare": "husky",
|
|
30
|
+
"release": "release-it",
|
|
31
|
+
"release:minor": "release-it minor",
|
|
32
|
+
"release:major": "release-it major",
|
|
33
|
+
"release:patch": "release-it patch",
|
|
34
|
+
"release:dry": "release-it --dry-run"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"react",
|
|
38
|
+
"mosaic",
|
|
39
|
+
"window-manager",
|
|
40
|
+
"tiling",
|
|
41
|
+
"split-panel",
|
|
42
|
+
"layout",
|
|
43
|
+
"typescript",
|
|
44
|
+
"tailwind",
|
|
45
|
+
"fsd"
|
|
46
|
+
],
|
|
47
|
+
"author": "",
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
51
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"classnames": "^2.5.1",
|
|
55
|
+
"immer": "^10.1.1",
|
|
56
|
+
"react-dnd": "^16.0.1",
|
|
57
|
+
"react-dnd-html5-backend": "^16.0.1",
|
|
58
|
+
"react-dnd-multi-backend": "^8.0.3",
|
|
59
|
+
"react-dnd-touch-backend": "^16.0.1"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@biomejs/biome": "^1.9.4",
|
|
63
|
+
"@release-it/conventional-changelog": "^10.0.4",
|
|
64
|
+
"@rollup/plugin-commonjs": "^28.0.1",
|
|
65
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
66
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
67
|
+
"@rollup/plugin-typescript": "^12.1.1",
|
|
68
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
69
|
+
"@testing-library/react": "^16.1.0",
|
|
70
|
+
"@testing-library/user-event": "^14.5.2",
|
|
71
|
+
"@types/node": "^22.10.2",
|
|
72
|
+
"@types/react": "^18.3.18",
|
|
73
|
+
"@types/react-dom": "^18.3.5",
|
|
74
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
75
|
+
"autoprefixer": "^10.4.20",
|
|
76
|
+
"husky": "^9.1.7",
|
|
77
|
+
"jsdom": "^25.0.1",
|
|
78
|
+
"postcss": "^8.4.49",
|
|
79
|
+
"react": "^18.3.1",
|
|
80
|
+
"react-dom": "^18.3.1",
|
|
81
|
+
"release-it": "^19.2.2",
|
|
82
|
+
"rollup": "^4.28.1",
|
|
83
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
84
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
85
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
86
|
+
"tailwindcss": "^4.0.0",
|
|
87
|
+
"tslib": "^2.8.1",
|
|
88
|
+
"typescript": "^5.9.3",
|
|
89
|
+
"vitest": "^2.1.8"
|
|
90
|
+
}
|
|
91
|
+
}
|