@clepit/core 0.7.0-beta.505 → 0.8.0-beta.547

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ All notable changes to `@clepit/core` are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.8.0]
9
+
10
+ ### Added
11
+ - `INLINE_TOOLBAR_LABELS` and `InlineToolbarLabel`: the formatting bar's own words (the Text type picker, its block types, each mark, link, highlight, status and tooltip), in English when absent. The bar is grouped and its Text type picker turns the block into text, a heading, a list, a checklist or a quote.
12
+ - `CONTROL_LABELS` gains `viewSwitcher`, the name of the Edit, Preview and JSON tab row, which replaces the floating icon pill. Copy, download and clear sit at the row's right end.
13
+ - Each block tool carries an SVG icon and a `section`, `basic` or `media` (`ToolSection`); a tool without one is Basic. The add menu groups its rows into Basic and Media and is driven from the keyboard.
14
+ - The block handle is a plus and a six-dot grip in the margin, shown on hover and on the active block. A press that moves past 4px drags the block to the drop line; a click still opens the block menu.
15
+ - The editor chrome reads `--clepit-*` tokens for its card surface, shadow, radius, hover, pressed and danger fills, focus ring and inverse pair, each with light and dark defaults.
16
+
17
+ ### Changed
18
+ - The editor binds the shortcuts it prints, and prints only keys that fire: Cmd or Ctrl with B, I, U, E (inline code) and K (link), and one key per offered block. No two tools share a key, and no hint sits on a key the browser keeps for itself.
19
+ - The table's row and column menus no longer print Cmd+Shift+arrow beside Insert, which no key answers. The move rows keep their Cmd+arrow hints.
20
+ - The link editor is a card under the selection with one address field, Apply, and Remove when the selection carries a link. The status and tooltip dialogs take the platform dialog shape with a visible focus ring.
21
+ - The add and block menu rows are 38px. Toolbar buttons are 30px (`TOOLBAR_BUTTON_WIDTH` and `TOOLBAR_BUTTON_HEIGHT`) with 4px padding (`TOOLBAR_PADDING`).
22
+ - Each style module animates only the properties its states change, never `all`.
23
+ - Long inline code wraps instead of widening the page, in the editor and on published pages.
24
+ - A code block colours only its visible language and an OpenAPI reference only its first response sample; the others are coloured the first time their tab opens, or before the page prints.
25
+
8
26
  ## [0.7.0]
9
27
 
10
28
  ### Changed
package/package.json CHANGED
@@ -53,5 +53,5 @@
53
53
  },
54
54
  "sideEffects": false,
55
55
  "types": "dist/index.d.ts",
56
- "version": "0.7.0-beta.505"
56
+ "version": "0.8.0-beta.547"
57
57
  }