@manakind/office-ui 0.0.0 → 0.1.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 +23 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +62 -5
package/README.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@manakind/office-ui`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The Humanity Plus backoffice's entry into Manakind. It re-exports the shared
|
|
4
|
+
`@manakind/ui-core` components and pairs them with the Abyssal theme from
|
|
5
|
+
`@manakind/office-tokens`. Browser and Electron use the same components.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
```tsx
|
|
8
|
+
import '@manakind/office-tokens/css/primitives';
|
|
9
|
+
import '@manakind/office-tokens/css/semantic';
|
|
10
|
+
import '@manakind/office-tokens/css/components';
|
|
11
|
+
import '@manakind/office-tokens/css/theme';
|
|
12
|
+
import { Button, Field, Input, Slider } from '@manakind/office-ui';
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
All exports are at `@manakind/office-ui`: everything exported by
|
|
16
|
+
`@manakind/ui-core`. There are no office-local base components. Workflows,
|
|
17
|
+
Convex hooks and domain compositions remain in the office app until a reusable
|
|
18
|
+
visual composition needs a design-system home.
|
|
19
|
+
|
|
20
|
+
The Storybook contains real sign-in, source-settings and desktop Gmail
|
|
21
|
+
connection layouts. Its local Fraunces and IBM Plex Mono files have their OFL
|
|
22
|
+
licenses beside them; they are preview assets and do not enter the public
|
|
23
|
+
package. Screenshot baselines cover the one published dark theme.
|
|
24
|
+
|
|
25
|
+
MIT — see [LICENSE](./LICENSE).
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC","sourcesContent":["export * from '@manakind/ui-core';\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manakind/office-ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -12,7 +12,64 @@
|
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"sideEffects": [
|
|
18
|
+
"**/*.css"
|
|
19
|
+
],
|
|
20
|
+
"main": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"import": "./dist/index.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc -p tsconfig.build.json && bunx tsx ../ds-config/scripts/copy-assets.ts src dist .css",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"test:watch": "vitest",
|
|
32
|
+
"lint:css": "stylelint 'src/**/*.css' --allow-empty-input",
|
|
33
|
+
"lint": "biome lint .",
|
|
34
|
+
"typecheck": "tsc --noEmit",
|
|
35
|
+
"storybook": "storybook dev -p 6009",
|
|
36
|
+
"build-storybook": "storybook build",
|
|
37
|
+
"vr": "playwright test"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@manakind/office-tokens": "0.1.1",
|
|
41
|
+
"@manakind/ui-core": "0.25.1"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"react": "^19.0.0",
|
|
45
|
+
"react-dom": "^19.0.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@manakind/ds-config": "*",
|
|
49
|
+
"@playwright/test": "1.63.0",
|
|
50
|
+
"@storybook/addon-a11y": "^10.3.6",
|
|
51
|
+
"@storybook/addon-docs": "^10.3.6",
|
|
52
|
+
"@storybook/addon-vitest": "10.3.6",
|
|
53
|
+
"@storybook/react-vite": "^10.3.6",
|
|
54
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
55
|
+
"@testing-library/react": "^16.3.2",
|
|
56
|
+
"@testing-library/user-event": "^14.6.1",
|
|
57
|
+
"@types/react": "^19.2.14",
|
|
58
|
+
"@types/react-dom": "^19.2.3",
|
|
59
|
+
"@vitest/browser": "4.1.11",
|
|
60
|
+
"@vitest/browser-playwright": "4.1.11",
|
|
61
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
62
|
+
"jest-axe": "^10.0.0",
|
|
63
|
+
"jsdom": "^29.1.1",
|
|
64
|
+
"playwright": "1.63.0",
|
|
65
|
+
"react": "^19.2.5",
|
|
66
|
+
"react-dom": "^19.2.5",
|
|
67
|
+
"storybook": "^10.3.6",
|
|
68
|
+
"storybook-addon-pseudo-states": "10.3.6",
|
|
69
|
+
"stylelint": "^17.9.1",
|
|
70
|
+
"stylelint-declaration-strict-value": "^1.11.1",
|
|
71
|
+
"typescript": "^6.0.3",
|
|
72
|
+
"vite": "^8.0.16",
|
|
73
|
+
"vitest": "4.1.11"
|
|
74
|
+
}
|
|
18
75
|
}
|