@medway-ui/core 0.4.1 → 0.4.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
${s.left+(((W=r[d])==null?void 0:W.width)||s.width)}px ${s.top+(((X=r[d])==null?void 0:X.height)||s.height)}px,
|
|
11
11
|
${s.left}px ${s.top+(((V=r[d])==null?void 0:V.height)||s.height)}px,
|
|
12
12
|
${s.left}px 0%
|
|
13
|
-
)`}}),jsxRuntime.jsx(react.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},style:{position:"fixed",top:s.top,left:s.left,width:s.width,height:s.height},className:i("z-[100]",o)}),jsxRuntime.jsxs(react.motion.div,{initial:{opacity:0,y:10},animate:u({opacity:1,y:0},Tr(s,($=r[d])==null?void 0:$.position)),transition:{duration:.3,ease:"easeOut"},exit:{opacity:0,y:10},style:{position:"fixed",zIndex:
|
|
13
|
+
)`}}),jsxRuntime.jsx(react.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},style:{position:"fixed",top:s.top,left:s.left,width:s.width,height:s.height},className:i("z-[100]",o)}),jsxRuntime.jsxs(react.motion.div,{initial:{opacity:0,y:10},animate:u({opacity:1,y:0},Tr(s,($=r[d])==null?void 0:$.position)),transition:{duration:.3,ease:"easeOut"},exit:{opacity:0,y:10},style:{position:"fixed",zIndex:2e3,width:ve},className:"relative min-h-[120px] rounded-md border bg-background p-4 shadow-lg",children:[jsxRuntime.jsxs("div",{className:"text-muted-foreground absolute right-4 top-2 text-xs",children:[d+1," / ",r.length]}),jsxRuntime.jsx(react.AnimatePresence,{mode:"wait",children:jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(react.motion.div,{initial:{opacity:0,scale:.95,filter:"blur(4px)"},animate:{opacity:1,scale:1,filter:"blur(0px)"},exit:{opacity:0,scale:.95,filter:"blur(4px)"},className:"overflow-hidden pt-4",transition:{duration:.2,height:{duration:.4}},children:(L=r[d])==null?void 0:L.content},`tour-content-${d}`),jsxRuntime.jsxs("div",{className:"mt-4 flex justify-between",children:[d>0&&jsxRuntime.jsx(Oe,{onClick:w,variant:"secondary-ghost",size:"sm",disabled:d===0,className:"text-sm",children:"Anterior"}),jsxRuntime.jsx(Oe,{onClick:F,variant:"secondary",size:"sm",className:i("text-sm",!d&&"ml-auto"),children:d===r.length-1?"Concluir":"Pr\xF3ximo"})]})]})})]})]})})]})}function Ur(){let e=D.useContext(bt);if(!e)throw new Error("useTour must be used within a TourProvider");return e}/*! Bundled license information:
|
|
14
14
|
|
|
15
15
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
16
16
|
lucide-react/dist/esm/defaultAttributes.js:
|