@3cr/viewer-browser 0.0.108 → 0.0.110

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3cr/viewer-browser",
3
- "version": "0.0.108",
3
+ "version": "0.0.110",
4
4
  "main": "./dist/Viewer3CR.umd.js",
5
5
  "module": "dist/Viewer3CR.umd.js",
6
6
  "homepage": "https://docs.3cr.singular.health",
@@ -32,7 +32,7 @@ const sliderValue = computed({
32
32
  let val = value;
33
33
  if (value > props.max) val = props.max;
34
34
  if (value < props.min) val = props.min;
35
- emit("update:value", Math.floor(val));
35
+ emit("update:value", val);
36
36
  },
37
37
  });
38
38
 
@@ -41,8 +41,7 @@ const sliderValue = computed({
41
41
  if (val[1] < props.min) val[1] = props.min;
42
42
  console.log(val);
43
43
  console.log(props);
44
- const normalised = [Math.floor(val[0]), Math.floor(val[1])];
45
- emit("update:value", normalised);
44
+ emit("update:value", [val[0], val[1]]);
46
45
  },
47
46
  });
48
47
  watch(
@@ -23,7 +23,30 @@ const customComponents: any = {
23
23
  /* istanbul ignore next -- @preserve */
24
24
  export default createVuetify({
25
25
  theme: {
26
- defaultTheme: "light",
26
+ defaultTheme: "__light",
27
+ themes: {
28
+ __light: {
29
+ dark: false,
30
+ colors: {
31
+ background: "#FFFFFF",
32
+ surface: "#FFFFFF",
33
+ "surface-bright": "#FFFFFF",
34
+ "surface-light": "#EEEEEE",
35
+ "surface-variant": "#424242",
36
+ "on-surface-variant": "#EEEEEE",
37
+ primary: "#1867C0",
38
+ "primary-darken-1": "#1F5592",
39
+ secondary: "#48A9A6",
40
+ "secondary-darken-1": "#018786",
41
+ error: "#B00020",
42
+ info: "#2196F3",
43
+ success: "#4CAF50",
44
+ warning: "#FB8C00",
45
+ },
46
+ },
47
+ light: {},
48
+ dark: {},
49
+ },
27
50
  },
28
51
  icons: {
29
52
  defaultSet: "md",