@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.
- package/dist/components/atoms/Button/types.d.ts +3 -3
- package/dist/components/atoms/Chip/Chip.d.ts +1 -1
- package/dist/components/atoms/DefaultImage/DefaultImage.d.ts +4 -1
- package/dist/components/atoms/DefaultImage/types.d.ts +5 -0
- package/dist/components/molecules/DropDown/DropDown.d.ts +1 -0
- package/dist/components/molecules/DropDown/types.d.ts +1 -0
- package/dist/components/molecules/InputPhone/InputPhone.d.ts +2 -0
- package/dist/components/molecules/ProductImage/ProductImage.d.ts +1 -1
- package/dist/components/molecules/ProductImage/types.d.ts +1 -1
- package/dist/components/molecules/Slider/Slider.d.ts +5 -0
- package/dist/components/molecules/Slider/SliderProps.d.ts +4 -0
- package/dist/index.js +10011 -10059
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
9
|
+
inactive: boolean;
|
|
10
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
11
|
+
defaultImageRef: HTMLDivElement;
|
|
12
|
+
}, HTMLDivElement>;
|
|
10
13
|
export default _default;
|
|
@@ -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;
|
|
@@ -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
|
-
|
|
15
|
+
sliderRef: HTMLDivElement;
|
|
16
16
|
}, HTMLDivElement>;
|
|
17
17
|
export default _default;
|
|
@@ -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
|
}
|