@opencor/opencor 0.20251207.0 → 0.20251215.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 +3 -7
- package/dist/{index-Dpiy1i7z.js → index-CVtvUNos.js} +3471 -3345
- package/dist/opencor.css +1 -1
- package/dist/opencor.es.js +1 -1
- package/dist/{quill-ZWdpIhA1.js → quill-DR7SCAb4.js} +1 -1
- package/package.json +12 -10
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Some characteristics of this package are that:
|
|
|
12
12
|
- It uses [PrimeVue](https://www.primefaces.org/primevue/) as its UI framework.
|
|
13
13
|
- It uses [Tailwind CSS](https://tailwindcss.com/) for styling.
|
|
14
14
|
- It can be used as a standalone Web app or embedded in a Vue 3 application.
|
|
15
|
-
- It uses [CSS containment](https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Containment) to prevent CSS leakage when embedded in an application that
|
|
15
|
+
- It uses [CSS containment](https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Containment) to prevent CSS leakage when OpenCOR is embedded in an application that doesn't use [PrimeVue](https://www.primefaces.org/primevue/) as its UI framework.
|
|
16
16
|
|
|
17
17
|
## Usage
|
|
18
18
|
|
|
@@ -41,9 +41,7 @@ When no `omex` prop is provided, the component gives access to all of OpenCOR's
|
|
|
41
41
|
|
|
42
42
|
```vue
|
|
43
43
|
<template>
|
|
44
|
-
<
|
|
45
|
-
<OpenCOR />
|
|
46
|
-
</div>
|
|
44
|
+
<OpenCOR />
|
|
47
45
|
</template>
|
|
48
46
|
|
|
49
47
|
<script setup lang="ts">
|
|
@@ -60,9 +58,7 @@ When an `omex` prop is provided, the component goes straight into OpenCOR's simu
|
|
|
60
58
|
|
|
61
59
|
```vue
|
|
62
60
|
<template>
|
|
63
|
-
<
|
|
64
|
-
<OpenCOR omex="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/ui/lorenz.omex" />
|
|
65
|
-
</div>
|
|
61
|
+
<OpenCOR omex="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/ui/lorenz.omex" />
|
|
66
62
|
</template>
|
|
67
63
|
|
|
68
64
|
<script setup lang="ts">
|