@club-employes/utopia 2.8.0 → 2.11.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/index.d.ts +59 -1
- package/dist/index.js +152 -885
- package/dist/utopia.css +1 -1
- package/package.json +6 -2
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,59 @@
|
|
|
1
|
-
|
|
1
|
+
// Type definitions for @club-employes/utopia
|
|
2
|
+
import { DefineComponent } from 'vue'
|
|
3
|
+
|
|
4
|
+
// Component prop types
|
|
5
|
+
export interface BadgeProps {
|
|
6
|
+
variant?: 'default' | 'success' | 'warning' | 'danger'
|
|
7
|
+
size?: 'small' | 'medium'
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface ButtonProps {
|
|
11
|
+
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger'
|
|
12
|
+
size?: 'small' | 'medium' | 'large'
|
|
13
|
+
disabled?: boolean
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface IconProps {
|
|
17
|
+
name: string
|
|
18
|
+
size?: 'small' | 'medium' | 'large'
|
|
19
|
+
color?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface LogoProps {
|
|
23
|
+
variant?: 'auto' | 'default' | 'white' | 'small' | 'small-white'
|
|
24
|
+
size?: 'small' | 'medium' | 'large'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface ThemeConfig {
|
|
28
|
+
name: string
|
|
29
|
+
mode: 'light' | 'dark'
|
|
30
|
+
cssFile: string
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface ThemeProviderProps {
|
|
34
|
+
theme: ThemeConfig
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Component exports
|
|
38
|
+
export declare const Badge: DefineComponent<BadgeProps>
|
|
39
|
+
export declare const Button: DefineComponent<ButtonProps>
|
|
40
|
+
export declare const Icon: DefineComponent<IconProps>
|
|
41
|
+
export declare const Logo: DefineComponent<LogoProps>
|
|
42
|
+
export declare const ThemeProvider: DefineComponent<ThemeProviderProps>
|
|
43
|
+
|
|
44
|
+
// Theme exports
|
|
45
|
+
export declare const clubEmployesLight: ThemeConfig
|
|
46
|
+
export declare const clubEmployesDark: ThemeConfig
|
|
47
|
+
export declare const gifteoLight: ThemeConfig
|
|
48
|
+
export declare const gifteoDark: ThemeConfig
|
|
49
|
+
|
|
50
|
+
// Type exports
|
|
51
|
+
export type BadgeVariant = 'default' | 'success' | 'warning' | 'danger'
|
|
52
|
+
export type BadgeSize = 'small' | 'medium'
|
|
53
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger'
|
|
54
|
+
export type ButtonSize = 'small' | 'medium' | 'large'
|
|
55
|
+
export type IconName = string
|
|
56
|
+
export type IconSize = 'small' | 'medium' | 'large'
|
|
57
|
+
export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
|
|
58
|
+
export type LogoVariant = 'auto' | 'default' | 'white' | 'small' | 'small-white'
|
|
59
|
+
export type LogoSize = 'small' | 'medium' | 'large'
|