@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,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
export { default as LoadingSpinnerDefault } from './loading-spinner-default.story';
|
|
22
|
+
export { default as LoadingSpinnerSizes } from './loading-spinner-sizes.story';
|
|
23
|
+
export declare const LoadingSpinnerDefaultSource: string;
|
|
24
|
+
export declare const LoadingSpinnerSizesSource: 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;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 Meta, type StoryObj } from '@storybook/react-vite';
|
|
22
|
+
import { LoadingSpinner } from '../../index';
|
|
23
|
+
declare const componentMeta: Meta<typeof LoadingSpinner>;
|
|
24
|
+
export default componentMeta;
|
|
25
|
+
type Story = StoryObj<typeof componentMeta>;
|
|
26
|
+
export declare const Default: Story;
|
|
27
|
+
export declare const Sizes: Story;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 SegmentedControlDefault } from './segmented-control-default.story';
|
|
22
|
+
export { default as SegmentedControlFloating } from './segmented-control-floating.story';
|
|
23
|
+
export { default as SegmentedControlOnlyIcons } from './segmented-control-only-icons.story';
|
|
24
|
+
export { default as SegmentedControlSizes } from './segmented-control-sizes.story';
|
|
25
|
+
export declare const SegmentedControlDefaultSource: string;
|
|
26
|
+
export declare const SegmentedControlFloatingSource: string;
|
|
27
|
+
export declare const SegmentedControlOnlyIconsSource: string;
|
|
28
|
+
export declare const SegmentedControlSizesSource: 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;
|
|
@@ -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,29 @@
|
|
|
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 Meta, type StoryObj } from '@storybook/react-vite';
|
|
22
|
+
import { SegmentedControl } from '../../index';
|
|
23
|
+
declare const componentMeta: Meta<typeof SegmentedControl>;
|
|
24
|
+
export default componentMeta;
|
|
25
|
+
type Story = StoryObj<typeof componentMeta>;
|
|
26
|
+
export declare const Default: Story;
|
|
27
|
+
export declare const Floating: Story;
|
|
28
|
+
export declare const OnlyIcons: Story;
|
|
29
|
+
export declare const Sizes: Story;
|
|
@@ -18,9 +18,19 @@
|
|
|
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
|
+
export { default as SliderDefaultDemo } from './slider-default.story';
|
|
21
22
|
export { default as SliderSingleDemo } from './slider-single.story';
|
|
22
23
|
export { default as SliderRangeDemo } from './slider-range.story';
|
|
23
24
|
export { default as SliderSingleControlledDemo } from './slider-single-controlled.story';
|
|
25
|
+
export { default as SliderDisabledDemo } from './slider-disabled.story';
|
|
26
|
+
export { default as SliderShowStepsDemo } from './slider-show-steps.story';
|
|
27
|
+
export { default as SliderShowValuesDemo } from './slider-show-values.story';
|
|
28
|
+
export { default as SliderCustomStepLengthDemo } from './slider-custom-step-length.story';
|
|
29
|
+
export declare const SliderDefaultSource: string;
|
|
24
30
|
export declare const SliderSingleSource: string;
|
|
25
31
|
export declare const SliderRangeSource: string;
|
|
26
32
|
export declare const SliderSingleControlledSource: string;
|
|
33
|
+
export declare const SliderDisabledSource: string;
|
|
34
|
+
export declare const SliderShowStepsSource: string;
|
|
35
|
+
export declare const SliderShowValuesSource: string;
|
|
36
|
+
export declare const SliderCustomStepLengthSource: 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
|
+
|
|
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
|
+
|
|
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
|
+
|
|
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
|
+
|
|
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
|
+
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
@@ -18,9 +18,10 @@
|
|
|
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
|
+
|
|
21
22
|
import { type StoryObj } from '@storybook/react-vite';
|
|
22
23
|
declare const componentMeta: {
|
|
23
|
-
component: import("../../_common/types").PolymorphicForwardRefExoticComponent<"div", import("
|
|
24
|
+
component: import("../../_common/types").PolymorphicForwardRefExoticComponent<"div", import("@neo4j-ndl/react").SliderProps>;
|
|
24
25
|
parameters: {
|
|
25
26
|
controls: {
|
|
26
27
|
disable: boolean;
|
|
@@ -32,6 +33,11 @@ declare const componentMeta: {
|
|
|
32
33
|
};
|
|
33
34
|
export default componentMeta;
|
|
34
35
|
type Story = StoryObj<typeof componentMeta>;
|
|
36
|
+
export declare const Default: Story;
|
|
35
37
|
export declare const Single: Story;
|
|
36
38
|
export declare const Range: Story;
|
|
37
39
|
export declare const SingleControlled: Story;
|
|
40
|
+
export declare const Disabled: Story;
|
|
41
|
+
export declare const ShowSteps: Story;
|
|
42
|
+
export declare const ShowValues: Story;
|
|
43
|
+
export declare const CustomStepLength: Story;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 StatusIndicatorTypes } from './status-indicator-types.story';
|
|
22
|
+
export declare const StatusIndicatorTypesSource: 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,26 @@
|
|
|
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 Meta, type StoryObj } from '@storybook/react-vite';
|
|
22
|
+
import { StatusIndicator } from '../../index';
|
|
23
|
+
declare const componentMeta: Meta<typeof StatusIndicator>;
|
|
24
|
+
export default componentMeta;
|
|
25
|
+
type Story = StoryObj<typeof componentMeta>;
|
|
26
|
+
export declare const Types: Story;
|
|
@@ -48,6 +48,8 @@ interface BaseToastProps {
|
|
|
48
48
|
sonnerToastProps?: SonnerExternalToast;
|
|
49
49
|
/** HTML attributes */
|
|
50
50
|
htmlAttributes?: HtmlAttributes<'div'>;
|
|
51
|
+
/** If true the toast is controlled by the parent. */
|
|
52
|
+
isControlled?: boolean;
|
|
51
53
|
}
|
|
52
54
|
interface ToastNeutralProps extends BaseToastProps {
|
|
53
55
|
icon?: ReactNode;
|
|
@@ -73,6 +75,7 @@ type ToastElement = ToastVariantsProps & {
|
|
|
73
75
|
variant: ToastVariants;
|
|
74
76
|
text: ReactNode;
|
|
75
77
|
initialProgressBarValue?: number;
|
|
78
|
+
isControlled?: boolean;
|
|
76
79
|
};
|
|
77
80
|
declare const Toast: React.ForwardRefExoticComponent<(Omit<ToastNeutralProps & {
|
|
78
81
|
icon: ReactNode;
|
|
@@ -80,30 +83,35 @@ declare const Toast: React.ForwardRefExoticComponent<(Omit<ToastNeutralProps & {
|
|
|
80
83
|
variant: ToastVariants;
|
|
81
84
|
text: ReactNode;
|
|
82
85
|
initialProgressBarValue?: number;
|
|
86
|
+
isControlled?: boolean;
|
|
83
87
|
}, "ref"> | Omit<ToastSuccessProps & {
|
|
84
88
|
icon: ReactNode;
|
|
85
89
|
id: ToastId;
|
|
86
90
|
variant: ToastVariants;
|
|
87
91
|
text: ReactNode;
|
|
88
92
|
initialProgressBarValue?: number;
|
|
93
|
+
isControlled?: boolean;
|
|
89
94
|
}, "ref"> | Omit<ToastDangerProps & {
|
|
90
95
|
icon: ReactNode;
|
|
91
96
|
id: ToastId;
|
|
92
97
|
variant: ToastVariants;
|
|
93
98
|
text: ReactNode;
|
|
94
99
|
initialProgressBarValue?: number;
|
|
100
|
+
isControlled?: boolean;
|
|
95
101
|
}, "ref"> | Omit<ToastLoadingSpinnerProps & {
|
|
96
102
|
icon: ReactNode;
|
|
97
103
|
id: ToastId;
|
|
98
104
|
variant: ToastVariants;
|
|
99
105
|
text: ReactNode;
|
|
100
106
|
initialProgressBarValue?: number;
|
|
107
|
+
isControlled?: boolean;
|
|
101
108
|
}, "ref"> | Omit<ToastProgressBarProps & {
|
|
102
109
|
icon: ReactNode;
|
|
103
110
|
id: ToastId;
|
|
104
111
|
variant: ToastVariants;
|
|
105
112
|
text: ReactNode;
|
|
106
113
|
initialProgressBarValue?: number;
|
|
114
|
+
isControlled?: boolean;
|
|
107
115
|
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
108
116
|
interface Toast {
|
|
109
117
|
neutral: (text: ReactNode, props?: ToastNeutralProps) => ToastId;
|
|
@@ -120,4 +128,4 @@ interface Toast {
|
|
|
120
128
|
}
|
|
121
129
|
declare const toast: Toast;
|
|
122
130
|
export { Toaster, toast };
|
|
123
|
-
export type { ToasterProps, ToastVariants, ToastCommandVariants, ToastNeutralProps, ToastSuccessProps, ToastDangerProps, ToastLoadingSpinnerProps, ToastProgressBarProps, ToastVariantsProps, ToastElement, };
|
|
131
|
+
export type { ToasterProps, ToastVariants, ToastCommandVariants, ToastNeutralProps, ToastSuccessProps, ToastDangerProps, ToastLoadingSpinnerProps, ToastProgressBarProps, ToastVariantsProps, ToastElement, ToastId, };
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { Toaster, type ToastId, type ToastVariants } from './Toast';
|
|
23
|
+
type ControlledToast = {
|
|
24
|
+
id: ToastId;
|
|
25
|
+
text: string;
|
|
26
|
+
onClose?: (id: ToastId) => void;
|
|
27
|
+
actionLabel?: string;
|
|
28
|
+
onAction?: (id: ToastId) => void;
|
|
29
|
+
} & ({
|
|
30
|
+
variant: Exclude<ToastVariants, 'progress-bar' | 'loading-spinner'>;
|
|
31
|
+
} | {
|
|
32
|
+
id: ToastId;
|
|
33
|
+
variant: Extract<ToastVariants, 'progress-bar'>;
|
|
34
|
+
progressBarValue: number;
|
|
35
|
+
});
|
|
36
|
+
type ToastControlledProps = {
|
|
37
|
+
toasts: ControlledToast[];
|
|
38
|
+
} & Pick<React.ComponentProps<typeof Toaster>, 'visibleToasts'>;
|
|
39
|
+
export declare const ToasterControlled: ({ toasts, ...restProps }: ToastControlledProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
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 ToastNeutral } from './toast-neutral-story';
|
|
22
|
+
export { default as ToastSuccess } from './toast-success-story';
|
|
23
|
+
export { default as ToastDanger } from './toast-danger-story';
|
|
24
|
+
export { default as ToastAction } from './toast-action-story';
|
|
25
|
+
export { default as ToastCloseable } from './toast-closeable-story';
|
|
26
|
+
export { default as ToastProgressBar } from './toast-progress-bar';
|
|
27
|
+
export { default as ToastCustom } from './toast-custom-story';
|
|
28
|
+
export { default as ToastControlled } from './toast-controlled-story';
|
|
29
|
+
export declare const ToastNeutralSrc: string;
|
|
30
|
+
export declare const ToastSuccessSrc: string;
|
|
31
|
+
export declare const ToastDangerSrc: string;
|
|
32
|
+
export declare const ToastActionSrc: string;
|
|
33
|
+
export declare const ToastCloseableSrc: string;
|
|
34
|
+
export declare const ToastProgressBarSrc: string;
|
|
35
|
+
export declare const ToastCustomSrc: string;
|
|
36
|
+
export declare const ToastControlledSrc: string;
|