@neo4j-ndl/react 1.10.5 → 1.10.6

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 (144) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/lib/LICENSES.txt +26 -0
  3. package/lib/NOTICE.txt +4 -0
  4. package/lib/cjs/_common/CodeBlockWrapper.js.map +1 -1
  5. package/lib/cjs/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
  6. package/lib/cjs/_common/utils.js.map +1 -1
  7. package/lib/cjs/accordion/Accordion.js.map +1 -1
  8. package/lib/cjs/context-menu/ContextMenu.js.map +1 -1
  9. package/lib/cjs/context-menu/SafeArea.js.map +1 -1
  10. package/lib/cjs/date-picker/DatePicker.js.map +1 -1
  11. package/lib/cjs/dialog/Dialog.js.map +1 -1
  12. package/lib/cjs/drawer/Drawer.js.map +1 -1
  13. package/lib/cjs/dropdown/Dropdown.js +1 -1
  14. package/lib/cjs/dropdown/Dropdown.js.map +1 -1
  15. package/lib/cjs/side-navigation/SideNavigation.js.map +1 -1
  16. package/lib/cjs/table/Components.js +9 -10
  17. package/lib/cjs/table/Components.js.map +1 -1
  18. package/lib/cjs/table/Table.js.map +1 -1
  19. package/lib/cjs/table-deprecated/hooks/useSingleRowSelect.js.map +1 -1
  20. package/lib/cjs/tabs/Tabs.js.map +1 -1
  21. package/lib/cjs/text-input/TextInput.js.map +1 -1
  22. package/lib/cjs/textarea/Textarea.js.map +1 -1
  23. package/lib/cjs/tooltip/Tip.js.map +1 -1
  24. package/lib/cjs/view-selector/ViewSelector.js.map +1 -1
  25. package/lib/cjs/widget/Widget.js.map +1 -1
  26. package/lib/esm/_common/CodeBlockWrapper.js.map +1 -1
  27. package/lib/esm/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
  28. package/lib/esm/_common/utils.js +1 -1
  29. package/lib/esm/_common/utils.js.map +1 -1
  30. package/lib/esm/accordion/Accordion.js.map +1 -1
  31. package/lib/esm/context-menu/ContextMenu.js.map +1 -1
  32. package/lib/esm/context-menu/SafeArea.js.map +1 -1
  33. package/lib/esm/date-picker/DatePicker.js.map +1 -1
  34. package/lib/esm/dialog/Dialog.js.map +1 -1
  35. package/lib/esm/drag-and-drop/DragAndDrop.js.map +1 -1
  36. package/lib/esm/drawer/Drawer.js.map +1 -1
  37. package/lib/esm/dropdown/Dropdown.js +1 -1
  38. package/lib/esm/dropdown/Dropdown.js.map +1 -1
  39. package/lib/esm/dropdown/Overrides.js.map +1 -1
  40. package/lib/esm/helpers/forwardRef.js.map +1 -1
  41. package/lib/esm/side-navigation/SideNavigation.js.map +1 -1
  42. package/lib/esm/table/Components.js +4 -5
  43. package/lib/esm/table/Components.js.map +1 -1
  44. package/lib/esm/table/Table.js.map +1 -1
  45. package/lib/esm/table-deprecated/hooks/useMultiRowSelect.js.map +1 -1
  46. package/lib/esm/table-deprecated/hooks/useSingleRowSelect.js.map +1 -1
  47. package/lib/esm/tabs/Tabs.js.map +1 -1
  48. package/lib/esm/text-input/TextInput.js +1 -1
  49. package/lib/esm/text-input/TextInput.js.map +1 -1
  50. package/lib/esm/textarea/Textarea.js.map +1 -1
  51. package/lib/esm/tooltip/Tip.js.map +1 -1
  52. package/lib/esm/typography/Typography.js.map +1 -1
  53. package/lib/esm/view-selector/ViewSelector.js.map +1 -1
  54. package/lib/esm/widget/Widget.js.map +1 -1
  55. package/lib/types/_common/CodeBlockWrapper.d.ts +2 -2
  56. package/lib/types/_common/input/RadioAndCheckboxWrapper.d.ts +1 -1
  57. package/lib/types/_common/input/types.d.ts +1 -1
  58. package/lib/types/_common/utils.d.ts +1 -1
  59. package/lib/types/accordion/Accordion.d.ts +1 -1
  60. package/lib/types/banner/Banner.d.ts +1 -1
  61. package/lib/types/button/Button.d.ts +2 -2
  62. package/lib/types/button/IconButton.d.ts +1 -1
  63. package/lib/types/button/IconButtonArray.d.ts +1 -1
  64. package/lib/types/checkbox/Checkbox.d.ts +1 -1
  65. package/lib/types/code-block/CodeBlock.d.ts +3 -3
  66. package/lib/types/context-menu/ContextMenu.d.ts +1 -1
  67. package/lib/types/cypher-code-block/CypherCodeBlock.d.ts +2 -2
  68. package/lib/types/date-picker/DatePicker.d.ts +3 -3
  69. package/lib/types/dialog/Dialog.d.ts +2 -2
  70. package/lib/types/drag-and-drop/DragAndDrop.d.ts +2 -2
  71. package/lib/types/drag-and-drop/icons/CSV-file.d.ts +1 -1
  72. package/lib/types/drag-and-drop/icons/Cloud.d.ts +1 -1
  73. package/lib/types/drag-and-drop/icons/File.d.ts +1 -1
  74. package/lib/types/drag-and-drop/icons/InvalidFile.d.ts +1 -1
  75. package/lib/types/drawer/Drawer.d.ts +3 -3
  76. package/lib/types/dropdown/Dropdown.d.ts +2 -3
  77. package/lib/types/dropdown/Overrides.d.ts +2 -2
  78. package/lib/types/dropdown/types.d.ts +4 -4
  79. package/lib/types/helpers/forwardRef.d.ts +1 -1
  80. package/lib/types/icons/generated/custom/AddNode.d.ts +1 -1
  81. package/lib/types/icons/generated/custom/AlignBottom.d.ts +1 -1
  82. package/lib/types/icons/generated/custom/AlignCenter.d.ts +1 -1
  83. package/lib/types/icons/generated/custom/AlignTop.d.ts +1 -1
  84. package/lib/types/icons/generated/custom/Bold.d.ts +1 -1
  85. package/lib/types/icons/generated/custom/Circle.d.ts +1 -1
  86. package/lib/types/icons/generated/custom/CollapseExpand.d.ts +1 -1
  87. package/lib/types/icons/generated/custom/CollapseExpandLeft.d.ts +1 -1
  88. package/lib/types/icons/generated/custom/CollapseExpandRight.d.ts +1 -1
  89. package/lib/types/icons/generated/custom/Configure.d.ts +1 -1
  90. package/lib/types/icons/generated/custom/DatabaseAddCircle.d.ts +1 -1
  91. package/lib/types/icons/generated/custom/Dbms.d.ts +1 -1
  92. package/lib/types/icons/generated/custom/Drag.d.ts +1 -1
  93. package/lib/types/icons/generated/custom/Expand.d.ts +1 -1
  94. package/lib/types/icons/generated/custom/ExternalLink.d.ts +1 -1
  95. package/lib/types/icons/generated/custom/FitToScreen.d.ts +1 -1
  96. package/lib/types/icons/generated/custom/FolderBookmark.d.ts +1 -1
  97. package/lib/types/icons/generated/custom/Heirarchy2.d.ts +1 -1
  98. package/lib/types/icons/generated/custom/Hierarchy1.d.ts +1 -1
  99. package/lib/types/icons/generated/custom/Hierarchy2.d.ts +1 -1
  100. package/lib/types/icons/generated/custom/Italic.d.ts +1 -1
  101. package/lib/types/icons/generated/custom/NomLevel.d.ts +1 -1
  102. package/lib/types/icons/generated/custom/Pin.d.ts +1 -1
  103. package/lib/types/icons/generated/custom/PlanView.d.ts +1 -1
  104. package/lib/types/icons/generated/custom/Presentation.d.ts +1 -1
  105. package/lib/types/icons/generated/custom/QueryBrowser.d.ts +1 -1
  106. package/lib/types/icons/generated/custom/ResizeCorner.d.ts +1 -1
  107. package/lib/types/icons/generated/custom/Rhombus.d.ts +1 -1
  108. package/lib/types/icons/generated/custom/ScienceMolecule.d.ts +1 -1
  109. package/lib/types/icons/generated/custom/Shrink.d.ts +1 -1
  110. package/lib/types/icons/generated/custom/SidebarLineLeft.d.ts +1 -1
  111. package/lib/types/icons/generated/custom/SidebarLineRight.d.ts +1 -1
  112. package/lib/types/icons/generated/custom/Square.d.ts +1 -1
  113. package/lib/types/icons/generated/custom/Status.d.ts +1 -1
  114. package/lib/types/icons/generated/custom/Text.d.ts +1 -1
  115. package/lib/types/icons/generated/custom/Triangle.d.ts +1 -1
  116. package/lib/types/icons/generated/custom/Underline.d.ts +1 -1
  117. package/lib/types/icons/generated/custom/VisualizeBloom.d.ts +1 -1
  118. package/lib/types/label/Label.d.ts +1 -1
  119. package/lib/types/modal/Modal.d.ts +1 -1
  120. package/lib/types/radio/Radio.d.ts +1 -1
  121. package/lib/types/side-navigation/SideNavigation.d.ts +1 -1
  122. package/lib/types/status-indicator/StatusIndicator.d.ts +1 -1
  123. package/lib/types/switch/Switch.d.ts +1 -1
  124. package/lib/types/table/Components.d.ts +3 -3
  125. package/lib/types/table/Table.d.ts +3 -3
  126. package/lib/types/table/TableContext.d.ts +2 -2
  127. package/lib/types/table/helpers.d.ts +1 -1
  128. package/lib/types/table-deprecated/Table.d.ts +2 -2
  129. package/lib/types/table-deprecated/helpers.d.ts +1 -1
  130. package/lib/types/table-deprecated/hooks/hookCallbackTypes.d.ts +1 -1
  131. package/lib/types/table-deprecated/hooks/useMultiRowSelect.d.ts +1 -1
  132. package/lib/types/table-deprecated/hooks/useSingleRowSelect.d.ts +1 -1
  133. package/lib/types/tabs/Tabs.d.ts +1 -1
  134. package/lib/types/tag/Tag.d.ts +1 -1
  135. package/lib/types/text-input/TextInput.d.ts +3 -3
  136. package/lib/types/text-link/TextLink.d.ts +1 -1
  137. package/lib/types/textarea/Textarea.d.ts +2 -2
  138. package/lib/types/tooltip/SmartTooltip.d.ts +2 -2
  139. package/lib/types/tooltip/Tip.d.ts +4 -4
  140. package/lib/types/typography/Typography.d.ts +1 -1
  141. package/lib/types/typography/types.d.ts +1 -1
  142. package/lib/types/view-selector/ViewSelector.d.ts +1 -1
  143. package/lib/types/wizard/Wizard.d.ts +1 -1
  144. package/package.json +2 -1
