@neo4j-ndl/react 4.25.7 → 4.25.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.
@@ -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 declare const responseFixtures: {
22
+ readonly basicFormatting: "# Heading 1\n\n## Heading 2\n\nA paragraph with **bold**, *italic* and `inline code`.\n\n> A blockquote\n\n---\n\n- Item 1\n- Item 2\n\n1. First\n2. Second";
23
+ readonly links: "- [Absolute link](https://neo4j.com/docs/)\n- [Fragment with underscore](https://neo4j.com/docs/aura/#_what_is_aura)\n- [Relative link](/docs/getting-started)\n- [Mail link](mailto:hello@example.com)\n- [Script link](javascript:alert(1))\n- Bare URL https://neo4j.com/product/";
24
+ readonly image: "![Data image](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSIjMDE0MDYzIi8+PC9zdmc+)";
25
+ readonly table: "| Item | In Stock | Price |\n| :--- | :------: | ----: |\n| Hat | True | 23.99 |\n| Tee | False | 19.99 |";
26
+ readonly codeSupported: "```cypher\nMATCH (n:Movie) RETURN n.title LIMIT 10\n```";
27
+ readonly codeUnknownLanguage: "```brainfuck\n++++++++[>++++<-]>.\n```";
28
+ readonly mermaid: "```mermaid\ngraph TD\n A[Start] --> B[End]\n```";
29
+ readonly math: "Inline math $x^2 + y^2 = z^2$ in a sentence.\n\n$$\nE = mc^2\n$$";
30
+ readonly rawHtml: "Before <b>bold html</b> after.\n\n<script>window.hasNdlResponseXss = true;</script>\n\n<img src=\"x\" onerror=\"window.hasNdlResponseXss = true\" alt=\"html image\" />";
31
+ readonly clobbering: "<a id=\"x\" name=\"ndl-host-link\" href=\"https://neo4j.com/\">raw link</a> <img id=\"ndl-host-logo\" name=\"ndl-host-image\" src=\"/raw-image.png\" alt=\"raw image\" />\n\n<h2 id=\"ndl-host-title\">Raw heading</h2>\n\nA footnote reference[^1].\n\n[^1]: The footnote.";
32
+ readonly incompleteLink: "Read more in [the docs](https://neo4j.com/do";
33
+ readonly incompleteImage: "Look at this ![Partial image](https://exa";
34
+ readonly incompleteBold: "This is **unfinished bold";
35
+ };
36
+ export type ResponseFixtureName = keyof typeof responseFixtures;
37
+ //# sourceMappingURL=response-fixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response-fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/ai/response/stories/response-fixtures.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AASH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAqEnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/react",
3
- "version": "4.25.7",
3
+ "version": "4.25.8",
4
4
  "sideEffects": false,
5
5
  "description": "React implementation of Neo4j Design System",
6
6
  "keywords": [
@@ -448,7 +448,7 @@
448
448
  "react-stately": "3.41.0",
449
449
  "react-syntax-highlighter": "16.1.1",
450
450
  "sonner": "2.0.7",
451
- "streamdown": "1.6.11",
451
+ "streamdown": "2.7.0",
452
452
  "temporal-polyfill": "1.0.1",
453
453
  "tinycolor2": "1.6.0",
454
454
  "usehooks-ts": "3.1.1",
@@ -2,7 +2,7 @@
2
2
  name: ndl-react
3
3
  metadata:
4
4
  package: '@neo4j-ndl/react'
5
- version: '4.25.7'
5
+ version: '4.25.8'
6
6
  description: >-
7
7
  Build and edit UI with the Neo4j Needle React design system
8
8
  (@neo4j-ndl/react). Use when adding, composing, or modifying Needle components
@@ -15,7 +15,7 @@ description: >-
15
15
 
16
16
  # Neo4j Needle (@neo4j-ndl/react)
17
17
 
18
- > 📌 Shipped with `@neo4j-ndl/react` v4.25.7. Once installed into your repo (e.g. via
18
+ > 📌 Shipped with `@neo4j-ndl/react` v4.25.8. Once installed into your repo (e.g. via
19
19
  > `npx skills add`) this folder is detached from the package — the installed
20
20
  > package (TypeScript types in `node_modules/@neo4j-ndl/react`) is the source of
21
21
  > truth.