@neo4j-ndl/react 3.9.5 → 3.9.7

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 (373) hide show
  1. package/lib/cjs/ai-presence/stories/ai-presence-default.story.js +1 -1
  2. package/lib/cjs/ai-presence/stories/ai-presence-default.story.js.map +1 -1
  3. package/lib/cjs/ai-presence/stories/ai-presence.stories.js +2 -0
  4. package/lib/cjs/ai-presence/stories/ai-presence.stories.js.map +1 -1
  5. package/lib/cjs/clipboard-copier/stories/clipboard-copier-default.story.js +30 -0
  6. package/lib/cjs/clipboard-copier/stories/clipboard-copier-default.story.js.map +1 -0
  7. package/lib/cjs/clipboard-copier/stories/clipboard-copier-disabled.story.js +30 -0
  8. package/lib/cjs/clipboard-copier/stories/clipboard-copier-disabled.story.js.map +1 -0
  9. package/lib/cjs/clipboard-copier/stories/clipboard-copier-not-clean.story.js +30 -0
  10. package/lib/cjs/clipboard-copier/stories/clipboard-copier-not-clean.story.js.map +1 -0
  11. package/lib/cjs/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js +30 -0
  12. package/lib/cjs/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js.map +1 -0
  13. package/lib/cjs/clipboard-copier/stories/clipboard-copier-sizes.story.js +30 -0
  14. package/lib/cjs/clipboard-copier/stories/clipboard-copier-sizes.story.js.map +1 -0
  15. package/lib/cjs/clipboard-copier/stories/clipboard-copier-tooltip.story.js +38 -0
  16. package/lib/cjs/clipboard-copier/stories/clipboard-copier-tooltip.story.js.map +1 -0
  17. package/lib/cjs/clipboard-copier/stories/clipboard-copier.stories.js +119 -0
  18. package/lib/cjs/clipboard-copier/stories/clipboard-copier.stories.js.map +1 -0
  19. package/lib/cjs/clipboard-copier/stories/index.js +52 -0
  20. package/lib/cjs/clipboard-copier/stories/index.js.map +1 -0
  21. package/lib/cjs/color-picker/stories/color-picker-custom-swatches.story.js +26 -26
  22. package/lib/cjs/color-picker/stories/color-picker-custom-swatches.story.js.map +1 -1
  23. package/lib/cjs/color-picker/stories/{color-picker-full.story.js → color-picker-default.story.js} +2 -2
  24. package/lib/cjs/color-picker/stories/color-picker-default.story.js.map +1 -0
  25. package/lib/cjs/color-picker/stories/{color-picker-without-eye-dropper.story.js → color-picker-without-eyedropper.story.js} +2 -2
  26. package/lib/cjs/color-picker/stories/color-picker-without-eyedropper.story.js.map +1 -0
  27. package/lib/cjs/color-picker/stories/color-picker.stories.js +8 -7
  28. package/lib/cjs/color-picker/stories/color-picker.stories.js.map +1 -1
  29. package/lib/cjs/color-picker/stories/index.js +9 -9
  30. package/lib/cjs/color-picker/stories/index.js.map +1 -1
  31. package/lib/cjs/dialog/stories/dialog-danger.story.js +36 -0
  32. package/lib/cjs/dialog/stories/dialog-danger.story.js.map +1 -0
  33. package/lib/cjs/dialog/stories/dialog-default.story.js +34 -0
  34. package/lib/cjs/dialog/stories/dialog-default.story.js.map +1 -0
  35. package/lib/cjs/dialog/stories/dialog-image.story.js +40 -0
  36. package/lib/cjs/dialog/stories/dialog-image.story.js.map +1 -0
  37. package/lib/cjs/dialog/stories/dialog-info.story.js +36 -0
  38. package/lib/cjs/dialog/stories/dialog-info.story.js.map +1 -0
  39. package/lib/cjs/dialog/stories/dialog-top-aligned.story.js +37 -0
  40. package/lib/cjs/dialog/stories/dialog-top-aligned.story.js.map +1 -0
  41. package/lib/cjs/dialog/stories/dialog-types.story.js +40 -0
  42. package/lib/cjs/dialog/stories/dialog-types.story.js.map +1 -0
  43. package/lib/cjs/dialog/stories/dialog-warning.story.js +36 -0
  44. package/lib/cjs/dialog/stories/dialog-warning.story.js.map +1 -0
  45. package/lib/cjs/dialog/stories/dialog.stories.js +150 -0
  46. package/lib/cjs/dialog/stories/dialog.stories.js.map +1 -0
  47. package/lib/cjs/dialog/stories/index.js +56 -0
  48. package/lib/cjs/dialog/stories/index.js.map +1 -0
  49. package/lib/cjs/dropdown-button/stories/dropdown-button-default.story.js +30 -0
  50. package/lib/cjs/dropdown-button/stories/dropdown-button-default.story.js.map +1 -0
  51. package/lib/cjs/dropdown-button/stories/dropdown-button-disabled.story.js +30 -0
  52. package/lib/cjs/dropdown-button/stories/dropdown-button-disabled.story.js.map +1 -0
  53. package/lib/cjs/dropdown-button/stories/dropdown-button-floating.story.js +30 -0
  54. package/lib/cjs/dropdown-button/stories/dropdown-button-floating.story.js.map +1 -0
  55. package/lib/cjs/dropdown-button/stories/dropdown-button-with-avatar.story.js +30 -0
  56. package/lib/cjs/dropdown-button/stories/dropdown-button-with-avatar.story.js.map +1 -0
  57. package/lib/cjs/dropdown-button/stories/dropdown-button-with-context-menu.story.js +35 -0
  58. package/lib/cjs/dropdown-button/stories/dropdown-button-with-context-menu.story.js.map +1 -0
  59. package/lib/cjs/dropdown-button/stories/dropdown-button-with-status-indicator.story.js +30 -0
  60. package/lib/cjs/dropdown-button/stories/dropdown-button-with-status-indicator.story.js.map +1 -0
  61. package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js +119 -0
  62. package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js.map +1 -0
  63. package/lib/cjs/dropdown-button/stories/index.js +52 -0
  64. package/lib/cjs/dropdown-button/stories/index.js.map +1 -0
  65. package/lib/cjs/graph-label/stories/graph-label-color.story.js +2 -1
  66. package/lib/cjs/graph-label/stories/graph-label-color.story.js.map +1 -1
  67. package/lib/cjs/graph-visualization/graph-visualization-buttons.js +31 -3
  68. package/lib/cjs/graph-visualization/graph-visualization-buttons.js.map +1 -1
  69. package/lib/cjs/graph-visualization/graph-visualization.js +26 -3
  70. package/lib/cjs/graph-visualization/graph-visualization.js.map +1 -1
  71. package/lib/cjs/graph-visualization/stories/graph-visualization-maximalist.story.js +1 -2
  72. package/lib/cjs/graph-visualization/stories/graph-visualization-maximalist.story.js.map +1 -1
  73. package/lib/cjs/graph-visualization/stories/graph-visualization-search.story.js +36 -0
  74. package/lib/cjs/graph-visualization/stories/graph-visualization-search.story.js.map +1 -0
  75. package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js +14 -1
  76. package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
  77. package/lib/cjs/graph-visualization/stories/index.js +5 -1
  78. package/lib/cjs/graph-visualization/stories/index.js.map +1 -1
  79. package/lib/cjs/graph-visualization/use-semi-controlled-state.js +7 -2
  80. package/lib/cjs/graph-visualization/use-semi-controlled-state.js.map +1 -1
  81. package/lib/cjs/graph-visualization/utils.js +39 -1
  82. package/lib/cjs/graph-visualization/utils.js.map +1 -1
  83. package/lib/cjs/icon-button-array/stories/icon-button-array-collapsible.story.js +31 -0
  84. package/lib/cjs/icon-button-array/stories/icon-button-array-collapsible.story.js.map +1 -0
  85. package/lib/cjs/icon-button-array/stories/icon-button-array-floating.story.js +31 -0
  86. package/lib/cjs/icon-button-array/stories/icon-button-array-floating.story.js.map +1 -0
  87. package/lib/cjs/icon-button-array/stories/icon-button-array-horizontal.story.js +31 -0
  88. package/lib/cjs/icon-button-array/stories/icon-button-array-horizontal.story.js.map +1 -0
  89. package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js +31 -0
  90. package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -0
  91. package/lib/cjs/icon-button-array/stories/icon-button-array-vertical.story.js +31 -0
  92. package/lib/cjs/icon-button-array/stories/icon-button-array-vertical.story.js.map +1 -0
  93. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js +106 -0
  94. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js.map +1 -0
  95. package/lib/cjs/icon-button-array/stories/index.js +48 -0
  96. package/lib/cjs/icon-button-array/stories/index.js.map +1 -0
  97. package/lib/cjs/modal/stories/index.js +40 -0
  98. package/lib/cjs/modal/stories/index.js.map +1 -0
  99. package/lib/cjs/modal/stories/modal-contained.story.js +38 -0
  100. package/lib/cjs/modal/stories/modal-contained.story.js.map +1 -0
  101. package/lib/cjs/modal/stories/modal-default.story.js +37 -0
  102. package/lib/cjs/modal/stories/modal-default.story.js.map +1 -0
  103. package/lib/cjs/modal/stories/modal-sizes.story.js +42 -0
  104. package/lib/cjs/modal/stories/modal-sizes.story.js.map +1 -0
  105. package/lib/cjs/modal/stories/modal.stories.js +91 -0
  106. package/lib/cjs/modal/stories/modal.stories.js.map +1 -0
  107. package/lib/cjs/progress-bar/stories/index.js +40 -0
  108. package/lib/cjs/progress-bar/stories/index.js.map +1 -0
  109. package/lib/cjs/progress-bar/stories/progress-bar-default.story.js +30 -0
  110. package/lib/cjs/progress-bar/stories/progress-bar-default.story.js.map +1 -0
  111. package/lib/cjs/progress-bar/stories/progress-bar-heading.story.js +30 -0
  112. package/lib/cjs/progress-bar/stories/progress-bar-heading.story.js.map +1 -0
  113. package/lib/cjs/progress-bar/stories/progress-bar-sizes.story.js +30 -0
  114. package/lib/cjs/progress-bar/stories/progress-bar-sizes.story.js.map +1 -0
  115. package/lib/cjs/progress-bar/stories/progress-bar.stories.js +80 -0
  116. package/lib/cjs/progress-bar/stories/progress-bar.stories.js.map +1 -0
  117. package/lib/cjs/tabs/stories/tabs-default.story.js +1 -1
  118. package/lib/cjs/tabs/stories/tabs-default.story.js.map +1 -1
  119. package/lib/cjs/tabs/stories/tabs-disabled.story.js +1 -1
  120. package/lib/cjs/tabs/stories/tabs-disabled.story.js.map +1 -1
  121. package/lib/cjs/tabs/stories/tabs-fill-variants.story.js +1 -1
  122. package/lib/cjs/tabs/stories/tabs-fill-variants.story.js.map +1 -1
  123. package/lib/cjs/tabs/stories/tabs-sizes.story.js +1 -1
  124. package/lib/cjs/tabs/stories/tabs-sizes.story.js.map +1 -1
  125. package/lib/cjs/tabs/stories/tabs-with-icons.story.js +1 -1
  126. package/lib/cjs/tabs/stories/tabs-with-icons.story.js.map +1 -1
  127. package/lib/cjs/tabs/stories/tabs.stories.js +1 -1
  128. package/lib/cjs/tabs/stories/tabs.stories.js.map +1 -1
  129. package/lib/cjs/tag/stories/tag-sizes.story.js +1 -1
  130. package/lib/cjs/tag/stories/tag-sizes.story.js.map +1 -1
  131. package/lib/cjs/text-area/TextArea.js +2 -2
  132. package/lib/cjs/text-area/TextArea.js.map +1 -1
  133. package/lib/cjs/text-area/stories/index.js +60 -0
  134. package/lib/cjs/text-area/stories/index.js.map +1 -0
  135. package/lib/cjs/text-area/stories/text-area-default.story.js +30 -0
  136. package/lib/cjs/text-area/stories/text-area-default.story.js.map +1 -0
  137. package/lib/cjs/text-area/stories/text-area-disabled.story.js +30 -0
  138. package/lib/cjs/text-area/stories/text-area-disabled.story.js.map +1 -0
  139. package/lib/cjs/text-area/stories/text-area-error.story.js +30 -0
  140. package/lib/cjs/text-area/stories/text-area-error.story.js.map +1 -0
  141. package/lib/cjs/text-area/stories/text-area-fluid.story.js +30 -0
  142. package/lib/cjs/text-area/stories/text-area-fluid.story.js.map +1 -0
  143. package/lib/cjs/text-area/stories/text-area-information-icon.story.js +34 -0
  144. package/lib/cjs/text-area/stories/text-area-information-icon.story.js.map +1 -0
  145. package/lib/cjs/text-area/stories/text-area-optional.story.js +30 -0
  146. package/lib/cjs/text-area/stories/text-area-optional.story.js.map +1 -0
  147. package/lib/cjs/text-area/stories/text-area-resizable-style.story.js +30 -0
  148. package/lib/cjs/text-area/stories/text-area-resizable-style.story.js.map +1 -0
  149. package/lib/cjs/text-area/stories/text-area-sizes.story.js +30 -0
  150. package/lib/cjs/text-area/stories/text-area-sizes.story.js.map +1 -0
  151. package/lib/cjs/text-area/stories/text-area.stories.js +148 -0
  152. package/lib/cjs/text-area/stories/text-area.stories.js.map +1 -0
  153. package/lib/esm/ai-presence/stories/ai-presence-default.story.js +1 -1
  154. package/lib/esm/ai-presence/stories/ai-presence-default.story.js.map +1 -1
  155. package/lib/esm/ai-presence/stories/ai-presence.stories.js +2 -0
  156. package/lib/esm/ai-presence/stories/ai-presence.stories.js.map +1 -1
  157. package/lib/esm/clipboard-copier/stories/clipboard-copier-default.story.js +28 -0
  158. package/lib/esm/clipboard-copier/stories/clipboard-copier-default.story.js.map +1 -0
  159. package/lib/esm/clipboard-copier/stories/clipboard-copier-disabled.story.js +28 -0
  160. package/lib/esm/clipboard-copier/stories/clipboard-copier-disabled.story.js.map +1 -0
  161. package/lib/esm/clipboard-copier/stories/clipboard-copier-not-clean.story.js +28 -0
  162. package/lib/esm/clipboard-copier/stories/clipboard-copier-not-clean.story.js.map +1 -0
  163. package/lib/esm/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js +28 -0
  164. package/lib/esm/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js.map +1 -0
  165. package/lib/esm/clipboard-copier/stories/clipboard-copier-sizes.story.js +28 -0
  166. package/lib/esm/clipboard-copier/stories/clipboard-copier-sizes.story.js.map +1 -0
  167. package/lib/esm/clipboard-copier/stories/clipboard-copier-tooltip.story.js +36 -0
  168. package/lib/esm/clipboard-copier/stories/clipboard-copier-tooltip.story.js.map +1 -0
  169. package/lib/esm/clipboard-copier/stories/clipboard-copier.stories.js +116 -0
  170. package/lib/esm/clipboard-copier/stories/clipboard-copier.stories.js.map +1 -0
  171. package/lib/esm/clipboard-copier/stories/index.js +40 -0
  172. package/lib/esm/clipboard-copier/stories/index.js.map +1 -0
  173. package/lib/esm/color-picker/stories/color-picker-custom-swatches.story.js +26 -26
  174. package/lib/esm/color-picker/stories/color-picker-custom-swatches.story.js.map +1 -1
  175. package/lib/esm/color-picker/stories/{color-picker-full.story.js → color-picker-default.story.js} +2 -2
  176. package/lib/esm/color-picker/stories/color-picker-default.story.js.map +1 -0
  177. package/lib/esm/color-picker/stories/{color-picker-without-eye-dropper.story.js → color-picker-without-eyedropper.story.js} +2 -2
  178. package/lib/esm/color-picker/stories/color-picker-without-eyedropper.story.js.map +1 -0
  179. package/lib/esm/color-picker/stories/color-picker.stories.js +8 -7
  180. package/lib/esm/color-picker/stories/color-picker.stories.js.map +1 -1
  181. package/lib/esm/color-picker/stories/index.js +5 -5
  182. package/lib/esm/color-picker/stories/index.js.map +1 -1
  183. package/lib/esm/dialog/stories/dialog-danger.story.js +34 -0
  184. package/lib/esm/dialog/stories/dialog-danger.story.js.map +1 -0
  185. package/lib/esm/dialog/stories/dialog-default.story.js +32 -0
  186. package/lib/esm/dialog/stories/dialog-default.story.js.map +1 -0
  187. package/lib/esm/dialog/stories/dialog-image.story.js +35 -0
  188. package/lib/esm/dialog/stories/dialog-image.story.js.map +1 -0
  189. package/lib/esm/dialog/stories/dialog-info.story.js +34 -0
  190. package/lib/esm/dialog/stories/dialog-info.story.js.map +1 -0
  191. package/lib/esm/dialog/stories/dialog-top-aligned.story.js +35 -0
  192. package/lib/esm/dialog/stories/dialog-top-aligned.story.js.map +1 -0
  193. package/lib/esm/dialog/stories/dialog-types.story.js +38 -0
  194. package/lib/esm/dialog/stories/dialog-types.story.js.map +1 -0
  195. package/lib/esm/dialog/stories/dialog-warning.story.js +34 -0
  196. package/lib/esm/dialog/stories/dialog-warning.story.js.map +1 -0
  197. package/lib/esm/dialog/stories/dialog.stories.js +144 -0
  198. package/lib/esm/dialog/stories/dialog.stories.js.map +1 -0
  199. package/lib/esm/dialog/stories/index.js +43 -0
  200. package/lib/esm/dialog/stories/index.js.map +1 -0
  201. package/lib/esm/dropdown-button/stories/dropdown-button-default.story.js +28 -0
  202. package/lib/esm/dropdown-button/stories/dropdown-button-default.story.js.map +1 -0
  203. package/lib/esm/dropdown-button/stories/dropdown-button-disabled.story.js +28 -0
  204. package/lib/esm/dropdown-button/stories/dropdown-button-disabled.story.js.map +1 -0
  205. package/lib/esm/dropdown-button/stories/dropdown-button-floating.story.js +28 -0
  206. package/lib/esm/dropdown-button/stories/dropdown-button-floating.story.js.map +1 -0
  207. package/lib/esm/dropdown-button/stories/dropdown-button-with-avatar.story.js +28 -0
  208. package/lib/esm/dropdown-button/stories/dropdown-button-with-avatar.story.js.map +1 -0
  209. package/lib/esm/dropdown-button/stories/dropdown-button-with-context-menu.story.js +33 -0
  210. package/lib/esm/dropdown-button/stories/dropdown-button-with-context-menu.story.js.map +1 -0
  211. package/lib/esm/dropdown-button/stories/dropdown-button-with-status-indicator.story.js +28 -0
  212. package/lib/esm/dropdown-button/stories/dropdown-button-with-status-indicator.story.js.map +1 -0
  213. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js +116 -0
  214. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js.map +1 -0
  215. package/lib/esm/dropdown-button/stories/index.js +40 -0
  216. package/lib/esm/dropdown-button/stories/index.js.map +1 -0
  217. package/lib/esm/graph-label/stories/graph-label-color.story.js +2 -1
  218. package/lib/esm/graph-label/stories/graph-label-color.story.js.map +1 -1
  219. package/lib/esm/graph-visualization/graph-visualization-buttons.js +31 -4
  220. package/lib/esm/graph-visualization/graph-visualization-buttons.js.map +1 -1
  221. package/lib/esm/graph-visualization/graph-visualization.js +27 -4
  222. package/lib/esm/graph-visualization/graph-visualization.js.map +1 -1
  223. package/lib/esm/graph-visualization/stories/graph-visualization-maximalist.story.js +1 -2
  224. package/lib/esm/graph-visualization/stories/graph-visualization-maximalist.story.js.map +1 -1
  225. package/lib/esm/graph-visualization/stories/graph-visualization-search.story.js +34 -0
  226. package/lib/esm/graph-visualization/stories/graph-visualization-search.story.js.map +1 -0
  227. package/lib/esm/graph-visualization/stories/graph-visualization.stories.js +14 -1
  228. package/lib/esm/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
  229. package/lib/esm/graph-visualization/stories/index.js +3 -0
  230. package/lib/esm/graph-visualization/stories/index.js.map +1 -1
  231. package/lib/esm/graph-visualization/use-semi-controlled-state.js +7 -2
  232. package/lib/esm/graph-visualization/use-semi-controlled-state.js.map +1 -1
  233. package/lib/esm/graph-visualization/utils.js +35 -0
  234. package/lib/esm/graph-visualization/utils.js.map +1 -1
  235. package/lib/esm/icon-button-array/stories/icon-button-array-collapsible.story.js +29 -0
  236. package/lib/esm/icon-button-array/stories/icon-button-array-collapsible.story.js.map +1 -0
  237. package/lib/esm/icon-button-array/stories/icon-button-array-floating.story.js +29 -0
  238. package/lib/esm/icon-button-array/stories/icon-button-array-floating.story.js.map +1 -0
  239. package/lib/esm/icon-button-array/stories/icon-button-array-horizontal.story.js +29 -0
  240. package/lib/esm/icon-button-array/stories/icon-button-array-horizontal.story.js.map +1 -0
  241. package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js +29 -0
  242. package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -0
  243. package/lib/esm/icon-button-array/stories/icon-button-array-vertical.story.js +29 -0
  244. package/lib/esm/icon-button-array/stories/icon-button-array-vertical.story.js.map +1 -0
  245. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js +103 -0
  246. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js.map +1 -0
  247. package/lib/esm/icon-button-array/stories/index.js +37 -0
  248. package/lib/esm/icon-button-array/stories/index.js.map +1 -0
  249. package/lib/esm/modal/stories/index.js +31 -0
  250. package/lib/esm/modal/stories/index.js.map +1 -0
  251. package/lib/esm/modal/stories/modal-contained.story.js +36 -0
  252. package/lib/esm/modal/stories/modal-contained.story.js.map +1 -0
  253. package/lib/esm/modal/stories/modal-default.story.js +35 -0
  254. package/lib/esm/modal/stories/modal-default.story.js.map +1 -0
  255. package/lib/esm/modal/stories/modal-sizes.story.js +40 -0
  256. package/lib/esm/modal/stories/modal-sizes.story.js.map +1 -0
  257. package/lib/esm/modal/stories/modal.stories.js +85 -0
  258. package/lib/esm/modal/stories/modal.stories.js.map +1 -0
  259. package/lib/esm/progress-bar/stories/index.js +31 -0
  260. package/lib/esm/progress-bar/stories/index.js.map +1 -0
  261. package/lib/esm/progress-bar/stories/progress-bar-default.story.js +28 -0
  262. package/lib/esm/progress-bar/stories/progress-bar-default.story.js.map +1 -0
  263. package/lib/esm/progress-bar/stories/progress-bar-heading.story.js +28 -0
  264. package/lib/esm/progress-bar/stories/progress-bar-heading.story.js.map +1 -0
  265. package/lib/esm/progress-bar/stories/progress-bar-sizes.story.js +28 -0
  266. package/lib/esm/progress-bar/stories/progress-bar-sizes.story.js.map +1 -0
  267. package/lib/esm/progress-bar/stories/progress-bar.stories.js +77 -0
  268. package/lib/esm/progress-bar/stories/progress-bar.stories.js.map +1 -0
  269. package/lib/esm/tabs/stories/tabs-default.story.js +2 -2
  270. package/lib/esm/tabs/stories/tabs-default.story.js.map +1 -1
  271. package/lib/esm/tabs/stories/tabs-disabled.story.js +2 -2
  272. package/lib/esm/tabs/stories/tabs-disabled.story.js.map +1 -1
  273. package/lib/esm/tabs/stories/tabs-fill-variants.story.js +1 -1
  274. package/lib/esm/tabs/stories/tabs-fill-variants.story.js.map +1 -1
  275. package/lib/esm/tabs/stories/tabs-sizes.story.js +1 -1
  276. package/lib/esm/tabs/stories/tabs-sizes.story.js.map +1 -1
  277. package/lib/esm/tabs/stories/tabs-with-icons.story.js +2 -2
  278. package/lib/esm/tabs/stories/tabs-with-icons.story.js.map +1 -1
  279. package/lib/esm/tabs/stories/tabs.stories.js +1 -1
  280. package/lib/esm/tabs/stories/tabs.stories.js.map +1 -1
  281. package/lib/esm/tag/stories/tag-sizes.story.js +1 -1
  282. package/lib/esm/tag/stories/tag-sizes.story.js.map +1 -1
  283. package/lib/esm/text-area/TextArea.js +2 -2
  284. package/lib/esm/text-area/TextArea.js.map +1 -1
  285. package/lib/esm/text-area/stories/index.js +46 -0
  286. package/lib/esm/text-area/stories/index.js.map +1 -0
  287. package/lib/esm/text-area/stories/text-area-default.story.js +28 -0
  288. package/lib/esm/text-area/stories/text-area-default.story.js.map +1 -0
  289. package/lib/esm/text-area/stories/text-area-disabled.story.js +28 -0
  290. package/lib/esm/text-area/stories/text-area-disabled.story.js.map +1 -0
  291. package/lib/esm/text-area/stories/text-area-error.story.js +28 -0
  292. package/lib/esm/text-area/stories/text-area-error.story.js.map +1 -0
  293. package/lib/esm/text-area/stories/text-area-fluid.story.js +28 -0
  294. package/lib/esm/text-area/stories/text-area-fluid.story.js.map +1 -0
  295. package/lib/esm/text-area/stories/text-area-information-icon.story.js +32 -0
  296. package/lib/esm/text-area/stories/text-area-information-icon.story.js.map +1 -0
  297. package/lib/esm/text-area/stories/text-area-optional.story.js +28 -0
  298. package/lib/esm/text-area/stories/text-area-optional.story.js.map +1 -0
  299. package/lib/esm/text-area/stories/text-area-resizable-style.story.js +28 -0
  300. package/lib/esm/text-area/stories/text-area-resizable-style.story.js.map +1 -0
  301. package/lib/esm/text-area/stories/text-area-sizes.story.js +28 -0
  302. package/lib/esm/text-area/stories/text-area-sizes.story.js.map +1 -0
  303. package/lib/esm/text-area/stories/text-area.stories.js +145 -0
  304. package/lib/esm/text-area/stories/text-area.stories.js.map +1 -0
  305. package/lib/types/ai-presence/stories/ai-presence.stories.d.ts +3 -17
  306. package/lib/types/clipboard-copier/stories/clipboard-copier-default.story.d.ts +23 -0
  307. package/lib/types/clipboard-copier/stories/clipboard-copier-disabled.story.d.ts +23 -0
  308. package/lib/types/clipboard-copier/stories/clipboard-copier-not-clean.story.d.ts +23 -0
  309. package/lib/types/clipboard-copier/stories/clipboard-copier-not-icon-button.story.d.ts +23 -0
  310. package/lib/types/clipboard-copier/stories/clipboard-copier-sizes.story.d.ts +23 -0
  311. package/lib/types/clipboard-copier/stories/clipboard-copier-tooltip.story.d.ts +23 -0
  312. package/lib/types/clipboard-copier/stories/clipboard-copier.stories.d.ts +31 -0
  313. package/lib/types/clipboard-copier/stories/index.d.ts +32 -0
  314. package/lib/types/color-picker/stories/color-picker.stories.d.ts +4 -24
  315. package/lib/types/color-picker/stories/index.d.ts +3 -3
  316. package/lib/types/dialog/stories/dialog-danger.story.d.ts +25 -0
  317. package/lib/types/dialog/stories/dialog-default.story.d.ts +25 -0
  318. package/lib/types/dialog/stories/dialog-image.story.d.ts +25 -0
  319. package/lib/types/dialog/stories/dialog-info.story.d.ts +25 -0
  320. package/lib/types/dialog/stories/dialog-top-aligned.story.d.ts +25 -0
  321. package/lib/types/dialog/stories/dialog-types.story.d.ts +25 -0
  322. package/lib/types/dialog/stories/dialog-warning.story.d.ts +25 -0
  323. package/lib/types/dialog/stories/dialog.stories.d.ts +32 -0
  324. package/lib/types/dialog/stories/index.d.ts +34 -0
  325. package/lib/types/dropdown-button/stories/dropdown-button-default.story.d.ts +23 -0
  326. package/lib/types/dropdown-button/stories/dropdown-button-disabled.story.d.ts +23 -0
  327. package/lib/types/dropdown-button/stories/dropdown-button-floating.story.d.ts +23 -0
  328. package/lib/types/dropdown-button/stories/dropdown-button-with-avatar.story.d.ts +23 -0
  329. package/lib/types/dropdown-button/stories/dropdown-button-with-context-menu.story.d.ts +23 -0
  330. package/lib/types/dropdown-button/stories/dropdown-button-with-status-indicator.story.d.ts +23 -0
  331. package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts +31 -0
  332. package/lib/types/dropdown-button/stories/index.d.ts +32 -0
  333. package/lib/types/graph-visualization/graph-visualization-buttons.d.ts +8 -0
  334. package/lib/types/graph-visualization/graph-visualization.d.ts +14 -1
  335. package/lib/types/graph-visualization/stories/graph-visualization-search.story.d.ts +22 -0
  336. package/lib/types/graph-visualization/stories/graph-visualization.stories.d.ts +1 -0
  337. package/lib/types/graph-visualization/stories/index.d.ts +2 -0
  338. package/lib/types/graph-visualization/use-semi-controlled-state.d.ts +3 -1
  339. package/lib/types/graph-visualization/utils.d.ts +6 -0
  340. package/lib/types/icon-button-array/stories/icon-button-array-collapsible.story.d.ts +23 -0
  341. package/lib/types/icon-button-array/stories/icon-button-array-floating.story.d.ts +23 -0
  342. package/lib/types/icon-button-array/stories/icon-button-array-horizontal.story.d.ts +23 -0
  343. package/lib/types/icon-button-array/stories/icon-button-array-sizes.story.d.ts +23 -0
  344. package/lib/types/icon-button-array/stories/icon-button-array-vertical.story.d.ts +23 -0
  345. package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts +30 -0
  346. package/lib/types/icon-button-array/stories/index.d.ts +30 -0
  347. package/lib/types/modal/stories/index.d.ts +26 -0
  348. package/lib/types/modal/stories/modal-contained.story.d.ts +25 -0
  349. package/lib/types/modal/stories/modal-default.story.d.ts +25 -0
  350. package/lib/types/modal/stories/modal-sizes.story.d.ts +25 -0
  351. package/lib/types/modal/stories/modal.stories.d.ts +28 -0
  352. package/lib/types/progress-bar/stories/index.d.ts +26 -0
  353. package/lib/types/progress-bar/stories/progress-bar-default.story.d.ts +23 -0
  354. package/lib/types/progress-bar/stories/progress-bar-heading.story.d.ts +23 -0
  355. package/lib/types/progress-bar/stories/progress-bar-sizes.story.d.ts +23 -0
  356. package/lib/types/progress-bar/stories/progress-bar.stories.d.ts +28 -0
  357. package/lib/types/text-area/stories/index.d.ts +36 -0
  358. package/lib/types/text-area/stories/text-area-default.story.d.ts +23 -0
  359. package/lib/types/text-area/stories/text-area-disabled.story.d.ts +23 -0
  360. package/lib/types/text-area/stories/text-area-error.story.d.ts +23 -0
  361. package/lib/types/text-area/stories/text-area-fluid.story.d.ts +23 -0
  362. package/lib/types/text-area/stories/text-area-information-icon.story.d.ts +23 -0
  363. package/lib/types/text-area/stories/text-area-optional.story.d.ts +23 -0
  364. package/lib/types/text-area/stories/text-area-resizable-style.story.d.ts +23 -0
  365. package/lib/types/text-area/stories/text-area-sizes.story.d.ts +23 -0
  366. package/lib/types/text-area/stories/text-area.stories.d.ts +33 -0
  367. package/package.json +9 -5
  368. package/lib/cjs/color-picker/stories/color-picker-full.story.js.map +0 -1
  369. package/lib/cjs/color-picker/stories/color-picker-without-eye-dropper.story.js.map +0 -1
  370. package/lib/esm/color-picker/stories/color-picker-full.story.js.map +0 -1
  371. package/lib/esm/color-picker/stories/color-picker-without-eye-dropper.story.js.map +0 -1
  372. /package/lib/types/color-picker/stories/{color-picker-full.story.d.ts → color-picker-default.story.d.ts} +0 -0
  373. /package/lib/types/color-picker/stories/{color-picker-without-eye-dropper.story.d.ts → color-picker-without-eyedropper.story.d.ts} +0 -0
