@club-employes/utopia 4.29.0 → 4.31.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 +26 -8
- package/dist/index.js +2805 -1667
- package/dist/utopia.css +1 -1
- package/package.json +4 -1
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface ButtonProps {
|
|
|
18
18
|
|
|
19
19
|
export interface IconProps {
|
|
20
20
|
name: string
|
|
21
|
-
size?: 'small' | 'medium' | 'large'
|
|
21
|
+
size?: 'extra-small' | 'small' | 'medium' | 'large'
|
|
22
22
|
color?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -73,11 +73,12 @@ export interface SwitchProps {
|
|
|
73
73
|
|
|
74
74
|
export interface ChipProps {
|
|
75
75
|
variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger'
|
|
76
|
-
size?: 'small' | 'medium' | 'large'
|
|
76
|
+
size?: 'extra-small' | 'small' | 'medium' | 'large'
|
|
77
77
|
disabled?: boolean
|
|
78
78
|
removable?: boolean
|
|
79
79
|
leftIcon?: string
|
|
80
80
|
actionable?: boolean
|
|
81
|
+
ghost?: boolean
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
export interface InputTextProps {
|
|
@@ -210,10 +211,15 @@ export interface ThemeConfig {
|
|
|
210
211
|
cssFile: string
|
|
211
212
|
}
|
|
212
213
|
|
|
213
|
-
export interface
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
export interface BreadcrumbsItem {
|
|
215
|
+
label: string;
|
|
216
|
+
to?: string;
|
|
217
|
+
iconLeft?: string;
|
|
218
|
+
iconRight?: string;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export interface BreadcrumbsProps {
|
|
222
|
+
items: BreadcrumbsItem[]
|
|
217
223
|
}
|
|
218
224
|
|
|
219
225
|
export interface ThemeProviderProps {
|
|
@@ -259,7 +265,7 @@ export declare const ThemeProvider: DefineComponent<ThemeProviderProps>
|
|
|
259
265
|
export declare const DefaultLayout: DefineComponent<{}>
|
|
260
266
|
export declare const AuthLayout: DefineComponent<{}>
|
|
261
267
|
export declare const Slider: DefineComponent<{}>
|
|
262
|
-
export declare const
|
|
268
|
+
export declare const Breadcrumbs: DefineComponent<BreadcrumbsProps>
|
|
263
269
|
export declare const Link: DefineComponent<LinkProps>
|
|
264
270
|
// Theme exports
|
|
265
271
|
export declare const clubEmployesLight: ThemeConfig
|
|
@@ -298,6 +304,18 @@ export interface UseFaviconReturn {
|
|
|
298
304
|
updateFavicon: (faviconUrl: string) => void
|
|
299
305
|
}
|
|
300
306
|
|
|
307
|
+
export interface TooltipProps {
|
|
308
|
+
placement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end'
|
|
309
|
+
openDelay?: number
|
|
310
|
+
closeDelay?: number
|
|
311
|
+
offset?: number
|
|
312
|
+
withArrow?: boolean
|
|
313
|
+
disabled?: boolean
|
|
314
|
+
open?: boolean
|
|
315
|
+
defaultOpen?: boolean
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export declare const Tooltip: DefineComponent<TooltipProps>
|
|
301
319
|
// Composable exports
|
|
302
320
|
export declare function useTheme(): UseThemeReturn
|
|
303
321
|
export declare function useFavicon(): UseFaviconReturn
|
|
@@ -314,7 +332,7 @@ export type BadgeSize = 'small' | 'medium'
|
|
|
314
332
|
export type ButtonVariant = 'primary' | 'secondary' | 'tertiary'
|
|
315
333
|
export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
316
334
|
export type IconName = string
|
|
317
|
-
export type IconSize = 'small' | 'medium' | 'large'
|
|
335
|
+
export type IconSize = 'extra-small' | 'small' | 'medium' | 'large'
|
|
318
336
|
export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
|
|
319
337
|
export type LogoVariant = 'auto' | 'default' | 'white' | 'small' | 'small-white'
|
|
320
338
|
export type LogoSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
|