@neo4j-ndl/react 3.9.6 → 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 (344) 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-visualization/graph-visualization-buttons.js +31 -3
  66. package/lib/cjs/graph-visualization/graph-visualization-buttons.js.map +1 -1
  67. package/lib/cjs/graph-visualization/graph-visualization.js +26 -3
  68. package/lib/cjs/graph-visualization/graph-visualization.js.map +1 -1
  69. package/lib/cjs/graph-visualization/stories/graph-visualization-maximalist.story.js +1 -2
  70. package/lib/cjs/graph-visualization/stories/graph-visualization-maximalist.story.js.map +1 -1
  71. package/lib/cjs/graph-visualization/stories/graph-visualization-search.story.js +36 -0
  72. package/lib/cjs/graph-visualization/stories/graph-visualization-search.story.js.map +1 -0
  73. package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js +14 -1
  74. package/lib/cjs/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
  75. package/lib/cjs/graph-visualization/stories/index.js +5 -1
  76. package/lib/cjs/graph-visualization/stories/index.js.map +1 -1
  77. package/lib/cjs/graph-visualization/use-semi-controlled-state.js +7 -2
  78. package/lib/cjs/graph-visualization/use-semi-controlled-state.js.map +1 -1
  79. package/lib/cjs/graph-visualization/utils.js +39 -1
  80. package/lib/cjs/graph-visualization/utils.js.map +1 -1
  81. package/lib/cjs/icon-button-array/stories/icon-button-array-collapsible.story.js +31 -0
  82. package/lib/cjs/icon-button-array/stories/icon-button-array-collapsible.story.js.map +1 -0
  83. package/lib/cjs/icon-button-array/stories/icon-button-array-floating.story.js +31 -0
  84. package/lib/cjs/icon-button-array/stories/icon-button-array-floating.story.js.map +1 -0
  85. package/lib/cjs/icon-button-array/stories/icon-button-array-horizontal.story.js +31 -0
  86. package/lib/cjs/icon-button-array/stories/icon-button-array-horizontal.story.js.map +1 -0
  87. package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js +31 -0
  88. package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -0
  89. package/lib/cjs/icon-button-array/stories/icon-button-array-vertical.story.js +31 -0
  90. package/lib/cjs/icon-button-array/stories/icon-button-array-vertical.story.js.map +1 -0
  91. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js +106 -0
  92. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js.map +1 -0
  93. package/lib/cjs/icon-button-array/stories/index.js +48 -0
  94. package/lib/cjs/icon-button-array/stories/index.js.map +1 -0
  95. package/lib/cjs/modal/stories/index.js +40 -0
  96. package/lib/cjs/modal/stories/index.js.map +1 -0
  97. package/lib/cjs/modal/stories/modal-contained.story.js +38 -0
  98. package/lib/cjs/modal/stories/modal-contained.story.js.map +1 -0
  99. package/lib/cjs/modal/stories/modal-default.story.js +37 -0
  100. package/lib/cjs/modal/stories/modal-default.story.js.map +1 -0
  101. package/lib/cjs/modal/stories/modal-sizes.story.js +42 -0
  102. package/lib/cjs/modal/stories/modal-sizes.story.js.map +1 -0
  103. package/lib/cjs/modal/stories/modal.stories.js +91 -0
  104. package/lib/cjs/modal/stories/modal.stories.js.map +1 -0
  105. package/lib/cjs/tabs/stories/tabs-default.story.js +1 -1
  106. package/lib/cjs/tabs/stories/tabs-default.story.js.map +1 -1
  107. package/lib/cjs/tabs/stories/tabs-disabled.story.js +1 -1
  108. package/lib/cjs/tabs/stories/tabs-disabled.story.js.map +1 -1
  109. package/lib/cjs/tabs/stories/tabs-fill-variants.story.js +1 -1
  110. package/lib/cjs/tabs/stories/tabs-fill-variants.story.js.map +1 -1
  111. package/lib/cjs/tabs/stories/tabs-sizes.story.js +1 -1
  112. package/lib/cjs/tabs/stories/tabs-sizes.story.js.map +1 -1
  113. package/lib/cjs/tabs/stories/tabs-with-icons.story.js +1 -1
  114. package/lib/cjs/tabs/stories/tabs-with-icons.story.js.map +1 -1
  115. package/lib/cjs/tabs/stories/tabs.stories.js +1 -1
  116. package/lib/cjs/tabs/stories/tabs.stories.js.map +1 -1
  117. package/lib/cjs/tag/stories/tag-sizes.story.js +1 -1
  118. package/lib/cjs/tag/stories/tag-sizes.story.js.map +1 -1
  119. package/lib/cjs/text-area/TextArea.js +2 -2
  120. package/lib/cjs/text-area/TextArea.js.map +1 -1
  121. package/lib/cjs/text-area/stories/index.js +60 -0
  122. package/lib/cjs/text-area/stories/index.js.map +1 -0
  123. package/lib/cjs/text-area/stories/text-area-default.story.js +30 -0
  124. package/lib/cjs/text-area/stories/text-area-default.story.js.map +1 -0
  125. package/lib/cjs/text-area/stories/text-area-disabled.story.js +30 -0
  126. package/lib/cjs/text-area/stories/text-area-disabled.story.js.map +1 -0
  127. package/lib/cjs/text-area/stories/text-area-error.story.js +30 -0
  128. package/lib/cjs/text-area/stories/text-area-error.story.js.map +1 -0
  129. package/lib/cjs/text-area/stories/text-area-fluid.story.js +30 -0
  130. package/lib/cjs/text-area/stories/text-area-fluid.story.js.map +1 -0
  131. package/lib/cjs/text-area/stories/text-area-information-icon.story.js +34 -0
  132. package/lib/cjs/text-area/stories/text-area-information-icon.story.js.map +1 -0
  133. package/lib/cjs/text-area/stories/text-area-optional.story.js +30 -0
  134. package/lib/cjs/text-area/stories/text-area-optional.story.js.map +1 -0
  135. package/lib/cjs/text-area/stories/text-area-resizable-style.story.js +30 -0
  136. package/lib/cjs/text-area/stories/text-area-resizable-style.story.js.map +1 -0
  137. package/lib/cjs/text-area/stories/text-area-sizes.story.js +30 -0
  138. package/lib/cjs/text-area/stories/text-area-sizes.story.js.map +1 -0
  139. package/lib/cjs/text-area/stories/text-area.stories.js +148 -0
  140. package/lib/cjs/text-area/stories/text-area.stories.js.map +1 -0
  141. package/lib/esm/ai-presence/stories/ai-presence-default.story.js +1 -1
  142. package/lib/esm/ai-presence/stories/ai-presence-default.story.js.map +1 -1
  143. package/lib/esm/ai-presence/stories/ai-presence.stories.js +2 -0
  144. package/lib/esm/ai-presence/stories/ai-presence.stories.js.map +1 -1
  145. package/lib/esm/clipboard-copier/stories/clipboard-copier-default.story.js +28 -0
  146. package/lib/esm/clipboard-copier/stories/clipboard-copier-default.story.js.map +1 -0
  147. package/lib/esm/clipboard-copier/stories/clipboard-copier-disabled.story.js +28 -0
  148. package/lib/esm/clipboard-copier/stories/clipboard-copier-disabled.story.js.map +1 -0
  149. package/lib/esm/clipboard-copier/stories/clipboard-copier-not-clean.story.js +28 -0
  150. package/lib/esm/clipboard-copier/stories/clipboard-copier-not-clean.story.js.map +1 -0
  151. package/lib/esm/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js +28 -0
  152. package/lib/esm/clipboard-copier/stories/clipboard-copier-not-icon-button.story.js.map +1 -0
  153. package/lib/esm/clipboard-copier/stories/clipboard-copier-sizes.story.js +28 -0
  154. package/lib/esm/clipboard-copier/stories/clipboard-copier-sizes.story.js.map +1 -0
  155. package/lib/esm/clipboard-copier/stories/clipboard-copier-tooltip.story.js +36 -0
  156. package/lib/esm/clipboard-copier/stories/clipboard-copier-tooltip.story.js.map +1 -0
  157. package/lib/esm/clipboard-copier/stories/clipboard-copier.stories.js +116 -0
  158. package/lib/esm/clipboard-copier/stories/clipboard-copier.stories.js.map +1 -0
  159. package/lib/esm/clipboard-copier/stories/index.js +40 -0
  160. package/lib/esm/clipboard-copier/stories/index.js.map +1 -0
  161. package/lib/esm/color-picker/stories/color-picker-custom-swatches.story.js +26 -26
  162. package/lib/esm/color-picker/stories/color-picker-custom-swatches.story.js.map +1 -1
  163. package/lib/esm/color-picker/stories/{color-picker-full.story.js → color-picker-default.story.js} +2 -2
  164. package/lib/esm/color-picker/stories/color-picker-default.story.js.map +1 -0
  165. package/lib/esm/color-picker/stories/{color-picker-without-eye-dropper.story.js → color-picker-without-eyedropper.story.js} +2 -2
  166. package/lib/esm/color-picker/stories/color-picker-without-eyedropper.story.js.map +1 -0
  167. package/lib/esm/color-picker/stories/color-picker.stories.js +8 -7
  168. package/lib/esm/color-picker/stories/color-picker.stories.js.map +1 -1
  169. package/lib/esm/color-picker/stories/index.js +5 -5
  170. package/lib/esm/color-picker/stories/index.js.map +1 -1
  171. package/lib/esm/dialog/stories/dialog-danger.story.js +34 -0
  172. package/lib/esm/dialog/stories/dialog-danger.story.js.map +1 -0
  173. package/lib/esm/dialog/stories/dialog-default.story.js +32 -0
  174. package/lib/esm/dialog/stories/dialog-default.story.js.map +1 -0
  175. package/lib/esm/dialog/stories/dialog-image.story.js +35 -0
  176. package/lib/esm/dialog/stories/dialog-image.story.js.map +1 -0
  177. package/lib/esm/dialog/stories/dialog-info.story.js +34 -0
  178. package/lib/esm/dialog/stories/dialog-info.story.js.map +1 -0
  179. package/lib/esm/dialog/stories/dialog-top-aligned.story.js +35 -0
  180. package/lib/esm/dialog/stories/dialog-top-aligned.story.js.map +1 -0
  181. package/lib/esm/dialog/stories/dialog-types.story.js +38 -0
  182. package/lib/esm/dialog/stories/dialog-types.story.js.map +1 -0
  183. package/lib/esm/dialog/stories/dialog-warning.story.js +34 -0
  184. package/lib/esm/dialog/stories/dialog-warning.story.js.map +1 -0
  185. package/lib/esm/dialog/stories/dialog.stories.js +144 -0
  186. package/lib/esm/dialog/stories/dialog.stories.js.map +1 -0
  187. package/lib/esm/dialog/stories/index.js +43 -0
  188. package/lib/esm/dialog/stories/index.js.map +1 -0
  189. package/lib/esm/dropdown-button/stories/dropdown-button-default.story.js +28 -0
  190. package/lib/esm/dropdown-button/stories/dropdown-button-default.story.js.map +1 -0
  191. package/lib/esm/dropdown-button/stories/dropdown-button-disabled.story.js +28 -0
  192. package/lib/esm/dropdown-button/stories/dropdown-button-disabled.story.js.map +1 -0
  193. package/lib/esm/dropdown-button/stories/dropdown-button-floating.story.js +28 -0
  194. package/lib/esm/dropdown-button/stories/dropdown-button-floating.story.js.map +1 -0
  195. package/lib/esm/dropdown-button/stories/dropdown-button-with-avatar.story.js +28 -0
  196. package/lib/esm/dropdown-button/stories/dropdown-button-with-avatar.story.js.map +1 -0
  197. package/lib/esm/dropdown-button/stories/dropdown-button-with-context-menu.story.js +33 -0
  198. package/lib/esm/dropdown-button/stories/dropdown-button-with-context-menu.story.js.map +1 -0
  199. package/lib/esm/dropdown-button/stories/dropdown-button-with-status-indicator.story.js +28 -0
  200. package/lib/esm/dropdown-button/stories/dropdown-button-with-status-indicator.story.js.map +1 -0
  201. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js +116 -0
  202. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js.map +1 -0
  203. package/lib/esm/dropdown-button/stories/index.js +40 -0
  204. package/lib/esm/dropdown-button/stories/index.js.map +1 -0
  205. package/lib/esm/graph-visualization/graph-visualization-buttons.js +31 -4
  206. package/lib/esm/graph-visualization/graph-visualization-buttons.js.map +1 -1
  207. package/lib/esm/graph-visualization/graph-visualization.js +27 -4
  208. package/lib/esm/graph-visualization/graph-visualization.js.map +1 -1
  209. package/lib/esm/graph-visualization/stories/graph-visualization-maximalist.story.js +1 -2
  210. package/lib/esm/graph-visualization/stories/graph-visualization-maximalist.story.js.map +1 -1
  211. package/lib/esm/graph-visualization/stories/graph-visualization-search.story.js +34 -0
  212. package/lib/esm/graph-visualization/stories/graph-visualization-search.story.js.map +1 -0
  213. package/lib/esm/graph-visualization/stories/graph-visualization.stories.js +14 -1
  214. package/lib/esm/graph-visualization/stories/graph-visualization.stories.js.map +1 -1
  215. package/lib/esm/graph-visualization/stories/index.js +3 -0
  216. package/lib/esm/graph-visualization/stories/index.js.map +1 -1
  217. package/lib/esm/graph-visualization/use-semi-controlled-state.js +7 -2
  218. package/lib/esm/graph-visualization/use-semi-controlled-state.js.map +1 -1
  219. package/lib/esm/graph-visualization/utils.js +35 -0
  220. package/lib/esm/graph-visualization/utils.js.map +1 -1
  221. package/lib/esm/icon-button-array/stories/icon-button-array-collapsible.story.js +29 -0
  222. package/lib/esm/icon-button-array/stories/icon-button-array-collapsible.story.js.map +1 -0
  223. package/lib/esm/icon-button-array/stories/icon-button-array-floating.story.js +29 -0
  224. package/lib/esm/icon-button-array/stories/icon-button-array-floating.story.js.map +1 -0
  225. package/lib/esm/icon-button-array/stories/icon-button-array-horizontal.story.js +29 -0
  226. package/lib/esm/icon-button-array/stories/icon-button-array-horizontal.story.js.map +1 -0
  227. package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js +29 -0
  228. package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -0
  229. package/lib/esm/icon-button-array/stories/icon-button-array-vertical.story.js +29 -0
  230. package/lib/esm/icon-button-array/stories/icon-button-array-vertical.story.js.map +1 -0
  231. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js +103 -0
  232. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js.map +1 -0
  233. package/lib/esm/icon-button-array/stories/index.js +37 -0
  234. package/lib/esm/icon-button-array/stories/index.js.map +1 -0
  235. package/lib/esm/modal/stories/index.js +31 -0
  236. package/lib/esm/modal/stories/index.js.map +1 -0
  237. package/lib/esm/modal/stories/modal-contained.story.js +36 -0
  238. package/lib/esm/modal/stories/modal-contained.story.js.map +1 -0
  239. package/lib/esm/modal/stories/modal-default.story.js +35 -0
  240. package/lib/esm/modal/stories/modal-default.story.js.map +1 -0
  241. package/lib/esm/modal/stories/modal-sizes.story.js +40 -0
  242. package/lib/esm/modal/stories/modal-sizes.story.js.map +1 -0
  243. package/lib/esm/modal/stories/modal.stories.js +85 -0
  244. package/lib/esm/modal/stories/modal.stories.js.map +1 -0
  245. package/lib/esm/tabs/stories/tabs-default.story.js +2 -2
  246. package/lib/esm/tabs/stories/tabs-default.story.js.map +1 -1
  247. package/lib/esm/tabs/stories/tabs-disabled.story.js +2 -2
  248. package/lib/esm/tabs/stories/tabs-disabled.story.js.map +1 -1
  249. package/lib/esm/tabs/stories/tabs-fill-variants.story.js +1 -1
  250. package/lib/esm/tabs/stories/tabs-fill-variants.story.js.map +1 -1
  251. package/lib/esm/tabs/stories/tabs-sizes.story.js +1 -1
  252. package/lib/esm/tabs/stories/tabs-sizes.story.js.map +1 -1
  253. package/lib/esm/tabs/stories/tabs-with-icons.story.js +2 -2
  254. package/lib/esm/tabs/stories/tabs-with-icons.story.js.map +1 -1
  255. package/lib/esm/tabs/stories/tabs.stories.js +1 -1
  256. package/lib/esm/tabs/stories/tabs.stories.js.map +1 -1
  257. package/lib/esm/tag/stories/tag-sizes.story.js +1 -1
  258. package/lib/esm/tag/stories/tag-sizes.story.js.map +1 -1
  259. package/lib/esm/text-area/TextArea.js +2 -2
  260. package/lib/esm/text-area/TextArea.js.map +1 -1
  261. package/lib/esm/text-area/stories/index.js +46 -0
  262. package/lib/esm/text-area/stories/index.js.map +1 -0
  263. package/lib/esm/text-area/stories/text-area-default.story.js +28 -0
  264. package/lib/esm/text-area/stories/text-area-default.story.js.map +1 -0
  265. package/lib/esm/text-area/stories/text-area-disabled.story.js +28 -0
  266. package/lib/esm/text-area/stories/text-area-disabled.story.js.map +1 -0
  267. package/lib/esm/text-area/stories/text-area-error.story.js +28 -0
  268. package/lib/esm/text-area/stories/text-area-error.story.js.map +1 -0
  269. package/lib/esm/text-area/stories/text-area-fluid.story.js +28 -0
  270. package/lib/esm/text-area/stories/text-area-fluid.story.js.map +1 -0
  271. package/lib/esm/text-area/stories/text-area-information-icon.story.js +32 -0
  272. package/lib/esm/text-area/stories/text-area-information-icon.story.js.map +1 -0
  273. package/lib/esm/text-area/stories/text-area-optional.story.js +28 -0
  274. package/lib/esm/text-area/stories/text-area-optional.story.js.map +1 -0
  275. package/lib/esm/text-area/stories/text-area-resizable-style.story.js +28 -0
  276. package/lib/esm/text-area/stories/text-area-resizable-style.story.js.map +1 -0
  277. package/lib/esm/text-area/stories/text-area-sizes.story.js +28 -0
  278. package/lib/esm/text-area/stories/text-area-sizes.story.js.map +1 -0
  279. package/lib/esm/text-area/stories/text-area.stories.js +145 -0
  280. package/lib/esm/text-area/stories/text-area.stories.js.map +1 -0
  281. package/lib/types/ai-presence/stories/ai-presence.stories.d.ts +3 -17
  282. package/lib/types/clipboard-copier/stories/clipboard-copier-default.story.d.ts +23 -0
  283. package/lib/types/clipboard-copier/stories/clipboard-copier-disabled.story.d.ts +23 -0
  284. package/lib/types/clipboard-copier/stories/clipboard-copier-not-clean.story.d.ts +23 -0
  285. package/lib/types/clipboard-copier/stories/clipboard-copier-not-icon-button.story.d.ts +23 -0
  286. package/lib/types/clipboard-copier/stories/clipboard-copier-sizes.story.d.ts +23 -0
  287. package/lib/types/clipboard-copier/stories/clipboard-copier-tooltip.story.d.ts +23 -0
  288. package/lib/types/clipboard-copier/stories/clipboard-copier.stories.d.ts +31 -0
  289. package/lib/types/clipboard-copier/stories/index.d.ts +32 -0
  290. package/lib/types/color-picker/stories/color-picker.stories.d.ts +4 -24
  291. package/lib/types/color-picker/stories/index.d.ts +3 -3
  292. package/lib/types/dialog/stories/dialog-danger.story.d.ts +25 -0
  293. package/lib/types/dialog/stories/dialog-default.story.d.ts +25 -0
  294. package/lib/types/dialog/stories/dialog-image.story.d.ts +25 -0
  295. package/lib/types/dialog/stories/dialog-info.story.d.ts +25 -0
  296. package/lib/types/dialog/stories/dialog-top-aligned.story.d.ts +25 -0
  297. package/lib/types/dialog/stories/dialog-types.story.d.ts +25 -0
  298. package/lib/types/dialog/stories/dialog-warning.story.d.ts +25 -0
  299. package/lib/types/dialog/stories/dialog.stories.d.ts +32 -0
  300. package/lib/types/dialog/stories/index.d.ts +34 -0
  301. package/lib/types/dropdown-button/stories/dropdown-button-default.story.d.ts +23 -0
  302. package/lib/types/dropdown-button/stories/dropdown-button-disabled.story.d.ts +23 -0
  303. package/lib/types/dropdown-button/stories/dropdown-button-floating.story.d.ts +23 -0
  304. package/lib/types/dropdown-button/stories/dropdown-button-with-avatar.story.d.ts +23 -0
  305. package/lib/types/dropdown-button/stories/dropdown-button-with-context-menu.story.d.ts +23 -0
  306. package/lib/types/dropdown-button/stories/dropdown-button-with-status-indicator.story.d.ts +23 -0
  307. package/lib/types/dropdown-button/stories/dropdown-button.stories.d.ts +31 -0
  308. package/lib/types/dropdown-button/stories/index.d.ts +32 -0
  309. package/lib/types/graph-visualization/graph-visualization-buttons.d.ts +8 -0
  310. package/lib/types/graph-visualization/graph-visualization.d.ts +14 -1
  311. package/lib/types/graph-visualization/stories/graph-visualization-search.story.d.ts +22 -0
  312. package/lib/types/graph-visualization/stories/graph-visualization.stories.d.ts +1 -0
  313. package/lib/types/graph-visualization/stories/index.d.ts +2 -0
  314. package/lib/types/graph-visualization/use-semi-controlled-state.d.ts +3 -1
  315. package/lib/types/graph-visualization/utils.d.ts +6 -0
  316. package/lib/types/icon-button-array/stories/icon-button-array-collapsible.story.d.ts +23 -0
  317. package/lib/types/icon-button-array/stories/icon-button-array-floating.story.d.ts +23 -0
  318. package/lib/types/icon-button-array/stories/icon-button-array-horizontal.story.d.ts +23 -0
  319. package/lib/types/icon-button-array/stories/icon-button-array-sizes.story.d.ts +23 -0
  320. package/lib/types/icon-button-array/stories/icon-button-array-vertical.story.d.ts +23 -0
  321. package/lib/types/icon-button-array/stories/icon-button-array.stories.d.ts +30 -0
  322. package/lib/types/icon-button-array/stories/index.d.ts +30 -0
  323. package/lib/types/modal/stories/index.d.ts +26 -0
  324. package/lib/types/modal/stories/modal-contained.story.d.ts +25 -0
  325. package/lib/types/modal/stories/modal-default.story.d.ts +25 -0
  326. package/lib/types/modal/stories/modal-sizes.story.d.ts +25 -0
  327. package/lib/types/modal/stories/modal.stories.d.ts +28 -0
  328. package/lib/types/text-area/stories/index.d.ts +36 -0
  329. package/lib/types/text-area/stories/text-area-default.story.d.ts +23 -0
  330. package/lib/types/text-area/stories/text-area-disabled.story.d.ts +23 -0
  331. package/lib/types/text-area/stories/text-area-error.story.d.ts +23 -0
  332. package/lib/types/text-area/stories/text-area-fluid.story.d.ts +23 -0
  333. package/lib/types/text-area/stories/text-area-information-icon.story.d.ts +23 -0
  334. package/lib/types/text-area/stories/text-area-optional.story.d.ts +23 -0
  335. package/lib/types/text-area/stories/text-area-resizable-style.story.d.ts +23 -0
  336. package/lib/types/text-area/stories/text-area-sizes.story.d.ts +23 -0
  337. package/lib/types/text-area/stories/text-area.stories.d.ts +33 -0
  338. package/package.json +6 -2
  339. package/lib/cjs/color-picker/stories/color-picker-full.story.js.map +0 -1
  340. package/lib/cjs/color-picker/stories/color-picker-without-eye-dropper.story.js.map +0 -1
  341. package/lib/esm/color-picker/stories/color-picker-full.story.js.map +0 -1
  342. package/lib/esm/color-picker/stories/color-picker-without-eye-dropper.story.js.map +0 -1
  343. /package/lib/types/color-picker/stories/{color-picker-full.story.d.ts → color-picker-default.story.d.ts} +0 -0
  344. /package/lib/types/color-picker/stories/{color-picker-without-eye-dropper.story.d.ts → color-picker-without-eyedropper.story.d.ts} +0 -0
