@superblocksteam/library 2.0.0-next.8 → 2.0.0-next.80

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.
Files changed (78) hide show
  1. package/dist/{allPaths-CAGAw9-M.js → allPaths-uoV-A88m.js} +2 -2
  2. package/dist/{allPaths-CAGAw9-M.js.map → allPaths-uoV-A88m.js.map} +1 -1
  3. package/dist/{allPaths-BXojk62W.js → allPaths-zE6vvngv.js} +2 -2
  4. package/dist/{allPaths-BXojk62W.js.map → allPaths-zE6vvngv.js.map} +1 -1
  5. package/dist/{allPathsLoader-B4ukhqHJ.js → allPathsLoader-BElXPrQw.js} +3 -3
  6. package/dist/{allPathsLoader-B4ukhqHJ.js.map → allPathsLoader-BElXPrQw.js.map} +1 -1
  7. package/dist/{allPathsLoader-DyEaA2Fu.js → allPathsLoader-BKNcF76M.js} +3 -3
  8. package/dist/{allPathsLoader-DyEaA2Fu.js.map → allPathsLoader-BKNcF76M.js.map} +1 -1
  9. package/dist/{index-CzpxmuHJ.js → index-VIobZDaT.js} +15706 -14741
  10. package/dist/{index-CzpxmuHJ.js.map → index-VIobZDaT.js.map} +1 -1
  11. package/dist/index.js +2 -2
  12. package/dist/{splitPathsBySizeLoader-B4CtleKq.js → splitPathsBySizeLoader-B0zGaYdU.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-B4CtleKq.js.map → splitPathsBySizeLoader-B0zGaYdU.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-DDVqG3q2.js → splitPathsBySizeLoader-BkRRsLls.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-DDVqG3q2.js.map → splitPathsBySizeLoader-BkRRsLls.js.map} +1 -1
  16. package/dist-types/edit-mode/default-table-data.d.ts +71 -0
  17. package/dist-types/edit-mode/dnd/utils.d.ts +7 -10
  18. package/dist-types/edit-mode/features/operation-store.d.ts +4 -0
  19. package/dist-types/edit-mode/features/resizing-store.d.ts +1 -0
  20. package/dist-types/edit-mode/source-update-api.d.ts +2 -1
  21. package/dist-types/lib/internal-details/identifier-normalizer.d.ts +0 -1
  22. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +7 -5
  23. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +2 -1
  24. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +12 -1
  25. package/dist-types/lib/internal-details/lib/types.d.ts +3 -0
  26. package/dist-types/lib/internal-details/scope/global.d.ts +1 -0
  27. package/dist-types/lib/user-facing/component-base/components/button.d.ts +1 -2
  28. package/dist-types/lib/user-facing/component-base/styles/button-styles.d.ts +3 -11
  29. package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +11 -8
  30. package/dist-types/lib/user-facing/components/button/props.d.ts +2 -8
  31. package/dist-types/lib/user-facing/components/column/index.d.ts +8 -21
  32. package/dist-types/lib/user-facing/components/column/props.d.ts +8 -20
  33. package/dist-types/lib/user-facing/components/container/index.d.ts +8 -22
  34. package/dist-types/lib/user-facing/components/container/props.d.ts +7 -22
  35. package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +3 -3
  36. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
  37. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
  38. package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +1 -1
  39. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +2 -2
  40. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +2 -2
  41. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -1
  42. package/dist-types/lib/user-facing/components/grid/index.d.ts +8 -8
  43. package/dist-types/lib/user-facing/components/image/index.d.ts +1 -1
  44. package/dist-types/lib/user-facing/components/image/props.d.ts +1 -1
  45. package/dist-types/lib/user-facing/components/input/index.d.ts +9 -15
  46. package/dist-types/lib/user-facing/components/input/props.d.ts +10 -15
  47. package/dist-types/lib/user-facing/components/modal/index.d.ts +8 -13
  48. package/dist-types/lib/user-facing/components/modal/modal-component.d.ts +1 -1
  49. package/dist-types/lib/user-facing/components/modal/props.d.ts +8 -13
  50. package/dist-types/lib/user-facing/components/pixel-input/index.d.ts +7 -0
  51. package/dist-types/lib/user-facing/components/section/index.d.ts +2 -2
  52. package/dist-types/lib/user-facing/components/section/props.d.ts +2 -2
  53. package/dist-types/lib/user-facing/components/stack/index.d.ts +2 -2
  54. package/dist-types/lib/user-facing/components/switch/index.d.ts +1 -1
  55. package/dist-types/lib/user-facing/components/switch/props.d.ts +1 -1
  56. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +74 -70
  57. package/dist-types/lib/user-facing/components/table/components/boolean-value-icons.d.ts +5 -5
  58. package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +2 -2
  59. package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +4 -4
  60. package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +3 -3
  61. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
  62. package/dist-types/lib/user-facing/components/table/index.d.ts +91 -87
  63. package/dist-types/lib/user-facing/components/table/props.d.ts +92 -89
  64. package/dist-types/lib/user-facing/components/table/table-component.d.ts +3 -3
  65. package/dist-types/lib/user-facing/components/table/table-styles.d.ts +0 -1
  66. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +8 -9
  67. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +1 -1
  68. package/dist-types/lib/user-facing/components/table/types.d.ts +21 -32
  69. package/dist-types/lib/user-facing/components/text/index.d.ts +4 -4
  70. package/dist-types/lib/user-facing/components/text/props.d.ts +4 -4
  71. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +4 -8
  72. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +3 -3
  73. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +15 -14
  74. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +2 -1
  75. package/dist-types/lib/user-facing/properties-panel/validators.d.ts +2 -1
  76. package/dist-types/lib/user-facing/state/sb-computed.d.ts +1 -1
  77. package/dist-types/lib/user-facing/themes/constants.d.ts +2 -0
  78. package/package.json +4 -3
