@neo4j-ndl/react 4.7.6 → 4.8.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/clean-icon-button/CleanIconButton.js +3 -1
- package/lib/cjs/clean-icon-button/CleanIconButton.js.map +1 -1
- package/lib/cjs/icon-button/IconButton.js +3 -1
- package/lib/cjs/icon-button/IconButton.js.map +1 -1
- package/lib/cjs/{status-indicator/stories/status-indicator.stories.js → icons/generated/custom/QueryStream.js} +10 -34
- package/lib/cjs/icons/generated/custom/QueryStream.js.map +1 -0
- package/lib/cjs/icons/generated/custom/index.js +3 -1
- package/lib/cjs/icons/generated/custom/index.js.map +1 -1
- package/lib/esm/clean-icon-button/CleanIconButton.js +3 -1
- package/lib/esm/clean-icon-button/CleanIconButton.js.map +1 -1
- package/lib/esm/icon-button/IconButton.js +3 -1
- package/lib/esm/icon-button/IconButton.js.map +1 -1
- package/lib/esm/icons/generated/custom/QueryStream.js +28 -0
- package/lib/esm/icons/generated/custom/QueryStream.js.map +1 -0
- package/lib/esm/icons/generated/custom/index.js +1 -0
- package/lib/esm/icons/generated/custom/index.js.map +1 -1
- package/lib/types/clean-icon-button/CleanIconButton.d.ts.map +1 -1
- package/lib/types/icon-button/IconButton.d.ts.map +1 -1
- package/lib/types/{ai/code-preview/stories/code-preview.stories.d.ts → icons/generated/custom/QueryStream.d.ts} +9 -10
- package/lib/types/icons/generated/custom/QueryStream.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/index.d.ts +1 -0
- package/lib/types/icons/generated/custom/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/lib/cjs/accordion/stories/accordion.stories.js +0 -145
- package/lib/cjs/accordion/stories/accordion.stories.js.map +0 -1
- package/lib/cjs/ai/code-preview/stories/code-preview.stories.js +0 -88
- package/lib/cjs/ai/code-preview/stories/code-preview.stories.js.map +0 -1
- package/lib/cjs/ai/file-tag/stories/file-tag.stories.js +0 -76
- package/lib/cjs/ai/file-tag/stories/file-tag.stories.js.map +0 -1
- package/lib/cjs/ai/image-tag/stories/image-tag.stories.js +0 -76
- package/lib/cjs/ai/image-tag/stories/image-tag.stories.js.map +0 -1
- package/lib/cjs/ai/more-files/stories/more-files.stories.js +0 -50
- package/lib/cjs/ai/more-files/stories/more-files.stories.js.map +0 -1
- package/lib/cjs/ai/presence/stories/ai-presence.stories.js +0 -52
- package/lib/cjs/ai/presence/stories/ai-presence.stories.js.map +0 -1
- package/lib/cjs/ai/preview/stories/preview-code.stories.js +0 -100
- package/lib/cjs/ai/preview/stories/preview-code.stories.js.map +0 -1
- package/lib/cjs/ai/preview/stories/preview.stories.js +0 -63
- package/lib/cjs/ai/preview/stories/preview.stories.js.map +0 -1
- package/lib/cjs/ai/prompt/stories/prompt.stories.js +0 -91
- package/lib/cjs/ai/prompt/stories/prompt.stories.js.map +0 -1
- package/lib/cjs/ai/reasoning/stories/reasoning.stories.js +0 -63
- package/lib/cjs/ai/reasoning/stories/reasoning.stories.js.map +0 -1
- package/lib/cjs/ai/response/stories/response.stories.js +0 -133
- package/lib/cjs/ai/response/stories/response.stories.js.map +0 -1
- package/lib/cjs/ai/suggestion/stories/suggestion.stories.js +0 -89
- package/lib/cjs/ai/suggestion/stories/suggestion.stories.js.map +0 -1
- package/lib/cjs/ai/thinking/stories/ai-thinking.stories.js +0 -63
- package/lib/cjs/ai/thinking/stories/ai-thinking.stories.js.map +0 -1
- package/lib/cjs/ai/tool-call/stories/tool-call.stories.js +0 -63
- package/lib/cjs/ai/tool-call/stories/tool-call.stories.js.map +0 -1
- package/lib/cjs/ai/user-bubble/stories/user-bubble.stories.js +0 -89
- package/lib/cjs/ai/user-bubble/stories/user-bubble.stories.js.map +0 -1
- package/lib/cjs/avatar/stories/avatar.stories.js +0 -125
- package/lib/cjs/avatar/stories/avatar.stories.js.map +0 -1
- package/lib/cjs/banner/stories/banner.stories.js +0 -120
- package/lib/cjs/banner/stories/banner.stories.js.map +0 -1
- package/lib/cjs/box/stories/box.stories.js +0 -54
- package/lib/cjs/box/stories/box.stories.js.map +0 -1
- package/lib/cjs/breadcrumbs/stories/breadcrumbs.stories.js +0 -88
- package/lib/cjs/breadcrumbs/stories/breadcrumbs.stories.js.map +0 -1
- package/lib/cjs/button/stories/button.stories.js +0 -131
- package/lib/cjs/button/stories/button.stories.js.map +0 -1
- package/lib/cjs/checkbox/stories/checkbox.stories.js +0 -137
- package/lib/cjs/checkbox/stories/checkbox.stories.js.map +0 -1
- package/lib/cjs/clean-icon-button/stories/clean-icon-button.stories.js +0 -121
- package/lib/cjs/clean-icon-button/stories/clean-icon-button.stories.js.map +0 -1
- package/lib/cjs/clipboard-button/stories/clipboard-button.stories.js +0 -119
- package/lib/cjs/clipboard-button/stories/clipboard-button.stories.js.map +0 -1
- package/lib/cjs/code/stories/code.stories.js +0 -62
- package/lib/cjs/code/stories/code.stories.js.map +0 -1
- package/lib/cjs/code-block/stories/code.stories.js +0 -140
- package/lib/cjs/code-block/stories/code.stories.js.map +0 -1
- package/lib/cjs/color-picker/stories/color-picker.stories.js +0 -80
- package/lib/cjs/color-picker/stories/color-picker.stories.js.map +0 -1
- package/lib/cjs/conditional-wrap/stories/conditional-wrap.stories.js +0 -44
- package/lib/cjs/conditional-wrap/stories/conditional-wrap.stories.js.map +0 -1
- package/lib/cjs/data-grid/stories/datagrid-placeholder-states.stories.js +0 -185
- package/lib/cjs/data-grid/stories/datagrid-placeholder-states.stories.js.map +0 -1
- package/lib/cjs/data-grid/stories/datagrid.stories.js +0 -223
- package/lib/cjs/data-grid/stories/datagrid.stories.js.map +0 -1
- package/lib/cjs/date-picker/stories/date-picker.stories.js +0 -210
- package/lib/cjs/date-picker/stories/date-picker.stories.js.map +0 -1
- package/lib/cjs/dialog/stories/dialog.stories.js +0 -150
- package/lib/cjs/dialog/stories/dialog.stories.js.map +0 -1
- package/lib/cjs/divider/stories/divider.stories.js +0 -67
- package/lib/cjs/divider/stories/divider.stories.js.map +0 -1
- package/lib/cjs/drawer/stories/drawer.stories.js +0 -142
- package/lib/cjs/drawer/stories/drawer.stories.js.map +0 -1
- package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js +0 -119
- package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js.map +0 -1
- package/lib/cjs/dropzone/stories/dropzone.stories.js +0 -109
- package/lib/cjs/dropzone/stories/dropzone.stories.js.map +0 -1
- package/lib/cjs/flex/stories/flex.stories.js +0 -48
- package/lib/cjs/flex/stories/flex.stories.js.map +0 -1
- package/lib/cjs/graph-label/stories/graph-label.stories.js +0 -132
- package/lib/cjs/graph-label/stories/graph-label.stories.js.map +0 -1
- package/lib/cjs/icon-button/stories/icon-button.stories.js +0 -135
- package/lib/cjs/icon-button/stories/icon-button.stories.js.map +0 -1
- package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js +0 -106
- package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js.map +0 -1
- package/lib/cjs/inline-edit/stories/inline-edit.stories.js +0 -160
- package/lib/cjs/inline-edit/stories/inline-edit.stories.js.map +0 -1
- package/lib/cjs/kbd/stories/kbd.stories.js +0 -63
- package/lib/cjs/kbd/stories/kbd.stories.js.map +0 -1
- package/lib/cjs/loading-bar/stories/loading-bar.stories.js +0 -67
- package/lib/cjs/loading-bar/stories/loading-bar.stories.js.map +0 -1
- package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js +0 -67
- package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js.map +0 -1
- package/lib/cjs/logo/stories/logo.stories.js +0 -88
- package/lib/cjs/logo/stories/logo.stories.js.map +0 -1
- package/lib/cjs/menu/stories/menu.stories.js +0 -211
- package/lib/cjs/menu/stories/menu.stories.js.map +0 -1
- package/lib/cjs/popover/stories/popover.stories.js +0 -97
- package/lib/cjs/popover/stories/popover.stories.js.map +0 -1
- package/lib/cjs/progress-bar/stories/progress-bar.stories.js +0 -80
- package/lib/cjs/progress-bar/stories/progress-bar.stories.js.map +0 -1
- package/lib/cjs/radio/stories/radio.stories.js +0 -132
- package/lib/cjs/radio/stories/radio.stories.js.map +0 -1
- package/lib/cjs/segmented-control/stories/segmented-control.stories.js +0 -106
- package/lib/cjs/segmented-control/stories/segmented-control.stories.js.map +0 -1
- package/lib/cjs/select/stories/select.stories.js +0 -226
- package/lib/cjs/select/stories/select.stories.js.map +0 -1
- package/lib/cjs/select-icon-button/stories/select-icon-button.stories.js +0 -89
- package/lib/cjs/select-icon-button/stories/select-icon-button.stories.js.map +0 -1
- package/lib/cjs/side-navigation/stories/side-nav.stories.js +0 -92
- package/lib/cjs/side-navigation/stories/side-nav.stories.js.map +0 -1
- package/lib/cjs/skeleton/stories/skeleton.stories.js +0 -137
- package/lib/cjs/skeleton/stories/skeleton.stories.js.map +0 -1
- package/lib/cjs/slider/stories/slider.stories.js +0 -152
- package/lib/cjs/slider/stories/slider.stories.js.map +0 -1
- package/lib/cjs/spotlight/stories/spotlight.stories.js +0 -178
- package/lib/cjs/spotlight/stories/spotlight.stories.js.map +0 -1
- package/lib/cjs/status-indicator/stories/status-indicator.stories.js.map +0 -1
- package/lib/cjs/status-label/stories/status-label.stories.js +0 -92
- package/lib/cjs/status-label/stories/status-label.stories.js.map +0 -1
- package/lib/cjs/switch/stories/switch.stories.js +0 -137
- package/lib/cjs/switch/stories/switch.stories.js.map +0 -1
- package/lib/cjs/tabs/stories/tabs.stories.js +0 -132
- package/lib/cjs/tabs/stories/tabs.stories.js.map +0 -1
- package/lib/cjs/tag/stories/tag.stories.js +0 -67
- package/lib/cjs/tag/stories/tag.stories.js.map +0 -1
- package/lib/cjs/text-area/stories/text-area.stories.js +0 -148
- package/lib/cjs/text-area/stories/text-area.stories.js.map +0 -1
- package/lib/cjs/text-input/stories/text-input.stories.js +0 -249
- package/lib/cjs/text-input/stories/text-input.stories.js.map +0 -1
- package/lib/cjs/text-link/stories/text-link.stories.js +0 -102
- package/lib/cjs/text-link/stories/text-link.stories.js.map +0 -1
- package/lib/cjs/text-overflow/stories/text-overflow.stories.js +0 -115
- package/lib/cjs/text-overflow/stories/text-overflow.stories.js.map +0 -1
- package/lib/cjs/time-picker/stories/time-picker.stories.js +0 -63
- package/lib/cjs/time-picker/stories/time-picker.stories.js.map +0 -1
- package/lib/cjs/timezone-picker/stories/timezone-picker.stories.js +0 -145
- package/lib/cjs/timezone-picker/stories/timezone-picker.stories.js.map +0 -1
- package/lib/cjs/toast/stories/toast.stories.js +0 -137
- package/lib/cjs/toast/stories/toast.stories.js.map +0 -1
- package/lib/cjs/tooltip/stories/tooltip.stories.js +0 -189
- package/lib/cjs/tooltip/stories/tooltip.stories.js.map +0 -1
- package/lib/cjs/tree-view/stories/treeview.stories.js +0 -72
- package/lib/cjs/tree-view/stories/treeview.stories.js.map +0 -1
- package/lib/cjs/typography/stories/typography.stories.js +0 -72
- package/lib/cjs/typography/stories/typography.stories.js.map +0 -1
- package/lib/cjs/wizard/stories/wizard.stories.js +0 -99
- package/lib/cjs/wizard/stories/wizard.stories.js.map +0 -1
- package/lib/esm/accordion/stories/accordion.stories.js +0 -142
- package/lib/esm/accordion/stories/accordion.stories.js.map +0 -1
- package/lib/esm/ai/code-preview/stories/code-preview.stories.js +0 -85
- package/lib/esm/ai/code-preview/stories/code-preview.stories.js.map +0 -1
- package/lib/esm/ai/file-tag/stories/file-tag.stories.js +0 -73
- package/lib/esm/ai/file-tag/stories/file-tag.stories.js.map +0 -1
- package/lib/esm/ai/image-tag/stories/image-tag.stories.js +0 -73
- package/lib/esm/ai/image-tag/stories/image-tag.stories.js.map +0 -1
- package/lib/esm/ai/more-files/stories/more-files.stories.js +0 -47
- package/lib/esm/ai/more-files/stories/more-files.stories.js.map +0 -1
- package/lib/esm/ai/presence/stories/ai-presence.stories.js +0 -49
- package/lib/esm/ai/presence/stories/ai-presence.stories.js.map +0 -1
- package/lib/esm/ai/preview/stories/preview-code.stories.js +0 -97
- package/lib/esm/ai/preview/stories/preview-code.stories.js.map +0 -1
- package/lib/esm/ai/preview/stories/preview.stories.js +0 -60
- package/lib/esm/ai/preview/stories/preview.stories.js.map +0 -1
- package/lib/esm/ai/prompt/stories/prompt.stories.js +0 -88
- package/lib/esm/ai/prompt/stories/prompt.stories.js.map +0 -1
- package/lib/esm/ai/reasoning/stories/reasoning.stories.js +0 -60
- package/lib/esm/ai/reasoning/stories/reasoning.stories.js.map +0 -1
- package/lib/esm/ai/response/stories/response.stories.js +0 -130
- package/lib/esm/ai/response/stories/response.stories.js.map +0 -1
- package/lib/esm/ai/suggestion/stories/suggestion.stories.js +0 -86
- package/lib/esm/ai/suggestion/stories/suggestion.stories.js.map +0 -1
- package/lib/esm/ai/thinking/stories/ai-thinking.stories.js +0 -60
- package/lib/esm/ai/thinking/stories/ai-thinking.stories.js.map +0 -1
- package/lib/esm/ai/tool-call/stories/tool-call.stories.js +0 -60
- package/lib/esm/ai/tool-call/stories/tool-call.stories.js.map +0 -1
- package/lib/esm/ai/user-bubble/stories/user-bubble.stories.js +0 -86
- package/lib/esm/ai/user-bubble/stories/user-bubble.stories.js.map +0 -1
- package/lib/esm/avatar/stories/avatar.stories.js +0 -122
- package/lib/esm/avatar/stories/avatar.stories.js.map +0 -1
- package/lib/esm/banner/stories/banner.stories.js +0 -117
- package/lib/esm/banner/stories/banner.stories.js.map +0 -1
- package/lib/esm/box/stories/box.stories.js +0 -51
- package/lib/esm/box/stories/box.stories.js.map +0 -1
- package/lib/esm/breadcrumbs/stories/breadcrumbs.stories.js +0 -85
- package/lib/esm/breadcrumbs/stories/breadcrumbs.stories.js.map +0 -1
- package/lib/esm/button/stories/button.stories.js +0 -128
- package/lib/esm/button/stories/button.stories.js.map +0 -1
- package/lib/esm/checkbox/stories/checkbox.stories.js +0 -134
- package/lib/esm/checkbox/stories/checkbox.stories.js.map +0 -1
- package/lib/esm/clean-icon-button/stories/clean-icon-button.stories.js +0 -118
- package/lib/esm/clean-icon-button/stories/clean-icon-button.stories.js.map +0 -1
- package/lib/esm/clipboard-button/stories/clipboard-button.stories.js +0 -116
- package/lib/esm/clipboard-button/stories/clipboard-button.stories.js.map +0 -1
- package/lib/esm/code/stories/code.stories.js +0 -59
- package/lib/esm/code/stories/code.stories.js.map +0 -1
- package/lib/esm/code-block/stories/code.stories.js +0 -137
- package/lib/esm/code-block/stories/code.stories.js.map +0 -1
- package/lib/esm/color-picker/stories/color-picker.stories.js +0 -77
- package/lib/esm/color-picker/stories/color-picker.stories.js.map +0 -1
- package/lib/esm/conditional-wrap/stories/conditional-wrap.stories.js +0 -41
- package/lib/esm/conditional-wrap/stories/conditional-wrap.stories.js.map +0 -1
- package/lib/esm/data-grid/stories/datagrid-placeholder-states.stories.js +0 -179
- package/lib/esm/data-grid/stories/datagrid-placeholder-states.stories.js.map +0 -1
- package/lib/esm/data-grid/stories/datagrid.stories.js +0 -220
- package/lib/esm/data-grid/stories/datagrid.stories.js.map +0 -1
- package/lib/esm/date-picker/stories/date-picker.stories.js +0 -207
- package/lib/esm/date-picker/stories/date-picker.stories.js.map +0 -1
- package/lib/esm/dialog/stories/dialog.stories.js +0 -144
- package/lib/esm/dialog/stories/dialog.stories.js.map +0 -1
- package/lib/esm/divider/stories/divider.stories.js +0 -64
- package/lib/esm/divider/stories/divider.stories.js.map +0 -1
- package/lib/esm/drawer/stories/drawer.stories.js +0 -139
- package/lib/esm/drawer/stories/drawer.stories.js.map +0 -1
- package/lib/esm/dropdown-button/stories/dropdown-button.stories.js +0 -116
- package/lib/esm/dropdown-button/stories/dropdown-button.stories.js.map +0 -1
- package/lib/esm/dropzone/stories/dropzone.stories.js +0 -106
- package/lib/esm/dropzone/stories/dropzone.stories.js.map +0 -1
- package/lib/esm/flex/stories/flex.stories.js +0 -45
- package/lib/esm/flex/stories/flex.stories.js.map +0 -1
- package/lib/esm/graph-label/stories/graph-label.stories.js +0 -129
- package/lib/esm/graph-label/stories/graph-label.stories.js.map +0 -1
- package/lib/esm/icon-button/stories/icon-button.stories.js +0 -132
- package/lib/esm/icon-button/stories/icon-button.stories.js.map +0 -1
- package/lib/esm/icon-button-array/stories/icon-button-array.stories.js +0 -103
- package/lib/esm/icon-button-array/stories/icon-button-array.stories.js.map +0 -1
- package/lib/esm/inline-edit/stories/inline-edit.stories.js +0 -157
- package/lib/esm/inline-edit/stories/inline-edit.stories.js.map +0 -1
- package/lib/esm/kbd/stories/kbd.stories.js +0 -60
- package/lib/esm/kbd/stories/kbd.stories.js.map +0 -1
- package/lib/esm/loading-bar/stories/loading-bar.stories.js +0 -64
- package/lib/esm/loading-bar/stories/loading-bar.stories.js.map +0 -1
- package/lib/esm/loading-spinner/stories/loading-spinner.stories.js +0 -64
- package/lib/esm/loading-spinner/stories/loading-spinner.stories.js.map +0 -1
- package/lib/esm/logo/stories/logo.stories.js +0 -85
- package/lib/esm/logo/stories/logo.stories.js.map +0 -1
- package/lib/esm/menu/stories/menu.stories.js +0 -208
- package/lib/esm/menu/stories/menu.stories.js.map +0 -1
- package/lib/esm/popover/stories/popover.stories.js +0 -94
- package/lib/esm/popover/stories/popover.stories.js.map +0 -1
- package/lib/esm/progress-bar/stories/progress-bar.stories.js +0 -77
- package/lib/esm/progress-bar/stories/progress-bar.stories.js.map +0 -1
- package/lib/esm/radio/stories/radio.stories.js +0 -129
- package/lib/esm/radio/stories/radio.stories.js.map +0 -1
- package/lib/esm/segmented-control/stories/segmented-control.stories.js +0 -103
- package/lib/esm/segmented-control/stories/segmented-control.stories.js.map +0 -1
- package/lib/esm/select/stories/select.stories.js +0 -220
- package/lib/esm/select/stories/select.stories.js.map +0 -1
- package/lib/esm/select-icon-button/stories/select-icon-button.stories.js +0 -86
- package/lib/esm/select-icon-button/stories/select-icon-button.stories.js.map +0 -1
- package/lib/esm/side-navigation/stories/side-nav.stories.js +0 -89
- package/lib/esm/side-navigation/stories/side-nav.stories.js.map +0 -1
- package/lib/esm/skeleton/stories/skeleton.stories.js +0 -134
- package/lib/esm/skeleton/stories/skeleton.stories.js.map +0 -1
- package/lib/esm/slider/stories/slider.stories.js +0 -149
- package/lib/esm/slider/stories/slider.stories.js.map +0 -1
- package/lib/esm/spotlight/stories/spotlight.stories.js +0 -172
- package/lib/esm/spotlight/stories/spotlight.stories.js.map +0 -1
- package/lib/esm/status-indicator/stories/status-indicator.stories.js +0 -51
- package/lib/esm/status-indicator/stories/status-indicator.stories.js.map +0 -1
- package/lib/esm/status-label/stories/status-label.stories.js +0 -89
- package/lib/esm/status-label/stories/status-label.stories.js.map +0 -1
- package/lib/esm/switch/stories/switch.stories.js +0 -134
- package/lib/esm/switch/stories/switch.stories.js.map +0 -1
- package/lib/esm/tabs/stories/tabs.stories.js +0 -129
- package/lib/esm/tabs/stories/tabs.stories.js.map +0 -1
- package/lib/esm/tag/stories/tag.stories.js +0 -64
- package/lib/esm/tag/stories/tag.stories.js.map +0 -1
- package/lib/esm/text-area/stories/text-area.stories.js +0 -145
- package/lib/esm/text-area/stories/text-area.stories.js.map +0 -1
- package/lib/esm/text-input/stories/text-input.stories.js +0 -246
- package/lib/esm/text-input/stories/text-input.stories.js.map +0 -1
- package/lib/esm/text-link/stories/text-link.stories.js +0 -99
- package/lib/esm/text-link/stories/text-link.stories.js.map +0 -1
- package/lib/esm/text-overflow/stories/text-overflow.stories.js +0 -113
- package/lib/esm/text-overflow/stories/text-overflow.stories.js.map +0 -1
- package/lib/esm/time-picker/stories/time-picker.stories.js +0 -60
- package/lib/esm/time-picker/stories/time-picker.stories.js.map +0 -1
- package/lib/esm/timezone-picker/stories/timezone-picker.stories.js +0 -142
- package/lib/esm/timezone-picker/stories/timezone-picker.stories.js.map +0 -1
- package/lib/esm/toast/stories/toast.stories.js +0 -134
- package/lib/esm/toast/stories/toast.stories.js.map +0 -1
- package/lib/esm/tooltip/stories/tooltip.stories.js +0 -183
- package/lib/esm/tooltip/stories/tooltip.stories.js.map +0 -1
- package/lib/esm/tree-view/stories/treeview.stories.js +0 -69
- package/lib/esm/tree-view/stories/treeview.stories.js.map +0 -1
- package/lib/esm/typography/stories/typography.stories.js +0 -69
- package/lib/esm/typography/stories/typography.stories.js.map +0 -1
- package/lib/esm/wizard/stories/wizard.stories.js +0 -96
- package/lib/esm/wizard/stories/wizard.stories.js.map +0 -1
- package/lib/types/accordion/stories/accordion.stories.d.ts +0 -61
- package/lib/types/accordion/stories/accordion.stories.d.ts.map +0 -1
- package/lib/types/ai/code-preview/stories/code-preview.stories.d.ts.map +0 -1
- package/lib/types/ai/file-tag/stories/file-tag.stories.d.ts +0 -29
- package/lib/types/ai/file-tag/stories/file-tag.stories.d.ts.map +0 -1
- package/lib/types/ai/image-tag/stories/image-tag.stories.d.ts +0 -29
- package/lib/types/ai/image-tag/stories/image-tag.stories.d.ts.map +0 -1
- package/lib/types/ai/more-files/stories/more-files.stories.d.ts +0 -27
- package/lib/types/ai/more-files/stories/more-files.stories.d.ts.map +0 -1
- package/lib/types/ai/presence/stories/ai-presence.stories.d.ts +0 -27
- package/lib/types/ai/presence/stories/ai-presence.stories.d.ts.map +0 -1
- package/lib/types/ai/preview/stories/preview-code.stories.d.ts +0 -31
- package/lib/types/ai/preview/stories/preview-code.stories.d.ts.map +0 -1
- package/lib/types/ai/preview/stories/preview.stories.d.ts +0 -28
- package/lib/types/ai/preview/stories/preview.stories.d.ts.map +0 -1
- package/lib/types/ai/prompt/stories/prompt.stories.d.ts +0 -30
- package/lib/types/ai/prompt/stories/prompt.stories.d.ts.map +0 -1
- package/lib/types/ai/reasoning/stories/reasoning.stories.d.ts +0 -28
- package/lib/types/ai/reasoning/stories/reasoning.stories.d.ts.map +0 -1
- package/lib/types/ai/response/stories/response.stories.d.ts +0 -33
- package/lib/types/ai/response/stories/response.stories.d.ts.map +0 -1
- package/lib/types/ai/suggestion/stories/suggestion.stories.d.ts +0 -30
- package/lib/types/ai/suggestion/stories/suggestion.stories.d.ts.map +0 -1
- package/lib/types/ai/thinking/stories/ai-thinking.stories.d.ts +0 -28
- package/lib/types/ai/thinking/stories/ai-thinking.stories.d.ts.map +0 -1
- package/lib/types/ai/tool-call/stories/tool-call.stories.d.ts +0 -28
- package/lib/types/ai/tool-call/stories/tool-call.stories.d.ts.map +0 -1
- package/lib/types/ai/user-bubble/stories/user-bubble.stories.d.ts +0 -30
- package/lib/types/ai/user-bubble/stories/user-bubble.stories.d.ts.map +0 -1
- package/lib/types/avatar/stories/avatar.stories.d.ts +0 -32
- package/lib/types/avatar/stories/avatar.stories.d.ts.map +0 -1
- package/lib/types/banner/stories/banner.stories.d.ts +0 -32
- package/lib/types/banner/stories/banner.stories.d.ts.map +0 -1
- package/lib/types/box/stories/box.stories.d.ts +0 -46
- package/lib/types/box/stories/box.stories.d.ts.map +0 -1
- package/lib/types/breadcrumbs/stories/breadcrumbs.stories.d.ts +0 -81
- package/lib/types/breadcrumbs/stories/breadcrumbs.stories.d.ts.map +0 -1
- package/lib/types/button/stories/button.stories.d.ts +0 -33
- package/lib/types/button/stories/button.stories.d.ts.map +0 -1
- package/lib/types/checkbox/stories/checkbox.stories.d.ts +0 -33
- package/lib/types/checkbox/stories/checkbox.stories.d.ts.map +0 -1
- package/lib/types/clean-icon-button/stories/clean-icon-button.stories.d.ts +0 -51
- package/lib/types/clean-icon-button/stories/clean-icon-button.stories.d.ts.map +0 -1
- package/lib/types/clipboard-button/stories/clipboard-button.stories.d.ts +0 -32
- package/lib/types/clipboard-button/stories/clipboard-button.stories.d.ts.map +0 -1
- package/lib/types/code/stories/code.stories.d.ts +0 -27
- package/lib/types/code/stories/code.stories.d.ts.map +0 -1
- package/lib/types/code-block/stories/code.stories.d.ts +0 -33
- package/lib/types/code-block/stories/code.stories.d.ts.map +0 -1
- package/lib/types/color-picker/stories/color-picker.stories.d.ts +0 -29
- package/lib/types/color-picker/stories/color-picker.stories.d.ts.map +0 -1
- package/lib/types/conditional-wrap/stories/conditional-wrap.stories.d.ts +0 -34
- package/lib/types/conditional-wrap/stories/conditional-wrap.stories.d.ts.map +0 -1
- package/lib/types/data-grid/stories/datagrid-placeholder-states.stories.d.ts +0 -136
- package/lib/types/data-grid/stories/datagrid-placeholder-states.stories.d.ts.map +0 -1
- package/lib/types/data-grid/stories/datagrid.stories.d.ts +0 -40
- package/lib/types/data-grid/stories/datagrid.stories.d.ts.map +0 -1
- package/lib/types/date-picker/stories/date-picker.stories.d.ts +0 -39
- package/lib/types/date-picker/stories/date-picker.stories.d.ts.map +0 -1
- package/lib/types/dialog/stories/dialog.stories.d.ts +0 -33
- package/lib/types/dialog/stories/dialog.stories.d.ts.map +0 -1
- package/lib/types/divider/stories/divider.stories.d.ts +0 -39
- package/lib/types/divider/stories/divider.stories.d.ts.map +0 -1
- package/lib/types/drawer/stories/drawer.stories.d.ts +0 -34
- package/lib/types/drawer/stories/drawer.stories.d.ts.map +0 -1
- package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts +0 -32
- package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts.map +0 -1
- package/lib/types/dropzone/stories/dropzone.stories.d.ts +0 -32
- package/lib/types/dropzone/stories/dropzone.stories.d.ts.map +0 -1
- package/lib/types/flex/stories/flex.stories.d.ts +0 -47
- package/lib/types/flex/stories/flex.stories.d.ts.map +0 -1
- package/lib/types/graph-label/stories/graph-label.stories.d.ts +0 -33
- package/lib/types/graph-label/stories/graph-label.stories.d.ts.map +0 -1
- package/lib/types/icon-button/stories/icon-button.stories.d.ts +0 -53
- package/lib/types/icon-button/stories/icon-button.stories.d.ts.map +0 -1
- package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts +0 -31
- package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts.map +0 -1
- package/lib/types/inline-edit/stories/inline-edit.stories.d.ts +0 -30
- package/lib/types/inline-edit/stories/inline-edit.stories.d.ts.map +0 -1
- package/lib/types/kbd/stories/kbd.stories.d.ts +0 -28
- package/lib/types/kbd/stories/kbd.stories.d.ts.map +0 -1
- package/lib/types/loading-bar/stories/loading-bar.stories.d.ts +0 -28
- package/lib/types/loading-bar/stories/loading-bar.stories.d.ts.map +0 -1
- package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts +0 -28
- package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts.map +0 -1
- package/lib/types/logo/stories/logo.stories.d.ts +0 -41
- package/lib/types/logo/stories/logo.stories.d.ts.map +0 -1
- package/lib/types/menu/stories/menu.stories.d.ts +0 -38
- package/lib/types/menu/stories/menu.stories.d.ts.map +0 -1
- package/lib/types/popover/stories/popover.stories.d.ts +0 -30
- package/lib/types/popover/stories/popover.stories.d.ts.map +0 -1
- package/lib/types/progress-bar/stories/progress-bar.stories.d.ts +0 -29
- package/lib/types/progress-bar/stories/progress-bar.stories.d.ts.map +0 -1
- package/lib/types/radio/stories/radio.stories.d.ts +0 -33
- package/lib/types/radio/stories/radio.stories.d.ts.map +0 -1
- package/lib/types/segmented-control/stories/segmented-control.stories.d.ts +0 -31
- package/lib/types/segmented-control/stories/segmented-control.stories.d.ts.map +0 -1
- package/lib/types/select/stories/select.stories.d.ts +0 -39
- package/lib/types/select/stories/select.stories.d.ts.map +0 -1
- package/lib/types/select-icon-button/stories/select-icon-button.stories.d.ts +0 -30
- package/lib/types/select-icon-button/stories/select-icon-button.stories.d.ts.map +0 -1
- package/lib/types/side-navigation/stories/side-nav.stories.d.ts +0 -46
- package/lib/types/side-navigation/stories/side-nav.stories.d.ts.map +0 -1
- package/lib/types/skeleton/stories/skeleton.stories.d.ts +0 -50
- package/lib/types/skeleton/stories/skeleton.stories.d.ts.map +0 -1
- package/lib/types/slider/stories/slider.stories.d.ts +0 -34
- package/lib/types/slider/stories/slider.stories.d.ts.map +0 -1
- package/lib/types/spotlight/stories/spotlight.stories.d.ts +0 -39
- package/lib/types/spotlight/stories/spotlight.stories.d.ts.map +0 -1
- package/lib/types/status-indicator/stories/status-indicator.stories.d.ts +0 -27
- package/lib/types/status-indicator/stories/status-indicator.stories.d.ts.map +0 -1
- package/lib/types/status-label/stories/status-label.stories.d.ts +0 -30
- package/lib/types/status-label/stories/status-label.stories.d.ts.map +0 -1
- package/lib/types/switch/stories/switch.stories.d.ts +0 -33
- package/lib/types/switch/stories/switch.stories.d.ts.map +0 -1
- package/lib/types/tabs/stories/tabs.stories.d.ts +0 -33
- package/lib/types/tabs/stories/tabs.stories.d.ts.map +0 -1
- package/lib/types/tag/stories/tag.stories.d.ts +0 -28
- package/lib/types/tag/stories/tag.stories.d.ts.map +0 -1
- package/lib/types/text-area/stories/text-area.stories.d.ts +0 -34
- package/lib/types/text-area/stories/text-area.stories.d.ts.map +0 -1
- package/lib/types/text-input/stories/text-input.stories.d.ts +0 -42
- package/lib/types/text-input/stories/text-input.stories.d.ts.map +0 -1
- package/lib/types/text-link/stories/text-link.stories.d.ts +0 -31
- package/lib/types/text-link/stories/text-link.stories.d.ts.map +0 -1
- package/lib/types/text-overflow/stories/text-overflow.stories.d.ts +0 -25
- package/lib/types/text-overflow/stories/text-overflow.stories.d.ts.map +0 -1
- package/lib/types/time-picker/stories/time-picker.stories.d.ts +0 -37
- package/lib/types/time-picker/stories/time-picker.stories.d.ts.map +0 -1
- package/lib/types/timezone-picker/stories/timezone-picker.stories.d.ts +0 -34
- package/lib/types/timezone-picker/stories/timezone-picker.stories.d.ts.map +0 -1
- package/lib/types/toast/stories/toast.stories.d.ts +0 -39
- package/lib/types/toast/stories/toast.stories.d.ts.map +0 -1
- package/lib/types/tooltip/stories/tooltip.stories.d.ts +0 -37
- package/lib/types/tooltip/stories/tooltip.stories.d.ts.map +0 -1
- package/lib/types/tree-view/stories/treeview.stories.d.ts +0 -29
- package/lib/types/tree-view/stories/treeview.stories.d.ts.map +0 -1
- package/lib/types/typography/stories/typography.stories.d.ts +0 -29
- package/lib/types/typography/stories/typography.stories.d.ts.map +0 -1
- package/lib/types/wizard/stories/wizard.stories.d.ts +0 -31
- package/lib/types/wizard/stories/wizard.stories.d.ts.map +0 -1
|
@@ -1,80 +0,0 @@
|
|
|
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
|
-
"use strict";
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.CustomSwatches = exports.WithoutEyeDropper = exports.Default = void 0;
|
|
25
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
|
-
const ColorPicker_1 = require("../ColorPicker");
|
|
27
|
-
const _1 = require(".");
|
|
28
|
-
const componentMeta = {
|
|
29
|
-
component: ColorPicker_1.ColorPicker,
|
|
30
|
-
decorators: [
|
|
31
|
-
(Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center ", children: (0, jsx_runtime_1.jsx)("div", { className: "n-w-60", children: (0, jsx_runtime_1.jsx)(Story, {}) }) })),
|
|
32
|
-
],
|
|
33
|
-
id: 'components-color-picker',
|
|
34
|
-
parameters: {
|
|
35
|
-
controls: { disable: true },
|
|
36
|
-
},
|
|
37
|
-
tags: ['docsPage'],
|
|
38
|
-
title: 'Components/ColorPicker',
|
|
39
|
-
};
|
|
40
|
-
exports.default = componentMeta;
|
|
41
|
-
exports.Default = {
|
|
42
|
-
args: {},
|
|
43
|
-
parameters: {
|
|
44
|
-
docs: {
|
|
45
|
-
source: {
|
|
46
|
-
code: _1.ColorPickerDefaultSource,
|
|
47
|
-
language: 'tsx',
|
|
48
|
-
type: 'code',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
render: _1.ColorPickerDefault,
|
|
53
|
-
};
|
|
54
|
-
exports.WithoutEyeDropper = {
|
|
55
|
-
args: {},
|
|
56
|
-
parameters: {
|
|
57
|
-
docs: {
|
|
58
|
-
source: {
|
|
59
|
-
code: _1.ColorPickerWithoutEyeDropperSource,
|
|
60
|
-
language: 'tsx',
|
|
61
|
-
type: 'code',
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
render: _1.ColorPickerWithoutEyeDropper,
|
|
66
|
-
};
|
|
67
|
-
exports.CustomSwatches = {
|
|
68
|
-
args: {},
|
|
69
|
-
parameters: {
|
|
70
|
-
docs: {
|
|
71
|
-
source: {
|
|
72
|
-
code: _1.ColorPickerCustomSwatchesSource,
|
|
73
|
-
language: 'tsx',
|
|
74
|
-
type: 'code',
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
render: _1.ColorPickerCustomSwatches,
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=color-picker.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-picker.stories.js","sourceRoot":"","sources":["../../../../src/color-picker/stories/color-picker.stories.tsx"],"names":[],"mappings":";;;;AAsBA,gDAA6C;AAC7C,wBAOW;AAEX,MAAM,aAAa,GAA6B;IAC9C,SAAS,EAAE,yBAAW;IACtB,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,gCAAK,SAAS,EAAC,0BAA0B,YACvC,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,KAAK,KAAG,GACL,GACF,CACP;KACF;IACD,EAAE,EAAE,yBAAyB;IAC7B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,wBAAwB;CAChC,CAAC;AAEF,kBAAe,aAAa,CAAC;AAGhB,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,2BAAwB;gBAC9B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,qBAAkB;CAC3B,CAAC;AAEW,QAAA,iBAAiB,GAAU;IACtC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,qCAAkC;gBACxC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,+BAA4B;CACrC,CAAC;AAEW,QAAA,cAAc,GAAU;IACnC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kCAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAAyB;CAClC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { ColorPicker } from '../ColorPicker';\nimport {\n ColorPickerCustomSwatches,\n ColorPickerCustomSwatchesSource,\n ColorPickerDefault,\n ColorPickerDefaultSource,\n ColorPickerWithoutEyeDropper,\n ColorPickerWithoutEyeDropperSource,\n} from '.';\n\nconst componentMeta: Meta<typeof ColorPicker> = {\n component: ColorPicker,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center \">\n <div className=\"n-w-60\">\n <Story />\n </div>\n </div>\n ),\n ],\n id: 'components-color-picker',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/ColorPicker',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ColorPickerDefaultSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ColorPickerDefault,\n};\n\nexport const WithoutEyeDropper: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ColorPickerWithoutEyeDropperSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ColorPickerWithoutEyeDropper,\n};\n\nexport const CustomSwatches: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ColorPickerCustomSwatchesSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ColorPickerCustomSwatches,\n};\n"]}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
-
exports.Default = void 0;
|
|
24
|
-
const index_1 = require("../../index");
|
|
25
|
-
const _1 = require(".");
|
|
26
|
-
const componentMeta = {
|
|
27
|
-
component: index_1.ConditionalWrap,
|
|
28
|
-
id: 'components-conditional-wrap',
|
|
29
|
-
title: 'Components/ConditionalWrap',
|
|
30
|
-
};
|
|
31
|
-
exports.default = componentMeta;
|
|
32
|
-
exports.Default = {
|
|
33
|
-
// @ts-expect-error - args are not needed.
|
|
34
|
-
args: {},
|
|
35
|
-
parameters: {
|
|
36
|
-
docs: {
|
|
37
|
-
source: {
|
|
38
|
-
code: _1.ConditionalWrapDefaultSrc,
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
render: _1.ConditionalWrapDefault,
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=conditional-wrap.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-wrap.stories.js","sourceRoot":"","sources":["../../../../src/conditional-wrap/stories/conditional-wrap.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAIH,uCAA8C;AAC9C,wBAAsE;AAEtE,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,uBAAe;IAC1B,EAAE,EAAE,6BAA6B;IACjC,KAAK,EAAE,4BAA4B;CACG,CAAC;AAEzC,kBAAe,aAAa,CAAC;AAIhB,QAAA,OAAO,GAAU;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,4BAAyB;aAChC;SACF;KACF;IACD,MAAM,EAAE,yBAAsB;CAC/B,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { ConditionalWrap } from '../../index';\nimport { ConditionalWrapDefault, ConditionalWrapDefaultSrc } from '.';\n\nconst componentMeta = {\n component: ConditionalWrap,\n id: 'components-conditional-wrap',\n title: 'Components/ConditionalWrap',\n} satisfies Meta<typeof ConditionalWrap>;\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n code: ConditionalWrapDefaultSrc,\n },\n },\n },\n render: ConditionalWrapDefault,\n};\n"]}
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LoadingTable = exports.CustomEmptyTable = exports.EmptyTable = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) "Neo4j"
|
|
8
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
9
|
-
*
|
|
10
|
-
* This file is part of Neo4j.
|
|
11
|
-
*
|
|
12
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* This program is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU General Public License
|
|
23
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
|
-
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
26
|
-
const react_1 = require("@neo4j-ndl/react");
|
|
27
|
-
const react_table_1 = require("@tanstack/react-table");
|
|
28
|
-
const staticData_1 = require("./staticData");
|
|
29
|
-
const emptyData = staticData_1.NO_DATA;
|
|
30
|
-
exports.default = {
|
|
31
|
-
component: react_1.DataGrid,
|
|
32
|
-
id: 'components-data-grid-placeholder-states',
|
|
33
|
-
parameters: {
|
|
34
|
-
chromatic: { delay: 1000 },
|
|
35
|
-
controls: { disable: true },
|
|
36
|
-
},
|
|
37
|
-
title: 'Components/DataGrid/Placeholder States',
|
|
38
|
-
};
|
|
39
|
-
const EmptyTable = () => {
|
|
40
|
-
const columnHelper = (0, react_table_1.createColumnHelper)();
|
|
41
|
-
const columns = [
|
|
42
|
-
columnHelper.accessor('name', {
|
|
43
|
-
cell: (info) => info.getValue(),
|
|
44
|
-
footer: (info) => info.column.id,
|
|
45
|
-
header: () => 'Name',
|
|
46
|
-
maxSize: 300,
|
|
47
|
-
minSize: 180,
|
|
48
|
-
size: 220,
|
|
49
|
-
}),
|
|
50
|
-
columnHelper.accessor('age', {
|
|
51
|
-
cell: (info) => info.renderValue(),
|
|
52
|
-
footer: (info) => info.column.id,
|
|
53
|
-
header: () => 'Age',
|
|
54
|
-
minSize: 80,
|
|
55
|
-
}),
|
|
56
|
-
columnHelper.accessor('cypherCommand', {
|
|
57
|
-
cell: (info) => info.getValue(),
|
|
58
|
-
footer: (info) => info.column.id,
|
|
59
|
-
header: () => 'Cypher Command',
|
|
60
|
-
minSize: 400,
|
|
61
|
-
size: 400,
|
|
62
|
-
}),
|
|
63
|
-
];
|
|
64
|
-
const table = (0, react_table_1.useReactTable)({
|
|
65
|
-
columnResizeMode: 'onChange',
|
|
66
|
-
columns,
|
|
67
|
-
data: emptyData,
|
|
68
|
-
debugColumns: true,
|
|
69
|
-
debugHeaders: true,
|
|
70
|
-
debugTable: true,
|
|
71
|
-
defaultColumn: {
|
|
72
|
-
maxSize: 800,
|
|
73
|
-
minSize: 80,
|
|
74
|
-
},
|
|
75
|
-
enableSorting: false,
|
|
76
|
-
getCoreRowModel: (0, react_table_1.getCoreRowModel)(),
|
|
77
|
-
getPaginationRowModel: (0, react_table_1.getPaginationRowModel)(),
|
|
78
|
-
initialState: {
|
|
79
|
-
pagination: {
|
|
80
|
-
pageSize: 5,
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
});
|
|
84
|
-
return (0, jsx_runtime_1.jsx)(react_1.DataGrid, { isResizable: false, tableInstance: table });
|
|
85
|
-
};
|
|
86
|
-
exports.EmptyTable = EmptyTable;
|
|
87
|
-
const CustomEmptyTable = () => {
|
|
88
|
-
const columnHelper = (0, react_table_1.createColumnHelper)();
|
|
89
|
-
const columns = [
|
|
90
|
-
columnHelper.accessor('name', {
|
|
91
|
-
cell: (info) => info.getValue(),
|
|
92
|
-
footer: (info) => info.column.id,
|
|
93
|
-
header: () => 'Name',
|
|
94
|
-
maxSize: 300,
|
|
95
|
-
minSize: 180,
|
|
96
|
-
size: 220,
|
|
97
|
-
}),
|
|
98
|
-
columnHelper.accessor('age', {
|
|
99
|
-
cell: (info) => info.renderValue(),
|
|
100
|
-
footer: (info) => info.column.id,
|
|
101
|
-
header: () => 'Age',
|
|
102
|
-
minSize: 80,
|
|
103
|
-
}),
|
|
104
|
-
columnHelper.accessor('cypherCommand', {
|
|
105
|
-
cell: (info) => info.getValue(),
|
|
106
|
-
footer: (info) => info.column.id,
|
|
107
|
-
header: () => 'Cypher Command',
|
|
108
|
-
minSize: 400,
|
|
109
|
-
size: 400,
|
|
110
|
-
}),
|
|
111
|
-
];
|
|
112
|
-
const table = (0, react_table_1.useReactTable)({
|
|
113
|
-
columnResizeMode: 'onChange',
|
|
114
|
-
columns,
|
|
115
|
-
data: [],
|
|
116
|
-
debugColumns: true,
|
|
117
|
-
debugHeaders: true,
|
|
118
|
-
debugTable: true,
|
|
119
|
-
defaultColumn: {
|
|
120
|
-
maxSize: 800,
|
|
121
|
-
minSize: 80,
|
|
122
|
-
},
|
|
123
|
-
enableSorting: false,
|
|
124
|
-
getCoreRowModel: (0, react_table_1.getCoreRowModel)(),
|
|
125
|
-
getPaginationRowModel: (0, react_table_1.getPaginationRowModel)(),
|
|
126
|
-
initialState: {
|
|
127
|
-
pagination: {
|
|
128
|
-
pageSize: 5,
|
|
129
|
-
},
|
|
130
|
-
},
|
|
131
|
-
});
|
|
132
|
-
return ((0, jsx_runtime_1.jsx)(react_1.DataGrid, { isResizable: false, tableInstance: table, components: {
|
|
133
|
-
NoDataPlaceholder: () => ((0, jsx_runtime_1.jsx)(react_1.DataGrid.NoDataPlaceholder, { children: (0, jsx_runtime_1.jsxs)(react_1.DataGrid.NoDataPlaceholderContentWrapper, { children: [(0, jsx_runtime_1.jsx)(react_1.DataGrid.NoDataIcon, {}), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "title-4", children: "Custom No data message" })] }) })),
|
|
134
|
-
} }));
|
|
135
|
-
};
|
|
136
|
-
exports.CustomEmptyTable = CustomEmptyTable;
|
|
137
|
-
const LoadingTable = () => {
|
|
138
|
-
const columnHelper = (0, react_table_1.createColumnHelper)();
|
|
139
|
-
const columns = [
|
|
140
|
-
columnHelper.accessor('name', {
|
|
141
|
-
cell: (info) => info.getValue(),
|
|
142
|
-
footer: (info) => info.column.id,
|
|
143
|
-
header: () => 'Name',
|
|
144
|
-
maxSize: 300,
|
|
145
|
-
minSize: 180,
|
|
146
|
-
size: 220,
|
|
147
|
-
}),
|
|
148
|
-
columnHelper.accessor('age', {
|
|
149
|
-
cell: (info) => info.renderValue(),
|
|
150
|
-
footer: (info) => info.column.id,
|
|
151
|
-
header: () => 'Age',
|
|
152
|
-
minSize: 80,
|
|
153
|
-
}),
|
|
154
|
-
columnHelper.accessor('cypherCommand', {
|
|
155
|
-
cell: (info) => info.getValue(),
|
|
156
|
-
footer: (info) => info.column.id,
|
|
157
|
-
header: () => 'Cypher Command',
|
|
158
|
-
minSize: 400,
|
|
159
|
-
size: 400,
|
|
160
|
-
}),
|
|
161
|
-
];
|
|
162
|
-
const table = (0, react_table_1.useReactTable)({
|
|
163
|
-
columnResizeMode: 'onChange',
|
|
164
|
-
columns,
|
|
165
|
-
data: staticData_1.TABLE_DEMO_DATA,
|
|
166
|
-
debugColumns: true,
|
|
167
|
-
debugHeaders: true,
|
|
168
|
-
debugTable: true,
|
|
169
|
-
defaultColumn: {
|
|
170
|
-
maxSize: 800,
|
|
171
|
-
minSize: 80,
|
|
172
|
-
},
|
|
173
|
-
enableSorting: false,
|
|
174
|
-
getCoreRowModel: (0, react_table_1.getCoreRowModel)(),
|
|
175
|
-
getPaginationRowModel: (0, react_table_1.getPaginationRowModel)(),
|
|
176
|
-
initialState: {
|
|
177
|
-
pagination: {
|
|
178
|
-
pageSize: 5,
|
|
179
|
-
},
|
|
180
|
-
},
|
|
181
|
-
});
|
|
182
|
-
return (0, jsx_runtime_1.jsx)(react_1.DataGrid, { isLoading: true, isResizable: false, tableInstance: table });
|
|
183
|
-
};
|
|
184
|
-
exports.LoadingTable = LoadingTable;
|
|
185
|
-
//# sourceMappingURL=datagrid-placeholder-states.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datagrid-placeholder-states.stories.js","sourceRoot":"","sources":["../../../../src/data-grid/stories/datagrid-placeholder-states.stories.tsx"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,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,IAAI;QAClB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE;YACb,OAAO,EAAE,GAAG;YACZ,OAAO,EAAE,EAAE;SACZ;QACD,aAAa,EAAE,KAAK;QACpB,eAAe,EAAE,IAAA,6BAAe,GAAE;QAClC,qBAAqB,EAAE,IAAA,mCAAqB,GAAE;QAC9C,YAAY,EAAE;YACZ,UAAU,EAAE;gBACV,QAAQ,EAAE,CAAC;aACZ;SACF;KACF,CAAC,CAAC;IAEH,OAAO,uBAAC,gBAAQ,IAAC,SAAS,QAAC,WAAW,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,GAAI,CAAC;AAC1E,CAAC,CAAC;AAjDW,QAAA,YAAY,gBAiDvB","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { DataGrid, Typography } from '@neo4j-ndl/react';\nimport {\n createColumnHelper,\n getCoreRowModel,\n getPaginationRowModel,\n useReactTable,\n} from '@tanstack/react-table';\n\nimport { NO_DATA, TABLE_DEMO_DATA } from './staticData';\n\ntype TestDataFormat = {\n name: string;\n age: number;\n cypherCommand: string;\n};\n\nconst emptyData: TestDataFormat[] = NO_DATA;\n\nexport default {\n component: DataGrid,\n id: 'components-data-grid-placeholder-states',\n parameters: {\n chromatic: { delay: 1000 },\n controls: { disable: true },\n },\n title: 'Components/DataGrid/Placeholder States',\n};\n\nexport const EmptyTable = () => {\n const columnHelper = createColumnHelper<TestDataFormat>();\n\n const columns = [\n columnHelper.accessor('name', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Name',\n maxSize: 300,\n minSize: 180,\n size: 220,\n }),\n columnHelper.accessor('age', {\n cell: (info) => info.renderValue(),\n footer: (info) => info.column.id,\n header: () => 'Age',\n minSize: 80,\n }),\n columnHelper.accessor('cypherCommand', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Cypher Command',\n minSize: 400,\n size: 400,\n }),\n ];\n\n const table = useReactTable({\n columnResizeMode: 'onChange',\n columns,\n data: emptyData,\n debugColumns: true,\n debugHeaders: true,\n debugTable: true,\n defaultColumn: {\n maxSize: 800,\n minSize: 80,\n },\n enableSorting: false,\n getCoreRowModel: getCoreRowModel(),\n getPaginationRowModel: getPaginationRowModel(),\n initialState: {\n pagination: {\n pageSize: 5,\n },\n },\n });\n\n return <DataGrid isResizable={false} tableInstance={table} />;\n};\n\nexport const CustomEmptyTable = () => {\n const columnHelper = createColumnHelper<TestDataFormat>();\n\n const columns = [\n columnHelper.accessor('name', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Name',\n maxSize: 300,\n minSize: 180,\n size: 220,\n }),\n columnHelper.accessor('age', {\n cell: (info) => info.renderValue(),\n footer: (info) => info.column.id,\n header: () => 'Age',\n minSize: 80,\n }),\n columnHelper.accessor('cypherCommand', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Cypher Command',\n minSize: 400,\n size: 400,\n }),\n ];\n\n const table = useReactTable({\n columnResizeMode: 'onChange',\n columns,\n data: [],\n debugColumns: true,\n debugHeaders: true,\n debugTable: true,\n defaultColumn: {\n maxSize: 800,\n minSize: 80,\n },\n enableSorting: false,\n getCoreRowModel: getCoreRowModel(),\n getPaginationRowModel: getPaginationRowModel(),\n initialState: {\n pagination: {\n pageSize: 5,\n },\n },\n });\n\n return (\n <DataGrid\n isResizable={false}\n tableInstance={table}\n components={{\n NoDataPlaceholder: () => (\n <DataGrid.NoDataPlaceholder>\n <DataGrid.NoDataPlaceholderContentWrapper>\n <DataGrid.NoDataIcon />\n <Typography variant=\"title-4\">Custom No data message</Typography>\n </DataGrid.NoDataPlaceholderContentWrapper>\n </DataGrid.NoDataPlaceholder>\n ),\n }}\n />\n );\n};\n\nexport const LoadingTable = () => {\n const columnHelper = createColumnHelper<TestDataFormat>();\n\n const columns = [\n columnHelper.accessor('name', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Name',\n maxSize: 300,\n minSize: 180,\n size: 220,\n }),\n columnHelper.accessor('age', {\n cell: (info) => info.renderValue(),\n footer: (info) => info.column.id,\n header: () => 'Age',\n minSize: 80,\n }),\n columnHelper.accessor('cypherCommand', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Cypher Command',\n minSize: 400,\n size: 400,\n }),\n ];\n\n const table = useReactTable({\n columnResizeMode: 'onChange',\n columns,\n data: TABLE_DEMO_DATA,\n debugColumns: true,\n debugHeaders: true,\n debugTable: true,\n defaultColumn: {\n maxSize: 800,\n minSize: 80,\n },\n enableSorting: false,\n getCoreRowModel: getCoreRowModel(),\n getPaginationRowModel: getPaginationRowModel(),\n initialState: {\n pagination: {\n pageSize: 5,\n },\n },\n });\n\n return <DataGrid isLoading isResizable={false} tableInstance={table} />;\n};\n"]}
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Virtualization = exports.KeyboardNavigation = exports.UsingEditableCells = exports.Sortable = exports.SkeletonLoading = exports.SingleSelectable = exports.Simple = exports.Selectable = exports.ResizableColumn = exports.PercentageWidthColumns = exports.NoPaginationTable = exports.KitchenSink = exports.InDialog = exports.ComponentOverriding = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) "Neo4j"
|
|
8
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
9
|
-
*
|
|
10
|
-
* This file is part of Neo4j.
|
|
11
|
-
*
|
|
12
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* This program is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU General Public License
|
|
23
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
|
-
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
-
const _1 = require(".");
|
|
27
|
-
const componentMeta = {
|
|
28
|
-
component: react_1.DataGrid,
|
|
29
|
-
decorators: [
|
|
30
|
-
(Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center n-w-full", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
31
|
-
],
|
|
32
|
-
id: 'components-datagrid',
|
|
33
|
-
parameters: {
|
|
34
|
-
chromatic: { delay: 1000 },
|
|
35
|
-
controls: { disable: true },
|
|
36
|
-
},
|
|
37
|
-
tags: ['docsPage'],
|
|
38
|
-
title: 'Components/DataGrid',
|
|
39
|
-
};
|
|
40
|
-
exports.default = componentMeta;
|
|
41
|
-
exports.ComponentOverriding = {
|
|
42
|
-
args: {},
|
|
43
|
-
parameters: {
|
|
44
|
-
docs: {
|
|
45
|
-
source: {
|
|
46
|
-
code: _1.DataGridComponentOverridingSource,
|
|
47
|
-
language: 'tsx',
|
|
48
|
-
type: 'code',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
render: _1.DataGridComponentOverriding,
|
|
53
|
-
};
|
|
54
|
-
exports.InDialog = {
|
|
55
|
-
args: {},
|
|
56
|
-
parameters: {
|
|
57
|
-
docs: {
|
|
58
|
-
source: {
|
|
59
|
-
code: _1.DataGridInDialogSource,
|
|
60
|
-
language: 'tsx',
|
|
61
|
-
type: 'code',
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
render: _1.DataGridInDialog,
|
|
66
|
-
};
|
|
67
|
-
exports.KitchenSink = {
|
|
68
|
-
args: {},
|
|
69
|
-
parameters: {
|
|
70
|
-
docs: {
|
|
71
|
-
source: {
|
|
72
|
-
code: _1.DataGridKitchenSinkSource,
|
|
73
|
-
language: 'tsx',
|
|
74
|
-
type: 'code',
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
render: _1.DataGridKitchenSink,
|
|
79
|
-
};
|
|
80
|
-
exports.NoPaginationTable = {
|
|
81
|
-
args: {},
|
|
82
|
-
parameters: {
|
|
83
|
-
docs: {
|
|
84
|
-
source: {
|
|
85
|
-
code: _1.DataGridNoPaginationTableSource,
|
|
86
|
-
language: 'tsx',
|
|
87
|
-
type: 'code',
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
render: _1.DataGridNoPaginationTable,
|
|
92
|
-
};
|
|
93
|
-
exports.PercentageWidthColumns = {
|
|
94
|
-
args: {},
|
|
95
|
-
parameters: {
|
|
96
|
-
docs: {
|
|
97
|
-
source: {
|
|
98
|
-
code: _1.DataGridPercentageWidthColumnsSource,
|
|
99
|
-
language: 'tsx',
|
|
100
|
-
type: 'code',
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
render: _1.DataGridPercentageWidthColumns,
|
|
105
|
-
};
|
|
106
|
-
exports.ResizableColumn = {
|
|
107
|
-
args: {},
|
|
108
|
-
parameters: {
|
|
109
|
-
docs: {
|
|
110
|
-
source: {
|
|
111
|
-
code: _1.DataGridResizableColumnSource,
|
|
112
|
-
language: 'tsx',
|
|
113
|
-
type: 'code',
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
render: _1.DataGridResizableColumn,
|
|
118
|
-
};
|
|
119
|
-
exports.Selectable = {
|
|
120
|
-
args: {},
|
|
121
|
-
parameters: {
|
|
122
|
-
docs: {
|
|
123
|
-
source: {
|
|
124
|
-
code: _1.DataGridSelectableSource,
|
|
125
|
-
language: 'tsx',
|
|
126
|
-
type: 'code',
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
render: _1.DataGridSelectable,
|
|
131
|
-
};
|
|
132
|
-
exports.Simple = {
|
|
133
|
-
args: {},
|
|
134
|
-
parameters: {
|
|
135
|
-
docs: {
|
|
136
|
-
source: {
|
|
137
|
-
code: _1.DataGridSimpleSource,
|
|
138
|
-
language: 'tsx',
|
|
139
|
-
type: 'code',
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
render: _1.DataGridSimple,
|
|
144
|
-
};
|
|
145
|
-
exports.SingleSelectable = {
|
|
146
|
-
args: {},
|
|
147
|
-
parameters: {
|
|
148
|
-
docs: {
|
|
149
|
-
source: {
|
|
150
|
-
code: _1.DataGridSingleSelectableSource,
|
|
151
|
-
language: 'tsx',
|
|
152
|
-
type: 'code',
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
render: _1.DataGridSingleSelectable,
|
|
157
|
-
};
|
|
158
|
-
exports.SkeletonLoading = {
|
|
159
|
-
args: {},
|
|
160
|
-
parameters: {
|
|
161
|
-
docs: {
|
|
162
|
-
source: {
|
|
163
|
-
code: _1.DataGridSkeletonLoadingSource,
|
|
164
|
-
language: 'tsx',
|
|
165
|
-
type: 'code',
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
render: _1.DataGridSkeletonLoading,
|
|
170
|
-
};
|
|
171
|
-
exports.Sortable = {
|
|
172
|
-
args: {},
|
|
173
|
-
parameters: {
|
|
174
|
-
docs: {
|
|
175
|
-
source: {
|
|
176
|
-
code: _1.DataGridSortableSource,
|
|
177
|
-
language: 'tsx',
|
|
178
|
-
type: 'code',
|
|
179
|
-
},
|
|
180
|
-
},
|
|
181
|
-
},
|
|
182
|
-
render: _1.DataGridSortable,
|
|
183
|
-
};
|
|
184
|
-
exports.UsingEditableCells = {
|
|
185
|
-
args: {},
|
|
186
|
-
parameters: {
|
|
187
|
-
docs: {
|
|
188
|
-
source: {
|
|
189
|
-
code: _1.DataGridUsingEditableCellsSource,
|
|
190
|
-
language: 'tsx',
|
|
191
|
-
type: 'code',
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
render: _1.DataGridUsingEditableCells,
|
|
196
|
-
};
|
|
197
|
-
exports.KeyboardNavigation = {
|
|
198
|
-
parameters: {
|
|
199
|
-
docs: {
|
|
200
|
-
source: {
|
|
201
|
-
code: _1.DataGridKeyboardNavigationSource,
|
|
202
|
-
language: 'tsx',
|
|
203
|
-
type: 'code',
|
|
204
|
-
},
|
|
205
|
-
},
|
|
206
|
-
},
|
|
207
|
-
render: _1.DataGridKeyboardNavigation,
|
|
208
|
-
};
|
|
209
|
-
exports.Virtualization = {
|
|
210
|
-
args: {},
|
|
211
|
-
parameters: {
|
|
212
|
-
chromatic: { disableSnapshot: true },
|
|
213
|
-
docs: {
|
|
214
|
-
source: {
|
|
215
|
-
code: _1.DataGridVirtualizationSource,
|
|
216
|
-
language: 'tsx',
|
|
217
|
-
type: 'code',
|
|
218
|
-
},
|
|
219
|
-
},
|
|
220
|
-
},
|
|
221
|
-
render: _1.DataGridVirtualization,
|
|
222
|
-
};
|
|
223
|
-
//# sourceMappingURL=datagrid.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datagrid.stories.js","sourceRoot":"","sources":["../../../../src/data-grid/stories/datagrid.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K;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,yBAAsB;CAC/B,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { DataGrid } from '@neo4j-ndl/react';\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport {\n DataGridComponentOverriding,\n DataGridComponentOverridingSource,\n DataGridInDialog,\n DataGridInDialogSource,\n DataGridKeyboardNavigation,\n DataGridKeyboardNavigationSource,\n DataGridKitchenSink,\n DataGridKitchenSinkSource,\n DataGridNoPaginationTable,\n DataGridNoPaginationTableSource,\n DataGridPercentageWidthColumns,\n DataGridPercentageWidthColumnsSource,\n DataGridResizableColumn,\n DataGridResizableColumnSource,\n DataGridSelectable,\n DataGridSelectableSource,\n DataGridSimple,\n DataGridSimpleSource,\n DataGridSingleSelectable,\n DataGridSingleSelectableSource,\n DataGridSkeletonLoading,\n DataGridSkeletonLoadingSource,\n DataGridSortable,\n DataGridSortableSource,\n DataGridUsingEditableCells,\n DataGridUsingEditableCellsSource,\n DataGridVirtualization,\n DataGridVirtualizationSource,\n} from '.';\n\nconst componentMeta: Meta<typeof DataGrid> = {\n component: DataGrid,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center n-w-full\">\n <Story />\n </div>\n ),\n ],\n id: 'components-datagrid',\n parameters: {\n chromatic: { delay: 1000 },\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/DataGrid',\n} satisfies Meta<typeof DataGrid>;\n\nexport default componentMeta;\ntype Story = StoryObj<typeof DataGrid>;\n\nexport const ComponentOverriding: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridComponentOverridingSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridComponentOverriding,\n};\n\nexport const InDialog: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridInDialogSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridInDialog,\n};\n\nexport const KitchenSink: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridKitchenSinkSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridKitchenSink,\n};\n\nexport const NoPaginationTable: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridNoPaginationTableSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridNoPaginationTable,\n};\n\nexport const PercentageWidthColumns: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridPercentageWidthColumnsSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridPercentageWidthColumns,\n};\n\nexport const ResizableColumn: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridResizableColumnSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridResizableColumn,\n};\n\nexport const Selectable: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridSelectableSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridSelectable,\n};\n\nexport const Simple: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridSimpleSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridSimple,\n};\n\nexport const SingleSelectable: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridSingleSelectableSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridSingleSelectable,\n};\n\nexport const SkeletonLoading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridSkeletonLoadingSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridSkeletonLoading,\n};\n\nexport const Sortable: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridSortableSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridSortable,\n};\n\nexport const UsingEditableCells: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: DataGridUsingEditableCellsSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridUsingEditableCells,\n};\n\nexport const KeyboardNavigation: Story = {\n parameters: {\n docs: {\n source: {\n code: DataGridKeyboardNavigationSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridKeyboardNavigation,\n};\n\nexport const Virtualization: Story = {\n args: {},\n\n parameters: {\n chromatic: { disableSnapshot: true },\n docs: {\n source: {\n code: DataGridVirtualizationSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: DataGridVirtualization,\n};\n"]}
|