@@ -0,0 +1,103 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ import { jsx as _jsx } from "react/jsx-runtime";
23
+ import { IconButtonArray } from '../../index';
24
+ import { IconButtonArrayCollapsible, IconButtonArrayCollapsibleSrc, IconButtonArrayFloating, IconButtonArrayFloatingSrc, IconButtonArrayHorizontal, IconButtonArrayHorizontalSrc, IconButtonArraySizes, IconButtonArraySizesSrc, IconButtonArrayVertical, IconButtonArrayVerticalSrc, } from './';
25
+ const componentMeta = {
26
+ title: 'Components/Buttons/Icon Array',
27
+ id: 'components-buttons-icon-array',
28
+ component: IconButtonArray,
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 Horizontal = {
39
+ args: {},
40
+ render: IconButtonArrayHorizontal,
41
+ parameters: {
42
+ docs: {
43
+ source: {
44
+ language: 'tsx',
45
+ type: 'code',
46
+ code: IconButtonArrayHorizontalSrc,
47
+ },
48
+ },
49
+ },
50
+ };
51
+ export const Vertical = {
52
+ args: {},
53
+ render: IconButtonArrayVertical,
54
+ parameters: {
55
+ docs: {
56
+ source: {
57
+ language: 'tsx',
58
+ type: 'code',
59
+ code: IconButtonArrayVerticalSrc,
60
+ },
61
+ },
62
+ },
63
+ };
64
+ export const Floating = {
65
+ args: {},
66
+ render: IconButtonArrayFloating,
67
+ parameters: {
68
+ docs: {
69
+ source: {
70
+ language: 'tsx',
71
+ type: 'code',
72
+ code: IconButtonArrayFloatingSrc,
73
+ },
74
+ },
75
+ },
76
+ };
77
+ export const Collapsiable = {
78
+ args: {},
79
+ render: IconButtonArrayCollapsible,
80
+ parameters: {
81
+ docs: {
82
+ source: {
83
+ language: 'tsx',
84
+ type: 'code',
85
+ code: IconButtonArrayCollapsibleSrc,
86
+ },
87
+ },
88
+ },
89
+ };
90
+ export const Sizes = {
91
+ args: {},
92
+ render: IconButtonArraySizes,
93
+ parameters: {
94
+ docs: {
95
+ source: {
96
+ language: 'tsx',
97
+ type: 'code',
98
+ code: IconButtonArraySizesSrc,
99
+ },
100
+ },
101
+ },
102
+ };
103
+ //# 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,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,GAC3B,MAAM,IAAI,CAAC;AAEZ,MAAM,aAAa,GAAiC;IAClD,KAAK,EAAE,+BAA+B;IACtC,EAAE,EAAE,+BAA+B;IACnC,SAAS,EAAE,eAAe;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,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,yBAAyB;IACjC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,4BAA4B;aACnC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,uBAAuB;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,0BAA0B;aACjC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,uBAAuB;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,0BAA0B;aACjC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,0BAA0B;IAClC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,6BAA6B;aACpC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,oBAAoB;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,uBAAuB;aAC9B;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+ export { default as IconButtonArrayHorizontal } from './icon-button-array-horizontal.story';
22
+ export { default as IconButtonArrayVertical } from './icon-button-array-vertical.story';
23
+ export { default as IconButtonArrayFloating } from './icon-button-array-floating.story';
24
+ export { default as IconButtonArrayCollapsible } from './icon-button-array-collapsible.story';
25
+ export { default as IconButtonArraySizes } from './icon-button-array-sizes.story';
26
+ import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
27
+ import IconButtonArrayCollapsibleSrcRaw from './icon-button-array-collapsible.story?raw';
28
+ import IconButtonArrayFloatingSrcRaw from './icon-button-array-floating.story?raw';
29
+ import IconButtonArrayHorizontalSrcRaw from './icon-button-array-horizontal.story?raw';
30
+ import IconButtonArraySizesSrcRaw from './icon-button-array-sizes.story?raw';
31
+ import IconButtonArrayVerticalSrcRaw from './icon-button-array-vertical.story?raw';
32
+ export const IconButtonArrayHorizontalSrc = removeLicenseHeader(IconButtonArrayHorizontalSrcRaw);
33
+ export const IconButtonArrayVerticalSrc = removeLicenseHeader(IconButtonArrayVerticalSrcRaw);
34
+ export const IconButtonArrayFloatingSrc = removeLicenseHeader(IconButtonArrayFloatingSrcRaw);
35
+ export const IconButtonArrayCollapsibleSrc = removeLicenseHeader(IconButtonArrayCollapsibleSrcRaw);
36
+ export const IconButtonArraySizesSrc = removeLicenseHeader(IconButtonArraySizesSrcRaw);
37
+ //# 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,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAElF,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,gCAAgC,MAAM,2CAA2C,CAAC;AACzF,OAAO,6BAA6B,MAAM,wCAAwC,CAAC;AACnF,OAAO,+BAA+B,MAAM,0CAA0C,CAAC;AACvF,OAAO,0BAA0B,MAAM,qCAAqC,CAAC;AAC7E,OAAO,6BAA6B,MAAM,wCAAwC,CAAC;AAEnF,MAAM,CAAC,MAAM,4BAA4B,GAAG,mBAAmB,CAC7D,+BAA+B,CAChC,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAC3D,6BAA6B,CAC9B,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAC3D,6BAA6B,CAC9B,CAAC;AACF,MAAM,CAAC,MAAM,6BAA6B,GAAG,mBAAmB,CAC9D,gCAAgC,CACjC,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC"}
@@ -0,0 +1,31 @@
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 ModalDefault } from './modal-default.story';
22
+ export { default as ModalContained } from './modal-contained.story';
23
+ export { default as ModalSizes } from './modal-sizes.story';
24
+ import { removeLicenseHeader } from '@neo4j-ndl/react/_common/export-stories-utils';
25
+ import ModalContainedSrcRaw from './modal-contained.story.tsx?raw';
26
+ import ModalDefaultSrcRaw from './modal-default.story.tsx?raw';
27
+ import ModalSizesSrcRaw from './modal-sizes.story.tsx?raw';
28
+ export const ModalDefaultSrc = removeLicenseHeader(ModalDefaultSrcRaw);
29
+ export const ModalContainedSrc = removeLicenseHeader(ModalContainedSrcRaw);
30
+ export const ModalSizesSrc = removeLicenseHeader(ModalSizesSrcRaw);
31
+ //# 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,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,kBAAkB,MAAM,+BAA+B,CAAC;AAC/D,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAE3D,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { Button, Modal, Typography } from '@neo4j-ndl/react';
24
+ import { useState } from 'react';
25
+ const Component = (props) => {
26
+ const [isOpen, setIsOpen] = useState(props.isOpen);
27
+ const [stateContainer, setContainer] = useState(null);
28
+ const handleClick = () => setIsOpen((prev) => !prev);
29
+ const handleClose = () => setIsOpen(false);
30
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Button, { onClick: handleClick, children: "Open Modal" }) }), _jsx("div", { className: "n-flex n-justify-center n-mt-2", children: _jsx("div", { className: "n-border n-size-[400px] n-relative n-border-black n-border-solid", ref: (newRef) => setContainer(newRef), children: _jsx("p", { children: "Relative positioned container" }) }) }), _jsx(Modal, { container: stateContainer !== null && stateContainer !== void 0 ? stateContainer : undefined, modalProps: {
31
+ id: 'contained-modal',
32
+ className: 'n-p-token-4 n-bg-neutral-10 n-rounded-lg',
33
+ }, onClose: handleClose, isOpen: isOpen, size: "unset", children: _jsx("div", { className: "n-flex n-justify-center n-items-center n-h-32", children: _jsx(Typography, { variant: "body-medium", children: "Modal Content" }) }) })] }));
34
+ };
35
+ export default Component;
36
+ //# 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,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;IAC/C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5D,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAiB,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,8BACE,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,2BAAqB,GAC7C,EACN,cAAK,SAAS,EAAC,gCAAgC,YAC7C,cACE,SAAS,EAAC,kEAAkE,EAC5E,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,YAErC,wDAAoC,GAChC,GACF,EACN,KAAC,KAAK,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,cAAK,SAAS,EAAC,+CAA+C,YAC5D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GACxD,GACA,IACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { Button, Modal, Typography } from '@neo4j-ndl/react';
24
+ import { useState } from 'react';
25
+ const Component = (props) => {
26
+ const [isOpen, setIsOpen] = useState(props.isOpen);
27
+ const handleClick = () => setIsOpen((prev) => !prev);
28
+ const handleClose = () => setIsOpen(false);
29
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "n-flex n-justify-center", children: _jsx(Button, { onClick: handleClick, children: "Open Modal" }) }), _jsx(Modal, { modalProps: {
30
+ id: 'default-modal',
31
+ className: 'n-bg-neutral-10 n-max-w-max n-rounded-lg',
32
+ }, onClose: handleClose, isOpen: isOpen, children: _jsx("div", { className: "n-flex n-justify-center n-items-center n-h-32", children: _jsx(Typography, { variant: 'code', children: "Modal Content" }) }) })] }));
33
+ };
34
+ export default Component;
35
+ //# sourceMappingURL=modal-default.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-default.story.js","sourceRoot":"","sources":["../../../../src/modal/stories/modal-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;IAC/C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5D,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,8BACE,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,2BAAqB,GAC7C,EACN,KAAC,KAAK,IACJ,UAAU,EAAE;oBACV,EAAE,EAAE,eAAe;oBACnB,SAAS,EAAE,0CAA0C;iBACtD,EACD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,YAEd,cAAK,SAAS,EAAC,+CAA+C,YAC5D,KAAC,UAAU,IAAC,OAAO,EAAE,MAAM,8BAA4B,GACnD,GACA,IACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
+ import { Button, Modal, Typography } from '@neo4j-ndl/react';
24
+ import { useState } from 'react';
25
+ const SIZES = ['small', 'medium', 'large', 'unset'];
26
+ const Component = (props) => {
27
+ const [isOpen, setIsOpen] = useState(props.isOpen);
28
+ const [size, setSize] = useState('medium');
29
+ const handleClick = (size) => {
30
+ setSize(size);
31
+ setIsOpen((prev) => !prev);
32
+ };
33
+ const handleClose = () => setIsOpen(false);
34
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "n-flex n-gap-2", children: SIZES.map((size) => (_jsx(Button, { onClick: () => handleClick(size), children: `${size} size` }, size))) }), _jsx(Modal, { modalProps: {
35
+ id: 'default-modal',
36
+ className: 'n-p-token-4 n-bg-neutral-10 n-max-w-max n-rounded-lg',
37
+ }, onClose: handleClose, isOpen: isOpen, size: size, children: _jsx("div", { className: "n-flex n-justify-center n-items-center n-h-32", children: _jsx(Typography, { variant: 'code', children: "Modal Content" }) }) })] }));
38
+ };
39
+ export default Component;
40
+ //# sourceMappingURL=modal-sizes.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-sizes.story.js","sourceRoot":"","sources":["../../../../src/modal/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AAC,UAAU,IAAC,OAAO,EAAE,MAAM,8BAA4B,GACnD,GACA,IACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,85 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ import { jsx as _jsx } from "react/jsx-runtime";
23
+ import isChromatic from 'chromatic/isChromatic';
24
+ import { Modal } from '../../index';
25
+ import { ModalContained, ModalContainedSrc, ModalDefault, ModalDefaultSrc, ModalSizes, ModalSizesSrc, } from '.';
26
+ const componentMeta = {
27
+ title: 'Components/Modal',
28
+ id: 'components-modal',
29
+ component: Modal,
30
+ tags: ['docsPage'],
31
+ parameters: {
32
+ controls: { disable: true },
33
+ chromatic: { delay: 100 },
34
+ },
35
+ decorators: [
36
+ (Story) => (_jsx("div", { className: "n-flex n-flex-col n-items-center n-justify-center", children: _jsx(Story, {}) })),
37
+ ],
38
+ };
39
+ export default componentMeta;
40
+ export const Default = {
41
+ args: {
42
+ isOpen: isChromatic(),
43
+ },
44
+ render: ModalDefault,
45
+ parameters: {
46
+ docs: {
47
+ source: {
48
+ language: 'tsx',
49
+ type: 'code',
50
+ code: ModalDefaultSrc,
51
+ },
52
+ },
53
+ },
54
+ };
55
+ export const Contained = {
56
+ args: {
57
+ isOpen: isChromatic(),
58
+ },
59
+ render: ModalContained,
60
+ parameters: {
61
+ docs: {
62
+ source: {
63
+ language: 'tsx',
64
+ type: 'code',
65
+ code: ModalContainedSrc,
66
+ },
67
+ },
68
+ },
69
+ };
70
+ export const Sizes = {
71
+ args: {
72
+ isOpen: isChromatic(),
73
+ },
74
+ render: ModalSizes,
75
+ parameters: {
76
+ docs: {
77
+ source: {
78
+ language: 'tsx',
79
+ type: 'code',
80
+ code: ModalSizesSrc,
81
+ },
82
+ },
83
+ },
84
+ };
85
+ //# sourceMappingURL=modal.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.stories.js","sourceRoot":"","sources":["../../../../src/modal/stories/modal.stories.tsx"],"names":[],"mappings":";AAqBA,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,UAAU,EACV,aAAa,GACd,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAuB;IACxC,KAAK,EAAE,kBAAkB;IACzB,EAAE,EAAE,kBAAkB;IACtB,SAAS,EAAE,KAAK;IAChB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;QAC3B,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE;KAC1B;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,cAAK,SAAS,EAAC,mDAAmD,YAChE,KAAC,KAAK,KAAG,GACL,CACP;KACF;CACF,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,MAAM,EAAE,WAAW,EAAE;KACtB;IACD,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,eAAe;aACtB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE;QACJ,MAAM,EAAE,WAAW,EAAE;KACtB;IACD,MAAM,EAAE,cAAc;IACtB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,iBAAiB;aACxB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE;QACJ,MAAM,EAAE,WAAW,EAAE;KACtB;IACD,MAAM,EAAE,UAAU;IAClB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa;aACpB;SACF;KACF;CACF,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  *
4
4
  * Copyright (c) "Neo4j"
