@lcars-gui/federation 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +57 -2
- package/dist/fonts/Antonio/Antonio-latin-ext.woff2 +0 -0
- package/dist/fonts/Antonio/Antonio-latin.woff2 +0 -0
- package/dist/fonts/Antonio/OFL.txt +93 -0
- package/dist/index.d.ts +165 -0
- package/dist/index.global.js +292 -0
- package/dist/index.js +155 -0
- package/dist/react/index.d.ts +241 -0
- package/dist/react/index.js +506 -0
- package/dist/themes/ds9.css +5 -0
- package/dist/themes/picard.css +5 -0
- package/dist/themes/tng.css +5 -0
- package/dist/ui.css +959 -0
- package/package.json +71 -4
- package/tokens/alerts/red.json +9 -0
- package/tokens/alerts/yellow.json +9 -0
- package/tokens/base.json +51 -0
- package/tokens/themes/ds9.json +9 -0
- package/tokens/themes/picard.json +9 -0
- package/tokens/themes/tng.json +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,73 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lcars-gui/federation",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "LCARS-UI-Komponenten im Stil der Föderation (TNG, DS9, Picard) für React und reines HTML/CSS/JS",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"lcars",
|
|
7
|
+
"star-trek",
|
|
8
|
+
"ui",
|
|
9
|
+
"components",
|
|
10
|
+
"react",
|
|
11
|
+
"css",
|
|
12
|
+
"federation"
|
|
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/federation"
|
|
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.0"
|
|
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,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"colors": {
|
|
3
|
+
"text1": "#000000",
|
|
4
|
+
"text2": "#FFFFFF",
|
|
5
|
+
"background": "#000000"
|
|
6
|
+
},
|
|
7
|
+
"padding": {
|
|
8
|
+
"btn-std": "0em 1em"
|
|
9
|
+
},
|
|
10
|
+
"width": {
|
|
11
|
+
"xs": "2em",
|
|
12
|
+
"s": "3em",
|
|
13
|
+
"m": "6em",
|
|
14
|
+
"l": "8em",
|
|
15
|
+
"xl": "10em"
|
|
16
|
+
},
|
|
17
|
+
"height": {
|
|
18
|
+
"btn-std": "1.5em"
|
|
19
|
+
},
|
|
20
|
+
"fontSize": {
|
|
21
|
+
"xs": "0.75vw",
|
|
22
|
+
"s": "1.0vw",
|
|
23
|
+
"m": "1.25vw",
|
|
24
|
+
"l": "1.75vw",
|
|
25
|
+
"xl": "2.5vw"
|
|
26
|
+
},
|
|
27
|
+
"radius": {
|
|
28
|
+
"btn-std": "10rem"
|
|
29
|
+
},
|
|
30
|
+
"frame": {
|
|
31
|
+
"gap": "0.3rem",
|
|
32
|
+
"sidebarWidth": "9rem",
|
|
33
|
+
"barHeight": "1.5rem",
|
|
34
|
+
"segmentHeight": "3.5rem",
|
|
35
|
+
"elbowHeight": "5rem",
|
|
36
|
+
"elbowRadius": "4rem",
|
|
37
|
+
"elbowInnerRadius": "1.75rem",
|
|
38
|
+
"labelSize": "1.1rem",
|
|
39
|
+
"titleSize": "2.2rem"
|
|
40
|
+
},
|
|
41
|
+
"status": {
|
|
42
|
+
"ok": "#99CC66",
|
|
43
|
+
"warn": "#FFCC33",
|
|
44
|
+
"error": "#FF4444",
|
|
45
|
+
"off": "#555555"
|
|
46
|
+
},
|
|
47
|
+
"alert": {
|
|
48
|
+
"red": "#FF3333",
|
|
49
|
+
"yellow": "#FFCC00"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color1": "#EA9D3C",
|
|
3
|
+
"color1hover": "#EFB46B",
|
|
4
|
+
"color2": "#B96C69",
|
|
5
|
+
"color2hover": "#C98F8D",
|
|
6
|
+
"color3": "#EA9D6F",
|
|
7
|
+
"color3hover": "#F4CB9A",
|
|
8
|
+
"color4": "#F1CC9F",
|
|
9
|
+
"color4hover": "#F7E3C9",
|
|
10
|
+
"color5": "#FDFEE3",
|
|
11
|
+
"color5hover": "#FFFFFF",
|
|
12
|
+
"color6": "#9C9DF7",
|
|
13
|
+
"color6hover": "#CBCCFB",
|
|
14
|
+
"color7": "#C29DC9",
|
|
15
|
+
"color7hover": "#D6BDDB"
|
|
16
|
+
}
|