@neo4j-ndl/react 0.1.2 → 0.1.3
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 +16 -8
- package/lib/alert/Alert.d.ts +0 -75
- package/lib/alert/Alert.js +0 -121
- package/lib/alert/Alert.js.map +0 -1
- package/lib/alert/index.d.ts +0 -21
- package/lib/alert/index.js +0 -34
- package/lib/alert/index.js.map +0 -1
- package/lib/button/Button.d.ts +0 -52
- package/lib/button/Button.js +0 -112
- package/lib/button/Button.js.map +0 -1
- package/lib/button/index.d.ts +0 -21
- package/lib/button/index.js +0 -34
- package/lib/button/index.js.map +0 -1
- package/lib/checkbox/Checkbox.d.ts +0 -39
- package/lib/checkbox/Checkbox.js +0 -62
- package/lib/checkbox/Checkbox.js.map +0 -1
- package/lib/checkbox/index.d.ts +0 -21
- package/lib/checkbox/index.js +0 -33
- package/lib/checkbox/index.js.map +0 -1
- package/lib/context-menu/ContextMenu.d.ts +0 -65
- package/lib/context-menu/ContextMenu.js +0 -230
- package/lib/context-menu/ContextMenu.js.map +0 -1
- package/lib/context-menu/index.d.ts +0 -21
- package/lib/context-menu/index.js +0 -34
- package/lib/context-menu/index.js.map +0 -1
- package/lib/helpers/debounce.d.ts +0 -24
- package/lib/helpers/debounce.js +0 -47
- package/lib/helpers/debounce.js.map +0 -1
- package/lib/helpers/forwardRef.d.ts +0 -24
- package/lib/helpers/forwardRef.js +0 -26
- package/lib/helpers/forwardRef.js.map +0 -1
- package/lib/helpers/index.d.ts +0 -23
- package/lib/helpers/index.js +0 -36
- package/lib/helpers/index.js.map +0 -1
- package/lib/helpers/testing.d.ts +0 -28
- package/lib/helpers/testing.js +0 -81
- package/lib/helpers/testing.js.map +0 -1
- package/lib/helpers/types.d.ts +0 -25
- package/lib/helpers/types.js +0 -23
- package/lib/helpers/types.js.map +0 -1
- package/lib/icons/Custom.d.ts +0 -27
- package/lib/icons/Custom.js +0 -77
- package/lib/icons/Custom.js.map +0 -1
- package/lib/icons/Hero.d.ts +0 -28
- package/lib/icons/Hero.js +0 -89
- package/lib/icons/Hero.js.map +0 -1
- package/lib/icons/custom/Circle.d.ts +0 -23
- package/lib/icons/custom/Circle.js +0 -57
- package/lib/icons/custom/Circle.js.map +0 -1
- package/lib/icons/custom/DatabaseAddCircle.d.ts +0 -23
- package/lib/icons/custom/DatabaseAddCircle.js +0 -57
- package/lib/icons/custom/DatabaseAddCircle.js.map +0 -1
- package/lib/icons/custom/Drag.d.ts +0 -23
- package/lib/icons/custom/Drag.js +0 -62
- package/lib/icons/custom/Drag.js.map +0 -1
- package/lib/icons/custom/Expand.d.ts +0 -23
- package/lib/icons/custom/Expand.js +0 -57
- package/lib/icons/custom/Expand.js.map +0 -1
- package/lib/icons/custom/ExternalLink.d.ts +0 -23
- package/lib/icons/custom/ExternalLink.js +0 -57
- package/lib/icons/custom/ExternalLink.js.map +0 -1
- package/lib/icons/custom/FitToScreen.d.ts +0 -23
- package/lib/icons/custom/FitToScreen.js +0 -57
- package/lib/icons/custom/FitToScreen.js.map +0 -1
- package/lib/icons/custom/FolderBookmark.d.ts +0 -23
- package/lib/icons/custom/FolderBookmark.js +0 -57
- package/lib/icons/custom/FolderBookmark.js.map +0 -1
- package/lib/icons/custom/Heirarchy2.d.ts +0 -23
- package/lib/icons/custom/Heirarchy2.js +0 -57
- package/lib/icons/custom/Heirarchy2.js.map +0 -1
- package/lib/icons/custom/Hierarchy1.d.ts +0 -23
- package/lib/icons/custom/Hierarchy1.js +0 -57
- package/lib/icons/custom/Hierarchy1.js.map +0 -1
- package/lib/icons/custom/Pin.d.ts +0 -23
- package/lib/icons/custom/Pin.js +0 -57
- package/lib/icons/custom/Pin.js.map +0 -1
- package/lib/icons/custom/Presentation.d.ts +0 -23
- package/lib/icons/custom/Presentation.js +0 -57
- package/lib/icons/custom/Presentation.js.map +0 -1
- package/lib/icons/custom/Rhombus.d.ts +0 -23
- package/lib/icons/custom/Rhombus.js +0 -57
- package/lib/icons/custom/Rhombus.js.map +0 -1
- package/lib/icons/custom/Shrink.d.ts +0 -23
- package/lib/icons/custom/Shrink.js +0 -57
- package/lib/icons/custom/Shrink.js.map +0 -1
- package/lib/icons/custom/Text.d.ts +0 -23
- package/lib/icons/custom/Text.js +0 -57
- package/lib/icons/custom/Text.js.map +0 -1
- package/lib/icons/custom/Triangle.d.ts +0 -23
- package/lib/icons/custom/Triangle.js +0 -57
- package/lib/icons/custom/Triangle.js.map +0 -1
- package/lib/icons/custom/index.d.ts +0 -35
- package/lib/icons/custom/index.js +0 -61
- package/lib/icons/custom/index.js.map +0 -1
- package/lib/icons/index.d.ts +0 -22
- package/lib/icons/index.js +0 -35
- package/lib/icons/index.js.map +0 -1
- package/lib/index.d.ts +0 -33
- package/lib/index.js +0 -46
- package/lib/index.js.map +0 -1
- package/lib/input/Input.d.ts +0 -44
- package/lib/input/Input.js +0 -92
- package/lib/input/Input.js.map +0 -1
- package/lib/input/index.d.ts +0 -21
- package/lib/input/index.js +0 -33
- package/lib/input/index.js.map +0 -1
- package/lib/label/Label.d.ts +0 -41
- package/lib/label/Label.js +0 -103
- package/lib/label/Label.js.map +0 -1
- package/lib/label/index.d.ts +0 -21
- package/lib/label/index.js +0 -33
- package/lib/label/index.js.map +0 -1
- package/lib/loading-spinner/LoadingSpinner.d.ts +0 -41
- package/lib/loading-spinner/LoadingSpinner.js +0 -64
- package/lib/loading-spinner/LoadingSpinner.js.map +0 -1
- package/lib/loading-spinner/index.d.ts +0 -21
- package/lib/loading-spinner/index.js +0 -33
- package/lib/loading-spinner/index.js.map +0 -1
- package/lib/popover/Popover.d.ts +0 -70
- package/lib/popover/Popover.js +0 -224
- package/lib/popover/Popover.js.map +0 -1
- package/lib/popover/index.d.ts +0 -21
- package/lib/popover/index.js +0 -34
- package/lib/popover/index.js.map +0 -1
- package/lib/progress-bar/ProgressBar.d.ts +0 -30
- package/lib/progress-bar/ProgressBar.js +0 -64
- package/lib/progress-bar/ProgressBar.js.map +0 -1
- package/lib/progress-bar/index.d.ts +0 -21
- package/lib/progress-bar/index.js +0 -33
- package/lib/progress-bar/index.js.map +0 -1
- package/lib/radio/Radio.d.ts +0 -39
- package/lib/radio/Radio.js +0 -58
- package/lib/radio/Radio.js.map +0 -1
- package/lib/radio/index.d.ts +0 -21
- package/lib/radio/index.js +0 -33
- package/lib/radio/index.js.map +0 -1
- package/lib/switch/Switch.d.ts +0 -39
- package/lib/switch/Switch.js +0 -58
- package/lib/switch/Switch.js.map +0 -1
- package/lib/switch/index.d.ts +0 -21
- package/lib/switch/index.js +0 -33
- package/lib/switch/index.js.map +0 -1
- package/lib/tabs/Tabs.d.ts +0 -72
- package/lib/tabs/Tabs.js +0 -114
- package/lib/tabs/Tabs.js.map +0 -1
- package/lib/tabs/index.d.ts +0 -21
- package/lib/tabs/index.js +0 -34
- package/lib/tabs/index.js.map +0 -1
- package/lib/tag/Tag.d.ts +0 -61
- package/lib/tag/Tag.js +0 -80
- package/lib/tag/Tag.js.map +0 -1
- package/lib/tag/index.d.ts +0 -21
- package/lib/tag/index.js +0 -33
- package/lib/tag/index.js.map +0 -1
- package/lib/tooltip/Tooltip.d.ts +0 -29
- package/lib/tooltip/Tooltip.js +0 -58
- package/lib/tooltip/Tooltip.js.map +0 -1
- package/lib/tooltip/index.d.ts +0 -21
- package/lib/tooltip/index.js +0 -33
- package/lib/tooltip/index.js.map +0 -1
- package/lib/view-selector/ViewSelector.d.ts +0 -51
- package/lib/view-selector/ViewSelector.js +0 -96
- package/lib/view-selector/ViewSelector.js.map +0 -1
- package/lib/view-selector/index.d.ts +0 -21
- package/lib/view-selector/index.js +0 -34
- package/lib/view-selector/index.js.map +0 -1
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
25
|
-
}) : (function(o, m, k, k2) {
|
|
26
|
-
if (k2 === undefined) k2 = k;
|
|
27
|
-
o[k2] = m[k];
|
|
28
|
-
}));
|
|
29
|
-
exports.__esModule = true;
|
|
30
|
-
exports.Triangle = exports.Text = exports.Shrink = exports.Rhombus = exports.Presentation = exports.Pin = exports.Hierarchy1 = exports.Heirarchy2 = exports.FolderBookmark = exports.FitToScreen = exports.ExternalLink = exports.Expand = exports.Drag = exports.DatabaseAddCircle = exports.Circle = void 0;
|
|
31
|
-
var Circle_1 = require("./Circle");
|
|
32
|
-
__createBinding(exports, Circle_1, "default", "Circle");
|
|
33
|
-
var DatabaseAddCircle_1 = require("./DatabaseAddCircle");
|
|
34
|
-
__createBinding(exports, DatabaseAddCircle_1, "default", "DatabaseAddCircle");
|
|
35
|
-
var Drag_1 = require("./Drag");
|
|
36
|
-
__createBinding(exports, Drag_1, "default", "Drag");
|
|
37
|
-
var Expand_1 = require("./Expand");
|
|
38
|
-
__createBinding(exports, Expand_1, "default", "Expand");
|
|
39
|
-
var ExternalLink_1 = require("./ExternalLink");
|
|
40
|
-
__createBinding(exports, ExternalLink_1, "default", "ExternalLink");
|
|
41
|
-
var FitToScreen_1 = require("./FitToScreen");
|
|
42
|
-
__createBinding(exports, FitToScreen_1, "default", "FitToScreen");
|
|
43
|
-
var FolderBookmark_1 = require("./FolderBookmark");
|
|
44
|
-
__createBinding(exports, FolderBookmark_1, "default", "FolderBookmark");
|
|
45
|
-
var Heirarchy2_1 = require("./Heirarchy2");
|
|
46
|
-
__createBinding(exports, Heirarchy2_1, "default", "Heirarchy2");
|
|
47
|
-
var Hierarchy1_1 = require("./Hierarchy1");
|
|
48
|
-
__createBinding(exports, Hierarchy1_1, "default", "Hierarchy1");
|
|
49
|
-
var Pin_1 = require("./Pin");
|
|
50
|
-
__createBinding(exports, Pin_1, "default", "Pin");
|
|
51
|
-
var Presentation_1 = require("./Presentation");
|
|
52
|
-
__createBinding(exports, Presentation_1, "default", "Presentation");
|
|
53
|
-
var Rhombus_1 = require("./Rhombus");
|
|
54
|
-
__createBinding(exports, Rhombus_1, "default", "Rhombus");
|
|
55
|
-
var Shrink_1 = require("./Shrink");
|
|
56
|
-
__createBinding(exports, Shrink_1, "default", "Shrink");
|
|
57
|
-
var Text_1 = require("./Text");
|
|
58
|
-
__createBinding(exports, Text_1, "default", "Text");
|
|
59
|
-
var Triangle_1 = require("./Triangle");
|
|
60
|
-
__createBinding(exports, Triangle_1, "default", "Triangle");
|
|
61
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/icons/custom/index.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;AAEH,mCAA6C;AAApC,wDAAiB;AAC1B,yDAAmE;AAA1D,8EAA4B;AACrC,+BAAyC;AAAhC,oDAAe;AACxB,mCAA6C;AAApC,wDAAiB;AAC1B,+CAAyD;AAAhD,oEAAuB;AAChC,6CAAuD;AAA9C,kEAAsB;AAC/B,mDAA6D;AAApD,wEAAyB;AAClC,2CAAqD;AAA5C,gEAAqB;AAC9B,2CAAqD;AAA5C,gEAAqB;AAC9B,6BAAuC;AAA9B,kDAAc;AACvB,+CAAyD;AAAhD,oEAAuB;AAChC,qCAA+C;AAAtC,0DAAkB;AAC3B,mCAA6C;AAApC,wDAAiB;AAC1B,+BAAyC;AAAhC,oDAAe;AACxB,uCAAiD;AAAxC,4DAAmB"}
|
package/lib/icons/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
export { default as HeroIcon } from './Hero';
|
|
22
|
-
export { default as CustomIcon } from './Custom';
|
package/lib/icons/index.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
25
|
-
}) : (function(o, m, k, k2) {
|
|
26
|
-
if (k2 === undefined) k2 = k;
|
|
27
|
-
o[k2] = m[k];
|
|
28
|
-
}));
|
|
29
|
-
exports.__esModule = true;
|
|
30
|
-
exports.CustomIcon = exports.HeroIcon = void 0;
|
|
31
|
-
var Hero_1 = require("./Hero");
|
|
32
|
-
__createBinding(exports, Hero_1, "default", "HeroIcon");
|
|
33
|
-
var Custom_1 = require("./Custom");
|
|
34
|
-
__createBinding(exports, Custom_1, "default", "CustomIcon");
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
package/lib/icons/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/icons/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;AAEH,+BAA6C;AAApC,wDAAmB;AAC5B,mCAAiD;AAAxC,4DAAqB"}
|
package/lib/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
export * from './button';
|
|
22
|
-
export * from './label';
|
|
23
|
-
export * from './alert';
|
|
24
|
-
export * from './tooltip';
|
|
25
|
-
export * from './checkbox';
|
|
26
|
-
export * from './switch';
|
|
27
|
-
export * from './radio';
|
|
28
|
-
export * from './context-menu';
|
|
29
|
-
export * from './loading-spinner';
|
|
30
|
-
export * from './tabs';
|
|
31
|
-
export * from './view-selector';
|
|
32
|
-
export * from './popover';
|
|
33
|
-
export * from './icons';
|
package/lib/index.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
25
|
-
}) : (function(o, m, k, k2) {
|
|
26
|
-
if (k2 === undefined) k2 = k;
|
|
27
|
-
o[k2] = m[k];
|
|
28
|
-
}));
|
|
29
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
30
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
exports.__esModule = true;
|
|
33
|
-
__exportStar(require("./button"), exports);
|
|
34
|
-
__exportStar(require("./label"), exports);
|
|
35
|
-
__exportStar(require("./alert"), exports);
|
|
36
|
-
__exportStar(require("./tooltip"), exports);
|
|
37
|
-
__exportStar(require("./checkbox"), exports);
|
|
38
|
-
__exportStar(require("./switch"), exports);
|
|
39
|
-
__exportStar(require("./radio"), exports);
|
|
40
|
-
__exportStar(require("./context-menu"), exports);
|
|
41
|
-
__exportStar(require("./loading-spinner"), exports);
|
|
42
|
-
__exportStar(require("./tabs"), exports);
|
|
43
|
-
__exportStar(require("./view-selector"), exports);
|
|
44
|
-
__exportStar(require("./popover"), exports);
|
|
45
|
-
__exportStar(require("./icons"), exports);
|
|
46
|
-
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;AAEH,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,iDAA+B;AAC/B,oDAAkC;AAClC,yCAAuB;AACvB,kDAAgC;AAChC,4CAA0B;AAC1B,0CAAwB"}
|
package/lib/input/Input.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
import React from 'react';
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* Types
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
export interface InputProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
30
|
-
/** Sets checked state */
|
|
31
|
-
checked?: boolean;
|
|
32
|
-
/** Sets disabled state */
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
/** Sets the label */
|
|
35
|
-
label?: string;
|
|
36
|
-
/** Displays with fluid width */
|
|
37
|
-
fluid?: boolean;
|
|
38
|
-
/** Displays label before */
|
|
39
|
-
labelBefore?: boolean;
|
|
40
|
-
/** Ref to the `input` element */
|
|
41
|
-
ref?: React.RefObject<HTMLInputElement>;
|
|
42
|
-
}
|
|
43
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<InputProps, "size" | "className" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "list" | "children" | "role" | "onChange" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "placeholder" | "readOnly" | "required" | "src" | "step" | "type" | "value" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "enterKeyHint" | "fluid" | "labelBefore"> & React.RefAttributes<HTMLInputElement>>;
|
|
44
|
-
export default _default;
|
package/lib/input/Input.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __assign = (this && this.__assign) || function () {
|
|
23
|
-
__assign = Object.assign || function(t) {
|
|
24
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
25
|
-
s = arguments[i];
|
|
26
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
27
|
-
t[p] = s[p];
|
|
28
|
-
}
|
|
29
|
-
return t;
|
|
30
|
-
};
|
|
31
|
-
return __assign.apply(this, arguments);
|
|
32
|
-
};
|
|
33
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
34
|
-
if (k2 === undefined) k2 = k;
|
|
35
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
36
|
-
}) : (function(o, m, k, k2) {
|
|
37
|
-
if (k2 === undefined) k2 = k;
|
|
38
|
-
o[k2] = m[k];
|
|
39
|
-
}));
|
|
40
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
41
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
42
|
-
}) : function(o, v) {
|
|
43
|
-
o["default"] = v;
|
|
44
|
-
});
|
|
45
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
46
|
-
if (mod && mod.__esModule) return mod;
|
|
47
|
-
var result = {};
|
|
48
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
49
|
-
__setModuleDefault(result, mod);
|
|
50
|
-
return result;
|
|
51
|
-
};
|
|
52
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
53
|
-
var t = {};
|
|
54
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
55
|
-
t[p] = s[p];
|
|
56
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
57
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
58
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
59
|
-
t[p[i]] = s[p[i]];
|
|
60
|
-
}
|
|
61
|
-
return t;
|
|
62
|
-
};
|
|
63
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
64
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
65
|
-
};
|
|
66
|
-
exports.__esModule = true;
|
|
67
|
-
var react_1 = __importStar(require("react"));
|
|
68
|
-
var classnames_1 = __importDefault(require("classnames"));
|
|
69
|
-
/** Add any helper functions here. */
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* Component
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
|
-
var Input = function (props, ref) {
|
|
78
|
-
var label = props.label, fluid = props.fluid, labelBefore = props.labelBefore, otherInputProps = __rest(props, ["label", "fluid", "labelBefore"]);
|
|
79
|
-
var containerWrappingClass = (0, classnames_1["default"])('ndl-form-item', {
|
|
80
|
-
disabled: otherInputProps.disabled
|
|
81
|
-
});
|
|
82
|
-
var labelWrappingClass = (0, classnames_1["default"])("form-item-label", {
|
|
83
|
-
fluid: fluid,
|
|
84
|
-
'label-before': labelBefore
|
|
85
|
-
});
|
|
86
|
-
return (react_1["default"].createElement("div", { className: containerWrappingClass },
|
|
87
|
-
react_1["default"].createElement("label", { className: labelWrappingClass },
|
|
88
|
-
react_1["default"].createElement("input", __assign({}, otherInputProps, { ref: ref })),
|
|
89
|
-
label)));
|
|
90
|
-
};
|
|
91
|
-
exports["default"] = (0, react_1.forwardRef)(Input);
|
|
92
|
-
//# sourceMappingURL=Input.js.map
|
package/lib/input/Input.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../src/input/Input.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6CAAwD;AACxD,0DAAoC;AA8BpC,qCAAqC;AAErC;;;;;;GAMG;AAEH,IAAM,KAAK,GAAG,UAAC,KAAiB,EAAE,GAAmC;IAC3D,IAAA,KAAK,GAA6C,KAAK,MAAlD,EAAE,KAAK,GAAsC,KAAK,MAA3C,EAAE,WAAW,GAAyB,KAAK,YAA9B,EAAK,eAAe,UAAK,KAAK,EAAzD,iCAAiD,CAAF,CAAW;IAEhE,IAAM,sBAAsB,GAAG,IAAA,uBAAU,EAAC,eAAe,EAAE;QACzD,QAAQ,EAAE,eAAe,CAAC,QAAQ;KACnC,CAAC,CAAC;IAEH,IAAM,kBAAkB,GAAG,IAAA,uBAAU,EAAC,iBAAiB,EAAE;QACvD,KAAK,OAAA;QACL,cAAc,EAAE,WAAW;KAC5B,CAAC,CAAC;IAEH,OAAO,CACL,0CAAK,SAAS,EAAE,sBAAsB;QAGpC,4CAAO,SAAS,EAAE,kBAAkB;YAClC,uDAAW,eAAe,IAAE,GAAG,EAAE,GAAG,IAAI;YACvC,KAAK,CACA,CACJ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,qBAAe,IAAA,kBAAU,EAAC,KAAK,CAAC,CAAC"}
|
package/lib/input/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
export { default as Input } from './Input';
|
package/lib/input/index.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
25
|
-
}) : (function(o, m, k, k2) {
|
|
26
|
-
if (k2 === undefined) k2 = k;
|
|
27
|
-
o[k2] = m[k];
|
|
28
|
-
}));
|
|
29
|
-
exports.__esModule = true;
|
|
30
|
-
exports.Input = void 0;
|
|
31
|
-
var Input_1 = require("./Input");
|
|
32
|
-
__createBinding(exports, Input_1, "default", "Input");
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
package/lib/input/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/input/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;AAEH,iCAA2C;AAAlC,sDAAgB"}
|
package/lib/label/Label.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
import React from 'react';
|
|
22
|
-
import { Neo4jColors } from '@neo4j-ndl/base';
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* Types
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
export declare type EventTypeLabelProps = {
|
|
31
|
-
/** Additional Classnames */
|
|
32
|
-
className?: string;
|
|
33
|
-
children: React.ReactNode | string;
|
|
34
|
-
color?: Neo4jColors;
|
|
35
|
-
/** Fill type of label */
|
|
36
|
-
fill?: 'filled' | 'outlined' | 'semi-filled' | 'clean';
|
|
37
|
-
/** If label should have an icon */
|
|
38
|
-
withIcon?: boolean;
|
|
39
|
-
};
|
|
40
|
-
export declare const Label: React.ForwardRefExoticComponent<EventTypeLabelProps & React.RefAttributes<HTMLSpanElement>>;
|
|
41
|
-
export default Label;
|
package/lib/label/Label.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __assign = (this && this.__assign) || function () {
|
|
23
|
-
__assign = Object.assign || function(t) {
|
|
24
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
25
|
-
s = arguments[i];
|
|
26
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
27
|
-
t[p] = s[p];
|
|
28
|
-
}
|
|
29
|
-
return t;
|
|
30
|
-
};
|
|
31
|
-
return __assign.apply(this, arguments);
|
|
32
|
-
};
|
|
33
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
34
|
-
var t = {};
|
|
35
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
36
|
-
t[p] = s[p];
|
|
37
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
38
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
39
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
40
|
-
t[p[i]] = s[p[i]];
|
|
41
|
-
}
|
|
42
|
-
return t;
|
|
43
|
-
};
|
|
44
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
|
-
};
|
|
47
|
-
exports.__esModule = true;
|
|
48
|
-
exports.Label = void 0;
|
|
49
|
-
var react_1 = __importDefault(require("react"));
|
|
50
|
-
var classnames_1 = __importDefault(require("classnames"));
|
|
51
|
-
var index_1 = require("../icons/custom/index");
|
|
52
|
-
exports.Label = react_1["default"].forwardRef(function Label(_a, ref) {
|
|
53
|
-
var _b, _c;
|
|
54
|
-
var _d = _a.color, color = _d === void 0 ? 'neutral' : _d, children = _a.children, className = _a.className, _e = _a.fill, fill = _e === void 0 ? 'filled' : _e, _f = _a.withIcon, withIcon = _f === void 0 ? false : _f, rest = __rest(_a, ["color", "children", "className", "fill", "withIcon"]);
|
|
55
|
-
var base;
|
|
56
|
-
var icon;
|
|
57
|
-
// Clean Label without icon is not allowed
|
|
58
|
-
if (!withIcon && fill === 'clean') {
|
|
59
|
-
console.error('Label without icon is not allowed');
|
|
60
|
-
}
|
|
61
|
-
if (withIcon) {
|
|
62
|
-
if (color === 'danger') {
|
|
63
|
-
icon = react_1["default"].createElement(index_1.Rhombus, null);
|
|
64
|
-
}
|
|
65
|
-
else if (color === 'warning') {
|
|
66
|
-
base = fill;
|
|
67
|
-
icon = react_1["default"].createElement(index_1.Triangle, null);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
icon = react_1["default"].createElement(index_1.Circle, null);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
switch (color) {
|
|
74
|
-
case 'primary':
|
|
75
|
-
case 'danger':
|
|
76
|
-
case 'blueberry':
|
|
77
|
-
case 'success':
|
|
78
|
-
case 'warning':
|
|
79
|
-
case 'mint': {
|
|
80
|
-
base = (0, classnames_1["default"])((_b = {},
|
|
81
|
-
_b["n-bg-".concat(color, "-50 n-text-neutral-10")] = fill === 'filled',
|
|
82
|
-
_b["outlined n-text-".concat(color, "-60 n-border-").concat(color, "-50")] = fill === 'outlined',
|
|
83
|
-
_b["semi-filled n-bg-".concat(color, "-10 n-text-").concat(color, "-60 n-border-").concat(color, "-40")] = fill === 'semi-filled',
|
|
84
|
-
_b["n-text-".concat(color, "-60")] = fill === 'clean',
|
|
85
|
-
_b));
|
|
86
|
-
break;
|
|
87
|
-
}
|
|
88
|
-
default:
|
|
89
|
-
base = (0, classnames_1["default"])((_c = {},
|
|
90
|
-
_c["n-bg-neutral-40 n-text-neutral-80"] = fill === 'filled',
|
|
91
|
-
_c["outlined n-text-neutral-70 n-border-neutral-70"] = fill === 'outlined',
|
|
92
|
-
_c["semi-filled n-bg-neutral-20 n-text-neutral-70 n-border-neutral-60"] = fill === 'semi-filled',
|
|
93
|
-
_c["n-text-neutral-70"] = fill === 'clean',
|
|
94
|
-
_c));
|
|
95
|
-
}
|
|
96
|
-
var classes = (0, classnames_1["default"])('ndl-label', base, className);
|
|
97
|
-
return (react_1["default"].createElement("span", __assign({ role: "status", "aria-label": "label", className: classes }, rest, { ref: ref }),
|
|
98
|
-
react_1["default"].createElement("div", { className: "label-content" },
|
|
99
|
-
icon,
|
|
100
|
-
children)));
|
|
101
|
-
});
|
|
102
|
-
exports["default"] = exports.Label;
|
|
103
|
-
//# sourceMappingURL=Label.js.map
|
package/lib/label/Label.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.js","sourceRoot":"","sources":["../../src/label/Label.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAA0B;AAE1B,0DAAoC;AACpC,+CAAkE;AAwBrD,QAAA,KAAK,GAAG,kBAAK,CAAC,UAAU,CAAC,SAAS,KAAK,CAClD,EAOsB,EACtB,GAAwC;;IAPtC,IAAA,aAAiB,EAAjB,KAAK,mBAAG,SAAS,KAAA,EACjB,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,YAAe,EAAf,IAAI,mBAAG,QAAQ,KAAA,EACf,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EACb,IAAI,cANT,sDAOC,CADQ;IAIT,IAAI,IAAY,CAAC;IACjB,IAAI,IAA4B,CAAC;IAEjC,0CAA0C;IAC1C,IAAI,CAAC,QAAQ,IAAI,IAAI,KAAK,OAAO,EAAE;QACjC,OAAO,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC;KACpD;IAED,IAAI,QAAQ,EAAE;QACZ,IAAI,KAAK,KAAK,QAAQ,EAAE;YACtB,IAAI,GAAG,iCAAC,eAAO,OAAG,CAAC;SACpB;aAAM,IAAI,KAAK,KAAK,SAAS,EAAE;YAC9B,IAAI,GAAG,IAAI,CAAC;YACZ,IAAI,GAAG,iCAAC,gBAAQ,OAAG,CAAC;SACrB;aAAM;YACL,IAAI,GAAG,iCAAC,cAAM,OAAG,CAAC;SACnB;KACF;IAED,QAAQ,KAAK,EAAE;QACb,KAAK,SAAS,CAAC;QACf,KAAK,QAAQ,CAAC;QACd,KAAK,WAAW,CAAC;QACjB,KAAK,SAAS,CAAC;QACf,KAAK,SAAS,CAAC;QACf,KAAK,MAAM,CAAC,CAAC;YACX,IAAI,GAAG,IAAA,uBAAU;gBACf,GAAC,eAAQ,KAAK,0BAAuB,IAAG,IAAI,KAAK,QAAQ;gBACzD,GAAC,0BAAmB,KAAK,0BAAgB,KAAK,QAAK,IACjD,IAAI,KAAK,UAAU;gBACrB,GAAC,2BAAoB,KAAK,wBAAc,KAAK,0BAAgB,KAAK,QAAK,IACrE,IAAI,KAAK,aAAa;gBACxB,GAAC,iBAAU,KAAK,QAAK,IAAG,IAAI,KAAK,OAAO;oBACxC,CAAC;YACH,MAAM;SACP;QACD;YACE,IAAI,GAAG,IAAA,uBAAU;gBACf,GAAC,mCAAmC,IAAG,IAAI,KAAK,QAAQ;gBACxD,GAAC,gDAAgD,IAAG,IAAI,KAAK,UAAU;gBACvE,GAAC,mEAAmE,IAClE,IAAI,KAAK,aAAa;gBACxB,GAAC,mBAAmB,IAAG,IAAI,KAAK,OAAO;oBACvC,CAAC;KACN;IAED,IAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,WAAW,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;IAEzD,OAAO,CACL,oDACE,IAAI,EAAC,QAAQ,gBACF,OAAO,EAClB,SAAS,EAAE,OAAO,IACd,IAAI,IACR,GAAG,EAAE,GAAG;QAER,0CAAK,SAAS,EAAC,eAAe;YAC3B,IAAI;YACJ,QAAQ,CACL,CACD,CACR,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,qBAAe,aAAK,CAAC"}
|
package/lib/label/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
export { default as Label } from './Label';
|
package/lib/label/index.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
25
|
-
}) : (function(o, m, k, k2) {
|
|
26
|
-
if (k2 === undefined) k2 = k;
|
|
27
|
-
o[k2] = m[k];
|
|
28
|
-
}));
|
|
29
|
-
exports.__esModule = true;
|
|
30
|
-
exports.Label = void 0;
|
|
31
|
-
var Label_1 = require("./Label");
|
|
32
|
-
__createBinding(exports, Label_1, "default", "Label");
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
package/lib/label/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/label/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;AAEH,iCAA2C;AAAlC,sDAAgB"}
|