@kayord/ui 0.5.0 → 0.5.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/components/custom/data-table/DataTableCheckbox.svelte.d.ts +17 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte +1 -1
- package/dist/components/ui/calendar/calendar-next-button.svelte +1 -1
- package/dist/components/ui/calendar/calendar-prev-button.svelte +1 -1
- package/dist/components/ui/carousel/carousel-next.svelte +1 -1
- package/dist/components/ui/carousel/carousel-previous.svelte +1 -1
- package/dist/components/ui/carousel/carousel.svelte.d.ts +1 -1
- package/dist/components/ui/checkbox/checkbox.svelte +2 -1
- package/dist/components/ui/command/command-input.svelte +1 -1
- package/dist/components/ui/command/command.svelte.d.ts +17 -0
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte +1 -1
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte +1 -1
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/dialog/dialog-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/input/input.svelte.d.ts +1 -1
- package/dist/components/ui/menubar/menubar-checkbox-item.svelte +1 -1
- package/dist/components/ui/menubar/menubar-radio-item.svelte +1 -1
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte +1 -1
- package/dist/components/ui/pagination/pagination-ellipsis.svelte +2 -2
- package/dist/components/ui/pagination/pagination-next-button.svelte +1 -1
- package/dist/components/ui/pagination/pagination-prev-button.svelte +1 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte +1 -1
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte +1 -1
- package/dist/components/ui/select/select-item.svelte +4 -2
- package/dist/components/ui/select/select-trigger.svelte +1 -1
- package/dist/components/ui/sheet/sheet-content.svelte +1 -1
- package/dist/components/ui/sonner/sonner.svelte.d.ts +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import type { Writable } from "svelte/store";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: Omit<import("bits-ui/dist/bits/checkbox/types").Props, "checked"> & {
|
|
5
|
+
checked: Writable<boolean>;
|
|
6
|
+
};
|
|
7
|
+
events: {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots: {};
|
|
11
|
+
};
|
|
12
|
+
type DataTableCheckboxProps_ = typeof __propDef.props;
|
|
13
|
+
export { DataTableCheckboxProps_ as DataTableCheckboxProps };
|
|
14
|
+
export type DataTableCheckboxEvents = typeof __propDef.events;
|
|
15
|
+
export type DataTableCheckboxSlots = typeof __propDef.slots;
|
|
16
|
+
export default class DataTableCheckbox extends SvelteComponent<DataTableCheckboxProps_, DataTableCheckboxEvents, DataTableCheckboxSlots> {
|
|
17
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
2
|
-
import
|
|
2
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
3
3
|
import { buttonVariants } from "../button";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
let className = void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
2
|
-
import
|
|
2
|
+
import ChevronLeft from "lucide-svelte/icons/chevron-left";
|
|
3
3
|
import { buttonVariants } from "../button";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
let className = void 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { Button, buttonVariants } from "../button/index.js";
|
|
2
2
|
import { cn } from "../../../utils";
|
|
3
|
-
import
|
|
3
|
+
import ArrowRight from "lucide-svelte/icons/arrow-right";
|
|
4
4
|
import { getEmblaContext } from "./context.js";
|
|
5
5
|
let className = void 0;
|
|
6
6
|
export { className as class };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { Button, buttonVariants } from "../button/index.js";
|
|
2
2
|
import { cn } from "../../../utils.js";
|
|
3
|
-
import
|
|
3
|
+
import ArrowLeft from "lucide-svelte/icons/arrow-left";
|
|
4
4
|
import { getEmblaContext } from "./context.js";
|
|
5
5
|
let className = void 0;
|
|
6
6
|
export { className as class };
|
|
@@ -16,5 +16,5 @@ type CarouselProps_ = typeof __propDef.props;
|
|
|
16
16
|
export { CarouselProps_ as CarouselProps };
|
|
17
17
|
export type CarouselEvents = typeof __propDef.events;
|
|
18
18
|
export type CarouselSlots = typeof __propDef.slots;
|
|
19
|
-
export default class Carousel extends SvelteComponent<
|
|
19
|
+
export default class Carousel extends SvelteComponent<CarouselProps_, CarouselEvents, CarouselSlots> {
|
|
20
20
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script>import { Checkbox as CheckboxPrimitive } from "bits-ui";
|
|
2
|
-
import
|
|
2
|
+
import Check from "lucide-svelte/icons/check";
|
|
3
|
+
import Minus from "lucide-svelte/icons/minus";
|
|
3
4
|
import { cn } from "../../../utils";
|
|
4
5
|
let className = void 0;
|
|
5
6
|
export let checked = false;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { Command as CommandPrimitive } from "cmdk-sv";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: CommandPrimitive.CommandProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
type CommandProps_ = typeof __propDef.props;
|
|
13
|
+
export { CommandProps_ as CommandProps };
|
|
14
|
+
export type CommandEvents = typeof __propDef.events;
|
|
15
|
+
export type CommandSlots = typeof __propDef.slots;
|
|
16
|
+
export default class Command extends SvelteComponent<CommandProps_, CommandEvents, CommandSlots> {
|
|
17
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
2
|
+
import Check from "lucide-svelte/icons/check";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { Check } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let checked = void 0;
|
|
6
6
|
export { className as class };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
2
|
+
import Circle from "lucide-svelte/icons/circle";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { Circle } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let value;
|
|
6
6
|
export { className as class };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
2
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { ChevronRight } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let inset = void 0;
|
|
6
6
|
export { className as class };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>import { Dialog as DialogPrimitive } from "bits-ui";
|
|
2
|
+
import X from "lucide-svelte/icons/x";
|
|
2
3
|
import * as Dialog from ".";
|
|
3
4
|
import { cn, flyAndScale } from "../../../utils";
|
|
4
|
-
import { X } from "lucide-svelte";
|
|
5
5
|
let className = void 0;
|
|
6
6
|
export let transition = flyAndScale;
|
|
7
7
|
export let transitionConfig = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
2
|
+
import Check from "lucide-svelte/icons/check";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { Check } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let checked = void 0;
|
|
6
6
|
export { className as class };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
2
|
+
import Circle from "lucide-svelte/icons/circle";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { Circle } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let value;
|
|
6
6
|
export { className as class };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
2
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { ChevronRight } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let inset = void 0;
|
|
6
6
|
export { className as class };
|
|
@@ -10,5 +10,5 @@ export type InputProps = typeof __propDef.props;
|
|
|
10
10
|
type InputEvents_ = typeof __propDef.events;
|
|
11
11
|
export { InputEvents_ as InputEvents };
|
|
12
12
|
export type InputSlots = typeof __propDef.slots;
|
|
13
|
-
export default class Input extends SvelteComponent<InputProps,
|
|
13
|
+
export default class Input extends SvelteComponent<InputProps, InputEvents_, InputSlots> {
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { Menubar as MenubarPrimitive } from "bits-ui";
|
|
2
|
+
import Check from "lucide-svelte/icons/check";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { Check } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let checked = false;
|
|
6
6
|
export { className as class };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { Menubar as MenubarPrimitive } from "bits-ui";
|
|
2
|
+
import Circle from "lucide-svelte/icons/circle";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { Circle } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let value;
|
|
6
6
|
export { className as class };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { Menubar as MenubarPrimitive } from "bits-ui";
|
|
2
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
2
3
|
import { cn } from "../../../utils";
|
|
3
|
-
import { ChevronRight } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let inset = void 0;
|
|
6
6
|
export { className as class };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<script>import
|
|
2
|
-
import {
|
|
1
|
+
<script>import MoreHorizontal from "lucide-svelte/icons/more-horizontal";
|
|
2
|
+
import { cn } from "../../../utils";
|
|
3
3
|
let className = void 0;
|
|
4
4
|
export { className as class };
|
|
5
5
|
</script>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>import { Pagination as PaginationPrimitive } from "bits-ui";
|
|
2
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
2
3
|
import { Button } from "../button";
|
|
3
4
|
import { cn } from "../../../utils";
|
|
4
|
-
import { ChevronRight } from "lucide-svelte";
|
|
5
5
|
let className = void 0;
|
|
6
6
|
export { className as class };
|
|
7
7
|
</script>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>import { Pagination as PaginationPrimitive } from "bits-ui";
|
|
2
|
+
import ChevronLeft from "lucide-svelte/icons/chevron-left";
|
|
2
3
|
import { Button } from "../button";
|
|
3
4
|
import { cn } from "../../../utils";
|
|
4
|
-
import { ChevronLeft } from "lucide-svelte";
|
|
5
5
|
let className = void 0;
|
|
6
6
|
export { className as class };
|
|
7
7
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
-
import
|
|
2
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
3
3
|
import { buttonVariants } from "../button";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
let className = void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
-
import
|
|
2
|
+
import ChevronLeft from "lucide-svelte/icons/chevron-left";
|
|
3
3
|
import { buttonVariants } from "../button";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
let className = void 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { cn } from "../../../utils";
|
|
2
|
+
import Check from "lucide-svelte/icons/check";
|
|
2
3
|
import { Select as SelectPrimitive } from "bits-ui";
|
|
3
|
-
import { Check } from "lucide-svelte";
|
|
4
4
|
let className = void 0;
|
|
5
5
|
export let value;
|
|
6
6
|
export let label = void 0;
|
|
@@ -29,5 +29,7 @@ export { className as class };
|
|
|
29
29
|
<Check class="h-4 w-4" />
|
|
30
30
|
</SelectPrimitive.ItemIndicator>
|
|
31
31
|
</span>
|
|
32
|
-
<slot
|
|
32
|
+
<slot>
|
|
33
|
+
{label ? label : value}
|
|
34
|
+
</slot>
|
|
33
35
|
</SelectPrimitive.Item>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { Dialog as SheetPrimitive } from "bits-ui";
|
|
2
|
+
import X from "lucide-svelte/icons/x";
|
|
2
3
|
import { SheetOverlay, SheetPortal, sheetTransitions, sheetVariants } from ".";
|
|
3
|
-
import { X } from "lucide-svelte";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
import { fly } from "svelte/transition";
|
|
6
6
|
let className = void 0;
|
|
@@ -11,5 +11,5 @@ type SonnerProps_ = typeof __propDef.props;
|
|
|
11
11
|
export { SonnerProps_ as SonnerProps };
|
|
12
12
|
export type SonnerEvents = typeof __propDef.events;
|
|
13
13
|
export type SonnerSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Sonner extends SvelteComponent<
|
|
14
|
+
export default class Sonner extends SvelteComponent<SonnerProps_, SonnerEvents, SonnerSlots> {
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayord/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@internationalized/date": "^3.5.2",
|
|
33
|
-
"bits-ui": "^0.18.
|
|
33
|
+
"bits-ui": "^0.18.2",
|
|
34
34
|
"clsx": "^2.1.0",
|
|
35
35
|
"cmdk-sv": "^0.0.13",
|
|
36
36
|
"embla-carousel-svelte": "8.0.0-rc23",
|
|
37
37
|
"formsnap": "^0.5.0",
|
|
38
|
-
"lucide-svelte": "^0.
|
|
38
|
+
"lucide-svelte": "^0.336.0",
|
|
39
39
|
"mode-watcher": "^0.2.1",
|
|
40
40
|
"svelte-headless-table": "^0.18.2",
|
|
41
41
|
"svelte-sonner": "^0.3.18",
|
|
42
|
-
"sveltekit-superforms": "^2.
|
|
42
|
+
"sveltekit-superforms": "^2.5.0",
|
|
43
43
|
"tailwind-merge": "^2.2.1",
|
|
44
44
|
"tailwind-variants": "^0.2.0",
|
|
45
45
|
"vaul-svelte": "^0.2.3",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@playwright/test": "^1.41.2",
|
|
50
50
|
"@sveltejs/adapter-auto": "^3.1.1",
|
|
51
|
-
"@sveltejs/kit": "^2.5.
|
|
52
|
-
"@sveltejs/package": "^2.2.
|
|
51
|
+
"@sveltejs/kit": "^2.5.1",
|
|
52
|
+
"@sveltejs/package": "^2.2.7",
|
|
53
53
|
"@sveltejs/vite-plugin-svelte": "^3.0.2",
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
|
55
55
|
"@typescript-eslint/parser": "^7.0.2",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"tailwindcss": "^3.4.1",
|
|
68
68
|
"tslib": "^2.6.2",
|
|
69
69
|
"typescript": "^5.3.3",
|
|
70
|
-
"vite": "^5.1.
|
|
71
|
-
"vitest": "^1.3.
|
|
70
|
+
"vite": "^5.1.4",
|
|
71
|
+
"vitest": "^1.3.1"
|
|
72
72
|
},
|
|
73
73
|
"svelte": "./dist/index.js",
|
|
74
74
|
"types": "./dist/index.d.ts",
|