@kubetail/ui 2.0.3 → 2.0.4-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown:runtime.cjs +1 -0
- package/dist/elements/button.cjs +2 -2
- package/dist/elements/button.cjs.map +1 -1
- package/dist/elements/button.js +39 -42
- package/dist/elements/button.js.map +1 -1
- package/dist/elements/calendar.cjs +2 -2
- package/dist/elements/calendar.cjs.map +1 -1
- package/dist/elements/calendar.js +23 -27
- package/dist/elements/calendar.js.map +1 -1
- package/dist/elements/card.cjs +2 -2
- package/dist/elements/card.cjs.map +1 -1
- package/dist/elements/card.js +47 -50
- package/dist/elements/card.js.map +1 -1
- package/dist/elements/checkbox.cjs +2 -2
- package/dist/elements/checkbox.cjs.map +1 -1
- package/dist/elements/checkbox.js +19 -28
- package/dist/elements/checkbox.js.map +1 -1
- package/dist/elements/dialog.cjs +2 -2
- package/dist/elements/dialog.cjs.map +1 -1
- package/dist/elements/dialog.js +75 -107
- package/dist/elements/dialog.js.map +1 -1
- package/dist/elements/dropdown-menu.cjs +2 -2
- package/dist/elements/dropdown-menu.cjs.map +1 -1
- package/dist/elements/dropdown-menu.js +107 -181
- package/dist/elements/dropdown-menu.js.map +1 -1
- package/dist/elements/form.cjs +2 -2
- package/dist/elements/form.cjs.map +1 -1
- package/dist/elements/form.js +73 -76
- package/dist/elements/form.js.map +1 -1
- package/dist/elements/input.cjs +2 -2
- package/dist/elements/input.cjs.map +1 -1
- package/dist/elements/input.js +12 -21
- package/dist/elements/input.js.map +1 -1
- package/dist/elements/label.cjs +2 -2
- package/dist/elements/label.cjs.map +1 -1
- package/dist/elements/label.js +13 -19
- package/dist/elements/label.js.map +1 -1
- package/dist/elements/pagination.cjs +2 -2
- package/dist/elements/pagination.cjs.map +1 -1
- package/dist/elements/pagination.js +71 -89
- package/dist/elements/pagination.js.map +1 -1
- package/dist/elements/popover.cjs +2 -2
- package/dist/elements/popover.cjs.map +1 -1
- package/dist/elements/popover.js +31 -37
- package/dist/elements/popover.js.map +1 -1
- package/dist/elements/search-box.cjs +2 -2
- package/dist/elements/search-box.cjs.map +1 -1
- package/dist/elements/search-box.js +25 -28
- package/dist/elements/search-box.js.map +1 -1
- package/dist/elements/select.cjs +2 -2
- package/dist/elements/select.cjs.map +1 -1
- package/dist/elements/select.js +89 -136
- package/dist/elements/select.js.map +1 -1
- package/dist/elements/separator.cjs +2 -2
- package/dist/elements/separator.cjs.map +1 -1
- package/dist/elements/separator.js +15 -26
- package/dist/elements/separator.js.map +1 -1
- package/dist/elements/sheet.cjs +2 -2
- package/dist/elements/sheet.cjs.map +1 -1
- package/dist/elements/sheet.js +71 -88
- package/dist/elements/sheet.js.map +1 -1
- package/dist/elements/sidebar.cjs +2 -2
- package/dist/elements/sidebar.cjs.map +1 -1
- package/dist/elements/sidebar.js +323 -535
- package/dist/elements/sidebar.js.map +1 -1
- package/dist/elements/skeleton.cjs +2 -2
- package/dist/elements/skeleton.cjs.map +1 -1
- package/dist/elements/skeleton.js +11 -8
- package/dist/elements/skeleton.js.map +1 -1
- package/dist/elements/spinner.cjs +2 -2
- package/dist/elements/spinner.cjs.map +1 -1
- package/dist/elements/spinner.js +30 -39
- package/dist/elements/spinner.js.map +1 -1
- package/dist/elements/table.cjs +2 -2
- package/dist/elements/table.cjs.map +1 -1
- package/dist/elements/table.js +58 -63
- package/dist/elements/table.js.map +1 -1
- package/dist/elements/tabs.cjs +2 -2
- package/dist/elements/tabs.cjs.map +1 -1
- package/dist/elements/tabs.js +31 -38
- package/dist/elements/tabs.js.map +1 -1
- package/dist/elements/tooltip.cjs +2 -2
- package/dist/elements/tooltip.cjs.map +1 -1
- package/dist/elements/tooltip.js +31 -38
- package/dist/elements/tooltip.js.map +1 -1
- package/dist/hooks/use-mobile.cjs +2 -2
- package/dist/hooks/use-mobile.cjs.map +1 -1
- package/dist/hooks/use-mobile.js +13 -14
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/index.cjs +0 -2
- package/dist/index.js +0 -2
- package/dist/lib/utils.cjs +2 -2
- package/dist/lib/utils.cjs.map +1 -1
- package/dist/lib/utils.js +7 -8
- package/dist/lib/utils.js.map +1 -1
- package/package.json +42 -42
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/elements/tabs.js
CHANGED
|
@@ -1,42 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn } from "../lib/utils.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
5
|
+
function Tabs({ className: a, ...o }) {
|
|
6
|
+
return /* @__PURE__ */ jsx(TabsPrimitive.Root, {
|
|
7
|
+
"data-slot": "tabs",
|
|
8
|
+
className: cn("flex flex-col gap-2", a),
|
|
9
|
+
...o
|
|
10
|
+
});
|
|
6
11
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
|
|
14
|
-
t
|
|
15
|
-
),
|
|
16
|
-
...e
|
|
17
|
-
}
|
|
18
|
-
);
|
|
12
|
+
function TabsList({ className: a, ...o }) {
|
|
13
|
+
return /* @__PURE__ */ jsx(TabsPrimitive.List, {
|
|
14
|
+
"data-slot": "tabs-list",
|
|
15
|
+
className: cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", a),
|
|
16
|
+
...o
|
|
17
|
+
});
|
|
19
18
|
}
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
27
|
-
t
|
|
28
|
-
),
|
|
29
|
-
...e
|
|
30
|
-
}
|
|
31
|
-
);
|
|
19
|
+
function TabsTrigger({ className: a, ...o }) {
|
|
20
|
+
return /* @__PURE__ */ jsx(TabsPrimitive.Trigger, {
|
|
21
|
+
"data-slot": "tabs-trigger",
|
|
22
|
+
className: cn("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", a),
|
|
23
|
+
...o
|
|
24
|
+
});
|
|
32
25
|
}
|
|
33
|
-
function
|
|
34
|
-
|
|
26
|
+
function TabsContent({ className: a, ...o }) {
|
|
27
|
+
return /* @__PURE__ */ jsx(TabsPrimitive.Content, {
|
|
28
|
+
"data-slot": "tabs-content",
|
|
29
|
+
className: cn("flex-1 outline-none", a),
|
|
30
|
+
...o
|
|
31
|
+
});
|
|
35
32
|
}
|
|
36
|
-
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
d as TabsList,
|
|
40
|
-
c as TabsTrigger
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=tabs.js.map
|
|
33
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.js","sources":["../../src/elements/tabs.tsx"],"sourcesContent":["'use client';\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\n\nimport { cn } from '@/lib/utils';\n\nfunction Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) {\n return <TabsPrimitive.Root data-slot=\"tabs\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\nfunction TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n \"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>) {\n return <TabsPrimitive.Content data-slot=\"tabs-content\" className={cn('flex-1 outline-none', className)} {...props} />;\n}\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent };\n"],"
|
|
1
|
+
{"version":3,"file":"tabs.js","names":[],"sources":["../../src/elements/tabs.tsx"],"sourcesContent":["'use client';\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\n\nimport { cn } from '@/lib/utils';\n\nfunction Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) {\n return <TabsPrimitive.Root data-slot=\"tabs\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\nfunction TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n \"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>) {\n return <TabsPrimitive.Content data-slot=\"tabs-content\" className={cn('flex-1 outline-none', className)} {...props} />;\n}\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent };\n"],"mappings":";;;;AAMA,SAAS,KAAK,EAAE,cAAW,GAAG,KAA0D;AACtF,QAAO,oBAAC,cAAc,MAAA;EAAK,aAAU;EAAO,WAAW,GAAG,uBAAuB,EAAU;EAAE,GAAI;GAAS;;AAG5G,SAAS,SAAS,EAAE,cAAW,GAAG,KAA0D;AAC1F,QACE,oBAAC,cAAc,MAAA;EACb,aAAU;EACV,WAAW,GACT,uGACA,EACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,cAAW,GAAG,KAA6D;AAChG,QACE,oBAAC,cAAc,SAAA;EACb,aAAU;EACV,WAAW,GACT,mqBACA,EACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,cAAW,GAAG,KAA6D;AAChG,QAAO,oBAAC,cAAc,SAAA;EAAQ,aAAU;EAAe,WAAW,GAAG,uBAAuB,EAAU;EAAE,GAAI;GAAS"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use
|
|
2
|
-
//# sourceMappingURL=tooltip.cjs.map
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../_virtual/rolldown:runtime.cjs`),t=require(`../lib/utils.cjs`);let n=require(`@radix-ui/react-tooltip`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);function i({delayDuration:e=0,...t}){return(0,r.jsx)(n.Provider,{"data-slot":`tooltip-provider`,delayDuration:e,...t})}function a({...e}){return(0,r.jsx)(i,{children:(0,r.jsx)(n.Root,{"data-slot":`tooltip`,...e})})}function o({...e}){return(0,r.jsx)(n.Trigger,{"data-slot":`tooltip-trigger`,...e})}function s({className:e,sideOffset:i=0,children:a,...o}){return(0,r.jsx)(n.Portal,{children:(0,r.jsxs)(n.Content,{"data-slot":`tooltip-content`,sideOffset:i,className:t.cn(`bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance`,e),...o,children:[a,(0,r.jsx)(n.Arrow,{className:`bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]`})]})})}exports.Tooltip=a,exports.TooltipContent=s,exports.TooltipProvider=i,exports.TooltipTrigger=o;
|
|
2
|
+
//# sourceMappingURL=tooltip.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.cjs","sources":["../../src/elements/tooltip.tsx"],"sourcesContent":["'use client';\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\n\nimport { cn } from '@/lib/utils';\n\nfunction TooltipProvider({ delayDuration = 0, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" delayDuration={delayDuration} {...props} />;\n}\n\nfunction Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n );\n}\n\nfunction TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />;\n}\n\nfunction TooltipContent({\n className,\n sideOffset = 0,\n children,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Content>) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n 'bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance',\n className,\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n );\n}\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"
|
|
1
|
+
{"version":3,"file":"tooltip.cjs","names":[],"sources":["../../src/elements/tooltip.tsx"],"sourcesContent":["'use client';\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\n\nimport { cn } from '@/lib/utils';\n\nfunction TooltipProvider({ delayDuration = 0, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" delayDuration={delayDuration} {...props} />;\n}\n\nfunction Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n );\n}\n\nfunction TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />;\n}\n\nfunction TooltipContent({\n className,\n sideOffset = 0,\n children,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Content>) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n 'bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance',\n className,\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n );\n}\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"mappings":"6PAMA,SAAS,EAAgB,CAAE,gBAAgB,EAAG,GAAG,GAAiE,CAChH,OAAO,EAAA,EAAA,KAAC,EAAiB,SAAA,CAAS,YAAU,mBAAkC,gBAAe,GAAI,GAAS,CAG5G,SAAS,EAAQ,CAAE,GAAG,GAA6D,CACjF,OACE,EAAA,EAAA,KAAC,EAAA,CAAA,UACC,EAAA,EAAA,KAAC,EAAiB,KAAA,CAAK,YAAU,UAAU,GAAI,GAAS,CAAA,CACxC,CAItB,SAAS,EAAe,CAAE,GAAG,GAAgE,CAC3F,OAAO,EAAA,EAAA,KAAC,EAAiB,QAAA,CAAQ,YAAU,kBAAkB,GAAI,GAAS,CAG5E,SAAS,EAAe,CACtB,YACA,aAAa,EACb,WACA,GAAG,GACqD,CACxD,OACE,EAAA,EAAA,KAAC,EAAiB,OAAA,CAAA,UAChB,EAAA,EAAA,MAAC,EAAiB,QAAA,CAChB,YAAU,kBACE,aACZ,UAAW,EAAA,GACT,oaACA,EACD,CACD,GAAI,YAEH,GACD,EAAA,EAAA,KAAC,EAAiB,MAAA,CAAM,UAAU,qGAAA,CAAuG,CAAA,EAChH,CAAA,CACH"}
|
package/dist/elements/tooltip.js
CHANGED
|
@@ -1,42 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn } from "../lib/utils.js";
|
|
3
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
function TooltipProvider({ delayDuration: e = 0, ...r }) {
|
|
6
|
+
return /* @__PURE__ */ jsx(TooltipPrimitive.Provider, {
|
|
7
|
+
"data-slot": "tooltip-provider",
|
|
8
|
+
delayDuration: e,
|
|
9
|
+
...r
|
|
10
|
+
});
|
|
6
11
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
12
|
+
function Tooltip({ ...e }) {
|
|
13
|
+
return /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx(TooltipPrimitive.Root, {
|
|
14
|
+
"data-slot": "tooltip",
|
|
15
|
+
...e
|
|
16
|
+
}) });
|
|
9
17
|
}
|
|
10
|
-
function
|
|
11
|
-
|
|
18
|
+
function TooltipTrigger({ ...e }) {
|
|
19
|
+
return /* @__PURE__ */ jsx(TooltipPrimitive.Trigger, {
|
|
20
|
+
"data-slot": "tooltip-trigger",
|
|
21
|
+
...e
|
|
22
|
+
});
|
|
12
23
|
}
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
{
|
|
22
|
-
"data-slot": "tooltip-content",
|
|
23
|
-
sideOffset: r,
|
|
24
|
-
className: d(
|
|
25
|
-
"bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
|
26
|
-
t
|
|
27
|
-
),
|
|
28
|
-
...a,
|
|
29
|
-
children: [
|
|
30
|
-
e,
|
|
31
|
-
/* @__PURE__ */ i(o.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
) });
|
|
24
|
+
function TooltipContent({ className: i, sideOffset: a = 0, children: o, ...s }) {
|
|
25
|
+
return /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs(TooltipPrimitive.Content, {
|
|
26
|
+
"data-slot": "tooltip-content",
|
|
27
|
+
sideOffset: a,
|
|
28
|
+
className: cn("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", i),
|
|
29
|
+
...s,
|
|
30
|
+
children: [o, /* @__PURE__ */ jsx(TooltipPrimitive.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
|
|
31
|
+
}) });
|
|
35
32
|
}
|
|
36
|
-
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
l as TooltipProvider,
|
|
40
|
-
p as TooltipTrigger
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=tooltip.js.map
|
|
33
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=tooltip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sources":["../../src/elements/tooltip.tsx"],"sourcesContent":["'use client';\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\n\nimport { cn } from '@/lib/utils';\n\nfunction TooltipProvider({ delayDuration = 0, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" delayDuration={delayDuration} {...props} />;\n}\n\nfunction Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n );\n}\n\nfunction TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />;\n}\n\nfunction TooltipContent({\n className,\n sideOffset = 0,\n children,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Content>) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n 'bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance',\n className,\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n );\n}\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"
|
|
1
|
+
{"version":3,"file":"tooltip.js","names":[],"sources":["../../src/elements/tooltip.tsx"],"sourcesContent":["'use client';\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\n\nimport { cn } from '@/lib/utils';\n\nfunction TooltipProvider({ delayDuration = 0, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" delayDuration={delayDuration} {...props} />;\n}\n\nfunction Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n );\n}\n\nfunction TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />;\n}\n\nfunction TooltipContent({\n className,\n sideOffset = 0,\n children,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Content>) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n 'bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance',\n className,\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n );\n}\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"mappings":";;;;AAMA,SAAS,gBAAgB,EAAE,mBAAgB,GAAG,GAAG,KAAiE;AAChH,QAAO,oBAAC,iBAAiB,UAAA;EAAS,aAAU;EAAkC;EAAe,GAAI;GAAS;;AAG5G,SAAS,QAAQ,EAAE,GAAG,KAA6D;AACjF,QACE,oBAAC,iBAAA,EAAA,UACC,oBAAC,iBAAiB,MAAA;EAAK,aAAU;EAAU,GAAI;GAAS,EAAA,CACxC;;AAItB,SAAS,eAAe,EAAE,GAAG,KAAgE;AAC3F,QAAO,oBAAC,iBAAiB,SAAA;EAAQ,aAAU;EAAkB,GAAI;GAAS;;AAG5E,SAAS,eAAe,EACtB,cACA,gBAAa,GACb,aACA,GAAG,KACqD;AACxD,QACE,oBAAC,iBAAiB,QAAA,EAAA,UAChB,qBAAC,iBAAiB,SAAA;EAChB,aAAU;EACE;EACZ,WAAW,GACT,qaACA,EACD;EACD,GAAI;aAEH,GACD,oBAAC,iBAAiB,OAAA,EAAM,WAAU,sGAAA,CAAuG,CAAA;GAChH,EAAA,CACH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=use-mobile.cjs.map
|
|
1
|
+
const e=require(`../_virtual/rolldown:runtime.cjs`);let t=require(`react`);var n=768;function r(){let[e,r]=(0,t.useState)(void 0);return(0,t.useEffect)(()=>{let e=window.matchMedia(`(max-width: ${n-1}px)`),t=()=>{r(window.innerWidth<n)};return e.addEventListener(`change`,t),r(window.innerWidth<n),()=>e.removeEventListener(`change`,t)},[]),!!e}exports.useIsMobile=r;
|
|
2
|
+
//# sourceMappingURL=use-mobile.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-mobile.cjs","sources":["../../src/hooks/use-mobile.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nconst MOBILE_BREAKPOINT = 768;\n\nexport function useIsMobile() {\n const [isMobile, setIsMobile] = useState<boolean | undefined>(undefined);\n\n useEffect(() => {\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);\n const onChange = () => {\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n };\n mql.addEventListener('change', onChange);\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n return () => mql.removeEventListener('change', onChange);\n }, []);\n\n return !!isMobile;\n}\n"],"
|
|
1
|
+
{"version":3,"file":"use-mobile.cjs","names":[],"sources":["../../src/hooks/use-mobile.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nconst MOBILE_BREAKPOINT = 768;\n\nexport function useIsMobile() {\n const [isMobile, setIsMobile] = useState<boolean | undefined>(undefined);\n\n useEffect(() => {\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);\n const onChange = () => {\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n };\n mql.addEventListener('change', onChange);\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n return () => mql.removeEventListener('change', onChange);\n }, []);\n\n return !!isMobile;\n}\n"],"mappings":"2EAEA,IAAM,EAAoB,IAE1B,SAAgB,GAAc,CAC5B,GAAM,CAAC,EAAU,IAAA,EAAA,EAAA,UAA6C,IAAA,GAAU,CAYxE,OAVA,EAAA,EAAA,eAAgB,CACd,IAAM,EAAM,OAAO,WAAW,eAAe,EAAoB,EAAE,KAAK,CAClE,MAAiB,CACrB,EAAY,OAAO,WAAa,EAAkB,EAIpD,OAFA,EAAI,iBAAiB,SAAU,EAAS,CACxC,EAAY,OAAO,WAAa,EAAkB,KACrC,EAAI,oBAAoB,SAAU,EAAS,EACvD,EAAE,CAAC,CAEC,CAAC,CAAC"}
|
package/dist/hooks/use-mobile.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
var MOBILE_BREAKPOINT = 768;
|
|
3
|
+
function useIsMobile() {
|
|
4
|
+
let [r, i] = useState(void 0);
|
|
5
|
+
return useEffect(() => {
|
|
6
|
+
let e = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`), n = () => {
|
|
7
|
+
i(window.innerWidth < MOBILE_BREAKPOINT);
|
|
8
|
+
};
|
|
9
|
+
return e.addEventListener("change", n), i(window.innerWidth < MOBILE_BREAKPOINT), () => e.removeEventListener("change", n);
|
|
10
|
+
}, []), !!r;
|
|
11
11
|
}
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=use-mobile.js.map
|
|
12
|
+
export { useIsMobile };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=use-mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-mobile.js","sources":["../../src/hooks/use-mobile.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nconst MOBILE_BREAKPOINT = 768;\n\nexport function useIsMobile() {\n const [isMobile, setIsMobile] = useState<boolean | undefined>(undefined);\n\n useEffect(() => {\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);\n const onChange = () => {\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n };\n mql.addEventListener('change', onChange);\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n return () => mql.removeEventListener('change', onChange);\n }, []);\n\n return !!isMobile;\n}\n"],"
|
|
1
|
+
{"version":3,"file":"use-mobile.js","names":[],"sources":["../../src/hooks/use-mobile.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nconst MOBILE_BREAKPOINT = 768;\n\nexport function useIsMobile() {\n const [isMobile, setIsMobile] = useState<boolean | undefined>(undefined);\n\n useEffect(() => {\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);\n const onChange = () => {\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n };\n mql.addEventListener('change', onChange);\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n return () => mql.removeEventListener('change', onChange);\n }, []);\n\n return !!isMobile;\n}\n"],"mappings":";AAEA,IAAM,oBAAoB;AAE1B,SAAgB,cAAc;CAC5B,IAAM,CAAC,GAAU,KAAe,SAA8B,KAAA,EAAU;AAYxE,QAVA,gBAAgB;EACd,IAAM,IAAM,OAAO,WAAW,eAAe,oBAAoB,EAAE,KAAK,EAClE,UAAiB;AACrB,KAAY,OAAO,aAAa,kBAAkB;;AAIpD,SAFA,EAAI,iBAAiB,UAAU,EAAS,EACxC,EAAY,OAAO,aAAa,kBAAkB,QACrC,EAAI,oBAAoB,UAAU,EAAS;IACvD,EAAE,CAAC,EAEC,CAAC,CAAC"}
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/dist/lib/utils.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=utils.cjs.map
|
|
1
|
+
const e=require(`../_virtual/rolldown:runtime.cjs`);let t=require(`clsx`),n=require(`tailwind-merge`);function r(...e){return(0,n.twMerge)((0,t.clsx)(e))}exports.cn=r;
|
|
2
|
+
//# sourceMappingURL=utils.cjs.map
|
package/dist/lib/utils.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.cjs","sources":["../../src/lib/utils.ts"],"sourcesContent":["// Copyright 2024-2025 Andres Morey\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"
|
|
1
|
+
{"version":3,"file":"utils.cjs","names":[],"sources":["../../src/lib/utils.ts"],"sourcesContent":["// Copyright 2024-2025 Andres Morey\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"mappings":"sGAiBA,SAAgB,EAAG,GAAG,EAAsB,CAC1C,OAAA,EAAA,EAAA,UAAA,EAAA,EAAA,MAAoB,EAAO,CAAC"}
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { clsx
|
|
2
|
-
import { twMerge
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
function cn(...n) {
|
|
4
|
+
return twMerge(clsx(n));
|
|
5
5
|
}
|
|
6
|
-
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=utils.js.map
|
|
6
|
+
export { cn };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=utils.js.map
|
package/dist/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../src/lib/utils.ts"],"sourcesContent":["// Copyright 2024-2025 Andres Morey\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"
|
|
1
|
+
{"version":3,"file":"utils.js","names":[],"sources":["../../src/lib/utils.ts"],"sourcesContent":["// Copyright 2024-2025 Andres Morey\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"mappings":";;AAiBA,SAAgB,GAAG,GAAG,GAAsB;AAC1C,QAAO,QAAQ,KAAK,EAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubetail/ui",
|
|
3
|
-
"version": "v2.0.
|
|
3
|
+
"version": "v2.0.4-rc1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -85,69 +85,69 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@chromatic-com/storybook": "^4.
|
|
89
|
-
"@eslint/compat": "^
|
|
90
|
-
"@eslint/js": "^9.
|
|
91
|
-
"@fontsource-variable/roboto-flex": "^5.2.
|
|
92
|
-
"@microsoft/api-extractor": "^7.
|
|
88
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
89
|
+
"@eslint/compat": "^2.0.0",
|
|
90
|
+
"@eslint/js": "^9.39.1",
|
|
91
|
+
"@fontsource-variable/roboto-flex": "^5.2.8",
|
|
92
|
+
"@microsoft/api-extractor": "^7.55.2",
|
|
93
93
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
94
94
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
95
95
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
96
|
-
"@radix-ui/react-label": "^2.1.
|
|
96
|
+
"@radix-ui/react-label": "^2.1.8",
|
|
97
97
|
"@radix-ui/react-popover": "^1.1.15",
|
|
98
98
|
"@radix-ui/react-select": "^2.2.6",
|
|
99
|
-
"@radix-ui/react-separator": "^1.1.
|
|
100
|
-
"@radix-ui/react-slot": "^1.2.
|
|
99
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
100
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
101
101
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
102
102
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
103
|
-
"@storybook/addon-docs": "^
|
|
104
|
-
"@storybook/addon-links": "^
|
|
105
|
-
"@storybook/addon-themes": "^
|
|
106
|
-
"@storybook/builder-vite": "^
|
|
107
|
-
"@storybook/react-vite": "^
|
|
103
|
+
"@storybook/addon-docs": "^10.1.4",
|
|
104
|
+
"@storybook/addon-links": "^10.1.4",
|
|
105
|
+
"@storybook/addon-themes": "^10.1.4",
|
|
106
|
+
"@storybook/builder-vite": "^10.1.4",
|
|
107
|
+
"@storybook/react-vite": "^10.1.4",
|
|
108
108
|
"@stylistic/eslint-plugin": "^3.1.0",
|
|
109
|
-
"@tailwindcss/vite": "^4.1.
|
|
110
|
-
"@testing-library/jest-dom": "^6.
|
|
109
|
+
"@tailwindcss/vite": "^4.1.17",
|
|
110
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
111
111
|
"@testing-library/react": "^16.3.0",
|
|
112
|
-
"@types/node": "^24.
|
|
113
|
-
"@types/react": "^19.
|
|
114
|
-
"@types/react-dom": "^19.
|
|
112
|
+
"@types/node": "^24.10.1",
|
|
113
|
+
"@types/react": "^19.2.5",
|
|
114
|
+
"@types/react-dom": "^19.2.3",
|
|
115
115
|
"@types/rollup-plugin-auto-external": "^2.0.5",
|
|
116
|
-
"@vitejs/plugin-react
|
|
117
|
-
"@vueless/storybook-dark-mode": "^
|
|
118
|
-
"eslint": "^9.
|
|
119
|
-
"eslint-config-airbnb-extended": "^2.
|
|
120
|
-
"eslint-config-prettier": "^10.1.
|
|
116
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
117
|
+
"@vueless/storybook-dark-mode": "^10.0.4",
|
|
118
|
+
"eslint": "^9.39.1",
|
|
119
|
+
"eslint-config-airbnb-extended": "^2.3.3",
|
|
120
|
+
"eslint-config-prettier": "^10.1.8",
|
|
121
121
|
"eslint-import-resolver-typescript": "^4.4.3",
|
|
122
122
|
"eslint-plugin-import-x": "^4.15.2",
|
|
123
123
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
124
|
-
"eslint-plugin-prettier": "^5.4
|
|
124
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
125
125
|
"eslint-plugin-react": "^7.37.5",
|
|
126
|
-
"eslint-plugin-react-hooks": "^
|
|
127
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
128
|
-
"glob": "^
|
|
129
|
-
"globals": "^16.
|
|
130
|
-
"jsdom": "^
|
|
131
|
-
"lucide-react": "^0.
|
|
132
|
-
"prettier": "^3.
|
|
133
|
-
"react-day-picker": "^9.
|
|
126
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
127
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
128
|
+
"glob": "^13.0.0",
|
|
129
|
+
"globals": "^16.5.0",
|
|
130
|
+
"jsdom": "^27.2.0",
|
|
131
|
+
"lucide-react": "^0.556.0",
|
|
132
|
+
"prettier": "^3.7.4",
|
|
133
|
+
"react-day-picker": "^9.12.0",
|
|
134
134
|
"react-docgen-typescript": "^2.4.0",
|
|
135
|
-
"react-hook-form": "^7.
|
|
135
|
+
"react-hook-form": "^7.68.0",
|
|
136
136
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
137
137
|
"rollup-plugin-copy": "^3.5.0",
|
|
138
|
-
"storybook": "^
|
|
138
|
+
"storybook": "^10.1.4",
|
|
139
139
|
"tslib": "^2.8.1",
|
|
140
|
-
"typescript": "5.
|
|
141
|
-
"typescript-eslint": "^8.
|
|
142
|
-
"unplugin-dts": "1.0.0-beta.
|
|
143
|
-
"unplugin-fonts": "^1.
|
|
144
|
-
"vite": "^
|
|
145
|
-
"vitest": "^
|
|
140
|
+
"typescript": "~5.9.3",
|
|
141
|
+
"typescript-eslint": "^8.46.4",
|
|
142
|
+
"unplugin-dts": "1.0.0-beta.6",
|
|
143
|
+
"unplugin-fonts": "^1.4.0",
|
|
144
|
+
"vite": "^7.2.7",
|
|
145
|
+
"vitest": "^4.0.15"
|
|
146
146
|
},
|
|
147
147
|
"dependencies": {
|
|
148
148
|
"class-variance-authority": "^0.7.1",
|
|
149
149
|
"clsx": "^2.1.1",
|
|
150
|
-
"tailwind-merge": "^3.
|
|
150
|
+
"tailwind-merge": "^3.4.0"
|
|
151
151
|
},
|
|
152
152
|
"scripts": {
|
|
153
153
|
"dev": "vite",
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|