@equinor/echo-components 0.7.18 → 0.8.0-beta-0
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/README.md +7 -63
- package/index.esm.d.ts +1 -0
- package/index.esm.js +1 -0
- package/package.json +22 -127
- package/src/__mocks__/svgrMock.d.ts +3 -0
- package/src/__mocks__/workOrderItem.d.ts +4 -0
- package/{dist → src}/components/blackLink/BlackLink.d.ts +2 -3
- package/{dist → src}/components/buttonWithPopover/ButtonWithPopover.d.ts +1 -1
- package/{dist → src}/components/charts/lineChart/LineChart.d.ts +5 -4
- package/{dist → src}/components/copyToClipboard/CopyToClipboard.d.ts +2 -2
- package/{dist → src}/components/echoCard/EchoCard.d.ts +1 -1
- package/{dist → src}/components/echoHeader/EchoHeader.d.ts +1 -1
- package/src/components/echoTooltip/Tooltip/Tooltip.d.ts +10 -0
- package/src/components/echoTooltip/Tooltip/useTooltip.d.ts +22 -0
- package/{dist → src}/components/floatingActionButton/FloatingActionButton.d.ts +2 -2
- package/{dist → src}/components/inlineTagIconLink/InlineTagIconLink.d.ts +1 -1
- package/{dist → src}/components/legend/MainLegend.d.ts +1 -1
- package/{dist → src}/components/legend/layerLegend/LayerLegend.d.ts +1 -1
- package/{dist → src}/components/listItem/ListItem.d.ts +1 -1
- package/src/components/pcMatrix/PCMatrix.d.ts +8 -0
- package/{dist → src}/components/searchBar/common/SearchSuggestions.d.ts +1 -2
- package/{dist → src}/components/searchBar/common/SuggestionGroup.d.ts +1 -2
- package/{dist → src}/components/searchBar/floatingSearchBar/FloatingSearchBar.d.ts +2 -4
- package/{dist → src}/components/searchBar/responsiveSearchBar/ResponsiveSearchBar.d.ts +1 -3
- package/{dist → src}/components/sidebarButton/SidebarButton.d.ts +10 -1
- package/{dist → src}/components/sidesheet/sheet/Sheet.d.ts +2 -2
- package/{dist → src}/components/sidesheet/sheet/utils.d.ts +1 -1
- package/{dist → src}/components/sidesheet/sheetTopArea/SheetTopArea.d.ts +1 -9
- package/{dist → src}/components/splitView/SplitView.d.ts +3 -3
- package/{dist → src}/components/splitView/left/SplitViewLeft.d.ts +1 -1
- package/{dist → src}/components/timePicker/TimePicker.d.ts +1 -1
- package/{dist → src}/components/workOrderListItem/WorkOrderListItem.d.ts +1 -1
- package/{dist → src}/components/workOrderListItem/WorkOrderStatusLabel.d.ts +1 -2
- package/{dist → src}/icons/echoAssets/index.d.ts +0 -1
- package/{dist → src}/structure/linkCard/LinkCard.d.ts +1 -1
- package/{dist → src}/structure/optionsList/OptionsList.d.ts +1 -1
- package/LICENSE +0 -21
- package/dist/components/echoTooltip/Tooltip/Tooltip.d.ts +0 -10
- package/dist/components/echoTooltip/Tooltip/useTooltip.d.ts +0 -97
- package/dist/components/pcMatrix/PCMatrix.d.ts +0 -9
- package/dist/icons/echoAssets/badges.d.ts +0 -3
- package/dist/index.js +0 -40906
- package/dist/index.js.map +0 -1
- package/dist/setupTests.d.ts +0 -1
- package/{dist → src}/components/charts/index.d.ts +0 -0
- package/{dist → src}/components/charts/lineChart/dummy/lineChartConfig.d.ts +0 -0
- package/{dist → src}/components/charts/lineChart/dummy/rawData.d.ts +0 -0
- package/{dist → src}/components/charts/lineChart/utils.d.ts +0 -0
- package/{dist → src}/components/contextMenu/ContextMenu.d.ts +0 -0
- package/{dist → src}/components/contextMenuPopover/DataInfoButton.d.ts +0 -0
- package/{dist → src}/components/contextMenuPopover/DataInfoPopover.d.ts +0 -0
- package/{dist → src}/components/datePicker/PopupHeader.d.ts +0 -0
- package/{dist → src}/components/datePicker/ReactDatePicker.d.ts +0 -0
- package/{dist → src}/components/dialogGenerator/DialogGenerator.d.ts +0 -0
- package/{dist → src}/components/dropdown/Dropdown.d.ts +0 -0
- package/{dist → src}/components/echoBottomBar/EchoBottomBar.d.ts +0 -0
- package/{dist → src}/components/echoCard/Body.d.ts +0 -0
- package/{dist → src}/components/echoCard/DateSection.d.ts +0 -0
- package/{dist → src}/components/echoCard/LinkSection.d.ts +0 -0
- package/{dist → src}/components/echoCard/Title.d.ts +0 -0
- package/{dist → src}/components/echoCard/index.d.ts +0 -0
- package/{dist → src}/components/echoTooltip/index.d.ts +0 -0
- package/{dist → src}/components/index.d.ts +0 -0
- package/{dist → src}/components/legend/index.d.ts +0 -0
- package/{dist → src}/components/legend/layerLegend/index.d.ts +0 -0
- package/{dist → src}/components/listItem/index.d.ts +0 -0
- package/{dist → src}/components/listRow/ListRow.d.ts +0 -0
- package/{dist → src}/components/rightPanel/PanelStore.d.ts +0 -0
- package/{dist → src}/components/rightPanel/index.d.ts +0 -0
- package/{dist → src}/components/rightPanel/menuButton/MenuButton.d.ts +0 -0
- package/{dist → src}/components/rightPanel/panel/Panel.d.ts +0 -0
- package/{dist → src}/components/rightPanel/panelContent/PanelContent.d.ts +0 -0
- package/{dist → src}/components/rightPanel/panelContent/PanelContentWrapper.d.ts +0 -0
- package/{dist → src}/components/rightPanel/panelWrapper/PanelWrapper.d.ts +0 -0
- package/{dist → src}/components/searchBar/common/types.d.ts +0 -0
- package/{dist → src}/components/searchBar/index.d.ts +0 -0
- package/{dist → src}/components/sidesheet/enums.d.ts +0 -0
- package/{dist → src}/components/sidesheet/index.d.ts +1 -1
- /package/{dist → src}/components/sidesheet/sheet/index.d.ts +0 -0
- /package/{dist → src}/components/sidesheet/sheetTopArea/index.d.ts +0 -0
- /package/{dist → src}/components/splitView/index.d.ts +0 -0
- /package/{dist → src}/components/tagContextMenu/TagContextMenu.d.ts +0 -0
- /package/{dist → src}/elements/draggableItemsWrapper/DraggableItemsWrapper.d.ts +0 -0
- /package/{dist → src}/elements/icon/Icon.d.ts +0 -0
- /package/{dist → src}/elements/index.d.ts +0 -0
- /package/{dist → src}/elements/radioButtonGroup/RadioButtonGroup.d.ts +0 -0
- /package/{dist → src}/elements/roundIconButton/RoundIconButton.d.ts +0 -0
- /package/{dist → src}/elements/sliderField/SliderField.d.ts +0 -0
- /package/{dist → src}/elements/tagIcon/TagIcon.d.ts +0 -0
- /package/{dist → src}/elements/tagIcon/TagIconShadow.d.ts +0 -0
- /package/{dist → src}/elements/textIconButton/TextIconButton.d.ts +0 -0
- /package/{dist → src}/helpers/classnames.d.ts +0 -0
- /package/{dist → src}/helpers/getIcon.d.ts +0 -0
- /package/{dist → src}/helpers/index.d.ts +0 -0
- /package/{dist → src}/helpers/tagCategoryIcon.d.ts +0 -0
- /package/{dist → src}/hooks/index.d.ts +0 -0
- /package/{dist → src}/hooks/useEventListener.d.ts +0 -0
- /package/{dist → src}/hooks/useIsMobile.d.ts +0 -0
- /package/{dist → src}/hooks/useKeyboardNavigation.d.ts +0 -0
- /package/{dist → src}/icons/echoAssets/external.d.ts +0 -0
- /package/{dist → src}/icons/echoAssets/general.d.ts +0 -0
- /package/{dist → src}/icons/echoAssets/maps.d.ts +0 -0
- /package/{dist → src}/icons/echoAssets/misc.d.ts +0 -0
- /package/{dist → src}/icons/echoAssets/notifications.d.ts +0 -0
- /package/{dist → src}/icons/echoAssets/punches.d.ts +0 -0
- /package/{dist → src}/icons/echoAssets/workOrders.d.ts +0 -0
- /package/{dist → src}/icons/index.d.ts +0 -0
- /package/{dist → src}/index.d.ts +0 -0
- /package/{dist → src}/structure/iconList/IconList.d.ts +0 -0
- /package/{dist → src}/structure/iconList/createListRow.d.ts +0 -0
- /package/{dist → src}/structure/index.d.ts +0 -0
- /package/{dist → src}/theme/index.d.ts +0 -0
- /package/{dist → src}/theme/themeConst.d.ts +0 -0
- /package/{dist → src}/types/actionButton.d.ts +0 -0
- /package/{dist → src}/types/charts.d.ts +0 -0
- /package/{dist → src}/types/dataInformation.d.ts +0 -0
- /package/{dist → src}/types/draggableItem.d.ts +0 -0
- /package/{dist → src}/types/expandableRowProps.d.ts +0 -0
- /package/{dist → src}/types/iconItem.d.ts +0 -0
- /package/{dist → src}/types/iconListItem.d.ts +0 -0
- /package/{dist → src}/types/index.d.ts +0 -0
- /package/{dist → src}/types/legend.d.ts +0 -0
- /package/{dist → src}/types/linkCardItem.d.ts +0 -0
- /package/{dist → src}/types/menuItem.d.ts +0 -0
- /package/{dist → src}/types/optionsItem.d.ts +0 -0
- /package/{dist → src}/types/radioButtonItem.d.ts +0 -0
- /package/{dist → src}/types/workOrderItem.d.ts +0 -0
- /package/{dist → src}/utils/date.d.ts +0 -0
- /package/{dist → src}/utils/index.d.ts +0 -0
- /package/{dist → src}/utils/workorder.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,129 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
|
|
25
|
-
"storybook": "storybook dev -p 6006",
|
|
26
|
-
"build-storybook": "storybook build",
|
|
27
|
-
"re-yalc": "npm run build && yalc push --sig"
|
|
28
|
-
},
|
|
29
|
-
"author": "Echo Core",
|
|
30
|
-
"license": "MIT",
|
|
31
|
-
"peerDependencies": {
|
|
32
|
-
"@equinor/echo-utils": ">= 0.3.0 < 0.4.0",
|
|
33
|
-
"@equinor/eds-core-react": "=0.25.0",
|
|
34
|
-
"@equinor/eds-icons": "=0.17.0",
|
|
35
|
-
"react": ">= 17.0.2",
|
|
36
|
-
"react-dom": ">= 17.0.2",
|
|
37
|
-
"styled-components": ">= 5.3.5 < 6.0.0"
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"@babel/runtime": "^7.22.5",
|
|
41
|
-
"@floating-ui/react": "^0.24.3",
|
|
42
|
-
"chart.js": "^4.3.0",
|
|
43
|
-
"jest-environment-jsdom": "^29.5.0",
|
|
44
|
-
"lodash.throttle": "^4.1.1",
|
|
45
|
-
"react-datepicker": "^4.14.1",
|
|
46
|
-
"react-sortablejs": "^6.1.4",
|
|
47
|
-
"sortablejs": "^1.15.0",
|
|
48
|
-
"zustand": "^4.3.8"
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@babel/core": "^7.22.5",
|
|
52
|
-
"@babel/plugin-transform-runtime": "^7.22.5",
|
|
53
|
-
"@babel/preset-env": "^7.22.5",
|
|
54
|
-
"@babel/preset-react": "^7.22.5",
|
|
55
|
-
"@babel/preset-typescript": "^7.22.5",
|
|
56
|
-
"@equinor/echo-update": "^1.3.1",
|
|
57
|
-
"@equinor/echo-utils": "^0.3.1",
|
|
58
|
-
"@equinor/eds-core-react": "=0.25.0",
|
|
59
|
-
"@equinor/eds-icons": "=0.17.0",
|
|
60
|
-
"@rollup/plugin-babel": "^6.0.3",
|
|
61
|
-
"@rollup/plugin-commonjs": "^25.0.2",
|
|
62
|
-
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
63
|
-
"@rollup/plugin-typescript": "^11.1.1",
|
|
64
|
-
"@rollup/plugin-url": "^8.0.1",
|
|
65
|
-
"@storybook/addon-actions": "^7.0.27",
|
|
66
|
-
"@storybook/addon-docs": "^7.0.27",
|
|
67
|
-
"@storybook/addon-essentials": "^7.0.27",
|
|
68
|
-
"@storybook/addon-links": "^7.0.27",
|
|
69
|
-
"@storybook/react": "^7.0.27",
|
|
70
|
-
"@storybook/react-webpack5": "^7.0.27",
|
|
71
|
-
"@svgr/rollup": "^8.0.1",
|
|
72
|
-
"@svgr/webpack": "^8.0.1",
|
|
73
|
-
"@testing-library/dom": "^9.3.1",
|
|
74
|
-
"@testing-library/react": "^14.0.0",
|
|
75
|
-
"@types/chart.js": "^2.9.37",
|
|
76
|
-
"@types/jest": "^29.5.2",
|
|
77
|
-
"@types/lodash.throttle": "^4.1.7",
|
|
78
|
-
"@types/react": "^18.2.14",
|
|
79
|
-
"@types/react-datepicker": "^4.11.2",
|
|
80
|
-
"@types/react-test-renderer": "^18.0.0",
|
|
81
|
-
"@types/react-window": "^1.8.5",
|
|
82
|
-
"@types/sortablejs": "^1.15.1",
|
|
83
|
-
"@types/styled-components": "^5.1.26",
|
|
84
|
-
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
|
85
|
-
"@typescript-eslint/parser": "^5.60.1",
|
|
86
|
-
"babel-loader": "^9.1.2",
|
|
87
|
-
"css-loader": "^6.8.1",
|
|
88
|
-
"eslint": "^8.43.0",
|
|
89
|
-
"eslint-config-prettier": "^8.8.0",
|
|
90
|
-
"eslint-plugin-mdx": "^2.1.0",
|
|
91
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
92
|
-
"eslint-plugin-react": "^7.32.2",
|
|
93
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
94
|
-
"eslint-plugin-storybook": "^0.6.12",
|
|
95
|
-
"html-webpack-plugin": "^5.5.3",
|
|
96
|
-
"identity-obj-proxy": "^3.0.0",
|
|
97
|
-
"jest": "^29.5.0",
|
|
98
|
-
"jest-svg-transformer": "^1.0.0",
|
|
99
|
-
"postcss": "^8.4.24",
|
|
100
|
-
"postcss-loader": "^7.3.3",
|
|
101
|
-
"prettier": "^2.8.8",
|
|
102
|
-
"react": "^18.2.0",
|
|
103
|
-
"react-datepicker": "^4.14.1",
|
|
104
|
-
"react-dom": "^18.2.0",
|
|
105
|
-
"react-test-renderer": "^18.2.0",
|
|
106
|
-
"react-window": "^1.8.9",
|
|
107
|
-
"rollup": "^3.25.3",
|
|
108
|
-
"rollup-plugin-delete": "^2.0.0",
|
|
109
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
110
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
111
|
-
"rollup-plugin-typescript-paths": "^1.4.0",
|
|
112
|
-
"rollup-plugin-visualizer": "^5.9.2",
|
|
113
|
-
"storybook": "^7.0.27",
|
|
114
|
-
"storybook-css-modules-preset": "^1.1.1",
|
|
115
|
-
"style-loader": "^3.3.3",
|
|
116
|
-
"styled-components": "^5.3.11",
|
|
117
|
-
"ts-jest": "^29.1.0",
|
|
118
|
-
"tsconfig-paths-webpack-plugin": "^4.0.1",
|
|
119
|
-
"typescript": "^5.1.3",
|
|
120
|
-
"webpack": "^5.88.0",
|
|
121
|
-
"worker-loader": "^3.0.8"
|
|
122
|
-
},
|
|
123
|
-
"files": [
|
|
124
|
-
"dist/"
|
|
125
|
-
],
|
|
126
|
-
"resolutions": {
|
|
127
|
-
"@storybook/react/webpack": "^5"
|
|
128
|
-
}
|
|
2
|
+
"name": "@equinor/echo-components",
|
|
3
|
+
"version": "0.8.0-beta-0",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@equinor/echo-utils": ">= 0.3.0 < 0.4.0",
|
|
6
|
+
"@equinor/eds-core-react": "=0.25.0",
|
|
7
|
+
"@equinor/eds-icons": "=0.17.0",
|
|
8
|
+
"react": ">= 17.0.2",
|
|
9
|
+
"react-dom": ">= 17.0.2",
|
|
10
|
+
"zustand": "4.4.1",
|
|
11
|
+
"lodash": "4.17.21",
|
|
12
|
+
"react-window": "1.8.9",
|
|
13
|
+
"@floating-ui/react": "0.25.2",
|
|
14
|
+
"react-datepicker": "4.14.1",
|
|
15
|
+
"react-sortablejs": "6.1.4",
|
|
16
|
+
"sortablejs": "1.15.0",
|
|
17
|
+
"chart.js": "4.3.0",
|
|
18
|
+
"classnames": "2.3.2",
|
|
19
|
+
"date-fns": "2.30.0"
|
|
20
|
+
},
|
|
21
|
+
"module": "./index.esm.js",
|
|
22
|
+
"type": "module",
|
|
23
|
+
"main": "./index.esm.js"
|
|
129
24
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface LinkProps {
|
|
3
2
|
className?: string;
|
|
4
3
|
/** The external link. */
|
|
@@ -8,5 +7,5 @@ interface LinkProps {
|
|
|
8
7
|
/** If true, the link is opened in the same window or tab. */
|
|
9
8
|
preserveTab?: boolean;
|
|
10
9
|
}
|
|
11
|
-
declare const BlackLink: ({ className, href, linkText, preserveTab }: LinkProps) =>
|
|
12
|
-
export {
|
|
10
|
+
export declare const BlackLink: ({ className, href, linkText, preserveTab }: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -17,5 +17,5 @@ export interface ButtonWithPopoverProps {
|
|
|
17
17
|
* expanded: flag to determine if popover should be expanded or not
|
|
18
18
|
* @return {*} {JSX.Element} Round button with belonging popover to display data information buttons
|
|
19
19
|
*/
|
|
20
|
-
export declare const ButtonWithPopover: React.
|
|
20
|
+
export declare const ButtonWithPopover: ({ onShowMoreClicked, fetchedData, isLoading, expanded }: ButtonWithPopoverProps) => React.JSX.Element;
|
|
21
21
|
export default ButtonWithPopover;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
/// <reference types="chart.js" />
|
|
2
1
|
import Chart, { ChartData, Defaults } from 'chart.js/auto';
|
|
3
|
-
import React from 'react';
|
|
4
2
|
import { ChartCallbacks, LineChartConfig } from '../../../types/charts';
|
|
5
3
|
interface Props {
|
|
6
|
-
initialSize:
|
|
4
|
+
initialSize: {
|
|
5
|
+
height: number;
|
|
6
|
+
width: number;
|
|
7
|
+
};
|
|
7
8
|
chartDataSet?: ChartData;
|
|
8
9
|
chartTitle?: string;
|
|
9
10
|
xAxisTitle?: string;
|
|
@@ -17,5 +18,5 @@ interface Props {
|
|
|
17
18
|
lineChartConfig?: LineChartConfig;
|
|
18
19
|
onChartInstance?: (chartInstance: Chart | undefined) => void;
|
|
19
20
|
}
|
|
20
|
-
declare function LineChart({ initialSize, chartDataSet, chartTitle, xAxisTitle, yAxisTitle, id, testId, chartConfigs, lineChartConfig, onChartInstance }: Props):
|
|
21
|
+
declare function LineChart({ initialSize, chartDataSet, chartTitle, xAxisTitle, yAxisTitle, id, testId, chartConfigs, lineChartConfig, onChartInstance }: Props): import("react/jsx-runtime").JSX.Element;
|
|
21
22
|
export { LineChart };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface CopyToClipboardProps {
|
|
3
3
|
copyableText: string;
|
|
4
4
|
variant?: 'neutral' | 'warning' | 'error' | 'success';
|
|
5
5
|
multiline?: boolean;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const CopyToClipboard: (props: CopyToClipboardProps) => JSX.Element;
|
|
8
|
+
declare const CopyToClipboard: (props: CopyToClipboardProps) => React.JSX.Element;
|
|
9
9
|
export { CopyToClipboard };
|
|
@@ -16,5 +16,5 @@ export interface EchoHeaderProps {
|
|
|
16
16
|
* }
|
|
17
17
|
* @returns {*} {JSX.Element} Echo header with custom section
|
|
18
18
|
*/
|
|
19
|
-
export declare const EchoHeader: React.
|
|
19
|
+
export declare const EchoHeader: ({ moduleTitle, moduleIcon, plantName, customHeaderSection }: EchoHeaderProps) => React.JSX.Element;
|
|
20
20
|
export default EchoHeader;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLProps, ReactNode } from 'react';
|
|
2
|
+
import { TooltipOptions } from './useTooltip';
|
|
3
|
+
declare function Tooltip({ children, ...options }: {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
} & TooltipOptions): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const TooltipAnchor: import("react").ForwardRefExoticComponent<Omit<HTMLProps<HTMLElement> & {
|
|
7
|
+
asChild?: boolean | undefined;
|
|
8
|
+
}, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
9
|
+
declare const TooltipContent: import("react").ForwardRefExoticComponent<Omit<HTMLProps<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { Tooltip, TooltipAnchor, TooltipContent };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Placement, UseFloatingReturn } from '@floating-ui/react';
|
|
3
|
+
export interface TooltipOptions {
|
|
4
|
+
initialOpen?: boolean;
|
|
5
|
+
placement?: Placement;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
export type ContextType = ReturnType<typeof useTooltip> | null;
|
|
10
|
+
type UseTooltipReturn = {
|
|
11
|
+
open: boolean;
|
|
12
|
+
setOpen: (open: boolean) => void;
|
|
13
|
+
} & UseFloatingReturn<any> & UseInteractionsReturn;
|
|
14
|
+
type UseInteractionsReturn = {
|
|
15
|
+
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
16
|
+
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
17
|
+
getItemProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
18
|
+
};
|
|
19
|
+
declare function useTooltip({ initialOpen, placement, open: controlledOpen, onOpenChange: setControlledOpen }?: TooltipOptions): UseTooltipReturn;
|
|
20
|
+
declare const TooltipContext: import("react").Context<ContextType>;
|
|
21
|
+
declare const useTooltipContext: () => UseTooltipReturn;
|
|
22
|
+
export { TooltipContext, useTooltip, useTooltipContext };
|
|
@@ -29,5 +29,5 @@ export type FloatingActionButtonProps = MutuallyExclusiveVariantLabel & {
|
|
|
29
29
|
* and are typically used for special actions pertaining to the module they are used in.
|
|
30
30
|
* @return {*} {JSX.Element} Floating actions button
|
|
31
31
|
*/
|
|
32
|
-
declare const FloatingActionButton: React.
|
|
33
|
-
export {
|
|
32
|
+
export declare const FloatingActionButton: ({ label, iconName, ariaLabel, variant, disabled, active, onClick }: FloatingActionButtonProps) => React.JSX.Element;
|
|
33
|
+
export {};
|
|
@@ -8,5 +8,5 @@ export interface InlineTagIconLinkProps {
|
|
|
8
8
|
legendColor: string;
|
|
9
9
|
disableHover?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const InlineTagIconLink: React.
|
|
11
|
+
export declare const InlineTagIconLink: ({ onClickHandler, tagNo, description, tagCategoryDescription, icon, legendColor, disableHover }: InlineTagIconLinkProps) => React.JSX.Element;
|
|
12
12
|
export default InlineTagIconLink;
|
|
@@ -18,5 +18,5 @@ interface MainLegendProps {
|
|
|
18
18
|
*/
|
|
19
19
|
legendContentStyle?: CSSProperties;
|
|
20
20
|
}
|
|
21
|
-
declare function MainLegend({ legends, layers, legendStyle, legendContentStyle }: MainLegendProps):
|
|
21
|
+
declare function MainLegend({ legends, layers, legendStyle, legendContentStyle }: MainLegendProps): import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export { MainLegend };
|
|
@@ -29,5 +29,5 @@ interface LayerLegendProps {
|
|
|
29
29
|
*/
|
|
30
30
|
style?: CSSProperties;
|
|
31
31
|
}
|
|
32
|
-
declare function LayerLegend({ title, iconName, itemsCount, itemsTitle, children, disabled, style }: LayerLegendProps):
|
|
32
|
+
declare function LayerLegend({ title, iconName, itemsCount, itemsTitle, children, disabled, style }: LayerLegendProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
export { LayerLegend };
|
|
@@ -48,5 +48,5 @@ interface ListItemBaseProps {
|
|
|
48
48
|
style?: CSSProperties;
|
|
49
49
|
}
|
|
50
50
|
export type ListItemProps = ListItemBaseProps & WithVisualOrIconOptions;
|
|
51
|
-
declare function ListItem(props: ListItemProps):
|
|
51
|
+
declare function ListItem(props: ListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
52
52
|
export { ListItem };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type RiskLevel = 'low' | 'medium' | 'high';
|
|
2
|
+
interface PCMatrixProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
consequence: RiskLevel;
|
|
5
|
+
probability: RiskLevel;
|
|
6
|
+
}
|
|
7
|
+
export declare const PCMatrix: ({ consequence, probability, className }: PCMatrixProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { SearchSuggestionsProps } from './types';
|
|
3
|
-
declare function SearchSuggestions({ suggestionGroups, containerRef, onClick, styles }: SearchSuggestionsProps):
|
|
2
|
+
declare function SearchSuggestions({ suggestionGroups, containerRef, onClick, styles }: SearchSuggestionsProps): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export { SearchSuggestions };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { SuggestionGroupProps } from './types';
|
|
3
|
-
declare function SuggestionGroup({ suggestionGroup, onClick, focusedOption, styles }: SuggestionGroupProps):
|
|
2
|
+
declare function SuggestionGroup({ suggestionGroup, onClick, focusedOption, styles }: SuggestionGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export { SuggestionGroup };
|
|
@@ -16,15 +16,13 @@ export interface FloatingSearchBarProps {
|
|
|
16
16
|
suggestionGroups?: SuggestionGroup[];
|
|
17
17
|
onSuggestionClick: (suggestion: Suggestion) => void;
|
|
18
18
|
isLoading: boolean;
|
|
19
|
-
preOpenSuggestionsGroup?: boolean;
|
|
20
|
-
defaultValue?: string;
|
|
21
19
|
}
|
|
22
20
|
/**
|
|
23
21
|
* Floating search bar
|
|
24
22
|
*
|
|
25
23
|
* @param {FloatingSearchBarProps} {
|
|
26
24
|
* }
|
|
27
|
-
* @return {*} {JSX.Element}
|
|
25
|
+
* @return {*} {React.JSX.Element}
|
|
28
26
|
*/
|
|
29
|
-
declare const FloatingSearchBar: React.
|
|
27
|
+
declare const FloatingSearchBar: ({ ariaLabel, placeholder, onSearchQueryChange, suggestionGroups, onSuggestionClick, isLoading }: FloatingSearchBarProps) => React.JSX.Element;
|
|
30
28
|
export { FloatingSearchBar };
|
|
@@ -16,8 +16,6 @@ export interface Props extends React.HTMLProps<HTMLFormElement> {
|
|
|
16
16
|
suggestionGroups?: SuggestionGroup[];
|
|
17
17
|
onSuggestionClick: (suggestion: Suggestion) => void;
|
|
18
18
|
isLoading: boolean;
|
|
19
|
-
preOpenSuggestionsGroup?: boolean;
|
|
20
|
-
defaultValue?: string;
|
|
21
19
|
}
|
|
22
20
|
/**
|
|
23
21
|
* Floating search bar
|
|
@@ -26,5 +24,5 @@ export interface Props extends React.HTMLProps<HTMLFormElement> {
|
|
|
26
24
|
* }
|
|
27
25
|
* @return {*} {JSX.Element}
|
|
28
26
|
*/
|
|
29
|
-
declare const ResponsiveSearchBar: React.
|
|
27
|
+
declare const ResponsiveSearchBar: ({ ariaLabel, placeholder, onSearchQueryChange, suggestionGroups, onSuggestionClick, isLoading, ...props }: Props) => React.JSX.Element;
|
|
30
28
|
export { ResponsiveSearchBar };
|
|
@@ -57,5 +57,14 @@ export interface SidebarButtonProps {
|
|
|
57
57
|
* }
|
|
58
58
|
* @return {*} {JSX.Element}
|
|
59
59
|
*/
|
|
60
|
-
export declare const SidebarButton:
|
|
60
|
+
export declare const SidebarButton: {
|
|
61
|
+
({ text, active, onClick, count, buttonPosition, refValue, id, children }: SidebarButtonProps): React.JSX.Element;
|
|
62
|
+
defaultProps: {
|
|
63
|
+
text: string;
|
|
64
|
+
children: import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
refValue: undefined;
|
|
66
|
+
id: string;
|
|
67
|
+
buttonPosition: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
61
70
|
export default SidebarButton;
|
|
@@ -14,6 +14,6 @@ interface SheetProps extends Style {
|
|
|
14
14
|
*/
|
|
15
15
|
floating?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare function Sheet({ side, orientation, floating, children, className, style }: SheetProps):
|
|
18
|
-
export { Sheet };
|
|
17
|
+
declare function Sheet({ side, orientation, floating, children, className, style }: SheetProps): import("react/jsx-runtime").JSX.Element;
|
|
19
18
|
export type { SheetProps };
|
|
19
|
+
export { Sheet };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SideSheetOrientation } from '../enums';
|
|
2
|
-
export declare function GetSheetContainerClass(side?: 'left' | 'right', orientation?: SideSheetOrientation, floating?: boolean): string;
|
|
2
|
+
export declare function GetSheetContainerClass(side?: 'left' | 'right', orientation?: SideSheetOrientation, floating?: boolean, isMobile?: boolean): string;
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SideSheetOrientation } from '../enums';
|
|
3
|
-
type EnabledOrientations = {
|
|
4
|
-
vertical?: boolean;
|
|
5
|
-
horizontal?: boolean;
|
|
6
|
-
fullscreen?: boolean;
|
|
7
|
-
};
|
|
8
3
|
interface SheetTopAreaProps extends Partial<SheetOrientationActionsProps> {
|
|
9
4
|
closeSheet?: () => void;
|
|
10
5
|
previous?: React.ReactNode;
|
|
11
|
-
/** If omitted, all orientation toggles are rendered. */
|
|
12
|
-
enabledOrientations?: EnabledOrientations;
|
|
13
6
|
}
|
|
14
|
-
declare function SheetTopArea({ orientation, onOrientationChange, closeSheet, previous
|
|
7
|
+
declare function SheetTopArea({ orientation, onOrientationChange, closeSheet, previous }: SheetTopAreaProps): JSX.Element | null;
|
|
15
8
|
interface SheetOrientationActionsProps {
|
|
16
9
|
orientation: SideSheetOrientation;
|
|
17
|
-
enabledOrientations: EnabledOrientations;
|
|
18
10
|
/**
|
|
19
11
|
* Providing this function allows the developer to control sheet orientation.
|
|
20
12
|
*/
|
|
@@ -6,9 +6,9 @@ interface BaseProps {
|
|
|
6
6
|
interface SplitViewProps extends BaseProps {
|
|
7
7
|
children: [React.ReactChild, React.ReactChild | undefined];
|
|
8
8
|
}
|
|
9
|
-
declare function SplitView({ className, style, children }: SplitViewProps):
|
|
9
|
+
declare function SplitView({ className, style, children }: SplitViewProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
interface RightProps extends BaseProps {
|
|
11
11
|
children: React.ReactChild;
|
|
12
12
|
}
|
|
13
|
-
declare function Right({ className, style, children }: RightProps):
|
|
14
|
-
export {
|
|
13
|
+
declare function Right({ className, style, children }: RightProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export { Right, SplitView };
|
|
@@ -6,5 +6,5 @@ interface LeftProps {
|
|
|
6
6
|
isMinimizable?: boolean;
|
|
7
7
|
defaultMinimized?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare function Left({ className, style, isMinimizable, defaultMinimized, children }: LeftProps):
|
|
9
|
+
declare function Left({ className, style, isMinimizable, defaultMinimized, children }: LeftProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export { Left };
|
|
@@ -8,5 +8,5 @@ export interface TimePickerProps {
|
|
|
8
8
|
readOnly?: boolean;
|
|
9
9
|
timeRange?: string[];
|
|
10
10
|
}
|
|
11
|
-
export declare const TimePicker: React.
|
|
11
|
+
export declare const TimePicker: ({ id, label, value, onValueChanged, readOnly, timeRange }: TimePickerProps) => React.JSX.Element;
|
|
12
12
|
export default TimePicker;
|
|
@@ -6,5 +6,5 @@ export interface WorkOrderListItemProps {
|
|
|
6
6
|
itemAction?: React.ReactNode;
|
|
7
7
|
isHeader?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare function WorkOrderListItem(props: WorkOrderListItemProps):
|
|
9
|
+
declare function WorkOrderListItem(props: WorkOrderListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export { WorkOrderListItem };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface WorkOrderStatusLabelProps {
|
|
3
2
|
isActive: boolean;
|
|
4
3
|
}
|
|
5
|
-
export declare function WorkOrderStatusLabel({ isActive }: WorkOrderStatusLabelProps):
|
|
4
|
+
export declare function WorkOrderStatusLabel({ isActive }: WorkOrderStatusLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export {};
|
|
@@ -23,4 +23,4 @@ export interface LinkCardProps {
|
|
|
23
23
|
* }
|
|
24
24
|
* @return {*} {JSX.Element} a card element with an image and some provided links
|
|
25
25
|
*/
|
|
26
|
-
export declare const LinkCard: React.
|
|
26
|
+
export declare const LinkCard: ({ style, image, title, subTitle, links }: LinkCardProps) => React.JSX.Element;
|
|
@@ -21,4 +21,4 @@ export interface OptionsListProps {
|
|
|
21
21
|
* }
|
|
22
22
|
* @return {*} {JSX.Element} a list of rows with a set of radio buttons
|
|
23
23
|
*/
|
|
24
|
-
export declare const OptionsList: React.
|
|
24
|
+
export declare const OptionsList: ({ items, style, titles, columns }: OptionsListProps) => React.JSX.Element;
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Equinor
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { TooltipOptions } from './useTooltip';
|
|
3
|
-
declare function Tooltip({ children, ...options }: {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
} & TooltipOptions): React.JSX.Element;
|
|
6
|
-
declare const TooltipAnchor: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLElement> & {
|
|
7
|
-
asChild?: boolean | undefined;
|
|
8
|
-
}, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
9
|
-
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export { Tooltip, TooltipAnchor, TooltipContent };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Placement } from '@floating-ui/react';
|
|
3
|
-
export interface TooltipOptions {
|
|
4
|
-
initialOpen?: boolean;
|
|
5
|
-
placement?: Placement;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
onOpenChange?: (open: boolean) => void;
|
|
8
|
-
}
|
|
9
|
-
export type ContextType = ReturnType<typeof useTooltip> | null;
|
|
10
|
-
declare function useTooltip({ initialOpen, placement, open: controlledOpen, onOpenChange: setControlledOpen }?: TooltipOptions): {
|
|
11
|
-
placement: Placement;
|
|
12
|
-
strategy: import("@floating-ui/react").Strategy;
|
|
13
|
-
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
14
|
-
x: number;
|
|
15
|
-
y: number;
|
|
16
|
-
isPositioned: boolean;
|
|
17
|
-
update: () => void;
|
|
18
|
-
floatingStyles: import("react").CSSProperties;
|
|
19
|
-
refs: {
|
|
20
|
-
reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
21
|
-
floating: import("react").MutableRefObject<HTMLElement | null>;
|
|
22
|
-
setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
|
|
23
|
-
setFloating: (node: HTMLElement | null) => void;
|
|
24
|
-
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
25
|
-
elements: {
|
|
26
|
-
reference: import("@floating-ui/react-dom").ReferenceType | null;
|
|
27
|
-
floating: HTMLElement | null;
|
|
28
|
-
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
29
|
-
context: {
|
|
30
|
-
x: number;
|
|
31
|
-
y: number;
|
|
32
|
-
update: () => void;
|
|
33
|
-
placement: Placement;
|
|
34
|
-
strategy: import("@floating-ui/react").Strategy;
|
|
35
|
-
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
36
|
-
isPositioned: boolean;
|
|
37
|
-
floatingStyles: import("react").CSSProperties;
|
|
38
|
-
open: boolean;
|
|
39
|
-
onOpenChange: (open: boolean, event?: Event | undefined) => void;
|
|
40
|
-
events: import("@floating-ui/react").FloatingEvents;
|
|
41
|
-
dataRef: import("react").MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
42
|
-
nodeId: string | undefined;
|
|
43
|
-
floatingId: string;
|
|
44
|
-
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
45
|
-
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
46
|
-
};
|
|
47
|
-
getReferenceProps: (userProps?: import("react").HTMLProps<Element> | undefined) => Record<string, unknown>;
|
|
48
|
-
getFloatingProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
49
|
-
getItemProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
50
|
-
open: boolean;
|
|
51
|
-
setOpen: (open: boolean) => void;
|
|
52
|
-
};
|
|
53
|
-
declare const TooltipContext: import("react").Context<ContextType>;
|
|
54
|
-
declare const useTooltipContext: () => {
|
|
55
|
-
placement: Placement;
|
|
56
|
-
strategy: import("@floating-ui/react").Strategy;
|
|
57
|
-
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
58
|
-
x: number;
|
|
59
|
-
y: number;
|
|
60
|
-
isPositioned: boolean;
|
|
61
|
-
update: () => void;
|
|
62
|
-
floatingStyles: import("react").CSSProperties;
|
|
63
|
-
refs: {
|
|
64
|
-
reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
65
|
-
floating: import("react").MutableRefObject<HTMLElement | null>;
|
|
66
|
-
setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
|
|
67
|
-
setFloating: (node: HTMLElement | null) => void;
|
|
68
|
-
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
69
|
-
elements: {
|
|
70
|
-
reference: import("@floating-ui/react-dom").ReferenceType | null;
|
|
71
|
-
floating: HTMLElement | null;
|
|
72
|
-
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
73
|
-
context: {
|
|
74
|
-
x: number;
|
|
75
|
-
y: number;
|
|
76
|
-
update: () => void;
|
|
77
|
-
placement: Placement;
|
|
78
|
-
strategy: import("@floating-ui/react").Strategy;
|
|
79
|
-
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
80
|
-
isPositioned: boolean;
|
|
81
|
-
floatingStyles: import("react").CSSProperties;
|
|
82
|
-
open: boolean;
|
|
83
|
-
onOpenChange: (open: boolean, event?: Event | undefined) => void;
|
|
84
|
-
events: import("@floating-ui/react").FloatingEvents;
|
|
85
|
-
dataRef: import("react").MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
86
|
-
nodeId: string | undefined;
|
|
87
|
-
floatingId: string;
|
|
88
|
-
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
89
|
-
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
90
|
-
};
|
|
91
|
-
getReferenceProps: (userProps?: import("react").HTMLProps<Element> | undefined) => Record<string, unknown>;
|
|
92
|
-
getFloatingProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
93
|
-
getItemProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
94
|
-
open: boolean;
|
|
95
|
-
setOpen: (open: boolean) => void;
|
|
96
|
-
};
|
|
97
|
-
export { TooltipContext, useTooltip, useTooltipContext };
|