@neo4j-ndl/react 3.3.13 → 3.3.15
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/accordion/stories/accordion-clean-items-expanded.story.js +34 -0
- package/lib/cjs/accordion/stories/accordion-clean-items-expanded.story.js.map +1 -0
- package/lib/cjs/accordion/stories/accordion-default-expanded.story.js +34 -0
- package/lib/cjs/accordion/stories/accordion-default-expanded.story.js.map +1 -0
- package/lib/cjs/accordion/stories/accordion-full.story.js +37 -0
- package/lib/cjs/accordion/stories/accordion-full.story.js.map +1 -0
- package/lib/cjs/accordion/stories/accordion-multiple-expanded.story.js +37 -0
- package/lib/cjs/accordion/stories/accordion-multiple-expanded.story.js.map +1 -0
- package/lib/cjs/accordion/stories/accordion-right-content.story.js +34 -0
- package/lib/cjs/accordion/stories/accordion-right-content.story.js.map +1 -0
- package/lib/cjs/accordion/stories/accordion-single-expanded.story.js +34 -0
- package/lib/cjs/accordion/stories/accordion-single-expanded.story.js.map +1 -0
- package/lib/cjs/accordion/stories/accordion.stories.js +144 -0
- package/lib/cjs/accordion/stories/accordion.stories.js.map +1 -0
- package/lib/cjs/accordion/stories/index.js +51 -0
- package/lib/cjs/accordion/stories/index.js.map +1 -0
- package/lib/cjs/icons/generated/custom/CloudSaved.js +27 -0
- package/lib/cjs/icons/generated/custom/CloudSaved.js.map +1 -0
- package/lib/cjs/icons/generated/custom/CloudUnsaved.js +27 -0
- package/lib/cjs/icons/generated/custom/CloudUnsaved.js.map +1 -0
- package/lib/cjs/icons/generated/custom/index.js +8 -4
- package/lib/cjs/icons/generated/custom/index.js.map +1 -1
- package/lib/esm/accordion/stories/accordion-clean-items-expanded.story.js +32 -0
- package/lib/esm/accordion/stories/accordion-clean-items-expanded.story.js.map +1 -0
- package/lib/esm/accordion/stories/accordion-default-expanded.story.js +32 -0
- package/lib/esm/accordion/stories/accordion-default-expanded.story.js.map +1 -0
- package/lib/esm/accordion/stories/accordion-full.story.js +35 -0
- package/lib/esm/accordion/stories/accordion-full.story.js.map +1 -0
- package/lib/esm/accordion/stories/accordion-multiple-expanded.story.js +35 -0
- package/lib/esm/accordion/stories/accordion-multiple-expanded.story.js.map +1 -0
- package/lib/esm/accordion/stories/accordion-right-content.story.js +32 -0
- package/lib/esm/accordion/stories/accordion-right-content.story.js.map +1 -0
- package/lib/esm/accordion/stories/accordion-single-expanded.story.js +32 -0
- package/lib/esm/accordion/stories/accordion-single-expanded.story.js.map +1 -0
- package/lib/esm/accordion/stories/accordion.stories.js +141 -0
- package/lib/esm/accordion/stories/accordion.stories.js.map +1 -0
- package/lib/esm/accordion/stories/index.js +39 -0
- package/lib/esm/accordion/stories/index.js.map +1 -0
- package/lib/esm/icons/generated/custom/CloudSaved.js +25 -0
- package/lib/esm/icons/generated/custom/CloudSaved.js.map +1 -0
- package/lib/esm/icons/generated/custom/CloudUnsaved.js +25 -0
- package/lib/esm/icons/generated/custom/CloudUnsaved.js.map +1 -0
- package/lib/esm/icons/generated/custom/index.js +3 -1
- package/lib/esm/icons/generated/custom/index.js.map +1 -1
- package/lib/types/accordion/stories/accordion-clean-items-expanded.story.d.ts +23 -0
- package/lib/types/accordion/stories/accordion-default-expanded.story.d.ts +23 -0
- package/lib/types/accordion/stories/accordion-full.story.d.ts +23 -0
- package/lib/types/accordion/stories/accordion-multiple-expanded.story.d.ts +23 -0
- package/lib/types/accordion/stories/accordion-right-content.story.d.ts +23 -0
- package/lib/types/accordion/stories/accordion-single-expanded.story.d.ts +23 -0
- package/lib/types/accordion/stories/accordion.stories.d.ts +68 -0
- package/lib/types/accordion/stories/index.d.ts +32 -0
- package/lib/types/icons/generated/custom/CloudSaved.d.ts +23 -0
- package/lib/types/icons/generated/custom/CloudUnsaved.d.ts +23 -0
- package/lib/types/icons/generated/custom/index.d.ts +3 -1
- package/package.json +3 -2
|
@@ -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,68 @@
|
|
|
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 StoryObj } from '@storybook/react';
|
|
22
|
+
declare const componentMeta: {
|
|
23
|
+
title: string;
|
|
24
|
+
component: (<T extends import("../Accordion").AccordionItemId, U extends React.ElementType = "div">(props: import("../../_common/types").PolymorphicPropsWithoutRef<U, import("../Accordion").AccordionProps<T>> & import("react").RefAttributes<unknown>) => import("react").ReactElement | null) & {
|
|
25
|
+
Item: {
|
|
26
|
+
<T extends import("../Accordion").AccordionItemId, U extends React.ElementType = "div">({ className, ...restProps }: import("../../_common/types").PolymorphicPropsWithoutRef<U, {
|
|
27
|
+
title: string;
|
|
28
|
+
className?: string | undefined;
|
|
29
|
+
children?: React.ReactNode;
|
|
30
|
+
htmlAttributes?: import("../../_common/types").HtmlAttributes<"div"> | undefined;
|
|
31
|
+
itemId: T;
|
|
32
|
+
arrowPosition?: import("../Accordion").AccordionArrowPosition | undefined;
|
|
33
|
+
isDisabled?: boolean | undefined;
|
|
34
|
+
onExpandedChange?: ((expanded: boolean) => void) | undefined;
|
|
35
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
38
|
+
CleanItem: {
|
|
39
|
+
<T extends import("../Accordion").AccordionItemId, U extends React.ElementType = "div">({ className, ...restProps }: import("../../_common/types").PolymorphicPropsWithoutRef<U, {
|
|
40
|
+
title: string;
|
|
41
|
+
className?: string | undefined;
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
htmlAttributes?: import("../../_common/types").HtmlAttributes<"div"> | undefined;
|
|
44
|
+
itemId: T;
|
|
45
|
+
arrowPosition?: import("../Accordion").AccordionArrowPosition | undefined;
|
|
46
|
+
isDisabled?: boolean | undefined;
|
|
47
|
+
onExpandedChange?: ((expanded: boolean) => void) | undefined;
|
|
48
|
+
titleTypographyVariant?: import("../../index").TypographyVariants | undefined;
|
|
49
|
+
rightContent?: React.ReactNode;
|
|
50
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
displayName: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
tags: string[];
|
|
55
|
+
parameters: {
|
|
56
|
+
controls: {
|
|
57
|
+
disable: boolean;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export default componentMeta;
|
|
62
|
+
type Story = StoryObj<typeof componentMeta>;
|
|
63
|
+
export declare const CleanItems: Story;
|
|
64
|
+
export declare const Default: Story;
|
|
65
|
+
export declare const Full: Story;
|
|
66
|
+
export declare const MultipleExpanded: Story;
|
|
67
|
+
export declare const RightContent: Story;
|
|
68
|
+
export declare const SingleExpanded: Story;
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
export declare const AccordionCleanItemsSrc: string;
|
|
28
|
+
export declare const AccordionDefaultSrc: string;
|
|
29
|
+
export declare const AccordionFullSrc: string;
|
|
30
|
+
export declare const AccordionMultipleExpandedSrc: string;
|
|
31
|
+
export declare const AccordionRightContentSrc: string;
|
|
32
|
+
export declare const AccordionSingleExpandedSrc: 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 { type SVGProps } from 'react';
|
|
22
|
+
declare const SvgCloudSaved: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default SvgCloudSaved;
|
|
@@ -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 { type SVGProps } from 'react';
|
|
22
|
+
declare const SvgCloudUnsaved: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default SvgCloudUnsaved;
|
|
@@ -25,6 +25,8 @@ export { default as AlignTopIcon } from './AlignTop';
|
|
|
25
25
|
export { default as BoldIcon } from './Bold';
|
|
26
26
|
export { default as BoxSelectIcon } from './BoxSelect';
|
|
27
27
|
export { default as CircleIcon } from './Circle';
|
|
28
|
+
export { default as CloudSavedIcon } from './CloudSaved';
|
|
29
|
+
export { default as CloudUnsavedIcon } from './CloudUnsaved';
|
|
28
30
|
export { default as CollapseExpandLeftIcon } from './CollapseExpandLeft';
|
|
29
31
|
export { default as CollapseExpandRightIcon } from './CollapseExpandRight';
|
|
30
32
|
export { default as CollapseExpandIcon } from './CollapseExpand';
|
|
@@ -33,6 +35,7 @@ export { default as CurlyBracketsIcon } from './CurlyBrackets';
|
|
|
33
35
|
export { default as DatabaseAddCircleIcon } from './DatabaseAddCircle';
|
|
34
36
|
export { default as DatabaseCrossedIcon } from './DatabaseCrossed';
|
|
35
37
|
export { default as DatabaseSignalIcon } from './DatabaseSignal';
|
|
38
|
+
export { default as DatagridNodataIcon } from './DatagridNodata';
|
|
36
39
|
export { default as DbmsIcon } from './Dbms';
|
|
37
40
|
export { default as DragIcon } from './Drag';
|
|
38
41
|
export { default as ExpandIcon } from './Expand';
|
|
@@ -74,4 +77,3 @@ export { default as TextIcon } from './Text';
|
|
|
74
77
|
export { default as TriangleIcon } from './Triangle';
|
|
75
78
|
export { default as UnderlineIcon } from './Underline';
|
|
76
79
|
export { default as VisualizeBloomIcon } from './VisualizeBloom';
|
|
77
|
-
export { default as DatagridNodataIcon } from './DatagridNodata';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.15",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"@axe-core/playwright": "4.9.0",
|
|
44
44
|
"@playwright/experimental-ct-react": "1.45.0",
|
|
45
45
|
"@playwright/test": "1.45.0",
|
|
46
|
+
"@storybook/react": "8.5.7",
|
|
46
47
|
"@svgr/cli": "6.5.1",
|
|
47
48
|
"@types/react": "18.2.18",
|
|
48
49
|
"@types/react-datepicker": "6.2.0",
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
"@tanstack/react-table": "8.20.5",
|
|
65
66
|
"react": ">=16.8.0",
|
|
66
67
|
"react-dom": ">=16.8.0",
|
|
67
|
-
"@neo4j-ndl/base": "^3.3.
|
|
68
|
+
"@neo4j-ndl/base": "^3.3.7"
|
|
68
69
|
},
|
|
69
70
|
"dependencies": {
|
|
70
71
|
"@dnd-kit/core": "6.1.0",
|