@@ -1,6 +1,5 @@
1
- import { Dim } from "@superblocksteam/library-shared";
2
1
  import { Section, Prop } from "../../properties-panel/props-builder.js";
3
- import { BooleanStyleFalse, ColumnType, ImageSize } from "./types.js";
2
+ import { type BooleanStyleFalse, ColumnType, ImageSize } from "./types.js";
4
3
  import type { IconPosition } from "../../icons/constants.js";
5
4
  import type { ButtonVariant } from "../button/props.js";
6
5
  export declare const columnPanelConfig: {
@@ -9,24 +8,23 @@ export declare const columnPanelConfig: {
9
8
  } & (Omit<{
10
9
  columnType: Prop<ColumnType, true>;
11
10
  }, "columnType"> & ({
12
- computedValue: Prop<string, false>;
11
+ displayedValue: Prop<string, false>;
12
+ columnType: Prop<undefined, false>;
13
+ } | {
13
14
  displayedValue: Prop<string, false>;
14
15
  columnType: Prop<"text", true>;
15
16
  } | {
16
- computedValue: Prop<string, false>;
17
17
  notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
18
18
  minimumFractionDigits: Prop<number, false>;
19
19
  maximumFractionDigits: Prop<number, false>;
20
20
  columnType: Prop<"number", true>;
21
21
  } | {
22
- computedValue: Prop<string, false>;
23
22
  notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
24
23
  minimumFractionDigits: Prop<number, false>;
25
24
  maximumFractionDigits: Prop<number, false>;
26
25
  currency: Prop<string, false>;
27
26
  columnType: Prop<"currency", true>;
28
27
  } | {
29
- computedValue: Prop<string, false>;
30
28
  minimumFractionDigits: Prop<number, false>;
31
29
  maximumFractionDigits: Prop<number, false>;
32
30
  columnType: Prop<"percentage", true>;
@@ -34,17 +32,16 @@ export declare const columnPanelConfig: {
34
32
  openImageUrl: Prop<boolean, false>;
35
33
  columnType: Prop<"image", true>;
36
34
  } | {
37
- computedValue: Prop<string, false>;
38
35
  columnType: Prop<"video", true>;
39
36
  } | {
40
- valueFormat: Prop<string, false>;
41
- displayFormat: Prop<string, false>;
37
+ inputFormat: Prop<string, false>;
38
+ outputFormat: Prop<string, false>;
42
39
  manageTimezone: Prop<boolean, false>;
43
40
  valueTimezone: Prop<string, false>;
44
41
  displayTimezone: Prop<string, false>;
45
42
  columnType: Prop<"date", true>;
46
43
  } | {
47
- buttonLabel: Prop<string, false>;
44
+ buttonLabel: Prop<string, true>;
48
45
  isDisabled: Prop<boolean, false>;
49
46
  columnType: Prop<"button", true>;
50
47
  } | {
@@ -53,13 +50,11 @@ export declare const columnPanelConfig: {
53
50
  openInNewTab: Prop<boolean, false>;
54
51
  columnType: Prop<"link", true>;
55
52
  } | {
56
- computedValue: Prop<string, false>;
57
53
  columnType: Prop<"boolean", true>;
58
54
  } | {
59
55
  computedValue: Prop<string, false>;
60
56
  columnType: Prop<"tags", true>;
61
57
  } | {
62
- computedValue: Prop<string, false>;
63
58
  displayedValue: Prop<string, false>;
64
59
  columnType: Prop<"email", true>;
65
60
  })))) & {
@@ -67,107 +62,116 @@ export declare const columnPanelConfig: {
67
62
  }>;
68
63
  presentation: Section<(Record<string, Prop<any, any>> & ({
69
64
  headerIcon: Prop<string, false>;
70
- headerIconPosition: Prop<IconPosition, false>;
65
+ headerIconPosition: Prop<IconPosition, true>;
71
66
  } & (Omit<{
72
67
  columnType: Prop<ColumnType, false>;
73
68
  }, "columnType"> & ({
74
- horizontalAlign: Prop<"center" | "left" | "right", false>;
75
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
76
- "cellProps.textStyle": Prop<any, false>;
77
- cellBackground: Prop<string, false>;
69
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
70
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
71
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
72
+ cellBackground: Prop<string, true>;
73
+ textWrap: Prop<boolean, false>;
74
+ cellIcon: Prop<string, false>;
75
+ cellIconPosition: Prop<IconPosition, true>;
76
+ columnType: Prop<undefined, false>;
77
+ } | {
78
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
79
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
80
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
81
+ cellBackground: Prop<string, true>;
78
82
  textWrap: Prop<boolean, false>;
79
83
  cellIcon: Prop<string, false>;
80
- cellIconPosition: Prop<IconPosition, false>;
84
+ cellIconPosition: Prop<IconPosition, true>;
81
85
  columnType: Prop<"text", true>;
82
86
  } | {
83
- horizontalAlign: Prop<"center" | "left" | "right", false>;
84
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
85
- "cellProps.textStyle": Prop<any, false>;
86
- cellBackground: Prop<string, false>;
87
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
88
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
89
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
90
+ cellBackground: Prop<string, true>;
87
91
  textWrap: Prop<boolean, false>;
88
92
  cellIcon: Prop<string, false>;
89
- cellIconPosition: Prop<IconPosition, false>;
93
+ cellIconPosition: Prop<IconPosition, true>;
90
94
  columnType: Prop<"number", true>;
91
95
  } | {
92
- horizontalAlign: Prop<"center" | "left" | "right", false>;
93
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
94
- "cellProps.textStyle": Prop<any, false>;
95
- cellBackground: Prop<string, false>;
96
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
97
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
98
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
99
+ cellBackground: Prop<string, true>;
96
100
  textWrap: Prop<boolean, false>;
97
101
  cellIcon: Prop<string, false>;
98
- cellIconPosition: Prop<IconPosition, false>;
102
+ cellIconPosition: Prop<IconPosition, true>;
99
103
  columnType: Prop<"currency", true>;
100
104
  } | {
101
- horizontalAlign: Prop<"center" | "left" | "right", false>;
102
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
103
- "cellProps.textStyle": Prop<any, false>;
104
- cellBackground: Prop<string, false>;
105
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
106
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
107
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
108
+ cellBackground: Prop<string, true>;
105
109
  textWrap: Prop<boolean, false>;
106
110
  cellIcon: Prop<string, false>;
107
- cellIconPosition: Prop<IconPosition, false>;
111
+ cellIconPosition: Prop<IconPosition, true>;
108
112
  columnType: Prop<"percentage", true>;
109
113
  } | {
110
- horizontalAlign: Prop<"center" | "left" | "right", false>;
111
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
112
- "cellProps.textStyle": Prop<any, false>;
113
- cellBackground: Prop<string, false>;
114
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
115
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
116
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
117
+ cellBackground: Prop<string, true>;
114
118
  imageSize: Prop<ImageSize, false>;
115
- imageBorderRadius: Prop<Dim, false>;
119
+ imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
116
120
  columnType: Prop<"image", true>;
117
121
  } | {
118
- horizontalAlign: Prop<"center" | "left" | "right", false>;
119
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
120
- "cellProps.textStyle": Prop<any, false>;
121
- cellBackground: Prop<string, false>;
122
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
123
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
124
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
125
+ cellBackground: Prop<string, true>;
122
126
  columnType: Prop<"video", true>;
123
127
  } | {
124
- horizontalAlign: Prop<"center" | "left" | "right", false>;
125
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
126
- "cellProps.textStyle": Prop<any, false>;
127
- cellBackground: Prop<string, false>;
128
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
129
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
130
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
131
+ cellBackground: Prop<string, true>;
128
132
  textWrap: Prop<boolean, false>;
129
133
  cellIcon: Prop<string, false>;
130
- cellIconPosition: Prop<IconPosition, false>;
134
+ cellIconPosition: Prop<IconPosition, true>;
131
135
  columnType: Prop<"date", true>;
132
136
  } | {
133
- buttonVariant: Prop<ButtonVariant, false>;
137
+ buttonIcon: Prop<string, false>;
138
+ buttonIconPosition: Prop<IconPosition, true>;
139
+ buttonVariant: Prop<ButtonVariant, true>;
134
140
  buttonBackgroundColor: Prop<string, false>;
141
+ buttonBorder: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
135
142
  buttonLabelColor: Prop<string, false>;
136
- backgroundColor: Prop<string, false>;
137
- cellIcon: Prop<string, false>;
138
- cellIconPosition: Prop<IconPosition, false>;
139
143
  columnType: Prop<"button", true>;
140
144
  } | {
141
- horizontalAlign: Prop<"center" | "left" | "right", false>;
142
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
143
- "cellProps.textStyle": Prop<any, false>;
144
- cellBackground: Prop<string, false>;
145
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
146
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
147
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
148
+ cellBackground: Prop<string, true>;
145
149
  columnType: Prop<"link", true>;
146
150
  } | {
147
- booleanStyleFalse: Prop<BooleanStyleFalse, false>;
148
- horizontalAlign: Prop<"center" | "left" | "right", false>;
149
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
150
- "cellProps.textStyle": Prop<any, false>;
151
- cellBackground: Prop<string, false>;
151
+ booleanStyleFalse: Prop<BooleanStyleFalse, true>;
152
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
153
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
154
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
155
+ cellBackground: Prop<string, true>;
152
156
  columnType: Prop<"boolean", true>;
153
157
  } | {
154
158
  tagDisplayConfig: Prop<any, false>;
155
- horizontalAlign: Prop<"center" | "left" | "right", false>;
156
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
157
- "cellProps.textStyle": Prop<any, false>;
158
- cellBackground: Prop<string, false>;
159
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
160
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
161
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
162
+ cellBackground: Prop<string, true>;
159
163
  columnType: Prop<"tags", true>;
160
164
  } | {
161
- horizontalAlign: Prop<"center" | "left" | "right", false>;
162
- verticalAlign: Prop<"center" | "bottom" | "top", false>;
163
- "cellProps.textStyle": Prop<any, false>;
164
- cellBackground: Prop<string, false>;
165
+ horizontalAlign: Prop<"center" | "left" | "right", true>;
166
+ verticalAlign: Prop<"center" | "bottom" | "top", true>;
167
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
168
+ cellBackground: Prop<string, true>;
165
169
  textWrap: Prop<boolean, false>;
166
170
  cellIcon: Prop<string, false>;
167
- cellIconPosition: Prop<IconPosition, false>;
171
+ cellIconPosition: Prop<IconPosition, true>;
168
172
  columnType: Prop<"email", true>;
169
173
  })))) & {
170
- frozen: Prop<boolean, false>;
174
+ isFrozen: Prop<boolean, false>;
171
175
  }>;
172
176
  interaction: Section<Record<string, Prop<any, any>> & Omit<{
173
177
  columnType: Prop<ColumnType, false>;
@@ -6,11 +6,11 @@ type BooleanIconProps = {
6
6
  strokeWidth?: number;
7
7
  };
8
8
  export declare const RadioButtonControlIcons: {
9
- EMPTY: (_props: BooleanIconProps) => null;
10
- CHECK: (props: BooleanIconProps) => React.JSX.Element;
11
- CLOSE: (props: BooleanIconProps) => React.JSX.Element;
12
- MINUS: (props: BooleanIconProps) => React.JSX.Element;
13
- EMPTY_CHECKBOX: (props: BooleanIconProps) => React.JSX.Element;
9
+ empty: (_props: BooleanIconProps) => null;
10
+ check: (props: BooleanIconProps) => React.JSX.Element;
11
+ close: (props: BooleanIconProps) => React.JSX.Element;
12
+ minus: (props: BooleanIconProps) => React.JSX.Element;
13
+ empty_checkbox: (props: BooleanIconProps) => React.JSX.Element;
14
14
  };
15
15
  export type RadioButtonIconNames = keyof typeof RadioButtonControlIcons;
16
16
  export {};
@@ -8,8 +8,8 @@ interface TableDataDownloadProps {
8
8
  columns: ReactTableColumnProps[];
9
9
  tableSizes: TableSizes;
10
10
  widgetName: string;
11
- tableHeader: string;
11
+ header: string;
12
12
  tableCellTextStyle?: TextStyleWithVariant;
13
13
  }
14
- declare const TableDataDownload: ({ data, filteredOrderMap, columns, tableSizes, widgetName, tableHeader, tableCellTextStyle, }: TableDataDownloadProps) => React.JSX.Element;
14
+ declare const TableDataDownload: ({ data, filteredOrderMap, columns, tableSizes, widgetName, header, tableCellTextStyle, }: TableDataDownloadProps) => React.JSX.Element;
15
15
  export default TableDataDownload;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { InsertRowOptions, TableSizes } from "../constants.js";
3
- import type { Pagination, ReactTableColumnProps } from "../types.js";
3
+ import type { PaginationType, ReactTableColumnProps } from "../types.js";
4
4
  import type { TextStyleWithVariant, UserAccessibleTheme } from "@superblocksteam/library-shared/types";
5
5
  interface TableFooterProps {
6
6
  columns: ReactTableColumnProps[];
@@ -10,11 +10,11 @@ interface TableFooterProps {
10
10
  prevPageClick: () => void;
11
11
  pageNo: number;
12
12
  pageCount: number;
13
- pageType: Pagination;
13
+ paginationType: PaginationType;
14
14
  tableColumns: ReactTableColumnProps[];
15
15
  tableData: Array<Record<string, unknown>>;
16
16
  filteredOrderMap: number[] | undefined;
17
- tableHeader: string;
17
+ header: string;
18
18
  tableSizes: TableSizes;
19
19
  updatePageNo: (pageNo: number) => void;
20
20
  isDownloadable: boolean;
@@ -36,5 +36,5 @@ interface TableFooterProps {
36
36
  borderColor: string;
37
37
  theme: UserAccessibleTheme;
38
38
  }
39
- declare const TableFooter: ({ count, currentPageIndex, nextPageClick, prevPageClick, pageNo, pageCount, pageType, tableColumns, tableData, filteredOrderMap, tableHeader, tableSizes, borderColor, updatePageNo, isDownloadable, multiRowSelection, selectedRowIndices, widgetName, numEdits, numEditErrors, validationMessages, onEditSave, onEditCancel, onRowInsertion, onRowDeletion, isInsertionEnabled, isDeletionEnabled, isSaving, selectedRowIndex, tableCellTextStyle, theme, }: TableFooterProps) => React.JSX.Element;
39
+ declare const TableFooter: ({ count, currentPageIndex, nextPageClick, prevPageClick, pageNo, pageCount, paginationType, tableColumns, tableData, filteredOrderMap, header, tableSizes, borderColor, updatePageNo, isDownloadable, multiRowSelection, selectedRowIndices, widgetName, numEdits, numEditErrors, validationMessages, onEditSave, onEditCancel, onRowInsertion, onRowDeletion, isInsertionEnabled, isDeletionEnabled, isSaving, selectedRowIndex, tableCellTextStyle, theme, }: TableFooterProps) => React.JSX.Element;
40
40
  export default TableFooter;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { TableSizes } from "../constants.js";
3
- import type { Pagination } from "../types.js";
3
+ import type { PaginationType } from "../types.js";
4
4
  import type { UserAccessibleTheme } from "@superblocksteam/library-shared/types";
5
5
  interface TablePaginationProps {
6
6
  updatePageNo: (pageNo: number) => void;
@@ -9,10 +9,10 @@ interface TablePaginationProps {
9
9
  count: number;
10
10
  pageNo: number;
11
11
  pageCount: number;
12
- pageType: Pagination;
12
+ paginationType: PaginationType;
13
13
  currentPageIndex: number;
14
14
  tableSizes: TableSizes;
15
15
  theme: UserAccessibleTheme;
16
16
  }
17
- declare const TablePagination: ({ currentPageIndex, nextPageClick, prevPageClick, pageCount, pageNo, pageType, updatePageNo, tableSizes, theme, }: TablePaginationProps) => React.JSX.Element | null;
17
+ declare const TablePagination: ({ currentPageIndex, nextPageClick, prevPageClick, pageCount, pageNo, paginationType, updatePageNo, tableSizes, theme, }: TablePaginationProps) => React.JSX.Element | null;
18
18
  export default TablePagination;
@@ -10,7 +10,6 @@ export declare function getEditedRows(props: any): {
10
10
  originalRows: any[];
11
11
  };
12
12
  export declare function getAllEdits(props: any): any;
13
- export declare function getPageSize(props: any): any;
14
13
  export declare function getFilteredTableData(props: any): any[];
15
14
  export declare function getEditedRowIndices(props: any): {
16
15
  deletedRows: {