@neo4j-ndl/react 3.8.34 → 3.9.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 (487) hide show
  1. package/lib/cjs/avatar/stories/avatar-shapes.story.js +1 -1
  2. package/lib/cjs/avatar/stories/avatar-shapes.story.js.map +1 -1
  3. package/lib/cjs/avatar/stories/avatar-sizes.story.js +1 -1
  4. package/lib/cjs/avatar/stories/avatar-sizes.story.js.map +1 -1
  5. package/lib/cjs/avatar/stories/avatar-statuses.story.js +1 -1
  6. package/lib/cjs/avatar/stories/avatar-statuses.story.js.map +1 -1
  7. package/lib/cjs/avatar/stories/avatar-types.story.js +1 -1
  8. package/lib/cjs/avatar/stories/avatar-types.story.js.map +1 -1
  9. package/lib/cjs/avatar/stories/avatar.stories.js +12 -1
  10. package/lib/cjs/avatar/stories/avatar.stories.js.map +1 -1
  11. package/lib/cjs/callout/stories/callout-default.story.js +30 -0
  12. package/lib/cjs/callout/stories/callout-default.story.js.map +1 -0
  13. package/lib/cjs/callout/stories/callout-full.story.js +30 -0
  14. package/lib/cjs/callout/stories/callout-full.story.js.map +1 -0
  15. package/lib/cjs/callout/stories/callout-types.story.js +30 -0
  16. package/lib/cjs/callout/stories/callout-types.story.js.map +1 -0
  17. package/lib/cjs/callout/stories/callout-with-children.story.js +30 -0
  18. package/lib/cjs/callout/stories/callout-with-children.story.js.map +1 -0
  19. package/lib/cjs/callout/stories/callout-without-header.story.js +30 -0
  20. package/lib/cjs/callout/stories/callout-without-header.story.js.map +1 -0
  21. package/lib/cjs/callout/stories/callout.stories.js +101 -0
  22. package/lib/cjs/callout/stories/callout.stories.js.map +1 -0
  23. package/lib/cjs/callout/stories/index.js +48 -0
  24. package/lib/cjs/callout/stories/index.js.map +1 -0
  25. package/lib/cjs/checkbox/stories/checkbox-checkedByDefault.story.js +30 -0
  26. package/lib/cjs/checkbox/stories/checkbox-checkedByDefault.story.js.map +1 -0
  27. package/lib/cjs/checkbox/stories/checkbox-default.story.js +30 -0
  28. package/lib/cjs/checkbox/stories/checkbox-default.story.js.map +1 -0
  29. package/lib/cjs/checkbox/stories/checkbox-disabled.story.js +30 -0
  30. package/lib/cjs/checkbox/stories/checkbox-disabled.story.js.map +1 -0
  31. package/lib/cjs/checkbox/stories/checkbox-full.story.js +39 -0
  32. package/lib/cjs/checkbox/stories/checkbox-full.story.js.map +1 -0
  33. package/lib/cjs/checkbox/stories/checkbox-hasLabelBefore.story.js +30 -0
  34. package/lib/cjs/checkbox/stories/checkbox-hasLabelBefore.story.js.map +1 -0
  35. package/lib/cjs/checkbox/stories/checkbox-indeterminate.story.js +33 -0
  36. package/lib/cjs/checkbox/stories/checkbox-indeterminate.story.js.map +1 -0
  37. package/lib/cjs/checkbox/stories/checkbox-no-label.story.js +30 -0
  38. package/lib/cjs/checkbox/stories/checkbox-no-label.story.js.map +1 -0
  39. package/lib/cjs/checkbox/stories/checkbox.stories.js +137 -0
  40. package/lib/cjs/checkbox/stories/checkbox.stories.js.map +1 -0
  41. package/lib/cjs/checkbox/stories/index.js +56 -0
  42. package/lib/cjs/checkbox/stories/index.js.map +1 -0
  43. package/lib/cjs/context-menu/ContextMenu.js +1 -1
  44. package/lib/cjs/context-menu/stories/context-menu-custom-items.story.js +33 -0
  45. package/lib/cjs/context-menu/stories/context-menu-custom-items.story.js.map +1 -0
  46. package/lib/cjs/context-menu/stories/context-menu-default.story.js +45 -0
  47. package/lib/cjs/context-menu/stories/context-menu-default.story.js.map +1 -0
  48. package/lib/cjs/context-menu/stories/context-menu-in-modal.story.js +38 -0
  49. package/lib/cjs/context-menu/stories/context-menu-in-modal.story.js.map +1 -0
  50. package/lib/cjs/context-menu/stories/context-menu-in-popover.story.js +34 -0
  51. package/lib/cjs/context-menu/stories/context-menu-in-popover.story.js.map +1 -0
  52. package/lib/cjs/context-menu/stories/context-menu-nested.story.js +34 -0
  53. package/lib/cjs/context-menu/stories/context-menu-nested.story.js.map +1 -0
  54. package/lib/cjs/context-menu/stories/context-menu-placements.story.js +45 -0
  55. package/lib/cjs/context-menu/stories/context-menu-placements.story.js.map +1 -0
  56. package/lib/cjs/context-menu/stories/context-menu-with-disabled-item.story.js +36 -0
  57. package/lib/cjs/context-menu/stories/context-menu-with-disabled-item.story.js.map +1 -0
  58. package/lib/cjs/context-menu/stories/context-menu-with-divider.story.js +36 -0
  59. package/lib/cjs/context-menu/stories/context-menu-with-divider.story.js.map +1 -0
  60. package/lib/cjs/context-menu/stories/context-menu-with-header.story.js +36 -0
  61. package/lib/cjs/context-menu/stories/context-menu-with-header.story.js.map +1 -0
  62. package/lib/cjs/context-menu/stories/context-menu-with-icon.story.js +34 -0
  63. package/lib/cjs/context-menu/stories/context-menu-with-icon.story.js.map +1 -0
  64. package/lib/cjs/context-menu/stories/context-menu.stories.js +170 -0
  65. package/lib/cjs/context-menu/stories/context-menu.stories.js.map +1 -0
  66. package/lib/cjs/context-menu/stories/index.js +68 -0
  67. package/lib/cjs/context-menu/stories/index.js.map +1 -0
  68. package/lib/cjs/drawer/stories/drawer-full.story.js +36 -0
  69. package/lib/cjs/drawer/stories/drawer-full.story.js.map +1 -0
  70. package/lib/cjs/drawer/stories/drawer-not-closeable.story.js +33 -0
  71. package/lib/cjs/drawer/stories/drawer-not-closeable.story.js.map +1 -0
  72. package/lib/cjs/drawer/stories/drawer-overlay.story.js +33 -0
  73. package/lib/cjs/drawer/stories/drawer-overlay.story.js.map +1 -0
  74. package/lib/cjs/drawer/stories/drawer-portaled.story.js +38 -0
  75. package/lib/cjs/drawer/stories/drawer-portaled.story.js.map +1 -0
  76. package/lib/cjs/drawer/stories/drawer-push.story.js +32 -0
  77. package/lib/cjs/drawer/stories/drawer-push.story.js.map +1 -0
  78. package/lib/cjs/drawer/stories/drawer-resizable.story.js +36 -0
  79. package/lib/cjs/drawer/stories/drawer-resizable.story.js.map +1 -0
  80. package/lib/cjs/drawer/stories/drawer-right-side.story.js +33 -0
  81. package/lib/cjs/drawer/stories/drawer-right-side.story.js.map +1 -0
  82. package/lib/cjs/drawer/stories/drawer-scrollable.story.js +33 -0
  83. package/lib/cjs/drawer/stories/drawer-scrollable.story.js.map +1 -0
  84. package/lib/cjs/drawer/stories/drawer.stories.js +150 -0
  85. package/lib/cjs/drawer/stories/drawer.stories.js.map +1 -0
  86. package/lib/cjs/drawer/stories/index.js +60 -0
  87. package/lib/cjs/drawer/stories/index.js.map +1 -0
  88. package/lib/cjs/graph-label/stories/graph-label-color.story.js +30 -0
  89. package/lib/cjs/graph-label/stories/graph-label-color.story.js.map +1 -0
  90. package/lib/cjs/graph-label/stories/graph-label-disabled.story.js +30 -0
  91. package/lib/cjs/graph-label/stories/graph-label-disabled.story.js.map +1 -0
  92. package/lib/cjs/graph-label/stories/graph-label-fluid.story.js +30 -0
  93. package/lib/cjs/graph-label/stories/graph-label-fluid.story.js.map +1 -0
  94. package/lib/cjs/graph-label/stories/graph-label-non-interactive.story.js +30 -0
  95. package/lib/cjs/graph-label/stories/graph-label-non-interactive.story.js.map +1 -0
  96. package/lib/cjs/graph-label/stories/graph-label-selected.story.js +30 -0
  97. package/lib/cjs/graph-label/stories/graph-label-selected.story.js.map +1 -0
  98. package/lib/cjs/graph-label/stories/graph-label-sizes.story.js +30 -0
  99. package/lib/cjs/graph-label/stories/graph-label-sizes.story.js.map +1 -0
  100. package/lib/cjs/graph-label/stories/graph-label-types.story.js +30 -0
  101. package/lib/cjs/graph-label/stories/graph-label-types.story.js.map +1 -0
  102. package/lib/cjs/graph-label/stories/graph-label.stories.js +132 -0
  103. package/lib/cjs/graph-label/stories/graph-label.stories.js.map +1 -0
  104. package/lib/cjs/graph-label/stories/index.js +56 -0
  105. package/lib/cjs/graph-label/stories/index.js.map +1 -0
  106. package/lib/cjs/label/stories/index.js +44 -0
  107. package/lib/cjs/label/stories/index.js.map +1 -0
  108. package/lib/cjs/label/stories/label-colors.story.js +30 -0
  109. package/lib/cjs/label/stories/label-colors.story.js.map +1 -0
  110. package/lib/cjs/label/stories/label-default.story.js +30 -0
  111. package/lib/cjs/label/stories/label-default.story.js.map +1 -0
  112. package/lib/cjs/label/stories/label-fills.story.js +30 -0
  113. package/lib/cjs/label/stories/label-fills.story.js.map +1 -0
  114. package/lib/cjs/label/stories/label-with-icons.story.js +30 -0
  115. package/lib/cjs/label/stories/label-with-icons.story.js.map +1 -0
  116. package/lib/cjs/label/stories/label.stories.js +93 -0
  117. package/lib/cjs/label/stories/label.stories.js.map +1 -0
  118. package/lib/cjs/loading-bar/stories/index.js +36 -0
  119. package/lib/cjs/loading-bar/stories/index.js.map +1 -0
  120. package/lib/cjs/loading-bar/stories/loading-bar-default.story.js +30 -0
  121. package/lib/cjs/loading-bar/stories/loading-bar-default.story.js.map +1 -0
  122. package/lib/cjs/loading-bar/stories/loading-bar-with-rail.story.js +30 -0
  123. package/lib/cjs/loading-bar/stories/loading-bar-with-rail.story.js.map +1 -0
  124. package/lib/cjs/loading-bar/stories/loading-bar.stories.js +67 -0
  125. package/lib/cjs/loading-bar/stories/loading-bar.stories.js.map +1 -0
  126. package/lib/cjs/loading-spinner/stories/index.js +36 -0
  127. package/lib/cjs/loading-spinner/stories/index.js.map +1 -0
  128. package/lib/cjs/loading-spinner/stories/loading-spinner-default.story.js +30 -0
  129. package/lib/cjs/loading-spinner/stories/loading-spinner-default.story.js.map +1 -0
  130. package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js +30 -0
  131. package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -0
  132. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js +67 -0
  133. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js.map +1 -0
  134. package/lib/cjs/segmented-control/stories/index.js +44 -0
  135. package/lib/cjs/segmented-control/stories/index.js.map +1 -0
  136. package/lib/cjs/segmented-control/stories/segmented-control-default.story.js +32 -0
  137. package/lib/cjs/segmented-control/stories/segmented-control-default.story.js.map +1 -0
  138. package/lib/cjs/segmented-control/stories/segmented-control-floating.story.js +32 -0
  139. package/lib/cjs/segmented-control/stories/segmented-control-floating.story.js.map +1 -0
  140. package/lib/cjs/segmented-control/stories/segmented-control-only-icons.story.js +33 -0
  141. package/lib/cjs/segmented-control/stories/segmented-control-only-icons.story.js.map +1 -0
  142. package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js +33 -0
  143. package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js.map +1 -0
  144. package/lib/cjs/segmented-control/stories/segmented-control.stories.js +93 -0
  145. package/lib/cjs/segmented-control/stories/segmented-control.stories.js.map +1 -0
  146. package/lib/cjs/slider/stories/index.js +25 -5
  147. package/lib/cjs/slider/stories/index.js.map +1 -1
  148. package/lib/cjs/slider/stories/slider-custom-step-length.story.js +31 -0
  149. package/lib/cjs/slider/stories/slider-custom-step-length.story.js.map +1 -0
  150. package/lib/cjs/slider/stories/slider-default.story.js +31 -0
  151. package/lib/cjs/slider/stories/slider-default.story.js.map +1 -0
  152. package/lib/cjs/slider/stories/slider-disabled.story.js +31 -0
  153. package/lib/cjs/slider/stories/slider-disabled.story.js.map +1 -0
  154. package/lib/cjs/slider/stories/slider-range.story.js +2 -2
  155. package/lib/cjs/slider/stories/slider-range.story.js.map +1 -1
  156. package/lib/cjs/slider/stories/slider-show-steps.story.js +31 -0
  157. package/lib/cjs/slider/stories/slider-show-steps.story.js.map +1 -0
  158. package/lib/cjs/slider/stories/slider-show-values.story.js +31 -0
  159. package/lib/cjs/slider/stories/slider-show-values.story.js.map +1 -0
  160. package/lib/cjs/slider/stories/slider-single-controlled.story.js +49 -6
  161. package/lib/cjs/slider/stories/slider-single-controlled.story.js.map +1 -1
  162. package/lib/cjs/slider/stories/slider-single.story.js +2 -2
  163. package/lib/cjs/slider/stories/slider-single.story.js.map +1 -1
  164. package/lib/cjs/slider/stories/slider.stories.js +76 -7
  165. package/lib/cjs/slider/stories/slider.stories.js.map +1 -1
  166. package/lib/cjs/status-indicator/stories/index.js +32 -0
  167. package/lib/cjs/status-indicator/stories/index.js.map +1 -0
  168. package/lib/cjs/status-indicator/stories/status-indicator-types.story.js +30 -0
  169. package/lib/cjs/status-indicator/stories/status-indicator-types.story.js.map +1 -0
  170. package/lib/cjs/status-indicator/stories/status-indicator.stories.js +54 -0
  171. package/lib/cjs/status-indicator/stories/status-indicator.stories.js.map +1 -0
  172. package/lib/cjs/toast/Toast.js +5 -1
  173. package/lib/cjs/toast/Toast.js.map +1 -1
  174. package/lib/cjs/toast/ToastControlled.js +87 -0
  175. package/lib/cjs/toast/ToastControlled.js.map +1 -0
  176. package/lib/cjs/toast/index.js +1 -0
  177. package/lib/cjs/toast/index.js.map +1 -1
  178. package/lib/cjs/toast/stories/index.js +60 -0
  179. package/lib/cjs/toast/stories/index.js.map +1 -0
  180. package/lib/cjs/toast/stories/toast-action-story.js +38 -0
  181. package/lib/cjs/toast/stories/toast-action-story.js.map +1 -0
  182. package/lib/cjs/toast/stories/toast-closeable-story.js +37 -0
  183. package/lib/cjs/toast/stories/toast-closeable-story.js.map +1 -0
  184. package/lib/cjs/toast/stories/toast-controlled-story.js +44 -0
  185. package/lib/cjs/toast/stories/toast-controlled-story.js.map +1 -0
  186. package/lib/cjs/toast/stories/toast-custom-story.js +32 -0
  187. package/lib/cjs/toast/stories/toast-custom-story.js.map +1 -0
  188. package/lib/cjs/toast/stories/toast-danger-story.js +32 -0
  189. package/lib/cjs/toast/stories/toast-danger-story.js.map +1 -0
  190. package/lib/cjs/toast/stories/toast-neutral-story.js +32 -0
  191. package/lib/cjs/toast/stories/toast-neutral-story.js.map +1 -0
  192. package/lib/cjs/toast/stories/toast-progress-bar.js +49 -0
  193. package/lib/cjs/toast/stories/toast-progress-bar.js.map +1 -0
  194. package/lib/cjs/toast/stories/toast-success-story.js +32 -0
  195. package/lib/cjs/toast/stories/toast-success-story.js.map +1 -0
  196. package/lib/cjs/toast/stories/toast.stories.js +137 -0
  197. package/lib/cjs/toast/stories/toast.stories.js.map +1 -0
  198. package/lib/esm/avatar/stories/avatar-shapes.story.js +1 -1
  199. package/lib/esm/avatar/stories/avatar-shapes.story.js.map +1 -1
  200. package/lib/esm/avatar/stories/avatar-sizes.story.js +1 -1
  201. package/lib/esm/avatar/stories/avatar-sizes.story.js.map +1 -1
  202. package/lib/esm/avatar/stories/avatar-statuses.story.js +1 -1
  203. package/lib/esm/avatar/stories/avatar-statuses.story.js.map +1 -1
  204. package/lib/esm/avatar/stories/avatar-types.story.js +1 -1
  205. package/lib/esm/avatar/stories/avatar-types.story.js.map +1 -1
  206. package/lib/esm/avatar/stories/avatar.stories.js +11 -0
  207. package/lib/esm/avatar/stories/avatar.stories.js.map +1 -1
  208. package/lib/esm/callout/stories/callout-default.story.js +28 -0
  209. package/lib/esm/callout/stories/callout-default.story.js.map +1 -0
  210. package/lib/esm/callout/stories/callout-full.story.js +28 -0
  211. package/lib/esm/callout/stories/callout-full.story.js.map +1 -0
  212. package/lib/esm/callout/stories/callout-types.story.js +28 -0
  213. package/lib/esm/callout/stories/callout-types.story.js.map +1 -0
  214. package/lib/esm/callout/stories/callout-with-children.story.js +28 -0
  215. package/lib/esm/callout/stories/callout-with-children.story.js.map +1 -0
  216. package/lib/esm/callout/stories/callout-without-header.story.js +28 -0
  217. package/lib/esm/callout/stories/callout-without-header.story.js.map +1 -0
  218. package/lib/esm/callout/stories/callout.stories.js +98 -0
  219. package/lib/esm/callout/stories/callout.stories.js.map +1 -0
  220. package/lib/esm/callout/stories/index.js +37 -0
  221. package/lib/esm/callout/stories/index.js.map +1 -0
  222. package/lib/esm/checkbox/stories/checkbox-checkedByDefault.story.js +28 -0
  223. package/lib/esm/checkbox/stories/checkbox-checkedByDefault.story.js.map +1 -0
  224. package/lib/esm/checkbox/stories/checkbox-default.story.js +28 -0
  225. package/lib/esm/checkbox/stories/checkbox-default.story.js.map +1 -0
  226. package/lib/esm/checkbox/stories/checkbox-disabled.story.js +28 -0
  227. package/lib/esm/checkbox/stories/checkbox-disabled.story.js.map +1 -0
  228. package/lib/esm/checkbox/stories/checkbox-full.story.js +37 -0
  229. package/lib/esm/checkbox/stories/checkbox-full.story.js.map +1 -0
  230. package/lib/esm/checkbox/stories/checkbox-hasLabelBefore.story.js +28 -0
  231. package/lib/esm/checkbox/stories/checkbox-hasLabelBefore.story.js.map +1 -0
  232. package/lib/esm/checkbox/stories/checkbox-indeterminate.story.js +31 -0
  233. package/lib/esm/checkbox/stories/checkbox-indeterminate.story.js.map +1 -0
  234. package/lib/esm/checkbox/stories/checkbox-no-label.story.js +28 -0
  235. package/lib/esm/checkbox/stories/checkbox-no-label.story.js.map +1 -0
  236. package/lib/esm/checkbox/stories/checkbox.stories.js +134 -0
  237. package/lib/esm/checkbox/stories/checkbox.stories.js.map +1 -0
  238. package/lib/esm/checkbox/stories/index.js +43 -0
  239. package/lib/esm/checkbox/stories/index.js.map +1 -0
  240. package/lib/esm/context-menu/ContextMenu.js +1 -1
  241. package/lib/esm/context-menu/stories/context-menu-custom-items.story.js +31 -0
  242. package/lib/esm/context-menu/stories/context-menu-custom-items.story.js.map +1 -0
  243. package/lib/esm/context-menu/stories/context-menu-default.story.js +43 -0
  244. package/lib/esm/context-menu/stories/context-menu-default.story.js.map +1 -0
  245. package/lib/esm/context-menu/stories/context-menu-in-modal.story.js +36 -0
  246. package/lib/esm/context-menu/stories/context-menu-in-modal.story.js.map +1 -0
  247. package/lib/esm/context-menu/stories/context-menu-in-popover.story.js +32 -0
  248. package/lib/esm/context-menu/stories/context-menu-in-popover.story.js.map +1 -0
  249. package/lib/esm/context-menu/stories/context-menu-nested.story.js +32 -0
  250. package/lib/esm/context-menu/stories/context-menu-nested.story.js.map +1 -0
  251. package/lib/esm/context-menu/stories/context-menu-placements.story.js +43 -0
  252. package/lib/esm/context-menu/stories/context-menu-placements.story.js.map +1 -0
  253. package/lib/esm/context-menu/stories/context-menu-with-disabled-item.story.js +34 -0
  254. package/lib/esm/context-menu/stories/context-menu-with-disabled-item.story.js.map +1 -0
  255. package/lib/esm/context-menu/stories/context-menu-with-divider.story.js +34 -0
  256. package/lib/esm/context-menu/stories/context-menu-with-divider.story.js.map +1 -0
  257. package/lib/esm/context-menu/stories/context-menu-with-header.story.js +34 -0
  258. package/lib/esm/context-menu/stories/context-menu-with-header.story.js.map +1 -0
  259. package/lib/esm/context-menu/stories/context-menu-with-icon.story.js +32 -0
  260. package/lib/esm/context-menu/stories/context-menu-with-icon.story.js.map +1 -0
  261. package/lib/esm/context-menu/stories/context-menu.stories.js +167 -0
  262. package/lib/esm/context-menu/stories/context-menu.stories.js.map +1 -0
  263. package/lib/esm/context-menu/stories/index.js +52 -0
  264. package/lib/esm/context-menu/stories/index.js.map +1 -0
  265. package/lib/esm/drawer/stories/drawer-full.story.js +34 -0
  266. package/lib/esm/drawer/stories/drawer-full.story.js.map +1 -0
  267. package/lib/esm/drawer/stories/drawer-not-closeable.story.js +31 -0
  268. package/lib/esm/drawer/stories/drawer-not-closeable.story.js.map +1 -0
  269. package/lib/esm/drawer/stories/drawer-overlay.story.js +31 -0
  270. package/lib/esm/drawer/stories/drawer-overlay.story.js.map +1 -0
  271. package/lib/esm/drawer/stories/drawer-portaled.story.js +36 -0
  272. package/lib/esm/drawer/stories/drawer-portaled.story.js.map +1 -0
  273. package/lib/esm/drawer/stories/drawer-push.story.js +30 -0
  274. package/lib/esm/drawer/stories/drawer-push.story.js.map +1 -0
  275. package/lib/esm/drawer/stories/drawer-resizable.story.js +34 -0
  276. package/lib/esm/drawer/stories/drawer-resizable.story.js.map +1 -0
  277. package/lib/esm/drawer/stories/drawer-right-side.story.js +31 -0
  278. package/lib/esm/drawer/stories/drawer-right-side.story.js.map +1 -0
  279. package/lib/esm/drawer/stories/drawer-scrollable.story.js +31 -0
  280. package/lib/esm/drawer/stories/drawer-scrollable.story.js.map +1 -0
  281. package/lib/esm/drawer/stories/drawer.stories.js +147 -0
  282. package/lib/esm/drawer/stories/drawer.stories.js.map +1 -0
  283. package/lib/esm/drawer/stories/index.js +46 -0
  284. package/lib/esm/drawer/stories/index.js.map +1 -0
  285. package/lib/esm/graph-label/stories/graph-label-color.story.js +28 -0
  286. package/lib/esm/graph-label/stories/graph-label-color.story.js.map +1 -0
  287. package/lib/esm/graph-label/stories/graph-label-disabled.story.js +28 -0
  288. package/lib/esm/graph-label/stories/graph-label-disabled.story.js.map +1 -0
  289. package/lib/esm/graph-label/stories/graph-label-fluid.story.js +28 -0
  290. package/lib/esm/graph-label/stories/graph-label-fluid.story.js.map +1 -0
  291. package/lib/esm/graph-label/stories/graph-label-non-interactive.story.js +28 -0
  292. package/lib/esm/graph-label/stories/graph-label-non-interactive.story.js.map +1 -0
  293. package/lib/esm/graph-label/stories/graph-label-selected.story.js +28 -0
  294. package/lib/esm/graph-label/stories/graph-label-selected.story.js.map +1 -0
  295. package/lib/esm/graph-label/stories/graph-label-sizes.story.js +28 -0
  296. package/lib/esm/graph-label/stories/graph-label-sizes.story.js.map +1 -0
  297. package/lib/esm/graph-label/stories/graph-label-types.story.js +28 -0
  298. package/lib/esm/graph-label/stories/graph-label-types.story.js.map +1 -0
  299. package/lib/esm/graph-label/stories/graph-label.stories.js +129 -0
  300. package/lib/esm/graph-label/stories/graph-label.stories.js.map +1 -0
  301. package/lib/esm/graph-label/stories/index.js +43 -0
  302. package/lib/esm/graph-label/stories/index.js.map +1 -0
  303. package/lib/esm/label/stories/index.js +34 -0
  304. package/lib/esm/label/stories/index.js.map +1 -0
  305. package/lib/esm/label/stories/label-colors.story.js +28 -0
  306. package/lib/esm/label/stories/label-colors.story.js.map +1 -0
  307. package/lib/esm/label/stories/label-default.story.js +28 -0
  308. package/lib/esm/label/stories/label-default.story.js.map +1 -0
  309. package/lib/esm/label/stories/label-fills.story.js +28 -0
  310. package/lib/esm/label/stories/label-fills.story.js.map +1 -0
  311. package/lib/esm/label/stories/label-with-icons.story.js +28 -0
  312. package/lib/esm/label/stories/label-with-icons.story.js.map +1 -0
  313. package/lib/esm/label/stories/label.stories.js +90 -0
  314. package/lib/esm/label/stories/label.stories.js.map +1 -0
  315. package/lib/esm/loading-bar/stories/index.js +28 -0
  316. package/lib/esm/loading-bar/stories/index.js.map +1 -0
  317. package/lib/esm/loading-bar/stories/loading-bar-default.story.js +28 -0
  318. package/lib/esm/loading-bar/stories/loading-bar-default.story.js.map +1 -0
  319. package/lib/esm/loading-bar/stories/loading-bar-with-rail.story.js +28 -0
  320. package/lib/esm/loading-bar/stories/loading-bar-with-rail.story.js.map +1 -0
  321. package/lib/esm/loading-bar/stories/loading-bar.stories.js +64 -0
  322. package/lib/esm/loading-bar/stories/loading-bar.stories.js.map +1 -0
  323. package/lib/esm/loading-spinner/stories/index.js +28 -0
  324. package/lib/esm/loading-spinner/stories/index.js.map +1 -0
  325. package/lib/esm/loading-spinner/stories/loading-spinner-default.story.js +28 -0
  326. package/lib/esm/loading-spinner/stories/loading-spinner-default.story.js.map +1 -0
  327. package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js +28 -0
  328. package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -0
  329. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js +64 -0
  330. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js.map +1 -0
  331. package/lib/esm/segmented-control/stories/index.js +34 -0
  332. package/lib/esm/segmented-control/stories/index.js.map +1 -0
  333. package/lib/esm/segmented-control/stories/segmented-control-default.story.js +30 -0
  334. package/lib/esm/segmented-control/stories/segmented-control-default.story.js.map +1 -0
  335. package/lib/esm/segmented-control/stories/segmented-control-floating.story.js +30 -0
  336. package/lib/esm/segmented-control/stories/segmented-control-floating.story.js.map +1 -0
  337. package/lib/esm/segmented-control/stories/segmented-control-only-icons.story.js +31 -0
  338. package/lib/esm/segmented-control/stories/segmented-control-only-icons.story.js.map +1 -0
  339. package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js +31 -0
  340. package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js.map +1 -0
  341. package/lib/esm/segmented-control/stories/segmented-control.stories.js +90 -0
  342. package/lib/esm/segmented-control/stories/segmented-control.stories.js.map +1 -0
  343. package/lib/esm/slider/stories/index.js +15 -0
  344. package/lib/esm/slider/stories/index.js.map +1 -1
  345. package/lib/esm/slider/stories/slider-custom-step-length.story.js +29 -0
  346. package/lib/esm/slider/stories/slider-custom-step-length.story.js.map +1 -0
  347. package/lib/esm/slider/stories/slider-default.story.js +29 -0
  348. package/lib/esm/slider/stories/slider-default.story.js.map +1 -0
  349. package/lib/esm/slider/stories/slider-disabled.story.js +29 -0
  350. package/lib/esm/slider/stories/slider-disabled.story.js.map +1 -0
  351. package/lib/esm/slider/stories/slider-range.story.js +1 -1
  352. package/lib/esm/slider/stories/slider-range.story.js.map +1 -1
  353. package/lib/esm/slider/stories/slider-show-steps.story.js +29 -0
  354. package/lib/esm/slider/stories/slider-show-steps.story.js.map +1 -0
  355. package/lib/esm/slider/stories/slider-show-values.story.js +29 -0
  356. package/lib/esm/slider/stories/slider-show-values.story.js.map +1 -0
  357. package/lib/esm/slider/stories/slider-single-controlled.story.js +50 -7
  358. package/lib/esm/slider/stories/slider-single-controlled.story.js.map +1 -1
  359. package/lib/esm/slider/stories/slider-single.story.js +1 -1
  360. package/lib/esm/slider/stories/slider-single.story.js.map +1 -1
  361. package/lib/esm/slider/stories/slider.stories.js +73 -4
  362. package/lib/esm/slider/stories/slider.stories.js.map +1 -1
  363. package/lib/esm/status-indicator/stories/index.js +25 -0
  364. package/lib/esm/status-indicator/stories/index.js.map +1 -0
  365. package/lib/esm/status-indicator/stories/status-indicator-types.story.js +28 -0
  366. package/lib/esm/status-indicator/stories/status-indicator-types.story.js.map +1 -0
  367. package/lib/esm/status-indicator/stories/status-indicator.stories.js +51 -0
  368. package/lib/esm/status-indicator/stories/status-indicator.stories.js.map +1 -0
  369. package/lib/esm/toast/Toast.js +5 -1
  370. package/lib/esm/toast/Toast.js.map +1 -1
  371. package/lib/esm/toast/ToastControlled.js +83 -0
  372. package/lib/esm/toast/ToastControlled.js.map +1 -0
  373. package/lib/esm/toast/index.js +1 -0
  374. package/lib/esm/toast/index.js.map +1 -1
  375. package/lib/esm/toast/stories/index.js +46 -0
  376. package/lib/esm/toast/stories/index.js.map +1 -0
  377. package/lib/esm/toast/stories/toast-action-story.js +36 -0
  378. package/lib/esm/toast/stories/toast-action-story.js.map +1 -0
  379. package/lib/esm/toast/stories/toast-closeable-story.js +35 -0
  380. package/lib/esm/toast/stories/toast-closeable-story.js.map +1 -0
  381. package/lib/esm/toast/stories/toast-controlled-story.js +42 -0
  382. package/lib/esm/toast/stories/toast-controlled-story.js.map +1 -0
  383. package/lib/esm/toast/stories/toast-custom-story.js +30 -0
  384. package/lib/esm/toast/stories/toast-custom-story.js.map +1 -0
  385. package/lib/esm/toast/stories/toast-danger-story.js +30 -0
  386. package/lib/esm/toast/stories/toast-danger-story.js.map +1 -0
  387. package/lib/esm/toast/stories/toast-neutral-story.js +30 -0
  388. package/lib/esm/toast/stories/toast-neutral-story.js.map +1 -0
  389. package/lib/esm/toast/stories/toast-progress-bar.js +47 -0
  390. package/lib/esm/toast/stories/toast-progress-bar.js.map +1 -0
  391. package/lib/esm/toast/stories/toast-success-story.js +30 -0
  392. package/lib/esm/toast/stories/toast-success-story.js.map +1 -0
  393. package/lib/esm/toast/stories/toast.stories.js +134 -0
  394. package/lib/esm/toast/stories/toast.stories.js.map +1 -0
  395. package/lib/types/avatar/stories/avatar.stories.d.ts +3 -12
  396. package/lib/types/callout/stories/callout-default.story.d.ts +23 -0
  397. package/lib/types/callout/stories/callout-full.story.d.ts +23 -0
  398. package/lib/types/callout/stories/callout-types.story.d.ts +23 -0
  399. package/lib/types/callout/stories/callout-with-children.story.d.ts +23 -0
  400. package/lib/types/callout/stories/callout-without-header.story.d.ts +23 -0
  401. package/lib/types/callout/stories/callout.stories.d.ts +39 -0
  402. package/lib/types/callout/stories/index.d.ts +30 -0
  403. package/lib/types/checkbox/stories/checkbox-checkedByDefault.story.d.ts +23 -0
  404. package/lib/types/checkbox/stories/checkbox-default.story.d.ts +23 -0
  405. package/lib/types/checkbox/stories/checkbox-disabled.story.d.ts +23 -0
  406. package/lib/types/checkbox/stories/checkbox-full.story.d.ts +23 -0
  407. package/lib/types/checkbox/stories/checkbox-hasLabelBefore.story.d.ts +23 -0
  408. package/lib/types/checkbox/stories/checkbox-indeterminate.story.d.ts +23 -0
  409. package/lib/types/checkbox/stories/checkbox-no-label.story.d.ts +23 -0
  410. package/lib/types/checkbox/stories/checkbox.stories.d.ts +32 -0
  411. package/lib/types/checkbox/stories/index.d.ts +34 -0
  412. package/lib/types/context-menu/stories/context-menu-custom-items.story.d.ts +23 -0
  413. package/lib/types/context-menu/stories/context-menu-default.story.d.ts +23 -0
  414. package/lib/types/context-menu/stories/context-menu-in-modal.story.d.ts +23 -0
  415. package/lib/types/context-menu/stories/context-menu-in-popover.story.d.ts +23 -0
  416. package/lib/types/context-menu/stories/context-menu-nested.story.d.ts +23 -0
  417. package/lib/types/context-menu/stories/context-menu-placements.story.d.ts +23 -0
  418. package/lib/types/context-menu/stories/context-menu-with-disabled-item.story.d.ts +23 -0
  419. package/lib/types/context-menu/stories/context-menu-with-divider.story.d.ts +23 -0
  420. package/lib/types/context-menu/stories/context-menu-with-header.story.d.ts +23 -0
  421. package/lib/types/context-menu/stories/context-menu-with-icon.story.d.ts +23 -0
  422. package/lib/types/context-menu/stories/context-menu.stories.d.ts +34 -0
  423. package/lib/types/context-menu/stories/index.d.ts +40 -0
  424. package/lib/types/drawer/stories/drawer-full.story.d.ts +23 -0
  425. package/lib/types/drawer/stories/drawer-not-closeable.story.d.ts +23 -0
  426. package/lib/types/drawer/stories/drawer-overlay.story.d.ts +23 -0
  427. package/lib/types/drawer/stories/drawer-portaled.story.d.ts +23 -0
  428. package/lib/types/drawer/stories/drawer-push.story.d.ts +22 -0
  429. package/lib/types/drawer/stories/drawer-resizable.story.d.ts +23 -0
  430. package/lib/types/drawer/stories/drawer-right-side.story.d.ts +23 -0
  431. package/lib/types/drawer/stories/drawer-scrollable.story.d.ts +23 -0
  432. package/lib/types/drawer/stories/drawer.stories.d.ts +62 -0
  433. package/lib/types/drawer/stories/index.d.ts +36 -0
  434. package/lib/types/graph-label/stories/graph-label-color.story.d.ts +23 -0
  435. package/lib/types/graph-label/stories/graph-label-disabled.story.d.ts +23 -0
  436. package/lib/types/graph-label/stories/graph-label-fluid.story.d.ts +23 -0
  437. package/lib/types/graph-label/stories/graph-label-non-interactive.story.d.ts +23 -0
  438. package/lib/types/graph-label/stories/graph-label-selected.story.d.ts +23 -0
  439. package/lib/types/graph-label/stories/graph-label-sizes.story.d.ts +23 -0
  440. package/lib/types/graph-label/stories/graph-label-types.story.d.ts +23 -0
  441. package/lib/types/graph-label/stories/graph-label.stories.d.ts +32 -0
  442. package/lib/types/graph-label/stories/index.d.ts +34 -0
  443. package/lib/types/label/stories/index.d.ts +28 -0
  444. package/lib/types/label/stories/label-colors.story.d.ts +23 -0
  445. package/lib/types/label/stories/label-default.story.d.ts +23 -0
  446. package/lib/types/label/stories/label-fills.story.d.ts +23 -0
  447. package/lib/types/label/stories/label-with-icons.story.d.ts +23 -0
  448. package/lib/types/label/stories/label.stories.d.ts +29 -0
  449. package/lib/types/loading-bar/stories/index.d.ts +24 -0
  450. package/lib/types/loading-bar/stories/loading-bar-default.story.d.ts +23 -0
  451. package/lib/types/loading-bar/stories/loading-bar-with-rail.story.d.ts +23 -0
  452. package/lib/types/loading-bar/stories/loading-bar.stories.d.ts +27 -0
  453. package/lib/types/loading-spinner/stories/index.d.ts +24 -0
  454. package/lib/types/loading-spinner/stories/loading-spinner-default.story.d.ts +23 -0
  455. package/lib/types/loading-spinner/stories/loading-spinner-sizes.story.d.ts +23 -0
  456. package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts +27 -0
  457. package/lib/types/segmented-control/stories/index.d.ts +28 -0
  458. package/lib/types/segmented-control/stories/segmented-control-default.story.d.ts +23 -0
  459. package/lib/types/segmented-control/stories/segmented-control-floating.story.d.ts +23 -0
  460. package/lib/types/segmented-control/stories/segmented-control-only-icons.story.d.ts +23 -0
  461. package/lib/types/segmented-control/stories/segmented-control-sizes.story.d.ts +23 -0
  462. package/lib/types/segmented-control/stories/segmented-control.stories.d.ts +29 -0
  463. package/lib/types/slider/stories/index.d.ts +10 -0
  464. package/lib/types/slider/stories/slider-custom-step-length.story.d.ts +23 -0
  465. package/lib/types/slider/stories/slider-default.story.d.ts +23 -0
  466. package/lib/types/slider/stories/slider-disabled.story.d.ts +23 -0
  467. package/lib/types/slider/stories/slider-show-steps.story.d.ts +23 -0
  468. package/lib/types/slider/stories/slider-show-values.story.d.ts +23 -0
  469. package/lib/types/slider/stories/slider-single.story.d.ts +1 -0
  470. package/lib/types/slider/stories/slider.stories.d.ts +7 -1
  471. package/lib/types/status-indicator/stories/index.d.ts +22 -0
  472. package/lib/types/status-indicator/stories/status-indicator-types.story.d.ts +23 -0
  473. package/lib/types/status-indicator/stories/status-indicator.stories.d.ts +26 -0
  474. package/lib/types/toast/Toast.d.ts +9 -1
  475. package/lib/types/toast/ToastControlled.d.ts +40 -0
  476. package/lib/types/toast/index.d.ts +1 -0
  477. package/lib/types/toast/stories/index.d.ts +36 -0
  478. package/lib/types/toast/stories/toast-action-story.d.ts +23 -0
  479. package/lib/types/toast/stories/toast-closeable-story.d.ts +23 -0
  480. package/lib/types/toast/stories/toast-controlled-story.d.ts +23 -0
  481. package/lib/types/toast/stories/toast-custom-story.d.ts +23 -0
  482. package/lib/types/toast/stories/toast-danger-story.d.ts +23 -0
  483. package/lib/types/toast/stories/toast-neutral-story.d.ts +23 -0
  484. package/lib/types/toast/stories/toast-progress-bar.d.ts +23 -0
  485. package/lib/types/toast/stories/toast-success-story.d.ts +23 -0
  486. package/lib/types/toast/stories/toast.stories.d.ts +38 -0
  487. package/package.json +4 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer-right-side.story.js","sourceRoot":"","sources":["../../../../src/drawer/stories/drawer-right-side.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEnD,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,CACxB,cAAK,SAAS,EAAC,+FAA+F,YAC5G,cAAK,SAAS,EAAC,wIAAwI,YACrJ,KAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,yCAEjC,GACL,GACF,CACP,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,2EAA2E,aACxF,KAAC,WAAW,KAAG,EACf,MAAC,MAAM,IACL,IAAI,EAAC,SAAS,EACd,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EAC5C,QAAQ,EAAC,OAAO,aAEhB,KAAC,MAAM,CAAC,MAAM,gCAA8B,EAC5C,KAAC,MAAM,CAAC,IAAI,8CAA0C,EACtD,KAAC,MAAM,CAAC,OAAO,cACb,KAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,IAAI,EAAC,QAAQ,sBAEjD,GACM,IACV,IACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,31 @@
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 { Button, Checkbox, Drawer, TextInput } from '@neo4j-ndl/react';
24
+ import { useState } from 'react';
25
+ const Component = () => {
26
+ const [isExpanded, setIsExpanded] = useState(true);
27
+ const Placeholder = () => (_jsx("div", { className: "n-size-full n-flex n-flex-col n-items-center n-justify-center n-rounded-md n-p-token-6 w-full", children: _jsx("div", { className: "n-border-dashed n-border-2 n-border-light-primary-bg-strong n-size-full n-flex n-flex-col n-items-center n-justify-center n-rounded-md", children: _jsx(Button, { onClick: () => setIsExpanded(true), children: "Press to show the Drawer" }) }) }));
28
+ return (_jsxs("div", { className: "n-h-[calc(40vh-32px)] n-min-h-[700px] n-flex n-relative n-overflow-hidden", children: [_jsxs(Drawer, { type: "overlay", isExpanded: isExpanded, onExpandedChange: () => setIsExpanded(false), children: [_jsx(Drawer.Header, { children: "Drawer Header" }), _jsxs(Drawer.Body, { children: [_jsx(TextInput, { isOptional: true, informationIconText: "some information", label: "Label", isDisabled: false, isReadOnly: false, helpText: "Friendly text", isFluid: true }), _jsx("br", {}), _jsx(TextInput, { label: "Some input", value: "something" }), _jsx("br", {}), _jsx(Checkbox, { label: "Checkbox label" }), _jsx("br", {}), "Some example of something.", _jsx("br", {}), _jsx(TextInput, { label: "Some input", isDisabled: true, value: "something" }), _jsx("br", {}), _jsx(TextInput, { isOptional: true, informationIconText: "some information", label: "Label", isDisabled: false, isReadOnly: false, helpText: "Friendly text", isFluid: true }), _jsx("br", {}), "Some example of something.", _jsx("br", {}), _jsx(TextInput, { label: "Some input", value: "something" }), _jsx("br", {}), _jsx(Checkbox, { label: "Checkbox label" }), _jsx("br", {}), _jsx(TextInput, { label: "Some input", value: "something" })] })] }), _jsx(Placeholder, {})] }));
29
+ };
30
+ export default Component;
31
+ //# sourceMappingURL=drawer-scrollable.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer-scrollable.story.js","sourceRoot":"","sources":["../../../../src/drawer/stories/drawer-scrollable.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEnD,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,CACxB,cAAK,SAAS,EAAC,+FAA+F,YAC5G,cAAK,SAAS,EAAC,wIAAwI,YACrJ,KAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,yCAEjC,GACL,GACF,CACP,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,2EAA2E,aACxF,MAAC,MAAM,IACL,IAAI,EAAC,SAAS,EACd,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,aAE5C,KAAC,MAAM,CAAC,MAAM,gCAA8B,EAC5C,MAAC,MAAM,CAAC,IAAI,eACV,KAAC,SAAS,IACR,UAAU,EAAE,IAAI,EAChB,mBAAmB,EAAC,kBAAkB,EACtC,KAAK,EAAC,OAAO,EACb,UAAU,EAAE,KAAK,EACjB,UAAU,EAAE,KAAK,EACjB,QAAQ,EAAC,eAAe,EACxB,OAAO,EAAE,IAAI,GACb,EACF,cAAM,EACN,KAAC,SAAS,IAAC,KAAK,EAAC,YAAY,EAAC,KAAK,EAAC,WAAW,GAAG,EAClD,cAAM,EACN,KAAC,QAAQ,IAAC,KAAK,EAAC,gBAAgB,GAAG,EACnC,cAAM,gCAEN,cAAM,EACN,KAAC,SAAS,IAAC,KAAK,EAAC,YAAY,EAAC,UAAU,EAAE,IAAI,EAAE,KAAK,EAAC,WAAW,GAAG,EACpE,cAAM,EACN,KAAC,SAAS,IACR,UAAU,EAAE,IAAI,EAChB,mBAAmB,EAAC,kBAAkB,EACtC,KAAK,EAAC,OAAO,EACb,UAAU,EAAE,KAAK,EACjB,UAAU,EAAE,KAAK,EACjB,QAAQ,EAAC,eAAe,EACxB,OAAO,EAAE,IAAI,GACb,EACF,cAAM,gCAEN,cAAM,EACN,KAAC,SAAS,IAAC,KAAK,EAAC,YAAY,EAAC,KAAK,EAAC,WAAW,GAAG,EAClD,cAAM,EACN,KAAC,QAAQ,IAAC,KAAK,EAAC,gBAAgB,GAAG,EACnC,cAAM,EACN,KAAC,SAAS,IAAC,KAAK,EAAC,YAAY,EAAC,KAAK,EAAC,WAAW,GAAG,IACtC,IACP,EACT,KAAC,WAAW,KAAG,IACX,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,147 @@
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 { Drawer } from '../../index';
24
+ import { DrawerFull, DrawerFullSrc, DrawerNotCloseable, DrawerNotCloseableSrc, DrawerOverlay, DrawerOverlaySrc, DrawerPortaled, DrawerPortaledSrc, DrawerPush, DrawerPushSrc, DrawerResizable, DrawerResizableSrc, DrawerRightSide, DrawerRightSideSrc, DrawerScrollable, DrawerScrollableSrc, } from './index';
25
+ const componentMeta = {
26
+ title: 'Components/Drawer',
27
+ id: 'components-drawer',
28
+ component: Drawer,
29
+ tags: ['docsPage'],
30
+ parameters: {
31
+ controls: { disable: true },
32
+ },
33
+ };
34
+ export default componentMeta;
35
+ export const Overlay = {
36
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
37
+ args: {},
38
+ render: () => _jsx(DrawerOverlay, {}),
39
+ parameters: {
40
+ docs: {
41
+ source: {
42
+ language: 'tsx',
43
+ type: 'code',
44
+ code: DrawerOverlaySrc,
45
+ },
46
+ },
47
+ },
48
+ };
49
+ export const Push = {
50
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
51
+ args: {},
52
+ render: () => _jsx(DrawerPush, {}),
53
+ parameters: {
54
+ docs: {
55
+ source: {
56
+ language: 'tsx',
57
+ type: 'code',
58
+ code: DrawerPushSrc,
59
+ },
60
+ },
61
+ },
62
+ };
63
+ export const RightSide = {
64
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
65
+ args: {},
66
+ render: () => _jsx(DrawerRightSide, {}),
67
+ parameters: {
68
+ docs: {
69
+ source: {
70
+ language: 'tsx',
71
+ type: 'code',
72
+ code: DrawerRightSideSrc,
73
+ },
74
+ },
75
+ },
76
+ };
77
+ export const Resizable = {
78
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
79
+ args: {},
80
+ render: () => _jsx(DrawerResizable, {}),
81
+ parameters: {
82
+ docs: {
83
+ source: {
84
+ language: 'tsx',
85
+ type: 'code',
86
+ code: DrawerResizableSrc,
87
+ },
88
+ },
89
+ },
90
+ };
91
+ export const NotCloseable = {
92
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
93
+ args: {},
94
+ render: () => _jsx(DrawerNotCloseable, {}),
95
+ parameters: {
96
+ docs: {
97
+ source: {
98
+ language: 'tsx',
99
+ type: 'code',
100
+ code: DrawerNotCloseableSrc,
101
+ },
102
+ },
103
+ },
104
+ };
105
+ export const Scrollable = {
106
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
107
+ args: {},
108
+ render: () => _jsx(DrawerScrollable, {}),
109
+ parameters: {
110
+ docs: {
111
+ source: {
112
+ language: 'tsx',
113
+ type: 'code',
114
+ code: DrawerScrollableSrc,
115
+ },
116
+ },
117
+ },
118
+ };
119
+ export const Portaled = {
120
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
121
+ args: {},
122
+ render: () => _jsx(DrawerPortaled, {}),
123
+ parameters: {
124
+ docs: {
125
+ source: {
126
+ language: 'tsx',
127
+ type: 'code',
128
+ code: DrawerPortaledSrc,
129
+ },
130
+ },
131
+ },
132
+ };
133
+ export const Full = {
134
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
135
+ args: {},
136
+ render: () => _jsx(DrawerFull, {}),
137
+ parameters: {
138
+ docs: {
139
+ source: {
140
+ language: 'tsx',
141
+ type: 'code',
142
+ code: DrawerFullSrc,
143
+ },
144
+ },
145
+ },
146
+ };
147
+ //# sourceMappingURL=drawer.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer.stories.js","sourceRoot":"","sources":["../../../../src/drawer/stories/drawer.stories.tsx"],"names":[],"mappings":";AAsBA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACL,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAEjB,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,mBAAmB;IAC1B,EAAE,EAAE,mBAAmB;IACvB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;CAC4B,CAAC;AAEhC,eAAe,aAAa,CAAC;AAI7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,aAAa,KAAG;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,gBAAgB;aACvB;SACF;KACF;CACF,CAAC;AACF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,UAAU,KAAG;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa;aACpB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,eAAe,KAAG;IACjC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,kBAAkB;aACzB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,eAAe,KAAG;IACjC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,kBAAkB;aACzB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,kBAAkB,KAAG;IACpC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,qBAAqB;aAC5B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,gBAAgB,KAAG;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,mBAAmB;aAC1B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,cAAc,KAAG;IAChC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,iBAAiB;aACxB;SACF;KACF;CACF,CAAC;AACF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,UAAU,KAAG;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa;aACpB;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,46 @@
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
+ export { default as DrawerPush } from './drawer-push.story';
22
+ export { default as DrawerOverlay } from './drawer-overlay.story';
23
+ export { default as DrawerRightSide } from './drawer-right-side.story';
24
+ export { default as DrawerResizable } from './drawer-resizable.story';
25
+ export { default as DrawerNotCloseable } from './drawer-not-closeable.story';
26
+ export { default as DrawerScrollable } from './drawer-scrollable.story';
27
+ export { default as DrawerFull } from './drawer-full.story';
28
+ export { default as DrawerPortaled } from './drawer-portaled.story';
29
+ import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
30
+ import DrawerFullSrcRaw from './drawer-full.story.tsx?raw';
31
+ import DrawerNotCloseableSrcRaw from './drawer-not-closeable.story.tsx?raw';
32
+ import DrawerOverlaySrcRaw from './drawer-overlay.story.tsx?raw';
33
+ import DrawerPortaledSrcRaw from './drawer-portaled.story.tsx?raw';
34
+ import DrawerPushSrcRaw from './drawer-push.story.tsx?raw';
35
+ import DrawerResizableSrcRaw from './drawer-resizable.story.tsx?raw';
36
+ import DrawerRightSideSrcRaw from './drawer-right-side.story.tsx?raw';
37
+ import DrawerScrollableSrcRaw from './drawer-scrollable.story.tsx?raw';
38
+ export const DrawerPushSrc = removeLicenseHeader(DrawerPushSrcRaw);
39
+ export const DrawerOverlaySrc = removeLicenseHeader(DrawerOverlaySrcRaw);
40
+ export const DrawerRightSideSrc = removeLicenseHeader(DrawerRightSideSrcRaw);
41
+ export const DrawerResizableSrc = removeLicenseHeader(DrawerResizableSrcRaw);
42
+ export const DrawerNotCloseableSrc = removeLicenseHeader(DrawerNotCloseableSrcRaw);
43
+ export const DrawerScrollableSrc = removeLicenseHeader(DrawerScrollableSrcRaw);
44
+ export const DrawerFullSrc = removeLicenseHeader(DrawerFullSrcRaw);
45
+ export const DrawerPortaledSrc = removeLicenseHeader(DrawerPortaledSrcRaw);
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/drawer/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,wBAAwB,MAAM,sCAAsC,CAAC;AAC5E,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AACjE,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,qBAAqB,MAAM,kCAAkC,CAAC;AACrE,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,sBAAsB,MAAM,mCAAmC,CAAC;AAEvE,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AACnE,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,qBAAqB,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,qBAAqB,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CACtD,wBAAwB,CACzB,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;AAC/E,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AACnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,28 @@
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 { GraphLabel } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6", children: [_jsx(GraphLabel, { type: "node", color: "red", children: "Node" }), _jsx(GraphLabel, { type: "relationship", color: "blue", children: "Relationship" })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=graph-label-color.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-label-color.story.js","sourceRoot":"","sources":["../../../../src/graph-label/stories/graph-label-color.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,KAAK,qBAEtB,EACb,KAAC,UAAU,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,MAAM,6BAE/B,IACT,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { GraphLabel } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(GraphLabel, { type: "node", isDisabled: true, children: "Node" }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=graph-label-disabled.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-label-disabled.story.js","sourceRoot":"","sources":["../../../../src/graph-label/stories/graph-label-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,EAAC,UAAU,2BAErB,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { GraphLabel } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(GraphLabel, { type: "relationship", isFluid: true, children: "Long long long long long long long long long long long long label text that is fluid" }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=graph-label-fluid.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-label-fluid.story.js","sourceRoot":"","sources":["../../../../src/graph-label/stories/graph-label-fluid.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,UAAU,IAAC,IAAI,EAAC,cAAc,EAAC,OAAO,EAAE,IAAI,qGAGhC,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { GraphLabel } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(GraphLabel, { type: "node", as: "span", children: "Label" }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=graph-label-non-interactive.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-label-non-interactive.story.js","sourceRoot":"","sources":["../../../../src/graph-label/stories/graph-label-non-interactive.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,EAAC,EAAE,EAAC,MAAM,sBAEpB,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { GraphLabel } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(GraphLabel, { type: "node", isSelected: true, children: "Label" }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=graph-label-selected.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-label-selected.story.js","sourceRoot":"","sources":["../../../../src/graph-label/stories/graph-label-selected.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,EAAC,UAAU,4BAErB,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
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 { GraphLabel } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6", children: [_jsx(GraphLabel, { type: "node", size: "small", children: "Label" }), _jsx(GraphLabel, { type: "node", size: "medium", children: "Label" })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=graph-label-sizes.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-label-sizes.story.js","sourceRoot":"","sources":["../../../../src/graph-label/stories/graph-label-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,sBAEvB,EACb,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,QAAQ,sBAExB,IACT,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,28 @@
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 { GraphLabel } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6", children: [_jsx(GraphLabel, { type: "node", children: "Node" }), _jsx(GraphLabel, { type: "propertyKey", children: "Property Key" }), _jsx(GraphLabel, { type: "relationship", children: "Relationship" }), _jsx(GraphLabel, { type: "relationshipLeft", children: "Relationship Left" }), _jsx(GraphLabel, { type: "relationshipRight", children: "Relationship Right" })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=graph-label-types.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-label-types.story.js","sourceRoot":"","sources":["../../../../src/graph-label/stories/graph-label-types.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,qBAAkB,EACzC,KAAC,UAAU,IAAC,IAAI,EAAC,aAAa,6BAA0B,EACxD,KAAC,UAAU,IAAC,IAAI,EAAC,cAAc,6BAA0B,EACzD,KAAC,UAAU,IAAC,IAAI,EAAC,kBAAkB,kCAA+B,EAClE,KAAC,UAAU,IAAC,IAAI,EAAC,mBAAmB,mCAAgC,IAChE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,129 @@
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 { GraphLabel } from '../../index';
24
+ import { GraphLabelColor, GraphLabelColorSource, GraphLabelDisabled, GraphLabelDisabledSource, GraphLabelFluid, GraphLabelFluidSource, GraphLabelNonInteractive, GraphLabelNonInteractiveSource, GraphLabelSelected, GraphLabelSelectedSource, GraphLabelSizes, GraphLabelSizesSource, GraphLabelTypes, GraphLabelTypesSource, } from '.';
25
+ const componentMeta = {
26
+ title: 'Components/Labels/GraphLabels',
27
+ id: 'components-labels-graph-labels',
28
+ component: GraphLabel,
29
+ tags: ['docsPage'],
30
+ parameters: {
31
+ controls: { disable: true },
32
+ },
33
+ decorators: [
34
+ (Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
35
+ ],
36
+ };
37
+ export default componentMeta;
38
+ export const Types = {
39
+ args: {},
40
+ render: GraphLabelTypes,
41
+ parameters: {
42
+ docs: {
43
+ source: {
44
+ language: 'tsx',
45
+ type: 'code',
46
+ code: GraphLabelTypesSource,
47
+ },
48
+ },
49
+ },
50
+ };
51
+ export const Color = {
52
+ args: {},
53
+ render: GraphLabelColor,
54
+ parameters: {
55
+ docs: {
56
+ source: {
57
+ language: 'tsx',
58
+ type: 'code',
59
+ code: GraphLabelColorSource,
60
+ },
61
+ },
62
+ },
63
+ };
64
+ export const Sizes = {
65
+ args: {},
66
+ render: GraphLabelSizes,
67
+ parameters: {
68
+ docs: {
69
+ source: {
70
+ language: 'tsx',
71
+ type: 'code',
72
+ code: GraphLabelSizesSource,
73
+ },
74
+ },
75
+ },
76
+ };
77
+ export const Fluid = {
78
+ args: {},
79
+ render: GraphLabelFluid,
80
+ parameters: {
81
+ docs: {
82
+ source: {
83
+ language: 'tsx',
84
+ type: 'code',
85
+ code: GraphLabelFluidSource,
86
+ },
87
+ },
88
+ },
89
+ };
90
+ export const NonInteractive = {
91
+ args: {},
92
+ render: GraphLabelNonInteractive,
93
+ parameters: {
94
+ docs: {
95
+ source: {
96
+ language: 'tsx',
97
+ type: 'code',
98
+ code: GraphLabelNonInteractiveSource,
99
+ },
100
+ },
101
+ },
102
+ };
103
+ export const Disabled = {
104
+ args: {},
105
+ render: GraphLabelDisabled,
106
+ parameters: {
107
+ docs: {
108
+ source: {
109
+ language: 'tsx',
110
+ type: 'code',
111
+ code: GraphLabelDisabledSource,
112
+ },
113
+ },
114
+ },
115
+ };
116
+ export const Selected = {
117
+ args: {},
118
+ render: GraphLabelSelected,
119
+ parameters: {
120
+ docs: {
121
+ source: {
122
+ language: 'tsx',
123
+ type: 'code',
124
+ code: GraphLabelSelectedSource,
125
+ },
126
+ },
127
+ },
128
+ };
129
+ //# sourceMappingURL=graph-label.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-label.stories.js","sourceRoot":"","sources":["../../../../src/graph-label/stories/graph-label.stories.tsx"],"names":[],"mappings":"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"}