@manamerge/mana-atomic-ui 1.0.196 → 1.0.197
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 +59 -59
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/davidWeb/molecules/cardTeaser.ts +2 -3
- package/dist/themes/themes/manamerge/atoms/button.ts +3 -3
- package/dist/themes/themes/manamerge/miscellaneous/colorpalette.ts +2 -1
- package/dist/themes/themes/manamerge/molecules/accordion.ts +6 -1
- package/dist/themes/themes/manamerge/molecules/cardTeaser.ts +22 -20
- package/dist/themes/themes/manamerge/molecules/footer.ts +2 -7
- package/dist/themes/themes/manamerge/molecules/header.ts +1 -1
- package/dist/themes/themes/manamerge/molecules/navigation.ts +1 -6
- package/dist/types/components/Molecules/CardTeaser/CardTeaser.css.d.ts +0 -6
- package/dist/types/components/Molecules/CardTeaser/CardTeaser.d.ts +0 -1
- package/dist/types/components/Molecules/Navigation/Navigation.css.d.ts +3 -0
- package/dist/types/themes/DavidWebTheme.d.ts +5 -1
- package/dist/types/themes/ManamergeTheme.d.ts +10 -11
- package/dist/types/themes/davidWeb/molecules/cardTeaser.d.ts +0 -1
- package/dist/types/themes/manamerge/miscellaneous/colorpalette.d.ts +1 -0
- package/dist/types/themes/manamerge/molecules/accordion.d.ts +5 -0
- package/dist/types/themes/manamerge/molecules/cardTeaser.d.ts +4 -11
- 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
|
@@ -160,7 +160,6 @@ interface CardTeaserTypes {
|
|
|
160
160
|
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
161
161
|
checks?: string[];
|
|
162
162
|
svg?: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
163
|
-
backgroundSvg?: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
164
163
|
cardImageSrc?: string;
|
|
165
164
|
separator?: boolean;
|
|
166
165
|
}
|
package/dist/index.js
CHANGED
|
@@ -718,7 +718,7 @@ const NavBar = styled.nav `
|
|
|
718
718
|
width: auto;
|
|
719
719
|
right: 0;
|
|
720
720
|
left: 0;
|
|
721
|
-
z-index:
|
|
721
|
+
z-index: 20;
|
|
722
722
|
|
|
723
723
|
${({ theme, moleculeVariant }) => {
|
|
724
724
|
var _a;
|
|
@@ -772,15 +772,30 @@ const NavLinks = styled.div `
|
|
|
772
772
|
flex-direction: column;
|
|
773
773
|
text-align: right;
|
|
774
774
|
align-items: flex-end;
|
|
775
|
-
display:
|
|
775
|
+
display: flex;
|
|
776
|
+
|
|
776
777
|
width: 100%;
|
|
777
778
|
|
|
779
|
+
overflow: hidden;
|
|
780
|
+
transition:
|
|
781
|
+
max-height 0.55s ease,
|
|
782
|
+
opacity 0.55s ease,
|
|
783
|
+
transform 0.55s ease;
|
|
784
|
+
|
|
785
|
+
max-height: ${({ isOpen }) => (isOpen ? "400px" : "0px")};
|
|
786
|
+
opacity: ${({ isOpen }) => (isOpen ? 1 : 0)};
|
|
787
|
+
transform: ${({ isOpen }) => isOpen ? "translateY(0)" : "translateY(-10px)"};
|
|
788
|
+
|
|
778
789
|
${({ theme, moleculeVariant }) => {
|
|
779
790
|
var _a, _b, _c, _d;
|
|
780
791
|
const thisTheme = ((_d = (_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.navLinks) === null || _c === void 0 ? void 0 : _c.responsive) === null || _d === void 0 ? void 0 : _d.largeMobileUp) || {};
|
|
781
792
|
const { largeMobileUp } = theme.media;
|
|
782
793
|
return css `
|
|
783
794
|
${largeMobileUp} {
|
|
795
|
+
max-height: none;
|
|
796
|
+
opacity: 1;
|
|
797
|
+
transform: none;
|
|
798
|
+
|
|
784
799
|
margin: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.margin};
|
|
785
800
|
display: flex;
|
|
786
801
|
flex-direction: row;
|
|
@@ -844,6 +859,17 @@ const StyledLink$1 = styled(Link).attrs(({ theme, moleculeVariant }) => {
|
|
|
844
859
|
`;
|
|
845
860
|
}};
|
|
846
861
|
`;
|
|
862
|
+
const Backdrop = styled.div `
|
|
863
|
+
position: fixed;
|
|
864
|
+
inset: 0;
|
|
865
|
+
background: rgba(0, 0, 0, 0.3);
|
|
866
|
+
|
|
867
|
+
opacity: ${({ isOpen }) => (isOpen ? 1 : 0)};
|
|
868
|
+
pointer-events: ${({ isOpen }) => (isOpen ? "auto" : "none")};
|
|
869
|
+
|
|
870
|
+
transition: opacity 0.25s ease;
|
|
871
|
+
z-index: 10;
|
|
872
|
+
`;
|
|
847
873
|
|
|
848
874
|
const Navigation = ({ moleculeVariant = "primary", logo, onLogoClick, iconBurger, tabs }) => {
|
|
849
875
|
const location = useLocation();
|
|
@@ -853,9 +879,9 @@ const Navigation = ({ moleculeVariant = "primary", logo, onLogoClick, iconBurger
|
|
|
853
879
|
setIsOpen(!isOpen);
|
|
854
880
|
};
|
|
855
881
|
const compVariant = `Navigation-${moleculeVariant}`;
|
|
856
|
-
return (jsxs(NavBar, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant }, { children: [logo && (jsx(AtomIcon$3, { moleculeVariant: compVariant, svg: logo, onClick: onLogoClick, onKeyDown: onLogoClick, "aria-label": "Logo", tabIndex: 0, role: "button" })), jsxs("div", Object.assign({ style: { width: "100%" } }, { children: [jsx(BurgerWrapper, { children: jsx(AtomIcon$3, { moleculeVariant: compVariant, svg: iconBurger, onClick: handleToggle, onKeyDown: handleToggle, "aria-pressed": isOpen, "aria-label": "Burger", tabIndex: 0, role: "button" }) }), jsx(NavLinks, Object.assign({ isOpen: isOpen, moleculeVariant: compVariant }, { children: tabs.length > 0
|
|
857
|
-
|
|
858
|
-
|
|
882
|
+
return (jsxs(Fragment, { children: [jsx(Backdrop, { isOpen: isOpen, onClick: () => setIsOpen(false) }), jsxs(NavBar, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant }, { children: [logo && (jsx(AtomIcon$3, { moleculeVariant: compVariant, svg: logo, onClick: onLogoClick, onKeyDown: onLogoClick, "aria-label": "Logo", tabIndex: 0, role: "button" })), jsxs("div", Object.assign({ style: { width: "100%" } }, { children: [jsx(BurgerWrapper, { children: jsx(AtomIcon$3, { moleculeVariant: compVariant, svg: iconBurger, onClick: handleToggle, onKeyDown: handleToggle, "aria-pressed": isOpen, "aria-label": "Burger", tabIndex: 0, role: "button" }) }), jsx(NavLinks, Object.assign({ isOpen: isOpen, moleculeVariant: compVariant }, { children: tabs.length > 0
|
|
883
|
+
? tabs.map((tab) => (jsx(StyledLink$1, Object.assign({ moleculeVariant: compVariant, to: tab.to, currentPath: tab.to === currentPath, onClick: () => setIsOpen(false) }, { children: tab.label }), tab.label)))
|
|
884
|
+
: "no tabs available" }))] }))] }))] }));
|
|
859
885
|
};
|
|
860
886
|
|
|
861
887
|
// Wrapper for the footer
|
|
@@ -980,20 +1006,21 @@ const CardContainer = styled.div `
|
|
|
980
1006
|
var _a;
|
|
981
1007
|
const thisTheme = ((_a = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) || {};
|
|
982
1008
|
return css `
|
|
1009
|
+
background-image: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.background};
|
|
983
1010
|
border-radius: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.borderRadius};
|
|
984
1011
|
max-width: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.maxWidth};
|
|
985
1012
|
`;
|
|
986
1013
|
}}
|
|
1014
|
+
|
|
987
1015
|
display: flex;
|
|
988
1016
|
flex-direction: row;
|
|
989
1017
|
flex-wrap: nowrap;
|
|
990
1018
|
justify-content: space-between;
|
|
991
1019
|
`;
|
|
992
1020
|
const HeadingCompanyDate = styled(Heading).attrs(({ theme, moleculeVariant }) => {
|
|
993
|
-
var _a, _b, _c
|
|
1021
|
+
var _a, _b, _c;
|
|
994
1022
|
return ({
|
|
995
|
-
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.headingCompanyDate) === null || _c === void 0 ? void 0 : _c.variant
|
|
996
|
-
asTag: (_f = (_e = (_d = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _d === void 0 ? void 0 : _d[moleculeVariant]) === null || _e === void 0 ? void 0 : _e.headingCompanyDate) === null || _f === void 0 ? void 0 : _f.asTag
|
|
1023
|
+
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.headingCompanyDate) === null || _c === void 0 ? void 0 : _c.variant
|
|
997
1024
|
});
|
|
998
1025
|
}) `
|
|
999
1026
|
${({ theme, moleculeVariant }) => {
|
|
@@ -1010,12 +1037,19 @@ const HeadingCompanyDate = styled(Heading).attrs(({ theme, moleculeVariant }) =>
|
|
|
1010
1037
|
overflow: hidden;
|
|
1011
1038
|
`;
|
|
1012
1039
|
const HeadingTitle = styled(Heading).attrs(({ theme, moleculeVariant }) => {
|
|
1013
|
-
var _a, _b, _c
|
|
1040
|
+
var _a, _b, _c;
|
|
1014
1041
|
return ({
|
|
1015
|
-
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.headingTitle) === null || _c === void 0 ? void 0 : _c.variant
|
|
1016
|
-
asTag: (_f = (_e = (_d = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _d === void 0 ? void 0 : _d[moleculeVariant]) === null || _e === void 0 ? void 0 : _e.headingTitle) === null || _f === void 0 ? void 0 : _f.asTag
|
|
1042
|
+
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.headingTitle) === null || _c === void 0 ? void 0 : _c.variant
|
|
1017
1043
|
});
|
|
1018
|
-
})
|
|
1044
|
+
}) `
|
|
1045
|
+
${({ theme, moleculeVariant }) => {
|
|
1046
|
+
var _a, _b;
|
|
1047
|
+
const headingTheme = ((_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.headingTitle) || {};
|
|
1048
|
+
return css `
|
|
1049
|
+
color: ${headingTheme === null || headingTheme === void 0 ? void 0 : headingTheme.color};
|
|
1050
|
+
`;
|
|
1051
|
+
}}
|
|
1052
|
+
`;
|
|
1019
1053
|
const TextListItem = styled(Text).attrs(({ theme, moleculeVariant }) => {
|
|
1020
1054
|
var _a, _b, _c;
|
|
1021
1055
|
return ({
|
|
@@ -1026,6 +1060,7 @@ const TextListItem = styled(Text).attrs(({ theme, moleculeVariant }) => {
|
|
|
1026
1060
|
var _a, _b;
|
|
1027
1061
|
const thisTheme = ((_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.text) || {};
|
|
1028
1062
|
return css `
|
|
1063
|
+
color: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.color};
|
|
1029
1064
|
margin: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.margin};
|
|
1030
1065
|
`;
|
|
1031
1066
|
}}
|
|
@@ -1044,7 +1079,6 @@ const List = styled.ul `
|
|
|
1044
1079
|
`;
|
|
1045
1080
|
const ButtonCardContainer = styled.div `
|
|
1046
1081
|
align-self: center;
|
|
1047
|
-
margin-top: 15px;
|
|
1048
1082
|
${({ theme }) => theme.media.mobileUp} {
|
|
1049
1083
|
align-self: flex-start;
|
|
1050
1084
|
}
|
|
@@ -1087,7 +1121,6 @@ const LeftCardContainer = styled.div `
|
|
|
1087
1121
|
display: flex;
|
|
1088
1122
|
flex-direction: column;
|
|
1089
1123
|
width: 100%;
|
|
1090
|
-
z-index: 1;
|
|
1091
1124
|
${({ theme, moleculeVariant }) => {
|
|
1092
1125
|
var _a, _b, _c, _d, _e;
|
|
1093
1126
|
const leftCardContainer = ((_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.leftCardContainer) === null || _c === void 0 ? void 0 : _c.responsive) || {};
|
|
@@ -1145,24 +1178,11 @@ const Separator = styled.section `
|
|
|
1145
1178
|
}
|
|
1146
1179
|
`;
|
|
1147
1180
|
const IconCard = styled(Icon).attrs(({ theme, moleculeVariant }) => {
|
|
1148
|
-
var _a, _b, _c
|
|
1181
|
+
var _a, _b, _c;
|
|
1149
1182
|
return ({
|
|
1150
|
-
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.icon) === null || _c === void 0 ? void 0 : _c.variant
|
|
1151
|
-
fill: (_f = (_e = (_d = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _d === void 0 ? void 0 : _d[moleculeVariant]) === null || _e === void 0 ? void 0 : _e.icon) === null || _f === void 0 ? void 0 : _f.fill,
|
|
1152
|
-
stroke: (_j = (_h = (_g = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _g === void 0 ? void 0 : _g[moleculeVariant]) === null || _h === void 0 ? void 0 : _h.icon) === null || _j === void 0 ? void 0 : _j.stroke
|
|
1183
|
+
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.icon) === null || _c === void 0 ? void 0 : _c.variant
|
|
1153
1184
|
});
|
|
1154
|
-
})
|
|
1155
|
-
${({ theme, moleculeVariant }) => {
|
|
1156
|
-
var _a;
|
|
1157
|
-
const thisTheme = ((_a = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) || {};
|
|
1158
|
-
return css `
|
|
1159
|
-
&:hover {
|
|
1160
|
-
fill: ${thisTheme.icon.hover.fill};
|
|
1161
|
-
stroke: ${thisTheme.icon.hover.stroke};
|
|
1162
|
-
}
|
|
1163
|
-
`;
|
|
1164
|
-
}};
|
|
1165
|
-
`;
|
|
1185
|
+
}) ``;
|
|
1166
1186
|
const ButtonCard = styled(Button).attrs(({ theme, moleculeVariant }) => {
|
|
1167
1187
|
var _a, _b, _c;
|
|
1168
1188
|
return ({
|
|
@@ -1173,42 +1193,18 @@ const CardBackgroundColor = styled.div `
|
|
|
1173
1193
|
${({ theme, moleculeVariant }) => {
|
|
1174
1194
|
var _a;
|
|
1175
1195
|
const thisTheme = ((_a = theme === null || theme === void 0 ? void 0 : theme.cardTeaser) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) || {};
|
|
1176
|
-
const { largeMobileUp } = theme.media;
|
|
1177
1196
|
return css `
|
|
1178
|
-
|
|
1179
|
-
width: 500px;
|
|
1197
|
+
width: 100%;
|
|
1180
1198
|
border-radius: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.borderRadius};
|
|
1181
1199
|
max-width: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.maxWidth};
|
|
1182
1200
|
background: ${thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.gradientBackground};
|
|
1183
|
-
${largeMobileUp} {
|
|
1184
|
-
width: 100%;
|
|
1185
|
-
}
|
|
1186
1201
|
`;
|
|
1187
1202
|
}}
|
|
1188
1203
|
`;
|
|
1189
|
-
const GradientStyle = styled(Gradient).attrs(({ theme, moleculeVariant }) => {
|
|
1190
|
-
var _a, _b, _c;
|
|
1191
|
-
return ({
|
|
1192
|
-
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
|
|
1193
|
-
});
|
|
1194
|
-
}) ``;
|
|
1195
|
-
const BackgroundSvg = styled(Icon).attrs(({ theme, moleculeVariant }) => {
|
|
1196
|
-
var _a, _b, _c;
|
|
1197
|
-
return ({
|
|
1198
|
-
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.svgBackground) === null || _c === void 0 ? void 0 : _c.variant
|
|
1199
|
-
});
|
|
1200
|
-
}) `
|
|
1201
|
-
position: absolute;
|
|
1202
|
-
inset: 0;
|
|
1203
|
-
z-index: 0;
|
|
1204
|
-
width: 100%;
|
|
1205
|
-
height: 100%;
|
|
1206
|
-
border-radius: 25px;
|
|
1207
|
-
`;
|
|
1208
1204
|
|
|
1209
|
-
const CardTeaser = ({ moleculeVariant = "primary", company, year, title, checks, onClick, buttonName, svg,
|
|
1205
|
+
const CardTeaser = ({ moleculeVariant = "primary", company, year, title, checks, onClick, buttonName, svg, cardImageSrc, separator }) => {
|
|
1210
1206
|
const compVariant = "CardTeaser-" + moleculeVariant;
|
|
1211
|
-
return (
|
|
1207
|
+
return (jsx(CardBackgroundColor, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant }, { children: jsxs(CardContainer, Object.assign({ moleculeVariant: compVariant }, { children: [jsxs(LeftCardContainer, Object.assign({ moleculeVariant: compVariant }, { children: [(company || year) && (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" }) })] })) })));
|
|
1212
1208
|
};
|
|
1213
1209
|
|
|
1214
1210
|
const scroll = keyframes `
|
|
@@ -1484,6 +1480,7 @@ const AccordionTitle = styled.button `
|
|
|
1484
1480
|
const thisTheme = ((_a = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) || {};
|
|
1485
1481
|
return css `
|
|
1486
1482
|
all: unset;
|
|
1483
|
+
user-select: text;
|
|
1487
1484
|
width: 100%;
|
|
1488
1485
|
display: ${(thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.display) || "flex"};
|
|
1489
1486
|
align-items: ${(thisTheme === null || thisTheme === void 0 ? void 0 : thisTheme.alignItems) || "center"};
|
|
@@ -1532,13 +1529,16 @@ const AtomHeading = styled(Heading).attrs(({ theme, moleculeVariant }) => {
|
|
|
1532
1529
|
});
|
|
1533
1530
|
}) ``;
|
|
1534
1531
|
const AtomIcon = styled(Icon).attrs(({ theme, moleculeVariant }) => {
|
|
1535
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
1532
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
|
|
1536
1533
|
return ({
|
|
1537
1534
|
variant: (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.atomIcon) === null || _c === void 0 ? void 0 : _c.variant,
|
|
1538
1535
|
size: (_f = (_e = (_d = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _d === void 0 ? void 0 : _d[moleculeVariant]) === null || _e === void 0 ? void 0 : _e.atomIcon) === null || _f === void 0 ? void 0 : _f.size,
|
|
1539
1536
|
color: (_j = (_h = (_g = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _g === void 0 ? void 0 : _g[moleculeVariant]) === null || _h === void 0 ? void 0 : _h.atomIcon) === null || _j === void 0 ? void 0 : _j.color,
|
|
1540
1537
|
fill: (_m = (_l = (_k = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _k === void 0 ? void 0 : _k[moleculeVariant]) === null || _l === void 0 ? void 0 : _l.atomIcon) === null || _m === void 0 ? void 0 : _m.fill,
|
|
1541
|
-
stroke: (_q = (_p = (_o = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _o === void 0 ? void 0 : _o[moleculeVariant]) === null || _p === void 0 ? void 0 : _p.atomIcon) === null || _q === void 0 ? void 0 : _q.stroke
|
|
1538
|
+
stroke: (_q = (_p = (_o = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _o === void 0 ? void 0 : _o[moleculeVariant]) === null || _p === void 0 ? void 0 : _p.atomIcon) === null || _q === void 0 ? void 0 : _q.stroke,
|
|
1539
|
+
hoverColor: (_u = (_t = (_s = (_r = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _r === void 0 ? void 0 : _r[moleculeVariant]) === null || _s === void 0 ? void 0 : _s.atomIcon) === null || _t === void 0 ? void 0 : _t.hover) === null || _u === void 0 ? void 0 : _u.color,
|
|
1540
|
+
hoverFill: (_y = (_x = (_w = (_v = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _v === void 0 ? void 0 : _v[moleculeVariant]) === null || _w === void 0 ? void 0 : _w.atomIcon) === null || _x === void 0 ? void 0 : _x.hover) === null || _y === void 0 ? void 0 : _y.fill,
|
|
1541
|
+
hoverStroke: (_2 = (_1 = (_0 = (_z = theme === null || theme === void 0 ? void 0 : theme.accordion) === null || _z === void 0 ? void 0 : _z[moleculeVariant]) === null || _0 === void 0 ? void 0 : _0.atomIcon) === null || _1 === void 0 ? void 0 : _1.hover) === null || _2 === void 0 ? void 0 : _2.stroke
|
|
1542
1542
|
});
|
|
1543
1543
|
}) `
|
|
1544
1544
|
min-width: fit-content;
|