@opencor/opencor 0.20260417.0 → 0.20260604.0
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/README.md +4 -4
- package/dist/opencor.css +1 -2
- package/dist/opencor.es.js +29575 -36450
- package/package.json +14 -13
package/README.md
CHANGED
|
@@ -18,10 +18,10 @@ Some characteristics of this package are that:
|
|
|
18
18
|
|
|
19
19
|
The component comes with the following props:
|
|
20
20
|
|
|
21
|
-
| Name | Type
|
|
22
|
-
| ------- |
|
|
23
|
-
| `omex` |
|
|
24
|
-
| `theme` |
|
|
21
|
+
| Name | Type | Default | Description |
|
|
22
|
+
| ------- | ----------------------------------- | ---------- | --------------------------------------------------------------------------------------- |
|
|
23
|
+
| `omex` | `string` \| `Uint8Array` | `null` | The [OMEX file](https://combinearchive.org/) to use, as a URL string or raw OMEX bytes. |
|
|
24
|
+
| `theme` | `'light'` \| `'dark'` \| `'system'` | `'system'` | The theme to use. Note that it is set once and for all, i.e. it is not reactive. |
|
|
25
25
|
|
|
26
26
|
- **main.ts:**
|
|
27
27
|
|