diff --git a/components/lib/datatable/DataTableBase.js b/components/lib/datatable/DataTableBase.js index f57c4fd58f..8f4e794b79 100644 --- a/components/lib/datatable/DataTableBase.js +++ b/components/lib/datatable/DataTableBase.js @@ -485,7 +485,7 @@ export const DataTableBase = ComponentBase.extend({ lazy: false, loading: false, loadingIcon: null, - metaKeySelection: true, + metaKeySelection: false, multiSortMeta: null, onAllRowsSelect: null, onAllRowsUnselect: null, diff --git a/components/lib/icons/arrowdown/index.js b/components/lib/icons/arrowdown/index.js index 5e0242c8e8..41acddee39 100644 --- a/components/lib/icons/arrowdown/index.js +++ b/components/lib/icons/arrowdown/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const ArrowDownIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/arrowup/index.js b/components/lib/icons/arrowup/index.js index fc7ca352f4..18b5728913 100644 --- a/components/lib/icons/arrowup/index.js +++ b/components/lib/icons/arrowup/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const ArrowUpIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/ban/index.js b/components/lib/icons/ban/index.js index 3631e9527e..58ca3d0a39 100644 --- a/components/lib/icons/ban/index.js +++ b/components/lib/icons/ban/index.js @@ -1,31 +1,16 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const BanIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/blank/index.d.ts b/components/lib/icons/blank/index.d.ts new file mode 100644 index 0000000000..7e9d228f42 --- /dev/null +++ b/components/lib/icons/blank/index.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import { IconBaseProps } from '../../iconbase'; + +/** + * Defines valid properties in BlankIcon component. In addition to these, all properties of SVGSVGElement can be used in this component. + * @group Properties + */ +export interface BlankIconProps extends IconBaseProps {} + +/** + * **PrimeReact - BlankIcon** + * + * [Live Demo](https://www.primereact.org/icons/) + * --- --- + * ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png) + * + * @group Component + */ +export declare class BlankIcon extends React.Component {} diff --git a/components/lib/icons/blank/index.js b/components/lib/icons/blank/index.js new file mode 100644 index 0000000000..0c1dcaf4f8 --- /dev/null +++ b/components/lib/icons/blank/index.js @@ -0,0 +1,16 @@ +import * as React from 'react'; +import { IconBase } from '../../iconbase/IconBase'; + +export const BlankIcon = React.memo( + React.forwardRef((inProps, ref) => { + const pti = IconBase.getPTI(inProps); + + return ( + + + + ); + }) +); + +BlankIcon.displayName = 'BlankIcon'; diff --git a/components/lib/icons/blank/package.json b/components/lib/icons/blank/package.json new file mode 100644 index 0000000000..e0ef93fd30 --- /dev/null +++ b/components/lib/icons/blank/package.json @@ -0,0 +1,7 @@ +{ + "main": "./index.cjs.js", + "module": "./index.esm.js", + "unpkg": "./index.min.js", + "types": "./index.d.ts", + "sideEffects": false +} diff --git a/components/lib/icons/download/index.js b/components/lib/icons/download/index.js index 2b4d48b44b..cd7fd496ad 100644 --- a/components/lib/icons/download/index.js +++ b/components/lib/icons/download/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const DownloadIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/exclamationtriangle/index.js b/components/lib/icons/exclamationtriangle/index.js index db0105379a..4512e38812 100644 --- a/components/lib/icons/exclamationtriangle/index.js +++ b/components/lib/icons/exclamationtriangle/index.js @@ -1,39 +1,24 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const ExclamationTriangleIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - - - + + + ); }) diff --git a/components/lib/icons/eyeslash/index.js b/components/lib/icons/eyeslash/index.js index ce4e0d1e26..86ee91010a 100644 --- a/components/lib/icons/eyeslash/index.js +++ b/components/lib/icons/eyeslash/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const EyeSlashIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/filter/index.js b/components/lib/icons/filter/index.js index ee1a0549ff..7eebd4d41e 100644 --- a/components/lib/icons/filter/index.js +++ b/components/lib/icons/filter/index.js @@ -1,31 +1,16 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const FilterIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/filterslash/index.js b/components/lib/icons/filterslash/index.js index 75e79bd65b..37c7553d16 100644 --- a/components/lib/icons/filterslash/index.js +++ b/components/lib/icons/filterslash/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const FilterSlashIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/infocircle/index.js b/components/lib/icons/infocircle/index.js index 467806c91c..9bb2ed0ad7 100644 --- a/components/lib/icons/infocircle/index.js +++ b/components/lib/icons/infocircle/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const InfoCircleIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/pencil/index.js b/components/lib/icons/pencil/index.js index abb36c6cc7..f0e1603783 100644 --- a/components/lib/icons/pencil/index.js +++ b/components/lib/icons/pencil/index.js @@ -1,31 +1,16 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const PencilIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/plus/index.js b/components/lib/icons/plus/index.js index f56a29ee77..f5c2a2c3ef 100644 --- a/components/lib/icons/plus/index.js +++ b/components/lib/icons/plus/index.js @@ -1,31 +1,16 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const PlusIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/refresh/index.js b/components/lib/icons/refresh/index.js index 82465671a4..44c5890d5d 100644 --- a/components/lib/icons/refresh/index.js +++ b/components/lib/icons/refresh/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const RefreshIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/search/index.js b/components/lib/icons/search/index.js index e05848a5c2..6045b5cd97 100644 --- a/components/lib/icons/search/index.js +++ b/components/lib/icons/search/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const SearchIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/searchminus/index.js b/components/lib/icons/searchminus/index.js index 79745d8693..55842d8040 100644 --- a/components/lib/icons/searchminus/index.js +++ b/components/lib/icons/searchminus/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const SearchMinusIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/searchplus/index.js b/components/lib/icons/searchplus/index.js index b2f1f71454..a9fad94827 100644 --- a/components/lib/icons/searchplus/index.js +++ b/components/lib/icons/searchplus/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const SearchPlusIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/sortalt/index.js b/components/lib/icons/sortalt/index.js index 7747bcc30e..cd96c8224c 100644 --- a/components/lib/icons/sortalt/index.js +++ b/components/lib/icons/sortalt/index.js @@ -1,37 +1,22 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const SortAltIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - - - - + + + + ); }) diff --git a/components/lib/icons/sortamountdown/index.js b/components/lib/icons/sortamountdown/index.js index be4371e6f6..c192899e6e 100644 --- a/components/lib/icons/sortamountdown/index.js +++ b/components/lib/icons/sortamountdown/index.js @@ -1,51 +1,36 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const SortAmountDownIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - - - - - - + + + + + + ); }) diff --git a/components/lib/icons/sortamountupalt/index.js b/components/lib/icons/sortamountupalt/index.js index dcead1c8f1..4bede29ff2 100644 --- a/components/lib/icons/sortamountupalt/index.js +++ b/components/lib/icons/sortamountupalt/index.js @@ -1,51 +1,36 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const SortAmountUpAltIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - - - - - - + + + + + + ); }) diff --git a/components/lib/icons/spinner/index.js b/components/lib/icons/spinner/index.js index 4534635788..afee48ebf5 100644 --- a/components/lib/icons/spinner/index.js +++ b/components/lib/icons/spinner/index.js @@ -1,31 +1,16 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const SpinnerIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/star/index.js b/components/lib/icons/star/index.js index a2499081bc..29bf162de8 100644 --- a/components/lib/icons/star/index.js +++ b/components/lib/icons/star/index.js @@ -1,31 +1,16 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const StarIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/starfill/index.js b/components/lib/icons/starfill/index.js index bf261727b2..bbd8156705 100644 --- a/components/lib/icons/starfill/index.js +++ b/components/lib/icons/starfill/index.js @@ -1,31 +1,16 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const StarFillIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/thlarge/index.js b/components/lib/icons/thlarge/index.js index 176a3a5890..b3d8d13015 100644 --- a/components/lib/icons/thlarge/index.js +++ b/components/lib/icons/thlarge/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const ThLargeIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/timescircle/index.js b/components/lib/icons/timescircle/index.js index 3e14701474..17e096f06f 100644 --- a/components/lib/icons/timescircle/index.js +++ b/components/lib/icons/timescircle/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const TimesCircleIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/trash/index.js b/components/lib/icons/trash/index.js index 117f1fe8aa..7c91ba2108 100644 --- a/components/lib/icons/trash/index.js +++ b/components/lib/icons/trash/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const TrashIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/undo/index.js b/components/lib/icons/undo/index.js index c6ef10f7de..823bfb3482 100644 --- a/components/lib/icons/undo/index.js +++ b/components/lib/icons/undo/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const UndoIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/upload/index.js b/components/lib/icons/upload/index.js index eecd0a46b7..1c36688756 100644 --- a/components/lib/icons/upload/index.js +++ b/components/lib/icons/upload/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const UploadIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/windowmaximize/index.js b/components/lib/icons/windowmaximize/index.js index c2625423d7..9ae2023746 100644 --- a/components/lib/icons/windowmaximize/index.js +++ b/components/lib/icons/windowmaximize/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const WindowMaximizeIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/icons/windowminimize/index.js b/components/lib/icons/windowminimize/index.js index b29167c630..f60279c19f 100644 --- a/components/lib/icons/windowminimize/index.js +++ b/components/lib/icons/windowminimize/index.js @@ -1,33 +1,18 @@ import * as React from 'react'; import { IconBase } from '../../iconbase/IconBase'; -import { ObjectUtils, UniqueComponentId } from '../../utils/Utils'; export const WindowMinimizeIcon = React.memo( React.forwardRef((inProps, ref) => { const pti = IconBase.getPTI(inProps); - const [pathId, setPathId] = React.useState(inProps.id); - - React.useEffect(() => { - if (ObjectUtils.isEmpty(pathId)) { - setPathId(UniqueComponentId('pr_icon_clip_')); - } - }, [pathId]); return ( - - - - - - - - + ); }) diff --git a/components/lib/picklist/PickListBase.js b/components/lib/picklist/PickListBase.js index 6f4b7d58c8..0be6ed9935 100644 --- a/components/lib/picklist/PickListBase.js +++ b/components/lib/picklist/PickListBase.js @@ -87,7 +87,7 @@ export const PickListBase = ComponentBase.extend({ targetSelection: null, showSourceControls: true, showTargetControls: true, - metaKeySelection: true, + metaKeySelection: false, onFocus: null, onBlur: null, filter: false, diff --git a/components/lib/tree/TreeBase.js b/components/lib/tree/TreeBase.js index a9a8fbd6f8..a619b4e360 100644 --- a/components/lib/tree/TreeBase.js +++ b/components/lib/tree/TreeBase.js @@ -142,7 +142,7 @@ export const TreeBase = ComponentBase.extend({ level: 0, loading: false, loadingIcon: null, - metaKeySelection: true, + metaKeySelection: false, nodeTemplate: null, onCollapse: null, onContextMenu: null, diff --git a/components/lib/treeselect/TreeSelectBase.js b/components/lib/treeselect/TreeSelectBase.js index ecacfab513..35f4e01ff2 100644 --- a/components/lib/treeselect/TreeSelectBase.js +++ b/components/lib/treeselect/TreeSelectBase.js @@ -161,7 +161,7 @@ export const TreeSelectBase = ComponentBase.extend({ filterValue: null, inputId: null, inputRef: null, - metaKeySelection: true, + metaKeySelection: false, name: null, nodeTemplate: null, onChange: null, diff --git a/components/lib/treetable/TreeTableBase.js b/components/lib/treetable/TreeTableBase.js index 4afd2463be..bac6eb628c 100644 --- a/components/lib/treetable/TreeTableBase.js +++ b/components/lib/treetable/TreeTableBase.js @@ -259,7 +259,7 @@ export const TreeTableBase = ComponentBase.extend({ lazy: false, loading: false, loadingIcon: null, - metaKeySelection: true, + metaKeySelection: false, multiSortMeta: null, onColReorder: null, onCollapse: null,