@neo4j-ndl/react 5.1.5 → 5.1.6
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/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +2 -2
- package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -1
- package/package.json +2 -2
- package/skills/ndl-react/SKILL.md +2 -2
- package/skills/ndl-react/components/announcement-banner.md +2 -2
package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js
CHANGED
|
@@ -24,7 +24,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
24
24
|
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
25
|
const react_1 = require("@neo4j-ndl/react");
|
|
26
26
|
const Component = () => {
|
|
27
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col w-full", children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "danger", hasIcon: true, children: (0, jsx_runtime_1.
|
|
27
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col w-full", children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "danger", hasIcon: true, children: (0, jsx_runtime_1.jsxs)(react_1.AnnouncementBanner.Header, { children: ["Warning: your marketplace subscription will be deprecated on September 19, 2026. ", (0, jsx_runtime_1.jsx)(react_1.TextLink, { href: "https://www.neo4j.com", children: "Learn more" })] }) }), (0, jsx_runtime_1.jsx)("div", { className: "p-token-24 bg-neutral-bg-default", children: (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "This banner is part of the initial page render, so `liveRegion` is omitted. Screen reader users hear it when they reach it in the page, not as an interruption." }) })] }));
|
|
28
28
|
};
|
|
29
29
|
exports.default = Component;
|
|
30
30
|
//# sourceMappingURL=announcement-banner-present-at-page-render.story.js.map
|
package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement-banner-present-at-page-render.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-present-at-page-render.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,
|
|
1
|
+
{"version":3,"file":"announcement-banner-present-at-page-render.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-present-at-page-render.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA4E;AAE5E,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,sBAAsB,aACnC,uBAAC,0BAAkB,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,YAChD,wBAAC,0BAAkB,CAAC,MAAM,oGAEd,uBAAC,gBAAQ,IAAC,IAAI,EAAC,uBAAuB,2BAAsB,IAC5C,GACT,EACrB,gCAAK,SAAS,EAAC,kCAAkC,YAC/C,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,gLAIpB,GACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { AnnouncementBanner, TextLink, Typography } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col w-full\">\n <AnnouncementBanner variant=\"danger\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Warning: your marketplace subscription will be deprecated on September\n 19, 2026. <TextLink href=\"https://www.neo4j.com\">Learn more</TextLink>\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <div className=\"p-token-24 bg-neutral-bg-default\">\n <Typography variant=\"body-medium\">\n This banner is part of the initial page render, so `liveRegion` is\n omitted. Screen reader users hear it when they reach it in the page,\n not as an interruption.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js
CHANGED
|
@@ -20,9 +20,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
20
20
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
21
|
*/
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
-
import { AnnouncementBanner, Typography } from '@neo4j-ndl/react';
|
|
23
|
+
import { AnnouncementBanner, TextLink, Typography } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "flex flex-col w-full", children: [_jsx(AnnouncementBanner, { variant: "danger", hasIcon: true, children:
|
|
25
|
+
return (_jsxs("div", { className: "flex flex-col w-full", children: [_jsx(AnnouncementBanner, { variant: "danger", hasIcon: true, children: _jsxs(AnnouncementBanner.Header, { children: ["Warning: your marketplace subscription will be deprecated on September 19, 2026. ", _jsx(TextLink, { href: "https://www.neo4j.com", children: "Learn more" })] }) }), _jsx("div", { className: "p-token-24 bg-neutral-bg-default", children: _jsx(Typography, { variant: "body-medium", children: "This banner is part of the initial page render, so `liveRegion` is omitted. Screen reader users hear it when they reach it in the page, not as an interruption." }) })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=announcement-banner-present-at-page-render.story.js.map
|
package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement-banner-present-at-page-render.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-present-at-page-render.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"announcement-banner-present-at-page-render.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-present-at-page-render.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,kBAAkB,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,YAChD,MAAC,kBAAkB,CAAC,MAAM,oGAEd,KAAC,QAAQ,IAAC,IAAI,EAAC,uBAAuB,2BAAsB,IAC5C,GACT,EACrB,cAAK,SAAS,EAAC,kCAAkC,YAC/C,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,gLAIpB,GACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { AnnouncementBanner, TextLink, Typography } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col w-full\">\n <AnnouncementBanner variant=\"danger\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Warning: your marketplace subscription will be deprecated on September\n 19, 2026. <TextLink href=\"https://www.neo4j.com\">Learn more</TextLink>\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <div className=\"p-token-24 bg-neutral-bg-default\">\n <Typography variant=\"body-medium\">\n This banner is part of the initial page render, so `liveRegion` is\n omitted. Screen reader users hear it when they reach it in the page,\n not as an interruption.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.6",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
"@tanstack/react-table": "8.21.3",
|
|
430
430
|
"react": ">=19.0.0",
|
|
431
431
|
"react-dom": ">=19.0.0",
|
|
432
|
-
"@neo4j-ndl/base": "^5.1.
|
|
432
|
+
"@neo4j-ndl/base": "^5.1.3"
|
|
433
433
|
},
|
|
434
434
|
"dependencies": {
|
|
435
435
|
"@dnd-kit/core": "6.3.1",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: ndl-react
|
|
3
3
|
metadata:
|
|
4
4
|
package: '@neo4j-ndl/react'
|
|
5
|
-
version: '5.1.
|
|
5
|
+
version: '5.1.6'
|
|
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` v5.1.
|
|
18
|
+
> 📌 Shipped with `@neo4j-ndl/react` v5.1.6. 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.
|
|
@@ -263,7 +263,7 @@ export default Component;
|
|
|
263
263
|
```tsx
|
|
264
264
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
265
265
|
|
|
266
|
-
import { AnnouncementBanner, Typography } from '@neo4j-ndl/react';
|
|
266
|
+
import { AnnouncementBanner, TextLink, Typography } from '@neo4j-ndl/react';
|
|
267
267
|
|
|
268
268
|
const Component = () => {
|
|
269
269
|
return (
|
|
@@ -271,7 +271,7 @@ const Component = () => {
|
|
|
271
271
|
<AnnouncementBanner variant="danger" hasIcon={true}>
|
|
272
272
|
<AnnouncementBanner.Header>
|
|
273
273
|
Warning: your marketplace subscription will be deprecated on September
|
|
274
|
-
19, 2026.
|
|
274
|
+
19, 2026. <TextLink href="https://www.neo4j.com">Learn more</TextLink>
|
|
275
275
|
</AnnouncementBanner.Header>
|
|
276
276
|
</AnnouncementBanner>
|
|
277
277
|
<div className="p-token-24 bg-neutral-bg-default">
|