@neo4j-ndl/react 4.25.8 → 5.0.0-alpha.0.3d763f7

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 (1176) hide show
  1. package/lib/cjs/_generated/style-rules/index.js +5 -11
  2. package/lib/cjs/_generated/style-rules/index.js.map +1 -1
  3. package/lib/cjs/_generated/style-rules/literal-guards.js +50 -0
  4. package/lib/cjs/_generated/style-rules/literal-guards.js.map +1 -0
  5. package/lib/cjs/_generated/style-rules/literal-schemas.js +6 -21
  6. package/lib/cjs/_generated/style-rules/literal-schemas.js.map +1 -1
  7. package/lib/cjs/{text-overflow/index.js → _generated/style-rules/literal-types.js} +9 -6
  8. package/lib/cjs/_generated/style-rules/literal-types.js.map +1 -0
  9. package/lib/cjs/_generated/style-rules/numeric-utils.js.map +1 -1
  10. package/lib/cjs/_generated/style-rules/range-utils.js.map +1 -1
  11. package/lib/cjs/ai/presence/stories/ai-presence-default.story.js +1 -1
  12. package/lib/cjs/ai/presence/stories/ai-presence-default.story.js.map +1 -1
  13. package/lib/cjs/ai/presence/stories/ai-presence-thinking.story.js +1 -1
  14. package/lib/cjs/ai/presence/stories/ai-presence-thinking.story.js.map +1 -1
  15. package/lib/cjs/ai/reasoning/Reasoning.js +1 -1
  16. package/lib/cjs/ai/reasoning/Reasoning.js.map +1 -1
  17. package/lib/cjs/ai/reasoning/stories/reasoning-full.story.js +1 -1
  18. package/lib/cjs/ai/reasoning/stories/reasoning-full.story.js.map +1 -1
  19. package/lib/cjs/ai/response/Response.js +1 -1
  20. package/lib/cjs/ai/response/Response.js.map +1 -1
  21. package/lib/cjs/ai/response/stories/response-full-example.story.js +3 -3
  22. package/lib/cjs/ai/response/stories/response-full-example.story.js.map +1 -1
  23. package/lib/cjs/ai/suggestion/stories/suggestion-sizes.story.js +1 -1
  24. package/lib/cjs/ai/suggestion/stories/suggestion-sizes.story.js.map +1 -1
  25. package/lib/cjs/ai/user-bubble/stories/user-bubble-and-files.story.js +1 -1
  26. package/lib/cjs/ai/user-bubble/stories/user-bubble-and-files.story.js.map +1 -1
  27. package/lib/cjs/announcement-banner/stories/announcement-banner-custom-icons.story.js +1 -1
  28. package/lib/cjs/announcement-banner/stories/announcement-banner-custom-icons.story.js.map +1 -1
  29. package/lib/cjs/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js +1 -1
  30. package/lib/cjs/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js.map +1 -1
  31. package/lib/cjs/announcement-banner/stories/announcement-banner-injected-urgent.story.js +1 -1
  32. package/lib/cjs/announcement-banner/stories/announcement-banner-injected-urgent.story.js.map +1 -1
  33. package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +1 -1
  34. package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -1
  35. package/lib/cjs/announcement-banner/stories/announcement-banner-variants.story.js +1 -1
  36. package/lib/cjs/announcement-banner/stories/announcement-banner-variants.story.js.map +1 -1
  37. package/lib/cjs/announcement-banner/stories/announcement-banner-with-page-content.story.js +1 -1
  38. package/lib/cjs/announcement-banner/stories/announcement-banner-with-page-content.story.js.map +1 -1
  39. package/lib/cjs/avatar/stories/avatar-custom-icon.story.js +1 -1
  40. package/lib/cjs/avatar/stories/avatar-custom-icon.story.js.map +1 -1
  41. package/lib/cjs/avatar/stories/avatar-shapes.story.js +1 -1
  42. package/lib/cjs/avatar/stories/avatar-shapes.story.js.map +1 -1
  43. package/lib/cjs/avatar/stories/avatar-sizes.story.js +1 -1
  44. package/lib/cjs/avatar/stories/avatar-sizes.story.js.map +1 -1
  45. package/lib/cjs/avatar/stories/avatar-statuses.story.js +1 -1
  46. package/lib/cjs/avatar/stories/avatar-statuses.story.js.map +1 -1
  47. package/lib/cjs/avatar/stories/avatar-types.story.js +1 -1
  48. package/lib/cjs/avatar/stories/avatar-types.story.js.map +1 -1
  49. package/lib/cjs/banner/stories/banner-variants.story.js +1 -1
  50. package/lib/cjs/banner/stories/banner-variants.story.js.map +1 -1
  51. package/lib/cjs/banner/stories/banner-with-icons.story.js +1 -1
  52. package/lib/cjs/banner/stories/banner-with-icons.story.js.map +1 -1
  53. package/lib/cjs/breadcrumbs/stories/breadcrumbs-header.story.js +1 -1
  54. package/lib/cjs/breadcrumbs/stories/breadcrumbs-header.story.js.map +1 -1
  55. package/lib/cjs/button/ButtonBase.js +1 -3
  56. package/lib/cjs/button/ButtonBase.js.map +1 -1
  57. package/lib/cjs/button/stories/button-sizes.story.js +1 -1
  58. package/lib/cjs/button/stories/button-sizes.story.js.map +1 -1
  59. package/lib/cjs/button/stories/button-variants.story.js +1 -1
  60. package/lib/cjs/button/stories/button-variants.story.js.map +1 -1
  61. package/lib/cjs/checkbox/stories/checkbox-full.story.js +2 -2
  62. package/lib/cjs/checkbox/stories/checkbox-full.story.js.map +1 -1
  63. package/lib/cjs/clean-icon-button/stories/clean-icon-button-keyboard-display.story.js +1 -1
  64. package/lib/cjs/clean-icon-button/stories/clean-icon-button-keyboard-display.story.js.map +1 -1
  65. package/lib/cjs/clean-icon-button/stories/clean-icon-button-sizes.story.js +1 -1
  66. package/lib/cjs/clean-icon-button/stories/clean-icon-button-sizes.story.js.map +1 -1
  67. package/lib/cjs/clean-icon-button/stories/clean-icon-button-tone.story.js +1 -1
  68. package/lib/cjs/clean-icon-button/stories/clean-icon-button-tone.story.js.map +1 -1
  69. package/lib/cjs/clipboard-button/stories/clipboard-button-sizes.story.js +1 -1
  70. package/lib/cjs/clipboard-button/stories/clipboard-button-sizes.story.js.map +1 -1
  71. package/lib/cjs/code-block/CodeBlock.js +3 -7
  72. package/lib/cjs/code-block/CodeBlock.js.map +1 -1
  73. package/lib/cjs/code-block/stories/code-disabled.story.js +2 -2
  74. package/lib/cjs/code-block/stories/code-disabled.story.js.map +1 -1
  75. package/lib/cjs/code-block/stories/code-full.story.js +2 -2
  76. package/lib/cjs/code-block/stories/code-full.story.js.map +1 -1
  77. package/lib/cjs/code-block/stories/code-languages.story.js +1 -1
  78. package/lib/cjs/code-block/stories/code-languages.story.js.map +1 -1
  79. package/lib/cjs/code-block/stories/code-with-actions.story.js +2 -2
  80. package/lib/cjs/code-block/stories/code-with-actions.story.js.map +1 -1
  81. package/lib/cjs/color-picker/ColorPicker.js +0 -3
  82. package/lib/cjs/color-picker/ColorPicker.js.map +1 -1
  83. package/lib/cjs/color-picker/stories/color-picker-dialog.story.js +1 -1
  84. package/lib/cjs/color-picker/stories/color-picker-dialog.story.js.map +1 -1
  85. package/lib/cjs/color-picker/stories/color-picker-popover.story.js +1 -1
  86. package/lib/cjs/color-picker/stories/color-picker-popover.story.js.map +1 -1
  87. package/lib/cjs/combobox/stories/combobox-action-on-select.story.js +1 -1
  88. package/lib/cjs/combobox/stories/combobox-action-on-select.story.js.map +1 -1
  89. package/lib/cjs/combobox/stories/combobox-actions.story.js +1 -1
  90. package/lib/cjs/combobox/stories/combobox-actions.story.js.map +1 -1
  91. package/lib/cjs/combobox/stories/combobox-async.story.js +2 -2
  92. package/lib/cjs/combobox/stories/combobox-async.story.js.map +1 -1
  93. package/lib/cjs/combobox/stories/combobox-disabled.story.js +1 -1
  94. package/lib/cjs/combobox/stories/combobox-disabled.story.js.map +1 -1
  95. package/lib/cjs/combobox/stories/combobox-fluid.story.js +1 -1
  96. package/lib/cjs/combobox/stories/combobox-fluid.story.js.map +1 -1
  97. package/lib/cjs/combobox/stories/combobox-hidden-label.story.js +1 -1
  98. package/lib/cjs/combobox/stories/combobox-hidden-label.story.js.map +1 -1
  99. package/lib/cjs/combobox/stories/combobox-in-popover-dialog.story.js +1 -1
  100. package/lib/cjs/combobox/stories/combobox-in-popover-dialog.story.js.map +1 -1
  101. package/lib/cjs/combobox/stories/combobox-in-popover.story.js +1 -1
  102. package/lib/cjs/combobox/stories/combobox-in-popover.story.js.map +1 -1
  103. package/lib/cjs/combobox/stories/combobox-native-form.story.js +1 -1
  104. package/lib/cjs/combobox/stories/combobox-native-form.story.js.map +1 -1
  105. package/lib/cjs/combobox/stories/combobox-sizes.story.js +1 -1
  106. package/lib/cjs/combobox/stories/combobox-sizes.story.js.map +1 -1
  107. package/lib/cjs/combobox/stories/combobox-validation.story.js +1 -1
  108. package/lib/cjs/combobox/stories/combobox-validation.story.js.map +1 -1
  109. package/lib/cjs/conditional-wrap/stories/conditional-wrap-default.story.js +1 -1
  110. package/lib/cjs/conditional-wrap/stories/conditional-wrap-default.story.js.map +1 -1
  111. package/lib/cjs/data-grid/stories/datagrid-compact-mode.story.js +1 -1
  112. package/lib/cjs/data-grid/stories/datagrid-compact-mode.story.js.map +1 -1
  113. package/lib/cjs/data-grid/stories/datagrid-component-overriding.story.js +2 -2
  114. package/lib/cjs/data-grid/stories/datagrid-component-overriding.story.js.map +1 -1
  115. package/lib/cjs/data-grid/stories/datagrid-custom-cell-with-style-rules.story.js +1 -1
  116. package/lib/cjs/data-grid/stories/datagrid-custom-cell-with-style-rules.story.js.map +1 -1
  117. package/lib/cjs/data-grid/stories/datagrid-in-dialog.story.js +2 -2
  118. package/lib/cjs/data-grid/stories/datagrid-in-dialog.story.js.map +1 -1
  119. package/lib/cjs/data-grid/stories/datagrid-keyboard-navigation.story.js +1 -1
  120. package/lib/cjs/data-grid/stories/datagrid-keyboard-navigation.story.js.map +1 -1
  121. package/lib/cjs/data-grid/stories/datagrid-kitchen-sink.story.js +1 -1
  122. package/lib/cjs/data-grid/stories/datagrid-kitchen-sink.story.js.map +1 -1
  123. package/lib/cjs/data-grid/stories/datagrid-percentage-width-columns.story.js +1 -1
  124. package/lib/cjs/data-grid/stories/datagrid-percentage-width-columns.story.js.map +1 -1
  125. package/lib/cjs/data-grid/stories/datagrid-pinned-columns.stories.js +3 -3
  126. package/lib/cjs/data-grid/stories/datagrid-pinned-columns.stories.js.map +1 -1
  127. package/lib/cjs/data-grid/stories/datagrid-placeholder-states.story.js +1 -1
  128. package/lib/cjs/data-grid/stories/datagrid-placeholder-states.story.js.map +1 -1
  129. package/lib/cjs/data-grid/stories/datagrid-resizable-column.story.js +1 -1
  130. package/lib/cjs/data-grid/stories/datagrid-resizable-column.story.js.map +1 -1
  131. package/lib/cjs/data-grid/stories/datagrid-rule-based-styling-datetime.story.js +1 -1
  132. package/lib/cjs/data-grid/stories/datagrid-rule-based-styling-datetime.story.js.map +1 -1
  133. package/lib/cjs/data-grid/stories/datagrid-rule-based-styling.story.js +1 -1
  134. package/lib/cjs/data-grid/stories/datagrid-rule-based-styling.story.js.map +1 -1
  135. package/lib/cjs/data-grid/stories/datagrid-search-and-filters.stories.js +5 -5
  136. package/lib/cjs/data-grid/stories/datagrid-search-and-filters.stories.js.map +1 -1
  137. package/lib/cjs/data-grid/stories/datagrid-simple.story.js +1 -1
  138. package/lib/cjs/data-grid/stories/datagrid-simple.story.js.map +1 -1
  139. package/lib/cjs/data-grid/stories/datagrid-single-selectable.story.js +1 -1
  140. package/lib/cjs/data-grid/stories/datagrid-single-selectable.story.js.map +1 -1
  141. package/lib/cjs/data-grid/stories/datagrid-skeleton-loading.story.js +1 -1
  142. package/lib/cjs/data-grid/stories/datagrid-skeleton-loading.story.js.map +1 -1
  143. package/lib/cjs/data-grid/stories/datagrid-sortable.story.js +1 -1
  144. package/lib/cjs/data-grid/stories/datagrid-sortable.story.js.map +1 -1
  145. package/lib/cjs/data-grid/stories/datagrid-using-editable-cells.story.js +2 -2
  146. package/lib/cjs/data-grid/stories/datagrid-using-editable-cells.story.js.map +1 -1
  147. package/lib/cjs/data-grid/stories/datagrid-virtualization.story.js +3 -3
  148. package/lib/cjs/data-grid/stories/datagrid-virtualization.story.js.map +1 -1
  149. package/lib/cjs/data-grid/style-rules/guard.js +47 -0
  150. package/lib/cjs/data-grid/style-rules/guard.js.map +1 -0
  151. package/lib/cjs/data-grid/style-rules/index.js +3 -19
  152. package/lib/cjs/data-grid/style-rules/index.js.map +1 -1
  153. package/lib/cjs/data-grid/style-rules/internal/schemas.js +213 -0
  154. package/lib/cjs/data-grid/style-rules/internal/schemas.js.map +1 -0
  155. package/lib/cjs/data-grid/style-rules/types.js +0 -205
  156. package/lib/cjs/data-grid/style-rules/types.js.map +1 -1
  157. package/lib/cjs/date-picker/DatePicker.js +8 -6
  158. package/lib/cjs/date-picker/DatePicker.js.map +1 -1
  159. package/lib/cjs/date-picker/stories/date-picker-in-dialog.story.js +1 -1
  160. package/lib/cjs/date-picker/stories/date-picker-in-dialog.story.js.map +1 -1
  161. package/lib/cjs/date-picker/stories/date-picker-in-popover-dialog.story.js +1 -1
  162. package/lib/cjs/date-picker/stories/date-picker-in-popover-dialog.story.js.map +1 -1
  163. package/lib/cjs/dialog/Dialog.js +1 -2
  164. package/lib/cjs/dialog/Dialog.js.map +1 -1
  165. package/lib/cjs/dialog/stories/dialog-danger.story.js +1 -1
  166. package/lib/cjs/dialog/stories/dialog-danger.story.js.map +1 -1
  167. package/lib/cjs/dialog/stories/dialog-default.story.js +1 -1
  168. package/lib/cjs/dialog/stories/dialog-default.story.js.map +1 -1
  169. package/lib/cjs/dialog/stories/dialog-image.story.js +1 -1
  170. package/lib/cjs/dialog/stories/dialog-image.story.js.map +1 -1
  171. package/lib/cjs/dialog/stories/dialog-info.story.js +1 -1
  172. package/lib/cjs/dialog/stories/dialog-info.story.js.map +1 -1
  173. package/lib/cjs/dialog/stories/dialog-top-aligned.story.js +2 -2
  174. package/lib/cjs/dialog/stories/dialog-top-aligned.story.js.map +1 -1
  175. package/lib/cjs/dialog/stories/dialog-variants.story.js +1 -1
  176. package/lib/cjs/dialog/stories/dialog-variants.story.js.map +1 -1
  177. package/lib/cjs/dialog/stories/dialog-warning.story.js +1 -1
  178. package/lib/cjs/dialog/stories/dialog-warning.story.js.map +1 -1
  179. package/lib/cjs/dismissible-tag/stories/dismissible-tag-colors.story.js +1 -1
  180. package/lib/cjs/dismissible-tag/stories/dismissible-tag-colors.story.js.map +1 -1
  181. package/lib/cjs/dismissible-tag/stories/dismissible-tag-sizes.story.js +1 -1
  182. package/lib/cjs/dismissible-tag/stories/dismissible-tag-sizes.story.js.map +1 -1
  183. package/lib/cjs/drawer/Drawer.js +7 -6
  184. package/lib/cjs/drawer/Drawer.js.map +1 -1
  185. package/lib/cjs/drawer/stories/drawer-full.story.js +2 -2
  186. package/lib/cjs/drawer/stories/drawer-full.story.js.map +1 -1
  187. package/lib/cjs/drawer/stories/drawer-not-closeable.story.js +2 -2
  188. package/lib/cjs/drawer/stories/drawer-not-closeable.story.js.map +1 -1
  189. package/lib/cjs/drawer/stories/drawer-overlay.story.js +1 -1
  190. package/lib/cjs/drawer/stories/drawer-overlay.story.js.map +1 -1
  191. package/lib/cjs/drawer/stories/drawer-portaled.story.js +2 -2
  192. package/lib/cjs/drawer/stories/drawer-portaled.story.js.map +1 -1
  193. package/lib/cjs/drawer/stories/drawer-push.story.js +2 -2
  194. package/lib/cjs/drawer/stories/drawer-push.story.js.map +1 -1
  195. package/lib/cjs/drawer/stories/drawer-resizable.story.js +2 -2
  196. package/lib/cjs/drawer/stories/drawer-resizable.story.js.map +1 -1
  197. package/lib/cjs/drawer/stories/drawer-right-side.story.js +2 -2
  198. package/lib/cjs/drawer/stories/drawer-right-side.story.js.map +1 -1
  199. package/lib/cjs/drawer/stories/drawer-scrollable.story.js +2 -2
  200. package/lib/cjs/drawer/stories/drawer-scrollable.story.js.map +1 -1
  201. package/lib/cjs/dropzone/stories/dropzone-full.story.js +3 -3
  202. package/lib/cjs/dropzone/stories/dropzone-full.story.js.map +1 -1
  203. package/lib/cjs/flex/stories/flex-default.story.js +1 -1
  204. package/lib/cjs/flex/stories/flex-default.story.js.map +1 -1
  205. package/lib/cjs/graph-label/stories/graph-label-color.story.js +1 -1
  206. package/lib/cjs/graph-label/stories/graph-label-color.story.js.map +1 -1
  207. package/lib/cjs/graph-label/stories/graph-label-sizes.story.js +1 -1
  208. package/lib/cjs/graph-label/stories/graph-label-sizes.story.js.map +1 -1
  209. package/lib/cjs/graph-label/stories/graph-label-types.story.js +1 -1
  210. package/lib/cjs/graph-label/stories/graph-label-types.story.js.map +1 -1
  211. package/lib/cjs/hooks/use-debounce-callback/index.js +6 -6
  212. package/lib/cjs/hooks/use-debounce-callback/index.js.map +1 -1
  213. package/lib/cjs/icon-button/stories/icon-button-sizes.story.js +1 -1
  214. package/lib/cjs/icon-button/stories/icon-button-sizes.story.js.map +1 -1
  215. package/lib/cjs/icon-button/stories/icon-button-tone.story.js +1 -1
  216. package/lib/cjs/icon-button/stories/icon-button-tone.story.js.map +1 -1
  217. package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js +1 -1
  218. package/lib/cjs/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -1
  219. package/lib/cjs/icon-button-base/IconButtonBase.js +1 -3
  220. package/lib/cjs/icon-button-base/IconButtonBase.js.map +1 -1
  221. package/lib/cjs/icons/generated/custom/index.js +3 -17
  222. package/lib/cjs/icons/generated/custom/index.js.map +1 -1
  223. package/lib/cjs/inline-edit/InlineEdit.js +3 -2
  224. package/lib/cjs/inline-edit/InlineEdit.js.map +1 -1
  225. package/lib/cjs/kbd/Kbd.js +0 -1
  226. package/lib/cjs/kbd/Kbd.js.map +1 -1
  227. package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js +1 -1
  228. package/lib/cjs/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -1
  229. package/lib/cjs/logo/stories/logo-black.story.js +1 -1
  230. package/lib/cjs/logo/stories/logo-black.story.js.map +1 -1
  231. package/lib/cjs/logo/stories/logo-default.story.js +1 -1
  232. package/lib/cjs/logo/stories/logo-default.story.js.map +1 -1
  233. package/lib/cjs/logo/stories/logo-icon.story.js +1 -1
  234. package/lib/cjs/logo/stories/logo-icon.story.js.map +1 -1
  235. package/lib/cjs/menu/Menu.js +2 -2
  236. package/lib/cjs/menu/Menu.js.map +1 -1
  237. package/lib/cjs/menu/menu-types.js.map +1 -1
  238. package/lib/cjs/menu/stories/menu-custom-items.story.js +1 -1
  239. package/lib/cjs/menu/stories/menu-custom-items.story.js.map +1 -1
  240. package/lib/cjs/menu/stories/menu-in-dialog.story.js +2 -2
  241. package/lib/cjs/menu/stories/menu-in-dialog.story.js.map +1 -1
  242. package/lib/cjs/menu/stories/menu-nested.story.js +1 -1
  243. package/lib/cjs/menu/stories/menu-nested.story.js.map +1 -1
  244. package/lib/cjs/menu/stories/menu-radio-and-normal.story.js +1 -1
  245. package/lib/cjs/menu/stories/menu-radio-and-normal.story.js.map +1 -1
  246. package/lib/cjs/menu/stories/menu-radio-items.story.js +1 -1
  247. package/lib/cjs/menu/stories/menu-radio-items.story.js.map +1 -1
  248. package/lib/cjs/menu/stories/menu-with-icon.story.js +1 -1
  249. package/lib/cjs/menu/stories/menu-with-icon.story.js.map +1 -1
  250. package/lib/cjs/next/tree-view/TreeView.js +3 -3
  251. package/lib/cjs/next/tree-view/TreeView.js.map +1 -1
  252. package/lib/cjs/next/tree-view/stories/tree-view-large.story.js +1 -1
  253. package/lib/cjs/next/tree-view/stories/tree-view-large.story.js.map +1 -1
  254. package/lib/cjs/next/tree-view/stories/tree-view-multiple-replace.story.js +1 -1
  255. package/lib/cjs/next/tree-view/stories/tree-view-multiple-replace.story.js.map +1 -1
  256. package/lib/cjs/next/tree-view/stories/tree-view-root-selection.story.js +1 -1
  257. package/lib/cjs/next/tree-view/stories/tree-view-root-selection.story.js.map +1 -1
  258. package/lib/cjs/next/tree-view/stories/tree-view-tooltip.story.js +1 -1
  259. package/lib/cjs/next/tree-view/stories/tree-view-tooltip.story.js.map +1 -1
  260. package/lib/cjs/next/tree-view/stories/tree-view-trailing.story.js +1 -1
  261. package/lib/cjs/next/tree-view/stories/tree-view-trailing.story.js.map +1 -1
  262. package/lib/cjs/next/tree-view/stories/tree-view-uncontrolled.story.js +1 -1
  263. package/lib/cjs/next/tree-view/stories/tree-view-uncontrolled.story.js.map +1 -1
  264. package/lib/cjs/popover/Popover.js +6 -6
  265. package/lib/cjs/popover/Popover.js.map +1 -1
  266. package/lib/cjs/popover/stories/popover-controlled.story.js +1 -1
  267. package/lib/cjs/popover/stories/popover-controlled.story.js.map +1 -1
  268. package/lib/cjs/popover/stories/popover-custom-offset.story.js +1 -1
  269. package/lib/cjs/popover/stories/popover-custom-offset.story.js.map +1 -1
  270. package/lib/cjs/popover/stories/popover-default.story.js +1 -1
  271. package/lib/cjs/popover/stories/popover-default.story.js.map +1 -1
  272. package/lib/cjs/popover/stories/popover-in-dialog.story.js +1 -1
  273. package/lib/cjs/popover/stories/popover-in-dialog.story.js.map +1 -1
  274. package/lib/cjs/popover/stories/popover-no-button-wrapper.story.js +1 -1
  275. package/lib/cjs/popover/stories/popover-no-button-wrapper.story.js.map +1 -1
  276. package/lib/cjs/popover/stories/popover-separate-anchor.story.js +1 -1
  277. package/lib/cjs/popover/stories/popover-separate-anchor.story.js.map +1 -1
  278. package/lib/cjs/popover/use-popover.js +7 -9
  279. package/lib/cjs/popover/use-popover.js.map +1 -1
  280. package/lib/cjs/progress-bar/stories/progress-bar-sizes.story.js +1 -1
  281. package/lib/cjs/progress-bar/stories/progress-bar-sizes.story.js.map +1 -1
  282. package/lib/cjs/radio/stories/radio-disabled.story.js +1 -1
  283. package/lib/cjs/radio/stories/radio-disabled.story.js.map +1 -1
  284. package/lib/cjs/radio/stories/radio-truncated-label.story.js +1 -1
  285. package/lib/cjs/radio/stories/radio-truncated-label.story.js.map +1 -1
  286. package/lib/cjs/read-only-tag/stories/read-only-tag-colors.story.js +1 -1
  287. package/lib/cjs/read-only-tag/stories/read-only-tag-colors.story.js.map +1 -1
  288. package/lib/cjs/read-only-tag/stories/read-only-tag-sizes.story.js +1 -1
  289. package/lib/cjs/read-only-tag/stories/read-only-tag-sizes.story.js.map +1 -1
  290. package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js +1 -1
  291. package/lib/cjs/segmented-control/stories/segmented-control-sizes.story.js.map +1 -1
  292. package/lib/cjs/select/stories/select-controlled.story.js +1 -1
  293. package/lib/cjs/select/stories/select-controlled.story.js.map +1 -1
  294. package/lib/cjs/select/stories/select-custom-label.story.js +1 -1
  295. package/lib/cjs/select/stories/select-custom-label.story.js.map +1 -1
  296. package/lib/cjs/select/stories/select-inside-dialog.story.js +1 -1
  297. package/lib/cjs/select/stories/select-inside-dialog.story.js.map +1 -1
  298. package/lib/cjs/select/stories/select-menu-positionings.story.js +1 -1
  299. package/lib/cjs/select/stories/select-menu-positionings.story.js.map +1 -1
  300. package/lib/cjs/select/stories/select-required.story.js +1 -1
  301. package/lib/cjs/select/stories/select-required.story.js.map +1 -1
  302. package/lib/cjs/select/stories/select-sizes.story.js +1 -1
  303. package/lib/cjs/select/stories/select-sizes.story.js.map +1 -1
  304. package/lib/cjs/select-icon-button/stories/select-icon-button-sizes.story.js +1 -1
  305. package/lib/cjs/select-icon-button/stories/select-icon-button-sizes.story.js.map +1 -1
  306. package/lib/cjs/select-icon-button/stories/select-icon-button-states.story.js +1 -1
  307. package/lib/cjs/select-icon-button/stories/select-icon-button-states.story.js.map +1 -1
  308. package/lib/cjs/selectable-tag/stories/selectable-tag-disabled.story.js +1 -1
  309. package/lib/cjs/selectable-tag/stories/selectable-tag-disabled.story.js.map +1 -1
  310. package/lib/cjs/selectable-tag/stories/selectable-tag-sizes.story.js +1 -1
  311. package/lib/cjs/selectable-tag/stories/selectable-tag-sizes.story.js.map +1 -1
  312. package/lib/cjs/side-navigation/SideNavigation.js.map +1 -1
  313. package/lib/cjs/side-navigation/stories/side-nav-badges.story.js +2 -2
  314. package/lib/cjs/side-navigation/stories/side-nav-badges.story.js.map +1 -1
  315. package/lib/cjs/side-navigation/stories/side-nav-compact.story.js +1 -1
  316. package/lib/cjs/side-navigation/stories/side-nav-compact.story.js.map +1 -1
  317. package/lib/cjs/side-navigation/stories/side-nav-default.story.js +1 -1
  318. package/lib/cjs/side-navigation/stories/side-nav-default.story.js.map +1 -1
  319. package/lib/cjs/side-navigation/stories/side-nav-secondary.story.js +1 -1
  320. package/lib/cjs/side-navigation/stories/side-nav-secondary.story.js.map +1 -1
  321. package/lib/cjs/skeleton/stories/skeleton-circular.story.js +1 -1
  322. package/lib/cjs/skeleton/stories/skeleton-circular.story.js.map +1 -1
  323. package/lib/cjs/skeleton/stories/skeleton-default.story.js +1 -1
  324. package/lib/cjs/skeleton/stories/skeleton-default.story.js.map +1 -1
  325. package/lib/cjs/skeleton/stories/skeleton-full-example.story.js +1 -1
  326. package/lib/cjs/skeleton/stories/skeleton-full-example.story.js.map +1 -1
  327. package/lib/cjs/skeleton/stories/skeleton-inherit-height.story.js +1 -1
  328. package/lib/cjs/skeleton/stories/skeleton-inherit-height.story.js.map +1 -1
  329. package/lib/cjs/skeleton/stories/skeleton-inherit-width.story.js +1 -1
  330. package/lib/cjs/skeleton/stories/skeleton-inherit-width.story.js.map +1 -1
  331. package/lib/cjs/slider/Slider.js +3 -3
  332. package/lib/cjs/slider/Slider.js.map +1 -1
  333. package/lib/cjs/slider/stories/slider-custom-step-length.story.js +1 -1
  334. package/lib/cjs/slider/stories/slider-custom-step-length.story.js.map +1 -1
  335. package/lib/cjs/slider/stories/slider-range.story.js +1 -1
  336. package/lib/cjs/slider/stories/slider-range.story.js.map +1 -1
  337. package/lib/cjs/slider/stories/slider-show-steps.story.js +1 -1
  338. package/lib/cjs/slider/stories/slider-show-steps.story.js.map +1 -1
  339. package/lib/cjs/slider/stories/slider-show-values.story.js +1 -1
  340. package/lib/cjs/slider/stories/slider-show-values.story.js.map +1 -1
  341. package/lib/cjs/slider/stories/slider-single-controlled.story.js +2 -2
  342. package/lib/cjs/slider/stories/slider-single-controlled.story.js.map +1 -1
  343. package/lib/cjs/slider/stories/slider-single.story.js +1 -1
  344. package/lib/cjs/slider/stories/slider-single.story.js.map +1 -1
  345. package/lib/cjs/spotlight/Spotlight.js +3 -3
  346. package/lib/cjs/spotlight/Spotlight.js.map +1 -1
  347. package/lib/cjs/spotlight/SpotlightTarget.js +3 -3
  348. package/lib/cjs/spotlight/SpotlightTarget.js.map +1 -1
  349. package/lib/cjs/spotlight/stories/spotlight-fixed-positioning.story.js +1 -1
  350. package/lib/cjs/spotlight/stories/spotlight-fixed-positioning.story.js.map +1 -1
  351. package/lib/cjs/spotlight/stories/spotlight-in-dialog.story.js +1 -1
  352. package/lib/cjs/spotlight/stories/spotlight-in-dialog.story.js.map +1 -1
  353. package/lib/cjs/spotlight/stories/spotlight-in-side-nav.story.js +1 -1
  354. package/lib/cjs/spotlight/stories/spotlight-in-side-nav.story.js.map +1 -1
  355. package/lib/cjs/spotlight/stories/spotlight-on-tabs.story.js +1 -1
  356. package/lib/cjs/spotlight/stories/spotlight-on-tabs.story.js.map +1 -1
  357. package/lib/cjs/spotlight/stories/spotlight-tour.story.js +1 -1
  358. package/lib/cjs/spotlight/stories/spotlight-tour.story.js.map +1 -1
  359. package/lib/cjs/spotlight/stories/spotlight-with-icon.story.js +1 -1
  360. package/lib/cjs/spotlight/stories/spotlight-with-icon.story.js.map +1 -1
  361. package/lib/cjs/spotlight/stories/spotlight-with-image.story.js +1 -1
  362. package/lib/cjs/spotlight/stories/spotlight-with-image.story.js.map +1 -1
  363. package/lib/cjs/spotlight/stories/spotlight-with-label.story.js +1 -1
  364. package/lib/cjs/spotlight/stories/spotlight-with-label.story.js.map +1 -1
  365. package/lib/cjs/spotlight/stories/spotlight-with-pointer.story.js +1 -1
  366. package/lib/cjs/spotlight/stories/spotlight-with-pointer.story.js.map +1 -1
  367. package/lib/cjs/spotlight/use-spotlight.js +5 -5
  368. package/lib/cjs/spotlight/use-spotlight.js.map +1 -1
  369. package/lib/cjs/status-indicator/stories/status-indicator-variants.story.js +1 -1
  370. package/lib/cjs/status-indicator/stories/status-indicator-variants.story.js.map +1 -1
  371. package/lib/cjs/status-label/stories/status-label-colors.story.js +1 -1
  372. package/lib/cjs/status-label/stories/status-label-colors.story.js.map +1 -1
  373. package/lib/cjs/status-label/stories/status-label-fills.story.js +1 -1
  374. package/lib/cjs/status-label/stories/status-label-fills.story.js.map +1 -1
  375. package/lib/cjs/status-label/stories/status-label-with-icons.story.js +1 -1
  376. package/lib/cjs/status-label/stories/status-label-with-icons.story.js.map +1 -1
  377. package/lib/cjs/tabs/Tabs.js +2 -2
  378. package/lib/cjs/tabs/Tabs.js.map +1 -1
  379. package/lib/cjs/tabs/stories/tabs-badge.story.js +1 -1
  380. package/lib/cjs/tabs/stories/tabs-badge.story.js.map +1 -1
  381. package/lib/cjs/tabs/stories/tabs-default.story.js +1 -1
  382. package/lib/cjs/tabs/stories/tabs-default.story.js.map +1 -1
  383. package/lib/cjs/tabs/stories/tabs-disabled.story.js +1 -1
  384. package/lib/cjs/tabs/stories/tabs-disabled.story.js.map +1 -1
  385. package/lib/cjs/tabs/stories/tabs-fill-variants.story.js +1 -1
  386. package/lib/cjs/tabs/stories/tabs-fill-variants.story.js.map +1 -1
  387. package/lib/cjs/tabs/stories/tabs-overflow.story.js +1 -1
  388. package/lib/cjs/tabs/stories/tabs-overflow.story.js.map +1 -1
  389. package/lib/cjs/tabs/stories/tabs-sizes.story.js +1 -1
  390. package/lib/cjs/tabs/stories/tabs-sizes.story.js.map +1 -1
  391. package/lib/cjs/tabs/stories/tabs-with-icons.story.js +1 -1
  392. package/lib/cjs/tabs/stories/tabs-with-icons.story.js.map +1 -1
  393. package/lib/cjs/tag/stories/tag-sizes.story.js +1 -1
  394. package/lib/cjs/tag/stories/tag-sizes.story.js.map +1 -1
  395. package/lib/cjs/tag/stories/tag-types.story.js +1 -1
  396. package/lib/cjs/tag/stories/tag-types.story.js.map +1 -1
  397. package/lib/cjs/tag-base/stories/tag-variants.story.js +1 -1
  398. package/lib/cjs/tag-base/stories/tag-variants.story.js.map +1 -1
  399. package/lib/cjs/text-area/stories/text-area-sizes.story.js +1 -1
  400. package/lib/cjs/text-area/stories/text-area-sizes.story.js.map +1 -1
  401. package/lib/cjs/text-input/TextInput.js.map +1 -1
  402. package/lib/cjs/text-input/stories/text-input-loading-spinner.story.js +1 -1
  403. package/lib/cjs/text-input/stories/text-input-loading-spinner.story.js.map +1 -1
  404. package/lib/cjs/text-input/stories/text-input-optional.story.js +1 -1
  405. package/lib/cjs/text-input/stories/text-input-optional.story.js.map +1 -1
  406. package/lib/cjs/text-input/stories/text-input-sizes.story.js +1 -1
  407. package/lib/cjs/text-input/stories/text-input-sizes.story.js.map +1 -1
  408. package/lib/cjs/text-link/TextLink.js +2 -6
  409. package/lib/cjs/text-link/TextLink.js.map +1 -1
  410. package/lib/cjs/text-link/stories/index.js +5 -17
  411. package/lib/cjs/text-link/stories/index.js.map +1 -1
  412. package/lib/cjs/text-link/stories/text-link-external.story.js +1 -1
  413. package/lib/cjs/text-link/stories/text-link-external.story.js.map +1 -1
  414. package/lib/cjs/text-link/stories/{text-link-internal-underline.story.js → text-link-internal.story.js} +2 -2
  415. package/lib/cjs/text-link/stories/text-link-internal.story.js.map +1 -0
  416. package/lib/cjs/time-picker/stories/time-picker-in-popover-dialog.story.js +1 -1
  417. package/lib/cjs/time-picker/stories/time-picker-in-popover-dialog.story.js.map +1 -1
  418. package/lib/cjs/timezone-picker/stories/timezone-picker-in-dialog.story.js +1 -1
  419. package/lib/cjs/timezone-picker/stories/timezone-picker-in-dialog.story.js.map +1 -1
  420. package/lib/cjs/timezone-picker/stories/timezone-picker-in-popover-dialog.story.js +1 -1
  421. package/lib/cjs/timezone-picker/stories/timezone-picker-in-popover-dialog.story.js.map +1 -1
  422. package/lib/cjs/toast/stories/toast-action-story.js +1 -1
  423. package/lib/cjs/toast/stories/toast-action-story.js.map +1 -1
  424. package/lib/cjs/toast/stories/toast-closeable-story.js +1 -1
  425. package/lib/cjs/toast/stories/toast-closeable-story.js.map +1 -1
  426. package/lib/cjs/toast/stories/toast-controlled-story.js +1 -1
  427. package/lib/cjs/toast/stories/toast-controlled-story.js.map +1 -1
  428. package/lib/cjs/toast/stories/toast-custom-story.js +1 -1
  429. package/lib/cjs/toast/stories/toast-custom-story.js.map +1 -1
  430. package/lib/cjs/toast/stories/toast-danger-story.js +1 -1
  431. package/lib/cjs/toast/stories/toast-danger-story.js.map +1 -1
  432. package/lib/cjs/toast/stories/toast-neutral-story.js +1 -1
  433. package/lib/cjs/toast/stories/toast-neutral-story.js.map +1 -1
  434. package/lib/cjs/toast/stories/toast-progress-bar.js +1 -1
  435. package/lib/cjs/toast/stories/toast-progress-bar.js.map +1 -1
  436. package/lib/cjs/toast/stories/toast-success-story.js +1 -1
  437. package/lib/cjs/toast/stories/toast-success-story.js.map +1 -1
  438. package/lib/cjs/tooltip/Tooltip.js.map +1 -1
  439. package/lib/cjs/tooltip/stories/tooltip-in-dialog.story.js +1 -1
  440. package/lib/cjs/tooltip/stories/tooltip-in-dialog.story.js.map +1 -1
  441. package/lib/cjs/tooltip/stories/tooltip-placements.story.js +1 -1
  442. package/lib/cjs/tooltip/stories/tooltip-placements.story.js.map +1 -1
  443. package/lib/cjs/tooltip/use-tooltip.js.map +1 -1
  444. package/lib/cjs/tree-view/TreeView.js +3 -0
  445. package/lib/cjs/tree-view/TreeView.js.map +1 -1
  446. package/lib/cjs/tree-view/TreeViewItem.js.map +1 -1
  447. package/lib/cjs/tree-view/stories/treeview-custom.story.js +2 -2
  448. package/lib/cjs/tree-view/stories/treeview-custom.story.js.map +1 -1
  449. package/lib/cjs/tree-view/tree-view-utils.js.map +1 -1
  450. package/lib/cjs/typography/Typography.js +7 -1
  451. package/lib/cjs/typography/Typography.js.map +1 -1
  452. package/lib/esm/_generated/style-rules/index.js +1 -1
  453. package/lib/esm/_generated/style-rules/index.js.map +1 -1
  454. package/lib/esm/_generated/style-rules/literal-guards.js +45 -0
  455. package/lib/esm/_generated/style-rules/literal-guards.js.map +1 -0
  456. package/lib/esm/_generated/style-rules/literal-schemas.js +6 -18
  457. package/lib/esm/_generated/style-rules/literal-schemas.js.map +1 -1
  458. package/lib/esm/{text-overflow/index.js → _generated/style-rules/literal-types.js} +8 -2
  459. package/lib/esm/_generated/style-rules/literal-types.js.map +1 -0
  460. package/lib/esm/_generated/style-rules/numeric-utils.js.map +1 -1
  461. package/lib/esm/_generated/style-rules/range-utils.js.map +1 -1
  462. package/lib/esm/ai/presence/stories/ai-presence-default.story.js +1 -1
  463. package/lib/esm/ai/presence/stories/ai-presence-default.story.js.map +1 -1
  464. package/lib/esm/ai/presence/stories/ai-presence-thinking.story.js +1 -1
  465. package/lib/esm/ai/presence/stories/ai-presence-thinking.story.js.map +1 -1
  466. package/lib/esm/ai/reasoning/Reasoning.js +1 -1
  467. package/lib/esm/ai/reasoning/Reasoning.js.map +1 -1
  468. package/lib/esm/ai/reasoning/stories/reasoning-full.story.js +1 -1
  469. package/lib/esm/ai/reasoning/stories/reasoning-full.story.js.map +1 -1
  470. package/lib/esm/ai/response/Response.js +1 -1
  471. package/lib/esm/ai/response/Response.js.map +1 -1
  472. package/lib/esm/ai/response/stories/response-full-example.story.js +3 -3
  473. package/lib/esm/ai/response/stories/response-full-example.story.js.map +1 -1
  474. package/lib/esm/ai/suggestion/stories/suggestion-sizes.story.js +1 -1
  475. package/lib/esm/ai/suggestion/stories/suggestion-sizes.story.js.map +1 -1
  476. package/lib/esm/ai/user-bubble/stories/user-bubble-and-files.story.js +1 -1
  477. package/lib/esm/ai/user-bubble/stories/user-bubble-and-files.story.js.map +1 -1
  478. package/lib/esm/announcement-banner/stories/announcement-banner-custom-icons.story.js +1 -1
  479. package/lib/esm/announcement-banner/stories/announcement-banner-custom-icons.story.js.map +1 -1
  480. package/lib/esm/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js +1 -1
  481. package/lib/esm/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js.map +1 -1
  482. package/lib/esm/announcement-banner/stories/announcement-banner-injected-urgent.story.js +1 -1
  483. package/lib/esm/announcement-banner/stories/announcement-banner-injected-urgent.story.js.map +1 -1
  484. package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +1 -1
  485. package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -1
  486. package/lib/esm/announcement-banner/stories/announcement-banner-variants.story.js +1 -1
  487. package/lib/esm/announcement-banner/stories/announcement-banner-variants.story.js.map +1 -1
  488. package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js +1 -1
  489. package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js.map +1 -1
  490. package/lib/esm/avatar/stories/avatar-custom-icon.story.js +1 -1
  491. package/lib/esm/avatar/stories/avatar-custom-icon.story.js.map +1 -1
  492. package/lib/esm/avatar/stories/avatar-shapes.story.js +1 -1
  493. package/lib/esm/avatar/stories/avatar-shapes.story.js.map +1 -1
  494. package/lib/esm/avatar/stories/avatar-sizes.story.js +1 -1
  495. package/lib/esm/avatar/stories/avatar-sizes.story.js.map +1 -1
  496. package/lib/esm/avatar/stories/avatar-statuses.story.js +1 -1
  497. package/lib/esm/avatar/stories/avatar-statuses.story.js.map +1 -1
  498. package/lib/esm/avatar/stories/avatar-types.story.js +1 -1
  499. package/lib/esm/avatar/stories/avatar-types.story.js.map +1 -1
  500. package/lib/esm/banner/stories/banner-variants.story.js +1 -1
  501. package/lib/esm/banner/stories/banner-variants.story.js.map +1 -1
  502. package/lib/esm/banner/stories/banner-with-icons.story.js +1 -1
  503. package/lib/esm/banner/stories/banner-with-icons.story.js.map +1 -1
  504. package/lib/esm/breadcrumbs/stories/breadcrumbs-header.story.js +1 -1
  505. package/lib/esm/breadcrumbs/stories/breadcrumbs-header.story.js.map +1 -1
  506. package/lib/esm/button/ButtonBase.js +1 -3
  507. package/lib/esm/button/ButtonBase.js.map +1 -1
  508. package/lib/esm/button/stories/button-sizes.story.js +1 -1
  509. package/lib/esm/button/stories/button-sizes.story.js.map +1 -1
  510. package/lib/esm/button/stories/button-variants.story.js +1 -1
  511. package/lib/esm/button/stories/button-variants.story.js.map +1 -1
  512. package/lib/esm/checkbox/stories/checkbox-full.story.js +2 -2
  513. package/lib/esm/checkbox/stories/checkbox-full.story.js.map +1 -1
  514. package/lib/esm/clean-icon-button/stories/clean-icon-button-keyboard-display.story.js +1 -1
  515. package/lib/esm/clean-icon-button/stories/clean-icon-button-keyboard-display.story.js.map +1 -1
  516. package/lib/esm/clean-icon-button/stories/clean-icon-button-sizes.story.js +1 -1
  517. package/lib/esm/clean-icon-button/stories/clean-icon-button-sizes.story.js.map +1 -1
  518. package/lib/esm/clean-icon-button/stories/clean-icon-button-tone.story.js +1 -1
  519. package/lib/esm/clean-icon-button/stories/clean-icon-button-tone.story.js.map +1 -1
  520. package/lib/esm/clipboard-button/stories/clipboard-button-sizes.story.js +1 -1
  521. package/lib/esm/clipboard-button/stories/clipboard-button-sizes.story.js.map +1 -1
  522. package/lib/esm/code-block/CodeBlock.js +3 -7
  523. package/lib/esm/code-block/CodeBlock.js.map +1 -1
  524. package/lib/esm/code-block/stories/code-disabled.story.js +2 -2
  525. package/lib/esm/code-block/stories/code-disabled.story.js.map +1 -1
  526. package/lib/esm/code-block/stories/code-full.story.js +2 -2
  527. package/lib/esm/code-block/stories/code-full.story.js.map +1 -1
  528. package/lib/esm/code-block/stories/code-languages.story.js +1 -1
  529. package/lib/esm/code-block/stories/code-languages.story.js.map +1 -1
  530. package/lib/esm/code-block/stories/code-with-actions.story.js +2 -2
  531. package/lib/esm/code-block/stories/code-with-actions.story.js.map +1 -1
  532. package/lib/esm/color-picker/ColorPicker.js +0 -3
  533. package/lib/esm/color-picker/ColorPicker.js.map +1 -1
  534. package/lib/esm/color-picker/stories/color-picker-dialog.story.js +1 -1
  535. package/lib/esm/color-picker/stories/color-picker-dialog.story.js.map +1 -1
  536. package/lib/esm/color-picker/stories/color-picker-popover.story.js +1 -1
  537. package/lib/esm/color-picker/stories/color-picker-popover.story.js.map +1 -1
  538. package/lib/esm/combobox/stories/combobox-action-on-select.story.js +1 -1
  539. package/lib/esm/combobox/stories/combobox-action-on-select.story.js.map +1 -1
  540. package/lib/esm/combobox/stories/combobox-actions.story.js +1 -1
  541. package/lib/esm/combobox/stories/combobox-actions.story.js.map +1 -1
  542. package/lib/esm/combobox/stories/combobox-async.story.js +2 -2
  543. package/lib/esm/combobox/stories/combobox-async.story.js.map +1 -1
  544. package/lib/esm/combobox/stories/combobox-disabled.story.js +1 -1
  545. package/lib/esm/combobox/stories/combobox-disabled.story.js.map +1 -1
  546. package/lib/esm/combobox/stories/combobox-fluid.story.js +1 -1
  547. package/lib/esm/combobox/stories/combobox-fluid.story.js.map +1 -1
  548. package/lib/esm/combobox/stories/combobox-hidden-label.story.js +1 -1
  549. package/lib/esm/combobox/stories/combobox-hidden-label.story.js.map +1 -1
  550. package/lib/esm/combobox/stories/combobox-in-popover-dialog.story.js +1 -1
  551. package/lib/esm/combobox/stories/combobox-in-popover-dialog.story.js.map +1 -1
  552. package/lib/esm/combobox/stories/combobox-in-popover.story.js +1 -1
  553. package/lib/esm/combobox/stories/combobox-in-popover.story.js.map +1 -1
  554. package/lib/esm/combobox/stories/combobox-native-form.story.js +1 -1
  555. package/lib/esm/combobox/stories/combobox-native-form.story.js.map +1 -1
  556. package/lib/esm/combobox/stories/combobox-sizes.story.js +1 -1
  557. package/lib/esm/combobox/stories/combobox-sizes.story.js.map +1 -1
  558. package/lib/esm/combobox/stories/combobox-validation.story.js +1 -1
  559. package/lib/esm/combobox/stories/combobox-validation.story.js.map +1 -1
  560. package/lib/esm/conditional-wrap/stories/conditional-wrap-default.story.js +1 -1
  561. package/lib/esm/conditional-wrap/stories/conditional-wrap-default.story.js.map +1 -1
  562. package/lib/esm/data-grid/stories/datagrid-compact-mode.story.js +1 -1
  563. package/lib/esm/data-grid/stories/datagrid-compact-mode.story.js.map +1 -1
  564. package/lib/esm/data-grid/stories/datagrid-component-overriding.story.js +2 -2
  565. package/lib/esm/data-grid/stories/datagrid-component-overriding.story.js.map +1 -1
  566. package/lib/esm/data-grid/stories/datagrid-custom-cell-with-style-rules.story.js +1 -1
  567. package/lib/esm/data-grid/stories/datagrid-custom-cell-with-style-rules.story.js.map +1 -1
  568. package/lib/esm/data-grid/stories/datagrid-in-dialog.story.js +2 -2
  569. package/lib/esm/data-grid/stories/datagrid-in-dialog.story.js.map +1 -1
  570. package/lib/esm/data-grid/stories/datagrid-keyboard-navigation.story.js +1 -1
  571. package/lib/esm/data-grid/stories/datagrid-keyboard-navigation.story.js.map +1 -1
  572. package/lib/esm/data-grid/stories/datagrid-kitchen-sink.story.js +1 -1
  573. package/lib/esm/data-grid/stories/datagrid-kitchen-sink.story.js.map +1 -1
  574. package/lib/esm/data-grid/stories/datagrid-percentage-width-columns.story.js +1 -1
  575. package/lib/esm/data-grid/stories/datagrid-percentage-width-columns.story.js.map +1 -1
  576. package/lib/esm/data-grid/stories/datagrid-pinned-columns.stories.js +3 -3
  577. package/lib/esm/data-grid/stories/datagrid-pinned-columns.stories.js.map +1 -1
  578. package/lib/esm/data-grid/stories/datagrid-placeholder-states.story.js +1 -1
  579. package/lib/esm/data-grid/stories/datagrid-placeholder-states.story.js.map +1 -1
  580. package/lib/esm/data-grid/stories/datagrid-resizable-column.story.js +1 -1
  581. package/lib/esm/data-grid/stories/datagrid-resizable-column.story.js.map +1 -1
  582. package/lib/esm/data-grid/stories/datagrid-rule-based-styling-datetime.story.js +1 -1
  583. package/lib/esm/data-grid/stories/datagrid-rule-based-styling-datetime.story.js.map +1 -1
  584. package/lib/esm/data-grid/stories/datagrid-rule-based-styling.story.js +1 -1
  585. package/lib/esm/data-grid/stories/datagrid-rule-based-styling.story.js.map +1 -1
  586. package/lib/esm/data-grid/stories/datagrid-search-and-filters.stories.js +5 -5
  587. package/lib/esm/data-grid/stories/datagrid-search-and-filters.stories.js.map +1 -1
  588. package/lib/esm/data-grid/stories/datagrid-simple.story.js +1 -1
  589. package/lib/esm/data-grid/stories/datagrid-simple.story.js.map +1 -1
  590. package/lib/esm/data-grid/stories/datagrid-single-selectable.story.js +1 -1
  591. package/lib/esm/data-grid/stories/datagrid-single-selectable.story.js.map +1 -1
  592. package/lib/esm/data-grid/stories/datagrid-skeleton-loading.story.js +1 -1
  593. package/lib/esm/data-grid/stories/datagrid-skeleton-loading.story.js.map +1 -1
  594. package/lib/esm/data-grid/stories/datagrid-sortable.story.js +1 -1
  595. package/lib/esm/data-grid/stories/datagrid-sortable.story.js.map +1 -1
  596. package/lib/esm/data-grid/stories/datagrid-using-editable-cells.story.js +2 -2
  597. package/lib/esm/data-grid/stories/datagrid-using-editable-cells.story.js.map +1 -1
  598. package/lib/esm/data-grid/stories/datagrid-virtualization.story.js +3 -3
  599. package/lib/esm/data-grid/stories/datagrid-virtualization.story.js.map +1 -1
  600. package/lib/esm/data-grid/style-rules/guard.js +43 -0
  601. package/lib/esm/data-grid/style-rules/guard.js.map +1 -0
  602. package/lib/esm/data-grid/style-rules/index.js +1 -3
  603. package/lib/esm/data-grid/style-rules/index.js.map +1 -1
  604. package/lib/esm/data-grid/style-rules/internal/schemas.js +210 -0
  605. package/lib/esm/data-grid/style-rules/internal/schemas.js.map +1 -0
  606. package/lib/esm/data-grid/style-rules/types.js +1 -203
  607. package/lib/esm/data-grid/style-rules/types.js.map +1 -1
  608. package/lib/esm/date-picker/DatePicker.js +8 -6
  609. package/lib/esm/date-picker/DatePicker.js.map +1 -1
  610. package/lib/esm/date-picker/stories/date-picker-in-dialog.story.js +1 -1
  611. package/lib/esm/date-picker/stories/date-picker-in-dialog.story.js.map +1 -1
  612. package/lib/esm/date-picker/stories/date-picker-in-popover-dialog.story.js +1 -1
  613. package/lib/esm/date-picker/stories/date-picker-in-popover-dialog.story.js.map +1 -1
  614. package/lib/esm/dialog/Dialog.js +1 -2
  615. package/lib/esm/dialog/Dialog.js.map +1 -1
  616. package/lib/esm/dialog/stories/dialog-danger.story.js +1 -1
  617. package/lib/esm/dialog/stories/dialog-danger.story.js.map +1 -1
  618. package/lib/esm/dialog/stories/dialog-default.story.js +1 -1
  619. package/lib/esm/dialog/stories/dialog-default.story.js.map +1 -1
  620. package/lib/esm/dialog/stories/dialog-image.story.js +1 -1
  621. package/lib/esm/dialog/stories/dialog-image.story.js.map +1 -1
  622. package/lib/esm/dialog/stories/dialog-info.story.js +1 -1
  623. package/lib/esm/dialog/stories/dialog-info.story.js.map +1 -1
  624. package/lib/esm/dialog/stories/dialog-top-aligned.story.js +2 -2
  625. package/lib/esm/dialog/stories/dialog-top-aligned.story.js.map +1 -1
  626. package/lib/esm/dialog/stories/dialog-variants.story.js +1 -1
  627. package/lib/esm/dialog/stories/dialog-variants.story.js.map +1 -1
  628. package/lib/esm/dialog/stories/dialog-warning.story.js +1 -1
  629. package/lib/esm/dialog/stories/dialog-warning.story.js.map +1 -1
  630. package/lib/esm/dismissible-tag/stories/dismissible-tag-colors.story.js +1 -1
  631. package/lib/esm/dismissible-tag/stories/dismissible-tag-colors.story.js.map +1 -1
  632. package/lib/esm/dismissible-tag/stories/dismissible-tag-sizes.story.js +1 -1
  633. package/lib/esm/dismissible-tag/stories/dismissible-tag-sizes.story.js.map +1 -1
  634. package/lib/esm/drawer/Drawer.js +7 -6
  635. package/lib/esm/drawer/Drawer.js.map +1 -1
  636. package/lib/esm/drawer/stories/drawer-full.story.js +2 -2
  637. package/lib/esm/drawer/stories/drawer-full.story.js.map +1 -1
  638. package/lib/esm/drawer/stories/drawer-not-closeable.story.js +2 -2
  639. package/lib/esm/drawer/stories/drawer-not-closeable.story.js.map +1 -1
  640. package/lib/esm/drawer/stories/drawer-overlay.story.js +1 -1
  641. package/lib/esm/drawer/stories/drawer-overlay.story.js.map +1 -1
  642. package/lib/esm/drawer/stories/drawer-portaled.story.js +2 -2
  643. package/lib/esm/drawer/stories/drawer-portaled.story.js.map +1 -1
  644. package/lib/esm/drawer/stories/drawer-push.story.js +2 -2
  645. package/lib/esm/drawer/stories/drawer-push.story.js.map +1 -1
  646. package/lib/esm/drawer/stories/drawer-resizable.story.js +2 -2
  647. package/lib/esm/drawer/stories/drawer-resizable.story.js.map +1 -1
  648. package/lib/esm/drawer/stories/drawer-right-side.story.js +2 -2
  649. package/lib/esm/drawer/stories/drawer-right-side.story.js.map +1 -1
  650. package/lib/esm/drawer/stories/drawer-scrollable.story.js +2 -2
  651. package/lib/esm/drawer/stories/drawer-scrollable.story.js.map +1 -1
  652. package/lib/esm/dropzone/stories/dropzone-full.story.js +3 -3
  653. package/lib/esm/dropzone/stories/dropzone-full.story.js.map +1 -1
  654. package/lib/esm/flex/stories/flex-default.story.js +1 -1
  655. package/lib/esm/flex/stories/flex-default.story.js.map +1 -1
  656. package/lib/esm/graph-label/stories/graph-label-color.story.js +1 -1
  657. package/lib/esm/graph-label/stories/graph-label-color.story.js.map +1 -1
  658. package/lib/esm/graph-label/stories/graph-label-sizes.story.js +1 -1
  659. package/lib/esm/graph-label/stories/graph-label-sizes.story.js.map +1 -1
  660. package/lib/esm/graph-label/stories/graph-label-types.story.js +1 -1
  661. package/lib/esm/graph-label/stories/graph-label-types.story.js.map +1 -1
  662. package/lib/esm/hooks/use-debounce-callback/index.js +6 -6
  663. package/lib/esm/hooks/use-debounce-callback/index.js.map +1 -1
  664. package/lib/esm/icon-button/stories/icon-button-sizes.story.js +1 -1
  665. package/lib/esm/icon-button/stories/icon-button-sizes.story.js.map +1 -1
  666. package/lib/esm/icon-button/stories/icon-button-tone.story.js +1 -1
  667. package/lib/esm/icon-button/stories/icon-button-tone.story.js.map +1 -1
  668. package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js +1 -1
  669. package/lib/esm/icon-button-array/stories/icon-button-array-sizes.story.js.map +1 -1
  670. package/lib/esm/icon-button-base/IconButtonBase.js +1 -3
  671. package/lib/esm/icon-button-base/IconButtonBase.js.map +1 -1
  672. package/lib/esm/icons/generated/custom/index.js +0 -7
  673. package/lib/esm/icons/generated/custom/index.js.map +1 -1
  674. package/lib/esm/inline-edit/InlineEdit.js +3 -2
  675. package/lib/esm/inline-edit/InlineEdit.js.map +1 -1
  676. package/lib/esm/kbd/Kbd.js +0 -1
  677. package/lib/esm/kbd/Kbd.js.map +1 -1
  678. package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js +1 -1
  679. package/lib/esm/loading-spinner/stories/loading-spinner-sizes.story.js.map +1 -1
  680. package/lib/esm/logo/stories/logo-black.story.js +1 -1
  681. package/lib/esm/logo/stories/logo-black.story.js.map +1 -1
  682. package/lib/esm/logo/stories/logo-default.story.js +1 -1
  683. package/lib/esm/logo/stories/logo-default.story.js.map +1 -1
  684. package/lib/esm/logo/stories/logo-icon.story.js +1 -1
  685. package/lib/esm/logo/stories/logo-icon.story.js.map +1 -1
  686. package/lib/esm/menu/Menu.js +2 -2
  687. package/lib/esm/menu/Menu.js.map +1 -1
  688. package/lib/esm/menu/menu-types.js.map +1 -1
  689. package/lib/esm/menu/stories/menu-custom-items.story.js +1 -1
  690. package/lib/esm/menu/stories/menu-custom-items.story.js.map +1 -1
  691. package/lib/esm/menu/stories/menu-in-dialog.story.js +2 -2
  692. package/lib/esm/menu/stories/menu-in-dialog.story.js.map +1 -1
  693. package/lib/esm/menu/stories/menu-nested.story.js +1 -1
  694. package/lib/esm/menu/stories/menu-nested.story.js.map +1 -1
  695. package/lib/esm/menu/stories/menu-radio-and-normal.story.js +1 -1
  696. package/lib/esm/menu/stories/menu-radio-and-normal.story.js.map +1 -1
  697. package/lib/esm/menu/stories/menu-radio-items.story.js +1 -1
  698. package/lib/esm/menu/stories/menu-radio-items.story.js.map +1 -1
  699. package/lib/esm/menu/stories/menu-with-icon.story.js +1 -1
  700. package/lib/esm/menu/stories/menu-with-icon.story.js.map +1 -1
  701. package/lib/esm/next/tree-view/TreeView.js +3 -3
  702. package/lib/esm/next/tree-view/TreeView.js.map +1 -1
  703. package/lib/esm/next/tree-view/stories/tree-view-large.story.js +1 -1
  704. package/lib/esm/next/tree-view/stories/tree-view-large.story.js.map +1 -1
  705. package/lib/esm/next/tree-view/stories/tree-view-multiple-replace.story.js +1 -1
  706. package/lib/esm/next/tree-view/stories/tree-view-multiple-replace.story.js.map +1 -1
  707. package/lib/esm/next/tree-view/stories/tree-view-root-selection.story.js +1 -1
  708. package/lib/esm/next/tree-view/stories/tree-view-root-selection.story.js.map +1 -1
  709. package/lib/esm/next/tree-view/stories/tree-view-tooltip.story.js +1 -1
  710. package/lib/esm/next/tree-view/stories/tree-view-tooltip.story.js.map +1 -1
  711. package/lib/esm/next/tree-view/stories/tree-view-trailing.story.js +1 -1
  712. package/lib/esm/next/tree-view/stories/tree-view-trailing.story.js.map +1 -1
  713. package/lib/esm/next/tree-view/stories/tree-view-uncontrolled.story.js +1 -1
  714. package/lib/esm/next/tree-view/stories/tree-view-uncontrolled.story.js.map +1 -1
  715. package/lib/esm/popover/Popover.js +6 -6
  716. package/lib/esm/popover/Popover.js.map +1 -1
  717. package/lib/esm/popover/stories/popover-controlled.story.js +1 -1
  718. package/lib/esm/popover/stories/popover-controlled.story.js.map +1 -1
  719. package/lib/esm/popover/stories/popover-custom-offset.story.js +1 -1
  720. package/lib/esm/popover/stories/popover-custom-offset.story.js.map +1 -1
  721. package/lib/esm/popover/stories/popover-default.story.js +1 -1
  722. package/lib/esm/popover/stories/popover-default.story.js.map +1 -1
  723. package/lib/esm/popover/stories/popover-in-dialog.story.js +1 -1
  724. package/lib/esm/popover/stories/popover-in-dialog.story.js.map +1 -1
  725. package/lib/esm/popover/stories/popover-no-button-wrapper.story.js +1 -1
  726. package/lib/esm/popover/stories/popover-no-button-wrapper.story.js.map +1 -1
  727. package/lib/esm/popover/stories/popover-separate-anchor.story.js +1 -1
  728. package/lib/esm/popover/stories/popover-separate-anchor.story.js.map +1 -1
  729. package/lib/esm/popover/use-popover.js +7 -9
  730. package/lib/esm/popover/use-popover.js.map +1 -1
  731. package/lib/esm/progress-bar/stories/progress-bar-sizes.story.js +1 -1
  732. package/lib/esm/progress-bar/stories/progress-bar-sizes.story.js.map +1 -1
  733. package/lib/esm/radio/stories/radio-disabled.story.js +1 -1
  734. package/lib/esm/radio/stories/radio-disabled.story.js.map +1 -1
  735. package/lib/esm/radio/stories/radio-truncated-label.story.js +1 -1
  736. package/lib/esm/radio/stories/radio-truncated-label.story.js.map +1 -1
  737. package/lib/esm/read-only-tag/stories/read-only-tag-colors.story.js +1 -1
  738. package/lib/esm/read-only-tag/stories/read-only-tag-colors.story.js.map +1 -1
  739. package/lib/esm/read-only-tag/stories/read-only-tag-sizes.story.js +1 -1
  740. package/lib/esm/read-only-tag/stories/read-only-tag-sizes.story.js.map +1 -1
  741. package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js +1 -1
  742. package/lib/esm/segmented-control/stories/segmented-control-sizes.story.js.map +1 -1
  743. package/lib/esm/select/stories/select-controlled.story.js +1 -1
  744. package/lib/esm/select/stories/select-controlled.story.js.map +1 -1
  745. package/lib/esm/select/stories/select-custom-label.story.js +1 -1
  746. package/lib/esm/select/stories/select-custom-label.story.js.map +1 -1
  747. package/lib/esm/select/stories/select-inside-dialog.story.js +1 -1
  748. package/lib/esm/select/stories/select-inside-dialog.story.js.map +1 -1
  749. package/lib/esm/select/stories/select-menu-positionings.story.js +1 -1
  750. package/lib/esm/select/stories/select-menu-positionings.story.js.map +1 -1
  751. package/lib/esm/select/stories/select-required.story.js +1 -1
  752. package/lib/esm/select/stories/select-required.story.js.map +1 -1
  753. package/lib/esm/select/stories/select-sizes.story.js +1 -1
  754. package/lib/esm/select/stories/select-sizes.story.js.map +1 -1
  755. package/lib/esm/select-icon-button/stories/select-icon-button-sizes.story.js +1 -1
  756. package/lib/esm/select-icon-button/stories/select-icon-button-sizes.story.js.map +1 -1
  757. package/lib/esm/select-icon-button/stories/select-icon-button-states.story.js +1 -1
  758. package/lib/esm/select-icon-button/stories/select-icon-button-states.story.js.map +1 -1
  759. package/lib/esm/selectable-tag/stories/selectable-tag-disabled.story.js +1 -1
  760. package/lib/esm/selectable-tag/stories/selectable-tag-disabled.story.js.map +1 -1
  761. package/lib/esm/selectable-tag/stories/selectable-tag-sizes.story.js +1 -1
  762. package/lib/esm/selectable-tag/stories/selectable-tag-sizes.story.js.map +1 -1
  763. package/lib/esm/side-navigation/SideNavigation.js.map +1 -1
  764. package/lib/esm/side-navigation/stories/side-nav-badges.story.js +2 -2
  765. package/lib/esm/side-navigation/stories/side-nav-badges.story.js.map +1 -1
  766. package/lib/esm/side-navigation/stories/side-nav-compact.story.js +1 -1
  767. package/lib/esm/side-navigation/stories/side-nav-compact.story.js.map +1 -1
  768. package/lib/esm/side-navigation/stories/side-nav-default.story.js +1 -1
  769. package/lib/esm/side-navigation/stories/side-nav-default.story.js.map +1 -1
  770. package/lib/esm/side-navigation/stories/side-nav-secondary.story.js +1 -1
  771. package/lib/esm/side-navigation/stories/side-nav-secondary.story.js.map +1 -1
  772. package/lib/esm/skeleton/stories/skeleton-circular.story.js +1 -1
  773. package/lib/esm/skeleton/stories/skeleton-circular.story.js.map +1 -1
  774. package/lib/esm/skeleton/stories/skeleton-default.story.js +1 -1
  775. package/lib/esm/skeleton/stories/skeleton-default.story.js.map +1 -1
  776. package/lib/esm/skeleton/stories/skeleton-full-example.story.js +1 -1
  777. package/lib/esm/skeleton/stories/skeleton-full-example.story.js.map +1 -1
  778. package/lib/esm/skeleton/stories/skeleton-inherit-height.story.js +1 -1
  779. package/lib/esm/skeleton/stories/skeleton-inherit-height.story.js.map +1 -1
  780. package/lib/esm/skeleton/stories/skeleton-inherit-width.story.js +1 -1
  781. package/lib/esm/skeleton/stories/skeleton-inherit-width.story.js.map +1 -1
  782. package/lib/esm/slider/Slider.js +3 -3
  783. package/lib/esm/slider/Slider.js.map +1 -1
  784. package/lib/esm/slider/stories/slider-custom-step-length.story.js +1 -1
  785. package/lib/esm/slider/stories/slider-custom-step-length.story.js.map +1 -1
  786. package/lib/esm/slider/stories/slider-range.story.js +1 -1
  787. package/lib/esm/slider/stories/slider-range.story.js.map +1 -1
  788. package/lib/esm/slider/stories/slider-show-steps.story.js +1 -1
  789. package/lib/esm/slider/stories/slider-show-steps.story.js.map +1 -1
  790. package/lib/esm/slider/stories/slider-show-values.story.js +1 -1
  791. package/lib/esm/slider/stories/slider-show-values.story.js.map +1 -1
  792. package/lib/esm/slider/stories/slider-single-controlled.story.js +2 -2
  793. package/lib/esm/slider/stories/slider-single-controlled.story.js.map +1 -1
  794. package/lib/esm/slider/stories/slider-single.story.js +1 -1
  795. package/lib/esm/slider/stories/slider-single.story.js.map +1 -1
  796. package/lib/esm/spotlight/Spotlight.js +3 -3
  797. package/lib/esm/spotlight/Spotlight.js.map +1 -1
  798. package/lib/esm/spotlight/SpotlightTarget.js +3 -3
  799. package/lib/esm/spotlight/SpotlightTarget.js.map +1 -1
  800. package/lib/esm/spotlight/stories/spotlight-fixed-positioning.story.js +1 -1
  801. package/lib/esm/spotlight/stories/spotlight-fixed-positioning.story.js.map +1 -1
  802. package/lib/esm/spotlight/stories/spotlight-in-dialog.story.js +1 -1
  803. package/lib/esm/spotlight/stories/spotlight-in-dialog.story.js.map +1 -1
  804. package/lib/esm/spotlight/stories/spotlight-in-side-nav.story.js +1 -1
  805. package/lib/esm/spotlight/stories/spotlight-in-side-nav.story.js.map +1 -1
  806. package/lib/esm/spotlight/stories/spotlight-on-tabs.story.js +1 -1
  807. package/lib/esm/spotlight/stories/spotlight-on-tabs.story.js.map +1 -1
  808. package/lib/esm/spotlight/stories/spotlight-tour.story.js +1 -1
  809. package/lib/esm/spotlight/stories/spotlight-tour.story.js.map +1 -1
  810. package/lib/esm/spotlight/stories/spotlight-with-icon.story.js +1 -1
  811. package/lib/esm/spotlight/stories/spotlight-with-icon.story.js.map +1 -1
  812. package/lib/esm/spotlight/stories/spotlight-with-image.story.js +1 -1
  813. package/lib/esm/spotlight/stories/spotlight-with-image.story.js.map +1 -1
  814. package/lib/esm/spotlight/stories/spotlight-with-label.story.js +1 -1
  815. package/lib/esm/spotlight/stories/spotlight-with-label.story.js.map +1 -1
  816. package/lib/esm/spotlight/stories/spotlight-with-pointer.story.js +1 -1
  817. package/lib/esm/spotlight/stories/spotlight-with-pointer.story.js.map +1 -1
  818. package/lib/esm/spotlight/use-spotlight.js +5 -5
  819. package/lib/esm/spotlight/use-spotlight.js.map +1 -1
  820. package/lib/esm/status-indicator/stories/status-indicator-variants.story.js +1 -1
  821. package/lib/esm/status-indicator/stories/status-indicator-variants.story.js.map +1 -1
  822. package/lib/esm/status-label/stories/status-label-colors.story.js +1 -1
  823. package/lib/esm/status-label/stories/status-label-colors.story.js.map +1 -1
  824. package/lib/esm/status-label/stories/status-label-fills.story.js +1 -1
  825. package/lib/esm/status-label/stories/status-label-fills.story.js.map +1 -1
  826. package/lib/esm/status-label/stories/status-label-with-icons.story.js +1 -1
  827. package/lib/esm/status-label/stories/status-label-with-icons.story.js.map +1 -1
  828. package/lib/esm/tabs/Tabs.js +2 -2
  829. package/lib/esm/tabs/Tabs.js.map +1 -1
  830. package/lib/esm/tabs/stories/tabs-badge.story.js +1 -1
  831. package/lib/esm/tabs/stories/tabs-badge.story.js.map +1 -1
  832. package/lib/esm/tabs/stories/tabs-default.story.js +1 -1
  833. package/lib/esm/tabs/stories/tabs-default.story.js.map +1 -1
  834. package/lib/esm/tabs/stories/tabs-disabled.story.js +1 -1
  835. package/lib/esm/tabs/stories/tabs-disabled.story.js.map +1 -1
  836. package/lib/esm/tabs/stories/tabs-fill-variants.story.js +1 -1
  837. package/lib/esm/tabs/stories/tabs-fill-variants.story.js.map +1 -1
  838. package/lib/esm/tabs/stories/tabs-overflow.story.js +1 -1
  839. package/lib/esm/tabs/stories/tabs-overflow.story.js.map +1 -1
  840. package/lib/esm/tabs/stories/tabs-sizes.story.js +1 -1
  841. package/lib/esm/tabs/stories/tabs-sizes.story.js.map +1 -1
  842. package/lib/esm/tabs/stories/tabs-with-icons.story.js +1 -1
  843. package/lib/esm/tabs/stories/tabs-with-icons.story.js.map +1 -1
  844. package/lib/esm/tag/stories/tag-sizes.story.js +1 -1
  845. package/lib/esm/tag/stories/tag-sizes.story.js.map +1 -1
  846. package/lib/esm/tag/stories/tag-types.story.js +1 -1
  847. package/lib/esm/tag/stories/tag-types.story.js.map +1 -1
  848. package/lib/esm/tag-base/stories/tag-variants.story.js +1 -1
  849. package/lib/esm/tag-base/stories/tag-variants.story.js.map +1 -1
  850. package/lib/esm/text-area/stories/text-area-sizes.story.js +1 -1
  851. package/lib/esm/text-area/stories/text-area-sizes.story.js.map +1 -1
  852. package/lib/esm/text-input/TextInput.js.map +1 -1
  853. package/lib/esm/text-input/stories/text-input-loading-spinner.story.js +1 -1
  854. package/lib/esm/text-input/stories/text-input-loading-spinner.story.js.map +1 -1
  855. package/lib/esm/text-input/stories/text-input-optional.story.js +1 -1
  856. package/lib/esm/text-input/stories/text-input-optional.story.js.map +1 -1
  857. package/lib/esm/text-input/stories/text-input-sizes.story.js +1 -1
  858. package/lib/esm/text-input/stories/text-input-sizes.story.js.map +1 -1
  859. package/lib/esm/text-link/TextLink.js +2 -6
  860. package/lib/esm/text-link/TextLink.js.map +1 -1
  861. package/lib/esm/text-link/stories/index.js +3 -12
  862. package/lib/esm/text-link/stories/index.js.map +1 -1
  863. package/lib/esm/text-link/stories/text-link-external.story.js +3 -3
  864. package/lib/esm/text-link/stories/text-link-external.story.js.map +1 -1
  865. package/lib/esm/text-link/stories/{text-link-internal-underline.story.js → text-link-internal.story.js} +2 -2
  866. package/lib/esm/text-link/stories/text-link-internal.story.js.map +1 -0
  867. package/lib/esm/time-picker/stories/time-picker-in-popover-dialog.story.js +1 -1
  868. package/lib/esm/time-picker/stories/time-picker-in-popover-dialog.story.js.map +1 -1
  869. package/lib/esm/timezone-picker/stories/timezone-picker-in-dialog.story.js +1 -1
  870. package/lib/esm/timezone-picker/stories/timezone-picker-in-dialog.story.js.map +1 -1
  871. package/lib/esm/timezone-picker/stories/timezone-picker-in-popover-dialog.story.js +1 -1
  872. package/lib/esm/timezone-picker/stories/timezone-picker-in-popover-dialog.story.js.map +1 -1
  873. package/lib/esm/toast/stories/toast-action-story.js +1 -1
  874. package/lib/esm/toast/stories/toast-action-story.js.map +1 -1
  875. package/lib/esm/toast/stories/toast-closeable-story.js +1 -1
  876. package/lib/esm/toast/stories/toast-closeable-story.js.map +1 -1
  877. package/lib/esm/toast/stories/toast-controlled-story.js +1 -1
  878. package/lib/esm/toast/stories/toast-controlled-story.js.map +1 -1
  879. package/lib/esm/toast/stories/toast-custom-story.js +1 -1
  880. package/lib/esm/toast/stories/toast-custom-story.js.map +1 -1
  881. package/lib/esm/toast/stories/toast-danger-story.js +1 -1
  882. package/lib/esm/toast/stories/toast-danger-story.js.map +1 -1
  883. package/lib/esm/toast/stories/toast-neutral-story.js +1 -1
  884. package/lib/esm/toast/stories/toast-neutral-story.js.map +1 -1
  885. package/lib/esm/toast/stories/toast-progress-bar.js +1 -1
  886. package/lib/esm/toast/stories/toast-progress-bar.js.map +1 -1
  887. package/lib/esm/toast/stories/toast-success-story.js +1 -1
  888. package/lib/esm/toast/stories/toast-success-story.js.map +1 -1
  889. package/lib/esm/tooltip/Tooltip.js.map +1 -1
  890. package/lib/esm/tooltip/stories/tooltip-in-dialog.story.js +1 -1
  891. package/lib/esm/tooltip/stories/tooltip-in-dialog.story.js.map +1 -1
  892. package/lib/esm/tooltip/stories/tooltip-placements.story.js +1 -1
  893. package/lib/esm/tooltip/stories/tooltip-placements.story.js.map +1 -1
  894. package/lib/esm/tooltip/use-tooltip.js.map +1 -1
  895. package/lib/esm/tree-view/TreeView.js +3 -0
  896. package/lib/esm/tree-view/TreeView.js.map +1 -1
  897. package/lib/esm/tree-view/TreeViewItem.js.map +1 -1
  898. package/lib/esm/tree-view/stories/treeview-custom.story.js +2 -2
  899. package/lib/esm/tree-view/stories/treeview-custom.story.js.map +1 -1
  900. package/lib/esm/tree-view/tree-view-utils.js.map +1 -1
  901. package/lib/esm/typography/Typography.js +7 -1
  902. package/lib/esm/typography/Typography.js.map +1 -1
  903. package/lib/types/_generated/style-rules/index.d.ts +2 -2
  904. package/lib/types/_generated/style-rules/index.d.ts.map +1 -1
  905. package/lib/{cjs/text-link/stories/text-link-default.story.js → types/_generated/style-rules/literal-guards.d.ts} +8 -10
  906. package/lib/types/_generated/style-rules/literal-guards.d.ts.map +1 -0
  907. package/lib/types/_generated/style-rules/literal-schemas.d.ts +0 -12
  908. package/lib/types/_generated/style-rules/literal-schemas.d.ts.map +1 -1
  909. package/lib/types/_generated/style-rules/literal-types.d.ts +80 -0
  910. package/lib/types/_generated/style-rules/literal-types.d.ts.map +1 -0
  911. package/lib/types/_generated/style-rules/numeric-utils.d.ts +1 -1
  912. package/lib/types/_generated/style-rules/numeric-utils.d.ts.map +1 -1
  913. package/lib/types/_generated/style-rules/range-utils.d.ts +1 -1
  914. package/lib/types/_generated/style-rules/range-utils.d.ts.map +1 -1
  915. package/lib/types/ai/reasoning/Reasoning.d.ts +1 -10
  916. package/lib/types/ai/reasoning/Reasoning.d.ts.map +1 -1
  917. package/lib/types/ai/reasoning/stories/reasoning-full.story.d.ts.map +1 -1
  918. package/lib/types/button/ButtonBase.d.ts.map +1 -1
  919. package/lib/types/code-block/CodeBlock.d.ts +2 -2
  920. package/lib/types/code-block/CodeBlock.d.ts.map +1 -1
  921. package/lib/types/color-picker/ColorPicker.d.ts.map +1 -1
  922. package/lib/types/data-grid/style-rules/guard.d.ts +43 -0
  923. package/lib/types/data-grid/style-rules/guard.d.ts.map +1 -0
  924. package/lib/types/data-grid/style-rules/index.d.ts +1 -2
  925. package/lib/types/data-grid/style-rules/index.d.ts.map +1 -1
  926. package/lib/types/data-grid/style-rules/internal/schemas.d.ts +321 -0
  927. package/lib/types/data-grid/style-rules/internal/schemas.d.ts.map +1 -0
  928. package/lib/types/data-grid/style-rules/types.d.ts +60 -284
  929. package/lib/types/data-grid/style-rules/types.d.ts.map +1 -1
  930. package/lib/types/date-picker/DatePicker.d.ts.map +1 -1
  931. package/lib/types/dialog/Dialog.d.ts.map +1 -1
  932. package/lib/types/drawer/Drawer.d.ts +7 -13
  933. package/lib/types/drawer/Drawer.d.ts.map +1 -1
  934. package/lib/types/drawer/stories/drawer-overlay.story.d.ts.map +1 -1
  935. package/lib/types/dropzone/stories/dropzone-full.story.d.ts.map +1 -1
  936. package/lib/types/hooks/use-debounce-callback/index.d.ts +2 -2
  937. package/lib/types/hooks/use-debounce-callback/index.d.ts.map +1 -1
  938. package/lib/types/icon-button-base/IconButtonBase.d.ts.map +1 -1
  939. package/lib/types/icons/generated/custom/index.d.ts +0 -7
  940. package/lib/types/icons/generated/custom/index.d.ts.map +1 -1
  941. package/lib/types/inline-edit/InlineEdit.d.ts +6 -1
  942. package/lib/types/inline-edit/InlineEdit.d.ts.map +1 -1
  943. package/lib/types/kbd/Kbd.d.ts +1 -1
  944. package/lib/types/kbd/Kbd.d.ts.map +1 -1
  945. package/lib/types/menu/Menu.d.ts +1 -1
  946. package/lib/types/menu/Menu.d.ts.map +1 -1
  947. package/lib/types/menu/menu-types.d.ts +2 -2
  948. package/lib/types/menu/menu-types.d.ts.map +1 -1
  949. package/lib/types/next/tree-view/TreeView.d.ts +2 -2
  950. package/lib/types/next/tree-view/TreeView.d.ts.map +1 -1
  951. package/lib/types/popover/Popover.d.ts +15 -12
  952. package/lib/types/popover/Popover.d.ts.map +1 -1
  953. package/lib/types/popover/stories/popover-controlled.story.d.ts.map +1 -1
  954. package/lib/types/popover/stories/popover-default.story.d.ts.map +1 -1
  955. package/lib/types/popover/stories/popover-no-button-wrapper.story.d.ts.map +1 -1
  956. package/lib/types/popover/use-popover.d.ts +14 -9
  957. package/lib/types/popover/use-popover.d.ts.map +1 -1
  958. package/lib/types/side-navigation/SideNavigation.d.ts.map +1 -1
  959. package/lib/types/slider/Slider.d.ts +3 -3
  960. package/lib/types/slider/Slider.d.ts.map +1 -1
  961. package/lib/types/spotlight/Spotlight.d.ts +2 -2
  962. package/lib/types/spotlight/Spotlight.d.ts.map +1 -1
  963. package/lib/types/spotlight/SpotlightTarget.d.ts +3 -3
  964. package/lib/types/spotlight/SpotlightTarget.d.ts.map +1 -1
  965. package/lib/types/spotlight/stories/spotlight-tour.story.d.ts.map +1 -1
  966. package/lib/types/spotlight/stories/spotlight-with-image.story.d.ts.map +1 -1
  967. package/lib/types/spotlight/use-spotlight.d.ts +4 -4
  968. package/lib/types/spotlight/use-spotlight.d.ts.map +1 -1
  969. package/lib/types/tabs/Tabs.d.ts +3 -1
  970. package/lib/types/tabs/Tabs.d.ts.map +1 -1
  971. package/lib/types/text-link/TextLink.d.ts +2 -13
  972. package/lib/types/text-link/TextLink.d.ts.map +1 -1
  973. package/lib/types/text-link/stories/index.d.ts +2 -8
  974. package/lib/types/text-link/stories/index.d.ts.map +1 -1
  975. package/lib/types/text-link/stories/text-link-external.story.d.ts.map +1 -1
  976. package/lib/types/{text-overflow/stories/character-limit.story.d.ts → text-link/stories/text-link-internal.story.d.ts} +1 -1
  977. package/lib/types/text-link/stories/text-link-internal.story.d.ts.map +1 -0
  978. package/lib/types/tooltip/Tooltip.d.ts +0 -1
  979. package/lib/types/tooltip/Tooltip.d.ts.map +1 -1
  980. package/lib/types/tooltip/use-tooltip.d.ts.map +1 -1
  981. package/lib/types/tree-view/TreeView.d.ts +3 -0
  982. package/lib/types/tree-view/TreeView.d.ts.map +1 -1
  983. package/lib/types/tree-view/TreeViewItem.d.ts.map +1 -1
  984. package/lib/types/tree-view/tree-view-utils.d.ts.map +1 -1
  985. package/lib/types/typography/Typography.d.ts +6 -0
  986. package/lib/types/typography/Typography.d.ts.map +1 -1
  987. package/package.json +4 -3
  988. package/skills/ndl-react/SKILL.md +21 -19
  989. package/skills/ndl-react/components/ai/presence.md +3 -3
  990. package/skills/ndl-react/components/ai/reasoning.md +2 -6
  991. package/skills/ndl-react/components/ai/response.md +17 -17
  992. package/skills/ndl-react/components/ai/suggestion.md +1 -1
  993. package/skills/ndl-react/components/ai/user-bubble.md +2 -2
  994. package/skills/ndl-react/components/announcement-banner.md +10 -10
  995. package/skills/ndl-react/components/avatar.md +5 -5
  996. package/skills/ndl-react/components/banner.md +2 -2
  997. package/skills/ndl-react/components/breadcrumbs.md +3 -3
  998. package/skills/ndl-react/components/checkbox.md +4 -4
  999. package/skills/ndl-react/components/clean-icon-button.md +17 -17
  1000. package/skills/ndl-react/components/clipboard-button.md +1 -1
  1001. package/skills/ndl-react/components/code-block.md +8 -9
  1002. package/skills/ndl-react/components/color-picker.md +3 -3
  1003. package/skills/ndl-react/components/combobox.md +20 -20
  1004. package/skills/ndl-react/components/conditional-wrap.md +1 -1
  1005. package/skills/ndl-react/components/data-grid.md +28 -28
  1006. package/skills/ndl-react/components/date-picker.md +3 -3
  1007. package/skills/ndl-react/components/dialog.md +9 -9
  1008. package/skills/ndl-react/components/dismissible-tag.md +2 -2
  1009. package/skills/ndl-react/components/drawer.md +39 -37
  1010. package/skills/ndl-react/components/dropzone.md +10 -13
  1011. package/skills/ndl-react/components/flex.md +1 -1
  1012. package/skills/ndl-react/components/graph-label.md +3 -3
  1013. package/skills/ndl-react/components/icon-button-array.md +1 -1
  1014. package/skills/ndl-react/components/icon-button.md +7 -7
  1015. package/skills/ndl-react/components/inline-edit.md +4 -1
  1016. package/skills/ndl-react/components/loading-spinner.md +1 -1
  1017. package/skills/ndl-react/components/logo.md +3 -3
  1018. package/skills/ndl-react/components/menu.md +14 -14
  1019. package/skills/ndl-react/components/next/tree-view.md +18 -18
  1020. package/skills/ndl-react/components/popover.md +15 -21
  1021. package/skills/ndl-react/components/progress-bar.md +1 -1
  1022. package/skills/ndl-react/components/radio.md +2 -2
  1023. package/skills/ndl-react/components/read-only-tag.md +2 -2
  1024. package/skills/ndl-react/components/segmented-control.md +1 -1
  1025. package/skills/ndl-react/components/select-icon-button.md +8 -8
  1026. package/skills/ndl-react/components/select.md +8 -8
  1027. package/skills/ndl-react/components/selectable-tag.md +2 -2
  1028. package/skills/ndl-react/components/side-navigation.md +19 -19
  1029. package/skills/ndl-react/components/skeleton.md +13 -13
  1030. package/skills/ndl-react/components/slider.md +13 -13
  1031. package/skills/ndl-react/components/spotlight.md +43 -27
  1032. package/skills/ndl-react/components/status-indicator.md +6 -6
  1033. package/skills/ndl-react/components/status-label.md +3 -3
  1034. package/skills/ndl-react/components/tabs.md +21 -20
  1035. package/skills/ndl-react/components/tag.md +2 -2
  1036. package/skills/ndl-react/components/text-area.md +1 -1
  1037. package/skills/ndl-react/components/text-input.md +3 -3
  1038. package/skills/ndl-react/components/text-link.md +12 -63
  1039. package/skills/ndl-react/components/time-picker.md +2 -2
  1040. package/skills/ndl-react/components/timezone-picker.md +4 -4
  1041. package/skills/ndl-react/components/tooltip.md +3 -3
  1042. package/skills/ndl-react/components/tree-view.md +6 -4
  1043. package/skills/ndl-react/components/typography.md +4 -0
  1044. package/skills/ndl-react/references/styling.md +56 -48
  1045. package/lib/cjs/icons/generated/custom/AddNode.js +0 -31
  1046. package/lib/cjs/icons/generated/custom/AddNode.js.map +0 -1
  1047. package/lib/cjs/icons/generated/custom/PanelBottom.js +0 -31
  1048. package/lib/cjs/icons/generated/custom/PanelBottom.js.map +0 -1
  1049. package/lib/cjs/icons/generated/custom/PanelLeft.js +0 -31
  1050. package/lib/cjs/icons/generated/custom/PanelLeft.js.map +0 -1
  1051. package/lib/cjs/icons/generated/custom/PanelLeftCollapsed.js +0 -31
  1052. package/lib/cjs/icons/generated/custom/PanelLeftCollapsed.js.map +0 -1
  1053. package/lib/cjs/icons/generated/custom/PanelLeftExpanded.js +0 -31
  1054. package/lib/cjs/icons/generated/custom/PanelLeftExpanded.js.map +0 -1
  1055. package/lib/cjs/icons/generated/custom/PanelRight.js +0 -31
  1056. package/lib/cjs/icons/generated/custom/PanelRight.js.map +0 -1
  1057. package/lib/cjs/icons/generated/custom/ThreePanel.js +0 -31
  1058. package/lib/cjs/icons/generated/custom/ThreePanel.js.map +0 -1
  1059. package/lib/cjs/text-link/stories/text-link-default.story.js.map +0 -1
  1060. package/lib/cjs/text-link/stories/text-link-external-underline.story.js +0 -30
  1061. package/lib/cjs/text-link/stories/text-link-external-underline.story.js.map +0 -1
  1062. package/lib/cjs/text-link/stories/text-link-internal-icon.story.js +0 -30
  1063. package/lib/cjs/text-link/stories/text-link-internal-icon.story.js.map +0 -1
  1064. package/lib/cjs/text-link/stories/text-link-internal-underline.story.js.map +0 -1
  1065. package/lib/cjs/text-overflow/TextOverflow.js +0 -146
  1066. package/lib/cjs/text-overflow/TextOverflow.js.map +0 -1
  1067. package/lib/cjs/text-overflow/constants.js +0 -44
  1068. package/lib/cjs/text-overflow/constants.js.map +0 -1
  1069. package/lib/cjs/text-overflow/index.js.map +0 -1
  1070. package/lib/cjs/text-overflow/stories/character-limit.story.js +0 -32
  1071. package/lib/cjs/text-overflow/stories/character-limit.story.js.map +0 -1
  1072. package/lib/cjs/text-overflow/stories/expand-collapse-buttons.story.js +0 -32
  1073. package/lib/cjs/text-overflow/stories/expand-collapse-buttons.story.js.map +0 -1
  1074. package/lib/cjs/text-overflow/stories/index.js +0 -48
  1075. package/lib/cjs/text-overflow/stories/index.js.map +0 -1
  1076. package/lib/cjs/text-overflow/stories/line-clamp.story.js +0 -32
  1077. package/lib/cjs/text-overflow/stories/line-clamp.story.js.map +0 -1
  1078. package/lib/cjs/text-overflow/stories/mixed-content.story.js +0 -31
  1079. package/lib/cjs/text-overflow/stories/mixed-content.story.js.map +0 -1
  1080. package/lib/cjs/text-overflow/stories/width-based-truncation.story.js +0 -32
  1081. package/lib/cjs/text-overflow/stories/width-based-truncation.story.js.map +0 -1
  1082. package/lib/cjs/text-overflow/text-overflow-utils.js +0 -167
  1083. package/lib/cjs/text-overflow/text-overflow-utils.js.map +0 -1
  1084. package/lib/cjs/text-overflow/use-ellipsis-observer.js +0 -66
  1085. package/lib/cjs/text-overflow/use-ellipsis-observer.js.map +0 -1
  1086. package/lib/cjs/text-overflow/use-truncate-with-button.js +0 -205
  1087. package/lib/cjs/text-overflow/use-truncate-with-button.js.map +0 -1
  1088. package/lib/esm/icons/generated/custom/AddNode.js +0 -29
  1089. package/lib/esm/icons/generated/custom/AddNode.js.map +0 -1
  1090. package/lib/esm/icons/generated/custom/PanelBottom.js +0 -29
  1091. package/lib/esm/icons/generated/custom/PanelBottom.js.map +0 -1
  1092. package/lib/esm/icons/generated/custom/PanelLeft.js +0 -29
  1093. package/lib/esm/icons/generated/custom/PanelLeft.js.map +0 -1
  1094. package/lib/esm/icons/generated/custom/PanelLeftCollapsed.js +0 -29
  1095. package/lib/esm/icons/generated/custom/PanelLeftCollapsed.js.map +0 -1
  1096. package/lib/esm/icons/generated/custom/PanelLeftExpanded.js +0 -29
  1097. package/lib/esm/icons/generated/custom/PanelLeftExpanded.js.map +0 -1
  1098. package/lib/esm/icons/generated/custom/PanelRight.js +0 -29
  1099. package/lib/esm/icons/generated/custom/PanelRight.js.map +0 -1
  1100. package/lib/esm/icons/generated/custom/ThreePanel.js +0 -29
  1101. package/lib/esm/icons/generated/custom/ThreePanel.js.map +0 -1
  1102. package/lib/esm/text-link/stories/text-link-default.story.js +0 -28
  1103. package/lib/esm/text-link/stories/text-link-default.story.js.map +0 -1
  1104. package/lib/esm/text-link/stories/text-link-external-underline.story.js +0 -28
  1105. package/lib/esm/text-link/stories/text-link-external-underline.story.js.map +0 -1
  1106. package/lib/esm/text-link/stories/text-link-internal-icon.story.js +0 -28
  1107. package/lib/esm/text-link/stories/text-link-internal-icon.story.js.map +0 -1
  1108. package/lib/esm/text-link/stories/text-link-internal-underline.story.js.map +0 -1
  1109. package/lib/esm/text-overflow/TextOverflow.js +0 -139
  1110. package/lib/esm/text-overflow/TextOverflow.js.map +0 -1
  1111. package/lib/esm/text-overflow/constants.js +0 -41
  1112. package/lib/esm/text-overflow/constants.js.map +0 -1
  1113. package/lib/esm/text-overflow/index.js.map +0 -1
  1114. package/lib/esm/text-overflow/stories/character-limit.story.js +0 -30
  1115. package/lib/esm/text-overflow/stories/character-limit.story.js.map +0 -1
  1116. package/lib/esm/text-overflow/stories/expand-collapse-buttons.story.js +0 -30
  1117. package/lib/esm/text-overflow/stories/expand-collapse-buttons.story.js.map +0 -1
  1118. package/lib/esm/text-overflow/stories/index.js +0 -37
  1119. package/lib/esm/text-overflow/stories/index.js.map +0 -1
  1120. package/lib/esm/text-overflow/stories/line-clamp.story.js +0 -30
  1121. package/lib/esm/text-overflow/stories/line-clamp.story.js.map +0 -1
  1122. package/lib/esm/text-overflow/stories/mixed-content.story.js +0 -29
  1123. package/lib/esm/text-overflow/stories/mixed-content.story.js.map +0 -1
  1124. package/lib/esm/text-overflow/stories/width-based-truncation.story.js +0 -30
  1125. package/lib/esm/text-overflow/stories/width-based-truncation.story.js.map +0 -1
  1126. package/lib/esm/text-overflow/text-overflow-utils.js +0 -159
  1127. package/lib/esm/text-overflow/text-overflow-utils.js.map +0 -1
  1128. package/lib/esm/text-overflow/use-ellipsis-observer.js +0 -63
  1129. package/lib/esm/text-overflow/use-ellipsis-observer.js.map +0 -1
  1130. package/lib/esm/text-overflow/use-truncate-with-button.js +0 -202
  1131. package/lib/esm/text-overflow/use-truncate-with-button.js.map +0 -1
  1132. package/lib/types/icons/generated/custom/AddNode.d.ts +0 -30
  1133. package/lib/types/icons/generated/custom/AddNode.d.ts.map +0 -1
  1134. package/lib/types/icons/generated/custom/PanelBottom.d.ts +0 -30
  1135. package/lib/types/icons/generated/custom/PanelBottom.d.ts.map +0 -1
  1136. package/lib/types/icons/generated/custom/PanelLeft.d.ts +0 -30
  1137. package/lib/types/icons/generated/custom/PanelLeft.d.ts.map +0 -1
  1138. package/lib/types/icons/generated/custom/PanelLeftCollapsed.d.ts +0 -30
  1139. package/lib/types/icons/generated/custom/PanelLeftCollapsed.d.ts.map +0 -1
  1140. package/lib/types/icons/generated/custom/PanelLeftExpanded.d.ts +0 -30
  1141. package/lib/types/icons/generated/custom/PanelLeftExpanded.d.ts.map +0 -1
  1142. package/lib/types/icons/generated/custom/PanelRight.d.ts +0 -30
  1143. package/lib/types/icons/generated/custom/PanelRight.d.ts.map +0 -1
  1144. package/lib/types/icons/generated/custom/ThreePanel.d.ts +0 -30
  1145. package/lib/types/icons/generated/custom/ThreePanel.d.ts.map +0 -1
  1146. package/lib/types/text-link/stories/text-link-default.story.d.ts +0 -24
  1147. package/lib/types/text-link/stories/text-link-default.story.d.ts.map +0 -1
  1148. package/lib/types/text-link/stories/text-link-external-underline.story.d.ts +0 -24
  1149. package/lib/types/text-link/stories/text-link-external-underline.story.d.ts.map +0 -1
  1150. package/lib/types/text-link/stories/text-link-internal-icon.story.d.ts +0 -24
  1151. package/lib/types/text-link/stories/text-link-internal-icon.story.d.ts.map +0 -1
  1152. package/lib/types/text-link/stories/text-link-internal-underline.story.d.ts +0 -24
  1153. package/lib/types/text-link/stories/text-link-internal-underline.story.d.ts.map +0 -1
  1154. package/lib/types/text-overflow/TextOverflow.d.ts +0 -63
  1155. package/lib/types/text-overflow/TextOverflow.d.ts.map +0 -1
  1156. package/lib/types/text-overflow/constants.d.ts +0 -41
  1157. package/lib/types/text-overflow/constants.d.ts.map +0 -1
  1158. package/lib/types/text-overflow/index.d.ts +0 -22
  1159. package/lib/types/text-overflow/index.d.ts.map +0 -1
  1160. package/lib/types/text-overflow/stories/character-limit.story.d.ts.map +0 -1
  1161. package/lib/types/text-overflow/stories/expand-collapse-buttons.story.d.ts +0 -24
  1162. package/lib/types/text-overflow/stories/expand-collapse-buttons.story.d.ts.map +0 -1
  1163. package/lib/types/text-overflow/stories/index.d.ts +0 -31
  1164. package/lib/types/text-overflow/stories/index.d.ts.map +0 -1
  1165. package/lib/types/text-overflow/stories/line-clamp.story.d.ts +0 -24
  1166. package/lib/types/text-overflow/stories/line-clamp.story.d.ts.map +0 -1
  1167. package/lib/types/text-overflow/stories/mixed-content.story.d.ts +0 -24
  1168. package/lib/types/text-overflow/stories/mixed-content.story.d.ts.map +0 -1
  1169. package/lib/types/text-overflow/stories/width-based-truncation.story.d.ts +0 -24
  1170. package/lib/types/text-overflow/stories/width-based-truncation.story.d.ts.map +0 -1
  1171. package/lib/types/text-overflow/text-overflow-utils.d.ts +0 -35
  1172. package/lib/types/text-overflow/text-overflow-utils.d.ts.map +0 -1
  1173. package/lib/types/text-overflow/use-ellipsis-observer.d.ts +0 -28
  1174. package/lib/types/text-overflow/use-ellipsis-observer.d.ts.map +0 -1
  1175. package/lib/types/text-overflow/use-truncate-with-button.d.ts +0 -45
  1176. package/lib/types/text-overflow/use-truncate-with-button.d.ts.map +0 -1
