@neo4j-ndl/react 3.8.35 → 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 (437) 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/stories/context-menu-custom-items.story.js +33 -0
  44. package/lib/cjs/context-menu/stories/context-menu-custom-items.story.js.map +1 -0
  45. package/lib/cjs/context-menu/stories/context-menu-default.story.js +45 -0
  46. package/lib/cjs/context-menu/stories/context-menu-default.story.js.map +1 -0
  47. package/lib/cjs/context-menu/stories/context-menu-in-modal.story.js +38 -0
  48. package/lib/cjs/context-menu/stories/context-menu-in-modal.story.js.map +1 -0
  49. package/lib/cjs/context-menu/stories/context-menu-in-popover.story.js +34 -0
  50. package/lib/cjs/context-menu/stories/context-menu-in-popover.story.js.map +1 -0
  51. package/lib/cjs/context-menu/stories/context-menu-nested.story.js +34 -0
  52. package/lib/cjs/context-menu/stories/context-menu-nested.story.js.map +1 -0
  53. package/lib/cjs/context-menu/stories/context-menu-placements.story.js +45 -0
  54. package/lib/cjs/context-menu/stories/context-menu-placements.story.js.map +1 -0
  55. package/lib/cjs/context-menu/stories/context-menu-with-disabled-item.story.js +36 -0
  56. package/lib/cjs/context-menu/stories/context-menu-with-disabled-item.story.js.map +1 -0
  57. package/lib/cjs/context-menu/stories/context-menu-with-divider.story.js +36 -0
  58. package/lib/cjs/context-menu/stories/context-menu-with-divider.story.js.map +1 -0
  59. package/lib/cjs/context-menu/stories/context-menu-with-header.story.js +36 -0
  60. package/lib/cjs/context-menu/stories/context-menu-with-header.story.js.map +1 -0
  61. package/lib/cjs/context-menu/stories/context-menu-with-icon.story.js +34 -0
  62. package/lib/cjs/context-menu/stories/context-menu-with-icon.story.js.map +1 -0
  63. package/lib/cjs/context-menu/stories/context-menu.stories.js +170 -0
  64. package/lib/cjs/context-menu/stories/context-menu.stories.js.map +1 -0
  65. package/lib/cjs/context-menu/stories/index.js +68 -0
  66. package/lib/cjs/context-menu/stories/index.js.map +1 -0
  67. package/lib/cjs/drawer/stories/drawer-full.story.js +36 -0
  68. package/lib/cjs/drawer/stories/drawer-full.story.js.map +1 -0
  69. package/lib/cjs/drawer/stories/drawer-not-closeable.story.js +33 -0
  70. package/lib/cjs/drawer/stories/drawer-not-closeable.story.js.map +1 -0
  71. package/lib/cjs/drawer/stories/drawer-overlay.story.js +33 -0
  72. package/lib/cjs/drawer/stories/drawer-overlay.story.js.map +1 -0
  73. package/lib/cjs/drawer/stories/drawer-portaled.story.js +38 -0
  74. package/lib/cjs/drawer/stories/drawer-portaled.story.js.map +1 -0
  75. package/lib/cjs/drawer/stories/drawer-push.story.js +32 -0
  76. package/lib/cjs/drawer/stories/drawer-push.story.js.map +1 -0
  77. package/lib/cjs/drawer/stories/drawer-resizable.story.js +36 -0
  78. package/lib/cjs/drawer/stories/drawer-resizable.story.js.map +1 -0
  79. package/lib/cjs/drawer/stories/drawer-right-side.story.js +33 -0
  80. package/lib/cjs/drawer/stories/drawer-right-side.story.js.map +1 -0
  81. package/lib/cjs/drawer/stories/drawer-scrollable.story.js +33 -0
  82. package/lib/cjs/drawer/stories/drawer-scrollable.story.js.map +1 -0
  83. package/lib/cjs/drawer/stories/drawer.stories.js +150 -0
  84. package/lib/cjs/drawer/stories/drawer.stories.js.map +1 -0
  85. package/lib/cjs/drawer/stories/index.js +60 -0
  86. package/lib/cjs/drawer/stories/index.js.map +1 -0
  87. package/lib/cjs/graph-label/stories/graph-label-color.story.js +30 -0
  88. package/lib/cjs/graph-label/stories/graph-label-color.story.js.map +1 -0
  89. package/lib/cjs/graph-label/stories/graph-label-disabled.story.js +30 -0
  90. package/lib/cjs/graph-label/stories/graph-label-disabled.story.js.map +1 -0
  91. package/lib/cjs/graph-label/stories/graph-label-fluid.story.js +30 -0
  92. package/lib/cjs/graph-label/stories/graph-label-fluid.story.js.map +1 -0
  93. package/lib/cjs/graph-label/stories/graph-label-non-interactive.story.js +30 -0
  94. package/lib/cjs/graph-label/stories/graph-label-non-interactive.story.js.map +1 -0
  95. package/lib/cjs/graph-label/stories/graph-label-selected.story.js +30 -0
  96. package/lib/cjs/graph-label/stories/graph-label-selected.story.js.map +1 -0
  97. package/lib/cjs/graph-label/stories/graph-label-sizes.story.js +30 -0
  98. package/lib/cjs/graph-label/stories/graph-label-sizes.story.js.map +1 -0
  99. package/lib/cjs/graph-label/stories/graph-label-types.story.js +30 -0
  100. package/lib/cjs/graph-label/stories/graph-label-types.story.js.map +1 -0
  101. package/lib/cjs/graph-label/stories/graph-label.stories.js +132 -0
  102. package/lib/cjs/graph-label/stories/graph-label.stories.js.map +1 -0
  103. package/lib/cjs/graph-label/stories/index.js +56 -0
  104. package/lib/cjs/graph-label/stories/index.js.map +1 -0
  105. package/lib/cjs/label/stories/index.js +44 -0
  106. package/lib/cjs/label/stories/index.js.map +1 -0
  107. package/lib/cjs/label/stories/label-colors.story.js +30 -0
  108. package/lib/cjs/label/stories/label-colors.story.js.map +1 -0
  109. package/lib/cjs/label/stories/label-default.story.js +30 -0
  110. package/lib/cjs/label/stories/label-default.story.js.map +1 -0
  111. package/lib/cjs/label/stories/label-fills.story.js +30 -0
  112. package/lib/cjs/label/stories/label-fills.story.js.map +1 -0
  113. package/lib/cjs/label/stories/label-with-icons.story.js +30 -0
  114. package/lib/cjs/label/stories/label-with-icons.story.js.map +1 -0
  115. package/lib/cjs/label/stories/label.stories.js +93 -0
  116. package/lib/cjs/label/stories/label.stories.js.map +1 -0
  117. package/lib/cjs/loading-bar/stories/index.js +36 -0
  118. package/lib/cjs/loading-bar/stories/index.js.map +1 -0
  119. package/lib/cjs/loading-bar/stories/loading-bar-default.story.js +30 -0
  120. package/lib/cjs/loading-bar/stories/loading-bar-default.story.js.map +1 -0
  121. package/lib/cjs/loading-bar/stories/loading-bar-with-rail.story.js +30 -0
  122. package/lib/cjs/loading-bar/stories/loading-bar-with-rail.story.js.map +1 -0
  123. package/lib/cjs/loading-bar/stories/loading-bar.stories.js +67 -0
  124. package/lib/cjs/loading-bar/stories/loading-bar.stories.js.map +1 -0
  125. package/lib/cjs/loading-spinner/stories/index.js +36 -0
  126. package/lib/cjs/loading-spinner/stories/index.js.map +1 -0
  127. package/lib/cjs/loading-spinner/stories/loading-spinner-default.story.js +30 -0
  128. package/lib/cjs/loading-spinner/stories/loading-spinner-default.story.js.map +1 -0
  129. package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js +30 -0
  130. package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -0
  131. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js +67 -0
  132. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js.map +1 -0
  133. package/lib/cjs/segmented-control/stories/index.js +44 -0
  134. package/lib/cjs/segmented-control/stories/index.js.map +1 -0
  135. package/lib/cjs/segmented-control/stories/segmented-control-default.story.js +32 -0
  136. package/lib/cjs/segmented-control/stories/segmented-control-default.story.js.map +1 -0
  137. package/lib/cjs/segmented-control/stories/segmented-control-floating.story.js +32 -0
  138. package/lib/cjs/segmented-control/stories/segmented-control-floating.story.js.map +1 -0
  139. package/lib/cjs/segmented-control/stories/segmented-control-only-icons.story.js +33 -0
  140. package/lib/cjs/segmented-control/stories/segmented-control-only-icons.story.js.map +1 -0
  141. package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js +33 -0
  142. package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js.map +1 -0
  143. package/lib/cjs/segmented-control/stories/segmented-control.stories.js +93 -0
  144. package/lib/cjs/segmented-control/stories/segmented-control.stories.js.map +1 -0
  145. package/lib/cjs/status-indicator/stories/index.js +32 -0
  146. package/lib/cjs/status-indicator/stories/index.js.map +1 -0
  147. package/lib/cjs/status-indicator/stories/status-indicator-types.story.js +30 -0
  148. package/lib/cjs/status-indicator/stories/status-indicator-types.story.js.map +1 -0
  149. package/lib/cjs/status-indicator/stories/status-indicator.stories.js +54 -0
  150. package/lib/cjs/status-indicator/stories/status-indicator.stories.js.map +1 -0
  151. package/lib/cjs/toast/Toast.js +5 -1
  152. package/lib/cjs/toast/Toast.js.map +1 -1
  153. package/lib/cjs/toast/ToastControlled.js +87 -0
  154. package/lib/cjs/toast/ToastControlled.js.map +1 -0
  155. package/lib/cjs/toast/index.js +1 -0
  156. package/lib/cjs/toast/index.js.map +1 -1
  157. package/lib/cjs/toast/stories/index.js +60 -0
  158. package/lib/cjs/toast/stories/index.js.map +1 -0
  159. package/lib/cjs/toast/stories/toast-action-story.js +38 -0
  160. package/lib/cjs/toast/stories/toast-action-story.js.map +1 -0
  161. package/lib/cjs/toast/stories/toast-closeable-story.js +37 -0
  162. package/lib/cjs/toast/stories/toast-closeable-story.js.map +1 -0
  163. package/lib/cjs/toast/stories/toast-controlled-story.js +44 -0
  164. package/lib/cjs/toast/stories/toast-controlled-story.js.map +1 -0
  165. package/lib/cjs/toast/stories/toast-custom-story.js +32 -0
  166. package/lib/cjs/toast/stories/toast-custom-story.js.map +1 -0
  167. package/lib/cjs/toast/stories/toast-danger-story.js +32 -0
  168. package/lib/cjs/toast/stories/toast-danger-story.js.map +1 -0
  169. package/lib/cjs/toast/stories/toast-neutral-story.js +32 -0
  170. package/lib/cjs/toast/stories/toast-neutral-story.js.map +1 -0
  171. package/lib/cjs/toast/stories/toast-progress-bar.js +49 -0
  172. package/lib/cjs/toast/stories/toast-progress-bar.js.map +1 -0
  173. package/lib/cjs/toast/stories/toast-success-story.js +32 -0
  174. package/lib/cjs/toast/stories/toast-success-story.js.map +1 -0
  175. package/lib/cjs/toast/stories/toast.stories.js +137 -0
  176. package/lib/cjs/toast/stories/toast.stories.js.map +1 -0
  177. package/lib/esm/avatar/stories/avatar-shapes.story.js +1 -1
  178. package/lib/esm/avatar/stories/avatar-shapes.story.js.map +1 -1
  179. package/lib/esm/avatar/stories/avatar-sizes.story.js +1 -1
  180. package/lib/esm/avatar/stories/avatar-sizes.story.js.map +1 -1
  181. package/lib/esm/avatar/stories/avatar-statuses.story.js +1 -1
  182. package/lib/esm/avatar/stories/avatar-statuses.story.js.map +1 -1
  183. package/lib/esm/avatar/stories/avatar-types.story.js +1 -1
  184. package/lib/esm/avatar/stories/avatar-types.story.js.map +1 -1
  185. package/lib/esm/avatar/stories/avatar.stories.js +11 -0
  186. package/lib/esm/avatar/stories/avatar.stories.js.map +1 -1
  187. package/lib/esm/callout/stories/callout-default.story.js +28 -0
  188. package/lib/esm/callout/stories/callout-default.story.js.map +1 -0
  189. package/lib/esm/callout/stories/callout-full.story.js +28 -0
  190. package/lib/esm/callout/stories/callout-full.story.js.map +1 -0
  191. package/lib/esm/callout/stories/callout-types.story.js +28 -0
  192. package/lib/esm/callout/stories/callout-types.story.js.map +1 -0
  193. package/lib/esm/callout/stories/callout-with-children.story.js +28 -0
  194. package/lib/esm/callout/stories/callout-with-children.story.js.map +1 -0
  195. package/lib/esm/callout/stories/callout-without-header.story.js +28 -0
  196. package/lib/esm/callout/stories/callout-without-header.story.js.map +1 -0
  197. package/lib/esm/callout/stories/callout.stories.js +98 -0
  198. package/lib/esm/callout/stories/callout.stories.js.map +1 -0
  199. package/lib/esm/callout/stories/index.js +37 -0
  200. package/lib/esm/callout/stories/index.js.map +1 -0
  201. package/lib/esm/checkbox/stories/checkbox-checkedByDefault.story.js +28 -0
  202. package/lib/esm/checkbox/stories/checkbox-checkedByDefault.story.js.map +1 -0
  203. package/lib/esm/checkbox/stories/checkbox-default.story.js +28 -0
  204. package/lib/esm/checkbox/stories/checkbox-default.story.js.map +1 -0
  205. package/lib/esm/checkbox/stories/checkbox-disabled.story.js +28 -0
  206. package/lib/esm/checkbox/stories/checkbox-disabled.story.js.map +1 -0
  207. package/lib/esm/checkbox/stories/checkbox-full.story.js +37 -0
  208. package/lib/esm/checkbox/stories/checkbox-full.story.js.map +1 -0
  209. package/lib/esm/checkbox/stories/checkbox-hasLabelBefore.story.js +28 -0
  210. package/lib/esm/checkbox/stories/checkbox-hasLabelBefore.story.js.map +1 -0
  211. package/lib/esm/checkbox/stories/checkbox-indeterminate.story.js +31 -0
  212. package/lib/esm/checkbox/stories/checkbox-indeterminate.story.js.map +1 -0
  213. package/lib/esm/checkbox/stories/checkbox-no-label.story.js +28 -0
  214. package/lib/esm/checkbox/stories/checkbox-no-label.story.js.map +1 -0
  215. package/lib/esm/checkbox/stories/checkbox.stories.js +134 -0
  216. package/lib/esm/checkbox/stories/checkbox.stories.js.map +1 -0
  217. package/lib/esm/checkbox/stories/index.js +43 -0
  218. package/lib/esm/checkbox/stories/index.js.map +1 -0
  219. package/lib/esm/context-menu/stories/context-menu-custom-items.story.js +31 -0
  220. package/lib/esm/context-menu/stories/context-menu-custom-items.story.js.map +1 -0
  221. package/lib/esm/context-menu/stories/context-menu-default.story.js +43 -0
  222. package/lib/esm/context-menu/stories/context-menu-default.story.js.map +1 -0
  223. package/lib/esm/context-menu/stories/context-menu-in-modal.story.js +36 -0
  224. package/lib/esm/context-menu/stories/context-menu-in-modal.story.js.map +1 -0
  225. package/lib/esm/context-menu/stories/context-menu-in-popover.story.js +32 -0
  226. package/lib/esm/context-menu/stories/context-menu-in-popover.story.js.map +1 -0
  227. package/lib/esm/context-menu/stories/context-menu-nested.story.js +32 -0
  228. package/lib/esm/context-menu/stories/context-menu-nested.story.js.map +1 -0
  229. package/lib/esm/context-menu/stories/context-menu-placements.story.js +43 -0
  230. package/lib/esm/context-menu/stories/context-menu-placements.story.js.map +1 -0
  231. package/lib/esm/context-menu/stories/context-menu-with-disabled-item.story.js +34 -0
  232. package/lib/esm/context-menu/stories/context-menu-with-disabled-item.story.js.map +1 -0
  233. package/lib/esm/context-menu/stories/context-menu-with-divider.story.js +34 -0
  234. package/lib/esm/context-menu/stories/context-menu-with-divider.story.js.map +1 -0
  235. package/lib/esm/context-menu/stories/context-menu-with-header.story.js +34 -0
  236. package/lib/esm/context-menu/stories/context-menu-with-header.story.js.map +1 -0
  237. package/lib/esm/context-menu/stories/context-menu-with-icon.story.js +32 -0
  238. package/lib/esm/context-menu/stories/context-menu-with-icon.story.js.map +1 -0
  239. package/lib/esm/context-menu/stories/context-menu.stories.js +167 -0
  240. package/lib/esm/context-menu/stories/context-menu.stories.js.map +1 -0
  241. package/lib/esm/context-menu/stories/index.js +52 -0
  242. package/lib/esm/context-menu/stories/index.js.map +1 -0
  243. package/lib/esm/drawer/stories/drawer-full.story.js +34 -0
  244. package/lib/esm/drawer/stories/drawer-full.story.js.map +1 -0
  245. package/lib/esm/drawer/stories/drawer-not-closeable.story.js +31 -0
  246. package/lib/esm/drawer/stories/drawer-not-closeable.story.js.map +1 -0
  247. package/lib/esm/drawer/stories/drawer-overlay.story.js +31 -0
  248. package/lib/esm/drawer/stories/drawer-overlay.story.js.map +1 -0
  249. package/lib/esm/drawer/stories/drawer-portaled.story.js +36 -0
  250. package/lib/esm/drawer/stories/drawer-portaled.story.js.map +1 -0
  251. package/lib/esm/drawer/stories/drawer-push.story.js +30 -0
  252. package/lib/esm/drawer/stories/drawer-push.story.js.map +1 -0
  253. package/lib/esm/drawer/stories/drawer-resizable.story.js +34 -0
  254. package/lib/esm/drawer/stories/drawer-resizable.story.js.map +1 -0
  255. package/lib/esm/drawer/stories/drawer-right-side.story.js +31 -0
  256. package/lib/esm/drawer/stories/drawer-right-side.story.js.map +1 -0
  257. package/lib/esm/drawer/stories/drawer-scrollable.story.js +31 -0
  258. package/lib/esm/drawer/stories/drawer-scrollable.story.js.map +1 -0
  259. package/lib/esm/drawer/stories/drawer.stories.js +147 -0
  260. package/lib/esm/drawer/stories/drawer.stories.js.map +1 -0
  261. package/lib/esm/drawer/stories/index.js +46 -0
  262. package/lib/esm/drawer/stories/index.js.map +1 -0
  263. package/lib/esm/graph-label/stories/graph-label-color.story.js +28 -0
  264. package/lib/esm/graph-label/stories/graph-label-color.story.js.map +1 -0
  265. package/lib/esm/graph-label/stories/graph-label-disabled.story.js +28 -0
  266. package/lib/esm/graph-label/stories/graph-label-disabled.story.js.map +1 -0
  267. package/lib/esm/graph-label/stories/graph-label-fluid.story.js +28 -0
  268. package/lib/esm/graph-label/stories/graph-label-fluid.story.js.map +1 -0
  269. package/lib/esm/graph-label/stories/graph-label-non-interactive.story.js +28 -0
  270. package/lib/esm/graph-label/stories/graph-label-non-interactive.story.js.map +1 -0
  271. package/lib/esm/graph-label/stories/graph-label-selected.story.js +28 -0
  272. package/lib/esm/graph-label/stories/graph-label-selected.story.js.map +1 -0
  273. package/lib/esm/graph-label/stories/graph-label-sizes.story.js +28 -0
  274. package/lib/esm/graph-label/stories/graph-label-sizes.story.js.map +1 -0
  275. package/lib/esm/graph-label/stories/graph-label-types.story.js +28 -0
  276. package/lib/esm/graph-label/stories/graph-label-types.story.js.map +1 -0
  277. package/lib/esm/graph-label/stories/graph-label.stories.js +129 -0
  278. package/lib/esm/graph-label/stories/graph-label.stories.js.map +1 -0
  279. package/lib/esm/graph-label/stories/index.js +43 -0
  280. package/lib/esm/graph-label/stories/index.js.map +1 -0
  281. package/lib/esm/label/stories/index.js +34 -0
  282. package/lib/esm/label/stories/index.js.map +1 -0
  283. package/lib/esm/label/stories/label-colors.story.js +28 -0
  284. package/lib/esm/label/stories/label-colors.story.js.map +1 -0
  285. package/lib/esm/label/stories/label-default.story.js +28 -0
  286. package/lib/esm/label/stories/label-default.story.js.map +1 -0
  287. package/lib/esm/label/stories/label-fills.story.js +28 -0
  288. package/lib/esm/label/stories/label-fills.story.js.map +1 -0
  289. package/lib/esm/label/stories/label-with-icons.story.js +28 -0
  290. package/lib/esm/label/stories/label-with-icons.story.js.map +1 -0
  291. package/lib/esm/label/stories/label.stories.js +90 -0
  292. package/lib/esm/label/stories/label.stories.js.map +1 -0
  293. package/lib/esm/loading-bar/stories/index.js +28 -0
  294. package/lib/esm/loading-bar/stories/index.js.map +1 -0
  295. package/lib/esm/loading-bar/stories/loading-bar-default.story.js +28 -0
  296. package/lib/esm/loading-bar/stories/loading-bar-default.story.js.map +1 -0
  297. package/lib/esm/loading-bar/stories/loading-bar-with-rail.story.js +28 -0
  298. package/lib/esm/loading-bar/stories/loading-bar-with-rail.story.js.map +1 -0
  299. package/lib/esm/loading-bar/stories/loading-bar.stories.js +64 -0
  300. package/lib/esm/loading-bar/stories/loading-bar.stories.js.map +1 -0
  301. package/lib/esm/loading-spinner/stories/index.js +28 -0
  302. package/lib/esm/loading-spinner/stories/index.js.map +1 -0
  303. package/lib/esm/loading-spinner/stories/loading-spinner-default.story.js +28 -0
  304. package/lib/esm/loading-spinner/stories/loading-spinner-default.story.js.map +1 -0
  305. package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js +28 -0
  306. package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -0
  307. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js +64 -0
  308. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js.map +1 -0
  309. package/lib/esm/segmented-control/stories/index.js +34 -0
  310. package/lib/esm/segmented-control/stories/index.js.map +1 -0
  311. package/lib/esm/segmented-control/stories/segmented-control-default.story.js +30 -0
  312. package/lib/esm/segmented-control/stories/segmented-control-default.story.js.map +1 -0
  313. package/lib/esm/segmented-control/stories/segmented-control-floating.story.js +30 -0
  314. package/lib/esm/segmented-control/stories/segmented-control-floating.story.js.map +1 -0
  315. package/lib/esm/segmented-control/stories/segmented-control-only-icons.story.js +31 -0
  316. package/lib/esm/segmented-control/stories/segmented-control-only-icons.story.js.map +1 -0
  317. package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js +31 -0
  318. package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js.map +1 -0
  319. package/lib/esm/segmented-control/stories/segmented-control.stories.js +90 -0
  320. package/lib/esm/segmented-control/stories/segmented-control.stories.js.map +1 -0
  321. package/lib/esm/status-indicator/stories/index.js +25 -0
  322. package/lib/esm/status-indicator/stories/index.js.map +1 -0
  323. package/lib/esm/status-indicator/stories/status-indicator-types.story.js +28 -0
  324. package/lib/esm/status-indicator/stories/status-indicator-types.story.js.map +1 -0
  325. package/lib/esm/status-indicator/stories/status-indicator.stories.js +51 -0
  326. package/lib/esm/status-indicator/stories/status-indicator.stories.js.map +1 -0
  327. package/lib/esm/toast/Toast.js +5 -1
  328. package/lib/esm/toast/Toast.js.map +1 -1
  329. package/lib/esm/toast/ToastControlled.js +83 -0
  330. package/lib/esm/toast/ToastControlled.js.map +1 -0
  331. package/lib/esm/toast/index.js +1 -0
  332. package/lib/esm/toast/index.js.map +1 -1
  333. package/lib/esm/toast/stories/index.js +46 -0
  334. package/lib/esm/toast/stories/index.js.map +1 -0
  335. package/lib/esm/toast/stories/toast-action-story.js +36 -0
  336. package/lib/esm/toast/stories/toast-action-story.js.map +1 -0
  337. package/lib/esm/toast/stories/toast-closeable-story.js +35 -0
  338. package/lib/esm/toast/stories/toast-closeable-story.js.map +1 -0
  339. package/lib/esm/toast/stories/toast-controlled-story.js +42 -0
  340. package/lib/esm/toast/stories/toast-controlled-story.js.map +1 -0
  341. package/lib/esm/toast/stories/toast-custom-story.js +30 -0
  342. package/lib/esm/toast/stories/toast-custom-story.js.map +1 -0
  343. package/lib/esm/toast/stories/toast-danger-story.js +30 -0
  344. package/lib/esm/toast/stories/toast-danger-story.js.map +1 -0
  345. package/lib/esm/toast/stories/toast-neutral-story.js +30 -0
  346. package/lib/esm/toast/stories/toast-neutral-story.js.map +1 -0
  347. package/lib/esm/toast/stories/toast-progress-bar.js +47 -0
  348. package/lib/esm/toast/stories/toast-progress-bar.js.map +1 -0
  349. package/lib/esm/toast/stories/toast-success-story.js +30 -0
  350. package/lib/esm/toast/stories/toast-success-story.js.map +1 -0
  351. package/lib/esm/toast/stories/toast.stories.js +134 -0
  352. package/lib/esm/toast/stories/toast.stories.js.map +1 -0
  353. package/lib/types/avatar/stories/avatar.stories.d.ts +3 -12
  354. package/lib/types/callout/stories/callout-default.story.d.ts +23 -0
  355. package/lib/types/callout/stories/callout-full.story.d.ts +23 -0
  356. package/lib/types/callout/stories/callout-types.story.d.ts +23 -0
  357. package/lib/types/callout/stories/callout-with-children.story.d.ts +23 -0
  358. package/lib/types/callout/stories/callout-without-header.story.d.ts +23 -0
  359. package/lib/types/callout/stories/callout.stories.d.ts +39 -0
  360. package/lib/types/callout/stories/index.d.ts +30 -0
  361. package/lib/types/checkbox/stories/checkbox-checkedByDefault.story.d.ts +23 -0
  362. package/lib/types/checkbox/stories/checkbox-default.story.d.ts +23 -0
  363. package/lib/types/checkbox/stories/checkbox-disabled.story.d.ts +23 -0
  364. package/lib/types/checkbox/stories/checkbox-full.story.d.ts +23 -0
  365. package/lib/types/checkbox/stories/checkbox-hasLabelBefore.story.d.ts +23 -0
  366. package/lib/types/checkbox/stories/checkbox-indeterminate.story.d.ts +23 -0
  367. package/lib/types/checkbox/stories/checkbox-no-label.story.d.ts +23 -0
  368. package/lib/types/checkbox/stories/checkbox.stories.d.ts +32 -0
  369. package/lib/types/checkbox/stories/index.d.ts +34 -0
  370. package/lib/types/context-menu/stories/context-menu-custom-items.story.d.ts +23 -0
  371. package/lib/types/context-menu/stories/context-menu-default.story.d.ts +23 -0
  372. package/lib/types/context-menu/stories/context-menu-in-modal.story.d.ts +23 -0
  373. package/lib/types/context-menu/stories/context-menu-in-popover.story.d.ts +23 -0
  374. package/lib/types/context-menu/stories/context-menu-nested.story.d.ts +23 -0
  375. package/lib/types/context-menu/stories/context-menu-placements.story.d.ts +23 -0
  376. package/lib/types/context-menu/stories/context-menu-with-disabled-item.story.d.ts +23 -0
  377. package/lib/types/context-menu/stories/context-menu-with-divider.story.d.ts +23 -0
  378. package/lib/types/context-menu/stories/context-menu-with-header.story.d.ts +23 -0
  379. package/lib/types/context-menu/stories/context-menu-with-icon.story.d.ts +23 -0
  380. package/lib/types/context-menu/stories/context-menu.stories.d.ts +34 -0
  381. package/lib/types/context-menu/stories/index.d.ts +40 -0
  382. package/lib/types/drawer/stories/drawer-full.story.d.ts +23 -0
  383. package/lib/types/drawer/stories/drawer-not-closeable.story.d.ts +23 -0
  384. package/lib/types/drawer/stories/drawer-overlay.story.d.ts +23 -0
  385. package/lib/types/drawer/stories/drawer-portaled.story.d.ts +23 -0
  386. package/lib/types/drawer/stories/drawer-push.story.d.ts +22 -0
  387. package/lib/types/drawer/stories/drawer-resizable.story.d.ts +23 -0
  388. package/lib/types/drawer/stories/drawer-right-side.story.d.ts +23 -0
  389. package/lib/types/drawer/stories/drawer-scrollable.story.d.ts +23 -0
  390. package/lib/types/drawer/stories/drawer.stories.d.ts +62 -0
  391. package/lib/types/drawer/stories/index.d.ts +36 -0
  392. package/lib/types/graph-label/stories/graph-label-color.story.d.ts +23 -0
  393. package/lib/types/graph-label/stories/graph-label-disabled.story.d.ts +23 -0
  394. package/lib/types/graph-label/stories/graph-label-fluid.story.d.ts +23 -0
  395. package/lib/types/graph-label/stories/graph-label-non-interactive.story.d.ts +23 -0
  396. package/lib/types/graph-label/stories/graph-label-selected.story.d.ts +23 -0
  397. package/lib/types/graph-label/stories/graph-label-sizes.story.d.ts +23 -0
  398. package/lib/types/graph-label/stories/graph-label-types.story.d.ts +23 -0
  399. package/lib/types/graph-label/stories/graph-label.stories.d.ts +32 -0
  400. package/lib/types/graph-label/stories/index.d.ts +34 -0
  401. package/lib/types/label/stories/index.d.ts +28 -0
  402. package/lib/types/label/stories/label-colors.story.d.ts +23 -0
  403. package/lib/types/label/stories/label-default.story.d.ts +23 -0
  404. package/lib/types/label/stories/label-fills.story.d.ts +23 -0
  405. package/lib/types/label/stories/label-with-icons.story.d.ts +23 -0
  406. package/lib/types/label/stories/label.stories.d.ts +29 -0
  407. package/lib/types/loading-bar/stories/index.d.ts +24 -0
  408. package/lib/types/loading-bar/stories/loading-bar-default.story.d.ts +23 -0
  409. package/lib/types/loading-bar/stories/loading-bar-with-rail.story.d.ts +23 -0
  410. package/lib/types/loading-bar/stories/loading-bar.stories.d.ts +27 -0
  411. package/lib/types/loading-spinner/stories/index.d.ts +24 -0
  412. package/lib/types/loading-spinner/stories/loading-spinner-default.story.d.ts +23 -0
  413. package/lib/types/loading-spinner/stories/loading-spinner-sizes.story.d.ts +23 -0
  414. package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts +27 -0
  415. package/lib/types/segmented-control/stories/index.d.ts +28 -0
  416. package/lib/types/segmented-control/stories/segmented-control-default.story.d.ts +23 -0
  417. package/lib/types/segmented-control/stories/segmented-control-floating.story.d.ts +23 -0
  418. package/lib/types/segmented-control/stories/segmented-control-only-icons.story.d.ts +23 -0
  419. package/lib/types/segmented-control/stories/segmented-control-sizes.story.d.ts +23 -0
  420. package/lib/types/segmented-control/stories/segmented-control.stories.d.ts +29 -0
  421. package/lib/types/status-indicator/stories/index.d.ts +22 -0
  422. package/lib/types/status-indicator/stories/status-indicator-types.story.d.ts +23 -0
  423. package/lib/types/status-indicator/stories/status-indicator.stories.d.ts +26 -0
  424. package/lib/types/toast/Toast.d.ts +9 -1
  425. package/lib/types/toast/ToastControlled.d.ts +40 -0
  426. package/lib/types/toast/index.d.ts +1 -0
  427. package/lib/types/toast/stories/index.d.ts +36 -0
  428. package/lib/types/toast/stories/toast-action-story.d.ts +23 -0
  429. package/lib/types/toast/stories/toast-closeable-story.d.ts +23 -0
  430. package/lib/types/toast/stories/toast-controlled-story.d.ts +23 -0
  431. package/lib/types/toast/stories/toast-custom-story.d.ts +23 -0
  432. package/lib/types/toast/stories/toast-danger-story.d.ts +23 -0
  433. package/lib/types/toast/stories/toast-neutral-story.d.ts +23 -0
  434. package/lib/types/toast/stories/toast-progress-bar.d.ts +23 -0
  435. package/lib/types/toast/stories/toast-success-story.d.ts +23 -0
  436. package/lib/types/toast/stories/toast.stories.d.ts +38 -0
  437. package/package.json +4 -4
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Controlled = exports.Custom = exports.ProgressBar = exports.Closeable = exports.Action = exports.Error = exports.Success = exports.Neutral = void 0;
4
+ /**
5
+ *
6
+ * Copyright (c) "Neo4j"
7
+ * Neo4j Sweden AB [http://neo4j.com]
8
+ *
9
+ * This file is part of Neo4j.
10
+ *
11
+ * Neo4j is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ const react_1 = require("@neo4j-ndl/react");
25
+ const _1 = require(".");
26
+ const componentMeta = {
27
+ title: 'Components/Toast',
28
+ id: 'components-toast',
29
+ component: react_1.Toaster,
30
+ tags: ['docsPage'],
31
+ };
32
+ exports.default = componentMeta;
33
+ exports.Neutral = {
34
+ args: {},
35
+ render: _1.ToastNeutral,
36
+ parameters: {
37
+ docs: {
38
+ source: {
39
+ language: 'tsx',
40
+ type: 'code',
41
+ code: _1.ToastNeutralSrc,
42
+ },
43
+ },
44
+ },
45
+ };
46
+ exports.Success = {
47
+ args: {},
48
+ render: _1.ToastSuccess,
49
+ parameters: {
50
+ docs: {
51
+ source: {
52
+ language: 'tsx',
53
+ type: 'code',
54
+ code: _1.ToastSuccessSrc,
55
+ },
56
+ },
57
+ },
58
+ };
59
+ exports.Error = {
60
+ args: {},
61
+ render: _1.ToastDanger,
62
+ parameters: {
63
+ docs: {
64
+ source: {
65
+ language: 'tsx',
66
+ type: 'code',
67
+ code: _1.ToastDangerSrc,
68
+ },
69
+ },
70
+ },
71
+ };
72
+ exports.Action = {
73
+ args: {},
74
+ render: _1.ToastAction,
75
+ parameters: {
76
+ docs: {
77
+ source: {
78
+ language: 'tsx',
79
+ type: 'code',
80
+ code: _1.ToastActionSrc,
81
+ },
82
+ },
83
+ },
84
+ };
85
+ exports.Closeable = {
86
+ args: {},
87
+ render: _1.ToastCloseable,
88
+ parameters: {
89
+ docs: {
90
+ source: {
91
+ language: 'tsx',
92
+ type: 'code',
93
+ code: _1.ToastCloseableSrc,
94
+ },
95
+ },
96
+ },
97
+ };
98
+ exports.ProgressBar = {
99
+ args: {},
100
+ render: _1.ToastProgressBar,
101
+ parameters: {
102
+ docs: {
103
+ source: {
104
+ language: 'tsx',
105
+ type: 'code',
106
+ code: _1.ToastProgressBarSrc,
107
+ },
108
+ },
109
+ },
110
+ };
111
+ exports.Custom = {
112
+ args: {},
113
+ render: _1.ToastCustom,
114
+ parameters: {
115
+ docs: {
116
+ source: {
117
+ language: 'tsx',
118
+ type: 'code',
119
+ code: _1.ToastCustomSrc,
120
+ },
121
+ },
122
+ },
123
+ };
124
+ exports.Controlled = {
125
+ args: {},
126
+ render: _1.ToastControlled,
127
+ parameters: {
128
+ docs: {
129
+ source: {
130
+ language: 'tsx',
131
+ type: 'code',
132
+ code: _1.ToastControlledSrc,
133
+ },
134
+ },
135
+ },
136
+ };
137
+ //# sourceMappingURL=toast.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toast.stories.js","sourceRoot":"","sources":["../../../../src/toast/stories/toast.stories.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4CAA2C;AAG3C,wBAiBW;AAEX,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,kBAAkB;IACzB,EAAE,EAAE,kBAAkB;IACtB,SAAS,EAAE,eAAO;IAClB,IAAI,EAAE,CAAC,UAAU,CAAC;CACY,CAAC;AAEjC,kBAAe,aAAa,CAAC;AAGhB,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,eAAY;IACpB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,kBAAe;aACtB;SACF;KACF;CACF,CAAC;AAEW,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,eAAY;IACpB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,kBAAe;aACtB;SACF;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,cAAW;IACnB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,iBAAc;aACrB;SACF;KACF;CACF,CAAC;AAEW,QAAA,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,cAAW;IACnB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,iBAAc;aACrB;SACF;KACF;CACF,CAAC;AAEW,QAAA,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,iBAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,oBAAiB;aACxB;SACF;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAAU;IAChC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,mBAAgB;IACxB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,sBAAmB;aAC1B;SACF;KACF;CACF,CAAC;AAEW,QAAA,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,cAAW;IACnB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,iBAAc;aACrB;SACF;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,kBAAe;IACvB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,qBAAkB;aACzB;SACF;KACF;CACF,CAAC"}
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
23
  import { Avatar } from '@neo4j-ndl/react';
24
24
  const Component = () => {
25
- return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Avatar, { shape: "circle" }), _jsx(Avatar, { shape: "square" })] }));
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6", children: [_jsx(Avatar, { shape: "circle" }), _jsx(Avatar, { shape: "square" })] }));
26
26
  };
27
27
  export default Component;
28
28
  //# sourceMappingURL=avatar-shapes.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-shapes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-shapes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,EACzB,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"avatar-shapes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-shapes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,EACzB,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
23
  import { Avatar } from '@neo4j-ndl/react';
24
24
  const Component = () => {
25
- return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Avatar, { size: "small" }), _jsx(Avatar, { size: "medium" }), _jsx(Avatar, { size: "large" }), _jsx(Avatar, { size: "x-large" })] }));
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6", children: [_jsx(Avatar, { size: "small" }), _jsx(Avatar, { size: "medium" }), _jsx(Avatar, { size: "large" }), _jsx(Avatar, { size: "x-large" })] }));
26
26
  };
27
27
  export default Component;
28
28
  //# sourceMappingURL=avatar-sizes.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-sizes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,GAAG,EACxB,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,KAAC,MAAM,IAAC,IAAI,EAAC,SAAS,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"avatar-sizes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,GAAG,EACxB,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,KAAC,MAAM,IAAC,IAAI,EAAC,SAAS,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
23
  import { Avatar } from '@neo4j-ndl/react';
24
24
  const Component = () => {
25
- return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Avatar, { hasStatus: false }), _jsx(Avatar, { hasStatus: true, status: "online" }), _jsx(Avatar, { hasStatus: true, status: "offline" }), _jsx(Avatar, { hasStatus: true, status: "unknown" })] }));
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6 n-items-center", children: [_jsx(Avatar, { hasStatus: false }), _jsx(Avatar, { hasStatus: true, status: "online" }), _jsx(Avatar, { hasStatus: true, status: "offline" }), _jsx(Avatar, { hasStatus: true, status: "unknown" })] }));
26
26
  };
27
27
  export default Component;
28
28
  //# sourceMappingURL=avatar-statuses.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-statuses.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-statuses.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,MAAM,IAAC,SAAS,EAAE,KAAK,GAAI,EAC5B,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,QAAQ,GAAG,EACpC,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,EACrC,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,IACjC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"avatar-statuses.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-statuses.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,qCAAqC,aAClD,KAAC,MAAM,IAAC,SAAS,EAAE,KAAK,GAAI,EAC5B,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,QAAQ,GAAG,EACpC,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,EACrC,KAAC,MAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,IACjC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
23
  import { Avatar } from '@neo4j-ndl/react';
24
24
  const Component = () => {
25
- return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Avatar, { type: "icon", name: "KM" }), _jsx(Avatar, { type: "letters", name: "KM" }), _jsx(Avatar, { type: "image", name: "KM", source: "https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=" })] }));
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6", children: [_jsx(Avatar, { type: "icon", name: "KM" }), _jsx(Avatar, { type: "letters", name: "KM" }), _jsx(Avatar, { type: "image", name: "KM", source: "https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=" })] }));
26
26
  };
27
27
  export default Component;
28
28
  //# sourceMappingURL=avatar-types.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-types.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-types.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,GAAG,EAChC,KAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,GAAG,EACnC,KAAC,MAAM,IACL,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,IAAI,EACT,MAAM,EAAC,uIAAuI,GAC9I,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"avatar-types.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-types.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,GAAG,EAChC,KAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,GAAG,EACnC,KAAC,MAAM,IACL,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,IAAI,EACT,MAAM,EAAC,uIAAuI,GAC9I,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -18,6 +18,8 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
+
22
+ import { jsx as _jsx } from "react/jsx-runtime";
21
23
  import { Avatar } from '../../index';
22
24
  import { AvatarDefault, AvatarDefaultSource, AvatarDisabled, AvatarDisabledSource, AvatarShapes, AvatarShapesSource, AvatarSizes, AvatarSizesSource, AvatarStatuses, AvatarStatusesSource, AvatarTypes, AvatarTypesSource, } from '.';
23
25
  const componentMeta = {
@@ -28,9 +30,13 @@ const componentMeta = {
28
30
  parameters: {
29
31
  controls: { disable: true },
30
32
  },
33
+ decorators: [
34
+ (Story) => (_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Story, {}) })),
35
+ ],
31
36
  };
32
37
  export default componentMeta;
33
38
  export const Default = {
39
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
34
40
  args: {},
35
41
  render: AvatarDefault,
36
42
  parameters: {
@@ -44,6 +50,7 @@ export const Default = {
44
50
  },
45
51
  };
46
52
  export const Disabled = {
53
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
47
54
  args: {},
48
55
  render: AvatarDisabled,
49
56
  parameters: {
@@ -57,6 +64,7 @@ export const Disabled = {
57
64
  },
58
65
  };
59
66
  export const Shapes = {
67
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
60
68
  args: {},
61
69
  render: AvatarShapes,
62
70
  parameters: {
@@ -70,6 +78,7 @@ export const Shapes = {
70
78
  },
71
79
  };
72
80
  export const Sizes = {
81
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
73
82
  args: {},
74
83
  render: AvatarSizes,
75
84
  parameters: {
@@ -83,6 +92,7 @@ export const Sizes = {
83
92
  },
84
93
  };
85
94
  export const Statuses = {
95
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
86
96
  args: {},
87
97
  render: AvatarStatuses,
88
98
  parameters: {
@@ -96,6 +106,7 @@ export const Statuses = {
96
106
  },
97
107
  };
98
108
  export const Types = {
109
+ // @ts-expect-error The args from the full story are not actually used but we get a type issue here
99
110
  args: {},
100
111
  render: AvatarTypes,
101
112
  parameters: {
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.stories.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,iBAAiB,GAClB,MAAM,GAAG,CAAC;AAEX,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;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,aAAa;IACrB,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,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,cAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,oBAAoB;aAC3B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,YAAY;IACpB,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,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,WAAW;IACnB,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;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,cAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,oBAAoB;aAC3B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,WAAW;IACnB,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"}
1
+ {"version":3,"file":"avatar.stories.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,iBAAiB,GAClB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAwB;IACzC,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;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CAC4B,CAAC;AAEhC,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,aAAa;IACrB,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,cAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,oBAAoB;aAC3B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,YAAY;IACpB,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,KAAK,GAAU;IAC1B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,WAAW;IACnB,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;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,cAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,oBAAoB;aAC3B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,mGAAmG;IACnG,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,WAAW;IACnB,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"}
@@ -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 { Callout } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(Callout, { header: "Callout Header", description: "Lorem ipsum dolor sit amet." }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=callout-default.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-default.story.js","sourceRoot":"","sources":["../../../../src/callout/stories/callout-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,OAAO,IACN,MAAM,EAAC,gBAAgB,EACvB,WAAW,EAAC,6BAA6B,GACzC,CACH,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 { Callout, TextLink, Typography } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(Callout, { header: "Callout Header", description: "Lorem ipsum dolor sit amet.", type: "important", children: _jsxs(Typography, { variant: "body-medium", children: ["Please visit", ' ', _jsx(TextLink, { href: "https://neo4j.design/40a8cff71/p/159f18", children: "Needle Design System" }), ' ', "for more information."] }) }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=callout-full.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-full.story.js","sourceRoot":"","sources":["../../../../src/callout/stories/callout-full.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEjE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,OAAO,IACN,MAAM,EAAC,gBAAgB,EACvB,WAAW,EAAC,6BAA6B,EACzC,IAAI,EAAC,WAAW,YAEhB,MAAC,UAAU,IAAC,OAAO,EAAC,aAAa,6BAClB,GAAG,EAChB,KAAC,QAAQ,IAAC,IAAI,EAAC,yCAAyC,qCAE7C,EAAC,GAAG,6BAEJ,GACL,CACX,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 { Callout } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Callout, { type: "note", header: "Note Callout", description: "This is a note callout for general information." }), _jsx(Callout, { type: "important", header: "Important Callout", description: "This is an important callout for critical information." }), _jsx(Callout, { type: "tip", header: "Tip Callout", description: "This is a tip callout for helpful suggestions." }), _jsx(Callout, { type: "example", header: "Example Callout", description: "This is an example callout for code samples or examples." })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=callout-types.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-types.story.js","sourceRoot":"","sources":["../../../../src/callout/stories/callout-types.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,OAAO,IACN,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,iDAAiD,GAC7D,EACF,KAAC,OAAO,IACN,IAAI,EAAC,WAAW,EAChB,MAAM,EAAC,mBAAmB,EAC1B,WAAW,EAAC,wDAAwD,GACpE,EACF,KAAC,OAAO,IACN,IAAI,EAAC,KAAK,EACV,MAAM,EAAC,aAAa,EACpB,WAAW,EAAC,gDAAgD,GAC5D,EACF,KAAC,OAAO,IACN,IAAI,EAAC,SAAS,EACd,MAAM,EAAC,iBAAiB,EACxB,WAAW,EAAC,0DAA0D,GACtE,IACE,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 { Callout, TextLink, Typography } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(Callout, { header: "Callout Header", description: "This is a description will not be shown when children are present.", children: _jsxs(Typography, { variant: "body-medium", children: ["Please visit", ' ', _jsx(TextLink, { href: "https://neo4j.design/40a8cff71/p/159f18", children: "Needle Design System" }), ' ', "for more information."] }) }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=callout-with-children.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-with-children.story.js","sourceRoot":"","sources":["../../../../src/callout/stories/callout-with-children.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEjE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,OAAO,IACN,MAAM,EAAC,gBAAgB,EACvB,WAAW,EAAC,oEAAoE,YAEhF,MAAC,UAAU,IAAC,OAAO,EAAC,aAAa,6BAClB,GAAG,EAChB,KAAC,QAAQ,IAAC,IAAI,EAAC,yCAAyC,qCAE7C,EAAC,GAAG,6BAEJ,GACL,CACX,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 { Callout } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(Callout, { description: "This is a default callout without a header." });
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=callout-without-header.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-without-header.story.js","sourceRoot":"","sources":["../../../../src/callout/stories/callout-without-header.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,OAAO,IAAC,WAAW,EAAC,6CAA6C,GAAG,CAAC;AAC/E,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,98 @@
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 { Callout } from '@neo4j-ndl/react';
22
+ import { CalloutDefault, CalloutDefaultSrc, CalloutFull, CalloutFullSrc, CalloutTypes, CalloutTypesSrc, CalloutWithChildren, CalloutWithChildrenSrc, CalloutWithoutHeader, CalloutWithoutHeaderSrc, } from '.';
23
+ const componentMeta = {
24
+ title: 'Components/Callout',
25
+ id: 'components-callout',
26
+ component: Callout,
27
+ tags: ['docsPage'],
28
+ parameters: {
29
+ controls: { disable: true },
30
+ },
31
+ };
32
+ export default componentMeta;
33
+ export const Default = {
34
+ args: {},
35
+ render: CalloutDefault,
36
+ parameters: {
37
+ docs: {
38
+ source: {
39
+ language: 'tsx',
40
+ type: 'code',
41
+ code: CalloutDefaultSrc,
42
+ },
43
+ },
44
+ },
45
+ };
46
+ export const Types = {
47
+ args: {},
48
+ render: CalloutTypes,
49
+ parameters: {
50
+ docs: {
51
+ source: {
52
+ language: 'tsx',
53
+ type: 'code',
54
+ code: CalloutTypesSrc,
55
+ },
56
+ },
57
+ },
58
+ };
59
+ export const WithChildren = {
60
+ args: {},
61
+ render: CalloutWithChildren,
62
+ parameters: {
63
+ docs: {
64
+ source: {
65
+ language: 'tsx',
66
+ type: 'code',
67
+ code: CalloutWithChildrenSrc,
68
+ },
69
+ },
70
+ },
71
+ };
72
+ export const WithoutHeader = {
73
+ args: {},
74
+ render: CalloutWithoutHeader,
75
+ parameters: {
76
+ docs: {
77
+ source: {
78
+ language: 'tsx',
79
+ type: 'code',
80
+ code: CalloutWithoutHeaderSrc,
81
+ },
82
+ },
83
+ },
84
+ };
85
+ export const Full = {
86
+ args: {},
87
+ render: CalloutFull,
88
+ parameters: {
89
+ docs: {
90
+ source: {
91
+ language: 'tsx',
92
+ type: 'code',
93
+ code: CalloutFullSrc,
94
+ },
95
+ },
96
+ },
97
+ };
98
+ //# sourceMappingURL=callout.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout.stories.js","sourceRoot":"","sources":["../../../../src/callout/stories/callout.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,oBAAoB;IAC3B,EAAE,EAAE,oBAAoB;IACxB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;CAC6B,CAAC;AAEjC,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,cAAc;IACtB,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;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,eAAe;aACtB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,mBAAmB;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,sBAAsB;aAC7B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,oBAAoB;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,uBAAuB;aAC9B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,WAAW;IACnB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,cAAc;aACrB;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,37 @@
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 CalloutDefault } from './callout-default.story';
22
+ export { default as CalloutTypes } from './callout-types.story';
23
+ export { default as CalloutWithChildren } from './callout-with-children.story';
24
+ export { default as CalloutWithoutHeader } from './callout-without-header.story';
25
+ export { default as CalloutFull } from './callout-full.story';
26
+ import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
27
+ import CalloutDefaultSrcRaw from './callout-default.story?raw';
28
+ import CalloutFullSrcRaw from './callout-full.story?raw';
29
+ import CalloutTypesSrcRaw from './callout-types.story?raw';
30
+ import CalloutWithChildrenSrcRaw from './callout-with-children.story?raw';
31
+ import CalloutWithoutHeaderSrcRaw from './callout-without-header.story?raw';
32
+ export const CalloutDefaultSrc = removeLicenseHeader(CalloutDefaultSrcRaw);
33
+ export const CalloutTypesSrc = removeLicenseHeader(CalloutTypesSrcRaw);
34
+ export const CalloutWithChildrenSrc = removeLicenseHeader(CalloutWithChildrenSrcRaw);
35
+ export const CalloutWithoutHeaderSrc = removeLicenseHeader(CalloutWithoutHeaderSrcRaw);
36
+ export const CalloutFullSrc = removeLicenseHeader(CalloutFullSrcRaw);
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/callout/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,oBAAoB,MAAM,6BAA6B,CAAC;AAC/D,OAAO,iBAAiB,MAAM,0BAA0B,CAAC;AACzD,OAAO,kBAAkB,MAAM,2BAA2B,CAAC;AAC3D,OAAO,yBAAyB,MAAM,mCAAmC,CAAC;AAC1E,OAAO,0BAA0B,MAAM,oCAAoC,CAAC;AAE5E,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CACvD,yBAAyB,CAC1B,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,cAAc,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,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 { Checkbox } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsx(Checkbox, { label: "Checkbox label", onClick: () => console.info('Clicked on the checkbox!'), isDefaultChecked: true }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=checkbox-checkedByDefault.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox-checkedByDefault.story.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/checkbox-checkedByDefault.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,QAAQ,IACP,KAAK,EAAC,gBAAgB,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,CAAC,EACvD,gBAAgB,SAChB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}