@neo4j-ndl/react 4.23.4 → 4.24.0
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/AnnouncementBanner.js +198 -0
- package/lib/cjs/announcement-banner/AnnouncementBanner.js.map +1 -0
- package/lib/cjs/announcement-banner/index.js +38 -0
- package/lib/cjs/announcement-banner/index.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-closeable.story.js +30 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-closeable.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-custom-icons.story.js +31 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-custom-icons.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-default.story.js +30 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-default.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js +32 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-urgent.story.js +32 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-urgent.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +30 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-variants.story.js +30 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-variants.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-actions.story.js +30 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-actions.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-page-content.story.js +32 -0
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-page-content.story.js.map +1 -0
- package/lib/cjs/announcement-banner/stories/index.js +64 -0
- package/lib/cjs/announcement-banner/stories/index.js.map +1 -0
- package/lib/cjs/index.js +4 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/text-input/TextInput.js +4 -3
- package/lib/cjs/text-input/TextInput.js.map +1 -1
- package/lib/esm/announcement-banner/AnnouncementBanner.js +159 -0
- package/lib/esm/announcement-banner/AnnouncementBanner.js.map +1 -0
- package/lib/esm/announcement-banner/index.js +22 -0
- package/lib/esm/announcement-banner/index.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-closeable.story.js +28 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-closeable.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-custom-icons.story.js +29 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-custom-icons.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-default.story.js +28 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-default.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js +30 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-urgent.story.js +30 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-urgent.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +28 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-variants.story.js +28 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-variants.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-with-actions.story.js +28 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-with-actions.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js +30 -0
- package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js.map +1 -0
- package/lib/esm/announcement-banner/stories/index.js +49 -0
- package/lib/esm/announcement-banner/stories/index.js.map +1 -0
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/text-input/TextInput.js +4 -3
- package/lib/esm/text-input/TextInput.js.map +1 -1
- package/lib/types/announcement-banner/AnnouncementBanner.d.ts +75 -0
- package/lib/types/announcement-banner/AnnouncementBanner.d.ts.map +1 -0
- package/lib/types/announcement-banner/index.d.ts +22 -0
- package/lib/types/announcement-banner/index.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-closeable.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-closeable.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-custom-icons.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-custom-icons.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-default.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-default.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-injected-non-urgent.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-injected-non-urgent.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-injected-urgent.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-injected-urgent.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-present-at-page-render.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-present-at-page-render.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-variants.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-variants.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-with-actions.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-with-actions.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/announcement-banner-with-page-content.story.d.ts +24 -0
- package/lib/types/announcement-banner/stories/announcement-banner-with-page-content.story.d.ts.map +1 -0
- package/lib/types/announcement-banner/stories/index.d.ts +39 -0
- package/lib/types/announcement-banner/stories/index.d.ts.map +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/text-input/TextInput.d.ts.map +1 -1
- package/package.json +7 -2
- package/skills/ndl-react/SKILL.md +3 -2
- package/skills/ndl-react/components/announcement-banner.md +468 -0
|
@@ -0,0 +1,75 @@
|
|
|
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 React from 'react';
|
|
23
|
+
import { type CommonProps, type PolymorphicCommonProps } from '../_common/types';
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*
|
|
27
|
+
* Types
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
type AnnouncementBannerVariant = 'info' | 'warning' | 'danger' | 'discovery' | 'neutral';
|
|
32
|
+
type AnnouncementBannerLiveRegion = 'status' | 'alert';
|
|
33
|
+
type AnnouncementBannerCommonProps = {
|
|
34
|
+
/** Shows a status icon. The icon is based on the value of the `variant` prop */
|
|
35
|
+
hasIcon?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Decorative icon shown when `hasIcon` is true. Only used for `discovery`
|
|
38
|
+
* and `neutral`; those variants fall back to Sparkles and Bolt. `info`,
|
|
39
|
+
* `warning`, and `danger` always use their status icons.
|
|
40
|
+
*/
|
|
41
|
+
icon?: React.ReactNode;
|
|
42
|
+
/** Content to be shown in the announcement banner. */
|
|
43
|
+
children?: React.ReactNode;
|
|
44
|
+
/**
|
|
45
|
+
* Announces the header when the banner appears or its header changes.
|
|
46
|
+
* `status` announces politely, while `alert` interrupts the user. Leave this
|
|
47
|
+
* unset for banners that are present during the page's initial render.
|
|
48
|
+
* This is independent of the visual `variant`.
|
|
49
|
+
*/
|
|
50
|
+
liveRegion?: AnnouncementBannerLiveRegion;
|
|
51
|
+
/** The variant of the announcement banner */
|
|
52
|
+
variant?: AnnouncementBannerVariant;
|
|
53
|
+
};
|
|
54
|
+
type CloseableAnnouncementBannerProps = {
|
|
55
|
+
/** If the banner is closeable. Renders an icon button on the right */
|
|
56
|
+
isCloseable: true;
|
|
57
|
+
/** Event handler for when the close icon is clicked */
|
|
58
|
+
onClose: (error?: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
59
|
+
};
|
|
60
|
+
type NonCloseableAnnouncementBannerProps = {
|
|
61
|
+
isCloseable?: false;
|
|
62
|
+
onClose?: never;
|
|
63
|
+
};
|
|
64
|
+
type AnnouncementBannerCloseProps = CloseableAnnouncementBannerProps | NonCloseableAnnouncementBannerProps;
|
|
65
|
+
type AnnouncementBannerProps = AnnouncementBannerCommonProps & AnnouncementBannerCloseProps;
|
|
66
|
+
declare const AnnouncementBanner: (<TElement extends React.ElementType = "section">({ as, variant, hasIcon, icon, onClose, className, children, isCloseable, htmlAttributes, liveRegion, ref, ...restProps }: PolymorphicCommonProps<TElement, AnnouncementBannerProps>) => import("react/jsx-runtime").JSX.Element) & {
|
|
67
|
+
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: CommonProps<"div", {
|
|
68
|
+
children: React.ReactNode;
|
|
69
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
Header: ({ children, className, style, htmlAttributes, ref, ...restProps }: CommonProps<"span", {
|
|
71
|
+
children: React.ReactNode;
|
|
72
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
};
|
|
74
|
+
export { AnnouncementBanner };
|
|
75
|
+
//# sourceMappingURL=AnnouncementBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnnouncementBanner.d.ts","sourceRoot":"","sources":["../../../src/announcement-banner/AnnouncementBanner.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAU1B;;;;;;GAMG;AAEH,KAAK,yBAAyB,GAC1B,MAAM,GACN,SAAS,GACT,QAAQ,GACR,WAAW,GACX,SAAS,CAAC;AAEd,KAAK,4BAA4B,GAAG,QAAQ,GAAG,OAAO,CAAC;AAOvD,KAAK,6BAA6B,GAAG;IACnC,gFAAgF;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEvB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,4BAA4B,CAAC;IAE1C,6CAA6C;IAC7C,OAAO,CAAC,EAAE,yBAAyB,CAAC;CACrC,CAAC;AAEF,KAAK,gCAAgC,GAAG;IACtC,sEAAsE;IACtE,WAAW,EAAE,IAAI,CAAC;IAElB,uDAAuD;IACvD,OAAO,EAAE,CACP,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KACrE,IAAI,CAAC;CACX,CAAC;AAEF,KAAK,mCAAmC,GAAG;IACzC,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEF,KAAK,4BAA4B,GAC7B,gCAAgC,GAChC,mCAAmC,CAAC;AAExC,KAAK,uBAAuB,GAAG,6BAA6B,GAC1D,4BAA4B,CAAC;AAwO/B,QAAA,MAAM,kBAAkB,IAxHtB,QAAQ,SAAS,KAAK,CAAC,WAAW,wIAcjC,sBAAsB,CAAC,QAAQ,EAAE,uBAAuB,CAAC;iFAtCzD,WAAW,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,CAAC;gFA7BjD,WAAW,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,CAAC;CAgLnD,CAAC;AAEH,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 * from './AnnouncementBanner';
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/announcement-banner/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-closeable.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-closeable.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-closeable.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAWd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-custom-icons.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-custom-icons.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-custom-icons.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAKjD,QAAA,MAAM,SAAS,+CAiCd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-default.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-default.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-default.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAQd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/lib/types/announcement-banner/stories/announcement-banner-injected-non-urgent.story.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-injected-non-urgent.story.d.ts.map
|
package/lib/types/announcement-banner/stories/announcement-banner-injected-non-urgent.story.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-injected-non-urgent.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-injected-non-urgent.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AASjD,QAAA,MAAM,SAAS,+CA8Bd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-injected-urgent.story.d.ts.map
|
package/lib/types/announcement-banner/stories/announcement-banner-injected-urgent.story.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-injected-urgent.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-injected-urgent.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AASjD,QAAA,MAAM,SAAS,+CAyBd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/lib/types/announcement-banner/stories/announcement-banner-present-at-page-render.story.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-present-at-page-render.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-present-at-page-render.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-present-at-page-render.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAkBd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-variants.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-variants.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-variants.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CA4Bd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-with-actions.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-with-actions.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-with-actions.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAQjD,QAAA,MAAM,SAAS,+CAYd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/lib/types/announcement-banner/stories/announcement-banner-with-page-content.story.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
24
|
+
//# sourceMappingURL=announcement-banner-with-page-content.story.d.ts.map
|
package/lib/types/announcement-banner/stories/announcement-banner-with-page-content.story.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"announcement-banner-with-page-content.story.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-with-page-content.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAUjD,QAAA,MAAM,SAAS,+CA6Fd,CAAC;AAEF,eAAe,SAAS,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 AnnouncementBannerDefault } from './announcement-banner-default.story';
|
|
22
|
+
export { default as AnnouncementBannerVariants } from './announcement-banner-variants.story';
|
|
23
|
+
export { default as AnnouncementBannerCustomIcons } from './announcement-banner-custom-icons.story';
|
|
24
|
+
export { default as AnnouncementBannerCloseable } from './announcement-banner-closeable.story';
|
|
25
|
+
export { default as AnnouncementBannerWithActions } from './announcement-banner-with-actions.story';
|
|
26
|
+
export { default as AnnouncementBannerWithPageContent } from './announcement-banner-with-page-content.story';
|
|
27
|
+
export { default as AnnouncementBannerPresentAtPageRender } from './announcement-banner-present-at-page-render.story';
|
|
28
|
+
export { default as AnnouncementBannerInjectedNonUrgent } from './announcement-banner-injected-non-urgent.story';
|
|
29
|
+
export { default as AnnouncementBannerInjectedUrgent } from './announcement-banner-injected-urgent.story';
|
|
30
|
+
export declare const AnnouncementBannerDefaultSrc: string;
|
|
31
|
+
export declare const AnnouncementBannerVariantsSrc: string;
|
|
32
|
+
export declare const AnnouncementBannerCustomIconsSrc: string;
|
|
33
|
+
export declare const AnnouncementBannerCloseableSrc: string;
|
|
34
|
+
export declare const AnnouncementBannerWithActionsSrc: string;
|
|
35
|
+
export declare const AnnouncementBannerWithPageContentSrc: string;
|
|
36
|
+
export declare const AnnouncementBannerPresentAtPageRenderSrc: string;
|
|
37
|
+
export declare const AnnouncementBannerInjectedNonUrgentSrc: string;
|
|
38
|
+
export declare const AnnouncementBannerInjectedUrgentSrc: string;
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAC7F,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AAC7G,OAAO,EAAE,OAAO,IAAI,qCAAqC,EAAE,MAAM,oDAAoD,CAAC;AACtH,OAAO,EAAE,OAAO,IAAI,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACjH,OAAO,EAAE,OAAO,IAAI,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAa1G,eAAO,MAAM,4BAA4B,QAExC,CAAC;AAEF,eAAO,MAAM,6BAA6B,QAEzC,CAAC;AAEF,eAAO,MAAM,gCAAgC,QAE5C,CAAC;AAEF,eAAO,MAAM,8BAA8B,QAE1C,CAAC;AAEF,eAAO,MAAM,gCAAgC,QAE5C,CAAC;AAEF,eAAO,MAAM,oCAAoC,QAEhD,CAAC;AAEF,eAAO,MAAM,wCAAwC,QAEpD,CAAC;AAEF,eAAO,MAAM,sCAAsC,QAElD,CAAC;AAEF,eAAO,MAAM,mCAAmC,QAE/C,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
export { Accordion } from './accordion';
|
|
22
22
|
export { StatusLabel } from './status-label';
|
|
23
23
|
export { Banner } from './banner';
|
|
24
|
+
export { AnnouncementBanner } from './announcement-banner';
|
|
24
25
|
export { Checkbox } from './checkbox';
|
|
25
26
|
export { Switch } from './switch';
|
|
26
27
|
export { Radio } from './radio';
|
package/lib/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAA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BAAwB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;IAEzD,yDAAyD;IACzD,WAAW,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC;IAErE,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC;IAE/D,6DAA6D;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,wEAAwE;IACxE,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAOtC,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAEjC,mEAAmE;IACnE,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAElC,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,uEAAuE;IACvE,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;IAEtD,uCAAuC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;GAMG;AAEH,eAAO,MAAM,SAAS,GAAI,iUA0BvB,WAAW,CAAC,OAAO,EAAE,cAAc,CAAC,4CAyMtC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
"require": "./lib/cjs/ai/index.js",
|
|
33
33
|
"import": "./lib/esm/ai/index.js"
|
|
34
34
|
},
|
|
35
|
+
"./announcement-banner": {
|
|
36
|
+
"types": "./lib/types/announcement-banner/index.d.ts",
|
|
37
|
+
"require": "./lib/cjs/announcement-banner/index.js",
|
|
38
|
+
"import": "./lib/esm/announcement-banner/index.js"
|
|
39
|
+
},
|
|
35
40
|
"./avatar": {
|
|
36
41
|
"types": "./lib/types/avatar/index.d.ts",
|
|
37
42
|
"require": "./lib/cjs/avatar/index.js",
|
|
@@ -404,7 +409,7 @@
|
|
|
404
409
|
"@tanstack/react-table": "8.21.3",
|
|
405
410
|
"react": ">=19.0.0",
|
|
406
411
|
"react-dom": ">=19.0.0",
|
|
407
|
-
"@neo4j-ndl/base": "^4.
|
|
412
|
+
"@neo4j-ndl/base": "^4.23.0"
|
|
408
413
|
},
|
|
409
414
|
"dependencies": {
|
|
410
415
|
"@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: '4.
|
|
5
|
+
version: '4.24.0'
|
|
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.
|
|
18
|
+
> 📌 Shipped with `@neo4j-ndl/react` v4.24.0. 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.
|
|
@@ -134,6 +134,7 @@ Import from `@neo4j-ndl/react`.
|
|
|
134
134
|
| Component | Docs | Accessibility | Examples |
|
|
135
135
|
|-----------|------|---------------|----------|
|
|
136
136
|
| `Accordion` | [components/accordion.md](components/accordion.md) | ✅ | 6 |
|
|
137
|
+
| `AnnouncementBanner` | [components/announcement-banner.md](components/announcement-banner.md) | ✅ | 9 |
|
|
137
138
|
| `Avatar` | [components/avatar.md](components/avatar.md) | ✅ | 7 |
|
|
138
139
|
| `Banner` | [components/banner.md](components/banner.md) | ✅ | 6 |
|
|
139
140
|
| `Box` | [components/box.md](components/box.md) | | 1 |
|