@neo4j-ndl/react 3.9.5 → 3.9.7
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/ai-presence/stories/ai-presence-default.story.js +1 -1
- package/lib/cjs/ai-presence/stories/ai-presence-default.story.js.map +1 -1
- package/lib/cjs/ai-presence/stories/ai-presence.stories.js +2 -0
- package/lib/cjs/ai-presence/stories/ai-presence.stories.js.map +1 -1
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-default.story.js +30 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-default.story.js.map +1 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-disabled.story.js +30 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-disabled.story.js.map +1 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-not-clean.story.js +30 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-not-clean.story.js.map +1 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js +30 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js.map +1 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-sizes.story.js +30 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-sizes.story.js.map +1 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-tooltip.story.js +38 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier-tooltip.story.js.map +1 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier.stories.js +119 -0
- package/lib/cjs/clipboard-copier/stories/clipboard-copier.stories.js.map +1 -0
- package/lib/cjs/clipboard-copier/stories/index.js +52 -0
- package/lib/cjs/clipboard-copier/stories/index.js.map +1 -0
- package/lib/cjs/color-picker/stories/color-picker-custom-swatches.story.js +26 -26
- package/lib/cjs/color-picker/stories/color-picker-custom-swatches.story.js.map +1 -1
- package/lib/cjs/color-picker/stories/{color-picker-full.story.js → color-picker-default.story.js} +2 -2
- package/lib/cjs/color-picker/stories/color-picker-default.story.js.map +1 -0
- package/lib/cjs/color-picker/stories/{color-picker-without-eye-dropper.story.js → color-picker-without-eyedropper.story.js} +2 -2
- package/lib/cjs/color-picker/stories/color-picker-without-eyedropper.story.js.map +1 -0
- package/lib/cjs/color-picker/stories/color-picker.stories.js +8 -7
- package/lib/cjs/color-picker/stories/color-picker.stories.js.map +1 -1
- package/lib/cjs/color-picker/stories/index.js +9 -9
- package/lib/cjs/color-picker/stories/index.js.map +1 -1
- package/lib/cjs/dialog/stories/dialog-danger.story.js +36 -0
- package/lib/cjs/dialog/stories/dialog-danger.story.js.map +1 -0
- package/lib/cjs/dialog/stories/dialog-default.story.js +34 -0
- package/lib/cjs/dialog/stories/dialog-default.story.js.map +1 -0
- package/lib/cjs/dialog/stories/dialog-image.story.js +40 -0
- package/lib/cjs/dialog/stories/dialog-image.story.js.map +1 -0
- package/lib/cjs/dialog/stories/dialog-info.story.js +36 -0
- package/lib/cjs/dialog/stories/dialog-info.story.js.map +1 -0
- package/lib/cjs/dialog/stories/dialog-top-aligned.story.js +37 -0
- package/lib/cjs/dialog/stories/dialog-top-aligned.story.js.map +1 -0
- package/lib/cjs/dialog/stories/dialog-types.story.js +40 -0
- package/lib/cjs/dialog/stories/dialog-types.story.js.map +1 -0
- package/lib/cjs/dialog/stories/dialog-warning.story.js +36 -0
- package/lib/cjs/dialog/stories/dialog-warning.story.js.map +1 -0
- package/lib/cjs/dialog/stories/dialog.stories.js +150 -0
- package/lib/cjs/dialog/stories/dialog.stories.js.map +1 -0
- package/lib/cjs/dialog/stories/index.js +56 -0
- package/lib/cjs/dialog/stories/index.js.map +1 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-default.story.js +30 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-default.story.js.map +1 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-disabled.story.js +30 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-disabled.story.js.map +1 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-floating.story.js +30 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-floating.story.js.map +1 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-with-avatar.story.js +30 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-with-avatar.story.js.map +1 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-with-context-menu.story.js +35 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-with-context-menu.story.js.map +1 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-with-status-indicator.story.js +30 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button-with-status-indicator.story.js.map +1 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js +119 -0
- package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js.map +1 -0
- package/lib/cjs/dropdown-button/stories/index.js +52 -0
- package/lib/cjs/dropdown-button/stories/index.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label-color.story.js +2 -1
- package/lib/cjs/graph-label/stories/graph-label-color.story.js.map +1 -1
- package/lib/cjs/graph-visualization/graph-visualization-buttons.js +31 -3
- package/lib/cjs/graph-visualization/graph-visualization-buttons.js.map +1 -1
- package/lib/cjs/graph-visualization/graph-visualization.js +26 -3
- package/lib/cjs/graph-visualization/graph-visualization.js.map +1 -1
- package/lib/cjs/graph-visualization/stories/graph-visualization-maximalist.story.js +1 -2
- package/lib/cjs/graph-visualization/stories/graph-visualization-maximalist.story.js.map +1 -1
- package/lib/cjs/graph-visualization/stories/graph-visualization-search.story.js +36 -0
- package/lib/cjs/graph-visualization/stories/graph-visualization-search.story.js.map +1 -0
- package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js +14 -1
- package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
- package/lib/cjs/graph-visualization/stories/index.js +5 -1
- package/lib/cjs/graph-visualization/stories/index.js.map +1 -1
- package/lib/cjs/graph-visualization/use-semi-controlled-state.js +7 -2
- package/lib/cjs/graph-visualization/use-semi-controlled-state.js.map +1 -1
- package/lib/cjs/graph-visualization/utils.js +39 -1
- package/lib/cjs/graph-visualization/utils.js.map +1 -1
- package/lib/cjs/icon-button-array/stories/icon-button-array-collapsible.story.js +31 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-collapsible.story.js.map +1 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-floating.story.js +31 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-floating.story.js.map +1 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-horizontal.story.js +31 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-horizontal.story.js.map +1 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js +31 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-vertical.story.js +31 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array-vertical.story.js.map +1 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js +106 -0
- package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js.map +1 -0
- package/lib/cjs/icon-button-array/stories/index.js +48 -0
- package/lib/cjs/icon-button-array/stories/index.js.map +1 -0
- package/lib/cjs/modal/stories/index.js +40 -0
- package/lib/cjs/modal/stories/index.js.map +1 -0
- package/lib/cjs/modal/stories/modal-contained.story.js +38 -0
- package/lib/cjs/modal/stories/modal-contained.story.js.map +1 -0
- package/lib/cjs/modal/stories/modal-default.story.js +37 -0
- package/lib/cjs/modal/stories/modal-default.story.js.map +1 -0
- package/lib/cjs/modal/stories/modal-sizes.story.js +42 -0
- package/lib/cjs/modal/stories/modal-sizes.story.js.map +1 -0
- package/lib/cjs/modal/stories/modal.stories.js +91 -0
- package/lib/cjs/modal/stories/modal.stories.js.map +1 -0
- package/lib/cjs/progress-bar/stories/index.js +40 -0
- package/lib/cjs/progress-bar/stories/index.js.map +1 -0
- package/lib/cjs/progress-bar/stories/progress-bar-default.story.js +30 -0
- package/lib/cjs/progress-bar/stories/progress-bar-default.story.js.map +1 -0
- package/lib/cjs/progress-bar/stories/progress-bar-heading.story.js +30 -0
- package/lib/cjs/progress-bar/stories/progress-bar-heading.story.js.map +1 -0
- package/lib/cjs/progress-bar/stories/progress-bar-sizes.story.js +30 -0
- package/lib/cjs/progress-bar/stories/progress-bar-sizes.story.js.map +1 -0
- package/lib/cjs/progress-bar/stories/progress-bar.stories.js +80 -0
- package/lib/cjs/progress-bar/stories/progress-bar.stories.js.map +1 -0
- package/lib/cjs/tabs/stories/tabs-default.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-default.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-disabled.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-disabled.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-fill-variants.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-fill-variants.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-sizes.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-sizes.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs-with-icons.story.js +1 -1
- package/lib/cjs/tabs/stories/tabs-with-icons.story.js.map +1 -1
- package/lib/cjs/tabs/stories/tabs.stories.js +1 -1
- package/lib/cjs/tabs/stories/tabs.stories.js.map +1 -1
- package/lib/cjs/tag/stories/tag-sizes.story.js +1 -1
- package/lib/cjs/tag/stories/tag-sizes.story.js.map +1 -1
- package/lib/cjs/text-area/TextArea.js +2 -2
- package/lib/cjs/text-area/TextArea.js.map +1 -1
- package/lib/cjs/text-area/stories/index.js +60 -0
- package/lib/cjs/text-area/stories/index.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area-default.story.js +30 -0
- package/lib/cjs/text-area/stories/text-area-default.story.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area-disabled.story.js +30 -0
- package/lib/cjs/text-area/stories/text-area-disabled.story.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area-error.story.js +30 -0
- package/lib/cjs/text-area/stories/text-area-error.story.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area-fluid.story.js +30 -0
- package/lib/cjs/text-area/stories/text-area-fluid.story.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area-information-icon.story.js +34 -0
- package/lib/cjs/text-area/stories/text-area-information-icon.story.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area-optional.story.js +30 -0
- package/lib/cjs/text-area/stories/text-area-optional.story.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area-resizable-style.story.js +30 -0
- package/lib/cjs/text-area/stories/text-area-resizable-style.story.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area-sizes.story.js +30 -0
- package/lib/cjs/text-area/stories/text-area-sizes.story.js.map +1 -0
- package/lib/cjs/text-area/stories/text-area.stories.js +148 -0
- package/lib/cjs/text-area/stories/text-area.stories.js.map +1 -0
- package/lib/esm/ai-presence/stories/ai-presence-default.story.js +1 -1
- package/lib/esm/ai-presence/stories/ai-presence-default.story.js.map +1 -1
- package/lib/esm/ai-presence/stories/ai-presence.stories.js +2 -0
- package/lib/esm/ai-presence/stories/ai-presence.stories.js.map +1 -1
- package/lib/esm/clipboard-copier/stories/clipboard-copier-default.story.js +28 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-default.story.js.map +1 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-disabled.story.js +28 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-disabled.story.js.map +1 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-not-clean.story.js +28 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-not-clean.story.js.map +1 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js +28 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js.map +1 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-sizes.story.js +28 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-sizes.story.js.map +1 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-tooltip.story.js +36 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier-tooltip.story.js.map +1 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier.stories.js +116 -0
- package/lib/esm/clipboard-copier/stories/clipboard-copier.stories.js.map +1 -0
- package/lib/esm/clipboard-copier/stories/index.js +40 -0
- package/lib/esm/clipboard-copier/stories/index.js.map +1 -0
- package/lib/esm/color-picker/stories/color-picker-custom-swatches.story.js +26 -26
- package/lib/esm/color-picker/stories/color-picker-custom-swatches.story.js.map +1 -1
- package/lib/esm/color-picker/stories/{color-picker-full.story.js → color-picker-default.story.js} +2 -2
- package/lib/esm/color-picker/stories/color-picker-default.story.js.map +1 -0
- package/lib/esm/color-picker/stories/{color-picker-without-eye-dropper.story.js → color-picker-without-eyedropper.story.js} +2 -2
- package/lib/esm/color-picker/stories/color-picker-without-eyedropper.story.js.map +1 -0
- package/lib/esm/color-picker/stories/color-picker.stories.js +8 -7
- package/lib/esm/color-picker/stories/color-picker.stories.js.map +1 -1
- package/lib/esm/color-picker/stories/index.js +5 -5
- package/lib/esm/color-picker/stories/index.js.map +1 -1
- package/lib/esm/dialog/stories/dialog-danger.story.js +34 -0
- package/lib/esm/dialog/stories/dialog-danger.story.js.map +1 -0
- package/lib/esm/dialog/stories/dialog-default.story.js +32 -0
- package/lib/esm/dialog/stories/dialog-default.story.js.map +1 -0
- package/lib/esm/dialog/stories/dialog-image.story.js +35 -0
- package/lib/esm/dialog/stories/dialog-image.story.js.map +1 -0
- package/lib/esm/dialog/stories/dialog-info.story.js +34 -0
- package/lib/esm/dialog/stories/dialog-info.story.js.map +1 -0
- package/lib/esm/dialog/stories/dialog-top-aligned.story.js +35 -0
- package/lib/esm/dialog/stories/dialog-top-aligned.story.js.map +1 -0
- package/lib/esm/dialog/stories/dialog-types.story.js +38 -0
- package/lib/esm/dialog/stories/dialog-types.story.js.map +1 -0
- package/lib/esm/dialog/stories/dialog-warning.story.js +34 -0
- package/lib/esm/dialog/stories/dialog-warning.story.js.map +1 -0
- package/lib/esm/dialog/stories/dialog.stories.js +144 -0
- package/lib/esm/dialog/stories/dialog.stories.js.map +1 -0
- package/lib/esm/dialog/stories/index.js +43 -0
- package/lib/esm/dialog/stories/index.js.map +1 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-default.story.js +28 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-default.story.js.map +1 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-disabled.story.js +28 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-disabled.story.js.map +1 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-floating.story.js +28 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-floating.story.js.map +1 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-with-avatar.story.js +28 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-with-avatar.story.js.map +1 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-with-context-menu.story.js +33 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-with-context-menu.story.js.map +1 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-with-status-indicator.story.js +28 -0
- package/lib/esm/dropdown-button/stories/dropdown-button-with-status-indicator.story.js.map +1 -0
- package/lib/esm/dropdown-button/stories/dropdown-button.stories.js +116 -0
- package/lib/esm/dropdown-button/stories/dropdown-button.stories.js.map +1 -0
- package/lib/esm/dropdown-button/stories/index.js +40 -0
- package/lib/esm/dropdown-button/stories/index.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label-color.story.js +2 -1
- package/lib/esm/graph-label/stories/graph-label-color.story.js.map +1 -1
- package/lib/esm/graph-visualization/graph-visualization-buttons.js +31 -4
- package/lib/esm/graph-visualization/graph-visualization-buttons.js.map +1 -1
- package/lib/esm/graph-visualization/graph-visualization.js +27 -4
- package/lib/esm/graph-visualization/graph-visualization.js.map +1 -1
- package/lib/esm/graph-visualization/stories/graph-visualization-maximalist.story.js +1 -2
- package/lib/esm/graph-visualization/stories/graph-visualization-maximalist.story.js.map +1 -1
- package/lib/esm/graph-visualization/stories/graph-visualization-search.story.js +34 -0
- package/lib/esm/graph-visualization/stories/graph-visualization-search.story.js.map +1 -0
- package/lib/esm/graph-visualization/stories/graph-visualization.stories.js +14 -1
- package/lib/esm/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
- package/lib/esm/graph-visualization/stories/index.js +3 -0
- package/lib/esm/graph-visualization/stories/index.js.map +1 -1
- package/lib/esm/graph-visualization/use-semi-controlled-state.js +7 -2
- package/lib/esm/graph-visualization/use-semi-controlled-state.js.map +1 -1
- package/lib/esm/graph-visualization/utils.js +35 -0
- package/lib/esm/graph-visualization/utils.js.map +1 -1
- package/lib/esm/icon-button-array/stories/icon-button-array-collapsible.story.js +29 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-collapsible.story.js.map +1 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-floating.story.js +29 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-floating.story.js.map +1 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-horizontal.story.js +29 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-horizontal.story.js.map +1 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js +29 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-vertical.story.js +29 -0
- package/lib/esm/icon-button-array/stories/icon-button-array-vertical.story.js.map +1 -0
- package/lib/esm/icon-button-array/stories/icon-button-array.stories.js +103 -0
- package/lib/esm/icon-button-array/stories/icon-button-array.stories.js.map +1 -0
- package/lib/esm/icon-button-array/stories/index.js +37 -0
- package/lib/esm/icon-button-array/stories/index.js.map +1 -0
- package/lib/esm/modal/stories/index.js +31 -0
- package/lib/esm/modal/stories/index.js.map +1 -0
- package/lib/esm/modal/stories/modal-contained.story.js +36 -0
- package/lib/esm/modal/stories/modal-contained.story.js.map +1 -0
- package/lib/esm/modal/stories/modal-default.story.js +35 -0
- package/lib/esm/modal/stories/modal-default.story.js.map +1 -0
- package/lib/esm/modal/stories/modal-sizes.story.js +40 -0
- package/lib/esm/modal/stories/modal-sizes.story.js.map +1 -0
- package/lib/esm/modal/stories/modal.stories.js +85 -0
- package/lib/esm/modal/stories/modal.stories.js.map +1 -0
- package/lib/esm/progress-bar/stories/index.js +31 -0
- package/lib/esm/progress-bar/stories/index.js.map +1 -0
- package/lib/esm/progress-bar/stories/progress-bar-default.story.js +28 -0
- package/lib/esm/progress-bar/stories/progress-bar-default.story.js.map +1 -0
- package/lib/esm/progress-bar/stories/progress-bar-heading.story.js +28 -0
- package/lib/esm/progress-bar/stories/progress-bar-heading.story.js.map +1 -0
- package/lib/esm/progress-bar/stories/progress-bar-sizes.story.js +28 -0
- package/lib/esm/progress-bar/stories/progress-bar-sizes.story.js.map +1 -0
- package/lib/esm/progress-bar/stories/progress-bar.stories.js +77 -0
- package/lib/esm/progress-bar/stories/progress-bar.stories.js.map +1 -0
- package/lib/esm/tabs/stories/tabs-default.story.js +2 -2
- package/lib/esm/tabs/stories/tabs-default.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-disabled.story.js +2 -2
- package/lib/esm/tabs/stories/tabs-disabled.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-fill-variants.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-fill-variants.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-sizes.story.js +1 -1
- package/lib/esm/tabs/stories/tabs-sizes.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs-with-icons.story.js +2 -2
- package/lib/esm/tabs/stories/tabs-with-icons.story.js.map +1 -1
- package/lib/esm/tabs/stories/tabs.stories.js +1 -1
- package/lib/esm/tabs/stories/tabs.stories.js.map +1 -1
- package/lib/esm/tag/stories/tag-sizes.story.js +1 -1
- package/lib/esm/tag/stories/tag-sizes.story.js.map +1 -1
- package/lib/esm/text-area/TextArea.js +2 -2
- package/lib/esm/text-area/TextArea.js.map +1 -1
- package/lib/esm/text-area/stories/index.js +46 -0
- package/lib/esm/text-area/stories/index.js.map +1 -0
- package/lib/esm/text-area/stories/text-area-default.story.js +28 -0
- package/lib/esm/text-area/stories/text-area-default.story.js.map +1 -0
- package/lib/esm/text-area/stories/text-area-disabled.story.js +28 -0
- package/lib/esm/text-area/stories/text-area-disabled.story.js.map +1 -0
- package/lib/esm/text-area/stories/text-area-error.story.js +28 -0
- package/lib/esm/text-area/stories/text-area-error.story.js.map +1 -0
- package/lib/esm/text-area/stories/text-area-fluid.story.js +28 -0
- package/lib/esm/text-area/stories/text-area-fluid.story.js.map +1 -0
- package/lib/esm/text-area/stories/text-area-information-icon.story.js +32 -0
- package/lib/esm/text-area/stories/text-area-information-icon.story.js.map +1 -0
- package/lib/esm/text-area/stories/text-area-optional.story.js +28 -0
- package/lib/esm/text-area/stories/text-area-optional.story.js.map +1 -0
- package/lib/esm/text-area/stories/text-area-resizable-style.story.js +28 -0
- package/lib/esm/text-area/stories/text-area-resizable-style.story.js.map +1 -0
- package/lib/esm/text-area/stories/text-area-sizes.story.js +28 -0
- package/lib/esm/text-area/stories/text-area-sizes.story.js.map +1 -0
- package/lib/esm/text-area/stories/text-area.stories.js +145 -0
- package/lib/esm/text-area/stories/text-area.stories.js.map +1 -0
- package/lib/types/ai-presence/stories/ai-presence.stories.d.ts +3 -17
- package/lib/types/clipboard-copier/stories/clipboard-copier-default.story.d.ts +23 -0
- package/lib/types/clipboard-copier/stories/clipboard-copier-disabled.story.d.ts +23 -0
- package/lib/types/clipboard-copier/stories/clipboard-copier-not-clean.story.d.ts +23 -0
- package/lib/types/clipboard-copier/stories/clipboard-copier-not-icon-button.story.d.ts +23 -0
- package/lib/types/clipboard-copier/stories/clipboard-copier-sizes.story.d.ts +23 -0
- package/lib/types/clipboard-copier/stories/clipboard-copier-tooltip.story.d.ts +23 -0
- package/lib/types/clipboard-copier/stories/clipboard-copier.stories.d.ts +31 -0
- package/lib/types/clipboard-copier/stories/index.d.ts +32 -0
- package/lib/types/color-picker/stories/color-picker.stories.d.ts +4 -24
- package/lib/types/color-picker/stories/index.d.ts +3 -3
- package/lib/types/dialog/stories/dialog-danger.story.d.ts +25 -0
- package/lib/types/dialog/stories/dialog-default.story.d.ts +25 -0
- package/lib/types/dialog/stories/dialog-image.story.d.ts +25 -0
- package/lib/types/dialog/stories/dialog-info.story.d.ts +25 -0
- package/lib/types/dialog/stories/dialog-top-aligned.story.d.ts +25 -0
- package/lib/types/dialog/stories/dialog-types.story.d.ts +25 -0
- package/lib/types/dialog/stories/dialog-warning.story.d.ts +25 -0
- package/lib/types/dialog/stories/dialog.stories.d.ts +32 -0
- package/lib/types/dialog/stories/index.d.ts +34 -0
- package/lib/types/dropdown-button/stories/dropdown-button-default.story.d.ts +23 -0
- package/lib/types/dropdown-button/stories/dropdown-button-disabled.story.d.ts +23 -0
- package/lib/types/dropdown-button/stories/dropdown-button-floating.story.d.ts +23 -0
- package/lib/types/dropdown-button/stories/dropdown-button-with-avatar.story.d.ts +23 -0
- package/lib/types/dropdown-button/stories/dropdown-button-with-context-menu.story.d.ts +23 -0
- package/lib/types/dropdown-button/stories/dropdown-button-with-status-indicator.story.d.ts +23 -0
- package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts +31 -0
- package/lib/types/dropdown-button/stories/index.d.ts +32 -0
- package/lib/types/graph-visualization/graph-visualization-buttons.d.ts +8 -0
- package/lib/types/graph-visualization/graph-visualization.d.ts +14 -1
- package/lib/types/graph-visualization/stories/graph-visualization-search.story.d.ts +22 -0
- package/lib/types/graph-visualization/stories/graph-visualization.stories.d.ts +1 -0
- package/lib/types/graph-visualization/stories/index.d.ts +2 -0
- package/lib/types/graph-visualization/use-semi-controlled-state.d.ts +3 -1
- package/lib/types/graph-visualization/utils.d.ts +6 -0
- package/lib/types/icon-button-array/stories/icon-button-array-collapsible.story.d.ts +23 -0
- package/lib/types/icon-button-array/stories/icon-button-array-floating.story.d.ts +23 -0
- package/lib/types/icon-button-array/stories/icon-button-array-horizontal.story.d.ts +23 -0
- package/lib/types/icon-button-array/stories/icon-button-array-sizes.story.d.ts +23 -0
- package/lib/types/icon-button-array/stories/icon-button-array-vertical.story.d.ts +23 -0
- package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts +30 -0
- package/lib/types/icon-button-array/stories/index.d.ts +30 -0
- package/lib/types/modal/stories/index.d.ts +26 -0
- package/lib/types/modal/stories/modal-contained.story.d.ts +25 -0
- package/lib/types/modal/stories/modal-default.story.d.ts +25 -0
- package/lib/types/modal/stories/modal-sizes.story.d.ts +25 -0
- package/lib/types/modal/stories/modal.stories.d.ts +28 -0
- package/lib/types/progress-bar/stories/index.d.ts +26 -0
- package/lib/types/progress-bar/stories/progress-bar-default.story.d.ts +23 -0
- package/lib/types/progress-bar/stories/progress-bar-heading.story.d.ts +23 -0
- package/lib/types/progress-bar/stories/progress-bar-sizes.story.d.ts +23 -0
- package/lib/types/progress-bar/stories/progress-bar.stories.d.ts +28 -0
- package/lib/types/text-area/stories/index.d.ts +36 -0
- package/lib/types/text-area/stories/text-area-default.story.d.ts +23 -0
- package/lib/types/text-area/stories/text-area-disabled.story.d.ts +23 -0
- package/lib/types/text-area/stories/text-area-error.story.d.ts +23 -0
- package/lib/types/text-area/stories/text-area-fluid.story.d.ts +23 -0
- package/lib/types/text-area/stories/text-area-information-icon.story.d.ts +23 -0
- package/lib/types/text-area/stories/text-area-optional.story.d.ts +23 -0
- package/lib/types/text-area/stories/text-area-resizable-style.story.d.ts +23 -0
- package/lib/types/text-area/stories/text-area-sizes.story.d.ts +23 -0
- package/lib/types/text-area/stories/text-area.stories.d.ts +33 -0
- package/package.json +9 -5
- package/lib/cjs/color-picker/stories/color-picker-full.story.js.map +0 -1
- package/lib/cjs/color-picker/stories/color-picker-without-eye-dropper.story.js.map +0 -1
- package/lib/esm/color-picker/stories/color-picker-full.story.js.map +0 -1
- package/lib/esm/color-picker/stories/color-picker-without-eye-dropper.story.js.map +0 -1
- /package/lib/types/color-picker/stories/{color-picker-full.story.d.ts → color-picker-default.story.d.ts} +0 -0
- /package/lib/types/color-picker/stories/{color-picker-without-eye-dropper.story.d.ts → color-picker-without-eyedropper.story.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-button-array-horizontal.story.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array-horizontal.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EACL,iBAAiB,EACjB,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,MAAC,eAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,aACrD,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,0BAA0B,KAAG,GACnB,EACb,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,iBAAiB,KAAG,GACV,IACG,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { IconButton, IconButtonArray } from '@neo4j-ndl/react';
|
|
24
|
+
import { FunnelIconOutline, MagnifyingGlassIconOutline, } from '@neo4j-ndl/react/icons';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
return (_jsxs("div", { className: "n-flex n-items-start n-gap-token-6", children: [_jsxs(IconButtonArray, { orientation: "horizontal", size: "small", children: [_jsx(IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: _jsx(FunnelIconOutline, {}) })] }), _jsxs(IconButtonArray, { orientation: "horizontal", size: "medium", children: [_jsx(IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: _jsx(FunnelIconOutline, {}) })] }), _jsxs(IconButtonArray, { orientation: "horizontal", size: "large", children: [_jsx(IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: _jsx(FunnelIconOutline, {}) })] })] }));
|
|
27
|
+
};
|
|
28
|
+
export default Component;
|
|
29
|
+
//# sourceMappingURL=icon-button-array-sizes.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-button-array-sizes.story.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EACL,iBAAiB,EACjB,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,oCAAoC,aACjD,MAAC,eAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,aACpD,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,0BAA0B,KAAG,GACnB,EACb,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,iBAAiB,KAAG,GACV,IACG,EAClB,MAAC,eAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,aACrD,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,0BAA0B,KAAG,GACnB,EACb,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,iBAAiB,KAAG,GACV,IACG,EAClB,MAAC,eAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,aACpD,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,0BAA0B,KAAG,GACnB,EACb,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,iBAAiB,KAAG,GACV,IACG,IACd,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { IconButton, IconButtonArray } from '@neo4j-ndl/react';
|
|
24
|
+
import { FunnelIconOutline, MagnifyingGlassIconOutline, } from '@neo4j-ndl/react/icons';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
return (_jsxs(IconButtonArray, { orientation: "vertical", size: "medium", children: [_jsx(IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: _jsx(MagnifyingGlassIconOutline, {}) }), _jsx(IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: _jsx(FunnelIconOutline, {}) })] }));
|
|
27
|
+
};
|
|
28
|
+
export default Component;
|
|
29
|
+
//# sourceMappingURL=icon-button-array-vertical.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-button-array-vertical.story.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array-vertical.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EACL,iBAAiB,EACjB,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,MAAC,eAAe,IAAC,WAAW,EAAC,UAAU,EAAC,IAAI,EAAC,QAAQ,aACnD,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,0BAA0B,KAAG,GACnB,EACb,KAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,KAAC,iBAAiB,KAAG,GACV,IACG,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
+
import { IconButtonArray } from '../../index';
|
|
24
|
+
import { IconButtonArrayCollapsible, IconButtonArrayCollapsibleSrc, IconButtonArrayFloating, IconButtonArrayFloatingSrc, IconButtonArrayHorizontal, IconButtonArrayHorizontalSrc, IconButtonArraySizes, IconButtonArraySizesSrc, IconButtonArrayVertical, IconButtonArrayVerticalSrc, } from './';
|
|
25
|
+
const componentMeta = {
|
|
26
|
+
title: 'Components/Buttons/Icon Array',
|
|
27
|
+
id: 'components-buttons-icon-array',
|
|
28
|
+
component: IconButtonArray,
|
|
29
|
+
tags: ['docsPage'],
|
|
30
|
+
parameters: {
|
|
31
|
+
controls: { disable: true },
|
|
32
|
+
},
|
|
33
|
+
decorators: [
|
|
34
|
+
(Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
|
|
35
|
+
],
|
|
36
|
+
};
|
|
37
|
+
export default componentMeta;
|
|
38
|
+
export const Horizontal = {
|
|
39
|
+
args: {},
|
|
40
|
+
render: IconButtonArrayHorizontal,
|
|
41
|
+
parameters: {
|
|
42
|
+
docs: {
|
|
43
|
+
source: {
|
|
44
|
+
language: 'tsx',
|
|
45
|
+
type: 'code',
|
|
46
|
+
code: IconButtonArrayHorizontalSrc,
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
export const Vertical = {
|
|
52
|
+
args: {},
|
|
53
|
+
render: IconButtonArrayVertical,
|
|
54
|
+
parameters: {
|
|
55
|
+
docs: {
|
|
56
|
+
source: {
|
|
57
|
+
language: 'tsx',
|
|
58
|
+
type: 'code',
|
|
59
|
+
code: IconButtonArrayVerticalSrc,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
export const Floating = {
|
|
65
|
+
args: {},
|
|
66
|
+
render: IconButtonArrayFloating,
|
|
67
|
+
parameters: {
|
|
68
|
+
docs: {
|
|
69
|
+
source: {
|
|
70
|
+
language: 'tsx',
|
|
71
|
+
type: 'code',
|
|
72
|
+
code: IconButtonArrayFloatingSrc,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
export const Collapsiable = {
|
|
78
|
+
args: {},
|
|
79
|
+
render: IconButtonArrayCollapsible,
|
|
80
|
+
parameters: {
|
|
81
|
+
docs: {
|
|
82
|
+
source: {
|
|
83
|
+
language: 'tsx',
|
|
84
|
+
type: 'code',
|
|
85
|
+
code: IconButtonArrayCollapsibleSrc,
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
export const Sizes = {
|
|
91
|
+
args: {},
|
|
92
|
+
render: IconButtonArraySizes,
|
|
93
|
+
parameters: {
|
|
94
|
+
docs: {
|
|
95
|
+
source: {
|
|
96
|
+
language: 'tsx',
|
|
97
|
+
type: 'code',
|
|
98
|
+
code: IconButtonArraySizesSrc,
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=icon-button-array.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-button-array.stories.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array.stories.tsx"],"names":[],"mappings":";AAsBA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,GAC3B,MAAM,IAAI,CAAC;AAEZ,MAAM,aAAa,GAAiC;IAClD,KAAK,EAAE,+BAA+B;IACtC,EAAE,EAAE,+BAA+B;IACnC,SAAS,EAAE,eAAe;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,yBAAyB;IACjC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,4BAA4B;aACnC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,uBAAuB;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,0BAA0B;aACjC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,uBAAuB;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,0BAA0B;aACjC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,0BAA0B;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,6BAA6B;aACpC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,oBAAoB;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,uBAAuB;aAC9B;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
export { default as IconButtonArrayHorizontal } from './icon-button-array-horizontal.story';
|
|
22
|
+
export { default as IconButtonArrayVertical } from './icon-button-array-vertical.story';
|
|
23
|
+
export { default as IconButtonArrayFloating } from './icon-button-array-floating.story';
|
|
24
|
+
export { default as IconButtonArrayCollapsible } from './icon-button-array-collapsible.story';
|
|
25
|
+
export { default as IconButtonArraySizes } from './icon-button-array-sizes.story';
|
|
26
|
+
import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
|
|
27
|
+
import IconButtonArrayCollapsibleSrcRaw from './icon-button-array-collapsible.story?raw';
|
|
28
|
+
import IconButtonArrayFloatingSrcRaw from './icon-button-array-floating.story?raw';
|
|
29
|
+
import IconButtonArrayHorizontalSrcRaw from './icon-button-array-horizontal.story?raw';
|
|
30
|
+
import IconButtonArraySizesSrcRaw from './icon-button-array-sizes.story?raw';
|
|
31
|
+
import IconButtonArrayVerticalSrcRaw from './icon-button-array-vertical.story?raw';
|
|
32
|
+
export const IconButtonArrayHorizontalSrc = removeLicenseHeader(IconButtonArrayHorizontalSrcRaw);
|
|
33
|
+
export const IconButtonArrayVerticalSrc = removeLicenseHeader(IconButtonArrayVerticalSrcRaw);
|
|
34
|
+
export const IconButtonArrayFloatingSrc = removeLicenseHeader(IconButtonArrayFloatingSrcRaw);
|
|
35
|
+
export const IconButtonArrayCollapsibleSrc = removeLicenseHeader(IconButtonArrayCollapsibleSrcRaw);
|
|
36
|
+
export const IconButtonArraySizesSrc = removeLicenseHeader(IconButtonArraySizesSrcRaw);
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAElF,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,gCAAgC,MAAM,2CAA2C,CAAC;AACzF,OAAO,6BAA6B,MAAM,wCAAwC,CAAC;AACnF,OAAO,+BAA+B,MAAM,0CAA0C,CAAC;AACvF,OAAO,0BAA0B,MAAM,qCAAqC,CAAC;AAC7E,OAAO,6BAA6B,MAAM,wCAAwC,CAAC;AAEnF,MAAM,CAAC,MAAM,4BAA4B,GAAG,mBAAmB,CAC7D,+BAA+B,CAChC,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAC3D,6BAA6B,CAC9B,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAC3D,6BAA6B,CAC9B,CAAC;AACF,MAAM,CAAC,MAAM,6BAA6B,GAAG,mBAAmB,CAC9D,gCAAgC,CACjC,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ModalDefault } from './modal-default.story';
|
|
22
|
+
export { default as ModalContained } from './modal-contained.story';
|
|
23
|
+
export { default as ModalSizes } from './modal-sizes.story';
|
|
24
|
+
import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
|
|
25
|
+
import ModalContainedSrcRaw from './modal-contained.story.tsx?raw';
|
|
26
|
+
import ModalDefaultSrcRaw from './modal-default.story.tsx?raw';
|
|
27
|
+
import ModalSizesSrcRaw from './modal-sizes.story.tsx?raw';
|
|
28
|
+
export const ModalDefaultSrc = removeLicenseHeader(ModalDefaultSrcRaw);
|
|
29
|
+
export const ModalContainedSrc = removeLicenseHeader(ModalContainedSrcRaw);
|
|
30
|
+
export const ModalSizesSrc = removeLicenseHeader(ModalSizesSrcRaw);
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modal/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,kBAAkB,MAAM,+BAA+B,CAAC;AAC/D,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAE3D,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, Modal, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = (props) => {
|
|
26
|
+
const [isOpen, setIsOpen] = useState(props.isOpen);
|
|
27
|
+
const [stateContainer, setContainer] = useState(null);
|
|
28
|
+
const handleClick = () => setIsOpen((prev) => !prev);
|
|
29
|
+
const handleClose = () => setIsOpen(false);
|
|
30
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Button, { onClick: handleClick, children: "Open Modal" }) }), _jsx("div", { className: "n-flex n-justify-center n-mt-2", children: _jsx("div", { className: "n-border n-size-[400px] n-relative n-border-black n-border-solid", ref: (newRef) => setContainer(newRef), children: _jsx("p", { children: "Relative positioned container" }) }) }), _jsx(Modal, { container: stateContainer !== null && stateContainer !== void 0 ? stateContainer : undefined, modalProps: {
|
|
31
|
+
id: 'contained-modal',
|
|
32
|
+
className: 'n-p-token-4 n-bg-neutral-10 n-rounded-lg',
|
|
33
|
+
}, onClose: handleClose, isOpen: isOpen, size: "unset", children: _jsx("div", { className: "n-flex n-justify-center n-items-center n-h-32", children: _jsx(Typography, { variant: "body-medium", children: "Modal Content" }) }) })] }));
|
|
34
|
+
};
|
|
35
|
+
export default Component;
|
|
36
|
+
//# sourceMappingURL=modal-contained.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-contained.story.js","sourceRoot":"","sources":["../../../../src/modal/stories/modal-contained.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;IAC/C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5D,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAiB,IAAI,CAAC,CAAC;IACtE,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAE3C,OAAO,CACL,8BACE,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,2BAAqB,GAC7C,EACN,cAAK,SAAS,EAAC,gCAAgC,YAC7C,cACE,SAAS,EAAC,kEAAkE,EAC5E,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,YAErC,wDAAoC,GAChC,GACF,EACN,KAAC,KAAK,IACJ,SAAS,EAAE,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,SAAS,EACtC,UAAU,EAAE;oBACV,EAAE,EAAE,iBAAiB;oBACrB,SAAS,EAAE,0CAA0C;iBACtD,EACD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,EACd,IAAI,EAAC,OAAO,YAEZ,cAAK,SAAS,EAAC,+CAA+C,YAC5D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GACxD,GACA,IACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, Modal, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = (props) => {
|
|
26
|
+
const [isOpen, setIsOpen] = useState(props.isOpen);
|
|
27
|
+
const handleClick = () => setIsOpen((prev) => !prev);
|
|
28
|
+
const handleClose = () => setIsOpen(false);
|
|
29
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Button, { onClick: handleClick, children: "Open Modal" }) }), _jsx(Modal, { modalProps: {
|
|
30
|
+
id: 'default-modal',
|
|
31
|
+
className: 'n-bg-neutral-10 n-max-w-max n-rounded-lg',
|
|
32
|
+
}, onClose: handleClose, isOpen: isOpen, children: _jsx("div", { className: "n-flex n-justify-center n-items-center n-h-32", children: _jsx(Typography, { variant: 'code', children: "Modal Content" }) }) })] }));
|
|
33
|
+
};
|
|
34
|
+
export default Component;
|
|
35
|
+
//# sourceMappingURL=modal-default.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-default.story.js","sourceRoot":"","sources":["../../../../src/modal/stories/modal-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;IAC/C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5D,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAE3C,OAAO,CACL,8BACE,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,2BAAqB,GAC7C,EACN,KAAC,KAAK,IACJ,UAAU,EAAE;oBACV,EAAE,EAAE,eAAe;oBACnB,SAAS,EAAE,0CAA0C;iBACtD,EACD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,YAEd,cAAK,SAAS,EAAC,+CAA+C,YAC5D,KAAC,UAAU,IAAC,OAAO,EAAE,MAAM,8BAA4B,GACnD,GACA,IACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, Modal, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const SIZES = ['small', 'medium', 'large', 'unset'];
|
|
26
|
+
const Component = (props) => {
|
|
27
|
+
const [isOpen, setIsOpen] = useState(props.isOpen);
|
|
28
|
+
const [size, setSize] = useState('medium');
|
|
29
|
+
const handleClick = (size) => {
|
|
30
|
+
setSize(size);
|
|
31
|
+
setIsOpen((prev) => !prev);
|
|
32
|
+
};
|
|
33
|
+
const handleClose = () => setIsOpen(false);
|
|
34
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "n-flex n-gap-2", children: SIZES.map((size) => (_jsx(Button, { onClick: () => handleClick(size), children: `${size} size` }, size))) }), _jsx(Modal, { modalProps: {
|
|
35
|
+
id: 'default-modal',
|
|
36
|
+
className: 'n-p-token-4 n-bg-neutral-10 n-max-w-max n-rounded-lg',
|
|
37
|
+
}, onClose: handleClose, isOpen: isOpen, size: size, children: _jsx("div", { className: "n-flex n-justify-center n-items-center n-h-32", children: _jsx(Typography, { variant: 'code', children: "Modal Content" }) }) })] }));
|
|
38
|
+
};
|
|
39
|
+
export default Component;
|
|
40
|
+
//# sourceMappingURL=modal-sizes.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-sizes.story.js","sourceRoot":"","sources":["../../../../src/modal/stories/modal-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,KAAK,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAU,CAAC;AAE7D,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;IAC/C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5D,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAyB,QAAQ,CAAC,CAAC;IACnE,MAAM,WAAW,GAAG,CAAC,IAA4B,EAAE,EAAE;QACnD,OAAO,CAAC,IAAI,CAAC,CAAC;QACd,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC,CAAC;IACF,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAE3C,OAAO,CACL,8BACE,cAAK,SAAS,EAAC,gBAAgB,YAC5B,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,KAAC,MAAM,IAAY,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,YAChD,GAAG,IAAI,OAAO,IADJ,IAAI,CAER,CACV,CAAC,GACE,EACN,KAAC,KAAK,IACJ,UAAU,EAAE;oBACV,EAAE,EAAE,eAAe;oBACnB,SAAS,EAAE,sDAAsD;iBAClE,EACD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,YAEV,cAAK,SAAS,EAAC,+CAA+C,YAC5D,KAAC,UAAU,IAAC,OAAO,EAAE,MAAM,8BAA4B,GACnD,GACA,IACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
+
import isChromatic from 'chromatic/isChromatic';
|
|
24
|
+
import { Modal } from '../../index';
|
|
25
|
+
import { ModalContained, ModalContainedSrc, ModalDefault, ModalDefaultSrc, ModalSizes, ModalSizesSrc, } from '.';
|
|
26
|
+
const componentMeta = {
|
|
27
|
+
title: 'Components/Modal',
|
|
28
|
+
id: 'components-modal',
|
|
29
|
+
component: Modal,
|
|
30
|
+
tags: ['docsPage'],
|
|
31
|
+
parameters: {
|
|
32
|
+
controls: { disable: true },
|
|
33
|
+
chromatic: { delay: 100 },
|
|
34
|
+
},
|
|
35
|
+
decorators: [
|
|
36
|
+
(Story) => (_jsx("div", { className: "n-flex n-flex-col n-items-center n-justify-center", children: _jsx(Story, {}) })),
|
|
37
|
+
],
|
|
38
|
+
};
|
|
39
|
+
export default componentMeta;
|
|
40
|
+
export const Default = {
|
|
41
|
+
args: {
|
|
42
|
+
isOpen: isChromatic(),
|
|
43
|
+
},
|
|
44
|
+
render: ModalDefault,
|
|
45
|
+
parameters: {
|
|
46
|
+
docs: {
|
|
47
|
+
source: {
|
|
48
|
+
language: 'tsx',
|
|
49
|
+
type: 'code',
|
|
50
|
+
code: ModalDefaultSrc,
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
export const Contained = {
|
|
56
|
+
args: {
|
|
57
|
+
isOpen: isChromatic(),
|
|
58
|
+
},
|
|
59
|
+
render: ModalContained,
|
|
60
|
+
parameters: {
|
|
61
|
+
docs: {
|
|
62
|
+
source: {
|
|
63
|
+
language: 'tsx',
|
|
64
|
+
type: 'code',
|
|
65
|
+
code: ModalContainedSrc,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
export const Sizes = {
|
|
71
|
+
args: {
|
|
72
|
+
isOpen: isChromatic(),
|
|
73
|
+
},
|
|
74
|
+
render: ModalSizes,
|
|
75
|
+
parameters: {
|
|
76
|
+
docs: {
|
|
77
|
+
source: {
|
|
78
|
+
language: 'tsx',
|
|
79
|
+
type: 'code',
|
|
80
|
+
code: ModalSizesSrc,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=modal.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.stories.js","sourceRoot":"","sources":["../../../../src/modal/stories/modal.stories.tsx"],"names":[],"mappings":";AAqBA,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,UAAU,EACV,aAAa,GACd,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAuB;IACxC,KAAK,EAAE,kBAAkB;IACzB,EAAE,EAAE,kBAAkB;IACtB,SAAS,EAAE,KAAK;IAChB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;QAC3B,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE;KAC1B;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,mDAAmD,YAChE,KAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,MAAM,EAAE,WAAW,EAAE;KACtB;IACD,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,eAAe;aACtB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE;QACJ,MAAM,EAAE,WAAW,EAAE;KACtB;IACD,MAAM,EAAE,cAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,iBAAiB;aACxB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE;QACJ,MAAM,EAAE,WAAW,EAAE;KACtB;IACD,MAAM,EAAE,UAAU;IAClB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa;aACpB;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
|
|
22
|
+
import ProgressBarDefaultSourceRaw from './progress-bar-default.story?raw';
|
|
23
|
+
import ProgressBarHeadingSourceRaw from './progress-bar-heading.story?raw';
|
|
24
|
+
import ProgressBarSizesSourceRaw from './progress-bar-sizes.story?raw';
|
|
25
|
+
export { default as ProgressBarHeading } from './progress-bar-heading.story';
|
|
26
|
+
export { default as ProgressBarDefault } from './progress-bar-default.story';
|
|
27
|
+
export { default as ProgressBarSizes } from './progress-bar-sizes.story';
|
|
28
|
+
export const ProgressBarDefaultSource = removeLicenseHeader(ProgressBarDefaultSourceRaw);
|
|
29
|
+
export const ProgressBarHeadingSource = removeLicenseHeader(ProgressBarHeadingSourceRaw);
|
|
30
|
+
export const ProgressBarSizesSource = removeLicenseHeader(ProgressBarSizesSourceRaw);
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/progress-bar/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,2BAA2B,MAAM,kCAAkC,CAAC;AAC3E,OAAO,2BAA2B,MAAM,kCAAkC,CAAC;AAC3E,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AAEvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CACzD,2BAA2B,CAC5B,CAAC;AACF,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CACzD,2BAA2B,CAC5B,CAAC;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CACvD,yBAAyB,CAC1B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { ProgressBar } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return _jsx(ProgressBar, { value: 75, size: "large" });
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=progress-bar-default.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar-default.story.js","sourceRoot":"","sources":["../../../../src/progress-bar/stories/progress-bar-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,WAAW,IAAC,KAAK,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,GAAG,CAAC;AACjD,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { ProgressBar } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return _jsx(ProgressBar, { heading: "Importing data", value: 75, size: "large" });
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=progress-bar-heading.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar-heading.story.js","sourceRoot":"","sources":["../../../../src/progress-bar/stories/progress-bar-heading.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,WAAW,IAAC,OAAO,EAAC,gBAAgB,EAAC,KAAK,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,GAAG,CAAC;AAC1E,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { ProgressBar } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-6", children: [_jsx(ProgressBar, { value: 75, size: "small" }), _jsx(ProgressBar, { value: 75, size: "large" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=progress-bar-sizes.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar-sizes.story.js","sourceRoot":"","sources":["../../../../src/progress-bar/stories/progress-bar-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,WAAW,IAAC,KAAK,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,GAAG,EACvC,KAAC,WAAW,IAAC,KAAK,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,GAAG,IACnC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|