@npm_leadtech/legal-lib-components 7.6.0 → 7.7.0
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/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +1 -1
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +1 -1
- package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.js +1 -1
- package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.ts +1 -1
- package/dist/src/components/pages/PricingPage/PricingPage.styled.js +4 -0
- package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +4 -0
- package/package.json +1 -1
package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { IconSvgURLWithThemeColor, RichTextStrapi } from '../../../atoms';
|
|
3
3
|
import { RatafiaCardHeaderStyled } from './RatafiaCardHeader.styled';
|
|
4
|
-
export const RatafiaCardHeader = ({ title, iconTitle, priceText }) => (_jsxs(RatafiaCardHeaderStyled, { children: [title
|
|
4
|
+
export const RatafiaCardHeader = ({ title, iconTitle, priceText }) => (_jsxs(RatafiaCardHeaderStyled, { children: [title && (_jsxs("div", { className: 'subscription-card__title', children: [iconTitle?.url && _jsx(IconSvgURLWithThemeColor, { url: iconTitle.url, height: '26', width: '26' }), _jsx(RichTextStrapi, { html: title })] })), priceText && _jsx("div", { className: 'subscription-card__price-text', children: priceText })] }));
|
package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx
CHANGED
|
@@ -9,7 +9,7 @@ export const RatafiaCardHeader: React.FC<{ title: string; iconTitle?: { url: str
|
|
|
9
9
|
priceText
|
|
10
10
|
}) => (
|
|
11
11
|
<RatafiaCardHeaderStyled>
|
|
12
|
-
{title
|
|
12
|
+
{title && (
|
|
13
13
|
<div className='subscription-card__title'>
|
|
14
14
|
{iconTitle?.url && <IconSvgURLWithThemeColor url={iconTitle.url} height='26' width='26' />}
|
|
15
15
|
<RichTextStrapi html={title} />
|