@neo4j-ndl/react 2.15.10 → 2.15.12
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.
- package/lib/cjs/_common/utils.js +15 -1
- package/lib/cjs/_common/utils.js.map +1 -1
- package/lib/cjs/avatar/Avatar.js +0 -1
- package/lib/cjs/avatar/Avatar.js.map +1 -1
- package/lib/cjs/checkbox/Checkbox.js +3 -3
- package/lib/cjs/checkbox/Checkbox.js.map +1 -1
- package/lib/cjs/checkbox/index.js +14 -5
- package/lib/cjs/checkbox/index.js.map +1 -1
- package/lib/cjs/data-grid/Components.js +58 -4
- package/lib/cjs/data-grid/Components.js.map +1 -1
- package/lib/cjs/data-grid/DataGrid.js +4 -4
- package/lib/cjs/data-grid/DataGrid.js.map +1 -1
- package/lib/cjs/data-grid/DataGridContext.js.map +1 -1
- package/lib/cjs/data-grid/index.js +5 -8
- package/lib/cjs/data-grid/index.js.map +1 -1
- package/lib/cjs/graph-label/GraphLabel.js +2 -2
- package/lib/cjs/graph-label/GraphLabel.js.map +1 -1
- package/lib/cjs/graph-label/index.js +14 -5
- package/lib/cjs/graph-label/index.js.map +1 -1
- package/lib/cjs/icons/generated/custom/DatabaseCrossed.js +27 -0
- package/lib/cjs/icons/generated/custom/DatabaseCrossed.js.map +1 -0
- package/lib/cjs/icons/generated/custom/DatabaseSignal.js +27 -0
- package/lib/cjs/icons/generated/custom/DatabaseSignal.js.map +1 -0
- package/lib/cjs/icons/generated/custom/index.js +6 -1
- package/lib/cjs/icons/generated/custom/index.js.map +1 -1
- package/lib/cjs/inline-edit/InlineEdit.js +2 -2
- package/lib/cjs/inline-edit/InlineEdit.js.map +1 -1
- package/lib/cjs/inline-edit/index.js +14 -5
- package/lib/cjs/inline-edit/index.js.map +1 -1
- package/lib/cjs/label/Label.js +0 -1
- package/lib/cjs/label/Label.js.map +1 -1
- package/lib/cjs/label/index.js +14 -5
- package/lib/cjs/label/index.js.map +1 -1
- package/lib/cjs/loading-spinner/LoadingSpinner.js +2 -2
- package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/cjs/loading-spinner/index.js +14 -5
- package/lib/cjs/loading-spinner/index.js.map +1 -1
- package/lib/cjs/logo/Logo.js +0 -1
- package/lib/cjs/logo/Logo.js.map +1 -1
- package/lib/cjs/progress-bar/ProgressBar.js +2 -2
- package/lib/cjs/progress-bar/ProgressBar.js.map +1 -1
- package/lib/cjs/progress-bar/index.js +14 -5
- package/lib/cjs/progress-bar/index.js.map +1 -1
- package/lib/cjs/radio/Radio.js +2 -2
- package/lib/cjs/radio/Radio.js.map +1 -1
- package/lib/cjs/radio/index.js +14 -5
- package/lib/cjs/radio/index.js.map +1 -1
- package/lib/cjs/slider/Slider.js +0 -1
- package/lib/cjs/slider/Slider.js.map +1 -1
- package/lib/cjs/status-indicator/StatusIndicator.js +2 -2
- package/lib/cjs/status-indicator/StatusIndicator.js.map +1 -1
- package/lib/cjs/status-indicator/index.js +14 -5
- package/lib/cjs/status-indicator/index.js.map +1 -1
- package/lib/cjs/switch/Switch.js +2 -2
- package/lib/cjs/switch/Switch.js.map +1 -1
- package/lib/cjs/switch/index.js +14 -5
- package/lib/cjs/switch/index.js.map +1 -1
- package/lib/cjs/table/Table.js +2 -2
- package/lib/cjs/table/Table.js.map +1 -1
- package/lib/cjs/table/index.js +4 -6
- package/lib/cjs/table/index.js.map +1 -1
- package/lib/cjs/tag/Tag.js +0 -1
- package/lib/cjs/tag/Tag.js.map +1 -1
- package/lib/cjs/text-input/TextInput.js +2 -2
- package/lib/cjs/text-input/TextInput.js.map +1 -1
- package/lib/cjs/text-input/index.js +14 -5
- package/lib/cjs/text-input/index.js.map +1 -1
- package/lib/cjs/text-link/TextLink.js +2 -2
- package/lib/cjs/text-link/TextLink.js.map +1 -1
- package/lib/cjs/text-link/index.js +14 -5
- package/lib/cjs/text-link/index.js.map +1 -1
- package/lib/cjs/textarea/Textarea.js +2 -2
- package/lib/cjs/textarea/Textarea.js.map +1 -1
- package/lib/cjs/textarea/index.js +14 -5
- package/lib/cjs/textarea/index.js.map +1 -1
- package/lib/cjs/tip/Tip.js +2 -2
- package/lib/cjs/tip/Tip.js.map +1 -1
- package/lib/cjs/tip/Tooltip.js +2 -2
- package/lib/cjs/tip/Tooltip.js.map +1 -1
- package/lib/cjs/tip/index.js +1 -6
- package/lib/cjs/tip/index.js.map +1 -1
- package/lib/cjs/widget/Widget.js +2 -2
- package/lib/cjs/widget/Widget.js.map +1 -1
- package/lib/cjs/widget/index.js +14 -5
- package/lib/cjs/widget/index.js.map +1 -1
- package/lib/esm/_common/utils.js +13 -0
- package/lib/esm/_common/utils.js.map +1 -1
- package/lib/esm/avatar/Avatar.js +0 -1
- package/lib/esm/avatar/Avatar.js.map +1 -1
- package/lib/esm/checkbox/Checkbox.js +1 -2
- package/lib/esm/checkbox/Checkbox.js.map +1 -1
- package/lib/esm/checkbox/index.js +1 -1
- package/lib/esm/checkbox/index.js.map +1 -1
- package/lib/esm/data-grid/Components.js +58 -4
- package/lib/esm/data-grid/Components.js.map +1 -1
- package/lib/esm/data-grid/DataGrid.js +3 -3
- package/lib/esm/data-grid/DataGrid.js.map +1 -1
- package/lib/esm/data-grid/DataGridContext.js.map +1 -1
- package/lib/esm/data-grid/index.js +3 -3
- package/lib/esm/data-grid/index.js.map +1 -1
- package/lib/esm/graph-label/GraphLabel.js +1 -2
- package/lib/esm/graph-label/GraphLabel.js.map +1 -1
- package/lib/esm/graph-label/index.js +1 -1
- package/lib/esm/graph-label/index.js.map +1 -1
- package/lib/esm/icons/generated/custom/DatabaseCrossed.js +25 -0
- package/lib/esm/icons/generated/custom/DatabaseCrossed.js.map +1 -0
- package/lib/esm/icons/generated/custom/DatabaseSignal.js +25 -0
- package/lib/esm/icons/generated/custom/DatabaseSignal.js.map +1 -0
- package/lib/esm/icons/generated/custom/index.js +2 -0
- package/lib/esm/icons/generated/custom/index.js.map +1 -1
- package/lib/esm/inline-edit/InlineEdit.js +1 -2
- package/lib/esm/inline-edit/InlineEdit.js.map +1 -1
- package/lib/esm/inline-edit/index.js +1 -1
- package/lib/esm/inline-edit/index.js.map +1 -1
- package/lib/esm/label/Label.js +0 -1
- package/lib/esm/label/Label.js.map +1 -1
- package/lib/esm/label/index.js +1 -1
- package/lib/esm/label/index.js.map +1 -1
- package/lib/esm/loading-spinner/LoadingSpinner.js +1 -2
- package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/esm/loading-spinner/index.js +1 -1
- package/lib/esm/loading-spinner/index.js.map +1 -1
- package/lib/esm/logo/Logo.js +0 -1
- package/lib/esm/logo/Logo.js.map +1 -1
- package/lib/esm/progress-bar/ProgressBar.js +1 -2
- package/lib/esm/progress-bar/ProgressBar.js.map +1 -1
- package/lib/esm/progress-bar/index.js +1 -1
- package/lib/esm/progress-bar/index.js.map +1 -1
- package/lib/esm/radio/Radio.js +1 -2
- package/lib/esm/radio/Radio.js.map +1 -1
- package/lib/esm/radio/index.js +1 -1
- package/lib/esm/radio/index.js.map +1 -1
- package/lib/esm/slider/Slider.js +0 -1
- package/lib/esm/slider/Slider.js.map +1 -1
- package/lib/esm/status-indicator/StatusIndicator.js +1 -2
- package/lib/esm/status-indicator/StatusIndicator.js.map +1 -1
- package/lib/esm/status-indicator/index.js +1 -1
- package/lib/esm/status-indicator/index.js.map +1 -1
- package/lib/esm/switch/Switch.js +1 -2
- package/lib/esm/switch/Switch.js.map +1 -1
- package/lib/esm/switch/index.js +1 -1
- package/lib/esm/switch/index.js.map +1 -1
- package/lib/esm/table/Table.js +1 -1
- package/lib/esm/table/Table.js.map +1 -1
- package/lib/esm/table/index.js +1 -1
- package/lib/esm/table/index.js.map +1 -1
- package/lib/esm/tag/Tag.js +0 -1
- package/lib/esm/tag/Tag.js.map +1 -1
- package/lib/esm/text-input/TextInput.js +1 -2
- package/lib/esm/text-input/TextInput.js.map +1 -1
- package/lib/esm/text-input/index.js +1 -1
- package/lib/esm/text-input/index.js.map +1 -1
- package/lib/esm/text-link/TextLink.js +1 -2
- package/lib/esm/text-link/TextLink.js.map +1 -1
- package/lib/esm/text-link/index.js +1 -1
- package/lib/esm/text-link/index.js.map +1 -1
- package/lib/esm/textarea/Textarea.js +1 -2
- package/lib/esm/textarea/Textarea.js.map +1 -1
- package/lib/esm/textarea/index.js +1 -1
- package/lib/esm/textarea/index.js.map +1 -1
- package/lib/esm/tip/Tip.js +1 -1
- package/lib/esm/tip/Tip.js.map +1 -1
- package/lib/esm/tip/Tooltip.js +1 -2
- package/lib/esm/tip/Tooltip.js.map +1 -1
- package/lib/esm/tip/index.js +1 -1
- package/lib/esm/tip/index.js.map +1 -1
- package/lib/esm/widget/Widget.js +1 -2
- package/lib/esm/widget/Widget.js.map +1 -1
- package/lib/esm/widget/index.js +1 -1
- package/lib/esm/widget/index.js.map +1 -1
- package/lib/types/_common/utils.d.ts +7 -0
- package/lib/types/avatar/Avatar.d.ts +0 -1
- package/lib/types/checkbox/Checkbox.d.ts +1 -2
- package/lib/types/checkbox/index.d.ts +1 -1
- package/lib/types/data-grid/DataGrid.d.ts +2 -2
- package/lib/types/data-grid/DataGridContext.d.ts +1 -0
- package/lib/types/data-grid/index.d.ts +3 -3
- package/lib/types/graph-label/GraphLabel.d.ts +1 -2
- package/lib/types/graph-label/index.d.ts +1 -1
- package/lib/types/icons/generated/custom/DatabaseCrossed.d.ts +23 -0
- package/lib/types/icons/generated/custom/DatabaseSignal.d.ts +23 -0
- package/lib/types/icons/generated/custom/index.d.ts +2 -0
- package/lib/types/inline-edit/InlineEdit.d.ts +1 -2
- package/lib/types/inline-edit/index.d.ts +1 -1
- package/lib/types/label/Label.d.ts +0 -1
- package/lib/types/label/index.d.ts +1 -1
- package/lib/types/loading-spinner/LoadingSpinner.d.ts +1 -2
- package/lib/types/loading-spinner/index.d.ts +1 -1
- package/lib/types/logo/Logo.d.ts +1 -1
- package/lib/types/progress-bar/ProgressBar.d.ts +1 -2
- package/lib/types/progress-bar/index.d.ts +1 -1
- package/lib/types/radio/Radio.d.ts +1 -2
- package/lib/types/radio/index.d.ts +1 -1
- package/lib/types/slider/Slider.d.ts +1 -1
- package/lib/types/status-indicator/StatusIndicator.d.ts +1 -2
- package/lib/types/status-indicator/index.d.ts +1 -1
- package/lib/types/switch/Switch.d.ts +1 -2
- package/lib/types/switch/index.d.ts +1 -1
- package/lib/types/table/Table.d.ts +1 -1
- package/lib/types/table/index.d.ts +1 -1
- package/lib/types/tag/Tag.d.ts +0 -1
- package/lib/types/text-input/TextInput.d.ts +1 -2
- package/lib/types/text-input/index.d.ts +1 -1
- package/lib/types/text-link/TextLink.d.ts +1 -2
- package/lib/types/text-link/index.d.ts +1 -1
- package/lib/types/textarea/Textarea.d.ts +1 -2
- package/lib/types/textarea/index.d.ts +1 -1
- package/lib/types/tip/Tooltip.d.ts +2 -2
- package/lib/types/tip/index.d.ts +1 -1
- package/lib/types/widget/Widget.d.ts +2 -2
- package/lib/types/widget/index.d.ts +1 -1
- package/package.json +6 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import { type SVGProps } from 'react';
|
|
22
|
+
declare const SvgDatabaseCrossed: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default SvgDatabaseCrossed;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import { type SVGProps } from 'react';
|
|
22
|
+
declare const SvgDatabaseSignal: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default SvgDatabaseSignal;
|
|
@@ -30,6 +30,8 @@ export { default as CollapseExpandRightIcon } from './CollapseExpandRight';
|
|
|
30
30
|
export { default as CollapseExpandIcon } from './CollapseExpand';
|
|
31
31
|
export { default as ConfigureIcon } from './Configure';
|
|
32
32
|
export { default as DatabaseAddCircleIcon } from './DatabaseAddCircle';
|
|
33
|
+
export { default as DatabaseCrossedIcon } from './DatabaseCrossed';
|
|
34
|
+
export { default as DatabaseSignalIcon } from './DatabaseSignal';
|
|
33
35
|
export { default as DbmsIcon } from './Dbms';
|
|
34
36
|
export { default as DragIcon } from './Drag';
|
|
35
37
|
export { default as ExpandIcon } from './Expand';
|
|
@@ -80,5 +80,4 @@ export interface InlineEditProps {
|
|
|
80
80
|
/** View mode Typography's props */
|
|
81
81
|
typographyProps?: ComponentPropsWithoutRef<typeof Typography>;
|
|
82
82
|
}
|
|
83
|
-
declare const InlineEdit: import("react").ForwardRefExoticComponent<InlineEditProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
84
|
-
export default InlineEdit;
|
|
83
|
+
export declare const InlineEdit: import("react").ForwardRefExoticComponent<InlineEditProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -37,5 +37,4 @@ export type LoadingSpinnerProps = {
|
|
|
37
37
|
*
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
|
-
declare const LoadingSpinner: React.ForwardRefExoticComponent<LoadingSpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
-
export default LoadingSpinner;
|
|
40
|
+
export declare const LoadingSpinner: React.ForwardRefExoticComponent<LoadingSpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
package/lib/types/logo/Logo.d.ts
CHANGED
|
@@ -31,4 +31,4 @@ export interface LogoProps extends React.SVGProps<SVGSVGElement> {
|
|
|
31
31
|
* On light theme it will be colored and on dark theme it will be white.
|
|
32
32
|
*/
|
|
33
33
|
export declare const Logo: React.ForwardRefExoticComponent<Omit<LogoProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
34
|
-
export
|
|
34
|
+
export {};
|
|
@@ -25,5 +25,4 @@ export interface ProgressBarProps extends Omit<React.HTMLProps<HTMLDivElement>,
|
|
|
25
25
|
size: 'small' | 'large';
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
declare const ProgressBar: React.ForwardRefExoticComponent<Omit<ProgressBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
-
export default ProgressBar;
|
|
28
|
+
export declare const ProgressBar: React.ForwardRefExoticComponent<Omit<ProgressBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -35,5 +35,4 @@ import { type RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWra
|
|
|
35
35
|
*
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
declare const Radio: React.ForwardRefExoticComponent<Omit<RadioAndCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
39
|
-
export default Radio;
|
|
38
|
+
export declare const Radio: React.ForwardRefExoticComponent<Omit<RadioAndCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -73,4 +73,4 @@ type RangeSlider = SliderPropsBase & {
|
|
|
73
73
|
};
|
|
74
74
|
export type SliderProps = SingleSlider | RangeSlider;
|
|
75
75
|
export declare const Slider: (props: SliderProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
76
|
-
export
|
|
76
|
+
export {};
|
|
@@ -24,5 +24,4 @@ export interface StatusIndicatorProps extends ElementBase<HTMLSpanElement> {
|
|
|
24
24
|
/** Status indicator type. Defaults to "unknown". */
|
|
25
25
|
type?: 'unknown' | 'success' | 'info' | 'warning' | 'danger';
|
|
26
26
|
}
|
|
27
|
-
declare const StatusIndicator: React.ForwardRefExoticComponent<StatusIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
28
|
-
export default StatusIndicator;
|
|
27
|
+
export declare const StatusIndicator: React.ForwardRefExoticComponent<StatusIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -35,5 +35,4 @@ import { type RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWra
|
|
|
35
35
|
*
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
declare const Switch: React.ForwardRefExoticComponent<Omit<RadioAndCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
39
|
-
export default Switch;
|
|
38
|
+
export declare const Switch: React.ForwardRefExoticComponent<Omit<RadioAndCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -60,4 +60,4 @@ declare const TableNameSpace: (<T extends unknown>(props: {
|
|
|
60
60
|
} & Omit<ElementBase<HTMLDivElement>, "data" | "as" | "controls" | "headers" | "rows"> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null) & {
|
|
61
61
|
RowActions: ({ className, ...restProps }: ElementBase<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
62
62
|
};
|
|
63
|
-
export
|
|
63
|
+
export { TableNameSpace as Table };
|
|
@@ -20,5 +20,5 @@ import * as tableUtils from './helpers';
|
|
|
20
20
|
* You should have received a copy of the GNU General Public License
|
|
21
21
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export * from './Table';
|
|
24
24
|
export { tableUtils, useTableContext };
|
package/lib/types/tag/Tag.d.ts
CHANGED
|
@@ -49,5 +49,4 @@ export interface TextInputProperties extends Omit<CommonInputProps, 'label'> {
|
|
|
49
49
|
*
|
|
50
50
|
*
|
|
51
51
|
*/
|
|
52
|
-
declare const TextInput: import("react").ForwardRefExoticComponent<Omit<TextInputProperties, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
53
|
-
export default TextInput;
|
|
52
|
+
export declare const TextInput: import("react").ForwardRefExoticComponent<Omit<TextInputProperties, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -33,5 +33,4 @@ export interface TextLinkProps extends ElementBase<HTMLAnchorElement> {
|
|
|
33
33
|
/** Disable the component; the link will not be focus- or click-able. */
|
|
34
34
|
disabled?: boolean;
|
|
35
35
|
}
|
|
36
|
-
declare const TextLink: React.ForwardRefExoticComponent<TextLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
37
|
-
export default TextLink;
|
|
36
|
+
export declare const TextLink: React.ForwardRefExoticComponent<TextLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -52,5 +52,4 @@ export interface TextareaProps extends Omit<Omit<ComponentPropsWithoutRef<'texta
|
|
|
52
52
|
*
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
|
-
declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
56
|
-
export default Textarea;
|
|
55
|
+
export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -25,5 +25,5 @@ export interface TooltipProps extends React.HTMLProps<HTMLDivElement> {
|
|
|
25
25
|
children: React.ReactNode | string;
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
declare const Tooltip: React.ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
-
export
|
|
28
|
+
export declare const Tooltip: React.ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
export {};
|
package/lib/types/tip/index.d.ts
CHANGED
|
@@ -41,11 +41,11 @@ type CommonProps = {
|
|
|
41
41
|
*
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
|
-
declare const Widget: React.ForwardRefExoticComponent<(Omit<CommonProps & {
|
|
44
|
+
export declare const Widget: React.ForwardRefExoticComponent<(Omit<CommonProps & {
|
|
45
45
|
isResizeable?: false | undefined;
|
|
46
46
|
resizeableProps?: undefined;
|
|
47
47
|
} & React.HTMLProps<HTMLDivElement>, "ref"> | Omit<CommonProps & {
|
|
48
48
|
isResizeable: true;
|
|
49
49
|
resizeableProps?: React.ButtonHTMLAttributes<HTMLButtonElement> | undefined;
|
|
50
50
|
} & React.HTMLProps<HTMLDivElement>, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
51
|
-
export
|
|
51
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.12",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@axe-core/playwright": "4.9.0",
|
|
44
|
-
"@playwright/experimental-ct-react": "1.
|
|
44
|
+
"@playwright/experimental-ct-react": "1.45.0",
|
|
45
|
+
"@playwright/test": "1.45.0",
|
|
45
46
|
"@svgr/cli": "6.5.1",
|
|
46
47
|
"@types/react": "18.2.18",
|
|
47
48
|
"@types/react-datepicker": "^4.11.2",
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
"sonner": "1.4.41",
|
|
92
93
|
"tinycolor2": "^1.4.2",
|
|
93
94
|
"usehooks-ts": "2.9.1",
|
|
94
|
-
"@neo4j-ndl/base": "^2.11.
|
|
95
|
+
"@neo4j-ndl/base": "^2.11.8"
|
|
95
96
|
},
|
|
96
97
|
"scripts": {
|
|
97
98
|
"generate-component": "node ./scripts/component-generator.js",
|
|
@@ -110,6 +111,7 @@
|
|
|
110
111
|
"generate:all": "pnpm generate:custom-icons && pnpm generate:hero-icons",
|
|
111
112
|
"generate:custom-icons": "svgr --template svgr-template.js --index-template svgr-index-template.js --icon --typescript --no-svgo --replace-attr-values '#535B66=currentColor' --svg-props className=ndl-icon-svg --jsx-runtime 'automatic' --out-dir ./src/icons/generated/custom -- ../base/src/icons",
|
|
112
113
|
"generate:hero-icons": "ts-node ./scripts/generatedHeroIcons.ts",
|
|
113
|
-
"nuke:local": "npx --yes rimraf@5.0.5 .tsbuildinfo node_modules playwright-report test-results playwright/.cache"
|
|
114
|
+
"nuke:local": "npx --yes rimraf@5.0.5 .tsbuildinfo node_modules playwright-report test-results playwright/.cache",
|
|
115
|
+
"test:all-package-scripts": "pnpm run generate-component test-component && pnpm run pretest && pnpm run build && pnpm run prepare && pnpm run format && pnpm run lint && pnpm run generate:custom-icons && pnpm run nuke:local"
|
|
114
116
|
}
|
|
115
117
|
}
|