@xelto.npm/xc2-lib 0.0.22 → 0.0.24
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/cjs/index.js +4 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/appTile/AppTileComponent.d.ts +2 -1
- package/dist/esm/index.js +4 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/appTile/AppTileComponent.d.ts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -2
package/dist/cjs/index.js
CHANGED
|
@@ -10495,17 +10495,15 @@ var TypographyComponent = function (_a) {
|
|
|
10495
10495
|
return (jsxRuntime.exports.jsx(StyledTypography, __assign({ ref: forwardedRef }, props, { className: typeClassName }, { children: text })));
|
|
10496
10496
|
};
|
|
10497
10497
|
|
|
10498
|
-
// import Illustration from "../../components_old/foundations/illustration/Illustration";
|
|
10499
|
-
// import TypographyComponent from "../typography/Typography";
|
|
10500
10498
|
var StyledAppTileWrapper = styled(Box)(function (_a) {
|
|
10501
10499
|
return ({
|
|
10502
10500
|
boxSizing: 'border-box',
|
|
10503
10501
|
width: '100%',
|
|
10504
10502
|
minHeight: '177px',
|
|
10505
10503
|
padding: '30px 45px 30px 15px',
|
|
10506
|
-
|
|
10504
|
+
border: "1px solid ".concat(theme.mainPallete.primary.blue),
|
|
10507
10505
|
borderRadius: '12px',
|
|
10508
|
-
|
|
10506
|
+
backgroundColor: theme.mainPallete.primary.white,
|
|
10509
10507
|
display: 'flex',
|
|
10510
10508
|
justifyContent: 'space-between',
|
|
10511
10509
|
alignItems: 'center',
|
|
@@ -10539,8 +10537,8 @@ var StyledHeaderDescriptionWrapper = styled(Box)(function (_a) {
|
|
|
10539
10537
|
});
|
|
10540
10538
|
// @ts-ignore
|
|
10541
10539
|
var AppTileComponent = function (_a) {
|
|
10542
|
-
var header = _a.header, illustrationName = _a.illustrationName, forwardedRef = _a.forwardedRef, isBigType = _a.isBigType, size = _a.size, color = _a.color;
|
|
10543
|
-
return (jsxRuntime.exports.jsxs(StyledAppTileWrapper, { children: [jsxRuntime.exports.jsx(Illustration, { illustrationName: illustrationName, color: color, size: size, isBigType: isBigType }), jsxRuntime.exports.
|
|
10540
|
+
var header = _a.header, description = _a.description, illustrationName = _a.illustrationName, forwardedRef = _a.forwardedRef, isBigType = _a.isBigType, size = _a.size, color = _a.color;
|
|
10541
|
+
return (jsxRuntime.exports.jsxs(StyledAppTileWrapper, { children: [jsxRuntime.exports.jsx(Illustration, { illustrationName: illustrationName, color: color, size: size, isBigType: isBigType }), jsxRuntime.exports.jsxs(StyledHeaderDescriptionWrapper, { children: [jsxRuntime.exports.jsx(TypographyComponent, { text: header, type: 'app-tile-header', forwardedRef: forwardedRef }), jsxRuntime.exports.jsx(TypographyComponent, { text: description, type: 'app-tile-description', forwardedRef: forwardedRef })] })] }));
|
|
10544
10542
|
};
|
|
10545
10543
|
|
|
10546
10544
|
function _setPrototypeOf(o, p) {
|