rechtspilot-ui 1.1.22 → 1.1.23
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/index.cjs +1 -1
- package/dist/index.es.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
|
|
133
133
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
134
134
|
|
|
135
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Dd="DialogDescriptionWarning",Id=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ci(Dd).contentName}}.`;return i.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Md=qs,kd=Mr,pn=ei,Fr=kr,li=ni,ui=oi,Ld=ii;const _d=Md,Fd=kd,di=i.forwardRef(({className:e,...t},n)=>l.jsxRuntimeExports.jsx(pn,{ref:n,className:l.cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));di.displayName=pn.displayName;const Wd=i.forwardRef(({className:e,children:t,...n},r)=>l.jsxRuntimeExports.jsxs(Fd,{children:[l.jsxRuntimeExports.jsx(di,{}),l.jsxRuntimeExports.jsxs(Fr,{ref:r,className:l.cn("fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] dark:border-neutral-800 dark:bg-neutral-950",e),...n,children:[t,l.jsxRuntimeExports.jsxs(Ld,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-neutral-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-500 dark:ring-offset-neutral-950 dark:focus:ring-neutral-300 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-400",children:[l.jsxRuntimeExports.jsx(l.Close,{className:"h-4 w-4"}),l.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Wd.displayName=Fr.displayName;const fi=i.forwardRef(({className:e,...t},n)=>l.jsxRuntimeExports.jsx(li,{ref:n,className:l.cn("text-lg font-semibold leading-none tracking-tight hidden",e),...t}));fi.displayName=li.displayName;const pi=i.forwardRef(({className:e,...t},n)=>l.jsxRuntimeExports.jsx(ui,{ref:n,className:l.cn("text-sm text-neutral-500 dark:text-neutral-400",e),...t}));pi.displayName=ui.displayName;function Bd({open:e,toggleDialog:t,children:n,...r}){return l.jsxRuntimeExports.jsx(_d,{open:e,onOpenChange:t,...r,children:n})}const mi=re.forwardRef(({className:e,...t},n)=>l.jsxRuntimeExports.jsx(pn,{ref:n,className:l.cn("fixed inset-0 z-50 bg-black/30 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));mi.displayName=pn.displayName;const Hd=M.styled(Fr)`
|
|
135
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Dd="DialogDescriptionWarning",Id=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ci(Dd).contentName}}.`;return i.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Md=qs,kd=Mr,pn=ei,Fr=kr,li=ni,ui=oi,Ld=ii;const _d=Md,Fd=kd,di=i.forwardRef(({className:e,...t},n)=>l.jsxRuntimeExports.jsx(pn,{ref:n,className:l.cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));di.displayName=pn.displayName;const Wd=i.forwardRef(({className:e,children:t,...n},r)=>l.jsxRuntimeExports.jsxs(Fd,{children:[l.jsxRuntimeExports.jsx(di,{}),l.jsxRuntimeExports.jsxs(Fr,{ref:r,translate:"no",className:l.cn("fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] dark:border-neutral-800 dark:bg-neutral-950",e),...n,children:[t,l.jsxRuntimeExports.jsxs(Ld,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-neutral-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-500 dark:ring-offset-neutral-950 dark:focus:ring-neutral-300 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-400",children:[l.jsxRuntimeExports.jsx(l.Close,{className:"h-4 w-4"}),l.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Wd.displayName=Fr.displayName;const fi=i.forwardRef(({className:e,...t},n)=>l.jsxRuntimeExports.jsx(li,{ref:n,className:l.cn("text-lg font-semibold leading-none tracking-tight hidden",e),...t}));fi.displayName=li.displayName;const pi=i.forwardRef(({className:e,...t},n)=>l.jsxRuntimeExports.jsx(ui,{ref:n,className:l.cn("text-sm text-neutral-500 dark:text-neutral-400",e),...t}));pi.displayName=ui.displayName;function Bd({open:e,toggleDialog:t,children:n,...r}){return l.jsxRuntimeExports.jsx(_d,{open:e,onOpenChange:t,...r,children:n})}const mi=re.forwardRef(({className:e,...t},n)=>l.jsxRuntimeExports.jsx(pn,{ref:n,className:l.cn("fixed inset-0 z-50 bg-black/30 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));mi.displayName=pn.displayName;const Hd=M.styled(Fr)`
|
|
136
136
|
width: ${({$width:e,$fullScreen:t})=>t?"100vw":e||"25.4rem"};
|
|
137
137
|
height: ${({$height:e,$fullScreen:t})=>t?"100vh":e||"29.8rem"};
|
|
138
138
|
border-radius: ${({$fullScreen:e})=>e?"0":"1.25rem"};
|
package/dist/index.es.js
CHANGED
|
@@ -1513,6 +1513,7 @@ const qd = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__
|
|
|
1513
1513
|
Zr,
|
|
1514
1514
|
{
|
|
1515
1515
|
ref: r,
|
|
1516
|
+
translate: "no",
|
|
1516
1517
|
className: X(
|
|
1517
1518
|
"fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] dark:border-neutral-800 dark:bg-neutral-950",
|
|
1518
1519
|
e
|