@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,152 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomStepLength = exports.ShowValues = exports.ShowSteps = exports.Disabled = exports.SingleControlled = exports.Range = exports.Single = exports.Default = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) "Neo4j"
|
|
8
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
9
|
-
*
|
|
10
|
-
* This file is part of Neo4j.
|
|
11
|
-
*
|
|
12
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* This program is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU General Public License
|
|
23
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
|
-
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
-
const _1 = require(".");
|
|
27
|
-
const componentMeta = {
|
|
28
|
-
component: react_1.Slider,
|
|
29
|
-
decorators: [
|
|
30
|
-
(Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-mt-5", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
31
|
-
],
|
|
32
|
-
id: 'components-slider',
|
|
33
|
-
parameters: {
|
|
34
|
-
controls: { disable: true },
|
|
35
|
-
},
|
|
36
|
-
tags: ['docsPage'],
|
|
37
|
-
title: 'Components/Slider',
|
|
38
|
-
};
|
|
39
|
-
exports.default = componentMeta;
|
|
40
|
-
exports.Default = {
|
|
41
|
-
// @ts-expect-error The args from the full story are not actually used but we get a type issue here
|
|
42
|
-
args: {},
|
|
43
|
-
parameters: {
|
|
44
|
-
docs: {
|
|
45
|
-
source: {
|
|
46
|
-
code: _1.SliderDefaultSource,
|
|
47
|
-
language: 'tsx',
|
|
48
|
-
type: 'code',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
render: () => (0, jsx_runtime_1.jsx)(_1.SliderDefaultDemo, {}),
|
|
53
|
-
};
|
|
54
|
-
exports.Single = {
|
|
55
|
-
// @ts-expect-error The args from the full story are not actually used but we get a type issue here
|
|
56
|
-
args: {},
|
|
57
|
-
parameters: {
|
|
58
|
-
docs: {
|
|
59
|
-
source: {
|
|
60
|
-
code: _1.SliderSingleSource,
|
|
61
|
-
language: 'tsx',
|
|
62
|
-
type: 'code',
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
render: () => (0, jsx_runtime_1.jsx)(_1.SliderSingleDemo, {}),
|
|
67
|
-
};
|
|
68
|
-
exports.Range = {
|
|
69
|
-
// @ts-expect-error The args from the full story are not actually used but we get a type issue here
|
|
70
|
-
args: {},
|
|
71
|
-
parameters: {
|
|
72
|
-
docs: {
|
|
73
|
-
source: {
|
|
74
|
-
code: _1.SliderRangeSource,
|
|
75
|
-
language: 'tsx',
|
|
76
|
-
type: 'code',
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
render: () => (0, jsx_runtime_1.jsx)(_1.SliderRangeDemo, {}),
|
|
81
|
-
};
|
|
82
|
-
exports.SingleControlled = {
|
|
83
|
-
// @ts-expect-error The args from the full story are not actually used but we get a type issue here
|
|
84
|
-
args: {},
|
|
85
|
-
parameters: {
|
|
86
|
-
docs: {
|
|
87
|
-
source: {
|
|
88
|
-
code: _1.SliderSingleControlledSource,
|
|
89
|
-
language: 'tsx',
|
|
90
|
-
type: 'code',
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
render: () => (0, jsx_runtime_1.jsx)(_1.SliderSingleControlledDemo, {}),
|
|
95
|
-
};
|
|
96
|
-
exports.Disabled = {
|
|
97
|
-
// @ts-expect-error The args from the full story are not actually used but we get a type issue here
|
|
98
|
-
args: {},
|
|
99
|
-
parameters: {
|
|
100
|
-
docs: {
|
|
101
|
-
source: {
|
|
102
|
-
code: _1.SliderDisabledSource,
|
|
103
|
-
language: 'tsx',
|
|
104
|
-
type: 'code',
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
render: () => (0, jsx_runtime_1.jsx)(_1.SliderDisabledDemo, {}),
|
|
109
|
-
};
|
|
110
|
-
exports.ShowSteps = {
|
|
111
|
-
// @ts-expect-error The args from the full story are not actually used but we get a type issue here
|
|
112
|
-
args: {},
|
|
113
|
-
parameters: {
|
|
114
|
-
docs: {
|
|
115
|
-
source: {
|
|
116
|
-
code: _1.SliderShowStepsSource,
|
|
117
|
-
language: 'tsx',
|
|
118
|
-
type: 'code',
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
render: () => (0, jsx_runtime_1.jsx)(_1.SliderShowStepsDemo, {}),
|
|
123
|
-
};
|
|
124
|
-
exports.ShowValues = {
|
|
125
|
-
// @ts-expect-error The args from the full story are not actually used but we get a type issue here
|
|
126
|
-
args: {},
|
|
127
|
-
parameters: {
|
|
128
|
-
docs: {
|
|
129
|
-
source: {
|
|
130
|
-
code: _1.SliderShowValuesSource,
|
|
131
|
-
language: 'tsx',
|
|
132
|
-
type: 'code',
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
render: () => (0, jsx_runtime_1.jsx)(_1.SliderShowValuesDemo, {}),
|
|
137
|
-
};
|
|
138
|
-
exports.CustomStepLength = {
|
|
139
|
-
// @ts-expect-error The args from the full story are not actually used but we get a type issue here
|
|
140
|
-
args: {},
|
|
141
|
-
parameters: {
|
|
142
|
-
docs: {
|
|
143
|
-
source: {
|
|
144
|
-
code: _1.SliderCustomStepLengthSource,
|
|
145
|
-
language: 'tsx',
|
|
146
|
-
type: 'code',
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
render: () => (0, jsx_runtime_1.jsx)(_1.SliderCustomStepLengthDemo, {}),
|
|
151
|
-
};
|
|
152
|
-
//# sourceMappingURL=slider.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slider.stories.js","sourceRoot":"","sources":["../../../../src/slider/stories/slider.stories.tsx"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;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,IAAI,EAAE,+BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,GAAG,EAAE,CAAC,uBAAC,6BAA0B,KAAG;CAC7C,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 { Slider } from '@neo4j-ndl/react';\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport {\n SliderCustomStepLengthDemo,\n SliderCustomStepLengthSource,\n SliderDefaultDemo,\n SliderDefaultSource,\n SliderDisabledDemo,\n SliderDisabledSource,\n SliderRangeDemo,\n SliderRangeSource,\n SliderShowStepsDemo,\n SliderShowStepsSource,\n SliderShowValuesDemo,\n SliderShowValuesSource,\n SliderSingleControlledDemo,\n SliderSingleControlledSource,\n SliderSingleDemo,\n SliderSingleSource,\n} from '.';\n\nconst componentMeta: Meta<typeof Slider> = {\n component: Slider,\n decorators: [\n (Story) => (\n <div className=\"n-mt-5\">\n <Story />\n </div>\n ),\n ],\n id: 'components-slider',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Slider',\n} satisfies Meta<typeof Slider>;\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n // @ts-expect-error The args from the full story are not actually used but we get a type issue here\n args: {},\n parameters: {\n docs: {\n source: {\n code: SliderDefaultSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: () => <SliderDefaultDemo />,\n};\n\nexport const Single: Story = {\n // @ts-expect-error The args from the full story are not actually used but we get a type issue here\n args: {},\n parameters: {\n docs: {\n source: {\n code: SliderSingleSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: () => <SliderSingleDemo />,\n};\n\nexport const Range: Story = {\n // @ts-expect-error The args from the full story are not actually used but we get a type issue here\n args: {},\n parameters: {\n docs: {\n source: {\n code: SliderRangeSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: () => <SliderRangeDemo />,\n};\n\nexport const SingleControlled: Story = {\n // @ts-expect-error The args from the full story are not actually used but we get a type issue here\n args: {},\n parameters: {\n docs: {\n source: {\n code: SliderSingleControlledSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: () => <SliderSingleControlledDemo />,\n};\n\nexport const Disabled: Story = {\n // @ts-expect-error The args from the full story are not actually used but we get a type issue here\n args: {},\n parameters: {\n docs: {\n source: {\n code: SliderDisabledSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: () => <SliderDisabledDemo />,\n};\n\nexport const ShowSteps: Story = {\n // @ts-expect-error The args from the full story are not actually used but we get a type issue here\n args: {},\n parameters: {\n docs: {\n source: {\n code: SliderShowStepsSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: () => <SliderShowStepsDemo />,\n};\n\nexport const ShowValues: Story = {\n // @ts-expect-error The args from the full story are not actually used but we get a type issue here\n args: {},\n parameters: {\n docs: {\n source: {\n code: SliderShowValuesSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: () => <SliderShowValuesDemo />,\n};\n\nexport const CustomStepLength: Story = {\n // @ts-expect-error The args from the full story are not actually used but we get a type issue here\n args: {},\n parameters: {\n docs: {\n source: {\n code: SliderCustomStepLengthSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: () => <SliderCustomStepLengthDemo />,\n};\n"]}
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
"use strict";
|
|
23
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.OnTabs = exports.FixedPositioning = exports.TargetInDialog = exports.InSideNav = exports.Tour = exports.WithPointerIndicator = exports.WithImage = exports.WithIcon = exports.WithLabel = void 0;
|
|
28
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
29
|
-
const chromatic_1 = __importDefault(require("chromatic"));
|
|
30
|
-
const index_1 = require("../../index");
|
|
31
|
-
const _1 = require(".");
|
|
32
|
-
const componentMeta = {
|
|
33
|
-
component: index_1.Spotlight,
|
|
34
|
-
decorators: [
|
|
35
|
-
(StoryFn) => ((0, jsx_runtime_1.jsx)(index_1.SpotlightProvider, { hasOverlay: true, children: (0, jsx_runtime_1.jsx)(StoryFn, {}) })),
|
|
36
|
-
],
|
|
37
|
-
id: 'components-spotlight',
|
|
38
|
-
parameters: {
|
|
39
|
-
controls: { disable: true },
|
|
40
|
-
},
|
|
41
|
-
tags: ['docsPage'],
|
|
42
|
-
title: 'Components/Spotlight',
|
|
43
|
-
};
|
|
44
|
-
exports.default = componentMeta;
|
|
45
|
-
exports.WithLabel = {
|
|
46
|
-
args: {
|
|
47
|
-
isChromatic: (0, chromatic_1.default)(),
|
|
48
|
-
},
|
|
49
|
-
parameters: {
|
|
50
|
-
docs: {
|
|
51
|
-
source: {
|
|
52
|
-
code: _1.SpotlightWithLabelSrc,
|
|
53
|
-
language: 'tsx',
|
|
54
|
-
type: 'code',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
render: _1.SpotlightWithLabel,
|
|
59
|
-
};
|
|
60
|
-
exports.WithIcon = {
|
|
61
|
-
args: {
|
|
62
|
-
isChromatic: (0, chromatic_1.default)(),
|
|
63
|
-
},
|
|
64
|
-
parameters: {
|
|
65
|
-
docs: {
|
|
66
|
-
source: {
|
|
67
|
-
code: _1.SpotlightWithIconSrc,
|
|
68
|
-
language: 'tsx',
|
|
69
|
-
type: 'code',
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
render: _1.SpotlightWithIcon,
|
|
74
|
-
};
|
|
75
|
-
exports.WithImage = {
|
|
76
|
-
args: {
|
|
77
|
-
isChromatic: (0, chromatic_1.default)(),
|
|
78
|
-
},
|
|
79
|
-
parameters: {
|
|
80
|
-
docs: {
|
|
81
|
-
source: {
|
|
82
|
-
code: _1.SpotlightWithImageSrc,
|
|
83
|
-
language: 'tsx',
|
|
84
|
-
type: 'code',
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
render: _1.SpotlightWithImage,
|
|
89
|
-
};
|
|
90
|
-
exports.WithPointerIndicator = {
|
|
91
|
-
args: {
|
|
92
|
-
isChromatic: (0, chromatic_1.default)(),
|
|
93
|
-
},
|
|
94
|
-
parameters: {
|
|
95
|
-
docs: {
|
|
96
|
-
source: {
|
|
97
|
-
code: _1.SpotlightWithPointerSrc,
|
|
98
|
-
language: 'tsx',
|
|
99
|
-
type: 'code',
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
render: _1.SpotlightWithPointer,
|
|
104
|
-
};
|
|
105
|
-
exports.Tour = {
|
|
106
|
-
args: {},
|
|
107
|
-
parameters: {
|
|
108
|
-
docs: {
|
|
109
|
-
source: {
|
|
110
|
-
code: _1.SpotlightTourSrc,
|
|
111
|
-
language: 'tsx',
|
|
112
|
-
type: 'code',
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
render: _1.SpotlightTour,
|
|
117
|
-
};
|
|
118
|
-
exports.InSideNav = {
|
|
119
|
-
args: {
|
|
120
|
-
isChromatic: (0, chromatic_1.default)(),
|
|
121
|
-
},
|
|
122
|
-
parameters: {
|
|
123
|
-
docs: {
|
|
124
|
-
source: {
|
|
125
|
-
code: _1.SpotlightInSideNavSrc,
|
|
126
|
-
language: 'tsx',
|
|
127
|
-
type: 'code',
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
},
|
|
131
|
-
render: _1.SpotlightInSideNav,
|
|
132
|
-
};
|
|
133
|
-
exports.TargetInDialog = {
|
|
134
|
-
args: {
|
|
135
|
-
isChromatic: (0, chromatic_1.default)(),
|
|
136
|
-
},
|
|
137
|
-
parameters: {
|
|
138
|
-
docs: {
|
|
139
|
-
source: {
|
|
140
|
-
code: _1.SpotlightInDialogSrc,
|
|
141
|
-
language: 'tsx',
|
|
142
|
-
type: 'code',
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
render: _1.SpotlightInDialog,
|
|
147
|
-
};
|
|
148
|
-
exports.FixedPositioning = {
|
|
149
|
-
args: {
|
|
150
|
-
isChromatic: (0, chromatic_1.default)(),
|
|
151
|
-
},
|
|
152
|
-
parameters: {
|
|
153
|
-
docs: {
|
|
154
|
-
source: {
|
|
155
|
-
code: _1.SpotlightFixedPositioningSrc,
|
|
156
|
-
language: 'tsx',
|
|
157
|
-
type: 'code',
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
},
|
|
161
|
-
render: _1.SpotlightFixedPositioning,
|
|
162
|
-
};
|
|
163
|
-
exports.OnTabs = {
|
|
164
|
-
args: {
|
|
165
|
-
isChromatic: (0, chromatic_1.default)(),
|
|
166
|
-
},
|
|
167
|
-
parameters: {
|
|
168
|
-
docs: {
|
|
169
|
-
source: {
|
|
170
|
-
code: _1.SpotlightOnTabsSrc,
|
|
171
|
-
language: 'tsx',
|
|
172
|
-
type: 'code',
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
|
-
},
|
|
176
|
-
render: _1.SpotlightOnTabs,
|
|
177
|
-
};
|
|
178
|
-
//# sourceMappingURL=spotlight.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight.stories.js","sourceRoot":"","sources":["../../../../src/spotlight/stories/spotlight.stories.tsx"],"names":[],"mappings":";;;;;;;AAqBA,0DAAoC;AAEpC,uCAA2D;AAC3D,wBAmBW;AAOX,MAAM,aAAa,GAAyB;IAC1C,SAAS,EAAE,iBAAS;IACpB,UAAU,EAAE;QACV,CAAC,OAAO,EAAE,EAAE,CAAC,CACX,uBAAC,yBAAiB,IAAC,UAAU,kBAC3B,uBAAC,OAAO,KAAG,GACO,CACrB;KACF;IACD,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;CACf,CAAC;AAEjB,kBAAe,aAAa,CAAC;AAGhB,QAAA,SAAS,GAAU;IAC9B,IAAI,EAAE;QACJ,WAAW,EAAE,IAAA,mBAAW,GAAE;KAC3B;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,wBAAqB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3B;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,wBAAqB;gBAC3B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,qBAAkB;CAC3B,CAAC;AAEW,QAAA,cAAc,GAAU;IACnC,IAAI,EAAE;QACJ,WAAW,EAAE,IAAA,mBAAW,GAAE;KAC3B;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,uBAAoB;gBAC1B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,oBAAiB;CAC1B,CAAC;AAEW,QAAA,gBAAgB,GAAU;IACrC,IAAI,EAAE;QACJ,WAAW,EAAE,IAAA,mBAAW,GAAE;KAC3B;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAAyB;CAClC,CAAC;AAEW,QAAA,MAAM,GAAU;IAC3B,IAAI,EAAE;QACJ,WAAW,EAAE,IAAA,mBAAW,GAAE;KAC3B;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,qBAAkB;gBACxB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,kBAAe;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';\nimport isChromatic from 'chromatic';\n\nimport { Spotlight, SpotlightProvider } from '../../index';\nimport {\n SpotlightFixedPositioning,\n SpotlightFixedPositioningSrc,\n SpotlightInDialog,\n SpotlightInDialogSrc,\n SpotlightInSideNav,\n SpotlightInSideNavSrc,\n SpotlightOnTabs,\n SpotlightOnTabsSrc,\n SpotlightTour,\n SpotlightTourSrc,\n SpotlightWithIcon,\n SpotlightWithIconSrc,\n SpotlightWithImage,\n SpotlightWithImageSrc,\n SpotlightWithLabel,\n SpotlightWithLabelSrc,\n SpotlightWithPointer,\n SpotlightWithPointerSrc,\n} from '.';\n\ntype ComponentProps = React.ComponentProps<typeof Spotlight> & {\n isChromatic: boolean;\n hasPulse?: boolean;\n};\n\nconst componentMeta: Meta<ComponentProps> = {\n component: Spotlight,\n decorators: [\n (StoryFn) => (\n <SpotlightProvider hasOverlay>\n <StoryFn />\n </SpotlightProvider>\n ),\n ],\n id: 'components-spotlight',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Spotlight',\n} satisfies Meta;\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const WithLabel: Story = {\n args: {\n isChromatic: isChromatic(),\n },\n parameters: {\n docs: {\n source: {\n code: SpotlightWithLabelSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightWithLabel,\n};\n\nexport const WithIcon: Story = {\n args: {\n isChromatic: isChromatic(),\n },\n parameters: {\n docs: {\n source: {\n code: SpotlightWithIconSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightWithIcon,\n};\n\nexport const WithImage: Story = {\n args: {\n isChromatic: isChromatic(),\n },\n parameters: {\n docs: {\n source: {\n code: SpotlightWithImageSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightWithImage,\n};\n\nexport const WithPointerIndicator: Story = {\n args: {\n isChromatic: isChromatic(),\n },\n parameters: {\n docs: {\n source: {\n code: SpotlightWithPointerSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightWithPointer,\n};\n\nexport const Tour: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: SpotlightTourSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightTour,\n};\n\nexport const InSideNav: Story = {\n args: {\n isChromatic: isChromatic(),\n },\n parameters: {\n docs: {\n source: {\n code: SpotlightInSideNavSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightInSideNav,\n};\n\nexport const TargetInDialog: Story = {\n args: {\n isChromatic: isChromatic(),\n },\n parameters: {\n docs: {\n source: {\n code: SpotlightInDialogSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightInDialog,\n};\n\nexport const FixedPositioning: Story = {\n args: {\n isChromatic: isChromatic(),\n },\n parameters: {\n docs: {\n source: {\n code: SpotlightFixedPositioningSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightFixedPositioning,\n};\n\nexport const OnTabs: Story = {\n args: {\n isChromatic: isChromatic(),\n },\n parameters: {\n docs: {\n source: {\n code: SpotlightOnTabsSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SpotlightOnTabs,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status-indicator.stories.js","sourceRoot":"","sources":["../../../../src/status-indicator/stories/status-indicator.stories.tsx"],"names":[],"mappings":";;;;AAuBA,uCAA8C;AAC9C,wBAA2E;AAE3E,MAAM,aAAa,GAAiC;IAClD,SAAS,EAAE,uBAAe;IAC1B,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,gCAAK,SAAS,EAAC,yBAAyB,YACtC,uBAAC,KAAK,KAAG,GACL,CACP;KACF;IACD,EAAE,EAAE,6BAA6B;IACjC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,4BAA4B;CACpC,CAAC;AAEF,kBAAe,aAAa,CAAC;AAGhB,QAAA,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,gCAA6B;gBACnC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,0BAAuB;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 */\n\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { StatusIndicator } from '../../index';\nimport { StatusIndicatorVariants, StatusIndicatorVariantsSource } from '.';\n\nconst componentMeta: Meta<typeof StatusIndicator> = {\n component: StatusIndicator,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center\">\n <Story />\n </div>\n ),\n ],\n id: 'components-status-indicator',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/StatusIndicator',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Variants: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: StatusIndicatorVariantsSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: StatusIndicatorVariants,\n};\n"]}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WithIcons = exports.Fills = exports.Colors = exports.Default = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) "Neo4j"
|
|
8
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
9
|
-
*
|
|
10
|
-
* This file is part of Neo4j.
|
|
11
|
-
*
|
|
12
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* This program is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU General Public License
|
|
23
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
|
-
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
-
const _1 = require(".");
|
|
27
|
-
const componentMeta = {
|
|
28
|
-
component: react_1.StatusLabel,
|
|
29
|
-
decorators: [
|
|
30
|
-
(Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
31
|
-
],
|
|
32
|
-
id: 'components-status-label',
|
|
33
|
-
parameters: {
|
|
34
|
-
controls: { disable: true },
|
|
35
|
-
},
|
|
36
|
-
tags: ['docsPage'],
|
|
37
|
-
title: 'Components/StatusLabel',
|
|
38
|
-
};
|
|
39
|
-
exports.default = componentMeta;
|
|
40
|
-
exports.Default = {
|
|
41
|
-
args: {},
|
|
42
|
-
parameters: {
|
|
43
|
-
docs: {
|
|
44
|
-
source: {
|
|
45
|
-
code: _1.StatusLabelDefaultSource,
|
|
46
|
-
language: 'tsx',
|
|
47
|
-
type: 'code',
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
render: _1.StatusLabelDefault,
|
|
52
|
-
};
|
|
53
|
-
exports.Colors = {
|
|
54
|
-
args: {},
|
|
55
|
-
parameters: {
|
|
56
|
-
docs: {
|
|
57
|
-
source: {
|
|
58
|
-
code: _1.StatusLabelColorsSource,
|
|
59
|
-
language: 'tsx',
|
|
60
|
-
type: 'code',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
render: _1.StatusLabelColors,
|
|
65
|
-
};
|
|
66
|
-
exports.Fills = {
|
|
67
|
-
args: {},
|
|
68
|
-
parameters: {
|
|
69
|
-
docs: {
|
|
70
|
-
source: {
|
|
71
|
-
code: _1.StatusLabelFillsSource,
|
|
72
|
-
language: 'tsx',
|
|
73
|
-
type: 'code',
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
render: _1.StatusLabelFills,
|
|
78
|
-
};
|
|
79
|
-
exports.WithIcons = {
|
|
80
|
-
args: {},
|
|
81
|
-
parameters: {
|
|
82
|
-
docs: {
|
|
83
|
-
source: {
|
|
84
|
-
code: _1.StatusLabelWithIconsSource,
|
|
85
|
-
language: 'tsx',
|
|
86
|
-
type: 'code',
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
render: _1.StatusLabelWithIcons,
|
|
91
|
-
};
|
|
92
|
-
//# sourceMappingURL=status-label.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status-label.stories.js","sourceRoot":"","sources":["../../../../src/status-label/stories/status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ACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,6BAA0B;gBAChC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,uBAAoB;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 { StatusLabel } from '@neo4j-ndl/react';\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport {\n StatusLabelColors,\n StatusLabelColorsSource,\n StatusLabelDefault,\n StatusLabelDefaultSource,\n StatusLabelFills,\n StatusLabelFillsSource,\n StatusLabelWithIcons,\n StatusLabelWithIconsSource,\n} from '.';\n\nconst componentMeta: Meta<typeof StatusLabel> = {\n component: StatusLabel,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center\">\n <Story />\n </div>\n ),\n ],\n id: 'components-status-label',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/StatusLabel',\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: StatusLabelDefaultSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: StatusLabelDefault,\n};\n\nexport const Colors: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: StatusLabelColorsSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: StatusLabelColors,\n};\n\nexport const Fills: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: StatusLabelFillsSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: StatusLabelFills,\n};\n\nexport const WithIcons: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: StatusLabelWithIconsSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: StatusLabelWithIcons,\n};\n"]}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
"use strict";
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.Full = exports.Disabled = exports.HasLeadingLabel = exports.NoLabel = exports.Controlled = exports.Indeterminate = exports.Default = void 0;
|
|
25
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
|
-
const index_1 = require("../../index");
|
|
27
|
-
const _1 = require(".");
|
|
28
|
-
const componentMeta = {
|
|
29
|
-
argTypes: {
|
|
30
|
-
ref: {
|
|
31
|
-
description: 'Ref to the `input` element',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
component: index_1.Switch,
|
|
35
|
-
decorators: [
|
|
36
|
-
(Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
37
|
-
],
|
|
38
|
-
id: 'components-switch',
|
|
39
|
-
parameters: {
|
|
40
|
-
controls: { disable: true },
|
|
41
|
-
},
|
|
42
|
-
tags: ['docsPage'],
|
|
43
|
-
title: 'Components/Switch',
|
|
44
|
-
};
|
|
45
|
-
exports.default = componentMeta;
|
|
46
|
-
exports.Default = {
|
|
47
|
-
args: {},
|
|
48
|
-
parameters: {
|
|
49
|
-
docs: {
|
|
50
|
-
source: {
|
|
51
|
-
code: _1.SwitchDefaultSrc,
|
|
52
|
-
language: 'tsx',
|
|
53
|
-
type: 'code',
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
render: _1.SwitchDefault,
|
|
58
|
-
};
|
|
59
|
-
exports.Indeterminate = {
|
|
60
|
-
args: {},
|
|
61
|
-
parameters: {
|
|
62
|
-
docs: {
|
|
63
|
-
source: {
|
|
64
|
-
code: _1.SwitchIndeterminateSrc,
|
|
65
|
-
language: 'tsx',
|
|
66
|
-
type: 'code',
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
render: _1.SwitchIndeterminate,
|
|
71
|
-
};
|
|
72
|
-
exports.Controlled = {
|
|
73
|
-
args: {},
|
|
74
|
-
parameters: {
|
|
75
|
-
docs: {
|
|
76
|
-
source: {
|
|
77
|
-
code: _1.SwitchControlledSrc,
|
|
78
|
-
language: 'tsx',
|
|
79
|
-
type: 'code',
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
render: _1.SwitchControlled,
|
|
84
|
-
};
|
|
85
|
-
exports.NoLabel = {
|
|
86
|
-
args: {},
|
|
87
|
-
parameters: {
|
|
88
|
-
docs: {
|
|
89
|
-
source: {
|
|
90
|
-
code: _1.SwitchNoLabelSrc,
|
|
91
|
-
language: 'tsx',
|
|
92
|
-
type: 'code',
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
render: _1.SwitchNoLabel,
|
|
97
|
-
};
|
|
98
|
-
exports.HasLeadingLabel = {
|
|
99
|
-
args: {},
|
|
100
|
-
parameters: {
|
|
101
|
-
docs: {
|
|
102
|
-
source: {
|
|
103
|
-
code: _1.SwitchHasLabelBeforeSrc,
|
|
104
|
-
language: 'tsx',
|
|
105
|
-
type: 'code',
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
render: _1.SwitchHasLabelBefore,
|
|
110
|
-
};
|
|
111
|
-
exports.Disabled = {
|
|
112
|
-
args: {},
|
|
113
|
-
parameters: {
|
|
114
|
-
docs: {
|
|
115
|
-
source: {
|
|
116
|
-
code: _1.SwitchDisabledSrc,
|
|
117
|
-
language: 'tsx',
|
|
118
|
-
type: 'code',
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
render: _1.SwitchDisabled,
|
|
123
|
-
};
|
|
124
|
-
exports.Full = {
|
|
125
|
-
args: {},
|
|
126
|
-
parameters: {
|
|
127
|
-
docs: {
|
|
128
|
-
source: {
|
|
129
|
-
code: _1.SwitchFullSrc,
|
|
130
|
-
language: 'tsx',
|
|
131
|
-
type: 'code',
|
|
132
|
-
},
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
render: _1.SwitchFull,
|
|
136
|
-
};
|
|
137
|
-
//# sourceMappingURL=switch.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"switch.stories.js","sourceRoot":"","sources":["../../../../src/switch/stories/switch.stories.tsx"],"names":[],"mappings":";;;;AAsBA,uCAAqC;AACrC,wBAeW;AAEX,MAAM,aAAa,GAAwB;IACzC,QAAQ,EAAE;QACR,GAAG,EAAE;YACH,WAAW,EAAE,4BAA4B;SAC1C;KACF;IACD,S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M,EAAE,gBAAa;CACtB,CAAC;AAEW,QAAA,eAAe,GAAU;IACpC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,0BAAuB;gBAC7B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,uBAAoB;CAC7B,CAAC;AAEW,QAAA,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,oBAAiB;gBACvB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,iBAAc;CACvB,CAAC;AAEW,QAAA,IAAI,GAAU;IACzB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,gBAAa;gBACnB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,aAAU;CACnB,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 { Switch } from '../../index';\nimport {\n SwitchControlled,\n SwitchControlledSrc,\n SwitchDefault,\n SwitchDefaultSrc,\n SwitchDisabled,\n SwitchDisabledSrc,\n SwitchFull,\n SwitchFullSrc,\n SwitchHasLabelBefore,\n SwitchHasLabelBeforeSrc,\n SwitchIndeterminate,\n SwitchIndeterminateSrc,\n SwitchNoLabel,\n SwitchNoLabelSrc,\n} from '.';\n\nconst componentMeta: Meta<typeof Switch> = {\n argTypes: {\n ref: {\n description: 'Ref to the `input` element',\n },\n },\n component: Switch,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center\">\n <Story />\n </div>\n ),\n ],\n id: 'components-switch',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Switch',\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: SwitchDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SwitchDefault,\n};\n\nexport const Indeterminate: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: SwitchIndeterminateSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SwitchIndeterminate,\n};\n\nexport const Controlled: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: SwitchControlledSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SwitchControlled,\n};\n\nexport const NoLabel: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: SwitchNoLabelSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SwitchNoLabel,\n};\n\nexport const HasLeadingLabel: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: SwitchHasLabelBeforeSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SwitchHasLabelBefore,\n};\n\nexport const Disabled: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: SwitchDisabledSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SwitchDisabled,\n};\n\nexport const Full: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: SwitchFullSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SwitchFull,\n};\n"]}
|