@manamerge/mana-atomic-ui 1.0.154 → 1.0.155
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/DavidWebTheme.ts +42 -28
- package/dist/themes/themes/davidWeb/atoms/heading.ts +24 -164
- package/dist/themes/themes/davidWeb/atoms/text.ts +20 -46
- package/dist/themes/themes/davidWeb/fonts/index.js +7 -10
- package/dist/themes/themes/manamerge/molecules/breakerTape.ts +11 -7
- package/dist/themes/themes/manamerge/molecules/header.ts +1 -1
- package/dist/types/themes/DavidWebTheme.d.ts +76 -358
- package/dist/types/themes/ManamergeTheme.d.ts +2 -1
- package/dist/types/themes/davidWeb/atoms/heading.d.ts +6 -144
- package/dist/types/themes/davidWeb/atoms/text.d.ts +15 -37
- package/dist/types/themes/manamerge/molecules/breakerTape.d.ts +2 -1
- 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
|
@@ -151,7 +151,7 @@ const TextContainer = styled.p `
|
|
|
151
151
|
font-weight: ${(props === null || props === void 0 ? void 0 : props.fontWeight) ||
|
|
152
152
|
(textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontWeight) ||
|
|
153
153
|
"regular"};
|
|
154
|
-
font-family: ${textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontFamily};
|
|
154
|
+
font-family: ${(textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontFamily) || "inherit"};
|
|
155
155
|
font-style: ${(textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontStyle) || "normal"};
|
|
156
156
|
color: ${(props === null || props === void 0 ? void 0 : props.vColor) || (textStyles === null || textStyles === void 0 ? void 0 : textStyles.vColor) || "inherit"};
|
|
157
157
|
`;
|
|
@@ -1208,6 +1208,7 @@ const TextBreakerTape = styled(Text).attrs(({ theme, moleculeVariant }) => {
|
|
|
1208
1208
|
const textTheme = ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.breakerTape) === null || _a === void 0 ? void 0 : _a[moleculeVariant]) === null || _b === void 0 ? void 0 : _b.text) || {};
|
|
1209
1209
|
return css `
|
|
1210
1210
|
color: ${textTheme === null || textTheme === void 0 ? void 0 : textTheme.color};
|
|
1211
|
+
font-size: ${textTheme === null || textTheme === void 0 ? void 0 : textTheme.fontSize};
|
|
1211
1212
|
`;
|
|
1212
1213
|
}}
|
|
1213
1214
|
`;
|
|
@@ -1289,7 +1290,7 @@ const AtomText$2 = styled(Text).attrs(({ theme, moleculeVariant }) => {
|
|
|
1289
1290
|
|
|
1290
1291
|
const CardSimpleRender = ({ moleculeVariant = "primary", icon, title, description, children, onClick }) => {
|
|
1291
1292
|
const compVariant = `CardSimpleRender-${moleculeVariant}`;
|
|
1292
|
-
return (jsxs(Card$1, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant, as: onClick ? "button" : "div", onClick: onClick, cardHover: !!onClick }, { children: [
|
|
1293
|
+
return (jsxs(Card$1, Object.assign({ className: classNames(compVariant), moleculeVariant: compVariant, as: onClick ? "button" : "div", onClick: onClick, cardHover: !!onClick }, { children: [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] })));
|
|
1293
1294
|
};
|
|
1294
1295
|
|
|
1295
1296
|
const Card = styled.div `
|