@myelmut/design-system 0.1.76 → 0.1.78
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +318 -312
- package/dist/index.es.js.map +1 -1
- package/dist/types/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/components/Cards/UpCard/UpCard.tsx +3 -3
- package/src/components/Navigation/WizardNavbar/WizardNavbar.tsx +2 -2
- package/src/components/SVG/fresh-hero-shape-mobile.svg +3 -0
- package/src/components/SVG/fresh-hero-shape.svg +3 -0
- package/src/components/SVG/index.ts +4 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ import { ReactComponent as DoubleArrowIcon } from './double-arrow.svg';
|
|
|
12
12
|
import { ReactComponent as FacebookIcon } from './Facebook.svg';
|
|
13
13
|
import { ReactComponent as FiltersIcon } from './filters.svg';
|
|
14
14
|
import { ForwardRefExoticComponent } from 'react';
|
|
15
|
+
import { ReactComponent as FreshHeroShapeIcon } from './fresh-hero-shape.svg';
|
|
16
|
+
import { ReactComponent as FreshHeroShapeSmallIcon } from './fresh-hero-shape-mobile.svg';
|
|
15
17
|
import { ReactComponent as HatCookIcon } from './hat-cook.svg';
|
|
16
18
|
import { ReactComponent as HomeHeroShape } from './home-hero-shape.svg';
|
|
17
19
|
import { ReactComponent as HomeHeroShapeMobile } from './home-hero-shape-mobile.svg';
|
|
@@ -354,6 +356,10 @@ declare interface FrequencySelectorCardProps {
|
|
|
354
356
|
imageAlt: string;
|
|
355
357
|
}
|
|
356
358
|
|
|
359
|
+
export { FreshHeroShapeIcon }
|
|
360
|
+
|
|
361
|
+
export { FreshHeroShapeSmallIcon }
|
|
362
|
+
|
|
357
363
|
export declare const H1: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLHeadingElement>>;
|
|
358
364
|
|
|
359
365
|
export declare const H2: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLHeadingElement>>;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ export interface UpCardProps {
|
|
|
17
17
|
export const UpCard = ({ title1, description1, title2, description2, step, illustration, className, illustrationClassName, align = 'bottom' }: UpCardProps) => {
|
|
18
18
|
return (
|
|
19
19
|
<div className={clsx('flex max-md:flex-col max-md:gap-4', align === 'top' ? 'items-start' : 'md:items-end', className)}>
|
|
20
|
-
<div className=
|
|
20
|
+
<div className={clsx('bg-lavender-blue-light text-claret-violet-dark flex w-63 -rotate-2 flex-col gap-4 p-4 max-md:-translate-x-10 md:w-87.5 md:px-11 md:py-8', align === 'bottom' && 'md:mb-18')}>
|
|
21
21
|
<ParagraphTitle size="heading-xl" className="hidden md:block">
|
|
22
22
|
{step}
|
|
23
23
|
</ParagraphTitle>
|
|
@@ -31,7 +31,7 @@ export const UpCard = ({ title1, description1, title2, description2, step, illus
|
|
|
31
31
|
{description1}
|
|
32
32
|
</Text>
|
|
33
33
|
</div>
|
|
34
|
-
<div className={clsx('bg-pink-oyster-light text-claret-violet-dark relative flex w-63.5 -rotate-2 flex-col gap-2 p-6 md:z-1 md:w-85.5 md:-translate-x-8 md:rotate-2 md:px-11 md:py-8', align === 'top'
|
|
34
|
+
<div className={clsx('bg-pink-oyster-light text-claret-violet-dark relative flex w-63.5 -rotate-2 flex-col gap-2 p-6 md:z-1 md:w-85.5 md:-translate-x-8 md:rotate-2 md:px-11 md:py-8', align === 'top' && 'md:mt-26')}>
|
|
35
35
|
<div className={clsx('relative w-11.5 shrink-0 md:w-18', illustrationClassName)}>
|
|
36
36
|
<img src={illustration} alt={title2} className="w-full" />
|
|
37
37
|
</div>
|
|
@@ -39,7 +39,7 @@ export const UpCard = ({ title1, description1, title2, description2, step, illus
|
|
|
39
39
|
{title2}
|
|
40
40
|
</ParagraphTitle>
|
|
41
41
|
<ParagraphTitle size="heading-lg" className="block max-md:not-italic md:hidden">
|
|
42
|
-
{
|
|
42
|
+
{title2}
|
|
43
43
|
</ParagraphTitle>
|
|
44
44
|
<Text size="md" className="whitespace-pre-line max-md:not-italic">
|
|
45
45
|
{description2}
|
|
@@ -14,8 +14,8 @@ export type WizardNavbarProps = {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
const variantStyles = {
|
|
17
|
-
default: '
|
|
18
|
-
form: '
|
|
17
|
+
default: 'text-claret-violet-dark pt-20 md:pt-9.5 pb-6',
|
|
18
|
+
form: 'text-claret-violet-dark pt-5',
|
|
19
19
|
payment: 'bg-claret-violet-dark text-beige-light pt-5',
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="320" height="500" viewBox="0 0 320 500" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M320 500C320 453.019 320 33.8718 320 33.8718C276.107 6.12228 243.407 -6.69599e-06 155.79 -1.43557e-05C68.1724 -2.20155e-05 17.2193 22.9514 -0.00026398 28.7754C-0.00026398 28.7754 -5.73964e-05 458.377 -6.10352e-05 500L320 500Z" fill="#EEAEB4"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="1512" height="906" viewBox="0 0 1512 906" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M1511.01 905.499C1511.01 684.266 1511.01 159.5 1511.01 159.5C1303.69 28.8298 1149.23 2.94069e-05 735.371 -6.77369e-06C321.513 -4.29543e-05 80.8367 108.075 -0.499566 135.5C-0.499566 135.5 -0.499983 709.499 -0.5 905.499L1511.01 905.499Z" fill="#EEAEB4"/>
|
|
3
|
+
</svg>
|
|
@@ -12,6 +12,8 @@ import { ReactComponent as DollarRoundedIcon } from './dollar-rounded.svg';
|
|
|
12
12
|
import { ReactComponent as DoubleArrowIcon } from './double-arrow.svg';
|
|
13
13
|
import { ReactComponent as FacebookIcon } from './Facebook.svg';
|
|
14
14
|
import { ReactComponent as FiltersIcon } from './filters.svg';
|
|
15
|
+
import { ReactComponent as FreshHeroShapeSmallIcon } from './fresh-hero-shape-mobile.svg';
|
|
16
|
+
import { ReactComponent as FreshHeroShapeIcon } from './fresh-hero-shape.svg';
|
|
15
17
|
import { ReactComponent as HatCookIcon } from './hat-cook.svg';
|
|
16
18
|
import { ReactComponent as HomeHeroShapeMobile } from './home-hero-shape-mobile.svg';
|
|
17
19
|
import { ReactComponent as HomeHeroShapeSmall } from './home-hero-shape-small.svg';
|
|
@@ -37,6 +39,8 @@ import { ReactComponent as TrustpilotIcon } from './trustpilot.svg';
|
|
|
37
39
|
import { ReactComponent as UnmuteIcon } from './unmute.svg';
|
|
38
40
|
|
|
39
41
|
export {
|
|
42
|
+
FreshHeroShapeIcon,
|
|
43
|
+
FreshHeroShapeSmallIcon,
|
|
40
44
|
FacebookIcon,
|
|
41
45
|
InstagramIcon,
|
|
42
46
|
LinkedinIcon,
|