@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.
- package/dist/api/hoc/watchInputElementChangeEvent.d.ts +1 -1
- package/dist/components/Popup/Popup.d.ts +2 -2
- package/dist/index.cjs.js +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/api/hoc/getStatefulObjectWithWhere.tsx +2 -0
- package/src/api/hoc/watchInputElementChangeEvent.tsx +1 -1
- package/src/components/Popup/Popup.tsx +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -3898,7 +3898,7 @@ function getStyles(overrides = {}) {
|
|
|
3898
3898
|
function Popup({ open = true, handleClose, children, maxWidth, }) {
|
|
3899
3899
|
if (false === open) {
|
|
3900
3900
|
// @link https://legacy.reactjs.org/docs/conditional-rendering.html#preventing-component-from-rendering
|
|
3901
|
-
return
|
|
3901
|
+
return jsxRuntime_1(jsxRuntime_3, {});
|
|
3902
3902
|
}
|
|
3903
3903
|
const dig = getStyles();
|
|
3904
3904
|
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 }) }) }) });
|
|
@@ -4241,6 +4241,7 @@ const CarbonReact = class extends Component {
|
|
|
4241
4241
|
};
|
|
4242
4242
|
|
|
4243
4243
|
var getStatefulObjectWithWhere = ({ request }) => {
|
|
4244
|
+
console.log('request', request);
|
|
4244
4245
|
};
|
|
4245
4246
|
|
|
4246
4247
|
function watchInputElementChangeEvent(event, cb, timeoutMs = 3000) {
|