cedar-embeddable-editor 2.0.5 → 2.0.7

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,86 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.0.7] - 2026-09-06
11
+
12
+ This release builds against the public `cedar-model-typescript-library@1.0.6` package, the same
13
+ model 2.0.6 embedded. It moves the translation boundary to `@ngx-translate/core` 18, the line that
14
+ supports Angular 22, says `integer` or `number` where a numeric field's specification printed an
15
+ XSD type, and makes the typed parts of a temporal field accept digits and nothing else.
16
+
17
+ ### Changed
18
+
19
+ - The translation boundary moves to `@ngx-translate/core` 18, the line that supports Angular 22, and
20
+ `@ngx-translate/http-loader` is gone: CEE's own loader makes the single request that package
21
+ existed to make. Nothing changes for an embedder, and `defaultLanguage` and `fallbackLanguage`
22
+ configure the editor exactly as before.
23
+
24
+ - A language map refetched after the host moves `languageMapPathPrefix` is announced once rather
25
+ than twice, so a widget listening for the change re-reads its labels once. Version 18 stores and
26
+ announces what a reload fetches, which CEE used to do itself as well.
27
+
28
+ - A numeric field's specification reads `integer` or `number` where it used to print the template's
29
+ XSD type. `xsd:decimal` is the template's vocabulary rather than a reader's, and the decimal
30
+ places, minimum and maximum stated beside it already say what constrains the value.
31
+
32
+ ### Fixed
33
+
34
+ - The fractional second of a temporal field takes digits and nothing else. A letter typed there
35
+ stood in the box, and once the rest of the value was complete it reached the instance verbatim,
36
+ as `10:30:00.ddd`. The box now keeps the digits as they arrive, a fraction spelled `0.5` is still
37
+ read as `.5`, and the value layer refuses a fraction that is not digits whatever supplies it.
38
+
39
+ - The hour, minute and second boxes refuse a character that is not a digit. Leaving a box already
40
+ restored the stored value, so nothing was recorded either way, but until then a letter sat in the
41
+ clock looking like a time.
42
+
43
+ ## [2.0.6] - 2026-09-04
44
+
45
+ This release aligns CEE's build-time model dependency with the public
46
+ `cedar-model-typescript-library@1.0.6` package. It also fixes eleven field-widget
47
+ defects found by two audits of the editor's input modes, most of them in how a
48
+ required field reports an unanswered value and how a temporal or numeric field
49
+ treats a value still being typed.
50
+
51
+ ### Fixed
52
+
53
+ - A required external authority field emptied by its clear action or by deleting its text reports
54
+ the requirement again, instead of reporting itself satisfied over nothing.
55
+
56
+ - Choosing a second controlled term or authority term from a suggestion list that still holds the
57
+ first records the second. Material reports the deselection of the first through the same output,
58
+ after the choice, and that report used to overwrite the new value.
59
+
60
+ - The clock shows the minutes and seconds the field stores once the user leaves it, rather than
61
+ leaving their placeholders over a recorded `00`.
62
+
63
+ - A required temporal field says it is unanswered once a date has been picked from the calendar or
64
+ an offset chosen from the list and the value is still incomplete.
65
+
66
+ - A read-only attribute-value field no longer rewrites its slot, or publishes a change event, when
67
+ its name box loses focus.
68
+
69
+ - Paging a read-only repeating text field from an occurrence holding an ORCID or ROR to one holding
70
+ plain text no longer renders the text as a link to the previous occurrence's identifier, and the
71
+ widget returns to an input over the whole identifier should read-only mode be switched off.
72
+
73
+ - A numeric field validates the text the user typed rather than the number the browser parsed from
74
+ it, so the widget and the data quality report reach the same verdict on values such as `1.50` in a
75
+ one-decimal field.
76
+
77
+ - A required checkbox group states its requirement once the group has been touched or edited, as
78
+ every other widget does, rather than on first render.
79
+
80
+ - A temporal value still being entered says which part it lacks, and that nothing is recorded until
81
+ it is complete. An optional dateTime with only its date picked used to stay silent for good.
82
+
83
+ - The date picker no longer carries a requirement of its own, in one of its three templates and with
84
+ a red outline the other two never showed. The temporal field states the requirement once, below
85
+ the row.
86
+
87
+ - The numeric spinner and arrow keys step by the field's declared precision, one for an integer and
88
+ the smallest declared decimal place otherwise.
89
+
10
90
  ## [2.0.5] - 2026-09-03
11
91
 
12
92
  This release aligns CEE's build-time model dependency with the public
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": 2199243,
8
- "sha256": "7bf20a4432bb189c3486ce69306c68a6886fa5c8f8ee4c497416b2d5fca1b4b0"
7
+ "bytes": 2205194,
8
+ "sha256": "ea0c239e5d5991255c516e044c6c6eefb0460e0dcd67abce49f7ca01a12d57c2"
9
9
  }