@neo4j-ndl/react 3.9.2 → 3.9.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/lib/cjs/wizard/stories/index.js +48 -0
- package/lib/cjs/wizard/stories/index.js.map +1 -0
- package/lib/cjs/wizard/stories/wizard-error-state.story.js +35 -0
- package/lib/cjs/wizard/stories/wizard-error-state.story.js.map +1 -0
- package/lib/cjs/wizard/stories/wizard-horizontal-small.story.js +35 -0
- package/lib/cjs/wizard/stories/wizard-horizontal-small.story.js.map +1 -0
- package/lib/cjs/wizard/stories/wizard-horizontal.story.js +35 -0
- package/lib/cjs/wizard/stories/wizard-horizontal.story.js.map +1 -0
- package/lib/cjs/wizard/stories/wizard-vertical-small.story.js +35 -0
- package/lib/cjs/wizard/stories/wizard-vertical-small.story.js.map +1 -0
- package/lib/cjs/wizard/stories/wizard-vertical.story.js +35 -0
- package/lib/cjs/wizard/stories/wizard-vertical.story.js.map +1 -0
- package/lib/cjs/wizard/stories/wizard.stories.js +99 -0
- package/lib/cjs/wizard/stories/wizard.stories.js.map +1 -0
- package/lib/esm/wizard/stories/index.js +37 -0
- package/lib/esm/wizard/stories/index.js.map +1 -0
- package/lib/esm/wizard/stories/wizard-error-state.story.js +33 -0
- package/lib/esm/wizard/stories/wizard-error-state.story.js.map +1 -0
- package/lib/esm/wizard/stories/wizard-horizontal-small.story.js +33 -0
- package/lib/esm/wizard/stories/wizard-horizontal-small.story.js.map +1 -0
- package/lib/esm/wizard/stories/wizard-horizontal.story.js +33 -0
- package/lib/esm/wizard/stories/wizard-horizontal.story.js.map +1 -0
- package/lib/esm/wizard/stories/wizard-vertical-small.story.js +33 -0
- package/lib/esm/wizard/stories/wizard-vertical-small.story.js.map +1 -0
- package/lib/esm/wizard/stories/wizard-vertical.story.js +33 -0
- package/lib/esm/wizard/stories/wizard-vertical.story.js.map +1 -0
- package/lib/esm/wizard/stories/wizard.stories.js +96 -0
- package/lib/esm/wizard/stories/wizard.stories.js.map +1 -0
- package/lib/types/wizard/stories/index.d.ts +30 -0
- package/lib/types/wizard/stories/wizard-error-state.story.d.ts +23 -0
- package/lib/types/wizard/stories/wizard-horizontal-small.story.d.ts +23 -0
- package/lib/types/wizard/stories/wizard-horizontal.story.d.ts +23 -0
- package/lib/types/wizard/stories/wizard-vertical-small.story.d.ts +23 -0
- package/lib/types/wizard/stories/wizard-vertical.story.d.ts +23 -0
- package/lib/types/wizard/stories/wizard.stories.d.ts +30 -0
- package/package.json +2 -2
|
@@ -0,0 +1,48 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
23
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.WizardErrorStateSource = exports.WizardVerticalSmallSource = exports.WizardHorizontalSmallSource = exports.WizardVerticalSource = exports.WizardHorizontalSource = exports.WizardErrorState = exports.WizardVerticalSmall = exports.WizardHorizontalSmall = exports.WizardVertical = exports.WizardHorizontal = void 0;
|
|
27
|
+
var wizard_horizontal_story_1 = require("./wizard-horizontal.story");
|
|
28
|
+
Object.defineProperty(exports, "WizardHorizontal", { enumerable: true, get: function () { return __importDefault(wizard_horizontal_story_1).default; } });
|
|
29
|
+
var wizard_vertical_story_1 = require("./wizard-vertical.story");
|
|
30
|
+
Object.defineProperty(exports, "WizardVertical", { enumerable: true, get: function () { return __importDefault(wizard_vertical_story_1).default; } });
|
|
31
|
+
var wizard_horizontal_small_story_1 = require("./wizard-horizontal-small.story");
|
|
32
|
+
Object.defineProperty(exports, "WizardHorizontalSmall", { enumerable: true, get: function () { return __importDefault(wizard_horizontal_small_story_1).default; } });
|
|
33
|
+
var wizard_vertical_small_story_1 = require("./wizard-vertical-small.story");
|
|
34
|
+
Object.defineProperty(exports, "WizardVerticalSmall", { enumerable: true, get: function () { return __importDefault(wizard_vertical_small_story_1).default; } });
|
|
35
|
+
var wizard_error_state_story_1 = require("./wizard-error-state.story");
|
|
36
|
+
Object.defineProperty(exports, "WizardErrorState", { enumerable: true, get: function () { return __importDefault(wizard_error_state_story_1).default; } });
|
|
37
|
+
const export_stories_utils_1 = require("@neo4j-ndl/react/_common/export-stories-utils");
|
|
38
|
+
const wizard_error_state_story_raw_1 = __importDefault(require("./wizard-error-state.story?raw"));
|
|
39
|
+
const wizard_horizontal_story_raw_1 = __importDefault(require("./wizard-horizontal.story?raw"));
|
|
40
|
+
const wizard_horizontal_small_story_raw_1 = __importDefault(require("./wizard-horizontal-small.story?raw"));
|
|
41
|
+
const wizard_vertical_story_raw_1 = __importDefault(require("./wizard-vertical.story?raw"));
|
|
42
|
+
const wizard_vertical_small_story_raw_1 = __importDefault(require("./wizard-vertical-small.story?raw"));
|
|
43
|
+
exports.WizardHorizontalSource = (0, export_stories_utils_1.removeLicenseHeader)(wizard_horizontal_story_raw_1.default);
|
|
44
|
+
exports.WizardVerticalSource = (0, export_stories_utils_1.removeLicenseHeader)(wizard_vertical_story_raw_1.default);
|
|
45
|
+
exports.WizardHorizontalSmallSource = (0, export_stories_utils_1.removeLicenseHeader)(wizard_horizontal_small_story_raw_1.default);
|
|
46
|
+
exports.WizardVerticalSmallSource = (0, export_stories_utils_1.removeLicenseHeader)(wizard_vertical_small_story_raw_1.default);
|
|
47
|
+
exports.WizardErrorStateSource = (0, export_stories_utils_1.removeLicenseHeader)(wizard_error_state_story_raw_1.default);
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/wizard/stories/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;AAEH,qEAAwE;AAA/D,4IAAA,OAAO,OAAoB;AACpC,iEAAoE;AAA3D,wIAAA,OAAO,OAAkB;AAClC,iFAAmF;AAA1E,uJAAA,OAAO,OAAyB;AACzC,6EAA+E;AAAtE,mJAAA,OAAO,OAAuB;AACvC,uEAAyE;AAAhE,6IAAA,OAAO,OAAoB;AAEpC,wFAAoF;AAEpF,kGAAuE;AACvE,gGAAsE;AACtE,4GAAiF;AACjF,4FAAkE;AAClE,wGAA6E;AAEhE,QAAA,sBAAsB,GAAG,IAAA,0CAAmB,EACvD,qCAAyB,CAC1B,CAAC;AAEW,QAAA,oBAAoB,GAAG,IAAA,0CAAmB,EACrD,mCAAuB,CACxB,CAAC;AAEW,QAAA,2BAA2B,GAAG,IAAA,0CAAmB,EAC5D,2CAA8B,CAC/B,CAAC;AAEW,QAAA,yBAAyB,GAAG,IAAA,0CAAmB,EAC1D,yCAA4B,CAC7B,CAAC;AAEW,QAAA,sBAAsB,GAAG,IAAA,0CAAmB,EACvD,sCAAyB,CAC1B,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const Component = () => {
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Wizard, { orientation: "horizontal", activeStepIndex: 1, steps: [
|
|
28
|
+
{ content: 'Step 1' },
|
|
29
|
+
{ content: 'Step 2', status: 'error' },
|
|
30
|
+
{ content: 'Step 3' },
|
|
31
|
+
{ content: 'Step 4' },
|
|
32
|
+
] }));
|
|
33
|
+
};
|
|
34
|
+
exports.default = Component;
|
|
35
|
+
//# sourceMappingURL=wizard-error-state.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-error-state.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-error-state.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,uBAAC,cAAM,IACL,WAAW,EAAC,YAAY,EACxB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE;YACtC,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const Component = () => {
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Wizard, { orientation: "horizontal", size: "small", alignment: "middle", activeStepIndex: 1, steps: [
|
|
28
|
+
{ content: 'Step 1' },
|
|
29
|
+
{ content: 'Step 2' },
|
|
30
|
+
{ content: 'Step 3' },
|
|
31
|
+
{ content: 'Step 4' },
|
|
32
|
+
] }));
|
|
33
|
+
};
|
|
34
|
+
exports.default = Component;
|
|
35
|
+
//# sourceMappingURL=wizard-horizontal-small.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-horizontal-small.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-horizontal-small.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,uBAAC,cAAM,IACL,WAAW,EAAC,YAAY,EACxB,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const Component = () => {
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Wizard, { orientation: "horizontal", alignment: "middle", activeStepIndex: 1, steps: [
|
|
28
|
+
{ content: 'Step 1' },
|
|
29
|
+
{ content: 'Step 2' },
|
|
30
|
+
{ content: 'Step 3' },
|
|
31
|
+
{ content: 'Step 4' },
|
|
32
|
+
] }));
|
|
33
|
+
};
|
|
34
|
+
exports.default = Component;
|
|
35
|
+
//# sourceMappingURL=wizard-horizontal.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-horizontal.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-horizontal.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,uBAAC,cAAM,IACL,WAAW,EAAC,YAAY,EACxB,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const Component = () => {
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Wizard, { orientation: "vertical", size: "small", alignment: "middle", activeStepIndex: 1, steps: [
|
|
28
|
+
{ content: 'Step 1' },
|
|
29
|
+
{ content: 'Step 2' },
|
|
30
|
+
{ content: 'Step 3' },
|
|
31
|
+
{ content: 'Step 4' },
|
|
32
|
+
] }));
|
|
33
|
+
};
|
|
34
|
+
exports.default = Component;
|
|
35
|
+
//# sourceMappingURL=wizard-vertical-small.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-vertical-small.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-vertical-small.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,uBAAC,cAAM,IACL,WAAW,EAAC,UAAU,EACtB,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const Component = () => {
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Wizard, { orientation: "vertical", alignment: "middle", activeStepIndex: 1, steps: [
|
|
28
|
+
{ content: 'Step 1' },
|
|
29
|
+
{ content: 'Step 2' },
|
|
30
|
+
{ content: 'Step 3' },
|
|
31
|
+
{ content: 'Step 4' },
|
|
32
|
+
] }));
|
|
33
|
+
};
|
|
34
|
+
exports.default = Component;
|
|
35
|
+
//# sourceMappingURL=wizard-vertical.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-vertical.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-vertical.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,uBAAC,cAAM,IACL,WAAW,EAAC,UAAU,EACtB,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
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
|
+
|
|
22
|
+
"use strict";
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.ErrorState = exports.VerticalSmall = exports.Vertical = exports.HorizontalSmall = exports.Horizontal = void 0;
|
|
25
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
|
+
const index_1 = require("../index");
|
|
27
|
+
const _1 = require(".");
|
|
28
|
+
const componentMeta = {
|
|
29
|
+
title: 'Components/Wizard',
|
|
30
|
+
id: 'components-wizard',
|
|
31
|
+
component: index_1.Wizard,
|
|
32
|
+
tags: ['docsPage'],
|
|
33
|
+
parameters: {
|
|
34
|
+
controls: { disable: true },
|
|
35
|
+
},
|
|
36
|
+
decorators: [
|
|
37
|
+
(Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-w-1/2 n-mx-auto", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
38
|
+
],
|
|
39
|
+
};
|
|
40
|
+
exports.default = componentMeta;
|
|
41
|
+
exports.Horizontal = {
|
|
42
|
+
args: {},
|
|
43
|
+
render: _1.WizardHorizontal,
|
|
44
|
+
parameters: {
|
|
45
|
+
docs: {
|
|
46
|
+
source: {
|
|
47
|
+
code: _1.WizardHorizontalSource,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
exports.HorizontalSmall = {
|
|
53
|
+
args: {},
|
|
54
|
+
render: _1.WizardHorizontalSmall,
|
|
55
|
+
parameters: {
|
|
56
|
+
docs: {
|
|
57
|
+
source: {
|
|
58
|
+
code: _1.WizardHorizontalSmallSource,
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
exports.Vertical = {
|
|
64
|
+
args: {},
|
|
65
|
+
render: _1.WizardVertical,
|
|
66
|
+
parameters: {
|
|
67
|
+
docs: {
|
|
68
|
+
source: {
|
|
69
|
+
code: _1.WizardVerticalSource,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
decorators: [
|
|
74
|
+
(Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
75
|
+
],
|
|
76
|
+
};
|
|
77
|
+
exports.VerticalSmall = {
|
|
78
|
+
args: {},
|
|
79
|
+
render: _1.WizardVerticalSmall,
|
|
80
|
+
parameters: {
|
|
81
|
+
docs: {
|
|
82
|
+
source: {
|
|
83
|
+
code: _1.WizardVerticalSmallSource,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
exports.ErrorState = {
|
|
89
|
+
args: {},
|
|
90
|
+
render: _1.WizardErrorState,
|
|
91
|
+
parameters: {
|
|
92
|
+
docs: {
|
|
93
|
+
source: {
|
|
94
|
+
code: _1.WizardErrorStateSource,
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
//# sourceMappingURL=wizard.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard.stories.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard.stories.tsx"],"names":[],"mappings":";;;;AAuBA,oCAAkC;AAClC,wBAWW;AAEX,MAAM,aAAa,GAAwB;IACzC,KAAK,EAAE,mBAAmB;IAC1B,EAAE,EAAE,mBAAmB;IACvB,SAAS,EAAE,cAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,gCAAK,SAAS,EAAC,mBAAmB,YAChC,uBAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,kBAAe,aAAa,CAAC;AAGhB,QAAA,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,mBAAgB;IACxB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,yBAAsB;aAC7B;SACF;KACF;CACF,CAAC;AAEW,QAAA,eAAe,GAAU;IACpC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,wBAAqB;IAC7B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;aAClC;SACF;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,iBAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,uBAAoB;aAC3B;SACF;KACF;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,gCAAK,SAAS,EAAC,yBAAyB,YACtC,uBAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEW,QAAA,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,sBAAmB;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,4BAAyB;aAChC;SACF;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,mBAAgB;IACxB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,yBAAsB;aAC7B;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 WizardHorizontal } from './wizard-horizontal.story';
|
|
22
|
+
export { default as WizardVertical } from './wizard-vertical.story';
|
|
23
|
+
export { default as WizardHorizontalSmall } from './wizard-horizontal-small.story';
|
|
24
|
+
export { default as WizardVerticalSmall } from './wizard-vertical-small.story';
|
|
25
|
+
export { default as WizardErrorState } from './wizard-error-state.story';
|
|
26
|
+
import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
|
|
27
|
+
import WizardErrorStateSourceRaw from './wizard-error-state.story?raw';
|
|
28
|
+
import WizardHorizontalSourceRaw from './wizard-horizontal.story?raw';
|
|
29
|
+
import WizardHorizontalSmallSourceRaw from './wizard-horizontal-small.story?raw';
|
|
30
|
+
import WizardVerticalSourceRaw from './wizard-vertical.story?raw';
|
|
31
|
+
import WizardVerticalSmallSourceRaw from './wizard-vertical-small.story?raw';
|
|
32
|
+
export const WizardHorizontalSource = removeLicenseHeader(WizardHorizontalSourceRaw);
|
|
33
|
+
export const WizardVerticalSource = removeLicenseHeader(WizardVerticalSourceRaw);
|
|
34
|
+
export const WizardHorizontalSmallSource = removeLicenseHeader(WizardHorizontalSmallSourceRaw);
|
|
35
|
+
export const WizardVerticalSmallSource = removeLicenseHeader(WizardVerticalSmallSourceRaw);
|
|
36
|
+
export const WizardErrorStateSource = removeLicenseHeader(WizardErrorStateSourceRaw);
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/wizard/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AACvE,OAAO,yBAAyB,MAAM,+BAA+B,CAAC;AACtE,OAAO,8BAA8B,MAAM,qCAAqC,CAAC;AACjF,OAAO,uBAAuB,MAAM,6BAA6B,CAAC;AAClE,OAAO,4BAA4B,MAAM,mCAAmC,CAAC;AAE7E,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CACvD,yBAAyB,CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAC5D,8BAA8B,CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,mBAAmB,CAC1D,4BAA4B,CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CACvD,yBAAyB,CAC1B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
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
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Wizard } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Wizard, { orientation: "horizontal", activeStepIndex: 1, steps: [
|
|
26
|
+
{ content: 'Step 1' },
|
|
27
|
+
{ content: 'Step 2', status: 'error' },
|
|
28
|
+
{ content: 'Step 3' },
|
|
29
|
+
{ content: 'Step 4' },
|
|
30
|
+
] }));
|
|
31
|
+
};
|
|
32
|
+
export default Component;
|
|
33
|
+
//# sourceMappingURL=wizard-error-state.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-error-state.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-error-state.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,WAAW,EAAC,YAAY,EACxB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE;YACtC,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
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
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Wizard } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Wizard, { orientation: "horizontal", size: "small", alignment: "middle", activeStepIndex: 1, steps: [
|
|
26
|
+
{ content: 'Step 1' },
|
|
27
|
+
{ content: 'Step 2' },
|
|
28
|
+
{ content: 'Step 3' },
|
|
29
|
+
{ content: 'Step 4' },
|
|
30
|
+
] }));
|
|
31
|
+
};
|
|
32
|
+
export default Component;
|
|
33
|
+
//# sourceMappingURL=wizard-horizontal-small.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-horizontal-small.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-horizontal-small.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,WAAW,EAAC,YAAY,EACxB,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
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
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Wizard } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Wizard, { orientation: "horizontal", alignment: "middle", activeStepIndex: 1, steps: [
|
|
26
|
+
{ content: 'Step 1' },
|
|
27
|
+
{ content: 'Step 2' },
|
|
28
|
+
{ content: 'Step 3' },
|
|
29
|
+
{ content: 'Step 4' },
|
|
30
|
+
] }));
|
|
31
|
+
};
|
|
32
|
+
export default Component;
|
|
33
|
+
//# sourceMappingURL=wizard-horizontal.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-horizontal.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-horizontal.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,WAAW,EAAC,YAAY,EACxB,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
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
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Wizard } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Wizard, { orientation: "vertical", size: "small", alignment: "middle", activeStepIndex: 1, steps: [
|
|
26
|
+
{ content: 'Step 1' },
|
|
27
|
+
{ content: 'Step 2' },
|
|
28
|
+
{ content: 'Step 3' },
|
|
29
|
+
{ content: 'Step 4' },
|
|
30
|
+
] }));
|
|
31
|
+
};
|
|
32
|
+
export default Component;
|
|
33
|
+
//# sourceMappingURL=wizard-vertical-small.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-vertical-small.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-vertical-small.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,WAAW,EAAC,UAAU,EACtB,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
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
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Wizard } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Wizard, { orientation: "vertical", alignment: "middle", activeStepIndex: 1, steps: [
|
|
26
|
+
{ content: 'Step 1' },
|
|
27
|
+
{ content: 'Step 2' },
|
|
28
|
+
{ content: 'Step 3' },
|
|
29
|
+
{ content: 'Step 4' },
|
|
30
|
+
] }));
|
|
31
|
+
};
|
|
32
|
+
export default Component;
|
|
33
|
+
//# sourceMappingURL=wizard-vertical.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-vertical.story.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard-vertical.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,WAAW,EAAC,UAAU,EACtB,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,EAClB,KAAK,EAAE;YACL,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;YACrB,EAAE,OAAO,EAAE,QAAQ,EAAE;SACtB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
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
|
+
|
|
22
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
+
import { Wizard } from '../index';
|
|
24
|
+
import { WizardErrorState, WizardErrorStateSource, WizardHorizontal, WizardHorizontalSmall, WizardHorizontalSmallSource, WizardHorizontalSource, WizardVertical, WizardVerticalSmall, WizardVerticalSmallSource, WizardVerticalSource, } from '.';
|
|
25
|
+
const componentMeta = {
|
|
26
|
+
title: 'Components/Wizard',
|
|
27
|
+
id: 'components-wizard',
|
|
28
|
+
component: Wizard,
|
|
29
|
+
tags: ['docsPage'],
|
|
30
|
+
parameters: {
|
|
31
|
+
controls: { disable: true },
|
|
32
|
+
},
|
|
33
|
+
decorators: [
|
|
34
|
+
(Story) => (_jsx("div", { className: "n-w-1/2 n-mx-auto", children: _jsx(Story, {}) })),
|
|
35
|
+
],
|
|
36
|
+
};
|
|
37
|
+
export default componentMeta;
|
|
38
|
+
export const Horizontal = {
|
|
39
|
+
args: {},
|
|
40
|
+
render: WizardHorizontal,
|
|
41
|
+
parameters: {
|
|
42
|
+
docs: {
|
|
43
|
+
source: {
|
|
44
|
+
code: WizardHorizontalSource,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
export const HorizontalSmall = {
|
|
50
|
+
args: {},
|
|
51
|
+
render: WizardHorizontalSmall,
|
|
52
|
+
parameters: {
|
|
53
|
+
docs: {
|
|
54
|
+
source: {
|
|
55
|
+
code: WizardHorizontalSmallSource,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
export const Vertical = {
|
|
61
|
+
args: {},
|
|
62
|
+
render: WizardVertical,
|
|
63
|
+
parameters: {
|
|
64
|
+
docs: {
|
|
65
|
+
source: {
|
|
66
|
+
code: WizardVerticalSource,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
decorators: [
|
|
71
|
+
(Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
|
|
72
|
+
],
|
|
73
|
+
};
|
|
74
|
+
export const VerticalSmall = {
|
|
75
|
+
args: {},
|
|
76
|
+
render: WizardVerticalSmall,
|
|
77
|
+
parameters: {
|
|
78
|
+
docs: {
|
|
79
|
+
source: {
|
|
80
|
+
code: WizardVerticalSmallSource,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
export const ErrorState = {
|
|
86
|
+
args: {},
|
|
87
|
+
render: WizardErrorState,
|
|
88
|
+
parameters: {
|
|
89
|
+
docs: {
|
|
90
|
+
source: {
|
|
91
|
+
code: WizardErrorStateSource,
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=wizard.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard.stories.js","sourceRoot":"","sources":["../../../../src/wizard/stories/wizard.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,cAAc,EACd,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAwB;IACzC,KAAK,EAAE,mBAAmB;IAC1B,EAAE,EAAE,mBAAmB;IACvB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,gBAAgB;IACxB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,sBAAsB;aAC7B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAU;IACpC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,qBAAqB;IAC7B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,2BAA2B;aAClC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,cAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,oBAAoB;aAC3B;SACF;KACF;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,mBAAmB;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,yBAAyB;aAChC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,gBAAgB;IACxB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,sBAAsB;aAC7B;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 WizardHorizontal } from './wizard-horizontal.story';
|
|
22
|
+
export { default as WizardVertical } from './wizard-vertical.story';
|
|
23
|
+
export { default as WizardHorizontalSmall } from './wizard-horizontal-small.story';
|
|
24
|
+
export { default as WizardVerticalSmall } from './wizard-vertical-small.story';
|
|
25
|
+
export { default as WizardErrorState } from './wizard-error-state.story';
|
|
26
|
+
export declare const WizardHorizontalSource: string;
|
|
27
|
+
export declare const WizardVerticalSource: string;
|
|
28
|
+
export declare const WizardHorizontalSmallSource: string;
|
|
29
|
+
export declare const WizardVerticalSmallSource: string;
|
|
30
|
+
export declare const WizardErrorStateSource: string;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
22
|
+
import { Wizard } from '../index';
|
|
23
|
+
declare const componentMeta: Meta<typeof Wizard>;
|
|
24
|
+
export default componentMeta;
|
|
25
|
+
type Story = StoryObj<typeof Wizard>;
|
|
26
|
+
export declare const Horizontal: Story;
|
|
27
|
+
export declare const HorizontalSmall: Story;
|
|
28
|
+
export declare const Vertical: Story;
|
|
29
|
+
export declare const VerticalSmall: Story;
|
|
30
|
+
export declare const ErrorState: Story;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.3",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@tanstack/react-table": "8.20.5",
|
|
83
83
|
"react": ">=16.8.0",
|
|
84
84
|
"react-dom": ">=16.8.0",
|
|
85
|
-
"@neo4j-ndl/base": "^3.7.
|
|
85
|
+
"@neo4j-ndl/base": "^3.7.21"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
88
|
"@dnd-kit/core": "6.1.0",
|