@4alldigital/foundation-ui--core 3.11.0 → 3.12.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4alldigital/foundation-ui--core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.1",
|
|
4
4
|
"description": "Foundation UI Core Component Library (source distribution)",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
},
|
|
36
36
|
"author": "Joe Mewes",
|
|
37
37
|
"license": "MIT",
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "1a55ba11e1e4cb144af180cf1a48d44fd9f0c719"
|
|
39
39
|
}
|
|
@@ -96,7 +96,7 @@ const Header = ({
|
|
|
96
96
|
<div className="hidden md:flex items-center justify-center gap-2">
|
|
97
97
|
{!context?.app?.isAuthenticated && context?.app?.loginCallback && (
|
|
98
98
|
<div className="w-32 flex justify-end">
|
|
99
|
-
<Button onClick={context?.app?.loginCallback}>{T.UI.LOGIN}</Button>
|
|
99
|
+
<Button rounded onClick={context?.app?.loginCallback}>{T.UI.LOGIN}</Button>
|
|
100
100
|
</div>
|
|
101
101
|
)}
|
|
102
102
|
{!context?.app?.isAuthenticated && !context?.app?.loginCallback && (
|
|
@@ -160,12 +160,13 @@ const Header = ({
|
|
|
160
160
|
</div>
|
|
161
161
|
{context?.app?.isAuthenticated && (
|
|
162
162
|
<div className="md:hidden flex justify-center">
|
|
163
|
-
<Button onClick={context?.app?.logoutCallback}>{T.UI.LOGOUT}</Button>
|
|
163
|
+
<Button rounded onClick={context?.app?.logoutCallback}>{T.UI.LOGOUT}</Button>
|
|
164
164
|
</div>
|
|
165
165
|
)}
|
|
166
166
|
{!context?.app?.isAuthenticated && (
|
|
167
167
|
<div className="md:hidden flex justify-center">
|
|
168
168
|
<Button
|
|
169
|
+
rounded
|
|
169
170
|
onClick={() => {
|
|
170
171
|
context?.app?.loginCallback?.();
|
|
171
172
|
toggleMenuClass();
|
|
@@ -21,7 +21,7 @@ const Menu = ({ testID, title, links, inline = true, separators = false, classNa
|
|
|
21
21
|
return (
|
|
22
22
|
<div key={key} className='flex gap-0'>
|
|
23
23
|
<div className="relative py-2">
|
|
24
|
-
<Link href={link.url} className="flex gap-1">
|
|
24
|
+
<Link href={link.url} className="flex gap-1 transition-opacity hover:opacity-70">
|
|
25
25
|
{link.icon && <Icon name={link.icon} />}
|
|
26
26
|
{link.title && <div>{link.title}</div>}
|
|
27
27
|
</Link>
|