@neo4j-ndl/react 3.8.35 → 3.9.1

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 (822) hide show
  1. package/lib/cjs/_common/CodeBlockWrapper.js +1 -1
  2. package/lib/cjs/avatar/Avatar.js +1 -1
  3. package/lib/cjs/avatar/stories/avatar-shapes.story.js +1 -1
  4. package/lib/cjs/avatar/stories/avatar-shapes.story.js.map +1 -1
  5. package/lib/cjs/avatar/stories/avatar-sizes.story.js +1 -1
  6. package/lib/cjs/avatar/stories/avatar-sizes.story.js.map +1 -1
  7. package/lib/cjs/avatar/stories/avatar-statuses.story.js +1 -1
  8. package/lib/cjs/avatar/stories/avatar-statuses.story.js.map +1 -1
  9. package/lib/cjs/avatar/stories/avatar-types.story.js +1 -1
  10. package/lib/cjs/avatar/stories/avatar-types.story.js.map +1 -1
  11. package/lib/cjs/avatar/stories/avatar.stories.js +12 -1
  12. package/lib/cjs/avatar/stories/avatar.stories.js.map +1 -1
  13. package/lib/cjs/breadcrumbs/Breadcrumbs.js +2 -2
  14. package/lib/cjs/callout/stories/callout-default.story.js +30 -0
  15. package/lib/cjs/callout/stories/callout-default.story.js.map +1 -0
  16. package/lib/cjs/callout/stories/callout-full.story.js +30 -0
  17. package/lib/cjs/callout/stories/callout-full.story.js.map +1 -0
  18. package/lib/cjs/callout/stories/callout-types.story.js +30 -0
  19. package/lib/cjs/callout/stories/callout-types.story.js.map +1 -0
  20. package/lib/cjs/callout/stories/callout-with-children.story.js +30 -0
  21. package/lib/cjs/callout/stories/callout-with-children.story.js.map +1 -0
  22. package/lib/cjs/callout/stories/callout-without-header.story.js +30 -0
  23. package/lib/cjs/callout/stories/callout-without-header.story.js.map +1 -0
  24. package/lib/cjs/callout/stories/callout.stories.js +101 -0
  25. package/lib/cjs/callout/stories/callout.stories.js.map +1 -0
  26. package/lib/cjs/callout/stories/index.js +48 -0
  27. package/lib/cjs/callout/stories/index.js.map +1 -0
  28. package/lib/cjs/checkbox/stories/checkbox-checkedByDefault.story.js +30 -0
  29. package/lib/cjs/checkbox/stories/checkbox-checkedByDefault.story.js.map +1 -0
  30. package/lib/cjs/checkbox/stories/checkbox-default.story.js +30 -0
  31. package/lib/cjs/checkbox/stories/checkbox-default.story.js.map +1 -0
  32. package/lib/cjs/checkbox/stories/checkbox-disabled.story.js +30 -0
  33. package/lib/cjs/checkbox/stories/checkbox-disabled.story.js.map +1 -0
  34. package/lib/cjs/checkbox/stories/checkbox-full.story.js +39 -0
  35. package/lib/cjs/checkbox/stories/checkbox-full.story.js.map +1 -0
  36. package/lib/cjs/checkbox/stories/checkbox-hasLabelBefore.story.js +30 -0
  37. package/lib/cjs/checkbox/stories/checkbox-hasLabelBefore.story.js.map +1 -0
  38. package/lib/cjs/checkbox/stories/checkbox-indeterminate.story.js +33 -0
  39. package/lib/cjs/checkbox/stories/checkbox-indeterminate.story.js.map +1 -0
  40. package/lib/cjs/checkbox/stories/checkbox-no-label.story.js +30 -0
  41. package/lib/cjs/checkbox/stories/checkbox-no-label.story.js.map +1 -0
  42. package/lib/cjs/checkbox/stories/checkbox.stories.js +137 -0
  43. package/lib/cjs/checkbox/stories/checkbox.stories.js.map +1 -0
  44. package/lib/cjs/checkbox/stories/index.js +56 -0
  45. package/lib/cjs/checkbox/stories/index.js.map +1 -0
  46. package/lib/cjs/code/stories/code-default.story.js +31 -0
  47. package/lib/cjs/code/stories/code-default.story.js.map +1 -0
  48. package/lib/cjs/code/stories/code-disabled.story.js +45 -0
  49. package/lib/cjs/code/stories/code-disabled.story.js.map +1 -0
  50. package/lib/cjs/code/stories/code-full.story.js +45 -0
  51. package/lib/cjs/code/stories/code-full.story.js.map +1 -0
  52. package/lib/cjs/code/stories/code-inline-runnable.story.js +30 -0
  53. package/lib/cjs/code/stories/code-inline-runnable.story.js.map +1 -0
  54. package/lib/cjs/code/stories/code-inline.story.js +30 -0
  55. package/lib/cjs/code/stories/code-inline.story.js.map +1 -0
  56. package/lib/cjs/code/stories/code-languages.story.js +31 -0
  57. package/lib/cjs/code/stories/code-languages.story.js.map +1 -0
  58. package/lib/cjs/code/stories/code-overflow.story.js +31 -0
  59. package/lib/cjs/code/stories/code-overflow.story.js.map +1 -0
  60. package/lib/cjs/code/stories/code-with-actions.story.js +45 -0
  61. package/lib/cjs/code/stories/code-with-actions.story.js.map +1 -0
  62. package/lib/cjs/code/stories/code-with-header.story.js +31 -0
  63. package/lib/cjs/code/stories/code-with-header.story.js.map +1 -0
  64. package/lib/cjs/code/stories/code-with-line-numbers.story.js +31 -0
  65. package/lib/cjs/code/stories/code-with-line-numbers.story.js.map +1 -0
  66. package/lib/cjs/code/stories/code.stories.js +166 -0
  67. package/lib/cjs/code/stories/code.stories.js.map +1 -0
  68. package/lib/cjs/code/stories/example-code-snippets.js +81 -0
  69. package/lib/cjs/code/stories/example-code-snippets.js.map +1 -0
  70. package/lib/cjs/code/stories/index.js +68 -0
  71. package/lib/cjs/code/stories/index.js.map +1 -0
  72. package/lib/cjs/context-menu/stories/context-menu-custom-items.story.js +33 -0
  73. package/lib/cjs/context-menu/stories/context-menu-custom-items.story.js.map +1 -0
  74. package/lib/cjs/context-menu/stories/context-menu-default.story.js +45 -0
  75. package/lib/cjs/context-menu/stories/context-menu-default.story.js.map +1 -0
  76. package/lib/cjs/context-menu/stories/context-menu-in-modal.story.js +38 -0
  77. package/lib/cjs/context-menu/stories/context-menu-in-modal.story.js.map +1 -0
  78. package/lib/cjs/context-menu/stories/context-menu-in-popover.story.js +34 -0
  79. package/lib/cjs/context-menu/stories/context-menu-in-popover.story.js.map +1 -0
  80. package/lib/cjs/context-menu/stories/context-menu-nested.story.js +34 -0
  81. package/lib/cjs/context-menu/stories/context-menu-nested.story.js.map +1 -0
  82. package/lib/cjs/context-menu/stories/context-menu-placements.story.js +45 -0
  83. package/lib/cjs/context-menu/stories/context-menu-placements.story.js.map +1 -0
  84. package/lib/cjs/context-menu/stories/context-menu-with-disabled-item.story.js +36 -0
  85. package/lib/cjs/context-menu/stories/context-menu-with-disabled-item.story.js.map +1 -0
  86. package/lib/cjs/context-menu/stories/context-menu-with-divider.story.js +36 -0
  87. package/lib/cjs/context-menu/stories/context-menu-with-divider.story.js.map +1 -0
  88. package/lib/cjs/context-menu/stories/context-menu-with-header.story.js +36 -0
  89. package/lib/cjs/context-menu/stories/context-menu-with-header.story.js.map +1 -0
  90. package/lib/cjs/context-menu/stories/context-menu-with-icon.story.js +34 -0
  91. package/lib/cjs/context-menu/stories/context-menu-with-icon.story.js.map +1 -0
  92. package/lib/cjs/context-menu/stories/context-menu.stories.js +170 -0
  93. package/lib/cjs/context-menu/stories/context-menu.stories.js.map +1 -0
  94. package/lib/cjs/context-menu/stories/index.js +68 -0
  95. package/lib/cjs/context-menu/stories/index.js.map +1 -0
  96. package/lib/cjs/data-grid/Components.js +1 -1
  97. package/lib/cjs/date-picker/stories/date-picker-default.story.js +41 -0
  98. package/lib/cjs/date-picker/stories/date-picker-default.story.js.map +1 -0
  99. package/lib/cjs/date-picker/stories/date-picker-disabled.story.js +38 -0
  100. package/lib/cjs/date-picker/stories/date-picker-disabled.story.js.map +1 -0
  101. package/lib/cjs/date-picker/stories/date-picker-full.story.js +60 -0
  102. package/lib/cjs/date-picker/stories/date-picker-full.story.js.map +1 -0
  103. package/lib/cjs/date-picker/stories/date-picker-inside-modal.story.js +41 -0
  104. package/lib/cjs/date-picker/stories/date-picker-inside-modal.story.js.map +1 -0
  105. package/lib/cjs/date-picker/stories/date-picker-min-max-date.story.js +45 -0
  106. package/lib/cjs/date-picker/stories/date-picker-min-max-date.story.js.map +1 -0
  107. package/lib/cjs/date-picker/stories/date-picker-opens-to-date.story.js +43 -0
  108. package/lib/cjs/date-picker/stories/date-picker-opens-to-date.story.js.map +1 -0
  109. package/lib/cjs/date-picker/stories/date-picker-starts-on-monday.story.js +42 -0
  110. package/lib/cjs/date-picker/stories/date-picker-starts-on-monday.story.js.map +1 -0
  111. package/lib/cjs/date-picker/stories/date-picker-text-input-props.story.js +44 -0
  112. package/lib/cjs/date-picker/stories/date-picker-text-input-props.story.js.map +1 -0
  113. package/lib/cjs/date-picker/stories/date-picker-with-time-picker.story.js +45 -0
  114. package/lib/cjs/date-picker/stories/date-picker-with-time-picker.story.js.map +1 -0
  115. package/lib/cjs/date-picker/stories/date-picker.stories.js +207 -0
  116. package/lib/cjs/date-picker/stories/date-picker.stories.js.map +1 -0
  117. package/lib/cjs/date-picker/stories/index.js +64 -0
  118. package/lib/cjs/date-picker/stories/index.js.map +1 -0
  119. package/lib/cjs/drawer/stories/drawer-full.story.js +36 -0
  120. package/lib/cjs/drawer/stories/drawer-full.story.js.map +1 -0
  121. package/lib/cjs/drawer/stories/drawer-not-closeable.story.js +33 -0
  122. package/lib/cjs/drawer/stories/drawer-not-closeable.story.js.map +1 -0
  123. package/lib/cjs/drawer/stories/drawer-overlay.story.js +33 -0
  124. package/lib/cjs/drawer/stories/drawer-overlay.story.js.map +1 -0
  125. package/lib/cjs/drawer/stories/drawer-portaled.story.js +38 -0
  126. package/lib/cjs/drawer/stories/drawer-portaled.story.js.map +1 -0
  127. package/lib/cjs/drawer/stories/drawer-push.story.js +32 -0
  128. package/lib/cjs/drawer/stories/drawer-push.story.js.map +1 -0
  129. package/lib/cjs/drawer/stories/drawer-resizable.story.js +36 -0
  130. package/lib/cjs/drawer/stories/drawer-resizable.story.js.map +1 -0
  131. package/lib/cjs/drawer/stories/drawer-right-side.story.js +33 -0
  132. package/lib/cjs/drawer/stories/drawer-right-side.story.js.map +1 -0
  133. package/lib/cjs/drawer/stories/drawer-scrollable.story.js +33 -0
  134. package/lib/cjs/drawer/stories/drawer-scrollable.story.js.map +1 -0
  135. package/lib/cjs/drawer/stories/drawer.stories.js +150 -0
  136. package/lib/cjs/drawer/stories/drawer.stories.js.map +1 -0
  137. package/lib/cjs/drawer/stories/index.js +60 -0
  138. package/lib/cjs/drawer/stories/index.js.map +1 -0
  139. package/lib/cjs/dropzone/stories/dropzone-csv-files.story.js +37 -0
  140. package/lib/cjs/dropzone/stories/dropzone-csv-files.story.js.map +1 -0
  141. package/lib/cjs/dropzone/stories/dropzone-custom-extensions.story.js +36 -0
  142. package/lib/cjs/dropzone/stories/dropzone-custom-extensions.story.js.map +1 -0
  143. package/lib/cjs/dropzone/stories/dropzone-default.story.js +36 -0
  144. package/lib/cjs/dropzone/stories/dropzone-default.story.js.map +1 -0
  145. package/lib/cjs/dropzone/stories/dropzone-disabled.story.js +38 -0
  146. package/lib/cjs/dropzone/stories/dropzone-disabled.story.js.map +1 -0
  147. package/lib/cjs/dropzone/stories/dropzone-full.story.js +109 -0
  148. package/lib/cjs/dropzone/stories/dropzone-full.story.js.map +1 -0
  149. package/lib/cjs/dropzone/stories/dropzone-loading-progress.story.js +31 -0
  150. package/lib/cjs/dropzone/stories/dropzone-loading-progress.story.js.map +1 -0
  151. package/lib/cjs/dropzone/stories/dropzone-loading-spinner.story.js +31 -0
  152. package/lib/cjs/dropzone/stories/dropzone-loading-spinner.story.js.map +1 -0
  153. package/lib/cjs/dropzone/stories/dropzone.stories.js +121 -0
  154. package/lib/cjs/dropzone/stories/dropzone.stories.js.map +1 -0
  155. package/lib/cjs/dropzone/stories/index.js +56 -0
  156. package/lib/cjs/dropzone/stories/index.js.map +1 -0
  157. package/lib/cjs/graph-label/stories/graph-label-color.story.js +30 -0
  158. package/lib/cjs/graph-label/stories/graph-label-color.story.js.map +1 -0
  159. package/lib/cjs/graph-label/stories/graph-label-disabled.story.js +30 -0
  160. package/lib/cjs/graph-label/stories/graph-label-disabled.story.js.map +1 -0
  161. package/lib/cjs/graph-label/stories/graph-label-fluid.story.js +30 -0
  162. package/lib/cjs/graph-label/stories/graph-label-fluid.story.js.map +1 -0
  163. package/lib/cjs/graph-label/stories/graph-label-non-interactive.story.js +30 -0
  164. package/lib/cjs/graph-label/stories/graph-label-non-interactive.story.js.map +1 -0
  165. package/lib/cjs/graph-label/stories/graph-label-selected.story.js +30 -0
  166. package/lib/cjs/graph-label/stories/graph-label-selected.story.js.map +1 -0
  167. package/lib/cjs/graph-label/stories/graph-label-sizes.story.js +30 -0
  168. package/lib/cjs/graph-label/stories/graph-label-sizes.story.js.map +1 -0
  169. package/lib/cjs/graph-label/stories/graph-label-types.story.js +30 -0
  170. package/lib/cjs/graph-label/stories/graph-label-types.story.js.map +1 -0
  171. package/lib/cjs/graph-label/stories/graph-label.stories.js +132 -0
  172. package/lib/cjs/graph-label/stories/graph-label.stories.js.map +1 -0
  173. package/lib/cjs/graph-label/stories/index.js +56 -0
  174. package/lib/cjs/graph-label/stories/index.js.map +1 -0
  175. package/lib/cjs/graph-visualization/graph-visualization-buttons.js +2 -2
  176. package/lib/cjs/graph-visualization/graph-visualization.js +20 -4
  177. package/lib/cjs/graph-visualization/graph-visualization.js.map +1 -1
  178. package/lib/cjs/graph-visualization/stories/graph-visualization-highlighting.story.js +30 -0
  179. package/lib/cjs/graph-visualization/stories/graph-visualization-highlighting.story.js.map +1 -0
  180. package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js +14 -1
  181. package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
  182. package/lib/cjs/graph-visualization/stories/index.js +5 -1
  183. package/lib/cjs/graph-visualization/stories/index.js.map +1 -1
  184. package/lib/cjs/graph-visualization/{use-managed-selection-state.js → use-managed-node-state.js} +10 -6
  185. package/lib/cjs/graph-visualization/use-managed-node-state.js.map +1 -0
  186. package/lib/cjs/label/stories/index.js +44 -0
  187. package/lib/cjs/label/stories/index.js.map +1 -0
  188. package/lib/cjs/label/stories/label-colors.story.js +30 -0
  189. package/lib/cjs/label/stories/label-colors.story.js.map +1 -0
  190. package/lib/cjs/label/stories/label-default.story.js +30 -0
  191. package/lib/cjs/label/stories/label-default.story.js.map +1 -0
  192. package/lib/cjs/label/stories/label-fills.story.js +30 -0
  193. package/lib/cjs/label/stories/label-fills.story.js.map +1 -0
  194. package/lib/cjs/label/stories/label-with-icons.story.js +30 -0
  195. package/lib/cjs/label/stories/label-with-icons.story.js.map +1 -0
  196. package/lib/cjs/label/stories/label.stories.js +93 -0
  197. package/lib/cjs/label/stories/label.stories.js.map +1 -0
  198. package/lib/cjs/loading-bar/stories/index.js +36 -0
  199. package/lib/cjs/loading-bar/stories/index.js.map +1 -0
  200. package/lib/cjs/loading-bar/stories/loading-bar-default.story.js +30 -0
  201. package/lib/cjs/loading-bar/stories/loading-bar-default.story.js.map +1 -0
  202. package/lib/cjs/loading-bar/stories/loading-bar-with-rail.story.js +30 -0
  203. package/lib/cjs/loading-bar/stories/loading-bar-with-rail.story.js.map +1 -0
  204. package/lib/cjs/loading-bar/stories/loading-bar.stories.js +67 -0
  205. package/lib/cjs/loading-bar/stories/loading-bar.stories.js.map +1 -0
  206. package/lib/cjs/loading-spinner/stories/index.js +36 -0
  207. package/lib/cjs/loading-spinner/stories/index.js.map +1 -0
  208. package/lib/cjs/loading-spinner/stories/loading-spinner-default.story.js +30 -0
  209. package/lib/cjs/loading-spinner/stories/loading-spinner-default.story.js.map +1 -0
  210. package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js +30 -0
  211. package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -0
  212. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js +67 -0
  213. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js.map +1 -0
  214. package/lib/cjs/next/breadcrumbs/Breadcrumbs.js +1 -1
  215. package/lib/cjs/radio/stories/index.js +56 -0
  216. package/lib/cjs/radio/stories/index.js.map +1 -0
  217. package/lib/cjs/radio/stories/radio-checkedByDefault.story.js +30 -0
  218. package/lib/cjs/radio/stories/radio-checkedByDefault.story.js.map +1 -0
  219. package/lib/cjs/radio/stories/radio-custom-label.story.js +30 -0
  220. package/lib/cjs/radio/stories/radio-custom-label.story.js.map +1 -0
  221. package/lib/cjs/radio/stories/radio-default.story.js +30 -0
  222. package/lib/cjs/radio/stories/radio-default.story.js.map +1 -0
  223. package/lib/cjs/radio/stories/radio-disabled.story.js +30 -0
  224. package/lib/cjs/radio/stories/radio-disabled.story.js.map +1 -0
  225. package/lib/cjs/radio/stories/radio-hasLabelBefore.story.js +30 -0
  226. package/lib/cjs/radio/stories/radio-hasLabelBefore.story.js.map +1 -0
  227. package/lib/cjs/radio/stories/radio-no-label.story.js +30 -0
  228. package/lib/cjs/radio/stories/radio-no-label.story.js.map +1 -0
  229. package/lib/cjs/radio/stories/radio-truncated-label.story.js +30 -0
  230. package/lib/cjs/radio/stories/radio-truncated-label.story.js.map +1 -0
  231. package/lib/cjs/radio/stories/radio.stories.js +137 -0
  232. package/lib/cjs/radio/stories/radio.stories.js.map +1 -0
  233. package/lib/cjs/segmented-control/stories/index.js +44 -0
  234. package/lib/cjs/segmented-control/stories/index.js.map +1 -0
  235. package/lib/cjs/segmented-control/stories/segmented-control-default.story.js +32 -0
  236. package/lib/cjs/segmented-control/stories/segmented-control-default.story.js.map +1 -0
  237. package/lib/cjs/segmented-control/stories/segmented-control-floating.story.js +32 -0
  238. package/lib/cjs/segmented-control/stories/segmented-control-floating.story.js.map +1 -0
  239. package/lib/cjs/segmented-control/stories/segmented-control-only-icons.story.js +33 -0
  240. package/lib/cjs/segmented-control/stories/segmented-control-only-icons.story.js.map +1 -0
  241. package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js +33 -0
  242. package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js.map +1 -0
  243. package/lib/cjs/segmented-control/stories/segmented-control.stories.js +93 -0
  244. package/lib/cjs/segmented-control/stories/segmented-control.stories.js.map +1 -0
  245. package/lib/cjs/spotlight/SpotlightTarget.js +1 -1
  246. package/lib/cjs/status-indicator/stories/index.js +32 -0
  247. package/lib/cjs/status-indicator/stories/index.js.map +1 -0
  248. package/lib/cjs/status-indicator/stories/status-indicator-types.story.js +30 -0
  249. package/lib/cjs/status-indicator/stories/status-indicator-types.story.js.map +1 -0
  250. package/lib/cjs/status-indicator/stories/status-indicator.stories.js +54 -0
  251. package/lib/cjs/status-indicator/stories/status-indicator.stories.js.map +1 -0
  252. package/lib/cjs/switch/stories/index.js +56 -0
  253. package/lib/cjs/switch/stories/index.js.map +1 -0
  254. package/lib/cjs/switch/stories/switch-checked-by-default.story.js +30 -0
  255. package/lib/cjs/switch/stories/switch-checked-by-default.story.js.map +1 -0
  256. package/lib/cjs/switch/stories/switch-default.story.js +30 -0
  257. package/lib/cjs/switch/stories/switch-default.story.js.map +1 -0
  258. package/lib/cjs/switch/stories/switch-disabled.story.js +30 -0
  259. package/lib/cjs/switch/stories/switch-disabled.story.js.map +1 -0
  260. package/lib/cjs/switch/stories/switch-full.story.js +39 -0
  261. package/lib/cjs/switch/stories/switch-full.story.js.map +1 -0
  262. package/lib/cjs/switch/stories/switch-has-label-before.story.js +30 -0
  263. package/lib/cjs/switch/stories/switch-has-label-before.story.js.map +1 -0
  264. package/lib/cjs/switch/stories/switch-indeterminate.story.js +33 -0
  265. package/lib/cjs/switch/stories/switch-indeterminate.story.js.map +1 -0
  266. package/lib/cjs/switch/stories/switch-no-label.story.js +30 -0
  267. package/lib/cjs/switch/stories/switch-no-label.story.js.map +1 -0
  268. package/lib/cjs/switch/stories/switch.stories.js +137 -0
  269. package/lib/cjs/switch/stories/switch.stories.js.map +1 -0
  270. package/lib/cjs/tabs/stories/index.js +48 -0
  271. package/lib/cjs/tabs/stories/index.js.map +1 -0
  272. package/lib/cjs/tabs/stories/tabs-default.story.js +32 -0
  273. package/lib/cjs/tabs/stories/tabs-default.story.js.map +1 -0
  274. package/lib/cjs/tabs/stories/tabs-disabled.story.js +32 -0
  275. package/lib/cjs/tabs/stories/tabs-disabled.story.js.map +1 -0
  276. package/lib/cjs/tabs/stories/tabs-fill-variants.story.js +33 -0
  277. package/lib/cjs/tabs/stories/tabs-fill-variants.story.js.map +1 -0
  278. package/lib/cjs/tabs/stories/tabs-sizes.story.js +33 -0
  279. package/lib/cjs/tabs/stories/tabs-sizes.story.js.map +1 -0
  280. package/lib/cjs/tabs/stories/tabs-with-icons.story.js +33 -0
  281. package/lib/cjs/tabs/stories/tabs-with-icons.story.js.map +1 -0
  282. package/lib/cjs/tabs/stories/tabs.stories.js +106 -0
  283. package/lib/cjs/tabs/stories/tabs.stories.js.map +1 -0
  284. package/lib/cjs/tag/stories/index.js +42 -0
  285. package/lib/cjs/tag/stories/index.js.map +1 -0
  286. package/lib/cjs/tag/stories/tag-removable.story.js +33 -0
  287. package/lib/cjs/tag/stories/tag-removable.story.js.map +1 -0
  288. package/lib/cjs/tag/stories/tag-sizes.story.js +30 -0
  289. package/lib/cjs/tag/stories/tag-sizes.story.js.map +1 -0
  290. package/lib/cjs/tag/stories/tag-types.story.js +30 -0
  291. package/lib/cjs/tag/stories/tag-types.story.js.map +1 -0
  292. package/lib/cjs/tag/stories/tag.stories.js +80 -0
  293. package/lib/cjs/tag/stories/tag.stories.js.map +1 -0
  294. package/lib/cjs/text-link/stories/index.js +40 -0
  295. package/lib/cjs/text-link/stories/index.js.map +1 -0
  296. package/lib/cjs/text-link/stories/text-link-default.story.js +30 -0
  297. package/lib/cjs/text-link/stories/text-link-default.story.js.map +1 -0
  298. package/lib/cjs/text-link/stories/text-link-external.story.js +30 -0
  299. package/lib/cjs/text-link/stories/text-link-external.story.js.map +1 -0
  300. package/lib/cjs/text-link/stories/text-link-internal-icon.story.js +30 -0
  301. package/lib/cjs/text-link/stories/text-link-internal-icon.story.js.map +1 -0
  302. package/lib/cjs/text-link/stories/text-link.stories.js +76 -0
  303. package/lib/cjs/text-link/stories/text-link.stories.js.map +1 -0
  304. package/lib/cjs/toast/Toast.js +5 -1
  305. package/lib/cjs/toast/Toast.js.map +1 -1
  306. package/lib/cjs/toast/ToastControlled.js +87 -0
  307. package/lib/cjs/toast/ToastControlled.js.map +1 -0
  308. package/lib/cjs/toast/index.js +1 -0
  309. package/lib/cjs/toast/index.js.map +1 -1
  310. package/lib/cjs/toast/stories/index.js +60 -0
  311. package/lib/cjs/toast/stories/index.js.map +1 -0
  312. package/lib/cjs/toast/stories/toast-action-story.js +38 -0
  313. package/lib/cjs/toast/stories/toast-action-story.js.map +1 -0
  314. package/lib/cjs/toast/stories/toast-closeable-story.js +37 -0
  315. package/lib/cjs/toast/stories/toast-closeable-story.js.map +1 -0
  316. package/lib/cjs/toast/stories/toast-controlled-story.js +44 -0
  317. package/lib/cjs/toast/stories/toast-controlled-story.js.map +1 -0
  318. package/lib/cjs/toast/stories/toast-custom-story.js +32 -0
  319. package/lib/cjs/toast/stories/toast-custom-story.js.map +1 -0
  320. package/lib/cjs/toast/stories/toast-danger-story.js +32 -0
  321. package/lib/cjs/toast/stories/toast-danger-story.js.map +1 -0
  322. package/lib/cjs/toast/stories/toast-neutral-story.js +32 -0
  323. package/lib/cjs/toast/stories/toast-neutral-story.js.map +1 -0
  324. package/lib/cjs/toast/stories/toast-progress-bar.js +49 -0
  325. package/lib/cjs/toast/stories/toast-progress-bar.js.map +1 -0
  326. package/lib/cjs/toast/stories/toast-success-story.js +32 -0
  327. package/lib/cjs/toast/stories/toast-success-story.js.map +1 -0
  328. package/lib/cjs/toast/stories/toast.stories.js +137 -0
  329. package/lib/cjs/toast/stories/toast.stories.js.map +1 -0
  330. package/lib/cjs/tree-view/TreeItemWrapper.js +1 -2
  331. package/lib/cjs/tree-view/TreeItemWrapper.js.map +1 -1
  332. package/lib/esm/_common/CodeBlockWrapper.js +1 -1
  333. package/lib/esm/avatar/Avatar.js +1 -1
  334. package/lib/esm/avatar/stories/avatar-shapes.story.js +1 -1
  335. package/lib/esm/avatar/stories/avatar-shapes.story.js.map +1 -1
  336. package/lib/esm/avatar/stories/avatar-sizes.story.js +1 -1
  337. package/lib/esm/avatar/stories/avatar-sizes.story.js.map +1 -1
  338. package/lib/esm/avatar/stories/avatar-statuses.story.js +1 -1
  339. package/lib/esm/avatar/stories/avatar-statuses.story.js.map +1 -1
  340. package/lib/esm/avatar/stories/avatar-types.story.js +1 -1
  341. package/lib/esm/avatar/stories/avatar-types.story.js.map +1 -1
  342. package/lib/esm/avatar/stories/avatar.stories.js +11 -0
  343. package/lib/esm/avatar/stories/avatar.stories.js.map +1 -1
  344. package/lib/esm/breadcrumbs/Breadcrumbs.js +2 -2
  345. package/lib/esm/callout/stories/callout-default.story.js +28 -0
  346. package/lib/esm/callout/stories/callout-default.story.js.map +1 -0
  347. package/lib/esm/callout/stories/callout-full.story.js +28 -0
  348. package/lib/esm/callout/stories/callout-full.story.js.map +1 -0
  349. package/lib/esm/callout/stories/callout-types.story.js +28 -0
  350. package/lib/esm/callout/stories/callout-types.story.js.map +1 -0
  351. package/lib/esm/callout/stories/callout-with-children.story.js +28 -0
  352. package/lib/esm/callout/stories/callout-with-children.story.js.map +1 -0
  353. package/lib/esm/callout/stories/callout-without-header.story.js +28 -0
  354. package/lib/esm/callout/stories/callout-without-header.story.js.map +1 -0
  355. package/lib/esm/callout/stories/callout.stories.js +98 -0
  356. package/lib/esm/callout/stories/callout.stories.js.map +1 -0
  357. package/lib/esm/callout/stories/index.js +37 -0
  358. package/lib/esm/callout/stories/index.js.map +1 -0
  359. package/lib/esm/checkbox/stories/checkbox-checkedByDefault.story.js +28 -0
  360. package/lib/esm/checkbox/stories/checkbox-checkedByDefault.story.js.map +1 -0
  361. package/lib/esm/checkbox/stories/checkbox-default.story.js +28 -0
  362. package/lib/esm/checkbox/stories/checkbox-default.story.js.map +1 -0
  363. package/lib/esm/checkbox/stories/checkbox-disabled.story.js +28 -0
  364. package/lib/esm/checkbox/stories/checkbox-disabled.story.js.map +1 -0
  365. package/lib/esm/checkbox/stories/checkbox-full.story.js +37 -0
  366. package/lib/esm/checkbox/stories/checkbox-full.story.js.map +1 -0
  367. package/lib/esm/checkbox/stories/checkbox-hasLabelBefore.story.js +28 -0
  368. package/lib/esm/checkbox/stories/checkbox-hasLabelBefore.story.js.map +1 -0
  369. package/lib/esm/checkbox/stories/checkbox-indeterminate.story.js +31 -0
  370. package/lib/esm/checkbox/stories/checkbox-indeterminate.story.js.map +1 -0
  371. package/lib/esm/checkbox/stories/checkbox-no-label.story.js +28 -0
  372. package/lib/esm/checkbox/stories/checkbox-no-label.story.js.map +1 -0
  373. package/lib/esm/checkbox/stories/checkbox.stories.js +134 -0
  374. package/lib/esm/checkbox/stories/checkbox.stories.js.map +1 -0
  375. package/lib/esm/checkbox/stories/index.js +43 -0
  376. package/lib/esm/checkbox/stories/index.js.map +1 -0
  377. package/lib/esm/code/stories/code-default.story.js +29 -0
  378. package/lib/esm/code/stories/code-default.story.js.map +1 -0
  379. package/lib/esm/code/stories/code-disabled.story.js +43 -0
  380. package/lib/esm/code/stories/code-disabled.story.js.map +1 -0
  381. package/lib/esm/code/stories/code-full.story.js +43 -0
  382. package/lib/esm/code/stories/code-full.story.js.map +1 -0
  383. package/lib/esm/code/stories/code-inline-runnable.story.js +28 -0
  384. package/lib/esm/code/stories/code-inline-runnable.story.js.map +1 -0
  385. package/lib/esm/code/stories/code-inline.story.js +28 -0
  386. package/lib/esm/code/stories/code-inline.story.js.map +1 -0
  387. package/lib/esm/code/stories/code-languages.story.js +29 -0
  388. package/lib/esm/code/stories/code-languages.story.js.map +1 -0
  389. package/lib/esm/code/stories/code-overflow.story.js +29 -0
  390. package/lib/esm/code/stories/code-overflow.story.js.map +1 -0
  391. package/lib/esm/code/stories/code-with-actions.story.js +43 -0
  392. package/lib/esm/code/stories/code-with-actions.story.js.map +1 -0
  393. package/lib/esm/code/stories/code-with-header.story.js +29 -0
  394. package/lib/esm/code/stories/code-with-header.story.js.map +1 -0
  395. package/lib/esm/code/stories/code-with-line-numbers.story.js +29 -0
  396. package/lib/esm/code/stories/code-with-line-numbers.story.js.map +1 -0
  397. package/lib/esm/code/stories/code.stories.js +163 -0
  398. package/lib/esm/code/stories/code.stories.js.map +1 -0
  399. package/lib/esm/code/stories/example-code-snippets.js +78 -0
  400. package/lib/esm/code/stories/example-code-snippets.js.map +1 -0
  401. package/lib/esm/code/stories/index.js +52 -0
  402. package/lib/esm/code/stories/index.js.map +1 -0
  403. package/lib/esm/context-menu/stories/context-menu-custom-items.story.js +31 -0
  404. package/lib/esm/context-menu/stories/context-menu-custom-items.story.js.map +1 -0
  405. package/lib/esm/context-menu/stories/context-menu-default.story.js +43 -0
  406. package/lib/esm/context-menu/stories/context-menu-default.story.js.map +1 -0
  407. package/lib/esm/context-menu/stories/context-menu-in-modal.story.js +36 -0
  408. package/lib/esm/context-menu/stories/context-menu-in-modal.story.js.map +1 -0
  409. package/lib/esm/context-menu/stories/context-menu-in-popover.story.js +32 -0
  410. package/lib/esm/context-menu/stories/context-menu-in-popover.story.js.map +1 -0
  411. package/lib/esm/context-menu/stories/context-menu-nested.story.js +32 -0
  412. package/lib/esm/context-menu/stories/context-menu-nested.story.js.map +1 -0
  413. package/lib/esm/context-menu/stories/context-menu-placements.story.js +43 -0
  414. package/lib/esm/context-menu/stories/context-menu-placements.story.js.map +1 -0
  415. package/lib/esm/context-menu/stories/context-menu-with-disabled-item.story.js +34 -0
  416. package/lib/esm/context-menu/stories/context-menu-with-disabled-item.story.js.map +1 -0
  417. package/lib/esm/context-menu/stories/context-menu-with-divider.story.js +34 -0
  418. package/lib/esm/context-menu/stories/context-menu-with-divider.story.js.map +1 -0
  419. package/lib/esm/context-menu/stories/context-menu-with-header.story.js +34 -0
  420. package/lib/esm/context-menu/stories/context-menu-with-header.story.js.map +1 -0
  421. package/lib/esm/context-menu/stories/context-menu-with-icon.story.js +32 -0
  422. package/lib/esm/context-menu/stories/context-menu-with-icon.story.js.map +1 -0
  423. package/lib/esm/context-menu/stories/context-menu.stories.js +167 -0
  424. package/lib/esm/context-menu/stories/context-menu.stories.js.map +1 -0
  425. package/lib/esm/context-menu/stories/index.js +52 -0
  426. package/lib/esm/context-menu/stories/index.js.map +1 -0
  427. package/lib/esm/data-grid/Components.js +1 -1
  428. package/lib/esm/date-picker/stories/date-picker-default.story.js +39 -0
  429. package/lib/esm/date-picker/stories/date-picker-default.story.js.map +1 -0
  430. package/lib/esm/date-picker/stories/date-picker-disabled.story.js +36 -0
  431. package/lib/esm/date-picker/stories/date-picker-disabled.story.js.map +1 -0
  432. package/lib/esm/date-picker/stories/date-picker-full.story.js +58 -0
  433. package/lib/esm/date-picker/stories/date-picker-full.story.js.map +1 -0
  434. package/lib/esm/date-picker/stories/date-picker-inside-modal.story.js +39 -0
  435. package/lib/esm/date-picker/stories/date-picker-inside-modal.story.js.map +1 -0
  436. package/lib/esm/date-picker/stories/date-picker-min-max-date.story.js +43 -0
  437. package/lib/esm/date-picker/stories/date-picker-min-max-date.story.js.map +1 -0
  438. package/lib/esm/date-picker/stories/date-picker-opens-to-date.story.js +41 -0
  439. package/lib/esm/date-picker/stories/date-picker-opens-to-date.story.js.map +1 -0
  440. package/lib/esm/date-picker/stories/date-picker-starts-on-monday.story.js +40 -0
  441. package/lib/esm/date-picker/stories/date-picker-starts-on-monday.story.js.map +1 -0
  442. package/lib/esm/date-picker/stories/date-picker-text-input-props.story.js +42 -0
  443. package/lib/esm/date-picker/stories/date-picker-text-input-props.story.js.map +1 -0
  444. package/lib/esm/date-picker/stories/date-picker-with-time-picker.story.js +43 -0
  445. package/lib/esm/date-picker/stories/date-picker-with-time-picker.story.js.map +1 -0
  446. package/lib/esm/date-picker/stories/date-picker.stories.js +201 -0
  447. package/lib/esm/date-picker/stories/date-picker.stories.js.map +1 -0
  448. package/lib/esm/date-picker/stories/index.js +49 -0
  449. package/lib/esm/date-picker/stories/index.js.map +1 -0
  450. package/lib/esm/drawer/stories/drawer-full.story.js +34 -0
  451. package/lib/esm/drawer/stories/drawer-full.story.js.map +1 -0
  452. package/lib/esm/drawer/stories/drawer-not-closeable.story.js +31 -0
  453. package/lib/esm/drawer/stories/drawer-not-closeable.story.js.map +1 -0
  454. package/lib/esm/drawer/stories/drawer-overlay.story.js +31 -0
  455. package/lib/esm/drawer/stories/drawer-overlay.story.js.map +1 -0
  456. package/lib/esm/drawer/stories/drawer-portaled.story.js +36 -0
  457. package/lib/esm/drawer/stories/drawer-portaled.story.js.map +1 -0
  458. package/lib/esm/drawer/stories/drawer-push.story.js +30 -0
  459. package/lib/esm/drawer/stories/drawer-push.story.js.map +1 -0
  460. package/lib/esm/drawer/stories/drawer-resizable.story.js +34 -0
  461. package/lib/esm/drawer/stories/drawer-resizable.story.js.map +1 -0
  462. package/lib/esm/drawer/stories/drawer-right-side.story.js +31 -0
  463. package/lib/esm/drawer/stories/drawer-right-side.story.js.map +1 -0
  464. package/lib/esm/drawer/stories/drawer-scrollable.story.js +31 -0
  465. package/lib/esm/drawer/stories/drawer-scrollable.story.js.map +1 -0
  466. package/lib/esm/drawer/stories/drawer.stories.js +147 -0
  467. package/lib/esm/drawer/stories/drawer.stories.js.map +1 -0
  468. package/lib/esm/drawer/stories/index.js +46 -0
  469. package/lib/esm/drawer/stories/index.js.map +1 -0
  470. package/lib/esm/dropzone/stories/dropzone-csv-files.story.js +35 -0
  471. package/lib/esm/dropzone/stories/dropzone-csv-files.story.js.map +1 -0
  472. package/lib/esm/dropzone/stories/dropzone-custom-extensions.story.js +34 -0
  473. package/lib/esm/dropzone/stories/dropzone-custom-extensions.story.js.map +1 -0
  474. package/lib/esm/dropzone/stories/dropzone-default.story.js +34 -0
  475. package/lib/esm/dropzone/stories/dropzone-default.story.js.map +1 -0
  476. package/lib/esm/dropzone/stories/dropzone-disabled.story.js +36 -0
  477. package/lib/esm/dropzone/stories/dropzone-disabled.story.js.map +1 -0
  478. package/lib/esm/dropzone/stories/dropzone-full.story.js +107 -0
  479. package/lib/esm/dropzone/stories/dropzone-full.story.js.map +1 -0
  480. package/lib/esm/dropzone/stories/dropzone-loading-progress.story.js +29 -0
  481. package/lib/esm/dropzone/stories/dropzone-loading-progress.story.js.map +1 -0
  482. package/lib/esm/dropzone/stories/dropzone-loading-spinner.story.js +29 -0
  483. package/lib/esm/dropzone/stories/dropzone-loading-spinner.story.js.map +1 -0
  484. package/lib/esm/dropzone/stories/dropzone.stories.js +118 -0
  485. package/lib/esm/dropzone/stories/dropzone.stories.js.map +1 -0
  486. package/lib/esm/dropzone/stories/index.js +43 -0
  487. package/lib/esm/dropzone/stories/index.js.map +1 -0
  488. package/lib/esm/graph-label/stories/graph-label-color.story.js +28 -0
  489. package/lib/esm/graph-label/stories/graph-label-color.story.js.map +1 -0
  490. package/lib/esm/graph-label/stories/graph-label-disabled.story.js +28 -0
  491. package/lib/esm/graph-label/stories/graph-label-disabled.story.js.map +1 -0
  492. package/lib/esm/graph-label/stories/graph-label-fluid.story.js +28 -0
  493. package/lib/esm/graph-label/stories/graph-label-fluid.story.js.map +1 -0
  494. package/lib/esm/graph-label/stories/graph-label-non-interactive.story.js +28 -0
  495. package/lib/esm/graph-label/stories/graph-label-non-interactive.story.js.map +1 -0
  496. package/lib/esm/graph-label/stories/graph-label-selected.story.js +28 -0
  497. package/lib/esm/graph-label/stories/graph-label-selected.story.js.map +1 -0
  498. package/lib/esm/graph-label/stories/graph-label-sizes.story.js +28 -0
  499. package/lib/esm/graph-label/stories/graph-label-sizes.story.js.map +1 -0
  500. package/lib/esm/graph-label/stories/graph-label-types.story.js +28 -0
  501. package/lib/esm/graph-label/stories/graph-label-types.story.js.map +1 -0
  502. package/lib/esm/graph-label/stories/graph-label.stories.js +129 -0
  503. package/lib/esm/graph-label/stories/graph-label.stories.js.map +1 -0
  504. package/lib/esm/graph-label/stories/index.js +43 -0
  505. package/lib/esm/graph-label/stories/index.js.map +1 -0
  506. package/lib/esm/graph-visualization/graph-visualization-buttons.js +2 -2
  507. package/lib/esm/graph-visualization/graph-visualization.js +20 -4
  508. package/lib/esm/graph-visualization/graph-visualization.js.map +1 -1
  509. package/lib/esm/graph-visualization/stories/graph-visualization-highlighting.story.js +28 -0
  510. package/lib/esm/graph-visualization/stories/graph-visualization-highlighting.story.js.map +1 -0
  511. package/lib/esm/graph-visualization/stories/graph-visualization.stories.js +14 -1
  512. package/lib/esm/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
  513. package/lib/esm/graph-visualization/stories/index.js +3 -0
  514. package/lib/esm/graph-visualization/stories/index.js.map +1 -1
  515. package/lib/esm/graph-visualization/{use-managed-selection-state.js → use-managed-node-state.js} +9 -5
  516. package/lib/esm/graph-visualization/use-managed-node-state.js.map +1 -0
  517. package/lib/esm/label/stories/index.js +34 -0
  518. package/lib/esm/label/stories/index.js.map +1 -0
  519. package/lib/esm/label/stories/label-colors.story.js +28 -0
  520. package/lib/esm/label/stories/label-colors.story.js.map +1 -0
  521. package/lib/esm/label/stories/label-default.story.js +28 -0
  522. package/lib/esm/label/stories/label-default.story.js.map +1 -0
  523. package/lib/esm/label/stories/label-fills.story.js +28 -0
  524. package/lib/esm/label/stories/label-fills.story.js.map +1 -0
  525. package/lib/esm/label/stories/label-with-icons.story.js +28 -0
  526. package/lib/esm/label/stories/label-with-icons.story.js.map +1 -0
  527. package/lib/esm/label/stories/label.stories.js +90 -0
  528. package/lib/esm/label/stories/label.stories.js.map +1 -0
  529. package/lib/esm/loading-bar/stories/index.js +28 -0
  530. package/lib/esm/loading-bar/stories/index.js.map +1 -0
  531. package/lib/esm/loading-bar/stories/loading-bar-default.story.js +28 -0
  532. package/lib/esm/loading-bar/stories/loading-bar-default.story.js.map +1 -0
  533. package/lib/esm/loading-bar/stories/loading-bar-with-rail.story.js +28 -0
  534. package/lib/esm/loading-bar/stories/loading-bar-with-rail.story.js.map +1 -0
  535. package/lib/esm/loading-bar/stories/loading-bar.stories.js +64 -0
  536. package/lib/esm/loading-bar/stories/loading-bar.stories.js.map +1 -0
  537. package/lib/esm/loading-spinner/stories/index.js +28 -0
  538. package/lib/esm/loading-spinner/stories/index.js.map +1 -0
  539. package/lib/esm/loading-spinner/stories/loading-spinner-default.story.js +28 -0
  540. package/lib/esm/loading-spinner/stories/loading-spinner-default.story.js.map +1 -0
  541. package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js +28 -0
  542. package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -0
  543. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js +64 -0
  544. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js.map +1 -0
  545. package/lib/esm/next/breadcrumbs/Breadcrumbs.js +1 -1
  546. package/lib/esm/radio/stories/index.js +43 -0
  547. package/lib/esm/radio/stories/index.js.map +1 -0
  548. package/lib/esm/radio/stories/radio-checkedByDefault.story.js +28 -0
  549. package/lib/esm/radio/stories/radio-checkedByDefault.story.js.map +1 -0
  550. package/lib/esm/radio/stories/radio-custom-label.story.js +28 -0
  551. package/lib/esm/radio/stories/radio-custom-label.story.js.map +1 -0
  552. package/lib/esm/radio/stories/radio-default.story.js +28 -0
  553. package/lib/esm/radio/stories/radio-default.story.js.map +1 -0
  554. package/lib/esm/radio/stories/radio-disabled.story.js +28 -0
  555. package/lib/esm/radio/stories/radio-disabled.story.js.map +1 -0
  556. package/lib/esm/radio/stories/radio-hasLabelBefore.story.js +28 -0
  557. package/lib/esm/radio/stories/radio-hasLabelBefore.story.js.map +1 -0
  558. package/lib/esm/radio/stories/radio-no-label.story.js +28 -0
  559. package/lib/esm/radio/stories/radio-no-label.story.js.map +1 -0
  560. package/lib/esm/radio/stories/radio-truncated-label.story.js +28 -0
  561. package/lib/esm/radio/stories/radio-truncated-label.story.js.map +1 -0
  562. package/lib/esm/radio/stories/radio.stories.js +134 -0
  563. package/lib/esm/radio/stories/radio.stories.js.map +1 -0
  564. package/lib/esm/segmented-control/stories/index.js +34 -0
  565. package/lib/esm/segmented-control/stories/index.js.map +1 -0
  566. package/lib/esm/segmented-control/stories/segmented-control-default.story.js +30 -0
  567. package/lib/esm/segmented-control/stories/segmented-control-default.story.js.map +1 -0
  568. package/lib/esm/segmented-control/stories/segmented-control-floating.story.js +30 -0
  569. package/lib/esm/segmented-control/stories/segmented-control-floating.story.js.map +1 -0
  570. package/lib/esm/segmented-control/stories/segmented-control-only-icons.story.js +31 -0
  571. package/lib/esm/segmented-control/stories/segmented-control-only-icons.story.js.map +1 -0
  572. package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js +31 -0
  573. package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js.map +1 -0
  574. package/lib/esm/segmented-control/stories/segmented-control.stories.js +90 -0
  575. package/lib/esm/segmented-control/stories/segmented-control.stories.js.map +1 -0
  576. package/lib/esm/spotlight/SpotlightTarget.js +1 -1
  577. package/lib/esm/status-indicator/stories/index.js +25 -0
  578. package/lib/esm/status-indicator/stories/index.js.map +1 -0
  579. package/lib/esm/status-indicator/stories/status-indicator-types.story.js +28 -0
  580. package/lib/esm/status-indicator/stories/status-indicator-types.story.js.map +1 -0
  581. package/lib/esm/status-indicator/stories/status-indicator.stories.js +51 -0
  582. package/lib/esm/status-indicator/stories/status-indicator.stories.js.map +1 -0
  583. package/lib/esm/switch/stories/index.js +43 -0
  584. package/lib/esm/switch/stories/index.js.map +1 -0
  585. package/lib/esm/switch/stories/switch-checked-by-default.story.js +28 -0
  586. package/lib/esm/switch/stories/switch-checked-by-default.story.js.map +1 -0
  587. package/lib/esm/switch/stories/switch-default.story.js +28 -0
  588. package/lib/esm/switch/stories/switch-default.story.js.map +1 -0
  589. package/lib/esm/switch/stories/switch-disabled.story.js +28 -0
  590. package/lib/esm/switch/stories/switch-disabled.story.js.map +1 -0
  591. package/lib/esm/switch/stories/switch-full.story.js +37 -0
  592. package/lib/esm/switch/stories/switch-full.story.js.map +1 -0
  593. package/lib/esm/switch/stories/switch-has-label-before.story.js +28 -0
  594. package/lib/esm/switch/stories/switch-has-label-before.story.js.map +1 -0
  595. package/lib/esm/switch/stories/switch-indeterminate.story.js +31 -0
  596. package/lib/esm/switch/stories/switch-indeterminate.story.js.map +1 -0
  597. package/lib/esm/switch/stories/switch-no-label.story.js +28 -0
  598. package/lib/esm/switch/stories/switch-no-label.story.js.map +1 -0
  599. package/lib/esm/switch/stories/switch.stories.js +134 -0
  600. package/lib/esm/switch/stories/switch.stories.js.map +1 -0
  601. package/lib/esm/tabs/stories/index.js +37 -0
  602. package/lib/esm/tabs/stories/index.js.map +1 -0
  603. package/lib/esm/tabs/stories/tabs-default.story.js +30 -0
  604. package/lib/esm/tabs/stories/tabs-default.story.js.map +1 -0
  605. package/lib/esm/tabs/stories/tabs-disabled.story.js +30 -0
  606. package/lib/esm/tabs/stories/tabs-disabled.story.js.map +1 -0
  607. package/lib/esm/tabs/stories/tabs-fill-variants.story.js +31 -0
  608. package/lib/esm/tabs/stories/tabs-fill-variants.story.js.map +1 -0
  609. package/lib/esm/tabs/stories/tabs-sizes.story.js +31 -0
  610. package/lib/esm/tabs/stories/tabs-sizes.story.js.map +1 -0
  611. package/lib/esm/tabs/stories/tabs-with-icons.story.js +31 -0
  612. package/lib/esm/tabs/stories/tabs-with-icons.story.js.map +1 -0
  613. package/lib/esm/tabs/stories/tabs.stories.js +103 -0
  614. package/lib/esm/tabs/stories/tabs.stories.js.map +1 -0
  615. package/lib/esm/tag/stories/index.js +32 -0
  616. package/lib/esm/tag/stories/index.js.map +1 -0
  617. package/lib/esm/tag/stories/tag-removable.story.js +31 -0
  618. package/lib/esm/tag/stories/tag-removable.story.js.map +1 -0
  619. package/lib/esm/tag/stories/tag-sizes.story.js +28 -0
  620. package/lib/esm/tag/stories/tag-sizes.story.js.map +1 -0
  621. package/lib/esm/tag/stories/tag-types.story.js +28 -0
  622. package/lib/esm/tag/stories/tag-types.story.js.map +1 -0
  623. package/lib/esm/tag/stories/tag.stories.js +77 -0
  624. package/lib/esm/tag/stories/tag.stories.js.map +1 -0
  625. package/lib/esm/text-link/stories/index.js +31 -0
  626. package/lib/esm/text-link/stories/index.js.map +1 -0
  627. package/lib/esm/text-link/stories/text-link-default.story.js +28 -0
  628. package/lib/esm/text-link/stories/text-link-default.story.js.map +1 -0
  629. package/lib/esm/text-link/stories/text-link-external.story.js +28 -0
  630. package/lib/esm/text-link/stories/text-link-external.story.js.map +1 -0
  631. package/lib/esm/text-link/stories/text-link-internal-icon.story.js +28 -0
  632. package/lib/esm/text-link/stories/text-link-internal-icon.story.js.map +1 -0
  633. package/lib/esm/text-link/stories/text-link.stories.js +73 -0
  634. package/lib/esm/text-link/stories/text-link.stories.js.map +1 -0
  635. package/lib/esm/toast/Toast.js +5 -1
  636. package/lib/esm/toast/Toast.js.map +1 -1
  637. package/lib/esm/toast/ToastControlled.js +83 -0
  638. package/lib/esm/toast/ToastControlled.js.map +1 -0
  639. package/lib/esm/toast/index.js +1 -0
  640. package/lib/esm/toast/index.js.map +1 -1
  641. package/lib/esm/toast/stories/index.js +46 -0
  642. package/lib/esm/toast/stories/index.js.map +1 -0
  643. package/lib/esm/toast/stories/toast-action-story.js +36 -0
  644. package/lib/esm/toast/stories/toast-action-story.js.map +1 -0
  645. package/lib/esm/toast/stories/toast-closeable-story.js +35 -0
  646. package/lib/esm/toast/stories/toast-closeable-story.js.map +1 -0
  647. package/lib/esm/toast/stories/toast-controlled-story.js +42 -0
  648. package/lib/esm/toast/stories/toast-controlled-story.js.map +1 -0
  649. package/lib/esm/toast/stories/toast-custom-story.js +30 -0
  650. package/lib/esm/toast/stories/toast-custom-story.js.map +1 -0
  651. package/lib/esm/toast/stories/toast-danger-story.js +30 -0
  652. package/lib/esm/toast/stories/toast-danger-story.js.map +1 -0
  653. package/lib/esm/toast/stories/toast-neutral-story.js +30 -0
  654. package/lib/esm/toast/stories/toast-neutral-story.js.map +1 -0
  655. package/lib/esm/toast/stories/toast-progress-bar.js +47 -0
  656. package/lib/esm/toast/stories/toast-progress-bar.js.map +1 -0
  657. package/lib/esm/toast/stories/toast-success-story.js +30 -0
  658. package/lib/esm/toast/stories/toast-success-story.js.map +1 -0
  659. package/lib/esm/toast/stories/toast.stories.js +134 -0
  660. package/lib/esm/toast/stories/toast.stories.js.map +1 -0
  661. package/lib/esm/tree-view/TreeItemWrapper.js +1 -2
  662. package/lib/esm/tree-view/TreeItemWrapper.js.map +1 -1
  663. package/lib/types/avatar/stories/avatar.stories.d.ts +3 -12
  664. package/lib/types/callout/stories/callout-default.story.d.ts +23 -0
  665. package/lib/types/callout/stories/callout-full.story.d.ts +23 -0
  666. package/lib/types/callout/stories/callout-types.story.d.ts +23 -0
  667. package/lib/types/callout/stories/callout-with-children.story.d.ts +23 -0
  668. package/lib/types/callout/stories/callout-without-header.story.d.ts +23 -0
  669. package/lib/types/callout/stories/callout.stories.d.ts +39 -0
  670. package/lib/types/callout/stories/index.d.ts +30 -0
  671. package/lib/types/checkbox/stories/checkbox-checkedByDefault.story.d.ts +23 -0
  672. package/lib/types/checkbox/stories/checkbox-default.story.d.ts +23 -0
  673. package/lib/types/checkbox/stories/checkbox-disabled.story.d.ts +23 -0
  674. package/lib/types/checkbox/stories/checkbox-full.story.d.ts +23 -0
  675. package/lib/types/checkbox/stories/checkbox-hasLabelBefore.story.d.ts +23 -0
  676. package/lib/types/checkbox/stories/checkbox-indeterminate.story.d.ts +23 -0
  677. package/lib/types/checkbox/stories/checkbox-no-label.story.d.ts +23 -0
  678. package/lib/types/checkbox/stories/checkbox.stories.d.ts +32 -0
  679. package/lib/types/checkbox/stories/index.d.ts +34 -0
  680. package/lib/types/code/stories/code-default.story.d.ts +23 -0
  681. package/lib/types/code/stories/code-disabled.story.d.ts +23 -0
  682. package/lib/types/code/stories/code-full.story.d.ts +23 -0
  683. package/lib/types/code/stories/code-inline-runnable.story.d.ts +23 -0
  684. package/lib/types/code/stories/code-inline.story.d.ts +23 -0
  685. package/lib/types/code/stories/code-languages.story.d.ts +23 -0
  686. package/lib/types/code/stories/code-overflow.story.d.ts +23 -0
  687. package/lib/types/code/stories/code-with-actions.story.d.ts +23 -0
  688. package/lib/types/code/stories/code-with-header.story.d.ts +23 -0
  689. package/lib/types/code/stories/code-with-line-numbers.story.d.ts +23 -0
  690. package/lib/types/code/stories/code.stories.d.ts +34 -0
  691. package/lib/types/code/stories/example-code-snippets.d.ts +27 -0
  692. package/lib/types/code/stories/index.d.ts +40 -0
  693. package/lib/types/context-menu/stories/context-menu-custom-items.story.d.ts +23 -0
  694. package/lib/types/context-menu/stories/context-menu-default.story.d.ts +23 -0
  695. package/lib/types/context-menu/stories/context-menu-in-modal.story.d.ts +23 -0
  696. package/lib/types/context-menu/stories/context-menu-in-popover.story.d.ts +23 -0
  697. package/lib/types/context-menu/stories/context-menu-nested.story.d.ts +23 -0
  698. package/lib/types/context-menu/stories/context-menu-placements.story.d.ts +23 -0
  699. package/lib/types/context-menu/stories/context-menu-with-disabled-item.story.d.ts +23 -0
  700. package/lib/types/context-menu/stories/context-menu-with-divider.story.d.ts +23 -0
  701. package/lib/types/context-menu/stories/context-menu-with-header.story.d.ts +23 -0
  702. package/lib/types/context-menu/stories/context-menu-with-icon.story.d.ts +23 -0
  703. package/lib/types/context-menu/stories/context-menu.stories.d.ts +34 -0
  704. package/lib/types/context-menu/stories/index.d.ts +40 -0
  705. package/lib/types/date-picker/stories/date-picker-default.story.d.ts +23 -0
  706. package/lib/types/date-picker/stories/date-picker-disabled.story.d.ts +23 -0
  707. package/lib/types/date-picker/stories/date-picker-full.story.d.ts +23 -0
  708. package/lib/types/date-picker/stories/date-picker-inside-modal.story.d.ts +23 -0
  709. package/lib/types/date-picker/stories/date-picker-min-max-date.story.d.ts +23 -0
  710. package/lib/types/date-picker/stories/date-picker-opens-to-date.story.d.ts +23 -0
  711. package/lib/types/date-picker/stories/date-picker-starts-on-monday.story.d.ts +23 -0
  712. package/lib/types/date-picker/stories/date-picker-text-input-props.story.d.ts +23 -0
  713. package/lib/types/date-picker/stories/date-picker-with-time-picker.story.d.ts +23 -0
  714. package/lib/types/date-picker/stories/date-picker.stories.d.ts +34 -0
  715. package/lib/types/date-picker/stories/index.d.ts +38 -0
  716. package/lib/types/drawer/stories/drawer-full.story.d.ts +23 -0
  717. package/lib/types/drawer/stories/drawer-not-closeable.story.d.ts +23 -0
  718. package/lib/types/drawer/stories/drawer-overlay.story.d.ts +23 -0
  719. package/lib/types/drawer/stories/drawer-portaled.story.d.ts +23 -0
  720. package/lib/types/drawer/stories/drawer-push.story.d.ts +22 -0
  721. package/lib/types/drawer/stories/drawer-resizable.story.d.ts +23 -0
  722. package/lib/types/drawer/stories/drawer-right-side.story.d.ts +23 -0
  723. package/lib/types/drawer/stories/drawer-scrollable.story.d.ts +23 -0
  724. package/lib/types/drawer/stories/drawer.stories.d.ts +62 -0
  725. package/lib/types/drawer/stories/index.d.ts +36 -0
  726. package/lib/types/dropzone/stories/dropzone-csv-files.story.d.ts +23 -0
  727. package/lib/types/dropzone/stories/dropzone-custom-extensions.story.d.ts +23 -0
  728. package/lib/types/dropzone/stories/dropzone-default.story.d.ts +23 -0
  729. package/lib/types/dropzone/stories/dropzone-disabled.story.d.ts +23 -0
  730. package/lib/types/dropzone/stories/dropzone-full.story.d.ts +23 -0
  731. package/lib/types/dropzone/stories/dropzone-loading-progress.story.d.ts +23 -0
  732. package/lib/types/dropzone/stories/dropzone-loading-spinner.story.d.ts +23 -0
  733. package/lib/types/dropzone/stories/dropzone.stories.d.ts +32 -0
  734. package/lib/types/dropzone/stories/index.d.ts +34 -0
  735. package/lib/types/graph-label/stories/graph-label-color.story.d.ts +23 -0
  736. package/lib/types/graph-label/stories/graph-label-disabled.story.d.ts +23 -0
  737. package/lib/types/graph-label/stories/graph-label-fluid.story.d.ts +23 -0
  738. package/lib/types/graph-label/stories/graph-label-non-interactive.story.d.ts +23 -0
  739. package/lib/types/graph-label/stories/graph-label-selected.story.d.ts +23 -0
  740. package/lib/types/graph-label/stories/graph-label-sizes.story.d.ts +23 -0
  741. package/lib/types/graph-label/stories/graph-label-types.story.d.ts +23 -0
  742. package/lib/types/graph-label/stories/graph-label.stories.d.ts +32 -0
  743. package/lib/types/graph-label/stories/index.d.ts +34 -0
  744. package/lib/types/graph-visualization/graph-visualization.d.ts +17 -1
  745. package/lib/types/graph-visualization/stories/graph-visualization-highlighting.story.d.ts +22 -0
  746. package/lib/types/graph-visualization/stories/graph-visualization.stories.d.ts +1 -0
  747. package/lib/types/graph-visualization/stories/index.d.ts +2 -0
  748. package/lib/types/graph-visualization/{use-managed-selection-state.d.ts → use-managed-node-state.d.ts} +8 -6
  749. package/lib/types/label/stories/index.d.ts +28 -0
  750. package/lib/types/label/stories/label-colors.story.d.ts +23 -0
  751. package/lib/types/label/stories/label-default.story.d.ts +23 -0
  752. package/lib/types/label/stories/label-fills.story.d.ts +23 -0
  753. package/lib/types/label/stories/label-with-icons.story.d.ts +23 -0
  754. package/lib/types/label/stories/label.stories.d.ts +29 -0
  755. package/lib/types/loading-bar/stories/index.d.ts +24 -0
  756. package/lib/types/loading-bar/stories/loading-bar-default.story.d.ts +23 -0
  757. package/lib/types/loading-bar/stories/loading-bar-with-rail.story.d.ts +23 -0
  758. package/lib/types/loading-bar/stories/loading-bar.stories.d.ts +27 -0
  759. package/lib/types/loading-spinner/stories/index.d.ts +24 -0
  760. package/lib/types/loading-spinner/stories/loading-spinner-default.story.d.ts +23 -0
  761. package/lib/types/loading-spinner/stories/loading-spinner-sizes.story.d.ts +23 -0
  762. package/lib/types/loading-spinner/stories/loading-spinner.stories.d.ts +27 -0
  763. package/lib/types/radio/stories/index.d.ts +34 -0
  764. package/lib/types/radio/stories/radio-checkedByDefault.story.d.ts +23 -0
  765. package/lib/types/radio/stories/radio-custom-label.story.d.ts +23 -0
  766. package/lib/types/radio/stories/radio-default.story.d.ts +23 -0
  767. package/lib/types/radio/stories/radio-disabled.story.d.ts +23 -0
  768. package/lib/types/radio/stories/radio-hasLabelBefore.story.d.ts +23 -0
  769. package/lib/types/radio/stories/radio-no-label.story.d.ts +23 -0
  770. package/lib/types/radio/stories/radio-truncated-label.story.d.ts +23 -0
  771. package/lib/types/radio/stories/radio.stories.d.ts +32 -0
  772. package/lib/types/segmented-control/stories/index.d.ts +28 -0
  773. package/lib/types/segmented-control/stories/segmented-control-default.story.d.ts +23 -0
  774. package/lib/types/segmented-control/stories/segmented-control-floating.story.d.ts +23 -0
  775. package/lib/types/segmented-control/stories/segmented-control-only-icons.story.d.ts +23 -0
  776. package/lib/types/segmented-control/stories/segmented-control-sizes.story.d.ts +23 -0
  777. package/lib/types/segmented-control/stories/segmented-control.stories.d.ts +29 -0
  778. package/lib/types/status-indicator/stories/index.d.ts +22 -0
  779. package/lib/types/status-indicator/stories/status-indicator-types.story.d.ts +23 -0
  780. package/lib/types/status-indicator/stories/status-indicator.stories.d.ts +26 -0
  781. package/lib/types/switch/stories/index.d.ts +34 -0
  782. package/lib/types/switch/stories/switch-checked-by-default.story.d.ts +23 -0
  783. package/lib/types/switch/stories/switch-default.story.d.ts +23 -0
  784. package/lib/types/switch/stories/switch-disabled.story.d.ts +23 -0
  785. package/lib/types/switch/stories/switch-full.story.d.ts +23 -0
  786. package/lib/types/switch/stories/switch-has-label-before.story.d.ts +23 -0
  787. package/lib/types/switch/stories/switch-indeterminate.story.d.ts +23 -0
  788. package/lib/types/switch/stories/switch-no-label.story.d.ts +23 -0
  789. package/lib/types/switch/stories/switch.stories.d.ts +32 -0
  790. package/lib/types/tabs/stories/index.d.ts +30 -0
  791. package/lib/types/tabs/stories/tabs-default.story.d.ts +23 -0
  792. package/lib/types/tabs/stories/tabs-disabled.story.d.ts +23 -0
  793. package/lib/types/tabs/stories/tabs-fill-variants.story.d.ts +23 -0
  794. package/lib/types/tabs/stories/tabs-sizes.story.d.ts +23 -0
  795. package/lib/types/tabs/stories/tabs-with-icons.story.d.ts +23 -0
  796. package/lib/types/tabs/stories/tabs.stories.d.ts +30 -0
  797. package/lib/types/tag/stories/index.d.ts +27 -0
  798. package/lib/types/tag/stories/tag-removable.story.d.ts +23 -0
  799. package/lib/types/tag/stories/tag-sizes.story.d.ts +23 -0
  800. package/lib/types/tag/stories/tag-types.story.d.ts +23 -0
  801. package/lib/types/tag/stories/tag.stories.d.ts +28 -0
  802. package/lib/types/text-link/stories/index.d.ts +26 -0
  803. package/lib/types/text-link/stories/text-link-default.story.d.ts +23 -0
  804. package/lib/types/text-link/stories/text-link-external.story.d.ts +23 -0
  805. package/lib/types/text-link/stories/text-link-internal-icon.story.d.ts +23 -0
  806. package/lib/types/text-link/stories/text-link.stories.d.ts +28 -0
  807. package/lib/types/toast/Toast.d.ts +9 -1
  808. package/lib/types/toast/ToastControlled.d.ts +40 -0
  809. package/lib/types/toast/index.d.ts +1 -0
  810. package/lib/types/toast/stories/index.d.ts +36 -0
  811. package/lib/types/toast/stories/toast-action-story.d.ts +23 -0
  812. package/lib/types/toast/stories/toast-closeable-story.d.ts +23 -0
  813. package/lib/types/toast/stories/toast-controlled-story.d.ts +23 -0
  814. package/lib/types/toast/stories/toast-custom-story.d.ts +23 -0
  815. package/lib/types/toast/stories/toast-danger-story.d.ts +23 -0
  816. package/lib/types/toast/stories/toast-neutral-story.d.ts +23 -0
  817. package/lib/types/toast/stories/toast-progress-bar.d.ts +23 -0
  818. package/lib/types/toast/stories/toast-success-story.d.ts +23 -0
  819. package/lib/types/toast/stories/toast.stories.d.ts +38 -0
  820. package/package.json +12 -5
  821. package/lib/cjs/graph-visualization/use-managed-selection-state.js.map +0 -1
  822. package/lib/esm/graph-visualization/use-managed-selection-state.js.map +0 -1
