@neo4j-ndl/react 3.3.14 → 3.3.16

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.
Files changed (46) hide show
  1. package/lib/cjs/accordion/stories/accordion-clean-items-expanded.story.js +34 -0
  2. package/lib/cjs/accordion/stories/accordion-clean-items-expanded.story.js.map +1 -0
  3. package/lib/cjs/accordion/stories/accordion-default-expanded.story.js +34 -0
  4. package/lib/cjs/accordion/stories/accordion-default-expanded.story.js.map +1 -0
  5. package/lib/cjs/accordion/stories/accordion-full.story.js +37 -0
  6. package/lib/cjs/accordion/stories/accordion-full.story.js.map +1 -0
  7. package/lib/cjs/accordion/stories/accordion-multiple-expanded.story.js +37 -0
  8. package/lib/cjs/accordion/stories/accordion-multiple-expanded.story.js.map +1 -0
  9. package/lib/cjs/accordion/stories/accordion-right-content.story.js +34 -0
  10. package/lib/cjs/accordion/stories/accordion-right-content.story.js.map +1 -0
  11. package/lib/cjs/accordion/stories/accordion-single-expanded.story.js +34 -0
  12. package/lib/cjs/accordion/stories/accordion-single-expanded.story.js.map +1 -0
  13. package/lib/cjs/accordion/stories/accordion.stories.js +144 -0
  14. package/lib/cjs/accordion/stories/accordion.stories.js.map +1 -0
  15. package/lib/cjs/accordion/stories/index.js +51 -0
  16. package/lib/cjs/accordion/stories/index.js.map +1 -0
  17. package/lib/cjs/wizard/Wizard.js +16 -8
  18. package/lib/cjs/wizard/Wizard.js.map +1 -1
  19. package/lib/esm/accordion/stories/accordion-clean-items-expanded.story.js +32 -0
  20. package/lib/esm/accordion/stories/accordion-clean-items-expanded.story.js.map +1 -0
  21. package/lib/esm/accordion/stories/accordion-default-expanded.story.js +32 -0
  22. package/lib/esm/accordion/stories/accordion-default-expanded.story.js.map +1 -0
  23. package/lib/esm/accordion/stories/accordion-full.story.js +35 -0
  24. package/lib/esm/accordion/stories/accordion-full.story.js.map +1 -0
  25. package/lib/esm/accordion/stories/accordion-multiple-expanded.story.js +35 -0
  26. package/lib/esm/accordion/stories/accordion-multiple-expanded.story.js.map +1 -0
  27. package/lib/esm/accordion/stories/accordion-right-content.story.js +32 -0
  28. package/lib/esm/accordion/stories/accordion-right-content.story.js.map +1 -0
  29. package/lib/esm/accordion/stories/accordion-single-expanded.story.js +32 -0
  30. package/lib/esm/accordion/stories/accordion-single-expanded.story.js.map +1 -0
  31. package/lib/esm/accordion/stories/accordion.stories.js +141 -0
  32. package/lib/esm/accordion/stories/accordion.stories.js.map +1 -0
  33. package/lib/esm/accordion/stories/index.js +39 -0
  34. package/lib/esm/accordion/stories/index.js.map +1 -0
  35. package/lib/esm/wizard/Wizard.js +16 -8
  36. package/lib/esm/wizard/Wizard.js.map +1 -1
  37. package/lib/types/accordion/stories/accordion-clean-items-expanded.story.d.ts +23 -0
  38. package/lib/types/accordion/stories/accordion-default-expanded.story.d.ts +23 -0
  39. package/lib/types/accordion/stories/accordion-full.story.d.ts +23 -0
  40. package/lib/types/accordion/stories/accordion-multiple-expanded.story.d.ts +23 -0
  41. package/lib/types/accordion/stories/accordion-right-content.story.d.ts +23 -0
  42. package/lib/types/accordion/stories/accordion-single-expanded.story.d.ts +23 -0
  43. package/lib/types/accordion/stories/accordion.stories.d.ts +68 -0
  44. package/lib/types/accordion/stories/index.d.ts +32 -0
  45. package/lib/types/wizard/Wizard.d.ts +14 -1
  46. package/package.json +3 -2
