@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.
Files changed (442) 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/cjs/wizard/Wizard.js +6 -2
  6. package/lib/cjs/wizard/Wizard.js.map +1 -1
  7. package/lib/esm/icons/generated/custom/QueryStream.js +28 -0
  8. package/lib/esm/icons/generated/custom/QueryStream.js.map +1 -0
  9. package/lib/esm/icons/generated/custom/index.js +1 -0
  10. package/lib/esm/icons/generated/custom/index.js.map +1 -1
  11. package/lib/esm/wizard/Wizard.js +6 -2
  12. package/lib/esm/wizard/Wizard.js.map +1 -1
  13. package/lib/types/{ai/code-preview/stories/code-preview.stories.d.ts → icons/generated/custom/QueryStream.d.ts} +9 -10
  14. package/lib/types/icons/generated/custom/QueryStream.d.ts.map +1 -0
  15. package/lib/types/icons/generated/custom/index.d.ts +1 -0
  16. package/lib/types/icons/generated/custom/index.d.ts.map +1 -1
  17. package/lib/types/wizard/Wizard.d.ts.map +1 -1
  18. package/package.json +2 -2
  19. package/lib/cjs/accordion/stories/accordion.stories.js +0 -145
  20. package/lib/cjs/accordion/stories/accordion.stories.js.map +0 -1
  21. package/lib/cjs/ai/code-preview/stories/code-preview.stories.js +0 -88
  22. package/lib/cjs/ai/code-preview/stories/code-preview.stories.js.map +0 -1
  23. package/lib/cjs/ai/file-tag/stories/file-tag.stories.js +0 -76
  24. package/lib/cjs/ai/file-tag/stories/file-tag.stories.js.map +0 -1
  25. package/lib/cjs/ai/image-tag/stories/image-tag.stories.js +0 -76
  26. package/lib/cjs/ai/image-tag/stories/image-tag.stories.js.map +0 -1
  27. package/lib/cjs/ai/more-files/stories/more-files.stories.js +0 -50
  28. package/lib/cjs/ai/more-files/stories/more-files.stories.js.map +0 -1
  29. package/lib/cjs/ai/presence/stories/ai-presence.stories.js +0 -52
  30. package/lib/cjs/ai/presence/stories/ai-presence.stories.js.map +0 -1
  31. package/lib/cjs/ai/preview/stories/preview-code.stories.js +0 -100
  32. package/lib/cjs/ai/preview/stories/preview-code.stories.js.map +0 -1
  33. package/lib/cjs/ai/preview/stories/preview.stories.js +0 -63
  34. package/lib/cjs/ai/preview/stories/preview.stories.js.map +0 -1
  35. package/lib/cjs/ai/prompt/stories/prompt.stories.js +0 -91
  36. package/lib/cjs/ai/prompt/stories/prompt.stories.js.map +0 -1
  37. package/lib/cjs/ai/reasoning/stories/reasoning.stories.js +0 -63
  38. package/lib/cjs/ai/reasoning/stories/reasoning.stories.js.map +0 -1
  39. package/lib/cjs/ai/response/stories/response.stories.js +0 -133
  40. package/lib/cjs/ai/response/stories/response.stories.js.map +0 -1
  41. package/lib/cjs/ai/suggestion/stories/suggestion.stories.js +0 -89
  42. package/lib/cjs/ai/suggestion/stories/suggestion.stories.js.map +0 -1
  43. package/lib/cjs/ai/thinking/stories/ai-thinking.stories.js +0 -63
  44. package/lib/cjs/ai/thinking/stories/ai-thinking.stories.js.map +0 -1
  45. package/lib/cjs/ai/tool-call/stories/tool-call.stories.js +0 -63
  46. package/lib/cjs/ai/tool-call/stories/tool-call.stories.js.map +0 -1
  47. package/lib/cjs/ai/user-bubble/stories/user-bubble.stories.js +0 -89
  48. package/lib/cjs/ai/user-bubble/stories/user-bubble.stories.js.map +0 -1
  49. package/lib/cjs/avatar/stories/avatar.stories.js +0 -125
  50. package/lib/cjs/avatar/stories/avatar.stories.js.map +0 -1
  51. package/lib/cjs/banner/stories/banner.stories.js +0 -120
  52. package/lib/cjs/banner/stories/banner.stories.js.map +0 -1
  53. package/lib/cjs/box/stories/box.stories.js +0 -54
  54. package/lib/cjs/box/stories/box.stories.js.map +0 -1
  55. package/lib/cjs/breadcrumbs/stories/breadcrumbs.stories.js +0 -88
  56. package/lib/cjs/breadcrumbs/stories/breadcrumbs.stories.js.map +0 -1
  57. package/lib/cjs/button/stories/button.stories.js +0 -131
  58. package/lib/cjs/button/stories/button.stories.js.map +0 -1
  59. package/lib/cjs/checkbox/stories/checkbox.stories.js +0 -137
  60. package/lib/cjs/checkbox/stories/checkbox.stories.js.map +0 -1
  61. package/lib/cjs/clean-icon-button/stories/clean-icon-button.stories.js +0 -121
  62. package/lib/cjs/clean-icon-button/stories/clean-icon-button.stories.js.map +0 -1
  63. package/lib/cjs/clipboard-button/stories/clipboard-button.stories.js +0 -119
  64. package/lib/cjs/clipboard-button/stories/clipboard-button.stories.js.map +0 -1
  65. package/lib/cjs/code/stories/code.stories.js +0 -62
  66. package/lib/cjs/code/stories/code.stories.js.map +0 -1
  67. package/lib/cjs/code-block/stories/code.stories.js +0 -140
  68. package/lib/cjs/code-block/stories/code.stories.js.map +0 -1
  69. package/lib/cjs/color-picker/stories/color-picker.stories.js +0 -80
  70. package/lib/cjs/color-picker/stories/color-picker.stories.js.map +0 -1
  71. package/lib/cjs/conditional-wrap/stories/conditional-wrap.stories.js +0 -44
  72. package/lib/cjs/conditional-wrap/stories/conditional-wrap.stories.js.map +0 -1
  73. package/lib/cjs/data-grid/stories/datagrid-placeholder-states.stories.js +0 -185
  74. package/lib/cjs/data-grid/stories/datagrid-placeholder-states.stories.js.map +0 -1
  75. package/lib/cjs/data-grid/stories/datagrid.stories.js +0 -223
  76. package/lib/cjs/data-grid/stories/datagrid.stories.js.map +0 -1
  77. package/lib/cjs/date-picker/stories/date-picker.stories.js +0 -210
  78. package/lib/cjs/date-picker/stories/date-picker.stories.js.map +0 -1
  79. package/lib/cjs/dialog/stories/dialog.stories.js +0 -150
  80. package/lib/cjs/dialog/stories/dialog.stories.js.map +0 -1
  81. package/lib/cjs/divider/stories/divider.stories.js +0 -67
  82. package/lib/cjs/divider/stories/divider.stories.js.map +0 -1
  83. package/lib/cjs/drawer/stories/drawer.stories.js +0 -142
  84. package/lib/cjs/drawer/stories/drawer.stories.js.map +0 -1
  85. package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js +0 -119
  86. package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js.map +0 -1
  87. package/lib/cjs/dropzone/stories/dropzone.stories.js +0 -109
  88. package/lib/cjs/dropzone/stories/dropzone.stories.js.map +0 -1
  89. package/lib/cjs/flex/stories/flex.stories.js +0 -48
  90. package/lib/cjs/flex/stories/flex.stories.js.map +0 -1
  91. package/lib/cjs/graph-label/stories/graph-label.stories.js +0 -132
  92. package/lib/cjs/graph-label/stories/graph-label.stories.js.map +0 -1
  93. package/lib/cjs/icon-button/stories/icon-button.stories.js +0 -135
  94. package/lib/cjs/icon-button/stories/icon-button.stories.js.map +0 -1
  95. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js +0 -106
  96. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js.map +0 -1
  97. package/lib/cjs/inline-edit/stories/inline-edit.stories.js +0 -160
  98. package/lib/cjs/inline-edit/stories/inline-edit.stories.js.map +0 -1
  99. package/lib/cjs/kbd/stories/kbd.stories.js +0 -63
  100. package/lib/cjs/kbd/stories/kbd.stories.js.map +0 -1
  101. package/lib/cjs/loading-bar/stories/loading-bar.stories.js +0 -67
  102. package/lib/cjs/loading-bar/stories/loading-bar.stories.js.map +0 -1
  103. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js +0 -67
  104. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js.map +0 -1
  105. package/lib/cjs/logo/stories/logo.stories.js +0 -88
  106. package/lib/cjs/logo/stories/logo.stories.js.map +0 -1
  107. package/lib/cjs/menu/stories/menu.stories.js +0 -211
  108. package/lib/cjs/menu/stories/menu.stories.js.map +0 -1
  109. package/lib/cjs/popover/stories/popover.stories.js +0 -97
  110. package/lib/cjs/popover/stories/popover.stories.js.map +0 -1
  111. package/lib/cjs/progress-bar/stories/progress-bar.stories.js +0 -80
  112. package/lib/cjs/progress-bar/stories/progress-bar.stories.js.map +0 -1
  113. package/lib/cjs/radio/stories/radio.stories.js +0 -132
  114. package/lib/cjs/radio/stories/radio.stories.js.map +0 -1
  115. package/lib/cjs/segmented-control/stories/segmented-control.stories.js +0 -106
  116. package/lib/cjs/segmented-control/stories/segmented-control.stories.js.map +0 -1
  117. package/lib/cjs/select/stories/select.stories.js +0 -226
  118. package/lib/cjs/select/stories/select.stories.js.map +0 -1
  119. package/lib/cjs/select-icon-button/stories/select-icon-button.stories.js +0 -89
  120. package/lib/cjs/select-icon-button/stories/select-icon-button.stories.js.map +0 -1
  121. package/lib/cjs/side-navigation/stories/side-nav.stories.js +0 -92
  122. package/lib/cjs/side-navigation/stories/side-nav.stories.js.map +0 -1
  123. package/lib/cjs/skeleton/stories/skeleton.stories.js +0 -137
  124. package/lib/cjs/skeleton/stories/skeleton.stories.js.map +0 -1
  125. package/lib/cjs/slider/stories/slider.stories.js +0 -152
  126. package/lib/cjs/slider/stories/slider.stories.js.map +0 -1
  127. package/lib/cjs/spotlight/stories/spotlight.stories.js +0 -178
  128. package/lib/cjs/spotlight/stories/spotlight.stories.js.map +0 -1
  129. package/lib/cjs/status-indicator/stories/status-indicator.stories.js.map +0 -1
  130. package/lib/cjs/status-label/stories/status-label.stories.js +0 -92
  131. package/lib/cjs/status-label/stories/status-label.stories.js.map +0 -1
  132. package/lib/cjs/switch/stories/switch.stories.js +0 -137
  133. package/lib/cjs/switch/stories/switch.stories.js.map +0 -1
  134. package/lib/cjs/tabs/stories/tabs.stories.js +0 -132
  135. package/lib/cjs/tabs/stories/tabs.stories.js.map +0 -1
  136. package/lib/cjs/tag/stories/tag.stories.js +0 -67
  137. package/lib/cjs/tag/stories/tag.stories.js.map +0 -1
  138. package/lib/cjs/text-area/stories/text-area.stories.js +0 -148
  139. package/lib/cjs/text-area/stories/text-area.stories.js.map +0 -1
  140. package/lib/cjs/text-input/stories/text-input.stories.js +0 -249
  141. package/lib/cjs/text-input/stories/text-input.stories.js.map +0 -1
  142. package/lib/cjs/text-link/stories/text-link.stories.js +0 -102
  143. package/lib/cjs/text-link/stories/text-link.stories.js.map +0 -1
  144. package/lib/cjs/text-overflow/stories/text-overflow.stories.js +0 -115
  145. package/lib/cjs/text-overflow/stories/text-overflow.stories.js.map +0 -1
  146. package/lib/cjs/time-picker/stories/time-picker.stories.js +0 -63
  147. package/lib/cjs/time-picker/stories/time-picker.stories.js.map +0 -1
  148. package/lib/cjs/timezone-picker/stories/timezone-picker.stories.js +0 -145
  149. package/lib/cjs/timezone-picker/stories/timezone-picker.stories.js.map +0 -1
  150. package/lib/cjs/toast/stories/toast.stories.js +0 -137
  151. package/lib/cjs/toast/stories/toast.stories.js.map +0 -1
  152. package/lib/cjs/tooltip/stories/tooltip.stories.js +0 -189
  153. package/lib/cjs/tooltip/stories/tooltip.stories.js.map +0 -1
  154. package/lib/cjs/tree-view/stories/treeview.stories.js +0 -72
  155. package/lib/cjs/tree-view/stories/treeview.stories.js.map +0 -1
  156. package/lib/cjs/typography/stories/typography.stories.js +0 -72
  157. package/lib/cjs/typography/stories/typography.stories.js.map +0 -1
  158. package/lib/cjs/wizard/stories/wizard.stories.js +0 -99
  159. package/lib/cjs/wizard/stories/wizard.stories.js.map +0 -1
  160. package/lib/esm/accordion/stories/accordion.stories.js +0 -142
  161. package/lib/esm/accordion/stories/accordion.stories.js.map +0 -1
  162. package/lib/esm/ai/code-preview/stories/code-preview.stories.js +0 -85
  163. package/lib/esm/ai/code-preview/stories/code-preview.stories.js.map +0 -1
  164. package/lib/esm/ai/file-tag/stories/file-tag.stories.js +0 -73
  165. package/lib/esm/ai/file-tag/stories/file-tag.stories.js.map +0 -1
  166. package/lib/esm/ai/image-tag/stories/image-tag.stories.js +0 -73
  167. package/lib/esm/ai/image-tag/stories/image-tag.stories.js.map +0 -1
  168. package/lib/esm/ai/more-files/stories/more-files.stories.js +0 -47
  169. package/lib/esm/ai/more-files/stories/more-files.stories.js.map +0 -1
  170. package/lib/esm/ai/presence/stories/ai-presence.stories.js +0 -49
  171. package/lib/esm/ai/presence/stories/ai-presence.stories.js.map +0 -1
  172. package/lib/esm/ai/preview/stories/preview-code.stories.js +0 -97
  173. package/lib/esm/ai/preview/stories/preview-code.stories.js.map +0 -1
  174. package/lib/esm/ai/preview/stories/preview.stories.js +0 -60
  175. package/lib/esm/ai/preview/stories/preview.stories.js.map +0 -1
  176. package/lib/esm/ai/prompt/stories/prompt.stories.js +0 -88
  177. package/lib/esm/ai/prompt/stories/prompt.stories.js.map +0 -1
  178. package/lib/esm/ai/reasoning/stories/reasoning.stories.js +0 -60
  179. package/lib/esm/ai/reasoning/stories/reasoning.stories.js.map +0 -1
  180. package/lib/esm/ai/response/stories/response.stories.js +0 -130
  181. package/lib/esm/ai/response/stories/response.stories.js.map +0 -1
  182. package/lib/esm/ai/suggestion/stories/suggestion.stories.js +0 -86
  183. package/lib/esm/ai/suggestion/stories/suggestion.stories.js.map +0 -1
  184. package/lib/esm/ai/thinking/stories/ai-thinking.stories.js +0 -60
  185. package/lib/esm/ai/thinking/stories/ai-thinking.stories.js.map +0 -1
  186. package/lib/esm/ai/tool-call/stories/tool-call.stories.js +0 -60
  187. package/lib/esm/ai/tool-call/stories/tool-call.stories.js.map +0 -1
  188. package/lib/esm/ai/user-bubble/stories/user-bubble.stories.js +0 -86
  189. package/lib/esm/ai/user-bubble/stories/user-bubble.stories.js.map +0 -1
  190. package/lib/esm/avatar/stories/avatar.stories.js +0 -122
  191. package/lib/esm/avatar/stories/avatar.stories.js.map +0 -1
  192. package/lib/esm/banner/stories/banner.stories.js +0 -117
  193. package/lib/esm/banner/stories/banner.stories.js.map +0 -1
  194. package/lib/esm/box/stories/box.stories.js +0 -51
  195. package/lib/esm/box/stories/box.stories.js.map +0 -1
  196. package/lib/esm/breadcrumbs/stories/breadcrumbs.stories.js +0 -85
  197. package/lib/esm/breadcrumbs/stories/breadcrumbs.stories.js.map +0 -1
  198. package/lib/esm/button/stories/button.stories.js +0 -128
  199. package/lib/esm/button/stories/button.stories.js.map +0 -1
  200. package/lib/esm/checkbox/stories/checkbox.stories.js +0 -134
  201. package/lib/esm/checkbox/stories/checkbox.stories.js.map +0 -1
  202. package/lib/esm/clean-icon-button/stories/clean-icon-button.stories.js +0 -118
  203. package/lib/esm/clean-icon-button/stories/clean-icon-button.stories.js.map +0 -1
  204. package/lib/esm/clipboard-button/stories/clipboard-button.stories.js +0 -116
  205. package/lib/esm/clipboard-button/stories/clipboard-button.stories.js.map +0 -1
  206. package/lib/esm/code/stories/code.stories.js +0 -59
  207. package/lib/esm/code/stories/code.stories.js.map +0 -1
  208. package/lib/esm/code-block/stories/code.stories.js +0 -137
  209. package/lib/esm/code-block/stories/code.stories.js.map +0 -1
  210. package/lib/esm/color-picker/stories/color-picker.stories.js +0 -77
  211. package/lib/esm/color-picker/stories/color-picker.stories.js.map +0 -1
  212. package/lib/esm/conditional-wrap/stories/conditional-wrap.stories.js +0 -41
  213. package/lib/esm/conditional-wrap/stories/conditional-wrap.stories.js.map +0 -1
  214. package/lib/esm/data-grid/stories/datagrid-placeholder-states.stories.js +0 -179
  215. package/lib/esm/data-grid/stories/datagrid-placeholder-states.stories.js.map +0 -1
  216. package/lib/esm/data-grid/stories/datagrid.stories.js +0 -220
  217. package/lib/esm/data-grid/stories/datagrid.stories.js.map +0 -1
  218. package/lib/esm/date-picker/stories/date-picker.stories.js +0 -207
  219. package/lib/esm/date-picker/stories/date-picker.stories.js.map +0 -1
  220. package/lib/esm/dialog/stories/dialog.stories.js +0 -144
  221. package/lib/esm/dialog/stories/dialog.stories.js.map +0 -1
  222. package/lib/esm/divider/stories/divider.stories.js +0 -64
  223. package/lib/esm/divider/stories/divider.stories.js.map +0 -1
  224. package/lib/esm/drawer/stories/drawer.stories.js +0 -139
  225. package/lib/esm/drawer/stories/drawer.stories.js.map +0 -1
  226. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js +0 -116
  227. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js.map +0 -1
  228. package/lib/esm/dropzone/stories/dropzone.stories.js +0 -106
  229. package/lib/esm/dropzone/stories/dropzone.stories.js.map +0 -1
  230. package/lib/esm/flex/stories/flex.stories.js +0 -45
  231. package/lib/esm/flex/stories/flex.stories.js.map +0 -1
  232. package/lib/esm/graph-label/stories/graph-label.stories.js +0 -129
  233. package/lib/esm/graph-label/stories/graph-label.stories.js.map +0 -1
  234. package/lib/esm/icon-button/stories/icon-button.stories.js +0 -132
  235. package/lib/esm/icon-button/stories/icon-button.stories.js.map +0 -1
  236. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js +0 -103
  237. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js.map +0 -1
  238. package/lib/esm/inline-edit/stories/inline-edit.stories.js +0 -157
  239. package/lib/esm/inline-edit/stories/inline-edit.stories.js.map +0 -1
  240. package/lib/esm/kbd/stories/kbd.stories.js +0 -60
  241. package/lib/esm/kbd/stories/kbd.stories.js.map +0 -1
  242. package/lib/esm/loading-bar/stories/loading-bar.stories.js +0 -64
  243. package/lib/esm/loading-bar/stories/loading-bar.stories.js.map +0 -1
  244. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js +0 -64
  245. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js.map +0 -1
  246. package/lib/esm/logo/stories/logo.stories.js +0 -85
  247. package/lib/esm/logo/stories/logo.stories.js.map +0 -1
  248. package/lib/esm/menu/stories/menu.stories.js +0 -208
  249. package/lib/esm/menu/stories/menu.stories.js.map +0 -1
  250. package/lib/esm/popover/stories/popover.stories.js +0 -94
  251. package/lib/esm/popover/stories/popover.stories.js.map +0 -1
  252. package/lib/esm/progress-bar/stories/progress-bar.stories.js +0 -77
  253. package/lib/esm/progress-bar/stories/progress-bar.stories.js.map +0 -1
  254. package/lib/esm/radio/stories/radio.stories.js +0 -129
  255. package/lib/esm/radio/stories/radio.stories.js.map +0 -1
  256. package/lib/esm/segmented-control/stories/segmented-control.stories.js +0 -103
  257. package/lib/esm/segmented-control/stories/segmented-control.stories.js.map +0 -1
  258. package/lib/esm/select/stories/select.stories.js +0 -220
  259. package/lib/esm/select/stories/select.stories.js.map +0 -1
  260. package/lib/esm/select-icon-button/stories/select-icon-button.stories.js +0 -86
  261. package/lib/esm/select-icon-button/stories/select-icon-button.stories.js.map +0 -1
  262. package/lib/esm/side-navigation/stories/side-nav.stories.js +0 -89
  263. package/lib/esm/side-navigation/stories/side-nav.stories.js.map +0 -1
  264. package/lib/esm/skeleton/stories/skeleton.stories.js +0 -134
  265. package/lib/esm/skeleton/stories/skeleton.stories.js.map +0 -1
  266. package/lib/esm/slider/stories/slider.stories.js +0 -149
  267. package/lib/esm/slider/stories/slider.stories.js.map +0 -1
  268. package/lib/esm/spotlight/stories/spotlight.stories.js +0 -172
  269. package/lib/esm/spotlight/stories/spotlight.stories.js.map +0 -1
  270. package/lib/esm/status-indicator/stories/status-indicator.stories.js +0 -51
  271. package/lib/esm/status-indicator/stories/status-indicator.stories.js.map +0 -1
  272. package/lib/esm/status-label/stories/status-label.stories.js +0 -89
  273. package/lib/esm/status-label/stories/status-label.stories.js.map +0 -1
  274. package/lib/esm/switch/stories/switch.stories.js +0 -134
  275. package/lib/esm/switch/stories/switch.stories.js.map +0 -1
  276. package/lib/esm/tabs/stories/tabs.stories.js +0 -129
  277. package/lib/esm/tabs/stories/tabs.stories.js.map +0 -1
  278. package/lib/esm/tag/stories/tag.stories.js +0 -64
  279. package/lib/esm/tag/stories/tag.stories.js.map +0 -1
  280. package/lib/esm/text-area/stories/text-area.stories.js +0 -145
  281. package/lib/esm/text-area/stories/text-area.stories.js.map +0 -1
  282. package/lib/esm/text-input/stories/text-input.stories.js +0 -246
  283. package/lib/esm/text-input/stories/text-input.stories.js.map +0 -1
  284. package/lib/esm/text-link/stories/text-link.stories.js +0 -99
  285. package/lib/esm/text-link/stories/text-link.stories.js.map +0 -1
  286. package/lib/esm/text-overflow/stories/text-overflow.stories.js +0 -113
  287. package/lib/esm/text-overflow/stories/text-overflow.stories.js.map +0 -1
  288. package/lib/esm/time-picker/stories/time-picker.stories.js +0 -60
  289. package/lib/esm/time-picker/stories/time-picker.stories.js.map +0 -1
  290. package/lib/esm/timezone-picker/stories/timezone-picker.stories.js +0 -142
  291. package/lib/esm/timezone-picker/stories/timezone-picker.stories.js.map +0 -1
  292. package/lib/esm/toast/stories/toast.stories.js +0 -134
  293. package/lib/esm/toast/stories/toast.stories.js.map +0 -1
  294. package/lib/esm/tooltip/stories/tooltip.stories.js +0 -183
  295. package/lib/esm/tooltip/stories/tooltip.stories.js.map +0 -1
  296. package/lib/esm/tree-view/stories/treeview.stories.js +0 -69
  297. package/lib/esm/tree-view/stories/treeview.stories.js.map +0 -1
  298. package/lib/esm/typography/stories/typography.stories.js +0 -69
  299. package/lib/esm/typography/stories/typography.stories.js.map +0 -1
  300. package/lib/esm/wizard/stories/wizard.stories.js +0 -96
  301. package/lib/esm/wizard/stories/wizard.stories.js.map +0 -1
  302. package/lib/types/accordion/stories/accordion.stories.d.ts +0 -61
  303. package/lib/types/accordion/stories/accordion.stories.d.ts.map +0 -1
  304. package/lib/types/ai/code-preview/stories/code-preview.stories.d.ts.map +0 -1
  305. package/lib/types/ai/file-tag/stories/file-tag.stories.d.ts +0 -29
  306. package/lib/types/ai/file-tag/stories/file-tag.stories.d.ts.map +0 -1
  307. package/lib/types/ai/image-tag/stories/image-tag.stories.d.ts +0 -29
  308. package/lib/types/ai/image-tag/stories/image-tag.stories.d.ts.map +0 -1
  309. package/lib/types/ai/more-files/stories/more-files.stories.d.ts +0 -27
  310. package/lib/types/ai/more-files/stories/more-files.stories.d.ts.map +0 -1
  311. package/lib/types/ai/presence/stories/ai-presence.stories.d.ts +0 -27
  312. package/lib/types/ai/presence/stories/ai-presence.stories.d.ts.map +0 -1
  313. package/lib/types/ai/preview/stories/preview-code.stories.d.ts +0 -31
  314. package/lib/types/ai/preview/stories/preview-code.stories.d.ts.map +0 -1
  315. package/lib/types/ai/preview/stories/preview.stories.d.ts +0 -28
  316. package/lib/types/ai/preview/stories/preview.stories.d.ts.map +0 -1
  317. package/lib/types/ai/prompt/stories/prompt.stories.d.ts +0 -30
  318. package/lib/types/ai/prompt/stories/prompt.stories.d.ts.map +0 -1
  319. package/lib/types/ai/reasoning/stories/reasoning.stories.d.ts +0 -28
  320. package/lib/types/ai/reasoning/stories/reasoning.stories.d.ts.map +0 -1
  321. package/lib/types/ai/response/stories/response.stories.d.ts +0 -33
  322. package/lib/types/ai/response/stories/response.stories.d.ts.map +0 -1
  323. package/lib/types/ai/suggestion/stories/suggestion.stories.d.ts +0 -30
  324. package/lib/types/ai/suggestion/stories/suggestion.stories.d.ts.map +0 -1
  325. package/lib/types/ai/thinking/stories/ai-thinking.stories.d.ts +0 -28
  326. package/lib/types/ai/thinking/stories/ai-thinking.stories.d.ts.map +0 -1
  327. package/lib/types/ai/tool-call/stories/tool-call.stories.d.ts +0 -28
  328. package/lib/types/ai/tool-call/stories/tool-call.stories.d.ts.map +0 -1
  329. package/lib/types/ai/user-bubble/stories/user-bubble.stories.d.ts +0 -30
  330. package/lib/types/ai/user-bubble/stories/user-bubble.stories.d.ts.map +0 -1
  331. package/lib/types/avatar/stories/avatar.stories.d.ts +0 -32
  332. package/lib/types/avatar/stories/avatar.stories.d.ts.map +0 -1
  333. package/lib/types/banner/stories/banner.stories.d.ts +0 -32
  334. package/lib/types/banner/stories/banner.stories.d.ts.map +0 -1
  335. package/lib/types/box/stories/box.stories.d.ts +0 -46
  336. package/lib/types/box/stories/box.stories.d.ts.map +0 -1
  337. package/lib/types/breadcrumbs/stories/breadcrumbs.stories.d.ts +0 -81
  338. package/lib/types/breadcrumbs/stories/breadcrumbs.stories.d.ts.map +0 -1
  339. package/lib/types/button/stories/button.stories.d.ts +0 -33
  340. package/lib/types/button/stories/button.stories.d.ts.map +0 -1
  341. package/lib/types/checkbox/stories/checkbox.stories.d.ts +0 -33
  342. package/lib/types/checkbox/stories/checkbox.stories.d.ts.map +0 -1
  343. package/lib/types/clean-icon-button/stories/clean-icon-button.stories.d.ts +0 -51
  344. package/lib/types/clean-icon-button/stories/clean-icon-button.stories.d.ts.map +0 -1
  345. package/lib/types/clipboard-button/stories/clipboard-button.stories.d.ts +0 -32
  346. package/lib/types/clipboard-button/stories/clipboard-button.stories.d.ts.map +0 -1
  347. package/lib/types/code/stories/code.stories.d.ts +0 -27
  348. package/lib/types/code/stories/code.stories.d.ts.map +0 -1
  349. package/lib/types/code-block/stories/code.stories.d.ts +0 -33
  350. package/lib/types/code-block/stories/code.stories.d.ts.map +0 -1
  351. package/lib/types/color-picker/stories/color-picker.stories.d.ts +0 -29
  352. package/lib/types/color-picker/stories/color-picker.stories.d.ts.map +0 -1
  353. package/lib/types/conditional-wrap/stories/conditional-wrap.stories.d.ts +0 -34
  354. package/lib/types/conditional-wrap/stories/conditional-wrap.stories.d.ts.map +0 -1
  355. package/lib/types/data-grid/stories/datagrid-placeholder-states.stories.d.ts +0 -136
  356. package/lib/types/data-grid/stories/datagrid-placeholder-states.stories.d.ts.map +0 -1
  357. package/lib/types/data-grid/stories/datagrid.stories.d.ts +0 -40
  358. package/lib/types/data-grid/stories/datagrid.stories.d.ts.map +0 -1
  359. package/lib/types/date-picker/stories/date-picker.stories.d.ts +0 -39
  360. package/lib/types/date-picker/stories/date-picker.stories.d.ts.map +0 -1
  361. package/lib/types/dialog/stories/dialog.stories.d.ts +0 -33
  362. package/lib/types/dialog/stories/dialog.stories.d.ts.map +0 -1
  363. package/lib/types/divider/stories/divider.stories.d.ts +0 -39
  364. package/lib/types/divider/stories/divider.stories.d.ts.map +0 -1
  365. package/lib/types/drawer/stories/drawer.stories.d.ts +0 -34
  366. package/lib/types/drawer/stories/drawer.stories.d.ts.map +0 -1
  367. package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts +0 -32
  368. package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts.map +0 -1
  369. package/lib/types/dropzone/stories/dropzone.stories.d.ts +0 -32
  370. package/lib/types/dropzone/stories/dropzone.stories.d.ts.map +0 -1
  371. package/lib/types/flex/stories/flex.stories.d.ts +0 -47
  372. package/lib/types/flex/stories/flex.stories.d.ts.map +0 -1
  373. package/lib/types/graph-label/stories/graph-label.stories.d.ts +0 -33
  374. package/lib/types/graph-label/stories/graph-label.stories.d.ts.map +0 -1
  375. package/lib/types/icon-button/stories/icon-button.stories.d.ts +0 -53
  376. package/lib/types/icon-button/stories/icon-button.stories.d.ts.map +0 -1
  377. package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts +0 -31
  378. package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts.map +0 -1
  379. package/lib/types/inline-edit/stories/inline-edit.stories.d.ts +0 -30
  380. package/lib/types/inline-edit/stories/inline-edit.stories.d.ts.map +0 -1
  381. package/lib/types/kbd/stories/kbd.stories.d.ts +0 -28
  382. package/lib/types/kbd/stories/kbd.stories.d.ts.map +0 -1
  383. package/lib/types/loading-bar/stories/loading-bar.stories.d.ts +0 -28
  384. package/lib/types/loading-bar/stories/loading-bar.stories.d.ts.map +0 -1
  385. package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts +0 -28
  386. package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts.map +0 -1
  387. package/lib/types/logo/stories/logo.stories.d.ts +0 -41
  388. package/lib/types/logo/stories/logo.stories.d.ts.map +0 -1
  389. package/lib/types/menu/stories/menu.stories.d.ts +0 -38
  390. package/lib/types/menu/stories/menu.stories.d.ts.map +0 -1
  391. package/lib/types/popover/stories/popover.stories.d.ts +0 -30
  392. package/lib/types/popover/stories/popover.stories.d.ts.map +0 -1
  393. package/lib/types/progress-bar/stories/progress-bar.stories.d.ts +0 -29
  394. package/lib/types/progress-bar/stories/progress-bar.stories.d.ts.map +0 -1
  395. package/lib/types/radio/stories/radio.stories.d.ts +0 -33
  396. package/lib/types/radio/stories/radio.stories.d.ts.map +0 -1
  397. package/lib/types/segmented-control/stories/segmented-control.stories.d.ts +0 -31
  398. package/lib/types/segmented-control/stories/segmented-control.stories.d.ts.map +0 -1
  399. package/lib/types/select/stories/select.stories.d.ts +0 -39
  400. package/lib/types/select/stories/select.stories.d.ts.map +0 -1
  401. package/lib/types/select-icon-button/stories/select-icon-button.stories.d.ts +0 -30
  402. package/lib/types/select-icon-button/stories/select-icon-button.stories.d.ts.map +0 -1
  403. package/lib/types/side-navigation/stories/side-nav.stories.d.ts +0 -46
  404. package/lib/types/side-navigation/stories/side-nav.stories.d.ts.map +0 -1
  405. package/lib/types/skeleton/stories/skeleton.stories.d.ts +0 -50
  406. package/lib/types/skeleton/stories/skeleton.stories.d.ts.map +0 -1
  407. package/lib/types/slider/stories/slider.stories.d.ts +0 -34
  408. package/lib/types/slider/stories/slider.stories.d.ts.map +0 -1
  409. package/lib/types/spotlight/stories/spotlight.stories.d.ts +0 -39
  410. package/lib/types/spotlight/stories/spotlight.stories.d.ts.map +0 -1
  411. package/lib/types/status-indicator/stories/status-indicator.stories.d.ts +0 -27
  412. package/lib/types/status-indicator/stories/status-indicator.stories.d.ts.map +0 -1
  413. package/lib/types/status-label/stories/status-label.stories.d.ts +0 -30
  414. package/lib/types/status-label/stories/status-label.stories.d.ts.map +0 -1
  415. package/lib/types/switch/stories/switch.stories.d.ts +0 -33
  416. package/lib/types/switch/stories/switch.stories.d.ts.map +0 -1
  417. package/lib/types/tabs/stories/tabs.stories.d.ts +0 -33
  418. package/lib/types/tabs/stories/tabs.stories.d.ts.map +0 -1
  419. package/lib/types/tag/stories/tag.stories.d.ts +0 -28
  420. package/lib/types/tag/stories/tag.stories.d.ts.map +0 -1
  421. package/lib/types/text-area/stories/text-area.stories.d.ts +0 -34
  422. package/lib/types/text-area/stories/text-area.stories.d.ts.map +0 -1
  423. package/lib/types/text-input/stories/text-input.stories.d.ts +0 -42
  424. package/lib/types/text-input/stories/text-input.stories.d.ts.map +0 -1
  425. package/lib/types/text-link/stories/text-link.stories.d.ts +0 -31
  426. package/lib/types/text-link/stories/text-link.stories.d.ts.map +0 -1
  427. package/lib/types/text-overflow/stories/text-overflow.stories.d.ts +0 -25
  428. package/lib/types/text-overflow/stories/text-overflow.stories.d.ts.map +0 -1
  429. package/lib/types/time-picker/stories/time-picker.stories.d.ts +0 -37
  430. package/lib/types/time-picker/stories/time-picker.stories.d.ts.map +0 -1
  431. package/lib/types/timezone-picker/stories/timezone-picker.stories.d.ts +0 -34
  432. package/lib/types/timezone-picker/stories/timezone-picker.stories.d.ts.map +0 -1
  433. package/lib/types/toast/stories/toast.stories.d.ts +0 -39
  434. package/lib/types/toast/stories/toast.stories.d.ts.map +0 -1
  435. package/lib/types/tooltip/stories/tooltip.stories.d.ts +0 -37
  436. package/lib/types/tooltip/stories/tooltip.stories.d.ts.map +0 -1
  437. package/lib/types/tree-view/stories/treeview.stories.d.ts +0 -29
  438. package/lib/types/tree-view/stories/treeview.stories.d.ts.map +0 -1
  439. package/lib/types/typography/stories/typography.stories.d.ts +0 -29
  440. package/lib/types/typography/stories/typography.stories.d.ts.map +0 -1
  441. package/lib/types/wizard/stories/wizard.stories.d.ts +0 -31
  442. package/lib/types/wizard/stories/wizard.stories.d.ts.map +0 -1