@@ -72,14 +72,14 @@ export const BoxSelectButton = ({ className, style, htmlAttributes, tooltipPlace
72
72
  useRegisterKeyboardGestureSwitcher('box');
73
73
  return (_jsx(GroupButton, { isDisabled: interactionMode !== 'select' || setGesture === undefined, isActive: gesture === 'box', ariaLabel: "Box Select Button", tipContent: `Box Select ${NON_BREAKING_SPACE} ${GESTURE_KEYS.box}`, onClick: () => {
74
74
  setGesture === null || setGesture === void 0 ? void 0 : setGesture('box');
75
- }, tooltipPlacement: tooltipPlacement !== null && tooltipPlacement !== void 0 ? tooltipPlacement : 'right', htmlAttributes: Object.assign({ 'data-testid': 'gesture-box-select' }, htmlAttributes), className: className, style: style, children: _jsx(BoxSelectIcon, { "aria-label": "Box Select" }) }));
75
+ }, tooltipPlacement: tooltipPlacement !== null && tooltipPlacement !== void 0 ? tooltipPlacement : 'right', htmlAttributes: Object.assign({ 'data-testid': 'gesture-box-select' }, htmlAttributes), className: className, style: style, children: _jsx(BoxSelectIcon, { "aria-label": "Box select" }) }));
76
76
  };
