@club-employes/utopia 4.35.0 → 4.37.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/icons-list.json +1 -1
- package/dist/index.d.ts +14 -4
- package/dist/index.js +1193 -1140
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export interface InputTextProps {
|
|
|
90
90
|
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url'
|
|
91
91
|
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'
|
|
92
92
|
state?: 'default' | 'error' | 'valid' | 'incomplete' | 'completed'
|
|
93
|
-
size?: 'small' | 'medium' | 'large'
|
|
93
|
+
size?: 'extra-small' | 'small' | 'medium' | 'large'
|
|
94
94
|
disabled?: boolean
|
|
95
95
|
readonly?: boolean
|
|
96
96
|
icon?: string
|
|
@@ -160,6 +160,14 @@ export interface DataTableProps {
|
|
|
160
160
|
rowKey?: string | ((row: any) => string)
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
export interface FilterChipProps {
|
|
164
|
+
filters: Record<string, any>
|
|
165
|
+
disabled?: boolean
|
|
166
|
+
removable?: boolean
|
|
167
|
+
variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger'
|
|
168
|
+
size?: 'extra-small' | 'small' | 'medium' | 'large'
|
|
169
|
+
}
|
|
170
|
+
|
|
163
171
|
export interface BalanceCardProps {
|
|
164
172
|
campaignName: string
|
|
165
173
|
category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport'
|
|
@@ -250,6 +258,7 @@ export interface PriceTagProps {
|
|
|
250
258
|
oldPrice?: number;
|
|
251
259
|
currency?: string;
|
|
252
260
|
isSubventioned?: boolean;
|
|
261
|
+
isDiscounted?: boolean;
|
|
253
262
|
language?: 'fr' | 'en';
|
|
254
263
|
}
|
|
255
264
|
|
|
@@ -324,6 +333,7 @@ export declare const ErrorState: DefineComponent<ErrorStateProps>
|
|
|
324
333
|
export declare const FeedbackState: DefineComponent<ErrorStateProps>
|
|
325
334
|
|
|
326
335
|
export declare const PriceTag: DefineComponent<PriceTagProps>
|
|
336
|
+
export declare const FilterChip: DefineComponent<FilterChipProps>
|
|
327
337
|
export declare const ProductCard: DefineComponent<ProductCardProps>
|
|
328
338
|
export declare const FilterPrice: DefineComponent<FilterPriceProps>
|
|
329
339
|
// Theme exports
|
|
@@ -364,14 +374,14 @@ export interface UseFaviconReturn {
|
|
|
364
374
|
}
|
|
365
375
|
|
|
366
376
|
export interface TooltipProps {
|
|
367
|
-
placement?: 'top' | 'bottom' | 'left' | 'right' | '
|
|
377
|
+
placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'top_left' | 'top_right' | 'top_center' | 'bottom_left' | 'bottom_right' | 'bottom_center'
|
|
368
378
|
openDelay?: number
|
|
369
379
|
closeDelay?: number
|
|
370
380
|
offset?: number
|
|
371
381
|
withArrow?: boolean
|
|
382
|
+
active?: boolean
|
|
372
383
|
disabled?: boolean
|
|
373
|
-
|
|
374
|
-
defaultOpen?: boolean
|
|
384
|
+
interactive?: boolean
|
|
375
385
|
}
|
|
376
386
|
|
|
377
387
|
export declare const Tooltip: DefineComponent<TooltipProps>
|