@nextelco/common-ui 1.7.120 → 1.7.130
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.
@@ -1,3 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
* React Tooltip
|
3
|
+
* {@link https://github.com/ReactTooltip/react-tooltip}
|
4
|
+
* @copyright ReactTooltip Team
|
5
|
+
* @license MIT
|
6
|
+
*/
|
7
|
+
|
8
|
+
/*!
|
9
|
+
Copyright (c) 2018 Jed Watson.
|
10
|
+
Licensed under the MIT License (MIT), see
|
11
|
+
http://jedwatson.github.io/classnames
|
12
|
+
*/
|
13
|
+
|
1
14
|
/*!
|
2
15
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
3
16
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
@@ -3,9 +3,9 @@ import 'react-tooltip/dist/react-tooltip.css';
|
|
3
3
|
import './Tooltip.scss';
|
4
4
|
interface TooltipWrapperProps {
|
5
5
|
id?: string;
|
6
|
-
tip: string;
|
7
6
|
interactive?: boolean;
|
8
7
|
disabled?: boolean;
|
8
|
+
tip: ReactNode;
|
9
9
|
children: ReactNode;
|
10
10
|
}
|
11
11
|
declare const TooltipWrapper: React.FC<TooltipWrapperProps>;
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import React, { ReactNode } from 'react';
|
2
2
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
3
3
|
import { Fetcher } from '../../../types/Fetcher';
|
4
|
-
import './Selector.scss';
|
5
4
|
import { SelectableElement } from '../../../types/SelectableElement';
|
5
|
+
import './Selector.scss';
|
6
6
|
type SelectorProps<T extends SelectableElement> = {
|
7
7
|
title: string;
|
8
8
|
onClose: () => void;
|
9
9
|
onConfirm: (selected: T[]) => void;
|
10
10
|
initiallySelected: T[];
|
11
|
-
blocked?: string
|
11
|
+
blocked?: Map<string, ReactNode>;
|
12
12
|
single?: boolean;
|
13
13
|
icon: IconProp;
|
14
14
|
fetcher: Fetcher;
|