@neo4j-ndl/react 4.7.5 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/{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/cjs/wizard/Wizard.js +6 -2
- package/lib/cjs/wizard/Wizard.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/esm/wizard/Wizard.js +6 -2
- package/lib/esm/wizard/Wizard.js.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/lib/types/wizard/Wizard.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,85 +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
|
-
import { CodePreview } from '../CodePreview';
|
|
22
|
-
import { CodePreviewLanguages, CodePreviewLanguagesSource, CodePreviewLoading, CodePreviewLoadingSource, CodePreviewRead, CodePreviewReadSource, CodePreviewWrite, CodePreviewWriteSource, } from './index';
|
|
23
|
-
const componentMeta = {
|
|
24
|
-
component: CodePreview,
|
|
25
|
-
id: 'components-ai-code-preview',
|
|
26
|
-
parameters: {
|
|
27
|
-
controls: { disable: true },
|
|
28
|
-
},
|
|
29
|
-
tags: ['docsPage'],
|
|
30
|
-
title: 'Components/AI/CodePreview',
|
|
31
|
-
};
|
|
32
|
-
export default componentMeta;
|
|
33
|
-
export const Loading = {
|
|
34
|
-
args: {},
|
|
35
|
-
parameters: {
|
|
36
|
-
docs: {
|
|
37
|
-
source: {
|
|
38
|
-
code: CodePreviewLoadingSource,
|
|
39
|
-
language: 'tsx',
|
|
40
|
-
type: 'code',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
render: CodePreviewLoading,
|
|
45
|
-
};
|
|
46
|
-
export const Read = {
|
|
47
|
-
args: {},
|
|
48
|
-
parameters: {
|
|
49
|
-
docs: {
|
|
50
|
-
source: {
|
|
51
|
-
code: CodePreviewReadSource,
|
|
52
|
-
language: 'tsx',
|
|
53
|
-
type: 'code',
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
render: CodePreviewRead,
|
|
58
|
-
};
|
|
59
|
-
export const Write = {
|
|
60
|
-
args: {},
|
|
61
|
-
parameters: {
|
|
62
|
-
docs: {
|
|
63
|
-
source: {
|
|
64
|
-
code: CodePreviewWriteSource,
|
|
65
|
-
language: 'tsx',
|
|
66
|
-
type: 'code',
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
render: CodePreviewWrite,
|
|
71
|
-
};
|
|
72
|
-
export const Languages = {
|
|
73
|
-
args: {},
|
|
74
|
-
parameters: {
|
|
75
|
-
docs: {
|
|
76
|
-
source: {
|
|
77
|
-
code: CodePreviewLanguagesSource,
|
|
78
|
-
language: 'tsx',
|
|
79
|
-
type: 'code',
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
render: CodePreviewLanguages,
|
|
84
|
-
};
|
|
85
|
-
//# sourceMappingURL=code-preview.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"code-preview.stories.js","sourceRoot":"","sources":["../../../../../src/ai/code-preview/stories/code-preview.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,kBAAkB,EAClB,wBAAwB,EACxB,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,SAAS,CAAC;AAEjB,MAAM,aAAa,GAA6B;IAC9C,SAAS,EAAE,WAAW;IACtB,EAAE,EAAE,4BAA4B;IAChC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,2BAA2B;CACnC,CAAC;AAEF,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,wBAAwB;gBAC9B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,qBAAqB;gBAC3B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,eAAe;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,sBAAsB;gBAC5B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,gBAAgB;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,0BAA0B;gBAChC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,oBAAoB;CAC7B,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, StoryObj } from '@storybook/react-vite';\n\nimport { CodePreview } from '../CodePreview';\nimport {\n CodePreviewLanguages,\n CodePreviewLanguagesSource,\n CodePreviewLoading,\n CodePreviewLoadingSource,\n CodePreviewRead,\n CodePreviewReadSource,\n CodePreviewWrite,\n CodePreviewWriteSource,\n} from './index';\n\nconst componentMeta: Meta<typeof CodePreview> = {\n component: CodePreview,\n id: 'components-ai-code-preview',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/CodePreview',\n};\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Loading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodePreviewLoadingSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodePreviewLoading,\n};\n\nexport const Read: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodePreviewReadSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodePreviewRead,\n};\n\nexport const Write: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodePreviewWriteSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodePreviewWrite,\n};\n\nexport const Languages: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodePreviewLanguagesSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodePreviewLanguages,\n};\n"]}
|
|
@@ -1,73 +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
|
-
import { FileTag } from '../FileTag';
|
|
23
|
-
import { FileTagChat, FileTagChatSrc, FileTagLoading, FileTagLoadingSrc, FileTagPrompt, FileTagPromptSrc, } from '.';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: FileTag,
|
|
26
|
-
id: 'components-ai-file-tag',
|
|
27
|
-
parameters: {
|
|
28
|
-
controls: { disable: true },
|
|
29
|
-
},
|
|
30
|
-
tags: ['docsPage'],
|
|
31
|
-
title: 'Components/AI/FileTag',
|
|
32
|
-
};
|
|
33
|
-
export default componentMeta;
|
|
34
|
-
export const Default = {
|
|
35
|
-
args: {},
|
|
36
|
-
parameters: {
|
|
37
|
-
docs: {
|
|
38
|
-
source: {
|
|
39
|
-
code: FileTagChatSrc,
|
|
40
|
-
language: 'tsx',
|
|
41
|
-
type: 'code',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
render: FileTagChat,
|
|
46
|
-
};
|
|
47
|
-
export const Loading = {
|
|
48
|
-
args: {},
|
|
49
|
-
parameters: {
|
|
50
|
-
docs: {
|
|
51
|
-
source: {
|
|
52
|
-
code: FileTagLoadingSrc,
|
|
53
|
-
language: 'tsx',
|
|
54
|
-
type: 'code',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
render: FileTagLoading,
|
|
59
|
-
};
|
|
60
|
-
export const Removable = {
|
|
61
|
-
args: {},
|
|
62
|
-
parameters: {
|
|
63
|
-
docs: {
|
|
64
|
-
source: {
|
|
65
|
-
code: FileTagPromptSrc,
|
|
66
|
-
language: 'tsx',
|
|
67
|
-
type: 'code',
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
render: FileTagPrompt,
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=file-tag.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-tag.stories.js","sourceRoot":"","sources":["../../../../../src/ai/file-tag/stories/file-tag.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EACL,WAAW,EACX,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,gBAAgB,GACjB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAyB;IAC1C,SAAS,EAAE,OAAO;IAClB,EAAE,EAAE,wBAAwB;IAC5B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,uBAAuB;CAC/B,CAAC;AAEF,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,cAAc;gBACpB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,WAAW;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iBAAiB;gBACvB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,cAAc;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,gBAAgB;gBACtB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,aAAa;CACtB,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 { FileTag } from '../FileTag';\nimport {\n FileTagChat,\n FileTagChatSrc,\n FileTagLoading,\n FileTagLoadingSrc,\n FileTagPrompt,\n FileTagPromptSrc,\n} from '.';\n\nconst componentMeta: Meta<typeof FileTag> = {\n component: FileTag,\n id: 'components-ai-file-tag',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/FileTag',\n};\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: FileTagChatSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: FileTagChat,\n};\n\nexport const Loading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: FileTagLoadingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: FileTagLoading,\n};\n\nexport const Removable: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: FileTagPromptSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: FileTagPrompt,\n};\n"]}
|
|
@@ -1,73 +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
|
-
import { ImageTag } from '../ImageTag';
|
|
23
|
-
import { ImageTagChat, ImageTagChatSrc, ImageTagLoading, ImageTagLoadingSrc, ImageTagPrompt, ImageTagPromptSrc, } from '.';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: ImageTag,
|
|
26
|
-
id: 'components-ai-image-tag',
|
|
27
|
-
parameters: {
|
|
28
|
-
controls: { disable: true },
|
|
29
|
-
},
|
|
30
|
-
tags: ['docsPage'],
|
|
31
|
-
title: 'Components/AI/ImageTag',
|
|
32
|
-
};
|
|
33
|
-
export default componentMeta;
|
|
34
|
-
export const Default = {
|
|
35
|
-
args: {},
|
|
36
|
-
parameters: {
|
|
37
|
-
docs: {
|
|
38
|
-
source: {
|
|
39
|
-
code: ImageTagChatSrc,
|
|
40
|
-
language: 'tsx',
|
|
41
|
-
type: 'code',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
render: ImageTagChat,
|
|
46
|
-
};
|
|
47
|
-
export const Loading = {
|
|
48
|
-
args: {},
|
|
49
|
-
parameters: {
|
|
50
|
-
docs: {
|
|
51
|
-
source: {
|
|
52
|
-
code: ImageTagLoadingSrc,
|
|
53
|
-
language: 'tsx',
|
|
54
|
-
type: 'code',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
render: ImageTagLoading,
|
|
59
|
-
};
|
|
60
|
-
export const Removable = {
|
|
61
|
-
args: {},
|
|
62
|
-
parameters: {
|
|
63
|
-
docs: {
|
|
64
|
-
source: {
|
|
65
|
-
code: ImageTagPromptSrc,
|
|
66
|
-
language: 'tsx',
|
|
67
|
-
type: 'code',
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
render: ImageTagPrompt,
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=image-tag.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-tag.stories.js","sourceRoot":"","sources":["../../../../../src/ai/image-tag/stories/image-tag.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iBAAiB,GAClB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAA0B;IAC3C,SAAS,EAAE,QAAQ;IACnB,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,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,eAAe;gBACrB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,YAAY;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kBAAkB;gBACxB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,eAAe;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iBAAiB;gBACvB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,cAAc;CACvB,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 { ImageTag } from '../ImageTag';\nimport {\n ImageTagChat,\n ImageTagChatSrc,\n ImageTagLoading,\n ImageTagLoadingSrc,\n ImageTagPrompt,\n ImageTagPromptSrc,\n} from '.';\n\nconst componentMeta: Meta<typeof ImageTag> = {\n component: ImageTag,\n id: 'components-ai-image-tag',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/ImageTag',\n};\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ImageTagChatSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ImageTagChat,\n};\n\nexport const Loading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ImageTagLoadingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ImageTagLoading,\n};\n\nexport const Removable: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ImageTagPromptSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ImageTagPrompt,\n};\n"]}
|
|
@@ -1,47 +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
|
-
import { MoreFiles } from '../MoreFiles';
|
|
23
|
-
import { MoreFilesDefault, MoreFilesDefaultSrc } from '.';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: MoreFiles,
|
|
26
|
-
id: 'components-ai-more-files',
|
|
27
|
-
parameters: {
|
|
28
|
-
controls: { disable: true },
|
|
29
|
-
},
|
|
30
|
-
tags: ['docsPage'],
|
|
31
|
-
title: 'Components/AI/MoreFiles',
|
|
32
|
-
};
|
|
33
|
-
export default componentMeta;
|
|
34
|
-
export const Default = {
|
|
35
|
-
args: {},
|
|
36
|
-
parameters: {
|
|
37
|
-
docs: {
|
|
38
|
-
source: {
|
|
39
|
-
code: MoreFilesDefaultSrc,
|
|
40
|
-
language: 'tsx',
|
|
41
|
-
type: 'code',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
render: MoreFilesDefault,
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=more-files.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"more-files.stories.js","sourceRoot":"","sources":["../../../../../src/ai/more-files/stories/more-files.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,GAAG,CAAC;AAE1D,MAAM,aAAa,GAA2B;IAC5C,SAAS,EAAE,SAAS;IACpB,EAAE,EAAE,0BAA0B;IAC9B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,mBAAmB;gBACzB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,gBAAgB;CACzB,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 { MoreFiles } from '../MoreFiles';\nimport { MoreFilesDefault, MoreFilesDefaultSrc } from '.';\n\nconst componentMeta: Meta<typeof MoreFiles> = {\n component: MoreFiles,\n id: 'components-ai-more-files',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/MoreFiles',\n};\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MoreFilesDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MoreFilesDefault,\n};\n"]}
|
|
@@ -1,49 +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
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
-
import { Presence } from '../Presence';
|
|
24
|
-
import { PresenceDefault, PresenceDefaultSrc } from '.';
|
|
25
|
-
const componentMeta = {
|
|
26
|
-
component: Presence,
|
|
27
|
-
decorators: (Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
|
|
28
|
-
id: 'components-ai-presence',
|
|
29
|
-
parameters: {
|
|
30
|
-
controls: { disable: true },
|
|
31
|
-
},
|
|
32
|
-
tags: ['docsPage'],
|
|
33
|
-
title: 'Components/AI/Presence',
|
|
34
|
-
};
|
|
35
|
-
export default componentMeta;
|
|
36
|
-
export const Default = {
|
|
37
|
-
args: {},
|
|
38
|
-
parameters: {
|
|
39
|
-
docs: {
|
|
40
|
-
source: {
|
|
41
|
-
code: PresenceDefaultSrc,
|
|
42
|
-
language: 'tsx',
|
|
43
|
-
type: 'code',
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
render: PresenceDefault,
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=ai-presence.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-presence.stories.js","sourceRoot":"","sources":["../../../../../src/ai/presence/stories/ai-presence.stories.tsx"],"names":[],"mappings":";AAsBA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAC;AAExD,MAAM,aAAa,GAA0B;IAC3C,SAAS,EAAE,QAAQ;IACnB,UAAU,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CACrB,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,KAAK,KAAG,GACL,CACP;IACD,EAAE,EAAE,wBAAwB;IAC5B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,wBAAwB;CAChC,CAAC;AAEF,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kBAAkB;gBACxB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,eAAe;CACxB,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 { Presence } from '../Presence';\nimport { PresenceDefault, PresenceDefaultSrc } from '.';\n\nconst componentMeta: Meta<typeof Presence> = {\n component: Presence,\n decorators: (Story) => (\n <div className=\"n-flex n-justify-center\">\n <Story />\n </div>\n ),\n id: 'components-ai-presence',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/Presence',\n};\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PresenceDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PresenceDefault,\n};\n"]}
|
|
@@ -1,97 +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
|
-
import { Preview } from '../Preview';
|
|
23
|
-
import { PreviewCodeConfirmation, PreviewCodeConfirmationSrc, PreviewCodeLanguages, PreviewCodeLanguagesSrc, PreviewCodeLoading, PreviewCodeLoadingSrc, PreviewCodeRead, PreviewCodeReadSrc, PreviewCodeWrite, PreviewCodeWriteSrc, } from '.';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: Preview,
|
|
26
|
-
parameters: {
|
|
27
|
-
controls: { disable: true },
|
|
28
|
-
},
|
|
29
|
-
title: 'Components/AI/Preview/Code',
|
|
30
|
-
};
|
|
31
|
-
export default componentMeta;
|
|
32
|
-
export const Loading = {
|
|
33
|
-
args: {},
|
|
34
|
-
parameters: {
|
|
35
|
-
docs: {
|
|
36
|
-
source: {
|
|
37
|
-
code: PreviewCodeLoadingSrc,
|
|
38
|
-
language: 'tsx',
|
|
39
|
-
type: 'code',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
render: PreviewCodeLoading,
|
|
44
|
-
};
|
|
45
|
-
export const Read = {
|
|
46
|
-
args: {},
|
|
47
|
-
parameters: {
|
|
48
|
-
docs: {
|
|
49
|
-
source: {
|
|
50
|
-
code: PreviewCodeReadSrc,
|
|
51
|
-
language: 'tsx',
|
|
52
|
-
type: 'code',
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
render: PreviewCodeRead,
|
|
57
|
-
};
|
|
58
|
-
export const Write = {
|
|
59
|
-
args: {},
|
|
60
|
-
parameters: {
|
|
61
|
-
docs: {
|
|
62
|
-
source: {
|
|
63
|
-
code: PreviewCodeWriteSrc,
|
|
64
|
-
language: 'tsx',
|
|
65
|
-
type: 'code',
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
render: PreviewCodeWrite,
|
|
70
|
-
};
|
|
71
|
-
export const OtherLanguages = {
|
|
72
|
-
args: {},
|
|
73
|
-
parameters: {
|
|
74
|
-
docs: {
|
|
75
|
-
source: {
|
|
76
|
-
code: PreviewCodeLanguagesSrc,
|
|
77
|
-
language: 'tsx',
|
|
78
|
-
type: 'code',
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
render: PreviewCodeLanguages,
|
|
83
|
-
};
|
|
84
|
-
export const WithConfirmationFooter = {
|
|
85
|
-
args: {},
|
|
86
|
-
parameters: {
|
|
87
|
-
docs: {
|
|
88
|
-
source: {
|
|
89
|
-
code: PreviewCodeConfirmationSrc,
|
|
90
|
-
language: 'tsx',
|
|
91
|
-
type: 'code',
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
render: PreviewCodeConfirmation,
|
|
96
|
-
};
|
|
97
|
-
//# sourceMappingURL=preview-code.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview-code.stories.js","sourceRoot":"","sources":["../../../../../src/ai/preview/stories/preview-code.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAyB;IAC1C,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,KAAK,EAAE,4BAA4B;CACpC,CAAC;AAEF,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,qBAAqB;gBAC3B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kBAAkB;gBACxB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,eAAe;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,mBAAmB;gBACzB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,gBAAgB;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU;IACnC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,uBAAuB;gBAC7B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,oBAAoB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAU;IAC3C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,0BAA0B;gBAChC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,uBAAuB;CAChC,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 { Preview } from '../Preview';\nimport {\n PreviewCodeConfirmation,\n PreviewCodeConfirmationSrc,\n PreviewCodeLanguages,\n PreviewCodeLanguagesSrc,\n PreviewCodeLoading,\n PreviewCodeLoadingSrc,\n PreviewCodeRead,\n PreviewCodeReadSrc,\n PreviewCodeWrite,\n PreviewCodeWriteSrc,\n} from '.';\n\nconst componentMeta: Meta<typeof Preview> = {\n component: Preview,\n parameters: {\n controls: { disable: true },\n },\n title: 'Components/AI/Preview/Code',\n};\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Loading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewCodeLoadingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewCodeLoading,\n};\n\nexport const Read: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewCodeReadSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewCodeRead,\n};\n\nexport const Write: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewCodeWriteSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewCodeWrite,\n};\n\nexport const OtherLanguages: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewCodeLanguagesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewCodeLanguages,\n};\n\nexport const WithConfirmationFooter: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewCodeConfirmationSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewCodeConfirmation,\n};\n"]}
|
|
@@ -1,60 +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
|
-
import { Preview } from '../Preview';
|
|
23
|
-
import { PreviewConfirmationStandalone, PreviewConfirmationStandaloneSrc, PreviewDataGrid, PreviewDataGridSrc, } from '.';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: Preview,
|
|
26
|
-
id: 'components-ai-preview',
|
|
27
|
-
parameters: {
|
|
28
|
-
controls: { disable: true },
|
|
29
|
-
},
|
|
30
|
-
tags: ['docsPage'],
|
|
31
|
-
title: 'Components/AI/Preview',
|
|
32
|
-
};
|
|
33
|
-
export default componentMeta;
|
|
34
|
-
export const StandaloneConfirmation = {
|
|
35
|
-
args: {},
|
|
36
|
-
parameters: {
|
|
37
|
-
docs: {
|
|
38
|
-
source: {
|
|
39
|
-
code: PreviewConfirmationStandaloneSrc,
|
|
40
|
-
language: 'tsx',
|
|
41
|
-
type: 'code',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
render: PreviewConfirmationStandalone,
|
|
46
|
-
};
|
|
47
|
-
export const DataGridWithConfirmationFooter = {
|
|
48
|
-
args: {},
|
|
49
|
-
parameters: {
|
|
50
|
-
docs: {
|
|
51
|
-
source: {
|
|
52
|
-
code: PreviewDataGridSrc,
|
|
53
|
-
language: 'tsx',
|
|
54
|
-
type: 'code',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
render: PreviewDataGrid,
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=preview.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview.stories.js","sourceRoot":"","sources":["../../../../../src/ai/preview/stories/preview.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EACL,6BAA6B,EAC7B,gCAAgC,EAChC,eAAe,EACf,kBAAkB,GACnB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAyB;IAC1C,SAAS,EAAE,OAAO;IAClB,EAAE,EAAE,uBAAuB;IAC3B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,uBAAuB;CAC/B,CAAC;AAEF,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,sBAAsB,GAAU;IAC3C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,gCAAgC;gBACtC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,6BAA6B;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAU;IACnD,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kBAAkB;gBACxB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,eAAe;CACxB,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 { Preview } from '../Preview';\nimport {\n PreviewConfirmationStandalone,\n PreviewConfirmationStandaloneSrc,\n PreviewDataGrid,\n PreviewDataGridSrc,\n} from '.';\n\nconst componentMeta: Meta<typeof Preview> = {\n component: Preview,\n id: 'components-ai-preview',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/Preview',\n};\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const StandaloneConfirmation: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewConfirmationStandaloneSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewConfirmationStandalone,\n};\n\nexport const DataGridWithConfirmationFooter: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewDataGridSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewDataGrid,\n};\n"]}
|
|
@@ -1,88 +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
|
-
import { Prompt } from '../Prompt';
|
|
23
|
-
import { PromptAdvanced, PromptAdvancedSrc, PromptContext, PromptContextSrc, PromptDefault, PromptDefaultSrc, PromptLoading, PromptLoadingSrc, } from '.';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: Prompt,
|
|
26
|
-
id: 'components-ai-prompt',
|
|
27
|
-
parameters: {
|
|
28
|
-
controls: { disable: true },
|
|
29
|
-
},
|
|
30
|
-
tags: ['docsPage'],
|
|
31
|
-
title: 'Components/AI/Prompt',
|
|
32
|
-
};
|
|
33
|
-
export default componentMeta;
|
|
34
|
-
export const Basic = {
|
|
35
|
-
args: {},
|
|
36
|
-
parameters: {
|
|
37
|
-
docs: {
|
|
38
|
-
source: {
|
|
39
|
-
code: PromptDefaultSrc,
|
|
40
|
-
language: 'tsx',
|
|
41
|
-
type: 'code',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
render: PromptDefault,
|
|
46
|
-
};
|
|
47
|
-
export const Advanced = {
|
|
48
|
-
args: {},
|
|
49
|
-
parameters: {
|
|
50
|
-
docs: {
|
|
51
|
-
source: {
|
|
52
|
-
code: PromptAdvancedSrc,
|
|
53
|
-
language: 'tsx',
|
|
54
|
-
type: 'code',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
render: PromptAdvanced,
|
|
59
|
-
};
|
|
60
|
-
export const Loading = {
|
|
61
|
-
args: {},
|
|
62
|
-
parameters: {
|
|
63
|
-
docs: {
|
|
64
|
-
source: {
|
|
65
|
-
// TODO: this one is too animated to snapshot. We'll cover it with Happo later instead
|
|
66
|
-
chromatic: { disableSnapshot: true },
|
|
67
|
-
code: PromptLoadingSrc,
|
|
68
|
-
language: 'tsx',
|
|
69
|
-
type: 'code',
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
render: PromptLoading,
|
|
74
|
-
};
|
|
75
|
-
export const WithContext = {
|
|
76
|
-
args: {},
|
|
77
|
-
parameters: {
|
|
78
|
-
docs: {
|
|
79
|
-
source: {
|
|
80
|
-
code: PromptContextSrc,
|
|
81
|
-
language: 'tsx',
|
|
82
|
-
type: 'code',
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
render: PromptContext,
|
|
87
|
-
};
|
|
88
|
-
//# sourceMappingURL=prompt.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.stories.js","sourceRoot":"","sources":["../../../../../src/ai/prompt/stories/prompt.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,gBAAgB,GACjB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAwB;IACzC,SAAS,EAAE,MAAM;IACjB,EAAE,EAAE,sBAAsB;IAC1B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,sBAAsB;CAC9B,CAAC;AAEF,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,gBAAgB;gBACtB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,aAAa;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iBAAiB;gBACvB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,cAAc;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,sFAAsF;gBACtF,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE;gBACpC,IAAI,EAAE,gBAAgB;gBACtB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,aAAa;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,gBAAgB;gBACtB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,aAAa;CACtB,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 { Prompt } from '../Prompt';\nimport {\n PromptAdvanced,\n PromptAdvancedSrc,\n PromptContext,\n PromptContextSrc,\n PromptDefault,\n PromptDefaultSrc,\n PromptLoading,\n PromptLoadingSrc,\n} from '.';\n\nconst componentMeta: Meta<typeof Prompt> = {\n component: Prompt,\n id: 'components-ai-prompt',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/Prompt',\n};\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Basic: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PromptDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PromptDefault,\n};\n\nexport const Advanced: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PromptAdvancedSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PromptAdvanced,\n};\n\nexport const Loading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n // TODO: this one is too animated to snapshot. We'll cover it with Happo later instead\n chromatic: { disableSnapshot: true },\n code: PromptLoadingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PromptLoading,\n};\n\nexport const WithContext: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PromptContextSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PromptContext,\n};\n"]}
|