@neo4j-ndl/react 4.4.0 → 4.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/lib/cjs/_common/types.js.map +1 -1
  2. package/lib/cjs/_common/utils.js +4 -4
  3. package/lib/cjs/_common/utils.js.map +1 -1
  4. package/lib/cjs/accordion/Accordion.js +5 -5
  5. package/lib/cjs/accordion/Accordion.js.map +1 -1
  6. package/lib/cjs/accordion/accordion-context.js +1 -1
  7. package/lib/cjs/accordion/accordion-context.js.map +1 -1
  8. package/lib/cjs/accordion/stories/accordion.stories.js +20 -20
  9. package/lib/cjs/accordion/stories/accordion.stories.js.map +1 -1
  10. package/lib/cjs/avatar/stories/avatar.stories.js +18 -18
  11. package/lib/cjs/avatar/stories/avatar.stories.js.map +1 -1
  12. package/lib/cjs/breadcrumbs/stories/breadcrumbs.stories.js +1 -1
  13. package/lib/cjs/breadcrumbs/stories/breadcrumbs.stories.js.map +1 -1
  14. package/lib/cjs/checkbox/stories/checkbox-full.story.js +2 -2
  15. package/lib/cjs/checkbox/stories/checkbox-full.story.js.map +1 -1
  16. package/lib/cjs/checkbox/stories/checkbox.stories.js +19 -19
  17. package/lib/cjs/checkbox/stories/checkbox.stories.js.map +1 -1
  18. package/lib/cjs/clean-icon-button/stories/clean-icon-button.stories.js +11 -11
  19. package/lib/cjs/clean-icon-button/stories/clean-icon-button.stories.js.map +1 -1
  20. package/lib/cjs/code-block/stories/code-disabled.story.js +2 -2
  21. package/lib/cjs/code-block/stories/code-disabled.story.js.map +1 -1
  22. package/lib/cjs/code-block/stories/code-full.story.js +2 -2
  23. package/lib/cjs/code-block/stories/code-full.story.js.map +1 -1
  24. package/lib/cjs/code-block/stories/code-with-actions.story.js +2 -2
  25. package/lib/cjs/code-block/stories/code-with-actions.story.js.map +1 -1
  26. package/lib/cjs/code-block/themes/ndl-code-dark.js +64 -64
  27. package/lib/cjs/code-block/themes/ndl-code-dark.js.map +1 -1
  28. package/lib/cjs/code-block/themes/ndl-code-light.js +64 -64
  29. package/lib/cjs/code-block/themes/ndl-code-light.js.map +1 -1
  30. package/lib/cjs/color-picker/ColorPicker.js +1 -1
  31. package/lib/cjs/color-picker/ColorPicker.js.map +1 -1
  32. package/lib/cjs/color-picker/stories/color-picker.stories.js +4 -4
  33. package/lib/cjs/color-picker/stories/color-picker.stories.js.map +1 -1
  34. package/lib/cjs/data-grid/Components.js +13 -11
  35. package/lib/cjs/data-grid/Components.js.map +1 -1
  36. package/lib/cjs/data-grid/DataGrid.js.map +1 -1
  37. package/lib/cjs/data-grid/data-grid-context.js +1 -1
  38. package/lib/cjs/data-grid/data-grid-context.js.map +1 -1
  39. package/lib/cjs/data-grid/data-grid-nav/index.js +1 -1
  40. package/lib/cjs/data-grid/data-grid-nav/index.js.map +1 -1
  41. package/lib/cjs/data-grid/stories/datagrid-kitchen-sink.story.js +1 -1
  42. package/lib/cjs/data-grid/stories/datagrid-kitchen-sink.story.js.map +1 -1
  43. package/lib/cjs/date-picker/stories/date-picker-full.story.js +9 -9
  44. package/lib/cjs/date-picker/stories/date-picker-full.story.js.map +1 -1
  45. package/lib/cjs/divider/stories/divider-horizontal.story.js +1 -1
  46. package/lib/cjs/divider/stories/divider-horizontal.story.js.map +1 -1
  47. package/lib/cjs/divider/stories/divider-vertical.story.js +1 -1
  48. package/lib/cjs/divider/stories/divider-vertical.story.js.map +1 -1
  49. package/lib/cjs/drawer/stories/drawer.stories.js +19 -19
  50. package/lib/cjs/drawer/stories/drawer.stories.js.map +1 -1
  51. package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js +18 -18
  52. package/lib/cjs/dropdown-button/stories/dropdown-button.stories.js.map +1 -1
  53. package/lib/cjs/dropzone/stories/dropzone-disabled.story.js +1 -1
  54. package/lib/cjs/dropzone/stories/dropzone-disabled.story.js.map +1 -1
  55. package/lib/cjs/dropzone/stories/dropzone-full.story.js +11 -11
  56. package/lib/cjs/dropzone/stories/dropzone-full.story.js.map +1 -1
  57. package/lib/cjs/dropzone/stories/dropzone.stories.js +10 -10
  58. package/lib/cjs/dropzone/stories/dropzone.stories.js.map +1 -1
  59. package/lib/cjs/flex/Flex.js +4 -4
  60. package/lib/cjs/flex/Flex.js.map +1 -1
  61. package/lib/cjs/graph-label/stories/graph-label.stories.js +20 -20
  62. package/lib/cjs/graph-label/stories/graph-label.stories.js.map +1 -1
  63. package/lib/cjs/hooks/index.js +3 -3
  64. package/lib/cjs/hooks/index.js.map +1 -1
  65. package/lib/cjs/icon-button/stories/icon-button.stories.js +12 -12
  66. package/lib/cjs/icon-button/stories/icon-button.stories.js.map +1 -1
  67. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js +16 -16
  68. package/lib/cjs/icon-button-array/stories/icon-button-array.stories.js.map +1 -1
  69. package/lib/cjs/icons/wrapIcon.js +1 -1
  70. package/lib/cjs/icons/wrapIcon.js.map +1 -1
  71. package/lib/cjs/kbd/stories/kbd.stories.js +7 -7
  72. package/lib/cjs/kbd/stories/kbd.stories.js.map +1 -1
  73. package/lib/cjs/loading-spinner/LoadingSpinner.js +2 -2
  74. package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
  75. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js +10 -10
  76. package/lib/cjs/loading-spinner/stories/loading-spinner.stories.js.map +1 -1
  77. package/lib/cjs/logo/Logo.js +6 -6
  78. package/lib/cjs/logo/Logo.js.map +1 -1
  79. package/lib/cjs/logo/stories/logo.stories.js +9 -9
  80. package/lib/cjs/logo/stories/logo.stories.js.map +1 -1
  81. package/lib/cjs/menu/Menu.js +3 -3
  82. package/lib/cjs/menu/Menu.js.map +1 -1
  83. package/lib/cjs/popover/Popover.js +15 -15
  84. package/lib/cjs/popover/Popover.js.map +1 -1
  85. package/lib/cjs/popover/use-popover.js +9 -9
  86. package/lib/cjs/popover/use-popover.js.map +1 -1
  87. package/lib/cjs/progress-bar/stories/progress-bar.stories.js +3 -3
  88. package/lib/cjs/progress-bar/stories/progress-bar.stories.js.map +1 -1
  89. package/lib/cjs/segmented-control/SegmentedControl.js +1 -1
  90. package/lib/cjs/segmented-control/SegmentedControl.js.map +1 -1
  91. package/lib/cjs/select/Overrides.js +41 -41
  92. package/lib/cjs/select/Overrides.js.map +1 -1
  93. package/lib/cjs/select/stories/select-async.story.js +4 -4
  94. package/lib/cjs/select/stories/select-async.story.js.map +1 -1
  95. package/lib/cjs/select/stories/select-controlled.story.js +4 -4
  96. package/lib/cjs/select/stories/select-controlled.story.js.map +1 -1
  97. package/lib/cjs/select/stories/select-creatable.story.js +1 -1
  98. package/lib/cjs/select/stories/select-creatable.story.js.map +1 -1
  99. package/lib/cjs/select/stories/select-custom-label.story.js +1 -1
  100. package/lib/cjs/select/stories/select-custom-label.story.js.map +1 -1
  101. package/lib/cjs/select/stories/select-disabled.story.js +1 -1
  102. package/lib/cjs/select/stories/select-disabled.story.js.map +1 -1
  103. package/lib/cjs/select/stories/select-inside-dialog.story.js +1 -1
  104. package/lib/cjs/select/stories/select-inside-dialog.story.js.map +1 -1
  105. package/lib/cjs/side-navigation/stories/side-nav.stories.js +1 -1
  106. package/lib/cjs/side-navigation/stories/side-nav.stories.js.map +1 -1
  107. package/lib/cjs/skeleton/stories/skeleton.stories.js +28 -28
  108. package/lib/cjs/skeleton/stories/skeleton.stories.js.map +1 -1
  109. package/lib/cjs/slider/Slider.js +2 -1
  110. package/lib/cjs/slider/Slider.js.map +1 -1
  111. package/lib/cjs/status-indicator/stories/status-indicator.stories.js +2 -2
  112. package/lib/cjs/status-indicator/stories/status-indicator.stories.js.map +1 -1
  113. package/lib/cjs/switch/stories/switch.stories.js +7 -7
  114. package/lib/cjs/switch/stories/switch.stories.js.map +1 -1
  115. package/lib/cjs/tabs/Tabs.js +1 -1
  116. package/lib/cjs/tabs/Tabs.js.map +1 -1
  117. package/lib/cjs/tag/Tag.js +2 -2
  118. package/lib/cjs/tag/Tag.js.map +1 -1
  119. package/lib/cjs/tag/stories/tag.stories.js +10 -10
  120. package/lib/cjs/tag/stories/tag.stories.js.map +1 -1
  121. package/lib/cjs/text-area/TextArea.js +5 -5
  122. package/lib/cjs/text-area/TextArea.js.map +1 -1
  123. package/lib/cjs/text-area/stories/text-area.stories.js +25 -25
  124. package/lib/cjs/text-area/stories/text-area.stories.js.map +1 -1
  125. package/lib/cjs/text-input/stories/text-input-number.story.js +2 -2
  126. package/lib/cjs/text-input/stories/text-input-number.story.js.map +1 -1
  127. package/lib/cjs/text-link/stories/text-link.stories.js +11 -11
  128. package/lib/cjs/text-link/stories/text-link.stories.js.map +1 -1
  129. package/lib/cjs/text-overflow/stories/text-overflow.stories.js +1 -1
  130. package/lib/cjs/text-overflow/stories/text-overflow.stories.js.map +1 -1
  131. package/lib/cjs/theme/ThemeProvider.js.map +1 -1
  132. package/lib/cjs/theme/agnostic.js +1 -1
  133. package/lib/cjs/theme/agnostic.js.map +1 -1
  134. package/lib/cjs/time-picker/TimePicker.js +4 -4
  135. package/lib/cjs/time-picker/TimePicker.js.map +1 -1
  136. package/lib/cjs/time-picker/time-picker-hooks.js +1 -1
  137. package/lib/cjs/time-picker/time-picker-hooks.js.map +1 -1
  138. package/lib/cjs/timezone-picker/TimeZonePicker.js +5 -5
  139. package/lib/cjs/timezone-picker/TimeZonePicker.js.map +1 -1
  140. package/lib/cjs/timezone-picker/stories/timezone-picker-dst-aware.story.js +7 -7
  141. package/lib/cjs/timezone-picker/stories/timezone-picker-dst-aware.story.js.map +1 -1
  142. package/lib/cjs/timezone-picker/stories/timezone-picker-fluid.story.js +1 -1
  143. package/lib/cjs/timezone-picker/stories/timezone-picker-fluid.story.js.map +1 -1
  144. package/lib/cjs/toast/Toast.js +12 -12
  145. package/lib/cjs/toast/Toast.js.map +1 -1
  146. package/lib/cjs/toast/stories/toast-action-story.js +1 -1
  147. package/lib/cjs/toast/stories/toast-action-story.js.map +1 -1
  148. package/lib/cjs/toast/stories/toast-controlled-story.js +2 -2
  149. package/lib/cjs/toast/stories/toast-controlled-story.js.map +1 -1
  150. package/lib/cjs/toast/stories/toast-progress-bar.js +1 -1
  151. package/lib/cjs/toast/stories/toast-progress-bar.js.map +1 -1
  152. package/lib/cjs/toast/stories/toast.stories.js +18 -18
  153. package/lib/cjs/toast/stories/toast.stories.js.map +1 -1
  154. package/lib/cjs/tooltip/Tooltip.js +1 -1
  155. package/lib/cjs/tooltip/Tooltip.js.map +1 -1
  156. package/lib/cjs/tooltip/stories/tooltip-hover-delay.story.js +1 -1
  157. package/lib/cjs/tooltip/stories/tooltip-hover-delay.story.js.map +1 -1
  158. package/lib/cjs/tooltip/stories/tooltip-placements.story.js +8 -8
  159. package/lib/cjs/tooltip/stories/tooltip-placements.story.js.map +1 -1
  160. package/lib/cjs/tooltip/stories/tooltip.stories.js +29 -29
  161. package/lib/cjs/tooltip/stories/tooltip.stories.js.map +1 -1
  162. package/lib/cjs/tooltip/use-tooltip.js +10 -10
  163. package/lib/cjs/tooltip/use-tooltip.js.map +1 -1
  164. package/lib/cjs/tree-view/TreeItemWrapper.js +2 -2
  165. package/lib/cjs/tree-view/TreeItemWrapper.js.map +1 -1
  166. package/lib/cjs/tree-view/TreeView.js +12 -12
  167. package/lib/cjs/tree-view/TreeView.js.map +1 -1
  168. package/lib/cjs/tree-view/TreeViewItem.js +1 -1
  169. package/lib/cjs/tree-view/TreeViewItem.js.map +1 -1
  170. package/lib/cjs/tree-view/TreeViewTextItem.js +1 -1
  171. package/lib/cjs/tree-view/TreeViewTextItem.js.map +1 -1
  172. package/lib/cjs/tree-view/tree-view-keyboard-coordinates.js +2 -2
  173. package/lib/cjs/tree-view/tree-view-keyboard-coordinates.js.map +1 -1
  174. package/lib/cjs/wizard/Wizard.js +2 -2
  175. package/lib/cjs/wizard/Wizard.js.map +1 -1
  176. package/lib/cjs/wizard/stories/wizard.stories.js +14 -14
  177. package/lib/cjs/wizard/stories/wizard.stories.js.map +1 -1
  178. package/lib/esm/_common/types.js.map +1 -1
  179. package/lib/esm/_common/utils.js +4 -4
  180. package/lib/esm/_common/utils.js.map +1 -1
  181. package/lib/esm/accordion/Accordion.js +5 -5
  182. package/lib/esm/accordion/Accordion.js.map +1 -1
  183. package/lib/esm/accordion/accordion-context.js +1 -1
  184. package/lib/esm/accordion/accordion-context.js.map +1 -1
  185. package/lib/esm/accordion/stories/accordion.stories.js +20 -20
  186. package/lib/esm/accordion/stories/accordion.stories.js.map +1 -1
  187. package/lib/esm/avatar/stories/avatar.stories.js +18 -18
  188. package/lib/esm/avatar/stories/avatar.stories.js.map +1 -1
  189. package/lib/esm/breadcrumbs/stories/breadcrumbs.stories.js +1 -1
  190. package/lib/esm/breadcrumbs/stories/breadcrumbs.stories.js.map +1 -1
  191. package/lib/esm/checkbox/stories/checkbox-full.story.js +2 -2
  192. package/lib/esm/checkbox/stories/checkbox-full.story.js.map +1 -1
  193. package/lib/esm/checkbox/stories/checkbox.stories.js +19 -19
  194. package/lib/esm/checkbox/stories/checkbox.stories.js.map +1 -1
  195. package/lib/esm/clean-icon-button/stories/clean-icon-button.stories.js +11 -11
  196. package/lib/esm/clean-icon-button/stories/clean-icon-button.stories.js.map +1 -1
  197. package/lib/esm/code-block/stories/code-disabled.story.js +2 -2
  198. package/lib/esm/code-block/stories/code-disabled.story.js.map +1 -1
  199. package/lib/esm/code-block/stories/code-full.story.js +2 -2
  200. package/lib/esm/code-block/stories/code-full.story.js.map +1 -1
  201. package/lib/esm/code-block/stories/code-with-actions.story.js +2 -2
  202. package/lib/esm/code-block/stories/code-with-actions.story.js.map +1 -1
  203. package/lib/esm/code-block/themes/ndl-code-dark.js +64 -64
  204. package/lib/esm/code-block/themes/ndl-code-dark.js.map +1 -1
  205. package/lib/esm/code-block/themes/ndl-code-light.js +64 -64
  206. package/lib/esm/code-block/themes/ndl-code-light.js.map +1 -1
  207. package/lib/esm/color-picker/ColorPicker.js +1 -1
  208. package/lib/esm/color-picker/ColorPicker.js.map +1 -1
  209. package/lib/esm/color-picker/stories/color-picker.stories.js +4 -4
  210. package/lib/esm/color-picker/stories/color-picker.stories.js.map +1 -1
  211. package/lib/esm/data-grid/Components.js +13 -11
  212. package/lib/esm/data-grid/Components.js.map +1 -1
  213. package/lib/esm/data-grid/DataGrid.js.map +1 -1
  214. package/lib/esm/data-grid/data-grid-context.js +1 -1
  215. package/lib/esm/data-grid/data-grid-context.js.map +1 -1
  216. package/lib/esm/data-grid/data-grid-nav/index.js +1 -1
  217. package/lib/esm/data-grid/data-grid-nav/index.js.map +1 -1
  218. package/lib/esm/data-grid/stories/datagrid-kitchen-sink.story.js +1 -1
  219. package/lib/esm/data-grid/stories/datagrid-kitchen-sink.story.js.map +1 -1
  220. package/lib/esm/date-picker/stories/date-picker-full.story.js +9 -9
  221. package/lib/esm/date-picker/stories/date-picker-full.story.js.map +1 -1
  222. package/lib/esm/divider/stories/divider-horizontal.story.js +1 -1
  223. package/lib/esm/divider/stories/divider-horizontal.story.js.map +1 -1
  224. package/lib/esm/divider/stories/divider-vertical.story.js +1 -1
  225. package/lib/esm/divider/stories/divider-vertical.story.js.map +1 -1
  226. package/lib/esm/drawer/stories/drawer.stories.js +19 -19
  227. package/lib/esm/drawer/stories/drawer.stories.js.map +1 -1
  228. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js +18 -18
  229. package/lib/esm/dropdown-button/stories/dropdown-button.stories.js.map +1 -1
  230. package/lib/esm/dropzone/stories/dropzone-disabled.story.js +1 -1
  231. package/lib/esm/dropzone/stories/dropzone-disabled.story.js.map +1 -1
  232. package/lib/esm/dropzone/stories/dropzone-full.story.js +11 -11
  233. package/lib/esm/dropzone/stories/dropzone-full.story.js.map +1 -1
  234. package/lib/esm/dropzone/stories/dropzone.stories.js +10 -10
  235. package/lib/esm/dropzone/stories/dropzone.stories.js.map +1 -1
  236. package/lib/esm/flex/Flex.js +4 -4
  237. package/lib/esm/flex/Flex.js.map +1 -1
  238. package/lib/esm/graph-label/stories/graph-label.stories.js +20 -20
  239. package/lib/esm/graph-label/stories/graph-label.stories.js.map +1 -1
  240. package/lib/esm/hooks/index.js +3 -3
  241. package/lib/esm/hooks/index.js.map +1 -1
  242. package/lib/esm/icon-button/stories/icon-button.stories.js +12 -12
  243. package/lib/esm/icon-button/stories/icon-button.stories.js.map +1 -1
  244. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js +16 -16
  245. package/lib/esm/icon-button-array/stories/icon-button-array.stories.js.map +1 -1
  246. package/lib/esm/icons/wrapIcon.js +1 -1
  247. package/lib/esm/icons/wrapIcon.js.map +1 -1
  248. package/lib/esm/kbd/stories/kbd.stories.js +7 -7
  249. package/lib/esm/kbd/stories/kbd.stories.js.map +1 -1
  250. package/lib/esm/loading-spinner/LoadingSpinner.js +2 -2
  251. package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
  252. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js +10 -10
  253. package/lib/esm/loading-spinner/stories/loading-spinner.stories.js.map +1 -1
  254. package/lib/esm/logo/Logo.js +6 -6
  255. package/lib/esm/logo/Logo.js.map +1 -1
  256. package/lib/esm/logo/stories/logo.stories.js +9 -9
  257. package/lib/esm/logo/stories/logo.stories.js.map +1 -1
  258. package/lib/esm/menu/Menu.js +3 -3
  259. package/lib/esm/menu/Menu.js.map +1 -1
  260. package/lib/esm/popover/Popover.js +15 -15
  261. package/lib/esm/popover/Popover.js.map +1 -1
  262. package/lib/esm/popover/use-popover.js +9 -9
  263. package/lib/esm/popover/use-popover.js.map +1 -1
  264. package/lib/esm/progress-bar/stories/progress-bar.stories.js +3 -3
  265. package/lib/esm/progress-bar/stories/progress-bar.stories.js.map +1 -1
  266. package/lib/esm/segmented-control/SegmentedControl.js +1 -1
  267. package/lib/esm/segmented-control/SegmentedControl.js.map +1 -1
  268. package/lib/esm/select/Overrides.js +41 -41
  269. package/lib/esm/select/Overrides.js.map +1 -1
  270. package/lib/esm/select/stories/select-async.story.js +4 -4
  271. package/lib/esm/select/stories/select-async.story.js.map +1 -1
  272. package/lib/esm/select/stories/select-controlled.story.js +4 -4
  273. package/lib/esm/select/stories/select-controlled.story.js.map +1 -1
  274. package/lib/esm/select/stories/select-creatable.story.js +1 -1
  275. package/lib/esm/select/stories/select-creatable.story.js.map +1 -1
  276. package/lib/esm/select/stories/select-custom-label.story.js +1 -1
  277. package/lib/esm/select/stories/select-custom-label.story.js.map +1 -1
  278. package/lib/esm/select/stories/select-disabled.story.js +1 -1
  279. package/lib/esm/select/stories/select-disabled.story.js.map +1 -1
  280. package/lib/esm/select/stories/select-inside-dialog.story.js +1 -1
  281. package/lib/esm/select/stories/select-inside-dialog.story.js.map +1 -1
  282. package/lib/esm/side-navigation/stories/side-nav.stories.js +1 -1
  283. package/lib/esm/side-navigation/stories/side-nav.stories.js.map +1 -1
  284. package/lib/esm/skeleton/stories/skeleton.stories.js +28 -28
  285. package/lib/esm/skeleton/stories/skeleton.stories.js.map +1 -1
  286. package/lib/esm/slider/Slider.js +2 -1
  287. package/lib/esm/slider/Slider.js.map +1 -1
  288. package/lib/esm/status-indicator/stories/status-indicator.stories.js +2 -2
  289. package/lib/esm/status-indicator/stories/status-indicator.stories.js.map +1 -1
  290. package/lib/esm/switch/stories/switch.stories.js +7 -7
  291. package/lib/esm/switch/stories/switch.stories.js.map +1 -1
  292. package/lib/esm/tabs/Tabs.js +1 -1
  293. package/lib/esm/tabs/Tabs.js.map +1 -1
  294. package/lib/esm/tag/Tag.js +2 -2
  295. package/lib/esm/tag/Tag.js.map +1 -1
  296. package/lib/esm/tag/stories/tag.stories.js +10 -10
  297. package/lib/esm/tag/stories/tag.stories.js.map +1 -1
  298. package/lib/esm/text-area/TextArea.js +5 -5
  299. package/lib/esm/text-area/TextArea.js.map +1 -1
  300. package/lib/esm/text-area/stories/text-area.stories.js +25 -25
  301. package/lib/esm/text-area/stories/text-area.stories.js.map +1 -1
  302. package/lib/esm/text-input/stories/text-input-number.story.js +2 -2
  303. package/lib/esm/text-input/stories/text-input-number.story.js.map +1 -1
  304. package/lib/esm/text-link/stories/text-link.stories.js +11 -11
  305. package/lib/esm/text-link/stories/text-link.stories.js.map +1 -1
  306. package/lib/esm/text-overflow/stories/text-overflow.stories.js +1 -1
  307. package/lib/esm/text-overflow/stories/text-overflow.stories.js.map +1 -1
  308. package/lib/esm/theme/ThemeProvider.js.map +1 -1
  309. package/lib/esm/theme/agnostic.js +1 -1
  310. package/lib/esm/theme/agnostic.js.map +1 -1
  311. package/lib/esm/time-picker/TimePicker.js +4 -4
  312. package/lib/esm/time-picker/TimePicker.js.map +1 -1
  313. package/lib/esm/time-picker/time-picker-hooks.js +1 -1
  314. package/lib/esm/time-picker/time-picker-hooks.js.map +1 -1
  315. package/lib/esm/timezone-picker/TimeZonePicker.js +5 -5
  316. package/lib/esm/timezone-picker/TimeZonePicker.js.map +1 -1
  317. package/lib/esm/timezone-picker/stories/timezone-picker-dst-aware.story.js +7 -7
  318. package/lib/esm/timezone-picker/stories/timezone-picker-dst-aware.story.js.map +1 -1
  319. package/lib/esm/timezone-picker/stories/timezone-picker-fluid.story.js +1 -1
  320. package/lib/esm/timezone-picker/stories/timezone-picker-fluid.story.js.map +1 -1
  321. package/lib/esm/toast/Toast.js +12 -12
  322. package/lib/esm/toast/Toast.js.map +1 -1
  323. package/lib/esm/toast/stories/toast-action-story.js +1 -1
  324. package/lib/esm/toast/stories/toast-action-story.js.map +1 -1
  325. package/lib/esm/toast/stories/toast-controlled-story.js +2 -2
  326. package/lib/esm/toast/stories/toast-controlled-story.js.map +1 -1
  327. package/lib/esm/toast/stories/toast-progress-bar.js +1 -1
  328. package/lib/esm/toast/stories/toast-progress-bar.js.map +1 -1
  329. package/lib/esm/toast/stories/toast.stories.js +18 -18
  330. package/lib/esm/toast/stories/toast.stories.js.map +1 -1
  331. package/lib/esm/tooltip/Tooltip.js +1 -1
  332. package/lib/esm/tooltip/Tooltip.js.map +1 -1
  333. package/lib/esm/tooltip/stories/tooltip-hover-delay.story.js +1 -1
  334. package/lib/esm/tooltip/stories/tooltip-hover-delay.story.js.map +1 -1
  335. package/lib/esm/tooltip/stories/tooltip-placements.story.js +8 -8
  336. package/lib/esm/tooltip/stories/tooltip-placements.story.js.map +1 -1
  337. package/lib/esm/tooltip/stories/tooltip.stories.js +29 -29
  338. package/lib/esm/tooltip/stories/tooltip.stories.js.map +1 -1
  339. package/lib/esm/tooltip/use-tooltip.js +10 -10
  340. package/lib/esm/tooltip/use-tooltip.js.map +1 -1
  341. package/lib/esm/tree-view/TreeItemWrapper.js +2 -2
  342. package/lib/esm/tree-view/TreeItemWrapper.js.map +1 -1
  343. package/lib/esm/tree-view/TreeView.js +12 -12
  344. package/lib/esm/tree-view/TreeView.js.map +1 -1
  345. package/lib/esm/tree-view/TreeViewItem.js +1 -1
  346. package/lib/esm/tree-view/TreeViewItem.js.map +1 -1
  347. package/lib/esm/tree-view/TreeViewTextItem.js +1 -1
  348. package/lib/esm/tree-view/TreeViewTextItem.js.map +1 -1
  349. package/lib/esm/tree-view/tree-view-keyboard-coordinates.js +2 -2
  350. package/lib/esm/tree-view/tree-view-keyboard-coordinates.js.map +1 -1
  351. package/lib/esm/wizard/Wizard.js +2 -2
  352. package/lib/esm/wizard/Wizard.js.map +1 -1
  353. package/lib/esm/wizard/stories/wizard.stories.js +14 -14
  354. package/lib/esm/wizard/stories/wizard.stories.js.map +1 -1
  355. package/lib/types/accordion/stories/accordion.stories.d.ts +3 -3
  356. package/lib/types/breadcrumbs/stories/breadcrumbs.stories.d.ts +1 -1
  357. package/lib/types/data-grid/Components.d.ts.map +1 -1
  358. package/lib/types/logo/stories/logo.stories.d.ts +3 -3
  359. package/lib/types/side-navigation/stories/side-nav.stories.d.ts +1 -1
  360. package/lib/types/skeleton/stories/skeleton.stories.d.ts +3 -3
  361. package/lib/types/slider/Slider.d.ts.map +1 -1
  362. package/lib/types/time-picker/time-picker-hooks.d.ts +1 -1
  363. package/lib/types/time-picker/time-picker-hooks.d.ts.map +1 -1
  364. package/lib/types/toast/stories/toast.stories.d.ts +2 -2
  365. package/package.json +1 -1
