@manamerge/mana-atomic-ui 1.0.206 → 1.0.207
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.d.ts +0 -1
- package/dist/index.js +25 -41
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/manamerge/molecules/cardSimpleRender.ts +8 -6
- package/dist/themes/themes/manamerge/molecules/footer.ts +1 -5
- package/dist/types/components/Molecules/CardSimpleRender/CardSimpleRender.css.d.ts +1 -4
- package/dist/types/components/Molecules/CardSimpleRender/CardSimpleRender.d.ts +0 -1
- package/dist/types/themes/ManamergeTheme.d.ts +4 -6
- package/dist/types/themes/manamerge/molecules/cardSimpleRender.d.ts +4 -2
- package/dist/types/themes/manamerge/molecules/footer.d.ts +0 -4
- package/package.json +1 -1
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Bold.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Heavy.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Light.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Medium.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Regular.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Springwood/SpringwoodBrush-Italic.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Springwood/SpringwoodBrush-Regular.woff2 +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -175,7 +175,6 @@ declare const BreakerTape: React.FC<BreakerTapeTypes>;
|
|
|
175
175
|
interface CardSimpleRenderTypes {
|
|
176
176
|
moleculeVariant?: string;
|
|
177
177
|
icon?: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
178
|
-
backgroundSvg?: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
179
178
|
title?: string;
|
|
180
179
|
description?: string;
|
|
181
180
|
gradientPosition?: "center" | "top" | "bottom" | "left" | "right" | "top left" | "top right" | "bottom left" | "bottom right";
|
package/dist/index.js
CHANGED
|
@@ -921,8 +921,8 @@ const IconFooter = styled(Icon).attrs(({ theme, moleculeVariant }) => {
|
|
|
921
921
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
922
922
|
return ({
|
|
923
923
|
variant: (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.footer) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.icons) === null || _c === void 0 ? void 0 : _c.variant,
|
|
924
|
-
|
|
925
|
-
|
|
924
|
+
stroke: (_f = (_e = (_d = theme === null || theme === void 0 ? void 0 : theme.footer) === null || _d === void 0 ? void 0 : _d[moleculeVariant]) === null || _e === void 0 ? void 0 : _e.icons) === null || _f === void 0 ? void 0 : _f.stroke,
|
|
925
|
+
fill: (_j = (_h = (_g = theme === null || theme === void 0 ? void 0 : theme.footer) === null || _g === void 0 ? void 0 : _g[moleculeVariant]) === null || _h === void 0 ? void 0 : _h.icons) === null || _j === void 0 ? void 0 : _j.fill
|
|
926
926
|
});
|
|
927
927
|
}) ``;
|
|
928
928
|
const StyledGradient = styled(Gradient).attrs(({ theme, moleculeVariant }) => {
|
|
@@ -938,20 +938,27 @@ const StyledLink = styled(Link).attrs(({ theme, moleculeVariant }) => {
|
|
|
938
938
|
});
|
|
939
939
|
}) `
|
|
940
940
|
${({ theme, moleculeVariant }) => {
|
|
941
|
-
var _a, _b;
|
|
941
|
+
var _a, _b, _c, _d, _e, _f;
|
|
942
942
|
const themeFooter = (_a = theme === null || theme === void 0 ? void 0 : theme.footer) === null || _a === void 0 ? void 0 : _a[moleculeVariant];
|
|
943
943
|
const linksTheme = (themeFooter === null || themeFooter === void 0 ? void 0 : themeFooter.links) || {};
|
|
944
|
-
const iconsTheme = (
|
|
944
|
+
const iconsTheme = (themeFooter === null || themeFooter === void 0 ? void 0 : themeFooter.icons) || {};
|
|
945
|
+
const iconCustomVariant = (iconsTheme === null || iconsTheme === void 0 ? void 0 : iconsTheme.variant) || {};
|
|
946
|
+
const iconsClientThemeVariant = (theme === null || theme === void 0 ? void 0 : theme.icon["Icon-" + iconCustomVariant]) || {};
|
|
945
947
|
return css `
|
|
946
948
|
color: ${linksTheme === null || linksTheme === void 0 ? void 0 : linksTheme.color};
|
|
947
949
|
display: flex;
|
|
948
950
|
align-items: center;
|
|
949
951
|
&:hover {
|
|
952
|
+
color: ${(_b = linksTheme === null || linksTheme === void 0 ? void 0 : linksTheme.hover) === null || _b === void 0 ? void 0 : _b.color};
|
|
953
|
+
transition: 0.2s;
|
|
950
954
|
text-decoration: none;
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
+
svg {
|
|
956
|
+
transition: 0.2s;
|
|
957
|
+
fill: ${((_c = iconsTheme.hover) === null || _c === void 0 ? void 0 : _c.color) ||
|
|
958
|
+
((_d = iconsClientThemeVariant === null || iconsClientThemeVariant === void 0 ? void 0 : iconsClientThemeVariant.hover) === null || _d === void 0 ? void 0 : _d.color)};
|
|
959
|
+
stroke: ${((_e = iconsTheme.hover) === null || _e === void 0 ? void 0 : _e.stroke) ||
|
|
960
|
+
((_f = iconsClientThemeVariant === null || iconsClientThemeVariant === void 0 ? void 0 : iconsClientThemeVariant.hover) === null || _f === void 0 ? void 0 : _f.stroke)};
|
|
961
|
+
}
|
|
955
962
|
}
|
|
956
963
|
`;
|
|
957
964
|
}}
|
|
@@ -1212,7 +1219,7 @@ const GradientStyle = styled(Gradient).attrs(({ theme, moleculeVariant }) => {
|
|
|
1212
1219
|
variant: (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.gradient) === null || _c === void 0 ? void 0 : _c.variant
|
|
1213
1220
|
});
|
|
1214
1221
|
}) ``;
|
|
1215
|
-
const BackgroundSvg
|
|
1222
|
+
const BackgroundSvg = styled(Icon) `
|
|
1216
1223
|
${({ theme, moleculeVariant }) => {
|
|
1217
1224
|
var _a;
|
|
1218
1225
|
const thisTheme = ((_a = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) || {};
|
|
@@ -1229,7 +1236,7 @@ const BackgroundSvg$1 = styled(Icon) `
|
|
|
1229
1236
|
|
|
1230
1237
|
const CardTeaser = ({ moleculeVariant = "primary", company, year, title, checks, onClick, buttonName, svg, backgroundSvg, cardImageSrc, separator }) => {
|
|
1231
1238
|
const compVariant = "CardTeaser-" + moleculeVariant;
|
|
1232
|
-
return (jsxs(CardBackgroundColor, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant }, { children: [backgroundSvg && (jsx(BackgroundSvg
|
|
1239
|
+
return (jsxs(CardBackgroundColor, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant }, { children: [backgroundSvg && (jsx(BackgroundSvg, { moleculeVariant: compVariant, svg: backgroundSvg })), jsxs(CardContainer, Object.assign({ moleculeVariant: compVariant }, { children: [jsxs(LeftCardContainer, Object.assign({ moleculeVariant: compVariant }, { children: [(company || year) && (jsx(GradientStyle, Object.assign({ moleculeVariant: "primary" }, { children: jsxs(HeadingCompanyDate, Object.assign({ moleculeVariant: compVariant }, { children: [company, " ", company && year && "•", " ", year] })) }))), jsx(HeadingTitle, Object.assign({ moleculeVariant: compVariant }, { children: title })), separator && jsx(Separator, { moleculeVariant: compVariant }), jsx(List, Object.assign({ moleculeVariant: compVariant }, { children: checks === null || checks === void 0 ? void 0 : checks.map((check, index) => (jsxs(ListItem, Object.assign({ moleculeVariant: compVariant }, { children: [svg && (jsx(IconCard, { moleculeVariant: compVariant, svg: svg })), jsx(TextListItem, Object.assign({ moleculeVariant: compVariant }, { children: check }))] }), index))) })), buttonName && buttonName.length > 0 && (jsx(ButtonCardContainer, { children: jsx(ButtonCard, Object.assign({ moleculeVariant: compVariant, onClick: onClick }, { children: buttonName })) }))] })), jsx(ImageContainer, { children: jsx(Image, { moleculeVariant: compVariant, src: cardImageSrc, alt: "Experience" }) })] }))] })));
|
|
1233
1240
|
};
|
|
1234
1241
|
|
|
1235
1242
|
const scroll = keyframes `
|
|
@@ -1345,9 +1352,7 @@ const Card$1 = styled.div `
|
|
|
1345
1352
|
background: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.background};
|
|
1346
1353
|
${gradientPosition &&
|
|
1347
1354
|
css `
|
|
1348
|
-
|
|
1349
|
-
overflow: hidden;
|
|
1350
|
-
background:
|
|
1355
|
+
background-image:
|
|
1351
1356
|
radial-gradient(
|
|
1352
1357
|
circle at ${gradientPosition},
|
|
1353
1358
|
${thisTheme.gradientColor}25,
|
|
@@ -1397,21 +1402,15 @@ const WrapperLine = styled.div `
|
|
|
1397
1402
|
width: fit-content;
|
|
1398
1403
|
text-align: center;
|
|
1399
1404
|
gap: 10px;
|
|
1400
|
-
|
|
1401
|
-
${({ theme, moleculeVariant }) => {
|
|
1402
|
-
var _a, _b;
|
|
1403
|
-
const thisTheme = ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.atomHeading) || {};
|
|
1404
|
-
return css `
|
|
1405
|
-
margin: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.margin};
|
|
1406
|
-
`;
|
|
1407
|
-
}}
|
|
1408
1405
|
`;
|
|
1409
1406
|
const AtomIcon$2 = styled(Icon).attrs(({ theme, moleculeVariant }) => {
|
|
1410
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1407
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
1411
1408
|
return ({
|
|
1412
1409
|
variant: (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.atomIcon) === null || _c === void 0 ? void 0 : _c.variant,
|
|
1413
1410
|
fill: (_f = (_e = (_d = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _d === void 0 ? void 0 : _d[moleculeVariant]) === null || _e === void 0 ? void 0 : _e.atomIcon) === null || _f === void 0 ? void 0 : _f.fill,
|
|
1414
|
-
stroke: (_j = (_h = (_g = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _g === void 0 ? void 0 : _g[moleculeVariant]) === null || _h === void 0 ? void 0 : _h.atomIcon) === null || _j === void 0 ? void 0 : _j.stroke
|
|
1411
|
+
stroke: (_j = (_h = (_g = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _g === void 0 ? void 0 : _g[moleculeVariant]) === null || _h === void 0 ? void 0 : _h.atomIcon) === null || _j === void 0 ? void 0 : _j.stroke,
|
|
1412
|
+
hoverFill: (_m = (_l = (_k = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _k === void 0 ? void 0 : _k[moleculeVariant]) === null || _l === void 0 ? void 0 : _l.atomIcon) === null || _m === void 0 ? void 0 : _m.hoverFill,
|
|
1413
|
+
hoverStroke: (_q = (_p = (_o = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _o === void 0 ? void 0 : _o[moleculeVariant]) === null || _p === void 0 ? void 0 : _p.atomIcon) === null || _q === void 0 ? void 0 : _q.hoverStroke
|
|
1415
1414
|
});
|
|
1416
1415
|
}) `
|
|
1417
1416
|
min-width: fit-content;
|
|
@@ -1428,26 +1427,11 @@ const AtomText$2 = styled(Text).attrs(({ theme, moleculeVariant }) => {
|
|
|
1428
1427
|
return ({
|
|
1429
1428
|
variant: (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.atomText) === null || _c === void 0 ? void 0 : _c.variant
|
|
1430
1429
|
});
|
|
1431
|
-
})
|
|
1432
|
-
${({ theme, moleculeVariant }) => {
|
|
1433
|
-
var _a, _b;
|
|
1434
|
-
const thisTheme = ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.cardSimpleRender) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.atomText) || {};
|
|
1435
|
-
return css `
|
|
1436
|
-
margin: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.margin};
|
|
1437
|
-
`;
|
|
1438
|
-
}}
|
|
1439
|
-
`;
|
|
1440
|
-
const BackgroundSvg = styled(Icon) `
|
|
1441
|
-
position: absolute;
|
|
1442
|
-
inset: 0;
|
|
1443
|
-
z-index: -1;
|
|
1444
|
-
width: 100%;
|
|
1445
|
-
height: 100%;
|
|
1446
|
-
`;
|
|
1430
|
+
}) ``;
|
|
1447
1431
|
|
|
1448
|
-
const CardSimpleRender = ({ moleculeVariant = "primary", icon,
|
|
1432
|
+
const CardSimpleRender = ({ moleculeVariant = "primary", icon, title, description, gradientPosition, children, onClick }) => {
|
|
1449
1433
|
const compVariant = `CardSimpleRender-${moleculeVariant}`;
|
|
1450
|
-
return (jsxs(Card$1, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant, as: onClick ? "button" : "div", onClick: onClick, cardHover: !!onClick, gradientPosition: gradientPosition }, { children: [
|
|
1434
|
+
return (jsxs(Card$1, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant, as: onClick ? "button" : "div", onClick: onClick, cardHover: !!onClick, gradientPosition: gradientPosition }, { children: [(icon || title || description) && (jsxs("div", { children: [(icon || title) && (jsxs(WrapperLine, { children: [icon && (jsx(AtomIcon$2, { moleculeVariant: compVariant, svg: icon })), title && (jsx(AtomHeading$2, Object.assign({ moleculeVariant: compVariant }, { children: title })))] })), description && (jsx(AtomText$2, Object.assign({ moleculeVariant: compVariant }, { children: description })))] })), children] })));
|
|
1451
1435
|
};
|
|
1452
1436
|
|
|
1453
1437
|
const Card = styled.div `
|