@fixefy/fixefy-ui-utils 0.2.23 → 0.2.25

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.
@@ -217,6 +217,7 @@ declare module '@mui/material/styles' {
217
217
  in_dispute: StatusColorOption;
218
218
  in_progress: StatusColorOption;
219
219
  paid: StatusColorOption;
220
+ paid_and_refunded: StatusColorOption;
220
221
  pending: StatusColorOption;
221
222
  pending_refund: StatusColorOption;
222
223
  closed: StatusColorOption;
@@ -233,6 +234,7 @@ declare module '@mui/material/styles' {
233
234
  in_dispute: StatusColorOption;
234
235
  in_progress: StatusColorOption;
235
236
  paid: StatusColorOption;
237
+ paid_and_refunded: StatusColorOption;
236
238
  pending_refund: StatusColorOption;
237
239
  closed: StatusColorOption;
238
240
  submitted_for_billing: StatusColorOption;
@@ -178,6 +178,7 @@ const theme = (0, _styles.createTheme)({
178
178
  main: '#365c65',
179
179
  '100': '#C6DDE2',
180
180
  '300': '#87ACB6',
181
+ '400': '#749da8',
181
182
  '500': '#568793',
182
183
  '700': '#3C636C',
183
184
  '800': '#2F4F57'
@@ -370,6 +371,10 @@ const theme = (0, _styles.createTheme)({
370
371
  border: '#BB6BD9',
371
372
  background: '#BB6BD9'
372
373
  },
374
+ paid_and_refunded: {
375
+ border: '#BB6BD9',
376
+ background: '#BB6BD9'
377
+ },
373
378
  pending_refund: {
374
379
  border: '#2D9CDB',
375
380
  background: '#2D9CDB',
@@ -428,6 +433,11 @@ const theme = (0, _styles.createTheme)({
428
433
  background: '#BB6BD9',
429
434
  light: '#FBF6FD'
430
435
  },
436
+ paid_and_refunded: {
437
+ border: '#BB6BD9',
438
+ background: '#BB6BD9',
439
+ light: '#FBF6FD'
440
+ },
431
441
  pending_refund: {
432
442
  border: '#2D9CDB',
433
443
  background: '#2D9CDB',
@@ -625,18 +635,64 @@ const theme = (0, _styles.createTheme)({
625
635
  style: ({ theme })=>({
626
636
  color: theme.palette.primary[500],
627
637
  '&:hover': {
628
- color: theme.palette.primary['700'],
638
+ color: theme.palette.primary[700],
629
639
  background: 'transparent'
630
640
  },
631
641
  '&:focus': {
632
- color: theme.palette.primary['800'],
633
- borderColor: theme.palette.primary['800'],
642
+ color: theme.palette.primary[800],
643
+ borderColor: theme.palette.primary[800],
634
644
  background: 'transparent'
635
645
  },
636
646
  '&:disabled': {
637
647
  color: theme.palette.primary[500]
638
648
  }
639
649
  })
650
+ },
651
+ {
652
+ props: {
653
+ variant: 'text',
654
+ color: 'secondary'
655
+ },
656
+ style: ({ theme })=>({
657
+ color: theme.palette.primary[500],
658
+ '&:hover': {
659
+ color: theme.palette.primary[400],
660
+ background: 'transparent'
661
+ },
662
+ '&:focus': {
663
+ color: theme.palette.primary[300],
664
+ borderColor: theme.palette.primary[300],
665
+ background: 'transparent'
666
+ },
667
+ '&:disabled': {
668
+ color: theme.palette.primary[500]
669
+ }
670
+ })
671
+ },
672
+ {
673
+ props: {
674
+ variant: 'outlined',
675
+ color: 'secondary'
676
+ },
677
+ style: ({ theme })=>({
678
+ borderRadius: 100,
679
+ color: theme.palette.primary[500],
680
+ borderColor: theme.palette.primary[500],
681
+ '&:hover': {
682
+ color: theme.palette.primary[400],
683
+ borderColor: theme.palette.primary[400],
684
+ background: 'transparent'
685
+ },
686
+ '&:focus': {
687
+ color: theme.palette.primary[300],
688
+ borderColor: theme.palette.primary[300],
689
+ background: 'transparent'
690
+ },
691
+ '&:disabled': {
692
+ color: theme.palette.primary[500],
693
+ border: `1px solid ${theme.palette.primary[500]}`
694
+ }
695
+ })
640
696
  }
641
697
  ],
642
698
  styleOverrides: {
package/package.json CHANGED
@@ -56,5 +56,5 @@
56
56
  "require": "./dist/index.js"
57
57
  }
58
58
  },
59
- "version": "0.2.23"
59
+ "version": "0.2.25"
60
60
  }