@@ -37,9 +37,9 @@ export const Default = {
37
37
  parameters: {
38
38
  docs: {
39
39
  source: {
40
+ code: CleanIconButtonDefaultSrc,
40
41
  language: 'tsx',
41
42
  type: 'code',
42
- code: CleanIconButtonDefaultSrc,
43
43
  },
44
44
  },
45
45
  },
@@ -48,71 +48,71 @@ export const Default = {
48
48
  export const Active = {
49
49
  // @ts-expect-error - args are not needed.
50
50
  args: {},
51
- render: CleanIconButtonActive,
52
51
  parameters: {
53
52
  docs: {
54
53
  source: {
54
+ code: CleanIconButtonActiveSrc,
55
55
  language: 'tsx',
56
56
  type: 'code',
57
- code: CleanIconButtonActiveSrc,
58
57
  },
59
58
  },
60
59
  },
60
+ render: CleanIconButtonActive,
61
61
  };
62
62
  export const Disabled = {
63
63
  // @ts-expect-error - args are not needed.
64
64
  args: {},
65
- render: CleanIconButtonDisabled,
66
65
  parameters: {
67
66
  docs: {
68
67
  source: {
68
+ code: CleanIconButtonDisabledSrc,
69
69
  language: 'tsx',
70
70
  type: 'code',
71
- code: CleanIconButtonDisabledSrc,
72
71
  },
73
72
  },
74
73
  },
74
+ render: CleanIconButtonDisabled,
75
75
  };
76
76
  export const Loading = {
77
77
  // @ts-expect-error - args are not needed.
78
78
  args: {},
79
- render: CleanIconButtonLoading,
80
79
  parameters: {
81
80
  docs: {
82
81
  source: {
82
+ code: CleanIconButtonLoadingSrc,
83
83
  language: 'tsx',
84
84
  type: 'code',
85
- code: CleanIconButtonLoadingSrc,
86
85
  },
87
86
  },
88
87
  },
88
+ render: CleanIconButtonLoading,
89
89
  };
90
90
  export const Sizes = {
91
91
  // @ts-expect-error - args are not needed.
92
92
  args: {},
93
- render: CleanIconButtonSizes,
94
93
  parameters: {
95
94
  docs: {
96
95
  source: {
96
+ code: CleanIconButtonSizesSrc,
97
97
  language: 'tsx',
98
98
  type: 'code',
99
- code: CleanIconButtonSizesSrc,
100
99
  },
101
100
  },
102
101
  },
102
+ render: CleanIconButtonSizes,
103
103
  };
104
104
  export const Tone = {
105
105
  // @ts-expect-error - args are not needed.
106
106
  args: {},
107
- render: CleanIconButtonTone,
108
107
  parameters: {
109
108
  docs: {
110
109
  source: {
110
+ code: CleanIconButtonToneSrc,
111
111
  language: 'tsx',
112
112
  type: 'code',
113
- code: CleanIconButtonToneSrc,
114
113
  },
115
114
  },
116
115
  },
116
+ render: CleanIconButtonTone,
117
117
  };
118
118
  //# sourceMappingURL=clean-icon-button.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"clean-icon-button.stories.js","sourceRoot":"","sources":["../../../../src/clean-icon-button/stories/clean-icon-button.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,eAAe;IAC1B,EAAE,EAAE,8BAA8B;IAClC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,4BAA4B;CACG,CAAC;AAEzC,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,yBAAyB;aAChC;SACF;KACF;IACD,MAAM,EAAE,sBAAsB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,qBAAqB;IAC7B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,wBAAwB;aAC/B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,uBAAuB;IAC/B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,0BAA0B;aACjC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,sBAAsB;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,yBAAyB;aAChC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,oBAAoB;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,uBAAuB;aAC9B;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,mBAAmB;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,sBAAsB;aAC7B;SACF;KACF;CACF,CAAC","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 { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { CleanIconButton } from '../../index';\nimport {\n CleanIconButtonActive,\n CleanIconButtonActiveSrc,\n CleanIconButtonDefault,\n CleanIconButtonDefaultSrc,\n CleanIconButtonDisabled,\n CleanIconButtonDisabledSrc,\n CleanIconButtonLoading,\n CleanIconButtonLoadingSrc,\n CleanIconButtonSizes,\n CleanIconButtonSizesSrc,\n CleanIconButtonTone,\n CleanIconButtonToneSrc,\n} from '.';\n\nconst componentMeta = {\n component: CleanIconButton,\n id: 'components-clean-icon-button',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/CleanIconButton',\n} satisfies Meta<typeof CleanIconButton>;\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: CleanIconButtonDefaultSrc,\n },\n },\n },\n render: CleanIconButtonDefault,\n};\n\nexport const Active: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n render: CleanIconButtonActive,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: CleanIconButtonActiveSrc,\n },\n },\n },\n};\n\nexport const Disabled: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n render: CleanIconButtonDisabled,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: CleanIconButtonDisabledSrc,\n },\n },\n },\n};\n\nexport const Loading: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n render: CleanIconButtonLoading,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: CleanIconButtonLoadingSrc,\n },\n },\n },\n};\n\nexport const Sizes: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n render: CleanIconButtonSizes,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: CleanIconButtonSizesSrc,\n },\n },\n },\n};\n\nexport const Tone: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n render: CleanIconButtonTone,\n parameters: {\n docs: {\n source: {\n language: 'tsx',\n type: 'code',\n code: CleanIconButtonToneSrc,\n },\n },\n },\n};\n"]}
1
+ {"version":3,"file":"clean-icon-button.stories.js","sourceRoot":"","sources":["../../../../src/clean-icon-button/stories/clean-icon-button.stories.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,eAAe;IAC1B,EAAE,EAAE,8BAA8B;IAClC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,4BAA4B;CACG,CAAC;AAEzC,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,yBAAyB;gBAC/B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,sBAAsB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,wBAAwB;gBAC9B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,qBAAqB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,0BAA0B;gBAChC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,yBAAyB;gBAC/B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,sBAAsB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,uBAAuB;gBAC7B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,oBAAoB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,0CAA0C;IAC1C,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,sBAAsB;gBAC5B,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,mBAAmB;CAC5B,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 */\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { CleanIconButton } from '../../index';\nimport {\n CleanIconButtonActive,\n CleanIconButtonActiveSrc,\n CleanIconButtonDefault,\n CleanIconButtonDefaultSrc,\n CleanIconButtonDisabled,\n CleanIconButtonDisabledSrc,\n CleanIconButtonLoading,\n CleanIconButtonLoadingSrc,\n CleanIconButtonSizes,\n CleanIconButtonSizesSrc,\n CleanIconButtonTone,\n CleanIconButtonToneSrc,\n} from '.';\n\nconst componentMeta = {\n component: CleanIconButton,\n id: 'components-clean-icon-button',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/CleanIconButton',\n} satisfies Meta<typeof CleanIconButton>;\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n code: CleanIconButtonDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CleanIconButtonDefault,\n};\n\nexport const Active: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n code: CleanIconButtonActiveSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CleanIconButtonActive,\n};\n\nexport const Disabled: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n code: CleanIconButtonDisabledSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CleanIconButtonDisabled,\n};\n\nexport const Loading: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n code: CleanIconButtonLoadingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CleanIconButtonLoading,\n};\n\nexport const Sizes: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n code: CleanIconButtonSizesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CleanIconButtonSizes,\n};\n\nexport const Tone: Story = {\n // @ts-expect-error - args are not needed.\n args: {},\n parameters: {\n docs: {\n source: {\n code: CleanIconButtonToneSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: CleanIconButtonTone,\n};\n"]}
@@ -26,14 +26,14 @@ import { SHORT_CODE_EXAMPLE } from './example-code-snippets';
26
26
  const Component = () => {
27
27
  return (_jsx(CodeBlock, { code: SHORT_CODE_EXAMPLE, language: "typescript", heading: "Code Header", isDisabled: true, actions: [
28
28
  {
29
- description: 'copy',
30
29
  children: (_jsx(Square2StackIconOutline, { className: "n-text-neutral-text-icon" })),
30
+ description: 'copy',
31
31
  htmlAttributes: { title: 'copy' },
32
32
  onClick: () => alert('This should not trigger when disabled'),
33
33
  },
34
34
  {
35
- description: 'run',
36
35
  children: _jsx(PlayCircleIconOutline, { className: "n-text-primary-icon" }),
36
+ description: 'run',
37
37
  htmlAttributes: { title: 'run' },
38
38
  onClick: () => alert('This should not trigger when disabled'),
39
39
  },
@@ -1 +1 @@
1
- {"version":3,"file":"code-disabled.story.js","sourceRoot":"","sources":["../../../../src/code-block/stories/code-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,IAAI,EAAE,kBAAkB,EACxB,QAAQ,EAAC,YAAY,EACrB,OAAO,EAAC,aAAa,EACrB,UAAU,QACV,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,MAAM;gBACnB,QAAQ,EAAE,CACR,KAAC,uBAAuB,IAAC,SAAS,EAAC,0BAA0B,GAAG,CACjE;gBACD,cAAc,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBACjC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,uCAAuC,CAAC;aAC9D;YACD;gBACE,WAAW,EAAE,KAAK;gBAClB,QAAQ,EAAE,KAAC,qBAAqB,IAAC,SAAS,EAAC,qBAAqB,GAAG;gBACnE,cAAc,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;gBAChC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,uCAAuC,CAAC;aAC9D;SACF,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,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 { CodeBlock } from '@neo4j-ndl/react';\nimport {\n PlayCircleIconOutline,\n Square2StackIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nimport { SHORT_CODE_EXAMPLE } from './example-code-snippets';\n\nconst Component = () => {\n return (\n <CodeBlock\n code={SHORT_CODE_EXAMPLE}\n language=\"typescript\"\n heading=\"Code Header\"\n isDisabled\n actions={[\n {\n description: 'copy',\n children: (\n <Square2StackIconOutline className=\"n-text-neutral-text-icon\" />\n ),\n htmlAttributes: { title: 'copy' },\n onClick: () => alert('This should not trigger when disabled'),\n },\n {\n description: 'run',\n children: <PlayCircleIconOutline className=\"n-text-primary-icon\" />,\n htmlAttributes: { title: 'run' },\n onClick: () => alert('This should not trigger when disabled'),\n },\n ]}\n />\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"code-disabled.story.js","sourceRoot":"","sources":["../../../../src/code-block/stories/code-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,IAAI,EAAE,kBAAkB,EACxB,QAAQ,EAAC,YAAY,EACrB,OAAO,EAAC,aAAa,EACrB,UAAU,QACV,OAAO,EAAE;YACP;gBACE,QAAQ,EAAE,CACR,KAAC,uBAAuB,IAAC,SAAS,EAAC,0BAA0B,GAAG,CACjE;gBACD,WAAW,EAAE,MAAM;gBACnB,cAAc,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBACjC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,uCAAuC,CAAC;aAC9D;YACD;gBACE,QAAQ,EAAE,KAAC,qBAAqB,IAAC,SAAS,EAAC,qBAAqB,GAAG;gBACnE,WAAW,EAAE,KAAK;gBAClB,cAAc,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;gBAChC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,uCAAuC,CAAC;aAC9D;SACF,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,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 { CodeBlock } from '@neo4j-ndl/react';\nimport {\n PlayCircleIconOutline,\n Square2StackIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nimport { SHORT_CODE_EXAMPLE } from './example-code-snippets';\n\nconst Component = () => {\n return (\n <CodeBlock\n code={SHORT_CODE_EXAMPLE}\n language=\"typescript\"\n heading=\"Code Header\"\n isDisabled\n actions={[\n {\n children: (\n <Square2StackIconOutline className=\"n-text-neutral-text-icon\" />\n ),\n description: 'copy',\n htmlAttributes: { title: 'copy' },\n onClick: () => alert('This should not trigger when disabled'),\n },\n {\n children: <PlayCircleIconOutline className=\"n-text-primary-icon\" />,\n description: 'run',\n htmlAttributes: { title: 'run' },\n onClick: () => alert('This should not trigger when disabled'),\n },\n ]}\n />\n );\n};\n\nexport default Component;\n"]}
@@ -26,14 +26,14 @@ import { LONG_CODE_EXAMPLE } from './example-code-snippets';
26
26
  const Component = () => {
27
27
  return (_jsx(CodeBlock, { code: LONG_CODE_EXAMPLE, maxHeight: 320, language: "typescript", shouldShowLineNumbers: true, theme: "ndl-code-light", heading: "Code Header", actions: [
28
28
  {
29
- description: 'copy',
30
29
  children: (_jsx(Square2StackIconOutline, { className: "n-text-neutral-text-icon" })),
30
+ description: 'copy',
31
31
  htmlAttributes: { title: 'copy' },
32
32
  onClick: () => alert('copied'),
33
33
  },
34
34
  {
35
- description: 'run',
36
35
  children: _jsx(PlayCircleIconOutline, { className: "n-text-primary-icon" }),
36
+ description: 'run',
37
37
  htmlAttributes: { title: 'run' },
38
38
  onClick: () => alert('running'),
39
39
  },
@@ -1 +1 @@
1
- {"version":3,"file":"code-full.story.js","sourceRoot":"","sources":["../../../../src/code-block/stories/code-full.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,IAAI,EAAE,iBAAiB,EACvB,SAAS,EAAE,GAAG,EACd,QAAQ,EAAC,YAAY,EACrB,qBAAqB,QACrB,KAAK,EAAC,gBAAgB,EACtB,OAAO,EAAC,aAAa,EACrB,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,MAAM;gBACnB,QAAQ,EAAE,CACR,KAAC,uBAAuB,IAAC,SAAS,EAAC,0BAA0B,GAAG,CACjE;gBACD,cAAc,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBACjC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;aAC/B;YACD;gBACE,WAAW,EAAE,KAAK;gBAClB,QAAQ,EAAE,KAAC,qBAAqB,IAAC,SAAS,EAAC,qBAAqB,GAAG;gBACnE,cAAc,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;gBAChC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;aAChC;SACF,EACD,UAAU,EAAE,KAAK,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,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 { CodeBlock } from '@neo4j-ndl/react';\nimport {\n PlayCircleIconOutline,\n Square2StackIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nimport { LONG_CODE_EXAMPLE } from './example-code-snippets';\n\nconst Component = () => {\n return (\n <CodeBlock\n code={LONG_CODE_EXAMPLE}\n maxHeight={320}\n language=\"typescript\"\n shouldShowLineNumbers\n theme=\"ndl-code-light\"\n heading=\"Code Header\"\n actions={[\n {\n description: 'copy',\n children: (\n <Square2StackIconOutline className=\"n-text-neutral-text-icon\" />\n ),\n htmlAttributes: { title: 'copy' },\n onClick: () => alert('copied'),\n },\n {\n description: 'run',\n children: <PlayCircleIconOutline className=\"n-text-primary-icon\" />,\n htmlAttributes: { title: 'run' },\n onClick: () => alert('running'),\n },\n ]}\n isDisabled={false}\n />\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"code-full.story.js","sourceRoot":"","sources":["../../../../src/code-block/stories/code-full.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,IAAI,EAAE,iBAAiB,EACvB,SAAS,EAAE,GAAG,EACd,QAAQ,EAAC,YAAY,EACrB,qBAAqB,QACrB,KAAK,EAAC,gBAAgB,EACtB,OAAO,EAAC,aAAa,EACrB,OAAO,EAAE;YACP;gBACE,QAAQ,EAAE,CACR,KAAC,uBAAuB,IAAC,SAAS,EAAC,0BAA0B,GAAG,CACjE;gBACD,WAAW,EAAE,MAAM;gBACnB,cAAc,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBACjC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;aAC/B;YACD;gBACE,QAAQ,EAAE,KAAC,qBAAqB,IAAC,SAAS,EAAC,qBAAqB,GAAG;gBACnE,WAAW,EAAE,KAAK;gBAClB,cAAc,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;gBAChC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;aAChC;SACF,EACD,UAAU,EAAE,KAAK,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,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 { CodeBlock } from '@neo4j-ndl/react';\nimport {\n PlayCircleIconOutline,\n Square2StackIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nimport { LONG_CODE_EXAMPLE } from './example-code-snippets';\n\nconst Component = () => {\n return (\n <CodeBlock\n code={LONG_CODE_EXAMPLE}\n maxHeight={320}\n language=\"typescript\"\n shouldShowLineNumbers\n theme=\"ndl-code-light\"\n heading=\"Code Header\"\n actions={[\n {\n children: (\n <Square2StackIconOutline className=\"n-text-neutral-text-icon\" />\n ),\n description: 'copy',\n htmlAttributes: { title: 'copy' },\n onClick: () => alert('copied'),\n },\n {\n children: <PlayCircleIconOutline className=\"n-text-primary-icon\" />,\n description: 'run',\n htmlAttributes: { title: 'run' },\n onClick: () => alert('running'),\n },\n ]}\n isDisabled={false}\n />\n );\n};\n\nexport default Component;\n"]}
@@ -26,14 +26,14 @@ import { SHORT_CODE_EXAMPLE } from './example-code-snippets';
26
26
  const Component = () => {
27
27
  return (_jsx(CodeBlock, { code: SHORT_CODE_EXAMPLE, language: "typescript", maxHeight: 320, actions: [
28
28
  {
29
- description: 'copy',
30
29
  children: (_jsx(Square2StackIconOutline, { className: "n-text-neutral-text-icon" })),
30
+ description: 'copy',
31
31
  htmlAttributes: { title: 'copy' },
32
32
  onClick: () => alert('Code copied to clipboard!'),
33
33
  },
34
34
  {
35
- description: 'run',
36
35
  children: _jsx(PlayCircleIconOutline, { className: "n-text-primary-icon" }),
36
+ description: 'run',
37
37
  htmlAttributes: { title: 'run' },
38
38
  onClick: () => alert('Running code...'),
39
39
  },
@@ -1 +1 @@
1
- {"version":3,"file":"code-with-actions.story.js","sourceRoot":"","sources":["../../../../src/code-block/stories/code-with-actions.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,IAAI,EAAE,kBAAkB,EACxB,QAAQ,EAAC,YAAY,EACrB,SAAS,EAAE,GAAG,EACd,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,MAAM;gBACnB,QAAQ,EAAE,CACR,KAAC,uBAAuB,IAAC,SAAS,EAAC,0BAA0B,GAAG,CACjE;gBACD,cAAc,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBACjC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,2BAA2B,CAAC;aAClD;YACD;gBACE,WAAW,EAAE,KAAK;gBAClB,QAAQ,EAAE,KAAC,qBAAqB,IAAC,SAAS,EAAC,qBAAqB,GAAG;gBACnE,cAAc,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;gBAChC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC;aACxC;SACF,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,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 { CodeBlock } from '@neo4j-ndl/react';\nimport {\n PlayCircleIconOutline,\n Square2StackIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nimport { SHORT_CODE_EXAMPLE } from './example-code-snippets';\n\nconst Component = () => {\n return (\n <CodeBlock\n code={SHORT_CODE_EXAMPLE}\n language=\"typescript\"\n maxHeight={320}\n actions={[\n {\n description: 'copy',\n children: (\n <Square2StackIconOutline className=\"n-text-neutral-text-icon\" />\n ),\n htmlAttributes: { title: 'copy' },\n onClick: () => alert('Code copied to clipboard!'),\n },\n {\n description: 'run',\n children: <PlayCircleIconOutline className=\"n-text-primary-icon\" />,\n htmlAttributes: { title: 'run' },\n onClick: () => alert('Running code...'),\n },\n ]}\n />\n );\n};\n\nexport default Component;\n"]}
1
+ {"version":3,"file":"code-with-actions.story.js","sourceRoot":"","sources":["../../../../src/code-block/stories/code-with-actions.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,SAAS,IACR,IAAI,EAAE,kBAAkB,EACxB,QAAQ,EAAC,YAAY,EACrB,SAAS,EAAE,GAAG,EACd,OAAO,EAAE;YACP;gBACE,QAAQ,EAAE,CACR,KAAC,uBAAuB,IAAC,SAAS,EAAC,0BAA0B,GAAG,CACjE;gBACD,WAAW,EAAE,MAAM;gBACnB,cAAc,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBACjC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,2BAA2B,CAAC;aAClD;YACD;gBACE,QAAQ,EAAE,KAAC,qBAAqB,IAAC,SAAS,EAAC,qBAAqB,GAAG;gBACnE,WAAW,EAAE,KAAK;gBAClB,cAAc,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;gBAChC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC;aACxC;SACF,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,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 { CodeBlock } from '@neo4j-ndl/react';\nimport {\n PlayCircleIconOutline,\n Square2StackIconOutline,\n} from '@neo4j-ndl/react/icons';\n\nimport { SHORT_CODE_EXAMPLE } from './example-code-snippets';\n\nconst Component = () => {\n return (\n <CodeBlock\n code={SHORT_CODE_EXAMPLE}\n language=\"typescript\"\n maxHeight={320}\n actions={[\n {\n children: (\n <Square2StackIconOutline className=\"n-text-neutral-text-icon\" />\n ),\n description: 'copy',\n htmlAttributes: { title: 'copy' },\n onClick: () => alert('Code copied to clipboard!'),\n },\n {\n children: <PlayCircleIconOutline className=\"n-text-primary-icon\" />,\n description: 'run',\n htmlAttributes: { title: 'run' },\n onClick: () => alert('Running code...'),\n },\n ]}\n />\n );\n};\n\nexport default Component;\n"]}
@@ -19,102 +19,102 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  const style = {
22
- 'pre[class*="language-"]': {
23
- color: '#d4d4d4',
24
- fontSize: 'var(--typography-code-font-size)',
25
- fontWeight: 'var(--typography-code-font-weight)',
26
- letterSpacing: '0',
27
- lineHeight: '1.25rem',
28
- textShadow: 'none',
29
- fontFamily: 'var(--typography-code-font-family), monospace',
30
- direction: 'ltr',
31
- textAlign: 'left',
32
- whiteSpace: 'pre',
33
- wordSpacing: 'normal',
34
- wordBreak: 'normal',
22
+ '.namespace': {
23
+ opacity: '.7',
24
+ },
25
+ boolean: {
26
+ color: 'var(--code-dark-boolean-literal)',
27
+ },
28
+ char: {
29
+ color: 'var(--code-dark-string-literal)',
30
+ },
31
+ 'code[class*="language-"]': {
32
+ MozHyphens: 'none',
35
33
  MozTabSize: '4',
36
34
  OTabSize: '4',
37
- tabSize: '4',
38
35
  WebkitHyphens: 'none',
39
- MozHyphens: 'none',
40
- msHyphens: 'none',
41
- hyphens: 'none',
42
- padding: '1em',
43
- margin: '.5em 0',
44
- overflow: 'auto',
45
- background: '#1e1e1e',
46
- },
47
- 'code[class*="language-"]': {
48
36
  color: '#d4d4d4',
37
+ direction: 'ltr',
38
+ fontFamily: 'var(--typography-code-font-family), monospace',
49
39
  fontSize: 'var(--typography-code-font-size)',
50
40
  fontWeight: 'var(--typography-code-font-weight)',
41
+ hyphens: 'none',
51
42
  letterSpacing: '0',
52
43
  lineHeight: '1.25rem',
53
- textShadow: 'none',
54
- fontFamily: 'var(--typography-code-font-family), monospace',
55
- direction: 'ltr',
44
+ msHyphens: 'none',
45
+ tabSize: '4',
56
46
  textAlign: 'left',
47
+ textShadow: 'none',
57
48
  whiteSpace: 'pre',
58
- wordSpacing: 'normal',
59
49
  wordBreak: 'normal',
60
- MozTabSize: '4',
61
- OTabSize: '4',
62
- tabSize: '4',
63
- WebkitHyphens: 'none',
64
- MozHyphens: 'none',
65
- msHyphens: 'none',
66
- hyphens: 'none',
67
- },
68
- '.namespace': {
69
- opacity: '.7',
50
+ wordSpacing: 'normal',
70
51
  },
71
52
  comment: {
72
53
  color: 'var(--code-dark-comment)',
73
54
  },
74
- prolog: {
75
- color: 'var(--code-dark-comment)',
55
+ function: {
56
+ color: 'var(--code-dark-function)',
76
57
  },
77
- punctuation: {
78
- color: 'var(--code-dark-operator)',
58
+ 'function.maybe-class-name': {
59
+ color: 'var(--code-dark-function)',
79
60
  },
80
- property: {
81
- color: 'var(--code-dark-property)',
61
+ italic: {
62
+ fontStyle: 'italic',
82
63
  },
83
- boolean: {
84
- color: 'var(--code-dark-boolean-literal)',
64
+ keyword: {
65
+ color: 'var(--code-dark-keyword)',
85
66
  },
86
- number: {
87
- color: 'var(--code-dark-number-literal)',
67
+ 'keyword.control-flow': {
68
+ color: 'var(--code-dark-keyword)',
88
69
  },
89
- string: {
90
- color: 'var(--code-dark-string-literal)',
70
+ 'keyword.module': {
71
+ color: 'var(--code-dark-keyword)',
91
72
  },
92
- char: {
93
- color: 'var(--code-dark-string-literal)',
73
+ number: {
74
+ color: 'var(--code-dark-number-literal)',
94
75
  },
95
76
  operator: {
96
77
  color: 'var(--code-dark-operator)',
97
78
  },
98
- keyword: {
99
- color: 'var(--code-dark-keyword)',
100
- },
101
- 'keyword.module': {
102
- color: 'var(--code-dark-keyword)',
79
+ 'pre[class*="language-"]': {
80
+ MozHyphens: 'none',
81
+ MozTabSize: '4',
82
+ OTabSize: '4',
83
+ WebkitHyphens: 'none',
84
+ background: '#1e1e1e',
85
+ color: '#d4d4d4',
86
+ direction: 'ltr',
87
+ fontFamily: 'var(--typography-code-font-family), monospace',
88
+ fontSize: 'var(--typography-code-font-size)',
89
+ fontWeight: 'var(--typography-code-font-weight)',
90
+ hyphens: 'none',
91
+ letterSpacing: '0',
92
+ lineHeight: '1.25rem',
93
+ margin: '.5em 0',
94
+ msHyphens: 'none',
95
+ overflow: 'auto',
96
+ padding: '1em',
97
+ tabSize: '4',
98
+ textAlign: 'left',
99
+ textShadow: 'none',
100
+ whiteSpace: 'pre',
101
+ wordBreak: 'normal',
102
+ wordSpacing: 'normal',
103
103
  },
104
- 'keyword.control-flow': {
105
- color: 'var(--code-dark-keyword)',
104
+ prolog: {
105
+ color: 'var(--code-dark-comment)',
106
106
  },
107
- function: {
108
- color: 'var(--code-dark-function)',
107
+ property: {
108
+ color: 'var(--code-dark-property)',
109
109
  },
110
- 'function.maybe-class-name': {
111
- color: 'var(--code-dark-function)',
110
+ punctuation: {
111
+ color: 'var(--code-dark-operator)',
112
112
  },
113
113
  regex: {
114
114
  color: 'var(--code-dark-operator)',
115
115
  },
116
- italic: {
117
- fontStyle: 'italic',
116
+ string: {
117
+ color: 'var(--code-dark-string-literal)',
118
118
  },
119
119
  variable: {
120
120
  color: 'var(--code-dark-property)',
@@ -1 +1 @@
1
- {"version":3,"file":"ndl-code-dark.js","sourceRoot":"","sources":["../../../../src/code-block/themes/ndl-code-dark.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,KAAK,GAA2C;IACpD,yBAAyB,EAAE;QACzB,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,kCAAkC;QAC5C,UAAU,EAAE,oCAAoC;QAChD,aAAa,EAAE,GAAG;QAClB,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,+CAA+C;QAC3D,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,MAAM;QACjB,UAAU,EAAE,KAAK;QACjB,WAAW,EAAE,QAAQ;QACrB,SAAS,EAAE,QAAQ;QACnB,UAAU,EAAE,GAAG;QACf,QAAQ,EAAE,GAAG;QACb,OAAO,EAAE,GAAG;QACZ,aAAa,EAAE,MAAM;QACrB,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,MAAM;QACjB,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,SAAS;KACtB;IACD,0BAA0B,EAAE;QAC1B,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,kCAAkC;QAC5C,UAAU,EAAE,oCAAoC;QAChD,aAAa,EAAE,GAAG;QAClB,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,+CAA+C;QAC3D,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,MAAM;QACjB,UAAU,EAAE,KAAK;QACjB,WAAW,EAAE,QAAQ;QACrB,SAAS,EAAE,QAAQ;QACnB,UAAU,EAAE,GAAG;QACf,QAAQ,EAAE,GAAG;QACb,OAAO,EAAE,GAAG;QACZ,aAAa,EAAE,MAAM;QACrB,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,MAAM;QACjB,OAAO,EAAE,MAAM;KAChB;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,IAAI;KACd;IACD,OAAO,EAAE;QACP,KAAK,EAAE,0BAA0B;KAClC;IACD,MAAM,EAAE;QACN,KAAK,EAAE,0BAA0B;KAClC;IACD,WAAW,EAAE;QACX,KAAK,EAAE,2BAA2B;KACnC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,2BAA2B;KACnC;IACD,OAAO,EAAE;QACP,KAAK,EAAE,kCAAkC;KAC1C;IACD,MAAM,EAAE;QACN,KAAK,EAAE,iCAAiC;KACzC;IACD,MAAM,EAAE;QACN,KAAK,EAAE,iCAAiC;KACzC;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,iCAAiC;KACzC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,2BAA2B;KACnC;IACD,OAAO,EAAE;QACP,KAAK,EAAE,0BAA0B;KAClC;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,0BAA0B;KAClC;IACD,sBAAsB,EAAE;QACtB,KAAK,EAAE,0BAA0B;KAClC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,2BAA2B;KACnC;IACD,2BAA2B,EAAE;QAC3B,KAAK,EAAE,2BAA2B;KACnC;IACD,KAAK,EAAE;QACL,KAAK,EAAE,2BAA2B;KACnC;IACD,MAAM,EAAE;QACN,SAAS,EAAE,QAAQ;KACpB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,2BAA2B;KACnC;CACF,CAAC;AAEF,eAAe,KAAK,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 */\nconst style: { [key: string]: React.CSSProperties } = {\n 'pre[class*=\"language-\"]': {\n color: '#d4d4d4',\n fontSize: 'var(--typography-code-font-size)',\n fontWeight: 'var(--typography-code-font-weight)',\n letterSpacing: '0',\n lineHeight: '1.25rem',\n textShadow: 'none',\n fontFamily: 'var(--typography-code-font-family), monospace',\n direction: 'ltr',\n textAlign: 'left',\n whiteSpace: 'pre',\n wordSpacing: 'normal',\n wordBreak: 'normal',\n MozTabSize: '4',\n OTabSize: '4',\n tabSize: '4',\n WebkitHyphens: 'none',\n MozHyphens: 'none',\n msHyphens: 'none',\n hyphens: 'none',\n padding: '1em',\n margin: '.5em 0',\n overflow: 'auto',\n background: '#1e1e1e',\n },\n 'code[class*=\"language-\"]': {\n color: '#d4d4d4',\n fontSize: 'var(--typography-code-font-size)',\n fontWeight: 'var(--typography-code-font-weight)',\n letterSpacing: '0',\n lineHeight: '1.25rem',\n textShadow: 'none',\n fontFamily: 'var(--typography-code-font-family), monospace',\n direction: 'ltr',\n textAlign: 'left',\n whiteSpace: 'pre',\n wordSpacing: 'normal',\n wordBreak: 'normal',\n MozTabSize: '4',\n OTabSize: '4',\n tabSize: '4',\n WebkitHyphens: 'none',\n MozHyphens: 'none',\n msHyphens: 'none',\n hyphens: 'none',\n },\n '.namespace': {\n opacity: '.7',\n },\n comment: {\n color: 'var(--code-dark-comment)',\n },\n prolog: {\n color: 'var(--code-dark-comment)',\n },\n punctuation: {\n color: 'var(--code-dark-operator)',\n },\n property: {\n color: 'var(--code-dark-property)',\n },\n boolean: {\n color: 'var(--code-dark-boolean-literal)',\n },\n number: {\n color: 'var(--code-dark-number-literal)',\n },\n string: {\n color: 'var(--code-dark-string-literal)',\n },\n char: {\n color: 'var(--code-dark-string-literal)',\n },\n operator: {\n color: 'var(--code-dark-operator)',\n },\n keyword: {\n color: 'var(--code-dark-keyword)',\n },\n 'keyword.module': {\n color: 'var(--code-dark-keyword)',\n },\n 'keyword.control-flow': {\n color: 'var(--code-dark-keyword)',\n },\n function: {\n color: 'var(--code-dark-function)',\n },\n 'function.maybe-class-name': {\n color: 'var(--code-dark-function)',\n },\n regex: {\n color: 'var(--code-dark-operator)',\n },\n italic: {\n fontStyle: 'italic',\n },\n variable: {\n color: 'var(--code-dark-property)',\n },\n};\n\nexport default style;\n"]}
1
+ {"version":3,"file":"ndl-code-dark.js","sourceRoot":"","sources":["../../../../src/code-block/themes/ndl-code-dark.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,KAAK,GAA2C;IACpD,YAAY,EAAE;QACZ,OAAO,EAAE,IAAI;KACd;IACD,OAAO,EAAE;QACP,KAAK,EAAE,kCAAkC;KAC1C;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,iCAAiC;KACzC;IACD,0BAA0B,EAAE;QAC1B,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,GAAG;QACf,QAAQ,EAAE,GAAG;QACb,aAAa,EAAE,MAAM;QACrB,KAAK,EAAE,SAAS;QAChB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,+CAA+C;QAC3D,QAAQ,EAAE,kCAAkC;QAC5C,UAAU,EAAE,oCAAoC;QAChD,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,GAAG;QAClB,UAAU,EAAE,SAAS;QACrB,SAAS,EAAE,MAAM;QACjB,OAAO,EAAE,GAAG;QACZ,SAAS,EAAE,MAAM;QACjB,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,QAAQ;QACnB,WAAW,EAAE,QAAQ;KACtB;IACD,OAAO,EAAE;QACP,KAAK,EAAE,0BAA0B;KAClC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,2BAA2B;KACnC;IACD,2BAA2B,EAAE;QAC3B,KAAK,EAAE,2BAA2B;KACnC;IACD,MAAM,EAAE;QACN,SAAS,EAAE,QAAQ;KACpB;IACD,OAAO,EAAE;QACP,KAAK,EAAE,0BAA0B;KAClC;IACD,sBAAsB,EAAE;QACtB,KAAK,EAAE,0BAA0B;KAClC;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,0BAA0B;KAClC;IACD,MAAM,EAAE;QACN,KAAK,EAAE,iCAAiC;KACzC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,2BAA2B;KACnC;IACD,yBAAyB,EAAE;QACzB,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,GAAG;QACf,QAAQ,EAAE,GAAG;QACb,aAAa,EAAE,MAAM;QACrB,UAAU,EAAE,SAAS;QACrB,KAAK,EAAE,SAAS;QAChB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,+CAA+C;QAC3D,QAAQ,EAAE,kCAAkC;QAC5C,UAAU,EAAE,oCAAoC;QAChD,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,GAAG;QAClB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,MAAM;QACjB,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,GAAG;QACZ,SAAS,EAAE,MAAM;QACjB,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,QAAQ;QACnB,WAAW,EAAE,QAAQ;KACtB;IACD,MAAM,EAAE;QACN,KAAK,EAAE,0BAA0B;KAClC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,2BAA2B;KACnC;IACD,WAAW,EAAE;QACX,KAAK,EAAE,2BAA2B;KACnC;IACD,KAAK,EAAE;QACL,KAAK,EAAE,2BAA2B;KACnC;IACD,MAAM,EAAE;QACN,KAAK,EAAE,iCAAiC;KACzC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,2BAA2B;KACnC;CACF,CAAC;AAEF,eAAe,KAAK,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 */\nconst style: { [key: string]: React.CSSProperties } = {\n '.namespace': {\n opacity: '.7',\n },\n boolean: {\n color: 'var(--code-dark-boolean-literal)',\n },\n char: {\n color: 'var(--code-dark-string-literal)',\n },\n 'code[class*=\"language-\"]': {\n MozHyphens: 'none',\n MozTabSize: '4',\n OTabSize: '4',\n WebkitHyphens: 'none',\n color: '#d4d4d4',\n direction: 'ltr',\n fontFamily: 'var(--typography-code-font-family), monospace',\n fontSize: 'var(--typography-code-font-size)',\n fontWeight: 'var(--typography-code-font-weight)',\n hyphens: 'none',\n letterSpacing: '0',\n lineHeight: '1.25rem',\n msHyphens: 'none',\n tabSize: '4',\n textAlign: 'left',\n textShadow: 'none',\n whiteSpace: 'pre',\n wordBreak: 'normal',\n wordSpacing: 'normal',\n },\n comment: {\n color: 'var(--code-dark-comment)',\n },\n function: {\n color: 'var(--code-dark-function)',\n },\n 'function.maybe-class-name': {\n color: 'var(--code-dark-function)',\n },\n italic: {\n fontStyle: 'italic',\n },\n keyword: {\n color: 'var(--code-dark-keyword)',\n },\n 'keyword.control-flow': {\n color: 'var(--code-dark-keyword)',\n },\n 'keyword.module': {\n color: 'var(--code-dark-keyword)',\n },\n number: {\n color: 'var(--code-dark-number-literal)',\n },\n operator: {\n color: 'var(--code-dark-operator)',\n },\n 'pre[class*=\"language-\"]': {\n MozHyphens: 'none',\n MozTabSize: '4',\n OTabSize: '4',\n WebkitHyphens: 'none',\n background: '#1e1e1e',\n color: '#d4d4d4',\n direction: 'ltr',\n fontFamily: 'var(--typography-code-font-family), monospace',\n fontSize: 'var(--typography-code-font-size)',\n fontWeight: 'var(--typography-code-font-weight)',\n hyphens: 'none',\n letterSpacing: '0',\n lineHeight: '1.25rem',\n margin: '.5em 0',\n msHyphens: 'none',\n overflow: 'auto',\n padding: '1em',\n tabSize: '4',\n textAlign: 'left',\n textShadow: 'none',\n whiteSpace: 'pre',\n wordBreak: 'normal',\n wordSpacing: 'normal',\n },\n prolog: {\n color: 'var(--code-dark-comment)',\n },\n property: {\n color: 'var(--code-dark-property)',\n },\n punctuation: {\n color: 'var(--code-dark-operator)',\n },\n regex: {\n color: 'var(--code-dark-operator)',\n },\n string: {\n color: 'var(--code-dark-string-literal)',\n },\n variable: {\n color: 'var(--code-dark-property)',\n },\n};\n\nexport default style;\n"]}
@@ -19,102 +19,102 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  const style = {
22
- 'pre[class*="language-"]': {
23
- color: '#d4d4d4',
24
- fontSize: 'var(--typography-code-font-size)',
25
- fontWeight: 'var(--typography-code-font-weight)',
26
- letterSpacing: '0',
27
- lineHeight: '1.25rem',
28
- textShadow: 'none',
29
- fontFamily: 'var(--typography-code-font-family), monospace',
30
- direction: 'ltr',
31
- textAlign: 'left',
32
- whiteSpace: 'pre',
33
- wordSpacing: 'normal',
34
- wordBreak: 'normal',
22
+ '.namespace': {
23
+ opacity: '.7',
24
+ },
25
+ boolean: {
26
+ color: 'var(--code-light-boolean-literal)',
27
+ },
28
+ char: {
29
+ color: 'var(--code-light-string-literal)',
30
+ },
31
+ 'code[class*="language-"]': {
32
+ MozHyphens: 'none',
35
33
  MozTabSize: '4',
36
34
  OTabSize: '4',
37
- tabSize: '4',
38
35
  WebkitHyphens: 'none',
39
- MozHyphens: 'none',
40
- msHyphens: 'none',
41
- hyphens: 'none',
42
- padding: '1em',
43
- margin: '.5em 0',
44
- overflow: 'auto',
45
- background: '#1e1e1e',
46
- },
47
- 'code[class*="language-"]': {
48
36
  color: '#d4d4d4',
37
+ direction: 'ltr',
38
+ fontFamily: 'var(--typography-code-font-family), monospace',
49
39
  fontSize: 'var(--typography-code-font-size)',
50
40
  fontWeight: 'var(--typography-code-font-weight)',
41
+ hyphens: 'none',
51
42
  letterSpacing: '0',
52
43
  lineHeight: '1.25rem',
53
- textShadow: 'none',
54
- fontFamily: 'var(--typography-code-font-family), monospace',
55
- direction: 'ltr',
44
+ msHyphens: 'none',
45
+ tabSize: '4',
56
46
  textAlign: 'left',
47
+ textShadow: 'none',
57
48
  whiteSpace: 'pre',
58
- wordSpacing: 'normal',
59
49
  wordBreak: 'normal',
60
- MozTabSize: '4',
61
- OTabSize: '4',
62
- tabSize: '4',
63
- WebkitHyphens: 'none',
64
- MozHyphens: 'none',
65
- msHyphens: 'none',
66
- hyphens: 'none',
67
- },
68
- '.namespace': {
69
- opacity: '.7',
50
+ wordSpacing: 'normal',
70
51
  },
71
52
  comment: {
72
53
  color: 'var(--code-light-comment)',
73
54
  },
74
- prolog: {
75
- color: 'var(--code-light-comment)',
55
+ function: {
56
+ color: 'var(--code-light-function)',
76
57
  },
77
- punctuation: {
78
- color: 'var(--code-light-operator)',
58
+ 'function.maybe-class-name': {
59
+ color: 'var(--code-light-function)',
79
60
  },
80
- property: {
81
- color: 'var(--code-light-property)',
61
+ italic: {
62
+ fontStyle: 'italic',
82
63
  },
83
- boolean: {
84
- color: 'var(--code-light-boolean-literal)',
64
+ keyword: {
65
+ color: 'var(--code-light-keyword)',
85
66
  },
86
- number: {
87
- color: 'var(--code-light-number-literal)',
67
+ 'keyword.control-flow': {
68
+ color: 'var(--code-light-keyword)',
88
69
  },
89
- string: {
90
- color: 'var(--code-light-string-literal)',
70
+ 'keyword.module': {
71
+ color: 'var(--code-light-keyword)',
91
72
  },
92
- char: {
93
- color: 'var(--code-light-string-literal)',
73
+ number: {
74
+ color: 'var(--code-light-number-literal)',
94
75
  },
95
76
  operator: {
96
77
  color: 'var(--code-light-operator)',
97
78
  },
98
- keyword: {
99
- color: 'var(--code-light-keyword)',
100
- },
101
- 'keyword.module': {
102
- color: 'var(--code-light-keyword)',
79
+ 'pre[class*="language-"]': {
80
+ MozHyphens: 'none',
81
+ MozTabSize: '4',
82
+ OTabSize: '4',
83
+ WebkitHyphens: 'none',
84
+ background: '#1e1e1e',
85
+ color: '#d4d4d4',
86
+ direction: 'ltr',
87
+ fontFamily: 'var(--typography-code-font-family), monospace',
88
+ fontSize: 'var(--typography-code-font-size)',
89
+ fontWeight: 'var(--typography-code-font-weight)',
90
+ hyphens: 'none',
91
+ letterSpacing: '0',
92
+ lineHeight: '1.25rem',
93
+ margin: '.5em 0',
94
+ msHyphens: 'none',
95
+ overflow: 'auto',
96
+ padding: '1em',
97
+ tabSize: '4',
98
+ textAlign: 'left',
99
+ textShadow: 'none',
100
+ whiteSpace: 'pre',
101
+ wordBreak: 'normal',
102
+ wordSpacing: 'normal',
103
103
  },
104
- 'keyword.control-flow': {
105
- color: 'var(--code-light-keyword)',
104
+ prolog: {
105
+ color: 'var(--code-light-comment)',
106
106
  },
107
- function: {
108
- color: 'var(--code-light-function)',
107
+ property: {
108
+ color: 'var(--code-light-property)',
109
109
  },
110
- 'function.maybe-class-name': {
111
- color: 'var(--code-light-function)',
110
+ punctuation: {
111
+ color: 'var(--code-light-operator)',
112
112
  },
113
113
  regex: {
114
114
  color: 'var(--code-light-operator)',
115
115
  },
116
- italic: {
117
- fontStyle: 'italic',
116
+ string: {
117
+ color: 'var(--code-light-string-literal)',
118
118
  },
119
119
  variable: {
120
120
  color: 'var(--code-light-property)',