@@ -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,wBAWW;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,kBAAe,aAAa,CAAC;AAGhB,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAAyB;CAClC,CAAC;AAEW,QAAA,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iCAA8B;gBACpC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,8BAA2B;CACpC,CAAC;AAEW,QAAA,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kCAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,+BAA4B;CACrC,CAAC;AAEW,QAAA,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAAwB;CACjC,CAAC;AAEW,QAAA,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,oCAAiC;gBACvC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,iCAA8B;CACvC,CAAC"}
1
+ {"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../../src/graph-visualization/stories/graph-visualization.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAIH,wBAaW;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,kBAAe,aAAa,CAAC;AAGhB,QAAA,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAAyB;CAClC,CAAC;AAEW,QAAA,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,iCAA8B;gBACpC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,8BAA2B;CACpC,CAAC;AAEW,QAAA,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,kCAA+B;gBACrC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,+BAA4B;CACrC,CAAC;AAEW,QAAA,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAAwB;CACjC,CAAC;AAEW,QAAA,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,oCAAiC;gBACvC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,iCAA8B;CACvC,CAAC;AAEW,QAAA,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAAwB;CACjC,CAAC"}
@@ -23,7 +23,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
23
23
  return (mod && mod.__esModule) ? mod : { "default": mod };
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.GraphVisualizationHighlightingSrc = exports.GraphVisualizationCustomSrc = exports.GraphVisualizationMaximalistSrc = exports.GraphVisualizationBarebonesSrc = exports.GraphVisualizationDefaultSrc = exports.GraphVisualizationMaximalist = exports.GraphVisualizationHighlighting = exports.GraphVisualizationDefault = exports.GraphVisualizationCustom = exports.GraphVisualizationBarebones = void 0;
26
+ exports.GraphVisualizationSearchSrc = exports.GraphVisualizationHighlightingSrc = exports.GraphVisualizationCustomSrc = exports.GraphVisualizationMaximalistSrc = exports.GraphVisualizationBarebonesSrc = exports.GraphVisualizationDefaultSrc = exports.GraphVisualizationMaximalist = exports.GraphVisualizationSearch = exports.GraphVisualizationHighlighting = exports.GraphVisualizationDefault = exports.GraphVisualizationCustom = exports.GraphVisualizationBarebones = void 0;
27
27
  var graph_visualization_barebones_story_1 = require("./graph-visualization-barebones.story");
