@club-employes/utopia 4.362.0 → 4.364.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.
@@ -1,8 +1,10 @@
1
+ import { ImageFits } from '../../atoms/DefaultImage/types';
1
2
  export interface CartPreviewItemProps {
2
3
  id?: string;
3
4
  loading?: boolean;
4
5
  pending?: boolean;
5
6
  image?: string;
7
+ imageFit?: ImageFits;
6
8
  label?: string;
7
9
  description?: string;
8
10
  oldPrice?: string;
@@ -25,6 +25,8 @@ export interface DeliveryMethod {
25
25
  delay?: string;
26
26
  /** Description e.g. "à partie de 40€ d'achats" */
27
27
  description?: string;
28
+ /** URL of the image */
29
+ img?: string;
28
30
  /** Icon name shown in the method's icon box. Defaults to an envelope. */
29
31
  icon?: string;
30
32
  /** Disables selection of this method. */
@@ -1,7 +1,9 @@
1
1
  import { ChipVariant } from '../../atoms/Chip/types';
2
+ import { ImageFits } from '../../atoms/DefaultImage/types';
2
3
  export interface ProductRecapImage {
3
4
  url: string;
4
5
  alt: string;
6
+ fit?: ImageFits;
5
7
  }
6
8
  export interface ProductRecapChip {
7
9
  label: string;
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export type { ThemeConfig, ThemeProviderProps } from './theme-provider';
4
4
  export * from './components';
5
5
  export { Skeleton, SkeletonAvatar, SkeletonText } from './components/atoms/Skeleton';
6
6
  export { DefaultLayout, Header, Menu, NavItem, MfePage } from './components/layouts';
7
- export { BalanceCard, BalanceCardGroup, HtmlPreview, MyEditor, RichTextContent, renderProseMirrorToHtml, renderHtmlContent, SummaryMetricCard } from './components/organisms';
7
+ export { BalanceCard, BalanceCardGroup, HtmlPreview, MyEditor, RichTextContent, renderProseMirrorToHtml, renderHtmlContent, SummaryMetricCard, CustomCriteriaSection, CustomCriterionV, CustomCriterionValuePreview } from './components/organisms';
8
8
  export type { BalanceCardData, BalanceCardGroupProps, BalanceCardProps } from './components/organisms';
9
9
  export { Loader } from './components/templates';
10
10
  export type { ButtonProps } from './components/atoms/Button/types';