@club-employes/utopia 4.30.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 +16 -3
- package/dist/index.js +2702 -1579
- 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 {
|
|
@@ -303,6 +304,18 @@ export interface UseFaviconReturn {
|
|
|
303
304
|
updateFavicon: (faviconUrl: string) => void
|
|
304
305
|
}
|
|
305
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>
|
|
306
319
|
// Composable exports
|
|
307
320
|
export declare function useTheme(): UseThemeReturn
|
|
308
321
|
export declare function useFavicon(): UseFaviconReturn
|
|
@@ -319,7 +332,7 @@ export type BadgeSize = 'small' | 'medium'
|
|
|
319
332
|
export type ButtonVariant = 'primary' | 'secondary' | 'tertiary'
|
|
320
333
|
export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
321
334
|
export type IconName = string
|
|
322
|
-
export type IconSize = 'small' | 'medium' | 'large'
|
|
335
|
+
export type IconSize = 'extra-small' | 'small' | 'medium' | 'large'
|
|
323
336
|
export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
|
|
324
337
|
export type LogoVariant = 'auto' | 'default' | 'white' | 'small' | 'small-white'
|
|
325
338
|
export type LogoSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
|