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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez-table-listing-mui",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "type": "module",
5
5
  "description": "A rez table listing component built on TanStack Table",
6
6
  "main": "dist/index.js",
package/src/App.tsx CHANGED
@@ -340,10 +340,10 @@ function App() {
340
340
  <LoginButton />
341
341
 
342
342
  <TableWrapper
343
- data={filteredData}
344
- // data={data}
345
- // columns={defaultColumns}
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,
@@ -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";
@@ -6,6 +6,7 @@
6
6
  h3 {
7
7
  color: var(--grey-900);
8
8
  font-size: 2rem;
9
- font-family: var(--fira-700);
9
+ font-family: "Satoshi", sans-serif;
10
+ font-weight: 700;
10
11
  }
11
12
  }
@@ -10,8 +10,7 @@
10
10
  --grey-900: #414042;
11
11
  --filter-width: 24rem;
12
12
 
13
- font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
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
- justifyContent: getColumnAlignment(
57
- (header?.column?.columnDef?.meta as align)?.align
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
- justifyContent: getColumnAlignment(
80
- (header?.column?.columnDef?.meta as align)?.align
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()) {
@@ -19,7 +19,8 @@
19
19
  cursor: pointer;
20
20
  color: var(--grey-900);
21
21
  font-size: 0.875rem;
22
- font-family: var(--fira-700);
22
+ font-family: "Satoshi", sans-serif;
23
+ font-weight: 700;
23
24
 
24
25
  .tab__label {
25
26
  font-family: inherit;
@@ -97,7 +97,6 @@ export const useDefaultColumns = () => {
97
97
  label: "Status",
98
98
  type: "custom",
99
99
  propName: "renderStatus",
100
- align: "right",
101
100
  },
102
101
  },
103
102
  {
@@ -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 = "ROL";
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