docstra 0.0.1 → 0.1.0

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,52 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React$1 from 'react';
3
+
4
+ interface DocstraContextType {
5
+ openSidebar: boolean;
6
+ setOpenSidebar: (open: boolean) => void;
7
+ docstraConfig: DocstraConfig;
8
+ openSearchBox: boolean;
9
+ setOpenSearchBox: (open: boolean) => void;
10
+ }
11
+ interface DocstraConfig {
12
+ siteName?: string;
13
+ navbar?: {
14
+ logo?: {
15
+ src: string;
16
+ alt: string;
17
+ className?: string;
18
+ };
19
+ links?: {
20
+ name: string;
21
+ href: string;
22
+ }[];
23
+ githubRepo?: string;
24
+ };
25
+ sidebar?: {
26
+ links?: DocsLinkGroup[];
27
+ };
28
+ }
29
+ interface DocsLinkItem {
30
+ name: string;
31
+ href: string;
32
+ icon?: React.ComponentType<{
33
+ className?: string;
34
+ }>;
35
+ }
36
+ interface DocsLinkGroup {
37
+ section: string;
38
+ items: DocsLinkItem[];
39
+ }
40
+
41
+ declare function DocstraProvider({ children, docstraConfig }: {
42
+ children: React$1.ReactNode;
43
+ docstraConfig: DocstraConfig;
44
+ }): react_jsx_runtime.JSX.Element;
45
+ declare const useDocstra: () => DocstraContextType;
46
+
47
+ declare function DocstraLayout({ children, docstraConfig }: {
48
+ children: React.ReactNode;
49
+ docstraConfig: DocstraConfig;
50
+ }): react_jsx_runtime.JSX.Element;
51
+
52
+ export { type DocsLinkGroup, type DocsLinkItem, type DocstraConfig, type DocstraContextType, DocstraLayout, DocstraProvider, useDocstra };
@@ -0,0 +1,52 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React$1 from 'react';
3
+
4
+ interface DocstraContextType {
5
+ openSidebar: boolean;
6
+ setOpenSidebar: (open: boolean) => void;
7
+ docstraConfig: DocstraConfig;
8
+ openSearchBox: boolean;
9
+ setOpenSearchBox: (open: boolean) => void;
10
+ }
11
+ interface DocstraConfig {
12
+ siteName?: string;
13
+ navbar?: {
14
+ logo?: {
15
+ src: string;
16
+ alt: string;
17
+ className?: string;
18
+ };
19
+ links?: {
20
+ name: string;
21
+ href: string;
22
+ }[];
23
+ githubRepo?: string;
24
+ };
25
+ sidebar?: {
26
+ links?: DocsLinkGroup[];
27
+ };
28
+ }
29
+ interface DocsLinkItem {
30
+ name: string;
31
+ href: string;
32
+ icon?: React.ComponentType<{
33
+ className?: string;
34
+ }>;
35
+ }
36
+ interface DocsLinkGroup {
37
+ section: string;
38
+ items: DocsLinkItem[];
39
+ }
40
+
41
+ declare function DocstraProvider({ children, docstraConfig }: {
42
+ children: React$1.ReactNode;
43
+ docstraConfig: DocstraConfig;
44
+ }): react_jsx_runtime.JSX.Element;
45
+ declare const useDocstra: () => DocstraContextType;
46
+
47
+ declare function DocstraLayout({ children, docstraConfig }: {
48
+ children: React.ReactNode;
49
+ docstraConfig: DocstraConfig;
50
+ }): react_jsx_runtime.JSX.Element;
51
+
52
+ export { type DocsLinkGroup, type DocsLinkItem, type DocstraConfig, type DocstraContextType, DocstraLayout, DocstraProvider, useDocstra };
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";var B=Object.create;var g=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var M=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty;var T=(e,t)=>{for(var o in t)g(e,o,{get:t[o],enumerable:!0})},k=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of E(t))!O.call(e,r)&&r!==o&&g(e,r,{get:()=>t[r],enumerable:!(i=R(t,r))||i.enumerable});return e};var H=(e,t,o)=>(o=e!=null?B(M(e)):{},k(t||!e||!e.__esModule?g(o,"default",{value:e,enumerable:!0}):o,e)),I=e=>k(g({},"__esModule",{value:!0}),e);var Q={};T(Q,{DocstraLayout:()=>F,DocstraProvider:()=>v,useDocstra:()=>p});module.exports=I(Q);var l=require("react"),L=require("react/jsx-runtime"),C=(0,l.createContext)(null);function v({children:e,docstraConfig:t}){let[o,i]=(0,l.useState)(!1),[r,m]=(0,l.useState)(!1);return(0,L.jsx)(C.Provider,{value:{openSidebar:o,setOpenSidebar:i,docstraConfig:t,openSearchBox:r,setOpenSearchBox:m},children:e})}var p=()=>(0,l.useContext)(C);var x=require("lucide-react"),D=require("react");var d=require("tailwind-merge");var S=H(require("next/link")),b=require("react/jsx-runtime");function f({href:e,children:t,className:o,onNavigate:i,...r}){return e.startsWith("http")?(0,b.jsx)("a",{href:e,className:o,...r,target:"_blank",rel:"noopener noreferrer",children:t}):(0,b.jsx)(S.default,{href:e,className:o,onNavigate:i,...r,"aria-label":"Ns",children:t})}var n=require("react/jsx-runtime");function y(){let{openSidebar:e,setOpenSidebar:t,docstraConfig:o}=p(),i=[{name:"Guides",href:"/docs/guides"},{name:"APIs",href:"/docs/apis"},{name:"Examples",href:"/docs/examples"}];return(0,D.useEffect)(()=>{e?document.body.classList.add("max-md:overflow-hidden"):document.body.classList.remove("max-md:overflow-hidden")},[e]),(0,n.jsxs)("header",{className:"sticky top-0 z-10 flex items-center justify-between border-b border-gray-100 h-18 px-4 md:px-6 bg-white",children:[(0,n.jsx)(f,{href:"/",children:(0,n.jsx)("img",{src:o.navbar?.logo?.src||"/logo.png",alt:o.navbar?.logo?.alt||"Logo",className:(0,d.twMerge)("h-9.5 w-auto",o.navbar?.logo?.className)})}),(0,n.jsxs)("div",{className:"hidden divide-x divide-gray-200 md:flex items-center",children:[o.navbar?.links?.map(r=>(0,n.jsx)(f,{href:r.href,className:"px-6 hover:text-gray-500",children:r.name},r.name)),(0,n.jsx)(f,{href:o.navbar?.githubRepo||"https://github.com/sudhucodes/docstra",children:(0,n.jsx)("svg",{className:"size-6 mx-6",width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:(0,n.jsx)("path",{d:"M12 .3a12 12 0 0 0-3.8 23.38c.6.12.83-.26.83-.57L9 21.07c-3.34.72-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.08-.74.09-.73.09-.73 1.2.09 1.83 1.24 1.83 1.24 1.08 1.83 2.81 1.3 3.5 1 .1-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.14-.3-.54-1.52.1-3.18 0 0 1-.32 3.3 1.23a11.5 11.5 0 0 1 6 0c2.28-1.55 3.29-1.23 3.29-1.23.64 1.66.24 2.88.12 3.18a4.65 4.65 0 0 1 1.23 3.22c0 4.61-2.8 5.63-5.48 5.92.42.36.81 1.1.81 2.22l-.01 3.29c0 .31.2.69.82.57A12 12 0 0 0 12 .3"})})})]}),(0,n.jsx)("button",{onClick:()=>t(!e),className:"md:hidden transition text-gray-600 active:ring-2 ring-gray-200 p-1.5 rounded-md",children:e?(0,n.jsx)(x.XIcon,{className:"size-6.5"}):(0,n.jsx)(x.TextAlignEnd,{className:"size-6.5"})})]})}var z=require("lucide-react"),A=require("next/navigation");var a=require("react/jsx-runtime");function N(){let{openSidebar:e,setOpenSidebar:t,setOpenSearchBox:o,docstraConfig:i}=p(),r=(0,A.usePathname)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,d.twMerge)("fixed inset-0 z-20 bg-black/50 opacity-0 pointer-events-none transition-all duration-300",e&&"opacity-100 pointer-events-auto"),onClick:()=>t(!1)}),(0,a.jsxs)("aside",{className:(0,d.twMerge)("sticky md:top-18 h-[calc(100svh-72px)] scrollbar-y w-screen z-21 md:w-72 pb-10 shrink-0 border-r border-gray-200 p-4 max-md:fixed bg-white overflow-y-auto transition-all duration-300",e?"top-32":"top-full"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 cursor-pointer mt-6 mb-4 p-2.5 text-gray-500 border border-gray-200 rounded-lg hover:bg-gray-50",onClick:()=>o(!0),children:[(0,a.jsx)(z.SearchIcon,{className:"size-4.5"}),(0,a.jsx)("p",{children:"Search"}),(0,a.jsxs)("div",{className:"ms-auto font-mono inline-flex gap-0.5",children:[(0,a.jsx)("span",{className:"rounded-md border border-gray-200 px-1.5",children:"Ctrl"}),(0,a.jsx)("span",{className:"rounded-md border border-gray-200 px-1.5",children:"K"})]})]}),i.sidebar?.links?.map(m=>(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"inline-flex items-center gap-2 mb-2 mt-2 px-2",children:m.section}),(0,a.jsx)("ul",{className:"mb-4",children:m.items.map(u=>(0,a.jsx)("li",{children:(0,a.jsxs)(f,{href:u.href,onNavigate:()=>e&&t(!1),className:(0,d.twMerge)("flex items-center gap-2 text-gray-500 hover:bg-gray-100 py-2 px-2.5 rounded-lg text-sm",r===u.href&&"bg-gray-100 text-gray-800"),children:[u.icon&&(0,a.jsx)(u.icon,{className:"size-4"}),(0,a.jsx)("span",{children:u.name})]})},u.href))})]},m.section))]})]})}var P=require("lucide-react");var h=require("react"),s=require("react/jsx-runtime");function w(){let{openSearchBox:e,setOpenSearchBox:t}=p(),[o,i]=(0,h.useState)("");return(0,h.useEffect)(()=>{console.log(`Search query: ${o}`)},[o]),(0,h.useEffect)(()=>{let r=m=>{m.ctrlKey&&m.key==="k"&&(m.preventDefault(),t(!0))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),(0,s.jsx)("div",{onClick:()=>{t(!1),i("")},className:(0,d.twMerge)("fixed inset-0 z-25 flex items-start justify-center bg-white/40 backdrop-blur-md opacity-0 pointer-events-none transition-all duration-300",e&&"opacity-100 pointer-events-auto"),children:(0,s.jsx)("div",{onClick:r=>r.stopPropagation(),className:"flex flex-col items-center mt-30 max-w-lg w-full max-md:px-4",children:(0,s.jsx)("form",{className:(0,d.twMerge)("relative flex items-center justify-between w-full bg-white border border-slate-200 text-gray-400 h-15 p-0.5 rounded-md"),children:e&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P.SearchIcon,{className:"size-5.5 mx-3 shrink-0"}),(0,s.jsx)("input",{className:"w-full bg-transparent h-full outline-none text-gray-400 placeholder:text-gray-400",type:"text",placeholder:"Search components",spellCheck:"false",autoFocus:!0,value:o,onChange:r=>i(r.target.value),name:"searchQuery",required:!0}),(0,s.jsxs)("svg",{className:"h-4.5 shrink-0 w-auto mr-3",width:"29",height:"18",viewBox:"0 0 29 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M13.5 2.25a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 1 0 2.25-2.25h-9a2.25 2.25 0 1 0 2.25 2.25v-9A2.25 2.25 0 1 0 4.5 6.75h9a2.25 2.25 0 0 0 0-4.5",stroke:"#99A1AF",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M25.986 14 21.45 8.89l4.438-4.69h2.058l-4.9 5.096v-.882L28.086 14zm-5.922 0V4.2h1.61V14z",fill:"#99A1AF"})]})]})})})})}var c=require("react/jsx-runtime");function K({children:e}){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(y,{}),(0,c.jsx)(w,{}),(0,c.jsxs)("div",{className:"min-h-screen flex bg-white",children:[(0,c.jsx)(N,{}),(0,c.jsx)("main",{id:"docs-content",className:"w-full px-4 md:px-8 py-10",children:e})]})]})}function F({children:e,docstraConfig:t}){return(0,c.jsx)(v,{docstraConfig:t,children:(0,c.jsx)(K,{children:e})})}0&&(module.exports={DocstraLayout,DocstraProvider,useDocstra});
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{createContext as S,useContext as D,useState as v}from"react";import{jsx as z}from"react/jsx-runtime";var b=S(null);function y({children:e,docstraConfig:r}){let[o,n]=v(!1),[t,s]=v(!1);return z(b.Provider,{value:{openSidebar:o,setOpenSidebar:n,docstraConfig:r,openSearchBox:t,setOpenSearchBox:s},children:e})}var p=()=>D(b);import{TextAlignEnd as P,XIcon as B}from"lucide-react";import{useEffect as R}from"react";import{twMerge as i}from"tailwind-merge";import A from"next/link";import{jsx as N}from"react/jsx-runtime";function d({href:e,children:r,className:o,onNavigate:n,...t}){return e.startsWith("http")?N("a",{href:e,className:o,...t,target:"_blank",rel:"noopener noreferrer",children:r}):N(A,{href:e,className:o,onNavigate:n,...t,"aria-label":"Ns",children:r})}import{jsx as c,jsxs as w}from"react/jsx-runtime";function h(){let{openSidebar:e,setOpenSidebar:r,docstraConfig:o}=p(),n=[{name:"Guides",href:"/docs/guides"},{name:"APIs",href:"/docs/apis"},{name:"Examples",href:"/docs/examples"}];return R(()=>{e?document.body.classList.add("max-md:overflow-hidden"):document.body.classList.remove("max-md:overflow-hidden")},[e]),w("header",{className:"sticky top-0 z-10 flex items-center justify-between border-b border-gray-100 h-18 px-4 md:px-6 bg-white",children:[c(d,{href:"/",children:c("img",{src:o.navbar?.logo?.src||"/logo.png",alt:o.navbar?.logo?.alt||"Logo",className:i("h-9.5 w-auto",o.navbar?.logo?.className)})}),w("div",{className:"hidden divide-x divide-gray-200 md:flex items-center",children:[o.navbar?.links?.map(t=>c(d,{href:t.href,className:"px-6 hover:text-gray-500",children:t.name},t.name)),c(d,{href:o.navbar?.githubRepo||"https://github.com/sudhucodes/docstra",children:c("svg",{className:"size-6 mx-6",width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:c("path",{d:"M12 .3a12 12 0 0 0-3.8 23.38c.6.12.83-.26.83-.57L9 21.07c-3.34.72-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.08-.74.09-.73.09-.73 1.2.09 1.83 1.24 1.83 1.24 1.08 1.83 2.81 1.3 3.5 1 .1-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.14-.3-.54-1.52.1-3.18 0 0 1-.32 3.3 1.23a11.5 11.5 0 0 1 6 0c2.28-1.55 3.29-1.23 3.29-1.23.64 1.66.24 2.88.12 3.18a4.65 4.65 0 0 1 1.23 3.22c0 4.61-2.8 5.63-5.48 5.92.42.36.81 1.1.81 2.22l-.01 3.29c0 .31.2.69.82.57A12 12 0 0 0 12 .3"})})})]}),c("button",{onClick:()=>r(!e),className:"md:hidden transition text-gray-600 active:ring-2 ring-gray-200 p-1.5 rounded-md",children:e?c(B,{className:"size-6.5"}):c(P,{className:"size-6.5"})})]})}import{SearchIcon as E}from"lucide-react";import{usePathname as M}from"next/navigation";import{Fragment as O,jsx as a,jsxs as f}from"react/jsx-runtime";function g(){let{openSidebar:e,setOpenSidebar:r,setOpenSearchBox:o,docstraConfig:n}=p(),t=M();return f(O,{children:[a("div",{className:i("fixed inset-0 z-20 bg-black/50 opacity-0 pointer-events-none transition-all duration-300",e&&"opacity-100 pointer-events-auto"),onClick:()=>r(!1)}),f("aside",{className:i("sticky md:top-18 h-[calc(100svh-72px)] scrollbar-y w-screen z-21 md:w-72 pb-10 shrink-0 border-r border-gray-200 p-4 max-md:fixed bg-white overflow-y-auto transition-all duration-300",e?"top-32":"top-full"),children:[f("div",{className:"flex items-center gap-2 cursor-pointer mt-6 mb-4 p-2.5 text-gray-500 border border-gray-200 rounded-lg hover:bg-gray-50",onClick:()=>o(!0),children:[a(E,{className:"size-4.5"}),a("p",{children:"Search"}),f("div",{className:"ms-auto font-mono inline-flex gap-0.5",children:[a("span",{className:"rounded-md border border-gray-200 px-1.5",children:"Ctrl"}),a("span",{className:"rounded-md border border-gray-200 px-1.5",children:"K"})]})]}),n.sidebar?.links?.map(s=>f("div",{children:[a("p",{className:"inline-flex items-center gap-2 mb-2 mt-2 px-2",children:s.section}),a("ul",{className:"mb-4",children:s.items.map(l=>a("li",{children:f(d,{href:l.href,onNavigate:()=>e&&r(!1),className:i("flex items-center gap-2 text-gray-500 hover:bg-gray-100 py-2 px-2.5 rounded-lg text-sm",t===l.href&&"bg-gray-100 text-gray-800"),children:[l.icon&&a(l.icon,{className:"size-4"}),a("span",{children:l.name})]})},l.href))})]},s.section))]})]})}import{SearchIcon as T}from"lucide-react";import{useEffect as k,useState as H}from"react";import{Fragment as I,jsx as m,jsxs as C}from"react/jsx-runtime";function x(){let{openSearchBox:e,setOpenSearchBox:r}=p(),[o,n]=H("");return k(()=>{console.log(`Search query: ${o}`)},[o]),k(()=>{let t=s=>{s.ctrlKey&&s.key==="k"&&(s.preventDefault(),r(!0))};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[]),m("div",{onClick:()=>{r(!1),n("")},className:i("fixed inset-0 z-25 flex items-start justify-center bg-white/40 backdrop-blur-md opacity-0 pointer-events-none transition-all duration-300",e&&"opacity-100 pointer-events-auto"),children:m("div",{onClick:t=>t.stopPropagation(),className:"flex flex-col items-center mt-30 max-w-lg w-full max-md:px-4",children:m("form",{className:i("relative flex items-center justify-between w-full bg-white border border-slate-200 text-gray-400 h-15 p-0.5 rounded-md"),children:e&&C(I,{children:[m(T,{className:"size-5.5 mx-3 shrink-0"}),m("input",{className:"w-full bg-transparent h-full outline-none text-gray-400 placeholder:text-gray-400",type:"text",placeholder:"Search components",spellCheck:"false",autoFocus:!0,value:o,onChange:t=>n(t.target.value),name:"searchQuery",required:!0}),C("svg",{className:"h-4.5 shrink-0 w-auto mr-3",width:"29",height:"18",viewBox:"0 0 29 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M13.5 2.25a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 1 0 2.25-2.25h-9a2.25 2.25 0 1 0 2.25 2.25v-9A2.25 2.25 0 1 0 4.5 6.75h9a2.25 2.25 0 0 0 0-4.5",stroke:"#99A1AF",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m("path",{d:"M25.986 14 21.45 8.89l4.438-4.69h2.058l-4.9 5.096v-.882L28.086 14zm-5.922 0V4.2h1.61V14z",fill:"#99A1AF"})]})]})})})})}import{Fragment as F,jsx as u,jsxs as L}from"react/jsx-runtime";function K({children:e}){return L(F,{children:[u(h,{}),u(x,{}),L("div",{className:"min-h-screen flex bg-white",children:[u(g,{}),u("main",{id:"docs-content",className:"w-full px-4 md:px-8 py-10",children:e})]})]})}function ye({children:e,docstraConfig:r}){return u(y,{docstraConfig:r,children:u(K,{children:e})})}export{ye as DocstraLayout,y as DocstraProvider,p as useDocstra};
@@ -0,0 +1,724 @@
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ @layer theme, base, components, utilities;
4
+ @layer theme {
5
+ :root, :host {
6
+ --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
7
+ "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
8
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
9
+ "Courier New", monospace;
10
+ --color-slate-200: oklch(92.9% 0.013 255.508);
11
+ --color-gray-50: oklch(98.5% 0.002 247.839);
12
+ --color-gray-100: oklch(96.7% 0.003 264.542);
13
+ --color-gray-200: oklch(92.8% 0.006 264.531);
14
+ --color-gray-400: oklch(70.7% 0.022 261.325);
15
+ --color-gray-500: oklch(55.1% 0.027 264.364);
16
+ --color-gray-600: oklch(44.6% 0.03 256.802);
17
+ --color-gray-800: oklch(27.8% 0.033 256.848);
18
+ --color-black: #000;
19
+ --color-white: #fff;
20
+ --spacing: 0.25rem;
21
+ --container-lg: 32rem;
22
+ --text-sm: 0.875rem;
23
+ --text-sm--line-height: calc(1.25 / 0.875);
24
+ --radius-md: 0.375rem;
25
+ --radius-lg: 0.5rem;
26
+ --blur-md: 12px;
27
+ --default-transition-duration: 150ms;
28
+ --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
29
+ --default-font-family: var(--font-sans);
30
+ --default-mono-font-family: var(--font-mono);
31
+ }
32
+ }
33
+ @layer base {
34
+ *, ::after, ::before, ::backdrop, ::file-selector-button {
35
+ box-sizing: border-box;
36
+ margin: 0;
37
+ padding: 0;
38
+ border: 0 solid;
39
+ }
40
+ html, :host {
41
+ line-height: 1.5;
42
+ -webkit-text-size-adjust: 100%;
43
+ tab-size: 4;
44
+ font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
45
+ font-feature-settings: var(--default-font-feature-settings, normal);
46
+ font-variation-settings: var(--default-font-variation-settings, normal);
47
+ -webkit-tap-highlight-color: transparent;
48
+ }
49
+ hr {
50
+ height: 0;
51
+ color: inherit;
52
+ border-top-width: 1px;
53
+ }
54
+ abbr:where([title]) {
55
+ -webkit-text-decoration: underline dotted;
56
+ text-decoration: underline dotted;
57
+ }
58
+ h1, h2, h3, h4, h5, h6 {
59
+ font-size: inherit;
60
+ font-weight: inherit;
61
+ }
62
+ a {
63
+ color: inherit;
64
+ -webkit-text-decoration: inherit;
65
+ text-decoration: inherit;
66
+ }
67
+ b, strong {
68
+ font-weight: bolder;
69
+ }
70
+ code, kbd, samp, pre {
71
+ font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
72
+ font-feature-settings: var(--default-mono-font-feature-settings, normal);
73
+ font-variation-settings: var(--default-mono-font-variation-settings, normal);
74
+ font-size: 1em;
75
+ }
76
+ small {
77
+ font-size: 80%;
78
+ }
79
+ sub, sup {
80
+ font-size: 75%;
81
+ line-height: 0;
82
+ position: relative;
83
+ vertical-align: baseline;
84
+ }
85
+ sub {
86
+ bottom: -0.25em;
87
+ }
88
+ sup {
89
+ top: -0.5em;
90
+ }
91
+ table {
92
+ text-indent: 0;
93
+ border-color: inherit;
94
+ border-collapse: collapse;
95
+ }
96
+ :-moz-focusring {
97
+ outline: auto;
98
+ }
99
+ progress {
100
+ vertical-align: baseline;
101
+ }
102
+ summary {
103
+ display: list-item;
104
+ }
105
+ ol, ul, menu {
106
+ list-style: none;
107
+ }
108
+ img, svg, video, canvas, audio, iframe, embed, object {
109
+ display: block;
110
+ vertical-align: middle;
111
+ }
112
+ img, video {
113
+ max-width: 100%;
114
+ height: auto;
115
+ }
116
+ button, input, select, optgroup, textarea, ::file-selector-button {
117
+ font: inherit;
118
+ font-feature-settings: inherit;
119
+ font-variation-settings: inherit;
120
+ letter-spacing: inherit;
121
+ color: inherit;
122
+ border-radius: 0;
123
+ background-color: transparent;
124
+ opacity: 1;
125
+ }
126
+ :where(select:is([multiple], [size])) optgroup {
127
+ font-weight: bolder;
128
+ }
129
+ :where(select:is([multiple], [size])) optgroup option {
130
+ padding-inline-start: 20px;
131
+ }
132
+ ::file-selector-button {
133
+ margin-inline-end: 4px;
134
+ }
135
+ ::placeholder {
136
+ opacity: 1;
137
+ }
138
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
139
+ ::placeholder {
140
+ color: currentcolor;
141
+ @supports (color: color-mix(in lab, red, red)) {
142
+ color: color-mix(in oklab, currentcolor 50%, transparent);
143
+ }
144
+ }
145
+ }
146
+ textarea {
147
+ resize: vertical;
148
+ }
149
+ ::-webkit-search-decoration {
150
+ -webkit-appearance: none;
151
+ }
152
+ ::-webkit-date-and-time-value {
153
+ min-height: 1lh;
154
+ text-align: inherit;
155
+ }
156
+ ::-webkit-datetime-edit {
157
+ display: inline-flex;
158
+ }
159
+ ::-webkit-datetime-edit-fields-wrapper {
160
+ padding: 0;
161
+ }
162
+ ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
163
+ padding-block: 0;
164
+ }
165
+ ::-webkit-calendar-picker-indicator {
166
+ line-height: 1;
167
+ }
168
+ :-moz-ui-invalid {
169
+ box-shadow: none;
170
+ }
171
+ button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
172
+ appearance: button;
173
+ }
174
+ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
175
+ height: auto;
176
+ }
177
+ [hidden]:where(:not([hidden="until-found"])) {
178
+ display: none !important;
179
+ }
180
+ }
181
+ @layer utilities {
182
+ .pointer-events-auto {
183
+ pointer-events: auto;
184
+ }
185
+ .pointer-events-none {
186
+ pointer-events: none;
187
+ }
188
+ .fixed {
189
+ position: fixed;
190
+ }
191
+ .relative {
192
+ position: relative;
193
+ }
194
+ .sticky {
195
+ position: sticky;
196
+ }
197
+ .inset-0 {
198
+ inset: calc(var(--spacing) * 0);
199
+ }
200
+ .top-0 {
201
+ top: calc(var(--spacing) * 0);
202
+ }
203
+ .top-32 {
204
+ top: calc(var(--spacing) * 32);
205
+ }
206
+ .top-full {
207
+ top: 100%;
208
+ }
209
+ .z-10 {
210
+ z-index: 10;
211
+ }
212
+ .z-20 {
213
+ z-index: 20;
214
+ }
215
+ .z-21 {
216
+ z-index: 21;
217
+ }
218
+ .z-25 {
219
+ z-index: 25;
220
+ }
221
+ .mx-3 {
222
+ margin-inline: calc(var(--spacing) * 3);
223
+ }
224
+ .mx-6 {
225
+ margin-inline: calc(var(--spacing) * 6);
226
+ }
227
+ .ms-auto {
228
+ margin-inline-start: auto;
229
+ }
230
+ .mt-2 {
231
+ margin-top: calc(var(--spacing) * 2);
232
+ }
233
+ .mt-6 {
234
+ margin-top: calc(var(--spacing) * 6);
235
+ }
236
+ .mt-30 {
237
+ margin-top: calc(var(--spacing) * 30);
238
+ }
239
+ .mr-3 {
240
+ margin-right: calc(var(--spacing) * 3);
241
+ }
242
+ .mb-2 {
243
+ margin-bottom: calc(var(--spacing) * 2);
244
+ }
245
+ .mb-4 {
246
+ margin-bottom: calc(var(--spacing) * 4);
247
+ }
248
+ .flex {
249
+ display: flex;
250
+ }
251
+ .hidden {
252
+ display: none;
253
+ }
254
+ .inline-flex {
255
+ display: inline-flex;
256
+ }
257
+ .size-4 {
258
+ width: calc(var(--spacing) * 4);
259
+ height: calc(var(--spacing) * 4);
260
+ }
261
+ .size-4\.5 {
262
+ width: calc(var(--spacing) * 4.5);
263
+ height: calc(var(--spacing) * 4.5);
264
+ }
265
+ .size-5\.5 {
266
+ width: calc(var(--spacing) * 5.5);
267
+ height: calc(var(--spacing) * 5.5);
268
+ }
269
+ .size-6 {
270
+ width: calc(var(--spacing) * 6);
271
+ height: calc(var(--spacing) * 6);
272
+ }
273
+ .size-6\.5 {
274
+ width: calc(var(--spacing) * 6.5);
275
+ height: calc(var(--spacing) * 6.5);
276
+ }
277
+ .h-4\.5 {
278
+ height: calc(var(--spacing) * 4.5);
279
+ }
280
+ .h-9\.5 {
281
+ height: calc(var(--spacing) * 9.5);
282
+ }
283
+ .h-15 {
284
+ height: calc(var(--spacing) * 15);
285
+ }
286
+ .h-18 {
287
+ height: calc(var(--spacing) * 18);
288
+ }
289
+ .h-\[calc\(100svh-72px\)\] {
290
+ height: calc(100svh - 72px);
291
+ }
292
+ .h-full {
293
+ height: 100%;
294
+ }
295
+ .min-h-screen {
296
+ min-height: 100vh;
297
+ }
298
+ .w-auto {
299
+ width: auto;
300
+ }
301
+ .w-full {
302
+ width: 100%;
303
+ }
304
+ .w-screen {
305
+ width: 100vw;
306
+ }
307
+ .max-w-lg {
308
+ max-width: var(--container-lg);
309
+ }
310
+ .shrink-0 {
311
+ flex-shrink: 0;
312
+ }
313
+ .cursor-pointer {
314
+ cursor: pointer;
315
+ }
316
+ .flex-col {
317
+ flex-direction: column;
318
+ }
319
+ .items-center {
320
+ align-items: center;
321
+ }
322
+ .items-start {
323
+ align-items: flex-start;
324
+ }
325
+ .justify-between {
326
+ justify-content: space-between;
327
+ }
328
+ .justify-center {
329
+ justify-content: center;
330
+ }
331
+ .gap-0\.5 {
332
+ gap: calc(var(--spacing) * 0.5);
333
+ }
334
+ .gap-2 {
335
+ gap: calc(var(--spacing) * 2);
336
+ }
337
+ .divide-x {
338
+ :where(& > :not(:last-child)) {
339
+ --tw-divide-x-reverse: 0;
340
+ border-inline-style: var(--tw-border-style);
341
+ border-inline-start-width: calc(1px * var(--tw-divide-x-reverse));
342
+ border-inline-end-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));
343
+ }
344
+ }
345
+ .divide-gray-200 {
346
+ :where(& > :not(:last-child)) {
347
+ border-color: var(--color-gray-200);
348
+ }
349
+ }
350
+ .overflow-y-auto {
351
+ overflow-y: auto;
352
+ }
353
+ .rounded-lg {
354
+ border-radius: var(--radius-lg);
355
+ }
356
+ .rounded-md {
357
+ border-radius: var(--radius-md);
358
+ }
359
+ .rounded-b-none {
360
+ border-bottom-right-radius: 0;
361
+ border-bottom-left-radius: 0;
362
+ }
363
+ .border {
364
+ border-style: var(--tw-border-style);
365
+ border-width: 1px;
366
+ }
367
+ .border-r {
368
+ border-right-style: var(--tw-border-style);
369
+ border-right-width: 1px;
370
+ }
371
+ .border-b {
372
+ border-bottom-style: var(--tw-border-style);
373
+ border-bottom-width: 1px;
374
+ }
375
+ .border-b-0 {
376
+ border-bottom-style: var(--tw-border-style);
377
+ border-bottom-width: 0px;
378
+ }
379
+ .border-gray-100 {
380
+ border-color: var(--color-gray-100);
381
+ }
382
+ .border-gray-200 {
383
+ border-color: var(--color-gray-200);
384
+ }
385
+ .border-slate-200 {
386
+ border-color: var(--color-slate-200);
387
+ }
388
+ .bg-black\/50 {
389
+ background-color: color-mix(in srgb, #000 50%, transparent);
390
+ @supports (color: color-mix(in lab, red, red)) {
391
+ background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
392
+ }
393
+ }
394
+ .bg-gray-100 {
395
+ background-color: var(--color-gray-100);
396
+ }
397
+ .bg-transparent {
398
+ background-color: transparent;
399
+ }
400
+ .bg-white {
401
+ background-color: var(--color-white);
402
+ }
403
+ .bg-white\/40 {
404
+ background-color: color-mix(in srgb, #fff 40%, transparent);
405
+ @supports (color: color-mix(in lab, red, red)) {
406
+ background-color: color-mix(in oklab, var(--color-white) 40%, transparent);
407
+ }
408
+ }
409
+ .p-0\.5 {
410
+ padding: calc(var(--spacing) * 0.5);
411
+ }
412
+ .p-1\.5 {
413
+ padding: calc(var(--spacing) * 1.5);
414
+ }
415
+ .p-2\.5 {
416
+ padding: calc(var(--spacing) * 2.5);
417
+ }
418
+ .p-4 {
419
+ padding: calc(var(--spacing) * 4);
420
+ }
421
+ .px-1\.5 {
422
+ padding-inline: calc(var(--spacing) * 1.5);
423
+ }
424
+ .px-2 {
425
+ padding-inline: calc(var(--spacing) * 2);
426
+ }
427
+ .px-2\.5 {
428
+ padding-inline: calc(var(--spacing) * 2.5);
429
+ }
430
+ .px-4 {
431
+ padding-inline: calc(var(--spacing) * 4);
432
+ }
433
+ .px-6 {
434
+ padding-inline: calc(var(--spacing) * 6);
435
+ }
436
+ .py-2 {
437
+ padding-block: calc(var(--spacing) * 2);
438
+ }
439
+ .py-10 {
440
+ padding-block: calc(var(--spacing) * 10);
441
+ }
442
+ .pb-10 {
443
+ padding-bottom: calc(var(--spacing) * 10);
444
+ }
445
+ .font-mono {
446
+ font-family: var(--font-mono);
447
+ }
448
+ .text-sm {
449
+ font-size: var(--text-sm);
450
+ line-height: var(--tw-leading, var(--text-sm--line-height));
451
+ }
452
+ .text-gray-400 {
453
+ color: var(--color-gray-400);
454
+ }
455
+ .text-gray-500 {
456
+ color: var(--color-gray-500);
457
+ }
458
+ .text-gray-600 {
459
+ color: var(--color-gray-600);
460
+ }
461
+ .text-gray-800 {
462
+ color: var(--color-gray-800);
463
+ }
464
+ .antialiased {
465
+ -webkit-font-smoothing: antialiased;
466
+ -moz-osx-font-smoothing: grayscale;
467
+ }
468
+ .opacity-0 {
469
+ opacity: 0%;
470
+ }
471
+ .opacity-100 {
472
+ opacity: 100%;
473
+ }
474
+ .ring-gray-200 {
475
+ --tw-ring-color: var(--color-gray-200);
476
+ }
477
+ .backdrop-blur-md {
478
+ --tw-backdrop-blur: blur(var(--blur-md));
479
+ -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,);
480
+ 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,);
481
+ }
482
+ .transition {
483
+ 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;
484
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
485
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
486
+ }
487
+ .transition-all {
488
+ transition-property: all;
489
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
490
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
491
+ }
492
+ .duration-300 {
493
+ --tw-duration: 300ms;
494
+ transition-duration: 300ms;
495
+ }
496
+ .outline-none {
497
+ --tw-outline-style: none;
498
+ outline-style: none;
499
+ }
500
+ .placeholder\:text-gray-400 {
501
+ &::placeholder {
502
+ color: var(--color-gray-400);
503
+ }
504
+ }
505
+ .hover\:bg-gray-50 {
506
+ &:hover {
507
+ @media (hover: hover) {
508
+ background-color: var(--color-gray-50);
509
+ }
510
+ }
511
+ }
512
+ .hover\:bg-gray-100 {
513
+ &:hover {
514
+ @media (hover: hover) {
515
+ background-color: var(--color-gray-100);
516
+ }
517
+ }
518
+ }
519
+ .hover\:text-gray-500 {
520
+ &:hover {
521
+ @media (hover: hover) {
522
+ color: var(--color-gray-500);
523
+ }
524
+ }
525
+ }
526
+ .active\:ring-2 {
527
+ &:active {
528
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
529
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
530
+ }
531
+ }
532
+ .max-md\:fixed {
533
+ @media (width < 48rem) {
534
+ position: fixed;
535
+ }
536
+ }
537
+ .max-md\:overflow-hidden {
538
+ @media (width < 48rem) {
539
+ overflow: hidden;
540
+ }
541
+ }
542
+ .max-md\:px-4 {
543
+ @media (width < 48rem) {
544
+ padding-inline: calc(var(--spacing) * 4);
545
+ }
546
+ }
547
+ .md\:top-18 {
548
+ @media (width >= 48rem) {
549
+ top: calc(var(--spacing) * 18);
550
+ }
551
+ }
552
+ .md\:flex {
553
+ @media (width >= 48rem) {
554
+ display: flex;
555
+ }
556
+ }
557
+ .md\:hidden {
558
+ @media (width >= 48rem) {
559
+ display: none;
560
+ }
561
+ }
562
+ .md\:w-72 {
563
+ @media (width >= 48rem) {
564
+ width: calc(var(--spacing) * 72);
565
+ }
566
+ }
567
+ .md\:px-6 {
568
+ @media (width >= 48rem) {
569
+ padding-inline: calc(var(--spacing) * 6);
570
+ }
571
+ }
572
+ .md\:px-8 {
573
+ @media (width >= 48rem) {
574
+ padding-inline: calc(var(--spacing) * 8);
575
+ }
576
+ }
577
+ }
578
+ @property --tw-divide-x-reverse {
579
+ syntax: "*";
580
+ inherits: false;
581
+ initial-value: 0;
582
+ }
583
+ @property --tw-border-style {
584
+ syntax: "*";
585
+ inherits: false;
586
+ initial-value: solid;
587
+ }
588
+ @property --tw-backdrop-blur {
589
+ syntax: "*";
590
+ inherits: false;
591
+ }
592
+ @property --tw-backdrop-brightness {
593
+ syntax: "*";
594
+ inherits: false;
595
+ }
596
+ @property --tw-backdrop-contrast {
597
+ syntax: "*";
598
+ inherits: false;
599
+ }
600
+ @property --tw-backdrop-grayscale {
601
+ syntax: "*";
602
+ inherits: false;
603
+ }
604
+ @property --tw-backdrop-hue-rotate {
605
+ syntax: "*";
606
+ inherits: false;
607
+ }
608
+ @property --tw-backdrop-invert {
609
+ syntax: "*";
610
+ inherits: false;
611
+ }
612
+ @property --tw-backdrop-opacity {
613
+ syntax: "*";
614
+ inherits: false;
615
+ }
616
+ @property --tw-backdrop-saturate {
617
+ syntax: "*";
618
+ inherits: false;
619
+ }
620
+ @property --tw-backdrop-sepia {
621
+ syntax: "*";
622
+ inherits: false;
623
+ }
624
+ @property --tw-duration {
625
+ syntax: "*";
626
+ inherits: false;
627
+ }
628
+ @property --tw-shadow {
629
+ syntax: "*";
630
+ inherits: false;
631
+ initial-value: 0 0 #0000;
632
+ }
633
+ @property --tw-shadow-color {
634
+ syntax: "*";
635
+ inherits: false;
636
+ }
637
+ @property --tw-shadow-alpha {
638
+ syntax: "<percentage>";
639
+ inherits: false;
640
+ initial-value: 100%;
641
+ }
642
+ @property --tw-inset-shadow {
643
+ syntax: "*";
644
+ inherits: false;
645
+ initial-value: 0 0 #0000;
646
+ }
647
+ @property --tw-inset-shadow-color {
648
+ syntax: "*";
649
+ inherits: false;
650
+ }
651
+ @property --tw-inset-shadow-alpha {
652
+ syntax: "<percentage>";
653
+ inherits: false;
654
+ initial-value: 100%;
655
+ }
656
+ @property --tw-ring-color {
657
+ syntax: "*";
658
+ inherits: false;
659
+ }
660
+ @property --tw-ring-shadow {
661
+ syntax: "*";
662
+ inherits: false;
663
+ initial-value: 0 0 #0000;
664
+ }
665
+ @property --tw-inset-ring-color {
666
+ syntax: "*";
667
+ inherits: false;
668
+ }
669
+ @property --tw-inset-ring-shadow {
670
+ syntax: "*";
671
+ inherits: false;
672
+ initial-value: 0 0 #0000;
673
+ }
674
+ @property --tw-ring-inset {
675
+ syntax: "*";
676
+ inherits: false;
677
+ }
678
+ @property --tw-ring-offset-width {
679
+ syntax: "<length>";
680
+ inherits: false;
681
+ initial-value: 0px;
682
+ }
683
+ @property --tw-ring-offset-color {
684
+ syntax: "*";
685
+ inherits: false;
686
+ initial-value: #fff;
687
+ }
688
+ @property --tw-ring-offset-shadow {
689
+ syntax: "*";
690
+ inherits: false;
691
+ initial-value: 0 0 #0000;
692
+ }
693
+ @layer properties {
694
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
695
+ *, ::before, ::after, ::backdrop {
696
+ --tw-divide-x-reverse: 0;
697
+ --tw-border-style: solid;
698
+ --tw-backdrop-blur: initial;
699
+ --tw-backdrop-brightness: initial;
700
+ --tw-backdrop-contrast: initial;
701
+ --tw-backdrop-grayscale: initial;
702
+ --tw-backdrop-hue-rotate: initial;
703
+ --tw-backdrop-invert: initial;
704
+ --tw-backdrop-opacity: initial;
705
+ --tw-backdrop-saturate: initial;
706
+ --tw-backdrop-sepia: initial;
707
+ --tw-duration: initial;
708
+ --tw-shadow: 0 0 #0000;
709
+ --tw-shadow-color: initial;
710
+ --tw-shadow-alpha: 100%;
711
+ --tw-inset-shadow: 0 0 #0000;
712
+ --tw-inset-shadow-color: initial;
713
+ --tw-inset-shadow-alpha: 100%;
714
+ --tw-ring-color: initial;
715
+ --tw-ring-shadow: 0 0 #0000;
716
+ --tw-inset-ring-color: initial;
717
+ --tw-inset-ring-shadow: 0 0 #0000;
718
+ --tw-ring-inset: initial;
719
+ --tw-ring-offset-width: 0px;
720
+ --tw-ring-offset-color: #fff;
721
+ --tw-ring-offset-shadow: 0 0 #0000;
722
+ }
723
+ }
724
+ }
package/package.json CHANGED
@@ -1,13 +1,38 @@
1
- {
2
- "name": "docstra",
3
- "version": "0.0.1",
4
- "description": "",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "keywords": [],
10
- "author": "SudhuCodes",
11
- "license": "ISC",
12
- "type": "commonjs"
1
+ {
2
+ "name": "docstra",
3
+ "version": "0.1.0",
4
+ "files": [
5
+ "dist"
6
+ ],
7
+ "main": "dist/index.js",
8
+ "module": "dist/index.mjs",
9
+ "types": "dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/index.mjs",
13
+ "require": "./dist/index.js"
14
+ },
15
+ "./styles.css": "./dist/styles.css"
16
+ },
17
+ "scripts": {
18
+ "build": "tsup && npm run build:css",
19
+ "build:css": "npx @tailwindcss/cli -i ./src/input.css -o ./dist/styles.css",
20
+ "prettier": "prettier --write src"
21
+ },
22
+ "devDependencies": {
23
+ "@types/react": "^19.2.2",
24
+ "@types/react-dom": "^19.2.2",
25
+ "prettier": "^3.6.2",
26
+ "tsup": "^8.5.0",
27
+ "typescript": "^5.9.3"
28
+ },
29
+ "dependencies": {
30
+ "@tailwindcss/cli": "^4.1.17",
31
+ "lucide-react": "^0.554.0",
32
+ "next": "^16.0.3",
33
+ "react": "^18 || ^19",
34
+ "react-dom": "^18 || ^19",
35
+ "tailwind-merge": "^3.4.0",
36
+ "tailwindcss": "^4.1.17"
37
+ }
13
38
  }