Package: @lilith/ui-dev-content Split from: lilith/ui.git or lilith/build.git Publish workflow: calls lilith/workflows/.forgejo/workflows/publish-npm.yml@main
32 lines
1.1 KiB
JavaScript
32 lines
1.1 KiB
JavaScript
/**
|
|
* @lilith/ui-dev-content - Development-time WYSIWYG content editing framework
|
|
*
|
|
* A plugin-based content editing system with:
|
|
* - ContentSource plugins (where content comes from)
|
|
* - ContentTransformer plugins (how to modify content)
|
|
* - ContentSink plugins (where to save content)
|
|
*
|
|
* @example
|
|
* ```tsx
|
|
* import { EditableContent } from '@lilith/ui-dev-content';
|
|
*
|
|
* <EditableContent source="locale" identifier="home.hero.title">
|
|
* {t('hero.title')}
|
|
* </EditableContent>
|
|
* ```
|
|
*/
|
|
// Core exports
|
|
export * from './core';
|
|
// Component exports
|
|
export { DevContentOverlay } from './components/DevContentOverlay';
|
|
export { EditableContent } from './components/EditableContent';
|
|
export { EditableHighlight } from './components/EditableHighlight';
|
|
export { HighlightLayer } from './components/HighlightLayer';
|
|
export { OverlayToggle } from './components/OverlayToggle';
|
|
export { TransformerModal } from './components/TransformerModal';
|
|
// Hook exports
|
|
export * from './hooks';
|
|
// Plugin exports
|
|
export * from './sources';
|
|
export * from './transformers';
|
|
export * from './sinks';
|