@converge-cloudops/gaia-ui 0.1.0 → 0.1.2
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 -12
- package/package.json +15 -7
package/README.md
CHANGED
|
@@ -38,8 +38,16 @@ import { IconLayoutDashboard, IconChartBar } from "@tabler/icons-react";
|
|
|
38
38
|
const theme = createTheme({
|
|
39
39
|
colors: {
|
|
40
40
|
convergeTeal: [
|
|
41
|
-
"#e6fafa",
|
|
42
|
-
"#
|
|
41
|
+
"#e6fafa",
|
|
42
|
+
"#d0f2f2",
|
|
43
|
+
"#a1e4e4",
|
|
44
|
+
"#6ed6d6",
|
|
45
|
+
"#3ecaca",
|
|
46
|
+
"#20bfbf",
|
|
47
|
+
"#0db8b8",
|
|
48
|
+
"#00a0a0",
|
|
49
|
+
"#008f8f",
|
|
50
|
+
"#007b7b",
|
|
43
51
|
],
|
|
44
52
|
},
|
|
45
53
|
primaryColor: "convergeTeal",
|
|
@@ -60,7 +68,12 @@ function AppLayout() {
|
|
|
60
68
|
<GaiaShellLayout
|
|
61
69
|
headerProps={{
|
|
62
70
|
title: "GAIA",
|
|
63
|
-
menuGroups: [
|
|
71
|
+
menuGroups: [
|
|
72
|
+
{
|
|
73
|
+
label: "Tropos",
|
|
74
|
+
items: [{ label: "Overview", onClick: () => {} }],
|
|
75
|
+
},
|
|
76
|
+
],
|
|
64
77
|
}}
|
|
65
78
|
navbarProps={{
|
|
66
79
|
sections,
|
|
@@ -75,9 +88,7 @@ function AppLayout() {
|
|
|
75
88
|
const router = createBrowserRouter([
|
|
76
89
|
{
|
|
77
90
|
element: <AppLayout />,
|
|
78
|
-
children: [
|
|
79
|
-
{ path: "/dashboard", element: <div>Overview</div> },
|
|
80
|
-
],
|
|
91
|
+
children: [{ path: "/dashboard", element: <div>Overview</div> }],
|
|
81
92
|
},
|
|
82
93
|
]);
|
|
83
94
|
|
|
@@ -98,12 +109,12 @@ export default function App() {
|
|
|
98
109
|
|
|
99
110
|
Full documentation is in the [`documentation/`](./documentation/) folder:
|
|
100
111
|
|
|
101
|
-
- [Getting Started](
|
|
102
|
-
- [GaiaShellLayout](
|
|
103
|
-
- [GaiaHeader](
|
|
104
|
-
- [GaiaNavbar](
|
|
105
|
-
- [NavbarLinksGroup](
|
|
106
|
-
- [API Reference](
|
|
112
|
+
- [Getting Started](https://github.com/cict-cloud/gaia-ui/blob/main/documentation/getting-started.md) — peer deps, CSS import, PostCSS setup, `convergeTeal` theme config
|
|
113
|
+
- [GaiaShellLayout](https://github.com/cict-cloud/gaia-ui/blob/main/documentation/components/GaiaShellLayout.md) — full shell in one component
|
|
114
|
+
- [GaiaHeader](https://github.com/cict-cloud/gaia-ui/blob/main/documentation/components/GaiaHeader.md) — top header bar
|
|
115
|
+
- [GaiaNavbar](https://github.com/cict-cloud/gaia-ui/blob/main/documentation/components/GaiaNavbar.md) — left sidebar navigation
|
|
116
|
+
- [NavbarLinksGroup](https://github.com/cict-cloud/gaia-ui/blob/main/documentation/components/NavbarLinksGroup.md) — nav link primitive
|
|
117
|
+
- [API Reference](https://github.com/cict-cloud/gaia-ui/blob/main/documentation/api-reference.md) — all exported TypeScript types
|
|
107
118
|
|
|
108
119
|
---
|
|
109
120
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@converge-cloudops/gaia-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Shared UI shell components for GAIA-based projects",
|
|
5
|
+
"homepage": "https://github.com/cict-cloud/gaia-ui#readme",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/cict-cloud/gaia-ui.git"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/cict-cloud/gaia-ui/issues"
|
|
12
|
+
},
|
|
5
13
|
"type": "module",
|
|
6
14
|
"main": "./dist/index.cjs",
|
|
7
15
|
"module": "./dist/index.js",
|
|
@@ -25,12 +33,12 @@
|
|
|
25
33
|
"prepublishOnly": "npm run clean && npm run build"
|
|
26
34
|
},
|
|
27
35
|
"peerDependencies": {
|
|
28
|
-
"@mantine/core": "8.
|
|
29
|
-
"@mantine/hooks": "8.
|
|
30
|
-
"@tabler/icons-react": "3.
|
|
31
|
-
"react": "19.
|
|
32
|
-
"react-dom": "19.
|
|
33
|
-
"react-router": "7.
|
|
36
|
+
"@mantine/core": ">=8.0.0",
|
|
37
|
+
"@mantine/hooks": ">=8.0.0",
|
|
38
|
+
"@tabler/icons-react": ">=3.0.0",
|
|
39
|
+
"react": ">=19.0.0",
|
|
40
|
+
"react-dom": ">=19.0.0",
|
|
41
|
+
"react-router": ">=7.0.0"
|
|
34
42
|
},
|
|
35
43
|
"peerDependenciesMeta": {
|
|
36
44
|
"react-router": {
|