@club-employes/utopia 4.360.0 → 4.362.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/components/atoms/DefaultImage/DefaultImage.d.ts +2 -2
- package/dist/components/atoms/DefaultImage/index.d.ts +1 -1
- package/dist/components/atoms/DefaultImage/types.d.ts +7 -1
- package/dist/components/atoms/index.d.ts +1 -1
- package/dist/components/molecules/ProductImage/types.d.ts +2 -1
- package/dist/components/molecules/Slider/SliderProps.d.ts +2 -1
- package/dist/components/organisms/DeliveryMethodSelector/types.d.ts +2 -1
- package/dist/components/organisms/ProductCard/ProductCard.d.ts +0 -1
- package/dist/components/organisms/ProductCard/types.d.ts +2 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.js +5402 -5399
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DefaultImageProps } from './types';
|
|
1
|
+
import { ImageFits, DefaultImageProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<DefaultImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DefaultImageProps> & Readonly<{}>, {
|
|
4
4
|
loading: boolean;
|
|
5
5
|
radius: number;
|
|
6
|
-
fit:
|
|
6
|
+
fit: ImageFits;
|
|
7
7
|
aspectRatio: number;
|
|
8
8
|
hoverZoom: boolean;
|
|
9
9
|
inactive: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as DefaultImage } from './DefaultImage';
|
|
2
|
-
export type
|
|
2
|
+
export { ImageFits, type DefaultImageProps } from './types';
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export declare enum ImageFits {
|
|
2
|
+
COVER = "cover",
|
|
3
|
+
CONTAIN = "contain",
|
|
4
|
+
FILL = "fill",
|
|
5
|
+
LOGO = "logo"
|
|
6
|
+
}
|
|
1
7
|
export interface DefaultImageProps {
|
|
2
8
|
/**
|
|
3
9
|
* The image URL.
|
|
@@ -16,7 +22,7 @@ export interface DefaultImageProps {
|
|
|
16
22
|
* How the image should fit in the container.
|
|
17
23
|
* @default 'cover'
|
|
18
24
|
*/
|
|
19
|
-
fit?:
|
|
25
|
+
fit?: ImageFits;
|
|
20
26
|
/**
|
|
21
27
|
* Whether to enable hover zoom on the image.
|
|
22
28
|
* @default false
|
|
@@ -24,7 +24,7 @@ export type BadgeSize = 'small' | 'medium';
|
|
|
24
24
|
export type Currency = '€' | '£';
|
|
25
25
|
export { FavoriteToggle, type FavoriteToggleProps } from './FavoriteToggle';
|
|
26
26
|
export { CopyCode, type CopyCodeProps } from './CopyCode';
|
|
27
|
-
export { DefaultImage, type DefaultImageProps } from './DefaultImage';
|
|
27
|
+
export { DefaultImage, ImageFits, type DefaultImageProps } from './DefaultImage';
|
|
28
28
|
export { WelcomeUser, type WelcomeUserProps } from './WelcomeUser';
|
|
29
29
|
export { Icon3D, type Icon3DName, type Icon3DProps, type Icon3DResolution } from './Icon3D';
|
|
30
30
|
export { Separator, type SeparatorProps } from './Separator';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ImageFits } from '../../atoms/DefaultImage';
|
|
1
2
|
export interface DeliveryMethodProductRecap {
|
|
2
3
|
/** Product title, e.g. "Entrée adulte Disneyland". */
|
|
3
4
|
title?: string;
|
|
@@ -8,7 +9,7 @@ export interface DeliveryMethodProductRecap {
|
|
|
8
9
|
/** Thumbnail image src. Falls back to a placeholder when omitted. */
|
|
9
10
|
image?: string;
|
|
10
11
|
/** Object-fit value for the thumbnail image. */
|
|
11
|
-
imageFit?:
|
|
12
|
+
imageFit?: ImageFits;
|
|
12
13
|
}
|
|
13
14
|
/** A single selectable shipping/delivery method. */
|
|
14
15
|
export interface DeliveryMethod {
|
|
@@ -22,7 +22,6 @@ declare const _default: DefineComponent<ProductCardProps, {}, {}, {}, {}, Compon
|
|
|
22
22
|
outOfStockLabel: string;
|
|
23
23
|
imageUrl: string;
|
|
24
24
|
available: boolean;
|
|
25
|
-
containImage: boolean;
|
|
26
25
|
comingBackSoonLabel: string;
|
|
27
26
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
27
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ImageFits } from '../../atoms/DefaultImage';
|
|
1
2
|
export interface ProductCardProps {
|
|
2
3
|
id: string;
|
|
3
4
|
loading?: boolean;
|
|
@@ -18,7 +19,7 @@ export interface ProductCardProps {
|
|
|
18
19
|
subventionName?: string;
|
|
19
20
|
subventionTooltip?: string;
|
|
20
21
|
priceTagLabel?: string;
|
|
21
|
-
|
|
22
|
+
imageFit?: ImageFits;
|
|
22
23
|
comingBackSoonLabel?: string;
|
|
23
24
|
outOfStockLabel?: string;
|
|
24
25
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export type { SwitchProps } from './components/atoms/Switch/types';
|
|
|
26
26
|
export type { TextAreaProps } from './components/atoms/TextArea/types';
|
|
27
27
|
export type { TipsProps } from './components/atoms/Tips/types';
|
|
28
28
|
export type { CopyCodeProps } from './components/atoms/CopyCode/types';
|
|
29
|
-
export type
|
|
29
|
+
export { ImageFits, type DefaultImageProps } from './components/atoms/DefaultImage/types';
|
|
30
30
|
export type { WelcomeUserProps } from './components/atoms/WelcomeUser/types';
|
|
31
31
|
export type { Icon3DProps } from './components/atoms/Icon3D/types';
|
|
32
32
|
export type { SeparatorProps } from './components/atoms/Separator/types';
|
|
@@ -101,8 +101,6 @@ export type { SummaryMetricCardProps } from './components/organisms/SummaryMetri
|
|
|
101
101
|
export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryMethod } from './components/organisms/DeliveryMethodSelector/types';
|
|
102
102
|
export type { CustomCriteriaSectionProps, CustomCriterion } from './components/organisms/CustomCriteriaSection/types';
|
|
103
103
|
export type { CustomCriterionVProps, CustomCriterionValueType } from './components/organisms/CustomCriterionV/types';
|
|
104
|
-
export { CustomCriterionV, CustomCriterionValuePreview } from './components/organisms/CustomCriterionV';
|
|
105
|
-
export { CustomCriteriaSection } from './components/organisms/CustomCriteriaSection';
|
|
106
104
|
export type { AddressFormProps, AddressFormSchema, AddressFormSection } from './components/organisms/AddressForm/types';
|
|
107
105
|
export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './components/organisms/CartPreview/types';
|
|
108
106
|
export type { CartPreviewItemProps } from './components/molecules/CartPreviewItem/types';
|