@bothub-chat/ui 2.58.0-feat-documentizer-40fdeda7-bbdf-4598-809d-51d0c54181fb → 2.58.0-feat-documentizer-eebe0c83-75e9-495a-a653-aef8b3122e37

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 +1,5 @@
1
- import{styled as t}from"styled-components";import{animated as o}from"@react-spring/web";const e=t(o.div).withConfig({displayName:"styled__BackdropStyled",componentId:"sc-1uio6g1-0"})(["display:flex;justify-content:center;align-items:center;position:fixed;top:0px;bottom:0px;left:0px;right:0px;background:rgba(0,0,0,0.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:",";cursor:pointer;overflow:auto;"],({theme:t})=>t.zIndex.backdrop);export{e as BackdropStyled};
1
+ import{styled as o,css as t}from"styled-components";import{animated as e}from"@react-spring/web";const r=o(e.div).withConfig({displayName:"styled__BackdropStyled",componentId:"sc-1uio6g1-0"})(["display:flex;justify-content:center;align-items:center;position:fixed;top:0px;bottom:0px;left:0px;right:0px;z-index:",";cursor:pointer;overflow:auto;",""],({theme:o})=>o.zIndex.backdrop,({hasBackdrop:o})=>o&&t`
2
+ background: rgba(0, 0, 0, 0.55);
3
+ backdrop-filter: blur(5px);
4
+ -webkit-backdrop-filter: blur(5px);
5
+ `);export{r as BackdropStyled};
@@ -1415,6 +1415,7 @@ export declare const ImageFullScreenBackdrop: import("styled-components").IStyle
1415
1415
  scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1416
1416
  scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1417
1417
  viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
1418
+ hasBackdrop?: boolean | undefined;
1418
1419
  }>;
1419
1420
  export declare const ImageFullScreenContainer: import("styled-components").IStyledComponent<"web", {
1420
1421
  disabled?: boolean | undefined;
@@ -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 s=s=>{const{open:m,onClose:p,hasBackdrop:d=!0}=s;let c;return c=m?o(n,{children:[r(e,{hasBackdrop:d,open:m,onClick:p}),r(i,Object.assign({},s))]}):null,r(t,{children:c})};export{s 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-eebe0c83-75e9-495a-a653-aef8b3122e37",
4
4
  "description": "Bothub UI Components",
5
5
  "keywords": [
6
6
  "bot",