@neo4j-cypher/react-codemirror 1.0.0-next.8 → 1.0.0-next.9

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.
@@ -98,6 +98,7 @@ class CypherEditor extends Component {
98
98
  readOnlyCursor,
99
99
  schema,
100
100
  theme,
101
+ tooltipAbsolute,
101
102
  parseOnSetValue,
102
103
  value,
103
104
  onEditorCreated
@@ -123,6 +124,7 @@ class CypherEditor extends Component {
123
124
  readOnlyCursor,
124
125
  schema,
125
126
  theme,
127
+ tooltipAbsolute,
126
128
  parseOnSetValue,
127
129
  value
128
130
  });
@@ -107,6 +107,7 @@ class CypherEditor extends _react.Component {
107
107
  readOnlyCursor,
108
108
  schema,
109
109
  theme,
110
+ tooltipAbsolute,
110
111
  parseOnSetValue,
111
112
  value,
112
113
  onEditorCreated
@@ -132,6 +133,7 @@ class CypherEditor extends _react.Component {
132
133
  readOnlyCursor,
133
134
  schema,
134
135
  theme,
136
+ tooltipAbsolute,
135
137
  parseOnSetValue,
136
138
  value
137
139
  });
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "codemirror",
8
8
  "codemirror 6"
9
9
  ],
10
- "version": "1.0.0-next.8",
10
+ "version": "1.0.0-next.9",
11
11
  "author": "Neo4j Inc.",
12
12
  "license": "GPL-3.0",
13
13
  "main": "./lib/react-codemirror.js",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@babel/runtime": "^7.20.6",
41
- "@neo4j-cypher/codemirror": "1.0.0-next.7",
41
+ "@neo4j-cypher/codemirror": "1.0.0-next.8",
42
42
  "codemirror": "^6.0.1"
43
43
  },
44
44
  "peerDependencies": {
@@ -132,6 +132,12 @@ export interface CypherEditorProps {
132
132
  * @defaultValue "light"
133
133
  */
134
134
  theme?: Theme;
135
+ /**
136
+ * Whether or not the tooltips use simple absolute position styling (vs trying to stay within bounds)
137
+ *
138
+ * @defaultValue false
139
+ */
140
+ tooltipAbsolute?: boolean;
135
141
  /**
136
142
  * The editor text value
137
143
  *