@rcarls/rc-textarea 0.4.0 → 0.4.2

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