@@ -24,7 +24,7 @@ import { Tabs, Typography } from '@neo4j-ndl/react';
24
24
  import { useState } from 'react';
25
25
  const Component = () => {
26
26
  const [value, setValue] = useState(0);
27
- return (_jsxs(_Fragment, { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] }));
27
+ return (_jsxs("div", { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] }));
28
28
  };
29
29
  export default Component;
30
30
  //# sourceMappingURL=tabs-default.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-default.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAEjD,OAAO,CACL,8BACE,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,aACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB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AC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,IAC/B,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,IACZ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  *
4
4
  * Copyright (c) "Neo4j"
@@ -24,7 +24,7 @@ import { Tabs, Typography } from '@neo4j-ndl/react';
24
24
  import { useState } from 'react';
25
25
  const Component = () => {
26
26
  const [value, setValue] = useState(0);
27
- return (_jsxs(_Fragment, { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, isDisabled: true, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] }));
27
+ return (_jsxs("div", { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, isDisabled: true, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] }));
28
28
  };
29
29
  export default Component;
30
30
  //# sourceMappingURL=tabs-disabled.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-disabled.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAEjD,OAAO,CACL,8BACE,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,aACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAk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BAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,sBAEzB,IACN,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,YAC3D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,IACZ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -25,7 +25,7 @@ import { useState } from 'react';
