@club-employes/utopia 4.31.0 → 4.33.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/dark-ClkVxmkZ.js +4 -0
- package/dist/dark-gzt5agWk.js +4 -0
- package/dist/icons-list.json +1 -1
- package/dist/index.d.ts +40 -0
- package/dist/index.js +2053 -1769
- package/dist/light-BbFm7eMu.js +4 -0
- package/dist/{light-CdqQP0QH.js → light-DTJp1z_H.js} +1 -1
- package/dist/tokens/club-employes/dark.css +66 -0
- package/dist/tokens/club-employes/dark.js +66 -0
- package/dist/tokens/club-employes/light.css +66 -0
- package/dist/tokens/club-employes/light.js +66 -0
- package/dist/tokens/gifteo/dark.css +66 -0
- package/dist/tokens/gifteo/dark.js +66 -0
- package/dist/tokens/gifteo/light.css +66 -0
- package/dist/tokens/gifteo/light.js +66 -0
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
- package/dist/dark-BguGJqy8.js +0 -4
- package/dist/dark-DQ7DUCET.js +0 -4
- package/dist/light-CV4r3iDu.js +0 -4
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,8 @@ export interface ChipProps {
|
|
|
79
79
|
leftIcon?: string
|
|
80
80
|
actionable?: boolean
|
|
81
81
|
ghost?: boolean
|
|
82
|
+
customColor?: string
|
|
83
|
+
customTextColor?: string
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
export interface InputTextProps {
|
|
@@ -237,6 +239,41 @@ export interface LinkProps {
|
|
|
237
239
|
disabled?: boolean
|
|
238
240
|
}
|
|
239
241
|
|
|
242
|
+
export interface PriceTagProps {
|
|
243
|
+
variantCount?: number;
|
|
244
|
+
price: number;
|
|
245
|
+
oldPrice?: number;
|
|
246
|
+
currency?: string;
|
|
247
|
+
isSubventioned?: boolean;
|
|
248
|
+
language?: 'fr' | 'en';
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export interface ProductCardProps {
|
|
252
|
+
id: string;
|
|
253
|
+
title: string;
|
|
254
|
+
description?: string;
|
|
255
|
+
imageUrl: string;
|
|
256
|
+
logoUrl?: string;
|
|
257
|
+
isFavorite: boolean;
|
|
258
|
+
tags?: string[];
|
|
259
|
+
available?: boolean;
|
|
260
|
+
variantCount?: number;
|
|
261
|
+
price?: number;
|
|
262
|
+
oldPrice?: number;
|
|
263
|
+
discount?: string;
|
|
264
|
+
discountTooltip?: string;
|
|
265
|
+
currency?: string;
|
|
266
|
+
subventionName?: string;
|
|
267
|
+
subventionTooltip?: string;
|
|
268
|
+
language?: 'fr' | 'en';
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export interface FilterPriceProps {
|
|
272
|
+
variant?: 'default' | 'primary' | 'secondary'
|
|
273
|
+
size?: 'small' | 'medium' | 'large'
|
|
274
|
+
disabled?: boolean
|
|
275
|
+
}
|
|
276
|
+
|
|
240
277
|
// Component exports
|
|
241
278
|
export declare const Badge: DefineComponent<BadgeProps>
|
|
242
279
|
export declare const Button: DefineComponent<ButtonProps>
|
|
@@ -267,6 +304,9 @@ export declare const AuthLayout: DefineComponent<{}>
|
|
|
267
304
|
export declare const Slider: DefineComponent<{}>
|
|
268
305
|
export declare const Breadcrumbs: DefineComponent<BreadcrumbsProps>
|
|
269
306
|
export declare const Link: DefineComponent<LinkProps>
|
|
307
|
+
export declare const PriceTag: DefineComponent<PriceTagProps>
|
|
308
|
+
export declare const ProductCard: DefineComponent<ProductCardProps>
|
|
309
|
+
export declare const FilterPrice: DefineComponent<FilterPriceProps>
|
|
270
310
|
// Theme exports
|
|
271
311
|
export declare const clubEmployesLight: ThemeConfig
|
|
272
312
|
export declare const clubEmployesDark: ThemeConfig
|