@widgetic/design-system 0.3.89 → 0.5.8
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/README.md +122 -690
- package/dist/components/CopyableHeader.svelte +11 -13
- package/dist/components/EmptyState.svelte +4 -2
- package/dist/components/EmptyState.svelte.d.ts +2 -1
- package/dist/components/GenerateLoader.svelte +50 -0
- package/dist/components/GenerateLoader.svelte.d.ts +21 -0
- package/dist/components/PasswordInput.svelte +5 -1
- package/dist/components/WScrollArea.svelte +3 -3
- package/dist/components/debug-grid/DebugGrid.svelte +1 -1
- package/dist/components/ic/browser/BrowserInputController.svelte +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/modals/BaseModal.svelte +1 -1
- package/dist/components/modals/BaseModal.svelte.d.ts +1 -1
- package/dist/components/modals/NewItemDialog.svelte +1 -1
- package/dist/components/modals/Portal.svelte +14 -15
- package/dist/components/modals/RenameDialog.svelte +7 -6
- package/dist/components/navigation/Breadcrumbs.svelte +65 -39
- package/dist/components/pdf/PDFViewer.svelte +10 -19
- package/dist/components/pdf/PDFViewer.svelte.d.ts +4 -4
- package/dist/components/search-input/SearchInput.svelte +3 -8
- package/dist/components/search-input/index.d.ts +3 -14
- package/dist/components/search-input/index.js +1 -2
- package/dist/components/search-input/index2.d.ts +14 -0
- package/dist/components/shad-editor/README.md +18 -0
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +2 -2
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +2 -2
- package/dist/components/shad-editor/custom/image-extended-component.svelte +1 -1
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +2 -2
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +2 -2
- package/dist/components/shad-editor/editor.css +8 -4
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/code.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/image.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/link.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/table.svelte +3 -3
- package/dist/components/shad-editor/icons/table.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/text.svelte +1 -1
- package/dist/components/shad-editor/icons/text.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +2 -2
- package/dist/components/shad-editor/onedark.css +3 -0
- package/dist/components/shad-editor/shad-editor.svelte +1 -1
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +2 -2
- package/dist/components/toast/ToasterModal.svelte +15 -9
- package/dist/components/toast/ToasterModal.svelte.d.ts +2 -2
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +4 -3
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +4 -3
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +6 -3
- package/dist/components/ui/alert/index.d.ts +2 -2
- package/dist/components/ui/badge/badge.svelte +1 -1
- package/dist/components/ui/badge/badge.svelte.d.ts +8 -55
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +8 -3
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +2 -2
- package/dist/components/ui/button/button.svelte +1 -1
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-day.svelte +4 -4
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-content.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-description.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-footer.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-header.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-title.svelte.d.ts +7 -3
- package/dist/components/ui/card/card.svelte +1 -1
- package/dist/components/ui/card/card.svelte.d.ts +2 -2
- package/dist/components/ui/checkbox/checkbox.svelte +1 -1
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +2 -2
- package/dist/components/ui/collapsible/index.d.ts +1 -12
- package/dist/components/ui/command/command-dialog.svelte +1 -1
- package/dist/components/ui/command/command-dialog.svelte.d.ts +11 -3
- package/dist/components/ui/command/command-empty.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-group.svelte.d.ts +6 -3
- package/dist/components/ui/command/command-input.svelte +1 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-item.svelte +1 -1
- package/dist/components/ui/command/command-item.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-link-item.svelte +1 -1
- package/dist/components/ui/command/command-link-item.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-list.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-separator.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +2 -2
- package/dist/components/ui/command/command.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-content.svelte +1 -1
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +9 -3
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +6 -3
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +8 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +7 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/index.d.ts +6 -14
- package/dist/components/ui/hover-card/hover-card-content.svelte +1 -1
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +6 -3
- package/dist/components/ui/input/input.svelte +1 -1
- package/dist/components/ui/input/input.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp.svelte +1 -1
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +2 -2
- package/dist/components/ui/label/label.svelte.d.ts +2 -2
- package/dist/components/ui/popover/popover-content.svelte +1 -1
- package/dist/components/ui/popover/popover-content.svelte.d.ts +6 -3
- package/dist/components/ui/progress/progress.svelte.d.ts +2 -2
- package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +2 -2
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -6
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +2 -2
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +2 -2
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +8 -3
- package/dist/components/ui/select/index.d.ts +1 -1
- package/dist/components/ui/select/select-content.svelte.d.ts +6 -3
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-item.svelte +1 -1
- package/dist/components/ui/select/select-item.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-separator.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-trigger.svelte +1 -1
- package/dist/components/ui/select/select-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/separator/separator.svelte.d.ts +2 -2
- package/dist/components/ui/slider/slider.svelte +1 -1
- package/dist/components/ui/slider/slider.svelte.d.ts +2 -2
- package/dist/components/ui/sonner/sonner.svelte.d.ts +5 -4
- package/dist/components/ui/switch/switch.svelte +1 -1
- package/dist/components/ui/switch/switch.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-body.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-caption.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-cell.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-footer.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-head.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-header.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-row.svelte.d.ts +2 -2
- package/dist/components/ui/table/table.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-content.svelte +1 -1
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-trigger.svelte +1 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/textarea/textarea.svelte +1 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +2 -2
- package/dist/components/ui/toggle/toggle.svelte +1 -1
- package/dist/components/ui/toggle/toggle.svelte.d.ts +8 -78
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +2 -2
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +5 -6
- package/dist/components/ui/tooltip/index.d.ts +4 -4
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +2 -2
- package/dist/components/widget-system/Moveable.svelte +100 -23
- package/dist/components/widget-system/Moveable.svelte.d.ts +3 -1
- package/dist/icons/CheckerBoardBackground.svelte.d.ts +3 -3
- package/dist/icons/OpacitySliderArrows.svelte.d.ts +3 -3
- package/dist/icons/eye-off.svg +1 -0
- package/dist/icons/eye.svg +1 -0
- package/dist/shad-editor/index.d.ts +1 -0
- package/dist/shad-editor/index.js +1 -0
- package/dist/styles/fonts.css +59 -47
- package/dist/styles/global.css +119 -52
- package/package.json +164 -36
- package/tailwind.config.ts +13 -6
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* - Uses Widgetic design system styling
|
|
11
11
|
-->
|
|
12
12
|
<script lang="ts">
|
|
13
|
-
import { X, IconSearch } from '@widgetic/design-system/icons';
|
|
14
|
-
|
|
13
|
+
// import { X, IconSearch } from '@widgetic/design-system/icons';
|
|
14
|
+
import { X, IconSearch } from '../../icons';
|
|
15
15
|
/**
|
|
16
16
|
* Placeholder text for the search input
|
|
17
17
|
*/
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
onKeydown(e);
|
|
80
80
|
}}
|
|
81
81
|
onpaste={onPaste}
|
|
82
|
-
class="w-full h-[38px] border-0 bg-transparent focus:outline-
|
|
82
|
+
class="w-full h-[38px] border-0 bg-transparent focus:outline-hidden focus:ring-0 focus-visible:ring-0 pl-9 pr-8 subtext
|
|
83
83
|
transition-all duration-300
|
|
84
84
|
{value ? 'text-[hsl(var(--grey7))]' : 'text-[hsl(var(--grey3))] placeholder:text-[hsl(var(--grey3))] placeholder:transition-colors placeholder:duration-300 group-hover:text-[hsl(var(--grey7))] group-hover:placeholder:text-[hsl(var(--grey7))] group-focus-within:text-[hsl(var(--grey7))] group-focus-within:placeholder:text-[hsl(var(--grey7)))'}
|
|
85
85
|
{inputClass}"
|
|
@@ -104,11 +104,6 @@
|
|
|
104
104
|
transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease !important;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
input::-moz-placeholder {
|
|
108
|
-
-moz-transition: color 300ms ease !important;
|
|
109
|
-
transition: color 300ms ease !important;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
107
|
input::placeholder {
|
|
113
108
|
transition: color 300ms ease !important;
|
|
114
109
|
}
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onInput?: (event: Event) => Promise<void> | void;
|
|
7
|
-
onKeydown?: (event: KeyboardEvent) => void;
|
|
8
|
-
onClear?: () => void;
|
|
9
|
-
onPaste?: (event: ClipboardEvent) => void;
|
|
10
|
-
containerClass?: string;
|
|
11
|
-
inputClass?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export default class SearchInput extends SvelteComponent<SearchInputProps> {}
|
|
1
|
+
import SearchInput from './SearchInput.svelte';
|
|
2
|
+
export { SearchInput };
|
|
3
|
+
export default SearchInput;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SvelteComponent } from 'svelte';
|
|
2
|
+
|
|
3
|
+
export interface SearchInputProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
onInput?: (event: Event) => Promise<void> | void;
|
|
7
|
+
onKeydown?: (event: KeyboardEvent) => void;
|
|
8
|
+
onClear?: () => void;
|
|
9
|
+
onPaste?: (event: ClipboardEvent) => void;
|
|
10
|
+
containerClass?: string;
|
|
11
|
+
inputClass?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default class SearchInput extends SvelteComponent<SearchInputProps> {}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# ShadEditor Component
|
|
2
|
+
|
|
3
|
+
This directory contains the Svelte components for a rich text editor based on Tiptap and styled with shadcn-svelte UI elements.
|
|
4
|
+
|
|
5
|
+
## Origin
|
|
6
|
+
|
|
7
|
+
The code was originally scaffolded using version `0.0.7` of the now-deprecated `shadeditor` CLI tool.
|
|
8
|
+
|
|
9
|
+
* Original (deprecated) npm package: [https://www.npmjs.com/package/shadeditor](https://www.npmjs.com/package/shadeditor)
|
|
10
|
+
* The author appears to have continued development under a new name/project called "Edra": [https://edra.tsuzat.com/](https://edra.tsuzat.com/)
|
|
11
|
+
|
|
12
|
+
## Current Status
|
|
13
|
+
|
|
14
|
+
The components in this directory have been adapted to work within the Widgetic Design System after its migration to **Tailwind CSS v4**.
|
|
15
|
+
|
|
16
|
+
**Important:** Do not attempt to update or reinstall this component using the original `shadeditor` CLI (`npx shadeditor init`) or the new one from edra, as it is designed for Tailwind v3 and will likely break the current Tailwind v4 configuration and component adaptations.
|
|
17
|
+
|
|
18
|
+
Use the component as it exists within this design system project.
|
|
@@ -3,13 +3,13 @@ export type ColorpickerProps = {
|
|
|
3
3
|
hex: string;
|
|
4
4
|
};
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: ColorpickerProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type ColorpickerProps_ =
|
|
12
|
+
type ColorpickerProps_ = ColorpickerProps;
|
|
13
13
|
export type ColorpickerEvents = typeof __propDef.events;
|
|
14
14
|
export type ColorpickerSlots = typeof __propDef.slots;
|
|
15
15
|
export default class Colorpicker extends SvelteComponentTyped<ColorpickerProps_, ColorpickerEvents, ColorpickerSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
export type CodeExtendedProps = NodeViewProps;
|
|
3
3
|
import type { NodeViewProps } from '@tiptap/core';
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CodeExtendedProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CodeExtendedProps_ =
|
|
11
|
+
type CodeExtendedProps_ = CodeExtendedProps;
|
|
12
12
|
export type CodeExtendedEvents = typeof __propDef.events;
|
|
13
13
|
export type CodeExtendedSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CodeExtended extends SvelteComponentTyped<CodeExtendedProps_, CodeExtendedEvents, CodeExtendedSlots> {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
<input
|
|
137
137
|
value={node.attrs.title}
|
|
138
138
|
type="text"
|
|
139
|
-
class="my-1 w-full bg-transparent text-center text-sm text-muted-foreground outline-
|
|
139
|
+
class="my-1 w-full bg-transparent text-center text-sm text-muted-foreground outline-hidden"
|
|
140
140
|
onchange={(e) => {
|
|
141
141
|
if (e.target === null) return;
|
|
142
142
|
//@ts-ignore
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
export type ImageExtendedComponentProps = NodeViewProps;
|
|
3
3
|
import type { NodeViewProps } from '@tiptap/core';
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: ImageExtendedComponentProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type ImageExtendedComponentProps_ =
|
|
11
|
+
type ImageExtendedComponentProps_ = ImageExtendedComponentProps;
|
|
12
12
|
export type ImageExtendedComponentEvents = typeof __propDef.events;
|
|
13
13
|
export type ImageExtendedComponentSlots = typeof __propDef.slots;
|
|
14
14
|
export default class ImageExtendedComponent extends SvelteComponentTyped<ImageExtendedComponentProps_, ImageExtendedComponentEvents, ImageExtendedComponentSlots> {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
export type EditorToolbarProps = Props;
|
|
3
3
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
4
|
+
props: EditorToolbarProps;
|
|
5
5
|
events: {
|
|
6
6
|
[evt: string]: CustomEvent<any>;
|
|
7
7
|
};
|
|
8
8
|
slots: {};
|
|
9
9
|
};
|
|
10
|
-
type EditorToolbarProps_ =
|
|
10
|
+
type EditorToolbarProps_ = EditorToolbarProps;
|
|
11
11
|
export type EditorToolbarEvents = typeof __propDef.events;
|
|
12
12
|
export type EditorToolbarSlots = typeof __propDef.slots;
|
|
13
13
|
export default class EditorToolbar extends SvelteComponentTyped<EditorToolbarProps_, EditorToolbarEvents, EditorToolbarSlots> {
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
/* @config "../../../../tailwind.config.ts"; */
|
|
2
|
+
@reference "../../styles/global.css";
|
|
3
|
+
|
|
1
4
|
.tiptap :where(p):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
|
|
2
5
|
margin-top: 0 !important;
|
|
3
6
|
margin-bottom: 0 !important;
|
|
4
7
|
}
|
|
5
8
|
|
|
6
9
|
.tiptap code:not(pre code) {
|
|
7
|
-
/* Remove the before and after pseudo elements */
|
|
8
|
-
@apply rounded border bg-muted/50 p-1 before:content-[''] after:content-[''];
|
|
10
|
+
/* Remove the before and after pseudo elements, replace rounded with rounded-sm */
|
|
11
|
+
@apply rounded-sm border bg-muted/50 p-1 before:content-[''] after:content-[''];
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
.tiptap blockquote p {
|
|
@@ -54,7 +57,7 @@ ul[data-type='taskList'] li[data-checked='true'] div {
|
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
input[type='checkbox'] {
|
|
57
|
-
@apply size-4 cursor-pointer rounded
|
|
60
|
+
@apply !size-4 !cursor-pointer !rounded-sm;
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
ul[data-type='taskList'] ul[data-type='taskList'] {
|
|
@@ -67,7 +70,8 @@ ul[data-type='taskList'] ul[data-type='taskList'] {
|
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
.color::before {
|
|
70
|
-
|
|
73
|
+
/* Replace rounded with rounded-md */
|
|
74
|
+
@apply mb-[0.15rem] mr-[0.1rem] inline-block size-[1rem] rounded-md border border-muted align-middle;
|
|
71
75
|
background-color: var(--color);
|
|
72
76
|
content: ' ';
|
|
73
77
|
}
|
|
@@ -4,13 +4,13 @@ export type BlockQuoteProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: BlockQuoteProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type BlockQuoteProps_ =
|
|
13
|
+
type BlockQuoteProps_ = BlockQuoteProps;
|
|
14
14
|
export type BlockQuoteEvents = typeof __propDef.events;
|
|
15
15
|
export type BlockQuoteSlots = typeof __propDef.slots;
|
|
16
16
|
export default class BlockQuote extends SvelteComponentTyped<BlockQuoteProps_, BlockQuoteEvents, BlockQuoteSlots> {
|
|
@@ -4,13 +4,13 @@ export type BoldProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: BoldProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type BoldProps_ =
|
|
13
|
+
type BoldProps_ = BoldProps;
|
|
14
14
|
export type BoldEvents = typeof __propDef.events;
|
|
15
15
|
export type BoldSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Bold extends SvelteComponentTyped<BoldProps_, BoldEvents, BoldSlots> {
|
|
@@ -4,13 +4,13 @@ export type ButtleListProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: ButtleListProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type ButtleListProps_ =
|
|
13
|
+
type ButtleListProps_ = ButtleListProps;
|
|
14
14
|
export type ButtleListEvents = typeof __propDef.events;
|
|
15
15
|
export type ButtleListSlots = typeof __propDef.slots;
|
|
16
16
|
export default class ButtleList extends SvelteComponentTyped<ButtleListProps_, ButtleListEvents, ButtleListSlots> {
|
|
@@ -4,13 +4,13 @@ export type CodeProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: CodeProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type CodeProps_ =
|
|
13
|
+
type CodeProps_ = CodeProps;
|
|
14
14
|
export type CodeEvents = typeof __propDef.events;
|
|
15
15
|
export type CodeSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Code extends SvelteComponentTyped<CodeProps_, CodeEvents, CodeSlots> {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
export type HighlighterProps = Props;
|
|
3
3
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
4
|
+
props: HighlighterProps;
|
|
5
5
|
events: {
|
|
6
6
|
[evt: string]: CustomEvent<any>;
|
|
7
7
|
};
|
|
8
8
|
slots: {};
|
|
9
9
|
};
|
|
10
|
-
type HighlighterProps_ =
|
|
10
|
+
type HighlighterProps_ = HighlighterProps;
|
|
11
11
|
export type HighlighterEvents = typeof __propDef.events;
|
|
12
12
|
export type HighlighterSlots = typeof __propDef.slots;
|
|
13
13
|
export default class Highlighter extends SvelteComponentTyped<HighlighterProps_, HighlighterEvents, HighlighterSlots> {
|
|
@@ -4,13 +4,13 @@ export type ImageProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: ImageProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type ImageProps_ =
|
|
13
|
+
type ImageProps_ = ImageProps;
|
|
14
14
|
export type ImageEvents = typeof __propDef.events;
|
|
15
15
|
export type ImageSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Image extends SvelteComponentTyped<ImageProps_, ImageEvents, ImageSlots> {
|
|
@@ -4,13 +4,13 @@ export type ItalicProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: ItalicProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type ItalicProps_ =
|
|
13
|
+
type ItalicProps_ = ItalicProps;
|
|
14
14
|
export type ItalicEvents = typeof __propDef.events;
|
|
15
15
|
export type ItalicSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Italic extends SvelteComponentTyped<ItalicProps_, ItalicEvents, ItalicSlots> {
|
|
@@ -4,13 +4,13 @@ export type LinkProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: LinkProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type LinkProps_ =
|
|
13
|
+
type LinkProps_ = LinkProps;
|
|
14
14
|
export type LinkEvents = typeof __propDef.events;
|
|
15
15
|
export type LinkSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Link extends SvelteComponentTyped<LinkProps_, LinkEvents, LinkSlots> {
|
|
@@ -4,13 +4,13 @@ export type OrderedListProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: OrderedListProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type OrderedListProps_ =
|
|
13
|
+
type OrderedListProps_ = OrderedListProps;
|
|
14
14
|
export type OrderedListEvents = typeof __propDef.events;
|
|
15
15
|
export type OrderedListSlots = typeof __propDef.slots;
|
|
16
16
|
export default class OrderedList extends SvelteComponentTyped<OrderedListProps_, OrderedListEvents, OrderedListSlots> {
|
|
@@ -4,13 +4,13 @@ export type QuickcolorProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: QuickcolorProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type QuickcolorProps_ =
|
|
13
|
+
type QuickcolorProps_ = QuickcolorProps;
|
|
14
14
|
export type QuickcolorEvents = typeof __propDef.events;
|
|
15
15
|
export type QuickcolorSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Quickcolor extends SvelteComponentTyped<QuickcolorProps_, QuickcolorEvents, QuickcolorSlots> {
|
|
@@ -4,13 +4,13 @@ export type RedoProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: RedoProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type RedoProps_ =
|
|
13
|
+
type RedoProps_ = RedoProps;
|
|
14
14
|
export type RedoEvents = typeof __propDef.events;
|
|
15
15
|
export type RedoSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Redo extends SvelteComponentTyped<RedoProps_, RedoEvents, RedoSlots> {
|
|
@@ -4,13 +4,13 @@ export type SearchReplaceProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: SearchReplaceProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type SearchReplaceProps_ =
|
|
13
|
+
type SearchReplaceProps_ = SearchReplaceProps;
|
|
14
14
|
export type SearchReplaceEvents = typeof __propDef.events;
|
|
15
15
|
export type SearchReplaceSlots = typeof __propDef.slots;
|
|
16
16
|
export default class SearchReplace extends SvelteComponentTyped<SearchReplaceProps_, SearchReplaceEvents, SearchReplaceSlots> {
|
|
@@ -4,13 +4,13 @@ export type StrikethroughProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: StrikethroughProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type StrikethroughProps_ =
|
|
13
|
+
type StrikethroughProps_ = StrikethroughProps;
|
|
14
14
|
export type StrikethroughEvents = typeof __propDef.events;
|
|
15
15
|
export type StrikethroughSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Strikethrough extends SvelteComponentTyped<StrikethroughProps_, StrikethroughEvents, StrikethroughSlots> {
|
|
@@ -4,13 +4,13 @@ export type SubscriptProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: SubscriptProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type SubscriptProps_ =
|
|
13
|
+
type SubscriptProps_ = SubscriptProps;
|
|
14
14
|
export type SubscriptEvents = typeof __propDef.events;
|
|
15
15
|
export type SubscriptSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Subscript extends SvelteComponentTyped<SubscriptProps_, SubscriptEvents, SubscriptSlots> {
|
|
@@ -4,13 +4,13 @@ export type SuperscriptProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: SuperscriptProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type SuperscriptProps_ =
|
|
13
|
+
type SuperscriptProps_ = SuperscriptProps;
|
|
14
14
|
export type SuperscriptEvents = typeof __propDef.events;
|
|
15
15
|
export type SuperscriptSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Superscript extends SvelteComponentTyped<SuperscriptProps_, SuperscriptEvents, SuperscriptSlots> {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
</DropdownMenu.Item>
|
|
76
76
|
<DropdownMenu.Item
|
|
77
77
|
onclick={() => editor.chain().focus().deleteRow().run()}
|
|
78
|
-
class="text-destructive hover:text-foreground data-
|
|
78
|
+
class="text-destructive hover:text-foreground data-highlighted:bg-destructive"
|
|
79
79
|
>
|
|
80
80
|
<span>Delete Row</span>
|
|
81
81
|
</DropdownMenu.Item>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
</DropdownMenu.Item>
|
|
95
95
|
<DropdownMenu.Item
|
|
96
96
|
onclick={() => editor.chain().focus().deleteColumn().run()}
|
|
97
|
-
class="text-destructive hover:text-foreground data-
|
|
97
|
+
class="text-destructive hover:text-foreground data-highlighted:bg-destructive"
|
|
98
98
|
>
|
|
99
99
|
<span>Delete</span>
|
|
100
100
|
</DropdownMenu.Item>
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</DropdownMenu.Sub>
|
|
103
103
|
<DropdownMenu.Item
|
|
104
104
|
onclick={() => editor.chain().focus().deleteTable().run()}
|
|
105
|
-
class="text-destructive hover:text-foreground data-
|
|
105
|
+
class="text-destructive hover:text-foreground data-highlighted:bg-destructive"
|
|
106
106
|
>
|
|
107
107
|
<span>Delete</span>
|
|
108
108
|
</DropdownMenu.Item>
|
|
@@ -4,13 +4,13 @@ export type TableProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: TableProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type TableProps_ =
|
|
13
|
+
type TableProps_ = TableProps;
|
|
14
14
|
export type TableEvents = typeof __propDef.events;
|
|
15
15
|
export type TableSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Table extends SvelteComponentTyped<TableProps_, TableEvents, TableSlots> {
|
|
@@ -4,13 +4,13 @@ export type TaskListProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: TaskListProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type TaskListProps_ =
|
|
13
|
+
type TaskListProps_ = TaskListProps;
|
|
14
14
|
export type TaskListEvents = typeof __propDef.events;
|
|
15
15
|
export type TaskListSlots = typeof __propDef.slots;
|
|
16
16
|
export default class TaskList extends SvelteComponentTyped<TaskListProps_, TaskListEvents, TaskListSlots> {
|
|
@@ -4,13 +4,13 @@ export type TextProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: TextProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type TextProps_ =
|
|
13
|
+
type TextProps_ = TextProps;
|
|
14
14
|
export type TextEvents = typeof __propDef.events;
|
|
15
15
|
export type TextSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Text extends SvelteComponentTyped<TextProps_, TextEvents, TextSlots> {
|
|
@@ -4,13 +4,13 @@ export type TextalignProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: TextalignProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type TextalignProps_ =
|
|
13
|
+
type TextalignProps_ = TextalignProps;
|
|
14
14
|
export type TextalignEvents = typeof __propDef.events;
|
|
15
15
|
export type TextalignSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Textalign extends SvelteComponentTyped<TextalignProps_, TextalignEvents, TextalignSlots> {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
export type TextcolorProps = Props;
|
|
3
3
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
4
|
+
props: TextcolorProps;
|
|
5
5
|
events: {
|
|
6
6
|
[evt: string]: CustomEvent<any>;
|
|
7
7
|
};
|
|
8
8
|
slots: {};
|
|
9
9
|
};
|
|
10
|
-
type TextcolorProps_ =
|
|
10
|
+
type TextcolorProps_ = TextcolorProps;
|
|
11
11
|
export type TextcolorEvents = typeof __propDef.events;
|
|
12
12
|
export type TextcolorSlots = typeof __propDef.slots;
|
|
13
13
|
export default class Textcolor extends SvelteComponentTyped<TextcolorProps_, TextcolorEvents, TextcolorSlots> {
|
|
@@ -4,13 +4,13 @@ export type UnderlineProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: UnderlineProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type UnderlineProps_ =
|
|
13
|
+
type UnderlineProps_ = UnderlineProps;
|
|
14
14
|
export type UnderlineEvents = typeof __propDef.events;
|
|
15
15
|
export type UnderlineSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Underline extends SvelteComponentTyped<UnderlineProps_, UnderlineEvents, UnderlineSlots> {
|
|
@@ -4,13 +4,13 @@ export type UndoProps = {
|
|
|
4
4
|
};
|
|
5
5
|
import { type Editor } from '@tiptap/core';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: UndoProps;
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
type UndoProps_ =
|
|
13
|
+
type UndoProps_ = UndoProps;
|
|
14
14
|
export type UndoEvents = typeof __propDef.events;
|
|
15
15
|
export type UndoSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Undo extends SvelteComponentTyped<UndoProps_, UndoEvents, UndoSlots> {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
editorProps: {
|
|
68
68
|
attributes: {
|
|
69
69
|
class:
|
|
70
|
-
'm-auto p-2 focus:outline-
|
|
70
|
+
'm-auto p-2 focus:outline-hidden flex-1 prose text-foreground min-w-full max-h-full overflow-auto dark:prose-invert *:my-2'
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
extensions: [
|