@neo4j-ndl/react 3.9.6 → 3.9.8
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/callout/Callout.js +1 -4
- package/lib/cjs/callout/Callout.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-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/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/callout/Callout.js +1 -4
- package/lib/esm/callout/Callout.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-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/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/callout/Callout.d.ts +1 -4
- 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/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 +6 -2
- 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,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,EA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weden 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;;;;;;;;;;;;;;;;;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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"}
|
|
@@ -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,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,0BACE,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,aACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,IAC/B,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,IACZ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,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, 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":[],"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,0BACE,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,aACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,sBAEzB,IACN,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,IACZ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -25,7 +25,7 @@ import { useState } from 'react';
|
|
|
25
25
|
const Component = () => {
|
|
26
26
|
const [underlineValue, setUnderlineValue] = 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;;;;;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B,GAC9C,IACZ,IACF,EAEN,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,uBAAoB,EAC/C,0BACE,MAAC,IAAI,IAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAC,QAAQ,aAC/D,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,IAC/B,EACP,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,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":";AA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,IAAC,OAAO,EAAC,aAAa,wCAAqC,GACxD,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,YAChE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,wCAAqC,GACxD,IACZ,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,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"
|
|
@@ -25,7 +25,7 @@ import { CircleStackIconOutline, DatabaseAddCircleIcon, 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,CAAY,UAAU,CAAC,CAAC;IAE1D,OAAO,CACL,
|
|
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,CAAY,UAAU,CAAC,CAAC;IAE1D,OAAO,CACL,0BACE,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,aACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAC,UAAU,gBAAY,UAAU,YAC9C,KAAC,sBAAsB,KAAG,GACjB,EACX,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAC,KAAK,gBAAY,cAAc,YAC7C,KAAC,qBAAqB,KAAG,GAChB,EACX,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAC,OAAO,gBAAY,OAAO,YACxC,KAAC,yBAAyB,KAAG,GACpB,IACN,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAC,UAAU,YACnE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,oDAEpB,GACC,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAC,KAAK,YAC9D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,gDAEpB,GACC,EAChB,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,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,0BAA0B,YACvC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CAC0B,CAAC;AAE9B,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,WAAW;IACnB,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,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,gBAAgB;IACxB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,sBAAsB;aAC7B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,SAAS;IACjB,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,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"}
|