@itfin/components 1.3.6 → 1.3.7

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": "@itfin/components",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -2,15 +2,6 @@
2
2
  <div ref="container" class="editor" :class="{ readonly }" />
3
3
  </template>
4
4
  <style lang="scss">
5
- @font-face {
6
- font-family: "Virgil";
7
- src: url("https://unpkg.com/@excalidraw/excalidraw@0.16.1/dist/excalidraw-assets/Virgil.woff2");
8
- }
9
- @font-face {
10
- font-family: "Cascadia";
11
- src: url("https://unpkg.com/@excalidraw/excalidraw@0.16.1/dist/excalidraw-assets/Cascadia.woff2");
12
- }
13
-
14
5
  .editor {
15
6
  &.readonly {
16
7
  .cdx-input {
@@ -99,7 +90,6 @@ class itfEditor extends Vue {
99
90
  if (this.editor && (this.isIgnoreReload || JSON.stringify(val && val.blocks) === JSON.stringify(oldVal && oldVal.blocks))) {
100
91
  return;
101
92
  }
102
- console.info('value', JSON.stringify(val && val.blocks), JSON.stringify(oldVal && oldVal.blocks), JSON.stringify(val && val.blocks) === JSON.stringify(oldVal && oldVal.blocks));
103
93
  setTimeout(() => {
104
94
  this.initEditor();
105
95
  }, 200);
@@ -107,12 +97,10 @@ class itfEditor extends Vue {
107
97
 
108
98
  @Watch('readonly')
109
99
  onReadonlyChange(val, oldVal) {
110
- console.info('readonly');
111
100
  this.editor.readOnly.toggle(this.readonly);
112
101
  }
113
102
 
114
103
  initEditor() {
115
- console.info('init');
116
104
  if (!this.$refs.container) {
117
105
  return;
118
106
  }