@neo4j-ndl/react 1.10.7 → 2.0.0-alpha-3f8358d
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/LICENSES.txt +2105 -67
- package/lib/NOTICE.txt +32 -31
- package/lib/cjs/_common/CodeBlockWrapper.js +6 -6
- package/lib/cjs/_common/CodeBlockWrapper.js.map +1 -1
- package/lib/cjs/_common/input/RadioAndCheckboxWrapper.js +1 -1
- package/lib/cjs/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
- package/lib/cjs/accordion/Accordion.js +10 -9
- package/lib/cjs/accordion/Accordion.js.map +1 -1
- package/lib/cjs/banner/Banner.js +10 -7
- package/lib/cjs/banner/Banner.js.map +1 -1
- package/lib/cjs/button/Button.js +1 -1
- package/lib/cjs/button/Button.js.map +1 -1
- package/lib/cjs/button/IconButton.js +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/checkbox/Checkbox.js.map +1 -1
- package/lib/cjs/code-block/CodeBlock.js +3 -3
- package/lib/cjs/code-block/CodeBlock.js.map +1 -1
- package/lib/cjs/context-menu/ContextMenu.js +34 -20
- package/lib/cjs/context-menu/ContextMenu.js.map +1 -1
- package/lib/cjs/context-menu/SafeArea.js +6 -6
- package/lib/cjs/context-menu/SafeArea.js.map +1 -1
- package/lib/cjs/cypher-code-block/CypherCodeBlock.js +1 -1
- package/lib/cjs/cypher-code-block/CypherCodeBlock.js.map +1 -1
- package/lib/cjs/data-grid/Components.js +364 -0
- package/lib/cjs/data-grid/Components.js.map +1 -0
- package/lib/cjs/data-grid/DataGrid.js +98 -0
- package/lib/cjs/data-grid/DataGrid.js.map +1 -0
- package/lib/cjs/{table-deprecated/hooks/hookCallbackTypes.js → data-grid/DataGridContext.js} +12 -1
- package/lib/cjs/data-grid/DataGridContext.js.map +1 -0
- package/lib/cjs/data-grid/helpers.js +94 -0
- package/lib/cjs/data-grid/helpers.js.map +1 -0
- package/lib/cjs/data-grid/index.js +57 -0
- package/lib/cjs/data-grid/index.js.map +1 -0
- package/lib/cjs/date-picker/DatePicker.js +5 -5
- package/lib/cjs/date-picker/DatePicker.js.map +1 -1
- package/lib/cjs/dialog/Dialog.js +10 -9
- package/lib/cjs/dialog/Dialog.js.map +1 -1
- package/lib/cjs/drawer/Drawer.js +6 -6
- package/lib/cjs/drawer/Drawer.js.map +1 -1
- package/lib/cjs/dropdown/Dropdown.js +17 -17
- package/lib/cjs/dropdown/Dropdown.js.map +1 -1
- package/lib/cjs/dropdown/Overrides.js +4 -4
- package/lib/cjs/dropdown/Overrides.js.map +1 -1
- package/lib/cjs/{drag-and-drop/DragAndDrop.js → dropzone/Dropzone.js} +7 -14
- package/lib/cjs/dropzone/Dropzone.js.map +1 -0
- package/lib/cjs/dropzone/icons/CSV-file.js.map +1 -0
- package/lib/cjs/dropzone/icons/Cloud.js +27 -0
- package/lib/cjs/dropzone/icons/Cloud.js.map +1 -0
- package/lib/cjs/{drag-and-drop → dropzone}/icons/File.js +1 -1
- package/lib/cjs/dropzone/icons/File.js.map +1 -0
- package/lib/cjs/{drag-and-drop → dropzone}/icons/InvalidFile.js +1 -1
- package/lib/cjs/dropzone/icons/InvalidFile.js.map +1 -0
- package/lib/cjs/{drag-and-drop → dropzone}/index.js +3 -3
- package/lib/cjs/dropzone/index.js.map +1 -0
- package/lib/cjs/graph-label/GraphLabel.js +11 -11
- package/lib/cjs/graph-label/GraphLabel.js.map +1 -1
- package/lib/cjs/graph-label/color.js +8 -8
- package/lib/cjs/graph-label/color.js.map +1 -1
- package/lib/cjs/icons/generated/custom/NomLevel.js +1 -1
- package/lib/cjs/icons/generated/custom/NomLevel.js.map +1 -1
- package/lib/cjs/icons/generated/custom/Underline.js +1 -1
- package/lib/cjs/icons/generated/custom/Underline.js.map +1 -1
- package/lib/cjs/index.js +5 -4
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/label/Label.js +17 -8
- package/lib/cjs/label/Label.js.map +1 -1
- package/lib/cjs/loading-spinner/LoadingSpinner.js +1 -1
- package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/cjs/modal/Modal.js +6 -19
- package/lib/cjs/modal/Modal.js.map +1 -1
- package/lib/cjs/popover/Popover.js +8 -4
- package/lib/cjs/popover/Popover.js.map +1 -1
- package/lib/cjs/progress-bar/ProgressBar.js +1 -1
- package/lib/cjs/progress-bar/ProgressBar.js.map +1 -1
- package/lib/cjs/{view-selector/ViewSelector.js → segmented-control/SegmentedControl.js} +21 -14
- package/lib/cjs/segmented-control/SegmentedControl.js.map +1 -0
- package/lib/cjs/{table-deprecated/hooks → segmented-control}/index.js +1 -3
- package/lib/cjs/segmented-control/index.js.map +1 -0
- package/lib/cjs/side-navigation/SideNavigation.js +22 -36
- package/lib/cjs/side-navigation/SideNavigation.js.map +1 -1
- package/lib/cjs/status-indicator/StatusIndicator.js +5 -5
- package/lib/cjs/status-indicator/StatusIndicator.js.map +1 -1
- package/lib/cjs/table/Components.js +18 -20
- package/lib/cjs/table/Components.js.map +1 -1
- package/lib/cjs/table/Table.js +11 -3
- package/lib/cjs/table/Table.js.map +1 -1
- package/lib/cjs/tabs/Tabs.js +18 -7
- package/lib/cjs/tabs/Tabs.js.map +1 -1
- package/lib/cjs/tag/Tag.js +1 -1
- package/lib/cjs/tag/Tag.js.map +1 -1
- package/lib/cjs/text-input/TextInput.js +3 -4
- package/lib/cjs/text-input/TextInput.js.map +1 -1
- package/lib/cjs/textarea/Textarea.js +3 -4
- package/lib/cjs/textarea/Textarea.js.map +1 -1
- package/lib/cjs/theme/ThemeProvider.js +99 -0
- package/lib/cjs/theme/ThemeProvider.js.map +1 -0
- package/lib/cjs/{view-selector → theme}/index.js +1 -1
- package/lib/cjs/theme/index.js.map +1 -0
- package/lib/cjs/tip/Tip.js +193 -0
- package/lib/cjs/tip/Tip.js.map +1 -0
- package/lib/cjs/{tooltip → tip}/Tooltip.js +1 -1
- package/lib/cjs/tip/Tooltip.js.map +1 -0
- package/lib/cjs/{table-deprecated → tip}/index.js +4 -4
- package/lib/cjs/tip/index.js.map +1 -0
- package/lib/cjs/typography/Typography.js +1 -1
- package/lib/cjs/typography/Typography.js.map +1 -1
- package/lib/cjs/widget/Widget.js +1 -1
- package/lib/cjs/widget/Widget.js.map +1 -1
- package/lib/cjs/wizard/Wizard.js +6 -6
- package/lib/cjs/wizard/Wizard.js.map +1 -1
- package/lib/esm/_common/CodeBlockWrapper.js +6 -6
- package/lib/esm/_common/CodeBlockWrapper.js.map +1 -1
- package/lib/esm/_common/input/RadioAndCheckboxWrapper.js +1 -1
- package/lib/esm/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
- package/lib/esm/accordion/Accordion.js +11 -12
- package/lib/esm/accordion/Accordion.js.map +1 -1
- package/lib/esm/banner/Banner.js +9 -5
- package/lib/esm/banner/Banner.js.map +1 -1
- package/lib/esm/button/Button.js +1 -1
- package/lib/esm/button/Button.js.map +1 -1
- package/lib/esm/button/IconButton.js +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/checkbox/Checkbox.js.map +1 -1
- package/lib/esm/code-block/CodeBlock.js +3 -3
- package/lib/esm/code-block/CodeBlock.js.map +1 -1
- package/lib/esm/context-menu/ContextMenu.js +33 -19
- package/lib/esm/context-menu/ContextMenu.js.map +1 -1
- package/lib/esm/context-menu/SafeArea.js +6 -6
- package/lib/esm/context-menu/SafeArea.js.map +1 -1
- package/lib/esm/cypher-code-block/CypherCodeBlock.js +1 -1
- package/lib/esm/cypher-code-block/CypherCodeBlock.js.map +1 -1
- package/lib/esm/data-grid/Components.js +339 -0
- package/lib/esm/data-grid/Components.js.map +1 -0
- package/lib/esm/data-grid/DataGrid.js +92 -0
- package/lib/esm/data-grid/DataGrid.js.map +1 -0
- package/lib/esm/{table-deprecated/hooks/index.js → data-grid/DataGridContext.js} +10 -4
- package/lib/esm/data-grid/DataGridContext.js.map +1 -0
- package/lib/esm/data-grid/helpers.js +88 -0
- package/lib/esm/data-grid/helpers.js.map +1 -0
- package/lib/esm/{drag-and-drop → data-grid}/index.js +4 -1
- package/lib/esm/data-grid/index.js.map +1 -0
- package/lib/esm/date-picker/DatePicker.js +5 -5
- package/lib/esm/date-picker/DatePicker.js.map +1 -1
- package/lib/esm/dialog/Dialog.js +9 -8
- package/lib/esm/dialog/Dialog.js.map +1 -1
- package/lib/esm/drawer/Drawer.js +6 -6
- package/lib/esm/drawer/Drawer.js.map +1 -1
- package/lib/esm/dropdown/Dropdown.js +17 -17
- package/lib/esm/dropdown/Dropdown.js.map +1 -1
- package/lib/esm/dropdown/Overrides.js +4 -4
- package/lib/esm/dropdown/Overrides.js.map +1 -1
- package/lib/esm/{drag-and-drop/DragAndDrop.js → dropzone/Dropzone.js} +7 -14
- package/lib/esm/dropzone/Dropzone.js.map +1 -0
- package/lib/esm/dropzone/icons/CSV-file.js.map +1 -0
- package/lib/esm/dropzone/icons/Cloud.js +25 -0
- package/lib/esm/dropzone/icons/Cloud.js.map +1 -0
- package/lib/esm/dropzone/icons/File.js +25 -0
- package/lib/esm/dropzone/icons/File.js.map +1 -0
- package/lib/esm/dropzone/icons/InvalidFile.js +25 -0
- package/lib/esm/dropzone/icons/InvalidFile.js.map +1 -0
- package/lib/{types/table-deprecated/index.d.ts → esm/dropzone/index.js} +2 -2
- package/lib/esm/dropzone/index.js.map +1 -0
- package/lib/esm/graph-label/GraphLabel.js +11 -11
- package/lib/esm/graph-label/GraphLabel.js.map +1 -1
- package/lib/esm/graph-label/color.js +8 -8
- package/lib/esm/graph-label/color.js.map +1 -1
- package/lib/esm/icons/generated/custom/NomLevel.js +1 -1
- package/lib/esm/icons/generated/custom/NomLevel.js.map +1 -1
- package/lib/esm/icons/generated/custom/Underline.js +1 -1
- package/lib/esm/icons/generated/custom/Underline.js.map +1 -1
- package/lib/esm/index.js +5 -4
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/label/Label.js +17 -8
- package/lib/esm/label/Label.js.map +1 -1
- package/lib/esm/loading-spinner/LoadingSpinner.js +1 -1
- package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/esm/modal/Modal.js +6 -18
- package/lib/esm/modal/Modal.js.map +1 -1
- package/lib/esm/popover/Popover.js +8 -4
- package/lib/esm/popover/Popover.js.map +1 -1
- package/lib/esm/progress-bar/ProgressBar.js +1 -1
- package/lib/esm/progress-bar/ProgressBar.js.map +1 -1
- package/lib/esm/{view-selector/ViewSelector.js → segmented-control/SegmentedControl.js} +21 -14
- package/lib/esm/segmented-control/SegmentedControl.js.map +1 -0
- package/lib/esm/segmented-control/index.js +22 -0
- package/lib/esm/segmented-control/index.js.map +1 -0
- package/lib/esm/side-navigation/SideNavigation.js +21 -12
- package/lib/esm/side-navigation/SideNavigation.js.map +1 -1
- package/lib/esm/status-indicator/StatusIndicator.js +5 -5
- package/lib/esm/status-indicator/StatusIndicator.js.map +1 -1
- package/lib/esm/table/Components.js +18 -20
- package/lib/esm/table/Components.js.map +1 -1
- package/lib/esm/table/Table.js +11 -3
- package/lib/esm/table/Table.js.map +1 -1
- package/lib/esm/tabs/Tabs.js +18 -7
- package/lib/esm/tabs/Tabs.js.map +1 -1
- package/lib/esm/tag/Tag.js +1 -1
- package/lib/esm/tag/Tag.js.map +1 -1
- package/lib/esm/text-input/TextInput.js +4 -5
- package/lib/esm/text-input/TextInput.js.map +1 -1
- package/lib/esm/textarea/Textarea.js +4 -5
- package/lib/esm/textarea/Textarea.js.map +1 -1
- package/lib/esm/theme/ThemeProvider.js +68 -0
- package/lib/esm/theme/ThemeProvider.js.map +1 -0
- package/lib/esm/{view-selector → theme}/index.js +1 -1
- package/lib/esm/theme/index.js.map +1 -0
- package/lib/esm/tip/Tip.js +183 -0
- package/lib/esm/tip/Tip.js.map +1 -0
- package/lib/esm/{tooltip → tip}/Tooltip.js +1 -1
- package/lib/esm/tip/Tooltip.js.map +1 -0
- package/lib/{types/tooltip/index.d.ts → esm/tip/index.js} +2 -2
- package/lib/esm/tip/index.js.map +1 -0
- package/lib/esm/typography/Typography.js +1 -1
- package/lib/esm/typography/Typography.js.map +1 -1
- package/lib/esm/widget/Widget.js +1 -1
- package/lib/esm/widget/Widget.js.map +1 -1
- package/lib/esm/wizard/Wizard.js +6 -6
- package/lib/esm/wizard/Wizard.js.map +1 -1
- package/lib/types/_common/coditionalWrap.d.ts +2 -2
- package/lib/types/accordion/Accordion.d.ts +12 -11
- package/lib/types/banner/Banner.d.ts +14 -10
- package/lib/types/button/Button.d.ts +1 -1
- package/lib/types/code-block/languages.d.ts +1 -1
- package/lib/types/context-menu/ContextMenu.d.ts +18 -18
- package/lib/types/context-menu/SafeArea.d.ts +1 -1
- package/lib/types/data-grid/Components.d.ts +94 -0
- package/lib/types/data-grid/DataGrid.d.ts +90 -0
- package/lib/types/data-grid/DataGridContext.d.ts +62 -0
- package/lib/types/{table-deprecated → data-grid}/helpers.d.ts +15 -21
- package/lib/types/{table-deprecated/hooks → data-grid}/index.d.ts +5 -3
- package/lib/types/dialog/Dialog.d.ts +12 -12
- package/lib/types/drawer/Drawer.d.ts +9 -9
- package/lib/types/dropdown/Overrides.d.ts +4 -5
- package/lib/types/dropdown/types.d.ts +5 -5
- package/lib/types/{drag-and-drop/DragAndDrop.d.ts → dropzone/Dropzone.d.ts} +4 -11
- package/lib/types/{drag-and-drop → dropzone}/icons/CSV-file.d.ts +1 -1
- package/lib/types/{drag-and-drop → dropzone}/icons/Cloud.d.ts +1 -1
- package/lib/types/{drag-and-drop → dropzone}/icons/File.d.ts +1 -1
- package/lib/types/{drag-and-drop → dropzone}/icons/InvalidFile.d.ts +1 -1
- package/lib/types/{drag-and-drop → dropzone}/index.d.ts +1 -1
- package/lib/types/graph-label/color.d.ts +3 -3
- package/lib/types/helpers/forwardRef.d.ts +7 -1
- package/lib/types/helpers/types.d.ts +1 -1
- package/lib/types/icons/generated/custom/AddNode.d.ts +1 -1
- package/lib/types/icons/generated/custom/AlignBottom.d.ts +1 -1
- package/lib/types/icons/generated/custom/AlignCenter.d.ts +1 -1
- package/lib/types/icons/generated/custom/AlignTop.d.ts +1 -1
- package/lib/types/icons/generated/custom/Bold.d.ts +1 -1
- package/lib/types/icons/generated/custom/Circle.d.ts +1 -1
- package/lib/types/icons/generated/custom/CollapseExpand.d.ts +1 -1
- package/lib/types/icons/generated/custom/CollapseExpandLeft.d.ts +1 -1
- package/lib/types/icons/generated/custom/CollapseExpandRight.d.ts +1 -1
- package/lib/types/icons/generated/custom/Configure.d.ts +1 -1
- package/lib/types/icons/generated/custom/DatabaseAddCircle.d.ts +1 -1
- package/lib/types/icons/generated/custom/Dbms.d.ts +1 -1
- package/lib/types/icons/generated/custom/Drag.d.ts +1 -1
- package/lib/types/icons/generated/custom/Expand.d.ts +1 -1
- package/lib/types/icons/generated/custom/ExternalLink.d.ts +1 -1
- package/lib/types/icons/generated/custom/FitToScreen.d.ts +1 -1
- package/lib/types/icons/generated/custom/FolderBookmark.d.ts +1 -1
- package/lib/types/icons/generated/custom/Heirarchy2.d.ts +1 -1
- package/lib/types/icons/generated/custom/Hierarchy1.d.ts +1 -1
- package/lib/types/icons/generated/custom/Hierarchy2.d.ts +1 -1
- package/lib/types/icons/generated/custom/Italic.d.ts +1 -1
- package/lib/types/icons/generated/custom/NomLevel.d.ts +1 -1
- package/lib/types/icons/generated/custom/Pin.d.ts +1 -1
- package/lib/types/icons/generated/custom/PlanView.d.ts +1 -1
- package/lib/types/icons/generated/custom/Presentation.d.ts +1 -1
- package/lib/types/icons/generated/custom/QueryBrowser.d.ts +1 -1
- package/lib/types/icons/generated/custom/ResizeCorner.d.ts +1 -1
- package/lib/types/icons/generated/custom/Rhombus.d.ts +1 -1
- package/lib/types/icons/generated/custom/ScienceMolecule.d.ts +1 -1
- package/lib/types/icons/generated/custom/Shrink.d.ts +1 -1
- package/lib/types/icons/generated/custom/SidebarLineLeft.d.ts +1 -1
- package/lib/types/icons/generated/custom/SidebarLineRight.d.ts +1 -1
- package/lib/types/icons/generated/custom/Square.d.ts +1 -1
- package/lib/types/icons/generated/custom/Status.d.ts +1 -1
- package/lib/types/icons/generated/custom/Text.d.ts +1 -1
- package/lib/types/icons/generated/custom/Triangle.d.ts +1 -1
- package/lib/types/icons/generated/custom/Underline.d.ts +1 -1
- package/lib/types/icons/generated/custom/VisualizeBloom.d.ts +1 -1
- package/lib/types/index.d.ts +5 -4
- package/lib/types/loading-spinner/LoadingSpinner.d.ts +1 -1
- package/lib/types/modal/Modal.d.ts +13 -6
- package/lib/types/popover/Popover.d.ts +11 -5
- package/lib/types/{view-selector/ViewSelector.d.ts → segmented-control/SegmentedControl.d.ts} +13 -19
- package/lib/{esm/table-deprecated/hooks/hookCallbackTypes.js → types/segmented-control/index.d.ts} +1 -2
- package/lib/types/side-navigation/SideNavigation.d.ts +13 -12
- package/lib/types/table/Components.d.ts +18 -18
- package/lib/types/table/Table.d.ts +23 -19
- package/lib/types/table/TableContext.d.ts +1 -1
- package/lib/types/tabs/Tabs.d.ts +8 -7
- package/lib/types/tag/Tag.d.ts +1 -1
- package/lib/types/text-input/TextInput.d.ts +5 -5
- package/lib/types/textarea/Textarea.d.ts +4 -4
- package/lib/types/theme/ThemeProvider.d.ts +54 -0
- package/lib/types/{view-selector → theme}/index.d.ts +1 -1
- package/lib/types/tip/Tip.d.ts +166 -0
- package/lib/types/{tooltip → tip}/Tooltip.d.ts +1 -1
- package/lib/types/tip/index.d.ts +22 -0
- package/lib/types/typography/Typography.d.ts +1 -2
- package/lib/types/typography/types.d.ts +6 -6
- package/lib/types/widget/Widget.d.ts +1 -1
- package/lib/types/wizard/Wizard.d.ts +4 -4
- package/package.json +19 -20
- package/CHANGELOG.md +0 -1273
- package/lib/cjs/drag-and-drop/DragAndDrop.js.map +0 -1
- package/lib/cjs/drag-and-drop/icons/CSV-file.js.map +0 -1
- package/lib/cjs/drag-and-drop/icons/Cloud.js +0 -27
- package/lib/cjs/drag-and-drop/icons/Cloud.js.map +0 -1
- package/lib/cjs/drag-and-drop/icons/File.js.map +0 -1
- package/lib/cjs/drag-and-drop/icons/InvalidFile.js.map +0 -1
- package/lib/cjs/drag-and-drop/index.js.map +0 -1
- package/lib/cjs/table-deprecated/Table.js +0 -157
- package/lib/cjs/table-deprecated/Table.js.map +0 -1
- package/lib/cjs/table-deprecated/TableNavigation.js +0 -51
- package/lib/cjs/table-deprecated/TableNavigation.js.map +0 -1
- package/lib/cjs/table-deprecated/helpers.js +0 -123
- package/lib/cjs/table-deprecated/helpers.js.map +0 -1
- package/lib/cjs/table-deprecated/hooks/hookCallbackTypes.js.map +0 -1
- package/lib/cjs/table-deprecated/hooks/index.js.map +0 -1
- package/lib/cjs/table-deprecated/hooks/useMultiRowSelect.js +0 -84
- package/lib/cjs/table-deprecated/hooks/useMultiRowSelect.js.map +0 -1
- package/lib/cjs/table-deprecated/hooks/useSingleRowSelect.js +0 -61
- package/lib/cjs/table-deprecated/hooks/useSingleRowSelect.js.map +0 -1
- package/lib/cjs/table-deprecated/index.js.map +0 -1
- package/lib/cjs/tooltip/SmartTooltip.js +0 -33
- package/lib/cjs/tooltip/SmartTooltip.js.map +0 -1
- package/lib/cjs/tooltip/Tip.js +0 -169
- package/lib/cjs/tooltip/Tip.js.map +0 -1
- package/lib/cjs/tooltip/Tooltip.js.map +0 -1
- package/lib/cjs/tooltip/index.js +0 -33
- package/lib/cjs/tooltip/index.js.map +0 -1
- package/lib/cjs/view-selector/ViewSelector.js.map +0 -1
- package/lib/cjs/view-selector/index.js.map +0 -1
- package/lib/esm/drag-and-drop/DragAndDrop.js.map +0 -1
- package/lib/esm/drag-and-drop/icons/CSV-file.js.map +0 -1
- package/lib/esm/drag-and-drop/icons/Cloud.js +0 -25
- package/lib/esm/drag-and-drop/icons/Cloud.js.map +0 -1
- package/lib/esm/drag-and-drop/icons/File.js +0 -25
- package/lib/esm/drag-and-drop/icons/File.js.map +0 -1
- package/lib/esm/drag-and-drop/icons/InvalidFile.js +0 -25
- package/lib/esm/drag-and-drop/icons/InvalidFile.js.map +0 -1
- package/lib/esm/drag-and-drop/index.js.map +0 -1
- package/lib/esm/table-deprecated/Table.js +0 -150
- package/lib/esm/table-deprecated/Table.js.map +0 -1
- package/lib/esm/table-deprecated/TableNavigation.js +0 -44
- package/lib/esm/table-deprecated/TableNavigation.js.map +0 -1
- package/lib/esm/table-deprecated/helpers.js +0 -116
- package/lib/esm/table-deprecated/helpers.js.map +0 -1
- package/lib/esm/table-deprecated/hooks/hookCallbackTypes.js.map +0 -1
- package/lib/esm/table-deprecated/hooks/index.js.map +0 -1
- package/lib/esm/table-deprecated/hooks/useMultiRowSelect.js +0 -82
- package/lib/esm/table-deprecated/hooks/useMultiRowSelect.js.map +0 -1
- package/lib/esm/table-deprecated/hooks/useSingleRowSelect.js +0 -57
- package/lib/esm/table-deprecated/hooks/useSingleRowSelect.js.map +0 -1
- package/lib/esm/table-deprecated/index.js +0 -23
- package/lib/esm/table-deprecated/index.js.map +0 -1
- package/lib/esm/tooltip/SmartTooltip.js +0 -28
- package/lib/esm/tooltip/SmartTooltip.js.map +0 -1
- package/lib/esm/tooltip/Tip.js +0 -141
- package/lib/esm/tooltip/Tip.js.map +0 -1
- package/lib/esm/tooltip/Tooltip.js.map +0 -1
- package/lib/esm/tooltip/index.js +0 -24
- package/lib/esm/tooltip/index.js.map +0 -1
- package/lib/esm/view-selector/ViewSelector.js.map +0 -1
- package/lib/esm/view-selector/index.js.map +0 -1
- package/lib/types/table-deprecated/Table.d.ts +0 -76
- package/lib/types/table-deprecated/TableNavigation.d.ts +0 -39
- package/lib/types/table-deprecated/hooks/hookCallbackTypes.d.ts +0 -27
- package/lib/types/table-deprecated/hooks/useMultiRowSelect.d.ts +0 -42
- package/lib/types/table-deprecated/hooks/useSingleRowSelect.d.ts +0 -37
- package/lib/types/tooltip/SmartTooltip.d.ts +0 -36
- package/lib/types/tooltip/Tip.d.ts +0 -62
- /package/lib/cjs/{drag-and-drop → dropzone}/icons/CSV-file.js +0 -0
- /package/lib/esm/{drag-and-drop → dropzone}/icons/CSV-file.js +0 -0
|
@@ -19,10 +19,9 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
-
/// <reference types="react" />
|
|
23
22
|
import { type ClearIndicatorProps, type DropdownIndicatorProps, type GroupBase, type MultiValueRemoveProps, type PlaceholderProps } from 'react-select';
|
|
24
23
|
import { type DropdownOverrideCustomProps } from './types';
|
|
25
|
-
export declare const DropdownIndicatorCurrying: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ errorText, size, }: DropdownOverrideCustomProps<OptionType, IsMulti, GroupType>) => (props: DropdownIndicatorProps<OptionType, IsMulti, GroupType>) => JSX.Element;
|
|
26
|
-
export declare const CustomClearIndication: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ errorText, size, }: DropdownOverrideCustomProps<OptionType, IsMulti, GroupType>) => (props: ClearIndicatorProps<OptionType, IsMulti, GroupType>) => JSX.Element;
|
|
27
|
-
export declare const CustomMultiValueRemove: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ errorText, size, }: DropdownOverrideCustomProps<OptionType, IsMulti, GroupType>) => (props: MultiValueRemoveProps<OptionType, IsMulti, GroupType>) => JSX.Element;
|
|
28
|
-
export declare const CustomPlaceholder: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ errorText, size, }: DropdownOverrideCustomProps<OptionType, IsMulti, GroupType>) => (props: PlaceholderProps<OptionType, IsMulti, GroupType>) => JSX.Element;
|
|
24
|
+
export declare const DropdownIndicatorCurrying: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ errorText, size, }: DropdownOverrideCustomProps<OptionType, IsMulti, GroupType>) => (props: DropdownIndicatorProps<OptionType, IsMulti, GroupType>) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const CustomClearIndication: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ errorText, size, }: DropdownOverrideCustomProps<OptionType, IsMulti, GroupType>) => (props: ClearIndicatorProps<OptionType, IsMulti, GroupType>) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const CustomMultiValueRemove: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ errorText, size, }: DropdownOverrideCustomProps<OptionType, IsMulti, GroupType>) => (props: MultiValueRemoveProps<OptionType, IsMulti, GroupType>) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const CustomPlaceholder: <OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ errorText, size, }: DropdownOverrideCustomProps<OptionType, IsMulti, GroupType>) => (props: PlaceholderProps<OptionType, IsMulti, GroupType>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -41,15 +41,15 @@ export interface DropdownCommonProps extends Omit<ElementBase<HTMLDivElement>, '
|
|
|
41
41
|
/** Displays with fluid width */
|
|
42
42
|
fluid?: boolean;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
type ReactSelectProps<OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>> = {
|
|
45
45
|
type: 'select';
|
|
46
46
|
selectProps: Props<OptionType, IsMulti, GroupType>;
|
|
47
47
|
} & DropdownCommonProps;
|
|
48
|
-
|
|
48
|
+
type ReactSelectAsyncProps<OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>> = {
|
|
49
49
|
type: 'async';
|
|
50
50
|
selectProps: AsyncProps<OptionType, IsMulti, GroupType>;
|
|
51
51
|
} & DropdownCommonProps;
|
|
52
|
-
|
|
52
|
+
type ReactSelectCreatableProps<OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>> = {
|
|
53
53
|
type: 'creatable';
|
|
54
54
|
selectProps: CreatableProps<OptionType, IsMulti, GroupType>;
|
|
55
55
|
} & DropdownCommonProps;
|
|
@@ -61,6 +61,6 @@ declare type ReactSelectCreatableProps<OptionType, IsMulti extends boolean = fal
|
|
|
61
61
|
* 3. Async for fetching while typing, useful for cases that we avoid storing things
|
|
62
62
|
* in browser
|
|
63
63
|
*/
|
|
64
|
-
export
|
|
65
|
-
export
|
|
64
|
+
export type DropdownProps<OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>> = ReactSelectProps<OptionType, IsMulti, GroupType> | ReactSelectCreatableProps<OptionType, IsMulti, GroupType> | ReactSelectAsyncProps<OptionType, IsMulti, GroupType>;
|
|
65
|
+
export type DropdownOverrideCustomProps<OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>> = Pick<DropdownProps<OptionType, IsMulti, GroupType>, 'size' | 'errorText'>;
|
|
66
66
|
export {};
|
|
@@ -28,7 +28,7 @@ import { type ElementBase } from '../helpers';
|
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
|
-
export interface
|
|
31
|
+
export interface DropzoneProps extends ElementBase<HTMLDivElement> {
|
|
32
32
|
/**
|
|
33
33
|
* See here - https://react-dropzone.js.org/#src. Don't use 'accept'
|
|
34
34
|
* if using custom file extensions as this option is broken.
|
|
@@ -39,7 +39,7 @@ export interface DragAndDropProps extends ElementBase<HTMLDivElement> {
|
|
|
39
39
|
supportedFilesDescription?: React.ReactNode | string;
|
|
40
40
|
/** Element to display when uploading the file. When passed, drag&drop zone is disabled */
|
|
41
41
|
loadingComponent?: React.ReactNode | string;
|
|
42
|
-
/** To be used when want to test loadingComponent UI without
|
|
42
|
+
/** To be used when want to test loadingComponent UI without actually dragging and uploading the files */
|
|
43
43
|
isTesting?: boolean;
|
|
44
44
|
/** Use when wanting a custom title. */
|
|
45
45
|
customTitle?: React.ReactNode | string;
|
|
@@ -48,12 +48,5 @@ export interface DragAndDropProps extends ElementBase<HTMLDivElement> {
|
|
|
48
48
|
/** The accepted file extensions for the Drag-and-Drop. */
|
|
49
49
|
acceptedFileExtensions?: string[];
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
*
|
|
54
|
-
* DragAndDrop Component
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
declare const DragAndDrop: (props: DragAndDropProps) => JSX.Element;
|
|
59
|
-
export default DragAndDrop;
|
|
51
|
+
declare const Dropzone: (props: DropzoneProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export default Dropzone;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgComponent: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgComponent;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgComponent: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgComponent;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgComponent: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgComponent;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgComponent: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgComponent;
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
export declare const getTextColorFromBackground: (color: string) => string;
|
|
27
27
|
/**
|
|
28
28
|
* Takes a color string and returns a color string
|
|
29
|
-
* that is darker or
|
|
29
|
+
* that is darker or lighter depending on the given color.
|
|
30
30
|
*/
|
|
31
31
|
export declare const getHoverColor: (color: string) => string;
|
|
32
32
|
/**
|
|
33
|
-
* Returns the most
|
|
33
|
+
* Returns the most readable color on the given background color
|
|
34
34
|
* as a string from a list of palette text colors
|
|
35
35
|
*/
|
|
36
36
|
export declare const getDisabledTextColor: (backgroundColor: string) => string;
|
|
37
37
|
/**
|
|
38
38
|
* Takes a color string and returns a color string
|
|
39
|
-
* that is darker or
|
|
39
|
+
* that is darker or lighter depending on the given color.
|
|
40
40
|
*/
|
|
41
41
|
export declare const getDisabledColor: (color: string) => string;
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type ForwardedRef, type ReactElement, type RefAttributes } from 'react';
|
|
22
|
-
|
|
22
|
+
type ForwardRefType = <T, P = Record<string, never>>(render: (props: P, ref: ForwardedRef<T>) => ReactElement | null) => (props: P & RefAttributes<T>) => ReactElement | null;
|
|
23
23
|
export declare const forwardRef: ForwardRefType;
|
|
24
|
+
/**
|
|
25
|
+
* This type is to help retain the ForwardRefExoticComponent properties
|
|
26
|
+
* on a component when using our own custom generic forwardRef function.
|
|
27
|
+
* This type can be removed when our custom generic forwardRef is removed.
|
|
28
|
+
*/
|
|
29
|
+
export type RetainForwardRefProps<T> = React.ForwardRefExoticComponent<T & React.RefAttributes<unknown>>;
|
|
24
30
|
export {};
|
|
@@ -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
|
-
export
|
|
22
|
+
export type ElementBase<T = HTMLElement> = Omit<React.HTMLProps<T>, 'as' | 'selected' | 'size' | 'onChange' | 'ref'> & {
|
|
23
23
|
/** Override the root element rendered for the component */
|
|
24
24
|
as?: string | React.ComponentType<any>;
|
|
25
25
|
};
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgAddNode: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgAddNode: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgAddNode;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgAlignBottom: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgAlignBottom: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgAlignBottom;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgAlignCenter: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgAlignCenter: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgAlignCenter;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgAlignTop: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgAlignTop: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgAlignTop;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgBold: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgBold: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgBold;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgCircle: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgCircle: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgCircle;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgCollapseExpand: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgCollapseExpand: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgCollapseExpand;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgCollapseExpandLeft: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgCollapseExpandLeft: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgCollapseExpandLeft;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgCollapseExpandRight: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgCollapseExpandRight: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgCollapseExpandRight;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgConfigure: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgConfigure: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgConfigure;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgDatabaseAddCircle: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgDatabaseAddCircle: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgDatabaseAddCircle;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgDbms: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgDbms: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgDbms;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgDrag: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgDrag: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgDrag;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgExpand: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgExpand: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgExpand;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgExternalLink: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgExternalLink: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgExternalLink;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgFitToScreen: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgFitToScreen: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgFitToScreen;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgFolderBookmark: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgFolderBookmark: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgFolderBookmark;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgHeirarchy2: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgHeirarchy2: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgHeirarchy2;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgHierarchy1: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgHierarchy1: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgHierarchy1;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgHierarchy2: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgHierarchy2: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgHierarchy2;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgItalic: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgItalic: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgItalic;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgNomLevel: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgNomLevel: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgNomLevel;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgPin: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgPin: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgPin;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgPlanView: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgPlanView: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgPlanView;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgPresentation: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgPresentation: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgPresentation;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgQueryBrowser: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgQueryBrowser: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgQueryBrowser;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgResizeCorner: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgResizeCorner: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgResizeCorner;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgRhombus: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgRhombus: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgRhombus;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgScienceMolecule: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgScienceMolecule: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgScienceMolecule;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgShrink: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgShrink: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgShrink;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgSidebarLineLeft: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgSidebarLineLeft: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgSidebarLineLeft;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgSidebarLineRight: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgSidebarLineRight: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgSidebarLineRight;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgSquare: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgSquare: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgSquare;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgStatus: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgStatus: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgStatus;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgText: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgText: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgText;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgTriangle: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgTriangle: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgTriangle;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgUnderline: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgUnderline: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgUnderline;
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
import { type SVGProps } from 'react';
|
|
22
|
-
declare const SvgVisualizeBloom: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
|
+
declare const SvgVisualizeBloom: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default SvgVisualizeBloom;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export * from './accordion';
|
|
|
22
22
|
export * from './button';
|
|
23
23
|
export * from './label';
|
|
24
24
|
export * from './banner';
|
|
25
|
-
export * from './
|
|
25
|
+
export * from './tip';
|
|
26
26
|
export * from './checkbox';
|
|
27
27
|
export * from './switch';
|
|
28
28
|
export * from './radio';
|
|
@@ -32,17 +32,18 @@ export * from './dialog';
|
|
|
32
32
|
export * from './modal';
|
|
33
33
|
export * from './loading-spinner';
|
|
34
34
|
export * from './tabs';
|
|
35
|
-
export * from './
|
|
35
|
+
export * from './segmented-control';
|
|
36
36
|
export * from './popover';
|
|
37
37
|
export * from './progress-bar';
|
|
38
|
-
export * from './table-deprecated';
|
|
39
38
|
export * from './table';
|
|
40
|
-
export * from './
|
|
39
|
+
export * from './dropzone';
|
|
40
|
+
export * from './data-grid';
|
|
41
41
|
export * from './text-input';
|
|
42
42
|
export * from './textarea';
|
|
43
43
|
export * from './text-link';
|
|
44
44
|
export * from './dropdown';
|
|
45
45
|
export * from './tag';
|
|
46
|
+
export * from './theme';
|
|
46
47
|
export * from './widget';
|
|
47
48
|
export * from './wizard';
|
|
48
49
|
export * from './graph-label';
|
|
@@ -18,18 +18,25 @@
|
|
|
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 { type ElementBase } from '../helpers';
|
|
21
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
23
22
|
export declare enum ModalCloseReason {
|
|
24
23
|
BACKDROP_CLICK = "backdropClick",
|
|
25
24
|
ESCAPE_KEY_DOWN = "escapeKeyDown"
|
|
26
25
|
}
|
|
27
|
-
export interface ModalProps
|
|
26
|
+
export interface ModalProps {
|
|
28
27
|
open: boolean;
|
|
29
28
|
children: React.ReactNode;
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
/**
|
|
30
|
+
* We provide convenient default sizes for the modal,
|
|
31
|
+
* but you can also set your own size, when providing
|
|
32
|
+
* `unset` to the `size` prop.
|
|
33
|
+
*/
|
|
34
|
+
size?: 'small' | 'medium' | 'large' | 'unset';
|
|
32
35
|
container?: Element;
|
|
33
36
|
onClose?: (e: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: ModalCloseReason) => void;
|
|
37
|
+
/** Forwards the props to the modal container's wrapper - use with caution */
|
|
38
|
+
rootProps?: ComponentPropsWithoutRef<'div'>;
|
|
39
|
+
/** Forwards the props to the modal container */
|
|
40
|
+
modalProps?: ComponentPropsWithoutRef<'div'>;
|
|
34
41
|
}
|
|
35
|
-
export declare const Modal:
|
|
42
|
+
export declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -18,19 +18,20 @@
|
|
|
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 React, { type ComponentProps } from 'react';
|
|
22
|
+
import FocusLock from 'react-focus-lock';
|
|
22
23
|
/**
|
|
23
24
|
* A modified version of the Material UI (@mui/material) Popover component.
|
|
24
25
|
* We use a modified/slimmed version for easier maintenance.
|
|
25
26
|
*
|
|
26
27
|
* See the LICENSES.txt file for license for @mui/material
|
|
27
28
|
*/
|
|
28
|
-
|
|
29
|
+
type ElementBase = Omit<React.HTMLProps<HTMLElement>, 'as' | 'size'> & {
|
|
29
30
|
/** Override the root element rendered for the component */
|
|
30
31
|
as?: string | React.ComponentType<any>;
|
|
31
32
|
};
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
type Vertical = 'top' | 'bottom';
|
|
34
|
+
type Horizontal = 'left' | 'right' | 'center';
|
|
34
35
|
export interface PopoverProps extends ElementBase {
|
|
35
36
|
open: boolean;
|
|
36
37
|
children: React.ReactNode | string;
|
|
@@ -70,7 +71,7 @@ export interface PopoverProps extends ElementBase {
|
|
|
70
71
|
onClose?: (e: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
71
72
|
/** Additional classes */
|
|
72
73
|
className?: string;
|
|
73
|
-
/** Whether
|
|
74
|
+
/** Whether the menu is nested. IE is this menu a sub menu */
|
|
74
75
|
nested?: boolean;
|
|
75
76
|
/** Disable backdrop - Allows event capturing - and pointer events to pass to elements below */
|
|
76
77
|
disableBackdrop?: boolean;
|
|
@@ -78,6 +79,11 @@ export interface PopoverProps extends ElementBase {
|
|
|
78
79
|
anchorPortal?: boolean;
|
|
79
80
|
/** If the popover should constrain the focus inside the popover while open */
|
|
80
81
|
captureFocus?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Props to pass to the FocusLock component
|
|
84
|
+
* @see https://github.com/theKashey/react-focus-lock
|
|
85
|
+
*/
|
|
86
|
+
focusLockProps?: ComponentProps<typeof FocusLock>;
|
|
81
87
|
}
|
|
82
88
|
export declare const Popover: React.ForwardRefExoticComponent<Omit<PopoverProps, "ref"> & React.RefAttributes<unknown>>;
|
|
83
89
|
export {};
|