@neo4j-ndl/react 3.4.4 → 3.4.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.
- package/lib/cjs/_common/input/RadioAndCheckboxWrapper.js +5 -4
- package/lib/cjs/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
- package/lib/cjs/accordion/Accordion.js +16 -15
- package/lib/cjs/accordion/Accordion.js.map +1 -1
- package/lib/cjs/accordion/stories/accordion-clean-items-expanded.story.js +4 -4
- package/lib/cjs/accordion/stories/accordion-clean-items-expanded.story.js.map +1 -1
- package/lib/cjs/accordion/stories/accordion-default-expanded.story.js +4 -4
- package/lib/cjs/accordion/stories/accordion-default-expanded.story.js.map +1 -1
- package/lib/cjs/accordion/stories/accordion-full.story.js +4 -4
- package/lib/cjs/accordion/stories/accordion-full.story.js.map +1 -1
- package/lib/cjs/accordion/stories/accordion-multiple-expanded.story.js +4 -4
- package/lib/cjs/accordion/stories/accordion-multiple-expanded.story.js.map +1 -1
- package/lib/cjs/accordion/stories/accordion-right-content.story.js +4 -4
- package/lib/cjs/accordion/stories/accordion-right-content.story.js.map +1 -1
- package/lib/cjs/accordion/stories/accordion-single-expanded.story.js +4 -4
- package/lib/cjs/accordion/stories/accordion-single-expanded.story.js.map +1 -1
- package/lib/cjs/accordion/stories/accordion.stories.js +17 -17
- package/lib/cjs/accordion/stories/accordion.stories.js.map +1 -1
- package/lib/cjs/avatar/Avatar.js.map +1 -1
- package/lib/cjs/banner/Banner.js +1 -1
- package/lib/cjs/banner/Banner.js.map +1 -1
- package/lib/cjs/banner/stories/banner-closeable.story.js +30 -0
- package/lib/cjs/banner/stories/banner-closeable.story.js.map +1 -0
- package/lib/cjs/banner/stories/banner-global.story.js +30 -0
- package/lib/cjs/banner/stories/banner-global.story.js.map +1 -0
- package/lib/cjs/banner/stories/banner-types.story.js +30 -0
- package/lib/cjs/banner/stories/banner-types.story.js.map +1 -0
- package/lib/cjs/banner/stories/banner-with-actions.story.js +41 -0
- package/lib/cjs/banner/stories/banner-with-actions.story.js.map +1 -0
- package/lib/cjs/banner/stories/banner-with-icons.story.js +30 -0
- package/lib/cjs/banner/stories/banner-with-icons.story.js.map +1 -0
- package/lib/cjs/banner/stories/banner-without-title.story.js +36 -0
- package/lib/cjs/banner/stories/banner-without-title.story.js.map +1 -0
- package/lib/cjs/banner/stories/banner.stories.js +113 -0
- package/lib/cjs/banner/stories/banner.stories.js.map +1 -0
- package/lib/cjs/banner/stories/index.js +51 -0
- package/lib/cjs/banner/stories/index.js.map +1 -0
- package/lib/cjs/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/lib/cjs/button/Button.js.map +1 -1
- package/lib/cjs/button/IconButton.js.map +1 -1
- package/lib/cjs/button/IconButtonArray.js +1 -1
- package/lib/cjs/button/IconButtonArray.js.map +1 -1
- package/lib/cjs/callout/Callout.js.map +1 -1
- package/lib/cjs/clipboard-copier/ClipboardButton.js +1 -1
- package/lib/cjs/clipboard-copier/ClipboardButton.js.map +1 -1
- package/lib/cjs/code/Code.js +2 -2
- package/lib/cjs/code/Code.js.map +1 -1
- package/lib/cjs/conditional-wrap/stories/conditional-wrap-default.story.js +4 -4
- package/lib/cjs/conditional-wrap/stories/conditional-wrap-default.story.js.map +1 -1
- package/lib/cjs/context-menu/ContextMenu.js +3 -3
- package/lib/cjs/context-menu/ContextMenu.js.map +1 -1
- package/lib/cjs/data-grid/Components.js +16 -13
- package/lib/cjs/data-grid/Components.js.map +1 -1
- package/lib/cjs/data-grid/DataGrid.js +11 -7
- 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/data-grid-nav/index.js +4 -3
- package/lib/cjs/data-grid/data-grid-nav/index.js.map +1 -1
- package/lib/cjs/data-grid/datagrid-types.js +1 -3
- package/lib/cjs/data-grid/datagrid-types.js.map +1 -1
- package/lib/cjs/date-picker/DatePicker.js +2 -2
- package/lib/cjs/date-picker/DatePicker.js.map +1 -1
- package/lib/cjs/dialog/Dialog.js.map +1 -1
- package/lib/cjs/divider/Divider.js.map +1 -1
- package/lib/cjs/drawer/Drawer.js +1 -1
- package/lib/cjs/drawer/Drawer.js.map +1 -1
- package/lib/cjs/dropdown-button/DropdownButton.js.map +1 -1
- package/lib/cjs/dropdown-button/avatar-test.stories.tsx.js +1 -1
- package/lib/cjs/dropdown-button/avatar-test.stories.tsx.js.map +1 -1
- package/lib/cjs/dropzone/Dropzone.js +2 -2
- package/lib/cjs/dropzone/Dropzone.js.map +1 -1
- package/lib/cjs/graph-label/GraphLabel.js.map +1 -1
- package/lib/cjs/inline-edit/InlineEdit.js +1 -1
- package/lib/cjs/inline-edit/InlineEdit.js.map +1 -1
- package/lib/cjs/label/Label.js +16 -15
- package/lib/cjs/label/Label.js.map +1 -1
- package/lib/cjs/layout/Box.js +5 -4
- package/lib/cjs/layout/Box.js.map +1 -1
- package/lib/cjs/layout/Flex.js.map +1 -1
- package/lib/cjs/loading-bar/loading-bar.js.map +1 -1
- package/lib/cjs/loading-spinner/LoadingSpinner.js +16 -15
- package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/cjs/modal/Modal.js.map +1 -1
- package/lib/cjs/popover/Popover.js +12 -12
- package/lib/cjs/popover/Popover.js.map +1 -1
- package/lib/cjs/segmented-control/SegmentedControl.js.map +1 -1
- package/lib/cjs/select/Overrides.js +1 -1
- package/lib/cjs/select/Overrides.js.map +1 -1
- package/lib/cjs/select/Select.js +9 -8
- package/lib/cjs/select/Select.js.map +1 -1
- package/lib/cjs/side-navigation/SideNavigation.js +16 -15
- package/lib/cjs/side-navigation/SideNavigation.js.map +1 -1
- package/lib/cjs/slider/Slider.js.map +1 -1
- package/lib/cjs/spotlight/Spotlight.js +3 -3
- package/lib/cjs/spotlight/Spotlight.js.map +1 -1
- package/lib/cjs/spotlight/SpotlightProvider.js.map +1 -1
- package/lib/cjs/spotlight/SpotlightTarget.js +8 -8
- package/lib/cjs/spotlight/SpotlightTarget.js.map +1 -1
- package/lib/cjs/spotlight/SpotlightTour.js +16 -15
- package/lib/cjs/spotlight/SpotlightTour.js.map +1 -1
- package/lib/cjs/tabs/Tabs.js.map +1 -1
- package/lib/cjs/tag/Tag.js.map +1 -1
- package/lib/cjs/text-area/TextArea.js +5 -4
- package/lib/cjs/text-area/TextArea.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-link/TextLink.js.map +1 -1
- package/lib/cjs/time-picker/TimePicker.js +4 -4
- package/lib/cjs/time-picker/TimePicker.js.map +1 -1
- package/lib/cjs/toast/Toast.js +2 -2
- package/lib/cjs/toast/Toast.js.map +1 -1
- package/lib/cjs/tooltip/Tooltip.js +5 -5
- package/lib/cjs/tooltip/Tooltip.js.map +1 -1
- package/lib/cjs/tooltip/use-tooltip.js +17 -17
- package/lib/cjs/tooltip/use-tooltip.js.map +1 -1
- package/lib/cjs/tree-view/TreeItemWrapper.js +1 -1
- package/lib/cjs/tree-view/TreeItemWrapper.js.map +1 -1
- package/lib/cjs/tree-view/TreeView.js +2 -2
- package/lib/cjs/tree-view/TreeView.js.map +1 -1
- package/lib/cjs/tree-view/TreeViewTextItem.js +2 -2
- package/lib/cjs/tree-view/TreeViewTextItem.js.map +1 -1
- package/lib/cjs/typography/Typography.js.map +1 -1
- package/lib/cjs/widget/Widget.js +8 -7
- package/lib/cjs/widget/Widget.js.map +1 -1
- package/lib/cjs/wizard/Wizard.js.map +1 -1
- package/lib/esm/_common/input/RadioAndCheckboxWrapper.js +2 -1
- package/lib/esm/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
- package/lib/esm/accordion/Accordion.js +13 -12
- package/lib/esm/accordion/Accordion.js.map +1 -1
- package/lib/esm/accordion/stories/accordion-clean-items-expanded.story.js +2 -2
- package/lib/esm/accordion/stories/accordion-clean-items-expanded.story.js.map +1 -1
- package/lib/esm/accordion/stories/accordion-default-expanded.story.js +2 -2
- package/lib/esm/accordion/stories/accordion-default-expanded.story.js.map +1 -1
- package/lib/esm/accordion/stories/accordion-full.story.js +2 -2
- package/lib/esm/accordion/stories/accordion-full.story.js.map +1 -1
- package/lib/esm/accordion/stories/accordion-multiple-expanded.story.js +2 -2
- package/lib/esm/accordion/stories/accordion-multiple-expanded.story.js.map +1 -1
- package/lib/esm/accordion/stories/accordion-right-content.story.js +2 -2
- package/lib/esm/accordion/stories/accordion-right-content.story.js.map +1 -1
- package/lib/esm/accordion/stories/accordion-single-expanded.story.js +2 -2
- package/lib/esm/accordion/stories/accordion-single-expanded.story.js.map +1 -1
- package/lib/esm/accordion/stories/accordion.stories.js +17 -17
- package/lib/esm/accordion/stories/accordion.stories.js.map +1 -1
- package/lib/esm/avatar/Avatar.js.map +1 -1
- package/lib/esm/banner/Banner.js +1 -1
- package/lib/esm/banner/Banner.js.map +1 -1
- package/lib/esm/banner/stories/banner-closeable.story.js +28 -0
- package/lib/esm/banner/stories/banner-closeable.story.js.map +1 -0
- package/lib/esm/banner/stories/banner-global.story.js +28 -0
- package/lib/esm/banner/stories/banner-global.story.js.map +1 -0
- package/lib/esm/banner/stories/banner-types.story.js +28 -0
- package/lib/esm/banner/stories/banner-types.story.js.map +1 -0
- package/lib/esm/banner/stories/banner-with-actions.story.js +39 -0
- package/lib/esm/banner/stories/banner-with-actions.story.js.map +1 -0
- package/lib/esm/banner/stories/banner-with-icons.story.js +28 -0
- package/lib/esm/banner/stories/banner-with-icons.story.js.map +1 -0
- package/lib/esm/banner/stories/banner-without-title.story.js +34 -0
- package/lib/esm/banner/stories/banner-without-title.story.js.map +1 -0
- package/lib/esm/banner/stories/banner.stories.js +110 -0
- package/lib/esm/banner/stories/banner.stories.js.map +1 -0
- package/lib/esm/banner/stories/index.js +39 -0
- package/lib/esm/banner/stories/index.js.map +1 -0
- package/lib/esm/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/lib/esm/button/Button.js.map +1 -1
- package/lib/esm/button/IconButton.js.map +1 -1
- package/lib/esm/button/IconButtonArray.js +1 -1
- package/lib/esm/button/IconButtonArray.js.map +1 -1
- package/lib/esm/callout/Callout.js +1 -1
- package/lib/esm/callout/Callout.js.map +1 -1
- package/lib/esm/clipboard-copier/ClipboardButton.js +1 -1
- package/lib/esm/clipboard-copier/ClipboardButton.js.map +1 -1
- package/lib/esm/code/Code.js +2 -2
- package/lib/esm/code/Code.js.map +1 -1
- package/lib/esm/conditional-wrap/stories/conditional-wrap-default.story.js +1 -1
- package/lib/esm/conditional-wrap/stories/conditional-wrap-default.story.js.map +1 -1
- package/lib/esm/context-menu/ContextMenu.js +3 -3
- package/lib/esm/context-menu/ContextMenu.js.map +1 -1
- package/lib/esm/data-grid/Components.js +17 -14
- package/lib/esm/data-grid/Components.js.map +1 -1
- package/lib/esm/data-grid/DataGrid.js +9 -5
- 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/data-grid-nav/index.js +2 -1
- package/lib/esm/data-grid/data-grid-nav/index.js.map +1 -1
- package/lib/esm/data-grid/datagrid-types.js +0 -2
- package/lib/esm/data-grid/datagrid-types.js.map +1 -1
- package/lib/esm/date-picker/DatePicker.js +2 -2
- package/lib/esm/date-picker/DatePicker.js.map +1 -1
- package/lib/esm/dialog/Dialog.js.map +1 -1
- package/lib/esm/divider/Divider.js.map +1 -1
- package/lib/esm/drawer/Drawer.js +1 -1
- package/lib/esm/drawer/Drawer.js.map +1 -1
- package/lib/esm/dropdown-button/DropdownButton.js.map +1 -1
- package/lib/esm/dropdown-button/avatar-test.stories.tsx.js +1 -1
- package/lib/esm/dropdown-button/avatar-test.stories.tsx.js.map +1 -1
- package/lib/esm/dropzone/Dropzone.js +2 -2
- package/lib/esm/dropzone/Dropzone.js.map +1 -1
- package/lib/esm/graph-label/GraphLabel.js.map +1 -1
- package/lib/esm/helpers/forwardRef.js.map +1 -1
- package/lib/esm/inline-edit/InlineEdit.js +1 -1
- package/lib/esm/inline-edit/InlineEdit.js.map +1 -1
- package/lib/esm/label/Label.js +13 -12
- package/lib/esm/label/Label.js.map +1 -1
- package/lib/esm/layout/Box.js +2 -1
- package/lib/esm/layout/Box.js.map +1 -1
- package/lib/esm/layout/Flex.js.map +1 -1
- package/lib/esm/loading-bar/loading-bar.js.map +1 -1
- package/lib/esm/loading-spinner/LoadingSpinner.js +13 -12
- package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/esm/modal/Modal.js.map +1 -1
- package/lib/esm/popover/Popover.js +1 -1
- package/lib/esm/popover/Popover.js.map +1 -1
- package/lib/esm/segmented-control/SegmentedControl.js.map +1 -1
- package/lib/esm/select/Overrides.js +1 -1
- package/lib/esm/select/Overrides.js.map +1 -1
- package/lib/esm/select/Select.js +3 -2
- package/lib/esm/select/Select.js.map +1 -1
- package/lib/esm/side-navigation/SideNavigation.js +13 -12
- package/lib/esm/side-navigation/SideNavigation.js.map +1 -1
- package/lib/esm/slider/Slider.js +1 -1
- package/lib/esm/slider/Slider.js.map +1 -1
- package/lib/esm/spotlight/Spotlight.js +3 -3
- package/lib/esm/spotlight/Spotlight.js.map +1 -1
- package/lib/esm/spotlight/SpotlightProvider.js +1 -1
- package/lib/esm/spotlight/SpotlightProvider.js.map +1 -1
- package/lib/esm/spotlight/SpotlightTarget.js +3 -3
- package/lib/esm/spotlight/SpotlightTarget.js.map +1 -1
- package/lib/esm/spotlight/SpotlightTour.js +13 -12
- package/lib/esm/spotlight/SpotlightTour.js.map +1 -1
- package/lib/esm/tabs/Tabs.js.map +1 -1
- package/lib/esm/tag/Tag.js.map +1 -1
- package/lib/esm/text-area/TextArea.js +3 -2
- package/lib/esm/text-area/TextArea.js.map +1 -1
- package/lib/esm/text-input/TextInput.js +2 -2
- package/lib/esm/text-input/TextInput.js.map +1 -1
- package/lib/esm/text-link/TextLink.js.map +1 -1
- package/lib/esm/theme/ThemeProvider.js.map +1 -1
- package/lib/esm/time-picker/TimePicker.js +4 -4
- package/lib/esm/time-picker/TimePicker.js.map +1 -1
- package/lib/esm/toast/Toast.js +3 -3
- package/lib/esm/toast/Toast.js.map +1 -1
- package/lib/esm/tooltip/Tooltip.js +6 -6
- package/lib/esm/tooltip/Tooltip.js.map +1 -1
- package/lib/esm/tooltip/use-tooltip.js +1 -1
- package/lib/esm/tooltip/use-tooltip.js.map +1 -1
- package/lib/esm/tree-view/TreeItemWrapper.js +1 -1
- package/lib/esm/tree-view/TreeItemWrapper.js.map +1 -1
- package/lib/esm/tree-view/TreeView.js +4 -4
- package/lib/esm/tree-view/TreeView.js.map +1 -1
- package/lib/esm/tree-view/TreeViewItem.js.map +1 -1
- package/lib/esm/tree-view/TreeViewTextItem.js +2 -2
- package/lib/esm/tree-view/TreeViewTextItem.js.map +1 -1
- package/lib/esm/tree-view/tree-view-keyboard-coordinates.js +1 -1
- package/lib/esm/tree-view/tree-view-keyboard-coordinates.js.map +1 -1
- package/lib/esm/typography/Typography.js.map +1 -1
- package/lib/esm/widget/Widget.js +2 -1
- package/lib/esm/widget/Widget.js.map +1 -1
- package/lib/esm/wizard/Wizard.js.map +1 -1
- package/lib/types/_common/input/RadioAndCheckboxWrapper.d.ts +3 -2
- package/lib/types/accordion/Accordion.d.ts +3 -3
- package/lib/types/accordion/stories/accordion.stories.d.ts +3 -3
- package/lib/types/banner/Banner.d.ts +1 -1
- package/lib/types/banner/stories/banner-closeable.story.d.ts +23 -0
- package/lib/types/banner/stories/banner-global.story.d.ts +23 -0
- package/lib/types/banner/stories/banner-types.story.d.ts +23 -0
- package/lib/types/banner/stories/banner-with-actions.story.d.ts +23 -0
- package/lib/types/banner/stories/banner-with-icons.story.d.ts +23 -0
- package/lib/types/banner/stories/banner-without-title.story.d.ts +23 -0
- package/lib/types/banner/stories/banner.stories.d.ts +45 -0
- package/lib/types/banner/stories/index.d.ts +32 -0
- package/lib/types/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/lib/types/button/IconButton.d.ts +1 -1
- package/lib/types/button/IconButtonArray.d.ts +1 -1
- package/lib/types/code/Code.d.ts +1 -1
- package/lib/types/conditional-wrap/ConditionalWrap.d.ts +1 -1
- package/lib/types/context-menu/ContextMenu.d.ts +1 -0
- package/lib/types/data-grid/Components.d.ts +3 -3
- package/lib/types/data-grid/DataGrid.d.ts +8 -5
- package/lib/types/data-grid/DataGridContext.d.ts +4 -3
- package/lib/types/data-grid/data-grid-nav/index.d.ts +2 -2
- package/lib/types/data-grid/datagrid-types.d.ts +1 -1
- package/lib/types/data-grid/helpers.d.ts +1 -1
- package/lib/types/date-picker/DatePicker.d.ts +1 -1
- package/lib/types/drawer/Drawer.d.ts +5 -2
- package/lib/types/inline-edit/InlineEdit.d.ts +1 -1
- package/lib/types/label/Label.d.ts +1 -1
- package/lib/types/layout/Box.d.ts +2 -2
- package/lib/types/layout/Flex.d.ts +2 -2
- package/lib/types/loading-bar/loading-bar.d.ts +1 -1
- package/lib/types/popover/Popover.d.ts +1 -1
- package/lib/types/select/Overrides.d.ts +1 -1
- package/lib/types/select/Select.d.ts +2 -2
- package/lib/types/side-navigation/SideNavigation.d.ts +1 -1
- package/lib/types/spotlight/Spotlight.d.ts +4 -3
- package/lib/types/spotlight/SpotlightProvider.d.ts +1 -1
- package/lib/types/spotlight/SpotlightTarget.d.ts +3 -2
- package/lib/types/spotlight/SpotlightTour.d.ts +2 -2
- package/lib/types/spotlight/use-indicator.d.ts +1 -1
- package/lib/types/text-area/TextArea.d.ts +2 -1
- package/lib/types/time-picker/TimePicker.d.ts +3 -2
- package/lib/types/toast/Toast.d.ts +1 -1
- package/lib/types/tooltip/Tooltip.d.ts +3 -2
- package/lib/types/tooltip/use-tooltip.d.ts +1 -2
- package/lib/types/tree-view/TreeItemWrapper.d.ts +1 -1
- package/lib/types/tree-view/TreeView.d.ts +2 -2
- package/lib/types/typography/Typography.d.ts +1 -1
- package/lib/types/widget/Widget.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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 React from 'react';
|
|
21
|
+
import type React from 'react';
|
|
22
22
|
import { type GroupBase } from 'react-select';
|
|
23
|
-
import { type SelectProps } from './types';
|
|
24
23
|
import { type PolymorphicPropsWithoutRef } from '../_common/types';
|
|
24
|
+
import { type SelectProps } from './types';
|
|
25
25
|
export declare const Select: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>, T extends React.ElementType = "div">(props: PolymorphicPropsWithoutRef<T, SelectProps<OptionType, IsMulti, GroupType>> & React.RefAttributes<unknown>) => React.ReactElement | null;
|
|
@@ -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 React from 'react';
|
|
21
|
+
import type React from 'react';
|
|
22
22
|
import { type HtmlAttributes, type PolymorphicForwardRefExoticComponent } from '../_common/types';
|
|
23
23
|
type SideNavigationPosition = 'left' | 'right';
|
|
24
24
|
type SideNavigationSize = 'small' | 'large';
|
|
@@ -18,10 +18,11 @@
|
|
|
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
|
+
|
|
21
22
|
import React from 'react';
|
|
22
|
-
import { HtmlAttributes, PolymorphicForwardRefExoticComponent, PolymorphicPropsWithRef } from '../_common/types';
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
23
|
+
import { type HtmlAttributes, type PolymorphicForwardRefExoticComponent, type PolymorphicPropsWithRef } from '../_common/types';
|
|
24
|
+
import { type EventTypeLabelProps } from '../label';
|
|
25
|
+
import { type PopoverProps } from '../popover';
|
|
25
26
|
export type SpotlightActionsProps = {
|
|
26
27
|
label: string;
|
|
27
28
|
isDisabled?: boolean;
|
|
@@ -18,9 +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
|
+
|
|
21
22
|
import React from 'react';
|
|
22
|
-
import { PolymorphicForwardRefExoticComponent } from '../_common/types';
|
|
23
|
-
import { IndicatorPlacement, IndicatorVariant } from './use-indicator';
|
|
23
|
+
import { type PolymorphicForwardRefExoticComponent } from '../_common/types';
|
|
24
|
+
import { type IndicatorPlacement, type IndicatorVariant } from './use-indicator';
|
|
24
25
|
type SpotlightTargetProps = {
|
|
25
26
|
/** id of the target. should match with target prop in Spotlight */
|
|
26
27
|
id: string;
|
|
@@ -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 React from 'react';
|
|
22
|
-
import { Spotlight, SpotlightCloseAction } from './Spotlight';
|
|
21
|
+
import type React from 'react';
|
|
22
|
+
import { Spotlight, type SpotlightCloseAction } from './Spotlight';
|
|
23
23
|
type SpotlightTourAction = SpotlightCloseAction | 'dismiss' | 'back' | 'next' | 'close';
|
|
24
24
|
type SpotlightTourProps = {
|
|
25
25
|
/** Array of spotlights */
|
|
@@ -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 { useFloating, UseInteractionsReturn } from '@floating-ui/react';
|
|
21
|
+
import { useFloating, type UseInteractionsReturn } from '@floating-ui/react';
|
|
22
22
|
export type IndicatorVariant = 'border' | 'point';
|
|
23
23
|
interface IndicatorOptions {
|
|
24
24
|
isOpen: boolean;
|
|
@@ -18,7 +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
|
|
21
|
+
import type React from 'react';
|
|
22
|
+
import { type ReactNode } from 'react';
|
|
22
23
|
import { type TooltipObjectProps } from '../_common/input/types';
|
|
23
24
|
import { type HtmlAttributes } from '../_common/types';
|
|
24
25
|
/**
|
|
@@ -18,9 +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
|
-
|
|
22
|
-
import
|
|
21
|
+
|
|
22
|
+
import type React from 'react';
|
|
23
23
|
import { type HtmlAttributes } from '../_common/types';
|
|
24
|
+
import { NeedleTime } from './needle-time';
|
|
24
25
|
export type TimeFormat = 'hh:mm' | 'hh:mm aa';
|
|
25
26
|
export interface TimePickerProps {
|
|
26
27
|
selected?: NeedleTime;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import React, { type ReactNode } from 'react';
|
|
22
|
-
import {
|
|
22
|
+
import { type ExternalToast as SonnerExternalToast, toast as sonnerToast, type ToasterProps as SonnerToasterProps } from 'sonner';
|
|
23
23
|
import { type HtmlAttributes } from '../_common/types';
|
|
24
24
|
type ToastVariants = 'neutral' | 'success' | 'danger' | 'loading-spinner' | 'progress-bar';
|
|
25
25
|
type ToastCommandVariants = 'neutral' | 'success' | 'danger' | 'loadingSpinner' | 'progressBar';
|
|
@@ -19,9 +19,10 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type Placement } from '@floating-ui/react';
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
22
|
+
import type React from 'react';
|
|
23
|
+
import { type CSSProperties } from 'react';
|
|
24
24
|
import { type HtmlAttributes } from '../_common/types';
|
|
25
|
+
import { Typography } from '../typography';
|
|
25
26
|
export interface TooltipProps {
|
|
26
27
|
children: React.ReactNode;
|
|
27
28
|
isDisabled?: boolean;
|
|
@@ -18,8 +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
|
-
|
|
22
|
-
import { type Placement, type UseInteractionsReturn, type ReferenceType, type UseFloatingReturn } from '@floating-ui/react';
|
|
21
|
+
import { type Placement, type ReferenceType, type UseFloatingReturn, type UseInteractionsReturn } from '@floating-ui/react';
|
|
23
22
|
export interface TooltipOptions {
|
|
24
23
|
isInitialOpen?: boolean;
|
|
25
24
|
placement?: Placement;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
-
import React from 'react';
|
|
22
|
+
import type React from 'react';
|
|
23
23
|
import { type TreeItemComponentProps } from './tree-view-types';
|
|
24
24
|
export declare const TreeItemWrapper: <T extends Record<string, unknown>>(props: TreeItemComponentProps<T> & {
|
|
25
25
|
children?: React.ReactNode | undefined;
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
-
import React from 'react';
|
|
23
|
-
import { type ItemChangedReason, type TreeItem, type TreeItemComponent } from './tree-view-types';
|
|
22
|
+
import type React from 'react';
|
|
24
23
|
import { type HtmlAttributes } from '../_common/types';
|
|
24
|
+
import { type ItemChangedReason, type TreeItem, type TreeItemComponent } from './tree-view-types';
|
|
25
25
|
export interface TreeViewProps<T extends Record<string, unknown>, E extends HTMLElement> extends React.HTMLAttributes<HTMLOListElement> {
|
|
26
26
|
items: TreeItem<T>[];
|
|
27
27
|
onItemsChanged: (newItems: TreeItem<T>[], itemChangedReason: ItemChangedReason<T>) => void;
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
-
import { TypographyDefaultMapping, type TypographyVariants } from './types';
|
|
23
22
|
import { type PolymorphicPropsWithRef } from '../_common/types';
|
|
23
|
+
import { TypographyDefaultMapping, type TypographyVariants } from './types';
|
|
24
24
|
type TypographyProps<T extends TypographyVariants, E extends React.ElementType = (typeof TypographyDefaultMapping)[T]> = PolymorphicPropsWithRef<E, {
|
|
25
25
|
variant: T;
|
|
26
26
|
className?: string;
|
|
@@ -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 React from 'react';
|
|
21
|
+
import type React from 'react';
|
|
22
22
|
import { type HtmlAttributes } from '../_common/types';
|
|
23
23
|
/**
|
|
24
24
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.6",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@tanstack/react-table": "8.20.5",
|
|
66
66
|
"react": ">=16.8.0",
|
|
67
67
|
"react-dom": ">=16.8.0",
|
|
68
|
-
"@neo4j-ndl/base": "^3.3.
|
|
68
|
+
"@neo4j-ndl/base": "^3.3.19"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@dnd-kit/core": "6.1.0",
|