@neo4j-ndl/react 4.7.6 → 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/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/{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,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
|
-
|
|
22
|
-
import { Logo } from '../../index';
|
|
23
|
-
import { LogoBlack, LogoBlackSrc, LogoDefault, LogoDefaultSrc, LogoIcon, LogoIconSrc, } from '.';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: Logo,
|
|
26
|
-
id: 'components-logo',
|
|
27
|
-
parameters: {
|
|
28
|
-
controls: { disable: true },
|
|
29
|
-
},
|
|
30
|
-
tags: ['docsPage'],
|
|
31
|
-
title: 'Components/Logo',
|
|
32
|
-
};
|
|
33
|
-
export default componentMeta;
|
|
34
|
-
export const Default = {
|
|
35
|
-
args: {
|
|
36
|
-
className: undefined,
|
|
37
|
-
color: undefined,
|
|
38
|
-
type: undefined,
|
|
39
|
-
},
|
|
40
|
-
parameters: {
|
|
41
|
-
docs: {
|
|
42
|
-
source: {
|
|
43
|
-
code: LogoDefaultSrc,
|
|
44
|
-
language: 'tsx',
|
|
45
|
-
type: 'code',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
render: LogoDefault,
|
|
50
|
-
};
|
|
51
|
-
export const Black = {
|
|
52
|
-
args: {
|
|
53
|
-
className: undefined,
|
|
54
|
-
color: undefined,
|
|
55
|
-
type: undefined,
|
|
56
|
-
},
|
|
57
|
-
parameters: {
|
|
58
|
-
docs: {
|
|
59
|
-
source: {
|
|
60
|
-
code: LogoBlackSrc,
|
|
61
|
-
language: 'tsx',
|
|
62
|
-
type: 'code',
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
render: LogoBlack,
|
|
67
|
-
};
|
|
68
|
-
export const Icon = {
|
|
69
|
-
args: {
|
|
70
|
-
className: undefined,
|
|
71
|
-
color: undefined,
|
|
72
|
-
type: undefined,
|
|
73
|
-
},
|
|
74
|
-
parameters: {
|
|
75
|
-
docs: {
|
|
76
|
-
source: {
|
|
77
|
-
code: LogoIconSrc,
|
|
78
|
-
language: 'tsx',
|
|
79
|
-
type: 'code',
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
render: LogoIcon,
|
|
84
|
-
};
|
|
85
|
-
//# sourceMappingURL=logo.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logo.stories.js","sourceRoot":"","sources":["../../../../src/logo/stories/logo.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,WAAW,EACX,cAAc,EACd,QAAQ,EACR,WAAW,GACZ,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,IAAI;IACf,EAAE,EAAE,iBAAiB;IACrB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,iBAAiB;CACG,CAAC;AAE9B,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;KAChB;IACD,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,KAAK,GAAU;IAC1B,IAAI,EAAE;QACJ,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;KAChB;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,YAAY;gBAClB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,IAAI,EAAE;QACJ,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;KAChB;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,WAAW;gBACjB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,QAAQ;CACjB,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 { Logo } from '../../index';\nimport {\n LogoBlack,\n LogoBlackSrc,\n LogoDefault,\n LogoDefaultSrc,\n LogoIcon,\n LogoIconSrc,\n} from '.';\n\nconst componentMeta = {\n component: Logo,\n id: 'components-logo',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Logo',\n} satisfies Meta<typeof Logo>;\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {\n className: undefined,\n color: undefined,\n type: undefined,\n },\n parameters: {\n docs: {\n source: {\n code: LogoDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: LogoDefault,\n};\n\nexport const Black: Story = {\n args: {\n className: undefined,\n color: undefined,\n type: undefined,\n },\n parameters: {\n docs: {\n source: {\n code: LogoBlackSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: LogoBlack,\n};\n\nexport const Icon: Story = {\n args: {\n className: undefined,\n color: undefined,\n type: undefined,\n },\n parameters: {\n docs: {\n source: {\n code: LogoIconSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: LogoIcon,\n};\n"]}
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
import { Menu } from '@neo4j-ndl/react';
|
|
23
|
-
import { MenuCustomItems, MenuCustomItemsSrc, MenuDefault, MenuDefaultSrc, MenuDivider, MenuDividerSrc, MenuInDialog, MenuInDialogSrc, MenuInPopover, MenuInPopoverSrc, MenuNested, MenuNestedSrc, MenuPlacements, MenuPlacementsSrc, MenuRadioAndNormal, MenuRadioAndNormalSrc, MenuRadioItems, MenuRadioItemsSrc, MenuWithCategory, MenuWithCategorySrc, MenuWithDisabledItem, MenuWithDisabledItemSrc, MenuWithIcon, MenuWithIconSrc, MenuWithKeyboardShortcuts, MenuWithKeyboardShortcutsSrc, } from './index';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: Menu,
|
|
26
|
-
decorators: [
|
|
27
|
-
(Story) => (_jsx("div", { className: "n-gap-token-32 n-flex n-flex-row n-justify-center n-items-center n-h-[200px]", children: _jsx(Story, {}) })),
|
|
28
|
-
],
|
|
29
|
-
id: 'components-menu',
|
|
30
|
-
parameters: {
|
|
31
|
-
controls: { disable: true },
|
|
32
|
-
},
|
|
33
|
-
tags: ['docsPage'],
|
|
34
|
-
title: 'Components/Menu',
|
|
35
|
-
};
|
|
36
|
-
export default componentMeta;
|
|
37
|
-
export const Default = {
|
|
38
|
-
args: {},
|
|
39
|
-
parameters: {
|
|
40
|
-
docs: {
|
|
41
|
-
source: {
|
|
42
|
-
code: MenuDefaultSrc,
|
|
43
|
-
language: 'tsx',
|
|
44
|
-
type: 'code',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
render: MenuDefault,
|
|
49
|
-
};
|
|
50
|
-
export const Nested = {
|
|
51
|
-
args: {},
|
|
52
|
-
parameters: {
|
|
53
|
-
docs: {
|
|
54
|
-
source: {
|
|
55
|
-
code: MenuNestedSrc,
|
|
56
|
-
language: 'tsx',
|
|
57
|
-
type: 'code',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
render: MenuNested,
|
|
62
|
-
};
|
|
63
|
-
export const WithDivider = {
|
|
64
|
-
args: {},
|
|
65
|
-
parameters: {
|
|
66
|
-
docs: {
|
|
67
|
-
source: {
|
|
68
|
-
code: MenuDividerSrc,
|
|
69
|
-
language: 'tsx',
|
|
70
|
-
type: 'code',
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
render: MenuDivider,
|
|
75
|
-
};
|
|
76
|
-
export const WithCategory = {
|
|
77
|
-
args: {},
|
|
78
|
-
parameters: {
|
|
79
|
-
docs: {
|
|
80
|
-
source: {
|
|
81
|
-
code: MenuWithCategorySrc,
|
|
82
|
-
language: 'tsx',
|
|
83
|
-
type: 'code',
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
render: MenuWithCategory,
|
|
88
|
-
};
|
|
89
|
-
export const WithIcon = {
|
|
90
|
-
args: {},
|
|
91
|
-
parameters: {
|
|
92
|
-
docs: {
|
|
93
|
-
source: {
|
|
94
|
-
code: MenuWithIconSrc,
|
|
95
|
-
language: 'tsx',
|
|
96
|
-
type: 'code',
|
|
97
|
-
},
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
render: MenuWithIcon,
|
|
101
|
-
};
|
|
102
|
-
export const WithDisabledItem = {
|
|
103
|
-
args: {},
|
|
104
|
-
parameters: {
|
|
105
|
-
docs: {
|
|
106
|
-
source: {
|
|
107
|
-
code: MenuWithDisabledItemSrc,
|
|
108
|
-
language: 'tsx',
|
|
109
|
-
type: 'code',
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
render: MenuWithDisabledItem,
|
|
114
|
-
};
|
|
115
|
-
export const CustomItems = {
|
|
116
|
-
args: {},
|
|
117
|
-
parameters: {
|
|
118
|
-
docs: {
|
|
119
|
-
source: {
|
|
120
|
-
code: MenuCustomItemsSrc,
|
|
121
|
-
language: 'tsx',
|
|
122
|
-
type: 'code',
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
render: MenuCustomItems,
|
|
127
|
-
};
|
|
128
|
-
export const InPopover = {
|
|
129
|
-
args: {},
|
|
130
|
-
parameters: {
|
|
131
|
-
docs: {
|
|
132
|
-
source: {
|
|
133
|
-
code: MenuInPopoverSrc,
|
|
134
|
-
language: 'tsx',
|
|
135
|
-
type: 'code',
|
|
136
|
-
},
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
render: MenuInPopover,
|
|
140
|
-
};
|
|
141
|
-
export const InDialog = {
|
|
142
|
-
args: {},
|
|
143
|
-
parameters: {
|
|
144
|
-
docs: {
|
|
145
|
-
source: {
|
|
146
|
-
code: MenuInDialogSrc,
|
|
147
|
-
language: 'tsx',
|
|
148
|
-
type: 'code',
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
render: MenuInDialog,
|
|
153
|
-
};
|
|
154
|
-
export const Placements = {
|
|
155
|
-
args: {},
|
|
156
|
-
parameters: {
|
|
157
|
-
docs: {
|
|
158
|
-
source: {
|
|
159
|
-
code: MenuPlacementsSrc,
|
|
160
|
-
language: 'tsx',
|
|
161
|
-
type: 'code',
|
|
162
|
-
},
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
render: MenuPlacements,
|
|
166
|
-
};
|
|
167
|
-
export const WithKeyboardShortcuts = {
|
|
168
|
-
args: {},
|
|
169
|
-
parameters: {
|
|
170
|
-
docs: {
|
|
171
|
-
source: {
|
|
172
|
-
code: MenuWithKeyboardShortcutsSrc,
|
|
173
|
-
language: 'tsx',
|
|
174
|
-
type: 'code',
|
|
175
|
-
},
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
render: MenuWithKeyboardShortcuts,
|
|
179
|
-
};
|
|
180
|
-
export const RadioItems = {
|
|
181
|
-
args: {},
|
|
182
|
-
name: 'With Selection (radio items)',
|
|
183
|
-
parameters: {
|
|
184
|
-
docs: {
|
|
185
|
-
source: {
|
|
186
|
-
code: MenuRadioItemsSrc,
|
|
187
|
-
language: 'tsx',
|
|
188
|
-
type: 'code',
|
|
189
|
-
},
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
render: MenuRadioItems,
|
|
193
|
-
};
|
|
194
|
-
export const RadioAndNormal = {
|
|
195
|
-
args: {},
|
|
196
|
-
name: 'With Selection and Actions',
|
|
197
|
-
parameters: {
|
|
198
|
-
docs: {
|
|
199
|
-
source: {
|
|
200
|
-
code: MenuRadioAndNormalSrc,
|
|
201
|
-
language: 'tsx',
|
|
202
|
-
type: 'code',
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
},
|
|
206
|
-
render: MenuRadioAndNormal,
|
|
207
|
-
};
|
|
208
|
-
//# sourceMappingURL=menu.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu.stories.js","sourceRoot":"","sources":["../../../../src/menu/stories/menu.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGxC,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,WAAW,EACX,cAAc,EACd,YAAY,EACZ,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,SAAS,CAAC;AAEjB,MAAM,aAAa,GAAsB;IACvC,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,8EAA8E,YAC3F,KAAC,KAAK,KAAG,GACL,CACP;KACF;IACD,EAAE,EAAE,iBAAiB;IACrB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,iBAAiB;CACzB,CAAC;AAEF,eAAe,aAAa,CAAC;AAE7B,MAAM,CAAC,MAAM,OAAO,GAAmC;IACrD,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,cAAc;gBACpB,QAAQ,EAAE,KAAK;gBAC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ClC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAmC;IACxD,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,8BAA8B;IACpC,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,cAAc,GAAmC;IAC5D,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,4BAA4B;IAClC,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","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 { Menu } from '@neo4j-ndl/react';\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport {\n MenuCustomItems,\n MenuCustomItemsSrc,\n MenuDefault,\n MenuDefaultSrc,\n MenuDivider,\n MenuDividerSrc,\n MenuInDialog,\n MenuInDialogSrc,\n MenuInPopover,\n MenuInPopoverSrc,\n MenuNested,\n MenuNestedSrc,\n MenuPlacements,\n MenuPlacementsSrc,\n MenuRadioAndNormal,\n MenuRadioAndNormalSrc,\n MenuRadioItems,\n MenuRadioItemsSrc,\n MenuWithCategory,\n MenuWithCategorySrc,\n MenuWithDisabledItem,\n MenuWithDisabledItemSrc,\n MenuWithIcon,\n MenuWithIconSrc,\n MenuWithKeyboardShortcuts,\n MenuWithKeyboardShortcutsSrc,\n} from './index';\n\nconst componentMeta: Meta<typeof Menu> = {\n component: Menu,\n decorators: [\n (Story) => (\n <div className=\"n-gap-token-32 n-flex n-flex-row n-justify-center n-items-center n-h-[200px]\">\n <Story />\n </div>\n ),\n ],\n id: 'components-menu',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Menu',\n};\n\nexport default componentMeta;\n\nexport const Default: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuDefault,\n};\n\nexport const Nested: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuNestedSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuNested,\n};\n\nexport const WithDivider: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuDividerSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuDivider,\n};\n\nexport const WithCategory: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuWithCategorySrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuWithCategory,\n};\n\nexport const WithIcon: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuWithIconSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuWithIcon,\n};\n\nexport const WithDisabledItem: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuWithDisabledItemSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuWithDisabledItem,\n};\n\nexport const CustomItems: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuCustomItemsSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuCustomItems,\n};\n\nexport const InPopover: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuInPopoverSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuInPopover,\n};\n\nexport const InDialog: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuInDialogSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuInDialog,\n};\n\nexport const Placements: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuPlacementsSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuPlacements,\n};\n\nexport const WithKeyboardShortcuts: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: MenuWithKeyboardShortcutsSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuWithKeyboardShortcuts,\n};\n\nexport const RadioItems: StoryObj<typeof componentMeta> = {\n args: {},\n name: 'With Selection (radio items)',\n parameters: {\n docs: {\n source: {\n code: MenuRadioItemsSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuRadioItems,\n};\n\nexport const RadioAndNormal: StoryObj<typeof componentMeta> = {\n args: {},\n name: 'With Selection and Actions',\n parameters: {\n docs: {\n source: {\n code: MenuRadioAndNormalSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: MenuRadioAndNormal,\n};\n"]}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
import { Popover } from '@neo4j-ndl/react';
|
|
23
|
-
import { PopoverCustomOffset, PopoverCustomOffsetSrc, PopoverDefault, PopoverDefaultSrc, PopoverInDialog, PopoverInDialogSrc, PopoverNoButtonWrapper, PopoverNoButtonWrapperSrc, PopoverSeparateAnchor, PopoverSeparateAnchorSrc, } from './index';
|
|
24
|
-
const componentMeta = {
|
|
25
|
-
component: Popover,
|
|
26
|
-
decorators: [
|
|
27
|
-
(Story) => (_jsx("div", { className: "n-flex n-justify-center n-items-center", children: _jsx(Story, {}) })),
|
|
28
|
-
],
|
|
29
|
-
id: 'components-popover',
|
|
30
|
-
parameters: {
|
|
31
|
-
controls: { disable: true },
|
|
32
|
-
},
|
|
33
|
-
tags: ['docsPage'],
|
|
34
|
-
title: 'Components/Popover',
|
|
35
|
-
};
|
|
36
|
-
export default componentMeta;
|
|
37
|
-
export const Default = {
|
|
38
|
-
args: {},
|
|
39
|
-
parameters: {
|
|
40
|
-
docs: {
|
|
41
|
-
source: {
|
|
42
|
-
code: PopoverDefaultSrc,
|
|
43
|
-
language: 'tsx',
|
|
44
|
-
type: 'code',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
render: PopoverDefault,
|
|
49
|
-
};
|
|
50
|
-
export const NoButtonWrapper = {
|
|
51
|
-
args: {},
|
|
52
|
-
parameters: {
|
|
53
|
-
docs: {
|
|
54
|
-
source: {
|
|
55
|
-
code: PopoverNoButtonWrapperSrc,
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
render: PopoverNoButtonWrapper,
|
|
60
|
-
};
|
|
61
|
-
export const SeparateAnchor = {
|
|
62
|
-
args: {},
|
|
63
|
-
parameters: {
|
|
64
|
-
docs: {
|
|
65
|
-
source: {
|
|
66
|
-
code: PopoverSeparateAnchorSrc,
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
render: PopoverSeparateAnchor,
|
|
71
|
-
};
|
|
72
|
-
export const InDialog = {
|
|
73
|
-
args: {},
|
|
74
|
-
parameters: {
|
|
75
|
-
docs: {
|
|
76
|
-
source: {
|
|
77
|
-
code: PopoverInDialogSrc,
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
render: PopoverInDialog,
|
|
82
|
-
};
|
|
83
|
-
export const CustomOffset = {
|
|
84
|
-
args: {},
|
|
85
|
-
parameters: {
|
|
86
|
-
docs: {
|
|
87
|
-
source: {
|
|
88
|
-
code: PopoverCustomOffsetSrc,
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
render: PopoverCustomOffset,
|
|
93
|
-
};
|
|
94
|
-
//# sourceMappingURL=popover.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popover.stories.js","sourceRoot":"","sources":["../../../../src/popover/stories/popover.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,w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MAAM,CAAC,MAAM,YAAY,GAAmC;IAC1D,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,sBAAsB;aAC7B;SACF;KACF;IACD,MAAM,EAAE,mBAAmB;CAC5B,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 { Popover } from '@neo4j-ndl/react';\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport {\n PopoverCustomOffset,\n PopoverCustomOffsetSrc,\n PopoverDefault,\n PopoverDefaultSrc,\n PopoverInDialog,\n PopoverInDialogSrc,\n PopoverNoButtonWrapper,\n PopoverNoButtonWrapperSrc,\n PopoverSeparateAnchor,\n PopoverSeparateAnchorSrc,\n} from './index';\n\nconst componentMeta: Meta<typeof Popover> = {\n component: Popover,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center n-items-center\">\n <Story />\n </div>\n ),\n ],\n id: 'components-popover',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Popover',\n};\n\nexport default componentMeta;\n\nexport const Default: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PopoverDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PopoverDefault,\n};\n\nexport const NoButtonWrapper: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PopoverNoButtonWrapperSrc,\n },\n },\n },\n render: PopoverNoButtonWrapper,\n};\n\nexport const SeparateAnchor: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PopoverSeparateAnchorSrc,\n },\n },\n },\n render: PopoverSeparateAnchor,\n};\n\nexport const InDialog: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PopoverInDialogSrc,\n },\n },\n },\n render: PopoverInDialog,\n};\n\nexport const CustomOffset: StoryObj<typeof componentMeta> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PopoverCustomOffsetSrc,\n },\n },\n },\n render: PopoverCustomOffset,\n};\n"]}
|
|
@@ -1,77 +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 { ProgressBar } from '../../index';
|
|
24
|
-
import { ProgressBarDefault, ProgressBarDefaultSource, ProgressBarHeading, ProgressBarHeadingSource, ProgressBarSizes, ProgressBarSizesSource, } from '.';
|
|
25
|
-
const componentMeta = {
|
|
26
|
-
component: ProgressBar,
|
|
27
|
-
decorators: [
|
|
28
|
-
(Story) => (_jsx("div", { className: "n-max-w-96 n-mx-auto", children: _jsx(Story, {}) })),
|
|
29
|
-
],
|
|
30
|
-
id: 'components-progress-bar',
|
|
31
|
-
parameters: {
|
|
32
|
-
controls: { disable: true },
|
|
33
|
-
},
|
|
34
|
-
tags: ['docsPage'],
|
|
35
|
-
title: 'Components/ProgressBar',
|
|
36
|
-
};
|
|
37
|
-
export default componentMeta;
|
|
38
|
-
export const Default = {
|
|
39
|
-
args: {},
|
|
40
|
-
parameters: {
|
|
41
|
-
docs: {
|
|
42
|
-
source: {
|
|
43
|
-
code: ProgressBarDefaultSource,
|
|
44
|
-
language: 'tsx',
|
|
45
|
-
type: 'code',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
render: ProgressBarDefault,
|
|
50
|
-
};
|
|
51
|
-
export const Heading = {
|
|
52
|
-
args: {},
|
|
53
|
-
parameters: {
|
|
54
|
-
docs: {
|
|
55
|
-
source: {
|
|
56
|
-
code: ProgressBarHeadingSource,
|
|
57
|
-
language: 'tsx',
|
|
58
|
-
type: 'code',
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
render: ProgressBarHeading,
|
|
63
|
-
};
|
|
64
|
-
export const Sizes = {
|
|
65
|
-
args: {},
|
|
66
|
-
parameters: {
|
|
67
|
-
docs: {
|
|
68
|
-
source: {
|
|
69
|
-
code: ProgressBarSizesSource,
|
|
70
|
-
language: 'tsx',
|
|
71
|
-
type: 'code',
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
render: ProgressBarSizes,
|
|
76
|
-
};
|
|
77
|
-
//# sourceMappingURL=progress-bar.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"progress-bar.stories.js","sourceRoot":"","sources":["../../../../src/progress-bar/stories/progress-bar.stories.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AAE,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 */\n\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { ProgressBar } from '../../index';\nimport {\n ProgressBarDefault,\n ProgressBarDefaultSource,\n ProgressBarHeading,\n ProgressBarHeadingSource,\n ProgressBarSizes,\n ProgressBarSizesSource,\n} from '.';\n\nconst componentMeta: Meta<typeof ProgressBar> = {\n component: ProgressBar,\n decorators: [\n (Story) => (\n <div className=\"n-max-w-96 n-mx-auto\">\n <Story />\n </div>\n ),\n ],\n id: 'components-progress-bar',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/ProgressBar',\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: ProgressBarDefaultSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ProgressBarDefault,\n};\n\nexport const Heading: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ProgressBarHeadingSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ProgressBarHeading,\n};\n\nexport const Sizes: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ProgressBarSizesSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ProgressBarSizes,\n};\n"]}
|
|
@@ -1,129 +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 { Radio } from '../../index';
|
|
24
|
-
import { RadioControlled, RadioControlledSrc, RadioCustomLabel, RadioCustomLabelSrc, RadioDefault, RadioDefaultSrc, RadioDisabled, RadioDisabledSrc, RadioHasLabelBefore, RadioHasLabelBeforeSrc, RadioNoLabel, RadioNoLabelSrc, RadioTruncatedLabel, RadioTruncatedLabelSrc, } from '.';
|
|
25
|
-
const componentMeta = {
|
|
26
|
-
component: Radio,
|
|
27
|
-
decorators: [
|
|
28
|
-
(Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
|
|
29
|
-
],
|
|
30
|
-
id: 'components-radio',
|
|
31
|
-
parameters: {
|
|
32
|
-
controls: { disable: true },
|
|
33
|
-
},
|
|
34
|
-
tags: ['docsPage'],
|
|
35
|
-
title: 'Components/Radio',
|
|
36
|
-
};
|
|
37
|
-
export default componentMeta;
|
|
38
|
-
export const Default = {
|
|
39
|
-
args: {},
|
|
40
|
-
parameters: {
|
|
41
|
-
docs: {
|
|
42
|
-
source: {
|
|
43
|
-
code: RadioDefaultSrc,
|
|
44
|
-
language: 'tsx',
|
|
45
|
-
type: 'code',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
render: RadioDefault,
|
|
50
|
-
};
|
|
51
|
-
export const NoLabel = {
|
|
52
|
-
args: {},
|
|
53
|
-
parameters: {
|
|
54
|
-
docs: {
|
|
55
|
-
source: {
|
|
56
|
-
code: RadioNoLabelSrc,
|
|
57
|
-
language: 'tsx',
|
|
58
|
-
type: 'code',
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
render: RadioNoLabel,
|
|
63
|
-
};
|
|
64
|
-
export const HasLeadingLabel = {
|
|
65
|
-
args: {},
|
|
66
|
-
parameters: {
|
|
67
|
-
docs: {
|
|
68
|
-
source: {
|
|
69
|
-
code: RadioHasLabelBeforeSrc,
|
|
70
|
-
language: 'tsx',
|
|
71
|
-
type: 'code',
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
render: RadioHasLabelBefore,
|
|
76
|
-
};
|
|
77
|
-
export const Disabled = {
|
|
78
|
-
args: {},
|
|
79
|
-
parameters: {
|
|
80
|
-
docs: {
|
|
81
|
-
source: {
|
|
82
|
-
code: RadioDisabledSrc,
|
|
83
|
-
language: 'tsx',
|
|
84
|
-
type: 'code',
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
render: RadioDisabled,
|
|
89
|
-
};
|
|
90
|
-
export const CustomLabel = {
|
|
91
|
-
args: {},
|
|
92
|
-
parameters: {
|
|
93
|
-
docs: {
|
|
94
|
-
source: {
|
|
95
|
-
code: RadioCustomLabelSrc,
|
|
96
|
-
language: 'tsx',
|
|
97
|
-
type: 'code',
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
render: RadioCustomLabel,
|
|
102
|
-
};
|
|
103
|
-
export const TruncatedLabel = {
|
|
104
|
-
args: {},
|
|
105
|
-
parameters: {
|
|
106
|
-
docs: {
|
|
107
|
-
source: {
|
|
108
|
-
code: RadioTruncatedLabelSrc,
|
|
109
|
-
language: 'tsx',
|
|
110
|
-
type: 'code',
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
render: RadioTruncatedLabel,
|
|
115
|
-
};
|
|
116
|
-
export const Controlled = {
|
|
117
|
-
args: {},
|
|
118
|
-
parameters: {
|
|
119
|
-
docs: {
|
|
120
|
-
source: {
|
|
121
|
-
code: RadioControlledSrc,
|
|
122
|
-
language: 'tsx',
|
|
123
|
-
type: 'code',
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
render: RadioControlled,
|
|
128
|
-
};
|
|
129
|
-
//# sourceMappingURL=radio.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"radio.stories.js","sourceRoot":"","sources":["../../../../src/radio/stories/radio.stories.tsx"],"names":[],"mappings":";AAsBA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAuB;IACxC,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,KAAK,KAAG,GACL,CACP;KACF;IACD,EAAE,EAAE,kBAAkB;IACtB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,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b;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,sBAAsB;gBAC5B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,mBAAmB;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,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 { Radio } from '../../index';\nimport {\n RadioControlled,\n RadioControlledSrc,\n RadioCustomLabel,\n RadioCustomLabelSrc,\n RadioDefault,\n RadioDefaultSrc,\n RadioDisabled,\n RadioDisabledSrc,\n RadioHasLabelBefore,\n RadioHasLabelBeforeSrc,\n RadioNoLabel,\n RadioNoLabelSrc,\n RadioTruncatedLabel,\n RadioTruncatedLabelSrc,\n} from '.';\n\nconst componentMeta: Meta<typeof Radio> = {\n component: Radio,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center\">\n <Story />\n </div>\n ),\n ],\n id: 'components-radio',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Radio',\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: RadioDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: RadioDefault,\n};\n\nexport const NoLabel: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: RadioNoLabelSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: RadioNoLabel,\n};\n\nexport const HasLeadingLabel: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: RadioHasLabelBeforeSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: RadioHasLabelBefore,\n};\n\nexport const Disabled: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: RadioDisabledSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: RadioDisabled,\n};\n\nexport const CustomLabel: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: RadioCustomLabelSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: RadioCustomLabel,\n};\n\nexport const TruncatedLabel: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: RadioTruncatedLabelSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: RadioTruncatedLabel,\n};\n\nexport const Controlled: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: RadioControlledSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: RadioControlled,\n};\n"]}
|