77
77
  export const LassoSelectButton = ({ className, style, htmlAttributes, tooltipPlacement, }) => {
78
78
  const { gesture, setGesture, interactionMode } = useGraphVisualizationContext();
79
79
  useRegisterKeyboardGestureSwitcher('lasso');
80
80
  return (_jsx(GroupButton, { isDisabled: interactionMode !== 'select' || setGesture === undefined, isActive: gesture === 'lasso', ariaLabel: "Lasso Select Button", tipContent: `Lasso Select ${NON_BREAKING_SPACE} ${GESTURE_KEYS.lasso}`, onClick: () => {
81
81
  setGesture === null || setGesture === void 0 ? void 0 : setGesture('lasso');
82
- }, tooltipPlacement: tooltipPlacement !== null && tooltipPlacement !== void 0 ? tooltipPlacement : 'right', htmlAttributes: Object.assign({ 'data-testid': 'gesture-lasso-select' }, htmlAttributes), className: className, style: style, children: _jsx(LassoIcon, { "aria-label": "Lasso Select" }) }));
82
+ }, tooltipPlacement: tooltipPlacement !== null && tooltipPlacement !== void 0 ? tooltipPlacement : 'right', htmlAttributes: Object.assign({ 'data-testid': 'gesture-lasso-select' }, htmlAttributes), className: className, style: style, children: _jsx(LassoIcon, { "aria-label": "Lasso select" }) }));
83
83
  };
