@fixefy/fixefy-ui-utils 0.2.66 → 0.2.68
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) =>
|
|
22
|
+
export declare const normalizeTimestamp: (timestamp: any, options: any) => string;
|
|
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,10 +1,7 @@
|
|
|
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?: {
|
|
5
|
-
props: Record<string, unknown>;
|
|
6
|
-
ownerState?: Record<string, unknown> | undefined;
|
|
7
|
-
} | 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"]) => {
|
|
8
5
|
classes: Record<RuleName, string>;
|
|
9
6
|
theme: import("@mui/material/styles").Theme;
|
|
10
7
|
css: import("tss-react").Css;
|
|
@@ -293,8 +293,8 @@ const palette = {
|
|
|
293
293
|
},
|
|
294
294
|
status: {
|
|
295
295
|
active: {
|
|
296
|
-
border: '#
|
|
297
|
-
background: '#
|
|
296
|
+
border: '#27AE60',
|
|
297
|
+
background: '#EEF9F2'
|
|
298
298
|
},
|
|
299
299
|
approve: {
|
|
300
300
|
border: '#88C00D',
|
|
@@ -362,7 +362,8 @@ const palette = {
|
|
|
362
362
|
},
|
|
363
363
|
pending: {
|
|
364
364
|
border: '#2D9CDB',
|
|
365
|
-
background: '#F3F9FD'
|
|
365
|
+
background: '#F3F9FD',
|
|
366
|
+
light: '#F1FBFE'
|
|
366
367
|
},
|
|
367
368
|
pending_review: {
|
|
368
369
|
border: '#2D9CDB',
|
package/package.json
CHANGED
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"regenerator-runtime": ">=0.13.11",
|
|
23
23
|
"tss-react": ">=4.8.6"
|
|
24
24
|
},
|
|
25
|
-
"dependencies": {
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"date-fns": "^4.1.0"
|
|
27
|
+
},
|
|
26
28
|
"devDependencies": {
|
|
27
29
|
"@types/convert-excel-to-json": "1.7.4",
|
|
28
30
|
"@types/node": "20.14.0",
|
|
@@ -66,5 +68,5 @@
|
|
|
66
68
|
"require": "./dist/index.js"
|
|
67
69
|
}
|
|
68
70
|
},
|
|
69
|
-
"version": "0.2.
|
|
71
|
+
"version": "0.2.68"
|
|
70
72
|
}
|