@manamerge/mana-atomic-ui 1.0.169 → 1.0.170
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/dist/index.js +14 -40
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/davidWeb/atoms/text.ts +1 -1
- package/dist/themes/themes/manamerge/atoms/icon.ts +19 -19
- package/dist/themes/themes/manamerge/atoms/text.ts +1 -1
- package/dist/themes/themes/manamerge/molecules/navigation.ts +9 -19
- package/dist/types/themes/ManamergeTheme.d.ts +1 -9
- package/dist/types/themes/manamerge/molecules/navigation.d.ts +1 -9
- package/package.json +1 -1
- package/dist/themes/themes/manamerge/fonts/Gilmer-Bold.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Heavy.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Light.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Medium.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Regular.woff2 +0 -0
- package/dist/types/components/Molecules/CardSimpleRender/CardSimpleRender.stories copy.d.ts +0 -11
package/dist/index.js
CHANGED
|
@@ -526,7 +526,7 @@ const WrapperBackground = styled.div `
|
|
|
526
526
|
);
|
|
527
527
|
|
|
528
528
|
opacity: 1;
|
|
529
|
-
transition: opacity
|
|
529
|
+
transition: opacity 3s ease;
|
|
530
530
|
pointer-events: none;
|
|
531
531
|
}
|
|
532
532
|
&:hover::before {
|
|
@@ -702,10 +702,6 @@ const Header = ({ moleculeVariant = "primary", iconTop, iconDot, buttonLeftIcon,
|
|
|
702
702
|
const NavBar = styled.nav `
|
|
703
703
|
display: flex;
|
|
704
704
|
align-items: flex-start;
|
|
705
|
-
position: absolute;
|
|
706
|
-
width: auto;
|
|
707
|
-
right: 0;
|
|
708
|
-
left: 0;
|
|
709
705
|
|
|
710
706
|
${({ theme, moleculeVariant }) => {
|
|
711
707
|
var _a;
|
|
@@ -716,11 +712,11 @@ const NavBar = styled.nav `
|
|
|
716
712
|
align-items: center;
|
|
717
713
|
}
|
|
718
714
|
gap: ${navigationTheme === null || navigationTheme === void 0 ? void 0 : navigationTheme.gap};
|
|
719
|
-
background: ${navigationTheme === null || navigationTheme === void 0 ? void 0 : navigationTheme.background};
|
|
720
|
-
height: ${navigationTheme === null || navigationTheme === void 0 ? void 0 : navigationTheme.height};
|
|
721
|
-
padding: ${navigationTheme === null || navigationTheme === void 0 ? void 0 : navigationTheme.padding};
|
|
715
|
+
background: ${(navigationTheme === null || navigationTheme === void 0 ? void 0 : navigationTheme.background) || "#333"};
|
|
722
716
|
`;
|
|
723
717
|
}}
|
|
718
|
+
|
|
719
|
+
padding: 1rem;
|
|
724
720
|
`;
|
|
725
721
|
const BurgerWrapper = styled.div `
|
|
726
722
|
flex-direction: column;
|
|
@@ -783,46 +779,24 @@ const StyledLink$1 = styled(Link).attrs(({ theme, moleculeVariant }) => {
|
|
|
783
779
|
variant: (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.navigation) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.atomLink) === null || _c === void 0 ? void 0 : _c.variant
|
|
784
780
|
});
|
|
785
781
|
}) `
|
|
786
|
-
position: relative;
|
|
787
|
-
|
|
788
782
|
${({ theme, moleculeVariant, currentPath }) => {
|
|
789
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
783
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
790
784
|
const linkTheme = ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.navigation) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.atomLink) || {};
|
|
791
785
|
return css `
|
|
786
|
+
color: ${currentPath
|
|
787
|
+
? ((_c = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.currentPath) === null || _c === void 0 ? void 0 : _c.color) || "#f0f"
|
|
788
|
+
: (linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.color) || "#0f0"};
|
|
792
789
|
font-weight: ${currentPath
|
|
793
|
-
? ((
|
|
790
|
+
? ((_d = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.currentPath) === null || _d === void 0 ? void 0 : _d.fontWeight) || "900"
|
|
794
791
|
: (linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.fontWeight) || "700"};
|
|
795
|
-
color: ${currentPath
|
|
796
|
-
? (_d = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.currentPath) === null || _d === void 0 ? void 0 : _d.color
|
|
797
|
-
: linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.color};
|
|
798
|
-
|
|
799
|
-
/* ---------- CENTER EXPANDING UNDERLINE ---------- */
|
|
800
|
-
&::after {
|
|
801
|
-
content: "";
|
|
802
|
-
position: absolute;
|
|
803
|
-
left: 0;
|
|
804
|
-
bottom: ${((_e = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.underline) === null || _e === void 0 ? void 0 : _e.bottom) || "2px"};
|
|
805
|
-
width: 100%;
|
|
806
|
-
height: ${((_f = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.underline) === null || _f === void 0 ? void 0 : _f.height) || "2px"};
|
|
807
|
-
background: ${(_g = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.underline) === null || _g === void 0 ? void 0 : _g.background};
|
|
808
|
-
transform: scaleX(${currentPath ? 1 : 0});
|
|
809
|
-
transform-origin: ${(_h = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.underline) === null || _h === void 0 ? void 0 : _h.transformOrigin};
|
|
810
|
-
transition: transform ${(_j = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.underline) === null || _j === void 0 ? void 0 : _j.transition};
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
&:hover::after {
|
|
814
|
-
transform: scaleX(1);
|
|
815
|
-
}
|
|
816
|
-
|
|
817
792
|
&:focus {
|
|
818
|
-
color: ${(
|
|
819
|
-
box-shadow: ${((
|
|
820
|
-
transform: ${((
|
|
793
|
+
color: ${((_e = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.focus) === null || _e === void 0 ? void 0 : _e.color) || "gold"};
|
|
794
|
+
box-shadow: ${((_f = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.focus) === null || _f === void 0 ? void 0 : _f.boxShadow) || "none"};
|
|
795
|
+
transform: ${((_g = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.focus) === null || _g === void 0 ? void 0 : _g.transform) || "none"};
|
|
821
796
|
}
|
|
822
797
|
&:hover {
|
|
823
|
-
color: ${(
|
|
824
|
-
transition: ${((
|
|
825
|
-
text-decoration: none;
|
|
798
|
+
color: ${((_h = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.hover) === null || _h === void 0 ? void 0 : _h.color) || "purple"};
|
|
799
|
+
transition: ${((_j = linkTheme === null || linkTheme === void 0 ? void 0 : linkTheme.hover) === null || _j === void 0 ? void 0 : _j.transition) || "none"};
|
|
826
800
|
}
|
|
827
801
|
`;
|
|
828
802
|
}};
|