@@ -1,89 +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 { SideNavigation } from '../index';
22
- import { SideNavBadges, SideNavBadgesSrc, SideNavCompact, SideNavCompactSrc, SideNavDefault, SideNavDefaultSrc, SideNavSecondary, SideNavSecondarySrc, } from '.';
23
- const componentMeta = {
24
- component: SideNavigation,
25
- id: 'components-side-navigation',
26
- parameters: {
27
- controls: { disable: true },
28
- },
29
- tags: ['docsPage'],
30
- title: 'Components/SideNavigation',
31
- };
32
- export default componentMeta;
33
- export const Default = {
34
- // @ts-expect-error - we don't use args
35
- args: {},
36
- parameters: {
37
- docs: {
38
- source: {
39
- code: SideNavDefaultSrc,
40
- language: 'tsx',
41
- type: 'code',
42
- },
43
- },
44
- },
45
- render: SideNavDefault,
46
- };
47
- export const Compact = {
48
- // @ts-expect-error - we don't use args
49
- args: {},
50
- parameters: {
51
- docs: {
52
- source: {
53
- code: SideNavCompactSrc,
54
- language: 'tsx',
55
- type: 'code',
56
- },
57
- },
58
- },
59
- render: SideNavCompact,
60
- };
61
- export const WithSecondaryNav = {
62
- // @ts-expect-error - we don't use args
63
- args: {},
64
- parameters: {
65
- docs: {
66
- source: {
67
- code: SideNavSecondarySrc,
68
- language: 'tsx',
69
- type: 'code',
70
- },
71
- },
72
- },
73
- render: SideNavSecondary,
74
- };
75
- export const WithBadges = {
76
- // @ts-expect-error - we don't use args
77
- args: {},
78
- parameters: {
79
- docs: {
80
- source: {
81
- code: SideNavBadgesSrc,
82
- language: 'tsx',
83
- type: 'code',
84
- },
85
- },
86
- },
87
- render: SideNavBadges,
88
- };
89
- //# sourceMappingURL=side-nav.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"side-nav.stories.js","sourceRoot":"","sources":["../../../../src/side-navigation/stories/side-nav.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,cAAc;IACzB,EAAE,EA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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 { SideNavigation } from '../index';\nimport {\n SideNavBadges,\n SideNavBadgesSrc,\n SideNavCompact,\n SideNavCompactSrc,\n SideNavDefault,\n SideNavDefaultSrc,\n SideNavSecondary,\n SideNavSecondarySrc,\n} from '.';\n\nconst componentMeta = {\n component: SideNavigation,\n id: 'components-side-navigation',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/SideNavigation',\n} satisfies Meta<typeof SideNavigation>;\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n // @ts-expect-error - we don't use args\n args: {},\n parameters: {\n docs: {\n source: {\n code: SideNavDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SideNavDefault,\n};\n\nexport const Compact: Story = {\n // @ts-expect-error - we don't use args\n args: {},\n parameters: {\n docs: {\n source: {\n code: SideNavCompactSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SideNavCompact,\n};\n\nexport const WithSecondaryNav: Story = {\n // @ts-expect-error - we don't use args\n args: {},\n parameters: {\n docs: {\n source: {\n code: SideNavSecondarySrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SideNavSecondary,\n};\n\nexport const WithBadges: Story = {\n // @ts-expect-error - we don't use args\n args: {},\n parameters: {\n docs: {\n source: {\n code: SideNavBadgesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SideNavBadges,\n};\n"]}
@@ -1,134 +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 { Skeleton } from '../../index';
23
- import { SkeletonCircular, SkeletonCircularSrc, SkeletonDefault, SkeletonDefaultSrc, SkeletonFullExample, SkeletonFullExampleSrc, SkeletonInheritHeight, SkeletonInheritHeightSrc, SkeletonInheritWidth, SkeletonInheritWidthSrc, } from '.';
24
- const componentMeta = {
25
- component: Skeleton,
26
- id: 'components-skeleton',
27
- parameters: {
28
- controls: { disable: true },
29
- },
30
- tags: ['docsPage'],
31
- title: 'Components/Skeleton',
32
- };
33
- export default componentMeta;
34
- export const Default = {
35
- args: {
36
- children: undefined,
37
- height: undefined,
38
- isLoading: true,
39
- onBackground: 'default',
40
- shape: 'rectangular',
41
- width: undefined,
42
- },
43
- parameters: {
44
- docs: {
45
- source: {
46
- code: SkeletonDefaultSrc,
47
- language: 'tsx',
48
- type: 'code',
49
- },
50
- },
51
- },
52
- render: SkeletonDefault,
53
- };
54
- export const Circular = {
55
- args: {
56
- children: undefined,
57
- height: undefined,
58
- isLoading: true,
59
- onBackground: 'default',
60
- shape: 'circular',
61
- width: undefined,
62
- },
63
- parameters: {
64
- docs: {
65
- source: {
66
- code: SkeletonCircularSrc,
67
- language: 'tsx',
68
- type: 'code',
69
- },
70
- },
71
- },
72
- render: SkeletonCircular,
73
- };
74
- export const InheritWidth = {
75
- args: {
76
- children: undefined,
77
- height: undefined,
78
- isLoading: true,
79
- onBackground: 'default',
80
- shape: 'rectangular',
81
- width: undefined,
82
- },
83
- parameters: {
84
- docs: {
85
- source: {
86
- code: SkeletonInheritWidthSrc,
87
- language: 'tsx',
88
- type: 'code',
89
- },
90
- },
91
- },
92
- render: SkeletonInheritWidth,
93
- };
94
- export const InheritHeight = {
95
- args: {
96
- children: undefined,
97
- height: undefined,
98
- isLoading: true,
99
- onBackground: 'default',
100
- shape: 'rectangular',
101
- width: undefined,
102
- },
103
- parameters: {
104
- docs: {
105
- source: {
106
- code: SkeletonInheritHeightSrc,
107
- language: 'tsx',
108
- type: 'code',
109
- },
110
- },
111
- },
112
- render: SkeletonInheritHeight,
113
- };
114
- export const FullExample = {
115
- args: {
116
- children: undefined,
117
- height: undefined,
118
- isLoading: true,
119
- onBackground: 'default',
120
- shape: 'rectangular',
121
- width: undefined,
122
- },
123
- parameters: {
124
- docs: {
125
- source: {
126
- code: SkeletonFullExampleSrc,
127
- language: 'tsx',
128
- type: 'code',
129
- },
130
- },
131
- },
132
- render: SkeletonFullExample,
133
- };
134
- //# sourceMappingURL=skeleton.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skeleton.stories.js","sourceRoot":"","sources":["../../../../src/skeleton/stories/skeleton.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,QAAQ;IACnB,EAAE,EAAE,qBAAqB;IACzB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE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;KACF;IACD,MAAM,EAAE,oBAAoB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE;QACJ,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,SAAS;QACvB,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,SAAS;KACjB;IACD,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,qBAAqB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE;QACJ,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,SAAS;QACvB,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,SAAS;KACjB;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,sBAAsB;gBAC5B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,mBAAmB;CAC5B,CAAC","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 { Skeleton } from '../../index';\nimport {\n SkeletonCircular,\n SkeletonCircularSrc,\n SkeletonDefault,\n SkeletonDefaultSrc,\n SkeletonFullExample,\n SkeletonFullExampleSrc,\n SkeletonInheritHeight,\n SkeletonInheritHeightSrc,\n SkeletonInheritWidth,\n SkeletonInheritWidthSrc,\n} from '.';\n\nconst componentMeta = {\n component: Skeleton,\n id: 'components-skeleton',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/Skeleton',\n} satisfies Meta<typeof Skeleton>;\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {\n children: undefined,\n height: undefined,\n isLoading: true,\n onBackground: 'default',\n shape: 'rectangular',\n width: undefined,\n },\n parameters: {\n docs: {\n source: {\n code: SkeletonDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SkeletonDefault,\n};\n\nexport const Circular: Story = {\n args: {\n children: undefined,\n height: undefined,\n isLoading: true,\n onBackground: 'default',\n shape: 'circular',\n width: undefined,\n },\n parameters: {\n docs: {\n source: {\n code: SkeletonCircularSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SkeletonCircular,\n};\n\nexport const InheritWidth: Story = {\n args: {\n children: undefined,\n height: undefined,\n isLoading: true,\n onBackground: 'default',\n shape: 'rectangular',\n width: undefined,\n },\n parameters: {\n docs: {\n source: {\n code: SkeletonInheritWidthSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SkeletonInheritWidth,\n};\n\nexport const InheritHeight: Story = {\n args: {\n children: undefined,\n height: undefined,\n isLoading: true,\n onBackground: 'default',\n shape: 'rectangular',\n width: undefined,\n },\n parameters: {\n docs: {\n source: {\n code: SkeletonInheritHeightSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SkeletonInheritHeight,\n};\n\nexport const FullExample: Story = {\n args: {\n children: undefined,\n height: undefined,\n isLoading: true,\n onBackground: 'default',\n shape: 'rectangular',\n width: undefined,\n },\n parameters: {\n docs: {\n source: {\n code: SkeletonFullExampleSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: SkeletonFullExample,\n};\n"]}
@@ -1,149 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- *
4
- * Copyright (c) "Neo4j"
5
- * Neo4j Sweden AB [http://neo4j.com]
6
- *
7
- * This file is part of Neo4j.
8
- *
9
- * Neo4j is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, either version 3 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- */
22
- import { Slider } from '@neo4j-ndl/react';
23
- import { SliderCustomStepLengthDemo, SliderCustomStepLengthSource, SliderDefaultDemo, SliderDefaultSource, SliderDisabledDemo, SliderDisabledSource, SliderRangeDemo, SliderRangeSource, SliderShowStepsDemo, SliderShowStepsSource, SliderShowValuesDemo, SliderShowValuesSource, SliderSingleControlledDemo, SliderSingleControlledSource, SliderSingleDemo, SliderSingleSource, } from '.';
24
- const componentMeta = {
25
- component: Slider,
26
- decorators: [
27
- (Story) => (_jsx("div", { className: "n-mt-5", children: _jsx(Story, {}) })),
28
- ],
29
- id: 'components-slider',
30
- parameters: {
31
- controls: { disable: true },
32
- },
33
- tags: ['docsPage'],
34
- title: 'Components/Slider',
35
- };
36
- export default componentMeta;
37
- export const Default = {
38
- // @ts-expect-error The args from the full story are not actually used but we get a type issue here
39
- args: {},
40
- parameters: {
41
- docs: {
42
- source: {
43
- code: SliderDefaultSource,
44
- language: 'tsx',
45
- type: 'code',
46
- },
47
- },
48
- },
49
- render: () => _jsx(SliderDefaultDemo, {}),
50
- };
51
- export const Single = {
52
- // @ts-expect-error The args from the full story are not actually used but we get a type issue here
53
- args: {},
54
- parameters: {
55
- docs: {
56
- source: {
57
- code: SliderSingleSource,
58
- language: 'tsx',
59
- type: 'code',
60
- },
61
- },
62
- },
63
- render: () => _jsx(SliderSingleDemo, {}),
64
- };
65
- export const Range = {
66
- // @ts-expect-error The args from the full story are not actually used but we get a type issue here
67
- args: {},
68
- parameters: {
69
- docs: {
70
- source: {
71
- code: SliderRangeSource,
72
- language: 'tsx',
73
- type: 'code',
74
- },
75
- },
76
- },
77
- render: () => _jsx(SliderRangeDemo, {}),
78
- };
79
- export const SingleControlled = {
80
- // @ts-expect-error The args from the full story are not actually used but we get a type issue here
81
- args: {},
82
- parameters: {
83
- docs: {
84
- source: {
85
- code: SliderSingleControlledSource,
86
- language: 'tsx',
87
- type: 'code',
88
- },
89
- },
90
- },
91
- render: () => _jsx(SliderSingleControlledDemo, {}),
92
- };
93
- export const Disabled = {
94
- // @ts-expect-error The args from the full story are not actually used but we get a type issue here
95
- args: {},
96
- parameters: {
97
- docs: {
98
- source: {
99
- code: SliderDisabledSource,
100
- language: 'tsx',
101
- type: 'code',
102
- },
103
- },
104
- },
105
- render: () => _jsx(SliderDisabledDemo, {}),
106
- };
107
- export const ShowSteps = {
108
- // @ts-expect-error The args from the full story are not actually used but we get a type issue here
109
- args: {},
110
- parameters: {
111
- docs: {
112
- source: {
113
- code: SliderShowStepsSource,
114
- language: 'tsx',
115
- type: 'code',
116
- },
117
- },
118
- },
119
- render: () => _jsx(SliderShowStepsDemo, {}),
120
- };
121
- export const ShowValues = {
122
- // @ts-expect-error The args from the full story are not actually used but we get a type issue here
123
- args: {},
124
- parameters: {
125
- docs: {
126
- source: {
127
- code: SliderShowValuesSource,
128
- language: 'tsx',
129
- type: 'code',
130
- },
131
- },
132
- },
133
- render: () => _jsx(SliderShowValuesDemo, {}),
134
- };
135
- export const CustomStepLength = {
136
- // @ts-expect-error The args from the full story are not actually used but we get a type issue here
137
- args: {},
138
- parameters: {
139
- docs: {
140
- source: {
141
- code: SliderCustomStepLengthSource,
142
- language: 'tsx',
143
- type: 'code',
144
- },
145
- },
146
- },
147
- render: () => _jsx(SliderCustomStepLengthDemo, {}),
148
- };
149
- //# 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;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,4BAA4B,EAC5B,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAwB;IACzC,SAAS,EAAE,MAAM;IACjB,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,QAAQ,YACrB,KAAC,KAAK,KAAG,GACL,CACP;KACF;IACD,EAAE,EAAE,mBAAmB;IACvB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,mBAAmB;CACG,CAAC;AAEhC,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,mBAAmB;gBACzB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,GA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IAC9B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,qBAAqB;gBAC3B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,mBAAmB,KAAG;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,sBAAsB;gBAC5B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,oBAAoB,KAAG;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACrC,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,4BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,0BAA0B,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,172 +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 isChromatic from 'chromatic';
24
- import { Spotlight, SpotlightProvider } from '../../index';
25
- import { SpotlightFixedPositioning, SpotlightFixedPositioningSrc, SpotlightInDialog, SpotlightInDialogSrc, SpotlightInSideNav, SpotlightInSideNavSrc, SpotlightOnTabs, SpotlightOnTabsSrc, SpotlightTour, SpotlightTourSrc, SpotlightWithIcon, SpotlightWithIconSrc, SpotlightWithImage, SpotlightWithImageSrc, SpotlightWithLabel, SpotlightWithLabelSrc, SpotlightWithPointer, SpotlightWithPointerSrc, } from '.';
26
- const componentMeta = {
27
- component: Spotlight,
28
- decorators: [
29
- (StoryFn) => (_jsx(SpotlightProvider, { hasOverlay: true, children: _jsx(StoryFn, {}) })),
30
- ],
31
- id: 'components-spotlight',
32
- parameters: {
33
- controls: { disable: true },
34
- },
35
- tags: ['docsPage'],
36
- title: 'Components/Spotlight',
37
- };
38
- export default componentMeta;
39
- export const WithLabel = {
40
- args: {
41
- isChromatic: isChromatic(),
42
- },
43
- parameters: {
44
- docs: {
45
- source: {
46
- code: SpotlightWithLabelSrc,
47
- language: 'tsx',
48
- type: 'code',
49
- },
50
- },
51
- },
52
- render: SpotlightWithLabel,
53
- };
54
- export const WithIcon = {
55
- args: {
56
- isChromatic: isChromatic(),
57
- },
58
- parameters: {
59
- docs: {
60
- source: {
61
- code: SpotlightWithIconSrc,
62
- language: 'tsx',
63
- type: 'code',
64
- },
65
- },
66
- },
67
- render: SpotlightWithIcon,
68
- };
69
- export const WithImage = {
70
- args: {
71
- isChromatic: isChromatic(),
72
- },
73
- parameters: {
74
- docs: {
75
- source: {
76
- code: SpotlightWithImageSrc,
77
- language: 'tsx',
78
- type: 'code',
79
- },
80
- },
81
- },
82
- render: SpotlightWithImage,
83
- };
84
- export const WithPointerIndicator = {
85
- args: {
86
- isChromatic: isChromatic(),
87
- },
88
- parameters: {
89
- docs: {
90
- source: {
91
- code: SpotlightWithPointerSrc,
92
- language: 'tsx',
93
- type: 'code',
94
- },
95
- },
96
- },
97
- render: SpotlightWithPointer,
98
- };
99
- export const Tour = {
100
- args: {},
101
- parameters: {
102
- docs: {
103
- source: {
104
- code: SpotlightTourSrc,
105
- language: 'tsx',
106
- type: 'code',
107
- },
108
- },
109
- },
110
- render: SpotlightTour,
111
- };
112
- export const InSideNav = {
113
- args: {
114
- isChromatic: isChromatic(),
115
- },
116
- parameters: {
117
- docs: {
118
- source: {
119
- code: SpotlightInSideNavSrc,
120
- language: 'tsx',
121
- type: 'code',
122
- },
123
- },
124
- },
125
- render: SpotlightInSideNav,
126
- };
127
- export const TargetInDialog = {
128
- args: {
129
- isChromatic: isChromatic(),
130
- },
131
- parameters: {
132
- docs: {
133
- source: {
134
- code: SpotlightInDialogSrc,
135
- language: 'tsx',
136
- type: 'code',
137
- },
138
- },
139
- },
140
- render: SpotlightInDialog,
141
- };
142
- export const FixedPositioning = {
143
- args: {
144
- isChromatic: isChromatic(),
145
- },
146
- parameters: {
147
- docs: {
148
- source: {
149
- code: SpotlightFixedPositioningSrc,
150
- language: 'tsx',
151
- type: 'code',
152
- },
153
- },
154
- },
155
- render: SpotlightFixedPositioning,
156
- };
157
- export const OnTabs = {
158
- args: {
159
- isChromatic: isChromatic(),
160
- },
161
- parameters: {
162
- docs: {
163
- source: {
164
- code: SpotlightOnTabsSrc,
165
- language: 'tsx',
166
- type: 'code',
167
- },
168
- },
169
- },
170
- render: SpotlightOnTabs,
171
- };
172
- //# 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,OAAO,WAAW,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,GACxB,MA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AAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,yBAAyB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE;QACJ,WAAW,EAAE,WAAW,EAAE;KAC3B;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kBAAkB;gBACxB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,eAAe;CACxB,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\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,51 +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 { StatusIndicator } from '../../index';
24
- import { StatusIndicatorVariants, StatusIndicatorVariantsSource } from '.';
25
- const componentMeta = {
26
- component: StatusIndicator,
27
- decorators: [
28
- (Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
29
- ],
30
- id: 'components-status-indicator',
31
- parameters: {
32
- controls: { disable: true },
33
- },
34
- tags: ['docsPage'],
35
- title: 'Components/StatusIndicator',
36
- };
37
- export default componentMeta;
38
- export const Variants = {
39
- args: {},
40
- parameters: {
41
- docs: {
42
- source: {
43
- code: StatusIndicatorVariantsSource,
44
- language: 'tsx',
45
- type: 'code',
46
- },
47
- },
48
- },
49
- render: StatusIndicatorVariants,
50
- };
51
- //# sourceMappingURL=status-indicator.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"status-indicator.stories.js","sourceRoot":"","sources":["../../../../src/status-indicator/stories/status-indicator.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,GAAG,CAAC;AAE3E,MAAM,aAAa,GAAiC;IAClD,SAAS,EAAE,eAAe;IAC1B,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,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,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,6BAA6B;gBACnC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,uBAAuB;CAChC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\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"]}