astro-portabletext@0.9.0
·
164 commits
to main
since this release
Minor Changes
-
d56e161: BREAKING CHANGE
Props
type requires aTypedObject
to be passed in and no longer defaults toArbitraryTypedObject
-
1eb192e: BREAKING
astro-portabletext/utils
usePortableText(node)
- Removed:
getWarningMessage
function- Meant for internal use
- Removed:
notifyMissingComponentHandler
function- This is handled for you and has no purpose
- Removed: deprecated
next
function- Use
getDefaultComponent
- Use
- Removed: deprecated
onMissingComponent
function
- Removed:
-
f95c9da: BREAKING CHANGE
astro-portabletext/components
-
Removed
BlockProps
type- import type { BlockProps } from "astro-portabletext/components"; + import type { Block, Props as $ } from "astro-portabletext/types";
// type BlockProps = $<Block>;
-
Removed
ListProps
type- import type { ListProps } from "astro-portabletext/components"; + import type { List, Props as $ } from "astro-portabletext/types";
// type ListProps = $<List>;
-
Removed
ListItemProps
type- import type { ListItemProps } from "astro-portabletext/components"; + import type { ListItem, Props as $ } from "astro-portabletext/types";
// type ListItemProps = $<ListItem>;
-
Removed
MarkProps
type- import type { MarkProps } from "astro-portabletext/components"; + import type { Mark, Props as $ } from "astro-portabletext/types";
// type MarkProps = $<Mark<{...}>>;
-