@omicronenergy/oscd-ui 0.1.3 → 0.1.4
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 +7 -0
- package/README.md +12 -1
- package/custom-elements.json +11869 -11845
- package/dist/ace-editor/OscdAceEditor.d.ts +7 -5
- package/dist/ace-editor/OscdAceEditor.js +84 -82
- package/dist/ace-editor/OscdAceEditor.js.map +1 -1
- package/dist/ace-editor/OscdAceEditor.spec.js +97 -3
- package/dist/ace-editor/OscdAceEditor.spec.js.map +1 -1
- package/dist/ace-editor/OscdAceEditor.stories.js +12 -1
- package/dist/ace-editor/OscdAceEditor.stories.js.map +1 -1
- package/dist/scl-editor/OscdSclEditor.spec.js +20 -0
- package/dist/scl-editor/OscdSclEditor.spec.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
For the planned `0.1.0` breaking theming changes, see the
|
|
4
4
|
[migration guide](./MIGRATION-0.1.0.md).
|
|
5
5
|
|
|
6
|
+
## [0.1.4](https://github.com/OMICRONEnergyOSS/oscd-ui/compare/oscd-ui-v0.1.3...oscd-ui-v0.1.4) (2026-11-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* oscd-ace-editor - switch to conventional toolbar layout ([3d07c89](https://github.com/OMICRONEnergyOSS/oscd-ui/commit/3d07c891c12bd25aef8b8b53ca88d59218244d97))
|
|
12
|
+
|
|
6
13
|
## [0.1.3](https://github.com/OMICRONEnergyOSS/oscd-ui/compare/oscd-ui-v0.1.2...oscd-ui-v0.1.3) (2026-11-12)
|
|
7
14
|
|
|
8
15
|
|
package/README.md
CHANGED
|
@@ -52,7 +52,18 @@ The obsolete `xml-editor` export paths did not contain shipped modules; use
|
|
|
52
52
|
`scl-editor` instead.
|
|
53
53
|
|
|
54
54
|
Both components share Ace, persisted settings, an optional `.toolbar`, and native
|
|
55
|
-
form association.
|
|
55
|
+
form association. The toolbar appears above the editor when enabled; use the
|
|
56
|
+
`toolbar-actions` slot for additional actions at its right end. Set
|
|
57
|
+
`--oscd-ace-editor-toolbar-padding` and
|
|
58
|
+
`--oscd-ace-editor-toolbar-background-color` to style its container. Its
|
|
59
|
+
controls retain an internal inset for touch targets and focus rings. Its
|
|
60
|
+
outlined icon buttons inherit Material tokens such as
|
|
61
|
+
`--md-outlined-icon-button-icon-color`, `--md-outlined-icon-button-outline-color`
|
|
62
|
+
and the corresponding hover, focus and pressed tokens. These inherited values
|
|
63
|
+
may also affect other outlined icon buttons in the same scope. The unselected
|
|
64
|
+
button background is transparent.
|
|
65
|
+
|
|
66
|
+
Ace accepts an optional `.validator` callback returning `null`
|
|
56
67
|
or an error message; SCL supplies namespace-aware XML validation by default.
|
|
57
68
|
`setCustomValidity()` errors persist until explicitly cleared.
|
|
58
69
|
User edits emit `input` plus a bubbling/composed `CustomEvent<string>('change')`
|