@@ -0,0 +1,32 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } 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 { useState } from 'react';
23
+ import { Accordion } from '@neo4j-ndl/react';
24
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
25
+ const Component = () => {
26
+ const itemIds = ['item-1', 'item-2', 'item-3', 'item-4'];
27
+ const [expandedItemId, setExpandedItemId] = useState(undefined);
28
+ const onChange = (expandedItemId) => setExpandedItemId(expandedItemId);
29
+ return (_jsxs(Accordion, { expandedItemId: expandedItemId, isMultiple: undefined, onChange: onChange, children: [_jsx(Accordion.Item, { itemId: itemIds[0], title: `Accordion ${itemIds[0]}`, children: itemIds[0] }), _jsx(Accordion.Item, { itemId: itemIds[1], title: `Accordion ${itemIds[1]}`, children: itemIds[1] }), _jsx(Accordion.Item, { itemId: itemIds[2], title: `Accordion ${itemIds[2]}`, children: itemIds[2] }), _jsx(Accordion.Item, { itemId: itemIds[3], title: `Accordion ${itemIds[3]}`, children: itemIds[3] })] }));
30
+ };
31
+ export default Component;
32
+ //# sourceMappingURL=accordion-default-expanded.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion-default-expanded.story.js","sourceRoot":"","sources":["../../../../src/accordion/stories/accordion-default-expanded.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AACnE,OAAO,yCAAyC,CAAC;AAEjD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,OAAO,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAEzD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAClD,SAAS,CACV,CAAC;IAEF,MAAM,QAAQ,GAAG,CAAC,cAAsC,EAAE,EAAE,CAC1D,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAEpC,OAAO,CACL,MAAC,SAAS,IACR,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,SAAS,EACrB,QAAQ,EAAE,QAAQ,aAElB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,IACP,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } 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 { useState } from 'react';
23
+ import { Accordion, Checkbox } from '@neo4j-ndl/react';
24
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
25
+ const Component = () => {
26
+ const itemIds = ['item-1', 'item-2', 'item-3', 'item-4'];
27
+ const [expandedItemIds, setExpandedItemIds] = useState([
28
+ itemIds[1],
29
+ ]);
30
+ const onChange = (expandedItemIds) => setExpandedItemIds(expandedItemIds);
31
+ const onExpandedChange = (hasExpanded) => console.info(`Expanded change: ${hasExpanded}`);
32
+ return (_jsxs(Accordion, { expandedItemIds: expandedItemIds, isMultiple: true, onChange: onChange, children: [_jsx(Accordion.CleanItem, { itemId: itemIds[0], title: `Accordion ${itemIds[0]}`, children: itemIds[0] }), _jsx(Accordion.CleanItem, { arrowPosition: "right", isDisabled: false, itemId: itemIds[1], onExpandedChange: onExpandedChange, rightContent: _jsx(Checkbox, { label: "Right content" }), title: `Accordion ${itemIds[1]}`, titleTypographyVariant: "h6", children: itemIds[1] }), _jsx(Accordion.CleanItem, { itemId: itemIds[2], title: `Accordion ${itemIds[2]}`, children: itemIds[2] }), _jsx(Accordion.CleanItem, { itemId: itemIds[3], title: `Accordion ${itemIds[3]}`, children: itemIds[3] })] }));
33
+ };
34
+ export default Component;
35
+ //# sourceMappingURL=accordion-full.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion-full.story.js","sourceRoot":"","sources":["../../../../src/accordion/stories/accordion-full.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,SAAS,EAAwB,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC7E,O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AS,CAAC,SAAS,IAClB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAClB,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YAE/B,OAAO,CAAC,CAAC,CAAC,GACS,IACZ,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } 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 { useState } from 'react';
23
+ import { Accordion } from '@neo4j-ndl/react';
24
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
25
+ const Component = () => {
26
+ const itemIds = ['item-1', 'item-2', 'item-3', 'item-4'];
27
+ const [expandedItemIds, setExpandedItemIds] = useState([
28
+ itemIds[0],
29
+ itemIds[2],
30
+ ]);
31
+ const onChange = (expandedItemIds) => setExpandedItemIds(expandedItemIds);
32
+ return (_jsxs(Accordion, { expandedItemIds: expandedItemIds, isMultiple: true, onChange: onChange, children: [_jsx(Accordion.Item, { itemId: itemIds[0], title: `Accordion ${itemIds[0]}`, children: itemIds[0] }), _jsx(Accordion.Item, { itemId: itemIds[1], title: `Accordion ${itemIds[1]}`, children: itemIds[1] }), _jsx(Accordion.Item, { itemId: itemIds[2], title: `Accordion ${itemIds[2]}`, children: itemIds[2] }), _jsx(Accordion.Item, { itemId: itemIds[3], title: `Accordion ${itemIds[3]}`, children: itemIds[3] })] }));
33
+ };
34
+ export default Component;
35
+ //# sourceMappingURL=accordion-multiple-expanded.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion-multiple-expanded.story.js","sourceRoot":"","sources":["../../../../src/accordion/stories/accordion-multiple-expanded.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AACnE,OAAO,yCAAyC,CAAC;AAEjD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,OAAO,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAEzD,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAoB;QACxE,OAAO,CAAC,CAAC,CAAC;QACV,OAAO,CAAC,CAAC,CAAC;KACX,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,CAAC,eAAkC,EAAE,EAAE,CACtD,kBAAkB,CAAC,eAAe,CAAC,CAAC;IAEtC,OAAO,CACL,MAAC,SAAS,IACR,eAAe,EAAE,eAAe,EAChC,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,QAAQ,aAElB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,IACP,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } 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 { useState } from 'react';
23
+ import { Accordion, Checkbox } from '@neo4j-ndl/react';
24
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
25
+ const Component = () => {
26
+ const itemIds = ['item-1', 'item-2', 'item-3', 'item-4'];
27
+ const [expandedItemId, setExpandedItemId] = useState(undefined);
28
+ const onChange = (expandedItemId) => setExpandedItemId(expandedItemId);
29
+ return (_jsxs(Accordion, { expandedItemId: expandedItemId, isMultiple: undefined, onChange: onChange, children: [_jsx(Accordion.CleanItem, { itemId: itemIds[0], title: `Accordion ${itemIds[0]}`, rightContent: _jsx(Checkbox, { label: "Right content" }), children: itemIds[0] }), _jsx(Accordion.CleanItem, { itemId: itemIds[1], title: `Accordion ${itemIds[1]}`, children: itemIds[1] }), _jsx(Accordion.CleanItem, { itemId: itemIds[2], title: `Accordion ${itemIds[2]}`, children: itemIds[2] }), _jsx(Accordion.CleanItem, { itemId: itemIds[3], title: `Accordion ${itemIds[3]}`, children: itemIds[3] })] }));
30
+ };
31
+ export default Component;
32
+ //# sourceMappingURL=accordion-right-content.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion-right-content.story.js","sourceRoot":"","sources":["../../../../src/accordion/stories/accordion-right-content.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,SAAS,EAAwB,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,yCAAyC,CAAC;AAEjD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,OAAO,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAEzD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAClD,SAAS,CACV,CAAC;IAEF,MAAM,QAAQ,GAAG,CAAC,cAAsC,EAAE,EAAE,CAC1D,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAEpC,OAAO,CACL,MAAC,SAAS,IACR,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,SAAS,EACrB,QAAQ,EAAE,QAAQ,aAElB,KAAC,SAAS,CAAC,SAAS,IAClB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAClB,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,EAChC,YAAY,EAAE,KAAC,QAAQ,IAAC,KAAK,EAAC,eAAe,GAAG,YAE/C,OAAO,CAAC,CAAC,CAAC,GACS,EACtB,KAAC,SAAS,CAAC,SAAS,IAClB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAClB,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YAE/B,OAAO,CAAC,CAAC,CAAC,GACS,EACtB,KAAC,SAAS,CAAC,SAAS,IAClB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAClB,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YAE/B,OAAO,CAAC,CAAC,CAAC,GACS,EACtB,KAAC,SAAS,CAAC,SAAS,IAClB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAClB,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YAE/B,OAAO,CAAC,CAAC,CAAC,GACS,IACZ,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } 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 { useState } from 'react';
23
+ import { Accordion } from '@neo4j-ndl/react';
24
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
25
+ const Component = () => {
26
+ const itemIds = ['item-1', 'item-2', 'item-3', 'item-4'];
27
+ const [expandedItemId, setExpandedItemId] = useState(itemIds[1]);
28
+ const onChange = (expandedItemId) => setExpandedItemId(expandedItemId);
29
+ return (_jsxs(Accordion, { expandedItemId: expandedItemId, isMultiple: false, onChange: onChange, children: [_jsx(Accordion.Item, { itemId: itemIds[0], title: `Accordion ${itemIds[0]}`, children: itemIds[0] }), _jsx(Accordion.Item, { itemId: itemIds[1], title: `Accordion ${itemIds[1]}`, children: itemIds[1] }), _jsx(Accordion.Item, { itemId: itemIds[2], title: `Accordion ${itemIds[2]}`, children: itemIds[2] }), _jsx(Accordion.Item, { itemId: itemIds[3], title: `Accordion ${itemIds[3]}`, children: itemIds[3] })] }));
30
+ };
31
+ export default Component;
32
+ //# sourceMappingURL=accordion-single-expanded.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion-single-expanded.story.js","sourceRoot":"","sources":["../../../../src/accordion/stories/accordion-single-expanded.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AACnE,OAAO,yCAAyC,CAAC;AAEjD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,OAAO,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAEzD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAClD,OAAO,CAAC,CAAC,CAAC,CACX,CAAC;IAEF,MAAM,QAAQ,GAAG,CAAC,cAAsC,EAAE,EAAE,CAC1D,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAEpC,OAAO,CACL,MAAC,SAAS,IACR,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,KAAK,EACjB,QAAQ,EAAE,QAAQ,aAElB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,EACjB,KAAC,SAAS,CAAC,IAAI,IAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,OAAO,CAAC,CAAC,CAAC,EAAE,YACjE,OAAO,CAAC,CAAC,CAAC,GACI,IACP,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,141 @@
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 { Accordion } from '../../index';
23
+ import { AccordionCleanItems, AccordionDefault, AccordionFull, AccordionMultipleExpanded, AccordionRightContent, AccordionSingleExpanded, AccordionCleanItemsSrc, AccordionDefaultSrc, AccordionFullSrc, AccordionMultipleExpandedSrc, AccordionRightContentSrc, AccordionSingleExpandedSrc, } from './';
24
+ const componentMeta = {
25
+ title: 'Components/Accordion',
26
+ component: Accordion,
27
+ tags: ['docsPage'],
28
+ parameters: {
29
+ controls: { disable: true },
30
+ },
31
+ };
32
+ export default componentMeta;
33
+ export const CleanItems = {
34
+ args: {
35
+ children: undefined,
36
+ isMultiple: undefined,
37
+ expandedItemId: null,
38
+ onChange: () => undefined,
39
+ },
40
+ render: AccordionCleanItems,
41
+ parameters: {
42
+ docs: {
43
+ source: {
44
+ language: 'tsx',
45
+ type: 'code',
46
+ code: AccordionCleanItemsSrc,
47
+ },
48
+ },
49
+ },
50
+ };
51
+ export const Default = {
52
+ args: {
53
+ children: undefined,
54
+ isMultiple: undefined,
55
+ expandedItemId: null,
56
+ onChange: () => undefined,
57
+ },
58
+ render: AccordionDefault,
59
+ parameters: {
60
+ docs: {
61
+ source: {
62
+ language: 'tsx',
63
+ type: 'code',
64
+ code: AccordionDefaultSrc.replace(/^\/\*[\s\S]*?\*\/\s*/, ''),
65
+ },
66
+ },
67
+ },
68
+ };
69
+ export const Full = {
70
+ args: {
71
+ children: undefined,
72
+ isMultiple: undefined,
73
+ expandedItemId: null,
74
+ onChange: () => undefined,
75
+ },
76
+ parameters: {
77
+ docs: {
78
+ source: {
79
+ language: 'tsx',
80
+ type: 'code',
81
+ code: AccordionFullSrc.replace(/^\/\*[\s\S]*?\*\/\s*/, ''),
82
+ },
83
+ },
84
+ },
85
+ render: AccordionFull,
86
+ };
87
+ export const MultipleExpanded = {
88
+ args: {
89
+ children: undefined,
90
+ isMultiple: undefined,
91
+ expandedItemId: null,
92
+ onChange: () => undefined,
93
+ },
94
+ render: AccordionMultipleExpanded,
95
+ parameters: {
96
+ docs: {
97
+ source: {
98
+ language: 'tsx',
99
+ type: 'code',
100
+ code: AccordionMultipleExpandedSrc.replace(/^\/\*[\s\S]*?\*\/\s*/, ''),
101
+ },
102
+ },
103
+ },
104
+ };
105
+ export const RightContent = {
106
+ args: {
107
+ children: undefined,
108
+ isMultiple: undefined,
109
+ expandedItemId: null,
110
+ onChange: () => undefined,
111
+ },
112
+ render: AccordionRightContent,
113
+ parameters: {
114
+ docs: {
115
+ source: {
116
+ language: 'tsx',
117
+ type: 'code',
118
+ code: AccordionRightContentSrc.replace(/^\/\*[\s\S]*?\*\/\s*/, ''),
119
+ },
120
+ },
121
+ },
122
+ };
123
+ export const SingleExpanded = {
124
+ args: {
125
+ children: undefined,
126
+ isMultiple: undefined,
127
+ expandedItemId: null,
128
+ onChange: () => undefined,
129
+ },
130
+ render: AccordionSingleExpanded,
131
+ parameters: {
132
+ docs: {
133
+ source: {
134
+ language: 'tsx',
135
+ type: 'code',
136
+ code: AccordionSingleExpandedSrc.replace(/^\/\*[\s\S]*?\*\/\s*/, ''),
137
+ },
138
+ },
139
+ },
140
+ };
141
+ //# sourceMappingURL=accordion.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.stories.js","sourceRoot":"","sources":["../../../../src/accordion/stories/accordion.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,yBAAyB,EACzB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,gBAAgB,EAChB,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,IAAI,CAAC;AAEZ,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;CAC+B,CAAC;AAEnC,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE;QACJ,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,SAAS;Q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C,SAAS;KAC1B;IACD,MAAM,EAAE,yBAAyB;IACjC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,4BAA4B,CAAC,OAAO,CAAC,sBAAsB,EAAE,EAAE,CAAC;aACvE;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE;QACJ,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,SAAS;QACrB,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS;KAC1B;IACD,MAAM,EAAE,qBAAqB;IAC7B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,wBAAwB,CAAC,OAAO,CAAC,sBAAsB,EAAE,EAAE,CAAC;aACnE;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU;IACnC,IAAI,EAAE;QACJ,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,SAAS;QACrB,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS;KAC1B;IACD,MAAM,EAAE,uBAAuB;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,0BAA0B,CAAC,OAAO,CAAC,sBAAsB,EAAE,EAAE,CAAC;aACrE;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,39 @@
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 AccordionCleanItems } from './accordion-clean-items-expanded.story';
22
+ export { default as AccordionDefault } from './accordion-default-expanded.story';
23
+ export { default as AccordionFull } from './accordion-full.story';
24
+ export { default as AccordionMultipleExpanded } from './accordion-multiple-expanded.story';
25
+ export { default as AccordionRightContent } from './accordion-right-content.story';
26
+ export { default as AccordionSingleExpanded } from './accordion-single-expanded.story';
27
+ import AccordionCleanItemsSrcRaw from './accordion-clean-items-expanded.story?raw';
28
+ import AccordionDefaultSrcRaw from './accordion-default-expanded.story?raw';
29
+ import AccordionFullSrcRaw from './accordion-full.story?raw';
30
+ import AccordionMultipleExpandedSrcRaw from './accordion-multiple-expanded.story?raw';
31
+ import AccordionRightContentSrcRaw from './accordion-right-content.story?raw';
32
+ import AccordionSingleExpandedSrcRaw from './accordion-single-expanded.story?raw';
33
+ export const AccordionCleanItemsSrc = AccordionCleanItemsSrcRaw.replace(/^\/\*[\s\S]*?\*\/\s*/, '');
34
+ export const AccordionDefaultSrc = AccordionDefaultSrcRaw.replace(/^\/\*[\s\S]*?\*\/\s*/, '');
35
+ export const AccordionFullSrc = AccordionFullSrcRaw.replace(/^\/\*[\s\S]*?\*\/\s*/, '');
36
+ export const AccordionMultipleExpandedSrc = AccordionMultipleExpandedSrcRaw.replace(/^\/\*[\s\S]*?\*\/\s*/, '');
37
+ export const AccordionRightContentSrc = AccordionRightContentSrcRaw.replace(/^\/\*[\s\S]*?\*\/\s*/, '');
38
+ export const AccordionSingleExpandedSrc = AccordionSingleExpandedSrcRaw.replace(/^\/\*[\s\S]*?\*\/\s*/, '');
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/accordion/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEvF,OAAO,yBAAyB,MAAM,4CAA4C,CAAC;AACnF,OAAO,sBAAsB,MAAM,wCAAwC,CAAC;AAC5E,OAAO,mBAAmB,MAAM,4BAA4B,CAAC;AAC7D,OAAO,+BAA+B,MAAM,yCAAyC,CAAC;AACtF,OAAO,2BAA2B,MAAM,qCAAqC,CAAC;AAC9E,OAAO,6BAA6B,MAAM,uCAAuC,CAAC;AAElF,MAAM,CAAC,MAAM,sBAAsB,GAAG,yBAAyB,CAAC,OAAO,CACrE,sBAAsB,EACtB,EAAE,CACH,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,sBAAsB,CAAC,OAAO,CAC/D,sBAAsB,EACtB,EAAE,CACH,CAAC;AACF,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,OAAO,CACzD,sBAAsB,EACtB,EAAE,CACH,CAAC;AACF,MAAM,CAAC,MAAM,4BAA4B,GACvC,+BAA+B,CAAC,OAAO,CAAC,sBAAsB,EAAE,EAAE,CAAC,CAAC;AACtE,MAAM,CAAC,MAAM,wBAAwB,GAAG,2BAA2B,CAAC,OAAO,CACzE,sBAAsB,EACtB,EAAE,CACH,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,6BAA6B,CAAC,OAAO,CAC7E,sBAAsB,EACtB,EAAE,CACH,CAAC"}
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  import React, { useEffect } from 'react';
23
23
  import { classNames } from '../_common/defaultImports';
