rez-table-listing-mui 1.3.49 → 1.3.51

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.3.49",
3
+ "version": "1.3.51",
4
4
  "type": "module",
5
5
  "description": "A rez table listing component built on TanStack Table",
6
6
  "main": "dist/index.js",
@@ -103,11 +103,11 @@ const ListingValues = ({
103
103
  <Box
104
104
  sx={{
105
105
  p: 2,
106
- border: "1px solid #1a191934",
106
+ // border: "1px solid #1a191934",
107
107
  backgroundColor: "#fdfdfc",
108
108
  borderRadius: "12px",
109
109
  top: 2,
110
- height: "100%",
110
+ // height: "100%",
111
111
  }}
112
112
  >
113
113
  <Box sx={listingValuesStyles.headerContainer}>
@@ -53,6 +53,12 @@ export function QuickFilterSettings({
53
53
  } = filterSettingStates;
54
54
 
55
55
  const hasAPIData = Boolean(Object.entries(columnsData).length);
56
+ let disbaledCondition =
57
+ quickTabStates?.show_list?.length === 0 ||
58
+ (columnTabState?.isDefault
59
+ ? columnTabState?.show_list?.length === 0
60
+ : columnTabState?.tabs?.find((tab) => tab?.show_list?.length === 0)
61
+ ?.show_list?.length === 0);
56
62
 
57
63
  const handleTabChange = (_: React.SyntheticEvent, newValue: number) => {
58
64
  setTabValue(newValue);
@@ -199,6 +205,7 @@ export function QuickFilterSettings({
199
205
  <CustomButton
200
206
  // disabled={saveButtonError?.hasError}
201
207
  // disabled={saveButtonError?.hasError}
208
+ disabled={disbaledCondition}
202
209
  onClick={handleSaveSetSettingsData}
203
210
  >
204
211
  {view === "listing" ? "Save Quick Filter" : "Save Kanban Layout"}
@@ -46,11 +46,12 @@ export const dialogStyles: DialogStyleProps = {
46
46
 
47
47
  export const listingValuesStyles: ListingValuesStyleProps = {
48
48
  wrapper: {
49
- // border: "0.5px solid #0E0C0B1F",
49
+ border: "0.5px solid #0E0C0B1F",
50
50
  borderRadius: "8px",
51
51
  // minHeight: "10rem",
52
52
  backgroundColor: "#fdfdfc",
53
53
  zIndex: 10,
54
+ overflow: "hidden",
54
55
  },
55
56
  heading: { fontWeight: 400, color: "#0E0C0BB2", fontSize: "16px" },
56
57
  button: { fontSize: "13px", textTransform: "none", color: "#0E0C0BB2" },