rez-table-listing-mui 1.2.12 → 1.2.13
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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/App.tsx +4 -4
- package/src/assets/Satoshi/Satoshi-Black.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-BlackItalic.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-Bold.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-BoldItalic.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-Italic.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-Light.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-LightItalic.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-Medium.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-MediumItalic.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-Regular.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-Variable.ttf +0 -0
- package/src/assets/Satoshi/Satoshi-VariableItalic.ttf +0 -0
- package/src/assets/global.css +88 -0
- package/src/assets/variable.ts +15 -0
- package/src/components/common/index.scss +2 -1
- package/src/components/index.scss +1 -2
- package/src/components/table-head-dnd-cell.tsx +5 -5
- package/src/components/table-head.tsx +5 -5
- package/src/components/tabs/index.scss +2 -1
- package/src/libs/hooks/useDefaultColumns.tsx +0 -1
- package/src/libs/utils/common.ts +1 -1
- package/src/main.tsx +1 -0
package/package.json
CHANGED
package/src/App.tsx
CHANGED
|
@@ -340,10 +340,10 @@ function App() {
|
|
|
340
340
|
<LoginButton />
|
|
341
341
|
|
|
342
342
|
<TableWrapper
|
|
343
|
-
data={filteredData}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
columns={columns && columns.length > 0 ? columns : defaultColumns}
|
|
343
|
+
// data={filteredData}
|
|
344
|
+
data={data}
|
|
345
|
+
columns={defaultColumns}
|
|
346
|
+
// columns={columns && columns.length > 0 ? columns : defaultColumns}
|
|
347
347
|
tableStates={tableStates}
|
|
348
348
|
featureOptions={{
|
|
349
349
|
striped: true,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* Satoshi Font Family */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: "Satoshi";
|
|
4
|
+
src: url("./Satoshi/Satoshi-Light.ttf") format("truetype");
|
|
5
|
+
font-weight: 300;
|
|
6
|
+
font-style: normal;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "Satoshi";
|
|
11
|
+
src: url("./Satoshi/Satoshi-LightItalic.ttf") format("truetype");
|
|
12
|
+
font-weight: 300;
|
|
13
|
+
font-style: italic;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: "Satoshi";
|
|
18
|
+
src: url("./Satoshi/Satoshi-Regular.ttf") format("truetype");
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: "Satoshi";
|
|
25
|
+
src: url("./Satoshi/Satoshi-Italic.ttf") format("truetype");
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
font-style: italic;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: "Satoshi";
|
|
32
|
+
src: url("./Satoshi/Satoshi-Medium.ttf") format("truetype");
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: "Satoshi";
|
|
39
|
+
src: url("./Satoshi/Satoshi-MediumItalic.ttf") format("truetype");
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
font-style: italic;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@font-face {
|
|
45
|
+
font-family: "Satoshi";
|
|
46
|
+
src: url("./Satoshi/Satoshi-Bold.ttf") format("truetype");
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: "Satoshi";
|
|
53
|
+
src: url("./Satoshi/Satoshi-BoldItalic.ttf") format("truetype");
|
|
54
|
+
font-weight: 700;
|
|
55
|
+
font-style: italic;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: "Satoshi";
|
|
60
|
+
src: url("./Satoshi/Satoshi-Black.ttf") format("truetype");
|
|
61
|
+
font-weight: 900;
|
|
62
|
+
font-style: normal;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: "Satoshi";
|
|
67
|
+
src: url("./Satoshi/Satoshi-BlackItalic.ttf") format("truetype");
|
|
68
|
+
font-weight: 900;
|
|
69
|
+
font-style: italic;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Global font application */
|
|
73
|
+
* {
|
|
74
|
+
font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
body {
|
|
78
|
+
font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
79
|
+
font-weight: 400;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
h1, h2, h3, h4, h5, h6 {
|
|
83
|
+
font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
input, textarea, select, button {
|
|
87
|
+
font-family: inherit;
|
|
88
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const headerHeight = "64px";
|
|
2
|
+
export const primarySidebarWidth = "64px";
|
|
3
|
+
export const totalSidebarWidth = "260px";
|
|
4
|
+
export const submenuSidebarWidth = "12.25rem";
|
|
5
|
+
export const primaryfontRegular = "Satoshi-regular";
|
|
6
|
+
export const primaryfontBlack = "Satoshi-Black";
|
|
7
|
+
export const primaryFontBlackItalic = "Satoshi-BlackItalic";
|
|
8
|
+
export const primaryFontBold = "Satoshi-Bold";
|
|
9
|
+
export const primaryFontBoldItalic = "Satoshi-BoldItalic";
|
|
10
|
+
export const primaryFontItalic = "Satoshi-Italic";
|
|
11
|
+
export const primaryLight = "Satoshi-Light";
|
|
12
|
+
export const primaryLightItalic = "Satoshi-LightItalic";
|
|
13
|
+
export const primaryRegular = "Satoshi-Regular";
|
|
14
|
+
export const primaryVariable = "Satoshi-Variable";
|
|
15
|
+
export const primaryVariableItalic = "Satoshi-VariableItalic";
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
--grey-900: #414042;
|
|
11
11
|
--filter-width: 24rem;
|
|
12
12
|
|
|
13
|
-
font-family:
|
|
14
|
-
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
13
|
+
font-family: "Satoshi", sans-serif;
|
|
15
14
|
|
|
16
15
|
// set default styles for all elements
|
|
17
16
|
& * {
|
|
@@ -52,11 +52,11 @@ function DraggableTableHeader<T>({
|
|
|
52
52
|
style?: CSSProperties;
|
|
53
53
|
} = {
|
|
54
54
|
className: "ts__content",
|
|
55
|
-
style: {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
55
|
+
// style: {
|
|
56
|
+
// justifyContent: getColumnAlignment(
|
|
57
|
+
// (header?.column?.columnDef?.meta as align)?.align
|
|
58
|
+
// ),
|
|
59
|
+
// },
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
// if (header.column.getCanSort()) {
|
|
@@ -75,11 +75,11 @@ function TableHead<T>({
|
|
|
75
75
|
style?: CSSProperties;
|
|
76
76
|
} = {
|
|
77
77
|
className: "ts__content",
|
|
78
|
-
style: {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
},
|
|
78
|
+
// style: {
|
|
79
|
+
// justifyContent: getColumnAlignment(
|
|
80
|
+
// (header?.column?.columnDef?.meta as align)?.align
|
|
81
|
+
// ),
|
|
82
|
+
// },
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// if (header.column.getCanSort()) {
|
package/src/libs/utils/common.ts
CHANGED
|
@@ -78,7 +78,7 @@ export function customDebounce<T extends (...args: any[]) => any>(
|
|
|
78
78
|
|
|
79
79
|
//ENTITY TYPE
|
|
80
80
|
const ENVIRONMENT = "uat";
|
|
81
|
-
export const ENTITY_TYPE = "
|
|
81
|
+
export const ENTITY_TYPE = "UPR";
|
|
82
82
|
|
|
83
83
|
const environments = {
|
|
84
84
|
adm_dev: "http://localhost:4010/api",
|
package/src/main.tsx
CHANGED
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
import ReactDOM from "react-dom/client";
|
|
3
3
|
import App from "./App.tsx";
|
|
4
4
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
5
|
+
import "./assets/global.css";
|
|
5
6
|
|
|
6
7
|
ReactDOM.createRoot(document.getElementById("root")!).render(
|
|
7
8
|
<QueryClientProvider
|