@myelmut/design-system 0.1.4 → 0.1.6

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.
Files changed (200) hide show
  1. package/assets/images/elmut-footer-mobile.webp +0 -0
  2. package/assets/images/elmut-footer.webp +0 -0
  3. package/assets/images/newsletter-bg-mobile@2x.webp +0 -0
  4. package/assets/images/newsletter-bg@2x.webp +0 -0
  5. package/assets/images/polaroids/claudine-polaroid-mobile.webp +0 -0
  6. package/assets/images/polaroids/claudine-polaroid-mobile@2x.webp +0 -0
  7. package/assets/images/polaroids/claudine-polaroid.webp +0 -0
  8. package/assets/images/polaroids/claudine-polaroid@2x.webp +0 -0
  9. package/assets/images/polaroids/polaroid-4-mobile.webp +0 -0
  10. package/assets/images/polaroids/polaroid-4-mobile@2x.webp +0 -0
  11. package/assets/images/polaroids/polaroid-4.webp +0 -0
  12. package/assets/images/polaroids/polaroid-4@2x.webp +0 -0
  13. package/assets/images/rocky@2x.webp +0 -0
  14. package/assets/images/testimonials/testimonials-mobile.webp +0 -0
  15. package/assets/images/testimonials/testimonials-mobile@2x.webp +0 -0
  16. package/assets/images/testimonials/testimonials.webp +0 -0
  17. package/assets/images/testimonials/testimonials@2x.webp +0 -0
  18. package/assets/images/tips/payment-mobile.webp +0 -0
  19. package/assets/images/tips/payment-mobile@2x.webp +0 -0
  20. package/assets/images/tips/payment.webp +0 -0
  21. package/assets/images/tips/payment@2x.webp +0 -0
  22. package/dist/design-system/fonts/PPMori-Regular.woff2 +0 -0
  23. package/dist/design-system/fonts/PPMori-RegularItalic.woff2 +0 -0
  24. package/dist/design-system/fonts/PPMori-SemiBold.woff2 +0 -0
  25. package/dist/design-system/fonts/PPPangaia-Medium.woff2 +0 -0
  26. package/dist/design-system/fonts/PPPangaia-MediumItalic.woff2 +0 -0
  27. package/dist/design-system/fonts/PPPangaia-Ultralight.woff2 +0 -0
  28. package/dist/design-system/illustrations/balls-light.webp +0 -0
  29. package/dist/design-system/illustrations/balls.webp +0 -0
  30. package/dist/design-system/illustrations/basket-light.webp +0 -0
  31. package/dist/design-system/illustrations/basket.webp +0 -0
  32. package/dist/design-system/illustrations/bowl-2-light.webp +0 -0
  33. package/dist/design-system/illustrations/bowl-2.webp +0 -0
  34. package/dist/design-system/illustrations/bowl-light.webp +0 -0
  35. package/dist/design-system/illustrations/bowl.webp +0 -0
  36. package/dist/design-system/illustrations/box-2-light.webp +0 -0
  37. package/dist/design-system/illustrations/box-2.webp +0 -0
  38. package/dist/design-system/illustrations/box-light.webp +0 -0
  39. package/dist/design-system/illustrations/box.webp +0 -0
  40. package/dist/design-system/illustrations/calendar-light.webp +0 -0
  41. package/dist/design-system/illustrations/calendar.webp +0 -0
  42. package/dist/design-system/illustrations/can-light.webp +0 -0
  43. package/dist/design-system/illustrations/can.webp +0 -0
  44. package/dist/design-system/illustrations/carrot-light.webp +0 -0
  45. package/dist/design-system/illustrations/carrot.webp +0 -0
  46. package/dist/design-system/illustrations/cat-light.webp +0 -0
  47. package/dist/design-system/illustrations/cat.webp +0 -0
  48. package/dist/design-system/illustrations/check-rounded.webp +0 -0
  49. package/dist/design-system/illustrations/chicken-light.webp +0 -0
  50. package/dist/design-system/illustrations/chicken.webp +0 -0
  51. package/dist/design-system/illustrations/cross-rounded.webp +0 -0
  52. package/dist/design-system/illustrations/crown-light.webp +0 -0
  53. package/dist/design-system/illustrations/crown.webp +0 -0
  54. package/dist/design-system/illustrations/dog-light.webp +0 -0
  55. package/dist/design-system/illustrations/dog.webp +0 -0
  56. package/dist/design-system/illustrations/face-light.webp +0 -0
  57. package/dist/design-system/illustrations/face.webp +0 -0
  58. package/dist/design-system/illustrations/food-bag-light.webp +0 -0
  59. package/dist/design-system/illustrations/food-bag.webp +0 -0
  60. package/dist/design-system/illustrations/france-light.webp +0 -0
  61. package/dist/design-system/illustrations/france.webp +0 -0
  62. package/dist/design-system/illustrations/fridge-light.webp +0 -0
  63. package/dist/design-system/illustrations/fridge.webp +0 -0
  64. package/dist/design-system/illustrations/glasses-light.webp +0 -0
  65. package/dist/design-system/illustrations/glasses.webp +0 -0
  66. package/dist/design-system/illustrations/half-label-light.webp +0 -0
  67. package/dist/design-system/illustrations/half-label.webp +0 -0
  68. package/dist/design-system/illustrations/kitten-light.webp +0 -0
  69. package/dist/design-system/illustrations/kitten.webp +0 -0
  70. package/dist/design-system/illustrations/label-light.webp +0 -0
  71. package/dist/design-system/illustrations/label.webp +0 -0
  72. package/dist/design-system/illustrations/leaf-light.webp +0 -0
  73. package/dist/design-system/illustrations/leaf.webp +0 -0
  74. package/dist/design-system/illustrations/liquid-light.webp +0 -0
  75. package/dist/design-system/illustrations/liquid.webp +0 -0
  76. package/dist/design-system/illustrations/magnifying-glass-light.webp +0 -0
  77. package/dist/design-system/illustrations/magnifying-glass.webp +0 -0
  78. package/dist/design-system/illustrations/meat-light.webp +0 -0
  79. package/dist/design-system/illustrations/meat.webp +0 -0
  80. package/dist/design-system/illustrations/molecule-light.webp +0 -0
  81. package/dist/design-system/illustrations/molecule.webp +0 -0
  82. package/dist/design-system/illustrations/paws-light.webp +0 -0
  83. package/dist/design-system/illustrations/paws.webp +0 -0
  84. package/dist/design-system/illustrations/plate-light.webp +0 -0
  85. package/dist/design-system/illustrations/plate.webp +0 -0
  86. package/dist/design-system/illustrations/pot-big-2-light.webp +0 -0
  87. package/dist/design-system/illustrations/pot-big-2.webp +0 -0
  88. package/dist/design-system/illustrations/pot-big-light.webp +0 -0
  89. package/dist/design-system/illustrations/pot-big.webp +0 -0
  90. package/dist/design-system/illustrations/pot-light.webp +0 -0
  91. package/dist/design-system/illustrations/pot.webp +0 -0
  92. package/dist/design-system/illustrations/puppy-light.webp +0 -0
  93. package/dist/design-system/illustrations/puppy.webp +0 -0
  94. package/dist/design-system/illustrations/quantity-light.webp +0 -0
  95. package/dist/design-system/illustrations/quantity.webp +0 -0
  96. package/dist/design-system/illustrations/sausage-light.webp +0 -0
  97. package/dist/design-system/illustrations/sausage.webp +0 -0
  98. package/dist/design-system/illustrations/sausages-light.webp +0 -0
  99. package/dist/design-system/illustrations/sausages.webp +0 -0
  100. package/dist/design-system/illustrations/skeleton-light.webp +0 -0
  101. package/dist/design-system/illustrations/skeleton.webp +0 -0
  102. package/dist/design-system/illustrations/sofa-light.webp +0 -0
  103. package/dist/design-system/illustrations/sofa.webp +0 -0
  104. package/dist/design-system/illustrations/sport-light.webp +0 -0
  105. package/dist/design-system/illustrations/sport.webp +0 -0
  106. package/dist/design-system/illustrations/steak-light.webp +0 -0
  107. package/dist/design-system/illustrations/steak.webp +0 -0
  108. package/dist/design-system/illustrations/truck-light.webp +0 -0
  109. package/dist/design-system/illustrations/truck.webp +0 -0
  110. package/dist/design-system/illustrations/warning-light.webp +0 -0
  111. package/dist/design-system/illustrations/warning.webp +0 -0
  112. package/dist/design-system/images/cat.webp +0 -0
  113. package/dist/design-system/images/dog.webp +0 -0
  114. package/dist/design-system/images/dogs/milou-mobile.webp +0 -0
  115. package/dist/design-system/images/dogs/milou-mobile@2x.webp +0 -0
  116. package/dist/design-system/images/dogs/milou.webp +0 -0
  117. package/dist/design-system/images/dogs/milou@2x.webp +0 -0
  118. package/dist/design-system/images/elmut-footer-mobile.webp +0 -0
  119. package/dist/design-system/images/elmut-footer.webp +0 -0
  120. package/dist/design-system/images/elmut-sausage-chicken.webp +0 -0
  121. package/dist/design-system/images/elmut-sausage-chicken@2x.webp +0 -0
  122. package/dist/design-system/images/home-video-placeholder-mobile.webp +0 -0
  123. package/dist/design-system/images/home-video-placeholder-mobile@2x.webp +0 -0
  124. package/dist/design-system/images/home-video-placeholder.webp +0 -0
  125. package/dist/design-system/images/home-video-placeholder@2x.webp +0 -0
  126. package/dist/design-system/images/ingredients/beef.webp +0 -0
  127. package/dist/design-system/images/ingredients/carrot.webp +0 -0
  128. package/dist/design-system/images/ingredients/chicken.webp +0 -0
  129. package/dist/design-system/images/ingredients/courgette.webp +0 -0
  130. package/dist/design-system/images/ingredients/dry-apple.webp +0 -0
  131. package/dist/design-system/images/ingredients/dry-carrot.webp +0 -0
  132. package/dist/design-system/images/ingredients/dry-potatoe.webp +0 -0
  133. package/dist/design-system/images/ingredients/duck.webp +0 -0
  134. package/dist/design-system/images/ingredients/fish.webp +0 -0
  135. package/dist/design-system/images/ingredients/lactoserum.webp +0 -0
  136. package/dist/design-system/images/ingredients/oil.webp +0 -0
  137. package/dist/design-system/images/ingredients/pork.webp +0 -0
  138. package/dist/design-system/images/ingredients/potatoe.webp +0 -0
  139. package/dist/design-system/images/ingredients/quinoa.webp +0 -0
  140. package/dist/design-system/images/ingredients/turkey.webp +0 -0
  141. package/dist/design-system/images/ingredients/vegetal-oil.webp +0 -0
  142. package/dist/design-system/images/ingredients/vitamines.webp +0 -0
  143. package/dist/design-system/images/ingredients-parralax-mobile.webp +0 -0
  144. package/dist/design-system/images/ingredients-parralax-mobile@2x.webp +0 -0
  145. package/dist/design-system/images/ingredients-parralax.webp +0 -0
  146. package/dist/design-system/images/ingredients-parralax@2x.webp +0 -0
  147. package/dist/design-system/images/newsletter-bg-mobile@2x.webp +0 -0
  148. package/dist/design-system/images/newsletter-bg@2x.webp +0 -0
  149. package/dist/design-system/images/polaroids/claudine-polaroid-mobile.webp +0 -0
  150. package/dist/design-system/images/polaroids/claudine-polaroid-mobile@2x.webp +0 -0
  151. package/dist/design-system/images/polaroids/claudine-polaroid.webp +0 -0
  152. package/dist/design-system/images/polaroids/claudine-polaroid@2x.webp +0 -0
  153. package/dist/design-system/images/polaroids/polaroid-1-mobile.webp +0 -0
  154. package/dist/design-system/images/polaroids/polaroid-1-mobile@2x.webp +0 -0
  155. package/dist/design-system/images/polaroids/polaroid-1.webp +0 -0
  156. package/dist/design-system/images/polaroids/polaroid-1@2x.webp +0 -0
  157. package/dist/design-system/images/polaroids/polaroid-2-mobile@2x.webp +0 -0
  158. package/dist/design-system/images/polaroids/polaroid-2-mobilex.webp +0 -0
  159. package/dist/design-system/images/polaroids/polaroid-2.webp +0 -0
  160. package/dist/design-system/images/polaroids/polaroid-2@2x.webp +0 -0
  161. package/dist/design-system/images/polaroids/polaroid-3.webp +0 -0
  162. package/dist/design-system/images/polaroids/polaroid-3@2x.webp +0 -0
  163. package/dist/design-system/images/polaroids/polaroid-4-mobile.webp +0 -0
  164. package/dist/design-system/images/polaroids/polaroid-4-mobile@2x.webp +0 -0
  165. package/dist/design-system/images/polaroids/polaroid-4.webp +0 -0
  166. package/dist/design-system/images/polaroids/polaroid-4@2x.webp +0 -0
  167. package/dist/design-system/images/rocky@2x.webp +0 -0
  168. package/dist/design-system/images/testimonials/testimonial-1-mobile.webp +0 -0
  169. package/dist/design-system/images/testimonials/testimonial-1-mobile@2x.webp +0 -0
  170. package/dist/design-system/images/testimonials/testimonial-1.webp +0 -0
  171. package/dist/design-system/images/testimonials/testimonial-1@2x.webp +0 -0
  172. package/dist/design-system/images/testimonials/testimonials-mobile.webp +0 -0
  173. package/dist/design-system/images/testimonials/testimonials-mobile@2x.webp +0 -0
  174. package/dist/design-system/images/testimonials/testimonials.webp +0 -0
  175. package/dist/design-system/images/testimonials/testimonials@2x.webp +0 -0
  176. package/dist/design-system/images/tips/claudine-head.webp +0 -0
  177. package/dist/design-system/images/tips/claudine-tips-mobile.webp +0 -0
  178. package/dist/design-system/images/tips/claudine-tips-mobile@2x.webp +0 -0
  179. package/dist/design-system/images/tips/claudine-tips.webp +0 -0
  180. package/dist/design-system/images/tips/claudine-tips@2x.webp +0 -0
  181. package/dist/design-system/images/tips/payment-mobile.webp +0 -0
  182. package/dist/design-system/images/tips/payment-mobile@2x.webp +0 -0
  183. package/dist/design-system/images/tips/payment.webp +0 -0
  184. package/dist/design-system/images/tips/payment@2x.webp +0 -0
  185. package/dist/index.cjs +23 -0
  186. package/dist/index.cjs.map +1 -0
  187. package/dist/index.css +1 -1
  188. package/dist/index.es.js +1081 -818
  189. package/dist/index.es.js.map +1 -1
  190. package/dist/types/index.d.ts +76 -21
  191. package/package.json +3 -2
  192. package/styles/globals.css +19 -13
  193. package/dist/index.cjs.js +0 -23
  194. package/dist/index.cjs.js.map +0 -1
  195. /package/assets/images/polaroids/{polaroid-2-mobilex.webp → polaroid-2-mobile.webp} +0 -0
  196. /package/{assets → dist/design-system}/images/trash/claudine-polaroid.webp +0 -0
  197. /package/{assets → dist/design-system}/images/trash/payment-card.webp +0 -0
  198. /package/{assets → dist/design-system}/images/trash/polaroid.webp +0 -0
  199. /package/{assets → dist/design-system}/images/trash/recette.webp +0 -0
  200. /package/{assets → dist/design-system}/images/trash/testimonial.webp +0 -0