@@ -142,7 +142,7 @@ const Component = () => {
142
142
  }, 50);
143
143
  }, 2000);
144
144
  };
145
- return ((0, jsx_runtime_1.jsx)("section", { className: "n-h-screen", children: (0, jsx_runtime_1.jsxs)("div", { className: "n-w-[440px] n-h-full n-flex n-flex-col n-bg-neutral-bg-weak", children: [(0, jsx_runtime_1.jsx)("div", { className: "n-flex n-flex-row n-border-b n-border-neutral-border-weak n-p-3", children: (0, jsx_runtime_1.jsxs)("div", { className: "n-ml-auto", children: [(0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { description: "settings", tooltipProps: {}, children: (0, jsx_runtime_1.jsx)(icons_1.Cog6ToothIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { description: "close", children: (0, jsx_runtime_1.jsx)(icons_1.XMarkIconOutline, {}) })] }) }), (0, jsx_runtime_1.jsx)("div", { className: "n-p-4 n-flex n-flex-col n-grow n-overflow-y-auto", children: messages.length === 0 ? ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-flex-col ", children: (0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-12", children: [(0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "display", children: "Hi [User], how can I help you today?" }), (0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-4", children: [(0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Suggestions" }), (0, jsx_runtime_1.jsx)(ai_1.Suggestion, { isPrimary: true, onClick: () => {
145
+ return ((0, jsx_runtime_1.jsx)("section", { className: "h-screen", children: (0, jsx_runtime_1.jsxs)("div", { className: "w-[440px] h-full flex flex-col bg-neutral-bg-weak", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex flex-row border-b border-neutral-border-weak p-3", children: (0, jsx_runtime_1.jsxs)("div", { className: "ml-auto", children: [(0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { description: "settings", tooltipProps: {}, children: (0, jsx_runtime_1.jsx)(icons_1.Cog6ToothIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { description: "close", children: (0, jsx_runtime_1.jsx)(icons_1.XMarkIconOutline, {}) })] }) }), (0, jsx_runtime_1.jsx)("div", { className: "p-4 flex flex-col grow overflow-y-auto", children: messages.length === 0 ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col ", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-12", children: [(0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "display", children: "Hi [User], how can I help you today?" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-4", children: [(0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Suggestions" }), (0, jsx_runtime_1.jsx)(ai_1.Suggestion, { isPrimary: true, onClick: () => {
146
146
  handleSend('I want to import data');
147
147
  }, children: "I want to import data" }), (0, jsx_runtime_1.jsx)(ai_1.Suggestion, { onClick: () => {
148
148
  handleSend('Create an AI agent');
@@ -150,10 +150,10 @@ const Component = () => {
150
150
  handleSend('Invite project members');
151
151
  }, children: "Invite project members" }), (0, jsx_runtime_1.jsx)(ai_1.Suggestion, { onClick: () => {
152
152
  handleSend('Generate a report');
153
- }, children: "Generate a report" })] }), (0, jsx_runtime_1.jsxs)(react_1.Typography, { variant: "body-medium", children: ["You can also drag and drop files here, or", ' ', (0, jsx_runtime_1.jsx)(react_1.TextLink, { as: "button", type: "internal-underline", children: "browse" }), ". Supports CVG, MOV, PDF"] })] }) })) : ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-4 n-pb-4", children: [messages.map((msg, idx) => ((0, jsx_runtime_1.jsx)("div", { className: `n-flex ${msg.role === 'user' ? 'n-justify-end' : 'n-justify-start'}`, children: msg.role === 'user' ? ((0, jsx_runtime_1.jsx)("div", { className: "n-max-w-[85%]", children: (0, jsx_runtime_1.jsx)(ai_1.UserBubble, { avatarProps: {
153
+ }, children: "Generate a report" })] }), (0, jsx_runtime_1.jsxs)(react_1.Typography, { variant: "body-medium", children: ["You can also drag and drop files here, or", ' ', (0, jsx_runtime_1.jsx)(react_1.TextLink, { as: "button", type: "internal", children: "browse" }), ". Supports CVG, MOV, PDF"] })] }) })) : ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-4 pb-4", children: [messages.map((msg, idx) => ((0, jsx_runtime_1.jsx)("div", { className: `flex ${msg.role === 'user' ? 'justify-end' : 'justify-start'}`, children: msg.role === 'user' ? ((0, jsx_runtime_1.jsx)("div", { className: "max-w-[85%]", children: (0, jsx_runtime_1.jsx)(ai_1.UserBubble, { avatarProps: {
154
154
  name: 'NM',
