@carbonorm/carbonreact 3.4.5 → 3.4.7

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.
@@ -1,2 +1,2 @@
1
1
  import { ChangeEvent } from "react";
2
- export default function watchInputElementChangeEvent(event: ChangeEvent<HTMLInputElement>, cb: (event: ChangeEvent<HTMLInputElement>) => (Promise<boolean> | boolean), timeoutMs?: number): void;
2
+ export default function watchInputElementChangeEvent(event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, cb: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => (Promise<boolean> | boolean), timeoutMs?: number): void;
@@ -1,9 +1,9 @@
1
- import { PropsWithChildren } from "react";
1
+ import { PropsWithChildren, ReactElement } from "react";
2
2
  interface iPopupProperties {
3
3
  open?: boolean;
4
4
  handleClose: () => any;
5
5
  minWidth?: string;
6
6
  maxWidth?: string;
7
7
  }
8
- export default function Popup({ open, handleClose, children, maxWidth, }: PropsWithChildren<iPopupProperties>): import("react/jsx-runtime").JSX.Element | null;
8
+ export default function Popup({ open, handleClose, children, maxWidth, }: PropsWithChildren<iPopupProperties>): ReactElement;
9
9
  export {};
package/dist/index.cjs.js CHANGED
@@ -3900,7 +3900,7 @@ function getStyles(overrides = {}) {
3900
3900
  function Popup({ open = true, handleClose, children, maxWidth, }) {
3901
3901
  if (false === open) {
3902
3902
  // @link https://legacy.reactjs.org/docs/conditional-rendering.html#preventing-component-from-rendering
3903
- return null;
3903
+ return jsxRuntime_1(jsxRuntime_3, {});
3904
3904
  }
3905
3905
  const dig = getStyles();
3906
3906
  return jsxRuntime_1("div", { className: classNames(dig.modal, dig.fade, dig.show, dig.dBlock), style: { backgroundColor: "rgba(0,0,0,0.8)" }, id: "exampleModalCenter", tabIndex: -1, "aria-labelledby": "exampleModalCenterTitle", "aria-modal": "true", role: "dialog", children: jsxRuntime_1("div", { style: { maxWidth: maxWidth }, className: classNames(dig.modalDialog, dig.modalDialogCentered), children: jsxRuntime_1(OutsideClickHandler, { onOutsideClick: () => handleClose(), children: jsxRuntime_1("div", { className: classNames(dig.modalContent, dig.bgTransparent, dig.modalDialogScrollable), children: children }) }) }) });
@@ -4243,6 +4243,7 @@ const CarbonReact = class extends react.Component {
4243
4243
  };
4244
4244
 
4245
4245
  var getStatefulObjectWithWhere = ({ request }) => {
4246
+ console.log('request', request);
4246
4247
  };
4247
4248
 
4248
4249
  function watchInputElementChangeEvent(event, cb, timeoutMs = 3000) {