vue3-notion
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -57,6 +57,2 @@ import { PropType } from "vue"; | ||
}; | ||
todo: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}; | ||
@@ -79,3 +75,2 @@ export declare const useNotionBlock: (props: Readonly<NotionBlockProps>) => { | ||
katex: boolean; | ||
todo: boolean; | ||
}>; | ||
@@ -82,0 +77,0 @@ f: import("vue").ComputedRef<{ |
@@ -67,3 +67,2 @@ export interface BlockMap { | ||
textLinkTarget: string; | ||
todo: boolean; | ||
}; |
@@ -68,3 +68,2 @@ import { computed, defineComponent, openBlock, createElementBlock, unref, resolveComponent, createBlock, resolveDynamicComponent, mergeProps, withCtx, createTextVNode, toDisplayString, createVNode, normalizeClass, Fragment, renderList, createElementVNode, createCommentVNode, normalizeProps, guardReactiveProps, useSlots, toRefs, normalizeStyle, renderSlot } from 'vue'; | ||
textLinkTarget: { type: String, default: "_blank" }, | ||
todo: { type: Boolean, default: false }, | ||
}; | ||
@@ -90,3 +89,2 @@ const useNotionBlock = (props) => { | ||
katex: props.katex, | ||
todo: props.todo, | ||
}; | ||
@@ -1193,4 +1191,2 @@ }); | ||
const props = __props; | ||
// TODO: add notion styling | ||
// TODO: add strikethrough | ||
//@ts-ignore | ||
@@ -1197,0 +1193,0 @@ const { title, properties, pass } = useNotionBlock(props); |
{ | ||
"name": "vue3-notion", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Vue 3 Unofficial Notion Renderer", | ||
@@ -5,0 +5,0 @@ "repository": "github:zernonia/vue3-notion", |
<div align="center"> | ||
<img src="https://github.com/zernonia/vue3-notion/raw/main/assets/vue3-notion.png" alt="vue3-notion" width="398px" /> | ||
<img src="https://github.com/zernonia/vue3-notion/raw/master/assets/vue3-notion.png" alt="vue3-notion" width="398px" /> | ||
<p>An unofficial Notion renderer (Vue 3) version</p> | ||
@@ -11,4 +11,2 @@ </div> | ||
<span> · </span> | ||
<a href="#docs">Docs</a> | ||
<span> · </span> | ||
<a href="#examples">Examples</a> | ||
@@ -136,27 +134,27 @@ <span> · </span> | ||
| Block Type | Supported | Notes | | ||
| ----------------- | -------------- | ---------------------- | | ||
| Text | ✅ Yes | | | ||
| Heading | ✅ Yes | | | ||
| Image | ✅ Yes | | | ||
| Image Caption | ✅ Yes | | | ||
| Bulleted List | ✅ Yes | | | ||
| Numbered List | ✅ Yes | | | ||
| Quote | ✅ Yes | | | ||
| Callout | ✅ Yes | | | ||
| Column | ✅ Yes | | | ||
| iframe | ✅ Yes | | | ||
| Video | ✅ Yes | Only embedded videos | | ||
| Divider | ✅ Yes | | | ||
| Link | ✅ Yes | | | ||
| Code | ✅ Yes | | | ||
| Web Bookmark | ✅ Yes | | | ||
| Toggle List | ✅ Yes | | | ||
| Page Links | ✅ Yes | | | ||
| Cover | ✅ Yes | Enable with `fullPage` | | ||
| Equations | ✅ Yes | | | ||
| Checkbox | ✅ Yes | | | ||
| Simple Tables | ✅ Yes | | | ||
| Databases | ❌ Not planned | | | ||
| Table Of Contents | ❌ Not planned | | | ||
| Block Type | Supported | Notes | | ||
| ----------------- | ---------- | ---------------------- | | ||
| Text | ✅ Yes | | | ||
| Heading | ✅ Yes | | | ||
| Image | ✅ Yes | | | ||
| Image Caption | ✅ Yes | | | ||
| Bulleted List | ✅ Yes | | | ||
| Numbered List | ✅ Yes | | | ||
| Quote | ✅ Yes | | | ||
| Callout | ✅ Yes | | | ||
| Column | ✅ Yes | | | ||
| iframe | ✅ Yes | | | ||
| Video | ✅ Yes | Only embedded videos | | ||
| Divider | ✅ Yes | | | ||
| Link | ✅ Yes | | | ||
| Code | ✅ Yes | | | ||
| Web Bookmark | ✅ Yes | | | ||
| Toggle List | ✅ Yes | | | ||
| Page Links | ✅ Yes | | | ||
| Cover | ✅ Yes | Enable with `fullPage` | | ||
| Equations | ✅ Yes | | | ||
| Checkbox | ✅ Yes | | | ||
| Simple Tables | ✅ Yes | | | ||
| Databases | ☑️ Planned | | | ||
| Table Of Contents | ☑️ Planned | | | ||
@@ -163,0 +161,0 @@ Please, feel free to [open an issue](https://github.com/zernonia/vue3-notion/issues/new) if you notice any important blocks missing or anything wrong with existing blocks. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
234240
4977
169