25
25
  const Component = () => {
26
26
  const [underlineValue, setUnderlineValue] = useState(0);
27
27
  const [filledValue, setFilledValue] = useState(0);
28
- return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-8", children: [_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Underline (Default)" }), _jsxs("div", { children: [_jsxs(Tabs, { value: underlineValue, onChange: setUnderlineValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] })] }), _jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Filled" }), _jsxs("div", { children: [_jsxs(Tabs, { value: filledValue, onChange: setFilledValue, fill: "filled", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] })] })] }));
28
+ return (_jsxs("div", { className: "n-flex n-gap-token-8", children: [_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Underline (Default)" }), _jsxs("div", { children: [_jsxs(Tabs, { value: underlineValue, onChange: setUnderlineValue, children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: underlineValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] })] }), _jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Filled" }), _jsxs("div", { children: [_jsxs(Tabs, { value: filledValue, onChange: setFilledValue, fill: "filled", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Tab 1 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Tab 2 content" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: filledValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Tab 3 content" }) })] })] })] }));
29
29
  };
30
30
  export default Component;
31
31
  //# sourceMappingURL=tabs-fill-variants.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-fill-variants.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-fill-variants.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IACnE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAE7D,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,o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EAAE,CAAC,YACjE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,YACjE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,8BAA2B,GAC9C,IACZ,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -25,7 +25,7 @@ import { useState } from 'react';