155
155
  type: 'letters',
156
- }, children: msg.content }) })) : ((0, jsx_runtime_1.jsxs)("div", { className: "n-w-full n-flex n-flex-col n-gap-2", children: [msg.thinkingTime !== undefined && ((0, jsx_runtime_1.jsx)(ai_1.Thinking, { isThinking: false, thinkingMs: msg.thinkingTime })), (0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-2", children: [(0, jsx_runtime_1.jsx)(ai_1.Response, { children: msg.content }), msg.isDone === true && ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-row n-gap-1.5", children: [(0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { size: "small", description: "Dislike", children: (0, jsx_runtime_1.jsx)(icons_1.HandThumbDownIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { size: "small", description: "Re-run", children: (0, jsx_runtime_1.jsx)(icons_1.ArrowPathIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { size: "small", description: "Copy", children: (0, jsx_runtime_1.jsx)(icons_1.Square2StackIconOutline, {}) })] }))] })] })) }, idx))), isThinking && (0, jsx_runtime_1.jsx)(ai_1.Thinking, { isThinking: true }), (0, jsx_runtime_1.jsx)("div", { ref: messagesEndRef })] })) }), (0, jsx_runtime_1.jsx)("div", { className: "n-px-4 n-pt-4 n-pb-1 n-mt-auto", children: (0, jsx_runtime_1.jsx)(ai_1.Prompt, { value: prompt, onChange: (event) => setPrompt(event.target.value), onSubmitPrompt: () => handleSend(), onCancelPrompt: handleCancel, isRunningPrompt: isThinking || isStreaming, isSubmitDisabled: prompt.length === 0 && !(isThinking || isStreaming), bottomContent: (0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { description: "Add files", size: "small", children: (0, jsx_runtime_1.jsx)(icons_1.PlusIconOutline, {}) }) }) })] }) }));
156
+ }, children: msg.content }) })) : ((0, jsx_runtime_1.jsxs)("div", { className: "w-full flex flex-col gap-2", children: [msg.thinkingTime !== undefined && ((0, jsx_runtime_1.jsx)(ai_1.Thinking, { isThinking: false, thinkingMs: msg.thinkingTime })), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-2", children: [(0, jsx_runtime_1.jsx)(ai_1.Response, { children: msg.content }), msg.isDone === true && ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row gap-1.5", children: [(0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { size: "small", description: "Dislike", children: (0, jsx_runtime_1.jsx)(icons_1.HandThumbDownIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { size: "small", description: "Re-run", children: (0, jsx_runtime_1.jsx)(icons_1.ArrowPathIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { size: "small", description: "Copy", children: (0, jsx_runtime_1.jsx)(icons_1.Square2StackIconOutline, {}) })] }))] })] })) }, idx))), isThinking && (0, jsx_runtime_1.jsx)(ai_1.Thinking, { isThinking: true }), (0, jsx_runtime_1.jsx)("div", { ref: messagesEndRef })] })) }), (0, jsx_runtime_1.jsx)("div", { className: "px-4 pt-4 pb-1 mt-auto", children: (0, jsx_runtime_1.jsx)(ai_1.Prompt, { value: prompt, onChange: (event) => setPrompt(event.target.value), onSubmitPrompt: () => handleSend(), onCancelPrompt: handleCancel, isRunningPrompt: isThinking || isStreaming, isSubmitDisabled: prompt.length === 0 && !(isThinking || isStreaming), bottomContent: (0, jsx_runtime_1.jsx)(react_1.CleanIconButton, { description: "Add files", size: "small", children: (0, jsx_runtime_1.jsx)(icons_1.PlusIconOutline, {}) }) }) })] }) }));
157
157
  };
