@bothub-chat/ui 2.58.0-feat-documentizer-40fdeda7-bbdf-4598-809d-51d0c54181fb → 2.58.0-feat-documentizer-d13fe213-8be6-4429-a51c-ae23e144ebf3

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,4 +1,6 @@
1
1
  import { ModalWindowlProps } from './modal-window';
2
- export type ModalProps = ModalWindowlProps;
2
+ export type ModalProps = ModalWindowlProps & {
3
+ hasBackdrop?: boolean;
4
+ };
3
5
  export declare const Modal: (props: ModalProps) => import("react/jsx-runtime").JSX.Element;
4
6
  export * from './modal-window';
@@ -1 +1 @@
1
- import{jsxs as o,jsx as r}from"react/jsx-runtime";import{ModalStyled as n}from"./styled.js";import{Backdrop as e}from"../backdrop/index.js";import{Portal as t}from"../portal/index.js";import{ModalWindow as i}from"./modal-window/index.js";const m=m=>{const{open:s,onClose:l}=m;let p;return p=s?o(n,{children:[r(e,{open:s,onClick:l}),r(i,Object.assign({},m))]}):null,r(t,{children:p})};export{m as Modal,i as ModalWindow};
1
+ import{jsxs as o,jsx as r}from"react/jsx-runtime";import{ModalStyled as n}from"./styled.js";import{Backdrop as e}from"../backdrop/index.js";import{Portal as t}from"../portal/index.js";import{ModalWindow as i}from"./modal-window/index.js";const m=m=>{const{open:s,onClose:p,hasBackdrop:d=!0}=m;let l;return l=s?o(n,{children:[d&&r(e,{open:s,onClick:p}),r(i,Object.assign({},m))]}):null,r(t,{children:l})};export{m as Modal,i as ModalWindow};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bothub-chat/ui",
3
- "version": "2.58.0-feat-documentizer-40fdeda7-bbdf-4598-809d-51d0c54181fb",
3
+ "version": "2.58.0-feat-documentizer-d13fe213-8be6-4429-a51c-ae23e144ebf3",
4
4
  "description": "Bothub UI Components",
5
5
  "keywords": [
6
6
  "bot",