@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,77 @@
|
|
|
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 { ProgressBar } from '../../index';
|
|
24
|
+
import { ProgressBarDefault, ProgressBarDefaultSource, ProgressBarHeading, ProgressBarHeadingSource, ProgressBarSizes, ProgressBarSizesSource, } from '.';
|
|
25
|
+
const componentMeta = {
|
|
26
|
+
component: ProgressBar,
|
|
27
|
+
id: 'components-progress-bar',
|
|
28
|
+
parameters: {
|
|
29
|
+
controls: { disable: true },
|
|
30
|
+
},
|
|
31
|
+
tags: ['docsPage'],
|
|
32
|
+
title: 'Components/Progress Bar',
|
|
33
|
+
decorators: [
|
|
34
|
+
(Story) => (_jsx("div", { className: "n-w-1/4 n-mx-auto", children: _jsx(Story, {}) })),
|
|
35
|
+
],
|
|
36
|
+
};
|
|
37
|
+
export default componentMeta;
|
|
38
|
+
export const Default = {
|
|
39
|
+
args: {},
|
|
40
|
+
parameters: {
|
|
41
|
+
docs: {
|
|
42
|
+
source: {
|
|
43
|
+
code: ProgressBarDefaultSource,
|
|
44
|
+
language: 'tsx',
|
|
45
|
+
type: 'code',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
render: ProgressBarDefault,
|
|
50
|
+
};
|
|
51
|
+
export const Heading = {
|
|
52
|
+
args: {},
|
|
53
|
+
parameters: {
|
|
54
|
+
docs: {
|
|
55
|
+
source: {
|
|
56
|
+
code: ProgressBarHeadingSource,
|
|
57
|
+
language: 'tsx',
|
|
58
|
+
type: 'code',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
render: ProgressBarHeading,
|
|
63
|
+
};
|
|
64
|
+
export const Sizes = {
|
|
65
|
+
args: {},
|
|
66
|
+
parameters: {
|
|
67
|
+
docs: {
|
|
68
|
+
source: {
|
|
69
|
+
code: ProgressBarSizesSource,
|
|
70
|
+
language: 'tsx',
|
|
71
|
+
type: 'code',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
render: ProgressBarSizes,
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=progress-bar.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar.stories.js","sourceRoot":"","sources":["../../../../src/progress-bar/stories/progress-bar.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAA6B;IAC9C,SAAS,EAAE,WAAW;IACtB,EAAE,EAAE,yBAAyB;IAC7B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,yBAAyB;IAChC,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,wBAAwB;gBAC9B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,wBAAwB;gBAC9B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,sBAAsB;gBAC5B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,gBAAgB;CACzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) "Neo4j"
|
|
@@ -24,7 +24,7 @@ import { Tabs, Typography } from '@neo4j-ndl/react';
|
|
|
24
24
|
import { useState } from 'react';
|
|
25
25
|
const Component = () => {
|
|
26
26
|
const [value, setValue] = useState(0);
|
|
27
|
-
return (_jsxs(
|
|
27
|
+
return (_jsxs("div", { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] }));
|
|
28
28
|
};
|
|
29
29
|
export default Component;
|
|
30
30
|
//# sourceMappingURL=tabs-default.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-default.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAEjD,OAAO,CACL,
|
|
1
|
+
{"version":3,"file":"tabs-default.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,O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|
|
@@ -24,7 +24,7 @@ import { Tabs, Typography } from '@neo4j-ndl/react';
|
|
|
24
24
|
import { useState } from 'react';
|
|
25
25
|
const Component = () => {
|
|
26
26
|
const [value, setValue] = useState(0);
|
|
27
|
-
return (_jsxs(
|
|
27
|
+
return (_jsxs("div", { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, isDisabled: true, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] }));
|
|
28
28
|
};
|
|
29
29
|
export default Component;
|
|
30
30
|
//# sourceMappingURL=tabs-disabled.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-disabled.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAEjD,OAAO,CACL,
|
|
1
|
+
{"version":3,"file":"tabs-disabled.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-disabled.story.tsx"],"names":[],"mapp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nderlineValue] = useState(0);
|
|
27
27
|
const [filledValue, setFilledValue] = useState(0);
|
|
28
|
-
return (_jsxs("div", { className: "n-flex n-
|
|
28
|
+
return (_jsxs("div", { className: "n-flex n-gap-token-8", children: [_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Underline (Default)" }), _jsxs("div", { children: [_jsxs(Tabs, { value: underlineValue, onChange: setUnderlineValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] })] }), _jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Filled" }), _jsxs("div", { children: [_jsxs(Tabs, { value: filledValue, onChange: setFilledValue, fill: "filled", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] })] })] }));
|
|
29
29
|
};
|
|
30
30
|
export default Component;
|
|
31
31
|
//# sourceMappingURL=tabs-fill-variants.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-fill-variants.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-fill-variants.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IACnE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAE7D,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"tabs-fill-variants.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-fill-variants.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IACnE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAE7D,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,oCAAiC,EAC5D,0BAC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,YACjE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,YACjE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,YACjE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,IACZ,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -25,7 +25,7 @@ import { useState } from 'react';
|
|
|
25
25
|
const Component = () => {
|
|
26
26
|
const [smallValue, setSmallValue] = useState(0);
|
|
27
27
|
const [largeValue, setLargeValue] = useState(0);
|
|
28
|
-
return (_jsxs("div", { className: "n-flex n-
|
|
28
|
+
return (_jsxs("div", { className: "n-flex n-gap-token-8", children: [_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Small Size" }), _jsxs("div", { className: "n-w-fit", children: [_jsxs(Tabs, { value: smallValue, onChange: setSmallValue, size: "small", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-2", value: smallValue, tabId: 0, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 1" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-2", value: smallValue, tabId: 1, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 2" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-2", value: smallValue, tabId: 2, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 3" }) })] })] }), _jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Large Size (Default)" }), _jsxs(Tabs, { value: largeValue, onChange: setLargeValue, size: "large", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 1" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 2" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 3" }) })] })] }));
|
|
29
29
|
};
|
|
30
30
|
export default Component;
|
|
31
31
|
//# sourceMappingURL=tabs-sizes.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-sizes.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAC3D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAE3D,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"tabs-sizes.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-sizes.story.tsx"],"names":[],"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, InboxArrowDownIconOutlin
|
|
|
25
25
|
import { useState } from 'react';
|
|
26
26
|
const Component = () => {
|
|
27
27
|
const [value, setValue] = useState('database');
|
|
28
|
-
return (_jsxs(
|
|
28
|
+
return (_jsxs("div", { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: "database", "aria-label": "Database", children: _jsx(CircleStackIconOutline, {}) }), _jsx(Tabs.Tab, { tabId: "add", "aria-label": "Add database", children: _jsx(DatabaseAddCircleIcon, {}) }), _jsx(Tabs.Tab, { tabId: "inbox", "aria-label": "Inbox", children: _jsx(InboxArrowDownIconOutline, {}) })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: "database", children: _jsx(Typography, { variant: "body-medium", children: "Database management and operations." }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: "add", children: _jsx(Typography, { variant: "body-medium", children: "Add new database or connection." }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: "inbox", children: _jsx(Typography, { variant: "body-medium", children: "Inbox notifications and messages." }) })] }));
|
|
29
29
|
};
|
|
30
30
|
export default Component;
|
|
31
31
|
//# sourceMappingURL=tabs-with-icons.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-with-icons.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-with-icons.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAA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KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAC,OAAO,YAChE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,kDAEpB,GACC,IACZ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -31,7 +31,7 @@ const componentMeta = {
|
|
|
31
31
|
controls: { disable: true },
|
|
32
32
|
},
|
|
33
33
|
decorators: [
|
|
34
|
-
(Story) => (_jsx("div", { className: "n-
|
|
34
|
+
(Story) => (_jsx("div", { className: "n-flex n-justify-center ", children: _jsx(Story, {}) })),
|
|
35
35
|
],
|
|
36
36
|
};
|
|
37
37
|
export default componentMeta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.stories.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,aAAa,EACb,mBAAmB,GACpB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAsB;IACvC,KAAK,EAAE,iBAAiB;IACxB,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,IAAI;IACf,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,
|
|
1
|
+
{"version":3,"file":"tabs.stories.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,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;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,aAAa;IACrB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,mBAAmB;aAC1B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,kBAAkB;aACzB;SACF;KACF;CACF,CAAC"}
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
22
22
|
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
23
|
import { Tag } from '@neo4j-ndl/react';
|
|
24
24
|
const Component = () => {
|
|
25
|
-
return (_jsxs("div", { className: "n-flex n-gap-token-6", children: [_jsx(Tag, { size: "small", children: "Small" }), _jsx(Tag, { size: "medium", children: "Medium" }), _jsx(Tag, { size: "large", children: "Large" })] }));
|
|
25
|
+
return (_jsxs("div", { className: "n-flex n-items-start n-gap-token-6", children: [_jsx(Tag, { size: "small", children: "Small" }), _jsx(Tag, { size: "medium", children: "Medium" }), _jsx(Tag, { size: "large", children: "Large" })] }));
|
|
26
26
|
};
|
|
27
27
|
export default Component;
|
|
28
28
|
//# sourceMappingURL=tag-sizes.story.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag-sizes.story.js","sourceRoot":"","sources":["../../../../src/tag/stories/tag-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"tag-sizes.story.js","sourceRoot":"","sources":["../../../../src/tag/stories/tag-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,oCAAoC,aACjD,KAAC,GAAG,IAAC,IAAI,EAAC,OAAO,sBAAY,EAC7B,KAAC,GAAG,IAAC,IAAI,EAAC,QAAQ,uBAAa,EAC/B,KAAC,GAAG,IAAC,IAAI,EAAC,OAAO,sBAAY,IACzB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -34,7 +34,7 @@ import { Tooltip } from '../tooltip';
|
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
export const TextArea = forwardRef(function TextArea(props, ref) {
|
|
37
|
-
const { label, isFluid, errorText, helpText, isOptional = false, informationIconText, size = 'medium', ariaLabel: ariaLabel, tooltipProps, isDisabled, className, isReadOnly, value, placeholder, htmlAttributes, } = props;
|
|
37
|
+
const { label, isFluid, errorText, helpText, isOptional = false, informationIconText, size = 'medium', ariaLabel: ariaLabel, tooltipProps, isDisabled, className, style, isReadOnly, value, placeholder, htmlAttributes, } = props;
|
|
38
38
|
const containerWrappingClasses = classNames(`ndl-text-area ndl-type-text`, className, {
|
|
39
39
|
'ndl-disabled': isDisabled,
|
|
40
40
|
'ndl-small': size === 'small',
|
|
@@ -63,6 +63,6 @@ export const TextArea = forwardRef(function TextArea(props, ref) {
|
|
|
63
63
|
'ndl-information-icon-small': size === 'small' || size === 'medium',
|
|
64
64
|
'ndl-information-icon-large': size === 'large',
|
|
65
65
|
});
|
|
66
|
-
return (_jsxs("div", { className: containerWrappingClasses, children: [_jsxs("label", { className: labelWrappingClasses, children: [_jsx("div", { className: "ndl-text-area-wrapper", children: _jsx("textarea", Object.assign({ disabled: isDisabled, ref: ref, "aria-label": ariaLabel, readOnly: isReadOnly, value: value, placeholder: placeholder }, htmlAttributes)) }), !hasEmptyLabelValue && (_jsxs("div", { className: "ndl-text-area-wrapper", children: [_jsx("span", { className: "ndl-text-area-label-text", children: label }), informationIconText && (_jsxs(Tooltip, Object.assign({ type: "simple" }, tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.tooltipRoot, { children: [_jsx(Tooltip.Trigger, Object.assign({}, tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.tooltipTrigger, { children: _jsx("div", { className: informationIconClasses, "data-testid": "ndl-information-icon", children: _jsx(InformationCircleIconOutline, {}) }) })), _jsx(Tooltip.Content, Object.assign({}, tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.tooltipContent, { children: informationIconText }))] }))), isOptional && (_jsx("span", { className: "ndl-text-area-optional", children: "Optional" }))] }))] }), helpText && !errorText && (_jsx("div", { className: "ndl-text-area-msg", children: helpText })), errorText && (_jsxs("div", { className: "ndl-text-area-msg", children: [_jsx("div", { className: "ndl-error-icon", children: _jsx(ExclamationCircleIconSolid, {}) }), _jsx("div", { className: "ndl-error-text", children: errorText })] }))] }));
|
|
66
|
+
return (_jsxs("div", { className: containerWrappingClasses, children: [_jsxs("label", { className: labelWrappingClasses, children: [_jsx("div", { className: "ndl-text-area-wrapper", children: _jsx("textarea", Object.assign({ disabled: isDisabled, ref: ref, "aria-label": ariaLabel, readOnly: isReadOnly, value: value, placeholder: placeholder, style: style }, htmlAttributes)) }), !hasEmptyLabelValue && (_jsxs("div", { className: "ndl-text-area-wrapper", children: [_jsx("span", { className: "ndl-text-area-label-text", children: label }), informationIconText && (_jsxs(Tooltip, Object.assign({ type: "simple" }, tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.tooltipRoot, { children: [_jsx(Tooltip.Trigger, Object.assign({}, tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.tooltipTrigger, { children: _jsx("div", { className: informationIconClasses, "data-testid": "ndl-information-icon", children: _jsx(InformationCircleIconOutline, {}) }) })), _jsx(Tooltip.Content, Object.assign({}, tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.tooltipContent, { children: informationIconText }))] }))), isOptional && (_jsx("span", { className: "ndl-text-area-optional", children: "Optional" }))] }))] }), helpText && !errorText && (_jsx("div", { className: "ndl-text-area-msg", children: helpText })), errorText && (_jsxs("div", { className: "ndl-text-area-msg", children: [_jsx("div", { className: "ndl-error-icon", children: _jsx(ExclamationCircleIconSolid, {}) }), _jsx("div", { className: "ndl-error-text", children: errorText })] }))] }));
|
|
67
67
|
});
|
|
68
68
|
//# sourceMappingURL=TextArea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.js","sourceRoot":"","sources":["../../../src/text-area/TextArea.tsx"],"names":[],"mappings":";AAqBA,OAAO,EAAqB,UAAU,EAAkB,OAAO,EAAE,MAAM,OAAO,CAAC;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAE,uCAAuC,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAyDrC;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC,SAAS,QAAQ,CAClD,KAAoB,EACpB,GAAsC;IAEtC,MAAM,EACJ,KAAK,EACL,OAAO,EACP,SAAS,EACT,QAAQ,EACR,UAAU,GAAG,KAAK,EAClB,mBAAmB,EACnB,IAAI,GAAG,QA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B,YAAE,KAAK,GAAQ,EACxD,mBAAmB,IAAI,CACtB,MAAC,OAAO,kBAAC,IAAI,EAAC,QAAQ,IAAK,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,WAAW,eAClD,KAAC,OAAO,CAAC,OAAO,oBAAK,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,cAAc,cAC/C,cACE,SAAS,EAAE,sBAAsB,iBACrB,sBAAsB,YAElC,KAAC,4BAA4B,KAAG,GAC5B,IACU,EAClB,KAAC,OAAO,CAAC,OAAO,oBAAK,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,cAAc,cAC9C,mBAAmB,IACJ,KACV,CACX,EACA,UAAU,IAAI,CACb,eAAM,SAAS,EAAC,wBAAwB,yBAAgB,CACzD,IACG,CACP,IACK,EACP,QAAQ,IAAI,CAAC,SAAS,IAAI,CACzB,cAAK,SAAS,EAAC,mBAAmB,YAAE,QAAQ,GAAO,CACpD,EACA,SAAS,IAAI,CACZ,eAAK,SAAS,EAAC,mBAAmB,aAChC,cAAK,SAAS,EAAC,gBAAgB,YAC7B,KAAC,0BAA0B,KAAG,GAC1B,EACN,cAAK,SAAS,EAAC,gBAAgB,YAAE,SAAS,GAAO,IAC7C,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 TextAreaDefault } from './text-area-default.story';
|
|
22
|
+
export { default as TextAreaResizable } from './text-area-resizable-style.story';
|
|
23
|
+
export { default as TextAreaOptional } from './text-area-optional.story';
|
|
24
|
+
export { default as TextAreaError } from './text-area-error.story';
|
|
25
|
+
export { default as TextAreaDisabled } from './text-area-disabled.story';
|
|
26
|
+
export { default as TextAreaFluid } from './text-area-fluid.story';
|
|
27
|
+
export { default as TextAreaSizes } from './text-area-sizes.story';
|
|
28
|
+
export { default as TextAreaInformationIcon } from './text-area-information-icon.story';
|
|
29
|
+
import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
|
|
30
|
+
import TextAreaDefaultSrcRaw from './text-area-default.story?raw';
|
|
31
|
+
import TextAreaDisabledSrcRaw from './text-area-disabled.story?raw';
|
|
32
|
+
import TextAreaErrorSrcRaw from './text-area-error.story?raw';
|
|
33
|
+
import TextAreaFluidSrcRaw from './text-area-fluid.story?raw';
|
|
34
|
+
import TextAreaInformationIconSrcRaw from './text-area-information-icon.story?raw';
|
|
35
|
+
import TextAreaOptionalSrcRaw from './text-area-optional.story?raw';
|
|
36
|
+
import TextAreaResizableSrcRaw from './text-area-resizable-style.story?raw';
|
|
37
|
+
import TextAreaSizesSrcRaw from './text-area-sizes.story?raw';
|
|
38
|
+
export const TextAreaDefaultSrc = removeLicenseHeader(TextAreaDefaultSrcRaw);
|
|
39
|
+
export const TextAreaResizableSrc = removeLicenseHeader(TextAreaResizableSrcRaw);
|
|
40
|
+
export const TextAreaOptionalSrc = removeLicenseHeader(TextAreaOptionalSrcRaw);
|
|
41
|
+
export const TextAreaErrorSrc = removeLicenseHeader(TextAreaErrorSrcRaw);
|
|
42
|
+
export const TextAreaDisabledSrc = removeLicenseHeader(TextAreaDisabledSrcRaw);
|
|
43
|
+
export const TextAreaFluidSrc = removeLicenseHeader(TextAreaFluidSrcRaw);
|
|
44
|
+
export const TextAreaSizesSrc = removeLicenseHeader(TextAreaSizesSrcRaw);
|
|
45
|
+
export const TextAreaInformationIconSrc = removeLicenseHeader(TextAreaInformationIconSrcRaw);
|
|
46
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/text-area/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAExF,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,qBAAqB,MAAM,+BAA+B,CAAC;AAClE,OAAO,sBAAsB,MAAM,gCAAgC,CAAC;AACpE,OAAO,mBAAmB,MAAM,6BAA6B,CAAC;AAC9D,OAAO,mBAAmB,MAAM,6BAA6B,CAAC;AAC9D,OAAO,6BAA6B,MAAM,wCAAwC,CAAC;AACnF,OAAO,sBAAsB,MAAM,gCAAgC,CAAC;AACpE,OAAO,uBAAuB,MAAM,uCAAuC,CAAC;AAC5E,OAAO,mBAAmB,MAAM,6BAA6B,CAAC;AAE9D,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,qBAAqB,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAC3D,6BAA6B,CAC9B,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 { TextArea } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(TextArea, { label: "Label", helpText: "Friendly help text", placeholder: "Placeholder text" }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=text-area-default.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-default.story.js","sourceRoot":"","sources":["../../../../src/text-area/stories/text-area-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,QAAQ,IACP,KAAK,EAAC,OAAO,EACb,QAAQ,EAAC,oBAAoB,EAC7B,WAAW,EAAC,kBAAkB,GAC9B,CACH,CAAC;AACJ,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 { TextArea } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return _jsx(TextArea, { value: "Example", label: "Label", isDisabled: true });
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=text-area-disabled.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-disabled.story.js","sourceRoot":"","sources":["../../../../src/text-area/stories/text-area-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,QAAQ,IAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC,OAAO,EAAC,UAAU,EAAE,IAAI,GAAI,CAAC;AACtE,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 { TextArea } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return _jsx(TextArea, { label: "Label", errorText: "This is an error message" });
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=text-area-error.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-error.story.js","sourceRoot":"","sources":["../../../../src/text-area/stories/text-area-error.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,EAAC,SAAS,EAAC,0BAA0B,GAAG,CAAC;AACzE,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 { TextArea } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(TextArea, { label: "Label", helpText: "Friendly help text", isFluid: true }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=text-area-fluid.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-fluid.story.js","sourceRoot":"","sources":["../../../../src/text-area/stories/text-area-fluid.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,EAAC,QAAQ,EAAC,oBAAoB,EAAC,OAAO,EAAE,IAAI,GAAI,CACxE,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { TextArea } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(TextArea, { label: "Label", informationIconText: "Information icon text", tooltipProps: {
|
|
26
|
+
tooltipRoot: {
|
|
27
|
+
placement: 'right',
|
|
28
|
+
},
|
|
29
|
+
} }));
|
|
30
|
+
};
|
|
31
|
+
export default Component;
|
|
32
|
+
//# sourceMappingURL=text-area-information-icon.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-information-icon.story.js","sourceRoot":"","sources":["../../../../src/text-area/stories/text-area-information-icon.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,QAAQ,IACP,KAAK,EAAC,OAAO,EACb,mBAAmB,EAAC,uBAAuB,EAC3C,YAAY,EAAE;YACZ,WAAW,EAAE;gBACX,SAAS,EAAE,OAAO;aACnB;SACF,GACD,CACH,CAAC;AACJ,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 { TextArea } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(TextArea, { label: "Label", helpText: "Friendly help text", isOptional: true }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=text-area-optional.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-optional.story.js","sourceRoot":"","sources":["../../../../src/text-area/stories/text-area-optional.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,EAAC,QAAQ,EAAC,oBAAoB,EAAC,UAAU,EAAE,IAAI,GAAI,CAC3E,CAAC;AACJ,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 { TextArea } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(TextArea, { label: "Resizable", style: { resize: 'both' }, helpText: "Try pulling in the corner" }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=text-area-resizable-style.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-resizable-style.story.js","sourceRoot":"","sources":["../../../../src/text-area/stories/text-area-resizable-style.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,QAAQ,IACP,KAAK,EAAC,WAAW,EACjB,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EACzB,QAAQ,EAAC,2BAA2B,GACpC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|