24
24
  import { Typography } from '../typography';
25
- export const Wizard = React.forwardRef(function Wizard({ as, className, style, size = 'large', steps, activeStepIndex, orientation, htmlAttributes, }, ref) {
25
+ export const Wizard = React.forwardRef(function Wizard({ as, className, style, size = 'large', steps, activeStepIndex, orientation, htmlAttributes, alignment = orientation === 'vertical' ? 'top' : 'middle', }, ref) {
26
26
  useEffect(() => {
27
27
  if (activeStepIndex > steps.length - 1 || activeStepIndex < 0) {
28
28
  console.warn(`[🪡 Needle]: The activeStepIndex in Wizard is out of bounds. The activeStepIndex is ${activeStepIndex} and the number of steps is ${steps.length}.`);
@@ -30,9 +30,9 @@ export const Wizard = React.forwardRef(function Wizard({ as, className, style, s
30
30
  }, [activeStepIndex, steps.length]);
31
31
  switch (size) {
32
32
  case 'small':
33
- return (_jsx(WizardSmall, { as: as, orientation: orientation, style: style, className: className, steps: steps, activeStepIndex: activeStepIndex, ref: ref, htmlAttributes: htmlAttributes }));
33
+ return (_jsx(WizardSmall, { as: as, orientation: orientation, style: style, className: className, steps: steps, activeStepIndex: activeStepIndex, ref: ref, htmlAttributes: htmlAttributes, alignment: alignment }));
34
34
  case 'large':
35
- return (_jsx(WizardLarge, { as: as, orientation: orientation, style: style, className: className, steps: steps, activeStepIndex: activeStepIndex, ref: ref, htmlAttributes: htmlAttributes }));
35
+ return (_jsx(WizardLarge, { as: as, orientation: orientation, style: style, className: className, steps: steps, activeStepIndex: activeStepIndex, ref: ref, htmlAttributes: htmlAttributes, alignment: alignment }));
36
36
  }
37
37
  });
38
38
  const getStatus = (activeStepIndex, stepIndex) => stepIndex === activeStepIndex
@@ -40,11 +40,12 @@ const getStatus = (activeStepIndex, stepIndex) => stepIndex === activeStepIndex
40
40
  : activeStepIndex < stepIndex
41
41
  ? 'incomplete'
42
42
  : 'complete';
43
- const WizardLarge = React.forwardRef(function WizardLarge({ orientation = 'horizontal', activeStepIndex, steps, as, style, className, htmlAttributes, }, ref) {
43
+ const WizardLarge = React.forwardRef(function WizardLarge({ orientation = 'horizontal', activeStepIndex, steps, as, style, className, htmlAttributes, alignment, }, ref) {
44
44
  const Component = as || 'div';
45
45
  const wizardClasses = classNames('ndl-wizard', 'ndl-wizard-large', {
46
46
  'ndl-horizontal': orientation === 'horizontal',
47
47
  'ndl-vertical': orientation === 'vertical',
48
+ [`ndl-wizard-align-${alignment}`]: alignment,
48
49
  }, className);
49
50
  const componentStyle = {
50
51
  gridTemplateColumns: orientation === 'horizontal'
@@ -62,6 +63,7 @@ const WizardLarge = React.forwardRef(function WizardLarge({ orientation = 'horiz
62
63
  'ndl-wizard-step-complete': status === 'complete',
63
64
  'ndl-wizard-step-active': status === 'active',
64
65
  'ndl-wizard-step-error': step.status === 'error',
66
+ [`ndl-wizard-align-${alignment}`]: alignment,
65
67
  });
66
68
  };
67
69
  return (_jsxs(Component, Object.assign({ className: wizardClasses, style: Object.assign(Object.assign({}, style), componentStyle), ref: ref }, htmlAttributes, { children: [steps.map((step, index) => {
@@ -69,6 +71,7 @@ const WizardLarge = React.forwardRef(function WizardLarge({ orientation = 'horiz
69
71
  const wizardStepClasses = classNames('ndl-wizard-step-text', {
70
72
  'ndl-vertical': orientation === 'vertical',
71
73
  'ndl-horizontal': orientation === 'horizontal',
74
+ [`ndl-wizard-align-${alignment}`]: alignment,
72
75
  'ndl-wizard-step-incomplete': getStatus(activeStepIndex, index) === 'incomplete',
73
76
  });
74
77
  return (_jsx("div", { className: wizardStepClasses, children: _jsx(Typography, { variant: "body-large", children: step.content }) }, index));
@@ -81,31 +84,36 @@ const WizardLarge = React.forwardRef(function WizardLarge({ orientation = 'horiz
81
84
  gridRow: orientation === 'vertical' ? index + 1 : '',
82
85
  }, children: _jsx(Circle, { status: step.status === 'error'
83
86
  ? 'error'
84
- : getStatus(activeStepIndex, index), number: index + 1, text: step.content }) }, index));
87
+ : getStatus(activeStepIndex, index), number: index + 1, text: step.content, alignment: alignment }) }, index));
85
88
  })] })));
86
89
  });
87
- export const WizardSmall = React.forwardRef(function WizardSmall({ orientation = 'horizontal', activeStepIndex, steps, as, className, htmlAttributes, }, ref) {
90
+ export const WizardSmall = React.forwardRef(function WizardSmall({ orientation = 'horizontal', activeStepIndex, steps, as, className, htmlAttributes, alignment = 'middle', }, ref) {
88
91
  const Component = as || 'div';
89
92
  const wizardClasses = classNames('ndl-wizard', 'ndl-wizard-small', {
90
93
  'ndl-horizontal': orientation === 'horizontal',
91
94
  'ndl-vertical': orientation === 'vertical',
95
+ [`ndl-wizard-align-${alignment}`]: alignment,
92
96
  }, className);
93
97
  const stepClasses = (index) => classNames('ndl-wizard-step', {
94
98
  'ndl-horizontal': orientation === 'horizontal',
95
99
  'ndl-vertical': orientation === 'vertical',
96
100
  'ndl-wizard-step-active': getStatus(activeStepIndex, index) === 'active',
97
101
  'ndl-wizard-step-complete': getStatus(activeStepIndex, index) === 'complete',
102
+ [`ndl-wizard-align-${alignment}`]: alignment,
98
103
  });
99
104
  return (_jsxs(Component, Object.assign({ className: wizardClasses, ref: ref }, htmlAttributes, { children: [_jsx("div", { className: "ndl-wizard-steps-line" }), steps.map((step, index) => {
100
105
  return (_jsx("div", { className: stepClasses(index), children: _jsx("div", { className: "ndl-wizard-circle" }) }, index));
101
106
  }), _jsx("div", { className: "ndl-wizard-steps-line" })] })));
102
107
  });
103
- const Circle = ({ status, number, }) => {
108
+ const Circle = ({ status, number, alignment = 'middle', }) => {
104
109
  const innerCircleClasses = classNames({
105
110
  'n-fill-palette-primary-bg-strong': status === 'complete' || status === 'active',
106
111
  'n-fill-palette-neutral-bg-stronger': status === 'incomplete',
107
112
  'n-fill-palette-danger-bg-strong': status === 'error',
108
113
  });
109
- return (_jsx("div", { className: "ndl-wizard-circle", children: _jsxs("svg", { children: [status === 'active' && (_jsx("g", { children: _jsx("circle", { className: "n-stroke-palette-primary-bg-strong", style: { fill: 'transparent', strokeWidth: 2 }, cx: "16", cy: "16", r: "14" }) })), _jsx("circle", { className: innerCircleClasses, cx: "16", cy: "16", r: "12" }), _jsx("text", { x: "50%", y: "50%", fontSize: 14, className: "n-fill-palette-neutral-bg-weak", textAnchor: "middle", dominantBaseline: "middle", dy: "0.1em", children: status === 'error' ? '!' : number })] }) }));
114
+ const outerCircleClasses = classNames('ndl-wizard-circle', {
115
+ [`ndl-wizard-align-${alignment}`]: alignment,
116
+ });
117
+ return (_jsx("div", { className: outerCircleClasses, children: _jsxs("svg", { children: [status === 'active' && (_jsx("g", { children: _jsx("circle", { className: "n-stroke-palette-primary-bg-strong", style: { fill: 'transparent', strokeWidth: 2 }, cx: "16", cy: "16", r: "14" }) })), _jsx("circle", { className: innerCircleClasses, cx: "16", cy: "16", r: "12" }), _jsx("text", { x: "50%", y: "50%", fontSize: 14, className: "n-fill-palette-neutral-bg-weak", textAnchor: "middle", dominantBaseline: "middle", dy: "0.1em", children: status === 'error' ? '!' : number })] }) }));
110
118
  };
111
119
  //# sourceMappingURL=Wizard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Wizard.js","sourceRoot":"","sources":["../../../src/wizard/Wizard.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAqB3C,MAAM,CAAC,MAAM,MAAM,GACjB,KAAK,CAAC,UAAU,CAAC,SAAS,MAAM,CAC9B,EACE,EAAE,EACF,SAAS,EACT,KAAK,EACL,IAAI,G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K,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,GAC7B,IACH,GACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -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;