25
25
  const Component = () => {
26
26
  const [smallValue, setSmallValue] = useState(0);
27
27
  const [largeValue, setLargeValue] = useState(0);
28
- return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-8", children: [_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Small Size" }), _jsxs(Tabs, { value: smallValue, onChange: setSmallValue, size: "small", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: smallValue, tabId: 0, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 1" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: smallValue, tabId: 1, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 2" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: smallValue, tabId: 2, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 3" }) })] }), _jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Large Size (Default)" }), _jsxs(Tabs, { value: largeValue, onChange: setLargeValue, size: "large", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 1" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 2" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 3" }) })] })] }));
28
+ return (_jsxs("div", { className: "n-flex n-gap-token-8", children: [_jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Small Size" }), _jsxs("div", { className: "n-w-fit", children: [_jsxs(Tabs, { value: smallValue, onChange: setSmallValue, size: "small", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-2", value: smallValue, tabId: 0, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 1" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-2", value: smallValue, tabId: 1, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 2" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-2", value: smallValue, tabId: 2, children: _jsx(Typography, { variant: "body-small", children: "Content for small tab 3" }) })] })] }), _jsxs("div", { className: "n-flex n-flex-col n-gap-token-4", children: [_jsx(Typography, { variant: "label", children: "Large Size (Default)" }), _jsxs(Tabs, { value: largeValue, onChange: setLargeValue, size: "large", children: [_jsx(Tabs.Tab, { tabId: 0, children: "Tab 1" }), _jsx(Tabs.Tab, { tabId: 1, children: "Tab 2" }), _jsx(Tabs.Tab, { tabId: 2, children: "Tab 3" })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 0, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 1" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 1, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 2" }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: largeValue, tabId: 2, children: _jsx(Typography, { variant: "body-medium", children: "Content for large tab 3" }) })] })] }));
29
29
  };