28
28
  Object.defineProperty(exports, "GraphVisualizationBarebones", { enumerable: true, get: function () { return __importDefault(graph_visualization_barebones_story_1).default; } });
29
29
  var graph_visualization_custom_story_1 = require("./graph-visualization-custom.story");
@@ -32,6 +32,8 @@ var graph_visualization_default_story_1 = require("./graph-visualization-default
32
32
  Object.defineProperty(exports, "GraphVisualizationDefault", { enumerable: true, get: function () { return __importDefault(graph_visualization_default_story_1).default; } });
33
33
  var graph_visualization_highlighting_story_1 = require("./graph-visualization-highlighting.story");
34
34
  Object.defineProperty(exports, "GraphVisualizationHighlighting", { enumerable: true, get: function () { return __importDefault(graph_visualization_highlighting_story_1).default; } });
35
+ var graph_visualization_search_story_1 = require("./graph-visualization-search.story");
36
+ Object.defineProperty(exports, "GraphVisualizationSearch", { enumerable: true, get: function () { return __importDefault(graph_visualization_search_story_1).default; } });
35
37
  var graph_visualization_maximalist_story_1 = require("./graph-visualization-maximalist.story");
36
38
  Object.defineProperty(exports, "GraphVisualizationMaximalist", { enumerable: true, get: function () { return __importDefault(graph_visualization_maximalist_story_1).default; } });
37
39
  const export_stories_utils_1 = require("@neo4j-ndl/react/_common/export-stories-utils");
@@ -40,9 +42,11 @@ const graph_visualization_custom_story_raw_1 = __importDefault(require("./graph-
40
42
  const graph_visualization_default_story_raw_1 = __importDefault(require("./graph-visualization-default.story?raw"));
41
43
  const graph_visualization_highlighting_story_raw_1 = __importDefault(require("./graph-visualization-highlighting.story?raw"));
42
44
  const graph_visualization_maximalist_story_raw_1 = __importDefault(require("./graph-visualization-maximalist.story?raw"));
45
+ const graph_visualization_search_story_raw_1 = __importDefault(require("./graph-visualization-search.story?raw"));
43
46
  exports.GraphVisualizationDefaultSrc = (0, export_stories_utils_1.removeLicenseHeader)(graph_visualization_default_story_raw_1.default);
44
47
  exports.GraphVisualizationBarebonesSrc = (0, export_stories_utils_1.removeLicenseHeader)(graph_visualization_barebones_story_raw_1.default);
45
48
  exports.GraphVisualizationMaximalistSrc = (0, export_stories_utils_1.removeLicenseHeader)(graph_visualization_maximalist_story_raw_1.default);
46
49
  exports.GraphVisualizationCustomSrc = (0, export_stories_utils_1.removeLicenseHeader)(graph_visualization_custom_story_raw_1.default);
47
50
  exports.GraphVisualizationHighlightingSrc = (0, export_stories_utils_1.removeLicenseHeader)(graph_visualization_highlighting_story_raw_1.default);
51
+ exports.GraphVisualizationSearchSrc = (0, export_stories_utils_1.removeLicenseHeader)(graph_visualization_search_story_raw_1.default);
48
52
  //# 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,6FAA+F;AAAtF,mKAAA,OAAO,OAA+B;AAC/C,uFAAyF;AAAhF,6JAAA,OAAO,OAA4B;AAC5C,yFAA2F;AAAlF,+JAAA,OAAO,OAA6B;AAC7C,mGAAqG;AAA5F,yKAAA,OAAO,OAAkC;AAClD,+FAAiG;AAAxF,qKAAA,OAAO,OAAgC;AAEhD,wFAAoF;AAEpF,wHAA0F;AAC1F,kHAAoF;AACpF,oHAAsF;AACtF,8HAAgG;AAChG,0HAA4F;AAE/E,QAAA,4BAA4B,GAAG,IAAA,0CAAmB,EAC7D,+CAA+B,CAChC,CAAC;AAEW,QAAA,8BAA8B,GAAG,IAAA,0CAAmB,EAC/D,iDAAiC,CAClC,CAAC;AAEW,QAAA,+BAA+B,GAAG,IAAA,0CAAmB,EAChE,kDAAkC,CACnC,CAAC;AAEW,QAAA,2BAA2B,GAAG,IAAA,0CAAmB,EAC5D,8CAA8B,CAC/B,CAAC;AAEW,QAAA,iCAAiC,GAAG,IAAA,0CAAmB,EAClE,oDAAoC,CACrC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/graph-visualization/stories/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;AAEH,6FAA+F;AAAtF,mKAAA,OAAO,OAA+B;AAC/C,uFAAyF;AAAhF,6JAAA,OAAO,OAA4B;AAC5C,yFAA2F;AAAlF,+JAAA,OAAO,OAA6B;AAC7C,mGAAqG;AAA5F,yKAAA,OAAO,OAAkC;AAClD,uFAAyF;AAAhF,6JAAA,OAAO,OAA4B;AAC5C,+FAAiG;AAAxF,qKAAA,OAAO,OAAgC;AAEhD,wFAAoF;AAEpF,wHAA0F;AAC1F,kHAAoF;AACpF,oHAAsF;AACtF,8HAAgG;AAChG,0HAA4F;AAC5F,kHAAoF;AAEvE,QAAA,4BAA4B,GAAG,IAAA,0CAAmB,EAC7D,+CAA+B,CAChC,CAAC;AAEW,QAAA,8BAA8B,GAAG,IAAA,0CAAmB,EAC/D,iDAAiC,CAClC,CAAC;AAEW,QAAA,+BAA+B,GAAG,IAAA,0CAAmB,EAChE,kDAAkC,CACnC,CAAC;AAEW,QAAA,2BAA2B,GAAG,IAAA,0CAAmB,EAC5D,8CAA8B,CAC/B,CAAC;AAEW,QAAA,iCAAiC,GAAG,IAAA,0CAAmB,EAClE,oDAAoC,CACrC,CAAC;AACW,QAAA,2BAA2B,GAAG,IAAA,0CAAmB,EAC5D,8CAA8B,CAC/B,CAAC"}
@@ -27,12 +27,17 @@ function useSemicontrolledState(externalState, externalSetState) {
27
27
  const state = (0, react_1.useMemo)(() => (externalSetState ? externalState : backupState), [externalState, backupState, externalSetState]);
28
28
  const setState = (0, react_1.useCallback)((newState) => {
29
29
  if (externalSetState !== undefined) {
30
- externalSetState(newState);
30
+ if (typeof newState === 'function') {
31
+ externalSetState(newState(externalState));
32
+ }
33
+ else {
34
+ externalSetState(newState);
35
+ }
31
36
  }
32
37
  else {
33
38
  setBackupState(newState);
34
39
  }
35
- }, [externalSetState, setBackupState]);
40
+ }, [externalSetState, setBackupState, externalState]);
36
41
  return [state, setState];
37
42
  }
38
43
  //# sourceMappingURL=use-semi-controlled-state.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-semi-controlled-state.js","sourceRoot":"","sources":["../../../src/graph-visualization/use-semi-controlled-state.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAIH,wDAuBC;AAzBD,iCAAuD;AAEvD,SAAgB,sBAAsB,CACpC,aAAgB,EAChB,gBAAwC;IAExC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAI,aAAa,CAAC,CAAC;IAEjE,MAAM,KAAK,GAAG,IAAA,eAAO,EACnB,GAAG,EAAE,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EACtD,CAAC,aAAa,EAAE,WAAW,EAAE,gBAAgB,CAAC,CAC/C,CAAC;IAEF,MAAM,QAAQ,GAAG,IAAA,mBAAW,EAC1B,CAAC,QAAW,EAAE,EAAE;QACd,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;YACnC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,cAAc,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC,EACD,CAAC,gBAAgB,EAAE,cAAc,CAAC,CACnC,CAAC;IAEF,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"use-semi-controlled-state.js","sourceRoot":"","sources":["../../../src/graph-visualization/use-semi-controlled-state.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAMH,wDA2BC;AA/BD,iCAAuD;AAIvD,SAAgB,sBAAsB,CACpC,aAAgB,EAChB,gBAAwC;IAExC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAI,aAAa,CAAC,CAAC;IAEjE,MAAM,KAAK,GAAG,IAAA,eAAO,EACnB,GAAG,EAAE,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EACtD,CAAC,aAAa,EAAE,WAAW,EAAE,gBAAgB,CAAC,CAC/C,CAAC;IAEF,MAAM,QAAQ,GAAG,IAAA,mBAAW,EAC1B,CAAC,QAA2B,EAAE,EAAE;QAC9B,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;YACnC,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE,CAAC;gBACnC,gBAAgB,CAAE,QAA2B,CAAC,aAAa,CAAC,CAAC,CAAC;YAChE,CAAC;iBAAM,CAAC;gBACN,gBAAgB,CAAC,QAAQ,CAAC,CAAC;YAC7B,CAAC;QACH,CAAC;aAAM,CAAC;YACN,cAAc,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC,EACD,CAAC,gBAAgB,EAAE,cAAc,EAAE,aAAa,CAAC,CAClD,CAAC;IAEF,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC3B,CAAC"}
@@ -20,11 +20,49 @@
20
20
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
21
  */
22
22
  Object.defineProperty(exports, "__esModule", { value: true });
23
- exports.mapValues = exports.xor = exports.isMac = void 0;
23
+ exports.searchRels = exports.searchNodes = exports.searchProperties = exports.mapValues = exports.xor = exports.isMac = void 0;
24
24
  exports.isMac = navigator.userAgent.includes('Mac');
25
25
  const uniq = (arr) => [...new Set(arr)];
26
26
  const xor = (a, b) => uniq([...a, ...b].filter((id) => !a.includes(id) || !b.includes(id)));
27
27
  exports.xor = xor;
28
28
  const mapValues = (obj, fn) => Object.fromEntries(Object.entries(obj).map(([key, value]) => [key, fn(value)]));
29
29
  exports.mapValues = mapValues;
30
+ const searchProperties = (properties, text) => {
31
+ var _a;
32
+ for (const [propName, propValue] of Object.entries(properties)) {
33
+ const isNameMatch = propName.toLowerCase().includes(text);
34
+ const raw = (_a = propValue === null || propValue === void 0 ? void 0 : propValue.stringified) !== null && _a !== void 0 ? _a : '';
35
+ const isValueMatch = raw.toLowerCase().includes(text);
36
+ if (isNameMatch || isValueMatch) {
37
+ return true;
38
+ }
39
+ }
40
+ return false;
41
+ };
42
+ exports.searchProperties = searchProperties;
43
+ const searchNodes = (nodes, text) => {
44
+ const q = text.toLowerCase();
45
+ return nodes
46
+ .filter((node) => {
47
+ var _a;
48
+ if ((_a = node.labelsSorted) === null || _a === void 0 ? void 0 : _a.some((l) => l.toLowerCase().includes(q))) {
49
+ return true;
50
+ }
51
+ return (0, exports.searchProperties)(node.properties, q);
52
+ })
53
+ .map((node) => node.id);
54
+ };
55
+ exports.searchNodes = searchNodes;
56
+ const searchRels = (rels, text) => {
57
+ const q = text.toLowerCase();
58
+ return rels
59
+ .filter((rel) => {
60
+ if (rel.type.toLowerCase().includes(q)) {
61
+ return true;
62
+ }
63
+ return (0, exports.searchProperties)(rel.properties, q);
64
+ })
65
+ .map((rel) => rel.id);
66
+ };
67
+ exports.searchRels = searchRels;
30
68
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/graph-visualization/utils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEU,QAAA,KAAK,GAAG,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAEzD,MAAM,IAAI,GAAG,CAAC,GAAa,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;AAE3C,MAAM,GAAG,GAAG,CAAC,CAAW,EAAE,CAAW,EAAE,EAAE,CAC9C,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAD3D,QAAA,GAAG,OACwD;AAEjE,MAAM,SAAS,GAAG,CACvB,GAAsB,EACtB,EAAmB,EACA,EAAE,CACrB,MAAM,CAAC,WAAW,CAChB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAC5D,CAAC;AANS,QAAA,SAAS,aAMlB"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/graph-visualization/utils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAIU,QAAA,KAAK,GAAG,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAEzD,MAAM,IAAI,GAAG,CAAC,GAAa,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;AAE3C,MAAM,GAAG,GAAG,CAAC,CAAW,EAAE,CAAW,EAAE,EAAE,CAC9C,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAD3D,QAAA,GAAG,OACwD;AAEjE,MAAM,SAAS,GAAG,CACvB,GAAsB,EACtB,EAAmB,EACA,EAAE,CACrB,MAAM,CAAC,WAAW,CAChB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAC5D,CAAC;AANS,QAAA,SAAS,aAMlB;AAEG,MAAM,gBAAgB,GAAG,CAC9B,UAAmD,EACnD,IAAY,EACH,EAAE;;IACX,KAAK,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;QAC/D,MAAM,WAAW,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,WAAW,mCAAI,EAAE,CAAC;QACzC,MAAM,YAAY,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAEtD,IAAI,WAAW,IAAI,YAAY,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAfW,QAAA,gBAAgB,oBAe3B;AAEK,MAAM,WAAW,GAAG,CAAC,KAAiB,EAAE,IAAY,EAAY,EAAE;IACvE,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IAE7B,OAAO,KAAK;SACT,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE;;QACf,IAAI,MAAA,IAAI,CAAC,YAAY,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAChE,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC,CAAC;SACD,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5B,CAAC,CAAC;AAZW,QAAA,WAAW,eAYtB;AAEK,MAAM,UAAU,GAAG,CAAC,IAAe,EAAE,IAAY,EAAY,EAAE;IACpE,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IAE7B,OAAO,IAAI;SACR,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;QACd,IAAI,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;YACvC,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAA,wBAAgB,EAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAC7C,CAAC,CAAC;SACD,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC1B,CAAC,CAAC;AAZW,QAAA,UAAU,cAYrB"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ /**
5
+ *
6
+ * Copyright (c) "Neo4j"
7
+ * Neo4j Sweden AB [http://neo4j.com]
8
+ *
9
+ * This file is part of Neo4j.
10
+ *
11
+ * Neo4j is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
+ const react_1 = require("@neo4j-ndl/react");
26
+ const icons_1 = require("@neo4j-ndl/react/icons");
27
+ const Component = () => {
28
+ return ((0, jsx_runtime_1.jsxs)(react_1.IconButtonArray, { orientation: "horizontal", size: "medium", children: [(0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.MagnifyingGlassIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.FunnelIconOutline, {}) }), (0, jsx_runtime_1.jsxs)(react_1.IconButtonArray.CollapsibleButtonWrapper, { children: [(0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "User", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.UserCircleIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Edit", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.PencilIconOutline, {}) })] })] }));
29
+ };
30
+ exports.default = Component;
31
+ //# sourceMappingURL=icon-button-array-collapsible.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-array-collapsible.story.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array-collapsible.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA+D;AAC/D,kDAKgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,wBAAC,uBAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,aACrD,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,kCAA0B,KAAG,GACnB,EACb,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,yBAAiB,KAAG,GACV,EACb,wBAAC,uBAAe,CAAC,wBAAwB,eACvC,uBAAC,kBAAU,IAAC,SAAS,EAAC,MAAM,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YACzD,uBAAC,6BAAqB,KAAG,GACd,EACb,uBAAC,kBAAU,IAAC,SAAS,EAAC,MAAM,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YACzD,uBAAC,yBAAiB,KAAG,GACV,IAC4B,IAC3B,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ /**
5
+ *
6
+ * Copyright (c) "Neo4j"
7
+ * Neo4j Sweden AB [http://neo4j.com]
8
+ *
9
+ * This file is part of Neo4j.
10
+ *
11
+ * Neo4j is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
+ const react_1 = require("@neo4j-ndl/react");
26
+ const icons_1 = require("@neo4j-ndl/react/icons");
27
+ const Component = () => {
28
+ return ((0, jsx_runtime_1.jsxs)(react_1.IconButtonArray, { orientation: "horizontal", isFloating: true, size: "medium", children: [(0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.MagnifyingGlassIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.FunnelIconOutline, {}) })] }));
29
+ };
30
+ exports.default = Component;
31
+ //# sourceMappingURL=icon-button-array-floating.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-array-floating.story.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array-floating.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA+D;AAC/D,kDAGgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,wBAAC,uBAAe,IAAC,WAAW,EAAC,YAAY,EAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAC,QAAQ,aACvE,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,kCAA0B,KAAG,GACnB,EACb,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,yBAAiB,KAAG,GACV,IACG,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ /**
5
+ *
6
+ * Copyright (c) "Neo4j"
7
+ * Neo4j Sweden AB [http://neo4j.com]
8
+ *
9
+ * This file is part of Neo4j.
10
+ *
11
+ * Neo4j is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
+ const react_1 = require("@neo4j-ndl/react");
26
+ const icons_1 = require("@neo4j-ndl/react/icons");
27
+ const Component = () => {
28
+ return ((0, jsx_runtime_1.jsxs)(react_1.IconButtonArray, { orientation: "horizontal", size: "medium", children: [(0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.MagnifyingGlassIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.FunnelIconOutline, {}) })] }));
29
+ };
30
+ exports.default = Component;
31
+ //# sourceMappingURL=icon-button-array-horizontal.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-array-horizontal.story.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array-horizontal.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA+D;AAC/D,kDAGgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,wBAAC,uBAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,aACrD,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,kCAA0B,KAAG,GACnB,EACb,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,yBAAiB,KAAG,GACV,IACG,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ /**
5
+ *
6
+ * Copyright (c) "Neo4j"
7
+ * Neo4j Sweden AB [http://neo4j.com]
8
+ *
9
+ * This file is part of Neo4j.
10
+ *
11
+ * Neo4j is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
+ const react_1 = require("@neo4j-ndl/react");
26
+ const icons_1 = require("@neo4j-ndl/react/icons");
27
+ const Component = () => {
28
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-items-start n-gap-token-6", children: [(0, jsx_runtime_1.jsxs)(react_1.IconButtonArray, { orientation: "horizontal", size: "small", children: [(0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.MagnifyingGlassIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.FunnelIconOutline, {}) })] }), (0, jsx_runtime_1.jsxs)(react_1.IconButtonArray, { orientation: "horizontal", size: "medium", children: [(0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.MagnifyingGlassIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.FunnelIconOutline, {}) })] }), (0, jsx_runtime_1.jsxs)(react_1.IconButtonArray, { orientation: "horizontal", size: "large", children: [(0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.MagnifyingGlassIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.FunnelIconOutline, {}) })] })] }));
29
+ };
30
+ exports.default = Component;
31
+ //# sourceMappingURL=icon-button-array-sizes.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-array-sizes.story.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array-sizes.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA+D;AAC/D,kDAGgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,oCAAoC,aACjD,wBAAC,uBAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,aACpD,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,kCAA0B,KAAG,GACnB,EACb,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,yBAAiB,KAAG,GACV,IACG,EAClB,wBAAC,uBAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,aACrD,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,kCAA0B,KAAG,GACnB,EACb,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,yBAAiB,KAAG,GACV,IACG,EAClB,wBAAC,uBAAe,IAAC,WAAW,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,aACpD,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,kCAA0B,KAAG,GACnB,EACb,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,yBAAiB,KAAG,GACV,IACG,IACd,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ /**
5
+ *
6
+ * Copyright (c) "Neo4j"
7
+ * Neo4j Sweden AB [http://neo4j.com]
8
+ *
9
+ * This file is part of Neo4j.
10
+ *
11
+ * Neo4j is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
+ const react_1 = require("@neo4j-ndl/react");
26
+ const icons_1 = require("@neo4j-ndl/react/icons");
27
+ const Component = () => {
28
+ return ((0, jsx_runtime_1.jsxs)(react_1.IconButtonArray, { orientation: "vertical", size: "medium", children: [(0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Search", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.MagnifyingGlassIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.IconButton, { ariaLabel: "Filter", isClean: true, isGrouped: true, children: (0, jsx_runtime_1.jsx)(icons_1.FunnelIconOutline, {}) })] }));
29
+ };
30
+ exports.default = Component;
31
+ //# sourceMappingURL=icon-button-array-vertical.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-array-vertical.story.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array-vertical.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA+D;AAC/D,kDAGgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,wBAAC,uBAAe,IAAC,WAAW,EAAC,UAAU,EAAC,IAAI,EAAC,QAAQ,aACnD,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,kCAA0B,KAAG,GACnB,EACb,uBAAC,kBAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,YAC3D,uBAAC,yBAAiB,KAAG,GACV,IACG,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,106 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ "use strict";
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ exports.Sizes = exports.Collapsiable = exports.Floating = exports.Vertical = exports.Horizontal = void 0;
25
+ const jsx_runtime_1 = require("react/jsx-runtime");
26
+ const index_1 = require("../../index");
27
+ const _1 = require("./");
28
+ const componentMeta = {
29
+ title: 'Components/Buttons/Icon Array',
30
+ id: 'components-buttons-icon-array',
31
+ component: index_1.IconButtonArray,
32
+ tags: ['docsPage'],
33
+ parameters: {
34
+ controls: { disable: true },
35
+ },
36
+ decorators: [
37
+ (Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
38
+ ],
39
+ };
40
+ exports.default = componentMeta;
41
+ exports.Horizontal = {
42
+ args: {},
43
+ render: _1.IconButtonArrayHorizontal,
44
+ parameters: {
45
+ docs: {
46
+ source: {
47
+ language: 'tsx',
48
+ type: 'code',
49
+ code: _1.IconButtonArrayHorizontalSrc,
50
+ },
51
+ },
52
+ },
53
+ };
54
+ exports.Vertical = {
55
+ args: {},
56
+ render: _1.IconButtonArrayVertical,
57
+ parameters: {
58
+ docs: {
59
+ source: {
60
+ language: 'tsx',
61
+ type: 'code',
62
+ code: _1.IconButtonArrayVerticalSrc,
63
+ },
64
+ },
65
+ },
66
+ };
67
+ exports.Floating = {
68
+ args: {},
69
+ render: _1.IconButtonArrayFloating,
70
+ parameters: {
71
+ docs: {
72
+ source: {
73
+ language: 'tsx',
74
+ type: 'code',
75
+ code: _1.IconButtonArrayFloatingSrc,
76
+ },
77
+ },
78
+ },
79
+ };
80
+ exports.Collapsiable = {
81
+ args: {},
82
+ render: _1.IconButtonArrayCollapsible,
83
+ parameters: {
84
+ docs: {
85
+ source: {
86
+ language: 'tsx',
87
+ type: 'code',
88
+ code: _1.IconButtonArrayCollapsibleSrc,
89
+ },
90
+ },
91
+ },
92
+ };
93
+ exports.Sizes = {
94
+ args: {},
95
+ render: _1.IconButtonArraySizes,
96
+ parameters: {
97
+ docs: {
98
+ source: {
99
+ language: 'tsx',
100
+ type: 'code',
101
+ code: _1.IconButtonArraySizesSrc,
102
+ },
103
+ },
104
+ },
105
+ };
106
+ //# sourceMappingURL=icon-button-array.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-array.stories.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/icon-button-array.stories.tsx"],"names":[],"mappings":";;;;AAsBA,uCAA8C;AAC9C,yBAWY;AAEZ,MAAM,aAAa,GAAiC;IAClD,KAAK,EAAE,+BAA+B;IACtC,EAAE,EAAE,+BAA+B;IACnC,SAAS,EAAE,uBAAe;IAC1B,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,gCAAK,SAAS,EAAC,yBAAyB,YACtC,uBAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,kBAAe,aAAa,CAAC;AAGhB,QAAA,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,4BAAyB;IACjC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,+BAA4B;aACnC;SACF;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,0BAAuB;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,6BAA0B;aACjC;SACF;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,0BAAuB;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,6BAA0B;aACjC;SACF;KACF;CACF,CAAC;AAEW,QAAA,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,6BAA0B;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,gCAA6B;aACpC;SACF;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,uBAAoB;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,0BAAuB;aAC9B;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,48 @@
1
+ "use strict";
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
23
+ return (mod && mod.__esModule) ? mod : { "default": mod };
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.IconButtonArraySizesSrc = exports.IconButtonArrayCollapsibleSrc = exports.IconButtonArrayFloatingSrc = exports.IconButtonArrayVerticalSrc = exports.IconButtonArrayHorizontalSrc = exports.IconButtonArraySizes = exports.IconButtonArrayCollapsible = exports.IconButtonArrayFloating = exports.IconButtonArrayVertical = exports.IconButtonArrayHorizontal = void 0;
27
+ var icon_button_array_horizontal_story_1 = require("./icon-button-array-horizontal.story");
28
+ Object.defineProperty(exports, "IconButtonArrayHorizontal", { enumerable: true, get: function () { return __importDefault(icon_button_array_horizontal_story_1).default; } });
29
+ var icon_button_array_vertical_story_1 = require("./icon-button-array-vertical.story");
30
+ Object.defineProperty(exports, "IconButtonArrayVertical", { enumerable: true, get: function () { return __importDefault(icon_button_array_vertical_story_1).default; } });
31
+ var icon_button_array_floating_story_1 = require("./icon-button-array-floating.story");
32
+ Object.defineProperty(exports, "IconButtonArrayFloating", { enumerable: true, get: function () { return __importDefault(icon_button_array_floating_story_1).default; } });
33
+ var icon_button_array_collapsible_story_1 = require("./icon-button-array-collapsible.story");
34
+ Object.defineProperty(exports, "IconButtonArrayCollapsible", { enumerable: true, get: function () { return __importDefault(icon_button_array_collapsible_story_1).default; } });
35
+ var icon_button_array_sizes_story_1 = require("./icon-button-array-sizes.story");
36
+ Object.defineProperty(exports, "IconButtonArraySizes", { enumerable: true, get: function () { return __importDefault(icon_button_array_sizes_story_1).default; } });
37
+ const export_stories_utils_1 = require("@neo4j-ndl/react/_common/export-stories-utils");
38
+ const icon_button_array_collapsible_story_raw_1 = __importDefault(require("./icon-button-array-collapsible.story?raw"));
39
+ const icon_button_array_floating_story_raw_1 = __importDefault(require("./icon-button-array-floating.story?raw"));
40
+ const icon_button_array_horizontal_story_raw_1 = __importDefault(require("./icon-button-array-horizontal.story?raw"));
41
+ const icon_button_array_sizes_story_raw_1 = __importDefault(require("./icon-button-array-sizes.story?raw"));
42
+ const icon_button_array_vertical_story_raw_1 = __importDefault(require("./icon-button-array-vertical.story?raw"));
43
+ exports.IconButtonArrayHorizontalSrc = (0, export_stories_utils_1.removeLicenseHeader)(icon_button_array_horizontal_story_raw_1.default);
44
+ exports.IconButtonArrayVerticalSrc = (0, export_stories_utils_1.removeLicenseHeader)(icon_button_array_vertical_story_raw_1.default);
45
+ exports.IconButtonArrayFloatingSrc = (0, export_stories_utils_1.removeLicenseHeader)(icon_button_array_floating_story_raw_1.default);
46
+ exports.IconButtonArrayCollapsibleSrc = (0, export_stories_utils_1.removeLicenseHeader)(icon_button_array_collapsible_story_raw_1.default);
47
+ exports.IconButtonArraySizesSrc = (0, export_stories_utils_1.removeLicenseHeader)(icon_button_array_sizes_story_raw_1.default);
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/icon-button-array/stories/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;AAEH,2FAA4F;AAAnF,gKAAA,OAAO,OAA6B;AAC7C,uFAAwF;AAA/E,4JAAA,OAAO,OAA2B;AAC3C,uFAAwF;AAA/E,4JAAA,OAAO,OAA2B;AAC3C,6FAA8F;AAArF,kKAAA,OAAO,OAA8B;AAC9C,iFAAkF;AAAzE,sJAAA,OAAO,OAAwB;AAExC,wFAAoF;AAEpF,wHAAyF;AACzF,kHAAmF;AACnF,sHAAuF;AACvF,4GAA6E;AAC7E,kHAAmF;AAEtE,QAAA,4BAA4B,GAAG,IAAA,0CAAmB,EAC7D,gDAA+B,CAChC,CAAC;AACW,QAAA,0BAA0B,GAAG,IAAA,0CAAmB,EAC3D,8CAA6B,CAC9B,CAAC;AACW,QAAA,0BAA0B,GAAG,IAAA,0CAAmB,EAC3D,8CAA6B,CAC9B,CAAC;AACW,QAAA,6BAA6B,GAAG,IAAA,0CAAmB,EAC9D,iDAAgC,CACjC,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,0CAAmB,EACxD,2CAA0B,CAC3B,CAAC"}
@@ -0,0 +1,40 @@
1
+ "use strict";
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
23
+ return (mod && mod.__esModule) ? mod : { "default": mod };
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.ModalSizesSrc = exports.ModalContainedSrc = exports.ModalDefaultSrc = exports.ModalSizes = exports.ModalContained = exports.ModalDefault = void 0;
27
+ var modal_default_story_1 = require("./modal-default.story");
28
+ Object.defineProperty(exports, "ModalDefault", { enumerable: true, get: function () { return __importDefault(modal_default_story_1).default; } });
29
+ var modal_contained_story_1 = require("./modal-contained.story");
30
+ Object.defineProperty(exports, "ModalContained", { enumerable: true, get: function () { return __importDefault(modal_contained_story_1).default; } });
31
+ var modal_sizes_story_1 = require("./modal-sizes.story");
32
+ Object.defineProperty(exports, "ModalSizes", { enumerable: true, get: function () { return __importDefault(modal_sizes_story_1).default; } });
33
+ const export_stories_utils_1 = require("@neo4j-ndl/react/_common/export-stories-utils");
34
+ const modal_contained_story_tsx_raw_1 = __importDefault(require("./modal-contained.story.tsx?raw"));
35
+ const modal_default_story_tsx_raw_1 = __importDefault(require("./modal-default.story.tsx?raw"));
36
+ const modal_sizes_story_tsx_raw_1 = __importDefault(require("./modal-sizes.story.tsx?raw"));
37
+ exports.ModalDefaultSrc = (0, export_stories_utils_1.removeLicenseHeader)(modal_default_story_tsx_raw_1.default);
38
+ exports.ModalContainedSrc = (0, export_stories_utils_1.removeLicenseHeader)(modal_contained_story_tsx_raw_1.default);
39
+ exports.ModalSizesSrc = (0, export_stories_utils_1.removeLicenseHeader)(modal_sizes_story_tsx_raw_1.default);
40
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modal/stories/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;AAEH,6DAAgE;AAAvD,oIAAA,OAAO,OAAgB;AAChC,iEAAoE;AAA3D,wIAAA,OAAO,OAAkB;AAClC,yDAA4D;AAAnD,gIAAA,OAAO,OAAc;AAE9B,wFAAoF;AAEpF,oGAAmE;AACnE,gGAA+D;AAC/D,4FAA2D;AAE9C,QAAA,eAAe,GAAG,IAAA,0CAAmB,EAAC,qCAAkB,CAAC,CAAC;AAC1D,QAAA,iBAAiB,GAAG,IAAA,0CAAmB,EAAC,uCAAoB,CAAC,CAAC;AAC9D,QAAA,aAAa,GAAG,IAAA,0CAAmB,EAAC,mCAAgB,CAAC,CAAC"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ /**
5
+ *
6
+ * Copyright (c) "Neo4j"
7
+ * Neo4j Sweden AB [http://neo4j.com]
8
+ *
9
+ * This file is part of Neo4j.
10
+ *
11
+ * Neo4j is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
+ const react_1 = require("@neo4j-ndl/react");
26
+ const react_2 = require("react");
27
+ const Component = (props) => {
28
+ const [isOpen, setIsOpen] = (0, react_2.useState)(props.isOpen);
29
+ const [stateContainer, setContainer] = (0, react_2.useState)(null);
30
+ const handleClick = () => setIsOpen((prev) => !prev);
31
+ const handleClose = () => setIsOpen(false);
32
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center", children: (0, jsx_runtime_1.jsx)(react_1.Button, { onClick: handleClick, children: "Open Modal" }) }), (0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center n-mt-2", children: (0, jsx_runtime_1.jsx)("div", { className: "n-border n-size-[400px] n-relative n-border-black n-border-solid", ref: (newRef) => setContainer(newRef), children: (0, jsx_runtime_1.jsx)("p", { children: "Relative positioned container" }) }) }), (0, jsx_runtime_1.jsx)(react_1.Modal, { container: stateContainer !== null && stateContainer !== void 0 ? stateContainer : undefined, modalProps: {
33
+ id: 'contained-modal',
34
+ className: 'n-p-token-4 n-bg-neutral-10 n-rounded-lg',
35
+ }, onClose: handleClose, isOpen: isOpen, size: "unset", children: (0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center n-items-center n-h-32", children: (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Modal Content" }) }) })] }));
36
+ };
37
+ exports.default = Component;
38
+ //# sourceMappingURL=modal-contained.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-contained.story.js","sourceRoot":"","sources":["../../../../src/modal/stories/modal-contained.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA6D;AAC7D,iCAAiC;AAEjC,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;IAC/C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAU,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5D,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAiB,IAAI,CAAC,CAAC;IACtE,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAE3C,OAAO,CACL,6DACE,gCAAK,SAAS,EAAC,yBAAyB,YACtC,uBAAC,cAAM,IAAC,OAAO,EAAE,WAAW,2BAAqB,GAC7C,EACN,gCAAK,SAAS,EAAC,gCAAgC,YAC7C,gCACE,SAAS,EAAC,kEAAkE,EAC5E,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,YAErC,0EAAoC,GAChC,GACF,EACN,uBAAC,aAAK,IACJ,SAAS,EAAE,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,SAAS,EACtC,UAAU,EAAE;oBACV,EAAE,EAAE,iBAAiB;oBACrB,SAAS,EAAE,0CAA0C;iBACtD,EACD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,EACd,IAAI,EAAC,OAAO,YAEZ,gCAAK,SAAS,EAAC,+CAA+C,YAC5D,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GACxD,GACA,IACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ /**
5
+ *
6
+ * Copyright (c) "Neo4j"
7
+ * Neo4j Sweden AB [http://neo4j.com]
8
+ *
9
+ * This file is part of Neo4j.
10
+ *
11
+ * Neo4j is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
+ const react_1 = require("@neo4j-ndl/react");
26
+ const react_2 = require("react");
27
+ const Component = (props) => {
28
+ const [isOpen, setIsOpen] = (0, react_2.useState)(props.isOpen);
29
+ const handleClick = () => setIsOpen((prev) => !prev);
30
+ const handleClose = () => setIsOpen(false);
31
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center", children: (0, jsx_runtime_1.jsx)(react_1.Button, { onClick: handleClick, children: "Open Modal" }) }), (0, jsx_runtime_1.jsx)(react_1.Modal, { modalProps: {
32
+ id: 'default-modal',
33
+ className: 'n-bg-neutral-10 n-max-w-max n-rounded-lg',
34
+ }, onClose: handleClose, isOpen: isOpen, children: (0, jsx_runtime_1.jsx)("div", { className: "n-flex n-justify-center n-items-center n-h-32", children: (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: 'code', children: "Modal Content" }) }) })] }));
35
+ };
36
+ exports.default = Component;
37
+ //# sourceMappingURL=modal-default.story.js.map