@fixefy/fixefy-ui-utils 0.2.63 → 0.2.65

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.
@@ -19,7 +19,7 @@ export declare const makeString: (len?: number) => string;
19
19
  export declare const nest: ({ items }: {
20
20
  items: Array<any>;
21
21
  }) => any[];
22
- export declare const normalizeTimestamp: (timestamp: any, options: any) => string;
22
+ export declare const normalizeTimestamp: (timestamp: any, options: any) => any;
23
23
  export declare const normalizeStringBodyRaw: (key: string, body: any) => any;
24
24
  export declare const titleCase: (str?: string) => string;
25
25
  export declare const toCamelCase: (inputArray: Maybe<Array<any>>) => string;
@@ -1,7 +1,10 @@
1
1
  export declare const makeStyles: <Params = void, RuleNameSubsetReferencableInNestedSelectors extends string = never>(params?: {
2
2
  name?: string | Record<string, unknown> | undefined;
3
3
  uniqId?: string | undefined;
4
- } | undefined) => <RuleName extends string>(cssObjectByRuleNameOrGetCssObjectByRuleName: Record<RuleName, import("tss-react").CSSObject> | ((theme: import("@mui/material/styles").Theme, params: Params, classes: Record<RuleNameSubsetReferencableInNestedSelectors, string>) => Record<RuleNameSubsetReferencableInNestedSelectors | RuleName, import("tss-react").CSSObject>)) => (params: Params, muiStyleOverridesParams?: import("tss-react/mui/themeStyleOverridesPlugin").MuiThemeStyleOverridesPluginParams["muiStyleOverridesParams"]) => {
4
+ } | undefined) => <RuleName extends string>(cssObjectByRuleNameOrGetCssObjectByRuleName: Record<RuleName, import("tss-react").CSSObject> | ((theme: import("@mui/material/styles").Theme, params: Params, classes: Record<RuleNameSubsetReferencableInNestedSelectors, string>) => Record<RuleNameSubsetReferencableInNestedSelectors | RuleName, import("tss-react").CSSObject>)) => (params: Params, muiStyleOverridesParams?: {
5
+ props: Record<string, unknown>;
6
+ ownerState?: Record<string, unknown> | undefined;
7
+ } | undefined) => {
5
8
  classes: Record<RuleName, string>;
6
9
  theme: import("@mui/material/styles").Theme;
7
10
  css: import("tss-react").Css;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Theme } from '@mui/material/styles';
2
3
  import _DefaultTheme from '@mui/styles/DefaultTheme';
3
4
  declare module '@mui/styles/DefaultTheme' {
@@ -361,8 +361,8 @@ const palette = {
361
361
  background: '#FAFAFA'
362
362
  },
363
363
  pending: {
364
- border: '#ECC631',
365
- background: '#FEFDF3'
364
+ border: '#2D9CDB',
365
+ background: '#F3F9FD'
366
366
  },
367
367
  pending_review: {
368
368
  border: '#2D9CDB',
@@ -371,7 +371,7 @@ const palette = {
371
371
  pending_refund: {
372
372
  border: '#2D9CDB',
373
373
  background: '#F1FBFE',
374
- light: '#F1FBFE'
374
+ light: '#F3F9FD'
375
375
  },
376
376
  resolved: {
377
377
  border: '#BB6BD9',
@@ -434,7 +434,7 @@ const palette = {
434
434
  pending_refund: {
435
435
  border: '#2D9CDB',
436
436
  background: '#2D9CDB',
437
- light: '#F1FBFE'
437
+ light: '#F3F9FD'
438
438
  },
439
439
  closed: {
440
440
  border: '#8B9092',
@@ -480,8 +480,8 @@ const palette = {
480
480
  light: '#FCEBDB'
481
481
  },
482
482
  in_progress: {
483
- border: '#39B8EC',
484
- background: '#39B8EC',
483
+ border: '#56CCF2',
484
+ background: '#56CCF2',
485
485
  light: '#F1FBFE'
486
486
  },
487
487
  paid: {
@@ -495,9 +495,9 @@ const palette = {
495
495
  light: '#FBF6FD'
496
496
  },
497
497
  pending: {
498
- border: '#ECC631',
499
- background: '#ECC631',
500
- light: '#FEFCEE'
498
+ border: '#2D9CDB',
499
+ background: '#2D9CDB',
500
+ light: '#F1FBFE'
501
501
  },
502
502
  pending_review: {
503
503
  border: '#2D9CDB',
package/package.json CHANGED
@@ -66,5 +66,5 @@
66
66
  "require": "./dist/index.js"
67
67
  }
68
68
  },
69
- "version": "0.2.63"
70
- }
69
+ "version": "0.2.65"
70
+ }