30
30
  export default Component;
31
31
  //# sourceMappingURL=tabs-sizes.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-sizes.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAC3D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAY,CAAC,CAAC,CAAC;IAE3D,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,2BAAwB,EACnD,MAAC,IAAI,IAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAC,OAAO,aAC5D,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,EACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,CAAC,sBAAkB,IAC/B,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE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runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  *
4
4
  * Copyright (c) "Neo4j"
@@ -25,7 +25,7 @@ import { CircleStackIconOutline, DatabaseAddCircleIcon, InboxArrowDownIconOutlin
25
25
  import { useState } from 'react';
26
26
  const Component = () => {
27
27
  const [value, setValue] = useState('database');
28
- return (_jsxs(_Fragment, { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: "database", "aria-label": "Database", children: _jsx(CircleStackIconOutline, {}) }), _jsx(Tabs.Tab, { tabId: "add", "aria-label": "Add database", children: _jsx(DatabaseAddCircleIcon, {}) }), _jsx(Tabs.Tab, { tabId: "inbox", "aria-label": "Inbox", children: _jsx(InboxArrowDownIconOutline, {}) })] }), _jsx(Tabs.TabPanel, { className: "n-flex n-flex-col n-gap-token-4 n-p-token-6", value: value, tabId: "database", children: _jsx(Typography, { variant: "body-medium", className: "n-text-light-neutral-text-weak", children: "Database management and operations." }) }), _jsx(Tabs.TabPanel, { className: "n-flex n-flex-col n-gap-token-4 n-p-token-6", value: value, tabId: "add", children: _jsx(Typography, { variant: "body-medium", className: "n-text-light-neutral-text-weak", children: "Add new database or connection." }) }), _jsx(Tabs.TabPanel, { className: "n-flex n-flex-col n-gap-token-4 n-p-token-6", value: value, tabId: "inbox", children: _jsx(Typography, { variant: "body-medium", className: "n-text-light-neutral-text-weak", children: "Inbox notifications and messages." }) })] }));
28
+ return (_jsxs("div", { children: [_jsxs(Tabs, { value: value, onChange: setValue, children: [_jsx(Tabs.Tab, { tabId: "database", "aria-label": "Database", children: _jsx(CircleStackIconOutline, {}) }), _jsx(Tabs.Tab, { tabId: "add", "aria-label": "Add database", children: _jsx(DatabaseAddCircleIcon, {}) }), _jsx(Tabs.Tab, { tabId: "inbox", "aria-label": "Inbox", children: _jsx(InboxArrowDownIconOutline, {}) })] }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: "database", children: _jsx(Typography, { variant: "body-medium", children: "Database management and operations." }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: "add", children: _jsx(Typography, { variant: "body-medium", children: "Add new database or connection." }) }), _jsx(Tabs.TabPanel, { className: "n-p-token-4", value: value, tabId: "inbox", children: _jsx(Typography, { variant: "body-medium", children: "Inbox notifications and messages." }) })] }));
29
29
  };
