@clepit/core 0.3.0-beta.339 → 0.4.0-beta.340

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Added
11
+ - Block identity flows end to end: `createBlockElement` honors an incoming `block.id` as the rendered `data-id` (minting one only when the block has none), `getBlockData` returns the id, and `EditorAPI.blocks.insert` accepts an optional `id` so a caller can insert a block under an identity it already holds. Previously the id existed only in the store and evaporated through every DOM-derived path.
12
+ - `BLOCK_TOOLS` is exported as a value, so a host can check whether a block type is one this editor understands.
13
+
14
+ ### Changed
15
+ - `BlockTunes` narrowed to the flat map its writer actually produces; the nested contract had no implementation on any path.
16
+
10
17
  ## [0.3.0] — 2026-08-11
11
18
 
12
19
  ### Added
package/dist/index.d.ts CHANGED
@@ -9,5 +9,6 @@ export { type ThemeTokens, tokensToLightDarkBlock } from './core/theme';
9
9
  export type { OpenApiGroup, OpenApiModel, OpenApiOperation, OpenApiServer } from './tools/block/openapi/spec';
10
10
  export { parseOpenApi } from './tools/block/openapi/spec';
11
11
  export type { ALERT_VARIANTS, AlertData, AlertVariant, AudioData, Block, BlockClassNames, BlockMargins, BlockStyles, BlockTune, CodeData, CodeVariant, CSSProperties, CSSValue, DelimiterData, DelimiterVariant, EditorAPI, EditorClassNames, EditorConfig, EditorData, EditorStyles, GlanceData, GlanceRow, HeaderData, HeaderLevel, ImageData, InlineToolType as InlineTool, InputClassNames, InputConfig, InputStyles, ListData, ListType, OpenApiData, OpenApiFilter, OutputComponent, OutputConfig, ParagraphData, QuoteData, RendererConfig, TableData, ToolType as BlockType, UploadFunction, VideoData, } from './types';
12
+ export { BLOCK_TOOLS } from './types';
12
13
  export { sanitizeHtmlWithoutDom } from './utils/sanitize-html-nodom';
13
14
  //# sourceMappingURL=index.d.ts.map