@club-employes/utopia 4.329.0 → 4.331.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.
@@ -27,6 +27,10 @@ export interface DefaultImageProps {
27
27
  * @default 12
28
28
  */
29
29
  radius?: number;
30
+ /**
31
+ * Force a background color.
32
+ */
33
+ background?: 'gradient' | 'surface-card';
30
34
  /**
31
35
  * Whether to force the loading state.
32
36
  * @default false
@@ -19,4 +19,6 @@ export interface LinkContentProps {
19
19
  size?: TextSize;
20
20
  weight?: TextWeight;
21
21
  color?: string;
22
+ truncate?: boolean;
23
+ noWrap?: boolean;
22
24
  }
@@ -6,6 +6,7 @@ declare const _default: DefineComponent<ProductImageProps, {}, {}, {}, {}, Compo
6
6
  "onToggle-favorite"?: (() => any) | undefined;
7
7
  }>, {
8
8
  disabled: boolean;
9
+ loading: boolean;
9
10
  aspectRatio: number;
10
11
  hoverZoom: boolean;
11
12
  images: ProductImageType[];
@@ -7,6 +7,7 @@ export interface ProductImageProps {
7
7
  images: ProductImageType[];
8
8
  isFavorite: boolean;
9
9
  aspectRatio?: number;
10
+ loading?: boolean;
10
11
  disabled?: boolean;
11
12
  hoverZoom?: boolean;
12
13
  }
@@ -22,6 +22,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
22
22
  "onSlide-change"?: ((index: number) => any) | undefined;
23
23
  }>, {
24
24
  disabled: boolean;
25
+ loading: boolean;
25
26
  modelValue: number;
26
27
  height: string;
27
28
  hoverZoom: boolean;
@@ -7,6 +7,7 @@ export interface SlideType {
7
7
  }
8
8
  export interface SliderProps {
9
9
  modelValue?: number;
10
+ loading?: boolean;
10
11
  slides: SlideType[];
11
12
  direction?: 'horizontal' | 'vertical';
12
13
  autoplay?: boolean;
@@ -17,6 +17,7 @@ declare const _default: DefineComponent<ProductCardProps, {}, {}, {}, {}, Compon
17
17
  id: string;
18
18
  }) => any) | undefined;
19
19
  }>, {
20
+ loading: boolean;
20
21
  currency: string;
21
22
  outOfStockLabel: string;
22
23
  imageUrl: string;
@@ -1,5 +1,6 @@
1
1
  export interface ProductCardProps {
2
2
  id: string;
3
+ loading?: boolean;
3
4
  title: string;
4
5
  description?: string;
5
6
  imageUrl: string;