@club-employes/utopia 4.241.0 → 4.243.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,7 +1,7 @@
1
- export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
1
+ export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'ghost';
2
2
  export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
- export type ButtonAspect = 'filled' | 'outlined' | 'text';
4
- export type ButtonColor = 'brand-primary' | 'brand-secondary' | 'brand-accent' | 'common-succeed' | 'common-warning' | 'common-danger' | 'common-echeque' | 'common-subvention';
3
+ export type ButtonAspect = 'filled' | 'outlined' | 'text' | 'ghost';
4
+ export type ButtonColor = 'brand-primary' | 'brand-secondary' | 'brand-accent' | 'common-succeed' | 'common-warning' | 'common-danger' | 'common-echeque' | 'common-subvention' | 'common-white';
5
5
  export interface ButtonProps {
6
6
  variant?: ButtonVariant;
7
7
  aspect?: ButtonAspect;
@@ -15,11 +15,11 @@ declare const __VLS_component: DefineComponent<ChipProps, {}, {}, {}, {}, Compon
15
15
  onRemove?: (() => any) | undefined;
16
16
  }>, {
17
17
  size: ChipSize;
18
+ ghost: boolean;
18
19
  variant: ChipVariant;
19
20
  disabled: boolean;
20
21
  removable: boolean;
21
22
  actionable: boolean;
22
- ghost: boolean;
23
23
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
24
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
25
  export default _default;
@@ -6,5 +6,8 @@ declare const _default: DefineComponent<DefaultImageProps, {}, {}, {}, {}, Compo
6
6
  fit: "cover" | "contain" | "fill";
7
7
  aspectRatio: number;
8
8
  hoverZoom: boolean;
9
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ inactive: boolean;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
11
+ defaultImageRef: HTMLDivElement;
12
+ }, HTMLDivElement>;
10
13
  export default _default;
@@ -32,4 +32,9 @@ export interface DefaultImageProps {
32
32
  * @default false
33
33
  */
34
34
  loading?: boolean;
35
+ /**
36
+ * Whether to make the image inactive.
37
+ * @default false
38
+ */
39
+ inactive?: boolean;
35
40
  }
@@ -33,6 +33,7 @@ declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, Component
33
33
  maxVisibleChips: number;
34
34
  compact: boolean;
35
35
  chipsPosition: "inside" | "outside";
36
+ boldLabel: boolean;
36
37
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
37
38
  triggerRef: HTMLButtonElement;
38
39
  chipsScrollRef: HTMLDivElement;
@@ -24,4 +24,5 @@ export interface DropDownProps {
24
24
  maxHeight?: string;
25
25
  innerModalId?: string;
26
26
  maxVisibleChips?: number;
27
+ boldLabel?: boolean;
27
28
  }
@@ -140,6 +140,7 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
140
140
  maxVisibleChips: number;
141
141
  compact: boolean;
142
142
  chipsPosition: "inside" | "outside";
143
+ boldLabel: boolean;
143
144
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
144
145
  triggerRef: HTMLButtonElement;
145
146
  chipsScrollRef: HTMLDivElement;
@@ -249,6 +250,7 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
249
250
  maxVisibleChips: number;
250
251
  compact: boolean;
251
252
  chipsPosition: "inside" | "outside";
253
+ boldLabel: boolean;
252
254
  }> | null;
253
255
  }, HTMLDivElement>;
254
256
  export default _default;
@@ -12,6 +12,6 @@ declare const _default: DefineComponent<ProductImageProps, {}, {}, {}, {}, Compo
12
12
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
13
13
  productImageContainerRef: HTMLDivElement;
14
14
  galleryRef: HTMLDivElement;
15
- mainImageContainerRef: HTMLDivElement;
15
+ sliderRef: HTMLDivElement;
16
16
  }, HTMLDivElement>;
17
17
  export default _default;
@@ -1,7 +1,7 @@
1
1
  export interface ProductImageType {
2
2
  url: string;
3
3
  alt: string;
4
- display?: 'full' | 'cover' | 'contained';
4
+ fit?: 'cover' | 'contain' | 'fill';
5
5
  }
6
6
  export interface ProductImageProps {
7
7
  images: ProductImageType[];
@@ -15,11 +15,15 @@ declare function __VLS_template(): {
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
18
+ "update:modelValue": (index: number) => any;
18
19
  "slide-change": (index: number) => any;
19
20
  }, string, PublicProps, Readonly<Props> & Readonly<{
21
+ "onUpdate:modelValue"?: ((index: number) => any) | undefined;
20
22
  "onSlide-change"?: ((index: number) => any) | undefined;
21
23
  }>, {
24
+ modelValue: number;
22
25
  height: string;
26
+ hoverZoom: boolean;
23
27
  slides: SlideType[];
24
28
  direction: "horizontal" | "vertical";
25
29
  autoplay: boolean;
@@ -28,6 +32,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
28
32
  showControls: boolean;
29
33
  alwaysShowControls: boolean;
30
34
  transitionDuration: number;
35
+ showShadow: boolean;
31
36
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
32
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
38
  export default _default;
@@ -2,9 +2,11 @@ export interface SlideType {
2
2
  image?: string;
3
3
  alt?: string;
4
4
  content?: string;
5
+ fit?: 'cover' | 'contain' | 'fill';
5
6
  [key: string]: any;
6
7
  }
7
8
  export interface SliderProps {
9
+ modelValue?: number;
8
10
  slides: SlideType[];
9
11
  direction?: 'horizontal' | 'vertical';
10
12
  autoplay?: boolean;
@@ -14,4 +16,6 @@ export interface SliderProps {
14
16
  alwaysShowControls?: boolean;
15
17
  transitionDuration?: number;
16
18
  height?: string;
19
+ hoverZoom?: boolean;
20
+ showShadow?: boolean;
17
21
  }