You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.9 KiB
63 lines
1.9 KiB
import WordsComponent from './words.svelte';
|
|
import Content from './words-content.svelte';
|
|
import Placeholder from './words-placeholder.svelte';
|
|
import Toolbar from './words-toolbar.svelte';
|
|
import ToolbarGroup from './words-toolbar-group.svelte';
|
|
import BubbleMenu from './words-bubble-menu.svelte';
|
|
import CommandButton from './words-command-button.svelte';
|
|
import HeadingPicker from './words-heading-picker.svelte';
|
|
import LinkEditor from './words-link-editor.svelte';
|
|
import HiddenInput from './words-hidden-input.svelte';
|
|
import Status from './words-status.svelte';
|
|
|
|
type WordsNamespace = typeof WordsComponent & {
|
|
Content: typeof Content;
|
|
Placeholder: typeof Placeholder;
|
|
Toolbar: typeof Toolbar;
|
|
ToolbarGroup: typeof ToolbarGroup;
|
|
BubbleMenu: typeof BubbleMenu;
|
|
CommandButton: typeof CommandButton;
|
|
HeadingPicker: typeof HeadingPicker;
|
|
LinkEditor: typeof LinkEditor;
|
|
HiddenInput: typeof HiddenInput;
|
|
Status: typeof Status;
|
|
};
|
|
|
|
const Words = WordsComponent as WordsNamespace;
|
|
Words.Content = Content;
|
|
Words.Placeholder = Placeholder;
|
|
Words.Toolbar = Toolbar;
|
|
Words.ToolbarGroup = ToolbarGroup;
|
|
Words.BubbleMenu = BubbleMenu;
|
|
Words.CommandButton = CommandButton;
|
|
Words.HeadingPicker = HeadingPicker;
|
|
Words.LinkEditor = LinkEditor;
|
|
Words.HiddenInput = HiddenInput;
|
|
Words.Status = Status;
|
|
|
|
export { Words };
|
|
export default Words;
|
|
|
|
export type {
|
|
WordsCommandButtonProps as CommandButtonProps,
|
|
WordsColor,
|
|
WordsContentProps as ContentProps,
|
|
WordsHiddenInputProps as HiddenInputProps,
|
|
WordsLinkEditorProps as LinkEditorProps,
|
|
WordsPlaceholderProps as PlaceholderProps,
|
|
WordsProps,
|
|
WordsSize,
|
|
WordsStatusProps as StatusProps,
|
|
WordsBubbleMenuProps as BubbleMenuProps,
|
|
WordsBubbleMenuSnippetProps,
|
|
WordsToolbarCommandConfig,
|
|
WordsToolbarConfig,
|
|
WordsToolbarGroupConfig,
|
|
WordsToolbarItemConfig,
|
|
WordsToolbarLinkEditorConfig,
|
|
WordsToolbarGroupProps as ToolbarGroupProps,
|
|
WordsToolbarProps as ToolbarProps,
|
|
WordsToolbarPreset,
|
|
WordsVariant
|
|
} from './types';
|