@club-employes/utopia 4.38.0 → 4.40.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 +38 -11
- package/dist/index.js +3096 -2883
- package/dist/utopia.css +1 -1
- package/package.json +11 -8
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -282,6 +282,17 @@ export interface ProductCardProps {
|
|
|
282
282
|
language?: 'fr' | 'en';
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
+
export interface ErrorStateProps {
|
|
286
|
+
title?: string
|
|
287
|
+
description?: string
|
|
288
|
+
actionLabel?: string
|
|
289
|
+
retryAction?: () => void
|
|
290
|
+
spinning?: boolean
|
|
291
|
+
imageSrc?: string
|
|
292
|
+
imageAlt?: string
|
|
293
|
+
preset?: 'gears' | 'search'
|
|
294
|
+
}
|
|
295
|
+
|
|
285
296
|
export interface FilterPriceProps {
|
|
286
297
|
variant?: 'default' | 'primary' | 'secondary'
|
|
287
298
|
size?: 'small' | 'medium' | 'large'
|
|
@@ -302,6 +313,30 @@ export interface ModalProps {
|
|
|
302
313
|
onOpenChange?: (open: boolean, reason: 'open' | 'close' | 'overlay' | 'escape' | 'close-button') => void
|
|
303
314
|
}
|
|
304
315
|
|
|
316
|
+
export type BottomSheetChangeReason = 'open' | 'close' | 'escape' | 'overlay'
|
|
317
|
+
|
|
318
|
+
export interface BottomSheetProps {
|
|
319
|
+
title?: string
|
|
320
|
+
open?: boolean
|
|
321
|
+
defaultOpen?: boolean
|
|
322
|
+
closeOnOverlayClick?: boolean
|
|
323
|
+
focusTrap?: boolean
|
|
324
|
+
disableScrollLock?: boolean
|
|
325
|
+
onOpenChange?: (open: boolean, reason: BottomSheetChangeReason) => void
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export interface PageNavigationProps {
|
|
329
|
+
currentPage: number
|
|
330
|
+
totalPages: number
|
|
331
|
+
compact?: boolean
|
|
332
|
+
showSize?: boolean
|
|
333
|
+
sizeLabel?: string
|
|
334
|
+
size?: number
|
|
335
|
+
sizeOptions?: number[]
|
|
336
|
+
showGoToPage?: boolean
|
|
337
|
+
goToPageLabel?: string
|
|
338
|
+
}
|
|
339
|
+
|
|
305
340
|
// Component exports
|
|
306
341
|
export declare const Badge: DefineComponent<BadgeProps>
|
|
307
342
|
export declare const Button: DefineComponent<ButtonProps>
|
|
@@ -332,17 +367,6 @@ export declare const AuthLayout: DefineComponent<{}>
|
|
|
332
367
|
export declare const Slider: DefineComponent<{}>
|
|
333
368
|
export declare const Breadcrumbs: DefineComponent<BreadcrumbsProps>
|
|
334
369
|
export declare const Link: DefineComponent<LinkProps>
|
|
335
|
-
|
|
336
|
-
export interface ErrorStateProps {
|
|
337
|
-
title?: string
|
|
338
|
-
description?: string
|
|
339
|
-
actionLabel?: string
|
|
340
|
-
retryAction?: () => void
|
|
341
|
-
spinning?: boolean
|
|
342
|
-
imageSrc?: string
|
|
343
|
-
imageAlt?: string
|
|
344
|
-
preset?: 'gears' | 'search'
|
|
345
|
-
}
|
|
346
370
|
export declare const ErrorState: DefineComponent<ErrorStateProps>
|
|
347
371
|
export declare const FeedbackState: DefineComponent<ErrorStateProps>
|
|
348
372
|
|
|
@@ -351,6 +375,9 @@ export declare const FilterChip: DefineComponent<FilterChipProps>
|
|
|
351
375
|
export declare const ProductCard: DefineComponent<ProductCardProps>
|
|
352
376
|
export declare const FilterPrice: DefineComponent<FilterPriceProps>
|
|
353
377
|
export declare const Modal: DefineComponent<ModalProps>
|
|
378
|
+
export declare const BottomSheet: DefineComponent<BottomSheetProps>
|
|
379
|
+
export declare const PageNavigation: DefineComponent<PageNavigationProps>
|
|
380
|
+
|
|
354
381
|
// Theme exports
|
|
355
382
|
export declare const clubEmployesLight: ThemeConfig
|
|
356
383
|
export declare const clubEmployesDark: ThemeConfig
|