-
Notifications
You must be signed in to change notification settings - Fork 780
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3,757 changed files
with
90,717 additions
and
98,627 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@udecode/plate-alignment': minor | ||
--- | ||
|
||
New exports: | ||
- `useAlignDropdownMenu` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@udecode/plate-cloud': minor | ||
--- | ||
|
||
New exports: | ||
- `generateSrcAndSrcSet` | ||
- `useCloudAttachmentElementState` | ||
- `useCloudImageElementState` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@udecode/plate-code-block': minor | ||
--- | ||
|
||
New exports: | ||
- `useCodeBlockElement` | ||
- `useCodeBlockSelectElement` | ||
- `useCodeSyntaxLeaf` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@udecode/plate-combobox': minor | ||
--- | ||
|
||
New hooks: | ||
- `useComboboxContent` | ||
- `useComboboxItem` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
'@udecode/plate-comments': major | ||
--- | ||
|
||
Removed: | ||
- `AccountCircleIcon` | ||
- `CheckIcon` | ||
- `MoreVertIcon` | ||
- `RefreshIcon` | ||
- `AvatarImage` | ||
- `CommentLinkButton` | ||
- `CommentLinkDialog` | ||
- `CommentLinkDialogCloseButton` | ||
- `CommentLinkDialogCopyLink` | ||
- `CommentLinkDialogInput` | ||
- `PlateCommentLeaf` for `useCommentLeafState` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@udecode/plate-comments': minor | ||
--- | ||
|
||
New exports: | ||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": ["./changelog-config", { "repo": "udecode/plate" }], | ||
"commit": false, | ||
"linked": [["@udecode/slate*", "@udecode/plate*"]], | ||
"linked": [["@udecode/*", "plate-cli"]], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": ["examples*"] | ||
"ignore": ["apps*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@udecode/plate-core': minor | ||
--- | ||
|
||
New plugin option: | ||
- `enabled`: boolean to enable/disable the plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
'@udecode/plate-dnd': major | ||
--- | ||
|
||
Removed: | ||
- `Draggable` | ||
- `DraggableBlock` | ||
- `DraggableBlockToolbar` | ||
- `DraggableBlockToolbarWrapper` | ||
- `DraggableDropline` | ||
- `DraggableGutterLeftProps` | ||
- `DraggableRoot` | ||
- `DragHandle` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@udecode/plate-emoji': minor | ||
--- | ||
|
||
New exports: | ||
- `useEmojiCombobox` | ||
- `useEmojiDropdownMenuState` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@udecode/plate-excalidraw': minor | ||
--- | ||
|
||
Renamed package to `@udecode/plate-excalidraw`. | ||
New hooks: | ||
- `useExalidawElement` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@udecode/plate-font': minor | ||
--- | ||
|
||
New exports: | ||
- `useColorDropdownMenu` | ||
- `useColorInput` | ||
- `useColorsCustom` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@udecode/plate-indent-list': minor | ||
--- | ||
|
||
New exports: | ||
- `someIndentList` | ||
- `useIndentListToolbarButton` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@udecode/plate-indent': minor | ||
--- | ||
|
||
New exports: | ||
- `useIndentButton` | ||
- `useOutdentButton` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
'@udecode/plate-link': major | ||
--- | ||
|
||
Removed: | ||
- `FloatingLink` | ||
- `FloatingLinkEditButton` | ||
- `FloatingLinkTextInput` | ||
- `UnlinkButton` | ||
- `LaunchIcon` | ||
- `Link` | ||
- `LinkIcon` | ||
- `LinkOffIcon` | ||
- `ShortTextIcon` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@udecode/plate-link': minor | ||
--- | ||
|
||
New hooks: | ||
- `useLink` | ||
- `useLinkToolbarButton` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@udecode/plate-link': minor | ||
--- | ||
|
||
New exports: | ||
- `useListToolbarButton` | ||
- `useTodoListElement` | ||
- `someList` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@udecode/plate-media': major | ||
--- | ||
|
||
Removed: | ||
- `MediaEmbed` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@udecode/plate-media': minor | ||
--- | ||
|
||
New exports: | ||
- `insertMedia` | ||
- `useMediaState` | ||
- `useMediaToolbarButton` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
'@udecode/plate-utils': major | ||
--- | ||
|
||
Upgraded peer dependencies: | ||
- `slate-react: >=0.95.0` | ||
Removed: | ||
- `useElementPrpos` | ||
- `useWrapElement` | ||
- `createComponentAs` | ||
- `createElementAs` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
'@udecode/plate-utils': minor | ||
--- | ||
|
||
New components: | ||
- `PlateElement`: Headless element component | ||
- `PlateLeaf`: Headless leaf component | ||
- `Box`: Slot div component | ||
- `Text`: Slot text component | ||
- `PortalBody` | ||
New hooks: | ||
- `useMarkToolbarButton` | ||
- `usePlaceholder` | ||
- `useRemoveNodeButton` | ||
New functions: | ||
- `getRootProps` | ||
- `createSlotComponent`: Merges its props onto its immediate child. https://www.radix-ui.com/docs/primitives/utilities/slot | ||
- `createPrimitiveComponent`: Primitive component factory used by most Plate components. It uses hooks for managing state and props, and forwards references to child components. | ||
Component props: | ||
- `asChild`: If true, the component will be rendered as a `Slot` {@link https://www.radix-ui.com/docs/primitives/utilities/slot}. | ||
- `options`: Options passed to the state hook. | ||
- `state`: Provide your state instead of using the state hook. | ||
- `...props`: Props to be passed to the component. | ||
Props hook return value: | ||
- `ref`: Reference to be forwarded to the component. | ||
- `props`: Props to be passed to the component. | ||
- `hidden`: If true, the component will not be rendered. | ||
Example: | ||
```tsx | ||
const MyButton = createPrimitiveComponent(Button)({ | ||
stateHook: useButtonState, | ||
propsHook: useButton | ||
}); | ||
``` |
Oops, something went wrong.