@fixefy/fixefy-ui-utils 0.0.21 → 0.0.22

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.
@@ -44,7 +44,7 @@ declare module '@mui/material/styles' {
44
44
  pending: Palette['primary'];
45
45
  score: ScorePaletteColorOptions;
46
46
  invoiceAnalysis: InvoiceAnalysisPaletteColorOptions;
47
- status: StatePaletteColorOptions;
47
+ status: StatusPaletteColorOptions;
48
48
  tag: TagPaletteColorOptions;
49
49
  invoiceState: InvoiceStatesPaletteColorOptions;
50
50
  reconcilationState: RecosStatesPaletteColorOptions;
@@ -74,7 +74,7 @@ declare module '@mui/material/styles' {
74
74
  invoiceAnalysis: InvoiceAnalysisPaletteColorOptions;
75
75
  trends: TrendsPaletteColorOptions;
76
76
  uploader: UploaderPaletteColorOptions;
77
- status: StatePaletteColorOptions;
77
+ status: StatusPaletteColorOptions;
78
78
  tag: TagPaletteColorOptions;
79
79
  invoiceState: InvoiceStatesPaletteColorOptions;
80
80
  reconcilationState: RecosStatesPaletteColorOptions;
@@ -165,23 +165,6 @@ declare module '@mui/material/styles' {
165
165
  matching: string;
166
166
  invalid: string;
167
167
  }
168
- interface StatePaletteColorOptions {
169
- active: StatusColorOption;
170
- approve: StatusColorOption;
171
- challenge: StatusColorOption;
172
- challenged: StatusColorOption;
173
- declined: StatusColorOption;
174
- discrepancy: StatusColorOption;
175
- duplicate: StatusColorOption;
176
- duplicated: StatusColorOption;
177
- gold: StatusColorOption;
178
- in_progress: StatusColorOption;
179
- in_review: StatusColorOption;
180
- no_pricing: StatusColorOption;
181
- pending: StatusColorOption;
182
- pending_approval: StatusColorOption;
183
- pending_challenge: StatusColorOption;
184
- }
185
168
  interface StatusPaletteColorOptions {
186
169
  active: StatusColorOption;
187
170
  approve: StatusColorOption;
@@ -196,39 +179,34 @@ declare module '@mui/material/styles' {
196
179
  in_review: StatusColorOption;
197
180
  no_pricing: StatusColorOption;
198
181
  pending: StatusColorOption;
199
- pending_approval: StatusColorOption;
200
- pending_challenge: StatusColorOption;
201
182
  }
202
183
  interface TagPaletteColorOptions {
203
184
  approved: StatusColorOption;
204
- closed: StatusColorOption;
205
185
  created: StatusColorOption;
206
186
  declined: StatusColorOption;
207
187
  in_dispute: StatusColorOption;
208
188
  in_progress: StatusColorOption;
209
- low: StatusColorOption;
210
189
  paid: StatusColorOption;
211
- pending: StatusColorOption;
190
+ closed: StatusColorOption;
212
191
  refunded: StatusColorOption;
192
+ low: StatusColorOption;
213
193
  }
214
194
  interface InvoiceStatesPaletteColorOptions {
215
195
  approved: StatusColorOption;
216
- closed: StatusColorOption;
217
196
  created: StatusColorOption;
218
197
  declined: StatusColorOption;
219
198
  in_dispute: StatusColorOption;
220
199
  in_progress: StatusColorOption;
221
200
  paid: StatusColorOption;
222
- pending: StatusColorOption;
201
+ closed: StatusColorOption;
223
202
  }
224
203
  interface RecosStatesPaletteColorOptions {
225
- approved: StatusColorOption;
226
- closed: StatusColorOption;
227
204
  created: StatusColorOption;
228
- declined: StatusColorOption;
229
205
  in_progress: StatusColorOption;
230
- pending: StatusColorOption;
206
+ approved: StatusColorOption;
207
+ declined: StatusColorOption;
231
208
  refunded: StatusColorOption;
209
+ closed: StatusColorOption;
232
210
  }
233
211
  interface SnackbarPaletteColorOptions {
234
212
  info: SnackbarColorOption;
@@ -249,6 +227,7 @@ declare module '@mui/material/styles' {
249
227
  interface StatusColorOption {
250
228
  border: string;
251
229
  background: string;
230
+ light?: string;
252
231
  }
253
232
  interface SnackbarColorOption {
254
233
  border: string;
@@ -269,14 +269,6 @@ const theme = (0, _styles.createTheme)({
269
269
  pending: {
270
270
  border: '#ECC631',
271
271
  background: '#FEFDF3'
272
- },
273
- pending_approval: {
274
- border: '#ECC631',
275
- background: '#FEFDF3'
276
- },
277
- pending_challenge: {
278
- border: '#F7C08F',
279
- background: '#FEFAF6'
280
272
  }
281
273
  },
282
274
  tag: {
@@ -284,10 +276,6 @@ const theme = (0, _styles.createTheme)({
284
276
  border: '#27AE60',
285
277
  background: '#27AE60'
286
278
  },
287
- closed: {
288
- border: '#8B9092',
289
- background: '#8B9092'
290
- },
291
279
  created: {
292
280
  border: '#87ACB6',
293
281
  background: '#87ACB6'
@@ -297,38 +285,35 @@ const theme = (0, _styles.createTheme)({
297
285
  background: '#EB5757'
298
286
  },
299
287
  in_dispute: {
300
- border: '#EC6AC8',
301
- background: '#EC6AC8'
302
- },
303
- in_progress: {
304
288
  border: '#56CCF2',
305
289
  background: '#56CCF2'
306
290
  },
307
- low: {
291
+ in_progress: {
308
292
  border: '#56CCF2',
309
- background: '#88C00D'
293
+ background: '#56CCF2'
310
294
  },
311
295
  paid: {
312
296
  border: '#BB6BD9',
313
297
  background: '#BB6BD9'
314
298
  },
315
- pending: {
316
- border: '#ECC631',
317
- background: '#ECC631'
299
+ closed: {
300
+ border: '#8B9092',
301
+ background: '#8B9092'
318
302
  },
319
303
  refunded: {
320
304
  border: '#BB6BD9',
321
305
  background: '#BB6BD9'
306
+ },
307
+ low: {
308
+ border: '#56CCF2',
309
+ background: '#88C00D'
322
310
  }
323
311
  },
324
312
  invoiceState: {
325
313
  approved: {
326
314
  border: '#27AE60',
327
- background: '#27AE60'
328
- },
329
- closed: {
330
- border: '#8B9092',
331
- background: '#8B9092'
315
+ background: '#27AE60',
316
+ light: '#D4EFDF'
332
317
  },
333
318
  created: {
334
319
  border: '#87ACB6',
@@ -339,8 +324,9 @@ const theme = (0, _styles.createTheme)({
339
324
  background: '#EB5757'
340
325
  },
341
326
  in_dispute: {
342
- border: '#EC6AC8',
343
- background: '#EC6AC8'
327
+ border: '#F2994A',
328
+ background: '#F2994A',
329
+ light: '#FCEBDB'
344
330
  },
345
331
  in_progress: {
346
332
  border: '#56CCF2',
@@ -350,39 +336,35 @@ const theme = (0, _styles.createTheme)({
350
336
  border: '#BB6BD9',
351
337
  background: '#BB6BD9'
352
338
  },
353
- pending: {
354
- border: '#ECC631',
355
- background: '#ECC631'
356
- }
357
- },
358
- reconcilationState: {
359
- approved: {
360
- border: '#27AE60',
361
- background: '#27AE60'
362
- },
363
339
  closed: {
364
340
  border: '#8B9092',
365
341
  background: '#8B9092'
366
- },
342
+ }
343
+ },
344
+ reconcilationState: {
367
345
  created: {
368
346
  border: '#87ACB6',
369
347
  background: '#87ACB6'
370
348
  },
371
- declined: {
372
- border: '#EB5757',
373
- background: '#EB5757'
374
- },
375
349
  in_progress: {
376
350
  border: '#56CCF2',
377
351
  background: '#56CCF2'
378
352
  },
379
- pending: {
380
- border: '#ECC631',
381
- background: '#ECC631'
353
+ approved: {
354
+ border: '#27AE60',
355
+ background: '#27AE60'
356
+ },
357
+ declined: {
358
+ border: '#EB5757',
359
+ background: '#EB5757'
382
360
  },
383
361
  refunded: {
384
362
  border: '#BB6BD9',
385
363
  background: '#BB6BD9'
364
+ },
365
+ closed: {
366
+ border: '#8B9092',
367
+ background: '#8B9092'
386
368
  }
387
369
  },
388
370
  trends: {
package/package.json CHANGED
@@ -63,5 +63,5 @@
63
63
  "require": "./dist/index.js"
64
64
  }
65
65
  },
66
- "version": "0.0.21"
66
+ "version": "0.0.22"
67
67
  }