@neo4j-ndl/react-graph 1.1.6 → 1.1.8

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.
@@ -23,12 +23,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  exports.Search = exports.Highlighting = exports.CustomIslands = exports.Maximalist = exports.Barebones = exports.Default = void 0;
24
24
  const _1 = require(".");
25
25
  const componentMeta = {
26
+ id: 'components-next-graph-visualization',
26
27
  parameters: {
27
28
  controls: { disable: true },
28
29
  },
29
30
  tags: ['docsPage'],
30
31
  title: 'Components/Next/GraphVisualization',
31
- id: 'components-next-graph-visualization',
32
32
  };
33
33
  exports.default = componentMeta;
34
34
  exports.Default = {
@@ -1 +1 @@
1
- {"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAIH,wBAaW;AAEX,MAAM,aAAa,GAAG;IACpB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,oCAAoC;IAC3C,EAAE,EAAE,qCAAqC;CAC1C,CAAC;AAEF,kBAAe,aAAa,CAAC;AAGhB,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAAyB;CAClC,CAAC;AAEW,QAAA,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iCAA8B;gBACpC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,8BAA2B;CACpC,CAAC;AAEW,QAAA,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kCAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,+BAA4B;CACrC,CAAC;AAEW,QAAA,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAAwB;CACjC,CAAC;AAEW,QAAA,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,oCAAiC;gBACvC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,iCAA8B;CACvC,CAAC;AAEW,QAAA,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAAwB;CACjC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type StoryObj } from '@storybook/react-vite';\n\nimport {\n GraphVisualizationBarebones,\n GraphVisualizationBarebonesSrc,\n GraphVisualizationCustom,\n GraphVisualizationCustomSrc,\n GraphVisualizationDefault,\n GraphVisualizationDefaultSrc,\n GraphVisualizationHighlighting,\n GraphVisualizationHighlightingSrc,\n GraphVisualizationMaximalist,\n GraphVisualizationMaximalistSrc,\n GraphVisualizationSearch,\n GraphVisualizationSearchSrc,\n} from '.';\n\nconst componentMeta = {\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Next/GraphVisualization',\n id: 'components-next-graph-visualization',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationDefault,\n};\n\nexport const Barebones: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationBarebonesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationBarebones,\n};\n\nexport const Maximalist: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationMaximalistSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationMaximalist,\n};\n\nexport const CustomIslands: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationCustomSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationCustom,\n};\n\nexport const Highlighting: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationHighlightingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationHighlighting,\n};\n\nexport const Search: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationSearchSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationSearch,\n};\n"]}
1
+ {"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAIH,wBAaW;AAEX,MAAM,aAAa,GAAG;IACpB,EAAE,EAAE,qCAAqC;IACzC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,oCAAoC;CAC5C,CAAC;AAEF,kBAAe,aAAa,CAAC;AAGhB,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAAyB;CAClC,CAAC;AAEW,QAAA,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iCAA8B;gBACpC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,8BAA2B;CACpC,CAAC;AAEW,QAAA,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kCAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,+BAA4B;CACrC,CAAC;AAEW,QAAA,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAAwB;CACjC,CAAC;AAEW,QAAA,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,oCAAiC;gBACvC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,iCAA8B;CACvC,CAAC;AAEW,QAAA,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAAwB;CACjC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type StoryObj } from '@storybook/react-vite';\n\nimport {\n GraphVisualizationBarebones,\n GraphVisualizationBarebonesSrc,\n GraphVisualizationCustom,\n GraphVisualizationCustomSrc,\n GraphVisualizationDefault,\n GraphVisualizationDefaultSrc,\n GraphVisualizationHighlighting,\n GraphVisualizationHighlightingSrc,\n GraphVisualizationMaximalist,\n GraphVisualizationMaximalistSrc,\n GraphVisualizationSearch,\n GraphVisualizationSearchSrc,\n} from '.';\n\nconst componentMeta = {\n id: 'components-next-graph-visualization',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Next/GraphVisualization',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationDefault,\n};\n\nexport const Barebones: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationBarebonesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationBarebones,\n};\n\nexport const Maximalist: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationMaximalistSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationMaximalist,\n};\n\nexport const CustomIslands: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationCustomSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationCustom,\n};\n\nexport const Highlighting: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationHighlightingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationHighlighting,\n};\n\nexport const Search: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationSearchSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationSearch,\n};\n"]}
@@ -20,12 +20,12 @@
20
20
  */
21
21
  import { GraphVisualizationBarebones, GraphVisualizationBarebonesSrc, GraphVisualizationCustom, GraphVisualizationCustomSrc, GraphVisualizationDefault, GraphVisualizationDefaultSrc, GraphVisualizationHighlighting, GraphVisualizationHighlightingSrc, GraphVisualizationMaximalist, GraphVisualizationMaximalistSrc, GraphVisualizationSearch, GraphVisualizationSearchSrc, } from '.';