@@ -18,6 +18,6 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { SVGProps } from 'react';
21
+ import { type SVGProps } from 'react';
22
22
  declare const SvgSquare: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
23
  export default SvgSquare;
@@ -18,6 +18,6 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { SVGProps } from 'react';
21
+ import { type SVGProps } from 'react';
22
22
  declare const SvgStatus: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
23
  export default SvgStatus;
@@ -18,6 +18,6 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { SVGProps } from 'react';
21
+ import { type SVGProps } from 'react';
22
22
  declare const SvgText: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
23
  export default SvgText;
@@ -18,6 +18,6 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { SVGProps } from 'react';
21
+ import { type SVGProps } from 'react';
22
22
  declare const SvgTriangle: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
23
  export default SvgTriangle;
@@ -18,6 +18,6 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { SVGProps } from 'react';
21
+ import { type SVGProps } from 'react';
22
22
  declare const SvgUnderline: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
23
  export default SvgUnderline;
@@ -18,6 +18,6 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { SVGProps } from 'react';
21
+ import { type SVGProps } from 'react';
22
22
  declare const SvgVisualizeBloom: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
23
  export default SvgVisualizeBloom;
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  /**
24
24
  *
25
25
  *
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  export declare enum ModalCloseReason {
24
24
  BACKDROP_CLICK = "backdropClick",
25
25
  ESCAPE_KEY_DOWN = "escapeKeyDown"
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper';
22
+ import { type RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper';
23
23
  /**
24
24
  *
25
25
  *
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  declare type SideNavigationPosition = 'left' | 'right';
24
24
  export interface SideNavigationProps extends ElementBase<HTMLDivElement> {
25
25
  /** True if the menu is expanded. */
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  export interface StatusIndicatorProps extends ElementBase<HTMLSpanElement> {
24
24
  /** Status indicator type. Defaults to "unknown". */
25
25
  type?: 'unknown' | 'success' | 'info' | 'warning' | 'danger';
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper';
22
+ import { type RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper';
23
23
  /**
24
24
  *
25
25
  *
@@ -20,9 +20,9 @@
20
20
  */
21
21
 
22
22
  /// <reference types="react" />
23
- import type { RowData, Row, Cell, Header as HeaderType } from '@tanstack/react-table';
24
- import { ElementBase } from '../helpers';
25
- import { SortingColumn } from '@tanstack/table-core';
23
+ import { type RowData, type Row, type Cell, type Header as HeaderType } from '@tanstack/react-table';
24
+ import { type ElementBase } from '../helpers';
25
+ import { type SortingColumn } from '@tanstack/table-core';
26
26
  export interface CommonInnerProps<T = HTMLDivElement> {
27
27
  /** Children are surfaced to allow easy overriding */
28
28
  children?: React.ReactNode;
@@ -19,9 +19,9 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  /// <reference types="react" />
22
- import type { Table as TableType } from '@tanstack/react-table';
23
- import { TableComponentsInterface } from './TableContext';
24
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
+ import { type Table as TableType } from '@tanstack/react-table';
24
+ import { type TableComponentsInterface } from './TableContext';
25
25
  /**
26
26
  *
27
27
  * Helping functions
@@ -19,8 +19,8 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  /// <reference types="react" />
22
- import type { RowData, Table as TableType } from '@tanstack/react-table';
23
- import { Body, BodyCell, BodyRow, TableResults, ResizingBar, Navigation, Header, Pagination, NoDataPlaceholder, LoadingPlaceholder, PaginationNumericButtons, PaginationNumericButton, HeaderCell, PaginationArrowButton, RowsPerPage, ColumnControls, SortingButton, Scrollable } from './Components';
22
+ import { type RowData, type Table as TableType } from '@tanstack/react-table';
23
+ import { type Body, type BodyCell, type BodyRow, type TableResults, type ResizingBar, type Navigation, type Header, type Pagination, type NoDataPlaceholder, type LoadingPlaceholder, type PaginationNumericButtons, type PaginationNumericButton, type HeaderCell, type PaginationArrowButton, type RowsPerPage, type ColumnControls, type SortingButton, type Scrollable } from './Components';
24
24
  declare type Nullable<T> = T | null;
25
25
  export interface TableComponentsInterface<T extends RowData> {
26
26
  ResizingBar?: Nullable<typeof ResizingBar<T>>;
@@ -18,7 +18,7 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { Table } from '@tanstack/react-table';
21
+ import { type Table } from '@tanstack/react-table';
22
22
  /**
23
23
  * Modified from here: https://gist.github.com/kottenator/9d936eb3e4e3c3e02598
24
24
  *
@@ -19,8 +19,8 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  /// <reference types="react" />
22
- import { Row, UseColumnOrderState, UseExpandedState, UseFiltersState, UsePaginationState, UseGlobalFiltersState, UsePaginationInstanceProps, UseSortByInstanceProps, UseTableInstanceProps } from 'react-table';
23
- import { ElementBase } from '../helpers/types';
22
+ import { type Row, type UseColumnOrderState, type UseExpandedState, type UseFiltersState, type UsePaginationState, type UseGlobalFiltersState, type UsePaginationInstanceProps, type UseSortByInstanceProps, type UseTableInstanceProps } from 'react-table';
23
+ import { type ElementBase } from '../helpers/types';
24
24
  declare type Sections = Record<'controls' | 'header' | 'body' | 'navigation', JSX.Element | JSX.Element[]>;
25
25
  /**
26
26
  *
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  /// <reference types="react" />
22
- import { TableResizerProps } from 'react-table';
22
+ import { type TableResizerProps } from 'react-table';
23
23
  /**
24
24
  *
25
25
  * React Table helper to display sorting icon
@@ -18,7 +18,7 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { TableInstance } from 'react-table';
21
+ import { type TableInstance } from 'react-table';
22
22
  export declare type RowInstance<T extends Record<string, unknown>> = {
23
23
  onAllRowSelect: onAllRowSelectType;
24
24
  onRowSelect: onRowSelectType<T>;
@@ -18,7 +18,7 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { Hooks, UseGroupByCellProps, UseTableCellProps, UseRowStateCellProps, UseRowSelectRowProps } from 'react-table';
21
+ import { type Hooks, type UseGroupByCellProps, type UseTableCellProps, type UseRowStateCellProps, type UseRowSelectRowProps } from 'react-table';
22
22
  export interface CustomCell<D extends Record<string, unknown> = Record<string, unknown>, V = any> extends UseTableCellProps<D, V>, UseGroupByCellProps<D>, UseRowSelectRowProps<D>, UseRowStateCellProps<D> {
23
23
  }
24
24
  /**
@@ -18,7 +18,7 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { Hooks } from 'react-table';
21
+ import { type Hooks } from 'react-table';
22
22
  /**
23
23
  * A react-table plugin to support controlled selected row state for a single row
24
24
  *
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  declare type TabId = string | number;
24
24
  declare type Size = 'small' | 'large';
25
25
  declare type Fill = 'underline' | 'filled';
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  /**
24
24
  *
25
25
  *
@@ -18,9 +18,9 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { CommonInputProps } from '../_common/input/types';
22
- import { SmartTooltipProps } from '../tooltip/SmartTooltip';
23
- import type { ReactElement, ReactNode } from 'react';
21
+ import { type ReactElement, type ReactNode } from 'react';
22
+ import { type CommonInputProps } from '../_common/input/types';
23
+ import { type SmartTooltipProps } from '../tooltip/SmartTooltip';
24
24
  export interface TextInputProperties extends Omit<CommonInputProps, 'label'> {
25
25
  /** Label text */
26
26
  label?: ReactNode;
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  export interface TextLinkProps extends ElementBase<HTMLAnchorElement> {
24
24
  /** The text of the link. */
25
25
  children: React.ReactNode;
@@ -18,8 +18,8 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { ComponentPropsWithoutRef, ReactNode } from 'react';
22
- import { SmartTooltipProps } from '../tooltip/SmartTooltip';
21
+ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
22
+ import { type SmartTooltipProps } from '../tooltip/SmartTooltip';
23
23
  /**
24
24
  *
25
25
  *
@@ -19,8 +19,8 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import type { Side } from '@floating-ui/core/src/types';
23
- import { TooltipProps } from './Tooltip';
22
+ import { type Side } from '@floating-ui/core/src/types';
23
+ import { type TooltipProps } from './Tooltip';
24
24
  export interface SmartTooltipProps extends Omit<TooltipProps, 'arrowPosition'> {
25
25
  /** Allowed places of the tooltip */
26
26
  allowedPlacements?: Side[];
@@ -18,10 +18,10 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import React, { ReactNode } from 'react';
22
- import type { Side } from '@floating-ui/core/src/types';
23
- import { TooltipProps } from './Tooltip';
24
- import type { PressEvent } from '@react-types/shared';
21
+ import React, { type ReactNode } from 'react';
22
+ import { type Side } from '@floating-ui/core/src/types';
23
+ import { type TooltipProps } from './Tooltip';
24
+ import { type PressEvent } from '@react-types/shared';
25
25
  export interface ToggletipActionProps extends Omit<React.HTMLProps<HTMLAnchorElement>, 'onClick'> {
26
26
  /** Label of the action item */
27
27
  label: string;
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  /// <reference types="react" />
22
- import { AsType, ConditionalTypography } from './types';
22
+ import { type AsType, type ConditionalTypography } from './types';
23
23
  export declare const Typography: <TVar extends "label" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subheading-large" | "subheading-medium" | "subheading-small" | "body-large" | "body-medium" | "body-small", TAs extends AsType = undefined>(props: {
24
24
  as?: TAs | undefined;
25
25
  variant: TVar;
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  /// <reference types="react" />
22
- import { tokens } from '@neo4j-ndl/base';
22
+ import { type tokens } from '@neo4j-ndl/base';
23
23
  export declare type TypographyVariants = keyof typeof tokens.font.size;
24
24
  export declare const TypographyDefaultMapping: {
25
25
  [key in TypographyVariants]: React.ElementType;
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  /**
24
24
  *
25
25
  *
@@ -19,7 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  /// <reference types="react" />
22
- import { ElementBase } from '../helpers';
22
+ import { type ElementBase } from '../helpers';
23
23
  export declare const Horizontal: ({ activeStep, steps, ...props }: Omit<WizardProps, 'type'>) => JSX.Element;
24
24
  export declare const Vertical: ({ activeStep, steps, ...props }: Omit<WizardProps, 'type'>) => JSX.Element;
25
25
  export declare const Footer: ({ activeStep, steps, ...props }: Omit<WizardProps, 'type'>) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/react",
3
- "version": "1.10.5",
3
+ "version": "1.10.6",
4
4
  "sideEffects": false,
5
5
  "description": "React implementation of Neo4j Design System",
6
6
  "keywords": [
@@ -72,6 +72,7 @@
72
72
  "babel-jest": "^27.3.1",
73
73
  "eslint": "^8.3.0",
74
74
  "eslint-config-prettier": "^8.3.0",
75
+ "eslint-plugin-import": "2.28.1",
75
76
  "eslint-plugin-jsx-a11y": "^6.5.1",
76
77
  "eslint-plugin-prettier": "^4.0.0",
77
78
  "eslint-plugin-react": "^7.27.1",