@neo4j-ndl/react 0.17.0 → 1.0.0-alpha-093fe38
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 +14 -6
- package/lib/cjs/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
- package/lib/cjs/alert/Alert.js +16 -16
- package/lib/cjs/alert/Alert.js.map +1 -1
- package/lib/cjs/alert/index.js +14 -6
- package/lib/cjs/alert/index.js.map +1 -1
- package/lib/cjs/button/Button.js +11 -6
- package/lib/cjs/button/Button.js.map +1 -1
- package/lib/cjs/button/IconButton.js +12 -8
- package/lib/cjs/button/IconButton.js.map +1 -1
- package/lib/cjs/button/IconButtonArray.js +2 -2
- package/lib/cjs/button/IconButtonArray.js.map +1 -1
- package/lib/cjs/code-block/CodeBlock.js +13 -9
- package/lib/cjs/code-block/CodeBlock.js.map +1 -1
- package/lib/cjs/context-menu/ContextMenu.js +19 -12
- package/lib/cjs/context-menu/ContextMenu.js.map +1 -1
- package/lib/cjs/dialog/Dialog.js +9 -9
- package/lib/cjs/dialog/Dialog.js.map +1 -1
- package/lib/cjs/drag-and-drop/DragAndDrop.js +5 -5
- package/lib/cjs/drag-and-drop/DragAndDrop.js.map +1 -1
- package/lib/cjs/dropdown/Dropdown.js +15 -13
- package/lib/cjs/dropdown/Dropdown.js.map +1 -1
- package/lib/cjs/dropdown/Overrides.js +15 -6
- package/lib/cjs/dropdown/Overrides.js.map +1 -1
- package/lib/cjs/graph-label/GraphLabel.js +18 -14
- package/lib/cjs/graph-label/GraphLabel.js.map +1 -1
- package/lib/cjs/graph-label/color.js +6 -6
- package/lib/cjs/graph-label/color.js.map +1 -1
- package/lib/cjs/icons/{custom → generated/custom}/Circle.js +0 -0
- package/lib/cjs/icons/generated/custom/Circle.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/CollapseExpand.js +0 -0
- package/lib/cjs/icons/generated/custom/CollapseExpand.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/CollapseExpandLeft.js +0 -0
- package/lib/cjs/icons/generated/custom/CollapseExpandLeft.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/CollapseExpandRight.js +0 -0
- package/lib/cjs/icons/generated/custom/CollapseExpandRight.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Configure.js +0 -0
- package/lib/cjs/icons/generated/custom/Configure.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/DatabaseAddCircle.js +0 -0
- package/lib/cjs/icons/generated/custom/DatabaseAddCircle.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Dbms.js +0 -0
- package/lib/cjs/icons/generated/custom/Dbms.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Drag.js +0 -0
- package/lib/cjs/icons/generated/custom/Drag.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Expand.js +0 -0
- package/lib/cjs/icons/generated/custom/Expand.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/ExternalLink.js +0 -0
- package/lib/cjs/icons/generated/custom/ExternalLink.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/FitToScreen.js +0 -0
- package/lib/cjs/icons/generated/custom/FitToScreen.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/FolderBookmark.js +0 -0
- package/lib/cjs/icons/generated/custom/FolderBookmark.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Heirarchy2.js +0 -0
- package/lib/cjs/icons/generated/custom/Heirarchy2.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Hierarchy1.js +0 -0
- package/lib/cjs/icons/generated/custom/Hierarchy1.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Hierarchy2.js +0 -0
- package/lib/cjs/icons/generated/custom/Hierarchy2.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/NomLevel.js +0 -0
- package/lib/cjs/icons/generated/custom/NomLevel.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Pin.js +0 -0
- package/lib/cjs/icons/generated/custom/Pin.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Presentation.js +0 -0
- package/lib/cjs/icons/generated/custom/Presentation.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/QueryBrowser.js +0 -0
- package/lib/cjs/icons/generated/custom/QueryBrowser.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Rhombus.js +0 -0
- package/lib/cjs/icons/generated/custom/Rhombus.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/ScienceMolecule.js +0 -0
- package/lib/cjs/icons/generated/custom/ScienceMolecule.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Shrink.js +0 -0
- package/lib/cjs/icons/generated/custom/Shrink.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Status.js +0 -0
- package/lib/cjs/icons/generated/custom/Status.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Text.js +0 -0
- package/lib/cjs/icons/generated/custom/Text.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/Triangle.js +0 -0
- package/lib/cjs/icons/generated/custom/Triangle.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/VisualizeBloom.js +0 -0
- package/lib/cjs/icons/generated/custom/VisualizeBloom.js.map +1 -0
- package/lib/cjs/icons/{custom → generated/custom}/index.js +0 -0
- package/lib/cjs/icons/generated/custom/index.js.map +1 -0
- package/lib/cjs/icons/generated/heroIcons.js +1206 -0
- package/lib/cjs/icons/generated/heroIcons.js.map +1 -0
- package/lib/cjs/icons/index.js +15 -7
- package/lib/cjs/icons/index.js.map +1 -1
- package/lib/cjs/index.js +7 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/label/Label.js +16 -11
- package/lib/cjs/label/Label.js.map +1 -1
- package/lib/cjs/loading-spinner/LoadingSpinner.js +6 -2
- package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/cjs/modal/Modal.js +5 -1
- package/lib/cjs/modal/Modal.js.map +1 -1
- package/lib/cjs/popover/Popover.js +3 -3
- package/lib/cjs/popover/Popover.js.map +1 -1
- package/lib/cjs/portal/Portal.js +2 -25
- package/lib/cjs/portal/Portal.js.map +1 -1
- package/lib/cjs/progress-bar/ProgressBar.js +5 -2
- package/lib/cjs/progress-bar/ProgressBar.js.map +1 -1
- package/lib/cjs/side-navigation/SideNavigation.js +4 -4
- package/lib/cjs/side-navigation/SideNavigation.js.map +1 -1
- package/lib/cjs/table/Components.js +203 -0
- package/lib/cjs/table/Components.js.map +1 -0
- package/lib/cjs/table/Table.js +45 -117
- package/lib/cjs/table/Table.js.map +1 -1
- package/lib/cjs/table/TableContext.js +34 -0
- package/lib/cjs/table/TableContext.js.map +1 -0
- package/lib/cjs/table/helpers.js +28 -70
- package/lib/cjs/table/helpers.js.map +1 -1
- package/lib/cjs/table/index.js +14 -4
- package/lib/cjs/table/index.js.map +1 -1
- package/lib/cjs/table-deprecated/Table.js +157 -0
- package/lib/cjs/table-deprecated/Table.js.map +1 -0
- package/lib/cjs/{table → table-deprecated}/TableNavigation.js +3 -3
- package/lib/cjs/table-deprecated/TableNavigation.js.map +1 -0
- package/lib/cjs/table-deprecated/helpers.js +123 -0
- package/lib/cjs/table-deprecated/helpers.js.map +1 -0
- package/lib/cjs/{table → table-deprecated}/hooks/hookCallbackTypes.js +0 -0
- package/lib/cjs/table-deprecated/hooks/hookCallbackTypes.js.map +1 -0
- package/lib/cjs/{table → table-deprecated}/hooks/index.js +0 -0
- package/lib/cjs/table-deprecated/hooks/index.js.map +1 -0
- package/lib/cjs/{table → table-deprecated}/hooks/useMultiRowSelect.js +0 -0
- package/lib/cjs/table-deprecated/hooks/useMultiRowSelect.js.map +1 -0
- package/lib/cjs/{table → table-deprecated}/hooks/useSingleRowSelect.js +0 -0
- package/lib/cjs/table-deprecated/hooks/useSingleRowSelect.js.map +1 -0
- package/lib/cjs/table-deprecated/index.js +44 -0
- package/lib/cjs/table-deprecated/index.js.map +1 -0
- package/lib/cjs/tabs/Tabs.js +7 -7
- package/lib/cjs/tabs/Tabs.js.map +1 -1
- package/lib/cjs/tag/Tag.js +8 -5
- package/lib/cjs/tag/Tag.js.map +1 -1
- package/lib/cjs/tag/index.js +14 -5
- package/lib/cjs/tag/index.js.map +1 -1
- package/lib/cjs/text-input/TextInput.js +11 -10
- package/lib/cjs/text-input/TextInput.js.map +1 -1
- package/lib/cjs/tooltip/SmartTooltip.js +114 -0
- package/lib/cjs/tooltip/SmartTooltip.js.map +1 -0
- package/lib/cjs/tooltip/Tooltip.js +10 -2
- package/lib/cjs/tooltip/Tooltip.js.map +1 -1
- package/lib/cjs/tooltip/index.js +3 -1
- package/lib/cjs/tooltip/index.js.map +1 -1
- package/lib/cjs/typography/Typography.js +58 -0
- package/lib/cjs/typography/Typography.js.map +1 -0
- package/lib/cjs/typography/index.js +38 -0
- package/lib/cjs/typography/index.js.map +1 -0
- package/lib/cjs/typography/types.js +52 -0
- package/lib/cjs/typography/types.js.map +1 -0
- package/lib/cjs/view-selector/ViewSelector.js +8 -3
- package/lib/cjs/view-selector/ViewSelector.js.map +1 -1
- package/lib/cjs/wizard/Wizard.js +20 -2
- package/lib/cjs/wizard/Wizard.js.map +1 -1
- package/lib/esm/_common/input/RadioAndCheckboxWrapper.js +13 -6
- package/lib/esm/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
- package/lib/esm/alert/Alert.js +15 -15
- package/lib/esm/alert/Alert.js.map +1 -1
- package/lib/esm/alert/index.js +1 -1
- package/lib/esm/alert/index.js.map +1 -1
- package/lib/esm/button/Button.js +11 -6
- package/lib/esm/button/Button.js.map +1 -1
- package/lib/esm/button/IconButton.js +12 -8
- package/lib/esm/button/IconButton.js.map +1 -1
- package/lib/esm/button/IconButtonArray.js +2 -2
- package/lib/esm/button/IconButtonArray.js.map +1 -1
- package/lib/esm/code-block/CodeBlock.js +11 -7
- package/lib/esm/code-block/CodeBlock.js.map +1 -1
- package/lib/esm/context-menu/ContextMenu.js +19 -12
- package/lib/esm/context-menu/ContextMenu.js.map +1 -1
- package/lib/esm/dialog/Dialog.js +10 -10
- package/lib/esm/dialog/Dialog.js.map +1 -1
- package/lib/esm/drag-and-drop/DragAndDrop.js +5 -5
- package/lib/esm/drag-and-drop/DragAndDrop.js.map +1 -1
- package/lib/esm/dropdown/Dropdown.js +6 -4
- package/lib/esm/dropdown/Dropdown.js.map +1 -1
- package/lib/esm/dropdown/Overrides.js +13 -7
- package/lib/esm/dropdown/Overrides.js.map +1 -1
- package/lib/esm/graph-label/GraphLabel.js +12 -8
- package/lib/esm/graph-label/GraphLabel.js.map +1 -1
- package/lib/esm/graph-label/color.js +1 -1
- package/lib/esm/graph-label/color.js.map +1 -1
- package/lib/esm/icons/{custom → generated/custom}/Circle.js +0 -0
- package/lib/esm/icons/generated/custom/Circle.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/CollapseExpand.js +0 -0
- package/lib/esm/icons/generated/custom/CollapseExpand.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/CollapseExpandLeft.js +0 -0
- package/lib/esm/icons/generated/custom/CollapseExpandLeft.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/CollapseExpandRight.js +0 -0
- package/lib/esm/icons/generated/custom/CollapseExpandRight.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Configure.js +0 -0
- package/lib/esm/icons/generated/custom/Configure.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/DatabaseAddCircle.js +0 -0
- package/lib/esm/icons/generated/custom/DatabaseAddCircle.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Dbms.js +0 -0
- package/lib/esm/icons/generated/custom/Dbms.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Drag.js +0 -0
- package/lib/esm/icons/generated/custom/Drag.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Expand.js +0 -0
- package/lib/esm/icons/generated/custom/Expand.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/ExternalLink.js +0 -0
- package/lib/esm/icons/generated/custom/ExternalLink.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/FitToScreen.js +0 -0
- package/lib/esm/icons/generated/custom/FitToScreen.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/FolderBookmark.js +0 -0
- package/lib/esm/icons/generated/custom/FolderBookmark.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Heirarchy2.js +0 -0
- package/lib/esm/icons/generated/custom/Heirarchy2.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Hierarchy1.js +0 -0
- package/lib/esm/icons/generated/custom/Hierarchy1.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Hierarchy2.js +0 -0
- package/lib/esm/icons/generated/custom/Hierarchy2.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/NomLevel.js +0 -0
- package/lib/esm/icons/generated/custom/NomLevel.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Pin.js +0 -0
- package/lib/esm/icons/generated/custom/Pin.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Presentation.js +0 -0
- package/lib/esm/icons/generated/custom/Presentation.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/QueryBrowser.js +0 -0
- package/lib/esm/icons/generated/custom/QueryBrowser.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Rhombus.js +0 -0
- package/lib/esm/icons/generated/custom/Rhombus.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/ScienceMolecule.js +0 -0
- package/lib/esm/icons/generated/custom/ScienceMolecule.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Shrink.js +0 -0
- package/lib/esm/icons/generated/custom/Shrink.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Status.js +0 -0
- package/lib/esm/icons/generated/custom/Status.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Text.js +0 -0
- package/lib/esm/icons/generated/custom/Text.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/Triangle.js +0 -0
- package/lib/esm/icons/generated/custom/Triangle.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/VisualizeBloom.js +0 -0
- package/lib/esm/icons/generated/custom/VisualizeBloom.js.map +1 -0
- package/lib/esm/icons/{custom → generated/custom}/index.js +0 -0
- package/lib/esm/icons/generated/custom/index.js.map +1 -0
- package/lib/esm/icons/generated/heroIcons.js +605 -0
- package/lib/esm/icons/generated/heroIcons.js.map +1 -0
- package/lib/esm/icons/index.js +2 -2
- package/lib/esm/icons/index.js.map +1 -1
- package/lib/esm/index.js +7 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/label/Label.js +13 -8
- package/lib/esm/label/Label.js.map +1 -1
- package/lib/esm/loading-spinner/LoadingSpinner.js +6 -2
- package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/esm/modal/Modal.js +5 -1
- package/lib/esm/modal/Modal.js.map +1 -1
- package/lib/esm/popover/Popover.js +3 -3
- package/lib/esm/popover/Popover.js.map +1 -1
- package/lib/esm/portal/Portal.js +2 -2
- package/lib/esm/portal/Portal.js.map +1 -1
- package/lib/esm/progress-bar/ProgressBar.js +5 -2
- package/lib/esm/progress-bar/ProgressBar.js.map +1 -1
- package/lib/esm/side-navigation/SideNavigation.js +6 -6
- package/lib/esm/side-navigation/SideNavigation.js.map +1 -1
- package/lib/esm/table/Components.js +181 -0
- package/lib/esm/table/Components.js.map +1 -0
- package/lib/esm/table/Table.js +45 -116
- package/lib/esm/table/Table.js.map +1 -1
- package/lib/esm/table/TableContext.js +30 -0
- package/lib/esm/table/TableContext.js.map +1 -0
- package/lib/esm/table/helpers.js +25 -65
- package/lib/esm/table/helpers.js.map +1 -1
- package/lib/esm/table/index.js +2 -2
- package/lib/esm/table/index.js.map +1 -1
- package/lib/esm/table-deprecated/Table.js +150 -0
- package/lib/esm/table-deprecated/Table.js.map +1 -0
- package/lib/esm/{table → table-deprecated}/TableNavigation.js +4 -4
- package/lib/esm/table-deprecated/TableNavigation.js.map +1 -0
- package/lib/esm/table-deprecated/helpers.js +116 -0
- package/lib/esm/table-deprecated/helpers.js.map +1 -0
- package/lib/esm/{table → table-deprecated}/hooks/hookCallbackTypes.js +0 -0
- package/lib/esm/table-deprecated/hooks/hookCallbackTypes.js.map +1 -0
- package/lib/esm/{table → table-deprecated}/hooks/index.js +0 -0
- package/lib/esm/table-deprecated/hooks/index.js.map +1 -0
- package/lib/esm/{table → table-deprecated}/hooks/useMultiRowSelect.js +0 -0
- package/lib/esm/table-deprecated/hooks/useMultiRowSelect.js.map +1 -0
- package/lib/esm/{table → table-deprecated}/hooks/useSingleRowSelect.js +0 -0
- package/lib/esm/table-deprecated/hooks/useSingleRowSelect.js.map +1 -0
- package/lib/esm/table-deprecated/index.js +23 -0
- package/lib/esm/table-deprecated/index.js.map +1 -0
- package/lib/esm/tabs/Tabs.js +7 -7
- package/lib/esm/tabs/Tabs.js.map +1 -1
- package/lib/esm/tag/Tag.js +7 -5
- package/lib/esm/tag/Tag.js.map +1 -1
- package/lib/esm/tag/index.js +1 -1
- package/lib/esm/tag/index.js.map +1 -1
- package/lib/esm/text-input/TextInput.js +12 -11
- package/lib/esm/text-input/TextInput.js.map +1 -1
- package/lib/esm/tooltip/SmartTooltip.js +86 -0
- package/lib/esm/tooltip/SmartTooltip.js.map +1 -0
- package/lib/esm/tooltip/Tooltip.js +10 -2
- package/lib/esm/tooltip/Tooltip.js.map +1 -1
- package/lib/esm/tooltip/index.js +1 -0
- package/lib/esm/tooltip/index.js.map +1 -1
- package/lib/esm/{icons/Custom.js → typography/Typography.js} +20 -10
- package/lib/esm/typography/Typography.js.map +1 -0
- package/lib/esm/typography/index.js +22 -0
- package/lib/esm/typography/index.js.map +1 -0
- package/lib/esm/typography/types.js +49 -0
- package/lib/esm/typography/types.js.map +1 -0
- package/lib/esm/view-selector/ViewSelector.js +8 -3
- package/lib/esm/view-selector/ViewSelector.js.map +1 -1
- package/lib/esm/wizard/Wizard.js +24 -6
- package/lib/esm/wizard/Wizard.js.map +1 -1
- package/lib/types/_common/input/RadioAndCheckboxWrapper.d.ts +12 -2
- package/lib/types/_common/input/types.d.ts +1 -1
- package/lib/types/alert/Alert.d.ts +3 -2
- package/lib/types/alert/index.d.ts +1 -1
- package/lib/types/button/Button.d.ts +1 -3
- package/lib/types/button/IconButton.d.ts +2 -0
- package/lib/types/checkbox/Checkbox.d.ts +1 -1
- package/lib/types/context-menu/ContextMenu.d.ts +11 -12
- package/lib/types/dropdown/Overrides.d.ts +0 -21
- package/lib/types/dropdown/types.d.ts +0 -1
- package/lib/types/icons/{custom → generated/custom}/Circle.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/CollapseExpand.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/CollapseExpandLeft.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/CollapseExpandRight.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Configure.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/DatabaseAddCircle.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Dbms.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Drag.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Expand.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/ExternalLink.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/FitToScreen.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/FolderBookmark.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Heirarchy2.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Hierarchy1.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Hierarchy2.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/NomLevel.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Pin.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Presentation.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/QueryBrowser.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Rhombus.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/ScienceMolecule.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Shrink.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Status.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Text.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/Triangle.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/VisualizeBloom.d.ts +0 -0
- package/lib/types/icons/{custom → generated/custom}/index.d.ts +0 -0
- package/lib/types/icons/generated/heroIcons.d.ts +604 -0
- package/lib/types/icons/index.d.ts +2 -2
- package/lib/types/index.d.ts +3 -1
- package/lib/types/label/Label.d.ts +3 -2
- package/lib/types/popover/Popover.d.ts +1 -1
- package/lib/types/portal/Portal.d.ts +1 -1
- package/lib/types/progress-bar/ProgressBar.d.ts +1 -1
- package/lib/types/radio/Radio.d.ts +1 -1
- package/lib/types/switch/Switch.d.ts +1 -1
- package/lib/types/table/Components.d.ts +54 -0
- package/lib/types/table/Table.d.ts +28 -49
- package/lib/types/table/TableContext.d.ts +61 -0
- package/lib/types/table/helpers.d.ts +9 -21
- package/lib/types/table/index.d.ts +2 -2
- package/lib/types/table-deprecated/Table.d.ts +75 -0
- package/lib/types/{table → table-deprecated}/TableNavigation.d.ts +0 -1
- package/lib/types/table-deprecated/helpers.d.ts +51 -0
- package/lib/types/{table → table-deprecated}/hooks/hookCallbackTypes.d.ts +0 -0
- package/lib/types/{table → table-deprecated}/hooks/index.d.ts +0 -0
- package/lib/types/{table → table-deprecated}/hooks/useMultiRowSelect.d.ts +0 -0
- package/lib/types/{table → table-deprecated}/hooks/useSingleRowSelect.d.ts +0 -0
- package/lib/types/table-deprecated/index.d.ts +22 -0
- package/lib/types/tag/Tag.d.ts +4 -4
- package/lib/types/tag/index.d.ts +1 -1
- package/lib/types/text-input/TextInput.d.ts +1 -1
- package/lib/types/text-link/TextLink.d.ts +1 -1
- package/lib/types/tooltip/SmartTooltip.d.ts +31 -0
- package/lib/types/tooltip/Tooltip.d.ts +1 -1
- package/lib/types/tooltip/index.d.ts +1 -0
- package/lib/types/trap-focus/TrapFocus.d.ts +0 -1
- package/lib/types/{icons/Custom.d.ts → typography/Typography.d.ts} +5 -7
- package/lib/types/typography/index.d.ts +21 -0
- package/lib/types/typography/types.d.ts +34 -0
- package/lib/types/wizard/Wizard.d.ts +0 -1
- package/package.json +22 -9
- package/CHANGELOG.md +0 -557
- package/lib/cjs/icons/Custom.js +0 -67
- package/lib/cjs/icons/Custom.js.map +0 -1
- package/lib/cjs/icons/Hero.js +0 -59
- package/lib/cjs/icons/Hero.js.map +0 -1
- package/lib/cjs/icons/custom/Circle.js.map +0 -1
- package/lib/cjs/icons/custom/CollapseExpand.js.map +0 -1
- package/lib/cjs/icons/custom/CollapseExpandLeft.js.map +0 -1
- package/lib/cjs/icons/custom/CollapseExpandRight.js.map +0 -1
- package/lib/cjs/icons/custom/Configure.js.map +0 -1
- package/lib/cjs/icons/custom/DatabaseAddCircle.js.map +0 -1
- package/lib/cjs/icons/custom/Dbms.js.map +0 -1
- package/lib/cjs/icons/custom/Drag.js.map +0 -1
- package/lib/cjs/icons/custom/Expand.js.map +0 -1
- package/lib/cjs/icons/custom/ExternalLink.js.map +0 -1
- package/lib/cjs/icons/custom/FitToScreen.js.map +0 -1
- package/lib/cjs/icons/custom/FolderBookmark.js.map +0 -1
- package/lib/cjs/icons/custom/Heirarchy2.js.map +0 -1
- package/lib/cjs/icons/custom/Hierarchy1.js.map +0 -1
- package/lib/cjs/icons/custom/Hierarchy2.js.map +0 -1
- package/lib/cjs/icons/custom/NomLevel.js.map +0 -1
- package/lib/cjs/icons/custom/Pin.js.map +0 -1
- package/lib/cjs/icons/custom/Presentation.js.map +0 -1
- package/lib/cjs/icons/custom/QueryBrowser.js.map +0 -1
- package/lib/cjs/icons/custom/Rhombus.js.map +0 -1
- package/lib/cjs/icons/custom/ScienceMolecule.js.map +0 -1
- package/lib/cjs/icons/custom/Shrink.js.map +0 -1
- package/lib/cjs/icons/custom/Status.js.map +0 -1
- package/lib/cjs/icons/custom/Text.js.map +0 -1
- package/lib/cjs/icons/custom/Triangle.js.map +0 -1
- package/lib/cjs/icons/custom/VisualizeBloom.js.map +0 -1
- package/lib/cjs/icons/custom/index.js.map +0 -1
- package/lib/cjs/table/TableNavigation.js.map +0 -1
- package/lib/cjs/table/hooks/hookCallbackTypes.js.map +0 -1
- package/lib/cjs/table/hooks/index.js.map +0 -1
- package/lib/cjs/table/hooks/useMultiRowSelect.js.map +0 -1
- package/lib/cjs/table/hooks/useSingleRowSelect.js.map +0 -1
- package/lib/esm/icons/Custom.js.map +0 -1
- package/lib/esm/icons/Hero.js +0 -33
- package/lib/esm/icons/Hero.js.map +0 -1
- package/lib/esm/icons/custom/Circle.js.map +0 -1
- package/lib/esm/icons/custom/CollapseExpand.js.map +0 -1
- package/lib/esm/icons/custom/CollapseExpandLeft.js.map +0 -1
- package/lib/esm/icons/custom/CollapseExpandRight.js.map +0 -1
- package/lib/esm/icons/custom/Configure.js.map +0 -1
- package/lib/esm/icons/custom/DatabaseAddCircle.js.map +0 -1
- package/lib/esm/icons/custom/Dbms.js.map +0 -1
- package/lib/esm/icons/custom/Drag.js.map +0 -1
- package/lib/esm/icons/custom/Expand.js.map +0 -1
- package/lib/esm/icons/custom/ExternalLink.js.map +0 -1
- package/lib/esm/icons/custom/FitToScreen.js.map +0 -1
- package/lib/esm/icons/custom/FolderBookmark.js.map +0 -1
- package/lib/esm/icons/custom/Heirarchy2.js.map +0 -1
- package/lib/esm/icons/custom/Hierarchy1.js.map +0 -1
- package/lib/esm/icons/custom/Hierarchy2.js.map +0 -1
- package/lib/esm/icons/custom/NomLevel.js.map +0 -1
- package/lib/esm/icons/custom/Pin.js.map +0 -1
- package/lib/esm/icons/custom/Presentation.js.map +0 -1
- package/lib/esm/icons/custom/QueryBrowser.js.map +0 -1
- package/lib/esm/icons/custom/Rhombus.js.map +0 -1
- package/lib/esm/icons/custom/ScienceMolecule.js.map +0 -1
- package/lib/esm/icons/custom/Shrink.js.map +0 -1
- package/lib/esm/icons/custom/Status.js.map +0 -1
- package/lib/esm/icons/custom/Text.js.map +0 -1
- package/lib/esm/icons/custom/Triangle.js.map +0 -1
- package/lib/esm/icons/custom/VisualizeBloom.js.map +0 -1
- package/lib/esm/icons/custom/index.js.map +0 -1
- package/lib/esm/table/TableNavigation.js.map +0 -1
- package/lib/esm/table/hooks/hookCallbackTypes.js.map +0 -1
- package/lib/esm/table/hooks/index.js.map +0 -1
- package/lib/esm/table/hooks/useMultiRowSelect.js.map +0 -1
- package/lib/esm/table/hooks/useSingleRowSelect.js.map +0 -1
- package/lib/types/icons/Hero.d.ts +0 -28
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
22
|
+
import { TableResizerProps } from 'react-table';
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* React Table helper to display sorting icon
|
|
26
|
+
* Source:
|
|
27
|
+
* https://react-table.tanstack.com/docs/api/useSortBy#column-properties
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare const SortIcon: ({ isSortedDesc, ...props }: {
|
|
31
|
+
isSortedDesc: boolean | undefined;
|
|
32
|
+
}) => JSX.Element;
|
|
33
|
+
export declare const ResizingBar: import("react").NamedExoticComponent<TableResizerProps>;
|
|
34
|
+
/**
|
|
35
|
+
* The left section of the bottom navigation
|
|
36
|
+
* that is showing the current page and how many results we can see
|
|
37
|
+
*/
|
|
38
|
+
export declare const TableResults: ({ pageIndex, pageLength, rowsLength, }: Record<'pageIndex' | 'pageLength' | 'rowsLength', number>) => JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* Modified from here: https://gist.github.com/kottenator/9d936eb3e4e3c3e02598
|
|
41
|
+
*
|
|
42
|
+
* @param current Current Index
|
|
43
|
+
* @param max Max Index
|
|
44
|
+
* @returns
|
|
45
|
+
*/
|
|
46
|
+
export declare const userFriendlyPagination: (current: number, max: number) => (string | number)[];
|
|
47
|
+
/**
|
|
48
|
+
* Small helper to get handle the Checkbox
|
|
49
|
+
* functionality in tables
|
|
50
|
+
*/
|
|
51
|
+
export declare const toggleRowSelection: (list: number[], idx: number) => number[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
export { default as TableDepr } from './Table';
|
|
22
|
+
export * from './hooks';
|
package/lib/types/tag/Tag.d.ts
CHANGED
|
@@ -27,18 +27,18 @@ import { ElementBase } from '../helpers';
|
|
|
27
27
|
*
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
|
-
interface CommonTagProps extends ElementBase {
|
|
30
|
+
export interface CommonTagProps extends ElementBase {
|
|
31
31
|
children: string | React.ReactNode;
|
|
32
32
|
/** Type of the tag */
|
|
33
33
|
type?: 'destructive' | 'default';
|
|
34
34
|
}
|
|
35
|
-
interface RemoveableTagProps extends CommonTagProps {
|
|
35
|
+
export interface RemoveableTagProps extends CommonTagProps {
|
|
36
36
|
/** Adds a "x" icon is set to true */
|
|
37
37
|
removeable: true;
|
|
38
38
|
/** Handler when remove icon is clicked. Required if `removeable` is true */
|
|
39
39
|
onRemove: (e: React.KeyboardEvent<HTMLElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
40
40
|
}
|
|
41
|
-
interface NonRemovableTagProps extends CommonTagProps {
|
|
41
|
+
export interface NonRemovableTagProps extends CommonTagProps {
|
|
42
42
|
removeable?: false;
|
|
43
43
|
onRemove?: never;
|
|
44
44
|
}
|
|
@@ -58,5 +58,5 @@ export declare type TagProps = RemoveableTagProps | NonRemovableTagProps;
|
|
|
58
58
|
*
|
|
59
59
|
*
|
|
60
60
|
*/
|
|
61
|
-
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLDivElement>>;
|
|
62
62
|
export default Tag;
|
package/lib/types/tag/index.d.ts
CHANGED
|
@@ -51,5 +51,5 @@ export interface TextInputProperties extends CommonInputProps {
|
|
|
51
51
|
*
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
|
-
declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProperties, "size" | "className" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "list" | "children" | "role" | "onChange" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "placeholder" | "readOnly" | "required" | "src" | "step" | "type" | "value" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "enterKeyHint" | "fluid" | "helpText" | "errorText" | "leftIcon" | "rightIcon" | "containerSize"> & React.RefAttributes<HTMLInputElement>>;
|
|
54
|
+
declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProperties, "size" | "className" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "list" | "children" | "role" | "onChange" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "placeholder" | "readOnly" | "required" | "src" | "step" | "type" | "value" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "enterKeyHint" | "fluid" | "helpText" | "errorText" | "leftIcon" | "rightIcon" | "containerSize"> & React.RefAttributes<HTMLInputElement>>;
|
|
55
55
|
export default TextInput;
|
|
@@ -23,7 +23,7 @@ import { ElementBase } from '../helpers';
|
|
|
23
23
|
export interface TextLinkProps extends ElementBase<HTMLAnchorElement> {
|
|
24
24
|
/** The text of the link. */
|
|
25
25
|
children: React.ReactNode;
|
|
26
|
-
/** The
|
|
26
|
+
/** The hypertext reference. */
|
|
27
27
|
href?: string;
|
|
28
28
|
/**
|
|
29
29
|
* Adds an external-icon and sets the `target` to `"_blank"`.
|
|
@@ -0,0 +1,31 @@
|
|
|
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 React from 'react';
|
|
22
|
+
import type { Side } from '@floating-ui/core/src/types';
|
|
23
|
+
import { TooltipProps } from './Tooltip';
|
|
24
|
+
export interface SmartTooltipProps extends Omit<TooltipProps, 'arrowPosition'> {
|
|
25
|
+
/** Allowed places of the tooltip */
|
|
26
|
+
allowedPlacements?: Side[];
|
|
27
|
+
/** If you want controlled open/close behavior pass an open prop */
|
|
28
|
+
open?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare const SmartTooltip: React.ForwardRefExoticComponent<Pick<SmartTooltipProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "allowedPlacements"> & React.RefAttributes<unknown>>;
|
|
31
|
+
export default SmartTooltip;
|
|
@@ -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<Pick<TooltipProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "
|
|
28
|
+
declare const Tooltip: React.ForwardRefExoticComponent<Pick<TooltipProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "arrowPosition"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
export default Tooltip;
|
|
@@ -18,10 +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
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} & React.SVGProps<SVGSVGElement> & React.RefAttributes<SVGSVGElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
27
|
-
export default CustomIcon;
|
|
21
|
+
import { AsType, ConditionalTypography } from './types';
|
|
22
|
+
export declare const Typography: <TVar extends "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "label" | "subheading-large" | "subheading-medium" | "subheading-small" | "body-large" | "body-medium" | "body-small", TAs extends AsType = undefined>(props: {
|
|
23
|
+
as?: TAs | undefined;
|
|
24
|
+
variant: TVar;
|
|
25
|
+
} & ConditionalTypography<TAs, TVar>) => JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
export * from './Typography';
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
22
|
+
import { tokens } from '@neo4j-ndl/base';
|
|
23
|
+
export declare type TypographyVariants = keyof typeof tokens.font.size;
|
|
24
|
+
export declare const TypographyDefaultMapping: {
|
|
25
|
+
[key in TypographyVariants]: React.ElementType;
|
|
26
|
+
};
|
|
27
|
+
declare type Tags = keyof HTMLElementTagNameMap;
|
|
28
|
+
declare type VariantsDefaultType<T extends TypographyVariants> = Omit<React.ComponentPropsWithoutRef<typeof TypographyDefaultMapping[T]>, 'as'> & {
|
|
29
|
+
variant: TypographyVariants;
|
|
30
|
+
};
|
|
31
|
+
export declare type ReactComponent = (args: any) => JSX.Element;
|
|
32
|
+
export declare type AsType = undefined | Tags | React.FunctionComponent<any>;
|
|
33
|
+
export declare type ConditionalTypography<T extends AsType, V extends TypographyVariants> = T extends undefined ? VariantsDefaultType<V> : T extends Tags ? React.ComponentPropsWithoutRef<T> : T extends ReactComponent ? React.ComponentProps<T> : never;
|
|
34
|
+
export {};
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
/// <reference types="react" />
|
|
22
21
|
import { ElementBase } from '../helpers';
|
|
23
22
|
export declare const Horizontal: ({ activeStep, steps, ...props }: Omit<WizardProps, 'type'>) => JSX.Element;
|
|
24
23
|
export declare const Vertical: ({ activeStep, steps, ...props }: Omit<WizardProps, 'type'>) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"
|
|
3
|
+
"sideEffects": false,
|
|
4
|
+
"version": "1.0.0-alpha-093fe38",
|
|
4
5
|
"description": "React implementation of Neo4j Design System",
|
|
5
6
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"react"
|
|
7
|
+
"neo4j",
|
|
8
|
+
"react",
|
|
9
|
+
"design system",
|
|
10
|
+
"needle",
|
|
11
|
+
"ndl"
|
|
8
12
|
],
|
|
9
13
|
"author": "Neo4j Inc.",
|
|
10
14
|
"homepage": "",
|
|
@@ -14,7 +18,8 @@
|
|
|
14
18
|
"exports": {
|
|
15
19
|
".": {
|
|
16
20
|
"import": "./lib/esm/index.js",
|
|
17
|
-
"require": "./lib/cjs/index.js"
|
|
21
|
+
"require": "./lib/cjs/index.js",
|
|
22
|
+
"types": "./lib/types/index.d.ts"
|
|
18
23
|
}
|
|
19
24
|
},
|
|
20
25
|
"types": "./lib/types/index.d.ts",
|
|
@@ -38,7 +43,8 @@
|
|
|
38
43
|
"build:types": "tsc -p tsconfig.types.json",
|
|
39
44
|
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
|
|
40
45
|
"lint": "eslint --ext .jsx,.tsx,.js,.ts src",
|
|
41
|
-
"
|
|
46
|
+
"generate:custom-icons": "svgr --icon --typescript --no-svgo --replace-attr-values '#535B66=currentColor' --jsx-runtime 'automatic' --out-dir ./src/icons/generated/custom -- ../base/src/icons",
|
|
47
|
+
"generate:hero-icons": "ts-node ./scripts/generatedHeroIcons.ts"
|
|
42
48
|
},
|
|
43
49
|
"devDependencies": {
|
|
44
50
|
"@babel/preset-env": "^7.16.4",
|
|
@@ -46,8 +52,10 @@
|
|
|
46
52
|
"@svgr/cli": "6.5.1",
|
|
47
53
|
"@testing-library/jest-dom": "^5.15.1",
|
|
48
54
|
"@testing-library/react": "^12.1.2",
|
|
55
|
+
"@testing-library/user-event": "^14.4.3",
|
|
49
56
|
"@types/jest-axe": "^3.5.3",
|
|
50
57
|
"@types/react-dom": "^17.0.11",
|
|
58
|
+
"@types/react-syntax-highlighter": "^15.5.5",
|
|
51
59
|
"@types/react-table": "^7.7.10",
|
|
52
60
|
"@types/tinycolor2": "^1.4.3",
|
|
53
61
|
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
|
@@ -63,14 +71,19 @@
|
|
|
63
71
|
"jest-axe": "^5.0.1",
|
|
64
72
|
"react": "^17.0.2",
|
|
65
73
|
"react-select-event": "^5.5.0",
|
|
66
|
-
"ts-jest": "^27.0.7"
|
|
74
|
+
"ts-jest": "^27.0.7",
|
|
75
|
+
"ts-node": "^10.9.1",
|
|
76
|
+
"typescript": "4.8.4"
|
|
67
77
|
},
|
|
68
78
|
"peerDependencies": {
|
|
79
|
+
"@heroicons/react": "2.0.13",
|
|
69
80
|
"react": "17.x"
|
|
70
81
|
},
|
|
71
82
|
"dependencies": {
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
83
|
+
"@floating-ui/react-dom-interactions": "^0.12.0",
|
|
84
|
+
"@heroicons/react": "2.0.13",
|
|
85
|
+
"@neo4j-ndl/base": "workspace:^",
|
|
86
|
+
"@tanstack/react-table": "^8.5.22",
|
|
74
87
|
"classnames": "^2.3.1",
|
|
75
88
|
"detect-browser": "^5.3.0",
|
|
76
89
|
"react-dropzone": "^14.0.0",
|
|
@@ -80,4 +93,4 @@
|
|
|
80
93
|
"react-use": "^17.4.0",
|
|
81
94
|
"tinycolor2": "^1.4.2"
|
|
82
95
|
}
|
|
83
|
-
}
|
|
96
|
+
}
|