@solidev/data 1.1.1 → 1.1.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.
package/AGENTS.md CHANGED
@@ -376,8 +376,8 @@ Notes worth knowing:
376
376
  **They are not dispedit editors.** `dispedit` lives in the primary entry point and
377
377
  cannot import a secondary one, so use these components directly. For the
378
378
  read-only half, point a dispedit at the rendered `…_html` column with
379
- `[viewer]="'html'"` — that renders trusted HTML and covers markdown too, since a
380
- markdown field is stored with an `…_html` twin. It does **not** sanitize: use it
379
+ `[viewer]="'html'"` — that renders trusted HTML, and covers markdown too
380
+ wherever the rendered form is stored alongside the source. It does **not** sanitize: use it
381
381
  only on HTML your own editor produced.
382
382
 
383
383
  Two editors live in their own entry points, so they are only pulled in if imported:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidev/data",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "license": "AGPL-3.0-only",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^22",
@@ -968,9 +968,9 @@ type DISPEDIT_EDITOR_TYPES = 'input.text' | 'input.email' | 'input.number' | 'in
968
968
  * - `m2mdetails`: one line per item, each rendered via its `_display`.
969
969
  * - `datetime` / `date`: value passed through Angular's `date` pipe (`short`
970
970
  * and `shortDate` respectively).
971
- * - `html`: the value injected as trusted HTML. For rich text and markdown
972
- * fields, whose rendered form is stored alongside the source point the
973
- * dispedit at that `…_html` field and set `[viewer]="'html'"`. **The value is
971
+ * - `html`: the value injected as trusted HTML. Where a rich text or markdown
972
+ * field stores its rendered form alongside the source, point the dispedit at
973
+ * that `…_html` field and set `[viewer]="'html'"`. **The value is
974
974
  * not sanitized**; the value goes through `SafeHtmlPipe`.
975
975
  */
976
976
  type DISPEDIT_DISPLAY_TYPES = 'text' | 'choice' | 'boolean' | 'decimal' | 'fkdetails' | 'm2mdetails' | 'datetime' | 'date' | 'html';