158
158
  exports.Component = Component;
159
159
  exports.default = exports.Component;
@@ -1 +1 @@
1
- {"version":3,"file":"response-full-example.story.js","sourceRoot":"","sources":["../../../../../src/ai/response/stories/response-full-example.story.tsx"],"names":[],"mappings":"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","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { CleanIconButton, TextLink, Typography } from '@neo4j-ndl/react';\nimport {\n Prompt,\n Response,\n Suggestion,\n Thinking,\n UserBubble,\n} from '@neo4j-ndl/react/ai';\nimport {\n ArrowPathIconOutline,\n Cog6ToothIconOutline,\n HandThumbDownIconOutline,\n PlusIconOutline,\n Square2StackIconOutline,\n XMarkIconOutline,\n} from '@neo4j-ndl/react/icons';\nimport { useEffect, useRef, useState } from 'react';\n\nconst FAKE_RESPONSES = [\n `Here is a simple response with some **bold text** and *italics*.`,\n `Here is a list of items:\n- Item 1\n- Item 2\n- Item 3`,\n `Here is a code block example:\n\n\\`\\`\\`typescript\nconst greeting = \"Hello World\";\nconsole.log(greeting);\n\\`\\`\\`\n`,\n `# Heading 1\n## Heading 2\n### Heading 3\n\nSome text under headings.`,\n `You can also use tables:\n\n| Header 1 | Header 2 |\n|Data 1|Data 2|\n|Data 3|Data 4|\n`,\n];\n\nexport const Component = () => {\n const [messages, setMessages] = useState<\n {\n role: 'user' | 'assistant';\n content: string;\n thinkingTime?: number;\n isDone?: boolean;\n }[]\n >([]);\n const [prompt, setPrompt] = useState('');\n const [isThinking, setIsThinking] = useState(false);\n const [isStreaming, setIsStreaming] = useState(false);\n const [responseIndex, setResponseIndex] = useState(0);\n const messagesEndRef = useRef<HTMLDivElement>(null);\n const timeoutRef = useRef<NodeJS.Timeout | null>(null);\n const intervalRef = useRef<NodeJS.Timeout | null>(null);\n\n const scrollToBottom = () => {\n messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' });\n };\n\n useEffect(() => {\n scrollToBottom();\n }, [messages, isThinking]);\n\n const handleCancel = () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n if (intervalRef.current) {\n clearInterval(intervalRef.current);\n }\n setIsThinking(false);\n setIsStreaming(false);\n\n // Mark the last message as done if stopped\n setMessages((prev) => {\n const newMessages = [...prev];\n const lastMessage = newMessages[newMessages.length - 1];\n if (lastMessage?.role === 'assistant') {\n lastMessage.isDone = true;\n }\n return newMessages;\n });\n };\n\n const handleSend = (overridePrompt?: string) => {\n const textToSend = overridePrompt || prompt;\n\n if (!textToSend.trim()) {\n return;\n }\n\n setMessages((prev) => [...prev, { content: textToSend, role: 'user' }]);\n setPrompt('');\n setIsThinking(true);\n const startTime = Date.now();\n\n // Simulate network delay (thinking time)\n timeoutRef.current = setTimeout(() => {\n const endTime = Date.now();\n const thinkingTime = endTime - startTime;\n setIsThinking(false);\n setIsStreaming(true);\n\n const responseText = FAKE_RESPONSES[responseIndex];\n setResponseIndex((prev) => (prev + 1) % FAKE_RESPONSES.length);\n\n let currentText = '';\n setMessages((prev) => [\n ...prev,\n { content: '', isDone: false, role: 'assistant', thinkingTime },\n ]);\n\n // Simulate streaming\n intervalRef.current = setInterval(() => {\n if (currentText.length < responseText.length) {\n // Add a few characters at a time to simulate chunks\n // Ensure we don't split newlines incorrectly if that's an issue,\n // but simple slicing should be fine as long as the source has \\n.\n const chunk = responseText.slice(\n currentText.length,\n currentText.length + 2,\n );\n currentText += chunk;\n\n setMessages((prev) => {\n const newMessages = [...prev];\n const lastMessage = newMessages[newMessages.length - 1];\n if (lastMessage.role === 'assistant') {\n lastMessage.content = currentText;\n }\n return newMessages;\n });\n } else {\n if (intervalRef.current) {\n clearInterval(intervalRef.current);\n }\n setIsStreaming(false);\n setMessages((prev) => {\n const newMessages = [...prev];\n const lastMessage = newMessages[newMessages.length - 1];\n if (lastMessage.role === 'assistant') {\n lastMessage.isDone = true;\n }\n return newMessages;\n });\n }\n }, 50);\n }, 2000);\n };\n\n return (\n <section className=\"n-h-screen\">\n <div className=\"n-w-[440px] n-h-full n-flex n-flex-col n-bg-neutral-bg-weak\">\n <div className=\"n-flex n-flex-row n-border-b n-border-neutral-border-weak n-p-3\">\n <div className=\"n-ml-auto\">\n <CleanIconButton description=\"settings\" tooltipProps={{}}>\n <Cog6ToothIconOutline />\n </CleanIconButton>\n <CleanIconButton description=\"close\">\n <XMarkIconOutline />\n </CleanIconButton>\n </div>\n </div>\n <div className=\"n-p-4 n-flex n-flex-col n-grow n-overflow-y-auto\">\n {messages.length === 0 ? (\n <div className=\"n-flex n-flex-col \">\n <div className=\"n-flex n-flex-col n-gap-12\">\n <Typography variant=\"display\">\n Hi [User], how can I help you today?\n </Typography>\n <div className=\"n-flex n-flex-col n-gap-4\">\n <Typography variant=\"body-medium\">Suggestions</Typography>\n <Suggestion\n isPrimary\n onClick={() => {\n handleSend('I want to import data');\n }}\n >\n I want to import data\n </Suggestion>\n <Suggestion\n onClick={() => {\n handleSend('Create an AI agent');\n }}\n >\n Create an AI agent\n </Suggestion>\n <Suggestion\n onClick={() => {\n handleSend('Invite project members');\n }}\n >\n Invite project members\n </Suggestion>\n <Suggestion\n onClick={() => {\n handleSend('Generate a report');\n }}\n >\n Generate a report\n </Suggestion>\n </div>\n <Typography variant=\"body-medium\">\n You can also drag and drop files here, or{' '}\n <TextLink as=\"button\" type=\"internal-underline\">\n browse\n </TextLink>\n . Supports CVG, MOV, PDF\n </Typography>\n </div>\n </div>\n ) : (\n <div className=\"n-flex n-flex-col n-gap-4 n-pb-4\">\n {messages.map((msg, idx) => (\n <div\n key={idx}\n className={`n-flex ${\n msg.role === 'user' ? 'n-justify-end' : 'n-justify-start'\n }`}\n >\n {msg.role === 'user' ? (\n <div className=\"n-max-w-[85%]\">\n <UserBubble\n avatarProps={{\n name: 'NM',\n type: 'letters',\n }}\n >\n {msg.content}\n </UserBubble>\n </div>\n ) : (\n <div className=\"n-w-full n-flex n-flex-col n-gap-2\">\n {msg.thinkingTime !== undefined && (\n <Thinking\n isThinking={false}\n thinkingMs={msg.thinkingTime}\n />\n )}\n <div className=\"n-flex n-flex-col n-gap-2\">\n <Response>{msg.content}</Response>\n\n {msg.isDone === true && (\n <div className=\"n-flex n-flex-row n-gap-1.5\">\n <CleanIconButton size=\"small\" description=\"Dislike\">\n <HandThumbDownIconOutline />\n </CleanIconButton>\n <CleanIconButton size=\"small\" description=\"Re-run\">\n <ArrowPathIconOutline />\n </CleanIconButton>\n <CleanIconButton size=\"small\" description=\"Copy\">\n <Square2StackIconOutline />\n </CleanIconButton>\n </div>\n )}\n </div>\n </div>\n )}\n </div>\n ))}\n {isThinking && <Thinking isThinking={true} />}\n <div ref={messagesEndRef} />\n </div>\n )}\n </div>\n <div className=\"n-px-4 n-pt-4 n-pb-1 n-mt-auto\">\n <Prompt\n value={prompt}\n onChange={(event) => setPrompt(event.target.value)}\n onSubmitPrompt={() => handleSend()}\n onCancelPrompt={handleCancel}\n isRunningPrompt={isThinking || isStreaming}\n isSubmitDisabled={\n prompt.length === 0 && !(isThinking || isStreaming)\n }\n bottomContent={\n <CleanIconButton description=\"Add files\" size=\"small\">\n <PlusIconOutline />\n </CleanIconButton>\n }\n />\n </div>\n </div>\n </section>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"response-full-example.story.js","sourceRoot":"","sources":["../../../../../src/ai/response/stories/response-full-example.story.tsx"],"names":[],"mappings":"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","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { CleanIconButton, TextLink, Typography } from '@neo4j-ndl/react';\nimport {\n Prompt,\n Response,\n Suggestion,\n Thinking,\n UserBubble,\n} from '@neo4j-ndl/react/ai';\nimport {\n ArrowPathIconOutline,\n Cog6ToothIconOutline,\n HandThumbDownIconOutline,\n PlusIconOutline,\n Square2StackIconOutline,\n XMarkIconOutline,\n} from '@neo4j-ndl/react/icons';\nimport { useEffect, useRef, useState } from 'react';\n\nconst FAKE_RESPONSES = [\n `Here is a simple response with some **bold text** and *italics*.`,\n `Here is a list of items:\n- Item 1\n- Item 2\n- Item 3`,\n `Here is a code block example:\n\n\\`\\`\\`typescript\nconst greeting = \"Hello World\";\nconsole.log(greeting);\n\\`\\`\\`\n`,\n `# Heading 1\n## Heading 2\n### Heading 3\n\nSome text under headings.`,\n `You can also use tables:\n\n| Header 1 | Header 2 |\n|Data 1|Data 2|\n|Data 3|Data 4|\n`,\n];\n\nexport const Component = () => {\n const [messages, setMessages] = useState<\n {\n role: 'user' | 'assistant';\n content: string;\n thinkingTime?: number;\n isDone?: boolean;\n }[]\n >([]);\n const [prompt, setPrompt] = useState('');\n const [isThinking, setIsThinking] = useState(false);\n const [isStreaming, setIsStreaming] = useState(false);\n const [responseIndex, setResponseIndex] = useState(0);\n const messagesEndRef = useRef<HTMLDivElement>(null);\n const timeoutRef = useRef<NodeJS.Timeout | null>(null);\n const intervalRef = useRef<NodeJS.Timeout | null>(null);\n\n const scrollToBottom = () => {\n messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' });\n };\n\n useEffect(() => {\n scrollToBottom();\n }, [messages, isThinking]);\n\n const handleCancel = () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n if (intervalRef.current) {\n clearInterval(intervalRef.current);\n }\n setIsThinking(false);\n setIsStreaming(false);\n\n // Mark the last message as done if stopped\n setMessages((prev) => {\n const newMessages = [...prev];\n const lastMessage = newMessages[newMessages.length - 1];\n if (lastMessage?.role === 'assistant') {\n lastMessage.isDone = true;\n }\n return newMessages;\n });\n };\n\n const handleSend = (overridePrompt?: string) => {\n const textToSend = overridePrompt || prompt;\n\n if (!textToSend.trim()) {\n return;\n }\n\n setMessages((prev) => [...prev, { content: textToSend, role: 'user' }]);\n setPrompt('');\n setIsThinking(true);\n const startTime = Date.now();\n\n // Simulate network delay (thinking time)\n timeoutRef.current = setTimeout(() => {\n const endTime = Date.now();\n const thinkingTime = endTime - startTime;\n setIsThinking(false);\n setIsStreaming(true);\n\n const responseText = FAKE_RESPONSES[responseIndex];\n setResponseIndex((prev) => (prev + 1) % FAKE_RESPONSES.length);\n\n let currentText = '';\n setMessages((prev) => [\n ...prev,\n { content: '', isDone: false, role: 'assistant', thinkingTime },\n ]);\n\n // Simulate streaming\n intervalRef.current = setInterval(() => {\n if (currentText.length < responseText.length) {\n // Add a few characters at a time to simulate chunks\n // Ensure we don't split newlines incorrectly if that's an issue,\n // but simple slicing should be fine as long as the source has \\n.\n const chunk = responseText.slice(\n currentText.length,\n currentText.length + 2,\n );\n currentText += chunk;\n\n setMessages((prev) => {\n const newMessages = [...prev];\n const lastMessage = newMessages[newMessages.length - 1];\n if (lastMessage.role === 'assistant') {\n lastMessage.content = currentText;\n }\n return newMessages;\n });\n } else {\n if (intervalRef.current) {\n clearInterval(intervalRef.current);\n }\n setIsStreaming(false);\n setMessages((prev) => {\n const newMessages = [...prev];\n const lastMessage = newMessages[newMessages.length - 1];\n if (lastMessage.role === 'assistant') {\n lastMessage.isDone = true;\n }\n return newMessages;\n });\n }\n }, 50);\n }, 2000);\n };\n\n return (\n <section className=\"h-screen\">\n <div className=\"w-[440px] h-full flex flex-col bg-neutral-bg-weak\">\n <div className=\"flex flex-row border-b border-neutral-border-weak p-3\">\n <div className=\"ml-auto\">\n <CleanIconButton description=\"settings\" tooltipProps={{}}>\n <Cog6ToothIconOutline />\n </CleanIconButton>\n <CleanIconButton description=\"close\">\n <XMarkIconOutline />\n </CleanIconButton>\n </div>\n </div>\n <div className=\"p-4 flex flex-col grow overflow-y-auto\">\n {messages.length === 0 ? (\n <div className=\"flex flex-col \">\n <div className=\"flex flex-col gap-12\">\n <Typography variant=\"display\">\n Hi [User], how can I help you today?\n </Typography>\n <div className=\"flex flex-col gap-4\">\n <Typography variant=\"body-medium\">Suggestions</Typography>\n <Suggestion\n isPrimary\n onClick={() => {\n handleSend('I want to import data');\n }}\n >\n I want to import data\n </Suggestion>\n <Suggestion\n onClick={() => {\n handleSend('Create an AI agent');\n }}\n >\n Create an AI agent\n </Suggestion>\n <Suggestion\n onClick={() => {\n handleSend('Invite project members');\n }}\n >\n Invite project members\n </Suggestion>\n <Suggestion\n onClick={() => {\n handleSend('Generate a report');\n }}\n >\n Generate a report\n </Suggestion>\n </div>\n <Typography variant=\"body-medium\">\n You can also drag and drop files here, or{' '}\n <TextLink as=\"button\" type=\"internal\">\n browse\n </TextLink>\n . Supports CVG, MOV, PDF\n </Typography>\n </div>\n </div>\n ) : (\n <div className=\"flex flex-col gap-4 pb-4\">\n {messages.map((msg, idx) => (\n <div\n key={idx}\n className={`flex ${\n msg.role === 'user' ? 'justify-end' : 'justify-start'\n }`}\n >\n {msg.role === 'user' ? (\n <div className=\"max-w-[85%]\">\n <UserBubble\n avatarProps={{\n name: 'NM',\n type: 'letters',\n }}\n >\n {msg.content}\n </UserBubble>\n </div>\n ) : (\n <div className=\"w-full flex flex-col gap-2\">\n {msg.thinkingTime !== undefined && (\n <Thinking\n isThinking={false}\n thinkingMs={msg.thinkingTime}\n />\n )}\n <div className=\"flex flex-col gap-2\">\n <Response>{msg.content}</Response>\n\n {msg.isDone === true && (\n <div className=\"flex flex-row gap-1.5\">\n <CleanIconButton size=\"small\" description=\"Dislike\">\n <HandThumbDownIconOutline />\n </CleanIconButton>\n <CleanIconButton size=\"small\" description=\"Re-run\">\n <ArrowPathIconOutline />\n </CleanIconButton>\n <CleanIconButton size=\"small\" description=\"Copy\">\n <Square2StackIconOutline />\n </CleanIconButton>\n </div>\n )}\n </div>\n </div>\n )}\n </div>\n ))}\n {isThinking && <Thinking isThinking={true} />}\n <div ref={messagesEndRef} />\n </div>\n )}\n </div>\n <div className=\"px-4 pt-4 pb-1 mt-auto\">\n <Prompt\n value={prompt}\n onChange={(event) => setPrompt(event.target.value)}\n onSubmitPrompt={() => handleSend()}\n onCancelPrompt={handleCancel}\n isRunningPrompt={isThinking || isStreaming}\n isSubmitDisabled={\n prompt.length === 0 && !(isThinking || isStreaming)\n }\n bottomContent={\n <CleanIconButton description=\"Add files\" size=\"small\">\n <PlusIconOutline />\n </CleanIconButton>\n }\n />\n </div>\n </div>\n </section>\n );\n};\n\nexport default Component;\n"]}
@@ -24,7 +24,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
24
24
  require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const ai_1 = require("@neo4j-ndl/react/ai");
