@codezee/sixtify-brahma 0.2.62 → 0.2.63

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": "@codezee/sixtify-brahma",
3
- "version": "0.2.62",
3
+ "version": "0.2.63",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/hardikranpariya/sixtify-brahma.git"
@@ -9,7 +9,7 @@ const PadBox_1 = require("../PadBox");
9
9
  exports.defaultPageSize = 50;
10
10
  exports.pageSizeOptions = [20, 50, 100, 200];
11
11
  exports.AgGrid = (0, react_1.forwardRef)((props, ref) => {
12
- const { cacheBlockSize = exports.defaultPageSize, defaultColDef = {
12
+ const { cacheBlockSize = props.paginationPageSize ?? exports.defaultPageSize, defaultColDef = {
13
13
  flex: 1,
14
14
  floatingFilter: false,
15
15
  filterParams: {
@@ -19,7 +19,7 @@ exports.AgGrid = (0, react_1.forwardRef)((props, ref) => {
19
19
  },
20
20
  }, height = "597px", rowHeight = 50, rowModelType = "infinite", rowBuffer = 5, totalRecords,
21
21
  // eslint-disable-next-line quotes
22
- overlayNoRowsTemplate = '<span class="ag-overlay-no-rows-center">No Data Found</span>', infiniteInitialRowCount = exports.defaultPageSize, pagination = false, ...rest } = props;
22
+ overlayNoRowsTemplate = '<span class="ag-overlay-no-rows-center">No Data Found</span>', infiniteInitialRowCount = props.paginationPageSize ?? exports.defaultPageSize, pagination = false, ...rest } = props;
23
23
  const { palette: { app: { color }, }, } = (0, material_1.useTheme)();
24
24
  if (totalRecords === 0) {
25
25
  return ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: {
@@ -1,7 +1,9 @@
1
1
  import { type CheckboxProps as MuiCheckboxProps } from "@mui/material/Checkbox";
2
+ import type { ChangeEvent } from "react";
2
3
  import { type ControllerRenderProps, type FieldValues, type UseControllerProps } from "react-hook-form";
3
4
  export type CheckBoxProps<P extends FieldValues> = UseControllerProps<P> & Omit<Omit<MuiCheckboxProps, "checked">, keyof ControllerRenderProps<P>> & {
4
5
  loading?: boolean;
6
+ onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
5
7
  };
6
8
  export declare function CheckBox<P extends FieldValues>({ name, rules, control, defaultValue, size, loading, ...restCheckBoxProps }: CheckBoxProps<P>): import("react/jsx-runtime").JSX.Element;
7
9
  //# sourceMappingURL=CheckBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/FormFields/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AAAA,OAAiB,EACf,KAAK,aAAa,IAAI,gBAAgB,EACvC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AAIzB,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,IAAI,kBAAkB,CAAC,CAAC,CAAC,GACtE,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,EAAE,MAAM,qBAAqB,CAAC,CAAC,CAAC,CAAC,GAAG;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,wBAAgB,QAAQ,CAAC,CAAC,SAAS,WAAW,EAAE,EAC9C,IAAI,EACJ,KAAK,EACL,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,OAAe,EACf,GAAG,iBAAiB,EACrB,EAAE,aAAa,CAAC,CAAC,CAAC,2CAkBlB"}
1
+ {"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/FormFields/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AAAA,OAAiB,EACf,KAAK,aAAa,IAAI,gBAAgB,EACvC,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAEL,KAAK,qBAAqB,EAC1B,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