@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.
Files changed (437) hide show
  1. package/lib/cjs/{status-indicator/stories/status-indicator.stories.js → icons/generated/custom/QueryStream.js} +10 -34
  2. package/lib/cjs/icons/generated/custom/QueryStream.js.map +1 -0
  3. package/lib/cjs/icons/generated/custom/index.js +3 -1
  4. package/lib/cjs/icons/generated/custom/index.js.map +1 -1
  5. package/lib/esm/icons/generated/custom/QueryStream.js +28 -0
  6. package/lib/esm/icons/generated/custom/QueryStream.js.map +1 -0
  7. package/lib/esm/icons/generated/custom/index.js +1 -0
  8. package/lib/esm/icons/generated/custom/index.js.map +1 -1
  9. package/lib/types/{ai/code-preview/stories/code-preview.stories.d.ts → icons/generated/custom/QueryStream.d.ts} +9 -10
  10. package/lib/types/icons/generated/custom/QueryStream.d.ts.map +1 -0
  11. package/lib/types/icons/generated/custom/index.d.ts +1 -0
  12. package/lib/types/icons/generated/custom/index.d.ts.map +1 -1
  13. package/package.json +2 -2
  14. package/lib/cjs/accordion/stories/accordion.stories.js +0 -145
  15. package/lib/cjs/accordion/stories/accordion.stories.js.map +0 -1
  16. package/lib/cjs/ai/code-preview/stories/code-preview.stories.js +0 -88
  17. package/lib/cjs/ai/code-preview/stories/code-preview.stories.js.map +0 -1
  18. package/lib/cjs/ai/file-tag/stories/file-tag.stories.js +0 -76
  19. package/lib/cjs/ai/file-tag/stories/file-tag.stories.js.map +0 -1
  20. package/lib/cjs/ai/image-tag/stories/image-tag.stories.js +0 -76
  21. package/lib/cjs/ai/image-tag/stories/image-tag.stories.js.map +0 -1
  22. package/lib/cjs/ai/more-files/stories/more-files.stories.js +0 -50
  23. package/lib/cjs/ai/more-files/stories/more-files.stories.js.map +0 -1
  24. package/lib/cjs/ai/presence/stories/ai-presence.stories.js +0 -52
  25. package/lib/cjs/ai/presence/stories/ai-presence.stories.js.map +0 -1
  26. package/lib/cjs/ai/preview/stories/preview-code.stories.js +0 -100
  27. package/lib/cjs/ai/preview/stories/preview-code.stories.js.map +0 -1
  28. package/lib/cjs/ai/preview/stories/preview.stories.js +0 -63
  29. package/lib/cjs/ai/preview/stories/preview.stories.js.map +0 -1
  30. package/lib/cjs/ai/prompt/stories/prompt.stories.js +0 -91
  31. package/lib/cjs/ai/prompt/stories/prompt.stories.js.map +0 -1
  32. package/lib/cjs/ai/reasoning/stories/reasoning.stories.js +0 -63
  33. package/lib/cjs/ai/reasoning/stories/reasoning.stories.js.map +0 -1
  34. package/lib/cjs/ai/response/stories/response.stories.js +0 -133
  35. package/lib/cjs/ai/response/stories/response.stories.js.map +0 -1
  36. package/lib/cjs/ai/suggestion/stories/suggestion.stories.js +0 -89
  37. package/lib/cjs/ai/suggestion/stories/suggestion.stories.js.map +0 -1
  38. package/lib/cjs/ai/thinking/stories/ai-thinking.stories.js +0 -63
  39. package/lib/cjs/ai/thinking/stories/ai-thinking.stories.js.map +0 -1
  40. package/lib/cjs/ai/tool-call/stories/tool-call.stories.js +0 -63
  41. package/lib/cjs/ai/tool-call/stories/tool-call.stories.js.map +0 -1
  42. package/lib/cjs/ai/user-bubble/stories/user-bubble.stories.js +0 -89
  43. package/lib/cjs/ai/user-bubble/stories/user-bubble.stories.js.map +0 -1
  44. package/lib/cjs/avatar/stories/avatar.stories.js +0 -125
  45. package/lib/cjs/avatar/stories/avatar.stories.js.map +0 -1
  46. package/lib/cjs/banner/stories/banner.stories.js +0 -120
  47. package/lib/cjs/banner/stories/banner.stories.js.map +0 -1
  48. package/lib/cjs/box/stories/box.stories.js +0 -54
  49. package/lib/cjs/box/stories/box.stories.js.map +0 -1
  50. package/lib/cjs/breadcrumbs/stories/breadcrumbs.stories.js +0 -88
  51. package/lib/cjs/breadcrumbs/stories/breadcrumbs.stories.js.map +0 -1
  52. package/lib/cjs/button/stories/button.stories.js +0 -131
  53. package/lib/cjs/button/stories/button.stories.js.map +0 -1
  54. package/lib/cjs/checkbox/stories/checkbox.stories.js +0 -137
  55. package/lib/cjs/checkbox/stories/checkbox.stories.js.map +0 -1
  56. package/lib/cjs/clean-icon-button/stories/clean-icon-button.stories.js +0 -121
  57. package/lib/cjs/clean-icon-button/stories/clean-icon-button.stories.js.map +0 -1
  58. package/lib/cjs/clipboard-button/stories/clipboard-button.stories.js +0 -119
  59. package/lib/cjs/clipboard-button/stories/clipboard-button.stories.js.map +0 -1
  60. package/lib/cjs/code/stories/code.stories.js +0 -62
  61. package/lib/cjs/code/stories/code.stories.js.map +0 -1
  62. package/lib/cjs/code-block/stories/code.stories.js +0 -140
  63. package/lib/cjs/code-block/stories/code.stories.js.map +0 -1
  64. package/lib/cjs/color-picker/stories/color-picker.stories.js +0 -80
  65. package/lib/cjs/color-picker/stories/color-picker.stories.js.map +0 -1
  66. package/lib/cjs/conditional-wrap/stories/conditional-wrap.stories.js +0 -44
  67. package/lib/cjs/conditional-wrap/stories/conditional-wrap.stories.js.map +0 -1
  68. package/lib/cjs/data-grid/stories/datagrid-placeholder-states.stories.js +0 -185
  69. package/lib/cjs/data-grid/stories/datagrid-placeholder-states.stories.js.map +0 -1
  70. package/lib/cjs/data-grid/stories/datagrid.stories.js +0 -223
  71. package/lib/cjs/data-grid/stories/datagrid.stories.js.map +0 -1
  72. package/lib/cjs/date-picker/stories/date-picker.stories.js +0 -210
  73. package/lib/cjs/date-picker/stories/date-picker.stories.js.map +0 -1
  74. package/lib/cjs/dialog/stories/dialog.stories.js +0 -150
  75. package/lib/cjs/dialog/stories/dialog.stories.js.map +0 -1
  76. package/lib/cjs/divider/stories/divider.stories.js +0 -67
  77. package/lib/cjs/divider/stories/divider.stories.js.map +0 -1
  78. package/lib/cjs/drawer/stories/drawer.stories.js +0 -142
  79. package/lib/cjs/drawer/stories/drawer.stories.js.map +0 -1
  80. package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js +0 -119
  81. package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js.map +0 -1
  82. package/lib/cjs/dropzone/stories/dropzone.stories.js +0 -109
  83. package/lib/cjs/dropzone/stories/dropzone.stories.js.map +0 -1
  84. package/lib/cjs/flex/stories/flex.stories.js +0 -48
  85. package/lib/cjs/flex/stories/flex.stories.js.map +0 -1
  86. package/lib/cjs/graph-label/stories/graph-label.stories.js +0 -132
  87. package/lib/cjs/graph-label/stories/graph-label.stories.js.map +0 -1
  88. package/lib/cjs/icon-button/stories/icon-button.stories.js +0 -135
  89. package/lib/cjs/icon-button/stories/icon-button.stories.js.map +0 -1
  90. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js +0 -106
  91. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js.map +0 -1
  92. package/lib/cjs/inline-edit/stories/inline-edit.stories.js +0 -160
  93. package/lib/cjs/inline-edit/stories/inline-edit.stories.js.map +0 -1
  94. package/lib/cjs/kbd/stories/kbd.stories.js +0 -63
  95. package/lib/cjs/kbd/stories/kbd.stories.js.map +0 -1
  96. package/lib/cjs/loading-bar/stories/loading-bar.stories.js +0 -67
  97. package/lib/cjs/loading-bar/stories/loading-bar.stories.js.map +0 -1
  98. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js +0 -67
  99. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js.map +0 -1
  100. package/lib/cjs/logo/stories/logo.stories.js +0 -88
  101. package/lib/cjs/logo/stories/logo.stories.js.map +0 -1
  102. package/lib/cjs/menu/stories/menu.stories.js +0 -211
  103. package/lib/cjs/menu/stories/menu.stories.js.map +0 -1
  104. package/lib/cjs/popover/stories/popover.stories.js +0 -97
  105. package/lib/cjs/popover/stories/popover.stories.js.map +0 -1
  106. package/lib/cjs/progress-bar/stories/progress-bar.stories.js +0 -80
  107. package/lib/cjs/progress-bar/stories/progress-bar.stories.js.map +0 -1
  108. package/lib/cjs/radio/stories/radio.stories.js +0 -132
  109. package/lib/cjs/radio/stories/radio.stories.js.map +0 -1
  110. package/lib/cjs/segmented-control/stories/segmented-control.stories.js +0 -106
  111. package/lib/cjs/segmented-control/stories/segmented-control.stories.js.map +0 -1
  112. package/lib/cjs/select/stories/select.stories.js +0 -226
  113. package/lib/cjs/select/stories/select.stories.js.map +0 -1
  114. package/lib/cjs/select-icon-button/stories/select-icon-button.stories.js +0 -89
  115. package/lib/cjs/select-icon-button/stories/select-icon-button.stories.js.map +0 -1
  116. package/lib/cjs/side-navigation/stories/side-nav.stories.js +0 -92
  117. package/lib/cjs/side-navigation/stories/side-nav.stories.js.map +0 -1
  118. package/lib/cjs/skeleton/stories/skeleton.stories.js +0 -137
  119. package/lib/cjs/skeleton/stories/skeleton.stories.js.map +0 -1
  120. package/lib/cjs/slider/stories/slider.stories.js +0 -152
  121. package/lib/cjs/slider/stories/slider.stories.js.map +0 -1
  122. package/lib/cjs/spotlight/stories/spotlight.stories.js +0 -178
  123. package/lib/cjs/spotlight/stories/spotlight.stories.js.map +0 -1
  124. package/lib/cjs/status-indicator/stories/status-indicator.stories.js.map +0 -1
  125. package/lib/cjs/status-label/stories/status-label.stories.js +0 -92
  126. package/lib/cjs/status-label/stories/status-label.stories.js.map +0 -1
  127. package/lib/cjs/switch/stories/switch.stories.js +0 -137
  128. package/lib/cjs/switch/stories/switch.stories.js.map +0 -1
  129. package/lib/cjs/tabs/stories/tabs.stories.js +0 -132
  130. package/lib/cjs/tabs/stories/tabs.stories.js.map +0 -1
  131. package/lib/cjs/tag/stories/tag.stories.js +0 -67
  132. package/lib/cjs/tag/stories/tag.stories.js.map +0 -1
  133. package/lib/cjs/text-area/stories/text-area.stories.js +0 -148
  134. package/lib/cjs/text-area/stories/text-area.stories.js.map +0 -1
  135. package/lib/cjs/text-input/stories/text-input.stories.js +0 -249
  136. package/lib/cjs/text-input/stories/text-input.stories.js.map +0 -1
  137. package/lib/cjs/text-link/stories/text-link.stories.js +0 -102
  138. package/lib/cjs/text-link/stories/text-link.stories.js.map +0 -1
  139. package/lib/cjs/text-overflow/stories/text-overflow.stories.js +0 -115
  140. package/lib/cjs/text-overflow/stories/text-overflow.stories.js.map +0 -1
  141. package/lib/cjs/time-picker/stories/time-picker.stories.js +0 -63
  142. package/lib/cjs/time-picker/stories/time-picker.stories.js.map +0 -1
  143. package/lib/cjs/timezone-picker/stories/timezone-picker.stories.js +0 -145
  144. package/lib/cjs/timezone-picker/stories/timezone-picker.stories.js.map +0 -1
  145. package/lib/cjs/toast/stories/toast.stories.js +0 -137
  146. package/lib/cjs/toast/stories/toast.stories.js.map +0 -1
  147. package/lib/cjs/tooltip/stories/tooltip.stories.js +0 -189
  148. package/lib/cjs/tooltip/stories/tooltip.stories.js.map +0 -1
  149. package/lib/cjs/tree-view/stories/treeview.stories.js +0 -72
  150. package/lib/cjs/tree-view/stories/treeview.stories.js.map +0 -1
  151. package/lib/cjs/typography/stories/typography.stories.js +0 -72
  152. package/lib/cjs/typography/stories/typography.stories.js.map +0 -1
  153. package/lib/cjs/wizard/stories/wizard.stories.js +0 -99
  154. package/lib/cjs/wizard/stories/wizard.stories.js.map +0 -1
  155. package/lib/esm/accordion/stories/accordion.stories.js +0 -142
  156. package/lib/esm/accordion/stories/accordion.stories.js.map +0 -1
  157. package/lib/esm/ai/code-preview/stories/code-preview.stories.js +0 -85
  158. package/lib/esm/ai/code-preview/stories/code-preview.stories.js.map +0 -1
  159. package/lib/esm/ai/file-tag/stories/file-tag.stories.js +0 -73
  160. package/lib/esm/ai/file-tag/stories/file-tag.stories.js.map +0 -1
  161. package/lib/esm/ai/image-tag/stories/image-tag.stories.js +0 -73
  162. package/lib/esm/ai/image-tag/stories/image-tag.stories.js.map +0 -1
  163. package/lib/esm/ai/more-files/stories/more-files.stories.js +0 -47
  164. package/lib/esm/ai/more-files/stories/more-files.stories.js.map +0 -1
  165. package/lib/esm/ai/presence/stories/ai-presence.stories.js +0 -49
  166. package/lib/esm/ai/presence/stories/ai-presence.stories.js.map +0 -1
  167. package/lib/esm/ai/preview/stories/preview-code.stories.js +0 -97
  168. package/lib/esm/ai/preview/stories/preview-code.stories.js.map +0 -1
  169. package/lib/esm/ai/preview/stories/preview.stories.js +0 -60
  170. package/lib/esm/ai/preview/stories/preview.stories.js.map +0 -1
  171. package/lib/esm/ai/prompt/stories/prompt.stories.js +0 -88
  172. package/lib/esm/ai/prompt/stories/prompt.stories.js.map +0 -1
  173. package/lib/esm/ai/reasoning/stories/reasoning.stories.js +0 -60
  174. package/lib/esm/ai/reasoning/stories/reasoning.stories.js.map +0 -1
  175. package/lib/esm/ai/response/stories/response.stories.js +0 -130
  176. package/lib/esm/ai/response/stories/response.stories.js.map +0 -1
  177. package/lib/esm/ai/suggestion/stories/suggestion.stories.js +0 -86
  178. package/lib/esm/ai/suggestion/stories/suggestion.stories.js.map +0 -1
  179. package/lib/esm/ai/thinking/stories/ai-thinking.stories.js +0 -60
  180. package/lib/esm/ai/thinking/stories/ai-thinking.stories.js.map +0 -1
  181. package/lib/esm/ai/tool-call/stories/tool-call.stories.js +0 -60
  182. package/lib/esm/ai/tool-call/stories/tool-call.stories.js.map +0 -1
  183. package/lib/esm/ai/user-bubble/stories/user-bubble.stories.js +0 -86
  184. package/lib/esm/ai/user-bubble/stories/user-bubble.stories.js.map +0 -1
  185. package/lib/esm/avatar/stories/avatar.stories.js +0 -122
  186. package/lib/esm/avatar/stories/avatar.stories.js.map +0 -1
  187. package/lib/esm/banner/stories/banner.stories.js +0 -117
  188. package/lib/esm/banner/stories/banner.stories.js.map +0 -1
  189. package/lib/esm/box/stories/box.stories.js +0 -51
  190. package/lib/esm/box/stories/box.stories.js.map +0 -1
  191. package/lib/esm/breadcrumbs/stories/breadcrumbs.stories.js +0 -85
  192. package/lib/esm/breadcrumbs/stories/breadcrumbs.stories.js.map +0 -1
  193. package/lib/esm/button/stories/button.stories.js +0 -128
  194. package/lib/esm/button/stories/button.stories.js.map +0 -1
  195. package/lib/esm/checkbox/stories/checkbox.stories.js +0 -134
  196. package/lib/esm/checkbox/stories/checkbox.stories.js.map +0 -1
  197. package/lib/esm/clean-icon-button/stories/clean-icon-button.stories.js +0 -118
  198. package/lib/esm/clean-icon-button/stories/clean-icon-button.stories.js.map +0 -1
  199. package/lib/esm/clipboard-button/stories/clipboard-button.stories.js +0 -116
  200. package/lib/esm/clipboard-button/stories/clipboard-button.stories.js.map +0 -1
  201. package/lib/esm/code/stories/code.stories.js +0 -59
  202. package/lib/esm/code/stories/code.stories.js.map +0 -1
  203. package/lib/esm/code-block/stories/code.stories.js +0 -137
  204. package/lib/esm/code-block/stories/code.stories.js.map +0 -1
  205. package/lib/esm/color-picker/stories/color-picker.stories.js +0 -77
  206. package/lib/esm/color-picker/stories/color-picker.stories.js.map +0 -1
  207. package/lib/esm/conditional-wrap/stories/conditional-wrap.stories.js +0 -41
  208. package/lib/esm/conditional-wrap/stories/conditional-wrap.stories.js.map +0 -1
  209. package/lib/esm/data-grid/stories/datagrid-placeholder-states.stories.js +0 -179
  210. package/lib/esm/data-grid/stories/datagrid-placeholder-states.stories.js.map +0 -1
  211. package/lib/esm/data-grid/stories/datagrid.stories.js +0 -220
  212. package/lib/esm/data-grid/stories/datagrid.stories.js.map +0 -1
  213. package/lib/esm/date-picker/stories/date-picker.stories.js +0 -207
  214. package/lib/esm/date-picker/stories/date-picker.stories.js.map +0 -1
  215. package/lib/esm/dialog/stories/dialog.stories.js +0 -144
  216. package/lib/esm/dialog/stories/dialog.stories.js.map +0 -1
  217. package/lib/esm/divider/stories/divider.stories.js +0 -64
  218. package/lib/esm/divider/stories/divider.stories.js.map +0 -1
  219. package/lib/esm/drawer/stories/drawer.stories.js +0 -139
  220. package/lib/esm/drawer/stories/drawer.stories.js.map +0 -1
  221. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js +0 -116
  222. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js.map +0 -1
  223. package/lib/esm/dropzone/stories/dropzone.stories.js +0 -106
  224. package/lib/esm/dropzone/stories/dropzone.stories.js.map +0 -1
  225. package/lib/esm/flex/stories/flex.stories.js +0 -45
  226. package/lib/esm/flex/stories/flex.stories.js.map +0 -1
  227. package/lib/esm/graph-label/stories/graph-label.stories.js +0 -129
  228. package/lib/esm/graph-label/stories/graph-label.stories.js.map +0 -1
  229. package/lib/esm/icon-button/stories/icon-button.stories.js +0 -132
  230. package/lib/esm/icon-button/stories/icon-button.stories.js.map +0 -1
  231. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js +0 -103
  232. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js.map +0 -1
  233. package/lib/esm/inline-edit/stories/inline-edit.stories.js +0 -157
  234. package/lib/esm/inline-edit/stories/inline-edit.stories.js.map +0 -1
  235. package/lib/esm/kbd/stories/kbd.stories.js +0 -60
  236. package/lib/esm/kbd/stories/kbd.stories.js.map +0 -1
  237. package/lib/esm/loading-bar/stories/loading-bar.stories.js +0 -64
  238. package/lib/esm/loading-bar/stories/loading-bar.stories.js.map +0 -1
  239. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js +0 -64
  240. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js.map +0 -1
  241. package/lib/esm/logo/stories/logo.stories.js +0 -85
  242. package/lib/esm/logo/stories/logo.stories.js.map +0 -1
  243. package/lib/esm/menu/stories/menu.stories.js +0 -208
  244. package/lib/esm/menu/stories/menu.stories.js.map +0 -1
  245. package/lib/esm/popover/stories/popover.stories.js +0 -94
  246. package/lib/esm/popover/stories/popover.stories.js.map +0 -1
  247. package/lib/esm/progress-bar/stories/progress-bar.stories.js +0 -77
  248. package/lib/esm/progress-bar/stories/progress-bar.stories.js.map +0 -1
  249. package/lib/esm/radio/stories/radio.stories.js +0 -129
  250. package/lib/esm/radio/stories/radio.stories.js.map +0 -1
  251. package/lib/esm/segmented-control/stories/segmented-control.stories.js +0 -103
  252. package/lib/esm/segmented-control/stories/segmented-control.stories.js.map +0 -1
  253. package/lib/esm/select/stories/select.stories.js +0 -220
  254. package/lib/esm/select/stories/select.stories.js.map +0 -1
  255. package/lib/esm/select-icon-button/stories/select-icon-button.stories.js +0 -86
  256. package/lib/esm/select-icon-button/stories/select-icon-button.stories.js.map +0 -1
  257. package/lib/esm/side-navigation/stories/side-nav.stories.js +0 -89
  258. package/lib/esm/side-navigation/stories/side-nav.stories.js.map +0 -1
  259. package/lib/esm/skeleton/stories/skeleton.stories.js +0 -134
  260. package/lib/esm/skeleton/stories/skeleton.stories.js.map +0 -1
  261. package/lib/esm/slider/stories/slider.stories.js +0 -149
  262. package/lib/esm/slider/stories/slider.stories.js.map +0 -1
  263. package/lib/esm/spotlight/stories/spotlight.stories.js +0 -172
  264. package/lib/esm/spotlight/stories/spotlight.stories.js.map +0 -1
  265. package/lib/esm/status-indicator/stories/status-indicator.stories.js +0 -51
  266. package/lib/esm/status-indicator/stories/status-indicator.stories.js.map +0 -1
  267. package/lib/esm/status-label/stories/status-label.stories.js +0 -89
  268. package/lib/esm/status-label/stories/status-label.stories.js.map +0 -1
  269. package/lib/esm/switch/stories/switch.stories.js +0 -134
  270. package/lib/esm/switch/stories/switch.stories.js.map +0 -1
  271. package/lib/esm/tabs/stories/tabs.stories.js +0 -129
  272. package/lib/esm/tabs/stories/tabs.stories.js.map +0 -1
  273. package/lib/esm/tag/stories/tag.stories.js +0 -64
  274. package/lib/esm/tag/stories/tag.stories.js.map +0 -1
  275. package/lib/esm/text-area/stories/text-area.stories.js +0 -145
  276. package/lib/esm/text-area/stories/text-area.stories.js.map +0 -1
  277. package/lib/esm/text-input/stories/text-input.stories.js +0 -246
  278. package/lib/esm/text-input/stories/text-input.stories.js.map +0 -1
  279. package/lib/esm/text-link/stories/text-link.stories.js +0 -99
  280. package/lib/esm/text-link/stories/text-link.stories.js.map +0 -1
  281. package/lib/esm/text-overflow/stories/text-overflow.stories.js +0 -113
  282. package/lib/esm/text-overflow/stories/text-overflow.stories.js.map +0 -1
  283. package/lib/esm/time-picker/stories/time-picker.stories.js +0 -60
  284. package/lib/esm/time-picker/stories/time-picker.stories.js.map +0 -1
  285. package/lib/esm/timezone-picker/stories/timezone-picker.stories.js +0 -142
  286. package/lib/esm/timezone-picker/stories/timezone-picker.stories.js.map +0 -1
  287. package/lib/esm/toast/stories/toast.stories.js +0 -134
  288. package/lib/esm/toast/stories/toast.stories.js.map +0 -1
  289. package/lib/esm/tooltip/stories/tooltip.stories.js +0 -183
  290. package/lib/esm/tooltip/stories/tooltip.stories.js.map +0 -1
  291. package/lib/esm/tree-view/stories/treeview.stories.js +0 -69
  292. package/lib/esm/tree-view/stories/treeview.stories.js.map +0 -1
  293. package/lib/esm/typography/stories/typography.stories.js +0 -69
  294. package/lib/esm/typography/stories/typography.stories.js.map +0 -1
  295. package/lib/esm/wizard/stories/wizard.stories.js +0 -96
  296. package/lib/esm/wizard/stories/wizard.stories.js.map +0 -1
  297. package/lib/types/accordion/stories/accordion.stories.d.ts +0 -61
  298. package/lib/types/accordion/stories/accordion.stories.d.ts.map +0 -1
  299. package/lib/types/ai/code-preview/stories/code-preview.stories.d.ts.map +0 -1
  300. package/lib/types/ai/file-tag/stories/file-tag.stories.d.ts +0 -29
  301. package/lib/types/ai/file-tag/stories/file-tag.stories.d.ts.map +0 -1
  302. package/lib/types/ai/image-tag/stories/image-tag.stories.d.ts +0 -29
  303. package/lib/types/ai/image-tag/stories/image-tag.stories.d.ts.map +0 -1
  304. package/lib/types/ai/more-files/stories/more-files.stories.d.ts +0 -27
  305. package/lib/types/ai/more-files/stories/more-files.stories.d.ts.map +0 -1
  306. package/lib/types/ai/presence/stories/ai-presence.stories.d.ts +0 -27
  307. package/lib/types/ai/presence/stories/ai-presence.stories.d.ts.map +0 -1
  308. package/lib/types/ai/preview/stories/preview-code.stories.d.ts +0 -31
  309. package/lib/types/ai/preview/stories/preview-code.stories.d.ts.map +0 -1
  310. package/lib/types/ai/preview/stories/preview.stories.d.ts +0 -28
  311. package/lib/types/ai/preview/stories/preview.stories.d.ts.map +0 -1
  312. package/lib/types/ai/prompt/stories/prompt.stories.d.ts +0 -30
  313. package/lib/types/ai/prompt/stories/prompt.stories.d.ts.map +0 -1
  314. package/lib/types/ai/reasoning/stories/reasoning.stories.d.ts +0 -28
  315. package/lib/types/ai/reasoning/stories/reasoning.stories.d.ts.map +0 -1
  316. package/lib/types/ai/response/stories/response.stories.d.ts +0 -33
  317. package/lib/types/ai/response/stories/response.stories.d.ts.map +0 -1
  318. package/lib/types/ai/suggestion/stories/suggestion.stories.d.ts +0 -30
  319. package/lib/types/ai/suggestion/stories/suggestion.stories.d.ts.map +0 -1
  320. package/lib/types/ai/thinking/stories/ai-thinking.stories.d.ts +0 -28
  321. package/lib/types/ai/thinking/stories/ai-thinking.stories.d.ts.map +0 -1
  322. package/lib/types/ai/tool-call/stories/tool-call.stories.d.ts +0 -28
  323. package/lib/types/ai/tool-call/stories/tool-call.stories.d.ts.map +0 -1
  324. package/lib/types/ai/user-bubble/stories/user-bubble.stories.d.ts +0 -30
  325. package/lib/types/ai/user-bubble/stories/user-bubble.stories.d.ts.map +0 -1
  326. package/lib/types/avatar/stories/avatar.stories.d.ts +0 -32
  327. package/lib/types/avatar/stories/avatar.stories.d.ts.map +0 -1
  328. package/lib/types/banner/stories/banner.stories.d.ts +0 -32
  329. package/lib/types/banner/stories/banner.stories.d.ts.map +0 -1
  330. package/lib/types/box/stories/box.stories.d.ts +0 -46
  331. package/lib/types/box/stories/box.stories.d.ts.map +0 -1
  332. package/lib/types/breadcrumbs/stories/breadcrumbs.stories.d.ts +0 -81
  333. package/lib/types/breadcrumbs/stories/breadcrumbs.stories.d.ts.map +0 -1
  334. package/lib/types/button/stories/button.stories.d.ts +0 -33
  335. package/lib/types/button/stories/button.stories.d.ts.map +0 -1
  336. package/lib/types/checkbox/stories/checkbox.stories.d.ts +0 -33
  337. package/lib/types/checkbox/stories/checkbox.stories.d.ts.map +0 -1
  338. package/lib/types/clean-icon-button/stories/clean-icon-button.stories.d.ts +0 -51
  339. package/lib/types/clean-icon-button/stories/clean-icon-button.stories.d.ts.map +0 -1
  340. package/lib/types/clipboard-button/stories/clipboard-button.stories.d.ts +0 -32
  341. package/lib/types/clipboard-button/stories/clipboard-button.stories.d.ts.map +0 -1
  342. package/lib/types/code/stories/code.stories.d.ts +0 -27
  343. package/lib/types/code/stories/code.stories.d.ts.map +0 -1
  344. package/lib/types/code-block/stories/code.stories.d.ts +0 -33
  345. package/lib/types/code-block/stories/code.stories.d.ts.map +0 -1
  346. package/lib/types/color-picker/stories/color-picker.stories.d.ts +0 -29
  347. package/lib/types/color-picker/stories/color-picker.stories.d.ts.map +0 -1
  348. package/lib/types/conditional-wrap/stories/conditional-wrap.stories.d.ts +0 -34
  349. package/lib/types/conditional-wrap/stories/conditional-wrap.stories.d.ts.map +0 -1
  350. package/lib/types/data-grid/stories/datagrid-placeholder-states.stories.d.ts +0 -136
  351. package/lib/types/data-grid/stories/datagrid-placeholder-states.stories.d.ts.map +0 -1
  352. package/lib/types/data-grid/stories/datagrid.stories.d.ts +0 -40
  353. package/lib/types/data-grid/stories/datagrid.stories.d.ts.map +0 -1
  354. package/lib/types/date-picker/stories/date-picker.stories.d.ts +0 -39
  355. package/lib/types/date-picker/stories/date-picker.stories.d.ts.map +0 -1
  356. package/lib/types/dialog/stories/dialog.stories.d.ts +0 -33
  357. package/lib/types/dialog/stories/dialog.stories.d.ts.map +0 -1
  358. package/lib/types/divider/stories/divider.stories.d.ts +0 -39
  359. package/lib/types/divider/stories/divider.stories.d.ts.map +0 -1
  360. package/lib/types/drawer/stories/drawer.stories.d.ts +0 -34
  361. package/lib/types/drawer/stories/drawer.stories.d.ts.map +0 -1
  362. package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts +0 -32
  363. package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts.map +0 -1
  364. package/lib/types/dropzone/stories/dropzone.stories.d.ts +0 -32
  365. package/lib/types/dropzone/stories/dropzone.stories.d.ts.map +0 -1
  366. package/lib/types/flex/stories/flex.stories.d.ts +0 -47
  367. package/lib/types/flex/stories/flex.stories.d.ts.map +0 -1
  368. package/lib/types/graph-label/stories/graph-label.stories.d.ts +0 -33
  369. package/lib/types/graph-label/stories/graph-label.stories.d.ts.map +0 -1
  370. package/lib/types/icon-button/stories/icon-button.stories.d.ts +0 -53
  371. package/lib/types/icon-button/stories/icon-button.stories.d.ts.map +0 -1
  372. package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts +0 -31
  373. package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts.map +0 -1
  374. package/lib/types/inline-edit/stories/inline-edit.stories.d.ts +0 -30
  375. package/lib/types/inline-edit/stories/inline-edit.stories.d.ts.map +0 -1
  376. package/lib/types/kbd/stories/kbd.stories.d.ts +0 -28
  377. package/lib/types/kbd/stories/kbd.stories.d.ts.map +0 -1
  378. package/lib/types/loading-bar/stories/loading-bar.stories.d.ts +0 -28
  379. package/lib/types/loading-bar/stories/loading-bar.stories.d.ts.map +0 -1
  380. package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts +0 -28
  381. package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts.map +0 -1
  382. package/lib/types/logo/stories/logo.stories.d.ts +0 -41
  383. package/lib/types/logo/stories/logo.stories.d.ts.map +0 -1
  384. package/lib/types/menu/stories/menu.stories.d.ts +0 -38
  385. package/lib/types/menu/stories/menu.stories.d.ts.map +0 -1
  386. package/lib/types/popover/stories/popover.stories.d.ts +0 -30
  387. package/lib/types/popover/stories/popover.stories.d.ts.map +0 -1
  388. package/lib/types/progress-bar/stories/progress-bar.stories.d.ts +0 -29
  389. package/lib/types/progress-bar/stories/progress-bar.stories.d.ts.map +0 -1
  390. package/lib/types/radio/stories/radio.stories.d.ts +0 -33
  391. package/lib/types/radio/stories/radio.stories.d.ts.map +0 -1
  392. package/lib/types/segmented-control/stories/segmented-control.stories.d.ts +0 -31
  393. package/lib/types/segmented-control/stories/segmented-control.stories.d.ts.map +0 -1
  394. package/lib/types/select/stories/select.stories.d.ts +0 -39
  395. package/lib/types/select/stories/select.stories.d.ts.map +0 -1
  396. package/lib/types/select-icon-button/stories/select-icon-button.stories.d.ts +0 -30
  397. package/lib/types/select-icon-button/stories/select-icon-button.stories.d.ts.map +0 -1
  398. package/lib/types/side-navigation/stories/side-nav.stories.d.ts +0 -46
  399. package/lib/types/side-navigation/stories/side-nav.stories.d.ts.map +0 -1
  400. package/lib/types/skeleton/stories/skeleton.stories.d.ts +0 -50
  401. package/lib/types/skeleton/stories/skeleton.stories.d.ts.map +0 -1
  402. package/lib/types/slider/stories/slider.stories.d.ts +0 -34
  403. package/lib/types/slider/stories/slider.stories.d.ts.map +0 -1
  404. package/lib/types/spotlight/stories/spotlight.stories.d.ts +0 -39
  405. package/lib/types/spotlight/stories/spotlight.stories.d.ts.map +0 -1
  406. package/lib/types/status-indicator/stories/status-indicator.stories.d.ts +0 -27
  407. package/lib/types/status-indicator/stories/status-indicator.stories.d.ts.map +0 -1
  408. package/lib/types/status-label/stories/status-label.stories.d.ts +0 -30
  409. package/lib/types/status-label/stories/status-label.stories.d.ts.map +0 -1
  410. package/lib/types/switch/stories/switch.stories.d.ts +0 -33
  411. package/lib/types/switch/stories/switch.stories.d.ts.map +0 -1
  412. package/lib/types/tabs/stories/tabs.stories.d.ts +0 -33
  413. package/lib/types/tabs/stories/tabs.stories.d.ts.map +0 -1
  414. package/lib/types/tag/stories/tag.stories.d.ts +0 -28
  415. package/lib/types/tag/stories/tag.stories.d.ts.map +0 -1
  416. package/lib/types/text-area/stories/text-area.stories.d.ts +0 -34
  417. package/lib/types/text-area/stories/text-area.stories.d.ts.map +0 -1
  418. package/lib/types/text-input/stories/text-input.stories.d.ts +0 -42
  419. package/lib/types/text-input/stories/text-input.stories.d.ts.map +0 -1
  420. package/lib/types/text-link/stories/text-link.stories.d.ts +0 -31
  421. package/lib/types/text-link/stories/text-link.stories.d.ts.map +0 -1
  422. package/lib/types/text-overflow/stories/text-overflow.stories.d.ts +0 -25
  423. package/lib/types/text-overflow/stories/text-overflow.stories.d.ts.map +0 -1
  424. package/lib/types/time-picker/stories/time-picker.stories.d.ts +0 -37
  425. package/lib/types/time-picker/stories/time-picker.stories.d.ts.map +0 -1
  426. package/lib/types/timezone-picker/stories/timezone-picker.stories.d.ts +0 -34
  427. package/lib/types/timezone-picker/stories/timezone-picker.stories.d.ts.map +0 -1
  428. package/lib/types/toast/stories/toast.stories.d.ts +0 -39
  429. package/lib/types/toast/stories/toast.stories.d.ts.map +0 -1
  430. package/lib/types/tooltip/stories/tooltip.stories.d.ts +0 -37
  431. package/lib/types/tooltip/stories/tooltip.stories.d.ts.map +0 -1
  432. package/lib/types/tree-view/stories/treeview.stories.d.ts +0 -29
  433. package/lib/types/tree-view/stories/treeview.stories.d.ts.map +0 -1
  434. package/lib/types/typography/stories/typography.stories.d.ts +0 -29
  435. package/lib/types/typography/stories/typography.stories.d.ts.map +0 -1
  436. package/lib/types/wizard/stories/wizard.stories.d.ts +0 -31
  437. package/lib/types/wizard/stories/wizard.stories.d.ts.map +0 -1