30
30
  export default Component;
31
31
  //# sourceMappingURL=tabs-with-icons.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-with-icons.story.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs-with-icons.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAY,UAAU,CAAC,CAAC;IAE1D,OAAO,CACL,8BACE,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,aACpC,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAC,UAAU,gBAAY,UAAU,YAC9C,KAAC,sBAAsB,KAAG,GACjB,EACX,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAC,KAAK,gBAAY,cAAc,YAC7C,KAAC,qBAAqB,KAAG,GAChB,EACX,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAC,OAAO,gBAAY,OAAO,YACxC,KAAC,yBAAyB,KAAG,GACpB,IACN,EACP,KAAC,IAAI,CAAC,QAAQ,IACZ,SAAS,EAAC,6CAA6C,EACvD,KAAK,EAAE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G,IAAC,KAAK,EAAC,KAAK,gBAAY,cAAc,YAC7C,KAAC,qBAAqB,KAAG,GAChB,EACX,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAC,OAAO,gBAAY,OAAO,YACxC,KAAC,yBAAyB,KAAG,GACpB,IACN,EACP,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAC,UAAU,YACnE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,oDAEpB,GACC,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAC,KAAK,YAC9D,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,gDAEpB,GACC,EAChB,KAAC,IAAI,CAAC,QAAQ,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAC,OAAO,YAChE,KAAC,UAAU,IAAC,OAAO,EAAC,aAAa,kDAEpB,GACC,IACZ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -31,7 +31,7 @@ const componentMeta = {