22
22
  const componentMeta = {
23
+ id: 'components-next-graph-visualization',
23
24
  parameters: {
24
25
  controls: { disable: true },
25
26
  },
26
27
  tags: ['docsPage'],
27
28
  title: 'Components/Next/GraphVisualization',
28
- id: 'components-next-graph-visualization',
29
29
  };
30
30
  export default componentMeta;
31
31
  export const Default = {
@@ -1 +1 @@
1
- {"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,iCAAiC,EACjC,4BAA4B,EAC5B,+BAA+B,EAC/B,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,oCAAoC;IAC3C,EAAE,EAAE,qCAAqC;CAC1C,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,4BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,yBAAyB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA8B;gBACpC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAA2B;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAA4B;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,2BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,wBAAwB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iCAAiC;gBACvC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,8BAA8B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,2BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,wBAAwB;CACjC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type StoryObj } from '@storybook/react-vite';\n\nimport {\n GraphVisualizationBarebones,\n GraphVisualizationBarebonesSrc,\n GraphVisualizationCustom,\n GraphVisualizationCustomSrc,\n GraphVisualizationDefault,\n GraphVisualizationDefaultSrc,\n GraphVisualizationHighlighting,\n GraphVisualizationHighlightingSrc,\n GraphVisualizationMaximalist,\n GraphVisualizationMaximalistSrc,\n GraphVisualizationSearch,\n GraphVisualizationSearchSrc,\n} from '.';\n\nconst componentMeta = {\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Next/GraphVisualization',\n id: 'components-next-graph-visualization',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationDefault,\n};\n\nexport const Barebones: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationBarebonesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationBarebones,\n};\n\nexport const Maximalist: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationMaximalistSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationMaximalist,\n};\n\nexport const CustomIslands: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationCustomSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationCustom,\n};\n\nexport const Highlighting: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationHighlightingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationHighlighting,\n};\n\nexport const Search: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationSearchSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationSearch,\n};\n"]}
1
+ {"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,iCAAiC,EACjC,4BAA4B,EAC5B,+BAA+B,EAC/B,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,EAAE,EAAE,qCAAqC;IACzC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,oCAAoC;CAC5C,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,4BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,yBAAyB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA8B;gBACpC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAA2B;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAA4B;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,2BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,wBAAwB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iCAAiC;gBACvC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,8BAA8B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,2BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,wBAAwB;CACjC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type StoryObj } from '@storybook/react-vite';\n\nimport {\n GraphVisualizationBarebones,\n GraphVisualizationBarebonesSrc,\n GraphVisualizationCustom,\n GraphVisualizationCustomSrc,\n GraphVisualizationDefault,\n GraphVisualizationDefaultSrc,\n GraphVisualizationHighlighting,\n GraphVisualizationHighlightingSrc,\n GraphVisualizationMaximalist,\n GraphVisualizationMaximalistSrc,\n GraphVisualizationSearch,\n GraphVisualizationSearchSrc,\n} from '.';\n\nconst componentMeta = {\n id: 'components-next-graph-visualization',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Next/GraphVisualization',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationDefault,\n};\n\nexport const Barebones: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationBarebonesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationBarebones,\n};\n\nexport const Maximalist: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationMaximalistSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationMaximalist,\n};\n\nexport const CustomIslands: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationCustomSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationCustom,\n};\n\nexport const Highlighting: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationHighlightingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationHighlighting,\n};\n\nexport const Search: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationSearchSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationSearch,\n};\n"]}
@@ -20,6 +20,7 @@
20
20
  */
21
21
  import { type StoryObj } from '@storybook/react-vite';
22
22
  declare const componentMeta: {
23
+ id: string;
23
24
  parameters: {
24
25
  controls: {
25
26
  disable: boolean;
@@ -27,7 +28,6 @@ declare const componentMeta: {
27
28
  };
28
29
  tags: string[];
29
30
  title: string;
30
- id: string;
31
31
  };
32
32
  export default componentMeta;
33
33
  type Story = StoryObj<typeof componentMeta>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/react-graph",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "sideEffects": false,
5
5
  "description": "React implementation of the graph visualization from Neo4j Design System",
6
6
  "keywords": [
@@ -55,8 +55,8 @@
55
55
  "@neo4j-nvl/base": "^1.0.0",
56
56
  "@neo4j-nvl/interaction-handlers": "^1.0.0",
57
57
  "@neo4j-nvl/react": "^1.0.0",
58
- "@neo4j-ndl/react": "^4.4.0",
59
- "@neo4j-ndl/base": "^4.4.0"
58
+ "@neo4j-ndl/base": "^4.4.0",
59
+ "@neo4j-ndl/react": "^4.4.2"
60
60
  },
61
61
  "dependencies": {
62
62
  "classnames": "2.5.1",