26
26
  const Component = () => {
27
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-row n-gap-token-8", children: [(0, jsx_runtime_1.jsx)(ai_1.Suggestion, { size: "small", children: "This is a small suggestion" }), (0, jsx_runtime_1.jsx)(ai_1.Suggestion, { size: "large", children: "This is a large suggestion" })] }));
27
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row gap-token-8", children: [(0, jsx_runtime_1.jsx)(ai_1.Suggestion, { size: "small", children: "This is a small suggestion" }), (0, jsx_runtime_1.jsx)(ai_1.Suggestion, { size: "large", children: "This is a large suggestion" })] }));
28
28
  };
29
29
  exports.default = Component;
30
30
  //# sourceMappingURL=suggestion-sizes.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"suggestion-sizes.story.js","sourceRoot":"","sources":["../../../../../src/ai/suggestion/stories/suggestion-sizes.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAiD;AAEjD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,uBAAC,eAAU,IAAC,IAAI,EAAC,OAAO,2CAAwC,EAChE,uBAAC,eAAU,IAAC,IAAI,EAAC,OAAO,2CAAwC,IAC5D,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Suggestion } from '@neo4j-ndl/react/ai';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-flex-row n-gap-token-8\">\n <Suggestion size=\"small\">This is a small suggestion</Suggestion>\n <Suggestion size=\"large\">This is a large suggestion</Suggestion>\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"suggestion-sizes.story.js","sourceRoot":"","sources":["../../../../../src/ai/suggestion/stories/suggestion-sizes.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAiD;AAEjD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,2BAA2B,aACxC,uBAAC,eAAU,IAAC,IAAI,EAAC,OAAO,2CAAwC,EAChE,uBAAC,eAAU,IAAC,IAAI,EAAC,OAAO,2CAAwC,IAC5D,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Suggestion } from '@neo4j-ndl/react/ai';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-row gap-token-8\">\n <Suggestion size=\"small\">This is a small suggestion</Suggestion>\n <Suggestion size=\"large\">This is a large suggestion</Suggestion>\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -29,7 +29,7 @@ const react_2 = require("react");
