@domternal/pm 0.2.1 → 0.4.0

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/README.md +16 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,34 +3,39 @@
3
3
  [![Version](https://img.shields.io/npm/v/@domternal/pm.svg)](https://www.npmjs.com/package/@domternal/pm)
4
4
  [![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/domternal/domternal/blob/main/LICENSE)
5
5
 
6
- A lightweight, extensible rich text editor toolkit built on [ProseMirror](https://prosemirror.net/). Framework-agnostic headless core with first-class **Angular** support. Use it headless with vanilla JS/TS, add the built-in toolbar and theme, or drop in ready-made Angular components. Fully tree-shakeable, import only what you use, unused extensions are stripped from your bundle.
6
+ A lightweight, extensible rich text editor toolkit built on <u>[ProseMirror](https://prosemirror.net/)</u>. Framework-agnostic headless core with first-class Angular and React support.
7
+ Use it headless with vanilla JS/TS, add the built-in toolbar and theme, or drop in ready-made framework components. Fully tree-shakeable, import only what you use, unused extensions are stripped from your bundle.
7
8
 
8
- **[Website](https://domternal.dev)** · **[Documentation](https://domternal.dev/v1/introduction)** · **[StackBlitz (Vanilla TS)](https://stackblitz.com/edit/domternal-vanilla-full-example)** · **[StackBlitz (Angular)](https://stackblitz.com/edit/domternal-angular-full-example)**
9
+ ## Links
10
+
11
+ <u>[Website](https://domternal.dev)</u> &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp; <u>[Documentation](https://domternal.dev/v1/introduction)</u>
12
+ <u>[StackBlitz (Angular)](https://stackblitz.com/edit/domternal-angular-full-example)</u> &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp; <u>[StackBlitz (React)](https://stackblitz.com/edit/domternal-react-full-example)</u> &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp; <u>[StackBlitz (Vanilla TS)](https://stackblitz.com/edit/domternal-vanilla-full-example)</u>
9
13
 
10
14
  ## Features
11
15
 
12
- See [Packages & Bundle Size](https://domternal.dev/v1/packages) for a full breakdown of all packages and what each one includes.
16
+ See <u>[Packages & Bundle Size](https://domternal.dev/v1/packages)</u> for a full breakdown of all packages and what each one includes.
13
17
 
14
18
  - **Headless core** - use with any framework or vanilla JS/TS
15
19
  - **Angular components** - editor, toolbar, bubble menu, floating menu, emoji picker (signals, OnPush, zoneless-ready)
16
- - **57 extensions across 10 packages** - 23 nodes, 9 marks, and 25 behavior extensions
20
+ - **React components** - composable `Domternal` component, toolbar, bubble menu, floating menu, emoji picker, custom node views (React 18+)
21
+ - **57 extensions across 11 packages** - 23 nodes, 9 marks, and 25 behavior extensions
17
22
  - **140+ chainable commands** - `editor.chain().focus().toggleBold().run()`
18
23
  - **Full table support** - cell merging, column resize, row/column controls, cell toolbar, all free and MIT licensed
19
24
  - **Tree-shakeable** - import only what you use, your bundler strips the rest
20
- - **~38 KB gzipped** (own code), [~108 KB total](https://domternal.dev/v1/packages) with ProseMirror
25
+ - **~38 KB gzipped** (own code), <u>[~108 KB total](https://domternal.dev/v1/packages)</u> with ProseMirror
21
26
  - **TypeScript first** - 100% typed, zero `any`
22
- - **4,200+ tests** - 2,675 unit tests and 1,550 E2E tests across 34 Playwright specs
27
+ - **7,500+ tests** - 3,936 unit tests and 3,652 E2E tests across 76 Playwright specs
23
28
  - **Light and dark theme** - 70+ CSS custom properties for full visual control
24
29
  - **Inline styles export** - `getHTML({ styled: true })` produces inline CSS ready for email clients, CMS, and Google Docs
25
30
  - **SSR helpers** - `generateHTML`, `generateJSON`, `generateText` for server-side rendering
26
31
 
27
32
  ## Documentation
28
33
 
29
- - [Getting Started](https://domternal.dev/v1/getting-started) - install and create your first editor
30
- - [Introduction](https://domternal.dev/v1/introduction) - core concepts, architecture, and design decisions
31
- - [Packages & Bundle Size](https://domternal.dev/v1/packages) - what each package includes and bundle size breakdown
32
- - [Blog](https://domternal.dev/blog)
34
+ - <u>[Getting Started](https://domternal.dev/v1/getting-started)</u> - install and create your first editor
35
+ - <u>[Introduction](https://domternal.dev/v1/introduction)</u> - core concepts, architecture, and design decisions
36
+ - <u>[Packages & Bundle Size](https://domternal.dev/v1/packages)</u> - what each package includes and bundle size breakdown
37
+ - <u>[Blog](https://domternal.dev/blog)</u>
33
38
 
34
39
  ## License
35
40
 
36
- [MIT](https://github.com/domternal/domternal/blob/main/LICENSE)
41
+ <u>[MIT](https://github.com/domternal/domternal/blob/main/LICENSE)</u>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domternal/pm",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "description": "ProseMirror package re-exports for Domternal",
5
5
  "author": "https://github.com/ThomasNowHere",
6
6
  "license": "MIT",