@lcars-gui/romulus 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +58 -2
- package/dist/index.d.ts +151 -0
- package/dist/index.global.js +285 -0
- package/dist/index.js +148 -0
- package/dist/react/index.d.ts +221 -0
- package/dist/react/index.js +452 -0
- package/dist/themes/free-state.css +11 -0
- package/dist/themes/tal-shiar.css +11 -0
- package/dist/themes/warbird.css +9 -0
- package/dist/ui.css +1024 -0
- package/package.json +71 -4
- package/tokens/alerts/red.json +8 -0
- package/tokens/alerts/yellow.json +8 -0
- package/tokens/base.json +58 -0
- package/tokens/themes/free-state.json +8 -0
- package/tokens/themes/tal-shiar.json +8 -0
- package/tokens/themes/warbird.json +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,73 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lcars-gui/romulus",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "UI components in the style of the Romulan Star Empire for React and plain HTML/CSS/JS",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"lcars",
|
|
7
|
+
"star-trek",
|
|
8
|
+
"ui",
|
|
9
|
+
"components",
|
|
10
|
+
"react",
|
|
11
|
+
"css",
|
|
12
|
+
"romulan"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "aarondnas",
|
|
16
|
+
"homepage": "https://aarondnas.github.io/lcars-gui/",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/aarondnas/lcars-gui.git",
|
|
20
|
+
"directory": "packages/romulus"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/aarondnas/lcars-gui/issues"
|
|
24
|
+
},
|
|
25
|
+
"type": "module",
|
|
26
|
+
"main": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"unpkg": "./dist/index.global.js",
|
|
29
|
+
"jsdelivr": "./dist/index.global.js",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./react": {
|
|
36
|
+
"types": "./dist/react/index.d.ts",
|
|
37
|
+
"import": "./dist/react/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./global.js": "./dist/index.global.js",
|
|
40
|
+
"./ui.css": "./dist/ui.css",
|
|
41
|
+
"./themes/*.css": "./dist/themes/*.css",
|
|
42
|
+
"./tokens/*": "./tokens/*"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist",
|
|
46
|
+
"tokens"
|
|
47
|
+
],
|
|
48
|
+
"sideEffects": [
|
|
49
|
+
"*.css"
|
|
50
|
+
],
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "node build.js && tsup",
|
|
53
|
+
"dev": "tsup --watch"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@lcars-gui/core": "^0.1.1"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"react": ">=18",
|
|
60
|
+
"react-dom": ">=18"
|
|
61
|
+
},
|
|
62
|
+
"peerDependenciesMeta": {
|
|
63
|
+
"react": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
66
|
+
"react-dom": {
|
|
67
|
+
"optional": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"publishConfig": {
|
|
71
|
+
"access": "public"
|
|
72
|
+
}
|
|
73
|
+
}
|
package/tokens/base.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"colors": {
|
|
3
|
+
"text1": "#02170F",
|
|
4
|
+
"text2": "#BFF5DC",
|
|
5
|
+
"background": "#010805",
|
|
6
|
+
"surface": "#04120C"
|
|
7
|
+
},
|
|
8
|
+
"font": {
|
|
9
|
+
"family": "\"Michroma\", \"Eurostile\", \"Bahnschrift\", \"Arial Narrow\", sans-serif"
|
|
10
|
+
},
|
|
11
|
+
"fontSize": {
|
|
12
|
+
"xs": "0.65rem",
|
|
13
|
+
"s": "0.8rem",
|
|
14
|
+
"m": "0.95rem",
|
|
15
|
+
"l": "1.2rem",
|
|
16
|
+
"xl": "1.55rem"
|
|
17
|
+
},
|
|
18
|
+
"width": {
|
|
19
|
+
"xs": "2.5em",
|
|
20
|
+
"s": "4em",
|
|
21
|
+
"m": "7em",
|
|
22
|
+
"l": "10em",
|
|
23
|
+
"xl": "13em"
|
|
24
|
+
},
|
|
25
|
+
"height": {
|
|
26
|
+
"btn": "2.4em"
|
|
27
|
+
},
|
|
28
|
+
"chamfer": {
|
|
29
|
+
"s": "0.35rem",
|
|
30
|
+
"m": "0.7rem",
|
|
31
|
+
"l": "1.4rem"
|
|
32
|
+
},
|
|
33
|
+
"line": {
|
|
34
|
+
"thin": "1px",
|
|
35
|
+
"std": "2px",
|
|
36
|
+
"thick": "0.3rem"
|
|
37
|
+
},
|
|
38
|
+
"panel": {
|
|
39
|
+
"gap": "0.4rem",
|
|
40
|
+
"padding": "1.25rem",
|
|
41
|
+
"sidebarWidth": "9rem",
|
|
42
|
+
"headerHeight": "2.4rem",
|
|
43
|
+
"segmentHeight": "2.6rem",
|
|
44
|
+
"labelSize": "0.75rem",
|
|
45
|
+
"titleSize": "1.4rem",
|
|
46
|
+
"talonSize": "2.6rem"
|
|
47
|
+
},
|
|
48
|
+
"status": {
|
|
49
|
+
"ok": "#4BF2A0",
|
|
50
|
+
"warn": "#E8D55A",
|
|
51
|
+
"error": "#FF5A4E",
|
|
52
|
+
"off": "#2E4A3E"
|
|
53
|
+
},
|
|
54
|
+
"alert": {
|
|
55
|
+
"red": "#FF4A3D",
|
|
56
|
+
"yellow": "#F2D24B"
|
|
57
|
+
}
|
|
58
|
+
}
|