31
31
  controls: { disable: true },
32
32
  },
33
33
  decorators: [
34
- (Story) => (_jsx("div", { className: "n-w-1/4 n-mx-auto", children: _jsx(Story, {}) })),
34
+ (Story) => (_jsx("div", { className: "n-flex n-justify-center ", children: _jsx(Story, {}) })),
35
35
  ],
36
36
  };
37
37
  export default componentMeta;
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.stories.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,aAAa,EACb,mBAAmB,GACp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;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,mBAAmB;aAC1B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,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"}
1
+ {"version":3,"file":"tabs.stories.js","sourceRoot":"","sources":["../../../../src/tabs/stories/tabs.stories.tsx"],"names":[],"mappings":";AAuBA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,aAAa,EACb,mBAAmB,GACpB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAsB;IACvC,KAAK,EAAE,iBAAiB;IACxB,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,IAAI;IACf,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,0BAA0B,YACvC,KAAC,KAAK,KAAG,GACL,CACP;KACF;CAC0B,CAAC;AAE9B,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,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,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,gBAAgB;IACxB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,sBAAsB;aAC7B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,SAAS;IACjB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,eAAe;aACtB;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,aAAa;IACrB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,mBAAmB;aAC1B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,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"}
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
23
23
  import { Tag } from '@neo4j-ndl/react';
24
24
  const Component = () => {
25
- return (_jsxs("div", { className: "n-flex n-gap-token-6", children: [_jsx(Tag, { size: "small", children: "Small" }), _jsx(Tag, { size: "medium", children: "Medium" }), _jsx(Tag, { size: "large", children: "Large" })] }));
25
+ return (_jsxs("div", { className: "n-flex n-items-start n-gap-token-6", children: [_jsx(Tag, { size: "small", children: "Small" }), _jsx(Tag, { size: "medium", children: "Medium" }), _jsx(Tag, { size: "large", children: "Large" })] }));
26
26
  };
27
27
  export default Component;
28
28
  //# sourceMappingURL=tag-sizes.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tag-sizes.story.js","sourceRoot":"","sources":["../../../../src/tag/stories/tag-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,GAAG,IAAC,IAAI,EAAC,OAAO,sBAAY,EAC7B,KAAC,GAAG,IAAC,IAAI,EAAC,QAAQ,uBAAa,EAC/B,KAAC,GAAG,IAAC,IAAI,EAAC,OAAO,sBAAY,IACzB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"tag-sizes.story.js","sourceRoot":"","sources":["../../../../src/tag/stories/tag-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,oCAAoC,aACjD,KAAC,GAAG,IAAC,IAAI,EAAC,OAAO,sBAAY,EAC7B,KAAC,GAAG,IAAC,IAAI,EAAC,QAAQ,uBAAa,EAC/B,KAAC,GAAG,IAAC,IAAI,EAAC,OAAO,sBAAY,IACzB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}