@neo4j-ndl/react 3.8.34 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/avatar/stories/avatar-shapes.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-shapes.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar-sizes.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-sizes.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar-statuses.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-statuses.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar-types.story.js +1 -1
- package/lib/cjs/avatar/stories/avatar-types.story.js.map +1 -1
- package/lib/cjs/avatar/stories/avatar.stories.js +12 -1
- package/lib/cjs/avatar/stories/avatar.stories.js.map +1 -1
- package/lib/cjs/callout/stories/callout-default.story.js +30 -0
- package/lib/cjs/callout/stories/callout-default.story.js.map +1 -0
- package/lib/cjs/callout/stories/callout-full.story.js +30 -0
- package/lib/cjs/callout/stories/callout-full.story.js.map +1 -0
- package/lib/cjs/callout/stories/callout-types.story.js +30 -0
- package/lib/cjs/callout/stories/callout-types.story.js.map +1 -0
- package/lib/cjs/callout/stories/callout-with-children.story.js +30 -0
- package/lib/cjs/callout/stories/callout-with-children.story.js.map +1 -0
- package/lib/cjs/callout/stories/callout-without-header.story.js +30 -0
- package/lib/cjs/callout/stories/callout-without-header.story.js.map +1 -0
- package/lib/cjs/callout/stories/callout.stories.js +101 -0
- package/lib/cjs/callout/stories/callout.stories.js.map +1 -0
- package/lib/cjs/callout/stories/index.js +48 -0
- package/lib/cjs/callout/stories/index.js.map +1 -0
- package/lib/cjs/checkbox/stories/checkbox-checkedByDefault.story.js +30 -0
- package/lib/cjs/checkbox/stories/checkbox-checkedByDefault.story.js.map +1 -0
- package/lib/cjs/checkbox/stories/checkbox-default.story.js +30 -0
- package/lib/cjs/checkbox/stories/checkbox-default.story.js.map +1 -0
- package/lib/cjs/checkbox/stories/checkbox-disabled.story.js +30 -0
- package/lib/cjs/checkbox/stories/checkbox-disabled.story.js.map +1 -0
- package/lib/cjs/checkbox/stories/checkbox-full.story.js +39 -0
- package/lib/cjs/checkbox/stories/checkbox-full.story.js.map +1 -0
- package/lib/cjs/checkbox/stories/checkbox-hasLabelBefore.story.js +30 -0
- package/lib/cjs/checkbox/stories/checkbox-hasLabelBefore.story.js.map +1 -0
- package/lib/cjs/checkbox/stories/checkbox-indeterminate.story.js +33 -0
- package/lib/cjs/checkbox/stories/checkbox-indeterminate.story.js.map +1 -0
- package/lib/cjs/checkbox/stories/checkbox-no-label.story.js +30 -0
- package/lib/cjs/checkbox/stories/checkbox-no-label.story.js.map +1 -0
- package/lib/cjs/checkbox/stories/checkbox.stories.js +137 -0
- package/lib/cjs/checkbox/stories/checkbox.stories.js.map +1 -0
- package/lib/cjs/checkbox/stories/index.js +56 -0
- package/lib/cjs/checkbox/stories/index.js.map +1 -0
- package/lib/cjs/context-menu/ContextMenu.js +1 -1
- package/lib/cjs/context-menu/stories/context-menu-custom-items.story.js +33 -0
- package/lib/cjs/context-menu/stories/context-menu-custom-items.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-default.story.js +45 -0
- package/lib/cjs/context-menu/stories/context-menu-default.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-in-modal.story.js +38 -0
- package/lib/cjs/context-menu/stories/context-menu-in-modal.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-in-popover.story.js +34 -0
- package/lib/cjs/context-menu/stories/context-menu-in-popover.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-nested.story.js +34 -0
- package/lib/cjs/context-menu/stories/context-menu-nested.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-placements.story.js +45 -0
- package/lib/cjs/context-menu/stories/context-menu-placements.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-with-disabled-item.story.js +36 -0
- package/lib/cjs/context-menu/stories/context-menu-with-disabled-item.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-with-divider.story.js +36 -0
- package/lib/cjs/context-menu/stories/context-menu-with-divider.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-with-header.story.js +36 -0
- package/lib/cjs/context-menu/stories/context-menu-with-header.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu-with-icon.story.js +34 -0
- package/lib/cjs/context-menu/stories/context-menu-with-icon.story.js.map +1 -0
- package/lib/cjs/context-menu/stories/context-menu.stories.js +170 -0
- package/lib/cjs/context-menu/stories/context-menu.stories.js.map +1 -0
- package/lib/cjs/context-menu/stories/index.js +68 -0
- package/lib/cjs/context-menu/stories/index.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer-full.story.js +36 -0
- package/lib/cjs/drawer/stories/drawer-full.story.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer-not-closeable.story.js +33 -0
- package/lib/cjs/drawer/stories/drawer-not-closeable.story.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer-overlay.story.js +33 -0
- package/lib/cjs/drawer/stories/drawer-overlay.story.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer-portaled.story.js +38 -0
- package/lib/cjs/drawer/stories/drawer-portaled.story.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer-push.story.js +32 -0
- package/lib/cjs/drawer/stories/drawer-push.story.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer-resizable.story.js +36 -0
- package/lib/cjs/drawer/stories/drawer-resizable.story.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer-right-side.story.js +33 -0
- package/lib/cjs/drawer/stories/drawer-right-side.story.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer-scrollable.story.js +33 -0
- package/lib/cjs/drawer/stories/drawer-scrollable.story.js.map +1 -0
- package/lib/cjs/drawer/stories/drawer.stories.js +150 -0
- package/lib/cjs/drawer/stories/drawer.stories.js.map +1 -0
- package/lib/cjs/drawer/stories/index.js +60 -0
- package/lib/cjs/drawer/stories/index.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label-color.story.js +30 -0
- package/lib/cjs/graph-label/stories/graph-label-color.story.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label-disabled.story.js +30 -0
- package/lib/cjs/graph-label/stories/graph-label-disabled.story.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label-fluid.story.js +30 -0
- package/lib/cjs/graph-label/stories/graph-label-fluid.story.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label-non-interactive.story.js +30 -0
- package/lib/cjs/graph-label/stories/graph-label-non-interactive.story.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label-selected.story.js +30 -0
- package/lib/cjs/graph-label/stories/graph-label-selected.story.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label-sizes.story.js +30 -0
- package/lib/cjs/graph-label/stories/graph-label-sizes.story.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label-types.story.js +30 -0
- package/lib/cjs/graph-label/stories/graph-label-types.story.js.map +1 -0
- package/lib/cjs/graph-label/stories/graph-label.stories.js +132 -0
- package/lib/cjs/graph-label/stories/graph-label.stories.js.map +1 -0
- package/lib/cjs/graph-label/stories/index.js +56 -0
- package/lib/cjs/graph-label/stories/index.js.map +1 -0
- package/lib/cjs/label/stories/index.js +44 -0
- package/lib/cjs/label/stories/index.js.map +1 -0
- package/lib/cjs/label/stories/label-colors.story.js +30 -0
- package/lib/cjs/label/stories/label-colors.story.js.map +1 -0
- package/lib/cjs/label/stories/label-default.story.js +30 -0
- package/lib/cjs/label/stories/label-default.story.js.map +1 -0
- package/lib/cjs/label/stories/label-fills.story.js +30 -0
- package/lib/cjs/label/stories/label-fills.story.js.map +1 -0
- package/lib/cjs/label/stories/label-with-icons.story.js +30 -0
- package/lib/cjs/label/stories/label-with-icons.story.js.map +1 -0
- package/lib/cjs/label/stories/label.stories.js +93 -0
- package/lib/cjs/label/stories/label.stories.js.map +1 -0
- package/lib/cjs/loading-bar/stories/index.js +36 -0
- package/lib/cjs/loading-bar/stories/index.js.map +1 -0
- package/lib/cjs/loading-bar/stories/loading-bar-default.story.js +30 -0
- package/lib/cjs/loading-bar/stories/loading-bar-default.story.js.map +1 -0
- package/lib/cjs/loading-bar/stories/loading-bar-with-rail.story.js +30 -0
- package/lib/cjs/loading-bar/stories/loading-bar-with-rail.story.js.map +1 -0
- package/lib/cjs/loading-bar/stories/loading-bar.stories.js +67 -0
- package/lib/cjs/loading-bar/stories/loading-bar.stories.js.map +1 -0
- package/lib/cjs/loading-spinner/stories/index.js +36 -0
- package/lib/cjs/loading-spinner/stories/index.js.map +1 -0
- package/lib/cjs/loading-spinner/stories/loading-spinner-default.story.js +30 -0
- package/lib/cjs/loading-spinner/stories/loading-spinner-default.story.js.map +1 -0
- package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js +30 -0
- package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -0
- package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js +67 -0
- package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js.map +1 -0
- package/lib/cjs/segmented-control/stories/index.js +44 -0
- package/lib/cjs/segmented-control/stories/index.js.map +1 -0
- package/lib/cjs/segmented-control/stories/segmented-control-default.story.js +32 -0
- package/lib/cjs/segmented-control/stories/segmented-control-default.story.js.map +1 -0
- package/lib/cjs/segmented-control/stories/segmented-control-floating.story.js +32 -0
- package/lib/cjs/segmented-control/stories/segmented-control-floating.story.js.map +1 -0
- package/lib/cjs/segmented-control/stories/segmented-control-only-icons.story.js +33 -0
- package/lib/cjs/segmented-control/stories/segmented-control-only-icons.story.js.map +1 -0
- package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js +33 -0
- package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js.map +1 -0
- package/lib/cjs/segmented-control/stories/segmented-control.stories.js +93 -0
- package/lib/cjs/segmented-control/stories/segmented-control.stories.js.map +1 -0
- package/lib/cjs/slider/stories/index.js +25 -5
- package/lib/cjs/slider/stories/index.js.map +1 -1
- package/lib/cjs/slider/stories/slider-custom-step-length.story.js +31 -0
- package/lib/cjs/slider/stories/slider-custom-step-length.story.js.map +1 -0
- package/lib/cjs/slider/stories/slider-default.story.js +31 -0
- package/lib/cjs/slider/stories/slider-default.story.js.map +1 -0
- package/lib/cjs/slider/stories/slider-disabled.story.js +31 -0
- package/lib/cjs/slider/stories/slider-disabled.story.js.map +1 -0
- package/lib/cjs/slider/stories/slider-range.story.js +2 -2
- package/lib/cjs/slider/stories/slider-range.story.js.map +1 -1
- package/lib/cjs/slider/stories/slider-show-steps.story.js +31 -0
- package/lib/cjs/slider/stories/slider-show-steps.story.js.map +1 -0
- package/lib/cjs/slider/stories/slider-show-values.story.js +31 -0
- package/lib/cjs/slider/stories/slider-show-values.story.js.map +1 -0
- package/lib/cjs/slider/stories/slider-single-controlled.story.js +49 -6
- package/lib/cjs/slider/stories/slider-single-controlled.story.js.map +1 -1
- package/lib/cjs/slider/stories/slider-single.story.js +2 -2
- package/lib/cjs/slider/stories/slider-single.story.js.map +1 -1
- package/lib/cjs/slider/stories/slider.stories.js +76 -7
- package/lib/cjs/slider/stories/slider.stories.js.map +1 -1
- package/lib/cjs/status-indicator/stories/index.js +32 -0
- package/lib/cjs/status-indicator/stories/index.js.map +1 -0
- package/lib/cjs/status-indicator/stories/status-indicator-types.story.js +30 -0
- package/lib/cjs/status-indicator/stories/status-indicator-types.story.js.map +1 -0
- package/lib/cjs/status-indicator/stories/status-indicator.stories.js +54 -0
- package/lib/cjs/status-indicator/stories/status-indicator.stories.js.map +1 -0
- package/lib/cjs/toast/Toast.js +5 -1
- package/lib/cjs/toast/Toast.js.map +1 -1
- package/lib/cjs/toast/ToastControlled.js +87 -0
- package/lib/cjs/toast/ToastControlled.js.map +1 -0
- package/lib/cjs/toast/index.js +1 -0
- package/lib/cjs/toast/index.js.map +1 -1
- package/lib/cjs/toast/stories/index.js +60 -0
- package/lib/cjs/toast/stories/index.js.map +1 -0
- package/lib/cjs/toast/stories/toast-action-story.js +38 -0
- package/lib/cjs/toast/stories/toast-action-story.js.map +1 -0
- package/lib/cjs/toast/stories/toast-closeable-story.js +37 -0
- package/lib/cjs/toast/stories/toast-closeable-story.js.map +1 -0
- package/lib/cjs/toast/stories/toast-controlled-story.js +44 -0
- package/lib/cjs/toast/stories/toast-controlled-story.js.map +1 -0
- package/lib/cjs/toast/stories/toast-custom-story.js +32 -0
- package/lib/cjs/toast/stories/toast-custom-story.js.map +1 -0
- package/lib/cjs/toast/stories/toast-danger-story.js +32 -0
- package/lib/cjs/toast/stories/toast-danger-story.js.map +1 -0
- package/lib/cjs/toast/stories/toast-neutral-story.js +32 -0
- package/lib/cjs/toast/stories/toast-neutral-story.js.map +1 -0
- package/lib/cjs/toast/stories/toast-progress-bar.js +49 -0
- package/lib/cjs/toast/stories/toast-progress-bar.js.map +1 -0
- package/lib/cjs/toast/stories/toast-success-story.js +32 -0
- package/lib/cjs/toast/stories/toast-success-story.js.map +1 -0
- package/lib/cjs/toast/stories/toast.stories.js +137 -0
- package/lib/cjs/toast/stories/toast.stories.js.map +1 -0
- package/lib/esm/avatar/stories/avatar-shapes.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-shapes.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar-sizes.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-sizes.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar-statuses.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-statuses.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar-types.story.js +1 -1
- package/lib/esm/avatar/stories/avatar-types.story.js.map +1 -1
- package/lib/esm/avatar/stories/avatar.stories.js +11 -0
- package/lib/esm/avatar/stories/avatar.stories.js.map +1 -1
- package/lib/esm/callout/stories/callout-default.story.js +28 -0
- package/lib/esm/callout/stories/callout-default.story.js.map +1 -0
- package/lib/esm/callout/stories/callout-full.story.js +28 -0
- package/lib/esm/callout/stories/callout-full.story.js.map +1 -0
- package/lib/esm/callout/stories/callout-types.story.js +28 -0
- package/lib/esm/callout/stories/callout-types.story.js.map +1 -0
- package/lib/esm/callout/stories/callout-with-children.story.js +28 -0
- package/lib/esm/callout/stories/callout-with-children.story.js.map +1 -0
- package/lib/esm/callout/stories/callout-without-header.story.js +28 -0
- package/lib/esm/callout/stories/callout-without-header.story.js.map +1 -0
- package/lib/esm/callout/stories/callout.stories.js +98 -0
- package/lib/esm/callout/stories/callout.stories.js.map +1 -0
- package/lib/esm/callout/stories/index.js +37 -0
- package/lib/esm/callout/stories/index.js.map +1 -0
- package/lib/esm/checkbox/stories/checkbox-checkedByDefault.story.js +28 -0
- package/lib/esm/checkbox/stories/checkbox-checkedByDefault.story.js.map +1 -0
- package/lib/esm/checkbox/stories/checkbox-default.story.js +28 -0
- package/lib/esm/checkbox/stories/checkbox-default.story.js.map +1 -0
- package/lib/esm/checkbox/stories/checkbox-disabled.story.js +28 -0
- package/lib/esm/checkbox/stories/checkbox-disabled.story.js.map +1 -0
- package/lib/esm/checkbox/stories/checkbox-full.story.js +37 -0
- package/lib/esm/checkbox/stories/checkbox-full.story.js.map +1 -0
- package/lib/esm/checkbox/stories/checkbox-hasLabelBefore.story.js +28 -0
- package/lib/esm/checkbox/stories/checkbox-hasLabelBefore.story.js.map +1 -0
- package/lib/esm/checkbox/stories/checkbox-indeterminate.story.js +31 -0
- package/lib/esm/checkbox/stories/checkbox-indeterminate.story.js.map +1 -0
- package/lib/esm/checkbox/stories/checkbox-no-label.story.js +28 -0
- package/lib/esm/checkbox/stories/checkbox-no-label.story.js.map +1 -0
- package/lib/esm/checkbox/stories/checkbox.stories.js +134 -0
- package/lib/esm/checkbox/stories/checkbox.stories.js.map +1 -0
- package/lib/esm/checkbox/stories/index.js +43 -0
- package/lib/esm/checkbox/stories/index.js.map +1 -0
- package/lib/esm/context-menu/ContextMenu.js +1 -1
- package/lib/esm/context-menu/stories/context-menu-custom-items.story.js +31 -0
- package/lib/esm/context-menu/stories/context-menu-custom-items.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-default.story.js +43 -0
- package/lib/esm/context-menu/stories/context-menu-default.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-in-modal.story.js +36 -0
- package/lib/esm/context-menu/stories/context-menu-in-modal.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-in-popover.story.js +32 -0
- package/lib/esm/context-menu/stories/context-menu-in-popover.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-nested.story.js +32 -0
- package/lib/esm/context-menu/stories/context-menu-nested.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-placements.story.js +43 -0
- package/lib/esm/context-menu/stories/context-menu-placements.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-with-disabled-item.story.js +34 -0
- package/lib/esm/context-menu/stories/context-menu-with-disabled-item.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-with-divider.story.js +34 -0
- package/lib/esm/context-menu/stories/context-menu-with-divider.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-with-header.story.js +34 -0
- package/lib/esm/context-menu/stories/context-menu-with-header.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu-with-icon.story.js +32 -0
- package/lib/esm/context-menu/stories/context-menu-with-icon.story.js.map +1 -0
- package/lib/esm/context-menu/stories/context-menu.stories.js +167 -0
- package/lib/esm/context-menu/stories/context-menu.stories.js.map +1 -0
- package/lib/esm/context-menu/stories/index.js +52 -0
- package/lib/esm/context-menu/stories/index.js.map +1 -0
- package/lib/esm/drawer/stories/drawer-full.story.js +34 -0
- package/lib/esm/drawer/stories/drawer-full.story.js.map +1 -0
- package/lib/esm/drawer/stories/drawer-not-closeable.story.js +31 -0
- package/lib/esm/drawer/stories/drawer-not-closeable.story.js.map +1 -0
- package/lib/esm/drawer/stories/drawer-overlay.story.js +31 -0
- package/lib/esm/drawer/stories/drawer-overlay.story.js.map +1 -0
- package/lib/esm/drawer/stories/drawer-portaled.story.js +36 -0
- package/lib/esm/drawer/stories/drawer-portaled.story.js.map +1 -0
- package/lib/esm/drawer/stories/drawer-push.story.js +30 -0
- package/lib/esm/drawer/stories/drawer-push.story.js.map +1 -0
- package/lib/esm/drawer/stories/drawer-resizable.story.js +34 -0
- package/lib/esm/drawer/stories/drawer-resizable.story.js.map +1 -0
- package/lib/esm/drawer/stories/drawer-right-side.story.js +31 -0
- package/lib/esm/drawer/stories/drawer-right-side.story.js.map +1 -0
- package/lib/esm/drawer/stories/drawer-scrollable.story.js +31 -0
- package/lib/esm/drawer/stories/drawer-scrollable.story.js.map +1 -0
- package/lib/esm/drawer/stories/drawer.stories.js +147 -0
- package/lib/esm/drawer/stories/drawer.stories.js.map +1 -0
- package/lib/esm/drawer/stories/index.js +46 -0
- package/lib/esm/drawer/stories/index.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label-color.story.js +28 -0
- package/lib/esm/graph-label/stories/graph-label-color.story.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label-disabled.story.js +28 -0
- package/lib/esm/graph-label/stories/graph-label-disabled.story.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label-fluid.story.js +28 -0
- package/lib/esm/graph-label/stories/graph-label-fluid.story.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label-non-interactive.story.js +28 -0
- package/lib/esm/graph-label/stories/graph-label-non-interactive.story.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label-selected.story.js +28 -0
- package/lib/esm/graph-label/stories/graph-label-selected.story.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label-sizes.story.js +28 -0
- package/lib/esm/graph-label/stories/graph-label-sizes.story.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label-types.story.js +28 -0
- package/lib/esm/graph-label/stories/graph-label-types.story.js.map +1 -0
- package/lib/esm/graph-label/stories/graph-label.stories.js +129 -0
- package/lib/esm/graph-label/stories/graph-label.stories.js.map +1 -0
- package/lib/esm/graph-label/stories/index.js +43 -0
- package/lib/esm/graph-label/stories/index.js.map +1 -0
- package/lib/esm/label/stories/index.js +34 -0
- package/lib/esm/label/stories/index.js.map +1 -0
- package/lib/esm/label/stories/label-colors.story.js +28 -0
- package/lib/esm/label/stories/label-colors.story.js.map +1 -0
- package/lib/esm/label/stories/label-default.story.js +28 -0
- package/lib/esm/label/stories/label-default.story.js.map +1 -0
- package/lib/esm/label/stories/label-fills.story.js +28 -0
- package/lib/esm/label/stories/label-fills.story.js.map +1 -0
- package/lib/esm/label/stories/label-with-icons.story.js +28 -0
- package/lib/esm/label/stories/label-with-icons.story.js.map +1 -0
- package/lib/esm/label/stories/label.stories.js +90 -0
- package/lib/esm/label/stories/label.stories.js.map +1 -0
- package/lib/esm/loading-bar/stories/index.js +28 -0
- package/lib/esm/loading-bar/stories/index.js.map +1 -0
- package/lib/esm/loading-bar/stories/loading-bar-default.story.js +28 -0
- package/lib/esm/loading-bar/stories/loading-bar-default.story.js.map +1 -0
- package/lib/esm/loading-bar/stories/loading-bar-with-rail.story.js +28 -0
- package/lib/esm/loading-bar/stories/loading-bar-with-rail.story.js.map +1 -0
- package/lib/esm/loading-bar/stories/loading-bar.stories.js +64 -0
- package/lib/esm/loading-bar/stories/loading-bar.stories.js.map +1 -0
- package/lib/esm/loading-spinner/stories/index.js +28 -0
- package/lib/esm/loading-spinner/stories/index.js.map +1 -0
- package/lib/esm/loading-spinner/stories/loading-spinner-default.story.js +28 -0
- package/lib/esm/loading-spinner/stories/loading-spinner-default.story.js.map +1 -0
- package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js +28 -0
- package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -0
- package/lib/esm/loading-spinner/stories/loading-spinner.stories.js +64 -0
- package/lib/esm/loading-spinner/stories/loading-spinner.stories.js.map +1 -0
- package/lib/esm/segmented-control/stories/index.js +34 -0
- package/lib/esm/segmented-control/stories/index.js.map +1 -0
- package/lib/esm/segmented-control/stories/segmented-control-default.story.js +30 -0
- package/lib/esm/segmented-control/stories/segmented-control-default.story.js.map +1 -0
- package/lib/esm/segmented-control/stories/segmented-control-floating.story.js +30 -0
- package/lib/esm/segmented-control/stories/segmented-control-floating.story.js.map +1 -0
- package/lib/esm/segmented-control/stories/segmented-control-only-icons.story.js +31 -0
- package/lib/esm/segmented-control/stories/segmented-control-only-icons.story.js.map +1 -0
- package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js +31 -0
- package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js.map +1 -0
- package/lib/esm/segmented-control/stories/segmented-control.stories.js +90 -0
- package/lib/esm/segmented-control/stories/segmented-control.stories.js.map +1 -0
- package/lib/esm/slider/stories/index.js +15 -0
- package/lib/esm/slider/stories/index.js.map +1 -1
- package/lib/esm/slider/stories/slider-custom-step-length.story.js +29 -0
- package/lib/esm/slider/stories/slider-custom-step-length.story.js.map +1 -0
- package/lib/esm/slider/stories/slider-default.story.js +29 -0
- package/lib/esm/slider/stories/slider-default.story.js.map +1 -0
- package/lib/esm/slider/stories/slider-disabled.story.js +29 -0
- package/lib/esm/slider/stories/slider-disabled.story.js.map +1 -0
- package/lib/esm/slider/stories/slider-range.story.js +1 -1
- package/lib/esm/slider/stories/slider-range.story.js.map +1 -1
- package/lib/esm/slider/stories/slider-show-steps.story.js +29 -0
- package/lib/esm/slider/stories/slider-show-steps.story.js.map +1 -0
- package/lib/esm/slider/stories/slider-show-values.story.js +29 -0
- package/lib/esm/slider/stories/slider-show-values.story.js.map +1 -0
- package/lib/esm/slider/stories/slider-single-controlled.story.js +50 -7
- package/lib/esm/slider/stories/slider-single-controlled.story.js.map +1 -1
- package/lib/esm/slider/stories/slider-single.story.js +1 -1
- package/lib/esm/slider/stories/slider-single.story.js.map +1 -1
- package/lib/esm/slider/stories/slider.stories.js +73 -4
- package/lib/esm/slider/stories/slider.stories.js.map +1 -1
- package/lib/esm/status-indicator/stories/index.js +25 -0
- package/lib/esm/status-indicator/stories/index.js.map +1 -0
- package/lib/esm/status-indicator/stories/status-indicator-types.story.js +28 -0
- package/lib/esm/status-indicator/stories/status-indicator-types.story.js.map +1 -0
- package/lib/esm/status-indicator/stories/status-indicator.stories.js +51 -0
- package/lib/esm/status-indicator/stories/status-indicator.stories.js.map +1 -0
- package/lib/esm/toast/Toast.js +5 -1
- package/lib/esm/toast/Toast.js.map +1 -1
- package/lib/esm/toast/ToastControlled.js +83 -0
- package/lib/esm/toast/ToastControlled.js.map +1 -0
- package/lib/esm/toast/index.js +1 -0
- package/lib/esm/toast/index.js.map +1 -1
- package/lib/esm/toast/stories/index.js +46 -0
- package/lib/esm/toast/stories/index.js.map +1 -0
- package/lib/esm/toast/stories/toast-action-story.js +36 -0
- package/lib/esm/toast/stories/toast-action-story.js.map +1 -0
- package/lib/esm/toast/stories/toast-closeable-story.js +35 -0
- package/lib/esm/toast/stories/toast-closeable-story.js.map +1 -0
- package/lib/esm/toast/stories/toast-controlled-story.js +42 -0
- package/lib/esm/toast/stories/toast-controlled-story.js.map +1 -0
- package/lib/esm/toast/stories/toast-custom-story.js +30 -0
- package/lib/esm/toast/stories/toast-custom-story.js.map +1 -0
- package/lib/esm/toast/stories/toast-danger-story.js +30 -0
- package/lib/esm/toast/stories/toast-danger-story.js.map +1 -0
- package/lib/esm/toast/stories/toast-neutral-story.js +30 -0
- package/lib/esm/toast/stories/toast-neutral-story.js.map +1 -0
- package/lib/esm/toast/stories/toast-progress-bar.js +47 -0
- package/lib/esm/toast/stories/toast-progress-bar.js.map +1 -0
- package/lib/esm/toast/stories/toast-success-story.js +30 -0
- package/lib/esm/toast/stories/toast-success-story.js.map +1 -0
- package/lib/esm/toast/stories/toast.stories.js +134 -0
- package/lib/esm/toast/stories/toast.stories.js.map +1 -0
- package/lib/types/avatar/stories/avatar.stories.d.ts +3 -12
- package/lib/types/callout/stories/callout-default.story.d.ts +23 -0
- package/lib/types/callout/stories/callout-full.story.d.ts +23 -0
- package/lib/types/callout/stories/callout-types.story.d.ts +23 -0
- package/lib/types/callout/stories/callout-with-children.story.d.ts +23 -0
- package/lib/types/callout/stories/callout-without-header.story.d.ts +23 -0
- package/lib/types/callout/stories/callout.stories.d.ts +39 -0
- package/lib/types/callout/stories/index.d.ts +30 -0
- package/lib/types/checkbox/stories/checkbox-checkedByDefault.story.d.ts +23 -0
- package/lib/types/checkbox/stories/checkbox-default.story.d.ts +23 -0
- package/lib/types/checkbox/stories/checkbox-disabled.story.d.ts +23 -0
- package/lib/types/checkbox/stories/checkbox-full.story.d.ts +23 -0
- package/lib/types/checkbox/stories/checkbox-hasLabelBefore.story.d.ts +23 -0
- package/lib/types/checkbox/stories/checkbox-indeterminate.story.d.ts +23 -0
- package/lib/types/checkbox/stories/checkbox-no-label.story.d.ts +23 -0
- package/lib/types/checkbox/stories/checkbox.stories.d.ts +32 -0
- package/lib/types/checkbox/stories/index.d.ts +34 -0
- package/lib/types/context-menu/stories/context-menu-custom-items.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-default.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-in-modal.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-in-popover.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-nested.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-placements.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-with-disabled-item.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-with-divider.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-with-header.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu-with-icon.story.d.ts +23 -0
- package/lib/types/context-menu/stories/context-menu.stories.d.ts +34 -0
- package/lib/types/context-menu/stories/index.d.ts +40 -0
- package/lib/types/drawer/stories/drawer-full.story.d.ts +23 -0
- package/lib/types/drawer/stories/drawer-not-closeable.story.d.ts +23 -0
- package/lib/types/drawer/stories/drawer-overlay.story.d.ts +23 -0
- package/lib/types/drawer/stories/drawer-portaled.story.d.ts +23 -0
- package/lib/types/drawer/stories/drawer-push.story.d.ts +22 -0
- package/lib/types/drawer/stories/drawer-resizable.story.d.ts +23 -0
- package/lib/types/drawer/stories/drawer-right-side.story.d.ts +23 -0
- package/lib/types/drawer/stories/drawer-scrollable.story.d.ts +23 -0
- package/lib/types/drawer/stories/drawer.stories.d.ts +62 -0
- package/lib/types/drawer/stories/index.d.ts +36 -0
- package/lib/types/graph-label/stories/graph-label-color.story.d.ts +23 -0
- package/lib/types/graph-label/stories/graph-label-disabled.story.d.ts +23 -0
- package/lib/types/graph-label/stories/graph-label-fluid.story.d.ts +23 -0
- package/lib/types/graph-label/stories/graph-label-non-interactive.story.d.ts +23 -0
- package/lib/types/graph-label/stories/graph-label-selected.story.d.ts +23 -0
- package/lib/types/graph-label/stories/graph-label-sizes.story.d.ts +23 -0
- package/lib/types/graph-label/stories/graph-label-types.story.d.ts +23 -0
- package/lib/types/graph-label/stories/graph-label.stories.d.ts +32 -0
- package/lib/types/graph-label/stories/index.d.ts +34 -0
- package/lib/types/label/stories/index.d.ts +28 -0
- package/lib/types/label/stories/label-colors.story.d.ts +23 -0
- package/lib/types/label/stories/label-default.story.d.ts +23 -0
- package/lib/types/label/stories/label-fills.story.d.ts +23 -0
- package/lib/types/label/stories/label-with-icons.story.d.ts +23 -0
- package/lib/types/label/stories/label.stories.d.ts +29 -0
- package/lib/types/loading-bar/stories/index.d.ts +24 -0
- package/lib/types/loading-bar/stories/loading-bar-default.story.d.ts +23 -0
- package/lib/types/loading-bar/stories/loading-bar-with-rail.story.d.ts +23 -0
- package/lib/types/loading-bar/stories/loading-bar.stories.d.ts +27 -0
- package/lib/types/loading-spinner/stories/index.d.ts +24 -0
- package/lib/types/loading-spinner/stories/loading-spinner-default.story.d.ts +23 -0
- package/lib/types/loading-spinner/stories/loading-spinner-sizes.story.d.ts +23 -0
- package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts +27 -0
- package/lib/types/segmented-control/stories/index.d.ts +28 -0
- package/lib/types/segmented-control/stories/segmented-control-default.story.d.ts +23 -0
- package/lib/types/segmented-control/stories/segmented-control-floating.story.d.ts +23 -0
- package/lib/types/segmented-control/stories/segmented-control-only-icons.story.d.ts +23 -0
- package/lib/types/segmented-control/stories/segmented-control-sizes.story.d.ts +23 -0
- package/lib/types/segmented-control/stories/segmented-control.stories.d.ts +29 -0
- package/lib/types/slider/stories/index.d.ts +10 -0
- package/lib/types/slider/stories/slider-custom-step-length.story.d.ts +23 -0
- package/lib/types/slider/stories/slider-default.story.d.ts +23 -0
- package/lib/types/slider/stories/slider-disabled.story.d.ts +23 -0
- package/lib/types/slider/stories/slider-show-steps.story.d.ts +23 -0
- package/lib/types/slider/stories/slider-show-values.story.d.ts +23 -0
- package/lib/types/slider/stories/slider-single.story.d.ts +1 -0
- package/lib/types/slider/stories/slider.stories.d.ts +7 -1
- package/lib/types/status-indicator/stories/index.d.ts +22 -0
- package/lib/types/status-indicator/stories/status-indicator-types.story.d.ts +23 -0
- package/lib/types/status-indicator/stories/status-indicator.stories.d.ts +26 -0
- package/lib/types/toast/Toast.d.ts +9 -1
- package/lib/types/toast/ToastControlled.d.ts +40 -0
- package/lib/types/toast/index.d.ts +1 -0
- package/lib/types/toast/stories/index.d.ts +36 -0
- package/lib/types/toast/stories/toast-action-story.d.ts +23 -0
- package/lib/types/toast/stories/toast-closeable-story.d.ts +23 -0
- package/lib/types/toast/stories/toast-controlled-story.d.ts +23 -0
- package/lib/types/toast/stories/toast-custom-story.d.ts +23 -0
- package/lib/types/toast/stories/toast-danger-story.d.ts +23 -0
- package/lib/types/toast/stories/toast-neutral-story.d.ts +23 -0
- package/lib/types/toast/stories/toast-progress-bar.d.ts +23 -0
- package/lib/types/toast/stories/toast-success-story.d.ts +23 -0
- package/lib/types/toast/stories/toast.stories.d.ts +38 -0
- package/package.json +4 -4
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, ToasterControlled } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
const [toasts, setToasts] = useState([]);
|
|
27
|
+
return (_jsxs("div", { className: "n-flex n-justify-center", children: [_jsx(ToasterControlled, { toasts: toasts }), _jsx(Button, { onClick: () => {
|
|
28
|
+
setToasts([
|
|
29
|
+
...toasts,
|
|
30
|
+
{
|
|
31
|
+
id: '1',
|
|
32
|
+
text: 'Hi there!',
|
|
33
|
+
variant: 'neutral',
|
|
34
|
+
onClose: () => {
|
|
35
|
+
setToasts(toasts.filter((toast) => toast.id !== '1'));
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
]);
|
|
39
|
+
}, children: "Press to show a Toast" })] }));
|
|
40
|
+
};
|
|
41
|
+
export default Component;
|
|
42
|
+
//# sourceMappingURL=toast-controlled-story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-controlled-story.js","sourceRoot":"","sources":["../../../../src/toast/stories/toast-controlled-story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAElC,EAAE,CAAC,CAAC;IAEN,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aAEtC,KAAC,iBAAiB,IAAC,MAAM,EAAE,MAAM,GAAI,EACrC,KAAC,MAAM,IACL,OAAO,EAAE,GAAG,EAAE;oBACZ,SAAS,CAAC;wBACR,GAAG,MAAM;wBACT;4BACE,EAAE,EAAE,GAAG;4BACP,IAAI,EAAE,WAAW;4BACjB,OAAO,EAAE,SAAS;4BAClB,OAAO,EAAE,GAAG,EAAE;gCACZ,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;4BACxD,CAAC;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC,sCAGM,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, toast, Toaster } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs("div", { className: "n-flex n-justify-center", children: [_jsx(Toaster, {}), _jsx(Button, { onClick: () => {
|
|
26
|
+
toast.neutral(_jsx("div", { style: { background: 'red' }, children: "Hi there!" }));
|
|
27
|
+
}, children: "Press to show a Toast" })] }));
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
30
|
+
//# sourceMappingURL=toast-custom-story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-custom-story.js","sourceRoot":"","sources":["../../../../src/toast/stories/toast-custom-story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aAEtC,KAAC,OAAO,KAAG,EACX,KAAC,MAAM,IACL,OAAO,EAAE,GAAG,EAAE;oBACZ,KAAK,CAAC,OAAO,CAAC,cAAK,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,0BAAiB,CAAC,CAAC;gBACpE,CAAC,sCAGM,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, toast, Toaster } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs("div", { className: "n-flex n-justify-center", children: [_jsx(Toaster, {}), _jsx(Button, { onClick: () => {
|
|
26
|
+
toast.danger('Danger');
|
|
27
|
+
}, children: "Press to show a Toast" })] }));
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
30
|
+
//# sourceMappingURL=toast-danger-story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-danger-story.js","sourceRoot":"","sources":["../../../../src/toast/stories/toast-danger-story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aAEtC,KAAC,OAAO,KAAG,EACX,KAAC,MAAM,IACL,OAAO,EAAE,GAAG,EAAE;oBACZ,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;gBACzB,CAAC,sCAGM,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, toast, Toaster } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs("div", { className: "n-flex n-justify-center", children: [_jsx(Toaster, {}), _jsx(Button, { onClick: () => {
|
|
26
|
+
toast.neutral('Hello');
|
|
27
|
+
}, children: "Press to show a Toast" })] }));
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
30
|
+
//# sourceMappingURL=toast-neutral-story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-neutral-story.js","sourceRoot":"","sources":["../../../../src/toast/stories/toast-neutral-story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aAEtC,KAAC,OAAO,KAAG,EACX,KAAC,MAAM,IACL,OAAO,EAAE,GAAG,EAAE;oBACZ,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACzB,CAAC,sCAGM,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, toast, Toaster } from '@neo4j-ndl/react';
|
|
24
|
+
import { CloudArrowDownIconSolid } from '@neo4j-ndl/react/icons';
|
|
25
|
+
import { useState } from 'react';
|
|
26
|
+
const Component = () => {
|
|
27
|
+
const [progressBarId, setProgressBarId] = useState(null);
|
|
28
|
+
return (_jsxs("div", { className: "n-flex n-justify-center n-gap-4", children: [_jsx(Toaster, {}), _jsx(Button, { onClick: () => {
|
|
29
|
+
const id = toast.progressBar('Hello', {
|
|
30
|
+
icon: _jsx(CloudArrowDownIconSolid, {}),
|
|
31
|
+
isCloseable: true,
|
|
32
|
+
shouldCloseOnAction: true,
|
|
33
|
+
onClose: () => {
|
|
34
|
+
setProgressBarId(null);
|
|
35
|
+
console.info('close');
|
|
36
|
+
},
|
|
37
|
+
shouldAutoClose: false,
|
|
38
|
+
});
|
|
39
|
+
setProgressBarId(id);
|
|
40
|
+
}, children: "Press to show a Toast" }), _jsx(Button, { fill: "outlined", onClick: () => {
|
|
41
|
+
if (progressBarId) {
|
|
42
|
+
toast.updateProgressBarValue(progressBarId, 50);
|
|
43
|
+
}
|
|
44
|
+
}, children: "Update progress bar" })] }));
|
|
45
|
+
};
|
|
46
|
+
export default Component;
|
|
47
|
+
//# sourceMappingURL=toast-progress-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-progress-bar.js","sourceRoot":"","sources":["../../../../src/toast/stories/toast-progress-bar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAChD,IAAI,CACL,CAAC;IACF,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAE9C,KAAC,OAAO,KAAG,EACX,KAAC,MAAM,IACL,OAAO,EAAE,GAAG,EAAE;oBACZ,MAAM,EAAE,GAAG,KAAK,CAAC,WAAW,CAAC,OAAO,EAAE;wBACpC,IAAI,EAAE,KAAC,uBAAuB,KAAG;wBACjC,WAAW,EAAE,IAAI;wBACjB,mBAAmB,EAAE,IAAI;wBACzB,OAAO,EAAE,GAAG,EAAE;4BACZ,gBAAgB,CAAC,IAAI,CAAC,CAAC;4BACvB,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;wBACxB,CAAC;wBACD,eAAe,EAAE,KAAK;qBACvB,CAAC,CAAC;oBACH,gBAAgB,CAAC,EAAE,CAAC,CAAC;gBACvB,CAAC,sCAGM,EACT,KAAC,MAAM,IACL,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,aAAa,EAAE,CAAC;wBAClB,KAAK,CAAC,sBAAsB,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;oBAClD,CAAC;gBACH,CAAC,oCAGM,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Button, toast, Toaster } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs("div", { className: "n-flex n-justify-center", children: [_jsx(Toaster, {}), _jsx(Button, { onClick: () => {
|
|
26
|
+
toast.success('Hello');
|
|
27
|
+
}, children: "Press to show a Toast" })] }));
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
30
|
+
//# sourceMappingURL=toast-success-story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-success-story.js","sourceRoot":"","sources":["../../../../src/toast/stories/toast-success-story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aAEtC,KAAC,OAAO,KAAG,EACX,KAAC,MAAM,IACL,OAAO,EAAE,GAAG,EAAE;oBACZ,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACzB,CAAC,sCAGM,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import { Toaster } from '@neo4j-ndl/react';
|
|
22
|
+
import { ToastAction, ToastActionSrc, ToastCloseable, ToastCloseableSrc, ToastControlled, ToastControlledSrc, ToastCustom, ToastCustomSrc, ToastDanger, ToastDangerSrc, ToastNeutral, ToastNeutralSrc, ToastProgressBar, ToastProgressBarSrc, ToastSuccess, ToastSuccessSrc, } from '.';
|
|
23
|
+
const componentMeta = {
|
|
24
|
+
title: 'Components/Toast',
|
|
25
|
+
id: 'components-toast',
|
|
26
|
+
component: Toaster,
|
|
27
|
+
tags: ['docsPage'],
|
|
28
|
+
};
|
|
29
|
+
export default componentMeta;
|
|
30
|
+
export const Neutral = {
|
|
31
|
+
args: {},
|
|
32
|
+
render: ToastNeutral,
|
|
33
|
+
parameters: {
|
|
34
|
+
docs: {
|
|
35
|
+
source: {
|
|
36
|
+
language: 'tsx',
|
|
37
|
+
type: 'code',
|
|
38
|
+
code: ToastNeutralSrc,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
export const Success = {
|
|
44
|
+
args: {},
|
|
45
|
+
render: ToastSuccess,
|
|
46
|
+
parameters: {
|
|
47
|
+
docs: {
|
|
48
|
+
source: {
|
|
49
|
+
language: 'tsx',
|
|
50
|
+
type: 'code',
|
|
51
|
+
code: ToastSuccessSrc,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
export const Error = {
|
|
57
|
+
args: {},
|
|
58
|
+
render: ToastDanger,
|
|
59
|
+
parameters: {
|
|
60
|
+
docs: {
|
|
61
|
+
source: {
|
|
62
|
+
language: 'tsx',
|
|
63
|
+
type: 'code',
|
|
64
|
+
code: ToastDangerSrc,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
export const Action = {
|
|
70
|
+
args: {},
|
|
71
|
+
render: ToastAction,
|
|
72
|
+
parameters: {
|
|
73
|
+
docs: {
|
|
74
|
+
source: {
|
|
75
|
+
language: 'tsx',
|
|
76
|
+
type: 'code',
|
|
77
|
+
code: ToastActionSrc,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
export const Closeable = {
|
|
83
|
+
args: {},
|
|
84
|
+
render: ToastCloseable,
|
|
85
|
+
parameters: {
|
|
86
|
+
docs: {
|
|
87
|
+
source: {
|
|
88
|
+
language: 'tsx',
|
|
89
|
+
type: 'code',
|
|
90
|
+
code: ToastCloseableSrc,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
export const ProgressBar = {
|
|
96
|
+
args: {},
|
|
97
|
+
render: ToastProgressBar,
|
|
98
|
+
parameters: {
|
|
99
|
+
docs: {
|
|
100
|
+
source: {
|
|
101
|
+
language: 'tsx',
|
|
102
|
+
type: 'code',
|
|
103
|
+
code: ToastProgressBarSrc,
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
export const Custom = {
|
|
109
|
+
args: {},
|
|
110
|
+
render: ToastCustom,
|
|
111
|
+
parameters: {
|
|
112
|
+
docs: {
|
|
113
|
+
source: {
|
|
114
|
+
language: 'tsx',
|
|
115
|
+
type: 'code',
|
|
116
|
+
code: ToastCustomSrc,
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
};
|
|
121
|
+
export const Controlled = {
|
|
122
|
+
args: {},
|
|
123
|
+
render: ToastControlled,
|
|
124
|
+
parameters: {
|
|
125
|
+
docs: {
|
|
126
|
+
source: {
|
|
127
|
+
language: 'tsx',
|
|
128
|
+
type: 'code',
|
|
129
|
+
code: ToastControlledSrc,
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
//# sourceMappingURL=toast.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.stories.js","sourceRoot":"","sources":["../../../../src/toast/stories/toast.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EACL,WAAW,EACX,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,WAAW,EACX,cAAc,EACd,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,eAAe,GAChB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,kBAAkB;IACzB,EAAE,EAAE,kBAAkB;IACtB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,UAAU,CAAC;CACY,CAAC;AAEjC,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,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,eAAe;aACtB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,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,eAAe;aACtB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,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,cAAc;aACrB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,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,cAAc;aACrB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,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,WAAW,GAAU;IAChC,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,mBAAmB;aAC1B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,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,cAAc;aACrB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,eAAe;IACvB,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"}
|
|
@@ -18,18 +18,9 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react-vite';
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
id: string;
|
|
25
|
-
component: import("../../_common/types").PolymorphicForwardRefExoticComponent<"div", import("../Avatar").AvatarProps>;
|
|
26
|
-
tags: string[];
|
|
27
|
-
parameters: {
|
|
28
|
-
controls: {
|
|
29
|
-
disable: boolean;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
21
|
+
import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
22
|
+
import { Avatar } from '../../index';
|
|
23
|
+
declare const componentMeta: Meta<typeof Avatar>;
|
|
33
24
|
export default componentMeta;
|
|
34
25
|
type Story = StoryObj<typeof componentMeta>;
|
|
35
26
|
export declare const Default: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
|
+
declare const componentMeta: {
|
|
23
|
+
title: string;
|
|
24
|
+
id: string;
|
|
25
|
+
component: import("../../_common/types").PolymorphicForwardRefExoticComponent<"div", import("@neo4j-ndl/react").CalloutProps>;
|
|
26
|
+
tags: string[];
|
|
27
|
+
parameters: {
|
|
28
|
+
controls: {
|
|
29
|
+
disable: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default componentMeta;
|
|
34
|
+
type Story = StoryObj<typeof componentMeta>;
|
|
35
|
+
export declare const Default: Story;
|
|
36
|
+
export declare const Types: Story;
|
|
37
|
+
export declare const WithChildren: Story;
|
|
38
|
+
export declare const WithoutHeader: Story;
|
|
39
|
+
export declare const Full: Story;
|
|
@@ -0,0 +1,30 @@
|
|
|
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 CalloutDefault } from './callout-default.story';
|
|
22
|
+
export { default as CalloutTypes } from './callout-types.story';
|
|
23
|
+
export { default as CalloutWithChildren } from './callout-with-children.story';
|
|
24
|
+
export { default as CalloutWithoutHeader } from './callout-without-header.story';
|
|
25
|
+
export { default as CalloutFull } from './callout-full.story';
|
|
26
|
+
export declare const CalloutDefaultSrc: string;
|
|
27
|
+
export declare const CalloutTypesSrc: string;
|
|
28
|
+
export declare const CalloutWithChildrenSrc: string;
|
|
29
|
+
export declare const CalloutWithoutHeaderSrc: string;
|
|
30
|
+
export declare const CalloutFullSrc: string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|