@rcarls/rc-textarea 0.4.1 → 0.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @rcarls/rc-textarea
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 689340c: Remove pre-1.0 deprecated APIs: the boolean `keyNavigation` option, `rc-disclosure.fragment`,
8
+ `rc-textarea.listNumbers`, `rc-textarea.label`, and `decorationsFromHtml`.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [4ae2ef0]
13
+ - Updated dependencies [689340c]
14
+ - @rcarls/rc-common@0.5.0
15
+
16
+ ## 0.4.2
17
+
18
+ ### Patch Changes
19
+
20
+ - @rcarls/rc-common@0.4.2
21
+
3
22
  ## 0.4.1
4
23
 
5
24
  ### Patch Changes
package/README.md CHANGED
@@ -93,9 +93,8 @@ When the user edits, the slotted textarea is kept in sync and dispatches a nativ
93
93
  | `auto-grow` | `autoGrow` | Let the field grow vertically with content. |
94
94
  | `read-only` | `readOnly` | Render selectable, non-editable content. |
95
95
 
96
- `list-numbers` and `label` still exist for compatibility but are deprecated. Prefer a plugin
97
- with `LineDecoration.gutterContent` for sparse numbering, and put accessible names on the
98
- slotted textarea with `aria-label` or a real `<label for="...">`.
96
+ Use a plugin with `LineDecoration.gutterContent` for sparse numbering. Put accessible names on
97
+ the slotted textarea with `aria-label` or a real `<label for="...">`.
99
98
 
100
99
  The main JavaScript-only properties are:
101
100
 
@@ -973,26 +973,6 @@
973
973
  "attribute": "line-numbers",
974
974
  "reflects": true
975
975
  },
976
- {
977
- "kind": "field",
978
- "name": "listNumbers",
979
- "type": {
980
- "text": "boolean"
981
- },
982
- "description": "Legacy alias for sparse (non-blank-line) list-style numbering.",
983
- "deprecated": "Use a plugin with `LineDecoration.gutterContent` to implement\nsparse line numbering. This property will be removed before v1.0.",
984
- "attribute": "list-numbers",
985
- "reflects": true
986
- },
987
- {
988
- "kind": "field",
989
- "name": "_listNumbers",
990
- "type": {
991
- "text": "boolean"
992
- },
993
- "privacy": "private",
994
- "default": "false"
995
- },
996
976
  {
997
977
  "kind": "field",
998
978
  "name": "gutter",
@@ -1037,25 +1017,6 @@
1037
1017
  "attribute": "read-only",
1038
1018
  "reflects": true
1039
1019
  },
1040
- {
1041
- "kind": "field",
1042
- "name": "label",
1043
- "type": {
1044
- "text": "string | null"
1045
- },
1046
- "description": "Accessible-name override, applied to the editor's `aria-label`.",
1047
- "deprecated": "Set `aria-label` on the slotted `<textarea>` instead, or\nassociate a `<label>` element via its `for`/`id` pair. This property\nwill be removed before v1.0.",
1048
- "attribute": "label"
1049
- },
1050
- {
1051
- "kind": "field",
1052
- "name": "_label",
1053
- "type": {
1054
- "text": "string | null"
1055
- },
1056
- "privacy": "private",
1057
- "default": "null"
1058
- },
1059
1020
  {
1060
1021
  "kind": "field",
1061
1022
  "name": "plugin",
@@ -1723,7 +1684,7 @@
1723
1684
  "default": "this._value"
1724
1685
  }
1725
1686
  ],
1726
- "description": "Compute the label string for each gutter cell based on the current gutter\nmode (`lineNumbers`, `listNumbers` (deprecated), `gutter`) and any\n`LineDecoration.gutterContent` overrides in `allDecorations`.\n\nReturns one entry per line (same length as `value.split('\\n')`):\n- `string` — the label to display\n- `null` — render an empty cell"
1687
+ "description": "Compute the label string for each gutter cell based on the current gutter\nmode (`lineNumbers`, `gutter`) and any\n`LineDecoration.gutterContent` overrides in `allDecorations`.\n\nReturns one entry per line (same length as `value.split('\\n')`):\n- `string` — the label to display\n- `null` — render an empty cell"
1727
1688
  },
1728
1689
  {
1729
1690
  "kind": "method",
@@ -1851,15 +1812,6 @@
1851
1812
  "default": "false",
1852
1813
  "fieldName": "lineNumbers"
1853
1814
  },
1854
- {
1855
- "description": "Legacy alias for sparse (non-blank-line) list-style numbering.",
1856
- "name": "list-numbers",
1857
- "type": {
1858
- "text": "boolean"
1859
- },
1860
- "deprecated": "Use a plugin with `LineDecoration.gutterContent` to implement\nsparse line numbering. This property will be removed before v1.0.",
1861
- "fieldName": "listNumbers"
1862
- },
1863
1815
  {
1864
1816
  "description": "Enable the gutter column without any built-in content.\n\nPlugins can populate individual cells via `LineDecoration.gutterContent`.\nFor sequential line numbers use `lineNumbers` / `line-numbers` instead.",
1865
1817
  "name": "gutter",
@@ -1896,15 +1848,6 @@
1896
1848
  "default": "false",
1897
1849
  "fieldName": "readOnly"
1898
1850
  },
1899
- {
1900
- "description": "Accessible-name override, applied to the editor's `aria-label`.",
1901
- "name": "label",
1902
- "type": {
1903
- "text": "string | null"
1904
- },
1905
- "deprecated": "Set `aria-label` on the slotted `<textarea>` instead, or\nassociate a `<label>` element via its `for`/`id` pair. This property\nwill be removed before v1.0.",
1906
- "fieldName": "label"
1907
- },
1908
1851
  {
1909
1852
  "description": "The current field value.\n\nSetting this property puts the component into\ncontrolled mode (host owns the value, changes are reflected\nimmediately, no change events dispatched)",
1910
1853
  "name": "value",