@neo4j-ndl/react 3.8.35 → 3.9.1
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/_common/CodeBlockWrapper.js +1 -1
- package/lib/cjs/avatar/Avatar.js +1 -1
- 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/breadcrumbs/Breadcrumbs.js +2 -2
- 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/code/stories/code-default.story.js +31 -0
- package/lib/cjs/code/stories/code-default.story.js.map +1 -0
- package/lib/cjs/code/stories/code-disabled.story.js +45 -0
- package/lib/cjs/code/stories/code-disabled.story.js.map +1 -0
- package/lib/cjs/code/stories/code-full.story.js +45 -0
- package/lib/cjs/code/stories/code-full.story.js.map +1 -0
- package/lib/cjs/code/stories/code-inline-runnable.story.js +30 -0
- package/lib/cjs/code/stories/code-inline-runnable.story.js.map +1 -0
- package/lib/cjs/code/stories/code-inline.story.js +30 -0
- package/lib/cjs/code/stories/code-inline.story.js.map +1 -0
- package/lib/cjs/code/stories/code-languages.story.js +31 -0
- package/lib/cjs/code/stories/code-languages.story.js.map +1 -0
- package/lib/cjs/code/stories/code-overflow.story.js +31 -0
- package/lib/cjs/code/stories/code-overflow.story.js.map +1 -0
- package/lib/cjs/code/stories/code-with-actions.story.js +45 -0
- package/lib/cjs/code/stories/code-with-actions.story.js.map +1 -0
- package/lib/cjs/code/stories/code-with-header.story.js +31 -0
- package/lib/cjs/code/stories/code-with-header.story.js.map +1 -0
- package/lib/cjs/code/stories/code-with-line-numbers.story.js +31 -0
- package/lib/cjs/code/stories/code-with-line-numbers.story.js.map +1 -0
- package/lib/cjs/code/stories/code.stories.js +166 -0
- package/lib/cjs/code/stories/code.stories.js.map +1 -0
- package/lib/cjs/code/stories/example-code-snippets.js +81 -0
- package/lib/cjs/code/stories/example-code-snippets.js.map +1 -0
- package/lib/cjs/code/stories/index.js +68 -0
- package/lib/cjs/code/stories/index.js.map +1 -0
- 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/data-grid/Components.js +1 -1
- package/lib/cjs/date-picker/stories/date-picker-default.story.js +41 -0
- package/lib/cjs/date-picker/stories/date-picker-default.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker-disabled.story.js +38 -0
- package/lib/cjs/date-picker/stories/date-picker-disabled.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker-full.story.js +60 -0
- package/lib/cjs/date-picker/stories/date-picker-full.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker-inside-modal.story.js +41 -0
- package/lib/cjs/date-picker/stories/date-picker-inside-modal.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker-min-max-date.story.js +45 -0
- package/lib/cjs/date-picker/stories/date-picker-min-max-date.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker-opens-to-date.story.js +43 -0
- package/lib/cjs/date-picker/stories/date-picker-opens-to-date.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker-starts-on-monday.story.js +42 -0
- package/lib/cjs/date-picker/stories/date-picker-starts-on-monday.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker-text-input-props.story.js +44 -0
- package/lib/cjs/date-picker/stories/date-picker-text-input-props.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker-with-time-picker.story.js +45 -0
- package/lib/cjs/date-picker/stories/date-picker-with-time-picker.story.js.map +1 -0
- package/lib/cjs/date-picker/stories/date-picker.stories.js +207 -0
- package/lib/cjs/date-picker/stories/date-picker.stories.js.map +1 -0
- package/lib/cjs/date-picker/stories/index.js +64 -0
- package/lib/cjs/date-picker/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/dropzone/stories/dropzone-csv-files.story.js +37 -0
- package/lib/cjs/dropzone/stories/dropzone-csv-files.story.js.map +1 -0
- package/lib/cjs/dropzone/stories/dropzone-custom-extensions.story.js +36 -0
- package/lib/cjs/dropzone/stories/dropzone-custom-extensions.story.js.map +1 -0
- package/lib/cjs/dropzone/stories/dropzone-default.story.js +36 -0
- package/lib/cjs/dropzone/stories/dropzone-default.story.js.map +1 -0
- package/lib/cjs/dropzone/stories/dropzone-disabled.story.js +38 -0
- package/lib/cjs/dropzone/stories/dropzone-disabled.story.js.map +1 -0
- package/lib/cjs/dropzone/stories/dropzone-full.story.js +109 -0
- package/lib/cjs/dropzone/stories/dropzone-full.story.js.map +1 -0
- package/lib/cjs/dropzone/stories/dropzone-loading-progress.story.js +31 -0
- package/lib/cjs/dropzone/stories/dropzone-loading-progress.story.js.map +1 -0
- package/lib/cjs/dropzone/stories/dropzone-loading-spinner.story.js +31 -0
- package/lib/cjs/dropzone/stories/dropzone-loading-spinner.story.js.map +1 -0
- package/lib/cjs/dropzone/stories/dropzone.stories.js +121 -0
- package/lib/cjs/dropzone/stories/dropzone.stories.js.map +1 -0
- package/lib/cjs/dropzone/stories/index.js +56 -0
- package/lib/cjs/dropzone/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/graph-visualization/graph-visualization-buttons.js +2 -2
- package/lib/cjs/graph-visualization/graph-visualization.js +20 -4
- package/lib/cjs/graph-visualization/graph-visualization.js.map +1 -1
- package/lib/cjs/graph-visualization/stories/graph-visualization-highlighting.story.js +30 -0
- package/lib/cjs/graph-visualization/stories/graph-visualization-highlighting.story.js.map +1 -0
- package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js +14 -1
- package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
- package/lib/cjs/graph-visualization/stories/index.js +5 -1
- package/lib/cjs/graph-visualization/stories/index.js.map +1 -1
- package/lib/cjs/graph-visualization/{use-managed-selection-state.js → use-managed-node-state.js} +10 -6
- package/lib/cjs/graph-visualization/use-managed-node-state.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/next/breadcrumbs/Breadcrumbs.js +1 -1
- package/lib/cjs/radio/stories/index.js +56 -0
- package/lib/cjs/radio/stories/index.js.map +1 -0
- package/lib/cjs/radio/stories/radio-checkedByDefault.story.js +30 -0
- package/lib/cjs/radio/stories/radio-checkedByDefault.story.js.map +1 -0
- package/lib/cjs/radio/stories/radio-custom-label.story.js +30 -0
- package/lib/cjs/radio/stories/radio-custom-label.story.js.map +1 -0
- package/lib/cjs/radio/stories/radio-default.story.js +30 -0
- package/lib/cjs/radio/stories/radio-default.story.js.map +1 -0
- package/lib/cjs/radio/stories/radio-disabled.story.js +30 -0
- package/lib/cjs/radio/stories/radio-disabled.story.js.map +1 -0
- package/lib/cjs/radio/stories/radio-hasLabelBefore.story.js +30 -0
- package/lib/cjs/radio/stories/radio-hasLabelBefore.story.js.map +1 -0
- package/lib/cjs/radio/stories/radio-no-label.story.js +30 -0
- package/lib/cjs/radio/stories/radio-no-label.story.js.map +1 -0
- package/lib/cjs/radio/stories/radio-truncated-label.story.js +30 -0
- package/lib/cjs/radio/stories/radio-truncated-label.story.js.map +1 -0
- package/lib/cjs/radio/stories/radio.stories.js +137 -0
- package/lib/cjs/radio/stories/radio.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/spotlight/SpotlightTarget.js +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/switch/stories/index.js +56 -0
- package/lib/cjs/switch/stories/index.js.map +1 -0
- package/lib/cjs/switch/stories/switch-checked-by-default.story.js +30 -0
- package/lib/cjs/switch/stories/switch-checked-by-default.story.js.map +1 -0
- package/lib/cjs/switch/stories/switch-default.story.js +30 -0
- package/lib/cjs/switch/stories/switch-default.story.js.map +1 -0
- package/lib/cjs/switch/stories/switch-disabled.story.js +30 -0
- package/lib/cjs/switch/stories/switch-disabled.story.js.map +1 -0
- package/lib/cjs/switch/stories/switch-full.story.js +39 -0
- package/lib/cjs/switch/stories/switch-full.story.js.map +1 -0
- package/lib/cjs/switch/stories/switch-has-label-before.story.js +30 -0
- package/lib/cjs/switch/stories/switch-has-label-before.story.js.map +1 -0
- package/lib/cjs/switch/stories/switch-indeterminate.story.js +33 -0
- package/lib/cjs/switch/stories/switch-indeterminate.story.js.map +1 -0
- package/lib/cjs/switch/stories/switch-no-label.story.js +30 -0
- package/lib/cjs/switch/stories/switch-no-label.story.js.map +1 -0
- package/lib/cjs/switch/stories/switch.stories.js +137 -0
- package/lib/cjs/switch/stories/switch.stories.js.map +1 -0
- package/lib/cjs/tabs/stories/index.js +48 -0
- package/lib/cjs/tabs/stories/index.js.map +1 -0
- package/lib/cjs/tabs/stories/tabs-default.story.js +32 -0
- package/lib/cjs/tabs/stories/tabs-default.story.js.map +1 -0
- package/lib/cjs/tabs/stories/tabs-disabled.story.js +32 -0
- package/lib/cjs/tabs/stories/tabs-disabled.story.js.map +1 -0
- package/lib/cjs/tabs/stories/tabs-fill-variants.story.js +33 -0
- package/lib/cjs/tabs/stories/tabs-fill-variants.story.js.map +1 -0
- package/lib/cjs/tabs/stories/tabs-sizes.story.js +33 -0
- package/lib/cjs/tabs/stories/tabs-sizes.story.js.map +1 -0
- package/lib/cjs/tabs/stories/tabs-with-icons.story.js +33 -0
- package/lib/cjs/tabs/stories/tabs-with-icons.story.js.map +1 -0
- package/lib/cjs/tabs/stories/tabs.stories.js +106 -0
- package/lib/cjs/tabs/stories/tabs.stories.js.map +1 -0
- package/lib/cjs/tag/stories/index.js +42 -0
- package/lib/cjs/tag/stories/index.js.map +1 -0
- package/lib/cjs/tag/stories/tag-removable.story.js +33 -0
- package/lib/cjs/tag/stories/tag-removable.story.js.map +1 -0
- package/lib/cjs/tag/stories/tag-sizes.story.js +30 -0
- package/lib/cjs/tag/stories/tag-sizes.story.js.map +1 -0
- package/lib/cjs/tag/stories/tag-types.story.js +30 -0
- package/lib/cjs/tag/stories/tag-types.story.js.map +1 -0
- package/lib/cjs/tag/stories/tag.stories.js +80 -0
- package/lib/cjs/tag/stories/tag.stories.js.map +1 -0
- package/lib/cjs/text-link/stories/index.js +40 -0
- package/lib/cjs/text-link/stories/index.js.map +1 -0
- package/lib/cjs/text-link/stories/text-link-default.story.js +30 -0
- package/lib/cjs/text-link/stories/text-link-default.story.js.map +1 -0
- package/lib/cjs/text-link/stories/text-link-external.story.js +30 -0
- package/lib/cjs/text-link/stories/text-link-external.story.js.map +1 -0
- package/lib/cjs/text-link/stories/text-link-internal-icon.story.js +30 -0
- package/lib/cjs/text-link/stories/text-link-internal-icon.story.js.map +1 -0
- package/lib/cjs/text-link/stories/text-link.stories.js +76 -0
- package/lib/cjs/text-link/stories/text-link.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/cjs/tree-view/TreeItemWrapper.js +1 -2
- package/lib/cjs/tree-view/TreeItemWrapper.js.map +1 -1
- package/lib/esm/_common/CodeBlockWrapper.js +1 -1
- package/lib/esm/avatar/Avatar.js +1 -1
- 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/breadcrumbs/Breadcrumbs.js +2 -2
- 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/code/stories/code-default.story.js +29 -0
- package/lib/esm/code/stories/code-default.story.js.map +1 -0
- package/lib/esm/code/stories/code-disabled.story.js +43 -0
- package/lib/esm/code/stories/code-disabled.story.js.map +1 -0
- package/lib/esm/code/stories/code-full.story.js +43 -0
- package/lib/esm/code/stories/code-full.story.js.map +1 -0
- package/lib/esm/code/stories/code-inline-runnable.story.js +28 -0
- package/lib/esm/code/stories/code-inline-runnable.story.js.map +1 -0
- package/lib/esm/code/stories/code-inline.story.js +28 -0
- package/lib/esm/code/stories/code-inline.story.js.map +1 -0
- package/lib/esm/code/stories/code-languages.story.js +29 -0
- package/lib/esm/code/stories/code-languages.story.js.map +1 -0
- package/lib/esm/code/stories/code-overflow.story.js +29 -0
- package/lib/esm/code/stories/code-overflow.story.js.map +1 -0
- package/lib/esm/code/stories/code-with-actions.story.js +43 -0
- package/lib/esm/code/stories/code-with-actions.story.js.map +1 -0
- package/lib/esm/code/stories/code-with-header.story.js +29 -0
- package/lib/esm/code/stories/code-with-header.story.js.map +1 -0
- package/lib/esm/code/stories/code-with-line-numbers.story.js +29 -0
- package/lib/esm/code/stories/code-with-line-numbers.story.js.map +1 -0
- package/lib/esm/code/stories/code.stories.js +163 -0
- package/lib/esm/code/stories/code.stories.js.map +1 -0
- package/lib/esm/code/stories/example-code-snippets.js +78 -0
- package/lib/esm/code/stories/example-code-snippets.js.map +1 -0
- package/lib/esm/code/stories/index.js +52 -0
- package/lib/esm/code/stories/index.js.map +1 -0
- 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/data-grid/Components.js +1 -1
- package/lib/esm/date-picker/stories/date-picker-default.story.js +39 -0
- package/lib/esm/date-picker/stories/date-picker-default.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker-disabled.story.js +36 -0
- package/lib/esm/date-picker/stories/date-picker-disabled.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker-full.story.js +58 -0
- package/lib/esm/date-picker/stories/date-picker-full.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker-inside-modal.story.js +39 -0
- package/lib/esm/date-picker/stories/date-picker-inside-modal.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker-min-max-date.story.js +43 -0
- package/lib/esm/date-picker/stories/date-picker-min-max-date.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker-opens-to-date.story.js +41 -0
- package/lib/esm/date-picker/stories/date-picker-opens-to-date.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker-starts-on-monday.story.js +40 -0
- package/lib/esm/date-picker/stories/date-picker-starts-on-monday.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker-text-input-props.story.js +42 -0
- package/lib/esm/date-picker/stories/date-picker-text-input-props.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker-with-time-picker.story.js +43 -0
- package/lib/esm/date-picker/stories/date-picker-with-time-picker.story.js.map +1 -0
- package/lib/esm/date-picker/stories/date-picker.stories.js +201 -0
- package/lib/esm/date-picker/stories/date-picker.stories.js.map +1 -0
- package/lib/esm/date-picker/stories/index.js +49 -0
- package/lib/esm/date-picker/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/dropzone/stories/dropzone-csv-files.story.js +35 -0
- package/lib/esm/dropzone/stories/dropzone-csv-files.story.js.map +1 -0
- package/lib/esm/dropzone/stories/dropzone-custom-extensions.story.js +34 -0
- package/lib/esm/dropzone/stories/dropzone-custom-extensions.story.js.map +1 -0
- package/lib/esm/dropzone/stories/dropzone-default.story.js +34 -0
- package/lib/esm/dropzone/stories/dropzone-default.story.js.map +1 -0
- package/lib/esm/dropzone/stories/dropzone-disabled.story.js +36 -0
- package/lib/esm/dropzone/stories/dropzone-disabled.story.js.map +1 -0
- package/lib/esm/dropzone/stories/dropzone-full.story.js +107 -0
- package/lib/esm/dropzone/stories/dropzone-full.story.js.map +1 -0
- package/lib/esm/dropzone/stories/dropzone-loading-progress.story.js +29 -0
- package/lib/esm/dropzone/stories/dropzone-loading-progress.story.js.map +1 -0
- package/lib/esm/dropzone/stories/dropzone-loading-spinner.story.js +29 -0
- package/lib/esm/dropzone/stories/dropzone-loading-spinner.story.js.map +1 -0
- package/lib/esm/dropzone/stories/dropzone.stories.js +118 -0
- package/lib/esm/dropzone/stories/dropzone.stories.js.map +1 -0
- package/lib/esm/dropzone/stories/index.js +43 -0
- package/lib/esm/dropzone/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/graph-visualization/graph-visualization-buttons.js +2 -2
- package/lib/esm/graph-visualization/graph-visualization.js +20 -4
- package/lib/esm/graph-visualization/graph-visualization.js.map +1 -1
- package/lib/esm/graph-visualization/stories/graph-visualization-highlighting.story.js +28 -0
- package/lib/esm/graph-visualization/stories/graph-visualization-highlighting.story.js.map +1 -0
- package/lib/esm/graph-visualization/stories/graph-visualization.stories.js +14 -1
- package/lib/esm/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
- package/lib/esm/graph-visualization/stories/index.js +3 -0
- package/lib/esm/graph-visualization/stories/index.js.map +1 -1
- package/lib/esm/graph-visualization/{use-managed-selection-state.js → use-managed-node-state.js} +9 -5
- package/lib/esm/graph-visualization/use-managed-node-state.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/next/breadcrumbs/Breadcrumbs.js +1 -1
- package/lib/esm/radio/stories/index.js +43 -0
- package/lib/esm/radio/stories/index.js.map +1 -0
- package/lib/esm/radio/stories/radio-checkedByDefault.story.js +28 -0
- package/lib/esm/radio/stories/radio-checkedByDefault.story.js.map +1 -0
- package/lib/esm/radio/stories/radio-custom-label.story.js +28 -0
- package/lib/esm/radio/stories/radio-custom-label.story.js.map +1 -0
- package/lib/esm/radio/stories/radio-default.story.js +28 -0
- package/lib/esm/radio/stories/radio-default.story.js.map +1 -0
- package/lib/esm/radio/stories/radio-disabled.story.js +28 -0
- package/lib/esm/radio/stories/radio-disabled.story.js.map +1 -0
- package/lib/esm/radio/stories/radio-hasLabelBefore.story.js +28 -0
- package/lib/esm/radio/stories/radio-hasLabelBefore.story.js.map +1 -0
- package/lib/esm/radio/stories/radio-no-label.story.js +28 -0
- package/lib/esm/radio/stories/radio-no-label.story.js.map +1 -0
- package/lib/esm/radio/stories/radio-truncated-label.story.js +28 -0
- package/lib/esm/radio/stories/radio-truncated-label.story.js.map +1 -0
- package/lib/esm/radio/stories/radio.stories.js +134 -0
- package/lib/esm/radio/stories/radio.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/spotlight/SpotlightTarget.js +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/switch/stories/index.js +43 -0
- package/lib/esm/switch/stories/index.js.map +1 -0
- package/lib/esm/switch/stories/switch-checked-by-default.story.js +28 -0
- package/lib/esm/switch/stories/switch-checked-by-default.story.js.map +1 -0
- package/lib/esm/switch/stories/switch-default.story.js +28 -0
- package/lib/esm/switch/stories/switch-default.story.js.map +1 -0
- package/lib/esm/switch/stories/switch-disabled.story.js +28 -0
- package/lib/esm/switch/stories/switch-disabled.story.js.map +1 -0
- package/lib/esm/switch/stories/switch-full.story.js +37 -0
- package/lib/esm/switch/stories/switch-full.story.js.map +1 -0
- package/lib/esm/switch/stories/switch-has-label-before.story.js +28 -0
- package/lib/esm/switch/stories/switch-has-label-before.story.js.map +1 -0
- package/lib/esm/switch/stories/switch-indeterminate.story.js +31 -0
- package/lib/esm/switch/stories/switch-indeterminate.story.js.map +1 -0
- package/lib/esm/switch/stories/switch-no-label.story.js +28 -0
- package/lib/esm/switch/stories/switch-no-label.story.js.map +1 -0
- package/lib/esm/switch/stories/switch.stories.js +134 -0
- package/lib/esm/switch/stories/switch.stories.js.map +1 -0
- package/lib/esm/tabs/stories/index.js +37 -0
- package/lib/esm/tabs/stories/index.js.map +1 -0
- package/lib/esm/tabs/stories/tabs-default.story.js +30 -0
- package/lib/esm/tabs/stories/tabs-default.story.js.map +1 -0
- package/lib/esm/tabs/stories/tabs-disabled.story.js +30 -0
- package/lib/esm/tabs/stories/tabs-disabled.story.js.map +1 -0
- package/lib/esm/tabs/stories/tabs-fill-variants.story.js +31 -0
- package/lib/esm/tabs/stories/tabs-fill-variants.story.js.map +1 -0
- package/lib/esm/tabs/stories/tabs-sizes.story.js +31 -0
- package/lib/esm/tabs/stories/tabs-sizes.story.js.map +1 -0
- package/lib/esm/tabs/stories/tabs-with-icons.story.js +31 -0
- package/lib/esm/tabs/stories/tabs-with-icons.story.js.map +1 -0
- package/lib/esm/tabs/stories/tabs.stories.js +103 -0
- package/lib/esm/tabs/stories/tabs.stories.js.map +1 -0
- package/lib/esm/tag/stories/index.js +32 -0
- package/lib/esm/tag/stories/index.js.map +1 -0
- package/lib/esm/tag/stories/tag-removable.story.js +31 -0
- package/lib/esm/tag/stories/tag-removable.story.js.map +1 -0
- package/lib/esm/tag/stories/tag-sizes.story.js +28 -0
- package/lib/esm/tag/stories/tag-sizes.story.js.map +1 -0
- package/lib/esm/tag/stories/tag-types.story.js +28 -0
- package/lib/esm/tag/stories/tag-types.story.js.map +1 -0
- package/lib/esm/tag/stories/tag.stories.js +77 -0
- package/lib/esm/tag/stories/tag.stories.js.map +1 -0
- package/lib/esm/text-link/stories/index.js +31 -0
- package/lib/esm/text-link/stories/index.js.map +1 -0
- package/lib/esm/text-link/stories/text-link-default.story.js +28 -0
- package/lib/esm/text-link/stories/text-link-default.story.js.map +1 -0
- package/lib/esm/text-link/stories/text-link-external.story.js +28 -0
- package/lib/esm/text-link/stories/text-link-external.story.js.map +1 -0
- package/lib/esm/text-link/stories/text-link-internal-icon.story.js +28 -0
- package/lib/esm/text-link/stories/text-link-internal-icon.story.js.map +1 -0
- package/lib/esm/text-link/stories/text-link.stories.js +73 -0
- package/lib/esm/text-link/stories/text-link.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/esm/tree-view/TreeItemWrapper.js +1 -2
- package/lib/esm/tree-view/TreeItemWrapper.js.map +1 -1
- 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/code/stories/code-default.story.d.ts +23 -0
- package/lib/types/code/stories/code-disabled.story.d.ts +23 -0
- package/lib/types/code/stories/code-full.story.d.ts +23 -0
- package/lib/types/code/stories/code-inline-runnable.story.d.ts +23 -0
- package/lib/types/code/stories/code-inline.story.d.ts +23 -0
- package/lib/types/code/stories/code-languages.story.d.ts +23 -0
- package/lib/types/code/stories/code-overflow.story.d.ts +23 -0
- package/lib/types/code/stories/code-with-actions.story.d.ts +23 -0
- package/lib/types/code/stories/code-with-header.story.d.ts +23 -0
- package/lib/types/code/stories/code-with-line-numbers.story.d.ts +23 -0
- package/lib/types/code/stories/code.stories.d.ts +34 -0
- package/lib/types/code/stories/example-code-snippets.d.ts +27 -0
- package/lib/types/code/stories/index.d.ts +40 -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/date-picker/stories/date-picker-default.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker-disabled.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker-full.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker-inside-modal.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker-min-max-date.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker-opens-to-date.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker-starts-on-monday.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker-text-input-props.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker-with-time-picker.story.d.ts +23 -0
- package/lib/types/date-picker/stories/date-picker.stories.d.ts +34 -0
- package/lib/types/date-picker/stories/index.d.ts +38 -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/dropzone/stories/dropzone-csv-files.story.d.ts +23 -0
- package/lib/types/dropzone/stories/dropzone-custom-extensions.story.d.ts +23 -0
- package/lib/types/dropzone/stories/dropzone-default.story.d.ts +23 -0
- package/lib/types/dropzone/stories/dropzone-disabled.story.d.ts +23 -0
- package/lib/types/dropzone/stories/dropzone-full.story.d.ts +23 -0
- package/lib/types/dropzone/stories/dropzone-loading-progress.story.d.ts +23 -0
- package/lib/types/dropzone/stories/dropzone-loading-spinner.story.d.ts +23 -0
- package/lib/types/dropzone/stories/dropzone.stories.d.ts +32 -0
- package/lib/types/dropzone/stories/index.d.ts +34 -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/graph-visualization/graph-visualization.d.ts +17 -1
- package/lib/types/graph-visualization/stories/graph-visualization-highlighting.story.d.ts +22 -0
- package/lib/types/graph-visualization/stories/graph-visualization.stories.d.ts +1 -0
- package/lib/types/graph-visualization/stories/index.d.ts +2 -0
- package/lib/types/graph-visualization/{use-managed-selection-state.d.ts → use-managed-node-state.d.ts} +8 -6
- 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/radio/stories/index.d.ts +34 -0
- package/lib/types/radio/stories/radio-checkedByDefault.story.d.ts +23 -0
- package/lib/types/radio/stories/radio-custom-label.story.d.ts +23 -0
- package/lib/types/radio/stories/radio-default.story.d.ts +23 -0
- package/lib/types/radio/stories/radio-disabled.story.d.ts +23 -0
- package/lib/types/radio/stories/radio-hasLabelBefore.story.d.ts +23 -0
- package/lib/types/radio/stories/radio-no-label.story.d.ts +23 -0
- package/lib/types/radio/stories/radio-truncated-label.story.d.ts +23 -0
- package/lib/types/radio/stories/radio.stories.d.ts +32 -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/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/switch/stories/index.d.ts +34 -0
- package/lib/types/switch/stories/switch-checked-by-default.story.d.ts +23 -0
- package/lib/types/switch/stories/switch-default.story.d.ts +23 -0
- package/lib/types/switch/stories/switch-disabled.story.d.ts +23 -0
- package/lib/types/switch/stories/switch-full.story.d.ts +23 -0
- package/lib/types/switch/stories/switch-has-label-before.story.d.ts +23 -0
- package/lib/types/switch/stories/switch-indeterminate.story.d.ts +23 -0
- package/lib/types/switch/stories/switch-no-label.story.d.ts +23 -0
- package/lib/types/switch/stories/switch.stories.d.ts +32 -0
- package/lib/types/tabs/stories/index.d.ts +30 -0
- package/lib/types/tabs/stories/tabs-default.story.d.ts +23 -0
- package/lib/types/tabs/stories/tabs-disabled.story.d.ts +23 -0
- package/lib/types/tabs/stories/tabs-fill-variants.story.d.ts +23 -0
- package/lib/types/tabs/stories/tabs-sizes.story.d.ts +23 -0
- package/lib/types/tabs/stories/tabs-with-icons.story.d.ts +23 -0
- package/lib/types/tabs/stories/tabs.stories.d.ts +30 -0
- package/lib/types/tag/stories/index.d.ts +27 -0
- package/lib/types/tag/stories/tag-removable.story.d.ts +23 -0
- package/lib/types/tag/stories/tag-sizes.story.d.ts +23 -0
- package/lib/types/tag/stories/tag-types.story.d.ts +23 -0
- package/lib/types/tag/stories/tag.stories.d.ts +28 -0
- package/lib/types/text-link/stories/index.d.ts +26 -0
- package/lib/types/text-link/stories/text-link-default.story.d.ts +23 -0
- package/lib/types/text-link/stories/text-link-external.story.d.ts +23 -0
- package/lib/types/text-link/stories/text-link-internal-icon.story.d.ts +23 -0
- package/lib/types/text-link/stories/text-link.stories.d.ts +28 -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 +12 -5
- package/lib/cjs/graph-visualization/use-managed-selection-state.js.map +0 -1
- package/lib/esm/graph-visualization/use-managed-selection-state.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Switch } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Switch, { label: "Label", onClick: () => console.info('Clicked on the switch!') }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=switch-default.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch-default.story.js","sourceRoot":"","sources":["../../../../src/switch/stories/switch-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAAC,GACrD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Switch } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Switch, { label: "Label", isDisabled: true, onClick: () => console.info('Clicked on the switch!') }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=switch-disabled.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch-disabled.story.js","sourceRoot":"","sources":["../../../../src/switch/stories/switch-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,KAAK,EAAC,OAAO,EACb,UAAU,QACV,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAAC,GACrD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Switch } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
const [isChecked, setIsChecked] = useState(false);
|
|
27
|
+
const handleClick = (event) => {
|
|
28
|
+
console.info('Switch clicked!', event);
|
|
29
|
+
};
|
|
30
|
+
const handleChange = (event) => {
|
|
31
|
+
setIsChecked(event.target.checked);
|
|
32
|
+
console.info('Switch changed:', event.target.checked);
|
|
33
|
+
};
|
|
34
|
+
return (_jsx(Switch, { label: "Label", ariaLabel: "Comprehensive switch example with all props", isChecked: isChecked, isDefaultChecked: false, hasLabelBefore: false, isDisabled: false, isReadOnly: true, isFluid: false, value: "switch-value", onClick: handleClick, onChange: handleChange }));
|
|
35
|
+
};
|
|
36
|
+
export default Component;
|
|
37
|
+
//# sourceMappingURL=switch-full.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch-full.story.js","sourceRoot":"","sources":["../../../../src/switch/stories/switch-full.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAE3D,MAAM,WAAW,GAAG,CAAC,KAAyC,EAAE,EAAE;QAChE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,KAA0C,EAAE,EAAE;QAClE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACnC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACxD,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,MAAM,IACL,KAAK,EAAC,OAAO,EACb,SAAS,EAAC,6CAA6C,EACvD,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,KAAK,EACvB,cAAc,EAAE,KAAK,EACrB,UAAU,EAAE,KAAK,EACjB,UAAU,EAAE,IAAI,EAChB,OAAO,EAAE,KAAK,EACd,KAAK,EAAC,cAAc,EACpB,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,YAAY,GACtB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Switch } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Switch, { label: "Label", hasLabelBefore: true, onClick: () => console.info('Clicked on the switch!') }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=switch-has-label-before.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch-has-label-before.story.js","sourceRoot":"","sources":["../../../../src/switch/stories/switch-has-label-before.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,KAAK,EAAC,OAAO,EACb,cAAc,QACd,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAAC,GACrD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Switch } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(Switch, { label: "Label", ref: (node) => {
|
|
26
|
+
if (node)
|
|
27
|
+
node.indeterminate = true;
|
|
28
|
+
} }));
|
|
29
|
+
};
|
|
30
|
+
export default Component;
|
|
31
|
+
//# sourceMappingURL=switch-indeterminate.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch-indeterminate.story.js","sourceRoot":"","sources":["../../../../src/switch/stories/switch-indeterminate.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,MAAM,IACL,KAAK,EAAC,OAAO,EACb,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE;YACZ,IAAI,IAAI;gBAAE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QACtC,CAAC,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Switch } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return _jsx(Switch, { onClick: () => console.info('Clicked on the switch!') });
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=switch-no-label.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch-no-label.story.js","sourceRoot":"","sources":["../../../../src/switch/stories/switch-no-label.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAAC,GAAI,CAAC;AAC3E,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
|
+
|
|
22
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
+
import { Switch } from '../../index';
|
|
24
|
+
import { SwitchCheckedByDefault, SwitchCheckedByDefaultSrc, SwitchDefault, SwitchDefaultSrc, SwitchDisabled, SwitchDisabledSrc, SwitchFull, SwitchFullSrc, SwitchHasLabelBefore, SwitchHasLabelBeforeSrc, SwitchIndeterminate, SwitchIndeterminateSrc, SwitchNoLabel, SwitchNoLabelSrc, } from './';
|
|
25
|
+
const componentMeta = {
|
|
26
|
+
title: 'Components/Switch',
|
|
27
|
+
id: 'components-switch',
|
|
28
|
+
component: Switch,
|
|
29
|
+
tags: ['docsPage'],
|
|
30
|
+
argTypes: {
|
|
31
|
+
ref: {
|
|
32
|
+
description: 'Ref to the `input` element',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
parameters: {
|
|
36
|
+
controls: { disable: true },
|
|
37
|
+
},
|
|
38
|
+
decorators: [
|
|
39
|
+
(Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
|
|
40
|
+
],
|
|
41
|
+
};
|
|
42
|
+
export default componentMeta;
|
|
43
|
+
export const Default = {
|
|
44
|
+
args: {},
|
|
45
|
+
render: SwitchDefault,
|
|
46
|
+
parameters: {
|
|
47
|
+
docs: {
|
|
48
|
+
source: {
|
|
49
|
+
language: 'tsx',
|
|
50
|
+
type: 'code',
|
|
51
|
+
code: SwitchDefaultSrc,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
export const Indeterminate = {
|
|
57
|
+
args: {},
|
|
58
|
+
render: SwitchIndeterminate,
|
|
59
|
+
parameters: {
|
|
60
|
+
docs: {
|
|
61
|
+
source: {
|
|
62
|
+
language: 'tsx',
|
|
63
|
+
type: 'code',
|
|
64
|
+
code: SwitchIndeterminateSrc,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
export const CheckedByDefault = {
|
|
70
|
+
args: {},
|
|
71
|
+
render: SwitchCheckedByDefault,
|
|
72
|
+
parameters: {
|
|
73
|
+
docs: {
|
|
74
|
+
source: {
|
|
75
|
+
language: 'tsx',
|
|
76
|
+
type: 'code',
|
|
77
|
+
code: SwitchCheckedByDefaultSrc,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
export const NoLabel = {
|
|
83
|
+
args: {},
|
|
84
|
+
render: SwitchNoLabel,
|
|
85
|
+
parameters: {
|
|
86
|
+
docs: {
|
|
87
|
+
source: {
|
|
88
|
+
language: 'tsx',
|
|
89
|
+
type: 'code',
|
|
90
|
+
code: SwitchNoLabelSrc,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
export const HasLabelBefore = {
|
|
96
|
+
args: {},
|
|
97
|
+
render: SwitchHasLabelBefore,
|
|
98
|
+
parameters: {
|
|
99
|
+
docs: {
|
|
100
|
+
source: {
|
|
101
|
+
language: 'tsx',
|
|
102
|
+
type: 'code',
|
|
103
|
+
code: SwitchHasLabelBeforeSrc,
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
export const Disabled = {
|
|
109
|
+
args: {},
|
|
110
|
+
render: SwitchDisabled,
|
|
111
|
+
parameters: {
|
|
112
|
+
docs: {
|
|
113
|
+
source: {
|
|
114
|
+
language: 'tsx',
|
|
115
|
+
type: 'code',
|
|
116
|
+
code: SwitchDisabledSrc,
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
};
|
|
121
|
+
export const Full = {
|
|
122
|
+
args: {},
|
|
123
|
+
render: SwitchFull,
|
|
124
|
+
parameters: {
|
|
125
|
+
docs: {
|
|
126
|
+
source: {
|
|
127
|
+
language: 'tsx',
|
|
128
|
+
type: 'code',
|
|
129
|
+
code: SwitchFullSrc,
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
//# sourceMappingURL=switch.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.stories.js","sourceRoot":"","sources":["../../../../src/switch/stories/switch.stories.tsx"],"names":[],"mappings":";AAsBA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,aAA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* 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 TabsDefault } from './tabs-default.story';
|
|
22
|
+
export { default as TabsFillVariants } from './tabs-fill-variants.story';
|
|
23
|
+
export { default as TabsSizes } from './tabs-sizes.story';
|
|
24
|
+
export { default as TabsWithIcons } from './tabs-with-icons.story';
|
|
25
|
+
export { default as TabsDisabled } from './tabs-disabled.story';
|
|
26
|
+
import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
|
|
27
|
+
import TabsDefaultSourceRaw from './tabs-default.story?raw';
|
|
28
|
+
import TabsDisabledSourceRaw from './tabs-disabled.story?raw';
|
|
29
|
+
import TabsFillVariantsSourceRaw from './tabs-fill-variants.story?raw';
|
|
30
|
+
import TabsSizesSourceRaw from './tabs-sizes.story?raw';
|
|
31
|
+
import TabsWithIconsSourceRaw from './tabs-with-icons.story?raw';
|
|
32
|
+
export const TabsDefaultSource = removeLicenseHeader(TabsDefaultSourceRaw);
|
|
33
|
+
export const TabsFillVariantsSource = removeLicenseHeader(TabsFillVariantsSourceRaw);
|
|
34
|
+
export const TabsSizesSource = removeLicenseHeader(TabsSizesSourceRaw);
|
|
35
|
+
export const TabsWithIconsSource = removeLicenseHeader(TabsWithIconsSourceRaw);
|
|
36
|
+
export const TabsDisabledSource = removeLicenseHeader(TabsDisabledSourceRaw);
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tabs/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,qBAAqB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AACvE,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AACxD,OAAO,sBAAsB,MAAM,6BAA6B,CAAC;AAEjE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CACvD,yBAAyB,CAC1B,CAAC;AACF,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;AAC/E,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { Tabs, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
const [value, setValue] = useState(0);
|
|
27
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] }));
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
30
|
+
//# sourceMappingURL=tabs-default.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-default.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAEjD,OAAO,CACL,8BACE,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,aACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,IAC/B,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,IACf,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { Tabs, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
const [value, setValue] = useState(0);
|
|
27
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, isDisabled: true, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] }));
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
30
|
+
//# sourceMappingURL=tabs-disabled.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-disabled.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAEjD,OAAO,CACL,8BACE,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,aACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,sBAEzB,IACN,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,IACf,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { Tabs, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
const [underlineValue, setUnderlineValue] = useState(0);
|
|
27
|
+
const [filledValue, setFilledValue] = useState(0);
|
|
28
|
+
return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-8", children: [_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Underline (Default)" }), _jsxs("div", { children: [_jsxs(Tabs, { value: underlineValue, onChange: setUnderlineValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] })] }), _jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Filled" }), _jsxs("div", { children: [_jsxs(Tabs, { value: filledValue, onChange: setFilledValue, fill: "filled", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] })] })] }));
|
|
29
|
+
};
|
|
30
|
+
export default Component;
|
|
31
|
+
//# sourceMappingURL=tabs-fill-variants.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-fill-variants.story.js","sourceRoot":"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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 { Tabs, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
const [smallValue, setSmallValue] = useState(0);
|
|
27
|
+
const [largeValue, setLargeValue] = useState(0);
|
|
28
|
+
return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-8", children: [_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Small Size" }), _jsxs(Tabs, { value: smallValue, onChange: setSmallValue, size: "small", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: smallValue, tabId: 0, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 1" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: smallValue, tabId: 1, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 2" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: smallValue, tabId: 2, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 3" }) })] }), _jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Large Size (Default)" }), _jsxs(Tabs, { value: largeValue, onChange: setLargeValue, size: "large", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 1" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 2" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 3" }) })] })] }));
|
|
29
|
+
};
|
|
30
|
+
export default Component;
|
|
31
|
+
//# sourceMappingURL=tabs-sizes.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-sizes.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAC3D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAE3D,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,UAAU,IAAC,OAA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K,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,YAChE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,wCAAqC,GACxD,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,YAChE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,wCAAqC,GACxD,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,YAChE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,wCAAqC,GACxD,IACZ,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { Tabs, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { CircleStackIconOutline, DatabaseAddCircleIcon, InboxArrowDownIconOutline, } from '@neo4j-ndl/react/icons';
|
|
25
|
+
import { useState } from 'react';
|
|
26
|
+
const Component = () => {
|
|
27
|
+
const [value, setValue] = useState('database');
|
|
28
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: "database", "aria-label": "Database", children: _jsx(CircleStackIconOutline, {}) }), _jsx(Tabs.Tab, { tabId: "add", "aria-label": "Add database", children: _jsx(DatabaseAddCircleIcon, {}) }), _jsx(Tabs.Tab, { tabId: "inbox", "aria-label": "Inbox", children: _jsx(InboxArrowDownIconOutline, {}) })] }), _jsx(Tabs.TabPanel, { className: "n-flex n-flex-col n-gap-token-4 n-p-token-6", value: value, tabId: "database", children: _jsx(Typography, { variant: "body-medium", className: "n-text-light-neutral-text-weak", children: "Database management and operations." }) }), _jsx(Tabs.TabPanel, { className: "n-flex n-flex-col n-gap-token-4 n-p-token-6", value: value, tabId: "add", children: _jsx(Typography, { variant: "body-medium", className: "n-text-light-neutral-text-weak", children: "Add new database or connection." }) }), _jsx(Tabs.TabPanel, { className: "n-flex n-flex-col n-gap-token-4 n-p-token-6", value: value, tabId: "inbox", children: _jsx(Typography, { variant: "body-medium", className: "n-text-light-neutral-text-weak", children: "Inbox notifications and messages." }) })] }));
|
|
29
|
+
};
|
|
30
|
+
export default Component;
|
|
31
|
+
//# sourceMappingURL=tabs-with-icons.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs-with-icons.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-with-icons.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EACL,sBAAsB,E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