@fixefy/fixefy-ui-utils 0.2.6 → 0.2.8

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.
@@ -54,6 +54,7 @@ declare module '@mui/material/styles' {
54
54
  statistics: StatisticsPalleteColorOptions;
55
55
  typography: TypographyPalleteColorOptions;
56
56
  priority: PriorityPalleteColorOptions;
57
+ chipPriority: ChipPriorityPalleteColorOptions;
57
58
  colors: ColorsPaletteColorOptions;
58
59
  values: ValuesPaletteColorOptions;
59
60
  }
@@ -83,6 +84,7 @@ declare module '@mui/material/styles' {
83
84
  statistics: StatisticsPalleteColorOptions;
84
85
  typography: TypographyPalleteColorOptions;
85
86
  priority: PriorityPalleteColorOptions;
87
+ chipPriority: ChipPriorityPalleteColorOptions;
86
88
  colors: ColorsPaletteColorOptions;
87
89
  values: ValuesPaletteColorOptions;
88
90
  }
@@ -124,31 +126,23 @@ declare module '@mui/material/styles' {
124
126
  lightPurple: string;
125
127
  }
126
128
  interface PriorityPalleteColorOptions {
127
- critical: {
128
- border: string;
129
- background: string;
130
- label: string;
131
- };
132
- high: {
133
- border: string;
134
- background: string;
135
- label: string;
136
- };
137
- low: {
138
- border: string;
139
- background: string;
140
- label: string;
141
- };
142
- medium: {
143
- border: string;
144
- background: string;
145
- label: string;
146
- };
147
- marginal: {
148
- border: string;
149
- background: string;
150
- label: string;
151
- };
129
+ critical: string;
130
+ high: string;
131
+ low: string;
132
+ medium: string;
133
+ marginal: string;
134
+ }
135
+ interface ChipPriorityColorOption {
136
+ label: string;
137
+ background: string;
138
+ border: string;
139
+ }
140
+ interface ChipPriorityPalleteColorOptions {
141
+ critical: ChipPriorityColorOption;
142
+ high: ChipPriorityColorOption;
143
+ low: ChipPriorityColorOption;
144
+ medium: ChipPriorityColorOption;
145
+ marginal: ChipPriorityColorOption;
152
146
  }
153
147
  interface UploaderPaletteColorOptions {
154
148
  processing: {
@@ -183,6 +183,13 @@ const theme = (0, _styles.createTheme)({
183
183
  '800': '#2F4F57'
184
184
  },
185
185
  priority: {
186
+ critical: '#EB5757',
187
+ high: '#F2994A',
188
+ low: '#2D9CDB',
189
+ medium: '#88C00D',
190
+ marginal: '#56CCF2'
191
+ },
192
+ chipPriority: {
186
193
  critical: {
187
194
  label: '#EB5757',
188
195
  background: '#FEF6F6',
@@ -359,7 +366,8 @@ const theme = (0, _styles.createTheme)({
359
366
  },
360
367
  declined: {
361
368
  border: '#EB5757',
362
- background: '#EB5757'
369
+ background: '#EB5757',
370
+ light: '#FEF6F6'
363
371
  },
364
372
  in_dispute: {
365
373
  border: '#F2994A',
@@ -368,11 +376,13 @@ const theme = (0, _styles.createTheme)({
368
376
  },
369
377
  in_progress: {
370
378
  border: '#56CCF2',
371
- background: '#56CCF2'
379
+ background: '#56CCF2',
380
+ light: '#F1FBFE'
372
381
  },
373
382
  paid: {
374
383
  border: '#BB6BD9',
375
- background: '#BB6BD9'
384
+ background: '#BB6BD9',
385
+ light: '#FBF6FD'
376
386
  },
377
387
  closed: {
378
388
  border: '#8B9092',
@@ -386,23 +396,28 @@ const theme = (0, _styles.createTheme)({
386
396
  },
387
397
  in_progress: {
388
398
  border: '#56CCF2',
389
- background: '#56CCF2'
399
+ background: '#56CCF2',
400
+ light: '#F1FBFE'
390
401
  },
391
402
  pending: {
392
403
  border: '#ECC631',
393
- background: '#ECC631'
404
+ background: '#ECC631',
405
+ light: '#FEFCEE'
394
406
  },
395
407
  approved: {
396
408
  border: '#27AE60',
397
- background: '#27AE60'
409
+ background: '#27AE60',
410
+ light: '#D4EFDF'
398
411
  },
399
412
  declined: {
400
413
  border: '#EB5757',
401
- background: '#EB5757'
414
+ background: '#EB5757',
415
+ light: '#FEF6F6'
402
416
  },
403
417
  refunded: {
404
418
  border: '#BB6BD9',
405
- background: '#BB6BD9'
419
+ background: '#BB6BD9',
420
+ light: '#FBF6FD'
406
421
  },
407
422
  closed: {
408
423
  border: '#8B9092',
package/package.json CHANGED
@@ -57,5 +57,5 @@
57
57
  "require": "./dist/index.js"
58
58
  }
59
59
  },
60
- "version": "0.2.6"
60
+ "version": "0.2.8"
61
61
  }