@rcarls/rc-textarea 0.4.0 → 0.4.1

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 +80 -0
  2. package/package.json +3 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,80 @@
1
+ # @rcarls/rc-textarea
2
+
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @rcarls/rc-common@0.4.1
8
+
9
+ ## 0.4.0
10
+
11
+ ### Patch Changes
12
+
13
+ - 46810f7: Render line breaks immediately when Enter is pressed at the end of an editable line, including virtual-keyboard `beforeinput` events.
14
+ - 32b1dc4: Allow gutter typography to be themed independently with `--rc-textarea-gutter-font-family`.
15
+ - c50d9e2: Document the `root`, `gutter`, `gutter-cells`, `editor-area`, and `editor` CSS
16
+ parts, all public attributes, and the `--rc-textarea-gutter-padding-inline-end`
17
+ custom property in the generated API reference.
18
+ - be4f0ae: Fix `defaultValue` so its HTML attribute is `default-value`, matching every
19
+ other `default-*` attribute in the library. It previously had no kebab-case
20
+ mapping, so `<rc-textarea default-value="...">` was silently ignored.
21
+ - c40a1be: Add theme-neutral fast, default, and slow effects and spatial motion token
22
+ pairs. Expose bottom-sheet settle easing through
23
+ `--rc-bottom-sheet-snap-easing` and map sheet settling to the Material spatial
24
+ motion scheme.
25
+
26
+ Give direct-child bottom-sheet handles a full-width 48px interaction target
27
+ while preserving the 32 by 4 pixel visual indicator. Replace rectangular
28
+ mobile browser tap highlights on chips with themeable, shape-clipped state
29
+ layers. Keep bottom-sheet snap targets docked to the block-end edge when CSS
30
+ minimum or maximum sizing constrains their requested heights.
31
+
32
+ Mount declaratively assigned textarea plugins at connection time and remount
33
+ them after reconnection, preserving plugin effects and adopted styles in
34
+ framework render lifecycles.
35
+
36
+ - aecba33: Fix cursor position tracking in WebKit, where a plain Range from `getRangeAt()` does not
37
+ resolve inside `rc-textarea`'s open shadow root. This made every Enter press and
38
+ virtual-keyboard paragraph insert land at the start of the value instead of the cursor. Fall
39
+ back to `Selection.getComposedRanges()` when Chrome's non-standard `shadowRoot.getSelection()`
40
+ isn't available.
41
+ - Updated dependencies [e57277f]
42
+ - Updated dependencies [ccca8e2]
43
+ - Updated dependencies [037b1b3]
44
+ - @rcarls/rc-common@0.4.0
45
+
46
+ ## 0.3.2
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies [88b4086]
51
+ - @rcarls/rc-common@0.3.2
52
+
53
+ ## 0.3.1
54
+
55
+ ### Patch Changes
56
+
57
+ - 808afe4: ### Fixed
58
+
59
+ - Fix regression where the visible editor did not reflect `value` and `defaultValue` on first mount.
60
+ - @rcarls/rc-common@0.3.1
61
+
62
+ ## 0.3.0
63
+
64
+ ### Added
65
+
66
+ - Add `parseDecorationsFromHtml` as the canonical HTML decoration helper.
67
+ - Add `rc-textarea` to `HTMLElementTagNameMap`.
68
+
69
+ ### Changed
70
+
71
+ - Deprecate `decorationsFromHtml` in favor of `parseDecorationsFromHtml`.
72
+ - Rename internal Parchment blot classes and document helpers from `V2` to `RC`.
73
+ - Expand public JSDoc across the component and plugin APIs.
74
+ - Update package metadata, README intro, and docs links.
75
+
76
+ ### Dependencies
77
+
78
+ - Sync internal dependencies to 0.3.0.
79
+
80
+ ## 0.2.0
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.4.0",
6
+ "version": "0.4.1",
7
7
  "description": "Textarea wrapper with line decorations, gutter rendering, inline widgets, and plugin hooks.",
8
8
  "repository": {
9
9
  "type": "git",
@@ -45,7 +45,7 @@
45
45
  "test:browser:firefox": "vitest --run --project=firefox"
46
46
  },
47
47
  "dependencies": {
48
- "@rcarls/rc-common": "workspace:*",
48
+ "@rcarls/rc-common": "0.4.1",
49
49
  "parchment": "^3.0.0"
50
50
  },
51
51
  "devDependencies": {
@@ -64,4 +64,4 @@
64
64
  "peerDependencies": {
65
65
  "lit": "^3.0.0"
66
66
  }
67
- }
67
+ }