Comparing version 0.1.4 to 0.1.5
@@ -16,7 +16,7 @@ import { SvelteComponentTyped } from "svelte"; | ||
}; | ||
export declare type CartaEditorProps = typeof __propDef.props; | ||
export declare type CartaEditorEvents = typeof __propDef.events; | ||
export declare type CartaEditorSlots = typeof __propDef.slots; | ||
export type CartaEditorProps = typeof __propDef.props; | ||
export type CartaEditorEvents = typeof __propDef.events; | ||
export type CartaEditorSlots = typeof __propDef.slots; | ||
export default class CartaEditor extends SvelteComponentTyped<CartaEditorProps, CartaEditorEvents, CartaEditorSlots> { | ||
} | ||
export {}; |
@@ -14,7 +14,7 @@ import { SvelteComponentTyped } from "svelte"; | ||
}; | ||
export declare type CartaViewerProps = typeof __propDef.props; | ||
export declare type CartaViewerEvents = typeof __propDef.events; | ||
export declare type CartaViewerSlots = typeof __propDef.slots; | ||
export type CartaViewerProps = typeof __propDef.props; | ||
export type CartaViewerEvents = typeof __propDef.events; | ||
export type CartaViewerSlots = typeof __propDef.slots; | ||
export default class CartaViewer extends SvelteComponentTyped<CartaViewerProps, CartaViewerEvents, CartaViewerSlots> { | ||
} | ||
export {}; |
@@ -8,1 +8,3 @@ export { default as CartaEditor } from './CartaEditor.svelte'; | ||
export type { Prefix } from './internal/prefixes'; | ||
export * from './default-theme.css?inline'; | ||
export * from './light.css?inline'; |
export { default as CartaEditor } from './CartaEditor.svelte'; | ||
export { default as CartaViewer } from './CartaViewer.svelte'; | ||
export * from './internal/carta'; | ||
export * from './default-theme.css?inline'; | ||
export * from './light.css?inline'; |
@@ -13,7 +13,7 @@ import { SvelteComponentTyped } from "svelte"; | ||
}; | ||
export declare type CartaRendererProps = typeof __propDef.props; | ||
export declare type CartaRendererEvents = typeof __propDef.events; | ||
export declare type CartaRendererSlots = typeof __propDef.slots; | ||
export type CartaRendererProps = typeof __propDef.props; | ||
export type CartaRendererEvents = typeof __propDef.events; | ||
export type CartaRendererSlots = typeof __propDef.slots; | ||
export default class CartaRenderer extends SvelteComponentTyped<CartaRendererProps, CartaRendererEvents, CartaRendererSlots> { | ||
} | ||
export {}; |
@@ -14,7 +14,7 @@ import { SvelteComponentTyped } from "svelte"; | ||
}; | ||
export declare type MarkdownInputProps = typeof __propDef.props; | ||
export declare type MarkdownInputEvents = typeof __propDef.events; | ||
export declare type MarkdownInputSlots = typeof __propDef.slots; | ||
export type MarkdownInputProps = typeof __propDef.props; | ||
export type MarkdownInputEvents = typeof __propDef.events; | ||
export type MarkdownInputSlots = typeof __propDef.slots; | ||
export default class MarkdownInput extends SvelteComponentTyped<MarkdownInputProps, MarkdownInputEvents, MarkdownInputSlots> { | ||
} | ||
export {}; |
@@ -21,37 +21,37 @@ import type { ComponentType } from 'svelte'; | ||
readonly id: "heading"; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof HeadingIcon; | ||
}, { | ||
readonly id: "bold"; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof BoldIcon; | ||
}, { | ||
readonly id: "italic"; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof ItalicIcon; | ||
}, { | ||
readonly id: "quote"; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof QuoteIcon; | ||
}, { | ||
readonly id: "code"; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof ItalicIcon; | ||
}, { | ||
readonly id: "link"; | ||
readonly action: (input: any) => void; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof LinkIcon; | ||
}, { | ||
readonly id: "bulletedList"; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof ListBulletedIcon; | ||
}, { | ||
readonly id: "numberedList"; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof ListNumberedIcon; | ||
}, { | ||
readonly id: "taskList"; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
readonly component: typeof ListTaskIcon; | ||
}], satisfies: any, readonly: any, CartaIcon: any; | ||
export declare type DefaultIconId = (typeof defaultIcons)[number]['id']; | ||
}]; | ||
export type DefaultIconId = (typeof defaultIcons)[number]['id']; |
@@ -26,13 +26,13 @@ /** | ||
readonly id: "taskList"; | ||
readonly match: (line: any) => any; | ||
readonly match: (line: string) => string | undefined; | ||
readonly maker: () => string; | ||
}, { | ||
readonly id: "bulletedList"; | ||
readonly match: (line: any) => any; | ||
readonly match: (line: string) => "- " | undefined; | ||
readonly maker: () => string; | ||
}, { | ||
readonly id: "numberedList"; | ||
readonly match: (line: any) => any; | ||
readonly maker: (prev: any) => string; | ||
}], satisfies: any, readonly: any, Prefix: any; | ||
export declare type DefaultPrefixId = (typeof defaultPrefixes)[number]['id']; | ||
readonly match: (line: string) => string | undefined; | ||
readonly maker: (prev: string) => string; | ||
}]; | ||
export type DefaultPrefixId = (typeof defaultPrefixes)[number]['id']; |
@@ -28,23 +28,23 @@ import type { CartaInput } from './input'; | ||
readonly combination: Set<string>; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
}, { | ||
readonly id: "italic"; | ||
readonly combination: Set<string>; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
}, { | ||
readonly id: "quote"; | ||
readonly combination: Set<string>; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
}, { | ||
readonly id: "link"; | ||
readonly combination: Set<string>; | ||
readonly action: (input: any) => void; | ||
readonly action: (input: CartaInput) => void; | ||
}, { | ||
readonly id: "strikethrough"; | ||
readonly combination: Set<string>; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
}, { | ||
readonly id: "code"; | ||
readonly combination: Set<string>; | ||
readonly action: (input: any) => any; | ||
readonly action: (input: CartaInput) => void; | ||
}, { | ||
@@ -54,3 +54,3 @@ readonly id: "undo"; | ||
readonly preventSave: true; | ||
readonly action: (input: any) => void; | ||
readonly action: (input: CartaInput) => void; | ||
}, { | ||
@@ -60,4 +60,4 @@ readonly id: "redo"; | ||
readonly preventSave: true; | ||
readonly action: (input: any) => void; | ||
}], satisfies: any, readonly: any, KeyboardShortcut: any; | ||
export declare type DefaultShortcutId = (typeof defaultKeyboardShortcuts)[number]['id']; | ||
readonly action: (input: CartaInput) => void; | ||
}]; | ||
export type DefaultShortcutId = (typeof defaultKeyboardShortcuts)[number]['id']; |
@@ -9,7 +9,15 @@ { | ||
"types": "./package/index.d.ts", | ||
"svelte": "./package/index.js" | ||
"svelte": "./package/index.js", | ||
"import": "./package/index.js" | ||
}, | ||
"./default-theme.css": { | ||
"import": "./package/default-theme.css", | ||
"require": "./package/default-theme.css" | ||
}, | ||
"./light.css": { | ||
"import": "./package/light.css", | ||
"require": "./package/light.css" | ||
}, | ||
"./CartaEditor.svelte": "./CartaEditor.svelte", | ||
"./CartaViewer.svelte": "./CartaViewer.svelte", | ||
"./default-theme.css": "./default-theme.css", | ||
"./internal/carta": "./internal/carta.js", | ||
@@ -32,6 +40,5 @@ "./internal/components/CartaRenderer.svelte": "./internal/components/CartaRenderer.svelte", | ||
"./internal/shortcuts": "./internal/shortcuts.js", | ||
"./internal/utils": "./internal/utils.js", | ||
"./light.css": "./light.css" | ||
"./internal/utils": "./internal/utils.js" | ||
}, | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"devDependencies": { | ||
@@ -45,3 +52,4 @@ "@sveltejs/adapter-auto": "^1.0.0-next.90", | ||
"tslib": "^2.4.1", | ||
"typescript": "^4.8.4", | ||
"typescript": "^4.9.4", | ||
"typescript-plugin-css-modules": "^5.0.1", | ||
"vite": "^4.0.0" | ||
@@ -56,3 +64,4 @@ }, | ||
"svelte": "^3.54.0" | ||
} | ||
}, | ||
"svelte": "./package/index.js" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64260
46
1586
10