@widgetic/design-system 0.3.85 → 0.3.87
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/shad-editor/colorpicker.svelte +6 -1
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +5 -2
- package/dist/components/shad-editor/custom/code-extended.svelte +6 -2
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +4 -2
- package/dist/components/shad-editor/custom/image-extended-component.svelte +6 -1
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +4 -2
- package/dist/components/shad-editor/editor-toolbar.svelte +6 -1
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +3 -2
- package/dist/components/shad-editor/icons/block-quote.svelte +6 -1
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/bold.svelte +6 -1
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/buttle-list.svelte +6 -1
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/code.svelte +6 -1
- package/dist/components/shad-editor/icons/code.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/highlighter.svelte +6 -1
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +3 -2
- package/dist/components/shad-editor/icons/image.svelte +6 -1
- package/dist/components/shad-editor/icons/image.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/italic.svelte +6 -1
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/link.svelte +6 -1
- package/dist/components/shad-editor/icons/link.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/ordered-list.svelte +6 -1
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/quickcolor.svelte +6 -1
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/redo.svelte +6 -1
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/search-replace.svelte +6 -1
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/strikethrough.svelte +6 -1
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/subscript.svelte +6 -1
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/superscript.svelte +6 -1
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/table.svelte +6 -1
- package/dist/components/shad-editor/icons/table.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/task-list.svelte +6 -1
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/text.svelte +6 -1
- package/dist/components/shad-editor/icons/text.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/textalign.svelte +6 -1
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/textcolor.svelte +6 -1
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +3 -2
- package/dist/components/shad-editor/icons/underline.svelte +6 -1
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/undo.svelte +6 -1
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +6 -2
- package/dist/components/shad-editor/shad-editor.svelte +6 -1
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +3 -2
- package/dist/components/ui/accordion/index.d.ts +1 -0
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +5 -2
- package/dist/components/ui/calendar/calendar-cell.svelte +6 -1
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-day.svelte +6 -1
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-grid-body.svelte +6 -1
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-grid-head.svelte +6 -1
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-grid-row.svelte +6 -1
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-grid.svelte +6 -1
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-head-cell.svelte +6 -1
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-header.svelte +6 -1
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-heading.svelte +6 -1
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-months.svelte +6 -1
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +5 -2
- package/dist/components/ui/calendar/calendar-next-button.svelte +6 -1
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-prev-button.svelte +6 -1
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar.svelte +6 -1
- package/dist/components/ui/calendar/calendar.svelte.d.ts +4 -2
- package/dist/components/ui/card/card-content.svelte +6 -1
- package/dist/components/ui/card/card-content.svelte.d.ts +5 -2
- package/dist/components/ui/card/card-description.svelte +6 -1
- package/dist/components/ui/card/card-description.svelte.d.ts +5 -2
- package/dist/components/ui/card/card-footer.svelte +6 -1
- package/dist/components/ui/card/card-footer.svelte.d.ts +5 -2
- package/dist/components/ui/card/card-header.svelte +6 -1
- package/dist/components/ui/card/card-header.svelte.d.ts +5 -2
- package/dist/components/ui/card/card.svelte +6 -1
- package/dist/components/ui/card/card.svelte.d.ts +5 -2
- package/dist/components/ui/checkbox/checkbox.svelte +6 -1
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-empty.svelte +6 -1
- package/dist/components/ui/command/command-empty.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-input.svelte +6 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-item.svelte +6 -1
- package/dist/components/ui/command/command-item.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-link-item.svelte +6 -1
- package/dist/components/ui/command/command-link-item.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-list.svelte +6 -1
- package/dist/components/ui/command/command-list.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-separator.svelte +6 -1
- package/dist/components/ui/command/command-separator.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-shortcut.svelte +6 -1
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +5 -2
- package/dist/components/ui/command/command.svelte +6 -1
- package/dist/components/ui/command/command.svelte.d.ts +4 -2
- package/dist/components/ui/dialog/dialog-description.svelte +6 -1
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +4 -2
- package/dist/components/ui/dialog/dialog-footer.svelte +6 -1
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +5 -2
- package/dist/components/ui/dialog/dialog-header.svelte +6 -1
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +5 -2
- package/dist/components/ui/dialog/dialog-overlay.svelte +6 -1
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +4 -2
- package/dist/components/ui/dialog/dialog-title.svelte +6 -1
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer-description.svelte +6 -1
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer-footer.svelte +6 -1
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +5 -2
- package/dist/components/ui/drawer/drawer-header.svelte +6 -1
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +5 -2
- package/dist/components/ui/drawer/drawer-nested.svelte +6 -1
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer-overlay.svelte +6 -1
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer-title.svelte +6 -1
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer.svelte +6 -1
- package/dist/components/ui/drawer/drawer.svelte.d.ts +4 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +6 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +4 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +6 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +4 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +6 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +5 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +6 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +4 -2
- package/dist/components/ui/input/input.svelte +6 -1
- package/dist/components/ui/input/input.svelte.d.ts +5 -2
- package/dist/components/ui/input-otp/input-otp-group.svelte +6 -1
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +5 -2
- package/dist/components/ui/input-otp/input-otp-separator.svelte +6 -1
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +5 -2
- package/dist/components/ui/input-otp/input-otp-slot.svelte +6 -1
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +5 -2
- package/dist/components/ui/input-otp/input-otp.svelte +6 -1
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +5 -2
- package/dist/components/ui/label/label.svelte +6 -1
- package/dist/components/ui/label/label.svelte.d.ts +4 -2
- package/dist/components/ui/progress/progress.svelte +6 -1
- package/dist/components/ui/progress/progress.svelte.d.ts +4 -2
- package/dist/components/ui/radio-group/radio-group-item.svelte +6 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +4 -2
- package/dist/components/ui/radio-group/radio-group.svelte +6 -1
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-header.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-months.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +5 -2
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +4 -2
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte +6 -1
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-group-heading.svelte +6 -1
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-item.svelte +6 -1
- package/dist/components/ui/select/select-item.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-scroll-down-button.svelte +6 -1
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-scroll-up-button.svelte +6 -1
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-separator.svelte +6 -1
- package/dist/components/ui/select/select-separator.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-trigger.svelte +6 -1
- package/dist/components/ui/select/select-trigger.svelte.d.ts +4 -2
- package/dist/components/ui/separator/separator.svelte +6 -1
- package/dist/components/ui/separator/separator.svelte.d.ts +4 -2
- package/dist/components/ui/slider/slider.svelte +6 -1
- package/dist/components/ui/slider/slider.svelte.d.ts +4 -2
- package/dist/components/ui/switch/switch.svelte +6 -1
- package/dist/components/ui/switch/switch.svelte.d.ts +4 -2
- package/dist/components/ui/table/table-body.svelte +6 -1
- package/dist/components/ui/table/table-body.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-caption.svelte +6 -1
- package/dist/components/ui/table/table-caption.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-cell.svelte +6 -1
- package/dist/components/ui/table/table-cell.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-footer.svelte +6 -1
- package/dist/components/ui/table/table-footer.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-head.svelte +6 -1
- package/dist/components/ui/table/table-head.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-header.svelte +6 -1
- package/dist/components/ui/table/table-header.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-row.svelte +6 -1
- package/dist/components/ui/table/table-row.svelte.d.ts +5 -2
- package/dist/components/ui/table/table.svelte +6 -1
- package/dist/components/ui/table/table.svelte.d.ts +5 -2
- package/dist/components/ui/tabs/tabs-content.svelte +6 -1
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +4 -2
- package/dist/components/ui/tabs/tabs-list.svelte +6 -1
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +4 -2
- package/dist/components/ui/tabs/tabs-trigger.svelte +6 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +4 -2
- package/dist/components/ui/textarea/textarea.svelte +6 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +5 -2
- package/dist/components/ui/toggle-group/toggle-group-item.svelte +6 -1
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +5 -2
- package/dist/components/ui/tooltip/tooltip-content.svelte +6 -1
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +4 -2
- package/package.json +10 -10
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarCellProps = CalendarPrimitive.CellProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: CalendarCellProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<CalendarPrimitive.Cell
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarCellProps = CalendarPrimitive.CellProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarCellProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarCellEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarCellSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarCell extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarCell extends SvelteComponentTyped<CalendarCellProps_, CalendarCellEvents, CalendarCellSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarDayProps = CalendarPrimitive.DayProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { buttonVariants } from "../button/index.js";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
ref = $bindable(null),
|
|
8
13
|
class: className,
|
|
9
14
|
...restProps
|
|
10
|
-
}:
|
|
15
|
+
}: CalendarDayProps = $props();
|
|
11
16
|
</script>
|
|
12
17
|
|
|
13
18
|
<CalendarPrimitive.Day
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarDayProps = CalendarPrimitive.DayProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarDayProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarDayEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarDaySlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarDay extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarDay extends SvelteComponentTyped<CalendarDayProps_, CalendarDayEvents, CalendarDaySlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarGridBodyProps = CalendarPrimitive.GridBodyProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: CalendarGridBodyProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<CalendarPrimitive.GridBody bind:ref class={cn(className)} {...restProps} />
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarGridBodyProps = CalendarPrimitive.GridBodyProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarGridBodyProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarGridBodyEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarGridBodySlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarGridBody extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarGridBody extends SvelteComponentTyped<CalendarGridBodyProps_, CalendarGridBodyEvents, CalendarGridBodySlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarGridHeadProps = CalendarPrimitive.GridHeadProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: CalendarGridHeadProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<CalendarPrimitive.GridHead bind:ref class={cn(className)} {...restProps} />
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarGridHeadProps = CalendarPrimitive.GridHeadProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarGridHeadProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarGridHeadEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarGridHeadSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarGridHead extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarGridHead extends SvelteComponentTyped<CalendarGridHeadProps_, CalendarGridHeadEvents, CalendarGridHeadSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarGridRowProps = CalendarPrimitive.GridRowProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: CalendarGridRowProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<CalendarPrimitive.GridRow bind:ref class={cn("flex", className)} {...restProps} />
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarGridRowProps = CalendarPrimitive.GridRowProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarGridRowProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarGridRowEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarGridRowSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarGridRow extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarGridRow extends SvelteComponentTyped<CalendarGridRowProps_, CalendarGridRowEvents, CalendarGridRowSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarGridProps = CalendarPrimitive.GridProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: CalendarGridProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<CalendarPrimitive.Grid
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarGridProps = CalendarPrimitive.GridProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarGridProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarGridEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarGridSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarGrid extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarGrid extends SvelteComponentTyped<CalendarGridProps_, CalendarGridEvents, CalendarGridSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarHeadCellProps = CalendarPrimitive.HeadCellProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: CalendarHeadCellProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<CalendarPrimitive.HeadCell
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarHeadCellProps = CalendarPrimitive.HeadCellProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarHeadCellProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarHeadCellEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarHeadCellSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarHeadCell extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarHeadCell extends SvelteComponentTyped<CalendarHeadCellProps_, CalendarHeadCellEvents, CalendarHeadCellSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarHeaderProps = CalendarPrimitive.HeaderProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: CalendarHeaderProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<CalendarPrimitive.Header
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarHeaderProps = CalendarPrimitive.HeaderProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarHeaderProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarHeaderEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarHeaderSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarHeader extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarHeader extends SvelteComponentTyped<CalendarHeaderProps_, CalendarHeaderEvents, CalendarHeaderSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarHeadingProps = CalendarPrimitive.HeadingProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: CalendarHeadingProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<CalendarPrimitive.Heading bind:ref class={cn("text-sm font-medium", className)} {...restProps} />
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarHeadingProps = CalendarPrimitive.HeadingProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarHeadingProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarHeadingEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarHeadingSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarHeading extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarHeading extends SvelteComponentTyped<CalendarHeadingProps_, CalendarHeadingEvents, CalendarHeadingSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type CalendarMonthsProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: CalendarMonthsProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<div
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type CalendarMonthsProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type CalendarMonthsProps_ = typeof __propDef.props;
|
|
10
13
|
export type CalendarMonthsEvents = typeof __propDef.events;
|
|
11
14
|
export type CalendarMonthsSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarMonths extends SvelteComponentTyped<
|
|
15
|
+
export default class CalendarMonths extends SvelteComponentTyped<CalendarMonthsProps_, CalendarMonthsEvents, CalendarMonthsSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarNextButtonProps = CalendarPrimitive.PrevButtonProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
@@ -9,7 +14,7 @@
|
|
|
9
14
|
class: className,
|
|
10
15
|
children,
|
|
11
16
|
...restProps
|
|
12
|
-
}:
|
|
17
|
+
}: CalendarNextButtonProps = $props();
|
|
13
18
|
</script>
|
|
14
19
|
|
|
15
20
|
{#snippet Fallback()}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarNextButtonProps = CalendarPrimitive.PrevButtonProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarNextButtonProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarNextButtonEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarNextButtonSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarNextButton extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarNextButton extends SvelteComponentTyped<CalendarNextButtonProps_, CalendarNextButtonEvents, CalendarNextButtonSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarPrevButtonProps = CalendarPrimitive.PrevButtonProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
8
|
import ChevronLeft from "lucide-svelte/icons/chevron-left";
|
|
@@ -9,7 +14,7 @@
|
|
|
9
14
|
class: className,
|
|
10
15
|
children,
|
|
11
16
|
...restProps
|
|
12
|
-
}:
|
|
17
|
+
}: CalendarPrevButtonProps = $props();
|
|
13
18
|
</script>
|
|
14
19
|
|
|
15
20
|
{#snippet Fallback()}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
export type CalendarPrevButtonProps = CalendarPrimitive.PrevButtonProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarPrevButtonProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarPrevButtonEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarPrevButtonSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CalendarPrevButton extends SvelteComponentTyped<
|
|
14
|
+
export default class CalendarPrevButton extends SvelteComponentTyped<CalendarPrevButtonProps_, CalendarPrevButtonEvents, CalendarPrevButtonSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Calendar as CalendarPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type CalendarProps = WithoutChildrenOrChild<CalendarPrimitive.RootProps>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Calendar as CalendarPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
3
8
|
import * as Calendar from "./index.js";
|
|
@@ -10,7 +15,7 @@
|
|
|
10
15
|
class: className,
|
|
11
16
|
weekdayFormat = "short",
|
|
12
17
|
...restProps
|
|
13
|
-
}:
|
|
18
|
+
}: CalendarProps = $props();
|
|
14
19
|
</script>
|
|
15
20
|
|
|
16
21
|
<!--
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Calendar as CalendarPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type CalendarProps = WithoutChildrenOrChild<CalendarPrimitive.RootProps>;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type CalendarProps_ = typeof __propDef.props;
|
|
10
12
|
export type CalendarEvents = typeof __propDef.events;
|
|
11
13
|
export type CalendarSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Calendar extends SvelteComponentTyped<
|
|
14
|
+
export default class Calendar extends SvelteComponentTyped<CalendarProps_, CalendarEvents, CalendarSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type CardContentProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: CardContentProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<div bind:this={ref} class={cn("p-6", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type CardContentProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type CardContentProps_ = typeof __propDef.props;
|
|
10
13
|
export type CardContentEvents = typeof __propDef.events;
|
|
11
14
|
export type CardContentSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CardContent extends SvelteComponentTyped<
|
|
15
|
+
export default class CardContent extends SvelteComponentTyped<CardContentProps_, CardContentEvents, CardContentSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type CardDescriptionProps = WithElementRef<HTMLAttributes<HTMLParagraphElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: CardDescriptionProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<p bind:this={ref} class={cn("text-muted-foreground text-sm", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type CardDescriptionProps = WithElementRef<HTMLAttributes<HTMLParagraphElement>>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type CardDescriptionProps_ = typeof __propDef.props;
|
|
10
13
|
export type CardDescriptionEvents = typeof __propDef.events;
|
|
11
14
|
export type CardDescriptionSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CardDescription extends SvelteComponentTyped<
|
|
15
|
+
export default class CardDescription extends SvelteComponentTyped<CardDescriptionProps_, CardDescriptionEvents, CardDescriptionSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type CardFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: CardFooterProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<div bind:this={ref} class={cn("flex items-center p-6 pt-0", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type CardFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type CardFooterProps_ = typeof __propDef.props;
|
|
10
13
|
export type CardFooterEvents = typeof __propDef.events;
|
|
11
14
|
export type CardFooterSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CardFooter extends SvelteComponentTyped<
|
|
15
|
+
export default class CardFooter extends SvelteComponentTyped<CardFooterProps_, CardFooterEvents, CardFooterSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type CardHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: CardHeaderProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<div bind:this={ref} class={cn("flex flex-col space-y-1.5 p-6 pb-0", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type CardHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type CardHeaderProps_ = typeof __propDef.props;
|
|
10
13
|
export type CardHeaderEvents = typeof __propDef.events;
|
|
11
14
|
export type CardHeaderSlots = typeof __propDef.slots;
|
|
12
|
-
export default class CardHeader extends SvelteComponentTyped<
|
|
15
|
+
export default class CardHeader extends SvelteComponentTyped<CardHeaderProps_, CardHeaderEvents, CardHeaderSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|