@club-employes/utopia 4.8.0 → 4.8.2

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-09-08T09:27:12.556Z",
2
+ "generated": "2025-09-09T08:55:46.687Z",
3
3
  "count": 1238,
4
4
  "icons": [
5
5
  "Accessibility",
package/dist/index.d.ts CHANGED
@@ -152,6 +152,36 @@ export interface DataTableProps {
152
152
  rowKey?: string | ((row: any) => string)
153
153
  }
154
154
 
155
+ export interface BalanceCardProps {
156
+ campaignName: string
157
+ category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport'
158
+ totalAmount: number
159
+ spentAmount: number
160
+ expirationDate: string | Date
161
+ variant?: 'default' | 'primary' | 'secondary'
162
+ size?: 'small' | 'medium' | 'large'
163
+ disabled?: boolean
164
+ actionable?: () => void
165
+ language?: 'fr' | 'en'
166
+ currency?: string
167
+ }
168
+
169
+ export interface BalanceCardGroupProps {
170
+ cards: BalanceCardData[]
171
+ language?: 'fr' | 'en'
172
+ currency?: string
173
+ }
174
+
175
+ export interface BalanceCardData {
176
+ campaignName: string
177
+ category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport'
178
+ totalAmount: number
179
+ spentAmount: number
180
+ campaignCount: number
181
+ actionable?: () => void
182
+ disabled?: boolean
183
+ }
184
+
155
185
  export interface SkeletonProps {
156
186
  width?: string | number
157
187
  height?: string | number
@@ -203,6 +233,8 @@ export declare const InputText: DefineComponent<InputTextProps>
203
233
  export declare const DropDown: DefineComponent<DropDownProps>
204
234
  export declare const InputCode: DefineComponent<InputCodeProps>
205
235
  export declare const DataTable: DefineComponent<DataTableProps>
236
+ export declare const BalanceCard: DefineComponent<BalanceCardProps>
237
+ export declare const BalanceCardGroup: DefineComponent<BalanceCardGroupProps>
206
238
  export declare const Skeleton: DefineComponent<SkeletonProps>
207
239
  export declare const SkeletonAvatar: DefineComponent<SkeletonAvatarProps>
208
240
  export declare const SkeletonText: DefineComponent<SkeletonTextProps>