29
29
  const Component = () => {
30
30
  const [isMenuOpen, setIsMenuOpen] = (0, react_2.useState)(false);
31
31
  const anchorRef = (0, react_2.useRef)(null);
32
- return ((0, jsx_runtime_1.jsx)("div", { className: "n-flex n-flex-coln-gap-token-64 n-w-full n-justify-end", children: (0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-token-8 n-items-end", children: [(0, jsx_runtime_1.jsx)(ai_1.MoreFiles, { count: 3, isActive: isMenuOpen, onClick: () => setIsMenuOpen(!isMenuOpen), ref: anchorRef }), (0, jsx_runtime_1.jsxs)(react_1.Menu, { isOpen: isMenuOpen, anchorRef: anchorRef, onClose: () => setIsMenuOpen(false), children: [(0, jsx_runtime_1.jsx)(react_1.Menu.Item, { leadingVisual: (0, jsx_runtime_1.jsx)(icons_1.DocumentIconOutline, {}), title: "Gardening tips", description: "PDF", onClick: () => alert('Gardening tips') }), (0, jsx_runtime_1.jsx)(react_1.Menu.Item, { leadingVisual: (0, jsx_runtime_1.jsx)(icons_1.TableCellsIconOutline, {}), title: "TvSeries", description: "CSV", onClick: () => alert('TvSeries') }), (0, jsx_runtime_1.jsx)(react_1.Menu.Item, { leadingVisual: (0, jsx_runtime_1.jsx)(icons_1.PhotoIconOutline, {}), title: "Family photo", description: "JPG", onClick: () => alert('Family photo') })] }), (0, jsx_runtime_1.jsx)(ai_1.ImageTag, { src: "https://plus.unsplash.com/premium_photo-1676496046182-356a6a0ed002?q=80&w=2952&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D", alt: "Landscape image", fileName: "Landscape image", fileType: "jpg" }), (0, jsx_runtime_1.jsx)(ai_1.FileTag, { icon: (0, jsx_runtime_1.jsx)(icons_1.TableCellsIconOutline, {}), fileName: "MoviesDecade", fileType: "csv" }), (0, jsx_runtime_1.jsx)(ai_1.FileTag, { icon: (0, jsx_runtime_1.jsx)(icons_1.DocumentIconOutline, {}), fileName: "Science Fiction Bestsellers", fileType: "pdf" }), (0, jsx_runtime_1.jsx)(ai_1.UserBubble, { avatarProps: {
32
+ return ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-coln-gap-token-64 w-full justify-end", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-token-8 items-end", children: [(0, jsx_runtime_1.jsx)(ai_1.MoreFiles, { count: 3, isActive: isMenuOpen, onClick: () => setIsMenuOpen(!isMenuOpen), ref: anchorRef }), (0, jsx_runtime_1.jsxs)(react_1.Menu, { isOpen: isMenuOpen, anchorRef: anchorRef, onClose: () => setIsMenuOpen(false), children: [(0, jsx_runtime_1.jsx)(react_1.Menu.Item, { leadingVisual: (0, jsx_runtime_1.jsx)(icons_1.DocumentIconOutline, {}), title: "Gardening tips", description: "PDF", onClick: () => alert('Gardening tips') }), (0, jsx_runtime_1.jsx)(react_1.Menu.Item, { leadingVisual: (0, jsx_runtime_1.jsx)(icons_1.TableCellsIconOutline, {}), title: "TvSeries", description: "CSV", onClick: () => alert('TvSeries') }), (0, jsx_runtime_1.jsx)(react_1.Menu.Item, { leadingVisual: (0, jsx_runtime_1.jsx)(icons_1.PhotoIconOutline, {}), title: "Family photo", description: "JPG", onClick: () => alert('Family photo') })] }), (0, jsx_runtime_1.jsx)(ai_1.ImageTag, { src: "https://plus.unsplash.com/premium_photo-1676496046182-356a6a0ed002?q=80&w=2952&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D", alt: "Landscape image", fileName: "Landscape image", fileType: "jpg" }), (0, jsx_runtime_1.jsx)(ai_1.FileTag, { icon: (0, jsx_runtime_1.jsx)(icons_1.TableCellsIconOutline, {}), fileName: "MoviesDecade", fileType: "csv" }), (0, jsx_runtime_1.jsx)(ai_1.FileTag, { icon: (0, jsx_runtime_1.jsx)(icons_1.DocumentIconOutline, {}), fileName: "Science Fiction Bestsellers", fileType: "pdf" }), (0, jsx_runtime_1.jsx)(ai_1.UserBubble, { avatarProps: {
33
33
  name: 'KM',
34
34
  source: 'https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=',
35
35
  type: 'image',
@@ -1 +1 @@
1
- {"version":3,"file":"user-bubble-and-files.story.js","sourceRoot":"","sources":["../../../../../src/ai/user-bubble/stories/user-bubble-and-files.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAwC;AACxC,4CAA+E;AAC/E,kDAIgC;AAChC,iCAAyC;AAEzC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,IAAA,cAAM,EAA2B,IAAI,CAAC,CAAC;IAEzD,OAAO,CACL,gCAAK,SAAS,EAAC,wDAAwD,YACrE,iCAAK,SAAS,EAAC,6CAA6C,aAC1D,uBAAC,cAAS,IACR,KAAK,EAAE,CAAC,EACR,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,UAAU,CAAC,EACzC,GAAG,EAAE,SAAS,GACd,EACF,wBAAC,YAAI,IACH,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,aAEnC,uBAAC,YAAI,CAAC,IAAI,IACR,aAAa,EAAE,uBAAC,2BAAmB,KAAG,EACtC,KAAK,EAAC,gBAAgB,EACtB,WAAW,EAAC,KAAK,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,GACtC,EACF,uBAAC,YAAI,CAAC,IAAI,IACR,aAAa,EAAE,uBAAC,6BAAqB,KAAG,EACxC,KAAK,EAAC,UAAU,EAChB,WAAW,EAAC,KAAK,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,GAChC,EACF,uBAAC,YAAI,CAAC,IAAI,IACR,aAAa,EAAE,uBAAC,wBAAgB,KAAG,EACnC,KAAK,EAAC,cAAc,EACpB,WAAW,EAAC,KAAK,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,GACpC,IACG,EACP,uBAAC,aAAQ,IACP,GAAG,EAAC,8KAA8K,EAClL,GAAG,EAAC,iBAAiB,EACrB,QAAQ,EAAC,iBAAiB,EAC1B,QAAQ,EAAC,KAAK,GACd,EACF,uBAAC,YAAO,IACN,IAAI,EAAE,uBAAC,6BAAqB,KAAG,EAC/B,QAAQ,EAAC,cAAc,EACvB,QAAQ,EAAC,KAAK,GACd,EACF,uBAAC,YAAO,IACN,IAAI,EAAE,uBAAC,2BAAmB,KAAG,EAC7B,QAAQ,EAAC,6BAA6B,EACtC,QAAQ,EAAC,KAAK,GACd,EACF,uBAAC,eAAU,IACT,WAAW,EAAE;wBACX,IAAI,EAAE,IAAI;wBACV,MAAM,EACJ,uIAAuI;wBACzI,IAAI,EAAE,OAAO;qBACd,8DAGU,IACT,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Menu } from '@neo4j-ndl/react';\nimport { FileTag, ImageTag, MoreFiles, UserBubble } from '@neo4j-ndl/react/ai';\nimport {\n DocumentIconOutline,\n PhotoIconOutline,\n TableCellsIconOutline,\n} from '@neo4j-ndl/react/icons';\nimport { useRef, useState } from 'react';\n\nconst Component = () => {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n const anchorRef = useRef<HTMLButtonElement | null>(null);\n\n return (\n <div className=\"n-flex n-flex-coln-gap-token-64 n-w-full n-justify-end\">\n <div className=\"n-flex n-flex-col n-gap-token-8 n-items-end\">\n <MoreFiles\n count={3}\n isActive={isMenuOpen}\n onClick={() => setIsMenuOpen(!isMenuOpen)}\n ref={anchorRef}\n />\n <Menu\n isOpen={isMenuOpen}\n anchorRef={anchorRef}\n onClose={() => setIsMenuOpen(false)}\n >\n <Menu.Item\n leadingVisual={<DocumentIconOutline />}\n title=\"Gardening tips\"\n description=\"PDF\"\n onClick={() => alert('Gardening tips')}\n />\n <Menu.Item\n leadingVisual={<TableCellsIconOutline />}\n title=\"TvSeries\"\n description=\"CSV\"\n onClick={() => alert('TvSeries')}\n />\n <Menu.Item\n leadingVisual={<PhotoIconOutline />}\n title=\"Family photo\"\n description=\"JPG\"\n onClick={() => alert('Family photo')}\n />\n </Menu>\n <ImageTag\n src=\"https://plus.unsplash.com/premium_photo-1676496046182-356a6a0ed002?q=80&w=2952&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n alt=\"Landscape image\"\n fileName=\"Landscape image\"\n fileType=\"jpg\"\n />\n <FileTag\n icon={<TableCellsIconOutline />}\n fileName=\"MoviesDecade\"\n fileType=\"csv\"\n />\n <FileTag\n icon={<DocumentIconOutline />}\n fileName=\"Science Fiction Bestsellers\"\n fileType=\"pdf\"\n />\n <UserBubble\n avatarProps={{\n name: 'KM',\n source:\n 'https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=',\n type: 'image',\n }}\n >\n Can you analyse my data and tell me about...?\n </UserBubble>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"user-bubble-and-files.story.js","sourceRoot":"","sources":["../../../../../src/ai/user-bubble/stories/user-bubble-and-files.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAwC;AACxC,4CAA+E;AAC/E,kDAIgC;AAChC,iCAAyC;AAEzC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,IAAA,cAAM,EAA2B,IAAI,CAAC,CAAC;IAEzD,OAAO,CACL,gCAAK,SAAS,EAAC,gDAAgD,YAC7D,iCAAK,SAAS,EAAC,qCAAqC,aAClD,uBAAC,cAAS,IACR,KAAK,EAAE,CAAC,EACR,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,UAAU,CAAC,EACzC,GAAG,EAAE,SAAS,GACd,EACF,wBAAC,YAAI,IACH,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,aAEnC,uBAAC,YAAI,CAAC,IAAI,IACR,aAAa,EAAE,uBAAC,2BAAmB,KAAG,EACtC,KAAK,EAAC,gBAAgB,EACtB,WAAW,EAAC,KAAK,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,GACtC,EACF,uBAAC,YAAI,CAAC,IAAI,IACR,aAAa,EAAE,uBAAC,6BAAqB,KAAG,EACxC,KAAK,EAAC,UAAU,EAChB,WAAW,EAAC,KAAK,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,GAChC,EACF,uBAAC,YAAI,CAAC,IAAI,IACR,aAAa,EAAE,uBAAC,wBAAgB,KAAG,EACnC,KAAK,EAAC,cAAc,EACpB,WAAW,EAAC,KAAK,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,GACpC,IACG,EACP,uBAAC,aAAQ,IACP,GAAG,EAAC,8KAA8K,EAClL,GAAG,EAAC,iBAAiB,EACrB,QAAQ,EAAC,iBAAiB,EAC1B,QAAQ,EAAC,KAAK,GACd,EACF,uBAAC,YAAO,IACN,IAAI,EAAE,uBAAC,6BAAqB,KAAG,EAC/B,QAAQ,EAAC,cAAc,EACvB,QAAQ,EAAC,KAAK,GACd,EACF,uBAAC,YAAO,IACN,IAAI,EAAE,uBAAC,2BAAmB,KAAG,EAC7B,QAAQ,EAAC,6BAA6B,EACtC,QAAQ,EAAC,KAAK,GACd,EACF,uBAAC,eAAU,IACT,WAAW,EAAE;wBACX,IAAI,EAAE,IAAI;wBACV,MAAM,EACJ,uIAAuI;wBACzI,IAAI,EAAE,OAAO;qBACd,8DAGU,IACT,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Menu } from '@neo4j-ndl/react';\nimport { FileTag, ImageTag, MoreFiles, UserBubble } from '@neo4j-ndl/react/ai';\nimport {\n DocumentIconOutline,\n PhotoIconOutline,\n TableCellsIconOutline,\n} from '@neo4j-ndl/react/icons';\nimport { useRef, useState } from 'react';\n\nconst Component = () => {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n const anchorRef = useRef<HTMLButtonElement | null>(null);\n\n return (\n <div className=\"flex flex-coln-gap-token-64 w-full justify-end\">\n <div className=\"flex flex-col gap-token-8 items-end\">\n <MoreFiles\n count={3}\n isActive={isMenuOpen}\n onClick={() => setIsMenuOpen(!isMenuOpen)}\n ref={anchorRef}\n />\n <Menu\n isOpen={isMenuOpen}\n anchorRef={anchorRef}\n onClose={() => setIsMenuOpen(false)}\n >\n <Menu.Item\n leadingVisual={<DocumentIconOutline />}\n title=\"Gardening tips\"\n description=\"PDF\"\n onClick={() => alert('Gardening tips')}\n />\n <Menu.Item\n leadingVisual={<TableCellsIconOutline />}\n title=\"TvSeries\"\n description=\"CSV\"\n onClick={() => alert('TvSeries')}\n />\n <Menu.Item\n leadingVisual={<PhotoIconOutline />}\n title=\"Family photo\"\n description=\"JPG\"\n onClick={() => alert('Family photo')}\n />\n </Menu>\n <ImageTag\n src=\"https://plus.unsplash.com/premium_photo-1676496046182-356a6a0ed002?q=80&w=2952&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n alt=\"Landscape image\"\n fileName=\"Landscape image\"\n fileType=\"jpg\"\n />\n <FileTag\n icon={<TableCellsIconOutline />}\n fileName=\"MoviesDecade\"\n fileType=\"csv\"\n />\n <FileTag\n icon={<DocumentIconOutline />}\n fileName=\"Science Fiction Bestsellers\"\n fileType=\"pdf\"\n />\n <UserBubble\n avatarProps={{\n name: 'KM',\n source:\n 'https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=',\n type: 'image',\n }}\n >\n Can you analyse my data and tell me about...?\n </UserBubble>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -25,7 +25,7 @@ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const react_1 = require("@neo4j-ndl/react");
26
26
  const icons_1 = require("@neo4j-ndl/react/icons");
27
27
  const Component = () => {
28
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-token-8 n-w-full", children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "discovery", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Discovery with the default Sparkles icon" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "discovery", hasIcon: true, icon: (0, jsx_runtime_1.jsx)(icons_1.GiftIconSolid, {}), children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Discovery with a custom gift icon" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "neutral", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Neutral with the default Bolt icon" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "neutral", hasIcon: true, icon: (0, jsx_runtime_1.jsx)(icons_1.RocketLaunchIconSolid, {}), children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Neutral with a custom rocket icon" }) })] }));
28
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-token-8 w-full", children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "discovery", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Discovery with the default Sparkles icon" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "discovery", hasIcon: true, icon: (0, jsx_runtime_1.jsx)(icons_1.GiftIconSolid, {}), children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Discovery with a custom gift icon" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "neutral", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Neutral with the default Bolt icon" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "neutral", hasIcon: true, icon: (0, jsx_runtime_1.jsx)(icons_1.RocketLaunchIconSolid, {}), children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Neutral with a custom rocket icon" }) })] }));
29
29
  };
30
30
  exports.default = Component;
31
31
  //# sourceMappingURL=announcement-banner-custom-icons.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"announcement-banner-custom-icons.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-custom-icons.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAsD;AACtD,kDAA8E;AAE9E,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,0CAA0C,aACvD,uBAAC,0BAAkB,IAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAE,IAAI,YACnD,uBAAC,0BAAkB,CAAC,MAAM,2DAEE,GACT,EACrB,uBAAC,0BAAkB,IACjB,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,IAAI,EACb,IAAI,EAAE,uBAAC,qBAAa,KAAG,YAEvB,uBAAC,0BAAkB,CAAC,MAAM,oDAEE,GACT,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,YACjD,uBAAC,0BAAkB,CAAC,MAAM,qDAEE,GACT,EACrB,uBAAC,0BAAkB,IACjB,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,IAAI,EACb,IAAI,EAAE,uBAAC,6BAAqB,KAAG,YAE/B,uBAAC,0BAAkB,CAAC,MAAM,oDAEE,GACT,IACjB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { AnnouncementBanner } from '@neo4j-ndl/react';\nimport { GiftIconSolid, RocketLaunchIconSolid } from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-flex-col n-gap-token-8 n-w-full\">\n <AnnouncementBanner variant=\"discovery\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Discovery with the default Sparkles icon\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner\n variant=\"discovery\"\n hasIcon={true}\n icon={<GiftIconSolid />}\n >\n <AnnouncementBanner.Header>\n Discovery with a custom gift icon\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"neutral\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Neutral with the default Bolt icon\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner\n variant=\"neutral\"\n hasIcon={true}\n icon={<RocketLaunchIconSolid />}\n >\n <AnnouncementBanner.Header>\n Neutral with a custom rocket icon\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"announcement-banner-custom-icons.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-custom-icons.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAsD;AACtD,kDAA8E;AAE9E,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,kCAAkC,aAC/C,uBAAC,0BAAkB,IAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAE,IAAI,YACnD,uBAAC,0BAAkB,CAAC,MAAM,2DAEE,GACT,EACrB,uBAAC,0BAAkB,IACjB,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,IAAI,EACb,IAAI,EAAE,uBAAC,qBAAa,KAAG,YAEvB,uBAAC,0BAAkB,CAAC,MAAM,oDAEE,GACT,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,YACjD,uBAAC,0BAAkB,CAAC,MAAM,qDAEE,GACT,EACrB,uBAAC,0BAAkB,IACjB,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,IAAI,EACb,IAAI,EAAE,uBAAC,6BAAqB,KAAG,YAE/B,uBAAC,0BAAkB,CAAC,MAAM,oDAEE,GACT,IACjB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { AnnouncementBanner } from '@neo4j-ndl/react';\nimport { GiftIconSolid, RocketLaunchIconSolid } from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col gap-token-8 w-full\">\n <AnnouncementBanner variant=\"discovery\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Discovery with the default Sparkles icon\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner\n variant=\"discovery\"\n hasIcon={true}\n icon={<GiftIconSolid />}\n >\n <AnnouncementBanner.Header>\n Discovery with a custom gift icon\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"neutral\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Neutral with the default Bolt icon\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner\n variant=\"neutral\"\n hasIcon={true}\n icon={<RocketLaunchIconSolid />}\n >\n <AnnouncementBanner.Header>\n Neutral with a custom rocket icon\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -26,7 +26,7 @@ const react_1 = require("@neo4j-ndl/react");
26
26
  const react_2 = require("react");
27
27
  const Component = () => {
28
28
  const [isVisible, setIsVisible] = (0, react_2.useState)(false);
29
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-w-full", children: [isVisible && ((0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "discovery", hasIcon: true, liveRegion: "status", isCloseable: true, onClose: () => setIsVisible(false), children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "New Aura features are available for your organization." }) })), (0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-token-16 n-p-token-24 n-bg-neutral-bg-default", children: [(0, jsx_runtime_1.jsx)(react_1.OutlinedButton, { onClick: () => setIsVisible((visible) => !visible), children: isVisible ? 'Hide announcement' : 'Show announcement' }), (0, jsx_runtime_1.jsxs)(react_1.Typography, { variant: "body-medium", children: ["The page is already loaded. Toggle the announcement in to simulate a later campaign or poll. ", (0, jsx_runtime_1.jsx)("code", { children: "liveRegion=\"status\"" }), ' ', "announces politely without interrupting."] })] })] }));
29
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col w-full", children: [isVisible && ((0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "discovery", hasIcon: true, liveRegion: "status", isCloseable: true, onClose: () => setIsVisible(false), children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "New Aura features are available for your organization." }) })), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-token-16 p-token-24 bg-neutral-bg-default", children: [(0, jsx_runtime_1.jsx)(react_1.OutlinedButton, { onClick: () => setIsVisible((visible) => !visible), children: isVisible ? 'Hide announcement' : 'Show announcement' }), (0, jsx_runtime_1.jsxs)(react_1.Typography, { variant: "body-medium", children: ["The page is already loaded. Toggle the announcement in to simulate a later campaign or poll. ", (0, jsx_runtime_1.jsx)("code", { children: "liveRegion=\"status\"" }), ' ', "announces politely without interrupting."] })] })] }));
30
30
  };
