@manakind/shiptight-ui 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Humanity Plus Solutions
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # `@manakind/shiptight-ui`
2
+
3
+ The ShipTight-flavored surface of the [Manakind](https://github.com/Humanity-Plus/Manakind)
4
+ design system. Today it re-exports the shared base components from
5
+ `@manakind/ui-core`; ShipTight-specific compositions (`sti-` prefixed) will
6
+ live alongside this barrel as they are built.
7
+
8
+ Pair it with `@manakind/shiptight-tokens`, whose `theme.css` resolves the
9
+ `--ds-*` contract into ShipTight's Chart paper and Night watch themes.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npm install @manakind/shiptight-ui @manakind/shiptight-tokens react react-dom
15
+ ```
16
+
17
+ `react` and `react-dom` (`^19`) are peer dependencies. `@manakind/ui-core` and
18
+ `@manakind/shiptight-tokens` are pulled in as exact-pinned dependencies and
19
+ ship in lockstep — upgrade all `@manakind/*` packages together.
20
+
21
+ ## Usage
22
+
23
+ ```tsx
24
+ import '@manakind/shiptight-tokens/css/primitives';
25
+ import '@manakind/shiptight-tokens/css/semantic';
26
+ import '@manakind/shiptight-tokens/css/components';
27
+ import '@manakind/shiptight-tokens/css/theme';
28
+
29
+ // Night watch (dark). Emitted under `:root.dark, :root[data-theme='dark']`,
30
+ // so these are inert until you set the class or attribute.
31
+ import '@manakind/shiptight-tokens/css/semantic-dark';
32
+ import '@manakind/shiptight-tokens/css/components-dark';
33
+ import '@manakind/shiptight-tokens/css/theme-dark';
34
+ import { Button } from '@manakind/shiptight-ui';
35
+
36
+ export function SetSail() {
37
+ return <Button>Set sail</Button>;
38
+ }
39
+ ```
40
+
41
+ ## License
42
+
43
+ MIT — see [LICENSE](./LICENSE).
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `@manakind/shiptight-ui` is the ShipTight-flavored surface of the Manakind design system.
3
+ *
4
+ * It re-exports the shared base components from `@manakind/ui-core`.
5
+ * ShipTight-specific compositions (`sti-` prefixed) are added here as they
6
+ * are built.
7
+ *
8
+ * The ShipTight theme is provided at runtime by importing
9
+ * `@manakind/shiptight-tokens/css/theme` and the underlying token layers.
10
+ */
11
+ export * from '@manakind/ui-core';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,mBAAmB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `@manakind/shiptight-ui` is the ShipTight-flavored surface of the Manakind design system.
3
+ *
4
+ * It re-exports the shared base components from `@manakind/ui-core`.
5
+ * ShipTight-specific compositions (`sti-` prefixed) are added here as they
6
+ * are built.
7
+ *
8
+ * The ShipTight theme is provided at runtime by importing
9
+ * `@manakind/shiptight-tokens/css/theme` and the underlying token layers.
10
+ */
11
+ export * from '@manakind/ui-core';
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,mBAAmB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@manakind/shiptight-ui",
3
+ "version": "0.2.0",
4
+ "type": "module",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Humanity-Plus/Manakind.git",
9
+ "directory": "packages/shiptight-ui"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "files": [
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",
30
+ "lint": "biome lint .",
31
+ "typecheck": "tsc --noEmit",
32
+ "test": "vitest run --passWithNoTests",
33
+ "test:watch": "vitest"
34
+ },
35
+ "dependencies": {
36
+ "@manakind/shiptight-tokens": "0.2.0",
37
+ "@manakind/ui-core": "0.2.0"
38
+ },
39
+ "peerDependencies": {
40
+ "react": "^19.2.5",
41
+ "react-dom": "^19.2.5"
42
+ },
43
+ "devDependencies": {
44
+ "@manakind/ds-config": "*",
45
+ "@types/react": "^19.2.14",
46
+ "typescript": "^6.0.3",
47
+ "vitest": "4.1.11"
48
+ }
49
+ }