@onereach/ui-components-vue2 23.2.2 → 23.2.3-beta.5588.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.
|
@@ -107,8 +107,8 @@ import '../directives-0869d2a4.js';
|
|
|
107
107
|
import '../utils-72d9c2bb.js';
|
|
108
108
|
import '../normalize-component-cf2db48b.js';
|
|
109
109
|
import '../constants-2e3ea701.js';
|
|
110
|
-
import 'codemirror';
|
|
111
110
|
import '@codemirror/commands';
|
|
111
|
+
import 'codemirror';
|
|
112
112
|
import '@vueuse/math';
|
|
113
113
|
import '../helpers-368c7a99.js';
|
|
114
114
|
import '../style-inject.es-87955792.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, reactive, toRef, watch, onMounted, onUnmounted } from 'vue-demi';
|
|
2
|
-
import { J, Z, o as oe, e as ee, a as re } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
|
-
import { basicSetup } from 'codemirror';
|
|
4
1
|
import { indentWithTab } from '@codemirror/commands';
|
|
5
2
|
import { Compartment, EditorState } from '@codemirror/state';
|
|
6
3
|
export { EditorState } from '@codemirror/state';
|
|
7
4
|
import { keymap, EditorView } from '@codemirror/view';
|
|
8
5
|
export { EditorView } from '@codemirror/view';
|
|
6
|
+
import { J, Z, o as oe, e as ee, a as re } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
7
|
+
import { basicSetup } from 'codemirror';
|
|
8
|
+
import { defineComponent, ref, computed, reactive, toRef, watch, onMounted, onUnmounted } from 'vue-demi';
|
|
9
9
|
import { OrErrorV3 as OrError } from '../or-error-v3/index.js';
|
|
10
10
|
import { OrHintV3 as OrHint } from '../or-hint-v3/index.js';
|
|
11
11
|
import { OrInputBoxV3 as OrInputBox } from '../or-input-box-v3/index.js';
|
|
@@ -53,7 +53,7 @@ const CodeControl = [
|
|
|
53
53
|
// Spacing
|
|
54
54
|
'!mx-0', '!my-0',
|
|
55
55
|
// Theme
|
|
56
|
-
'theme-background-
|
|
56
|
+
'theme-background-transparent',
|
|
57
57
|
// todo: https://onereach.atlassian.net/browse/UI-580
|
|
58
58
|
'dark:invert dark:hue-rotate-180'];
|
|
59
59
|
const CodeModal = [
|
|
@@ -222,6 +222,7 @@ var CodeLanguage;
|
|
|
222
222
|
CodeLanguage["MD"] = "md";
|
|
223
223
|
})(CodeLanguage || (CodeLanguage = {}));
|
|
224
224
|
|
|
225
|
+
/* Codemirror core */
|
|
225
226
|
var script = defineComponent({
|
|
226
227
|
name: 'OrCode',
|
|
227
228
|
components: {
|
|
@@ -352,7 +353,7 @@ var script = defineComponent({
|
|
|
352
353
|
'&': {
|
|
353
354
|
overflow: 'hidden',
|
|
354
355
|
color: theme.textColor['on-background'],
|
|
355
|
-
backgroundColor:
|
|
356
|
+
backgroundColor: 'transparent'
|
|
356
357
|
},
|
|
357
358
|
'&.cm-focused': {
|
|
358
359
|
outline: 'none'
|
package/dist/esm/index.js
CHANGED
|
@@ -109,8 +109,8 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
109
109
|
import './style-inject.es-87955792.js';
|
|
110
110
|
import './normalize-component-cf2db48b.js';
|
|
111
111
|
import './constants-2e3ea701.js';
|
|
112
|
-
import 'codemirror';
|
|
113
112
|
import '@codemirror/commands';
|
|
113
|
+
import 'codemirror';
|
|
114
114
|
import '@vueuse/math';
|
|
115
115
|
import 'sortablejs';
|
|
116
116
|
import 'uuid';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components-vue2",
|
|
3
|
-
"version": "23.2.
|
|
3
|
+
"version": "23.2.3-beta.5588.0",
|
|
4
4
|
"description": "Vue components library for v2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@codemirror/view": "^6",
|
|
41
41
|
"@floating-ui/dom": "1.5.3",
|
|
42
42
|
"@lezer/highlight": "*",
|
|
43
|
-
"@onereach/styles": "^23.2.
|
|
44
|
-
"@onereach/ui-components-common": "^23.2.
|
|
43
|
+
"@onereach/styles": "^23.2.3-beta.5588.0",
|
|
44
|
+
"@onereach/ui-components-common": "^23.2.3-beta.5588.0",
|
|
45
45
|
"@splidejs/splide": "4.0.6",
|
|
46
46
|
"@tiptap/core": "2.0.3",
|
|
47
47
|
"@tiptap/extension-blockquote": "2.0.3",
|
|
@@ -102,6 +102,5 @@
|
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|
|
104
104
|
},
|
|
105
|
-
"npmUnpacked": "4.15.2"
|
|
106
|
-
"gitHead": "543a035984eea9f48b88b90ee9a7b45720a09968"
|
|
105
|
+
"npmUnpacked": "4.15.2"
|
|
107
106
|
}
|