@app-studio/web 0.3.45 → 0.3.47

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/web.esm.js CHANGED
@@ -4425,6 +4425,15 @@ var useModalStore = /*#__PURE__*/create(function (set) {
4425
4425
  }
4426
4426
  };
4427
4427
  });
4428
+ var showModal = function showModal(modal, modalProps, overlayProps) {
4429
+ if (modalProps === void 0) {
4430
+ modalProps = {};
4431
+ }
4432
+ if (overlayProps === void 0) {
4433
+ overlayProps = {};
4434
+ }
4435
+ useModalStore.getState().show(modal, modalProps, overlayProps);
4436
+ };
4428
4437
  var hideModal = function hideModal() {
4429
4438
  useModalStore.getState().hide();
4430
4439
  };
@@ -4495,7 +4504,6 @@ var ModalOverlay = function ModalOverlay(_ref) {
4495
4504
  onClick: handleClick,
4496
4505
  visibility: isOpen ? 'visible' : 'hidden'
4497
4506
  }, React.createElement(View, Object.assign({
4498
- cursor: "pointer",
4499
4507
  position: "absolute",
4500
4508
  top: 0,
4501
4509
  left: 0,
@@ -4664,5 +4672,5 @@ var FileImage = function FileImage(_ref2) {
4664
4672
  }, props));
4665
4673
  };
4666
4674
 
4667
- export { Bottom, Button, Center, Checkbox, CountryPicker, DatePicker, FileImage, FileSVG, Horizontal, Inline, Left, Link, Loader, Modal, Password, Right, Select, Switch, Text, TextArea, TextField, Top, Vertical, View };
4675
+ export { Bottom, Button, Center, Checkbox, CountryPicker, DatePicker, FileImage, FileSVG, Horizontal, Inline, Left, Link, Loader, Modal, Password, Right, Select, Switch, Text, TextArea, TextField, Top, Vertical, View, hideModal, showModal, useModalStore };
4668
4676
  //# sourceMappingURL=web.esm.js.map