@omicronenergy/oscd-ui 0.1.0 → 0.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/CHANGELOG.md +15 -0
- package/README.md +12 -0
- package/custom-elements.json +1155 -1083
- package/dist/action-pane/OscdActionPane.js +24 -11
- package/dist/action-pane/OscdActionPane.js.map +1 -1
- package/dist/action-pane/OscdActionPane.spec.js +9 -1
- package/dist/action-pane/OscdActionPane.spec.js.map +1 -1
- package/dist/dialog/OscdDialog.js +1 -1
- package/dist/dialog/OscdDialog.js.map +1 -1
- package/dist/dialog/OscdDialogStacking.stories.d.ts +5 -0
- package/dist/dialog/OscdDialogStacking.stories.js +112 -0
- package/dist/dialog/OscdDialogStacking.stories.js.map +1 -0
- package/dist/icon/OscdIcon.d.ts +1 -1
- package/dist/icon/OscdIcon.js +12 -1
- package/dist/icon/OscdIcon.js.map +1 -1
- package/dist/icon/OscdIconRendering.spec.d.ts +1 -0
- package/dist/icon/OscdIconRendering.spec.js +66 -0
- package/dist/icon/OscdIconRendering.spec.js.map +1 -0
- package/dist/scl-icon/internal/icons/icons.d.ts +1 -1
- package/dist/scl-icon/internal/icons/icons.js +1 -1
- package/dist/scl-icon/internal/icons/icons.js.map +1 -1
- package/dist/scl-icon/internal/scl-icons.d.ts +1 -1
- package/dist/scl-icon/internal/scl-icons.js +1 -1
- package/dist/scl-icon/internal/scl-icons.js.map +1 -1
- package/dist/utils/storybook/story-overrides/icon-overrides.d.ts +1 -0
- package/dist/utils/storybook/story-overrides/icon-overrides.js +61 -5
- package/dist/utils/storybook/story-overrides/icon-overrides.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
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.2](https://github.com/OMICRONEnergyOSS/oscd-ui/compare/oscd-ui-v0.1.1...oscd-ui-v0.1.2) (2026-10-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **dialog:** add stacked dialog story and update base styles ([ad152db](https://github.com/OMICRONEnergyOSS/oscd-ui/commit/ad152dbc2fad18bb7035a1dc3ddb8008aac2365c))
|
|
12
|
+
* **icon:** size SCL SVGs and remove scl warning icon name conflict ([64689d3](https://github.com/OMICRONEnergyOSS/oscd-ui/commit/64689d3a4bc5a116559ec81b672b8bfcee525fb9))
|
|
13
|
+
|
|
14
|
+
## [0.1.1](https://github.com/OMICRONEnergyOSS/oscd-ui/compare/oscd-ui-v0.1.0...oscd-ui-v0.1.1) (2026-10-02)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* action-pane center label with icon ([ee78bfa](https://github.com/OMICRONEnergyOSS/oscd-ui/commit/ee78bfaa3be54ba54d9751bd7e93911ef2841e21))
|
|
20
|
+
|
|
6
21
|
## [0.1.0](https://github.com/OMICRONEnergyOSS/oscd-ui/compare/oscd-ui-v0.0.20...oscd-ui-v0.1.0) (2026-10-01)
|
|
7
22
|
|
|
8
23
|
|
package/README.md
CHANGED
|
@@ -28,6 +28,18 @@ Use the following link in your html to make use Material icons with these compon
|
|
|
28
28
|
The full set of available Material Symbol icons can be found here:
|
|
29
29
|
https://fonts.google.com/icons
|
|
30
30
|
|
|
31
|
+
`<oscd-icon>` accepts Material Symbols names (for example, `warning`) and SCL
|
|
32
|
+
icon names (for example, `gooseIcon`). Set `--md-icon-size` to a CSS length to
|
|
33
|
+
resize either kind, and use CSS `color` for monochrome icons; there is no
|
|
34
|
+
`--md-icon-color` token. The legacy SVG warning is named `scl-warning`, including
|
|
35
|
+
in `<oscd-scl-icon>` and the exported SCL icon helpers. Replace previous SCL
|
|
36
|
+
`warning` lookups with `scl-warning` if you need that SVG rather than the stock
|
|
37
|
+
Material symbol.
|
|
38
|
+
|
|
39
|
+
The **Icons / Icon** Storybook story exposes the size in pixels with a number
|
|
40
|
+
control and foreground/background dropdowns for all public palette color slots.
|
|
41
|
+
The selected slots follow the active Storybook palette.
|
|
42
|
+
|
|
31
43
|
## Scoped Web Components
|
|
32
44
|
|
|
33
45
|
All OSCD UI components are scoped web components, which means its possible to use plugins can use multiple different versions of @omicronenergy/oscd-ui without risk of conflict. More details on how to use these components in a scoped manor are below. General details on scoping web components can be found [here](https://open-wc.org/docs/development/scoped-elements/)
|