@3cr/viewer-browser 0.0.102 → 0.0.104

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/index.ts CHANGED
@@ -15,7 +15,7 @@ export async function registerViewer(version: string) {
15
15
 
16
16
  newElement.style.width = "0";
17
17
  newElement.style.height = "0";
18
- newElement.style.all = "initial";
18
+ // newElement.style.all = "initial";
19
19
 
20
20
  document.body.appendChild(newElement);
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3cr/viewer-browser",
3
- "version": "0.0.102",
3
+ "version": "0.0.104",
4
4
  "main": "./dist/Viewer3CR.umd.js",
5
5
  "module": "dist/Viewer3CR.umd.js",
6
6
  "homepage": "https://docs.3cr.singular.health",
package/src/App.vue CHANGED
@@ -1,12 +1,14 @@
1
1
  <template>
2
- <v-app style="height: 0; width: 0">
3
- <MftpWebGL3DRModal
4
- ref="mftpWebGL3DRModal"
5
- :payload="payload"
6
- :options="options"
7
- />
8
- </v-app>
9
- <Notifications />
2
+ <div data-vuetify>
3
+ <v-app style="height: 0; width: 0">
4
+ <MftpWebGL3DRModal
5
+ ref="mftpWebGL3DRModal"
6
+ :payload="payload"
7
+ :options="options"
8
+ />
9
+ </v-app>
10
+ <Notifications />
11
+ </div>
10
12
  </template>
11
13
 
12
14
  <script setup lang="ts">
@@ -0,0 +1,13 @@
1
+ [data-vuetify] {
2
+ @import "vuetify/styles";
3
+ }
4
+ html [data-vuetify] {
5
+ font-family: "Roboto", sans-serif;
6
+ line-height: 1.5;
7
+ font-size: 1rem;
8
+ overflow-x: hidden;
9
+ text-rendering: optimizeLegibility;
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
12
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
13
+ }
@@ -13,7 +13,6 @@
13
13
  style="
14
14
  width: 100%;
15
15
  height: calc(100vh - 50px);
16
- background: url('~@/assets/images/MainBackdrop.svg') !important;
17
16
  background-size: cover !important;
18
17
  "
19
18
  >
@@ -1,8 +1,13 @@
1
1
  <!-- /* c8 ignore start */ -->
2
2
  <template>
3
- <DemoModal v-model:modal="m_demo" />
4
- <DemoPatientModal v-model:modal="m_demoPatient" :is-modal-open="value" />
3
+ <DemoModal data-vuetify v-model:modal="m_demo" />
4
+ <DemoPatientModal
5
+ data-vuetify
6
+ v-model:modal="m_demoPatient"
7
+ :is-modal-open="value"
8
+ />
5
9
  <v-dialog
10
+ data-vuetify
6
11
  id="cr-viewer"
7
12
  class="pa-0 ma-0 overflow-y-auto overflow-x-hidden"
8
13
  :modelValue="value"
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  // Styles
8
- import "vuetify/styles";
8
+ import "@/assets/styles.scss";
9
9
 
10
10
  // Composables
11
11
  import { createVuetify, IconProps } from "vuetify";