@kayord/ui 0.0.9 → 0.0.12
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/components/custom/index.d.ts +2 -0
- package/dist/components/custom/index.js +2 -0
- package/dist/components/ui/index.d.ts +32 -0
- package/dist/components/ui/index.js +32 -0
- package/dist/index.d.ts +3 -36
- package/dist/index.js +3 -37
- package/package.json +19 -19
- package/dist/tailwind/index.d.ts +0 -1
- package/dist/tailwind/index.js +0 -2
- package/dist/tailwind/plugin.d.ts +0 -5
- package/dist/tailwind/plugin.js +0 -9
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./accordion/index.js";
|
|
2
|
+
export { Alert, AlertDescription, AlertTitle } from "./alert/index.js";
|
|
3
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./alert-dialog/index.js";
|
|
4
|
+
export { AspectRatio } from "./aspect-ratio/index.js";
|
|
5
|
+
export { Avatar, AvatarFallback, AvatarImage } from "./avatar/index.js";
|
|
6
|
+
export { Badge } from "./badge/index.js";
|
|
7
|
+
export { Button, type ButtonEvents, type ButtonProps } from "./button/index.js";
|
|
8
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./card/index.js";
|
|
9
|
+
export { Checkbox } from "./checkbox/index.js";
|
|
10
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsible/index.js";
|
|
11
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./context-menu/index.js";
|
|
12
|
+
export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./dialog/index.js";
|
|
13
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./dropdown-menu/index.js";
|
|
14
|
+
export { Form, FormField, FormItem, FormLabel, FormDescription, FormValidation } from "./form/index.js";
|
|
15
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from "./hover-card/index.js";
|
|
16
|
+
export { Input, type InputEvents } from "./input/index.js";
|
|
17
|
+
export { Label } from "./label/index.js";
|
|
18
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from "./menubar/index.js";
|
|
19
|
+
export { Popover, PopoverContent, PopoverTrigger } from "./popover/index.js";
|
|
20
|
+
export { Progress } from "./progress/index.js";
|
|
21
|
+
export { RadioGroup, RadioGroupInput, RadioGroupItem } from "./radio-group/index.js";
|
|
22
|
+
export { Select, SelectContent, SelectGroup, SelectInput, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "./select/index.js";
|
|
23
|
+
export { Separator } from "./separator/index.js";
|
|
24
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from "./sheet/index.js";
|
|
25
|
+
export { Skeleton } from "./skeleton/index.js";
|
|
26
|
+
export { Slider } from "./slider/index.js";
|
|
27
|
+
export { Switch } from "./switch/index.js";
|
|
28
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./table/index.js";
|
|
29
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from "./tabs/index.js";
|
|
30
|
+
export { Textarea, type TextareaEvents } from "./textarea/index.js";
|
|
31
|
+
export { Toggle } from "./toggle/index.js";
|
|
32
|
+
export { Tooltip } from "./tooltip/index.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./accordion/index.js";
|
|
2
|
+
export { Alert, AlertDescription, AlertTitle } from "./alert/index.js";
|
|
3
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./alert-dialog/index.js";
|
|
4
|
+
export { AspectRatio } from "./aspect-ratio/index.js";
|
|
5
|
+
export { Avatar, AvatarFallback, AvatarImage } from "./avatar/index.js";
|
|
6
|
+
export { Badge } from "./badge/index.js";
|
|
7
|
+
export { Button } from "./button/index.js";
|
|
8
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./card/index.js";
|
|
9
|
+
export { Checkbox } from "./checkbox/index.js";
|
|
10
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsible/index.js";
|
|
11
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./context-menu/index.js";
|
|
12
|
+
export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./dialog/index.js";
|
|
13
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./dropdown-menu/index.js";
|
|
14
|
+
export { Form, FormField, FormItem, FormLabel, FormDescription, FormValidation } from "./form/index.js";
|
|
15
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from "./hover-card/index.js";
|
|
16
|
+
export { Input } from "./input/index.js";
|
|
17
|
+
export { Label } from "./label/index.js";
|
|
18
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from "./menubar/index.js";
|
|
19
|
+
export { Popover, PopoverContent, PopoverTrigger } from "./popover/index.js";
|
|
20
|
+
export { Progress } from "./progress/index.js";
|
|
21
|
+
export { RadioGroup, RadioGroupInput, RadioGroupItem } from "./radio-group/index.js";
|
|
22
|
+
export { Select, SelectContent, SelectGroup, SelectInput, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "./select/index.js";
|
|
23
|
+
export { Separator } from "./separator/index.js";
|
|
24
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from "./sheet/index.js";
|
|
25
|
+
export { Skeleton } from "./skeleton/index.js";
|
|
26
|
+
export { Slider } from "./slider/index.js";
|
|
27
|
+
export { Switch } from "./switch/index.js";
|
|
28
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./table/index.js";
|
|
29
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from "./tabs/index.js";
|
|
30
|
+
export { Textarea } from "./textarea/index.js";
|
|
31
|
+
export { Toggle } from "./toggle/index.js";
|
|
32
|
+
export { Tooltip } from "./tooltip/index.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,36 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./components/ui/alert-dialog";
|
|
5
|
-
export { AspectRatio } from "./components/ui/aspect-ratio";
|
|
6
|
-
export { Avatar, AvatarFallback, AvatarImage } from "./components/ui/avatar";
|
|
7
|
-
export { Badge } from "./components/ui/badge";
|
|
8
|
-
export { Button, type ButtonEvents, type ButtonProps } from "./components/ui/button";
|
|
9
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/ui/card";
|
|
10
|
-
export { Checkbox } from "./components/ui/checkbox";
|
|
11
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/ui/collapsible";
|
|
12
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/ui/context-menu";
|
|
13
|
-
export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/ui/dialog";
|
|
14
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu";
|
|
15
|
-
export { Form, FormField, FormItem, FormLabel, FormDescription, FormValidation } from "./components/ui/form";
|
|
16
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger } from "./components/ui/hover-card";
|
|
17
|
-
export { Input, type InputEvents } from "./components/ui/input";
|
|
18
|
-
export { Label } from "./components/ui/label";
|
|
19
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from "./components/ui/menubar";
|
|
20
|
-
export { Popover, PopoverContent, PopoverTrigger } from "./components/ui/popover";
|
|
21
|
-
export { Progress } from "./components/ui/progress";
|
|
22
|
-
export { RadioGroup, RadioGroupInput, RadioGroupItem } from "./components/ui/radio-group";
|
|
23
|
-
export { Select, SelectContent, SelectGroup, SelectInput, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select";
|
|
24
|
-
export { Separator } from "./components/ui/separator";
|
|
25
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from "./components/ui/sheet";
|
|
26
|
-
export { Skeleton } from "./components/ui/skeleton";
|
|
27
|
-
export { Slider } from "./components/ui/slider";
|
|
28
|
-
export { Switch } from "./components/ui/switch";
|
|
29
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/ui/table";
|
|
30
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs";
|
|
31
|
-
export { Textarea, type TextareaEvents } from "./components/ui/textarea";
|
|
32
|
-
export { Toggle } from "./components/ui/toggle";
|
|
33
|
-
export { Tooltip } from "./components/ui/tooltip";
|
|
34
|
-
export { Loader } from "./components/custom/loader";
|
|
35
|
-
export { ThemeSwitch } from "./components/custom/theme-switch";
|
|
36
|
-
export { kayordPlugin } from "./tailwind";
|
|
1
|
+
export * from "./utils.js";
|
|
2
|
+
export * from "./components/ui/index.js";
|
|
3
|
+
export * from "./components/custom/index.js";
|
package/dist/index.js
CHANGED
|
@@ -1,40 +1,6 @@
|
|
|
1
1
|
// Utils
|
|
2
|
-
export
|
|
2
|
+
export * from "./utils.js";
|
|
3
3
|
// ShadCN components
|
|
4
|
-
export
|
|
5
|
-
export { Alert, AlertDescription, AlertTitle } from "./components/ui/alert";
|
|
6
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./components/ui/alert-dialog";
|
|
7
|
-
export { AspectRatio } from "./components/ui/aspect-ratio";
|
|
8
|
-
export { Avatar, AvatarFallback, AvatarImage } from "./components/ui/avatar";
|
|
9
|
-
export { Badge } from "./components/ui/badge";
|
|
10
|
-
export { Button } from "./components/ui/button";
|
|
11
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/ui/card";
|
|
12
|
-
export { Checkbox } from "./components/ui/checkbox";
|
|
13
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/ui/collapsible";
|
|
14
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/ui/context-menu";
|
|
15
|
-
export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/ui/dialog";
|
|
16
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu";
|
|
17
|
-
export { Form, FormField, FormItem, FormLabel, FormDescription, FormValidation } from "./components/ui/form";
|
|
18
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger } from "./components/ui/hover-card";
|
|
19
|
-
export { Input } from "./components/ui/input";
|
|
20
|
-
export { Label } from "./components/ui/label";
|
|
21
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from "./components/ui/menubar";
|
|
22
|
-
export { Popover, PopoverContent, PopoverTrigger } from "./components/ui/popover";
|
|
23
|
-
export { Progress } from "./components/ui/progress";
|
|
24
|
-
export { RadioGroup, RadioGroupInput, RadioGroupItem } from "./components/ui/radio-group";
|
|
25
|
-
export { Select, SelectContent, SelectGroup, SelectInput, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select";
|
|
26
|
-
export { Separator } from "./components/ui/separator";
|
|
27
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from "./components/ui/sheet";
|
|
28
|
-
export { Skeleton } from "./components/ui/skeleton";
|
|
29
|
-
export { Slider } from "./components/ui/slider";
|
|
30
|
-
export { Switch } from "./components/ui/switch";
|
|
31
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/ui/table";
|
|
32
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs";
|
|
33
|
-
export { Textarea } from "./components/ui/textarea";
|
|
34
|
-
export { Toggle } from "./components/ui/toggle";
|
|
35
|
-
export { Tooltip } from "./components/ui/tooltip";
|
|
4
|
+
export * from "./components/ui/index.js";
|
|
36
5
|
// Custom components
|
|
37
|
-
export
|
|
38
|
-
export { ThemeSwitch } from "./components/custom/theme-switch";
|
|
39
|
-
// Tailwind Plugin
|
|
40
|
-
export { kayordPlugin } from "./tailwind";
|
|
6
|
+
export * from "./components/custom/index.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayord/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.12",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -22,34 +22,34 @@
|
|
|
22
22
|
"formsnap": "^0.1.4",
|
|
23
23
|
"lucide-svelte": "^0.284.0",
|
|
24
24
|
"sveltekit-superforms": "^1.8.0",
|
|
25
|
-
"zod": "^3.22.4",
|
|
26
25
|
"tailwind-merge": "^1.14.0",
|
|
27
|
-
"tailwind-variants": "^0.1.14"
|
|
26
|
+
"tailwind-variants": "^0.1.14",
|
|
27
|
+
"zod": "^3.22.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@playwright/test": "^1.
|
|
31
|
-
"@sveltejs/adapter-auto": "^2.
|
|
32
|
-
"@sveltejs/kit": "^1.
|
|
33
|
-
"@sveltejs/package": "^2.
|
|
30
|
+
"@playwright/test": "^1.38.1",
|
|
31
|
+
"@sveltejs/adapter-auto": "^2.1.0",
|
|
32
|
+
"@sveltejs/kit": "^1.25.1",
|
|
33
|
+
"@sveltejs/package": "^2.2.2",
|
|
34
34
|
"@tailwindcss/forms": "^0.5.6",
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
36
|
-
"@typescript-eslint/parser": "^6.
|
|
37
|
-
"autoprefixer": "^10.4.
|
|
38
|
-
"eslint": "^8.
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
36
|
+
"@typescript-eslint/parser": "^6.7.4",
|
|
37
|
+
"autoprefixer": "^10.4.16",
|
|
38
|
+
"eslint": "^8.50.0",
|
|
39
39
|
"eslint-config-prettier": "^9.0.0",
|
|
40
|
-
"eslint-plugin-svelte": "^2.
|
|
41
|
-
"postcss": "^8.4.
|
|
40
|
+
"eslint-plugin-svelte": "^2.34.0",
|
|
41
|
+
"postcss": "^8.4.31",
|
|
42
42
|
"postcss-load-config": "^4.0.1",
|
|
43
43
|
"prettier": "^3.0.3",
|
|
44
44
|
"prettier-plugin-svelte": "^3.0.3",
|
|
45
45
|
"publint": "^0.2.3",
|
|
46
|
-
"svelte": "^4.
|
|
47
|
-
"svelte-check": "^3.
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"typescript": "^5.0.0",
|
|
46
|
+
"svelte": "^4.2.1",
|
|
47
|
+
"svelte-check": "^3.5.2",
|
|
48
|
+
"tslib": "^2.6.2",
|
|
49
|
+
"typescript": "^5.2.2",
|
|
51
50
|
"vite": "^4.4.11",
|
|
52
|
-
"vitest": "^0.34.6"
|
|
51
|
+
"vitest": "^0.34.6",
|
|
52
|
+
"tailwindcss": "^3.3.3"
|
|
53
53
|
},
|
|
54
54
|
"svelte": "./dist/index.js",
|
|
55
55
|
"types": "./dist/index.d.ts",
|
package/dist/tailwind/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as kayordPlugin } from "./plugin";
|
package/dist/tailwind/index.js
DELETED
package/dist/tailwind/plugin.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import plugin from "tailwindcss/plugin";
|
|
2
|
-
const kayordPlugin = plugin(function ({ addBase, theme }) {
|
|
3
|
-
addBase({
|
|
4
|
-
h1: { fontSize: theme("fontSize.2xl") },
|
|
5
|
-
h2: { fontSize: theme("fontSize.xl") },
|
|
6
|
-
h3: { fontSize: theme("fontSize.lg") },
|
|
7
|
-
});
|
|
8
|
-
});
|
|
9
|
-
export default kayordPlugin;
|