- Model imported fill, stroke, text, effect, and grid style definitions and references - Add SDK and app selectors with mixed-selection batching, detach-on-edit, and undo restoration - Preserve style definitions through .fig export and extracted subgraphs - Document the shared-style composable and update compatibility coverage
45 lines
1.2 KiB
Markdown
45 lines
1.2 KiB
Markdown
---
|
|
title: Composables
|
|
description: Core composable APIs in @open-pencil/vue.
|
|
---
|
|
|
|
# Composables
|
|
|
|
These are the main composables most `@open-pencil/vue` consumers will use.
|
|
|
|
## Context and canvas
|
|
|
|
- [provideEditor](./provide-editor)
|
|
- [useEditor](./use-editor)
|
|
- [useCanvas](./use-canvas)
|
|
- [useCanvasInput](./use-canvas-input)
|
|
- [useTextEdit](./use-text-edit)
|
|
|
|
## Selection and commands
|
|
|
|
- [useSelectionState](./use-selection-state)
|
|
- [useSelectionCapabilities](./use-selection-capabilities)
|
|
- [useEditorCommands](./use-editor-commands)
|
|
- [useMenuModel](./use-menu-model)
|
|
|
|
## Property panels
|
|
|
|
- [usePosition](./use-position)
|
|
- [useLayout](./use-layout)
|
|
- [useConstraints](./use-constraints)
|
|
- [useAppearance](./use-appearance)
|
|
- [useSharedStyleBinding](./use-shared-style-binding)
|
|
- [useColorModel](./use-color-model)
|
|
- [useMask](./use-mask)
|
|
- [useTypography](./use-typography)
|
|
- [useExport](./use-export)
|
|
- [useFillControls](./use-fill-controls)
|
|
- [useStrokeControls](./use-stroke-controls)
|
|
- [useEffectsControls](./use-effects-controls)
|
|
|
|
## Variables, navigation, and localization
|
|
|
|
- [useVariablesEditor](./use-variables-editor)
|
|
- [usePageList](./use-page-list)
|
|
- [useI18n](./use-i18n)
|