@incognia/cosmik 0.41.0 → 0.42.0-beta.1
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/VerticalNavigationMenu/index.d.ts +10 -1
- package/dist/VerticalNavigationMenu/index.d.ts.map +1 -1
- package/dist/cosmik.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +74 -71
- package/dist/index38.cjs +1 -1
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +102 -45
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +3 -3
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +3 -3
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +2 -4
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +9 -1
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +28 -103
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +19 -1
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +598 -33
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +2 -2
- package/dist/index48.cjs +1 -9
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +2 -30
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +1 -19
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +3 -598
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +105 -2
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +1 -1
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +34 -151
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +1 -1
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +2 -16
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +1 -1
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +150 -341
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +13 -42
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +342 -2
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +1 -1
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +45 -2
- package/dist/index56.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import "./index2.js";
|
|
2
|
-
import { default as
|
|
2
|
+
import { default as r } from "./index3.js";
|
|
3
3
|
import { default as n } from "./index4.js";
|
|
4
|
-
import { Alert as l, AlertDescription as p, AlertTitle as
|
|
5
|
-
import { AlertDialog as u, AlertDialogAction as d, AlertDialogCancel as x, AlertDialogContent as
|
|
4
|
+
import { Alert as l, AlertDescription as p, AlertTitle as g } from "./index5.js";
|
|
5
|
+
import { AlertDialog as u, AlertDialogAction as d, AlertDialogCancel as x, AlertDialogContent as S, AlertDialogDescription as T, AlertDialogFooter as D, AlertDialogHeader as f, AlertDialogTitle as C, AlertDialogTrigger as c } from "./index6.js";
|
|
6
6
|
import { Badge as b, badgeVariants as M } from "./index7.js";
|
|
7
7
|
import { Button as P, buttonVariants as h } from "./index8.js";
|
|
8
8
|
import { Calendar as A } from "./index9.js";
|
|
9
|
-
import { Card as
|
|
10
|
-
import { Checkbox as
|
|
9
|
+
import { Card as V, CardContent as I, CardDescription as y, CardFooter as N, CardHeader as B, CardTitle as F } from "./index10.js";
|
|
10
|
+
import { Checkbox as H } from "./index11.js";
|
|
11
11
|
import { Command as k, CommandDialog as E, CommandEmpty as O, CommandGroup as U, CommandInput as j, CommandItem as q, CommandList as z, CommandSeparator as J, CommandShortcut as K } from "./index12.js";
|
|
12
|
-
import { Dialog as W, DialogContent as X, DialogDescription as Y, DialogFooter as Z, DialogHeader as _, DialogOverlay as $, DialogPortal as oo, DialogTitle as eo, DialogTrigger as
|
|
13
|
-
import { DropdownMenu as ao, DropdownMenuCheckboxItem as no, DropdownMenuContent as io, DropdownMenuGroup as lo, DropdownMenuItem as po, DropdownMenuLabel as
|
|
12
|
+
import { Dialog as W, DialogContent as X, DialogDescription as Y, DialogFooter as Z, DialogHeader as _, DialogOverlay as $, DialogPortal as oo, DialogTitle as eo, DialogTrigger as to } from "./index13.js";
|
|
13
|
+
import { DropdownMenu as ao, DropdownMenuCheckboxItem as no, DropdownMenuContent as io, DropdownMenuGroup as lo, DropdownMenuItem as po, DropdownMenuLabel as go, DropdownMenuPortal as mo, DropdownMenuRadioGroup as uo, DropdownMenuRadioItem as xo, DropdownMenuSeparator as So, DropdownMenuShortcut as To, DropdownMenuSub as Do, DropdownMenuSubContent as fo, DropdownMenuSubTrigger as Co, DropdownMenuTrigger as co } from "./index14.js";
|
|
14
14
|
import { Filter as bo } from "./index15.js";
|
|
15
15
|
import { FilterBar as wo, FilterBarContent as Po, FilterBarScrollableContent as ho } from "./index16.js";
|
|
16
16
|
import { Input as Ao } from "./index17.js";
|
|
17
|
-
import { Label as
|
|
18
|
-
import { Layout as
|
|
17
|
+
import { Label as Vo } from "./index18.js";
|
|
18
|
+
import { Layout as yo, LayoutContent as No, LayoutMain as Bo, LayoutScrollableContent as Fo, LayoutSidebar as Go, LayoutTopbar as Ho } from "./index19.js";
|
|
19
19
|
import { Loading as ko } from "./index20.js";
|
|
20
20
|
import { Pagination as Oo, PaginationButton as Uo, PaginationContent as jo, PaginationEllipsis as qo, PaginationItem as zo, PaginationNext as Jo, PaginationPrevious as Ko } from "./index21.js";
|
|
21
21
|
import { Popover as Wo, PopoverAnchor as Xo, PopoverContent as Yo, PopoverTrigger as Zo } from "./index22.js";
|
|
22
22
|
import { Progress as $o } from "./index23.js";
|
|
23
|
-
import { RadioGroup as ee, RadioGroupItem as
|
|
24
|
-
import { Select as ae, SelectContent as ne, SelectGroup as ie, SelectItem as le, SelectLabel as pe, SelectScrollDownButton as
|
|
23
|
+
import { RadioGroup as ee, RadioGroupItem as te } from "./index24.js";
|
|
24
|
+
import { Select as ae, SelectContent as ne, SelectGroup as ie, SelectItem as le, SelectLabel as pe, SelectScrollDownButton as ge, SelectScrollUpButton as me, SelectSeparator as ue, SelectTrigger as de, SelectValue as xe } from "./index25.js";
|
|
25
25
|
import { Separator as Te } from "./index26.js";
|
|
26
|
-
import { Sheet as
|
|
26
|
+
import { Sheet as fe, SheetClose as Ce, SheetContent as ce, SheetDescription as se, SheetFooter as be, SheetHeader as Me, SheetOverlay as we, SheetPortal as Pe, SheetTitle as he, SheetTrigger as ve } from "./index27.js";
|
|
27
27
|
import { Skeleton as Le } from "./index28.js";
|
|
28
|
-
import { toast as
|
|
29
|
-
import { Toaster as
|
|
30
|
-
import { Switch as
|
|
31
|
-
import { Table as
|
|
28
|
+
import { toast as Ie } from "sonner";
|
|
29
|
+
import { Toaster as Ne } from "./index29.js";
|
|
30
|
+
import { Switch as Fe } from "./index30.js";
|
|
31
|
+
import { Table as He, TableBody as Re, TableCaption as ke, TableCell as Ee, TableFooter as Oe, TableHead as Ue, TableHeader as je, TableRow as qe } from "./index31.js";
|
|
32
32
|
import { Tabs as Je, TabsContent as Ke, TabsList as Qe, TabsTrigger as We } from "./index32.js";
|
|
33
33
|
import { TagInput as Ye } from "./index33.js";
|
|
34
34
|
import { Textarea as _e } from "./index34.js";
|
|
35
|
-
import { Toggle as
|
|
36
|
-
import { ToggleGroup as
|
|
37
|
-
import { Tooltip as
|
|
38
|
-
import { VerticalNavigationMenu as
|
|
35
|
+
import { Toggle as ot, toggleVariants as et } from "./index35.js";
|
|
36
|
+
import { ToggleGroup as rt, ToggleGroupItem as at } from "./index36.js";
|
|
37
|
+
import { Tooltip as it, TooltipContent as lt, TooltipPortal as pt, TooltipProvider as gt, TooltipTrigger as mt } from "./index37.js";
|
|
38
|
+
import { VerticalNavigationMenu as dt, VerticalNavigationMenuHeading as xt, VerticalNavigationMenuItem as St, VerticalNavigationMenuLink as Tt, VerticalNavigationMenuList as Dt, VerticalNavigationMenuSeparator as ft, VerticalNavigationMenuSub as Ct, VerticalNavigationMenuSubContent as ct, VerticalNavigationMenuSubTrigger as st } from "./index38.js";
|
|
39
39
|
export {
|
|
40
40
|
l as Alert,
|
|
41
41
|
p as AlertDescription,
|
|
42
42
|
u as AlertDialog,
|
|
43
43
|
d as AlertDialogAction,
|
|
44
44
|
x as AlertDialogCancel,
|
|
45
|
-
|
|
45
|
+
S as AlertDialogContent,
|
|
46
46
|
T as AlertDialogDescription,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
D as AlertDialogFooter,
|
|
48
|
+
f as AlertDialogHeader,
|
|
49
|
+
C as AlertDialogTitle,
|
|
50
50
|
c as AlertDialogTrigger,
|
|
51
|
-
|
|
51
|
+
g as AlertTitle,
|
|
52
52
|
b as Badge,
|
|
53
53
|
P as Button,
|
|
54
54
|
A as Calendar,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
V as Card,
|
|
56
|
+
I as CardContent,
|
|
57
|
+
y as CardDescription,
|
|
58
|
+
N as CardFooter,
|
|
59
|
+
B as CardHeader,
|
|
60
|
+
F as CardTitle,
|
|
61
|
+
H as Checkbox,
|
|
62
|
+
r as Colors,
|
|
63
63
|
k as Command,
|
|
64
64
|
E as CommandDialog,
|
|
65
65
|
O as CommandEmpty,
|
|
@@ -77,34 +77,34 @@ export {
|
|
|
77
77
|
$ as DialogOverlay,
|
|
78
78
|
oo as DialogPortal,
|
|
79
79
|
eo as DialogTitle,
|
|
80
|
-
|
|
80
|
+
to as DialogTrigger,
|
|
81
81
|
ao as DropdownMenu,
|
|
82
82
|
no as DropdownMenuCheckboxItem,
|
|
83
83
|
io as DropdownMenuContent,
|
|
84
84
|
lo as DropdownMenuGroup,
|
|
85
85
|
po as DropdownMenuItem,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
go as DropdownMenuLabel,
|
|
87
|
+
mo as DropdownMenuPortal,
|
|
88
88
|
uo as DropdownMenuRadioGroup,
|
|
89
89
|
xo as DropdownMenuRadioItem,
|
|
90
|
-
|
|
90
|
+
So as DropdownMenuSeparator,
|
|
91
91
|
To as DropdownMenuShortcut,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
Do as DropdownMenuSub,
|
|
93
|
+
fo as DropdownMenuSubContent,
|
|
94
|
+
Co as DropdownMenuSubTrigger,
|
|
95
95
|
co as DropdownMenuTrigger,
|
|
96
96
|
bo as Filter,
|
|
97
97
|
wo as FilterBar,
|
|
98
98
|
Po as FilterBarContent,
|
|
99
99
|
ho as FilterBarScrollableContent,
|
|
100
100
|
Ao as Input,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
101
|
+
Vo as Label,
|
|
102
|
+
yo as Layout,
|
|
103
|
+
No as LayoutContent,
|
|
104
|
+
Bo as LayoutMain,
|
|
105
|
+
Fo as LayoutScrollableContent,
|
|
106
|
+
Go as LayoutSidebar,
|
|
107
|
+
Ho as LayoutTopbar,
|
|
108
108
|
ko as Loading,
|
|
109
109
|
Oo as Pagination,
|
|
110
110
|
Uo as PaginationButton,
|
|
@@ -119,20 +119,20 @@ export {
|
|
|
119
119
|
Zo as PopoverTrigger,
|
|
120
120
|
$o as Progress,
|
|
121
121
|
ee as RadioGroup,
|
|
122
|
-
|
|
122
|
+
te as RadioGroupItem,
|
|
123
123
|
ae as Select,
|
|
124
124
|
ne as SelectContent,
|
|
125
125
|
ie as SelectGroup,
|
|
126
126
|
le as SelectItem,
|
|
127
127
|
pe as SelectLabel,
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
ge as SelectScrollDownButton,
|
|
129
|
+
me as SelectScrollUpButton,
|
|
130
130
|
ue as SelectSeparator,
|
|
131
131
|
de as SelectTrigger,
|
|
132
132
|
xe as SelectValue,
|
|
133
133
|
Te as Separator,
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
fe as Sheet,
|
|
135
|
+
Ce as SheetClose,
|
|
136
136
|
ce as SheetContent,
|
|
137
137
|
se as SheetDescription,
|
|
138
138
|
be as SheetFooter,
|
|
@@ -142,9 +142,9 @@ export {
|
|
|
142
142
|
he as SheetTitle,
|
|
143
143
|
ve as SheetTrigger,
|
|
144
144
|
Le as Skeleton,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
Ne as Sonner,
|
|
146
|
+
Fe as Switch,
|
|
147
|
+
He as Table,
|
|
148
148
|
Re as TableBody,
|
|
149
149
|
ke as TableCaption,
|
|
150
150
|
Ee as TableCell,
|
|
@@ -158,24 +158,27 @@ export {
|
|
|
158
158
|
We as TabsTrigger,
|
|
159
159
|
Ye as TagInput,
|
|
160
160
|
_e as Textarea,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
161
|
+
ot as Toggle,
|
|
162
|
+
rt as ToggleGroup,
|
|
163
|
+
at as ToggleGroupItem,
|
|
164
|
+
it as Tooltip,
|
|
165
|
+
lt as TooltipContent,
|
|
166
|
+
pt as TooltipPortal,
|
|
167
|
+
gt as TooltipProvider,
|
|
168
|
+
mt as TooltipTrigger,
|
|
169
|
+
dt as VerticalNavigationMenu,
|
|
170
|
+
xt as VerticalNavigationMenuHeading,
|
|
171
|
+
St as VerticalNavigationMenuItem,
|
|
172
|
+
Tt as VerticalNavigationMenuLink,
|
|
173
|
+
Dt as VerticalNavigationMenuList,
|
|
174
|
+
ft as VerticalNavigationMenuSeparator,
|
|
175
|
+
Ct as VerticalNavigationMenuSub,
|
|
176
|
+
ct as VerticalNavigationMenuSubContent,
|
|
177
|
+
st as VerticalNavigationMenuSubTrigger,
|
|
175
178
|
M as badgeVariants,
|
|
176
179
|
h as buttonVariants,
|
|
177
|
-
|
|
180
|
+
Ie as sonnerToast,
|
|
178
181
|
n as tailwindTheme,
|
|
179
|
-
|
|
182
|
+
et as toggleVariants
|
|
180
183
|
};
|
|
181
184
|
//# sourceMappingURL=index.js.map
|
package/dist/index38.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index40.cjs"),j=require("@radix-ui/react-collapsible"),b=require("@radix-ui/react-navigation-menu"),y=require("lucide-react"),R=require("react"),M=require("./index26.cjs"),n=require("./index41.cjs");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const c=u(j),r=u(b),s=u(R),p=s.forwardRef((e,t)=>i.jsxRuntimeExports.jsx(r.Root,{ref:t,orientation:"vertical",...e}));p.displayName=r.Root.displayName;const x=s.forwardRef(({className:e,...t},a)=>i.jsxRuntimeExports.jsx(r.List,{ref:a,className:n.cn("group flex flex-col list-none pb-12 gap-4",e),...t}));x.displayName=r.List.displayName;function V({className:e,...t}){return i.jsxRuntimeExports.jsx("div",{className:n.cn("flex items-start justify-start text-sm text-gray-600 mt-16 mb-2 px-12",e),...t})}function h({...e}){return i.jsxRuntimeExports.jsx(M.Separator,{...e})}const m=s.forwardRef(({className:e,...t},a)=>i.jsxRuntimeExports.jsx(r.Item,{ref:a,className:n.cn("w-full",e),...t}));m.displayName=r.Item.displayName;const g=s.forwardRef(({className:e,...t},a)=>i.jsxRuntimeExports.jsx(r.Link,{ref:a,className:n.cn("flex justify-start px-12 py-[8px] w-full font-normal text-gray-900 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 data-[active]:bg-purple-900 hover:data-[active]:bg-purple-900 data-[active]:text-white rounded",e),...t}));g.displayName=r.Link.displayName;const d=s.forwardRef(({className:e,...t},a)=>i.jsxRuntimeExports.jsx(c.Root,{ref:a,className:n.cn("w-full",e),...t}));d.displayName="VerticalNavigationMenuSub";const f=s.forwardRef(({className:e,children:t,icon:a,chevron:o=!0,...l},N)=>i.jsxRuntimeExports.jsx(c.Trigger,{ref:N,className:n.cn("group/subtrigger flex justify-start items-center px-12 py-[8px] w-full font-normal text-gray-900 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 rounded",e),...l,children:i.jsxRuntimeExports.jsxs("span",{className:"flex w-full items-center justify-between",children:[i.jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-x-4",children:[a?i.jsxRuntimeExports.jsx("span",{className:"shrink-0",children:a}):null,i.jsxRuntimeExports.jsx("span",{className:"text-left",children:t})]}),o?i.jsxRuntimeExports.jsx(y.ChevronRight,{"aria-hidden":"true",className:"h-16 w-16 shrink-0 text-gray-600 transition-transform duration-200 group-data-[state=open]/subtrigger:rotate-90"}):null]})}));f.displayName="VerticalNavigationMenuSubTrigger";const v=s.forwardRef(({className:e,indentClassName:t="mx-24 px-8 py-4 border-l border-gray-900-8",children:a,...o},l)=>i.jsxRuntimeExports.jsx(c.Content,{ref:l,className:n.cn("overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...o,children:i.jsxRuntimeExports.jsx("div",{className:n.cn("",t),children:a})}));v.displayName="VerticalNavigationMenuSubContent";exports.VerticalNavigationMenu=p;exports.VerticalNavigationMenuHeading=V;exports.VerticalNavigationMenuItem=m;exports.VerticalNavigationMenuLink=g;exports.VerticalNavigationMenuList=x;exports.VerticalNavigationMenuSeparator=h;exports.VerticalNavigationMenuSub=d;exports.VerticalNavigationMenuSubContent=v;exports.VerticalNavigationMenuSubTrigger=f;
|
|
2
2
|
//# sourceMappingURL=index38.cjs.map
|
package/dist/index38.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index38.cjs","sources":["../src/VerticalNavigationMenu/index.tsx"],"sourcesContent":["import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport * as React from 'react'\nimport { Separator } from '../Separator'\nimport { cn } from '../lib/utils'\n\nconst VerticalNavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>((props, ref) => (\n <NavigationMenuPrimitive.Root ref={ref} orientation=\"vertical\" {...props} />\n))\nVerticalNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName\n\nconst VerticalNavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn(
|
|
1
|
+
{"version":3,"file":"index38.cjs","sources":["../src/VerticalNavigationMenu/index.tsx"],"sourcesContent":["import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport { ChevronRight } from 'lucide-react'\nimport * as React from 'react'\nimport { Separator } from '../Separator'\nimport { cn } from '../lib/utils'\n\nconst VerticalNavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>((props, ref) => (\n <NavigationMenuPrimitive.Root ref={ref} orientation=\"vertical\" {...props} />\n))\nVerticalNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName\n\nconst VerticalNavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-col list-none pb-12 gap-4', className)}\n {...props}\n />\n))\nVerticalNavigationMenuList.displayName =\n NavigationMenuPrimitive.List.displayName\n\nfunction VerticalNavigationMenuHeading({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n className={cn(\n 'flex items-start justify-start text-sm text-gray-600 mt-16 mb-2 px-12',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction VerticalNavigationMenuSeparator({\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return <Separator {...props} />\n}\n\nconst VerticalNavigationMenuItem = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Item\n ref={ref}\n className={cn('w-full', className)}\n {...props}\n />\n))\nVerticalNavigationMenuItem.displayName =\n NavigationMenuPrimitive.Item.displayName\n\nconst VerticalNavigationMenuLink = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Link>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Link\n ref={ref}\n className={cn(\n 'flex justify-start px-12 py-[8px] w-full font-normal text-gray-900 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 data-[active]:bg-purple-900 hover:data-[active]:bg-purple-900 data-[active]:text-white rounded',\n className\n )}\n {...props}\n />\n))\nVerticalNavigationMenuLink.displayName =\n NavigationMenuPrimitive.Link.displayName\n\nconst VerticalNavigationMenuSub = React.forwardRef<\n React.ElementRef<typeof CollapsiblePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CollapsiblePrimitive.Root\n ref={ref}\n className={cn('w-full', className)}\n {...props}\n />\n))\nVerticalNavigationMenuSub.displayName = 'VerticalNavigationMenuSub'\n\ntype SubTriggerProps = React.ComponentPropsWithoutRef<\n typeof CollapsiblePrimitive.Trigger\n> & {\n icon?: React.ReactNode\n chevron?: boolean\n}\n\nconst VerticalNavigationMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof CollapsiblePrimitive.Trigger>,\n SubTriggerProps\n>(({ className, children, icon, chevron = true, ...props }, ref) => (\n <CollapsiblePrimitive.Trigger\n ref={ref}\n className={cn(\n 'group/subtrigger flex justify-start items-center px-12 py-[8px] w-full font-normal text-gray-900 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 rounded',\n className\n )}\n {...props}\n >\n <span className=\"flex w-full items-center justify-between\">\n <span className=\"flex items-center gap-x-4\">\n {icon ? <span className=\"shrink-0\">{icon}</span> : null}\n <span className=\"text-left\">{children}</span>\n </span>\n\n {chevron ? (\n <ChevronRight\n aria-hidden=\"true\"\n className=\"h-16 w-16 shrink-0 text-gray-600 transition-transform duration-200 group-data-[state=open]/subtrigger:rotate-90\"\n />\n ) : null}\n </span>\n </CollapsiblePrimitive.Trigger>\n))\nVerticalNavigationMenuSubTrigger.displayName =\n 'VerticalNavigationMenuSubTrigger'\n\ntype SubContentProps = React.ComponentPropsWithoutRef<\n typeof CollapsiblePrimitive.Content\n> & {\n indentClassName?: string\n}\n\nconst VerticalNavigationMenuSubContent = React.forwardRef<\n React.ElementRef<typeof CollapsiblePrimitive.Content>,\n SubContentProps\n>(\n (\n {\n className,\n indentClassName = 'mx-24 px-8 py-4 border-l border-gray-900-8',\n children,\n ...props\n },\n ref\n ) => (\n <CollapsiblePrimitive.Content\n ref={ref}\n className={cn(\n 'overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down',\n className\n )}\n {...props}\n >\n <div className={cn('', indentClassName)}>{children}</div>\n </CollapsiblePrimitive.Content>\n )\n)\nVerticalNavigationMenuSubContent.displayName =\n 'VerticalNavigationMenuSubContent'\n\nexport {\n VerticalNavigationMenu,\n VerticalNavigationMenuHeading,\n VerticalNavigationMenuItem,\n VerticalNavigationMenuLink,\n VerticalNavigationMenuList,\n VerticalNavigationMenuSeparator,\n VerticalNavigationMenuSub,\n VerticalNavigationMenuSubTrigger,\n VerticalNavigationMenuSubContent\n}\n"],"names":["VerticalNavigationMenu","React","props","ref","jsx","NavigationMenuPrimitive","VerticalNavigationMenuList","className","cn","VerticalNavigationMenuHeading","VerticalNavigationMenuSeparator","Separator","VerticalNavigationMenuItem","VerticalNavigationMenuLink","VerticalNavigationMenuSub","CollapsiblePrimitive","VerticalNavigationMenuSubTrigger","children","icon","chevron","jsxs","ChevronRight","VerticalNavigationMenuSubContent","indentClassName"],"mappings":"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"}
|
package/dist/index38.js
CHANGED
|
@@ -1,68 +1,125 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
1
|
+
import { j as t } from "./index40.js";
|
|
2
|
+
import * as u from "@radix-ui/react-collapsible";
|
|
3
|
+
import * as s from "@radix-ui/react-navigation-menu";
|
|
4
|
+
import { ChevronRight as m } from "lucide-react";
|
|
3
5
|
import * as o from "react";
|
|
4
|
-
import { Separator as
|
|
5
|
-
import { cn as
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
6
|
+
import { Separator as p } from "./index26.js";
|
|
7
|
+
import { cn as r } from "./index41.js";
|
|
8
|
+
const f = o.forwardRef((e, a) => /* @__PURE__ */ t.jsx(s.Root, { ref: a, orientation: "vertical", ...e }));
|
|
9
|
+
f.displayName = s.Root.displayName;
|
|
10
|
+
const d = o.forwardRef(({ className: e, ...a }, i) => /* @__PURE__ */ t.jsx(
|
|
11
|
+
s.List,
|
|
10
12
|
{
|
|
11
|
-
ref:
|
|
12
|
-
className:
|
|
13
|
-
|
|
14
|
-
t
|
|
15
|
-
),
|
|
16
|
-
...e
|
|
13
|
+
ref: i,
|
|
14
|
+
className: r("group flex flex-col list-none pb-12 gap-4", e),
|
|
15
|
+
...a
|
|
17
16
|
}
|
|
18
17
|
));
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
className:
|
|
22
|
-
...
|
|
18
|
+
d.displayName = s.List.displayName;
|
|
19
|
+
function M({
|
|
20
|
+
className: e,
|
|
21
|
+
...a
|
|
23
22
|
}) {
|
|
24
|
-
return /* @__PURE__ */
|
|
23
|
+
return /* @__PURE__ */ t.jsx(
|
|
25
24
|
"div",
|
|
26
25
|
{
|
|
27
|
-
className:
|
|
28
|
-
"flex items-start justify-start text-sm text-gray-
|
|
29
|
-
|
|
26
|
+
className: r(
|
|
27
|
+
"flex items-start justify-start text-sm text-gray-600 mt-16 mb-2 px-12",
|
|
28
|
+
e
|
|
30
29
|
),
|
|
31
|
-
...
|
|
30
|
+
...a
|
|
32
31
|
}
|
|
33
32
|
);
|
|
34
33
|
}
|
|
35
|
-
function
|
|
36
|
-
...
|
|
34
|
+
function R({
|
|
35
|
+
...e
|
|
37
36
|
}) {
|
|
38
|
-
return /* @__PURE__ */
|
|
37
|
+
return /* @__PURE__ */ t.jsx(p, { ...e });
|
|
39
38
|
}
|
|
40
|
-
const
|
|
41
|
-
|
|
39
|
+
const g = o.forwardRef(({ className: e, ...a }, i) => /* @__PURE__ */ t.jsx(
|
|
40
|
+
s.Item,
|
|
42
41
|
{
|
|
43
|
-
ref:
|
|
44
|
-
className:
|
|
45
|
-
...
|
|
42
|
+
ref: i,
|
|
43
|
+
className: r("w-full", e),
|
|
44
|
+
...a
|
|
46
45
|
}
|
|
47
46
|
));
|
|
48
|
-
|
|
49
|
-
const
|
|
50
|
-
|
|
47
|
+
g.displayName = s.Item.displayName;
|
|
48
|
+
const x = o.forwardRef(({ className: e, ...a }, i) => /* @__PURE__ */ t.jsx(
|
|
49
|
+
s.Link,
|
|
51
50
|
{
|
|
52
|
-
ref:
|
|
53
|
-
className:
|
|
54
|
-
"flex justify-start px-12 py-[
|
|
55
|
-
|
|
51
|
+
ref: i,
|
|
52
|
+
className: r(
|
|
53
|
+
"flex justify-start px-12 py-[8px] w-full font-normal text-gray-900 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 data-[active]:bg-purple-900 hover:data-[active]:bg-purple-900 data-[active]:text-white rounded",
|
|
54
|
+
e
|
|
56
55
|
),
|
|
57
|
-
...
|
|
56
|
+
...a
|
|
58
57
|
}
|
|
59
58
|
));
|
|
59
|
+
x.displayName = s.Link.displayName;
|
|
60
|
+
const N = o.forwardRef(({ className: e, ...a }, i) => /* @__PURE__ */ t.jsx(
|
|
61
|
+
u.Root,
|
|
62
|
+
{
|
|
63
|
+
ref: i,
|
|
64
|
+
className: r("w-full", e),
|
|
65
|
+
...a
|
|
66
|
+
}
|
|
67
|
+
));
|
|
68
|
+
N.displayName = "VerticalNavigationMenuSub";
|
|
69
|
+
const v = o.forwardRef(({ className: e, children: a, icon: i, chevron: n = !0, ...l }, c) => /* @__PURE__ */ t.jsx(
|
|
70
|
+
u.Trigger,
|
|
71
|
+
{
|
|
72
|
+
ref: c,
|
|
73
|
+
className: r(
|
|
74
|
+
"group/subtrigger flex justify-start items-center px-12 py-[8px] w-full font-normal text-gray-900 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 rounded",
|
|
75
|
+
e
|
|
76
|
+
),
|
|
77
|
+
...l,
|
|
78
|
+
children: /* @__PURE__ */ t.jsxs("span", { className: "flex w-full items-center justify-between", children: [
|
|
79
|
+
/* @__PURE__ */ t.jsxs("span", { className: "flex items-center gap-x-4", children: [
|
|
80
|
+
i ? /* @__PURE__ */ t.jsx("span", { className: "shrink-0", children: i }) : null,
|
|
81
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-left", children: a })
|
|
82
|
+
] }),
|
|
83
|
+
n ? /* @__PURE__ */ t.jsx(
|
|
84
|
+
m,
|
|
85
|
+
{
|
|
86
|
+
"aria-hidden": "true",
|
|
87
|
+
className: "h-16 w-16 shrink-0 text-gray-600 transition-transform duration-200 group-data-[state=open]/subtrigger:rotate-90"
|
|
88
|
+
}
|
|
89
|
+
) : null
|
|
90
|
+
] })
|
|
91
|
+
}
|
|
92
|
+
));
|
|
93
|
+
v.displayName = "VerticalNavigationMenuSubTrigger";
|
|
94
|
+
const y = o.forwardRef(
|
|
95
|
+
({
|
|
96
|
+
className: e,
|
|
97
|
+
indentClassName: a = "mx-24 px-8 py-4 border-l border-gray-900-8",
|
|
98
|
+
children: i,
|
|
99
|
+
...n
|
|
100
|
+
}, l) => /* @__PURE__ */ t.jsx(
|
|
101
|
+
u.Content,
|
|
102
|
+
{
|
|
103
|
+
ref: l,
|
|
104
|
+
className: r(
|
|
105
|
+
"overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
106
|
+
e
|
|
107
|
+
),
|
|
108
|
+
...n,
|
|
109
|
+
children: /* @__PURE__ */ t.jsx("div", { className: r("", a), children: i })
|
|
110
|
+
}
|
|
111
|
+
)
|
|
112
|
+
);
|
|
113
|
+
y.displayName = "VerticalNavigationMenuSubContent";
|
|
60
114
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
115
|
+
f as VerticalNavigationMenu,
|
|
116
|
+
M as VerticalNavigationMenuHeading,
|
|
117
|
+
g as VerticalNavigationMenuItem,
|
|
118
|
+
x as VerticalNavigationMenuLink,
|
|
119
|
+
d as VerticalNavigationMenuList,
|
|
120
|
+
R as VerticalNavigationMenuSeparator,
|
|
121
|
+
N as VerticalNavigationMenuSub,
|
|
122
|
+
y as VerticalNavigationMenuSubContent,
|
|
123
|
+
v as VerticalNavigationMenuSubTrigger
|
|
67
124
|
};
|
|
68
125
|
//# sourceMappingURL=index38.js.map
|
package/dist/index38.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index38.js","sources":["../src/VerticalNavigationMenu/index.tsx"],"sourcesContent":["import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport * as React from 'react'\nimport { Separator } from '../Separator'\nimport { cn } from '../lib/utils'\n\nconst VerticalNavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>((props, ref) => (\n <NavigationMenuPrimitive.Root ref={ref} orientation=\"vertical\" {...props} />\n))\nVerticalNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName\n\nconst VerticalNavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn(
|
|
1
|
+
{"version":3,"file":"index38.js","sources":["../src/VerticalNavigationMenu/index.tsx"],"sourcesContent":["import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport { ChevronRight } from 'lucide-react'\nimport * as React from 'react'\nimport { Separator } from '../Separator'\nimport { cn } from '../lib/utils'\n\nconst VerticalNavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>((props, ref) => (\n <NavigationMenuPrimitive.Root ref={ref} orientation=\"vertical\" {...props} />\n))\nVerticalNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName\n\nconst VerticalNavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-col list-none pb-12 gap-4', className)}\n {...props}\n />\n))\nVerticalNavigationMenuList.displayName =\n NavigationMenuPrimitive.List.displayName\n\nfunction VerticalNavigationMenuHeading({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n className={cn(\n 'flex items-start justify-start text-sm text-gray-600 mt-16 mb-2 px-12',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction VerticalNavigationMenuSeparator({\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return <Separator {...props} />\n}\n\nconst VerticalNavigationMenuItem = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Item\n ref={ref}\n className={cn('w-full', className)}\n {...props}\n />\n))\nVerticalNavigationMenuItem.displayName =\n NavigationMenuPrimitive.Item.displayName\n\nconst VerticalNavigationMenuLink = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Link>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Link\n ref={ref}\n className={cn(\n 'flex justify-start px-12 py-[8px] w-full font-normal text-gray-900 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 data-[active]:bg-purple-900 hover:data-[active]:bg-purple-900 data-[active]:text-white rounded',\n className\n )}\n {...props}\n />\n))\nVerticalNavigationMenuLink.displayName =\n NavigationMenuPrimitive.Link.displayName\n\nconst VerticalNavigationMenuSub = React.forwardRef<\n React.ElementRef<typeof CollapsiblePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CollapsiblePrimitive.Root\n ref={ref}\n className={cn('w-full', className)}\n {...props}\n />\n))\nVerticalNavigationMenuSub.displayName = 'VerticalNavigationMenuSub'\n\ntype SubTriggerProps = React.ComponentPropsWithoutRef<\n typeof CollapsiblePrimitive.Trigger\n> & {\n icon?: React.ReactNode\n chevron?: boolean\n}\n\nconst VerticalNavigationMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof CollapsiblePrimitive.Trigger>,\n SubTriggerProps\n>(({ className, children, icon, chevron = true, ...props }, ref) => (\n <CollapsiblePrimitive.Trigger\n ref={ref}\n className={cn(\n 'group/subtrigger flex justify-start items-center px-12 py-[8px] w-full font-normal text-gray-900 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 rounded',\n className\n )}\n {...props}\n >\n <span className=\"flex w-full items-center justify-between\">\n <span className=\"flex items-center gap-x-4\">\n {icon ? <span className=\"shrink-0\">{icon}</span> : null}\n <span className=\"text-left\">{children}</span>\n </span>\n\n {chevron ? (\n <ChevronRight\n aria-hidden=\"true\"\n className=\"h-16 w-16 shrink-0 text-gray-600 transition-transform duration-200 group-data-[state=open]/subtrigger:rotate-90\"\n />\n ) : null}\n </span>\n </CollapsiblePrimitive.Trigger>\n))\nVerticalNavigationMenuSubTrigger.displayName =\n 'VerticalNavigationMenuSubTrigger'\n\ntype SubContentProps = React.ComponentPropsWithoutRef<\n typeof CollapsiblePrimitive.Content\n> & {\n indentClassName?: string\n}\n\nconst VerticalNavigationMenuSubContent = React.forwardRef<\n React.ElementRef<typeof CollapsiblePrimitive.Content>,\n SubContentProps\n>(\n (\n {\n className,\n indentClassName = 'mx-24 px-8 py-4 border-l border-gray-900-8',\n children,\n ...props\n },\n ref\n ) => (\n <CollapsiblePrimitive.Content\n ref={ref}\n className={cn(\n 'overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down',\n className\n )}\n {...props}\n >\n <div className={cn('', indentClassName)}>{children}</div>\n </CollapsiblePrimitive.Content>\n )\n)\nVerticalNavigationMenuSubContent.displayName =\n 'VerticalNavigationMenuSubContent'\n\nexport {\n VerticalNavigationMenu,\n VerticalNavigationMenuHeading,\n VerticalNavigationMenuItem,\n VerticalNavigationMenuLink,\n VerticalNavigationMenuList,\n VerticalNavigationMenuSeparator,\n VerticalNavigationMenuSub,\n VerticalNavigationMenuSubTrigger,\n VerticalNavigationMenuSubContent\n}\n"],"names":["VerticalNavigationMenu","React","props","ref","jsx","NavigationMenuPrimitive","VerticalNavigationMenuList","className","cn","VerticalNavigationMenuHeading","VerticalNavigationMenuSeparator","Separator","VerticalNavigationMenuItem","VerticalNavigationMenuLink","VerticalNavigationMenuSub","CollapsiblePrimitive","VerticalNavigationMenuSubTrigger","children","icon","chevron","jsxs","ChevronRight","VerticalNavigationMenuSubContent","indentClassName"],"mappings":"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"}
|
package/dist/index39.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("./index49.cjs"),w=require("./index50.cjs"),v=require("./index51.cjs"),f=w.colorStringExports,l=v.colorConvert,y=["keyword","gray","hex"],b={};for(const t of Object.keys(l))b[[...l[t].labels].sort().join("")]=t;const p={};function h(t,r){if(!(this instanceof h))return new h(t,r);if(r&&r in y&&(r=null),r&&!(r in l))throw new Error("Unknown model: "+r);let o,n;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof h)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){const e=f.get(t);if(e===null)throw new Error("Unable to parse color from string: "+t);this.model=e.model,n=l[this.model].channels,this.color=e.value.slice(0,n),this.valpha=typeof e.value[n]=="number"?e.value[n]:1}else if(t.length>0){this.model=r||"rgb",n=l[this.model].channels;const e=Array.prototype.slice.call(t,0,n);this.color=d(e,n),this.valpha=typeof t[n]=="number"?t[n]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);const a=e.sort().join("");if(!(a in b))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=b[a];const{labels:u}=l[this.model],c=[];for(o=0;o<u.length;o++)c.push(t[u[o]]);this.color=d(c)}if(p[this.model])for(n=l[this.model].channels,o=0;o<n;o++){const e=p[this.model][o];e&&(this.color[o]=e(this.color[o]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}h.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let r=this.model in f.to?this:this.rgb();r=r.round(typeof t=="number"?t:1);const o=r.valpha===1?r.color:[...r.color,this.valpha];return f.to[r.model](o)},percentString(t){const r=this.rgb().round(typeof t=="number"?t:1),o=r.valpha===1?r.color:[...r.color,this.valpha];return f.to.rgb.percent(o)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:r}=l[this.model],{labels:o}=l[this.model];for(let n=0;n<r;n++)t[o[n]]=this.color[n];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new h([...this.color.map(k(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new h([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:s("rgb",0,i(255)),green:s("rgb",1,i(255)),blue:s("rgb",2,i(255)),hue:s(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:s("hsl",1,i(100)),lightness:s("hsl",2,i(100)),saturationv:s("hsv",1,i(100)),value:s("hsv",2,i(100)),chroma:s("hcg",1,i(100)),gray:s("hcg",2,i(100)),white:s("hwb",1,i(100)),wblack:s("hwb",2,i(100)),cyan:s("cmyk",0,i(100)),magenta:s("cmyk",1,i(100)),yellow:s("cmyk",2,i(100)),black:s("cmyk",3,i(100)),x:s("xyz",0,i(95.047)),y:s("xyz",1,i(100)),z:s("xyz",2,i(108.833)),l:s("lab",0,i(100)),a:s("lab",1),b:s("lab",2),keyword(t){return t!==void 0?new h(t):l[this.model].keyword(this.color)},hex(t){return t!==void 0?new h(t):f.to.hex(this.rgb().round().color)},hexa(t){if(t!==void 0)return new h(t);const r=this.rgb().round().color;let o=Math.round(this.valpha*255).toString(16).toUpperCase();return o.length===1&&(o="0"+o),f.to.hex(r)+o},rgbNumber(){const t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){const t=this.rgb().color,r=[];for(const[o,n]of t.entries()){const e=n/255;r[o]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return .2126*r[0]+.7152*r[1]+.0722*r[2]},contrast(t){const r=this.luminosity(),o=t.luminosity();return r>o?(r+.05)/(o+.05):(o+.05)/(r+.05)},level(t){const r=this.contrast(t);return r>=7?"AAA":r>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let r=0;r<3;r++)t.color[r]=255-t.color[r];return t},lighten(t){const r=this.hsl();return r.color[2]+=r.color[2]*t,r},darken(t){const r=this.hsl();return r.color[2]-=r.color[2]*t,r},saturate(t){const r=this.hsl();return r.color[1]+=r.color[1]*t,r},desaturate(t){const r=this.hsl();return r.color[1]-=r.color[1]*t,r},whiten(t){const r=this.hwb();return r.color[1]+=r.color[1]*t,r},blacken(t){const r=this.hwb();return r.color[2]+=r.color[2]*t,r},grayscale(){const t=this.rgb().color,r=t[0]*.3+t[1]*.59+t[2]*.11;return h.rgb(r,r,r)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const r=this.hsl();let o=r.color[0];return o=(o+t)%360,o=o<0?360+o:o,r.color[0]=o,r},mix(t,r){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const o=t.rgb(),n=this.rgb(),e=r===void 0?.5:r,a=2*e-1,u=o.alpha()-n.alpha(),c=((a*u===-1?a:(a+u)/(1+a*u))+1)/2,g=1-c;return h.rgb(c*o.red()+g*n.red(),c*o.green()+g*n.green(),c*o.blue()+g*n.blue(),o.alpha()*e+n.alpha()*(1-e))}};for(const t of Object.keys(l)){if(y.includes(t))continue;const{channels:r}=l[t];h.prototype[t]=function(...o){return this.model===t?new h(this):o.length>0?new h(o,t):new h([...A(l[this.model][t].raw(this.color)),this.valpha],t)},h[t]=function(...o){let n=o[0];return typeof n=="number"&&(n=d(o,r)),new h(n,t)}}function x(t,r){return Number(t.toFixed(r))}function k(t){return function(r){return x(r,t)}}function s(t,r,o){t=Array.isArray(t)?t:[t];for(const n of t)(p[n]||(p[n]=[]))[r]=o;return t=t[0],function(n){let e;return n!==void 0?(o&&(n=o(n)),e=this[t](),e.color[r]=n,e):(e=this[t]().color[r],o&&(e=o(e)),e)}}function i(t){return function(r){return Math.max(0,Math.min(t,r))}}function A(t){return Array.isArray(t)?t:[t]}function d(t,r){for(let o=0;o<r;o++)typeof t[o]!="number"&&(t[o]=0);return t}var F=h;const M=m.getDefaultExportFromCjs(F);exports.default=M;
|
|
2
2
|
//# sourceMappingURL=index39.cjs.map
|
package/dist/index39.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as d } from "./
|
|
2
|
-
import { c as w } from "./
|
|
3
|
-
import { c as v } from "./
|
|
1
|
+
import { getDefaultExportFromCjs as d } from "./index49.js";
|
|
2
|
+
import { c as w } from "./index50.js";
|
|
3
|
+
import { c as v } from "./index51.js";
|
|
4
4
|
const f = w, l = v, y = [
|
|
5
5
|
// To be honest, I don't really feel like keyword belongs in color convert, but eh.
|
|
6
6
|
"keyword",
|
package/dist/index40.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index44.cjs"),r=require("./index45.cjs"),t=require("./index46.cjs");process.env.NODE_ENV==="production"?e.__module.exports=r.__require():e.__module.exports=t.__require();var o=e.__module.exports;exports.jsxRuntimeExports=o;
|
|
2
2
|
//# sourceMappingURL=index40.cjs.map
|
package/dist/index40.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __module as e } from "./
|
|
2
|
-
import { __require as r } from "./
|
|
3
|
-
import { __require as o } from "./
|
|
1
|
+
import { __module as e } from "./index44.js";
|
|
2
|
+
import { __require as r } from "./index45.js";
|
|
3
|
+
import { __require as o } from "./index46.js";
|
|
4
4
|
process.env.NODE_ENV === "production" ? e.exports = r() : e.exports = o();
|
|
5
5
|
var m = e.exports;
|
|
6
6
|
export {
|
package/dist/index44.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
2
2
|
//# sourceMappingURL=index44.cjs.map
|
package/dist/index44.js
CHANGED
package/dist/index44.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index44.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index44.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index45.cjs
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index47.cjs"),R=require("react");/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var p;function a(){if(p)return t.__exports;p=1;var f=R,c=Symbol.for("react.element"),l=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y={key:!0,ref:!0,__self:!0,__source:!0};function i(o,e,u){var r,n={},_=null,s=null;u!==void 0&&(_=""+u),e.key!==void 0&&(_=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)d.call(e,r)&&!y.hasOwnProperty(r)&&(n[r]=e[r]);if(o&&o.defaultProps)for(r in e=o.defaultProps,e)n[r]===void 0&&(n[r]=e[r]);return{$$typeof:c,type:o,key:_,ref:s,props:n,_owner:m.current}}return t.__exports.Fragment=l,t.__exports.jsx=i,t.__exports.jsxs=i,t.__exports}exports.__require=a;
|
|
2
10
|
//# sourceMappingURL=index45.cjs.map
|