31
31
  exports.default = Component;
32
32
  //# sourceMappingURL=announcement-banner-injected-non-urgent.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"announcement-banner-injected-non-urgent.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-injected-non-urgent.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAI0B;AAC1B,iCAAiC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAElD,OAAO,CACL,iCAAK,SAAS,EAAC,4BAA4B,aACxC,SAAS,IAAI,CACZ,uBAAC,0BAAkB,IACjB,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,IAAI,EACb,UAAU,EAAC,QAAQ,EACnB,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,YAElC,uBAAC,0BAAkB,CAAC,MAAM,yEAEE,GACT,CACtB,EACD,iCAAK,SAAS,EAAC,uEAAuE,aACpF,uBAAC,sBAAc,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,YAC/D,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,GACvC,EACjB,wBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,8GAEP,qEAA0C,EAAC,GAAG,gDAE3D,IACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport {\n AnnouncementBanner,\n OutlinedButton,\n Typography,\n} from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [isVisible, setIsVisible] = useState(false);\n\n return (\n <div className=\"n-flex n-flex-col n-w-full\">\n {isVisible && (\n <AnnouncementBanner\n variant=\"discovery\"\n hasIcon={true}\n liveRegion=\"status\"\n isCloseable={true}\n onClose={() => setIsVisible(false)}\n >\n <AnnouncementBanner.Header>\n New Aura features are available for your organization.\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n )}\n <div className=\"n-flex n-flex-col n-gap-token-16 n-p-token-24 n-bg-neutral-bg-default\">\n <OutlinedButton onClick={() => setIsVisible((visible) => !visible)}>\n {isVisible ? 'Hide announcement' : 'Show announcement'}\n </OutlinedButton>\n <Typography variant=\"body-medium\">\n The page is already loaded. Toggle the announcement in to simulate a\n later campaign or poll. <code>liveRegion=&quot;status&quot;</code>{' '}\n announces politely without interrupting.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"announcement-banner-injected-non-urgent.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-injected-non-urgent.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAI0B;AAC1B,iCAAiC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAElD,OAAO,CACL,iCAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CACZ,uBAAC,0BAAkB,IACjB,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,IAAI,EACb,UAAU,EAAC,QAAQ,EACnB,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,YAElC,uBAAC,0BAAkB,CAAC,MAAM,yEAEE,GACT,CACtB,EACD,iCAAK,SAAS,EAAC,6DAA6D,aAC1E,uBAAC,sBAAc,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,YAC/D,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,GACvC,EACjB,wBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,8GAEP,qEAA0C,EAAC,GAAG,gDAE3D,IACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport {\n AnnouncementBanner,\n OutlinedButton,\n Typography,\n} from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [isVisible, setIsVisible] = useState(false);\n\n return (\n <div className=\"flex flex-col w-full\">\n {isVisible && (\n <AnnouncementBanner\n variant=\"discovery\"\n hasIcon={true}\n liveRegion=\"status\"\n isCloseable={true}\n onClose={() => setIsVisible(false)}\n >\n <AnnouncementBanner.Header>\n New Aura features are available for your organization.\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n )}\n <div className=\"flex flex-col gap-token-16 p-token-24 bg-neutral-bg-default\">\n <OutlinedButton onClick={() => setIsVisible((visible) => !visible)}>\n {isVisible ? 'Hide announcement' : 'Show announcement'}\n </OutlinedButton>\n <Typography variant=\"body-medium\">\n The page is already loaded. Toggle the announcement in to simulate a\n later campaign or poll. <code>liveRegion=&quot;status&quot;</code>{' '}\n announces politely without interrupting.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -26,7 +26,7 @@ const react_1 = require("@neo4j-ndl/react");
26
26
  const react_2 = require("react");
27
27
  const Component = () => {
28
28
  const [isVisible, setIsVisible] = (0, react_2.useState)(false);
29
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-w-full", children: [isVisible && ((0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "danger", hasIcon: true, liveRegion: "alert", children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Error: connection to the database was lost. Reconnecting\u2026" }) })), (0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-token-16 n-p-token-24 n-bg-neutral-bg-default", children: [(0, jsx_runtime_1.jsx)(react_1.OutlinedButton, { onClick: () => setIsVisible((visible) => !visible), children: isVisible ? 'Hide announcement' : 'Show announcement' }), (0, jsx_runtime_1.jsxs)(react_1.Typography, { variant: "body-medium", children: ["The page is already loaded. Toggle the announcement in to simulate a connection loss or session expiry.", ' ', (0, jsx_runtime_1.jsx)("code", { children: "liveRegion=\"alert\"" }), " interrupts the screen reader because the message is time-sensitive."] })] })] }));
29
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col w-full", children: [isVisible && ((0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "danger", hasIcon: true, liveRegion: "alert", children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Error: connection to the database was lost. Reconnecting\u2026" }) })), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-token-16 p-token-24 bg-neutral-bg-default", children: [(0, jsx_runtime_1.jsx)(react_1.OutlinedButton, { onClick: () => setIsVisible((visible) => !visible), children: isVisible ? 'Hide announcement' : 'Show announcement' }), (0, jsx_runtime_1.jsxs)(react_1.Typography, { variant: "body-medium", children: ["The page is already loaded. Toggle the announcement in to simulate a connection loss or session expiry.", ' ', (0, jsx_runtime_1.jsx)("code", { children: "liveRegion=\"alert\"" }), " interrupts the screen reader because the message is time-sensitive."] })] })] }));
30
30
  };
31
31
  exports.default = Component;
32
32
  //# sourceMappingURL=announcement-banner-injected-urgent.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"announcement-banner-injected-urgent.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-injected-urgent.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAI0B;AAC1B,iCAAiC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAElD,OAAO,CACL,iCAAK,SAAS,EAAC,4BAA4B,aACxC,SAAS,IAAI,CACZ,uBAAC,0BAAkB,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC,OAAO,YACpE,uBAAC,0BAAkB,CAAC,MAAM,iFAEE,GACT,CACtB,EACD,iCAAK,SAAS,EAAC,uEAAuE,aACpF,uBAAC,sBAAc,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,YAC/D,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,GACvC,EACjB,wBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,wHAEI,GAAG,EACtC,oEAAyC,4EAE9B,IACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport {\n AnnouncementBanner,\n OutlinedButton,\n Typography,\n} from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [isVisible, setIsVisible] = useState(false);\n\n return (\n <div className=\"n-flex n-flex-col n-w-full\">\n {isVisible && (\n <AnnouncementBanner variant=\"danger\" hasIcon={true} liveRegion=\"alert\">\n <AnnouncementBanner.Header>\n Error: connection to the database was lost. Reconnecting…\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n )}\n <div className=\"n-flex n-flex-col n-gap-token-16 n-p-token-24 n-bg-neutral-bg-default\">\n <OutlinedButton onClick={() => setIsVisible((visible) => !visible)}>\n {isVisible ? 'Hide announcement' : 'Show announcement'}\n </OutlinedButton>\n <Typography variant=\"body-medium\">\n The page is already loaded. Toggle the announcement in to simulate a\n connection loss or session expiry.{' '}\n <code>liveRegion=&quot;alert&quot;</code> interrupts the screen reader\n because the message is time-sensitive.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"announcement-banner-injected-urgent.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-injected-urgent.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAI0B;AAC1B,iCAAiC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAElD,OAAO,CACL,iCAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CACZ,uBAAC,0BAAkB,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC,OAAO,YACpE,uBAAC,0BAAkB,CAAC,MAAM,iFAEE,GACT,CACtB,EACD,iCAAK,SAAS,EAAC,6DAA6D,aAC1E,uBAAC,sBAAc,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,YAC/D,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,GACvC,EACjB,wBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,wHAEI,GAAG,EACtC,oEAAyC,4EAE9B,IACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport {\n AnnouncementBanner,\n OutlinedButton,\n Typography,\n} from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [isVisible, setIsVisible] = useState(false);\n\n return (\n <div className=\"flex flex-col w-full\">\n {isVisible && (\n <AnnouncementBanner variant=\"danger\" hasIcon={true} liveRegion=\"alert\">\n <AnnouncementBanner.Header>\n Error: connection to the database was lost. Reconnecting…\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n )}\n <div className=\"flex flex-col gap-token-16 p-token-24 bg-neutral-bg-default\">\n <OutlinedButton onClick={() => setIsVisible((visible) => !visible)}>\n {isVisible ? 'Hide announcement' : 'Show announcement'}\n </OutlinedButton>\n <Typography variant=\"body-medium\">\n The page is already loaded. Toggle the announcement in to simulate a\n connection loss or session expiry.{' '}\n <code>liveRegion=&quot;alert&quot;</code> interrupts the screen reader\n because the message is time-sensitive.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -24,7 +24,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
24
24
  require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const react_1 = require("@neo4j-ndl/react");
26
26
  const Component = () => {
27
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-w-full", children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "danger", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Warning: your marketplace subscription will be deprecated on September 19, 2026." }) }), (0, jsx_runtime_1.jsx)("div", { className: "n-p-token-24 n-bg-neutral-bg-default", children: (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "This banner is part of the initial page render, so `liveRegion` is omitted. Screen reader users hear it when they reach it in the page, not as an interruption." }) })] }));
27
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col w-full", children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "danger", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Warning: your marketplace subscription will be deprecated on September 19, 2026." }) }), (0, jsx_runtime_1.jsx)("div", { className: "p-token-24 bg-neutral-bg-default", children: (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "This banner is part of the initial page render, so `liveRegion` is omitted. Screen reader users hear it when they reach it in the page, not as an interruption." }) })] }));
28
28
  };
29
29
  exports.default = Component;
30
30
  //# sourceMappingURL=announcement-banner-present-at-page-render.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"announcement-banner-present-at-page-render.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-present-at-page-render.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAkE;AAElE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,4BAA4B,aACzC,uBAAC,0BAAkB,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,YAChD,uBAAC,0BAAkB,CAAC,MAAM,mGAGE,GACT,EACrB,gCAAK,SAAS,EAAC,sCAAsC,YACnD,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,gLAIpB,GACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { AnnouncementBanner, Typography } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-flex-col n-w-full\">\n <AnnouncementBanner variant=\"danger\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Warning: your marketplace subscription will be deprecated on September\n 19, 2026.\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <div className=\"n-p-token-24 n-bg-neutral-bg-default\">\n <Typography variant=\"body-medium\">\n This banner is part of the initial page render, so `liveRegion` is\n omitted. Screen reader users hear it when they reach it in the page,\n not as an interruption.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"announcement-banner-present-at-page-render.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-present-at-page-render.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAkE;AAElE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,sBAAsB,aACnC,uBAAC,0BAAkB,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,YAChD,uBAAC,0BAAkB,CAAC,MAAM,mGAGE,GACT,EACrB,gCAAK,SAAS,EAAC,kCAAkC,YAC/C,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,gLAIpB,GACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { AnnouncementBanner, Typography } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col w-full\">\n <AnnouncementBanner variant=\"danger\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Warning: your marketplace subscription will be deprecated on September\n 19, 2026.\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <div className=\"p-token-24 bg-neutral-bg-default\">\n <Typography variant=\"body-medium\">\n This banner is part of the initial page render, so `liveRegion` is\n omitted. Screen reader users hear it when they reach it in the page,\n not as an interruption.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -24,7 +24,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
24
24
  require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const react_1 = require("@neo4j-ndl/react");
26
26
  const Component = () => {
27
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-token-8 n-w-full", children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "info", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Info announcement" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "warning", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Warning announcement" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "danger", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Danger announcement" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "discovery", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Discovery announcement" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "neutral", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Neutral announcement" }) })] }));
27
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-token-8 w-full", children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "info", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Info announcement" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "warning", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Warning announcement" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "danger", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Danger announcement" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "discovery", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Discovery announcement" }) }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner, { variant: "neutral", hasIcon: true, children: (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Neutral announcement" }) })] }));
28
28
  };
29
29
  exports.default = Component;
30
30
  //# sourceMappingURL=announcement-banner-variants.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"announcement-banner-variants.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-variants.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAsD;AAEtD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,0CAA0C,aACvD,uBAAC,0BAAkB,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,IAAI,YAC9C,uBAAC,0BAAkB,CAAC,MAAM,oCAA8C,GACrD,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,YACjD,uBAAC,0BAAkB,CAAC,MAAM,uCAEE,GACT,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,YAChD,uBAAC,0BAAkB,CAAC,MAAM,sCAEE,GACT,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAE,IAAI,YACnD,uBAAC,0BAAkB,CAAC,MAAM,yCAEE,GACT,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,YACjD,uBAAC,0BAAkB,CAAC,MAAM,uCAEE,GACT,IACjB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { AnnouncementBanner } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-flex-col n-gap-token-8 n-w-full\">\n <AnnouncementBanner variant=\"info\" hasIcon={true}>\n <AnnouncementBanner.Header>Info announcement</AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"warning\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Warning announcement\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"danger\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Danger announcement\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"discovery\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Discovery announcement\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"neutral\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Neutral announcement\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"announcement-banner-variants.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-variants.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAAsD;AAEtD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,kCAAkC,aAC/C,uBAAC,0BAAkB,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,IAAI,YAC9C,uBAAC,0BAAkB,CAAC,MAAM,oCAA8C,GACrD,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,YACjD,uBAAC,0BAAkB,CAAC,MAAM,uCAEE,GACT,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,YAChD,uBAAC,0BAAkB,CAAC,MAAM,sCAEE,GACT,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAE,IAAI,YACnD,uBAAC,0BAAkB,CAAC,MAAM,yCAEE,GACT,EACrB,uBAAC,0BAAkB,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,YACjD,uBAAC,0BAAkB,CAAC,MAAM,uCAEE,GACT,IACjB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { AnnouncementBanner } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex flex-col gap-token-8 w-full\">\n <AnnouncementBanner variant=\"info\" hasIcon={true}>\n <AnnouncementBanner.Header>Info announcement</AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"warning\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Warning announcement\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"danger\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Danger announcement\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"discovery\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Discovery announcement\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n <AnnouncementBanner variant=\"neutral\" hasIcon={true}>\n <AnnouncementBanner.Header>\n Neutral announcement\n </AnnouncementBanner.Header>\n </AnnouncementBanner>\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -26,7 +26,7 @@ const react_1 = require("@neo4j-ndl/react");
26
26
  const react_2 = require("react");
27
27
  const Component = () => {
28
28
  const [isVisible, setIsVisible] = (0, react_2.useState)(true);
29
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-max-w-[768px] n-h-52", children: [isVisible && ((0, jsx_runtime_1.jsxs)(react_1.AnnouncementBanner, { variant: "warning", hasIcon: true, isCloseable: true, onClose: () => setIsVisible(false), children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Scheduled maintenance starts tonight at 22:00 UTC." }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Actions, { children: (0, jsx_runtime_1.jsx)(react_1.OutlinedButton, { children: "Learn more" }) })] })), (0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-token-16 n-p-token-24 n-bg-neutral-bg-default n-flex-1 n-min-h-0 n-overflow-y-auto", children: [!isVisible && ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(react_1.TextButton, { onClick: () => setIsVisible(true), children: "Show announcement again" }) })), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "title-2", children: "Page title" }), (0, jsx_runtime_1.jsx)(react_1.OutlinedButton, { children: "Can focus" }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tempus, quam non molestie faucibus, orci nibh bibendum urna, ut lacinia orci dui a augue. Nullam at risus quam. Fusce pulvinar, metus vitae finibus dapibus, nisi ipsum venenatis sapien, at facilisis eros massa ac nunc. Aliquam sed odio orci. Vivamus condimentum sit amet ipsum bibendum sollicitudin. Etiam eget vehicula urna, et ullamcorper libero. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin sodales euismod sem, posuere maximus libero interdum semper. Nunc mollis posuere arcu non elementum. Vivamus sed laoreet mauris. Etiam fringilla arcu convallis erat vehicula iaculis. Pellentesque dictum aliquam cursus." }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Integer vehicula turpis quis risus aliquet congue. Vivamus pellentesque nibh ac blandit varius. Fusce placerat lacus ut mauris porta, nec facilisis risus pulvinar. Nullam elementum nulla ut laoreet imperdiet. Maecenas eget erat erat. Phasellus in turpis placerat, imperdiet ante nec, tincidunt nisl. Donec a lacus neque. Nullam iaculis ante molestie ultrices semper. Sed non lorem ullamcorper ligula elementum convallis. Aenean egestas risus quis tortor cursus dapibus. Nulla hendrerit at orci ut scelerisque. Nullam vel bibendum tellus. Praesent efficitur ultrices lectus at posuere. Maecenas facilisis lacus ac turpis malesuada, sit amet imperdiet ipsum condimentum. Donec et nibh eget justo luctus ornare. Maecenas suscipit nulla at ullamcorper congue." }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Vestibulum vehicula nibh mi, ultrices condimentum massa venenatis sit amet. Pellentesque accumsan mollis ex, id lobortis lacus venenatis id. Proin sem dui, mollis id gravida ac, vulputate et lacus. In pharetra nunc odio, in fermentum elit dignissim at. Nunc ut justo elit. Proin ligula orci, faucibus vitae vehicula nec, faucibus sit amet erat. Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque pharetra venenatis rutrum. Sed pharetra turpis id arcu maximus, interdum rhoncus eros mollis. Donec vitae sapien et odio interdum bibendum. Quisque eleifend, sem ut ornare mollis, orci nunc dapibus odio, aliquam fringilla augue nulla id magna. Phasellus consectetur, velit egestas sodales ultricies, odio nunc facilisis libero, vel vehicula nisi quam quis nisl. Proin vel massa libero." }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Sed mollis lacinia tincidunt. Curabitur blandit pellentesque consequat. Maecenas mollis pharetra dolor in ornare. Cras vel nibh eu nisi venenatis convallis id vel nisl. Curabitur et viverra nisl. Phasellus et finibus turpis. Praesent scelerisque vel lectus at imperdiet. Curabitur porta egestas magna ullamcorper hendrerit." }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Curabitur hendrerit egestas mi, ut venenatis turpis sagittis nec. Proin consectetur, nisi et vehicula placerat, tellus augue luctus odio, in commodo mauris urna nec libero. Maecenas eu placerat sapien, in aliquam tellus. Sed pharetra nunc id urna iaculis tincidunt. In hac habitasse platea dictumst. Donec tincidunt risus vitae congue congue. Fusce consequat ut justo ut tristique. Nunc ut urna quis neque consequat venenatis. Praesent nec feugiat orci. Vestibulum rutrum dui lacus, sit amet vulputate dolor finibus ut. Donec placerat urna eu fringilla convallis. Praesent sollicitudin felis at lacus semper, vel convallis magna scelerisque." })] })] }));
29
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-[768px] h-52", children: [isVisible && ((0, jsx_runtime_1.jsxs)(react_1.AnnouncementBanner, { variant: "warning", hasIcon: true, isCloseable: true, onClose: () => setIsVisible(false), children: [(0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Header, { children: "Scheduled maintenance starts tonight at 22:00 UTC." }), (0, jsx_runtime_1.jsx)(react_1.AnnouncementBanner.Actions, { children: (0, jsx_runtime_1.jsx)(react_1.OutlinedButton, { children: "Learn more" }) })] })), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-token-16 p-token-24 bg-neutral-bg-default flex-1 min-h-0 overflow-y-auto", children: [!isVisible && ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(react_1.TextButton, { onClick: () => setIsVisible(true), children: "Show announcement again" }) })), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "title-2", children: "Page title" }), (0, jsx_runtime_1.jsx)(react_1.OutlinedButton, { children: "Can focus" }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tempus, quam non molestie faucibus, orci nibh bibendum urna, ut lacinia orci dui a augue. Nullam at risus quam. Fusce pulvinar, metus vitae finibus dapibus, nisi ipsum venenatis sapien, at facilisis eros massa ac nunc. Aliquam sed odio orci. Vivamus condimentum sit amet ipsum bibendum sollicitudin. Etiam eget vehicula urna, et ullamcorper libero. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin sodales euismod sem, posuere maximus libero interdum semper. Nunc mollis posuere arcu non elementum. Vivamus sed laoreet mauris. Etiam fringilla arcu convallis erat vehicula iaculis. Pellentesque dictum aliquam cursus." }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Integer vehicula turpis quis risus aliquet congue. Vivamus pellentesque nibh ac blandit varius. Fusce placerat lacus ut mauris porta, nec facilisis risus pulvinar. Nullam elementum nulla ut laoreet imperdiet. Maecenas eget erat erat. Phasellus in turpis placerat, imperdiet ante nec, tincidunt nisl. Donec a lacus neque. Nullam iaculis ante molestie ultrices semper. Sed non lorem ullamcorper ligula elementum convallis. Aenean egestas risus quis tortor cursus dapibus. Nulla hendrerit at orci ut scelerisque. Nullam vel bibendum tellus. Praesent efficitur ultrices lectus at posuere. Maecenas facilisis lacus ac turpis malesuada, sit amet imperdiet ipsum condimentum. Donec et nibh eget justo luctus ornare. Maecenas suscipit nulla at ullamcorper congue." }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Vestibulum vehicula nibh mi, ultrices condimentum massa venenatis sit amet. Pellentesque accumsan mollis ex, id lobortis lacus venenatis id. Proin sem dui, mollis id gravida ac, vulputate et lacus. In pharetra nunc odio, in fermentum elit dignissim at. Nunc ut justo elit. Proin ligula orci, faucibus vitae vehicula nec, faucibus sit amet erat. Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque pharetra venenatis rutrum. Sed pharetra turpis id arcu maximus, interdum rhoncus eros mollis. Donec vitae sapien et odio interdum bibendum. Quisque eleifend, sem ut ornare mollis, orci nunc dapibus odio, aliquam fringilla augue nulla id magna. Phasellus consectetur, velit egestas sodales ultricies, odio nunc facilisis libero, vel vehicula nisi quam quis nisl. Proin vel massa libero." }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Sed mollis lacinia tincidunt. Curabitur blandit pellentesque consequat. Maecenas mollis pharetra dolor in ornare. Cras vel nibh eu nisi venenatis convallis id vel nisl. Curabitur et viverra nisl. Phasellus et finibus turpis. Praesent scelerisque vel lectus at imperdiet. Curabitur porta egestas magna ullamcorper hendrerit." }), (0, jsx_runtime_1.jsx)(react_1.Typography, { variant: "body-medium", children: "Curabitur hendrerit egestas mi, ut venenatis turpis sagittis nec. Proin consectetur, nisi et vehicula placerat, tellus augue luctus odio, in commodo mauris urna nec libero. Maecenas eu placerat sapien, in aliquam tellus. Sed pharetra nunc id urna iaculis tincidunt. In hac habitasse platea dictumst. Donec tincidunt risus vitae congue congue. Fusce consequat ut justo ut tristique. Nunc ut urna quis neque consequat venenatis. Praesent nec feugiat orci. Vestibulum rutrum dui lacus, sit amet vulputate dolor finibus ut. Donec placerat urna eu fringilla convallis. Praesent sollicitudin felis at lacus semper, vel convallis magna scelerisque." })] })] }));
30
30
  };
