cedar-embeddable-editor 2.0.4 → 2.0.6

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
@@ -7,6 +7,92 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.0.6] - 2026-09-04
11
+
12
+ This release aligns CEE's build-time model dependency with the public
13
+ `cedar-model-typescript-library@1.0.6` package. It also fixes eleven field-widget
14
+ defects found by two audits of the editor's input modes, most of them in how a
15
+ required field reports an unanswered value and how a temporal or numeric field
16
+ treats a value still being typed.
17
+
18
+ ### Fixed
19
+
20
+ - A required external authority field emptied by its clear action or by deleting its text reports
21
+ the requirement again, instead of reporting itself satisfied over nothing.
22
+
23
+ - Choosing a second controlled term or authority term from a suggestion list that still holds the
24
+ first records the second. Material reports the deselection of the first through the same output,
25
+ after the choice, and that report used to overwrite the new value.
26
+
27
+ - The clock shows the minutes and seconds the field stores once the user leaves it, rather than
28
+ leaving their placeholders over a recorded `00`.
29
+
30
+ - A required temporal field says it is unanswered once a date has been picked from the calendar or
31
+ an offset chosen from the list and the value is still incomplete.
32
+
33
+ - A read-only attribute-value field no longer rewrites its slot, or publishes a change event, when
34
+ its name box loses focus.
35
+
36
+ - Paging a read-only repeating text field from an occurrence holding an ORCID or ROR to one holding
37
+ plain text no longer renders the text as a link to the previous occurrence's identifier, and the
38
+ widget returns to an input over the whole identifier should read-only mode be switched off.
39
+
40
+ - A numeric field validates the text the user typed rather than the number the browser parsed from
41
+ it, so the widget and the data quality report reach the same verdict on values such as `1.50` in a
42
+ one-decimal field.
43
+
44
+ - A required checkbox group states its requirement once the group has been touched or edited, as
45
+ every other widget does, rather than on first render.
46
+
47
+ - A temporal value still being entered says which part it lacks, and that nothing is recorded until
48
+ it is complete. An optional dateTime with only its date picked used to stay silent for good.
49
+
50
+ - The date picker no longer carries a requirement of its own, in one of its three templates and with
51
+ a red outline the other two never showed. The temporal field states the requirement once, below
52
+ the row.
53
+
54
+ - The numeric spinner and arrow keys step by the field's declared precision, one for an integer and
55
+ the smallest declared decimal place otherwise.
56
+
57
+ ## [2.0.5] - 2026-09-03
58
+
59
+ This release aligns CEE's build-time model dependency with the public
60
+ `cedar-model-typescript-library@1.0.6` package. It also completes a pass over
61
+ the editor's read/write interaction states and the presentation of supplied
62
+ read-only instances.
63
+
64
+ ### Changed
65
+
66
+ - Compact YAML downloads retain the artifact ID for templates, elements, fields, and instances.
67
+
68
+ - Read-only instances present recorded values as values rather than editable controls. Multiple
69
+ selections read as a list, temporal values respect their declared granularity, authority and
70
+ controlled-term identifiers remain available as links, and multi-instance fields keep their
71
+ occurrence controls alongside the field heading.
72
+
73
+ - Field specification text, numeric bounds, field and element identity markers, and the spacing of
74
+ editable forms are more compact and consistent.
75
+
76
+ ### Fixed
77
+
78
+ - Loading, clearing, and rejecting an over-limit edit in a multi-select no longer leaves stale
79
+ selection or validation state, erases an existing answer, or writes while the form is read-only.
80
+
81
+ - Required checkbox and multi-select fields now report an unanswered value correctly, and checkbox
82
+ view synchronization no longer mutates the instance.
83
+
84
+ - Paging, copying, adding, deleting, and emptying repeated fields and attribute-value fields keep
85
+ the displayed occurrence, cursor, and serialized instance in agreement.
86
+
87
+ - Temporal fields now preserve the selected year in month pickers, ignore an untouched AM/PM
88
+ control, restore invalid typed segments on blur, and display unreadable stored values explicitly.
89
+
90
+ - Controlled-term searches honor value arrangements, distinguish empty and failed result states,
91
+ recover after an aborted suggestion click, and retain a labelless loaded term by its IRI.
92
+
93
+ - Authority inputs no longer issue duplicate searches per keystroke and consistently reconcile
94
+ unselected free text on blur.
95
+
10
96
  ## [2.0.4] - 2026-09-01
11
97
 
12
98
  This release aligns CEE's build-time model dependency with the public
@@ -243,12 +329,12 @@ null` for a literal and `{}` for an IRI — and the compact serialization, the o
243
329
  value to show.
244
330
 
245
331
  - `Compact YAML - Instance` in the download menu writes the model library's
246
- compact instance form to `<name>-instance-compact.yaml`, omitting root identity
247
- and provenance metadata while retaining the instance data.
332
+ compact instance form to `<name>-instance-compact.yaml`, retaining root identity
333
+ and instance data while omitting provenance metadata.
248
334
 
249
335
  - `Compact YAML - Template` in the download menu writes the model library's
250
- compact template form to `<name>-template-compact.yaml`, alongside the full
251
- YAML document rather than replacing it.
336
+ identified compact template form to `<name>-template-compact.yaml`, alongside
337
+ the full YAML document rather than replacing it.
252
338
 
253
339
  - `CeeValidationProblem` declares `field` and `inputType`. Every problem has carried both and the
254
340
  validation guide documents both, so the one kind of consumer the declarations exist for was the
package/README.md CHANGED
@@ -18,7 +18,7 @@ Embeddable Editor*](https://doi.org/10.5334/dsj-2026-002), published in the
18
18
  *Data Science Journal* (2026).
19
19
 
20
20
  For embedding and using the CEE in a web application, see the
21
- [CEDAR Embeddable Editor documentation](https://metadatacenter.readthedocs.io/en/latest/cedar-embeddable-editor/intro/).
21
+ [CEDAR Embeddable Editor documentation](https://metadatacenter.readthedocs.io/en/latest/cedar-embeddable-editor/).
22
22
 
23
23
  This README covers developing, building, and testing the component.
24
24
 
@@ -4,6 +4,6 @@
4
4
  "main.js",
5
5
  "polyfills.js"
6
6
  ],
7
- "bytes": 2184171,
8
- "sha256": "10d8880fab0b2c83831a4bc64b31c7efd228d1ed6442609d7f91a0859700b06c"
7
+ "bytes": 2200416,
8
+ "sha256": "c88e4ab7e2b77ed12106adec253654d46c202a94613de14daca9cbfd34a33d3b"
9
9
  }