@neo4j-ndl/react 4.18.13 → 4.19.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/LICENSES.txt +54 -0
- package/lib/NOTICE.txt +8 -0
- package/lib/cjs/_common/use-semi-controlled-state.js +6 -1
- package/lib/cjs/_common/use-semi-controlled-state.js.map +1 -1
- package/lib/cjs/combobox/Combobox.js +1031 -0
- package/lib/cjs/combobox/Combobox.js.map +1 -0
- package/lib/cjs/combobox/combobox-types.js +23 -0
- package/lib/cjs/combobox/combobox-types.js.map +1 -0
- package/lib/cjs/combobox/combobox-utils.js +129 -0
- package/lib/cjs/combobox/combobox-utils.js.map +1 -0
- package/lib/cjs/combobox/index.js +26 -0
- package/lib/cjs/combobox/index.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-action-on-select.story.js +82 -0
- package/lib/cjs/combobox/stories/combobox-action-on-select.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-actions.story.js +78 -0
- package/lib/cjs/combobox/stories/combobox-actions.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-async.story.js +75 -0
- package/lib/cjs/combobox/stories/combobox-async.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-clean.story.js +38 -0
- package/lib/cjs/combobox/stories/combobox-clean.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-creatable.story.js +41 -0
- package/lib/cjs/combobox/stories/combobox-creatable.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-custom-multi.story.js +45 -0
- package/lib/cjs/combobox/stories/combobox-custom-multi.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-custom-single.story.js +44 -0
- package/lib/cjs/combobox/stories/combobox-custom-single.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-custom-trigger.story.js +60 -0
- package/lib/cjs/combobox/stories/combobox-custom-trigger.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-default.story.js +42 -0
- package/lib/cjs/combobox/stories/combobox-default.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-descriptions.story.js +45 -0
- package/lib/cjs/combobox/stories/combobox-descriptions.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-disabled.story.js +34 -0
- package/lib/cjs/combobox/stories/combobox-disabled.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-fluid.story.js +34 -0
- package/lib/cjs/combobox/stories/combobox-fluid.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-groups.story.js +49 -0
- package/lib/cjs/combobox/stories/combobox-groups.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-hidden-label.story.js +33 -0
- package/lib/cjs/combobox/stories/combobox-hidden-label.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-icons.story.js +46 -0
- package/lib/cjs/combobox/stories/combobox-icons.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-in-dialog.story.js +40 -0
- package/lib/cjs/combobox/stories/combobox-in-dialog.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-in-popover-dialog.story.js +40 -0
- package/lib/cjs/combobox/stories/combobox-in-popover-dialog.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-in-popover.story.js +36 -0
- package/lib/cjs/combobox/stories/combobox-in-popover.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-large-data-set.story.js +36 -0
- package/lib/cjs/combobox/stories/combobox-large-data-set.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-max-rows.story.js +42 -0
- package/lib/cjs/combobox/stories/combobox-max-rows.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-multi.story.js +45 -0
- package/lib/cjs/combobox/stories/combobox-multi.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-native-form.story.js +49 -0
- package/lib/cjs/combobox/stories/combobox-native-form.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-select-only.story.js +38 -0
- package/lib/cjs/combobox/stories/combobox-select-only.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-sizes.story.js +33 -0
- package/lib/cjs/combobox/stories/combobox-sizes.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-unlimited-rows.story.js +42 -0
- package/lib/cjs/combobox/stories/combobox-unlimited-rows.story.js.map +1 -0
- package/lib/cjs/combobox/stories/combobox-validation.story.js +33 -0
- package/lib/cjs/combobox/stories/combobox-validation.story.js.map +1 -0
- package/lib/cjs/combobox/stories/index.js +133 -0
- package/lib/cjs/combobox/stories/index.js.map +1 -0
- package/lib/cjs/combobox/use-combobox-multi-value-overflow.js +173 -0
- package/lib/cjs/combobox/use-combobox-multi-value-overflow.js.map +1 -0
- package/lib/cjs/combobox/use-combobox-popover.js +80 -0
- package/lib/cjs/combobox/use-combobox-popover.js.map +1 -0
- package/lib/cjs/date-picker/DatePicker.js.map +1 -1
- package/lib/cjs/dismissible-tag/DismissibleTag.js +1 -1
- package/lib/cjs/dismissible-tag/DismissibleTag.js.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/select/Select.js +3 -0
- package/lib/cjs/select/Select.js.map +1 -1
- package/lib/cjs/text-area/TextArea.js.map +1 -1
- package/lib/cjs/text-input/TextInput.js.map +1 -1
- package/lib/esm/_common/use-semi-controlled-state.js +6 -1
- package/lib/esm/_common/use-semi-controlled-state.js.map +1 -1
- package/lib/esm/combobox/Combobox.js +1024 -0
- package/lib/esm/combobox/Combobox.js.map +1 -0
- package/lib/esm/combobox/combobox-types.js +22 -0
- package/lib/esm/combobox/combobox-types.js.map +1 -0
- package/lib/esm/combobox/combobox-utils.js +112 -0
- package/lib/esm/combobox/combobox-utils.js.map +1 -0
- package/lib/esm/combobox/index.js +22 -0
- package/lib/esm/combobox/index.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-action-on-select.story.js +80 -0
- package/lib/esm/combobox/stories/combobox-action-on-select.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-actions.story.js +76 -0
- package/lib/esm/combobox/stories/combobox-actions.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-async.story.js +73 -0
- package/lib/esm/combobox/stories/combobox-async.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-clean.story.js +36 -0
- package/lib/esm/combobox/stories/combobox-clean.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-creatable.story.js +39 -0
- package/lib/esm/combobox/stories/combobox-creatable.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-custom-multi.story.js +43 -0
- package/lib/esm/combobox/stories/combobox-custom-multi.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-custom-single.story.js +42 -0
- package/lib/esm/combobox/stories/combobox-custom-single.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-custom-trigger.story.js +58 -0
- package/lib/esm/combobox/stories/combobox-custom-trigger.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-default.story.js +40 -0
- package/lib/esm/combobox/stories/combobox-default.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-descriptions.story.js +43 -0
- package/lib/esm/combobox/stories/combobox-descriptions.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-disabled.story.js +32 -0
- package/lib/esm/combobox/stories/combobox-disabled.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-fluid.story.js +32 -0
- package/lib/esm/combobox/stories/combobox-fluid.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-groups.story.js +47 -0
- package/lib/esm/combobox/stories/combobox-groups.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-hidden-label.story.js +31 -0
- package/lib/esm/combobox/stories/combobox-hidden-label.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-icons.story.js +44 -0
- package/lib/esm/combobox/stories/combobox-icons.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-in-dialog.story.js +38 -0
- package/lib/esm/combobox/stories/combobox-in-dialog.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-in-popover-dialog.story.js +38 -0
- package/lib/esm/combobox/stories/combobox-in-popover-dialog.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-in-popover.story.js +34 -0
- package/lib/esm/combobox/stories/combobox-in-popover.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-large-data-set.story.js +34 -0
- package/lib/esm/combobox/stories/combobox-large-data-set.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-max-rows.story.js +40 -0
- package/lib/esm/combobox/stories/combobox-max-rows.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-multi.story.js +43 -0
- package/lib/esm/combobox/stories/combobox-multi.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-native-form.story.js +47 -0
- package/lib/esm/combobox/stories/combobox-native-form.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-select-only.story.js +36 -0
- package/lib/esm/combobox/stories/combobox-select-only.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-sizes.story.js +31 -0
- package/lib/esm/combobox/stories/combobox-sizes.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-unlimited-rows.story.js +40 -0
- package/lib/esm/combobox/stories/combobox-unlimited-rows.story.js.map +1 -0
- package/lib/esm/combobox/stories/combobox-validation.story.js +31 -0
- package/lib/esm/combobox/stories/combobox-validation.story.js.map +1 -0
- package/lib/esm/combobox/stories/index.js +100 -0
- package/lib/esm/combobox/stories/index.js.map +1 -0
- package/lib/esm/combobox/use-combobox-multi-value-overflow.js +166 -0
- package/lib/esm/combobox/use-combobox-multi-value-overflow.js.map +1 -0
- package/lib/esm/combobox/use-combobox-popover.js +77 -0
- package/lib/esm/combobox/use-combobox-popover.js.map +1 -0
- package/lib/esm/date-picker/DatePicker.js.map +1 -1
- package/lib/esm/dismissible-tag/DismissibleTag.js +1 -1
- package/lib/esm/dismissible-tag/DismissibleTag.js.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/select/Select.js +3 -0
- package/lib/esm/select/Select.js.map +1 -1
- package/lib/esm/text-area/TextArea.js.map +1 -1
- package/lib/esm/text-input/TextInput.js.map +1 -1
- package/lib/types/_common/use-semi-controlled-state.d.ts +5 -1
- package/lib/types/_common/use-semi-controlled-state.d.ts.map +1 -1
- package/lib/types/combobox/Combobox.d.ts +24 -0
- package/lib/types/combobox/Combobox.d.ts.map +1 -0
- package/lib/types/combobox/combobox-types.d.ts +419 -0
- package/lib/types/combobox/combobox-types.d.ts.map +1 -0
- package/lib/types/combobox/combobox-utils.d.ts +81 -0
- package/lib/types/combobox/combobox-utils.d.ts.map +1 -0
- package/lib/types/combobox/index.d.ts +23 -0
- package/lib/types/combobox/index.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-action-on-select.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-action-on-select.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-actions.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-actions.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-async.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-async.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-clean.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-clean.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-creatable.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-creatable.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-custom-multi.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-custom-multi.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-custom-single.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-custom-single.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-custom-trigger.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-custom-trigger.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-default.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-default.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-descriptions.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-descriptions.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-disabled.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-disabled.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-fluid.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-fluid.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-groups.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-groups.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-hidden-label.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-hidden-label.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-icons.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-icons.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-in-dialog.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-in-dialog.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-in-popover-dialog.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-in-popover-dialog.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-in-popover.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-in-popover.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-large-data-set.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-large-data-set.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-max-rows.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-max-rows.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-multi.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-multi.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-native-form.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-native-form.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-select-only.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-select-only.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-sizes.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-sizes.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-unlimited-rows.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-unlimited-rows.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/combobox-validation.story.d.ts +24 -0
- package/lib/types/combobox/stories/combobox-validation.story.d.ts.map +1 -0
- package/lib/types/combobox/stories/index.d.ts +73 -0
- package/lib/types/combobox/stories/index.d.ts.map +1 -0
- package/lib/types/combobox/use-combobox-multi-value-overflow.d.ts +76 -0
- package/lib/types/combobox/use-combobox-multi-value-overflow.d.ts.map +1 -0
- package/lib/types/combobox/use-combobox-popover.d.ts +66 -0
- package/lib/types/combobox/use-combobox-popover.d.ts.map +1 -0
- package/lib/types/date-picker/DatePicker.d.ts.map +1 -1
- package/lib/types/dismissible-tag/DismissibleTag.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/select/Select.d.ts +3 -0
- package/lib/types/select/Select.d.ts.map +1 -1
- package/lib/types/text-input/TextInput.d.ts.map +1 -1
- package/package.json +10 -4
- package/skills/ndl-react/SKILL.md +20 -0
- package/skills/ndl-react/components/combobox.md +1487 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-unlimited-rows.story.d.ts","sourceRoot":"","sources":["../../../../src/combobox/stories/combobox-unlimited-rows.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAUjD,QAAA,MAAM,SAAS,+CAyBd,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=combobox-validation.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-validation.story.d.ts","sourceRoot":"","sources":["../../../../src/combobox/stories/combobox-validation.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAUjD,QAAA,MAAM,SAAS,+CAuBd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 ComboboxActions } from './combobox-actions.story';
|
|
22
|
+
export { default as ComboboxAsync } from './combobox-async.story';
|
|
23
|
+
export { default as ComboboxClean } from './combobox-clean.story';
|
|
24
|
+
export { default as ComboboxActionOnSelect } from './combobox-action-on-select.story';
|
|
25
|
+
export { default as ComboboxCreatable } from './combobox-creatable.story';
|
|
26
|
+
export { default as ComboboxCustomMulti } from './combobox-custom-multi.story';
|
|
27
|
+
export { default as ComboboxCustomSingle } from './combobox-custom-single.story';
|
|
28
|
+
export { default as ComboboxCustomTrigger } from './combobox-custom-trigger.story';
|
|
29
|
+
export { default as ComboboxDefault } from './combobox-default.story';
|
|
30
|
+
export { default as ComboboxDescriptions } from './combobox-descriptions.story';
|
|
31
|
+
export { default as ComboboxDisabled } from './combobox-disabled.story';
|
|
32
|
+
export { default as ComboboxFluid } from './combobox-fluid.story';
|
|
33
|
+
export { default as ComboboxGroups } from './combobox-groups.story';
|
|
34
|
+
export { default as ComboboxHiddenLabel } from './combobox-hidden-label.story';
|
|
35
|
+
export { default as ComboboxIcons } from './combobox-icons.story';
|
|
36
|
+
export { default as ComboboxInDialog } from './combobox-in-dialog.story';
|
|
37
|
+
export { default as ComboboxInPopover } from './combobox-in-popover.story';
|
|
38
|
+
export { default as ComboboxInPopoverDialog } from './combobox-in-popover-dialog.story';
|
|
39
|
+
export { default as ComboboxLargeDataSet } from './combobox-large-data-set.story';
|
|
40
|
+
export { default as ComboboxMaxRows } from './combobox-max-rows.story';
|
|
41
|
+
export { default as ComboboxMulti } from './combobox-multi.story';
|
|
42
|
+
export { default as ComboboxNativeForm } from './combobox-native-form.story';
|
|
43
|
+
export { default as ComboboxSelectOnly } from './combobox-select-only.story';
|
|
44
|
+
export { default as ComboboxSizes } from './combobox-sizes.story';
|
|
45
|
+
export { default as ComboboxUnlimitedRows } from './combobox-unlimited-rows.story';
|
|
46
|
+
export { default as ComboboxValidation } from './combobox-validation.story';
|
|
47
|
+
export declare const ComboboxActionsSource: string;
|
|
48
|
+
export declare const ComboboxAsyncSource: string;
|
|
49
|
+
export declare const ComboboxCleanSource: string;
|
|
50
|
+
export declare const ComboboxActionOnSelectSource: string;
|
|
51
|
+
export declare const ComboboxCreatableSource: string;
|
|
52
|
+
export declare const ComboboxDefaultSource: string;
|
|
53
|
+
export declare const ComboboxDescriptionsSource: string;
|
|
54
|
+
export declare const ComboboxDisabledSource: string;
|
|
55
|
+
export declare const ComboboxFluidSource: string;
|
|
56
|
+
export declare const ComboboxGroupsSource: string;
|
|
57
|
+
export declare const ComboboxHiddenLabelSource: string;
|
|
58
|
+
export declare const ComboboxIconsSource: string;
|
|
59
|
+
export declare const ComboboxInDialogSource: string;
|
|
60
|
+
export declare const ComboboxInPopoverSource: string;
|
|
61
|
+
export declare const ComboboxInPopoverDialogSource: string;
|
|
62
|
+
export declare const ComboboxLargeDataSetSource: string;
|
|
63
|
+
export declare const ComboboxMaxRowsSource: string;
|
|
64
|
+
export declare const ComboboxMultiSource: string;
|
|
65
|
+
export declare const ComboboxNativeFormSource: string;
|
|
66
|
+
export declare const ComboboxSelectOnlySource: string;
|
|
67
|
+
export declare const ComboboxSizesSource: string;
|
|
68
|
+
export declare const ComboboxUnlimitedRowsSource: string;
|
|
69
|
+
export declare const ComboboxCustomTriggerSource: string;
|
|
70
|
+
export declare const ComboboxCustomMultiSource: string;
|
|
71
|
+
export declare const ComboboxCustomSingleSource: string;
|
|
72
|
+
export declare const ComboboxValidationSource: string;
|
|
73
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","s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AAE/E,eAAO,MAAM,wBAAwB,QAEpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAEpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAA8C,CAAC;AAE/E,eAAO,MAAM,2BAA2B,QAEvC,CAAC;AAEF,eAAO,MAAM,2BAA2B,QAEvC,CAAC;AAEF,eAAO,MAAM,yBAAyB,QAErC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAEtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAEpC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
* The text of the overflow counter tag. Whole thousands round to a `K` suffix
|
|
23
|
+
* - `1500` becomes `2K` - so the counter keeps a bounded width no matter how
|
|
24
|
+
* large the selection grows.
|
|
25
|
+
*/
|
|
26
|
+
export declare const formatOverflowCount: (count: number) => string;
|
|
27
|
+
/**
|
|
28
|
+
* Every text the counter could show at its widest for a selection of `total`
|
|
29
|
+
* options. K formatting makes the width non-monotonic - "+999" is wider than
|
|
30
|
+
* "+1K" - so the reserve has to measure both the widest sub-thousand text and
|
|
31
|
+
* the full count rather than the full count alone.
|
|
32
|
+
*/
|
|
33
|
+
export declare const getOverflowCounterMeasureTexts: (total: number) => string[];
|
|
34
|
+
type ComboboxOverflowMeasurements = {
|
|
35
|
+
/** Widths of every selected tag, in selection order. */
|
|
36
|
+
tagWidths: number[];
|
|
37
|
+
/** Width of the widest counter tag the current selection could need. */
|
|
38
|
+
counterWidth: number;
|
|
39
|
+
/** Content width of the wrapping value container. */
|
|
40
|
+
containerWidth: number;
|
|
41
|
+
/** Column gap between tags. */
|
|
42
|
+
gap: number;
|
|
43
|
+
/** Maximum number of rows the tags may wrap into. */
|
|
44
|
+
maxRows: number;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* How many tags fit within `maxRows` rows of the value container, mirroring
|
|
48
|
+
* the greedy line breaking of `flex-wrap`. When they all fit, the count is the
|
|
49
|
+
* number of tags and no counter is needed; otherwise the result leaves room
|
|
50
|
+
* for the counter tag on the last permitted row.
|
|
51
|
+
*/
|
|
52
|
+
export declare const computeVisibleTagCount: ({ tagWidths, counterWidth, containerWidth, gap, maxRows, }: ComboboxOverflowMeasurements) => number;
|
|
53
|
+
type UseComboboxMultiValueOverflowOptions = {
|
|
54
|
+
/** Undefined leaves the selection unbounded and skips all measuring. */
|
|
55
|
+
maxRows: number | undefined;
|
|
56
|
+
/** Number of selected options rendered as tags. */
|
|
57
|
+
tagCount: number;
|
|
58
|
+
/**
|
|
59
|
+
* Anything that changes tag widths without changing the container size, such
|
|
60
|
+
* as the selection itself or the control size, so those changes re-measure.
|
|
61
|
+
*/
|
|
62
|
+
measureKey: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Caps the rows of selected tags in a multi select control. All tags stay
|
|
66
|
+
* rendered; the ones past `visibleCount` are taken out of the layout by the
|
|
67
|
+
* stylesheet but stay measurable, so the computation is stable across passes.
|
|
68
|
+
* Width comes from a `ResizeObserver` on the value container, and everything
|
|
69
|
+
* else from `measureKey`.
|
|
70
|
+
*/
|
|
71
|
+
export declare const useComboboxMultiValueOverflow: ({ maxRows, tagCount, measureKey, }: UseComboboxMultiValueOverflowOptions) => {
|
|
72
|
+
containerRef: import("react").RefObject<HTMLDivElement | null>;
|
|
73
|
+
visibleCount: number | null;
|
|
74
|
+
};
|
|
75
|
+
export {};
|
|
76
|
+
//# sourceMappingURL=use-combobox-multi-value-overflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-combobox-multi-value-overflow.d.ts","sourceRoot":"","sources":["../../../src/combobox/use-combobox-multi-value-overflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,KAAG,MACQ,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,GAAI,OAAO,MAAM,KAAG,MAAM,EAMlE,CAAC;AAEJ,KAAK,4BAA4B,GAAG;IAClC,wDAAwD;IACxD,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,wEAAwE;IACxE,YAAY,EAAE,MAAM,CAAC;IACrB,qDAAqD;IACrD,cAAc,EAAE,MAAM,CAAC;IACvB,+BAA+B;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GAAI,4DAMpC,4BAA4B,KAAG,MAyDjC,CAAC;AAEF,KAAK,oCAAoC,GAAG;IAC1C,wEAAwE;IACxE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,mDAAmD;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B,GAAI,oCAI3C,oCAAoC;;;CA4FtC,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
type UseComboboxPopoverOptions = {
|
|
23
|
+
isOpen: boolean;
|
|
24
|
+
onOpenChange: (isOpen: boolean) => void;
|
|
25
|
+
isDisabled: boolean;
|
|
26
|
+
isPortaled?: boolean;
|
|
27
|
+
floatingStrategy?: 'absolute' | 'fixed';
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Anchors the combobox panel to the control. Deliberately does not use
|
|
31
|
+
* `useRole`, since the ARIA lives on the trigger button rather than on the
|
|
32
|
+
* reference element, and the composition differs between the searchable and
|
|
33
|
+
* select-only patterns.
|
|
34
|
+
*/
|
|
35
|
+
export declare function useComboboxPopover({ isOpen, onOpenChange, isDisabled, isPortaled: isPortaledProp, floatingStrategy, }: UseComboboxPopoverOptions): {
|
|
36
|
+
context: {
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
placement: import("@floating-ui/react-dom").Placement;
|
|
40
|
+
strategy: import("@floating-ui/react-dom").Strategy;
|
|
41
|
+
middlewareData: import("@floating-ui/react-dom").MiddlewareData;
|
|
42
|
+
isPositioned: boolean;
|
|
43
|
+
update: () => void;
|
|
44
|
+
floatingStyles: React.CSSProperties;
|
|
45
|
+
open: boolean;
|
|
46
|
+
onOpenChange: (open: boolean, event?: Event, reason?: import("@floating-ui/react").OpenChangeReason) => void;
|
|
47
|
+
events: import("@floating-ui/react").FloatingEvents;
|
|
48
|
+
dataRef: React.MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
49
|
+
nodeId: string | undefined;
|
|
50
|
+
floatingId: string | undefined;
|
|
51
|
+
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
52
|
+
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
53
|
+
};
|
|
54
|
+
floatingStyles: import("react").CSSProperties;
|
|
55
|
+
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
56
|
+
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
57
|
+
isPortaled: boolean;
|
|
58
|
+
refs: {
|
|
59
|
+
reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
60
|
+
floating: React.MutableRefObject<HTMLElement | null>;
|
|
61
|
+
setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
|
|
62
|
+
setFloating: (node: HTMLElement | null) => void;
|
|
63
|
+
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
64
|
+
};
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=use-combobox-popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-combobox-popover.d.ts","sourceRoot":"","sources":["../../../src/combobox/use-combobox-popover.ts"],"names":[],"mappings":"AAmCA,KAAK,yBAAyB,GAAG;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,YAAY,EACZ,UAAU,EACV,UAAU,EAAE,cAAc,EAC1B,gBAAgB,GACjB,EAAE,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqD3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/date-picker/DatePicker.tsx"],"names":[],"mappings":"AA2BA,OAAO,eAEN,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQpE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAyEpD;;;;;;GAMG;AACH,UAAU,eAAe;IACvB,oDAAoD;
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/date-picker/DatePicker.tsx"],"names":[],"mappings":"AA2BA,OAAO,eAEN,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQpE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAyEpD;;;;;;GAMG;AACH,UAAU,eAAe;IACvB,oDAAoD;IAGpD,cAAc,CAAC,EAAE,KAAK,C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WAAW,CAAC,KAAK,EAAE,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"DismissibleTag.d.ts","sourceRoot":"","sources":["../../../src/dismissible-tag/DismissibleTag.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGrD,UAAU,mBAAmB;IAC3B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,yCAAyC;IACzC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,sBAAsB;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8DAA8D;IAC9D,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,cAAc,GAAI,kFAQ5B,WAAW,CAAC,KAAK,EAAE,mBAAmB,CAAC,4CA2BzC,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -80,4 +80,5 @@ export { SelectIconButton } from './select-icon-button';
|
|
|
80
80
|
export { ReadOnlyTag } from './read-only-tag';
|
|
81
81
|
export { DismissibleTag } from './dismissible-tag';
|
|
82
82
|
export { SelectableTag } from './selectable-tag';
|
|
83
|
+
export * from './combobox';
|
|
83
84
|
//# sourceMappingURL=index.d.ts.map
|
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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mBAAmB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,cAAc,YAAY,CAAC"}
|
|
@@ -23,5 +23,8 @@ import type React from 'react';
|
|
|
23
23
|
import { type GroupBase } from 'react-select';
|
|
24
24
|
import { type PolymorphicCommonProps } from '../_common/types';
|
|
25
25
|
import { type SelectProps } from './types';
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated Use `Combobox` instead. This component will be removed in a future release.
|
|
28
|
+
*/
|
|
26
29
|
export declare const Select: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>, T extends React.ElementType = "div">({ as, label, helpText, errorText, isFluid, size, type, ariaLabel, selectProps, isClean, isDisabled, htmlAttributes, className, style, ref, ...restProps }: PolymorphicCommonProps<T, SelectProps<OptionType, IsMulti, GroupType>>) => import("react/jsx-runtime").JSX.Element;
|
|
27
30
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/select/Select.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK3D,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAoB/D,OAAO,EAAkC,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAuE3E,eAAO,MAAM,MAAM,GACjB,UAAU,EACV,OAAO,SAAS,OAAO,GAAG,KAAK,EAC/B,SAAS,SAAS,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,EAC/D,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EACnC,2JAiBC,sBAAsB,CAAC,CAAC,EAAE,WAAW,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,4CA8KxE,CAAC"}
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/select/Select.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK3D,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAoB/D,OAAO,EAAkC,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAuE3E;;GAEG;AACH,eAAO,MAAM,MAAM,GACjB,UAAU,EACV,OAAO,SAAS,OAAO,GAAG,KAAK,EAC/B,SAAS,SAAS,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,EAC/D,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EACnC,2JAiBC,sBAAsB,CAAC,CAAC,EAAE,WAAW,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,4CA8KxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/text-input/TextInput.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAO7E,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC;;;;;;GAMG;AACH,KAAK,cAAc,GAAG;IACpB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9B,8GAA8G;IAC9G,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,gDAAgD;IAChD,cAAc,CAAC,EAAE,YAAY,CAAC;IAE9B,iDAAiD;IACjD,eAAe,CAAC,EAAE,YAAY,CAAC;IA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ErE,+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;IAEtC,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,4CA8QtC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -82,6 +82,11 @@
|
|
|
82
82
|
"require": "./lib/cjs/color-picker/index.js",
|
|
83
83
|
"import": "./lib/esm/color-picker/index.js"
|
|
84
84
|
},
|
|
85
|
+
"./combobox": {
|
|
86
|
+
"types": "./lib/types/combobox/index.d.ts",
|
|
87
|
+
"require": "./lib/cjs/combobox/index.js",
|
|
88
|
+
"import": "./lib/esm/combobox/index.js"
|
|
89
|
+
},
|
|
85
90
|
"./conditional-wrap": {
|
|
86
91
|
"types": "./lib/types/conditional-wrap/index.d.ts",
|
|
87
92
|
"require": "./lib/cjs/conditional-wrap/index.js",
|
|
@@ -355,7 +360,8 @@
|
|
|
355
360
|
"files": [
|
|
356
361
|
"lib",
|
|
357
362
|
"icons",
|
|
358
|
-
"skills"
|
|
363
|
+
"skills",
|
|
364
|
+
"!skills/*/evals"
|
|
359
365
|
],
|
|
360
366
|
"publishConfig": {
|
|
361
367
|
"access": "public"
|
|
@@ -367,7 +373,6 @@
|
|
|
367
373
|
"@storybook/addon-docs": "10.2.19",
|
|
368
374
|
"@storybook/react-vite": "10.2.19",
|
|
369
375
|
"@svgr/cli": "6.5.1",
|
|
370
|
-
"@tanstack/react-virtual": "3.13.23",
|
|
371
376
|
"@testing-library/jest-dom": "6.9.1",
|
|
372
377
|
"@testing-library/react": "16.3.2",
|
|
373
378
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -399,7 +404,7 @@
|
|
|
399
404
|
"@tanstack/react-table": "8.21.3",
|
|
400
405
|
"react": ">=19.0.0",
|
|
401
406
|
"react-dom": ">=19.0.0",
|
|
402
|
-
"@neo4j-ndl/base": "^4.
|
|
407
|
+
"@neo4j-ndl/base": "^4.18.0"
|
|
403
408
|
},
|
|
404
409
|
"dependencies": {
|
|
405
410
|
"@dnd-kit/core": "6.3.1",
|
|
@@ -408,6 +413,7 @@
|
|
|
408
413
|
"@floating-ui/react-dom": "2.1.9",
|
|
409
414
|
"@heroicons/react": "2.2.0",
|
|
410
415
|
"@neo4j-devtools/word-color": "0.0.8",
|
|
416
|
+
"@tanstack/react-virtual": "3.13.23",
|
|
411
417
|
"@uiw/react-color": "2.8.1",
|
|
412
418
|
"classnames": "2.5.1",
|
|
413
419
|
"date-fns": "4.1.0",
|
|
@@ -43,6 +43,25 @@ Use Neo4j Needle components instead of hand-rolling equivalent UI.
|
|
|
43
43
|
- Compound components are exposed as subcomponents (e.g. `Tooltip.Trigger`,
|
|
44
44
|
`Tooltip.Content`). Follow each component's own doc — don't assume one
|
|
45
45
|
component's compound shape matches another's.
|
|
46
|
+
- **Class names are unchecked strings, and the prefix is not fixed.** A wrong
|
|
47
|
+
prop fails the build, but `className="n-justify-between"` compiles and
|
|
48
|
+
silently renders nothing. Which utility classes exist — and whether they carry
|
|
49
|
+
an `n-` prefix at all — depends on the consuming app, so establish that first
|
|
50
|
+
rather than assuming:
|
|
51
|
+
- No Tailwind build: only classes literally present in
|
|
52
|
+
`node_modules/@neo4j-ndl/base/lib/neo4j-ds-styles.css` apply. Grep it for
|
|
53
|
+
the exact class.
|
|
54
|
+
- Tailwind with the published preset and no override: the preset sets
|
|
55
|
+
`prefix: 'n-'`, so `n-flex` works and `flex` does not.
|
|
56
|
+
- Tailwind where the app's own config sets `prefix` (it overrides the preset,
|
|
57
|
+
and `prefix: ''` is common): the theme is Needle's but the classes are
|
|
58
|
+
unprefixed — `flex` and `text-neutral-text-weaker` work, `n-flex` does not.
|
|
59
|
+
|
|
60
|
+
Check the app's Tailwind config for `prefix` and follow the surrounding code.
|
|
61
|
+
Tailwind-shaped guesses (`n-justify-between`, `n-items-baseline`) and
|
|
62
|
+
near-misses on real scales (`n-gap-token-1` when the scale is 2/4/6/8/12/16)
|
|
63
|
+
become invisible layout bugs, not errors. `Flex`, `Box` and `Typography` with
|
|
64
|
+
token props sidestep the question entirely — prefer them.
|
|
46
65
|
- Follow the accessibility guidance in each component's doc; don't strip built-in
|
|
47
66
|
roles or keyboard behavior.
|
|
48
67
|
|
|
@@ -69,6 +88,7 @@ Import from `@neo4j-ndl/react`.
|
|
|
69
88
|
| `Code` | [components/code.md](components/code.md) | ✅ | 2 |
|
|
70
89
|
| `CodeBlock` | [components/code-block.md](components/code-block.md) | | 8 |
|
|
71
90
|
| `ColorPicker` | [components/color-picker.md](components/color-picker.md) | | 5 |
|
|
91
|
+
| `Combobox` | [components/combobox.md](components/combobox.md) | ✅ | 26 |
|
|
72
92
|
| `ConditionalWrap` | [components/conditional-wrap.md](components/conditional-wrap.md) | | 1 |
|
|
73
93
|
| `DataGrid` | [components/data-grid.md](components/data-grid.md) | | 20 |
|
|
74
94
|
| `DatePicker` | [components/date-picker.md](components/date-picker.md) | ✅ | 15 |
|