@club-employes/utopia 2.14.0 → 2.15.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 +7 -4
- package/dist/index.js +717 -764
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -8,9 +8,12 @@ export interface BadgeProps {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export interface ButtonProps {
|
|
11
|
-
variant?: 'primary' | 'secondary' | '
|
|
12
|
-
size?: '
|
|
11
|
+
variant?: 'primary' | 'secondary' | 'tertiary'
|
|
12
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
13
13
|
disabled?: boolean
|
|
14
|
+
loading?: boolean
|
|
15
|
+
icon?: string
|
|
16
|
+
iconPosition?: 'left' | 'right'
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
export interface IconProps {
|
|
@@ -146,8 +149,8 @@ export declare function useFavicon(): UseFaviconReturn
|
|
|
146
149
|
// Type exports
|
|
147
150
|
export type BadgeVariant = 'default' | 'success' | 'warning' | 'danger'
|
|
148
151
|
export type BadgeSize = 'small' | 'medium'
|
|
149
|
-
export type ButtonVariant = 'primary' | 'secondary' | '
|
|
150
|
-
export type ButtonSize = '
|
|
152
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'tertiary'
|
|
153
|
+
export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
151
154
|
export type IconName = string
|
|
152
155
|
export type IconSize = 'small' | 'medium' | 'large'
|
|
153
156
|
export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
|