84
84
  export const ZoomInButton = ({ className, style, htmlAttributes, tooltipPlacement, }) => {
85
85
  const { nvlInstance } = useGraphVisualizationContext();
@@ -40,7 +40,7 @@ import { GraphVisualizationContext, } from './graph-visualization-context';
40
40
  import { GraphVisualizationSidepanel } from './graph-visualization-sidepanel';
41
41
  import { mapToNvlGraph } from './map-to-nvl-graph';
42
42
  import { SingleSelectionSidepanelContents } from './sidepanel-components/single-selection-sidepanel-contents';
43
- import { useManagedSelectionState } from './use-managed-selection-state';
43
+ import { useManagedNodeState } from './use-managed-node-state';
44
44
  import { useSemicontrolledState } from './use-semi-controlled-state';
45
45
  const PLACEMENTS = {
46
46
  'bottom-left': 'ndl-graph-visualization-interaction-island ndl-bottom-left',
@@ -104,6 +104,20 @@ const DEFAULT_COMPONENTS = {
104
104
  * />
105
105
  * ```
106
106
  *
107
+ * @example
108
+ * With search highlighting:
109
+ * ```tsx
110
+ * <GraphVisualization
111
+ * nodes={nodes}
112
+ * rels={relationships}
113
+ * // undefined = no highlighting (default behavior)
114
+ * // empty array = no search matches (dims all nodes)
115
+ * // array with IDs = highlight only those items
116
+ * highlightedNodeIds={searchResults.nodeIds}
117
+ * highlightedRelationshipIds={searchResults.relationshipIds}
118
+ * />
119
+ * ```
120
+ *
107
121
  * @param props - {@link GraphVisualizationProps}
108
122
  * @returns A React component that renders an interactive graph visualization
109
123
  *
@@ -111,7 +125,7 @@ const DEFAULT_COMPONENTS = {
111
125
  */
112
126
  export function GraphVisualization(_a) {
113
127
  var _b, _c;
114
- var { nvlRef: rawNvlRef, nvlCallbacks, nvlOptions, sidepanel: rawSidepanel, nodes: rawNodes, rels: rawRels, topLeftIsland = DEFAULT_COMPONENTS.topLeftIsland, topRightIsland = DEFAULT_COMPONENTS.topRightIsland, bottomLeftIsland = DEFAULT_COMPONENTS.bottomLeftIsland, bottomRightIsland = DEFAULT_COMPONENTS.bottomRightIsland, gesture = 'single', setGesture, selected: rawSelected, setSelected: rawSetSelected, interactionMode: rawInteractionMode, setInteractionMode: rawSetInteractionMode, mouseEventCallbacks = {}, className, style, htmlAttributes, ref, as } = _a, restProps = __rest(_a, ["nvlRef", "nvlCallbacks", "nvlOptions", "sidepanel", "nodes", "rels", "topLeftIsland", "topRightIsland", "bottomLeftIsland", "bottomRightIsland", "gesture", "setGesture", "selected", "setSelected", "interactionMode", "setInteractionMode", "mouseEventCallbacks", "className", "style", "htmlAttributes", "ref", "as"]);
128
+ var { nvlRef: rawNvlRef, nvlCallbacks, nvlOptions, sidepanel: rawSidepanel, nodes: rawNodes, rels: rawRels, highlightedNodeIds, highlightedRelationshipIds, topLeftIsland = DEFAULT_COMPONENTS.topLeftIsland, topRightIsland = DEFAULT_COMPONENTS.topRightIsland, bottomLeftIsland = DEFAULT_COMPONENTS.bottomLeftIsland, bottomRightIsland = DEFAULT_COMPONENTS.bottomRightIsland, gesture = 'single', setGesture, selected: rawSelected, setSelected: rawSetSelected, interactionMode: rawInteractionMode, setInteractionMode: rawSetInteractionMode, mouseEventCallbacks = {}, className, style, htmlAttributes, ref, as } = _a, restProps = __rest(_a, ["nvlRef", "nvlCallbacks", "nvlOptions", "sidepanel", "nodes", "rels", "highlightedNodeIds", "highlightedRelationshipIds", "topLeftIsland", "topRightIsland", "bottomLeftIsland", "bottomRightIsland", "gesture", "setGesture", "selected", "setSelected", "interactionMode", "setInteractionMode", "mouseEventCallbacks", "className", "style", "htmlAttributes", "ref", "as"]);
115
129
  const nvlRef = useMemo(() => rawNvlRef !== null && rawNvlRef !== void 0 ? rawNvlRef : React.createRef(), [rawNvlRef]);
116
130
  const instanceId = useId();
117
131
  // Respect NDL theme changes
@@ -126,8 +140,10 @@ export function GraphVisualization(_a) {
126
140
  const [interactionMode, setInteractionMode] = useSemicontrolledState(rawInteractionMode !== null && rawInteractionMode !== void 0 ? rawInteractionMode : 'select', rawSetInteractionMode);
127
141
  const [selected, setSelected] = useSemicontrolledState(rawSelected !== null && rawSelected !== void 0 ? rawSelected : { nodeIds: [], relationshipIds: [] }, rawSetSelected);
128
142
  const nvlGraph = useMemo(() => mapToNvlGraph(rawNodes, rawRels), [rawNodes, rawRels]);
129
- const { nodesWithSelection, relsWithSelection, wrappedMouseEventCallbacks } = useManagedSelectionState({
143
+ const { nodesWithState, relsWithState, wrappedMouseEventCallbacks } = useManagedNodeState({
130
144
  gesture,
145
+ highlightedNodeIds,
146
+ highlightedRelationshipIds,
131
147
  interactionMode,
132
148
  mouseEventCallbacks,
133
149
  nvlGraph,
@@ -164,7 +180,7 @@ export function GraphVisualization(_a) {
164
180
  selected,
165
181
  setGesture,
166
182
  sidepanel,
167
- }, children: [_jsxs("div", { className: "ndl-graph-visualization", children: [_jsx(InteractiveNvlWrapper, Object.assign({ layout: "d3Force", nodes: nodesWithSelection, rels: relsWithSelection, nvlOptions: Object.assign(Object.assign(Object.assign({}, DEFAULT_NVL_OPTIONS), { instanceId, styling: {
183
+ }, children: [_jsxs("div", { className: "ndl-graph-visualization", children: [_jsx(InteractiveNvlWrapper, Object.assign({ layout: "d3Force", nodes: nodesWithState, rels: relsWithState, nvlOptions: Object.assign(Object.assign(Object.assign({}, DEFAULT_NVL_OPTIONS), { instanceId, styling: {
168
184
  defaultRelationshipColor: border.strongest,
169
185
  dropShadowColor: border.weak,
170
186
  selectedInnerBorderColor: bg.default,
@@ -1 +1 @@
1
- {"version":3,"file":"graph-visualization.js","sourceRoot":"","sources":["../../../src/graph-visualization/graph-visualization.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EACL,qBAAqB,GAEtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGnE,OAAO,EACL,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,eAAe,GAChB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAGL,yBAAyB,GAM1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,4DAA4D,CAAC;AAC9G,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAIrE,MAAM,UAAU,GAA8B;IAC5C,aAAa,EAAE,4DAA4D;IAC3E,cAAc,EAAE,6DAA6D;IAC7E,UAAU,EAAE,yDAAyD;IACrE,WAAW,EAAE,0DAA0D;CACxE,CAAC;AAEF,MA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iB,IAAC,SAAS,EAAC,cAAc,YACxC,iBAAiB,GACA,CACrB,IACG,EACL,SAAS,IAAI,KAAC,2BAA2B,IAAC,SAAS,EAAE,SAAS,GAAI,IAChC,IAC3B,CACb,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,kBAAkB,CAAC,YAAY,GAAG,YAAY,CAAC;AAE/C;;;;;;;GAOG;AACH,kBAAkB,CAAC,aAAa,GAAG,aAAa,CAAC;AAEjD;;;;;;;GAOG;AACH,kBAAkB,CAAC,eAAe,GAAG,eAAe,CAAC;AAErD;;;;;;;;;;GAUG;AACH,kBAAkB,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;AAEjE;;;;;;;;GAQG;AACH,kBAAkB,CAAC,cAAc,GAAG,cAAc,CAAC;AAEnD;;;;;;;;;GASG;AACH,kBAAkB,CAAC,eAAe,GAAG,eAAe,CAAC;AAErD;;;;;;;;;GASG;AACH,kBAAkB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AAEzD;;;;;;;;GAQG;AACH,kBAAkB,CAAC,kBAAkB,GAAG,kBAAkB,CAAC"}
1
+ {"version":3,"file":"graph-visualization.js","sourceRoot":"","sources":["../../../src/graph-visualization/graph-visualization.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EACL,qBAAqB,GAEtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGnE,OAAO,EACL,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,YA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AACH,kBAAkB,CAAC,kBAAkB,GAAG,kBAAkB,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 { GraphVisualization } from '../graph-visualization';
23
+ import { containerClasses, StoryGraph } from './story-data';
24
+ const Component = () => {
25
+ return (_jsx("div", { style: { height: '600px' }, children: _jsx(GraphVisualization, { nodes: StoryGraph.nodes, rels: StoryGraph.rels, className: containerClasses, highlightedNodeIds: ['node1'], highlightedRelationshipIds: [] }) }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=graph-visualization-highlighting.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-visualization-highlighting.story.js","sourceRoot":"","sources":["../../../../src/graph-visualization/stories/graph-visualization-highlighting.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE5D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,cAAK,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,YAC7B,KAAC,kBAAkB,IACjB,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,IAAI,EAAE,UAAU,CAAC,IAAI,EACrB,SAAS,EAAE,gBAAgB,EAC3B,kBAAkB,EAAE,CAAC,OAAO,CAAC,EAC7B,0BAA0B,EAAE,EAAE,GAC9B,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -18,7 +18,7 @@
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
- import { GraphVisualizationBarebones, GraphVisualizationBarebonesSrc, GraphVisualizationCustom, GraphVisualizationCustomSrc, GraphVisualizationDefault, GraphVisualizationDefaultSrc, GraphVisualizationMaximalist, GraphVisualizationMaximalistSrc, } from '.';
21
+ import { GraphVisualizationBarebones, GraphVisualizationBarebonesSrc, GraphVisualizationCustom, GraphVisualizationCustomSrc, GraphVisualizationDefault, GraphVisualizationDefaultSrc, GraphVisualizationHighlighting, GraphVisualizationHighlightingSrc, GraphVisualizationMaximalist, GraphVisualizationMaximalistSrc, } from '.';
22
22
  const componentMeta = {
23
23
  parameters: {
24
24
  controls: { disable: true },
@@ -80,4 +80,17 @@ export const CustomIslands = {
80
80
  },
81
81
  render: GraphVisualizationCustom,
82
82
  };
83
+ export const Highlighting = {
84
+ args: {},
85
+ parameters: {
86
+ docs: {
87
+ source: {
88
+ code: GraphVisualizationHighlightingSrc,
89
+ language: 'tsx',
90
+ type: 'code',
91
+ },
92
+ },
93
+ },
94
+ render: GraphVisualizationHighlighting,
95
+ };
83
96
  //# sourceMappingURL=graph-visualization.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../../src/graph-visualization/stories/graph-visualization.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EA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CACjC,CAAC"}
1
+ {"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../../src/graph-visualization/stories/graph-visualization.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,iCAAiC,EACjC,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,oCAAoC;IAC3C,EAAE,EAAE,qCAAqC;CAC1C,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,4BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,yBAAyB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA8B;gBACpC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAA2B;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAA4B;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,2BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,wBAAwB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iCAAiC;gBACvC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,8BAA8B;CACvC,CAAC"}
@@ -21,14 +21,17 @@
21
21
  export { default as GraphVisualizationBarebones } from './graph-visualization-barebones.story';
22
22
  export { default as GraphVisualizationCustom } from './graph-visualization-custom.story';
23
23
  export { default as GraphVisualizationDefault } from './graph-visualization-default.story';
24
+ export { default as GraphVisualizationHighlighting } from './graph-visualization-highlighting.story';
24
25
  export { default as GraphVisualizationMaximalist } from './graph-visualization-maximalist.story';
25
26
  import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
26
27
  import GraphVisualizationBarebonesSrcRaw from './graph-visualization-barebones.story?raw';
27
28
  import GraphVisualizationCustomSrcRaw from './graph-visualization-custom.story?raw';
28
29
  import GraphVisualizationDefaultSrcRaw from './graph-visualization-default.story?raw';
30
+ import GraphVisualizationHighlightingSrcRaw from './graph-visualization-highlighting.story?raw';
29
31
  import GraphVisualizationMaximalistSrcRaw from './graph-visualization-maximalist.story?raw';
30
32
  export const GraphVisualizationDefaultSrc = removeLicenseHeader(GraphVisualizationDefaultSrcRaw);
31
33
  export const GraphVisualizationBarebonesSrc = removeLicenseHeader(GraphVisualizationBarebonesSrcRaw);
32
34
  export const GraphVisualizationMaximalistSrc = removeLicenseHeader(GraphVisualizationMaximalistSrcRaw);
33
35
  export const GraphVisualizationCustomSrc = removeLicenseHeader(GraphVisualizationCustomSrcRaw);
36
+ export const GraphVisualizationHighlightingSrc = removeLicenseHeader(GraphVisualizationHighlightingSrcRaw);
34
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/graph-visualization/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAEjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,iCAAiC,MAAM,2CAA2C,CAAC;AAC1F,OAAO,8BAA8B,MAAM,wCAAwC,CAAC;AACpF,OAAO,+BAA+B,MAAM,yCAAyC,CAAC;AACtF,OAAO,kCAAkC,MAAM,4CAA4C,CAAC;AAE5F,MAAM,CAAC,MAAM,4BAA4B,GAAG,mBAAmB,CAC7D,+BAA+B,CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,mBAAmB,CAC/D,iCAAiC,CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,mBAAmB,CAChE,kCAAkC,CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAC5D,8BAA8B,CAC/B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/graph-visualization/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAEjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,iCAAiC,MAAM,2CAA2C,CAAC;AAC1F,OAAO,8BAA8B,MAAM,wCAAwC,CAAC;AACpF,OAAO,+BAA+B,MAAM,yCAAyC,CAAC;AACtF,OAAO,oCAAoC,MAAM,8CAA8C,CAAC;AAChG,OAAO,kCAAkC,MAAM,4CAA4C,CAAC;AAE5F,MAAM,CAAC,MAAM,4BAA4B,GAAG,mBAAmB,CAC7D,+BAA+B,CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,mBAAmB,CAC/D,iCAAiC,CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,mBAAmB,CAChE,kCAAkC,CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAC5D,8BAA8B,CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,mBAAmB,CAClE,oCAAoC,CACrC,CAAC"}
@@ -28,7 +28,7 @@ const isClickingOnTextInput = (e) => {
28
28
  return (e.target.isContentEditable ||
29
29
  ['INPUT', 'TEXTAREA'].includes(e.target.tagName));
30
30
  };
31
- export function useManagedSelectionState({ selected, setSelected, gesture, interactionMode, setInteractionMode, mouseEventCallbacks, nvlGraph, }) {
31
+ export function useManagedNodeState({ selected, setSelected, gesture, interactionMode, setInteractionMode, mouseEventCallbacks, nvlGraph, highlightedNodeIds, highlightedRelationshipIds, }) {
32
32
  const panOnSpace = useCallback((evt) => {
33
33
  // We could check the gesture here
34
34
  // but it doesn't really matter if we switch to panning mode even in single select
@@ -248,8 +248,12 @@ export function useManagedSelectionState({ selected, setSelected, gesture, inter
248
248
  nodeIds: new Set(selected.nodeIds),
249
249
  relIds: new Set(selected.relationshipIds),
250
250
  }), [selected]);
251
- const nodesWithSelection = useMemo(() => nvlGraph.nodes.map((n) => (Object.assign(Object.assign({}, n), { selected: selectionSet.nodeIds.has(n.id) }))), [nvlGraph.nodes, selectionSet]);
252
- const relsWithSelection = useMemo(() => nvlGraph.rels.map((r) => (Object.assign(Object.assign({}, r), { selected: selectionSet.relIds.has(r.id) }))), [nvlGraph.rels, selectionSet]);
253
- return { nodesWithSelection, relsWithSelection, wrappedMouseEventCallbacks };
251
+ const highlightedNodeSet = useMemo(() => highlightedNodeIds !== undefined ? new Set(highlightedNodeIds) : null, [highlightedNodeIds]);
252
+ const highlightedRelSet = useMemo(() => highlightedRelationshipIds !== undefined
253
+ ? new Set(highlightedRelationshipIds)
254
+ : null, [highlightedRelationshipIds]);
255
+ const nodesWithState = useMemo(() => nvlGraph.nodes.map((n) => (Object.assign(Object.assign({}, n), { disabled: highlightedNodeSet ? !highlightedNodeSet.has(n.id) : false, selected: selectionSet.nodeIds.has(n.id) }))), [nvlGraph.nodes, selectionSet, highlightedNodeSet]);
256
+ const relsWithState = useMemo(() => nvlGraph.rels.map((r) => (Object.assign(Object.assign({}, r), { disabled: highlightedRelSet ? !highlightedRelSet.has(r.id) : false, selected: selectionSet.relIds.has(r.id) }))), [nvlGraph.rels, selectionSet, highlightedRelSet]);
257
+ return { nodesWithState, relsWithState, wrappedMouseEventCallbacks };
254
258
  }
255
- //# sourceMappingURL=use-managed-selection-state.js.map
259
+ //# sourceMappingURL=use-managed-node-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-managed-node-state.js","sourceRoot":"","sources":["../../../src/graph-visualization/use-managed-node-state.ts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G,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,EAClE,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IACvC,CAAC,EACL,CAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,iBAAiB,CAAC,CACjD,CAAC;IAEF,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,0BAA0B,EAAE,CAAC;AACvE,CAAC"}
@@ -0,0 +1,34 @@
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 LabelDefault } from './label-default.story';
22
+ export { default as LabelColors } from './label-colors.story';
23
+ export { default as LabelFills } from './label-fills.story';
24
+ export { default as LabelWithIcons } from './label-with-icons.story';
25
+ import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
26
+ import LabelColorsSourceRaw from './label-colors.story?raw';
27
+ import LabelDefaultSourceRaw from './label-default.story?raw';
28
+ import LabelFillsSourceRaw from './label-fills.story?raw';
29
+ import LabelWithIconsSourceRaw from './label-with-icons.story?raw';
30
+ export const LabelDefaultSource = removeLicenseHeader(LabelDefaultSourceRaw);
31
+ export const LabelColorsSource = removeLicenseHeader(LabelColorsSourceRaw);
32
+ export const LabelFillsSource = removeLicenseHeader(LabelFillsSourceRaw);
33
+ export const LabelWithIconsSource = removeLicenseHeader(LabelWithIconsSourceRaw);
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/label/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,qBAAqB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,mBAAmB,MAAM,yBAAyB,CAAC;AAC1D,OAAO,uBAAuB,MAAM,8BAA8B,CAAC;AAEnE,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,qBAAqB,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,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 { Label } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6 n-flex-wrap", children: [_jsx(Label, { color: "default", children: "Default" }), _jsx(Label, { color: "info", children: "Info" }), _jsx(Label, { color: "success", children: "Success" }), _jsx(Label, { color: "warning", children: "Warning" }), _jsx(Label, { color: "danger", children: "Danger" }), _jsx(Label, { color: "discovery", children: "Discovery" })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=label-colors.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label-colors.story.js","sourceRoot":"","sources":["../../../../src/label/stories/label-colors.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,kCAAkC,aAC/C,KAAC,KAAK,IAAC,KAAK,EAAC,SAAS,wBAAgB,EACtC,KAAC,KAAK,IAAC,KAAK,EAAC,MAAM,qBAAa,EAChC,KAAC,KAAK,IAAC,KAAK,EAAC,SAAS,wBAAgB,EACtC,KAAC,KAAK,IAAC,KAAK,EAAC,SAAS,wBAAgB,EACtC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,uBAAe,EACpC,KAAC,KAAK,IAAC,KAAK,EAAC,WAAW,0BAAkB,IACtC,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 { Label } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(Label, { children: "Label" });
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=label-default.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label-default.story.js","sourceRoot":"","sources":["../../../../src/label/stories/label-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,KAAK,wBAAc,CAAC;AAC9B,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 { Label } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-6 n-flex-wrap", children: [_jsx(Label, { fill: "filled", children: "Filled" }), _jsx(Label, { fill: "outlined", children: "Outlined" }), _jsx(Label, { fill: "semi-filled", children: "Semi-filled" }), _jsx(Label, { fill: "clean", hasIcon: true, children: "Clean" })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=label-fills.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label-fills.story.js","sourceRoot":"","sources":["../../../../src/label/stories/label-fills.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,kCAAkC,aAC/C,KAAC,KAAK,IAAC,IAAI,EAAC,QAAQ,uBAAe,EACnC,KAAC,KAAK,IAAC,IAAI,EAAC,UAAU,yBAAiB,EACvC,KAAC,KAAK,IAAC,IAAI,EAAC,aAAa,4BAAoB,EAC7C,KAAC,KAAK,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,4BAEnB,IACJ,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 { Label } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-grid n-grid-cols-6 n-grid-rows-2 n-gap-token-6 n-items-center n-justify-items-center", children: [_jsx(Label, { color: "default", hasIcon: true, children: "Default" }), _jsx(Label, { color: "info", hasIcon: true, children: "Info" }), _jsx(Label, { color: "success", hasIcon: true, children: "Success" }), _jsx(Label, { color: "danger", hasIcon: true, children: "Danger" }), _jsx(Label, { color: "warning", hasIcon: true, children: "Warning" }), _jsx(Label, { color: "discovery", hasIcon: true, children: "Discovery" }), _jsx(Label, { color: "default", fill: "clean", hasIcon: true, children: "Default" }), _jsx(Label, { color: "info", fill: "clean", hasIcon: true, children: "Info" }), _jsx(Label, { color: "success", fill: "clean", hasIcon: true, children: "Success" }), _jsx(Label, { color: "danger", fill: "clean", hasIcon: true, children: "Danger" }), _jsx(Label, { color: "warning", fill: "clean", hasIcon: true, children: "Warning" }), _jsx(Label, { color: "discovery", fill: "clean", hasIcon: true, children: "Discovery" })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=label-with-icons.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label-with-ic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 *
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 { Label } from '../../index';
24
+ import { LabelColors, LabelColorsSource, LabelDefault, LabelDefaultSource, LabelFills, LabelFillsSource, LabelWithIcons, LabelWithIconsSource, } from '.';
25
+ const componentMeta = {
26
+ title: 'Components/Labels/Semantic Labels',
27
+ id: 'components-labels-semantic-labels',
28
+ component: Label,
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 Default = {
39
+ args: {},
40
+ render: LabelDefault,
41
+ parameters: {
42
+ docs: {
43
+ source: {
44
+ language: 'tsx',
45
+ type: 'code',
46
+ code: LabelDefaultSource,
47
+ },
48
+ },
49
+ },
50
+ };
51
+ export const Colors = {
52
+ args: {},
53
+ render: LabelColors,
54
+ parameters: {
55
+ docs: {
56
+ source: {
57
+ language: 'tsx',
58
+ type: 'code',
59
+ code: LabelColorsSource,
60
+ },
61
+ },
62
+ },
63
+ };
64
+ export const Fills = {
65
+ args: {},
66
+ render: LabelFills,
67
+ parameters: {
68
+ docs: {
69
+ source: {
70
+ language: 'tsx',
71
+ type: 'code',
72
+ code: LabelFillsSource,
73
+ },
74
+ },
75
+ },
76
+ };
77
+ export const WithIcons = {
78
+ args: {},
79
+ render: LabelWithIcons,
80
+ parameters: {
81
+ docs: {
82
+ source: {
83
+ language: 'tsx',
84
+ type: 'code',
85
+ code: LabelWithIconsSource,
86
+ },
87
+ },
88
+ },
89
+ };
90
+ //# sourceMappingURL=label.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.stories.js","sourceRoot":"","sources":["../../../../src/label/stories/label.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,oBAAoB,GACrB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAuB;IACxC,KAAK,EAAE,mCAAmC;IAC1C,EAAE,EAAE,mCAAmC;IACvC,SAAS,EAAE,KAAK;IAChB,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;CACF,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,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,MAAM,GAAU;IAC3B,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,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,UAAU;IAClB,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;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,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"}
@@ -0,0 +1,28 @@
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 LoadingBarDefault } from './loading-bar-default.story';
22
+ export { default as LoadingBarWithRail } from './loading-bar-with-rail.story';
23
+ import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
24
+ import LoadingBarDefaultSourceRaw from './loading-bar-default.story?raw';
25
+ import LoadingBarWithRailSourceRaw from './loading-bar-with-rail.story?raw';
26
+ export const LoadingBarDefaultSource = removeLicenseHeader(LoadingBarDefaultSourceRaw);
27
+ export const LoadingBarWithRailSource = removeLicenseHeader(LoadingBarWithRailSourceRaw);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/loading-bar/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,0BAA0B,MAAM,iCAAiC,CAAC;AACzE,OAAO,2BAA2B,MAAM,mCAAmC,CAAC;AAE5E,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CACzD,2BAA2B,CAC5B,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 { LoadingBar } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(LoadingBar, {});
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=loading-bar-default.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loading-bar-default.story.js","sourceRoot":"","sources":["../../../../src/loading-bar/stories/loading-bar-default.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,KAAC,UAAU,KAAG,CAAC;AACxB,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}