@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.
- package/dist/dark-B2LIRBa2.js +4 -0
- package/dist/dark-xyEfHphU.js +4 -0
- package/dist/icons-list.json +1 -1
- package/dist/index.d.ts +32 -0
- package/dist/index.js +1521 -1309
- package/dist/light-BIaQTN8x.js +4 -0
- package/dist/{light-Co_SWOOf.js → light-CZIWPXZi.js} +1 -1
- package/dist/tokens/club-employes/dark.css +8 -8
- package/dist/tokens/club-employes/dark.js +15 -8
- package/dist/tokens/club-employes/light.css +8 -8
- package/dist/tokens/club-employes/light.js +15 -8
- package/dist/tokens/gifteo/dark.css +8 -8
- package/dist/tokens/gifteo/dark.js +15 -8
- package/dist/tokens/gifteo/light.css +8 -8
- package/dist/tokens/gifteo/light.js +15 -8
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
- package/dist/dark-DHlcliOD.js +0 -4
- package/dist/dark-Dx2BoWwM.js +0 -4
- package/dist/light-B30P2O83.js +0 -4
package/dist/icons-list.json
CHANGED
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>
|