@@ -7,6 +7,7 @@ import { ReactComponent as CrossRoundedIcon } from './cross-rounded.svg';
7
7
  import { default as default_2 } from 'react';
8
8
  import { ReactComponent as FacebookIcon } from './Facebook.svg';
9
9
  import { ReactComponent as FiltersIcon } from './filters.svg';
10
+ import { ForwardRefExoticComponent } from 'react';
10
11
  import { ReactComponent as HatCookIcon } from './hat-cook.svg';
11
12
  import { ReactComponent as HomeHeroShape } from './home-hero-shape.svg';
12
13
  import { ReactComponent as HomeHeroShapeMobile } from './home-hero-shape-mobile.svg';
@@ -19,13 +20,19 @@ import { ReactComponent as MagicWandIcon } from './magic-wand.svg';
19
20
  import { MemoExoticComponent } from 'react';
20
21
  import { ReactComponent as MenuIcon } from './menu.svg';
21
22
  import { ReactComponent as MinusIcon } from './minus.svg';
23
+ import { ReactComponent as MuteIcon } from './mute.svg';
24
+ import { ReactComponent as PauseIcon } from './pause.svg';
25
+ import { ReactComponent as PlayIcon } from './play.svg';
22
26
  import { ReactComponent as PlusIcon } from './plus.svg';
