@neo4j-cypher/react-codemirror 1.0.0-next.2 → 1.0.0-next.4

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.
@@ -18,5 +18,4 @@
18
18
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
  */
20
20
 
21
- export { default as UnstyledCypherEditor } from "./CypherEditor";
22
- export { default as CypherEditor } from "./CypherEditorStyled";
21
+ export { default as CypherEditor } from "./CypherEditor";
@@ -5,16 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  Object.defineProperty(exports, "CypherEditor", {
8
- enumerable: true,
9
- get: function () {
10
- return _CypherEditorStyled.default;
11
- }
12
- });
13
- Object.defineProperty(exports, "UnstyledCypherEditor", {
14
8
  enumerable: true,
15
9
  get: function () {
16
10
  return _CypherEditor.default;
17
11
  }
18
12
  });
19
- var _CypherEditor = _interopRequireDefault(require("./CypherEditor"));
20
- var _CypherEditorStyled = _interopRequireDefault(require("./CypherEditorStyled"));
13
+ var _CypherEditor = _interopRequireDefault(require("./CypherEditor"));
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "codemirror",
8
8
  "codemirror 6"
9
9
  ],
10
- "version": "1.0.0-next.2",
10
+ "version": "1.0.0-next.4",
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.2",
41
+ "@neo4j-cypher/codemirror": "1.0.0-next.3",
42
42
  "codemirror": "^6.0.1"
43
43
  },
44
44
  "peerDependencies": {
@@ -16,7 +16,6 @@
16
16
  * @packageDocumentation
17
17
  */
18
18
  export {
19
- default as UnstyledCypherEditor,
19
+ default as CypherEditor,
20
20
  CypherEditorProps
21
21
  } from "./CypherEditor";
22
- export { default as CypherEditor } from "./CypherEditorStyled";
@@ -1,22 +0,0 @@
1
- /*
2
- * Copyright (c) "Neo4j"
3
- * Neo4j Sweden AB [http://neo4j.com]
4
- *
5
- * This file is part of Neo4j.
6
- *
7
- * Neo4j is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
19
- */
20
-
21
- import "@neo4j-cypher/codemirror/css/cypher-codemirror.css";
22
- export { default } from "./CypherEditor";
@@ -1,14 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- Object.defineProperty(exports, "default", {
8
- enumerable: true,
9
- get: function () {
10
- return _CypherEditor.default;
11
- }
12
- });
13
- require("@neo4j-cypher/codemirror/css/cypher-codemirror.css");
14
- var _CypherEditor = _interopRequireDefault(require("./CypherEditor"));
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- import type { CypherEditorProps } from "./CypherEditor";
3
-
4
- /**
5
- * Cypher Editor React Component (with css styles included)
6
- */
7
- export default class CypherEditorStyled extends React.Component<
8
- CypherEditorProps,
9
- any
10
- > {}