kotnala_ui 1.0.4 → 1.0.7

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.
@@ -0,0 +1,14 @@
1
+ interface DiaScrollerNavbarPropTypes {
2
+ navItems: {
3
+ iconPath: string;
4
+ text: string;
5
+ url: string;
6
+ }[];
7
+ theme?: "light" | "dark" | "default";
8
+ fontSize?: string;
9
+ padding?: string;
10
+ previewGap?: string;
11
+ borderRadius?: string;
12
+ }
13
+ declare function DiaScrollerNavbar({ navItems, fontSize, padding, previewGap, borderRadius, theme }: DiaScrollerNavbarPropTypes): import("react").JSX.Element;
14
+ export default DiaScrollerNavbar;
@@ -0,0 +1,13 @@
1
+ interface FluidNavbarPropTypes {
2
+ blobCurvature?: string;
3
+ navItems: {
4
+ iconPath: string;
5
+ text: string;
6
+ url: string;
7
+ }[];
8
+ blobSize?: string;
9
+ blobTop?: string;
10
+ blobY?: "top" | "middle" | "bottom";
11
+ }
12
+ declare function FluidNavbar({ blobCurvature, navItems, blobSize, blobY, blobTop }: FluidNavbarPropTypes): import("react").JSX.Element;
13
+ export default FluidNavbar;
@@ -0,0 +1,12 @@
1
+ interface GooeyNavbarPropTypes {
2
+ navItems: {
3
+ iconPath: string;
4
+ text: string;
5
+ url: string;
6
+ }[];
7
+ paddingX?: string;
8
+ paddingY?: string;
9
+ marginTop?: string;
10
+ }
11
+ declare function GooeyNavbar({ navItems, paddingX, paddingY, marginTop }: GooeyNavbarPropTypes): import("react").JSX.Element;
12
+ export default GooeyNavbar;
@@ -1,2 +1,14 @@
1
- declare function StaggeredText(): import("react").JSX.Element;
2
- export default StaggeredText;
1
+ type ThemeTypes = "light" | "dark";
2
+ interface MeteorMashPropInterface {
3
+ numOfMeteors?: number;
4
+ trailLength?: number;
5
+ trailLengthShrinkable?: number;
6
+ trailThickness?: number;
7
+ meteorCoreSize?: number;
8
+ collisionDebriSize?: number;
9
+ theme?: ThemeTypes;
10
+ bgColor?: Record<ThemeTypes, string>;
11
+ animateUntill?: boolean;
12
+ }
13
+ declare function MeteorMash({ numOfMeteors, trailLength, trailLengthShrinkable, trailThickness, meteorCoreSize, collisionDebriSize, theme, bgColor, animateUntill }: MeteorMashPropInterface): import("react").JSX.Element;
14
+ export default MeteorMash;
@@ -0,0 +1,27 @@
1
+ import { type ChangeEvent, type Dispatch, type FocusEvent, type KeyboardEvent, type MouseEvent, type SetStateAction } from "react";
2
+ interface ParticleVanishingInputPropTypes {
3
+ fontSize?: "text-xs" | "text-sm" | "text-md" | "text-lg" | "text-xl" | "text-2xl";
4
+ fontWeight?: "font-thin" | "font-normal" | "font-semibold" | "font-bold" | "font-extrabold";
5
+ className?: string;
6
+ height?: string;
7
+ theme: "light" | "dark";
8
+ btnIconPathD?: string;
9
+ wave?: {
10
+ amplitude: number;
11
+ cycles: number;
12
+ numOfParticles: number;
13
+ particleSize: number;
14
+ smokeEffect: boolean;
15
+ };
16
+ placeHolder?: string;
17
+ manuallyStartAnimation?: boolean;
18
+ setData: Dispatch<SetStateAction<string>>;
19
+ onClick?: (e: MouseEvent<HTMLInputElement>) => void;
20
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
21
+ onFocus?: (e: FocusEvent<HTMLInputElement>) => void;
22
+ onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
23
+ onKeyUp?: (e: KeyboardEvent<HTMLInputElement>) => void;
24
+ onKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void;
25
+ }
26
+ declare function ParticleVanishingInput({ btnIconPathD, fontSize, fontWeight, manuallyStartAnimation, placeHolder, setData, height, theme, wave, onClick, onChange, onFocus, onBlur, onKeyUp, onKeyDown }: ParticleVanishingInputPropTypes): import("react").JSX.Element;
27
+ export default ParticleVanishingInput;
@@ -0,0 +1,11 @@
1
+ interface PopupNavbarPropTypes {
2
+ navItems: {
3
+ iconPath: string;
4
+ text: string;
5
+ url: string;
6
+ }[];
7
+ fontSize?: string;
8
+ padding?: string;
9
+ }
10
+ declare function PopupNavbar({ navItems, fontSize, padding }: PopupNavbarPropTypes): import("react").JSX.Element;
11
+ export default PopupNavbar;
@@ -0,0 +1,5 @@
1
+ interface TextSlashInputPropTypes {
2
+ placeHolder?: string;
3
+ }
4
+ declare function TextSlashInput({ placeHolder }: TextSlashInputPropTypes): import("react").JSX.Element;
5
+ export default TextSlashInput;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,8 @@
1
1
  import "./styles.css";
2
2
  export { default as MeteorMash } from "./components/meteor_mash/MeteorMash";