23
27
  import { ReactComponent as PolaroidThreadIcon } from './polaroid-thread.svg';
24
28
  import { ReactComponent as ProfilIcon } from './profil.svg';
25
29
  import { ReactComponent as QuoteIcon } from './quote.svg';
30
+ import { RefAttributes } from 'react';
31
+ import { ReactComponent as StarIcon } from './star.svg';
26
32
  import { ReactComponent as SubtractIcon } from './subtract.svg';
27
33
  import { ReactComponent as TiktokIcon } from './Tiktok.svg';
28
34
  import { ReactComponent as TrustpilotIcon } from './trustpilot.svg';
35
+ import { ReactComponent as UnmuteIcon } from './unmute.svg';
29
36
 
30
37
  export { ArrowIcon }
31
38
 
@@ -38,7 +45,7 @@ declare type BannerProps = {
38
45
  className?: string;
39
46
  };
40
47
 
41
- export declare const Button: MemoExoticComponent<({ as, variant, color, children, disabled, className, size, ...props }: ButtonProps) => JSX.Element>;
48
+ export declare const Button: MemoExoticComponent<({ as, variant, color, active, children, disabled, className, size, ...props }: ButtonProps) => JSX.Element>;
42
49
 
43
50
  declare type ButtonAsButtonProps = CommonProps & React.ButtonHTMLAttributes<HTMLButtonElement> & {
44
51
  as?: 'button';
@@ -51,10 +58,10 @@ declare type ButtonAsLinkProps = CommonProps & React.AnchorHTMLAttributes<HTMLAn
51
58
 
52
59
  declare type ButtonProps = ButtonAsButtonProps | ButtonAsLinkProps;
53
60
 
54
- export declare const ButtonSelect: ({ label, id, options, value, onChange, required, hasError, error }: ButtonSelectProps) => JSX.Element;
61
+ export declare const ButtonSelect: ({ label, id, options, value, onChange, required, hasError, error, className }: ButtonSelectProps) => JSX.Element;
55
62
 
56
63
  declare interface ButtonSelectProps {
57
- label: string;
64
+ label?: string;
58
65
  options: {
59
66
  label: string;
60
67
  value: string;
@@ -65,6 +72,7 @@ declare interface ButtonSelectProps {
65
72
  hasError?: boolean;
66
73
  error?: string;
67
74
  id: string;
75
+ className?: string;
68
76
  }
69
77
 
70
78
  export { CalendarIcon }
@@ -103,6 +111,7 @@ declare type CommonProps = {
103
111
  children: React.ReactNode;
104
112
  disabled?: boolean;
105
113
  className?: string;
114
+ active?: boolean;
106
115
  };
107
116
 
108
117
  declare type CommonProps_2 = {
@@ -122,7 +131,7 @@ export { CrossIcon }
122
131
 
123
132
  export { CrossRoundedIcon }
124
133
 
125
- export declare const Dropdown: ({ label, id, options, placeholder, name, className, error, hasError, disabled, onChange, value, required }: DropdownProps) => JSX.Element;
134
+ export declare const Dropdown: ({ label, id, options, placeholder, name, className, error, hasError, disabled, onChange, value, required, searchable }: DropdownProps) => JSX.Element;
126
135
 
127
136
  export declare const DropdownMenu: ({ name, options, value, values, disabled, className, onChange, onChangeMultiple, isOpen, multiple }: DropdownMenuProps) => JSX.Element;
128
137
 
@@ -146,6 +155,7 @@ declare interface DropdownProps {
146
155
  required?: boolean;
147
156
  hasError?: boolean;
148
157
  error?: string;
158
+ searchable?: boolean;
149
159
  }
150
160
 
151
161
  export declare const Emblem: ({ variant, className }: EmblemProps) => JSX.Element;
@@ -220,6 +230,10 @@ export declare const FooterTips: ({ className }: {
220
230
  }) => JSX.Element;
221
231
 
222
232
  export declare const frDesign: {
233
+ "homeVoucher": "PROMO : -{{percentage}}% SUR VOTRE PREMIÈRE COMMANDE + LIVRAISON OFFERTE",
234
+ "dropdown": {
235
+ "noResults": "Aucun résultat trouvé"
236
+ },
223
237
  "navigation": {
224
238
  "home": "Accueil",
225
239
  "recipes": "Recettes",
@@ -245,7 +259,7 @@ export declare const frDesign: {
245
259
  "copyright": "Tous droits réservés · Elmut"
246
260
  },
247
261
  "newsletter": {
248
- "emailPlaceholder": "Email",
262
+ "emailPlaceholder": "claudinethequeen@gmail.com",
249
263
  "subscribeLabel": "S'abonner"
250
264
  },
251
265
  "wizard": {
@@ -258,17 +272,17 @@ export declare const frDesign: {
258
272
  }
259
273
  };
260
274
 
261
- export declare const H1: (props: Omit<TitleProps, "variant">) => JSX.Element;
275
+ export declare const H1: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLHeadingElement>>;
262
276
 
263
- export declare const H2: (props: Omit<TitleProps, "variant">) => JSX.Element;
277
+ export declare const H2: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLHeadingElement>>;
264
278
 
265
- export declare const H3: (props: Omit<TitleProps, "variant">) => JSX.Element;
279
+ export declare const H3: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLHeadingElement>>;
266
280
 
267
- export declare const H4: (props: Omit<TitleProps, "variant">) => JSX.Element;
281
+ export declare const H4: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLHeadingElement>>;
268
282
 
269
- export declare const H5: (props: Omit<TitleProps, "variant">) => JSX.Element;
283
+ export declare const H5: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLHeadingElement>>;
270
284
 
271
- export declare const H6: (props: Omit<TitleProps, "variant">) => JSX.Element;
285
+ export declare const H6: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLHeadingElement>>;
272
286
 
273
287
  export { HatCookIcon }
274
288
 
@@ -278,7 +292,7 @@ export { HomeHeroShapeMobile }
278
292
 
279
293
  export { HomeHeroShapeSmall }
280
294
 
281
- export declare const IllustratedCard: ({ variant, title, description, illustration, className, illustrationClassName }: IllustratedCardProps) => JSX.Element;
295
+ export declare const IllustratedCard: ForwardRefExoticComponent<IllustratedCardProps & RefAttributes<HTMLDivElement>>;
282
296
 
283
297
  export declare const IllustratedCardButton: ({ label, layout, description, illustration, disabled, className, ...props }: IllustratedCardButtonProps) => JSX.Element;
284
298
 
@@ -297,6 +311,7 @@ declare interface IllustratedCardProps {
297
311
  illustration: string;
298
312
  className?: string;
299
313
  illustrationClassName?: string;
314
+ value?: string;
300
315
  }
301
316
 
302
317
  export { InfoIcon }
@@ -334,18 +349,19 @@ export { MagicWandIcon }
334
349
 
335
350
  export { MenuIcon }
336
351
 
337
- export declare const menuNavLinks: () => {
352
+ export declare const menuNavLinks: {
338
353
  label: string;
339
354
  href: string;
340
355
  }[];
341
356
 
342
357
  export { MinusIcon }
343
358
 
344
- export declare const MobileMenu: ({ variant, className }: MobileMenuProps) => JSX.Element;
359
+ export declare const MobileMenu: ({ variant, className, activeNavLink }: MobileMenuProps) => JSX.Element;
345
360
 
346
361
  declare type MobileMenuProps = {
347
362
  variant: 'dark' | 'light';
348
363
  className?: string;
364
+ activeNavLink: string;
349
365
  };
350
366
 
351
367
  declare type MultipleDropdownMenuProps = CommonProps_2 & {
@@ -354,14 +370,18 @@ declare type MultipleDropdownMenuProps = CommonProps_2 & {
354
370
  onChangeMultiple: (values: string[]) => void;
355
371
  };
356
372
 
373
+ export { MuteIcon }
374
+
357
375
  export declare const Navbar: (props: NavbarProps) => JSX.Element;
358
376
 
359
- export declare const NavbarDesktop: ({ variant, className }: NavbarProps) => JSX.Element;
377
+ export declare const NavbarDesktop: ({ variant, className, voucher, activeNavLink }: NavbarProps) => JSX.Element;
360
378
 
361
- export declare const NavbarMobile: ({ variant, className }: NavbarProps) => JSX.Element;
379
+ export declare const NavbarMobile: ({ variant, className, voucher, activeNavLink }: NavbarProps) => JSX.Element;
362
380
 
363
381
  declare type NavbarProps = {
364
382
  variant: 'light' | 'dark';
383
+ activeNavLink: string;
384
+ voucher?: string;
365
385
  connected?: boolean;
366
386
  className?: string;
367
387
  };
@@ -379,7 +399,9 @@ declare interface NewsletterProps {
379
399
  error?: string;
380
400
  }
381
401
 
382
- export declare const ParagraphTitle: (props: Omit<TitleProps, "variant">) => JSX.Element;
402
+ export declare const ParagraphTitle: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLParagraphElement>>;
403
+
404
+ export { PauseIcon }
383
405
 
384
406
  export declare const PaymentCard: ({ content, className }: PaymentCardProps) => JSX.Element;
385
407
 
@@ -388,6 +410,8 @@ declare interface PaymentCardProps {
388
410
  className?: string;
389
411
  }
390
412
 
413
+ export { PlayIcon }
414
+
391
415
  export { PlusIcon }
392
416
 
393
417
  export declare const Polaroid: ({ size, overflow, variant, title, mobileImage, desktopImage, mobileImage2x, desktopImage2x, showThread, className, imageClassName }: PolaroidProps) => JSX.Element;
@@ -442,7 +466,7 @@ declare interface RecetteCardProps {
442
466
  href: string;
443
467
  }
444
468
 
445
- export declare const ResponsiveImage: ({ mobile, desktop, mobile2x, desktop2x, type, loading, decoding, alt, className }: ResponsiveImageProps) => JSX.Element;
469
+ export declare const ResponsiveImage: default_2.ForwardRefExoticComponent<ResponsiveImageProps & default_2.RefAttributes<HTMLImageElement>>;
446
470
 
447
471
  declare interface ResponsiveImageProps {
448
472
  alt: string;
@@ -454,6 +478,7 @@ declare interface ResponsiveImageProps {
454
478
  type?: 'image/webp' | 'image/jpeg' | 'image/png' | 'image/svg+xml';
455
479
  loading?: 'lazy' | 'eager';
456
480
  decoding?: 'async' | 'auto' | 'sync';
481
+ fadeOnLoad?: boolean;
457
482
  }
458
483
 
459
484
  export declare const SimpleIllustratedCardButton: ({ label, layout, illustration, disabled, className, illustrationClassName, ...props }: SimpleIllustratedCardButtonProps) => JSX.Element;
@@ -480,7 +505,9 @@ declare type SocialButtonProps = {
480
505
  className?: string;
481
506
  };
482
507
 
483
- export declare const SpanTitle: (props: Omit<TitleProps, "variant">) => JSX.Element;
508
+ export declare const SpanTitle: default_2.ForwardRefExoticComponent<Omit<TitleProps, "variant"> & default_2.RefAttributes<HTMLSpanElement>>;
509
+
510
+ export { StarIcon }
484
511
 
485
512
  export declare const StatCard: ({ variant, size, value, metric, description, className }: StatCardProps) => JSX.Element;
486
513
 
@@ -542,6 +569,18 @@ declare interface TestimonialProps {
542
569
  className?: string;
543
570
  }
544
571
 
572
+ export declare const TestimonialSliderCard: ForwardRefExoticComponent<TestimonialSliderCardProps & RefAttributes<HTMLQuoteElement>>;
573
+
574
+ declare interface TestimonialSliderCardProps {
575
+ variant?: 'dark' | 'light';
576
+ quote: string;
577
+ author: string;
578
+ role: string;
579
+ image: string;
580
+ score: number;
581
+ className?: string;
582
+ }
583
+
545
584
  declare const Text_2: ({ variant, size, children, className, ...props }: TextProps) => JSX.Element | undefined;
546
585
  export { Text_2 as Text }
547
586
 
@@ -576,7 +615,7 @@ declare interface TipsProps {
576
615
  className?: string;
577
616
  }
578
617
 
579
- export declare const Title: ({ variant, size, italic, children, className }: TitleProps) => JSX.Element;
618
+ export declare const Title: default_2.ForwardRefExoticComponent<TitleProps & default_2.RefAttributes<HTMLElement>>;
580
619
 
581
620
  declare type TitleProps = {
582
621
  variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span';
@@ -614,6 +653,8 @@ declare interface TransitionCardProps {
614
653
 
615
654
  export { TrustpilotIcon }
616
655
 
656
+ export { UnmuteIcon }
657
+
617
658
  export declare const UpCard: ({ title1, description1, title2, description2, step, illustration, className, illustrationClassName, align }: UpCardProps) => JSX.Element;
618
659
 
619
660
  declare interface UpCardProps {
@@ -628,7 +669,20 @@ declare interface UpCardProps {
628
669
  illustrationClassName?: string;
629
670
  }
630
671
 
631
- export declare const WizardDropdown: ({ placeholder, options, value, onChange, name, disabled, className }: WizardDropdownProps) => JSX.Element;
672
+ export declare const VideoPlayer: ({ videoId, alt, className, placeholderImageMobile, hasSound, placeholderImageDesktop, placeholderImageMobile2x, placeholderImageDesktop2x }: VideoPlayerProps) => JSX.Element;
673
+
674
+ declare interface VideoPlayerProps {
675
+ videoId: string;
676
+ alt: string;
677
+ className?: string;
678
+ placeholderImageMobile: string;
679
+ placeholderImageDesktop: string;
680
+ placeholderImageMobile2x: string;
681
+ placeholderImageDesktop2x: string;
682
+ hasSound?: boolean;
683
+ }
684
+
685
+ export declare const WizardDropdown: ({ placeholder, options, value, onChange, name, disabled, className, searchable }: WizardDropdownProps) => JSX.Element;
632
686
 
633
687
  declare interface WizardDropdownProps {
634
688
  placeholder?: string;
@@ -641,6 +695,7 @@ declare interface WizardDropdownProps {
641
695
  onChange: (value: string) => void;
642
696
  disabled?: boolean;
643
697
  className?: string;
698
+ searchable?: boolean;
644
699
  }
645
700
 
646
701
  export declare const WizardNavbar: ({ variant, totalSteps, currentStep, className }: WizardNavbarProps) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myelmut/design-system",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Design system for Elmut project",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "main": "dist/index.cjs.js",
12
+ "main": "dist/index.cjs",
13
13
  "module": "dist/index.es.js",
14
14
  "types": "dist/types/index.d.ts",
15
15
  "style": "dist/index.css",
@@ -72,6 +72,7 @@
72
72
  "build": "vite build && pnpm run copy-static-assets",
73
73
  "copy-static-assets": "cp -r src/styles styles && cp -r src/assets assets",
74
74
  "build:with-assets": "vite build && pnpm run copy-assets",
75
+ "design-system:copy-assets": "mkdir -p public/design-system/ && cp -r src/assets/* public/design-system/",
75
76
  "copy-assets": "mkdir -p dist/public/assets && cp -r src/assets/* dist/public/assets/ && cp -r dist/public/assets/* ../public/design-system/",
76
77
  "storybook": "storybook dev -p 6006",
77
78
  "build-storybook": "storybook build",
@@ -110,14 +110,11 @@
110
110
  --container-lg: 1024px;
111
111
  --container-xl: 1280px;
112
112
  --container-2xl: 1536px;
113
- }
114
113
 
115
- @layer base {
116
- html {
117
- font-family: var(--font-mori);
118
- color: var(--color-claret-violet-dark);
119
- background-color: var(--color-beige-light);
120
- }
114
+ /* animation */
115
+ --animate-fade-in: fade-in 300ms ease-in;
116
+ --animate-fade-out: fade-out 300ms ease-out;
117
+ --animate-banner: banner 15s linear infinite;
121
118
  }
122
119
 
123
120
  @layer utilities {
@@ -131,6 +128,14 @@
131
128
  @apply [appearance:textfield]; /* standard + Firefox */
132
129
  }
133
130
 
131
+ summary {
132
+ list-style: none;
133
+ }
134
+
135
+ summary::-webkit-details-marker {
136
+ display: none;
137
+ }
138
+
134
139
  @keyframes fade-in {
135
140
  from {
136
141
  opacity: 0;
@@ -149,12 +154,13 @@
149
154
  }
150
155
  }
151
156
 
152
- .animate-fade-in {
153
- animation: fade-in 300ms ease-in;
154
- }
155
-
156
- .animate-fade-out {
157
- animation: fade-out 150ms ease-out;
157
+ @keyframes banner {
158
+ from {
159
+ transform: translateX(0);
160
+ }
161
+ to {
162
+ transform: translateX(-50%);
163
+ }
158
164
  }
159
165
  }
160
166