@@ -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
- import { CodeBlock } from '@neo4j-ndl/react';
22
- import { CodeDefault, CodeDefaultSrc, CodeDisabled, CodeDisabledSrc, CodeFull, CodeFullSrc, CodeLanguages, CodeLanguagesSrc, CodeLineNumbers, CodeLineNumbersSrc, CodeOverflow, CodeOverflowSrc, CodeWithActions, CodeWithActionsSrc, CodeWithHeader, CodeWithHeaderSrc, } from './index';
23
- const componentMeta = {
24
- component: CodeBlock,
25
- id: 'components-code-block',
26
- parameters: {
27
- controls: { disable: true },
28
- },
29
- tags: ['docsPage'],
30
- title: 'Components/CodeBlock',
31
- };
32
- export default componentMeta;
33
- export const Default = {
34
- args: {},
35
- parameters: {
36
- docs: {
37
- source: {
38
- code: CodeDefaultSrc,
39
- language: 'tsx',
40
- type: 'code',
41
- },
42
- },
43
- },
44
- render: CodeDefault,
45
- };
46
- export const WithActions = {
47
- args: {},
48
- parameters: {
49
- docs: {
50
- source: {
51
- code: CodeWithActionsSrc,
52
- language: 'tsx',
53
- type: 'code',
54
- },
55
- },
56
- },
57
- render: CodeWithActions,
58
- };
59
- export const WithHeader = {
60
- args: {},
61
- parameters: {
62
- docs: {
63
- source: {
64
- code: CodeWithHeaderSrc,
65
- language: 'tsx',
66
- type: 'code',
67
- },
68
- },
69
- },
70
- render: CodeWithHeader,
71
- };
72
- export const Overflow = {
73
- args: {},
74
- parameters: {
75
- docs: {
76
- source: {
77
- code: CodeOverflowSrc,
78
- language: 'tsx',
79
- type: 'code',
80
- },
81
- },
82
- },
83
- render: CodeOverflow,
84
- };
85
- export const Disabled = {
86
- args: {},
87
- parameters: {
88
- docs: {
89
- source: {
90
- code: CodeDisabledSrc,
91
- language: 'tsx',
92
- type: 'code',
93
- },
94
- },
95
- },
96
- render: CodeDisabled,
97
- };
98
- export const LineNumbers = {
99
- args: {},
100
- parameters: {
101
- docs: {
102
- source: {
103
- code: CodeLineNumbersSrc,
104
- language: 'tsx',
105
- type: 'code',
106
- },
107
- },
108
- },
109
- render: CodeLineNumbers,
110
- };
111
- export const Languages = {
112
- args: {},
113
- parameters: {
114
- docs: {
115
- source: {
116
- code: CodeLanguagesSrc,
117
- language: 'tsx',
118
- type: 'code',
119
- },
120
- },
121
- },
122
- render: CodeLanguages,
123
- };
124
- export const Full = {
125
- args: {},
126
- parameters: {
127
- docs: {
128
- source: {
129
- code: CodeFullSrc,
130
- language: 'tsx',
131
- type: 'code',
132
- },
133
- },
134
- },
135
- render: CodeFull,
136
- };
137
- //# sourceMappingURL=code.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"code.stories.js","sourceRoot":"","sources":["../../../../src/code-block/stories/code.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EACL,WAAW,EACX,cAAc,EACd,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAEjB,MAAM,aAAa,GAA2B;IAC5C,SAAS,EAAE,SAAS;IACpB,EAAE,EAAE,uBAAuB;IAC3B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,sBAAsB;CAC9B,CAAC;AAEF,eAAe,aAAa,CAAC;AAE7B,MAAM,CAAC,MAAM,OAAO,GAA+B;IACjD,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,cAAc;gBACpB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,WAAW;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA+B;IACrD,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kBAAkB;gBACxB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,eAAe;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ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W;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 */\n\nimport { CodeBlock } from '@neo4j-ndl/react';\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport {\n CodeDefault,\n CodeDefaultSrc,\n CodeDisabled,\n CodeDisabledSrc,\n CodeFull,\n CodeFullSrc,\n CodeLanguages,\n CodeLanguagesSrc,\n CodeLineNumbers,\n CodeLineNumbersSrc,\n CodeOverflow,\n CodeOverflowSrc,\n CodeWithActions,\n CodeWithActionsSrc,\n CodeWithHeader,\n CodeWithHeaderSrc,\n} from './index';\n\nconst componentMeta: Meta<typeof CodeBlock> = {\n component: CodeBlock,\n id: 'components-code-block',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/CodeBlock',\n};\n\nexport default componentMeta;\n\nexport const Default: StoryObj<typeof CodeBlock> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodeDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodeDefault,\n};\n\nexport const WithActions: StoryObj<typeof CodeBlock> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodeWithActionsSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodeWithActions,\n};\n\nexport const WithHeader: StoryObj<typeof CodeBlock> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodeWithHeaderSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodeWithHeader,\n};\n\nexport const Overflow: StoryObj<typeof CodeBlock> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodeOverflowSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodeOverflow,\n};\n\nexport const Disabled: StoryObj<typeof CodeBlock> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodeDisabledSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodeDisabled,\n};\n\nexport const LineNumbers: StoryObj<typeof CodeBlock> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodeLineNumbersSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodeLineNumbers,\n};\n\nexport const Languages: StoryObj<typeof CodeBlock> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodeLanguagesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodeLanguages,\n};\n\nexport const Full: StoryObj<typeof CodeBlock> = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: CodeFullSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CodeFull,\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 { ColorPicker } from '../ColorPicker';
24
- import { ColorPickerCustomSwatches, ColorPickerCustomSwatchesSource, ColorPickerDefault, ColorPickerDefaultSource, ColorPickerWithoutEyeDropper, ColorPickerWithoutEyeDropperSource, } from '.';
25
- const componentMeta = {
26
- component: ColorPicker,
27
- decorators: [
28
- (Story) => (_jsx("div", { className: "n-flex n-justify-center ", children: _jsx("div", { className: "n-w-60", children: _jsx(Story, {}) }) })),
29
- ],
30
- id: 'components-color-picker',
31
- parameters: {
32
- controls: { disable: true },
33
- },
34
- tags: ['docsPage'],
35
- title: 'Components/ColorPicker',
36
- };
37
- export default componentMeta;
38
- export const Default = {
39
- args: {},
40
- parameters: {
41
- docs: {
42
- source: {
43
- code: ColorPickerDefaultSource,
44
- language: 'tsx',
45
- type: 'code',
46
- },
47
- },
48
- },
49
- render: ColorPickerDefault,
50
- };
51
- export const WithoutEyeDropper = {
52
- args: {},
53
- parameters: {
54
- docs: {
55
- source: {
56
- code: ColorPickerWithoutEyeDropperSource,
57
- language: 'tsx',
58
- type: 'code',
59
- },
60
- },
61
- },
62
- render: ColorPickerWithoutEyeDropper,
63
- };
64
- export const CustomSwatches = {
65
- args: {},
66
- parameters: {
67
- docs: {
68
- source: {
69
- code: ColorPickerCustomSwatchesSource,
70
- language: 'tsx',
71
- type: 'code',
72
- },
73
- },
74
- },
75
- render: ColorPickerCustomSwatches,
76
- };
77
- //# sourceMappingURL=color-picker.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"color-picker.stories.js","sourceRoot":"","sources":["../../../../src/color-picker/stories/color-picker.stories.tsx"],"names":[],"mappings":";AAsBA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,yBAAyB,EACzB,+BAA+B,EAC/B,kBAAkB,EAClB,wBAAwB,EACxB,4BAA4B,EAC5B,kCAAkC,GACnC,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAA6B;IAC9C,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,0BAA0B,YACvC,cAAK,SAAS,EAAC,QAAQ,YACrB,KAAC,KAAK,KAAG,GACL,GACF,CACP;KACF;IACD,EAAE,EAAE,yBAAyB;IAC7B,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,wBAAwB;CAChC,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,wBAAwB;gBAC9B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAU;IACtC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kCAAkC;gBACxC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAA4B;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU;IACnC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,yBAAyB;CAClC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { ColorPicker } from '../ColorPicker';\nimport {\n ColorPickerCustomSwatches,\n ColorPickerCustomSwatchesSource,\n ColorPickerDefault,\n ColorPickerDefaultSource,\n ColorPickerWithoutEyeDropper,\n ColorPickerWithoutEyeDropperSource,\n} from '.';\n\nconst componentMeta: Meta<typeof ColorPicker> = {\n component: ColorPicker,\n decorators: [\n (Story) => (\n <div className=\"n-flex n-justify-center \">\n <div className=\"n-w-60\">\n <Story />\n </div>\n </div>\n ),\n ],\n id: 'components-color-picker',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/ColorPicker',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ColorPickerDefaultSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ColorPickerDefault,\n};\n\nexport const WithoutEyeDropper: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ColorPickerWithoutEyeDropperSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ColorPickerWithoutEyeDropper,\n};\n\nexport const CustomSwatches: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: ColorPickerCustomSwatchesSource,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: ColorPickerCustomSwatches,\n};\n"]}
@@ -1,41 +0,0 @@
1
- /**
2
- *
3
- * Copyright (c) "Neo4j"
4
- * Neo4j Sweden AB [http://neo4j.com]
5
- *
6
- * This file is part of Neo4j.
7
- *
8
- * Neo4j is free software: you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation, either version 3 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
- */
21
- import { ConditionalWrap } from '../../index';
22
- import { ConditionalWrapDefault, ConditionalWrapDefaultSrc } from '.';
23
- const componentMeta = {
24
- component: ConditionalWrap,
25
- id: 'components-conditional-wrap',
26
- title: 'Components/ConditionalWrap',
27
- };
28
- export default componentMeta;
29
- export const Default = {
30
- // @ts-expect-error - args are not needed.
31
- args: {},
32
- parameters: {
33
- docs: {
34
- source: {
35
- code: ConditionalWrapDefaultSrc,
36
- },
37
- },
38
- },
39
- render: ConditionalWrapDefault,
40
- };
41
- //# sourceMappingURL=conditional-wrap.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conditional-wrap.stories.js","sourceRoot":"","sources":["../../../../src/conditional-wrap/stories/conditional-wrap.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,GAAG,CAAC;AAEtE,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,eAAe;IAC1B,EAAE,EAAE,6BAA6B;IACjC,KAAK,EAAE,4BAA4B;CACG,CAAC;AAEzC,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,yBAAyB;aAChC;SACF;KACF;IACD,MAAM,EAAE,sBAAsB;CAC/B,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { ConditionalWrap } from '../../index';\nimport { ConditionalWrapDefault, ConditionalWrapDefaultSrc } from '.';\n\nconst componentMeta = {\n component: ConditionalWrap,\n id: 'components-conditional-wrap',\n title: 'Components/ConditionalWrap',\n} satisfies Meta<typeof ConditionalWrap>;\n\nexport default componentMeta;\n\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n code: ConditionalWrapDefaultSrc,\n },\n },\n },\n render: ConditionalWrapDefault,\n};\n"]}
@@ -1,179 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- *
4
- * Copyright (c) "Neo4j"
5
- * Neo4j Sweden AB [http://neo4j.com]
6
- *
7
- * This file is part of Neo4j.
8
- *
9
- * Neo4j is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, either version 3 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- */
22
- import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
- import { DataGrid, Typography } from '@neo4j-ndl/react';
24
- import { createColumnHelper, getCoreRowModel, getPaginationRowModel, useReactTable, } from '@tanstack/react-table';
25
- import { NO_DATA, TABLE_DEMO_DATA } from './staticData';
26
- const emptyData = NO_DATA;
27
- export default {
28
- component: DataGrid,
29
- id: 'components-data-grid-placeholder-states',
30
- parameters: {
31
- chromatic: { delay: 1000 },
32
- controls: { disable: true },
33
- },
34
- title: 'Components/DataGrid/Placeholder States',
35
- };
36
- export const EmptyTable = () => {
37
- const columnHelper = createColumnHelper();
38
- const columns = [
39
- columnHelper.accessor('name', {
40
- cell: (info) => info.getValue(),
41
- footer: (info) => info.column.id,
42
- header: () => 'Name',
43
- maxSize: 300,
44
- minSize: 180,
45
- size: 220,
46
- }),
47
- columnHelper.accessor('age', {
48
- cell: (info) => info.renderValue(),
49
- footer: (info) => info.column.id,
50
- header: () => 'Age',
51
- minSize: 80,
52
- }),
53
- columnHelper.accessor('cypherCommand', {
54
- cell: (info) => info.getValue(),
55
- footer: (info) => info.column.id,
56
- header: () => 'Cypher Command',
57
- minSize: 400,
58
- size: 400,
59
- }),
60
- ];
61
- const table = useReactTable({
62
- columnResizeMode: 'onChange',
63
- columns,
64
- data: emptyData,
65
- debugColumns: true,
66
- debugHeaders: true,
67
- debugTable: true,
68
- defaultColumn: {
69
- maxSize: 800,
70
- minSize: 80,
71
- },
72
- enableSorting: false,
73
- getCoreRowModel: getCoreRowModel(),
74
- getPaginationRowModel: getPaginationRowModel(),
75
- initialState: {
76
- pagination: {
77
- pageSize: 5,
78
- },
79
- },
80
- });
81
- return _jsx(DataGrid, { isResizable: false, tableInstance: table });
82
- };
83
- export const CustomEmptyTable = () => {
84
- const columnHelper = createColumnHelper();
85
- const columns = [
86
- columnHelper.accessor('name', {
87
- cell: (info) => info.getValue(),
88
- footer: (info) => info.column.id,
89
- header: () => 'Name',
90
- maxSize: 300,
91
- minSize: 180,
92
- size: 220,
93
- }),
94
- columnHelper.accessor('age', {
95
- cell: (info) => info.renderValue(),
96
- footer: (info) => info.column.id,
97
- header: () => 'Age',
98
- minSize: 80,
99
- }),
100
- columnHelper.accessor('cypherCommand', {
101
- cell: (info) => info.getValue(),
102
- footer: (info) => info.column.id,
103
- header: () => 'Cypher Command',
104
- minSize: 400,
105
- size: 400,
106
- }),
107
- ];
108
- const table = useReactTable({
109
- columnResizeMode: 'onChange',
110
- columns,
111
- data: [],
112
- debugColumns: true,
113
- debugHeaders: true,
114
- debugTable: true,
115
- defaultColumn: {
116
- maxSize: 800,
117
- minSize: 80,
118
- },
119
- enableSorting: false,
120
- getCoreRowModel: getCoreRowModel(),
121
- getPaginationRowModel: getPaginationRowModel(),
122
- initialState: {
123
- pagination: {
124
- pageSize: 5,
125
- },
126
- },
127
- });
128
- return (_jsx(DataGrid, { isResizable: false, tableInstance: table, components: {
129
- NoDataPlaceholder: () => (_jsx(DataGrid.NoDataPlaceholder, { children: _jsxs(DataGrid.NoDataPlaceholderContentWrapper, { children: [_jsx(DataGrid.NoDataIcon, {}), _jsx(Typography, { variant: "title-4", children: "Custom No data message" })] }) })),
130
- } }));
131
- };
132
- export const LoadingTable = () => {
133
- const columnHelper = createColumnHelper();
134
- const columns = [
135
- columnHelper.accessor('name', {
136
- cell: (info) => info.getValue(),
137
- footer: (info) => info.column.id,
138
- header: () => 'Name',
139
- maxSize: 300,
140
- minSize: 180,
141
- size: 220,
142
- }),
143
- columnHelper.accessor('age', {
144
- cell: (info) => info.renderValue(),
145
- footer: (info) => info.column.id,
146
- header: () => 'Age',
147
- minSize: 80,
148
- }),
149
- columnHelper.accessor('cypherCommand', {
150
- cell: (info) => info.getValue(),
151
- footer: (info) => info.column.id,
152
- header: () => 'Cypher Command',
153
- minSize: 400,
154
- size: 400,
155
- }),
156
- ];
157
- const table = useReactTable({
158
- columnResizeMode: 'onChange',
159
- columns,
160
- data: TABLE_DEMO_DATA,
161
- debugColumns: true,
162
- debugHeaders: true,
163
- debugTable: true,
164
- defaultColumn: {
165
- maxSize: 800,
166
- minSize: 80,
167
- },
168
- enableSorting: false,
169
- getCoreRowModel: getCoreRowModel(),
170
- getPaginationRowModel: getPaginationRowModel(),
171
- initialState: {
172
- pagination: {
173
- pageSize: 5,
174
- },
175
- },
176
- });
177
- return _jsx(DataGrid, { isLoading: true, isResizable: false, tableInstance: table });
178
- };
179
- //# sourceMappingURL=datagrid-placeholder-states.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datagrid-placeholder-states.stories.js","sourceRoot":"","sources":["../../../../src/data-grid/stories/datagrid-placeholder-states.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,aAAa,GACd,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAQxD,MAAM,SAAS,GAAqB,OAAO,CAAC;AAE5C,eAAe;IACb,SAAS,EAAE,QAAQ;IACnB,EAAE,EAAE,yCAAyC;IAC7C,UAAU,EAAE;QACV,SAAS,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;QAC1B,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,KAAK,EAAE,wCAAwC;CAChD,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE;IAC7B,MAAM,YAAY,GAAG,kBAAkB,EAAkB,CAAC;IAE1D,MAAM,OAAO,GAAG;QACd,YAAY,CAAC,QAAQ,CAAC,MAAM,EAAE;YAC5B,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,Q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AI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAChC,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK;YACnB,OAAO,EAAE,EAAE;SACZ,CAAC;QACF,YAAY,CAAC,QAAQ,CAAC,eAAe,EAAE;YACrC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE;YAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAChC,MAAM,EAAE,GAAG,EAAE,CAAC,gBAAgB;YAC9B,OAAO,EAAE,GAAG;YACZ,IAAI,EAAE,GAAG;SACV,CAAC;KACH,CAAC;IAEF,MAAM,KAAK,GAAG,aAAa,CAAC;QAC1B,gBAAgB,EAAE,UAAU;QAC5B,OAAO;QACP,IAAI,EAAE,eAAe;QACrB,YAAY,EAAE,IAAI;QAClB,YAAY,EAAE,IAAI;QAClB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE;YACb,OAAO,EAAE,GAAG;YACZ,OAAO,EAAE,EAAE;SACZ;QACD,aAAa,EAAE,KAAK;QACpB,eAAe,EAAE,eAAe,EAAE;QAClC,qBAAqB,EAAE,qBAAqB,EAAE;QAC9C,YAAY,EAAE;YACZ,UAAU,EAAE;gBACV,QAAQ,EAAE,CAAC;aACZ;SACF;KACF,CAAC,CAAC;IAEH,OAAO,KAAC,QAAQ,IAAC,SAAS,QAAC,WAAW,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,GAAI,CAAC;AAC1E,CAAC,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { DataGrid, Typography } from '@neo4j-ndl/react';\nimport {\n createColumnHelper,\n getCoreRowModel,\n getPaginationRowModel,\n useReactTable,\n} from '@tanstack/react-table';\n\nimport { NO_DATA, TABLE_DEMO_DATA } from './staticData';\n\ntype TestDataFormat = {\n name: string;\n age: number;\n cypherCommand: string;\n};\n\nconst emptyData: TestDataFormat[] = NO_DATA;\n\nexport default {\n component: DataGrid,\n id: 'components-data-grid-placeholder-states',\n parameters: {\n chromatic: { delay: 1000 },\n controls: { disable: true },\n },\n title: 'Components/DataGrid/Placeholder States',\n};\n\nexport const EmptyTable = () => {\n const columnHelper = createColumnHelper<TestDataFormat>();\n\n const columns = [\n columnHelper.accessor('name', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Name',\n maxSize: 300,\n minSize: 180,\n size: 220,\n }),\n columnHelper.accessor('age', {\n cell: (info) => info.renderValue(),\n footer: (info) => info.column.id,\n header: () => 'Age',\n minSize: 80,\n }),\n columnHelper.accessor('cypherCommand', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Cypher Command',\n minSize: 400,\n size: 400,\n }),\n ];\n\n const table = useReactTable({\n columnResizeMode: 'onChange',\n columns,\n data: emptyData,\n debugColumns: true,\n debugHeaders: true,\n debugTable: true,\n defaultColumn: {\n maxSize: 800,\n minSize: 80,\n },\n enableSorting: false,\n getCoreRowModel: getCoreRowModel(),\n getPaginationRowModel: getPaginationRowModel(),\n initialState: {\n pagination: {\n pageSize: 5,\n },\n },\n });\n\n return <DataGrid isResizable={false} tableInstance={table} />;\n};\n\nexport const CustomEmptyTable = () => {\n const columnHelper = createColumnHelper<TestDataFormat>();\n\n const columns = [\n columnHelper.accessor('name', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Name',\n maxSize: 300,\n minSize: 180,\n size: 220,\n }),\n columnHelper.accessor('age', {\n cell: (info) => info.renderValue(),\n footer: (info) => info.column.id,\n header: () => 'Age',\n minSize: 80,\n }),\n columnHelper.accessor('cypherCommand', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Cypher Command',\n minSize: 400,\n size: 400,\n }),\n ];\n\n const table = useReactTable({\n columnResizeMode: 'onChange',\n columns,\n data: [],\n debugColumns: true,\n debugHeaders: true,\n debugTable: true,\n defaultColumn: {\n maxSize: 800,\n minSize: 80,\n },\n enableSorting: false,\n getCoreRowModel: getCoreRowModel(),\n getPaginationRowModel: getPaginationRowModel(),\n initialState: {\n pagination: {\n pageSize: 5,\n },\n },\n });\n\n return (\n <DataGrid\n isResizable={false}\n tableInstance={table}\n components={{\n NoDataPlaceholder: () => (\n <DataGrid.NoDataPlaceholder>\n <DataGrid.NoDataPlaceholderContentWrapper>\n <DataGrid.NoDataIcon />\n <Typography variant=\"title-4\">Custom No data message</Typography>\n </DataGrid.NoDataPlaceholderContentWrapper>\n </DataGrid.NoDataPlaceholder>\n ),\n }}\n />\n );\n};\n\nexport const LoadingTable = () => {\n const columnHelper = createColumnHelper<TestDataFormat>();\n\n const columns = [\n columnHelper.accessor('name', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Name',\n maxSize: 300,\n minSize: 180,\n size: 220,\n }),\n columnHelper.accessor('age', {\n cell: (info) => info.renderValue(),\n footer: (info) => info.column.id,\n header: () => 'Age',\n minSize: 80,\n }),\n columnHelper.accessor('cypherCommand', {\n cell: (info) => info.getValue(),\n footer: (info) => info.column.id,\n header: () => 'Cypher Command',\n minSize: 400,\n size: 400,\n }),\n ];\n\n const table = useReactTable({\n columnResizeMode: 'onChange',\n columns,\n data: TABLE_DEMO_DATA,\n debugColumns: true,\n debugHeaders: true,\n debugTable: true,\n defaultColumn: {\n maxSize: 800,\n minSize: 80,\n },\n enableSorting: false,\n getCoreRowModel: getCoreRowModel(),\n getPaginationRowModel: getPaginationRowModel(),\n initialState: {\n pagination: {\n pageSize: 5,\n },\n },\n });\n\n return <DataGrid isLoading isResizable={false} tableInstance={table} />;\n};\n"]}