3
+ export { default as DiaScrollerNavbar } from "./components/dia_scroller_navbar/DiaScrollerNavbar";
4
+ export { default as FluidNavbar } from "./components/fluid_navbar/FluidNavbar";
5
+ export { default as GooeyNavbar } from "./components/gooey_navbar/GooeyNavbar";
6
+ export { default as PopupNavabr } from "./components/popup_navabr/PopupNavabr";
7
+ export { default as ParticleVanishingInput } from "./components/particle_vanishing_input/ParticleVanishingInput";
8
+ export { default as TextSlashInput } from "./components/text_slash_input/TextSlashInput";
package/dist/index.esm.js CHANGED
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";function r(){return e("div",{className:"",children:"this is Staggered Text"})}export{r as MeteorMash};
1
+ import{useRef as e,useState as t,useEffect as a}from"react";import{jsx as n,jsxs as r,Fragment as l}from"react/jsx-runtime";import{NavLink as i}from"react-router-dom";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function s(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=u(e))||t){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,i=!0,o=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return i=e.done,e},e:function(e){o=!0,l=e},f:function(){try{i||null==a.return||a.return()}finally{if(o)throw l}}}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,l,i,o=[],s=!0,c=!1;try{if(l=(a=a.call(e)).next,0===t);else for(;!(s=(n=l.call(a)).done)&&(o.push(n.value),o.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=a.return&&(i=a.return(),Object(i)!==i))return}finally{if(c)throw r}}return o}}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return o(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}}var h={light:"white",dark:"black"};function f(r){var l=r.numOfMeteors,i=void 0===l?7:l,o=r.trailLength,d=void 0===o?20:o,u=r.trailLengthShrinkable,f=void 0===u?60:u,p=r.trailThickness,m=void 0===p?3:p,v=r.meteorCoreSize,x=void 0===v?2.4:v,g=r.collisionDebriSize,y=void 0===g?2:g,b=r.theme,w=void 0===b?"light":b,k=r.bgColor,N=void 0===k?h:k,M=r.animateUntill,S=void 0===M||M,L=e(null),C=c(t([]),2),z=C[0],B=C[1];return a(function(){for(var e,t,a=[],n=(null===(e=L.current)||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.clientHeight)||400,r=(null===(t=L.current)||void 0===t||null===(t=t.parentElement)||void 0===t?void 0:t.clientWidth)||400,l=0;l<i;l++){var o=Math.floor(Math.random()*(r/2- -r+1))+-r,s=-(d+d+100*l);a.push({index:l,x1:o,y1:s,trailLength:d,trailLengthShrinkable:f,color:"red",dots:[{index:0,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:1,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:2,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:3,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:4,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:5,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:6,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:7,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:8,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:9,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:10,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:11,x:o+d+n+100*l,y:s+d+n+100*l,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}]})}B(a)},[]),a(function(){var e;if(S){var t=L.current;if(t){var a=t.getContext("2d");if(a&&(t.width=window.innerWidth,t.height=window.innerHeight,null!==(e=t.parentElement)&&void 0!==e&&e.clientHeight)){var n,r=t.parentElement.clientHeight,l=t.parentElement.clientWidth,i=function(){a.clearRect(0,0,t.width,t.height);var e,o=s(z);try{var c=function(){var t=e.value;if(t.x1+=2,t.y1+=2,t.trailLengthShrinkable>-20&&t.y1>=r/2){var n=Math.max(0,100*(t.y1+t.trailLength+t.trailLengthShrinkable-r/2)/r/4),i=t.trailLengthShrinkable*n/100;t.trailLengthShrinkable-=i,t.x1+=i,t.y1+=i}if(t.y1+t.trailLength+t.trailLengthShrinkable>=r){!function(){var e,n=0,r=s(t.dots);try{for(r.s();!(e=r.n()).done;){var l=e.value;n=(l.index/10*45+130)*(Math.PI/180),l.x-=Math.cos(n)*l.speed,l.y-=Math.sin(n)*l.speed,l.opacity*=.94,a.beginPath(),a.fillStyle="light"===w?"rgba(255, 106, 0,".concat(l.opacity,")"):"rgba(209, 213, 220,".concat(l.opacity,")"),a.arc(l.x+t.trailLength-t.trailLengthShrinkable+t.trailLengthShrinkable,l.y+t.trailLength-t.trailLengthShrinkable+t.trailLengthShrinkable,l.size,0,2*Math.PI,!1),a.fill()}}catch(e){r.e(e)}finally{r.f()}}()}if(t.y1>=r+150){var o=Math.floor(Math.random()*(l/2- -l+1))+-l,c=-(d+d);t.x1=o,t.y1=c,t.trailLength=d,t.trailLengthShrinkable=f,t.dots=[{index:0,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}],t.dots.push({index:1,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:2,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:3,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:4,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:5,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:6,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:7,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:8,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:9,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:10,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:11,x:o+d+r,y:c+d+r,size:Math.random()*(y-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2})}a.beginPath();var u=a.createLinearGradient(t.x1,t.y1,t.x1+t.trailLength+t.trailLengthShrinkable,t.y1+t.trailLength+t.trailLengthShrinkable);u.addColorStop(0,"light"===w?"white":"black"),u.addColorStop(.2,"rgba(255,255,0,1)"),u.addColorStop(.5,"rgba(255,165,0,1)"),u.addColorStop(.8,"rgba(255,69,0,0.8)"),u.addColorStop(1,"oklch(74.6% 0.16 232.661)"),a.moveTo(t.x1,t.y1),a.lineTo(t.x1+t.trailLength+t.trailLengthShrinkable,t.y1+t.trailLength+t.trailLengthShrinkable),a.lineWidth=m,a.strokeStyle=u,a.stroke(),a.beginPath(),a.fillStyle="rgba(0, 191, 255, ".concat(1.01+Math.sin(2*Math.PI*1*(t.y1/100)),")"),a.arc(t.x1+t.trailLength+t.trailLengthShrinkable+1,t.y1+t.trailLength+t.trailLengthShrinkable+1,x,0,2*Math.PI,!1),a.fill(),a.beginPath(),a.fillStyle="rgba(255, 110, 70, ".concat(t.y1%2,")"),a.arc(t.x1+t.trailLength+t.trailLengthShrinkable+1,t.y1+t.trailLength+t.trailLengthShrinkable+1,x-.4,0,2*Math.PI,!1),a.fill()};for(o.s();!(e=o.n()).done;)c()}catch(e){o.e(e)}finally{o.f()}n=requestAnimationFrame(i)};return i(),function(){cancelAnimationFrame(n)}}}}else console.log("animateUntill is false")},[z,S]),n("div",{className:"relative w-full h-full overflow-hidden",children:n("canvas",{ref:L,className:"absolute top-0 left-0 bg-[".concat(N[w],"]")})})}var p=function(e,t){return n("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"-10 -10 44 44","stroke-width":"1.5","data-nav-item":e,className:"stroke-1 stroke-neutral-400 mix-blend-difference w-full h-full",style:{transition:"1s ease-in-out"},children:n("path",{"data-nav-item":e,"stroke-linecap":"round","stroke-linejoin":"round",d:t})})};function m(l){var o=l.navItems,s=l.fontSize,d=void 0===s?"18px":s,u=l.padding,h=void 0===u?"0px 0px":u,f=l.previewGap,m=void 0===f?"-48px":f,v=l.borderRadius,x=void 0===v?"0px":v,g=l.theme,y=c(t({x:0,width:0,left:0}),2),b=y[0],w=y[1],k=c(t(""),2),N=k[0],M=k[1],S=c(t(!1),2),L=S[0],C=S[1],z=c(t(0),2),B=z[0],E=z[1],I=e(null);return a(function(){!function(){var e=I.current;if(e){var t=e.getBoundingClientRect().x;E(t)}}()},[]),n("div",{className:"text-neutral-500 bg-neutral-50 dark:text-neutral-400 dark:bg-neutral-900",style:{fontSize:d,boxShadow:"light"===g?"0px 0px 8px 0.1px #00000050":"0px 0px 8px 0.1px #ffffff50",borderRadius:x},children:r("div",{ref:I,className:"relative w-min",onMouseOver:function(e){e.target.getAttribute("data-nav-item")&&C(!0)},onMouseMove:function(e){var t=e.target.getAttribute("data-nav-item");if(t){var a=e.target.getBoundingClientRect(),n=a.x,r=a.width,l=a.left;M(t),w({x:n,width:r,left:l})}},onMouseOut:function(e){e.target.getAttribute("data-nav-item")&&C(!1)},children:[n("div",{className:"rounded-sm absolute left-0 w-23 overflow-hidden transition-all ease-in-out duration-1000 border border-neutral-500",style:{translate:"".concat(b.x-B,"px"),width:b.width,opacity:L?1:0,top:m,borderRadius:x},children:n("div",{className:"w-max transition-all ease-in-out duration-1000 flex",style:{translate:"".concat(-b.x+B,"px")},children:o.map(function(e,t){var a=e.text;return n("div",{className:"transition-all ease duration-600 bg-neutral-800 text-neutral-200",style:{transform:N===a?"scale(1)":"scale(0.5)",filter:N===a?"blur(0)":"blur(7px)",padding:h,borderRadius:x},children:a},t)})})}),n("div",{style:{borderRadius:x},className:"flex overflow-hidden",children:o.map(function(e,t){var a=e.iconPath,l=e.text,s=e.url;return r(i,{to:s,className:"h-full cursor-pointer flex items-center relative transition-all ease-in-out duration-600 hover:bg-neutral-800 dark:hover:bg-neutral-800",style:{padding:h},children:[n("div",{className:"text-neutral-300 dark:text-neutral-600",children:l}),n("div",{className:"backdrop-blur-md absolute left-0 top-0 h-full w-full text-center content-center rounded-md transition-all ease-in-out duration-600",style:{scale:N===l?1:.9,borderRadius:0===t?"".concat(x," 0 0 ").concat(x):t===o.length-1?"0 ".concat(x," ").concat(x," 0"):"0"},children:p(l,a)}),n("div",{"data-nav-item":l,className:"backdrop-blur-md absolute left-0 top-0 h-full w-full text-center content-center opacity-0",children:"A"})]},t)})})]})})}var v=function(e){return n("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"-2.5 -2.5 30 30","stroke-width":"1.5",className:"stroke-1 stroke-gray-400 w-full h-full",style:{transition:"1s ease-in-out"},children:n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:e})})};function x(a){var l=a.blobCurvature,o=void 0===l?"2px":l,s=a.navItems,d=a.blobSize,u=void 0===d?"44px":d,h=a.blobY,f=void 0===h?"middle":h,p=a.blobTop,m=void 0===p?"-70px":p,x=c(t({x:-8,y:0}),2),g=x[0],y=x[1],b=c(t(""),2),w=b[0],k=b[1],N=c(t(null),2),M=N[0],S=N[1],L=c(t(0),2),C=L[0],z=L[1],B=e(null);return r("div",{ref:B,className:"relative w-max mx-auto",children:[n("svg",{xmlns:"http://www.w3.org/2000/svg",children:n("defs",{children:r("filter",{id:"goo",children:[n("feGaussianBlur",{in:"sourceGraphic",stdDeviation:"10",result:"blur"}),n("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8",result:"goo"}),n("feBlend",{in:"sourceGraphic",in2:"goo"})]})})}),r("div",{className:"apply_goo_effect absolute left-0 w-full h-full",style:{top:m},children:[n("div",{className:"bg-gray-50 dark:bg-gray-900 flex gap-20",children:s.map(function(e){var t=e.text;return n("div",{className:"hover:bg-gray-900",children:n("div",{className:"opacity-0",children:t})},t)})}),n("div",{className:"border-10 border-gray-600 dark:border-gray-500 bg-gray-900 dark:bg-gray-100 w-15 absolute",style:{top:"top"===f?"-15px":"middle"===f?"-9px":"0px",left:g.x,height:u,width:"".concat(C+12,"px"),opacity:w?1:0,borderRadius:o,transition:"1s ease-in-out"}})]}),n("div",{className:"absolute left-0 w-full h-full",style:{top:m},children:n("div",{className:"flex gap-20 absolute top-0",children:s.map(function(e){var t=e.text;return n("div",{className:"",children:n("div",{className:"text-gray-50 dark:text-gray-900",children:t})},t)})})}),n("div",{className:"flex gap-20",onMouseOver:function(e){var t=e.target.getAttribute("data-nav-item"),a=B.current;if(t&&a){var n=e.target,r=a.getBoundingClientRect().x,l=n.getBoundingClientRect(),i=l.x,o=l.y,s=l.width;y({x:i-r-10,y:o}),z(s),k(t),g.x>i-r+20?S("right"):g.x<i-r-20?S("left"):S(null)}},onMouseOut:function(){return k("")},children:s.map(function(e){var t=e.iconPath,a=e.text,l=e.url;return r("div",{className:"border border-gray-200 dark:border-gray-700 overflow-hidden text-gray-500 hover:text-gray-300 dark:hover:text-gray-300 relative cursor-default transition-all duration-700 ease-in-out rounded-md hover:scale-115",children:[n("div",{className:"opacity-0",children:a}),n("div",{className:"bg-gray-800 dark:bg-gray-200 absolute inset-0",style:{transform:w===a&&"left"===M?"scaleX(1)":"scaleX(0)",transformOrigin:"left",transition:"0.5s ease-in-out"}}),n("div",{className:"bg-gray-800 dark:bg-gray-200 absolute inset-0",style:{transform:w===a&&"right"===M?"scaleX(1)":"scaleX(0)",transformOrigin:"right",transition:"0.5s ease-in-out"}}),n("div",{className:"bg-gray-800 dark:bg-gray-200 absolute inset-0",style:{transform:w===a&&null===M?"scaleY(1)":"scaleY(0)",transformOrigin:"bottom",transition:"0.5s ease-in-out"}}),n("div",{className:"absolute top-0 left-0 inset-0 text-center",children:v(t)}),n(i,{to:l,"data-nav-item":a,className:"absolute top-0 left-0 inset-0 text-center opacity-0",children:a})]},a)})})]})}var g=function(e){return n("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"-10 -10 44 44","stroke-width":"1.5",className:"stroke-1 stroke-gray-400 mix-blend-difference w-full h-full",style:{transition:"1s ease-in-out"},children:n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:e})})};function y(a){var l=a.navItems,o=a.paddingX,s=void 0===o?"32px":o,d=a.paddingY,u=void 0===d?"10px":d,h=a.marginTop,f=void 0===h?"0px":h,p=e(null),m=c(t(""),2),v=m[0],x=m[1];return r("section",{ref:p,className:"max-w-3xl mx-auto min-h-screen px-4",style:{marginTop:f},children:[n("svg",{xmlns:"http://www.w3.org/2000/svg",children:n("defs",{children:r("filter",{id:"goo",children:[n("feGaussianBlur",{in:"sourceGraphic",stdDeviation:"10",result:"blur"}),n("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8",result:"goo"}),n("feBlend",{in:"sourceGraphic",in2:"goo"})]})})}),r("div",{className:"relative w-min mx-auto",children:[n("div",{className:"absolute top-0 left-0 w-full h-full",children:r("div",{className:"relative",children:[n("div",{className:"apply_goo_effect flex bg-gray-400",style:{padding:"".concat(0," 0")},children:l.map(function(e){var t=e.text;return r("div",{className:"relative text-gray-800",children:[n("div",{className:"",style:{padding:"".concat(u," ").concat(s)},children:t}),n("div",{className:"bg-gray-800 text-transparent absolute left-0 h-full w-full",style:{padding:"0px ".concat(s),top:v===t?"-170%":"0px",transition:"1s ease-in-out"},children:t})]})})}),n("div",{className:"flex absolute left-0 h-full",style:{top:"-170%"},children:l.map(function(e){var t=e.text;return r("div",{className:"relative text-white",children:[n("div",{className:"opacity-0",style:{padding:"".concat(u," ").concat(s)},children:t}),n("div",{className:"absolute top-0 left-0 w-full h-full text-center content-center",style:{opacity:v===t?1:0,transition:"1.5s ease-in-out"},children:t})]})})})]})}),n("div",{className:"flex",style:{padding:"".concat(u," 0")},onMouseOver:function(e){var t=e.target.getAttribute("data-nav-item"),a=p.current;t&&a&&x(t)},onMouseOut:function(){x("")},children:l.map(function(e){var t=e.iconPath,a=e.text,l=e.url;return r("div",{className:"w-full relative",children:[n("div",{className:"opacity-0",style:{padding:"".concat(u," ").concat(s)},children:a}),n("div",{className:"absolute left-0 h-full w-full text-center content-center cursor-default",style:{top:"-".concat(u)},children:g(t)}),n(i,{to:l,"data-nav-item":a,className:"absolute top-0 left-0 w-full h-full opacity-0",children:a})]})})})]})]})}var b=function(e){return n("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",className:"w-5 h-5 stroke-1",style:{stroke:"#99a1af"},children:n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:e})})},w=0;function k(e){var l=e.navItems,o=e.fontSize,s=void 0===o?"18px":o,d=e.padding,u=void 0===d?"6px 24px":d,h=c(t(null),2),f=h[0],p=h[1],m=c(t(!1),2),v=m[0],x=m[1];function g(e){var t=e.target.getAttribute("data-nav-item");clearTimeout(w),x(!1),t?(p(t),w=setTimeout(function(){x(!0)},200)):p(null)}return a(function(){return window.addEventListener("mouseover",g),function(){return window.removeEventListener("mouseover",g)}},[]),n("div",{className:"flex w-min mx-auto rounded-md bg-white [box-shadow:0px_0px_8px_0.1px_gray] text-gray-500 dark:bg-gray-800 dark:text-gray-400",children:l.map(function(e,t){var a=e.iconPath,o=e.text,c=e.url;return r("div",{className:"relative",style:{fontSize:s},children:[n("div",{className:"absolute w-full h-full inset-0 text-black dark:text-white text-center content-center blur-sm",children:"O"}),n("div",{className:"border border-gray-500 bg-gray-800 text-gray-400 dark:bg-gray-50 dark:text-gray-600 absolute left-[50%] translate-x-[-50%]",style:{padding:u,top:f===o?"-150%":"0%",transition:f===o&&v?"0.6s ease-in-out":f===o?"0.4s ease":"0.2s ease-in-out",scale:f===o&&v?"1 1":"0.07 0.17",filter:f===o&&v?"blur(0)":"blur(5px)",borderRadius:f===o&&v?"4px":"2rem"},children:o}),n("div",{className:"".concat(f===o?"bg-gray-800 dark:bg-gray-50":"bg-gray-50 dark:bg-gray-800"),style:{padding:u,transition:"0.6s",borderRadius:0===t?"6px 0 0 6px":t===l.length-1?"0 6px 6px 0":"0px",scale:f===o?"1 1":"0.9 0.9",boxShadow:"0 0 4px 0.2px #a9a9a910 inset"},children:b(a)}),n(i,{to:c,"data-nav-item":o,className:"cursor-default absolute w-full h-full inset-0 text-center content-center text-transparent",style:{padding:u},children:o})]})})})}var N=0;function M(l){var i=l.btnIconPathD,o=void 0===i?"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z":i,u=l.fontSize,h=void 0===u?"text-lg":u,f=l.fontWeight,p=void 0===f?"font-normal":f,m=l.manuallyStartAnimation,v=l.placeHolder,x=void 0===v?"":v,g=l.setData,y=l.height,b=void 0===y?"40px":y,w=l.theme,k=void 0===w?"light":w,M=l.wave,S=void 0===M?{amplitude:4,cycles:10,numOfParticles:800,particleSize:.6,smokeEffect:!1}:M,L=l.onClick,C=l.onChange,z=l.onFocus,B=l.onBlur,E=l.onKeyUp,I=l.onKeyDown,P=e(null),A=e(null),R=e(null),T=e(null),j=c(t(!1),2),O=j[0],_=j[1],D=c(t(!0),2),U=D[0],G=D[1],H=c(t(!1),2),W=H[0],X=H[1];function F(){var e=R.current;e&&e.replaceChildren("")}function Y(e,t){var a=document.getElementById("caret");if(G(!1),a){e.removeChild(a);var n=e.children[t];n?e.insertBefore(a,n):e.appendChild(a)}else{var r=document.createElement("span");r.className="h-[75%] border border-black dark:border-white animate-pulse",r.id="caret";var l=e.children[t];l?e.insertBefore(r,l):e.appendChild(r)}}var K=function(){var e=[],t=P.current,a=A.current,n=T.current;if(t&&a&&n){var r=t.getContext("2d");if(r){var l=a.getBoundingClientRect(),i=n.getBoundingClientRect();t.width=W?l.width:i.width,t.height=i.height;for(var o=S.amplitude,c=S.cycles,d=S.numOfParticles,u=S.particleSize,h=S.smokeEffect,f=0;f<d;f++){var p=Math.sin(f/d*Math.PI*c)*o;e.push({potential:1,opacity:1,del:1-f/d,x:f/d*l.width,y:l.height/2,size:u,velX:Math.abs(1.5*(Math.random()-.5)),velY:.15*(Math.random()-p),acc:0})}var m=a.children;if(m){var v=m.length,x=function(){r.clearRect(0,0,t.width,t.height);var n,l=0,i=s(m);try{for(i.s();!(n=i.n()).done;){var o=n.value;l+=.9,v-=.01,o.style.opacity="".concat(v-l)}}catch(e){i.e(e)}finally{i.f()}if(e.forEach(function(e){e.del>0?e.del-=.01:(e.x+=e.velX,e.y+=e.velY,e.opacity-=.02,e.potential-=.01),r.fillStyle="light"===k?"rgba(255, 255, 255, ".concat(1-Math.abs(e.opacity),")"):"rgba(0, 0, 0, ".concat(1-Math.abs(e.opacity),")"),r.beginPath(),r.arc(e.x,e.y,h?Math.abs(e.size*e.opacity*30):u,0,2*Math.PI),r.fill()}),e.some(function(e){return e.potential>0})||v>0)requestAnimationFrame(x);else{var c=T.current;if(!c)return;c.value="",a.innerHTML="",c.blur(),_(!1)}};x()}}}};function q(){var e,t=document.getElementById("caret");null==t||t.remove(),0===(null===(e=A.current)||void 0===e?void 0:e.children.length)&&G(!0)}return a(function(){var e=P.current,t=A.current;if(e&&(t&&e.getContext("2d"))){var a=t.getBoundingClientRect();e.width=a.width,e.height=a.height}},[]),a(function(){return function(){var e=R.current;if(e){var t,a=s(x);try{for(a.s();!(t=a.n()).done;){var n=t.value,r=document.createElement("span");r.textContent=n,r.style.color="dark"===k?"#d4d4d4":"#404040",e.appendChild(r)}}catch(e){a.e(e)}finally{a.f()}}}(),F},[k]),a(function(){if(m){var e=document.getElementById("caret");if(!e)return;_(!0),K(),e.remove()}},[m]),r("div",{className:"border border-neutral-100 dark:border-neutral-800 w-full flex text-neutral-600 dark:text-neutral-100 rounded-sm overflow-hidden pl-1",children:[r("div",{className:"relative w-full",style:{height:b},children:[n("canvas",{ref:P,className:"absolute top-0 ".concat(W?"right-0":"left-0")}),n("div",{id:"boxRef","data-set":"box",ref:A,className:"".concat(h," ").concat(p," absolute top-0 ").concat(W?"right-0":"left-0"," flex items-center h-full overflow-hidden pr-5 content-center ").concat(U?"opacity-0":"opacity-100")}),n("div",{id:"placeHolderRef","data-set":"placeholder",ref:R,className:"".concat(h," ").concat(p," absolute top-0 h-full w-full content-center ").concat(U?"opacity-100":"opacity-0")}),n("input",{ref:T,type:"text",placeholder:"User Name",className:"".concat(h," ").concat(p," absolute top-0 left-0 h-full w-full opacity-0"),onChange:function(e){!function(e){var t=A.current,a=T.current;if(t&&a){var n=e.nativeEvent,r=n.data,l=n.inputType;g(e.target.value),t.getBoundingClientRect().width>=a.getBoundingClientRect().width?X(!0):X(!1),"insertFromPaste"===l&&r&&d(r).forEach(function(e){var a=document.createElement("span");a.textContent=e,t.appendChild(a)})}}(e),C&&C(e)},onKeyDown:function(e){!function(e){var t=A.current,a=document.getElementById("caret");if(t&&a){var n=e.key;if("Enter"===n)_(!0),K(),a.remove();else if("ArrowLeft"===n){var r=a.previousSibling;t.insertBefore(a,r)}else if("ArrowRight"===n){var l=a.nextSibling;if(!l)return;t.insertBefore(l,a)}else if("Backspace"===n){var i=a.previousSibling;i&&t.removeChild(i)}else if("Delete"===n){var o=a.nextSibling;o&&t.removeChild(o)}else if("Tab"===n)t.removeChild(a);else if(" "===n){var s=document.createElement("span");s.textContent=" ",s.className="w-1 inline-block",t.insertBefore(s,document.getElementById("caret"))}else{if(1!==n.length)throw Error("not printable key");var c=document.createElement("span");c.textContent=n,t.insertBefore(c,document.getElementById("caret"))}}}(e),I&&I(e)},onKeyUp:function(e){E&&E(e)},onFocus:function(e){N=setTimeout(function(){var e;Y(A.current,(null===(e=A.current)||void 0===e?void 0:e.children.length)||0)},600),z&&z(e)},onClick:function(e){!function(e){var t=e.currentTarget.selectionStart;clearTimeout(N),Y(A.current,t||0)}(e),L&&L(e)},onBlur:function(e){q(),B&&B(e)}})]}),r("button",{className:"relative p-2 bg-neutral-800 text-neutral-600 hover:text-neutral-400 cursor-pointer transition duration-300",onClick:function(){var e;null!==(e=T.current)&&void 0!==e&&e.value&&(_(!0),K())},children:[n("div",{className:"absolute top-0 left-0 inset-0 text-center content-center text-white blur-sm",children:"O"}),r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"size-4 ".concat(O&&"animate-pulse"),children:[n("path",{className:"animate-spin origin-center text-neutral-200",strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99",style:{opacity:O?1:0,transition:"0.5s ease-in-out"}}),n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:o,style:{opacity:O?0:1,transition:"0.5s ease-in-out"}})]})]})]})}var S=0,L=0;function C(a){var i,o=a.placeHolder,s=void 0===o?"":o,d=c(t(s),2),u=d[0],h=d[1],f=c(t(""),2),p=f[0],m=f[1],v=c(t(!1),2),x=v[0],g=v[1],y=c(t(!1),2),b=y[0],w=y[1],k=e(null),N=e(null);function M(){s&&u===s||(x||g(!0),setTimeout(function(){clearInterval(L),g(!1),console.log("khatam....");var e=N.current;e&&(e.value="",h(""))},u.length/11*1e3+1500),L=setInterval(function(){console.log("chal raha..."),m(function(e){var t=e.split("");return t.pop(),t.join("")})},(u.length/11*1e3+1500)/u.length))}return r(l,{children:[r("div",{className:"border border-neutral-200 dark:border-neutral-200/30 ".concat(u===s&&s?"text-neutral-400/50":"text-neutral-600 dark:text-neutral-300"," focus-within:[box-shadow:0px_0px_8px_0.1px_#d4d4d490_inset] flex justify-between items-center rounded-full px-1.25 py-1 transition-shadow duration-300 ease-in-out"),children:[r("div",{className:"relative w-[calc(100%-41px)] overflow-hidden",children:[n("input",{ref:N,disabled:x,type:"text",maxLength:160,className:"px-2 w-full max-w-full h-10 absolute text-transparent font-mono outline-none caret-gray-500",onChange:function(e){h(e.target.value),m(e.target.value),w(!0),clearTimeout(S),S=setTimeout(function(){w(!1)},500)},onKeyDown:function(e){"Enter"===e.key&&M()}}),n("div",{ref:k,className:"w-full pointer-events-none",children:n("div",{className:"h-10 flex justify-end",children:r("div",{className:"flex flex-col relative h-10 pl-2 mr-auto font-mono transition-transform duration-9000 ease-in",style:{animation:x&&!b?"slide ".concat(u.length/11,"s ").concat(((null===(i=k.current)||void 0===i?void 0:i.clientWidth)||10)<=120?"0.8s":"3.5s"," linear both"):"none"},children:[n("div",{className:"w-5 h-5 rounded-3xl absolute top-[50%] -right-5 translate-y-[-50%]"}),n("div",{className:"w-full h-[50%] flex",children:u.split("").map(function(e,t){return n("div",{className:"inline-block overflow-hidden h-full",style:{animation:x&&!b?"textUpperPart 1.5s ".concat(.09*(u.length-t),"s linear both"):"none"},children:n("div"," "===e?{className:"translate-y-[6.3px]",children:" "}:{className:"translate-y-[6.3px]",children:e})},t)})}),n("div",{className:"w-full h-[50%] flex",children:u.split("").map(function(e,t){return n("div",{className:"inline-block overflow-hidden h-full",style:{animation:x&&!b?"textLowerPart 1.5s ".concat(.09*(u.length-t),"s linear both"):"none"},children:n("div"," "===e?{className:"translate-y-[-13.7px]",children:" "}:{className:"translate-y-[-13.7px]",children:e})},t)})})]})})})]}),r("div",{className:"rounded-full w-10 h-10 overflow-hidden relative",children:[n("div",{className:"w-full h-full rounded-full",style:{background:"conic-gradient(at center, orange 0% ".concat(4*Math.floor(p.length/4)/160*100,"%, transparent ").concat(4*Math.floor(p.length/4)/160*100,"% 100%)")}}),n("div",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] w-[87%] h-[87%] bg-gray-100 dark:bg-gray-800 rounded-full"}),n("div",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] w-[50%] h-[50%] ".concat(!x&&!b&&160===u.length&&"bg-sky-400 dark:bg-sky-600"," ").concat(!x&&!b&&u.length<160&&"bg-neutral-900 dark:bg-neutral-500"," ").concat(b&&"bg-orange-500 animate-pulse"," ").concat(x&&!b&&"bg-orange-500 animate-ping"," transition-all duration-500 ease-in-out rounded-full")}),n("div",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] border-2 border-dashed border-white dark:border-neutral-900 w-full h-full rounded-full"}),n("button",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] w-[90%] h-[90%] rounded-full bg-gray-200/5 dark:bg-gray-50/5 text-neutral-800 backdrop-blur-[6px]",onClick:M,children:n("div",{className:"h-full w-full rounded-full flex justify-around items-center",children:[1,2,3].map(function(e,t){return n("div",{className:"w-1.5 h-1.5 rounded-full bg-neutral-800 dark:bg-neutral-100",style:{transform:x?"translate(0px, 3px)":"translate(0px, 0px)",opacity:x||b?1:0,transitionDuration:"0.3s",animation:x?"oscillateUpDown 1s ".concat(.3*t,"s linear infinite"):"dotPulseLoader 1s ".concat(.3*t,"s ease-in-out infinite")}})})})})]})]}),n("style",{children:"\n @keyframes dotPulseLoader {\n 0%{ transform:scale(0.9) }\n 50%{ transform:scale(1.4) }\n 100%{ transform:scale(0.9) }\n }\n @keyframes oscillateUpDown {\n 0%{ transform:translate(0px, 3px) }\n 50%{ transform:translate(0px, -3px) }\n 100%{ transform:translate(0px, 3px) }\n }\n @keyframes slide {\n 0%{ transform:translate(0px, 0px) }\n 100%{ transform:translate(100%, 0px) }\n }\n @keyframes textUpperPart {\n 0%{ transform:translate(0px, 0px) scale(1); filter:opacity(1); }\n 20%{ transform:translate(1px, -7px) scale(1.2); filter:opacity(1); }\n 40%{ transform:translate(2px, -14px) scale(1.5); filter:opacity(0.5); }\n 60%{ transform:translate(1px, -14px) scale(1.2); filter:opacity(0.3); }\n 80%{ transform:translate(0.5px, -7px) scale(1); filter:opacity(0.2); }\n 95%{ transform:translate(0px, -4px) scale(0.9); filter:opacity(0.2); }\n 100%{ transform:translate(0px, -4px) scale(0.9); filter:opacity(0); }\n }\n @keyframes textLowerPart {\n 0%{ transform:translate(0px, 0px) scale(1); filter:opacity(1); }\n 20%{ transform:translate(1px, 7px) scale(1.2); filter:opacity(1); }\n 40%{ transform:translate(2px, 14px) scale(1.5); filter:opacity(1); }\n 60%{ transform:translate(1px, 14px) scale(1.2); filter:opacity(0.5); }\n 80%{ transform:translate(0.5px, 7px) scale(1); filter:opacity(0.3); }\n 95%{ transform:translate(0px, 4px) scale(0.9); filter:opacity(0.3); }\n 100%{ transform:translate(0px, 4px) scale(0.9); filter:opacity(0); }\n }\n "})]})}export{m as DiaScrollerNavbar,x as FluidNavbar,y as GooeyNavbar,f as MeteorMash,M as ParticleVanishingInput,k as PopupNavabr,C as TextSlashInput};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("react/jsx-runtime");exports.MeteorMash=function(){return e.jsx("div",{className:"",children:"this is Staggered Text"})};
1
+ "use strict";var e=require("react"),t=require("react/jsx-runtime"),a=require("react-router-dom");function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function r(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=o(e))||t){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,s=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){s=!0,i=e},f:function(){try{l||null==a.return||a.return()}finally{if(s)throw i}}}}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,i,l,o=[],s=!0,c=!1;try{if(i=(a=a.call(e)).next,0===t);else for(;!(s=(n=i.call(a)).done)&&(o.push(n.value),o.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=a.return&&(l=a.return(),Object(l)!==l))return}finally{if(c)throw r}}return o}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return n(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}var s={light:"white",dark:"black"};var c=function(e,a){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"-10 -10 44 44","stroke-width":"1.5","data-nav-item":e,className:"stroke-1 stroke-neutral-400 mix-blend-difference w-full h-full",style:{transition:"1s ease-in-out"},children:t.jsx("path",{"data-nav-item":e,"stroke-linecap":"round","stroke-linejoin":"round",d:a})})};var d=function(e){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"-2.5 -2.5 30 30","stroke-width":"1.5",className:"stroke-1 stroke-gray-400 w-full h-full",style:{transition:"1s ease-in-out"},children:t.jsx("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:e})})};var u=function(e){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"-10 -10 44 44","stroke-width":"1.5",className:"stroke-1 stroke-gray-400 mix-blend-difference w-full h-full",style:{transition:"1s ease-in-out"},children:t.jsx("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:e})})};var h=function(e){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",className:"w-5 h-5 stroke-1",style:{stroke:"#99a1af"},children:t.jsx("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:e})})},f=0;var x=0;var p=0,m=0;exports.DiaScrollerNavbar=function(n){var r=n.navItems,l=n.fontSize,o=void 0===l?"18px":l,s=n.padding,d=void 0===s?"0px 0px":s,u=n.previewGap,h=void 0===u?"-48px":u,f=n.borderRadius,x=void 0===f?"0px":f,p=n.theme,m=i(e.useState({x:0,width:0,left:0}),2),v=m[0],g=m[1],y=i(e.useState(""),2),b=y[0],w=y[1],j=i(e.useState(!1),2),k=j[0],N=j[1],M=i(e.useState(0),2),S=M[0],L=M[1],C=e.useRef(null);return e.useEffect(function(){!function(){var e=C.current;if(e){var t=e.getBoundingClientRect().x;L(t)}}()},[]),t.jsx("div",{className:"text-neutral-500 bg-neutral-50 dark:text-neutral-400 dark:bg-neutral-900",style:{fontSize:o,boxShadow:"light"===p?"0px 0px 8px 0.1px #00000050":"0px 0px 8px 0.1px #ffffff50",borderRadius:x},children:t.jsxs("div",{ref:C,className:"relative w-min",onMouseOver:function(e){e.target.getAttribute("data-nav-item")&&N(!0)},onMouseMove:function(e){var t=e.target.getAttribute("data-nav-item");if(t){var a=e.target.getBoundingClientRect(),n=a.x,r=a.width,i=a.left;w(t),g({x:n,width:r,left:i})}},onMouseOut:function(e){e.target.getAttribute("data-nav-item")&&N(!1)},children:[t.jsx("div",{className:"rounded-sm absolute left-0 w-23 overflow-hidden transition-all ease-in-out duration-1000 border border-neutral-500",style:{translate:"".concat(v.x-S,"px"),width:v.width,opacity:k?1:0,top:h,borderRadius:x},children:t.jsx("div",{className:"w-max transition-all ease-in-out duration-1000 flex",style:{translate:"".concat(-v.x+S,"px")},children:r.map(function(e,a){var n=e.text;return t.jsx("div",{className:"transition-all ease duration-600 bg-neutral-800 text-neutral-200",style:{transform:b===n?"scale(1)":"scale(0.5)",filter:b===n?"blur(0)":"blur(7px)",padding:d,borderRadius:x},children:n},a)})})}),t.jsx("div",{style:{borderRadius:x},className:"flex overflow-hidden",children:r.map(function(e,n){var i=e.iconPath,l=e.text,o=e.url;return t.jsxs(a.NavLink,{to:o,className:"h-full cursor-pointer flex items-center relative transition-all ease-in-out duration-600 hover:bg-neutral-800 dark:hover:bg-neutral-800",style:{padding:d},children:[t.jsx("div",{className:"text-neutral-300 dark:text-neutral-600",children:l}),t.jsx("div",{className:"backdrop-blur-md absolute left-0 top-0 h-full w-full text-center content-center rounded-md transition-all ease-in-out duration-600",style:{scale:b===l?1:.9,borderRadius:0===n?"".concat(x," 0 0 ").concat(x):n===r.length-1?"0 ".concat(x," ").concat(x," 0"):"0"},children:c(l,i)}),t.jsx("div",{"data-nav-item":l,className:"backdrop-blur-md absolute left-0 top-0 h-full w-full text-center content-center opacity-0",children:"A"})]},n)})})]})})},exports.FluidNavbar=function(n){var r=n.blobCurvature,l=void 0===r?"2px":r,o=n.navItems,s=n.blobSize,c=void 0===s?"44px":s,u=n.blobY,h=void 0===u?"middle":u,f=n.blobTop,x=void 0===f?"-70px":f,p=i(e.useState({x:-8,y:0}),2),m=p[0],v=p[1],g=i(e.useState(""),2),y=g[0],b=g[1],w=i(e.useState(null),2),j=w[0],k=w[1],N=i(e.useState(0),2),M=N[0],S=N[1],L=e.useRef(null);return t.jsxs("div",{ref:L,className:"relative w-max mx-auto",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",children:t.jsx("defs",{children:t.jsxs("filter",{id:"goo",children:[t.jsx("feGaussianBlur",{in:"sourceGraphic",stdDeviation:"10",result:"blur"}),t.jsx("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8",result:"goo"}),t.jsx("feBlend",{in:"sourceGraphic",in2:"goo"})]})})}),t.jsxs("div",{className:"apply_goo_effect absolute left-0 w-full h-full",style:{top:x},children:[t.jsx("div",{className:"bg-gray-50 dark:bg-gray-900 flex gap-20",children:o.map(function(e){var a=e.text;return t.jsx("div",{className:"hover:bg-gray-900",children:t.jsx("div",{className:"opacity-0",children:a})},a)})}),t.jsx("div",{className:"border-10 border-gray-600 dark:border-gray-500 bg-gray-900 dark:bg-gray-100 w-15 absolute",style:{top:"top"===h?"-15px":"middle"===h?"-9px":"0px",left:m.x,height:c,width:"".concat(M+12,"px"),opacity:y?1:0,borderRadius:l,transition:"1s ease-in-out"}})]}),t.jsx("div",{className:"absolute left-0 w-full h-full",style:{top:x},children:t.jsx("div",{className:"flex gap-20 absolute top-0",children:o.map(function(e){var a=e.text;return t.jsx("div",{className:"",children:t.jsx("div",{className:"text-gray-50 dark:text-gray-900",children:a})},a)})})}),t.jsx("div",{className:"flex gap-20",onMouseOver:function(e){var t=e.target.getAttribute("data-nav-item"),a=L.current;if(t&&a){var n=e.target,r=a.getBoundingClientRect().x,i=n.getBoundingClientRect(),l=i.x,o=i.y,s=i.width;v({x:l-r-10,y:o}),S(s),b(t),m.x>l-r+20?k("right"):m.x<l-r-20?k("left"):k(null)}},onMouseOut:function(){return b("")},children:o.map(function(e){var n=e.iconPath,r=e.text,i=e.url;return t.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 overflow-hidden text-gray-500 hover:text-gray-300 dark:hover:text-gray-300 relative cursor-default transition-all duration-700 ease-in-out rounded-md hover:scale-115",children:[t.jsx("div",{className:"opacity-0",children:r}),t.jsx("div",{className:"bg-gray-800 dark:bg-gray-200 absolute inset-0",style:{transform:y===r&&"left"===j?"scaleX(1)":"scaleX(0)",transformOrigin:"left",transition:"0.5s ease-in-out"}}),t.jsx("div",{className:"bg-gray-800 dark:bg-gray-200 absolute inset-0",style:{transform:y===r&&"right"===j?"scaleX(1)":"scaleX(0)",transformOrigin:"right",transition:"0.5s ease-in-out"}}),t.jsx("div",{className:"bg-gray-800 dark:bg-gray-200 absolute inset-0",style:{transform:y===r&&null===j?"scaleY(1)":"scaleY(0)",transformOrigin:"bottom",transition:"0.5s ease-in-out"}}),t.jsx("div",{className:"absolute top-0 left-0 inset-0 text-center",children:d(n)}),t.jsx(a.NavLink,{to:i,"data-nav-item":r,className:"absolute top-0 left-0 inset-0 text-center opacity-0",children:r})]},r)})})]})},exports.GooeyNavbar=function(n){var r=n.navItems,l=n.paddingX,o=void 0===l?"32px":l,s=n.paddingY,c=void 0===s?"10px":s,d=n.marginTop,h=void 0===d?"0px":d,f=e.useRef(null),x=i(e.useState(""),2),p=x[0],m=x[1];return t.jsxs("section",{ref:f,className:"max-w-3xl mx-auto min-h-screen px-4",style:{marginTop:h},children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",children:t.jsx("defs",{children:t.jsxs("filter",{id:"goo",children:[t.jsx("feGaussianBlur",{in:"sourceGraphic",stdDeviation:"10",result:"blur"}),t.jsx("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8",result:"goo"}),t.jsx("feBlend",{in:"sourceGraphic",in2:"goo"})]})})}),t.jsxs("div",{className:"relative w-min mx-auto",children:[t.jsx("div",{className:"absolute top-0 left-0 w-full h-full",children:t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"apply_goo_effect flex bg-gray-400",style:{padding:"".concat(0," 0")},children:r.map(function(e){var a=e.text;return t.jsxs("div",{className:"relative text-gray-800",children:[t.jsx("div",{className:"",style:{padding:"".concat(c," ").concat(o)},children:a}),t.jsx("div",{className:"bg-gray-800 text-transparent absolute left-0 h-full w-full",style:{padding:"0px ".concat(o),top:p===a?"-170%":"0px",transition:"1s ease-in-out"},children:a})]})})}),t.jsx("div",{className:"flex absolute left-0 h-full",style:{top:"-170%"},children:r.map(function(e){var a=e.text;return t.jsxs("div",{className:"relative text-white",children:[t.jsx("div",{className:"opacity-0",style:{padding:"".concat(c," ").concat(o)},children:a}),t.jsx("div",{className:"absolute top-0 left-0 w-full h-full text-center content-center",style:{opacity:p===a?1:0,transition:"1.5s ease-in-out"},children:a})]})})})]})}),t.jsx("div",{className:"flex",style:{padding:"".concat(c," 0")},onMouseOver:function(e){var t=e.target.getAttribute("data-nav-item"),a=f.current;t&&a&&m(t)},onMouseOut:function(){m("")},children:r.map(function(e){var n=e.iconPath,r=e.text,i=e.url;return t.jsxs("div",{className:"w-full relative",children:[t.jsx("div",{className:"opacity-0",style:{padding:"".concat(c," ").concat(o)},children:r}),t.jsx("div",{className:"absolute left-0 h-full w-full text-center content-center cursor-default",style:{top:"-".concat(c)},children:u(n)}),t.jsx(a.NavLink,{to:i,"data-nav-item":r,className:"absolute top-0 left-0 w-full h-full opacity-0",children:r})]})})})]})]})},exports.MeteorMash=function(a){var n=a.numOfMeteors,l=void 0===n?7:n,o=a.trailLength,c=void 0===o?20:o,d=a.trailLengthShrinkable,u=void 0===d?60:d,h=a.trailThickness,f=void 0===h?3:h,x=a.meteorCoreSize,p=void 0===x?2.4:x,m=a.collisionDebriSize,v=void 0===m?2:m,g=a.theme,y=void 0===g?"light":g,b=a.bgColor,w=void 0===b?s:b,j=a.animateUntill,k=void 0===j||j,N=e.useRef(null),M=i(e.useState([]),2),S=M[0],L=M[1];return e.useEffect(function(){for(var e,t,a=[],n=(null===(e=N.current)||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.clientHeight)||400,r=(null===(t=N.current)||void 0===t||null===(t=t.parentElement)||void 0===t?void 0:t.clientWidth)||400,i=0;i<l;i++){var o=Math.floor(Math.random()*(r/2- -r+1))+-r,s=-(c+c+100*i);a.push({index:i,x1:o,y1:s,trailLength:c,trailLengthShrinkable:u,color:"red",dots:[{index:0,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:1,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:2,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:3,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:4,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:5,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:6,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:7,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:8,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:9,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:10,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2},{index:11,x:o+c+n+100*i,y:s+c+n+100*i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}]})}L(a)},[]),e.useEffect(function(){var e;if(k){var t=N.current;if(t){var a=t.getContext("2d");if(a&&(t.width=window.innerWidth,t.height=window.innerHeight,null!==(e=t.parentElement)&&void 0!==e&&e.clientHeight)){var n,i=t.parentElement.clientHeight,l=t.parentElement.clientWidth,o=function(){a.clearRect(0,0,t.width,t.height);var e,s=r(S);try{var d=function(){var t=e.value;if(t.x1+=2,t.y1+=2,t.trailLengthShrinkable>-20&&t.y1>=i/2){var n=Math.max(0,100*(t.y1+t.trailLength+t.trailLengthShrinkable-i/2)/i/4),o=t.trailLengthShrinkable*n/100;t.trailLengthShrinkable-=o,t.x1+=o,t.y1+=o}if(t.y1+t.trailLength+t.trailLengthShrinkable>=i){!function(){var e,n=0,i=r(t.dots);try{for(i.s();!(e=i.n()).done;){var l=e.value;n=(l.index/10*45+130)*(Math.PI/180),l.x-=Math.cos(n)*l.speed,l.y-=Math.sin(n)*l.speed,l.opacity*=.94,a.beginPath(),a.fillStyle="light"===y?"rgba(255, 106, 0,".concat(l.opacity,")"):"rgba(209, 213, 220,".concat(l.opacity,")"),a.arc(l.x+t.trailLength-t.trailLengthShrinkable+t.trailLengthShrinkable,l.y+t.trailLength-t.trailLengthShrinkable+t.trailLengthShrinkable,l.size,0,2*Math.PI,!1),a.fill()}}catch(e){i.e(e)}finally{i.f()}}()}if(t.y1>=i+150){var s=Math.floor(Math.random()*(l/2- -l+1))+-l,d=-(c+c);t.x1=s,t.y1=d,t.trailLength=c,t.trailLengthShrinkable=u,t.dots=[{index:0,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}],t.dots.push({index:1,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:2,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:3,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:4,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:5,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:6,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:7,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:8,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:9,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:10,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2}),t.dots.push({index:11,x:s+c+i,y:d+c+i,size:Math.random()*(v-.8)+.8,color:"",opacity:10,speed:Math.random()*(.8-.2)+.2})}a.beginPath();var h=a.createLinearGradient(t.x1,t.y1,t.x1+t.trailLength+t.trailLengthShrinkable,t.y1+t.trailLength+t.trailLengthShrinkable);h.addColorStop(0,"light"===y?"white":"black"),h.addColorStop(.2,"rgba(255,255,0,1)"),h.addColorStop(.5,"rgba(255,165,0,1)"),h.addColorStop(.8,"rgba(255,69,0,0.8)"),h.addColorStop(1,"oklch(74.6% 0.16 232.661)"),a.moveTo(t.x1,t.y1),a.lineTo(t.x1+t.trailLength+t.trailLengthShrinkable,t.y1+t.trailLength+t.trailLengthShrinkable),a.lineWidth=f,a.strokeStyle=h,a.stroke(),a.beginPath(),a.fillStyle="rgba(0, 191, 255, ".concat(1.01+Math.sin(2*Math.PI*1*(t.y1/100)),")"),a.arc(t.x1+t.trailLength+t.trailLengthShrinkable+1,t.y1+t.trailLength+t.trailLengthShrinkable+1,p,0,2*Math.PI,!1),a.fill(),a.beginPath(),a.fillStyle="rgba(255, 110, 70, ".concat(t.y1%2,")"),a.arc(t.x1+t.trailLength+t.trailLengthShrinkable+1,t.y1+t.trailLength+t.trailLengthShrinkable+1,p-.4,0,2*Math.PI,!1),a.fill()};for(s.s();!(e=s.n()).done;)d()}catch(e){s.e(e)}finally{s.f()}n=requestAnimationFrame(o)};return o(),function(){cancelAnimationFrame(n)}}}}else console.log("animateUntill is false")},[S,k]),t.jsx("div",{className:"relative w-full h-full overflow-hidden",children:t.jsx("canvas",{ref:N,className:"absolute top-0 left-0 bg-[".concat(w[y],"]")})})},exports.ParticleVanishingInput=function(a){var n=a.btnIconPathD,o=void 0===n?"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z":n,s=a.fontSize,c=void 0===s?"text-lg":s,d=a.fontWeight,u=void 0===d?"font-normal":d,h=a.manuallyStartAnimation,f=a.placeHolder,p=void 0===f?"":f,m=a.setData,v=a.height,g=void 0===v?"40px":v,y=a.theme,b=void 0===y?"light":y,w=a.wave,j=void 0===w?{amplitude:4,cycles:10,numOfParticles:800,particleSize:.6,smokeEffect:!1}:w,k=a.onClick,N=a.onChange,M=a.onFocus,S=a.onBlur,L=a.onKeyUp,C=a.onKeyDown,z=e.useRef(null),E=e.useRef(null),B=e.useRef(null),R=e.useRef(null),I=i(e.useState(!1),2),P=I[0],A=I[1],T=i(e.useState(!0),2),O=T[0],D=T[1],_=i(e.useState(!1),2),U=_[0],G=_[1];function F(){var e=B.current;e&&e.replaceChildren("")}function H(e,t){var a=document.getElementById("caret");if(D(!1),a){e.removeChild(a);var n=e.children[t];n?e.insertBefore(a,n):e.appendChild(a)}else{var r=document.createElement("span");r.className="h-[75%] border border-black dark:border-white animate-pulse",r.id="caret";var i=e.children[t];i?e.insertBefore(r,i):e.appendChild(r)}}var W=function(){var e=[],t=z.current,a=E.current,n=R.current;if(t&&a&&n){var i=t.getContext("2d");if(i){var l=a.getBoundingClientRect(),o=n.getBoundingClientRect();t.width=U?l.width:o.width,t.height=o.height;for(var s=j.amplitude,c=j.cycles,d=j.numOfParticles,u=j.particleSize,h=j.smokeEffect,f=0;f<d;f++){var x=Math.sin(f/d*Math.PI*c)*s;e.push({potential:1,opacity:1,del:1-f/d,x:f/d*l.width,y:l.height/2,size:u,velX:Math.abs(1.5*(Math.random()-.5)),velY:.15*(Math.random()-x),acc:0})}var p=a.children;if(p){var m=p.length,v=function(){i.clearRect(0,0,t.width,t.height);var n,l=0,o=r(p);try{for(o.s();!(n=o.n()).done;){var s=n.value;l+=.9,m-=.01,s.style.opacity="".concat(m-l)}}catch(e){o.e(e)}finally{o.f()}if(e.forEach(function(e){e.del>0?e.del-=.01:(e.x+=e.velX,e.y+=e.velY,e.opacity-=.02,e.potential-=.01),i.fillStyle="light"===b?"rgba(255, 255, 255, ".concat(1-Math.abs(e.opacity),")"):"rgba(0, 0, 0, ".concat(1-Math.abs(e.opacity),")"),i.beginPath(),i.arc(e.x,e.y,h?Math.abs(e.size*e.opacity*30):u,0,2*Math.PI),i.fill()}),e.some(function(e){return e.potential>0})||m>0)requestAnimationFrame(v);else{var c=R.current;if(!c)return;c.value="",a.innerHTML="",c.blur(),A(!1)}};v()}}}};function X(){var e,t=document.getElementById("caret");null==t||t.remove(),0===(null===(e=E.current)||void 0===e?void 0:e.children.length)&&D(!0)}return e.useEffect(function(){var e=z.current,t=E.current;if(e&&(t&&e.getContext("2d"))){var a=t.getBoundingClientRect();e.width=a.width,e.height=a.height}},[]),e.useEffect(function(){return function(){var e=B.current;if(e){var t,a=r(p);try{for(a.s();!(t=a.n()).done;){var n=t.value,i=document.createElement("span");i.textContent=n,i.style.color="dark"===b?"#d4d4d4":"#404040",e.appendChild(i)}}catch(e){a.e(e)}finally{a.f()}}}(),F},[b]),e.useEffect(function(){if(h){var e=document.getElementById("caret");if(!e)return;A(!0),W(),e.remove()}},[h]),t.jsxs("div",{className:"border border-neutral-100 dark:border-neutral-800 w-full flex text-neutral-600 dark:text-neutral-100 rounded-sm overflow-hidden pl-1",children:[t.jsxs("div",{className:"relative w-full",style:{height:g},children:[t.jsx("canvas",{ref:z,className:"absolute top-0 ".concat(U?"right-0":"left-0")}),t.jsx("div",{id:"boxRef","data-set":"box",ref:E,className:"".concat(c," ").concat(u," absolute top-0 ").concat(U?"right-0":"left-0"," flex items-center h-full overflow-hidden pr-5 content-center ").concat(O?"opacity-0":"opacity-100")}),t.jsx("div",{id:"placeHolderRef","data-set":"placeholder",ref:B,className:"".concat(c," ").concat(u," absolute top-0 h-full w-full content-center ").concat(O?"opacity-100":"opacity-0")}),t.jsx("input",{ref:R,type:"text",placeholder:"User Name",className:"".concat(c," ").concat(u," absolute top-0 left-0 h-full w-full opacity-0"),onChange:function(e){!function(e){var t=E.current,a=R.current;if(t&&a){var n=e.nativeEvent,r=n.data,i=n.inputType;m(e.target.value),t.getBoundingClientRect().width>=a.getBoundingClientRect().width?G(!0):G(!1),"insertFromPaste"===i&&r&&l(r).forEach(function(e){var a=document.createElement("span");a.textContent=e,t.appendChild(a)})}}(e),N&&N(e)},onKeyDown:function(e){!function(e){var t=E.current,a=document.getElementById("caret");if(t&&a){var n=e.key;if("Enter"===n)A(!0),W(),a.remove();else if("ArrowLeft"===n){var r=a.previousSibling;t.insertBefore(a,r)}else if("ArrowRight"===n){var i=a.nextSibling;if(!i)return;t.insertBefore(i,a)}else if("Backspace"===n){var l=a.previousSibling;l&&t.removeChild(l)}else if("Delete"===n){var o=a.nextSibling;o&&t.removeChild(o)}else if("Tab"===n)t.removeChild(a);else if(" "===n){var s=document.createElement("span");s.textContent=" ",s.className="w-1 inline-block",t.insertBefore(s,document.getElementById("caret"))}else{if(1!==n.length)throw Error("not printable key");var c=document.createElement("span");c.textContent=n,t.insertBefore(c,document.getElementById("caret"))}}}(e),C&&C(e)},onKeyUp:function(e){L&&L(e)},onFocus:function(e){x=setTimeout(function(){var e;H(E.current,(null===(e=E.current)||void 0===e?void 0:e.children.length)||0)},600),M&&M(e)},onClick:function(e){!function(e){var t=e.currentTarget.selectionStart;clearTimeout(x),H(E.current,t||0)}(e),k&&k(e)},onBlur:function(e){X(),S&&S(e)}})]}),t.jsxs("button",{className:"relative p-2 bg-neutral-800 text-neutral-600 hover:text-neutral-400 cursor-pointer transition duration-300",onClick:function(){var e;null!==(e=R.current)&&void 0!==e&&e.value&&(A(!0),W())},children:[t.jsx("div",{className:"absolute top-0 left-0 inset-0 text-center content-center text-white blur-sm",children:"O"}),t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"size-4 ".concat(P&&"animate-pulse"),children:[t.jsx("path",{className:"animate-spin origin-center text-neutral-200",strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99",style:{opacity:P?1:0,transition:"0.5s ease-in-out"}}),t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:o,style:{opacity:P?0:1,transition:"0.5s ease-in-out"}})]})]})]})},exports.PopupNavabr=function(n){var r=n.navItems,l=n.fontSize,o=void 0===l?"18px":l,s=n.padding,c=void 0===s?"6px 24px":s,d=i(e.useState(null),2),u=d[0],x=d[1],p=i(e.useState(!1),2),m=p[0],v=p[1];function g(e){var t=e.target.getAttribute("data-nav-item");clearTimeout(f),v(!1),t?(x(t),f=setTimeout(function(){v(!0)},200)):x(null)}return e.useEffect(function(){return window.addEventListener("mouseover",g),function(){return window.removeEventListener("mouseover",g)}},[]),t.jsx("div",{className:"flex w-min mx-auto rounded-md bg-white [box-shadow:0px_0px_8px_0.1px_gray] text-gray-500 dark:bg-gray-800 dark:text-gray-400",children:r.map(function(e,n){var i=e.iconPath,l=e.text,s=e.url;return t.jsxs("div",{className:"relative",style:{fontSize:o},children:[t.jsx("div",{className:"absolute w-full h-full inset-0 text-black dark:text-white text-center content-center blur-sm",children:"O"}),t.jsx("div",{className:"border border-gray-500 bg-gray-800 text-gray-400 dark:bg-gray-50 dark:text-gray-600 absolute left-[50%] translate-x-[-50%]",style:{padding:c,top:u===l?"-150%":"0%",transition:u===l&&m?"0.6s ease-in-out":u===l?"0.4s ease":"0.2s ease-in-out",scale:u===l&&m?"1 1":"0.07 0.17",filter:u===l&&m?"blur(0)":"blur(5px)",borderRadius:u===l&&m?"4px":"2rem"},children:l}),t.jsx("div",{className:"".concat(u===l?"bg-gray-800 dark:bg-gray-50":"bg-gray-50 dark:bg-gray-800"),style:{padding:c,transition:"0.6s",borderRadius:0===n?"6px 0 0 6px":n===r.length-1?"0 6px 6px 0":"0px",scale:u===l?"1 1":"0.9 0.9",boxShadow:"0 0 4px 0.2px #a9a9a910 inset"},children:h(i)}),t.jsx(a.NavLink,{to:s,"data-nav-item":l,className:"cursor-default absolute w-full h-full inset-0 text-center content-center text-transparent",style:{padding:c},children:l})]})})})},exports.TextSlashInput=function(a){var n,r=a.placeHolder,l=void 0===r?"":r,o=i(e.useState(l),2),s=o[0],c=o[1],d=i(e.useState(""),2),u=d[0],h=d[1],f=i(e.useState(!1),2),x=f[0],v=f[1],g=i(e.useState(!1),2),y=g[0],b=g[1],w=e.useRef(null),j=e.useRef(null);function k(){l&&s===l||(x||v(!0),setTimeout(function(){clearInterval(m),v(!1),console.log("khatam....");var e=j.current;e&&(e.value="",c(""))},s.length/11*1e3+1500),m=setInterval(function(){console.log("chal raha..."),h(function(e){var t=e.split("");return t.pop(),t.join("")})},(s.length/11*1e3+1500)/s.length))}return t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"border border-neutral-200 dark:border-neutral-200/30 ".concat(s===l&&l?"text-neutral-400/50":"text-neutral-600 dark:text-neutral-300"," focus-within:[box-shadow:0px_0px_8px_0.1px_#d4d4d490_inset] flex justify-between items-center rounded-full px-1.25 py-1 transition-shadow duration-300 ease-in-out"),children:[t.jsxs("div",{className:"relative w-[calc(100%-41px)] overflow-hidden",children:[t.jsx("input",{ref:j,disabled:x,type:"text",maxLength:160,className:"px-2 w-full max-w-full h-10 absolute text-transparent font-mono outline-none caret-gray-500",onChange:function(e){c(e.target.value),h(e.target.value),b(!0),clearTimeout(p),p=setTimeout(function(){b(!1)},500)},onKeyDown:function(e){"Enter"===e.key&&k()}}),t.jsx("div",{ref:w,className:"w-full pointer-events-none",children:t.jsx("div",{className:"h-10 flex justify-end",children:t.jsxs("div",{className:"flex flex-col relative h-10 pl-2 mr-auto font-mono transition-transform duration-9000 ease-in",style:{animation:x&&!y?"slide ".concat(s.length/11,"s ").concat(((null===(n=w.current)||void 0===n?void 0:n.clientWidth)||10)<=120?"0.8s":"3.5s"," linear both"):"none"},children:[t.jsx("div",{className:"w-5 h-5 rounded-3xl absolute top-[50%] -right-5 translate-y-[-50%]"}),t.jsx("div",{className:"w-full h-[50%] flex",children:s.split("").map(function(e,a){return t.jsx("div",{className:"inline-block overflow-hidden h-full",style:{animation:x&&!y?"textUpperPart 1.5s ".concat(.09*(s.length-a),"s linear both"):"none"},children:" "===e?t.jsx("div",{className:"translate-y-[6.3px]",children:" "}):t.jsx("div",{className:"translate-y-[6.3px]",children:e})},a)})}),t.jsx("div",{className:"w-full h-[50%] flex",children:s.split("").map(function(e,a){return t.jsx("div",{className:"inline-block overflow-hidden h-full",style:{animation:x&&!y?"textLowerPart 1.5s ".concat(.09*(s.length-a),"s linear both"):"none"},children:" "===e?t.jsx("div",{className:"translate-y-[-13.7px]",children:" "}):t.jsx("div",{className:"translate-y-[-13.7px]",children:e})},a)})})]})})})]}),t.jsxs("div",{className:"rounded-full w-10 h-10 overflow-hidden relative",children:[t.jsx("div",{className:"w-full h-full rounded-full",style:{background:"conic-gradient(at center, orange 0% ".concat(4*Math.floor(u.length/4)/160*100,"%, transparent ").concat(4*Math.floor(u.length/4)/160*100,"% 100%)")}}),t.jsx("div",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] w-[87%] h-[87%] bg-gray-100 dark:bg-gray-800 rounded-full"}),t.jsx("div",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] w-[50%] h-[50%] ".concat(!x&&!y&&160===s.length&&"bg-sky-400 dark:bg-sky-600"," ").concat(!x&&!y&&s.length<160&&"bg-neutral-900 dark:bg-neutral-500"," ").concat(y&&"bg-orange-500 animate-pulse"," ").concat(x&&!y&&"bg-orange-500 animate-ping"," transition-all duration-500 ease-in-out rounded-full")}),t.jsx("div",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] border-2 border-dashed border-white dark:border-neutral-900 w-full h-full rounded-full"}),t.jsx("button",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] w-[90%] h-[90%] rounded-full bg-gray-200/5 dark:bg-gray-50/5 text-neutral-800 backdrop-blur-[6px]",onClick:k,children:t.jsx("div",{className:"h-full w-full rounded-full flex justify-around items-center",children:[1,2,3].map(function(e,a){return t.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-neutral-800 dark:bg-neutral-100",style:{transform:x?"translate(0px, 3px)":"translate(0px, 0px)",opacity:x||y?1:0,transitionDuration:"0.3s",animation:x?"oscillateUpDown 1s ".concat(.3*a,"s linear infinite"):"dotPulseLoader 1s ".concat(.3*a,"s ease-in-out infinite")}})})})})]})]}),t.jsx("style",{children:"\n @keyframes dotPulseLoader {\n 0%{ transform:scale(0.9) }\n 50%{ transform:scale(1.4) }\n 100%{ transform:scale(0.9) }\n }\n @keyframes oscillateUpDown {\n 0%{ transform:translate(0px, 3px) }\n 50%{ transform:translate(0px, -3px) }\n 100%{ transform:translate(0px, 3px) }\n }\n @keyframes slide {\n 0%{ transform:translate(0px, 0px) }\n 100%{ transform:translate(100%, 0px) }\n }\n @keyframes textUpperPart {\n 0%{ transform:translate(0px, 0px) scale(1); filter:opacity(1); }\n 20%{ transform:translate(1px, -7px) scale(1.2); filter:opacity(1); }\n 40%{ transform:translate(2px, -14px) scale(1.5); filter:opacity(0.5); }\n 60%{ transform:translate(1px, -14px) scale(1.2); filter:opacity(0.3); }\n 80%{ transform:translate(0.5px, -7px) scale(1); filter:opacity(0.2); }\n 95%{ transform:translate(0px, -4px) scale(0.9); filter:opacity(0.2); }\n 100%{ transform:translate(0px, -4px) scale(0.9); filter:opacity(0); }\n }\n @keyframes textLowerPart {\n 0%{ transform:translate(0px, 0px) scale(1); filter:opacity(1); }\n 20%{ transform:translate(1px, 7px) scale(1.2); filter:opacity(1); }\n 40%{ transform:translate(2px, 14px) scale(1.5); filter:opacity(1); }\n 60%{ transform:translate(1px, 14px) scale(1.2); filter:opacity(0.5); }\n 80%{ transform:translate(0.5px, 7px) scale(1); filter:opacity(0.3); }\n 95%{ transform:translate(0px, 4px) scale(0.9); filter:opacity(0.3); }\n 100%{ transform:translate(0px, 4px) scale(0.9); filter:opacity(0); }\n }\n "})]})};
package/dist/styles.css CHANGED
@@ -1,4 +1,5 @@
1
1
  /*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
2
3
  @layer theme, base, components, utilities;
3
4
  @layer theme {
4
5
  :root, :host {
@@ -6,6 +7,59 @@
6
7
  "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
7
8
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
8
9
  "Courier New", monospace;
10
+ --color-orange-500: oklch(70.5% 0.213 47.604);
11
+ --color-sky-400: oklch(74.6% 0.16 232.661);
12
+ --color-sky-600: oklch(58.8% 0.158 241.966);
13
+ --color-gray-50: oklch(98.5% 0.002 247.839);
14
+ --color-gray-100: oklch(96.7% 0.003 264.542);
15
+ --color-gray-200: oklch(92.8% 0.006 264.531);
16
+ --color-gray-300: oklch(87.2% 0.01 258.338);
17
+ --color-gray-400: oklch(70.7% 0.022 261.325);
18
+ --color-gray-500: oklch(55.1% 0.027 264.364);
19
+ --color-gray-600: oklch(44.6% 0.03 256.802);
20
+ --color-gray-700: oklch(37.3% 0.034 259.733);
21
+ --color-gray-800: oklch(27.8% 0.033 256.848);
22
+ --color-gray-900: oklch(21% 0.034 264.665);
23
+ --color-neutral-50: oklch(98.5% 0 0);
24
+ --color-neutral-100: oklch(97% 0 0);
25
+ --color-neutral-200: oklch(92.2% 0 0);
26
+ --color-neutral-300: oklch(87% 0 0);
27
+ --color-neutral-400: oklch(70.8% 0 0);
28
+ --color-neutral-500: oklch(55.6% 0 0);
29
+ --color-neutral-600: oklch(43.9% 0 0);
30
+ --color-neutral-800: oklch(26.9% 0 0);
31
+ --color-neutral-900: oklch(20.5% 0 0);
32
+ --color-black: #000;
33
+ --color-white: #fff;
34
+ --spacing: 0.25rem;
35
+ --container-3xl: 48rem;
36
+ --text-xs: 0.75rem;
37
+ --text-xs--line-height: calc(1 / 0.75);
38
+ --text-sm: 0.875rem;
39
+ --text-sm--line-height: calc(1.25 / 0.875);
40
+ --text-lg: 1.125rem;
41
+ --text-lg--line-height: calc(1.75 / 1.125);
42
+ --text-xl: 1.25rem;
43
+ --text-xl--line-height: calc(1.75 / 1.25);
44
+ --text-2xl: 1.5rem;
45
+ --text-2xl--line-height: calc(2 / 1.5);
46
+ --font-weight-thin: 100;
47
+ --font-weight-normal: 400;
48
+ --font-weight-semibold: 600;
49
+ --font-weight-bold: 700;
50
+ --font-weight-extrabold: 800;
51
+ --radius-sm: 0.25rem;
52
+ --radius-md: 0.375rem;
53
+ --radius-3xl: 1.5rem;
54
+ --ease-in: cubic-bezier(0.4, 0, 1, 1);
55
+ --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
56
+ --animate-spin: spin 1s linear infinite;
57
+ --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
58
+ --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
59
+ --blur-sm: 8px;
60
+ --blur-md: 12px;
61
+ --default-transition-duration: 150ms;
62
+ --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
9
63
  --default-font-family: var(--font-sans);
10
64
  --default-mono-font-family: var(--font-mono);
11
65
  }
@@ -158,4 +212,868 @@
158
212
  display: none !important;
159
213
  }
160
214
  }
161
- @layer utilities;
215
+ @layer utilities {
216
+ .pointer-events-none {
217
+ pointer-events: none;
218
+ }
219
+ .absolute {
220
+ position: absolute;
221
+ }
222
+ .relative {
223
+ position: relative;
224
+ }
225
+ .inset-0 {
226
+ inset: 0;
227
+ }
228
+ .top-0 {
229
+ top: 0;
230
+ }
231
+ .top-\[50\%\] {
232
+ top: 50%;
233
+ }
234
+ .-right-5 {
235
+ right: calc(var(--spacing) * -5);
236
+ }
237
+ .right-0 {
238
+ right: 0;
239
+ }
240
+ .left-0 {
241
+ left: 0;
242
+ }
243
+ .left-\[50\%\] {
244
+ left: 50%;
245
+ }
246
+ .mx-auto {
247
+ margin-inline: auto;
248
+ }
249
+ .mr-auto {
250
+ margin-right: auto;
251
+ }
252
+ .flex {
253
+ display: flex;
254
+ }
255
+ .inline-block {
256
+ display: inline-block;
257
+ }
258
+ .size-4 {
259
+ width: calc(var(--spacing) * 4);
260
+ height: calc(var(--spacing) * 4);
261
+ }
262
+ .h-1\.5 {
263
+ height: calc(var(--spacing) * 1.5);
264
+ }
265
+ .h-5 {
266
+ height: calc(var(--spacing) * 5);
267
+ }
268
+ .h-10 {
269
+ height: calc(var(--spacing) * 10);
270
+ }
271
+ .h-\[50\%\] {
272
+ height: 50%;
273
+ }
274
+ .h-\[75\%\] {
275
+ height: 75%;
276
+ }
277
+ .h-\[87\%\] {
278
+ height: 87%;
279
+ }
280
+ .h-\[90\%\] {
281
+ height: 90%;
282
+ }
283
+ .h-full {
284
+ height: 100%;
285
+ }
286
+ .min-h-screen {
287
+ min-height: 100vh;
288
+ }
289
+ .w-1 {
290
+ width: var(--spacing);
291
+ }
292
+ .w-1\.5 {
293
+ width: calc(var(--spacing) * 1.5);
294
+ }
295
+ .w-5 {
296
+ width: calc(var(--spacing) * 5);
297
+ }
298
+ .w-10 {
299
+ width: calc(var(--spacing) * 10);
300
+ }
301
+ .w-15 {
302
+ width: calc(var(--spacing) * 15);
303
+ }
304
+ .w-23 {
305
+ width: calc(var(--spacing) * 23);
306
+ }
307
+ .w-\[50\%\] {
308
+ width: 50%;
309
+ }
310
+ .w-\[87\%\] {
311
+ width: 87%;
312
+ }
313
+ .w-\[90\%\] {
314
+ width: 90%;
315
+ }
316
+ .w-\[calc\(100\%-41px\)\] {
317
+ width: calc(100% - 41px);
318
+ }
319
+ .w-full {
320
+ width: 100%;
321
+ }
322
+ .w-max {
323
+ width: max-content;
324
+ }
325
+ .w-min {
326
+ width: min-content;
327
+ }
328
+ .max-w-3xl {
329
+ max-width: var(--container-3xl);
330
+ }
331
+ .max-w-full {
332
+ max-width: 100%;
333
+ }
334
+ .origin-center {
335
+ transform-origin: center;
336
+ }
337
+ .translate-x-\[-50\%\] {
338
+ --tw-translate-x: -50%;
339
+ translate: var(--tw-translate-x) var(--tw-translate-y);
340
+ }
341
+ .translate-y-\[-13\.7px\] {
342
+ --tw-translate-y: -13.7px;
343
+ translate: var(--tw-translate-x) var(--tw-translate-y);
344
+ }
345
+ .translate-y-\[-50\%\] {
346
+ --tw-translate-y: -50%;
347
+ translate: var(--tw-translate-x) var(--tw-translate-y);
348
+ }
349
+ .translate-y-\[6\.3px\] {
350
+ --tw-translate-y: 6.3px;
351
+ translate: var(--tw-translate-x) var(--tw-translate-y);
352
+ }
353
+ .animate-ping {
354
+ animation: var(--animate-ping);
355
+ }
356
+ .animate-pulse {
357
+ animation: var(--animate-pulse);
358
+ }
359
+ .animate-spin {
360
+ animation: var(--animate-spin);
361
+ }
362
+ .cursor-default {
363
+ cursor: default;
364
+ }
365
+ .cursor-pointer {
366
+ cursor: pointer;
367
+ }
368
+ .flex-col {
369
+ flex-direction: column;
370
+ }
371
+ .content-center {
372
+ align-content: center;
373
+ }
374
+ .items-center {
375
+ align-items: center;
376
+ }
377
+ .justify-around {
378
+ justify-content: space-around;
379
+ }
380
+ .justify-between {
381
+ justify-content: space-between;
382
+ }
383
+ .justify-end {
384
+ justify-content: flex-end;
385
+ }
386
+ .gap-20 {
387
+ gap: calc(var(--spacing) * 20);
388
+ }
389
+ .overflow-hidden {
390
+ overflow: hidden;
391
+ }
392
+ .rounded-3xl {
393
+ border-radius: var(--radius-3xl);
394
+ }
395
+ .rounded-full {
396
+ border-radius: calc(infinity * 1px);
397
+ }
398
+ .rounded-md {
399
+ border-radius: var(--radius-md);
400
+ }
401
+ .rounded-sm {
402
+ border-radius: var(--radius-sm);
403
+ }
404
+ .border {
405
+ border-style: var(--tw-border-style);
406
+ border-width: 1px;
407
+ }
408
+ .border-2 {
409
+ border-style: var(--tw-border-style);
410
+ border-width: 2px;
411
+ }
412
+ .border-10 {
413
+ border-style: var(--tw-border-style);
414
+ border-width: 10px;
415
+ }
416
+ .border-dashed {
417
+ --tw-border-style: dashed;
418
+ border-style: dashed;
419
+ }
420
+ .border-black {
421
+ border-color: var(--color-black);
422
+ }
423
+ .border-gray-200 {
424
+ border-color: var(--color-gray-200);
425
+ }
426
+ .border-gray-500 {
427
+ border-color: var(--color-gray-500);
428
+ }
429
+ .border-gray-600 {
430
+ border-color: var(--color-gray-600);
431
+ }
432
+ .border-neutral-100 {
433
+ border-color: var(--color-neutral-100);
434
+ }
435
+ .border-neutral-200 {
436
+ border-color: var(--color-neutral-200);
437
+ }
438
+ .border-neutral-500 {
439
+ border-color: var(--color-neutral-500);
440
+ }
441
+ .border-white {
442
+ border-color: var(--color-white);
443
+ }
444
+ .bg-\[\"\.concat\(N\[w\]\,\"\] {
445
+ background-color: ".concat(N[w],";
446
+ }
447
+ .bg-\[\"\.concat\(w\[y\]\,\"\] {
448
+ background-color: ".concat(w[y],";
449
+ }
450
+ .bg-gray-50 {
451
+ background-color: var(--color-gray-50);
452
+ }
453
+ .bg-gray-100 {
454
+ background-color: var(--color-gray-100);
455
+ }
456
+ .bg-gray-200\/5 {
457
+ background-color: color-mix(in srgb, oklch(92.8% 0.006 264.531) 5%, transparent);
458
+ @supports (color: color-mix(in lab, red, red)) {
459
+ background-color: color-mix(in oklab, var(--color-gray-200) 5%, transparent);
460
+ }
461
+ }
462
+ .bg-gray-400 {
463
+ background-color: var(--color-gray-400);
464
+ }
465
+ .bg-gray-800 {
466
+ background-color: var(--color-gray-800);
467
+ }
468
+ .bg-gray-900 {
469
+ background-color: var(--color-gray-900);
470
+ }
471
+ .bg-neutral-50 {
472
+ background-color: var(--color-neutral-50);
473
+ }
474
+ .bg-neutral-800 {
475
+ background-color: var(--color-neutral-800);
476
+ }
477
+ .bg-neutral-900 {
478
+ background-color: var(--color-neutral-900);
479
+ }
480
+ .bg-orange-500 {
481
+ background-color: var(--color-orange-500);
482
+ }
483
+ .bg-sky-400 {
484
+ background-color: var(--color-sky-400);
485
+ }
486
+ .bg-white {
487
+ background-color: var(--color-white);
488
+ }
489
+ .stroke-gray-400 {
490
+ stroke: var(--color-gray-400);
491
+ }
492
+ .stroke-neutral-400 {
493
+ stroke: var(--color-neutral-400);
494
+ }
495
+ .stroke-1 {
496
+ stroke-width: 1;
497
+ }
498
+ .p-2 {
499
+ padding: calc(var(--spacing) * 2);
500
+ }
501
+ .px-1\.25 {
502
+ padding-inline: calc(var(--spacing) * 1.25);
503
+ }
504
+ .px-2 {
505
+ padding-inline: calc(var(--spacing) * 2);
506
+ }
507
+ .px-4 {
508
+ padding-inline: calc(var(--spacing) * 4);
509
+ }
510
+ .py-1 {
511
+ padding-block: var(--spacing);
512
+ }
513
+ .pr-5 {
514
+ padding-right: calc(var(--spacing) * 5);
515
+ }
516
+ .pl-1 {
517
+ padding-left: var(--spacing);
518
+ }
519
+ .pl-2 {
520
+ padding-left: calc(var(--spacing) * 2);
521
+ }
522
+ .text-center {
523
+ text-align: center;
524
+ }
525
+ .font-mono {
526
+ font-family: var(--font-mono);
527
+ }
528
+ .text-2xl {
529
+ font-size: var(--text-2xl);
530
+ line-height: var(--tw-leading, var(--text-2xl--line-height));
531
+ }
532
+ .text-lg {
533
+ font-size: var(--text-lg);
534
+ line-height: var(--tw-leading, var(--text-lg--line-height));
535
+ }
536
+ .text-sm {
537
+ font-size: var(--text-sm);
538
+ line-height: var(--tw-leading, var(--text-sm--line-height));
539
+ }
540
+ .text-xl {
541
+ font-size: var(--text-xl);
542
+ line-height: var(--tw-leading, var(--text-xl--line-height));
543
+ }
544
+ .text-xs {
545
+ font-size: var(--text-xs);
546
+ line-height: var(--tw-leading, var(--text-xs--line-height));
547
+ }
548
+ .font-bold {
549
+ --tw-font-weight: var(--font-weight-bold);
550
+ font-weight: var(--font-weight-bold);
551
+ }
552
+ .font-extrabold {
553
+ --tw-font-weight: var(--font-weight-extrabold);
554
+ font-weight: var(--font-weight-extrabold);
555
+ }
556
+ .font-normal {
557
+ --tw-font-weight: var(--font-weight-normal);
558
+ font-weight: var(--font-weight-normal);
559
+ }
560
+ .font-semibold {
561
+ --tw-font-weight: var(--font-weight-semibold);
562
+ font-weight: var(--font-weight-semibold);
563
+ }
564
+ .font-thin {
565
+ --tw-font-weight: var(--font-weight-thin);
566
+ font-weight: var(--font-weight-thin);
567
+ }
568
+ .text-black {
569
+ color: var(--color-black);
570
+ }
571
+ .text-gray-50 {
572
+ color: var(--color-gray-50);
573
+ }
574
+ .text-gray-400 {
575
+ color: var(--color-gray-400);
576
+ }
577
+ .text-gray-500 {
578
+ color: var(--color-gray-500);
579
+ }
580
+ .text-gray-800 {
581
+ color: var(--color-gray-800);
582
+ }
583
+ .text-neutral-200 {
584
+ color: var(--color-neutral-200);
585
+ }
586
+ .text-neutral-300 {
587
+ color: var(--color-neutral-300);
588
+ }
589
+ .text-neutral-400\/50 {
590
+ color: color-mix(in srgb, oklch(70.8% 0 0) 50%, transparent);
591
+ @supports (color: color-mix(in lab, red, red)) {
592
+ color: color-mix(in oklab, var(--color-neutral-400) 50%, transparent);
593
+ }
594
+ }
595
+ .text-neutral-500 {
596
+ color: var(--color-neutral-500);
597
+ }
598
+ .text-neutral-600 {
599
+ color: var(--color-neutral-600);
600
+ }
601
+ .text-neutral-800 {
602
+ color: var(--color-neutral-800);
603
+ }
604
+ .text-transparent {
605
+ color: transparent;
606
+ }
607
+ .text-white {
608
+ color: var(--color-white);
609
+ }
610
+ .caret-gray-500 {
611
+ caret-color: var(--color-gray-500);
612
+ }
613
+ .opacity-0 {
614
+ opacity: 0%;
615
+ }
616
+ .opacity-100 {
617
+ opacity: 100%;
618
+ }
619
+ .mix-blend-difference {
620
+ mix-blend-mode: difference;
621
+ }
622
+ .\[box-shadow\:0px_0px_8px_0\.1px_gray\] {
623
+ box-shadow: 0px 0px 8px 0.1px gray;
624
+ }
625
+ .blur {
626
+ --tw-blur: blur(8px);
627
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
628
+ }
629
+ .blur-sm {
630
+ --tw-blur: blur(var(--blur-sm));
631
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
632
+ }
633
+ .filter {
634
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
635
+ }
636
+ .backdrop-blur-\[6px\] {
637
+ --tw-backdrop-blur: blur(6px);
638
+ -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
639
+ backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
640
+ }
641
+ .backdrop-blur-md {
642
+ --tw-backdrop-blur: blur(var(--blur-md));
643
+ -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
644
+ backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
645
+ }
646
+ .transition {
647
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
648
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
649
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
650
+ }
651
+ .transition-all {
652
+ transition-property: all;
653
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
654
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
655
+ }
656
+ .transition-shadow {
657
+ transition-property: box-shadow;
658
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
659
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
660
+ }
661
+ .transition-transform {
662
+ transition-property: transform, translate, scale, rotate;
663
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
664
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
665
+ }
666
+ .duration-300 {
667
+ --tw-duration: 300ms;
668
+ transition-duration: 300ms;
669
+ }
670
+ .duration-500 {
671
+ --tw-duration: 500ms;
672
+ transition-duration: 500ms;
673
+ }
674
+ .duration-600 {
675
+ --tw-duration: 600ms;
676
+ transition-duration: 600ms;
677
+ }
678
+ .duration-700 {
679
+ --tw-duration: 700ms;
680
+ transition-duration: 700ms;
681
+ }
682
+ .duration-1000 {
683
+ --tw-duration: 1000ms;
684
+ transition-duration: 1000ms;
685
+ }
686
+ .duration-9000 {
687
+ --tw-duration: 9000ms;
688
+ transition-duration: 9000ms;
689
+ }
690
+ .ease-in {
691
+ --tw-ease: var(--ease-in);
692
+ transition-timing-function: var(--ease-in);
693
+ }
694
+ .ease-in-out {
695
+ --tw-ease: var(--ease-in-out);
696
+ transition-timing-function: var(--ease-in-out);
697
+ }
698
+ .outline-none {
699
+ --tw-outline-style: none;
700
+ outline-style: none;
701
+ }
702
+ .focus-within\:\[box-shadow\:0px_0px_8px_0\.1px_\#d4d4d490_inset\] {
703
+ &:focus-within {
704
+ box-shadow: 0px 0px 8px 0.1px #d4d4d490 inset;
705
+ }
706
+ }
707
+ .hover\:scale-115 {
708
+ &:hover {
709
+ @media (hover: hover) {
710
+ --tw-scale-x: 115%;
711
+ --tw-scale-y: 115%;
712
+ --tw-scale-z: 115%;
713
+ scale: var(--tw-scale-x) var(--tw-scale-y);
714
+ }
715
+ }
716
+ }
717
+ .hover\:bg-gray-900 {
718
+ &:hover {
719
+ @media (hover: hover) {
720
+ background-color: var(--color-gray-900);
721
+ }
722
+ }
723
+ }
724
+ .hover\:bg-neutral-800 {
725
+ &:hover {
726
+ @media (hover: hover) {
727
+ background-color: var(--color-neutral-800);
728
+ }
729
+ }
730
+ }
731
+ .hover\:text-gray-300 {
732
+ &:hover {
733
+ @media (hover: hover) {
734
+ color: var(--color-gray-300);
735
+ }
736
+ }
737
+ }
738
+ .hover\:text-neutral-400 {
739
+ &:hover {
740
+ @media (hover: hover) {
741
+ color: var(--color-neutral-400);
742
+ }
743
+ }
744
+ }
745
+ .dark\:border-gray-500 {
746
+ @media (prefers-color-scheme: dark) {
747
+ border-color: var(--color-gray-500);
748
+ }
749
+ }
750
+ .dark\:border-gray-700 {
751
+ @media (prefers-color-scheme: dark) {
752
+ border-color: var(--color-gray-700);
753
+ }
754
+ }
755
+ .dark\:border-neutral-200\/30 {
756
+ @media (prefers-color-scheme: dark) {
757
+ border-color: color-mix(in srgb, oklch(92.2% 0 0) 30%, transparent);
758
+ @supports (color: color-mix(in lab, red, red)) {
759
+ border-color: color-mix(in oklab, var(--color-neutral-200) 30%, transparent);
760
+ }
761
+ }
762
+ }
763
+ .dark\:border-neutral-800 {
764
+ @media (prefers-color-scheme: dark) {
765
+ border-color: var(--color-neutral-800);
766
+ }
767
+ }
768
+ .dark\:border-neutral-900 {
769
+ @media (prefers-color-scheme: dark) {
770
+ border-color: var(--color-neutral-900);
771
+ }
772
+ }
773
+ .dark\:border-white {
774
+ @media (prefers-color-scheme: dark) {
775
+ border-color: var(--color-white);
776
+ }
777
+ }
778
+ .dark\:bg-gray-50 {
779
+ @media (prefers-color-scheme: dark) {
780
+ background-color: var(--color-gray-50);
781
+ }
782
+ }
783
+ .dark\:bg-gray-50\/5 {
784
+ @media (prefers-color-scheme: dark) {
785
+ background-color: color-mix(in srgb, oklch(98.5% 0.002 247.839) 5%, transparent);
786
+ @supports (color: color-mix(in lab, red, red)) {
787
+ background-color: color-mix(in oklab, var(--color-gray-50) 5%, transparent);
788
+ }
789
+ }
790
+ }
791
+ .dark\:bg-gray-100 {
792
+ @media (prefers-color-scheme: dark) {
793
+ background-color: var(--color-gray-100);
794
+ }
795
+ }
796
+ .dark\:bg-gray-200 {
797
+ @media (prefers-color-scheme: dark) {
798
+ background-color: var(--color-gray-200);
799
+ }
800
+ }
801
+ .dark\:bg-gray-800 {
802
+ @media (prefers-color-scheme: dark) {
803
+ background-color: var(--color-gray-800);
804
+ }
805
+ }
806
+ .dark\:bg-gray-900 {
807
+ @media (prefers-color-scheme: dark) {
808
+ background-color: var(--color-gray-900);
809
+ }
810
+ }
811
+ .dark\:bg-neutral-100 {
812
+ @media (prefers-color-scheme: dark) {
813
+ background-color: var(--color-neutral-100);
814
+ }
815
+ }
816
+ .dark\:bg-neutral-500 {
817
+ @media (prefers-color-scheme: dark) {
818
+ background-color: var(--color-neutral-500);
819
+ }
820
+ }
821
+ .dark\:bg-neutral-900 {
822
+ @media (prefers-color-scheme: dark) {
823
+ background-color: var(--color-neutral-900);
824
+ }
825
+ }
826
+ .dark\:bg-sky-600 {
827
+ @media (prefers-color-scheme: dark) {
828
+ background-color: var(--color-sky-600);
829
+ }
830
+ }
831
+ .dark\:text-gray-400 {
832
+ @media (prefers-color-scheme: dark) {
833
+ color: var(--color-gray-400);
834
+ }
835
+ }
836
+ .dark\:text-gray-600 {
837
+ @media (prefers-color-scheme: dark) {
838
+ color: var(--color-gray-600);
839
+ }
840
+ }
841
+ .dark\:text-gray-900 {
842
+ @media (prefers-color-scheme: dark) {
843
+ color: var(--color-gray-900);
844
+ }
845
+ }
846
+ .dark\:text-neutral-100 {
847
+ @media (prefers-color-scheme: dark) {
848
+ color: var(--color-neutral-100);
849
+ }
850
+ }
851
+ .dark\:text-neutral-300 {
852
+ @media (prefers-color-scheme: dark) {
853
+ color: var(--color-neutral-300);
854
+ }
855
+ }
856
+ .dark\:text-neutral-400 {
857
+ @media (prefers-color-scheme: dark) {
858
+ color: var(--color-neutral-400);
859
+ }
860
+ }
861
+ .dark\:text-neutral-600 {
862
+ @media (prefers-color-scheme: dark) {
863
+ color: var(--color-neutral-600);
864
+ }
865
+ }
866
+ .dark\:text-white {
867
+ @media (prefers-color-scheme: dark) {
868
+ color: var(--color-white);
869
+ }
870
+ }
871
+ .dark\:hover\:bg-neutral-800 {
872
+ @media (prefers-color-scheme: dark) {
873
+ &:hover {
874
+ @media (hover: hover) {
875
+ background-color: var(--color-neutral-800);
876
+ }
877
+ }
878
+ }
879
+ }
880
+ .dark\:hover\:text-gray-300 {
881
+ @media (prefers-color-scheme: dark) {
882
+ &:hover {
883
+ @media (hover: hover) {
884
+ color: var(--color-gray-300);
885
+ }
886
+ }
887
+ }
888
+ }
889
+ }
890
+ @property --tw-translate-x {
891
+ syntax: "*";
892
+ inherits: false;
893
+ initial-value: 0;
894
+ }
895
+ @property --tw-translate-y {
896
+ syntax: "*";
897
+ inherits: false;
898
+ initial-value: 0;
899
+ }
900
+ @property --tw-translate-z {
901
+ syntax: "*";
902
+ inherits: false;
903
+ initial-value: 0;
904
+ }
905
+ @property --tw-border-style {
906
+ syntax: "*";
907
+ inherits: false;
908
+ initial-value: solid;
909
+ }
910
+ @property --tw-font-weight {
911
+ syntax: "*";
912
+ inherits: false;
913
+ }
914
+ @property --tw-blur {
915
+ syntax: "*";
916
+ inherits: false;
917
+ }
918
+ @property --tw-brightness {
919
+ syntax: "*";
920
+ inherits: false;
921
+ }
922
+ @property --tw-contrast {
923
+ syntax: "*";
924
+ inherits: false;
925
+ }
926
+ @property --tw-grayscale {
927
+ syntax: "*";
928
+ inherits: false;
929
+ }
930
+ @property --tw-hue-rotate {
931
+ syntax: "*";
932
+ inherits: false;
933
+ }
934
+ @property --tw-invert {
935
+ syntax: "*";
936
+ inherits: false;
937
+ }
938
+ @property --tw-opacity {
939
+ syntax: "*";
940
+ inherits: false;
941
+ }
942
+ @property --tw-saturate {
943
+ syntax: "*";
944
+ inherits: false;
945
+ }
946
+ @property --tw-sepia {
947
+ syntax: "*";
948
+ inherits: false;
949
+ }
950
+ @property --tw-drop-shadow {
951
+ syntax: "*";
952
+ inherits: false;
953
+ }
954
+ @property --tw-drop-shadow-color {
955
+ syntax: "*";
956
+ inherits: false;
957
+ }
958
+ @property --tw-drop-shadow-alpha {
959
+ syntax: "<percentage>";
960
+ inherits: false;
961
+ initial-value: 100%;
962
+ }
963
+ @property --tw-drop-shadow-size {
964
+ syntax: "*";
965
+ inherits: false;
966
+ }
967
+ @property --tw-backdrop-blur {
968
+ syntax: "*";
969
+ inherits: false;
970
+ }
971
+ @property --tw-backdrop-brightness {
972
+ syntax: "*";
973
+ inherits: false;
974
+ }
975
+ @property --tw-backdrop-contrast {
976
+ syntax: "*";
977
+ inherits: false;
978
+ }
979
+ @property --tw-backdrop-grayscale {
980
+ syntax: "*";
981
+ inherits: false;
982
+ }
983
+ @property --tw-backdrop-hue-rotate {
984
+ syntax: "*";
985
+ inherits: false;
986
+ }
987
+ @property --tw-backdrop-invert {
988
+ syntax: "*";
989
+ inherits: false;
990
+ }
991
+ @property --tw-backdrop-opacity {
992
+ syntax: "*";
993
+ inherits: false;
994
+ }
995
+ @property --tw-backdrop-saturate {
996
+ syntax: "*";
997
+ inherits: false;
998
+ }
999
+ @property --tw-backdrop-sepia {
1000
+ syntax: "*";
1001
+ inherits: false;
1002
+ }
1003
+ @property --tw-duration {
1004
+ syntax: "*";
1005
+ inherits: false;
1006
+ }
1007
+ @property --tw-ease {
1008
+ syntax: "*";
1009
+ inherits: false;
1010
+ }
1011
+ @property --tw-scale-x {
1012
+ syntax: "*";
1013
+ inherits: false;
1014
+ initial-value: 1;
1015
+ }
1016
+ @property --tw-scale-y {
1017
+ syntax: "*";
1018
+ inherits: false;
1019
+ initial-value: 1;
1020
+ }
1021
+ @property --tw-scale-z {
1022
+ syntax: "*";
1023
+ inherits: false;
1024
+ initial-value: 1;
1025
+ }
1026
+ @keyframes spin {
1027
+ to {
1028
+ transform: rotate(360deg);
1029
+ }
1030
+ }
1031
+ @keyframes ping {
1032
+ 75%, 100% {
1033
+ transform: scale(2);
1034
+ opacity: 0;
1035
+ }
1036
+ }
1037
+ @keyframes pulse {
1038
+ 50% {
1039
+ opacity: 0.5;
1040
+ }
1041
+ }
1042
+ @layer properties {
1043
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1044
+ *, ::before, ::after, ::backdrop {
1045
+ --tw-translate-x: 0;
1046
+ --tw-translate-y: 0;
1047
+ --tw-translate-z: 0;
1048
+ --tw-border-style: solid;
1049
+ --tw-font-weight: initial;
1050
+ --tw-blur: initial;
1051
+ --tw-brightness: initial;
1052
+ --tw-contrast: initial;
1053
+ --tw-grayscale: initial;
1054
+ --tw-hue-rotate: initial;
1055
+ --tw-invert: initial;
1056
+ --tw-opacity: initial;
1057
+ --tw-saturate: initial;
1058
+ --tw-sepia: initial;
1059
+ --tw-drop-shadow: initial;
1060
+ --tw-drop-shadow-color: initial;
1061
+ --tw-drop-shadow-alpha: 100%;
1062
+ --tw-drop-shadow-size: initial;
1063
+ --tw-backdrop-blur: initial;
1064
+ --tw-backdrop-brightness: initial;
1065
+ --tw-backdrop-contrast: initial;
1066
+ --tw-backdrop-grayscale: initial;
1067
+ --tw-backdrop-hue-rotate: initial;
1068
+ --tw-backdrop-invert: initial;
1069
+ --tw-backdrop-opacity: initial;
1070
+ --tw-backdrop-saturate: initial;
1071
+ --tw-backdrop-sepia: initial;
1072
+ --tw-duration: initial;
1073
+ --tw-ease: initial;
1074
+ --tw-scale-x: 1;
1075
+ --tw-scale-y: 1;
1076
+ --tw-scale-z: 1;
1077
+ }
1078
+ }
1079
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kotnala_ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -12,7 +12,8 @@
12
12
  },
13
13
  "peerDependencies": {
14
14
  "react": ">=18",
15
- "react-dom": ">=18"
15
+ "react-dom": ">=18",
16
+ "react-router-dom": ">=6"
16
17
  },
17
18
  "files": [
18
19
  "dist"
@@ -40,6 +41,7 @@
40
41
  "@types/react-dom": "^19.2.3",
41
42
  "autoprefixer": "^10.5.0",
42
43
  "postcss": "^8.5.15",
44
+ "react-router-dom": "^7.17.0",
43
45
  "tailwindcss": "^4.3.1",
44
46
  "typescript": "^6.0.3"
45
47
  }