@neo4j-ndl/react 5.4.2 → 5.4.4
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/button/ButtonBase.js +2 -2
- package/lib/cjs/button/ButtonBase.js.map +1 -1
- package/lib/cjs/button/stories/button-leading-icon.story.js +1 -1
- package/lib/cjs/button/stories/button-leading-icon.story.js.map +1 -1
- package/lib/cjs/button/stories/button-trailing-icon.story.js +31 -0
- package/lib/cjs/button/stories/button-trailing-icon.story.js.map +1 -0
- package/lib/cjs/button/stories/index.js +5 -1
- package/lib/cjs/button/stories/index.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-pinned-columns.stories.js +0 -1
- package/lib/cjs/data-grid/stories/datagrid-pinned-columns.stories.js.map +1 -1
- package/lib/cjs/data-grid/stories/datagrid-search-and-filters.stories.js +0 -1
- package/lib/cjs/data-grid/stories/datagrid-search-and-filters.stories.js.map +1 -1
- package/lib/cjs/select/stories/select-async.story.js +1 -3
- package/lib/cjs/select/stories/select-async.story.js.map +1 -1
- package/lib/cjs/select/stories/select-clean.story.js +1 -3
- package/lib/cjs/select/stories/select-clean.story.js.map +1 -1
- package/lib/cjs/select/stories/select-controlled.story.js +1 -3
- package/lib/cjs/select/stories/select-controlled.story.js.map +1 -1
- package/lib/cjs/select/stories/select-creatable.story.js +1 -3
- package/lib/cjs/select/stories/select-creatable.story.js.map +1 -1
- package/lib/cjs/select/stories/select-custom-label.story.js +1 -3
- package/lib/cjs/select/stories/select-custom-label.story.js.map +1 -1
- package/lib/cjs/select/stories/select-default.story.js +1 -3
- package/lib/cjs/select/stories/select-default.story.js.map +1 -1
- package/lib/cjs/select/stories/select-disabled.story.js +1 -3
- package/lib/cjs/select/stories/select-disabled.story.js.map +1 -1
- package/lib/cjs/select/stories/select-empty.story.js +1 -3
- package/lib/cjs/select/stories/select-empty.story.js.map +1 -1
- package/lib/cjs/select/stories/select-error-state.story.js +1 -3
- package/lib/cjs/select/stories/select-error-state.story.js.map +1 -1
- package/lib/cjs/select/stories/select-inside-dialog.story.js +1 -3
- package/lib/cjs/select/stories/select-inside-dialog.story.js.map +1 -1
- package/lib/cjs/select/stories/select-menu-positionings.story.js +1 -5
- package/lib/cjs/select/stories/select-menu-positionings.story.js.map +1 -1
- package/lib/cjs/select/stories/select-multi.story.js +1 -3
- package/lib/cjs/select/stories/select-multi.story.js.map +1 -1
- package/lib/cjs/select/stories/select-sizes.story.js +1 -5
- package/lib/cjs/select/stories/select-sizes.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-fixed-positioning.story.js +2 -9
- package/lib/cjs/spotlight/stories/spotlight-fixed-positioning.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-in-dialog.story.js +3 -9
- package/lib/cjs/spotlight/stories/spotlight-in-dialog.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-in-side-nav.story.js +2 -8
- package/lib/cjs/spotlight/stories/spotlight-in-side-nav.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-icon.story.js +2 -9
- package/lib/cjs/spotlight/stories/spotlight-with-icon.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-image.story.js +2 -9
- package/lib/cjs/spotlight/stories/spotlight-with-image.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-label.story.js +2 -9
- package/lib/cjs/spotlight/stories/spotlight-with-label.story.js.map +1 -1
- package/lib/cjs/spotlight/stories/spotlight-with-pointer.story.js +2 -9
- package/lib/cjs/spotlight/stories/spotlight-with-pointer.story.js.map +1 -1
- package/lib/cjs/timezone-picker/TimeZonePicker.js +6 -5
- package/lib/cjs/timezone-picker/TimeZonePicker.js.map +1 -1
- package/lib/esm/button/ButtonBase.js +2 -2
- package/lib/esm/button/ButtonBase.js.map +1 -1
- package/lib/esm/button/stories/button-leading-icon.story.js +2 -2
- package/lib/esm/button/stories/button-leading-icon.story.js.map +1 -1
- package/lib/esm/button/stories/button-trailing-icon.story.js +29 -0
- package/lib/esm/button/stories/button-trailing-icon.story.js.map +1 -0
- package/lib/esm/button/stories/index.js +3 -0
- package/lib/esm/button/stories/index.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-pinned-columns.stories.js +0 -1
- package/lib/esm/data-grid/stories/datagrid-pinned-columns.stories.js.map +1 -1
- package/lib/esm/data-grid/stories/datagrid-search-and-filters.stories.js +0 -1
- package/lib/esm/data-grid/stories/datagrid-search-and-filters.stories.js.map +1 -1
- package/lib/esm/select/stories/select-async.story.js +1 -3
- package/lib/esm/select/stories/select-async.story.js.map +1 -1
- package/lib/esm/select/stories/select-clean.story.js +1 -3
- package/lib/esm/select/stories/select-clean.story.js.map +1 -1
- package/lib/esm/select/stories/select-controlled.story.js +1 -3
- package/lib/esm/select/stories/select-controlled.story.js.map +1 -1
- package/lib/esm/select/stories/select-creatable.story.js +1 -3
- package/lib/esm/select/stories/select-creatable.story.js.map +1 -1
- package/lib/esm/select/stories/select-custom-label.story.js +1 -3
- package/lib/esm/select/stories/select-custom-label.story.js.map +1 -1
- package/lib/esm/select/stories/select-default.story.js +1 -3
- package/lib/esm/select/stories/select-default.story.js.map +1 -1
- package/lib/esm/select/stories/select-disabled.story.js +1 -3
- package/lib/esm/select/stories/select-disabled.story.js.map +1 -1
- package/lib/esm/select/stories/select-empty.story.js +1 -3
- package/lib/esm/select/stories/select-empty.story.js.map +1 -1
- package/lib/esm/select/stories/select-error-state.story.js +1 -3
- package/lib/esm/select/stories/select-error-state.story.js.map +1 -1
- package/lib/esm/select/stories/select-inside-dialog.story.js +1 -3
- package/lib/esm/select/stories/select-inside-dialog.story.js.map +1 -1
- package/lib/esm/select/stories/select-menu-positionings.story.js +1 -5
- package/lib/esm/select/stories/select-menu-positionings.story.js.map +1 -1
- package/lib/esm/select/stories/select-multi.story.js +1 -3
- package/lib/esm/select/stories/select-multi.story.js.map +1 -1
- package/lib/esm/select/stories/select-sizes.story.js +1 -5
- package/lib/esm/select/stories/select-sizes.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-fixed-positioning.story.js +2 -9
- package/lib/esm/spotlight/stories/spotlight-fixed-positioning.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-in-dialog.story.js +4 -10
- package/lib/esm/spotlight/stories/spotlight-in-dialog.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-in-side-nav.story.js +3 -9
- package/lib/esm/spotlight/stories/spotlight-in-side-nav.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-icon.story.js +2 -9
- package/lib/esm/spotlight/stories/spotlight-with-icon.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-image.story.js +2 -9
- package/lib/esm/spotlight/stories/spotlight-with-image.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-label.story.js +2 -9
- package/lib/esm/spotlight/stories/spotlight-with-label.story.js.map +1 -1
- package/lib/esm/spotlight/stories/spotlight-with-pointer.story.js +2 -9
- package/lib/esm/spotlight/stories/spotlight-with-pointer.story.js.map +1 -1
- package/lib/esm/timezone-picker/TimeZonePicker.js +6 -5
- package/lib/esm/timezone-picker/TimeZonePicker.js.map +1 -1
- package/lib/types/button/ButtonBase.d.ts +3 -1
- package/lib/types/button/ButtonBase.d.ts.map +1 -1
- package/lib/types/button/stories/button-trailing-icon.story.d.ts +24 -0
- package/lib/types/button/stories/button-trailing-icon.story.d.ts.map +1 -0
- package/lib/types/button/stories/index.d.ts +2 -0
- package/lib/types/button/stories/index.d.ts.map +1 -1
- package/lib/types/data-grid/stories/datagrid-pinned-columns.stories.d.ts +0 -3
- package/lib/types/data-grid/stories/datagrid-pinned-columns.stories.d.ts.map +1 -1
- package/lib/types/data-grid/stories/datagrid-search-and-filters.stories.d.ts +0 -3
- package/lib/types/data-grid/stories/datagrid-search-and-filters.stories.d.ts.map +1 -1
- package/lib/types/select/stories/select-async.story.d.ts +1 -2
- package/lib/types/select/stories/select-async.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-clean.story.d.ts +1 -2
- package/lib/types/select/stories/select-clean.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-controlled.story.d.ts +2 -2
- package/lib/types/select/stories/select-controlled.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-creatable.story.d.ts +1 -2
- package/lib/types/select/stories/select-creatable.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-custom-label.story.d.ts +1 -2
- package/lib/types/select/stories/select-custom-label.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-default.story.d.ts +1 -2
- package/lib/types/select/stories/select-default.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-disabled.story.d.ts +1 -2
- package/lib/types/select/stories/select-disabled.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-empty.story.d.ts +1 -2
- package/lib/types/select/stories/select-empty.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-error-state.story.d.ts +1 -2
- package/lib/types/select/stories/select-error-state.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-inside-dialog.story.d.ts +1 -2
- package/lib/types/select/stories/select-inside-dialog.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-menu-positionings.story.d.ts +1 -2
- package/lib/types/select/stories/select-menu-positionings.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-multi.story.d.ts +1 -2
- package/lib/types/select/stories/select-multi.story.d.ts.map +1 -1
- package/lib/types/select/stories/select-sizes.story.d.ts +1 -2
- package/lib/types/select/stories/select-sizes.story.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-fixed-positioning.story.d.ts +1 -3
- package/lib/types/spotlight/stories/spotlight-fixed-positioning.story.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-in-dialog.story.d.ts +1 -3
- package/lib/types/spotlight/stories/spotlight-in-dialog.story.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-in-side-nav.story.d.ts +1 -3
- package/lib/types/spotlight/stories/spotlight-in-side-nav.story.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-with-icon.story.d.ts +1 -3
- package/lib/types/spotlight/stories/spotlight-with-icon.story.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-with-image.story.d.ts +1 -3
- package/lib/types/spotlight/stories/spotlight-with-image.story.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-with-label.story.d.ts +1 -3
- package/lib/types/spotlight/stories/spotlight-with-label.story.d.ts.map +1 -1
- package/lib/types/spotlight/stories/spotlight-with-pointer.story.d.ts +1 -3
- package/lib/types/spotlight/stories/spotlight-with-pointer.story.d.ts.map +1 -1
- package/lib/types/timezone-picker/TimeZonePicker.d.ts.map +1 -1
- package/package.json +1 -2
- package/skills/ndl-react/SKILL.md +2 -2
- package/skills/ndl-react/components/filled-button.md +1 -0
- package/skills/ndl-react/components/outlined-button.md +1 -0
- package/skills/ndl-react/components/select.md +13 -30
- package/skills/ndl-react/components/spotlight.md +11 -75
- package/skills/ndl-react/components/text-button.md +1 -0
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-clean.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-clean.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-clean.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-clean.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-clean.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CAYd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
|
|
22
|
-
declare const Component: (
|
|
21
|
+
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default Component;
|
|
24
24
|
//# sourceMappingURL=select-controlled.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-controlled.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-controlled.story.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"select-controlled.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-controlled.story.tsx"],"names":[],"mappings":"AA8BA,QAAA,MAAM,SAAS,+CAuBd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-creatable.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-creatable.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-creatable.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-creatable.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-creatable.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CAYd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-custom-label.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-custom-label.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-custom-label.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-custom-label.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-custom-label.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CAiBd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-default.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-default.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-default.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-default.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-default.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAejD,QAAA,MAAM,SAAS,+CAWd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-disabled.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-disabled.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-disabled.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-disabled.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-disabled.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CAWd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-empty.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-empty.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-empty.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-empty.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-empty.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAWd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-error-state.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-error-state.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-error-state.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-error-state.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-error-state.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CAWd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-inside-dialog.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-inside-dialog.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-inside-dialog.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-inside-dialog.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-inside-dialog.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAYjD,QAAA,MAAM,SAAS,+CAsCd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-menu-positionings.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-menu-positionings.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-menu-positionings.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-menu-positionings.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-menu-positionings.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AASjD,QAAA,MAAM,SAAS,+CA6Bd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-multi.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-multi.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-multi.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-multi.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-multi.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CAad,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
|
|
23
|
-
declare const Component: (props: React.ComponentProps<typeof Select>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
export default Component;
|
|
25
24
|
//# sourceMappingURL=select-sizes.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-sizes.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-sizes.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"select-sizes.story.d.ts","sourceRoot":"","sources":["../../../../src/select/stories/select-sizes.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CA6Bd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
declare const Component: (
|
|
23
|
-
isChromatic: boolean;
|
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
export default Component;
|
|
26
24
|
//# sourceMappingURL=spotlight-fixed-positioning.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight-fixed-positioning.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-fixed-positioning.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"spotlight-fixed-positioning.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-fixed-positioning.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CA0Cd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
declare const Component: (
|
|
23
|
-
isChromatic: boolean;
|
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
export default Component;
|
|
26
24
|
//# sourceMappingURL=spotlight-in-dialog.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight-in-dialog.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-in-dialog.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAcjD,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"spotlight-in-dialog.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-in-dialog.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAcjD,QAAA,MAAM,SAAS,+CA4Dd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
declare const Component: (
|
|
23
|
-
isChromatic: boolean;
|
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
export default Component;
|
|
26
24
|
//# sourceMappingURL=spotlight-in-side-nav.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight-in-side-nav.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-in-side-nav.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAajD,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"spotlight-in-side-nav.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-in-side-nav.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAajD,QAAA,MAAM,SAAS,+CA6Fd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
declare const Component: (
|
|
23
|
-
isChromatic: boolean;
|
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
export default Component;
|
|
26
24
|
//# sourceMappingURL=spotlight-with-icon.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight-with-icon.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-with-icon.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"spotlight-with-icon.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-with-icon.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAajD,QAAA,MAAM,SAAS,+CA0Cd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
declare const Component: (
|
|
23
|
-
isChromatic: boolean;
|
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
export default Component;
|
|
26
24
|
//# sourceMappingURL=spotlight-with-image.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight-with-image.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-with-image.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"spotlight-with-image.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-with-image.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAYjD,QAAA,MAAM,SAAS,+CAuCd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
declare const Component: (
|
|
23
|
-
isChromatic: boolean;
|
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
export default Component;
|
|
26
24
|
//# sourceMappingURL=spotlight-with-label.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight-with-label.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-with-label.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"spotlight-with-label.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-with-label.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAYjD,QAAA,MAAM,SAAS,+CAwCd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
-
declare const Component: (
|
|
23
|
-
isChromatic: boolean;
|
|
24
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
export default Component;
|
|
26
24
|
//# sourceMappingURL=spotlight-with-pointer.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight-with-pointer.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-with-pointer.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"spotlight-with-pointer.story.d.ts","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight-with-pointer.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAWjD,QAAA,MAAM,SAAS,+CAwCd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeZonePicker.d.ts","sourceRoot":"","sources":["../../../src/timezone-picker/TimeZonePicker.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAgBpD,MAAM,MAAM,mBAAmB,GAAG;IAChC,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,2HAA2H;IAC3H,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IACxC,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4FAA4F;IAC5F,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,qOAqB5B,WAAW,CAAC,OAAO,EAAE,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"TimeZonePicker.d.ts","sourceRoot":"","sources":["../../../src/timezone-picker/TimeZonePicker.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAgBpD,MAAM,MAAM,mBAAmB,GAAG;IAChC,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,2HAA2H;IAC3H,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IACxC,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4FAA4F;IAC5F,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,qOAqB5B,WAAW,CAAC,OAAO,EAAE,mBAAmB,CAAC,4CAkhB3C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.4",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -411,7 +411,6 @@
|
|
|
411
411
|
"@vitejs/plugin-react": "5.1.4",
|
|
412
412
|
"@vitest/coverage-v8": "4.1.10",
|
|
413
413
|
"a11y-contrast-color": "1.1.0",
|
|
414
|
-
"chromatic": "13.3.5",
|
|
415
414
|
"jsdom": "26.1.0",
|
|
416
415
|
"leva": "0.10.1",
|
|
417
416
|
"react": "19.2.5",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: ndl-react
|
|
3
3
|
metadata:
|
|
4
4
|
package: '@neo4j-ndl/react'
|
|
5
|
-
version: '5.4.
|
|
5
|
+
version: '5.4.4'
|
|
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.4.
|
|
18
|
+
> 📌 Shipped with `@neo4j-ndl/react` v5.4.4. 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.
|
|
@@ -24,5 +24,6 @@ Import: `import { FilledButton } from '@neo4j-ndl/react'`
|
|
|
24
24
|
| `ref` | `any` | | | A ref to apply to the root element. |
|
|
25
25
|
| `size` | `'large' \| 'medium' \| 'small'` | | `medium` | Size of button |
|
|
26
26
|
| `target` | `HTMLAttributeAnchorTarget` | | | The target window for the link. Only applies when `as="a"`. Not present or required for other element types. |
|
|
27
|
+
| `trailingVisual` | `ReactNode` | | | Icon to display after the button content |
|
|
27
28
|
| `type` | `'button' \| 'reset' \| 'submit'` | | `button` | Type of button |
|
|
28
29
|
| `variant` | `'danger' \| 'primary'` | | `primary` | Variant of the button |
|
|
@@ -24,5 +24,6 @@ Import: `import { OutlinedButton } from '@neo4j-ndl/react'`
|
|
|
24
24
|
| `ref` | `any` | | | A ref to apply to the root element. |
|
|
25
25
|
| `size` | `'large' \| 'medium' \| 'small'` | | `medium` | Size of button |
|
|
26
26
|
| `target` | `HTMLAttributeAnchorTarget` | | | The target window for the link. Only applies when `as="a"`. Not present or required for other element types. |
|
|
27
|
+
| `trailingVisual` | `ReactNode` | | | Icon to display after the button content |
|
|
27
28
|
| `type` | `'button' \| 'reset' \| 'submit'` | | `button` | Type of button |
|
|
28
29
|
| `variant` | `'danger' \| 'neutral' \| 'primary'` | | `primary` | Variant of the button |
|
|
@@ -51,14 +51,13 @@ const EXAMPLE_OPTIONS = [
|
|
|
51
51
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
52
52
|
];
|
|
53
53
|
|
|
54
|
-
const Component = (
|
|
54
|
+
const Component = () => {
|
|
55
55
|
return (
|
|
56
56
|
<Select
|
|
57
57
|
label="Select an option"
|
|
58
58
|
helpText="Help text"
|
|
59
59
|
type="select"
|
|
60
60
|
selectProps={{
|
|
61
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
62
61
|
options: EXAMPLE_OPTIONS,
|
|
63
62
|
}}
|
|
64
63
|
/>
|
|
@@ -93,7 +92,7 @@ const loadOptions = (inputValue: string) => {
|
|
|
93
92
|
});
|
|
94
93
|
};
|
|
95
94
|
|
|
96
|
-
const Component = (
|
|
95
|
+
const Component = () => {
|
|
97
96
|
return (
|
|
98
97
|
<Select
|
|
99
98
|
label="Label"
|
|
@@ -104,7 +103,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
104
103
|
defaultOptions: true,
|
|
105
104
|
isClearable: true,
|
|
106
105
|
loadOptions,
|
|
107
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
108
106
|
placeholder: 'Type to search...',
|
|
109
107
|
}}
|
|
110
108
|
/>
|
|
@@ -128,7 +126,7 @@ const EXAMPLE_OPTIONS = [
|
|
|
128
126
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
129
127
|
];
|
|
130
128
|
|
|
131
|
-
const Component = (
|
|
129
|
+
const Component = () => {
|
|
132
130
|
return (
|
|
133
131
|
<Select
|
|
134
132
|
label="Label"
|
|
@@ -136,7 +134,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
136
134
|
isClean={true}
|
|
137
135
|
isFluid={false}
|
|
138
136
|
selectProps={{
|
|
139
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
140
137
|
options: EXAMPLE_OPTIONS,
|
|
141
138
|
}}
|
|
142
139
|
/>
|
|
@@ -159,7 +156,7 @@ const EXAMPLE_OPTIONS = [
|
|
|
159
156
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
160
157
|
];
|
|
161
158
|
|
|
162
|
-
const Component = (
|
|
159
|
+
const Component = () => {
|
|
163
160
|
const [value, setValue] = useState<(typeof EXAMPLE_OPTIONS)[number]>(
|
|
164
161
|
EXAMPLE_OPTIONS[0],
|
|
165
162
|
);
|
|
@@ -171,7 +168,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
171
168
|
type="select"
|
|
172
169
|
selectProps={{
|
|
173
170
|
isMulti: false,
|
|
174
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
175
171
|
menuPortalTarget: document.querySelector('body'),
|
|
176
172
|
onChange: (newValue) => newValue && setValue(newValue),
|
|
177
173
|
options: EXAMPLE_OPTIONS,
|
|
@@ -202,7 +198,7 @@ const EXAMPLE_OPTIONS = [
|
|
|
202
198
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
203
199
|
];
|
|
204
200
|
|
|
205
|
-
const Component = (
|
|
201
|
+
const Component = () => {
|
|
206
202
|
return (
|
|
207
203
|
<Select
|
|
208
204
|
label="Label"
|
|
@@ -210,7 +206,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
210
206
|
type="creatable"
|
|
211
207
|
selectProps={{
|
|
212
208
|
isClearable: true,
|
|
213
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
214
209
|
options: EXAMPLE_OPTIONS,
|
|
215
210
|
}}
|
|
216
211
|
/>
|
|
@@ -234,7 +229,7 @@ const EXAMPLE_OPTIONS = [
|
|
|
234
229
|
{ label: 'Graph Databases', value: 'graph-database' },
|
|
235
230
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
236
231
|
];
|
|
237
|
-
const Component = (
|
|
232
|
+
const Component = () => {
|
|
238
233
|
return (
|
|
239
234
|
<Select
|
|
240
235
|
label={
|
|
@@ -247,7 +242,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
247
242
|
type="select"
|
|
248
243
|
selectProps={{
|
|
249
244
|
defaultValue: EXAMPLE_OPTIONS[1],
|
|
250
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
251
245
|
options: EXAMPLE_OPTIONS,
|
|
252
246
|
}}
|
|
253
247
|
/>
|
|
@@ -271,14 +265,13 @@ const EXAMPLE_OPTIONS = [
|
|
|
271
265
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
272
266
|
];
|
|
273
267
|
|
|
274
|
-
const Component = (
|
|
268
|
+
const Component = () => {
|
|
275
269
|
return (
|
|
276
270
|
<Select
|
|
277
271
|
label="Label"
|
|
278
272
|
type="select"
|
|
279
273
|
selectProps={{
|
|
280
274
|
isDisabled: true,
|
|
281
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
282
275
|
options: EXAMPLE_OPTIONS,
|
|
283
276
|
}}
|
|
284
277
|
/>
|
|
@@ -295,14 +288,13 @@ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
|
295
288
|
|
|
296
289
|
import { Select } from '@neo4j-ndl/react';
|
|
297
290
|
|
|
298
|
-
const Component = (
|
|
291
|
+
const Component = () => {
|
|
299
292
|
return (
|
|
300
293
|
<Select
|
|
301
294
|
label="Label"
|
|
302
295
|
helpText="Help text"
|
|
303
296
|
type="select"
|
|
304
297
|
selectProps={{
|
|
305
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
306
298
|
options: [],
|
|
307
299
|
}}
|
|
308
300
|
/>
|
|
@@ -326,14 +318,13 @@ const EXAMPLE_OPTIONS = [
|
|
|
326
318
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
327
319
|
];
|
|
328
320
|
|
|
329
|
-
const Component = (
|
|
321
|
+
const Component = () => {
|
|
330
322
|
return (
|
|
331
323
|
<Select
|
|
332
324
|
label="Label"
|
|
333
325
|
errorText="Validate that your selection is correct"
|
|
334
326
|
type="select"
|
|
335
327
|
selectProps={{
|
|
336
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
337
328
|
options: EXAMPLE_OPTIONS,
|
|
338
329
|
}}
|
|
339
330
|
/>
|
|
@@ -358,7 +349,7 @@ const EXAMPLE_OPTIONS = [
|
|
|
358
349
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
359
350
|
];
|
|
360
351
|
|
|
361
|
-
const Component = (
|
|
352
|
+
const Component = () => {
|
|
362
353
|
const ref = useRef<HTMLDivElement | null>(null);
|
|
363
354
|
const [isOpen, setIsOpen] = useState<boolean>(false);
|
|
364
355
|
|
|
@@ -389,7 +380,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
389
380
|
type="select"
|
|
390
381
|
selectProps={{
|
|
391
382
|
defaultValue: EXAMPLE_OPTIONS[1],
|
|
392
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
393
383
|
options: EXAMPLE_OPTIONS,
|
|
394
384
|
}}
|
|
395
385
|
/>
|
|
@@ -414,14 +404,13 @@ const EXAMPLE_OPTIONS = [
|
|
|
414
404
|
{ label: 'Needle 🪡', value: 'needle' },
|
|
415
405
|
];
|
|
416
406
|
|
|
417
|
-
const Component = (
|
|
407
|
+
const Component = () => {
|
|
418
408
|
return (
|
|
419
409
|
<div className="flex gap-token-16 pt-token-64">
|
|
420
410
|
<Select
|
|
421
411
|
label="Automatic menu placement"
|
|
422
412
|
type="select"
|
|
423
413
|
selectProps={{
|
|
424
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
425
414
|
menuPlacement: 'auto',
|
|
426
415
|
options: EXAMPLE_OPTIONS,
|
|
427
416
|
}}
|
|
@@ -430,7 +419,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
430
419
|
label="Bottom menu placement"
|
|
431
420
|
type="select"
|
|
432
421
|
selectProps={{
|
|
433
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
434
422
|
menuPlacement: 'bottom',
|
|
435
423
|
options: EXAMPLE_OPTIONS,
|
|
436
424
|
}}
|
|
@@ -439,7 +427,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
439
427
|
label="Top menu placement"
|
|
440
428
|
type="select"
|
|
441
429
|
selectProps={{
|
|
442
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
443
430
|
menuPlacement: 'top',
|
|
444
431
|
options: EXAMPLE_OPTIONS,
|
|
445
432
|
}}
|
|
@@ -465,7 +452,7 @@ const EXAMPLE_OPTIONS = [
|
|
|
465
452
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
466
453
|
];
|
|
467
454
|
|
|
468
|
-
const Component = (
|
|
455
|
+
const Component = () => {
|
|
469
456
|
return (
|
|
470
457
|
<Select
|
|
471
458
|
label="Label"
|
|
@@ -474,7 +461,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
474
461
|
defaultValue: EXAMPLE_OPTIONS[1],
|
|
475
462
|
isClearable: true,
|
|
476
463
|
isMulti: true,
|
|
477
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
478
464
|
options: EXAMPLE_OPTIONS,
|
|
479
465
|
}}
|
|
480
466
|
/>
|
|
@@ -538,7 +524,7 @@ const EXAMPLE_OPTIONS = [
|
|
|
538
524
|
{ isDisabled: true, label: 'Disabled database option', value: 'disabled' },
|
|
539
525
|
];
|
|
540
526
|
|
|
541
|
-
const Component = (
|
|
527
|
+
const Component = () => {
|
|
542
528
|
return (
|
|
543
529
|
<div className="flex gap-token-16">
|
|
544
530
|
<Select
|
|
@@ -546,7 +532,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
546
532
|
type="select"
|
|
547
533
|
size="small"
|
|
548
534
|
selectProps={{
|
|
549
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
550
535
|
options: EXAMPLE_OPTIONS,
|
|
551
536
|
}}
|
|
552
537
|
/>
|
|
@@ -555,7 +540,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
555
540
|
type="select"
|
|
556
541
|
size="medium"
|
|
557
542
|
selectProps={{
|
|
558
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
559
543
|
options: EXAMPLE_OPTIONS,
|
|
560
544
|
}}
|
|
561
545
|
/>
|
|
@@ -564,7 +548,6 @@ const Component = (props: React.ComponentProps<typeof Select>) => {
|
|
|
564
548
|
type="select"
|
|
565
549
|
size="large"
|
|
566
550
|
selectProps={{
|
|
567
|
-
menuIsOpen: props.selectProps?.menuIsOpen,
|
|
568
551
|
options: EXAMPLE_OPTIONS,
|
|
569
552
|
}}
|
|
570
553
|
/>
|