@club-employes/utopia 2.13.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2025-08-13T23:12:50.359Z",
2
+ "generated": "2025-08-19T10:41:11.553Z",
3
3
  "count": 1238,
4
4
  "icons": [
5
5
  "Accessibility",
@@ -813,6 +813,7 @@
813
813
  "Outdent",
814
814
  "Package-2",
815
815
  "Package-check",
816
+ "Package-first",
816
817
  "Package-minus",
817
818
  "Package-open",
818
819
  "Package-plus",
@@ -1236,7 +1237,6 @@
1236
1237
  "Zoom-out",
1237
1238
  "globe",
1238
1239
  "link",
1239
- "package",
1240
1240
  "phone",
1241
1241
  "stethoscope",
1242
1242
  "watch"
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' | 'outline' | 'ghost' | 'danger'
12
- size?: 'small' | 'medium' | 'large'
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 {
@@ -58,6 +61,13 @@ export interface CheckboxProps {
58
61
  size?: 'small' | 'medium' | 'large'
59
62
  }
60
63
 
64
+ export interface SwitchProps {
65
+ modelValue?: boolean
66
+ disabled?: boolean
67
+ size?: 'small' | 'medium' | 'large'
68
+ label?: string
69
+ }
70
+
61
71
  export interface DataTableProps {
62
72
  columns: Array<{
63
73
  key: string
@@ -99,6 +109,7 @@ export declare const Logo: DefineComponent<LogoProps>
99
109
  export declare const Menu: DefineComponent<{}>
100
110
  export declare const NavItem: DefineComponent<{}>
101
111
  export declare const SearchBox: DefineComponent<SearchBoxProps>
112
+ export declare const Switch: DefineComponent<SwitchProps>
102
113
  export declare const DataTable: DefineComponent<DataTableProps>
103
114
  export declare const ThemeProvider: DefineComponent<ThemeProviderProps>
104
115
  export declare const DefaultLayout: DefineComponent<{}>
@@ -138,8 +149,8 @@ export declare function useFavicon(): UseFaviconReturn
138
149
  // Type exports
139
150
  export type BadgeVariant = 'default' | 'success' | 'warning' | 'danger'
140
151
  export type BadgeSize = 'small' | 'medium'
141
- export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger'
142
- export type ButtonSize = 'small' | 'medium' | 'large'
152
+ export type ButtonVariant = 'primary' | 'secondary' | 'tertiary'
153
+ export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
143
154
  export type IconName = string
144
155
  export type IconSize = 'small' | 'medium' | 'large'
145
156
  export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'