react-table-edit 1.2.48 → 1.2.50

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 CHANGED
@@ -2883,13 +2883,14 @@ var import_react16 = require("react");
2883
2883
  var import_react_datepicker = __toESM(require("react-datepicker"));
2884
2884
  var import_react_input_mask = __toESM(require("react-input-mask"));
2885
2885
  var import_jsx_runtime17 = require("react/jsx-runtime");
2886
- var DateInputCustom = (props) => {
2886
+ var DateInput = (0, import_react16.forwardRef)((props, ref) => {
2887
2887
  const { id, onKeyDown, dateFormat, className, onChange, value } = props;
2888
2888
  const [open, setOpen] = (0, import_react16.useState)(false);
2889
2889
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2890
2890
  import_react_datepicker.default,
2891
2891
  {
2892
2892
  id,
2893
+ ref,
2893
2894
  open,
2894
2895
  className,
2895
2896
  selected: value,
@@ -2926,8 +2927,8 @@ var DateInputCustom = (props) => {
2926
2927
  }
2927
2928
  }
2928
2929
  );
2929
- };
2930
- var input_date_default = DateInputCustom;
2930
+ });
2931
+ var input_date_default = DateInput;
2931
2932
 
2932
2933
  // src/component/table/index.tsx
2933
2934
  var import_jsx_runtime18 = require("react/jsx-runtime");
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/component/table/index.tsx
2
- import { Fragment as Fragment21, forwardRef as forwardRef4, useEffect as useEffect9, useImperativeHandle, useRef as useRef4, useState as useState9 } from "react";
2
+ import { Fragment as Fragment21, forwardRef as forwardRef5, useEffect as useEffect9, useImperativeHandle, useRef as useRef4, useState as useState9 } from "react";
3
3
  import { Button as Button6, DropdownMenu as DropdownMenu4, DropdownToggle as DropdownToggle4, Input as Input8, UncontrolledDropdown, UncontrolledTooltip as UncontrolledTooltip5 } from "reactstrap";
4
4
  import classnames9 from "classnames";
5
5
  import { useTranslation as useTranslation12 } from "react-i18next";
@@ -2849,17 +2849,18 @@ var SidebarSetColumn = (props) => {
2849
2849
  var sidebar_setting_column_default = SidebarSetColumn;
2850
2850
 
2851
2851
  // src/component/input-date/index.tsx
2852
- import { useState as useState8 } from "react";
2852
+ import { forwardRef as forwardRef4, useState as useState8 } from "react";
2853
2853
  import DatePicker from "react-datepicker";
2854
2854
  import InputMask from "react-input-mask";
2855
2855
  import { jsx as jsx17 } from "react/jsx-runtime";
2856
- var DateInputCustom = (props) => {
2856
+ var DateInput = forwardRef4((props, ref) => {
2857
2857
  const { id, onKeyDown, dateFormat, className, onChange, value } = props;
2858
2858
  const [open, setOpen] = useState8(false);
2859
2859
  return /* @__PURE__ */ jsx17(
2860
2860
  DatePicker,
2861
2861
  {
2862
2862
  id,
2863
+ ref,
2863
2864
  open,
2864
2865
  className,
2865
2866
  selected: value,
@@ -2896,12 +2897,12 @@ var DateInputCustom = (props) => {
2896
2897
  }
2897
2898
  }
2898
2899
  );
2899
- };
2900
- var input_date_default = DateInputCustom;
2900
+ });
2901
+ var input_date_default = DateInput;
2901
2902
 
2902
2903
  // src/component/table/index.tsx
2903
2904
  import { Fragment as Fragment22, jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
2904
- var TableEdit = forwardRef4((props, ref) => {
2905
+ var TableEdit = forwardRef5((props, ref) => {
2905
2906
  const { t } = useTranslation12();
2906
2907
  const {
2907
2908
  idTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-table-edit",
3
- "version": "1.2.48",
3
+ "version": "1.2.50",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",