31
31
  exports.default = Component;
32
32
  //# sourceMappingURL=announcement-banner-with-page-content.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"announcement-banner-with-page-content.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-with-page-content.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAK0B;AAC1B,iCAAiC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IAEjD,OAAO,CACL,iCAAK,SAAS,EAAC,0CAA0C,aACtD,SAAS,IAAI,CACZ,wBAAC,0BAAkB,IACjB,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,IAAI,EACb,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,aAElC,uBAAC,0BAAkB,CAAC,MAAM,qEAEE,EAC5B,uBAAC,0BAAkB,CAAC,OAAO,cACzB,uBAAC,sBAAc,6BAA4B,GAChB,IACV,CACtB,EACD,iCAAK,SAAS,EAAC,4GAA4G,aACxH,CAAC,SAAS,IAAI,CACb,0CACE,uBAAC,kBAAU,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,wCAEhC,GACT,CACP,EACD,uBAAC,kBAAU,IAAC,OAAO,EAAC,SAAS,2BAAwB,EACrD,uBAAC,sBAAc,4BAA2B,EAC1C,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,6sBAYpB,EACb,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,owBAapB,EACb,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,izBAapB,EACb,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,oVAMpB,EACb,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,kpBAWpB,IACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport {\n AnnouncementBanner,\n OutlinedButton,\n TextButton,\n Typography,\n} from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [isVisible, setIsVisible] = useState(true);\n\n return (\n <div className=\"n-flex n-flex-col n-max-w-[768px] n-h-52\">\n {isVisible && (\n <AnnouncementBanner\n variant=\"warning\"\n hasIcon={true}\n isCloseable={true}\n onClose={() => setIsVisible(false)}\n >\n <AnnouncementBanner.Header>\n Scheduled maintenance starts tonight at 22:00 UTC.\n </AnnouncementBanner.Header>\n <AnnouncementBanner.Actions>\n <OutlinedButton>Learn more</OutlinedButton>\n </AnnouncementBanner.Actions>\n </AnnouncementBanner>\n )}\n <div className=\"n-flex n-flex-col n-gap-token-16 n-p-token-24 n-bg-neutral-bg-default n-flex-1 n-min-h-0 n-overflow-y-auto\">\n {!isVisible && (\n <div>\n <TextButton onClick={() => setIsVisible(true)}>\n Show announcement again\n </TextButton>\n </div>\n )}\n <Typography variant=\"title-2\">Page title</Typography>\n <OutlinedButton>Can focus</OutlinedButton>\n <Typography variant=\"body-medium\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque\n tempus, quam non molestie faucibus, orci nibh bibendum urna, ut\n lacinia orci dui a augue. Nullam at risus quam. Fusce pulvinar, metus\n vitae finibus dapibus, nisi ipsum venenatis sapien, at facilisis eros\n massa ac nunc. Aliquam sed odio orci. Vivamus condimentum sit amet\n ipsum bibendum sollicitudin. Etiam eget vehicula urna, et ullamcorper\n libero. Interdum et malesuada fames ac ante ipsum primis in faucibus.\n Proin sodales euismod sem, posuere maximus libero interdum semper.\n Nunc mollis posuere arcu non elementum. Vivamus sed laoreet mauris.\n Etiam fringilla arcu convallis erat vehicula iaculis. Pellentesque\n dictum aliquam cursus.\n </Typography>\n <Typography variant=\"body-medium\">\n Integer vehicula turpis quis risus aliquet congue. Vivamus\n pellentesque nibh ac blandit varius. Fusce placerat lacus ut mauris\n porta, nec facilisis risus pulvinar. Nullam elementum nulla ut laoreet\n imperdiet. Maecenas eget erat erat. Phasellus in turpis placerat,\n imperdiet ante nec, tincidunt nisl. Donec a lacus neque. Nullam\n iaculis ante molestie ultrices semper. Sed non lorem ullamcorper\n ligula elementum convallis. Aenean egestas risus quis tortor cursus\n dapibus. Nulla hendrerit at orci ut scelerisque. Nullam vel bibendum\n tellus. Praesent efficitur ultrices lectus at posuere. Maecenas\n facilisis lacus ac turpis malesuada, sit amet imperdiet ipsum\n condimentum. Donec et nibh eget justo luctus ornare. Maecenas suscipit\n nulla at ullamcorper congue.\n </Typography>\n <Typography variant=\"body-medium\">\n Vestibulum vehicula nibh mi, ultrices condimentum massa venenatis sit\n amet. Pellentesque accumsan mollis ex, id lobortis lacus venenatis id.\n Proin sem dui, mollis id gravida ac, vulputate et lacus. In pharetra\n nunc odio, in fermentum elit dignissim at. Nunc ut justo elit. Proin\n ligula orci, faucibus vitae vehicula nec, faucibus sit amet erat.\n Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque\n pharetra venenatis rutrum. Sed pharetra turpis id arcu maximus,\n interdum rhoncus eros mollis. Donec vitae sapien et odio interdum\n bibendum. Quisque eleifend, sem ut ornare mollis, orci nunc dapibus\n odio, aliquam fringilla augue nulla id magna. Phasellus consectetur,\n velit egestas sodales ultricies, odio nunc facilisis libero, vel\n vehicula nisi quam quis nisl. Proin vel massa libero.\n </Typography>\n <Typography variant=\"body-medium\">\n Sed mollis lacinia tincidunt. Curabitur blandit pellentesque\n consequat. Maecenas mollis pharetra dolor in ornare. Cras vel nibh eu\n nisi venenatis convallis id vel nisl. Curabitur et viverra nisl.\n Phasellus et finibus turpis. Praesent scelerisque vel lectus at\n imperdiet. Curabitur porta egestas magna ullamcorper hendrerit.\n </Typography>\n <Typography variant=\"body-medium\">\n Curabitur hendrerit egestas mi, ut venenatis turpis sagittis nec.\n Proin consectetur, nisi et vehicula placerat, tellus augue luctus\n odio, in commodo mauris urna nec libero. Maecenas eu placerat sapien,\n in aliquam tellus. Sed pharetra nunc id urna iaculis tincidunt. In hac\n habitasse platea dictumst. Donec tincidunt risus vitae congue congue.\n Fusce consequat ut justo ut tristique. Nunc ut urna quis neque\n consequat venenatis. Praesent nec feugiat orci. Vestibulum rutrum dui\n lacus, sit amet vulputate dolor finibus ut. Donec placerat urna eu\n fringilla convallis. Praesent sollicitudin felis at lacus semper, vel\n convallis magna scelerisque.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"announcement-banner-with-page-content.story.js","sourceRoot":"","sources":["../../../../src/announcement-banner/stories/announcement-banner-with-page-content.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAK0B;AAC1B,iCAAiC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IAEjD,OAAO,CACL,iCAAK,SAAS,EAAC,kCAAkC,aAC9C,SAAS,IAAI,CACZ,wBAAC,0BAAkB,IACjB,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,IAAI,EACb,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,aAElC,uBAAC,0BAAkB,CAAC,MAAM,qEAEE,EAC5B,uBAAC,0BAAkB,CAAC,OAAO,cACzB,uBAAC,sBAAc,6BAA4B,GAChB,IACV,CACtB,EACD,iCAAK,SAAS,EAAC,4FAA4F,aACxG,CAAC,SAAS,IAAI,CACb,0CACE,uBAAC,kBAAU,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,wCAEhC,GACT,CACP,EACD,uBAAC,kBAAU,IAAC,OAAO,EAAC,SAAS,2BAAwB,EACrD,uBAAC,sBAAc,4BAA2B,EAC1C,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,6sBAYpB,EACb,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,owBAapB,EACb,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,izBAapB,EACb,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,oVAMpB,EACb,uBAAC,kBAAU,IAAC,OAAO,EAAC,aAAa,kpBAWpB,IACT,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport {\n AnnouncementBanner,\n OutlinedButton,\n TextButton,\n Typography,\n} from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [isVisible, setIsVisible] = useState(true);\n\n return (\n <div className=\"flex flex-col max-w-[768px] h-52\">\n {isVisible && (\n <AnnouncementBanner\n variant=\"warning\"\n hasIcon={true}\n isCloseable={true}\n onClose={() => setIsVisible(false)}\n >\n <AnnouncementBanner.Header>\n Scheduled maintenance starts tonight at 22:00 UTC.\n </AnnouncementBanner.Header>\n <AnnouncementBanner.Actions>\n <OutlinedButton>Learn more</OutlinedButton>\n </AnnouncementBanner.Actions>\n </AnnouncementBanner>\n )}\n <div className=\"flex flex-col gap-token-16 p-token-24 bg-neutral-bg-default flex-1 min-h-0 overflow-y-auto\">\n {!isVisible && (\n <div>\n <TextButton onClick={() => setIsVisible(true)}>\n Show announcement again\n </TextButton>\n </div>\n )}\n <Typography variant=\"title-2\">Page title</Typography>\n <OutlinedButton>Can focus</OutlinedButton>\n <Typography variant=\"body-medium\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque\n tempus, quam non molestie faucibus, orci nibh bibendum urna, ut\n lacinia orci dui a augue. Nullam at risus quam. Fusce pulvinar, metus\n vitae finibus dapibus, nisi ipsum venenatis sapien, at facilisis eros\n massa ac nunc. Aliquam sed odio orci. Vivamus condimentum sit amet\n ipsum bibendum sollicitudin. Etiam eget vehicula urna, et ullamcorper\n libero. Interdum et malesuada fames ac ante ipsum primis in faucibus.\n Proin sodales euismod sem, posuere maximus libero interdum semper.\n Nunc mollis posuere arcu non elementum. Vivamus sed laoreet mauris.\n Etiam fringilla arcu convallis erat vehicula iaculis. Pellentesque\n dictum aliquam cursus.\n </Typography>\n <Typography variant=\"body-medium\">\n Integer vehicula turpis quis risus aliquet congue. Vivamus\n pellentesque nibh ac blandit varius. Fusce placerat lacus ut mauris\n porta, nec facilisis risus pulvinar. Nullam elementum nulla ut laoreet\n imperdiet. Maecenas eget erat erat. Phasellus in turpis placerat,\n imperdiet ante nec, tincidunt nisl. Donec a lacus neque. Nullam\n iaculis ante molestie ultrices semper. Sed non lorem ullamcorper\n ligula elementum convallis. Aenean egestas risus quis tortor cursus\n dapibus. Nulla hendrerit at orci ut scelerisque. Nullam vel bibendum\n tellus. Praesent efficitur ultrices lectus at posuere. Maecenas\n facilisis lacus ac turpis malesuada, sit amet imperdiet ipsum\n condimentum. Donec et nibh eget justo luctus ornare. Maecenas suscipit\n nulla at ullamcorper congue.\n </Typography>\n <Typography variant=\"body-medium\">\n Vestibulum vehicula nibh mi, ultrices condimentum massa venenatis sit\n amet. Pellentesque accumsan mollis ex, id lobortis lacus venenatis id.\n Proin sem dui, mollis id gravida ac, vulputate et lacus. In pharetra\n nunc odio, in fermentum elit dignissim at. Nunc ut justo elit. Proin\n ligula orci, faucibus vitae vehicula nec, faucibus sit amet erat.\n Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque\n pharetra venenatis rutrum. Sed pharetra turpis id arcu maximus,\n interdum rhoncus eros mollis. Donec vitae sapien et odio interdum\n bibendum. Quisque eleifend, sem ut ornare mollis, orci nunc dapibus\n odio, aliquam fringilla augue nulla id magna. Phasellus consectetur,\n velit egestas sodales ultricies, odio nunc facilisis libero, vel\n vehicula nisi quam quis nisl. Proin vel massa libero.\n </Typography>\n <Typography variant=\"body-medium\">\n Sed mollis lacinia tincidunt. Curabitur blandit pellentesque\n consequat. Maecenas mollis pharetra dolor in ornare. Cras vel nibh eu\n nisi venenatis convallis id vel nisl. Curabitur et viverra nisl.\n Phasellus et finibus turpis. Praesent scelerisque vel lectus at\n imperdiet. Curabitur porta egestas magna ullamcorper hendrerit.\n </Typography>\n <Typography variant=\"body-medium\">\n Curabitur hendrerit egestas mi, ut venenatis turpis sagittis nec.\n Proin consectetur, nisi et vehicula placerat, tellus augue luctus\n odio, in commodo mauris urna nec libero. Maecenas eu placerat sapien,\n in aliquam tellus. Sed pharetra nunc id urna iaculis tincidunt. In hac\n habitasse platea dictumst. Donec tincidunt risus vitae congue congue.\n Fusce consequat ut justo ut tristique. Nunc ut urna quis neque\n consequat venenatis. Praesent nec feugiat orci. Vestibulum rutrum dui\n lacus, sit amet vulputate dolor finibus ut. Donec placerat urna eu\n fringilla convallis. Praesent sollicitudin felis at lacus semper, vel\n convallis magna scelerisque.\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -25,7 +25,7 @@ require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const react_1 = require("@neo4j-ndl/react");
26
26
  const icons_1 = require("@neo4j-ndl/react/icons");
27
27
  const Component = () => {
28
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "icon", name: "Favorites", icon: (0, jsx_runtime_1.jsx)(icons_1.StarIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "icon", name: "Notifications", icon: (0, jsx_runtime_1.jsx)(icons_1.BellIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "icon", name: "Likes", icon: (0, jsx_runtime_1.jsx)(icons_1.HeartIconOutline, {}) })] }));
28
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "icon", name: "Favorites", icon: (0, jsx_runtime_1.jsx)(icons_1.StarIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "icon", name: "Notifications", icon: (0, jsx_runtime_1.jsx)(icons_1.BellIconOutline, {}) }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "icon", name: "Likes", icon: (0, jsx_runtime_1.jsx)(icons_1.HeartIconOutline, {}) })] }));
29
29
  };
30
30
  exports.default = Component;
31
31
  //# sourceMappingURL=avatar-custom-icon.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-custom-icon.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-custom-icon.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAC1C,kDAIgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,uBAAuB,aACpC,uBAAC,cAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,WAAW,EAAC,IAAI,EAAE,uBAAC,uBAAe,KAAG,GAAI,EAClE,uBAAC,cAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,eAAe,EAAC,IAAI,EAAE,uBAAC,uBAAe,KAAG,GAAI,EACtE,uBAAC,cAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,uBAAC,wBAAgB,KAAG,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\nimport {\n BellIconOutline,\n HeartIconOutline,\n StarIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-gap-token-16\">\n <Avatar type=\"icon\" name=\"Favorites\" icon={<StarIconOutline />} />\n <Avatar type=\"icon\" name=\"Notifications\" icon={<BellIconOutline />} />\n <Avatar type=\"icon\" name=\"Likes\" icon={<HeartIconOutline />} />\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"avatar-custom-icon.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-custom-icon.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAC1C,kDAIgC;AAEhC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,mBAAmB,aAChC,uBAAC,cAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,WAAW,EAAC,IAAI,EAAE,uBAAC,uBAAe,KAAG,GAAI,EAClE,uBAAC,cAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,eAAe,EAAC,IAAI,EAAE,uBAAC,uBAAe,KAAG,GAAI,EACtE,uBAAC,cAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,uBAAC,wBAAgB,KAAG,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\nimport {\n BellIconOutline,\n HeartIconOutline,\n StarIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16\">\n <Avatar type=\"icon\" name=\"Favorites\" icon={<StarIconOutline />} />\n <Avatar type=\"icon\" name=\"Notifications\" icon={<BellIconOutline />} />\n <Avatar type=\"icon\" name=\"Likes\" icon={<HeartIconOutline />} />\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -24,7 +24,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
24
24
  require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const react_1 = require("@neo4j-ndl/react");
26
26
  const Component = () => {
27
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { shape: "circle" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { shape: "square" })] }));
27
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { shape: "circle" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { shape: "square" })] }));
28
28
  };
29
29
  exports.default = Component;
30
30
  //# sourceMappingURL=avatar-shapes.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-shapes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-shapes.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,uBAAuB,aACpC,uBAAC,cAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,EACzB,uBAAC,cAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-gap-token-16\">\n <Avatar shape=\"circle\" />\n <Avatar shape=\"square\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"avatar-shapes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-shapes.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,mBAAmB,aAChC,uBAAC,cAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,EACzB,uBAAC,cAAM,IAAC,KAAK,EAAC,QAAQ,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16\">\n <Avatar shape=\"circle\" />\n <Avatar shape=\"square\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -24,7 +24,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
24
24
  require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const react_1 = require("@neo4j-ndl/react");
26
26
  const Component = () => {
27
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "x-small" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "small" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "medium" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "large" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "x-large" })] }));
27
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "x-small" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "small" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "medium" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "large" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { size: "x-large" })] }));
28
28
  };
29
29
  exports.default = Component;
30
30
  //# sourceMappingURL=avatar-sizes.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-sizes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-sizes.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,uBAAuB,aACpC,uBAAC,cAAM,IAAC,IAAI,EAAC,SAAS,GAAG,EACzB,uBAAC,cAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,uBAAC,cAAM,IAAC,IAAI,EAAC,QAAQ,GAAG,EACxB,uBAAC,cAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,uBAAC,cAAM,IAAC,IAAI,EAAC,SAAS,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-gap-token-16\">\n <Avatar size=\"x-small\" />\n <Avatar size=\"small\" />\n <Avatar size=\"medium\" />\n <Avatar size=\"large\" />\n <Avatar size=\"x-large\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"avatar-sizes.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-sizes.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,mBAAmB,aAChC,uBAAC,cAAM,IAAC,IAAI,EAAC,SAAS,GAAG,EACzB,uBAAC,cAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,uBAAC,cAAM,IAAC,IAAI,EAAC,QAAQ,GAAG,EACxB,uBAAC,cAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EACvB,uBAAC,cAAM,IAAC,IAAI,EAAC,SAAS,GAAG,IACrB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16\">\n <Avatar size=\"x-small\" />\n <Avatar size=\"small\" />\n <Avatar size=\"medium\" />\n <Avatar size=\"large\" />\n <Avatar size=\"x-large\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -24,7 +24,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
24
24
  require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const react_1 = require("@neo4j-ndl/react");
26
26
  const Component = () => {
27
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-gap-token-16 n-items-center", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { hasStatus: false }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { hasStatus: true, status: "online" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { hasStatus: true, status: "offline" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { hasStatus: true, status: "unknown" })] }));
27
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-token-16 items-center", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { hasStatus: false }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { hasStatus: true, status: "online" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { hasStatus: true, status: "offline" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { hasStatus: true, status: "unknown" })] }));
28
28
  };
29
29
  exports.default = Component;
30
30
  //# sourceMappingURL=avatar-statuses.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-statuses.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-statuses.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,sCAAsC,aACnD,uBAAC,cAAM,IAAC,SAAS,EAAE,KAAK,GAAI,EAC5B,uBAAC,cAAM,IAAC,SAAS,QAAC,MAAM,EAAC,QAAQ,GAAG,EACpC,uBAAC,cAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,EACrC,uBAAC,cAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,IACjC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-gap-token-16 n-items-center\">\n <Avatar hasStatus={false} />\n <Avatar hasStatus status=\"online\" />\n <Avatar hasStatus status=\"offline\" />\n <Avatar hasStatus status=\"unknown\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"avatar-statuses.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-statuses.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,gCAAgC,aAC7C,uBAAC,cAAM,IAAC,SAAS,EAAE,KAAK,GAAI,EAC5B,uBAAC,cAAM,IAAC,SAAS,QAAC,MAAM,EAAC,QAAQ,GAAG,EACpC,uBAAC,cAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,EACrC,uBAAC,cAAM,IAAC,SAAS,QAAC,MAAM,EAAC,SAAS,GAAG,IACjC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16 items-center\">\n <Avatar hasStatus={false} />\n <Avatar hasStatus status=\"online\" />\n <Avatar hasStatus status=\"offline\" />\n <Avatar hasStatus status=\"unknown\" />\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -24,7 +24,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
24
24
  require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
25
25
  const react_1 = require("@neo4j-ndl/react");
26
26
  const Component = () => {
27
- return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "icon", name: "Karl Morrison" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "letters", name: "Karl Morrison" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "image", name: "Karl Morrison", source: "https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=" })] }));
27
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "icon", name: "Karl Morrison" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "letters", name: "Karl Morrison" }), (0, jsx_runtime_1.jsx)(react_1.Avatar, { type: "image", name: "Karl Morrison", source: "https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=" })] }));
28
28
  };
29
29
  exports.default = Component;
30
30
  //# sourceMappingURL=avatar-types.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-types.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-types.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,uBAAuB,aACpC,uBAAC,cAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,eAAe,GAAG,EAC3C,uBAAC,cAAM,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,eAAe,GAAG,EAC9C,uBAAC,cAAM,IACL,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,eAAe,EACpB,MAAM,EAAC,uIAAuI,GAC9I,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-gap-token-16\">\n <Avatar type=\"icon\" name=\"Karl Morrison\" />\n <Avatar type=\"letters\" name=\"Karl Morrison\" />\n <Avatar\n type=\"image\"\n name=\"Karl Morrison\"\n source=\"https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=\"\n />\n </div>\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"avatar-types.story.js","sourceRoot":"","sources":["../../../../src/avatar/stories/avatar-types.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA0C;AAE1C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,mBAAmB,aAChC,uBAAC,cAAM,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,eAAe,GAAG,EAC3C,uBAAC,cAAM,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,eAAe,GAAG,EAC9C,uBAAC,cAAM,IACL,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,eAAe,EACpB,MAAM,EAAC,uIAAuI,GAC9I,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Avatar } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"flex gap-token-16\">\n <Avatar type=\"icon\" name=\"Karl Morrison\" />\n <Avatar type=\"letters\" name=\"Karl Morrison\" />\n <Avatar\n type=\"image\"\n name=\"Karl Morrison\"\n source=\"https://media.istockphoto.com/id/1334716681/photo/a-smiling-man.jpg?s=612x612&w=0&k=20&c=U6rkSDpQMzkcJEqx2hAa63fNLIhqnZb31Xuc_QSi648=\"\n />\n </div>\n );\n};\n\nexport default Component;\n"]}