@widgetic/design-system 0.3.84 → 0.3.86
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/toast/ToasterModal.svelte +1 -1
- 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 +1 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type StrikethroughProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type StrikethroughProps_ = typeof __propDef.props;
|
|
10
14
|
export type StrikethroughEvents = typeof __propDef.events;
|
|
11
15
|
export type StrikethroughSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Strikethrough extends SvelteComponentTyped<
|
|
16
|
+
export default class Strikethrough extends SvelteComponentTyped<StrikethroughProps_, StrikethroughEvents, StrikethroughSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type SubscriptProps = { editor: Editor };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Subscript } from 'lucide-svelte';
|
|
3
8
|
import { type Editor } from '@tiptap/core';
|
|
@@ -5,7 +10,7 @@
|
|
|
5
10
|
import { Button } from '../../ui/button/index.js';
|
|
6
11
|
import { cn } from '../../../utils.js';
|
|
7
12
|
|
|
8
|
-
let { editor }:
|
|
13
|
+
let { editor }: SubscriptProps = $props();
|
|
9
14
|
</script>
|
|
10
15
|
|
|
11
16
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type SubscriptProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type SubscriptProps_ = typeof __propDef.props;
|
|
10
14
|
export type SubscriptEvents = typeof __propDef.events;
|
|
11
15
|
export type SubscriptSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Subscript extends SvelteComponentTyped<
|
|
16
|
+
export default class Subscript extends SvelteComponentTyped<SubscriptProps_, SubscriptEvents, SubscriptSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type SuperscriptProps = { editor: Editor };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Superscript } from 'lucide-svelte';
|
|
3
8
|
import { type Editor } from '@tiptap/core';
|
|
@@ -5,7 +10,7 @@
|
|
|
5
10
|
import { Button } from '../../ui/button/index.js';
|
|
6
11
|
import { cn } from '../../../utils.js';
|
|
7
12
|
|
|
8
|
-
let { editor }:
|
|
13
|
+
let { editor }: SuperscriptProps = $props();
|
|
9
14
|
</script>
|
|
10
15
|
|
|
11
16
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type SuperscriptProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type SuperscriptProps_ = typeof __propDef.props;
|
|
10
14
|
export type SuperscriptEvents = typeof __propDef.events;
|
|
11
15
|
export type SuperscriptSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Superscript extends SvelteComponentTyped<
|
|
16
|
+
export default class Superscript extends SvelteComponentTyped<SuperscriptProps_, SuperscriptEvents, SuperscriptSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableProps = { editor: Editor };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Button } from '../../ui/button/index.js';
|
|
3
8
|
import * as DropdownMenu from '../../ui/dropdown-menu/index.js';
|
|
@@ -5,7 +10,7 @@
|
|
|
5
10
|
import { type Editor } from '@tiptap/core';
|
|
6
11
|
import { Table, ChevronDown } from 'lucide-svelte';
|
|
7
12
|
|
|
8
|
-
let { editor }:
|
|
13
|
+
let { editor }: TableProps = $props();
|
|
9
14
|
</script>
|
|
10
15
|
|
|
11
16
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type TableProps_ = typeof __propDef.props;
|
|
10
14
|
export type TableEvents = typeof __propDef.events;
|
|
11
15
|
export type TableSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Table extends SvelteComponentTyped<
|
|
16
|
+
export default class Table extends SvelteComponentTyped<TableProps_, TableEvents, TableSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TaskListProps = { editor: Editor };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { CheckSquare } from 'lucide-svelte';
|
|
3
8
|
import { type Editor } from '@tiptap/core';
|
|
@@ -5,7 +10,7 @@
|
|
|
5
10
|
import { Button } from '../../ui/button/index.js';
|
|
6
11
|
import { cn } from '../../../utils.js';
|
|
7
12
|
|
|
8
|
-
let { editor }:
|
|
13
|
+
let { editor }: TaskListProps = $props();
|
|
9
14
|
</script>
|
|
10
15
|
|
|
11
16
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TaskListProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type TaskListProps_ = typeof __propDef.props;
|
|
10
14
|
export type TaskListEvents = typeof __propDef.events;
|
|
11
15
|
export type TaskListSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TaskList extends SvelteComponentTyped<
|
|
16
|
+
export default class TaskList extends SvelteComponentTyped<TaskListProps_, TaskListEvents, TaskListSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TextProps = { editor: Editor };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import {
|
|
3
8
|
Heading1,
|
|
@@ -14,7 +19,7 @@
|
|
|
14
19
|
import * as DropdownMenu from '../../ui/dropdown-menu/index.js';
|
|
15
20
|
import Button from '../../ui/button/button.svelte';
|
|
16
21
|
|
|
17
|
-
let { editor }:
|
|
22
|
+
let { editor }: TextProps = $props();
|
|
18
23
|
</script>
|
|
19
24
|
|
|
20
25
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TextProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type TextProps_ = typeof __propDef.props;
|
|
10
14
|
export type TextEvents = typeof __propDef.events;
|
|
11
15
|
export type TextSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Text extends SvelteComponentTyped<
|
|
16
|
+
export default class Text extends SvelteComponentTyped<TextProps_, TextEvents, TextSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TextalignProps = { editor: Editor };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import {
|
|
3
8
|
AlignCenter,
|
|
@@ -12,7 +17,7 @@
|
|
|
12
17
|
import * as DropdownMenu from '../../ui/dropdown-menu/index.js';
|
|
13
18
|
import Button from '../../ui/button/button.svelte';
|
|
14
19
|
|
|
15
|
-
let { editor }:
|
|
20
|
+
let { editor }: TextalignProps = $props();
|
|
16
21
|
</script>
|
|
17
22
|
|
|
18
23
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TextalignProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type TextalignProps_ = typeof __propDef.props;
|
|
10
14
|
export type TextalignEvents = typeof __propDef.events;
|
|
11
15
|
export type TextalignSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Textalign extends SvelteComponentTyped<
|
|
16
|
+
export default class Textalign extends SvelteComponentTyped<TextalignProps_, TextalignEvents, TextalignSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TextcolorProps = Props;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Baseline } from 'lucide-svelte';
|
|
3
8
|
import { X } from 'lucide-svelte';
|
|
@@ -15,7 +20,7 @@
|
|
|
15
20
|
color?: string;
|
|
16
21
|
}
|
|
17
22
|
|
|
18
|
-
let { editor, color = $bindable('') }:
|
|
23
|
+
let { editor, color = $bindable('') }: TextcolorProps = $props();
|
|
19
24
|
</script>
|
|
20
25
|
|
|
21
26
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TextcolorProps = Props;
|
|
2
3
|
declare const __propDef: {
|
|
3
4
|
props: Record<string, never>;
|
|
4
5
|
events: {
|
|
@@ -6,9 +7,9 @@ declare const __propDef: {
|
|
|
6
7
|
};
|
|
7
8
|
slots: {};
|
|
8
9
|
};
|
|
9
|
-
|
|
10
|
+
type TextcolorProps_ = typeof __propDef.props;
|
|
10
11
|
export type TextcolorEvents = typeof __propDef.events;
|
|
11
12
|
export type TextcolorSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Textcolor extends SvelteComponentTyped<
|
|
13
|
+
export default class Textcolor extends SvelteComponentTyped<TextcolorProps_, TextcolorEvents, TextcolorSlots> {
|
|
13
14
|
}
|
|
14
15
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type UnderlineProps = { editor: Editor };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Underline } from 'lucide-svelte';
|
|
3
8
|
import { type Editor } from '@tiptap/core';
|
|
@@ -5,7 +10,7 @@
|
|
|
5
10
|
import { Button } from '../../ui/button/index.js';
|
|
6
11
|
import { cn } from '../../../utils.js';
|
|
7
12
|
|
|
8
|
-
let { editor }:
|
|
13
|
+
let { editor }: UnderlineProps = $props();
|
|
9
14
|
</script>
|
|
10
15
|
|
|
11
16
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type UnderlineProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type UnderlineProps_ = typeof __propDef.props;
|
|
10
14
|
export type UnderlineEvents = typeof __propDef.events;
|
|
11
15
|
export type UnderlineSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Underline extends SvelteComponentTyped<
|
|
16
|
+
export default class Underline extends SvelteComponentTyped<UnderlineProps_, UnderlineEvents, UnderlineSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type UndoProps = { editor: Editor };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Undo } from 'lucide-svelte';
|
|
3
8
|
import { type Editor } from '@tiptap/core';
|
|
4
9
|
import * as Tooltip from '../../ui/tooltip/index.js';
|
|
5
10
|
import { Button } from '../../ui/button/index.js';
|
|
6
11
|
|
|
7
|
-
let { editor }:
|
|
12
|
+
let { editor }: UndoProps = $props();
|
|
8
13
|
</script>
|
|
9
14
|
|
|
10
15
|
<Tooltip.Provider>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type UndoProps = {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
};
|
|
5
|
+
import { type Editor } from '@tiptap/core';
|
|
2
6
|
declare const __propDef: {
|
|
3
7
|
props: Record<string, never>;
|
|
4
8
|
events: {
|
|
@@ -6,9 +10,9 @@ declare const __propDef: {
|
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
|
|
13
|
+
type UndoProps_ = typeof __propDef.props;
|
|
10
14
|
export type UndoEvents = typeof __propDef.events;
|
|
11
15
|
export type UndoSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Undo extends SvelteComponentTyped<
|
|
16
|
+
export default class Undo extends SvelteComponentTyped<UndoProps_, UndoEvents, UndoSlots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type ShadEditorProps = Props;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import './editor.css';
|
|
3
8
|
|
|
@@ -48,7 +53,7 @@
|
|
|
48
53
|
showToolbar?: boolean;
|
|
49
54
|
}
|
|
50
55
|
|
|
51
|
-
let { class: className = '', style = '', content = $bindable(null), showToolbar = true }:
|
|
56
|
+
let { class: className = '', style = '', content = $bindable(null), showToolbar = true }: ShadEditorProps = $props();
|
|
52
57
|
|
|
53
58
|
const lowlight = createLowlight(all);
|
|
54
59
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type ShadEditorProps = Props;
|
|
2
3
|
import './editor.css';
|
|
3
4
|
import { Editor } from '@tiptap/core';
|
|
4
5
|
import './onedark.css';
|
|
@@ -16,9 +17,9 @@ declare const __propDef: {
|
|
|
16
17
|
};
|
|
17
18
|
slots: {};
|
|
18
19
|
};
|
|
19
|
-
|
|
20
|
+
type ShadEditorProps_ = typeof __propDef.props;
|
|
20
21
|
export type ShadEditorEvents = typeof __propDef.events;
|
|
21
22
|
export type ShadEditorSlots = typeof __propDef.slots;
|
|
22
|
-
export default class ShadEditor extends SvelteComponentTyped<
|
|
23
|
+
export default class ShadEditor extends SvelteComponentTyped<ShadEditorProps_, ShadEditorEvents, ShadEditorSlots> {
|
|
23
24
|
}
|
|
24
25
|
export {};
|
|
@@ -4,7 +4,7 @@ import { toast, Toaster } from '../ui/sonner';
|
|
|
4
4
|
|
|
5
5
|
// Import Icons from Icons Folder
|
|
6
6
|
import Close from '../../icons/Exclamation.svelte';
|
|
7
|
-
import Checked from '../../icons/
|
|
7
|
+
import Checked from '../../icons/Checked.svelte';
|
|
8
8
|
|
|
9
9
|
// Import Toast Types directly from the svelte-sonner module
|
|
10
10
|
// import type { ToastTypes } from 'svelte-sonner';
|
|
@@ -4,3 +4,4 @@ import Item from "./accordion-item.svelte";
|
|
|
4
4
|
import Trigger from "./accordion-trigger.svelte";
|
|
5
5
|
declare const Root: import("svelte").Component<AccordionPrimitive.RootProps, {}, "ref" | "value">;
|
|
6
6
|
export { Root, Content, Item, Trigger, Root as Accordion, Content as AccordionContent, Item as AccordionItem, Trigger as AccordionTrigger };
|
|
7
|
+
export type { AccordionRootProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps, AccordionHeaderProps, } from "bits-ui";
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type BreadcrumbEllipsisProps = WithoutChildren<WithElementRef<HTMLAttributes<HTMLSpanElement>>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import Ellipsis from "lucide-svelte/icons/ellipsis";
|
|
3
8
|
import type { WithElementRef, WithoutChildren } from "bits-ui";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
ref = $bindable(null),
|
|
9
14
|
class: className,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: BreadcrumbEllipsisProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<span
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type BreadcrumbEllipsisProps = WithoutChildren<WithElementRef<HTMLAttributes<HTMLSpanElement>>>;
|
|
3
|
+
import type { WithElementRef, WithoutChildren } 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 BreadcrumbEllipsisProps_ = typeof __propDef.props;
|
|
10
13
|
export type BreadcrumbEllipsisEvents = typeof __propDef.events;
|
|
11
14
|
export type BreadcrumbEllipsisSlots = typeof __propDef.slots;
|
|
12
|
-
export default class BreadcrumbEllipsis extends SvelteComponentTyped<
|
|
15
|
+
export default class BreadcrumbEllipsis extends SvelteComponentTyped<BreadcrumbEllipsisProps_, BreadcrumbEllipsisEvents, BreadcrumbEllipsisSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type BreadcrumbItemProps = WithElementRef<HTMLLiAttributes>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLLiAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: BreadcrumbItemProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<li bind:this={ref} class={cn("inline-flex items-center gap-1.5", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type BreadcrumbItemProps = WithElementRef<HTMLLiAttributes>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLLiAttributes } 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 BreadcrumbItemProps_ = typeof __propDef.props;
|
|
10
13
|
export type BreadcrumbItemEvents = typeof __propDef.events;
|
|
11
14
|
export type BreadcrumbItemSlots = typeof __propDef.slots;
|
|
12
|
-
export default class BreadcrumbItem extends SvelteComponentTyped<
|
|
15
|
+
export default class BreadcrumbItem extends SvelteComponentTyped<BreadcrumbItemProps_, BreadcrumbItemEvents, BreadcrumbItemSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type BreadcrumbListProps = WithElementRef<HTMLOlAttributes>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLOlAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: BreadcrumbListProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<ol
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type BreadcrumbListProps = WithElementRef<HTMLOlAttributes>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLOlAttributes } 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 BreadcrumbListProps_ = typeof __propDef.props;
|
|
10
13
|
export type BreadcrumbListEvents = typeof __propDef.events;
|
|
11
14
|
export type BreadcrumbListSlots = typeof __propDef.slots;
|
|
12
|
-
export default class BreadcrumbList extends SvelteComponentTyped<
|
|
15
|
+
export default class BreadcrumbList extends SvelteComponentTyped<BreadcrumbListProps_, BreadcrumbListEvents, BreadcrumbListSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type BreadcrumbPageProps = WithElementRef<HTMLAttributes<HTMLSpanElement>>;
|
|
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
|
+
}: BreadcrumbPageProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<span
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type BreadcrumbPageProps = WithElementRef<HTMLAttributes<HTMLSpanElement>>;
|
|
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 BreadcrumbPageProps_ = typeof __propDef.props;
|
|
10
13
|
export type BreadcrumbPageEvents = typeof __propDef.events;
|
|
11
14
|
export type BreadcrumbPageSlots = typeof __propDef.slots;
|
|
12
|
-
export default class BreadcrumbPage extends SvelteComponentTyped<
|
|
15
|
+
export default class BreadcrumbPage extends SvelteComponentTyped<BreadcrumbPageProps_, BreadcrumbPageEvents, BreadcrumbPageSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type BreadcrumbSeparatorProps = WithElementRef<HTMLLiAttributes>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
3
8
|
import type { WithElementRef } from "bits-ui";
|
|
@@ -9,7 +14,7 @@
|
|
|
9
14
|
class: className,
|
|
10
15
|
children,
|
|
11
16
|
...restProps
|
|
12
|
-
}:
|
|
17
|
+
}: BreadcrumbSeparatorProps = $props();
|
|
13
18
|
</script>
|
|
14
19
|
|
|
15
20
|
<li
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type BreadcrumbSeparatorProps = WithElementRef<HTMLLiAttributes>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLLiAttributes } 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 BreadcrumbSeparatorProps_ = typeof __propDef.props;
|
|
10
13
|
export type BreadcrumbSeparatorEvents = typeof __propDef.events;
|
|
11
14
|
export type BreadcrumbSeparatorSlots = typeof __propDef.slots;
|
|
12
|
-
export default class BreadcrumbSeparator extends SvelteComponentTyped<
|
|
15
|
+
export default class BreadcrumbSeparator extends SvelteComponentTyped<BreadcrumbSeparatorProps_, BreadcrumbSeparatorEvents, BreadcrumbSeparatorSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type BreadcrumbProps = WithElementRef<HTMLAttributes<HTMLElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLAttributes } from "svelte/elements";
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
class: className,
|
|
8
13
|
children,
|
|
9
14
|
...restProps
|
|
10
|
-
}:
|
|
15
|
+
}: BreadcrumbProps = $props();
|
|
11
16
|
</script>
|
|
12
17
|
|
|
13
18
|
<nav bind:this={ref} class={className} aria-label="breadcrumb" {...restProps}>
|