@factorearth/component-library 3.6.5-alpha.0 → 3.6.7-alpha.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { Colors } from "../../Theme/types";
|
|
3
3
|
interface NavBarProps {
|
|
4
4
|
colorPalette: Colors & string;
|
|
@@ -18,6 +18,7 @@ interface appInfo {
|
|
|
18
18
|
name: string;
|
|
19
19
|
versionNum: string;
|
|
20
20
|
headerLogo?: string;
|
|
21
|
+
logoOnClick: () => void;
|
|
21
22
|
menuLogo?: string;
|
|
22
23
|
menuLogoDark?: string;
|
|
23
24
|
copyRight?: string;
|
|
@@ -1,119 +1,120 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import React, { useState, useMemo } from
|
|
3
|
-
import { FiMenu, FiCloud, FiCloudOff, FiSun, FiMoon, FiChevronRight, FiX } from "react-icons/fi";
|
|
2
|
+
import React, { useState, useMemo } from "react";
|
|
3
|
+
import { FiMenu, FiCloud, FiCloudOff, FiSun, FiMoon, FiChevronRight, FiX, } from "react-icons/fi";
|
|
4
4
|
import Toggle from "../../Atoms/Toggle/Toggle";
|
|
5
5
|
const NavMenu = styled.div `
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
display: flex;
|
|
7
|
+
width: 320px;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
background: ${({ colorPalette }) => colorPalette.background.primary};
|
|
10
10
|
`;
|
|
11
11
|
const NavBarHeader = styled.div `
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
display: flex;
|
|
13
|
+
padding: 24px 0px 24px 24px;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: 16px;
|
|
16
|
+
border-width: 0 0 1px 0;
|
|
17
|
+
border-style: solid;
|
|
18
|
+
border-color: ${({ colorPalette }) => colorPalette.background.secondary};
|
|
19
|
+
width: 320px;
|
|
19
20
|
`;
|
|
20
21
|
const OnlineStatus = styled.div `
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
display: flex;
|
|
23
|
+
padding: 8px 12px;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
border-radius: 32px;
|
|
28
|
+
font-weight: 700;
|
|
29
|
+
border-width: 1px;
|
|
30
|
+
border-style: solid;
|
|
31
|
+
border-color: ${({ colorPalette }) => colorPalette.buttonBackground.success};
|
|
32
|
+
color: ${({ colorPalette }) => colorPalette.buttonBackground.success};
|
|
33
|
+
background: #ebfaed;
|
|
33
34
|
`;
|
|
34
35
|
const OfflineStatus = styled.div `
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
display: flex;
|
|
37
|
+
padding: 8px 12px;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 8px;
|
|
41
|
+
border-radius: 32px;
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
border-width: 1px;
|
|
44
|
+
border-style: solid;
|
|
45
|
+
border-color: ${({ colorPalette }) => colorPalette.text.secondary};
|
|
46
|
+
color: ${({ colorPalette }) => colorPalette.text.secondary};
|
|
46
47
|
`;
|
|
47
48
|
const DropdownContainer = styled.div `
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
align-items: flex-start;
|
|
52
|
+
align-self: stretch;
|
|
53
|
+
font-size: 14px;
|
|
54
|
+
font-weight: 700;
|
|
55
|
+
line-height: 21px;
|
|
56
|
+
padding: 0 16px 24px;
|
|
57
|
+
border-width: 0 0 1px 0;
|
|
58
|
+
border-style: solid;
|
|
59
|
+
border-color: ${({ colorPalette }) => colorPalette.background.secondary};
|
|
60
|
+
color: ${({ colorPalette }) => colorPalette.text.primary};
|
|
60
61
|
`;
|
|
61
62
|
const MenuItems = styled.div `
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
align-items: flex-start;
|
|
64
|
+
align-self: stretch;
|
|
64
65
|
`;
|
|
65
66
|
const MenuItem = styled.div `
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
67
|
+
display: flex;
|
|
68
|
+
padding: 8px 16px;
|
|
69
|
+
align-items: center;
|
|
70
|
+
color: ${({ colorPalette }) => colorPalette.text.tertiary};
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
border-width: 0 0 1px 0;
|
|
73
|
+
border-style: solid;
|
|
74
|
+
border-color: ${({ colorPalette }) => colorPalette.background.secondary};
|
|
75
|
+
width: 288px;
|
|
76
|
+
cursor: pointer;
|
|
76
77
|
`;
|
|
77
78
|
const Location = styled.div `
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: 10px;
|
|
82
|
+
flex: 1 0 0;
|
|
83
|
+
font-size: 16px;
|
|
84
|
+
line-height: 150%;
|
|
84
85
|
`;
|
|
85
86
|
const Toggles = styled.div `
|
|
86
|
-
|
|
87
|
+
padding: 24px 0px;
|
|
87
88
|
`;
|
|
88
89
|
const AppInfo = styled.div `
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
padding: 16px;
|
|
91
|
+
width: 288px;
|
|
92
|
+
background: ${({ colorPalette }) => colorPalette.background.tertiary};
|
|
92
93
|
`;
|
|
93
94
|
const LogoAndCopyRights = styled.div `
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
display: flex;
|
|
96
|
+
gap: 16px;
|
|
97
|
+
margin-bottom: 12px;
|
|
98
|
+
color: ${({ colorPalette }) => colorPalette.text.primary};
|
|
98
99
|
`;
|
|
99
100
|
const CopyRights = styled.div `
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
font-size: 12px;
|
|
102
|
+
font-style: normal;
|
|
103
|
+
font-weight: 400;
|
|
104
|
+
line-height: 55%;
|
|
104
105
|
`;
|
|
105
106
|
const Version = styled.div `
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
text-align: center;
|
|
108
|
+
font-size: 14px;
|
|
109
|
+
font-weight: 400;
|
|
110
|
+
color: ${({ colorPalette }) => colorPalette.text.primary};
|
|
110
111
|
`;
|
|
111
112
|
const NavBar = (props) => {
|
|
112
113
|
const { colorPalette, locations, appInfo } = props;
|
|
113
114
|
const [navOpen, setNavOpen] = useState(false);
|
|
114
115
|
const locationsList = useMemo(() => {
|
|
115
116
|
const buildNavElements = (locations) => {
|
|
116
|
-
const locationsJsx = locations.map(location => {
|
|
117
|
+
const locationsJsx = locations.map((location) => {
|
|
117
118
|
return (React.createElement(MenuItem, { colorPalette: colorPalette, onClick: location.onClick, key: location.name },
|
|
118
119
|
React.createElement(Location, null,
|
|
119
120
|
location?.icon,
|
|
@@ -126,44 +127,56 @@ const NavBar = (props) => {
|
|
|
126
127
|
}, [locations, colorPalette]);
|
|
127
128
|
return (React.createElement(NavMenu, { colorPalette: colorPalette },
|
|
128
129
|
React.createElement(NavBarHeader, { colorPalette: colorPalette },
|
|
129
|
-
React.createElement("div", { style: { cursor: "pointer" }, id: "Navigation", onClick: () => {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
React.createElement(
|
|
135
|
-
|
|
136
|
-
|
|
130
|
+
React.createElement("div", { style: { cursor: "pointer" }, id: "Navigation", onClick: () => {
|
|
131
|
+
setNavOpen(!navOpen);
|
|
132
|
+
} }, navOpen ? (React.createElement(FiX, { size: 24, color: colorPalette.text.primary })) : (React.createElement(FiMenu, { size: 24, color: colorPalette.text.primary }))),
|
|
133
|
+
appInfo.headerLogo && (React.createElement("img", { src: appInfo.headerLogo, alt: "FactoEarth Logo", style: { width: "40px", cursor: "pointer" }, onClick: appInfo.logoOnClick })),
|
|
134
|
+
appInfo.offlineCapable &&
|
|
135
|
+
(appInfo.online ? (React.createElement(OnlineStatus, { colorPalette: colorPalette },
|
|
136
|
+
React.createElement(FiCloud, null),
|
|
137
|
+
"Online")) : (React.createElement(OfflineStatus, { colorPalette: colorPalette },
|
|
138
|
+
React.createElement(FiCloudOff, null),
|
|
139
|
+
"Offline")))),
|
|
140
|
+
navOpen && (React.createElement("div", { style: {
|
|
141
|
+
width: "320px",
|
|
142
|
+
position: "fixed",
|
|
143
|
+
top: "90px",
|
|
144
|
+
zIndex: "1000",
|
|
145
|
+
boxShadow: "5px 5px 5px rgba(64, 64, 64, 0.2)",
|
|
146
|
+
backgroundColor: colorPalette.background.primary,
|
|
147
|
+
} },
|
|
137
148
|
appInfo.dropdown && appInfo.dropdown.dropdownComponent,
|
|
138
149
|
React.createElement(MenuItems, null, locationsList),
|
|
139
150
|
React.createElement(Toggles, { className: "toggles" },
|
|
140
|
-
appInfo.offlineCapable && React.createElement(Toggle, { colorPalette: colorPalette, modes: [
|
|
151
|
+
appInfo.offlineCapable && (React.createElement(Toggle, { colorPalette: colorPalette, modes: [
|
|
141
152
|
{
|
|
142
153
|
mode: "Offline",
|
|
143
|
-
icon: React.createElement(FiCloudOff, null)
|
|
154
|
+
icon: React.createElement(FiCloudOff, null),
|
|
144
155
|
},
|
|
145
156
|
{
|
|
146
157
|
mode: "Online",
|
|
147
|
-
icon: React.createElement(FiCloud, null)
|
|
148
|
-
}
|
|
149
|
-
], setState: appInfo.setOnline, state: appInfo.online }),
|
|
158
|
+
icon: React.createElement(FiCloud, null),
|
|
159
|
+
},
|
|
160
|
+
], setState: appInfo.setOnline, state: appInfo.online })),
|
|
150
161
|
React.createElement(Toggle, { colorPalette: colorPalette, modes: [
|
|
151
162
|
{
|
|
152
163
|
mode: "Dark",
|
|
153
|
-
icon: React.createElement(FiMoon, null)
|
|
164
|
+
icon: React.createElement(FiMoon, null),
|
|
154
165
|
},
|
|
155
166
|
{
|
|
156
167
|
mode: "Light",
|
|
157
|
-
icon: React.createElement(FiSun, null)
|
|
158
|
-
}
|
|
168
|
+
icon: React.createElement(FiSun, null),
|
|
169
|
+
},
|
|
159
170
|
], setState: appInfo.setTheme, state: appInfo.theme })),
|
|
160
171
|
React.createElement("div", null,
|
|
161
172
|
React.createElement(AppInfo, { colorPalette: colorPalette },
|
|
162
173
|
React.createElement(LogoAndCopyRights, { colorPalette: colorPalette },
|
|
163
|
-
appInfo.menuLogo && React.createElement("img", { src: colorPalette.theme === "light"
|
|
164
|
-
|
|
174
|
+
appInfo.menuLogo && (React.createElement("img", { src: colorPalette.theme === "light"
|
|
175
|
+
? appInfo.menuLogo
|
|
176
|
+
: appInfo.menuLogoDark, alt: "FactoEarth Logo", style: { width: "100px", height: "42.577px" } })),
|
|
177
|
+
appInfo.copyRight && (React.createElement(CopyRights, null,
|
|
165
178
|
React.createElement("p", null, appInfo.copyRight),
|
|
166
|
-
React.createElement("p", null, "All Rights Reserved."))),
|
|
179
|
+
React.createElement("p", null, "All Rights Reserved.")))),
|
|
167
180
|
React.createElement(Version, { colorPalette: colorPalette },
|
|
168
181
|
appInfo.name,
|
|
169
182
|
" ",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenu.js","sourceRoot":"","sources":["../../../lib/Molecules/NavMenu/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,
|
|
1
|
+
{"version":3,"file":"NavMenu.js","sourceRoot":"","sources":["../../../lib/Molecules/NavMenu/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EACN,MAAM,EACN,OAAO,EACP,UAAU,EACV,KAAK,EACL,MAAM,EACN,cAAc,EACd,GAAG,GACH,MAAM,gBAAgB,CAAC;AACxB,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAqC/C,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAA0B;;;;eAIrC,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,OAAO;CACnE,CAAC;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAA0B;;;;;;;iBAOxC,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS;;CAEvE,CAAC;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAA0B;;;;;;;;;;iBAUxC,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,OAAO;UAClE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,OAAO;;CAEpE,CAAC;AAEF,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAA0B;;;;;;;;;;iBAUzC,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,YA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jB;qBACD,EACD,QAAQ,EAAE,OAAO,CAAC,SAAS,EAC3B,KAAK,EAAE,OAAO,CAAC,MAAM,GACpB,CACF;gBACD,oBAAC,MAAM,IACN,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE;wBACN;4BACC,IAAI,EAAE,MAAM;4BACZ,IAAI,EAAE,oBAAC,MAAM,OAAG;yBAChB;wBACD;4BACC,IAAI,EAAE,OAAO;4BACb,IAAI,EAAE,oBAAC,KAAK,OAAG;yBACf;qBACD,EACD,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAC1B,KAAK,EAAE,OAAO,CAAC,KAAK,GACnB,CACO;YACV;gBACC,oBAAC,OAAO,IAAC,YAAY,EAAE,YAAY;oBAClC,oBAAC,iBAAiB,IAAC,YAAY,EAAE,YAAY;wBAC3C,OAAO,CAAC,QAAQ,IAAI,CACpB,6BACC,GAAG,EACF,YAAY,CAAC,KAAK,KAAK,OAAO;gCAC7B,CAAC,CAAC,OAAO,CAAC,QAAQ;gCAClB,CAAC,CAAC,OAAO,CAAC,YAAY,EAExB,GAAG,EAAC,iBAAiB,EACrB,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,GAC5C,CACF;wBACA,OAAO,CAAC,SAAS,IAAI,CACrB,oBAAC,UAAU;4BACV,+BAAI,OAAO,CAAC,SAAS,CAAK;4BAC1B,sDAA2B,CACf,CACb,CACkB;oBACpB,oBAAC,OAAO,IAAC,YAAY,EAAE,YAAY;wBACjC,OAAO,CAAC,IAAI;;wBAAG,OAAO,CAAC,UAAU,CACzB,CACD,CACL,CACD,CACN,CACQ,CACV,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorearth/component-library",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.7-alpha.0",
|
|
4
4
|
"description": " A storybook component library for FactorEarth",
|
|
5
5
|
"author": "madtrx <marlin.makori@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/FactorEarth/RecordMiddleware#readme",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.org/"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "5c5deb13135eabaa4ecaa02c571e31f20edcb315",
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@emotion/react": "^11.13.0",
|
|
52
52
|
"@emotion/styled": "^11.13.0",
|