@clicktap/ui 0.3.0 → 0.3.2
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/Modal/Modal.d.ts +6 -2
- package/index.js +1 -1
- package/index.mjs +3 -2
- package/package.json +1 -1
package/Modal/Modal.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ModalOverlayProps } from 'react-aria-components';
|
|
3
|
+
interface ModalProps extends Omit<ModalOverlayProps, 'children'> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function Modal({ children, ...props }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
3
7
|
export default Modal;
|
package/index.js
CHANGED
|
@@ -606,7 +606,7 @@ Check the top-level render call using <`+w+">.")}return f}function Mo(a,f){if(!(
|
|
|
606
606
|
`;function md({label:e,showValue:r=!0,value:t=0,minValue:o=0,maxValue:n=100,formatOptions:s={style:"percent"},...i}){return p.jsx(gd,{value:t,minValue:o,maxValue:n,formatOptions:s,...i,children:({percentage:l,valueText:u})=>p.jsxs(p.Fragment,{children:[(e||r)&&p.jsxs(vd,{children:[e&&p.jsx(yd,{children:e}),r&&p.jsx($d,{children:u})]}),p.jsx(xd,{children:p.jsx(wd,{initial:{width:`${l}%`},animate:{width:`${l}%`},transition:{type:"spring",bounce:0}})})]})})}const hd=m.styled(D.Modal)`
|
|
607
607
|
position: absolute;
|
|
608
608
|
inset: 50%;
|
|
609
|
-
`;function Cd(e){return p.jsx(hd,{...e})}const pn=m.keyframes`
|
|
609
|
+
`;function Cd({children:e,...r}){return p.jsx(hd,{...r,children:e})}const pn=m.keyframes`
|
|
610
610
|
0% {
|
|
611
611
|
opacity: 0;
|
|
612
612
|
backdrop-filter: blur(0);
|
package/index.mjs
CHANGED
|
@@ -8463,11 +8463,12 @@ const su = C(Ei)`
|
|
|
8463
8463
|
position: absolute;
|
|
8464
8464
|
inset: 50%;
|
|
8465
8465
|
`;
|
|
8466
|
-
function Tp(e) {
|
|
8466
|
+
function Tp({ children: e, ...r }) {
|
|
8467
8467
|
return /* @__PURE__ */ g(
|
|
8468
8468
|
su,
|
|
8469
8469
|
{
|
|
8470
|
-
...
|
|
8470
|
+
...r,
|
|
8471
|
+
children: e
|
|
8471
8472
|
}
|
|
8472
8473
|
);
|
|
8473
8474
|
}
|