From 8b942132a3558734307dc029ba0a275dc4b536de Mon Sep 17 00:00:00 2001 From: Matthias Z'Brun Date: Tue, 19 Mar 2024 13:26:29 +0100 Subject: [PATCH] #1763 Fix wrong FluentUI imports --- src/common/telemetry/version.ts | 2 +- .../dynamicForm/dynamicField/DynamicField.tsx | 2 +- .../fieldCollectionData/FieldCollectionData.tsx | 4 ++-- .../collectionDataItem/CollectionDataItem.tsx | 14 +++++++------- .../collectionDataViewer/CollectionDataViewer.tsx | 4 ++-- .../collectionIconField/CollectionIconField.tsx | 4 ++-- .../fields/fieldUserRenderer/FieldUserRenderer.tsx | 2 +- src/controls/fileTypeIcon/FileTypeIcon.tsx | 2 +- src/controls/listItemPicker/ListItemPicker.tsx | 3 +-- src/controls/listPicker/ListPicker.tsx | 4 ++-- src/controls/listView/IListView.ts | 2 +- src/controls/listView/ListView.tsx | 2 +- src/controls/map/Map.tsx | 2 +- .../modernTaxonomyPicker/ModernTaxonomyPicker.tsx | 2 +- .../modernTermPicker/ModernTermPicker.tsx | 10 ++++------ .../modernTermPicker/ModernTermPicker.types.ts | 3 +-- .../modernTaxonomyPicker/termItem/TermItem.tsx | 3 ++- src/controls/peoplepicker/IPeoplePicker.ts | 2 +- .../peoplepicker/PeoplePickerComponent.tsx | 5 ++--- src/controls/placeholder/PlaceholderComponent.tsx | 2 +- src/controls/taxonomyPicker/TaxonomyPicker.tsx | 2 +- src/controls/taxonomyPicker/TermPicker.tsx | 3 +-- .../propertyPane/controls/ListPicker.tsx | 4 ++-- 23 files changed, 39 insertions(+), 44 deletions(-) diff --git a/src/common/telemetry/version.ts b/src/common/telemetry/version.ts index d33abe852..d30aa27bc 100644 --- a/src/common/telemetry/version.ts +++ b/src/common/telemetry/version.ts @@ -1 +1 @@ -export const version: string = "3.17.0"; +export const version: string = "3.17.0"; \ No newline at end of file diff --git a/src/controls/dynamicForm/dynamicField/DynamicField.tsx b/src/controls/dynamicForm/dynamicField/DynamicField.tsx index dc4deb6f4..34ed573d3 100644 --- a/src/controls/dynamicForm/dynamicField/DynamicField.tsx +++ b/src/controls/dynamicForm/dynamicField/DynamicField.tsx @@ -3,7 +3,7 @@ import { sp } from '@pnp/sp/presets/all'; import '@pnp/sp/webs'; import * as strings from 'ControlStrings'; import { ActionButton } from '@fluentui/react/lib/Button'; -import { Dropdown, IDropdownOption, IDropdownProps } from '@fluentui/react/lib/components/Dropdown'; +import { Dropdown, IDropdownOption, IDropdownProps } from '@fluentui/react/lib/Dropdown'; import { DatePicker } from '@fluentui/react/lib/DatePicker'; import { Icon } from '@fluentui/react/lib/Icon'; import { Image } from '@fluentui/react/lib/Image'; diff --git a/src/controls/fieldCollectionData/FieldCollectionData.tsx b/src/controls/fieldCollectionData/FieldCollectionData.tsx index 737586a0b..ac0e8f2d4 100644 --- a/src/controls/fieldCollectionData/FieldCollectionData.tsx +++ b/src/controls/fieldCollectionData/FieldCollectionData.tsx @@ -1,8 +1,8 @@ import * as React from 'react'; import * as telemetry from '../../common/telemetry'; import { DefaultButton } from '@fluentui/react/lib/Button'; -import { Panel, PanelType } from '@fluentui/react/lib/components/Panel'; -import { Label } from '@fluentui/react/lib/components/Label'; +import { Panel, PanelType } from '@fluentui/react/lib/Panel'; +import { Label } from '@fluentui/react/lib/Label'; import { CollectionDataViewer } from './collectionDataViewer'; import { IFieldCollectionDataProps, IFieldCollectionDataState } from "./IFieldCollectionData"; import * as strings from 'ControlStrings'; diff --git a/src/controls/fieldCollectionData/collectionDataItem/CollectionDataItem.tsx b/src/controls/fieldCollectionData/collectionDataItem/CollectionDataItem.tsx index ba4bd76d6..99fbf3c88 100644 --- a/src/controls/fieldCollectionData/collectionDataItem/CollectionDataItem.tsx +++ b/src/controls/fieldCollectionData/collectionDataItem/CollectionDataItem.tsx @@ -2,16 +2,16 @@ import * as React from 'react'; import styles from '../FieldCollectionData.module.scss'; import { ICollectionDataItemProps } from './ICollectionDataItemProps'; import { ICollectionDataItemState } from './ICollectionDataItemState'; -import { TextField } from '@fluentui/react/lib/components/TextField'; -import { Icon } from '@fluentui/react/lib/components/Icon'; -import { Link } from '@fluentui/react/lib/components/Link'; -import { Checkbox } from '@fluentui/react/lib/components/Checkbox'; +import { TextField } from '@fluentui/react/lib/TextField'; +import { Icon } from '@fluentui/react/lib/Icon'; +import { Link } from '@fluentui/react/lib/Link'; +import { Checkbox } from '@fluentui/react/lib/Checkbox'; import * as strings from 'ControlStrings'; import { CustomCollectionFieldType, ICustomCollectionField } from '../ICustomCollectionField'; -import { Dropdown, IDropdownOption } from '@fluentui/react/lib/components/Dropdown'; -import { ComboBox, IComboBoxOption } from '@fluentui/react/lib/components/ComboBox'; +import { Dropdown, IDropdownOption } from '@fluentui/react/lib/Dropdown'; +import { ComboBox, IComboBoxOption } from '@fluentui/react/lib/ComboBox'; import { PeoplePicker, PrincipalType } from "../../peoplepicker"; -import { Callout, DirectionalHint } from '@fluentui/react/lib/components/Callout'; +import { Callout, DirectionalHint } from '@fluentui/react/lib/Callout'; import { CollectionIconField } from '../collectionIconField'; import { clone, findIndex, sortBy } from '@microsoft/sp-lodash-subset'; import { Guid } from '@microsoft/sp-core-library'; diff --git a/src/controls/fieldCollectionData/collectionDataViewer/CollectionDataViewer.tsx b/src/controls/fieldCollectionData/collectionDataViewer/CollectionDataViewer.tsx index c5c3f7661..764b31921 100644 --- a/src/controls/fieldCollectionData/collectionDataViewer/CollectionDataViewer.tsx +++ b/src/controls/fieldCollectionData/collectionDataViewer/CollectionDataViewer.tsx @@ -4,11 +4,11 @@ import { ICollectionDataViewerProps } from './ICollectionDataViewerProps'; import { ICollectionDataViewerState } from './ICollectionDataViewerState'; import { CollectionDataItem } from '../collectionDataItem'; import { PrimaryButton, DefaultButton } from '@fluentui/react/lib/Button'; -import { Icon } from '@fluentui/react/lib/components/Icon'; +import { Icon } from '@fluentui/react/lib/Icon'; import * as strings from 'ControlStrings'; import { cloneDeep, sortBy, isEmpty, findIndex } from '@microsoft/sp-lodash-subset'; import { Pagination } from '../../pagination'; -import { SearchBox } from '@fluentui/react/lib/components/SearchBox'; +import { SearchBox } from '@fluentui/react/lib/SearchBox'; import { Guid } from '@microsoft/sp-core-library'; export class CollectionDataViewer extends React.Component { diff --git a/src/controls/fieldCollectionData/collectionIconField/CollectionIconField.tsx b/src/controls/fieldCollectionData/collectionIconField/CollectionIconField.tsx index b8db38ad9..ab67b85d0 100644 --- a/src/controls/fieldCollectionData/collectionIconField/CollectionIconField.tsx +++ b/src/controls/fieldCollectionData/collectionIconField/CollectionIconField.tsx @@ -1,8 +1,8 @@ import * as React from 'react'; import styles from '../FieldCollectionData.module.scss'; import { ICollectionIconFieldProps } from '.'; -import { TextField } from '@fluentui/react/lib/components/TextField'; -import { Icon } from '@fluentui/react/lib/components/Icon'; +import { TextField } from '@fluentui/react/lib/TextField'; +import { Icon } from '@fluentui/react/lib/Icon'; export class CollectionIconField extends React.Component { diff --git a/src/controls/fields/fieldUserRenderer/FieldUserRenderer.tsx b/src/controls/fields/fieldUserRenderer/FieldUserRenderer.tsx index 02902995d..692e1fd6e 100644 --- a/src/controls/fields/fieldUserRenderer/FieldUserRenderer.tsx +++ b/src/controls/fields/fieldUserRenderer/FieldUserRenderer.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { css } from '@fluentui/react/lib/Utilities'; import clone from 'lodash/clone'; import { IExpandingCardProps } from '@fluentui/react/lib/HoverCard'; -import { DirectionalHint } from '@fluentui/react/lib/common/DirectionalHint'; +import { DirectionalHint } from '@fluentui/react/lib/Callout'; import { Persona, PersonaSize } from '@fluentui/react/lib/Persona'; import { IconButton, Button, ButtonType } from '@fluentui/react/lib/Button'; import { Spinner, SpinnerSize } from '@fluentui/react/lib/Spinner'; diff --git a/src/controls/fileTypeIcon/FileTypeIcon.tsx b/src/controls/fileTypeIcon/FileTypeIcon.tsx index 2e7f8cede..d9467a1ea 100644 --- a/src/controls/fileTypeIcon/FileTypeIcon.tsx +++ b/src/controls/fileTypeIcon/FileTypeIcon.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { findIndex } from '@microsoft/sp-lodash-subset'; import { IFileTypeIconProps, ApplicationType, ApplicationIconList, IconType, IconSizes, ImageSize, IImageResult, ICON_GENERIC_16, ICON_GENERIC_48, ICON_GENERIC_96, ImageInformation } from './IFileTypeIcon'; import * as telemetry from '../../common/telemetry'; -import { Icon } from '@fluentui/react/lib/components/Icon'; +import { Icon } from '@fluentui/react/lib/Icon'; import { ICON_GENERIC_20 } from '.'; const ICON_GENERIC = 'Page'; diff --git a/src/controls/listItemPicker/ListItemPicker.tsx b/src/controls/listItemPicker/ListItemPicker.tsx index 214ff40a3..d4c982976 100644 --- a/src/controls/listItemPicker/ListItemPicker.tsx +++ b/src/controls/listItemPicker/ListItemPicker.tsx @@ -1,14 +1,13 @@ import * as strings from 'ControlStrings'; import * as React from "react"; import SPservice from "../../services/SPService"; -import { TagPicker } from '@fluentui/react/lib/Pickers'; +import { ITag, TagPicker } from '@fluentui/react/lib/Pickers'; import { Label } from "@fluentui/react/lib/Label"; import { getId } from '@fluentui/react/lib/Utilities'; import { IListItemPickerProps } from "./IListItemPickerProps"; import { IListItemPickerState } from "./IListItemPickerState"; import * as telemetry from '../../common/telemetry'; import isEqual from 'lodash/isEqual'; -import { ITag } from '@fluentui/react/lib/components/pickers/TagPicker/TagPicker.types'; import { SPHelper } from '../../common/utilities/SPHelper'; import { Guid } from "@microsoft/sp-core-library" diff --git a/src/controls/listPicker/ListPicker.tsx b/src/controls/listPicker/ListPicker.tsx index 38d273803..5cb6ef0af 100644 --- a/src/controls/listPicker/ListPicker.tsx +++ b/src/controls/listPicker/ListPicker.tsx @@ -1,6 +1,6 @@ import { cloneDeep } from '@microsoft/sp-lodash-subset'; -import { Dropdown, IDropdownOption, IDropdownProps } from '@fluentui/react/lib/components/Dropdown'; -import { Spinner, SpinnerSize } from '@fluentui/react/lib/components/Spinner'; +import { Dropdown, IDropdownOption, IDropdownProps } from '@fluentui/react/lib/Dropdown'; +import { Spinner, SpinnerSize } from '@fluentui/react/lib/Spinner'; import * as React from 'react'; import * as telemetry from '../../common/telemetry'; diff --git a/src/controls/listView/IListView.ts b/src/controls/listView/IListView.ts index 6fed62c20..cd5b1fbd1 100644 --- a/src/controls/listView/IListView.ts +++ b/src/controls/listView/IListView.ts @@ -1,4 +1,4 @@ -import { IColumn, IGroup, SelectionMode, IDetailsRowProps } from '@fluentui/react/lib/components/DetailsList'; +import { IColumn, IGroup, SelectionMode, IDetailsRowProps } from '@fluentui/react/lib/DetailsList'; export { SelectionMode }; diff --git a/src/controls/listView/ListView.tsx b/src/controls/listView/ListView.tsx index 80c5067c0..de3189935 100644 --- a/src/controls/listView/ListView.tsx +++ b/src/controls/listView/ListView.tsx @@ -6,7 +6,7 @@ import { IRenderFunction } from '@fluentui/react/lib/Utilities'; import { mergeStyleSets } from '@fluentui/react/lib/Styling'; import { DetailsList, DetailsListLayoutMode, Selection, SelectionMode, IGroup, IDetailsHeaderProps } from '@fluentui/react/lib/DetailsList'; import { IListViewProps, IListViewState, IViewField, IGrouping, GroupOrder } from './IListView'; -import { IColumn, IGroupRenderProps } from '@fluentui/react/lib/components/DetailsList'; +import { IColumn, IGroupRenderProps } from '@fluentui/react/lib/DetailsList'; import { findIndex, has, sortBy, isEqual, cloneDeep } from '@microsoft/sp-lodash-subset'; import { FileTypeIcon, IconType } from '../fileTypeIcon/index'; import * as strings from 'ControlStrings'; diff --git a/src/controls/map/Map.tsx b/src/controls/map/Map.tsx index 004f55661..531f7e8c7 100644 --- a/src/controls/map/Map.tsx +++ b/src/controls/map/Map.tsx @@ -4,7 +4,7 @@ import styles from './Maps.module.scss'; import { IMapProps } from './IMapProps'; import { IMapState } from './IMapState'; import { ICoordinates, MapType, LocationInfo } from './IMap'; -import { Label } from '@fluentui/react/lib/components/Label'; +import { Label } from '@fluentui/react/lib/Label'; import { Spinner, SpinnerSize } from '@fluentui/react/lib/Spinner'; import { Icon } from "@fluentui/react/lib/Icon"; import { PrimaryButton } from "@fluentui/react/lib/Button"; diff --git a/src/controls/modernTaxonomyPicker/ModernTaxonomyPicker.tsx b/src/controls/modernTaxonomyPicker/ModernTaxonomyPicker.tsx index 08649ecc2..5567b78d7 100644 --- a/src/controls/modernTaxonomyPicker/ModernTaxonomyPicker.tsx +++ b/src/controls/modernTaxonomyPicker/ModernTaxonomyPicker.tsx @@ -11,7 +11,7 @@ import * as strings from 'ControlStrings'; import { DefaultButton, IButtonStyles, IconButton, PrimaryButton } from '@fluentui/react/lib/Button'; -import { IIconProps } from '@fluentui/react/lib/components/Icon'; +import { IIconProps } from '@fluentui/react/lib/Icon'; import { Label } from '@fluentui/react/lib/Label'; import { Panel, diff --git a/src/controls/modernTaxonomyPicker/modernTermPicker/ModernTermPicker.tsx b/src/controls/modernTaxonomyPicker/modernTermPicker/ModernTermPicker.tsx index f133b35f7..152c41207 100644 --- a/src/controls/modernTaxonomyPicker/modernTermPicker/ModernTermPicker.tsx +++ b/src/controls/modernTaxonomyPicker/modernTermPicker/ModernTermPicker.tsx @@ -1,19 +1,17 @@ import React from 'react'; -import { BasePicker } from '@fluentui/react/lib/components/pickers/BasePicker'; import { IModernTermPickerProps, ITermItemProps } from './ModernTermPicker.types'; import { TermItem } from '../termItem/TermItem'; import { TermItemSuggestion } from '../termItem/TermItemSuggestion'; -import { IBasePickerStyleProps, - IBasePickerStyles - } from '@fluentui/react/lib/components/pickers/BasePicker.types'; -import { getStyles } from '@fluentui/react/lib/components/pickers/BasePicker.styles'; + import { initializeComponentRef, styled } from '@fluentui/react/lib/Utilities'; -import { ISuggestionItemProps } from '@fluentui/react/lib/components/pickers/Suggestions/SuggestionsItem.types'; + import { ITermInfo } from '@pnp/sp/taxonomy'; +import { BasePicker, IBasePickerStyleProps, IBasePickerStyles, ISuggestionItemProps } from '@fluentui/react/lib/Pickers'; +import { getStyles } from '@fluentui/react/lib/components/pickers/BasePicker.styles'; export class ModernTermPickerBase extends BasePicker { public static defaultProps = { diff --git a/src/controls/modernTaxonomyPicker/modernTermPicker/ModernTermPicker.types.ts b/src/controls/modernTaxonomyPicker/modernTermPicker/ModernTermPicker.types.ts index 7bcbb1111..65f8b41c6 100644 --- a/src/controls/modernTaxonomyPicker/modernTermPicker/ModernTermPicker.types.ts +++ b/src/controls/modernTaxonomyPicker/modernTermPicker/ModernTermPicker.types.ts @@ -1,9 +1,8 @@ import { ITermInfo, ITermStoreInfo } from '@pnp/sp/taxonomy'; -import { IBasePickerProps } from '@fluentui/react/lib/components/pickers/BasePicker.types'; -import { IPickerItemProps } from '@fluentui/react/lib/components/pickers/PickerItem.types'; import { IStyle, ITheme } from '@fluentui/react/lib/Styling'; import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities'; import { IReadonlyTheme } from '@microsoft/sp-component-base'; +import { IBasePickerProps, IPickerItemProps } from '@fluentui/react/lib/Pickers'; export interface IModernTermPickerProps extends IBasePickerProps { themeVariant?: IReadonlyTheme; diff --git a/src/controls/modernTaxonomyPicker/termItem/TermItem.tsx b/src/controls/modernTaxonomyPicker/termItem/TermItem.tsx index 282dc459c..f02f85e72 100644 --- a/src/controls/modernTaxonomyPicker/termItem/TermItem.tsx +++ b/src/controls/modernTaxonomyPicker/termItem/TermItem.tsx @@ -1,8 +1,9 @@ -import { IconButton } from '@fluentui/react/lib/components/Button/IconButton/IconButton'; + import { classNamesFunction, styled } from '@fluentui/react/lib/Utilities'; import * as React from 'react'; import { ITermItemProps, ITermItemStyleProps, ITermItemStyles } from '../modernTermPicker/ModernTermPicker.types'; import { getStyles } from './TermItem.styles'; +import { IconButton } from '@fluentui/react/lib/Button'; const getClassNames = classNamesFunction(); diff --git a/src/controls/peoplepicker/IPeoplePicker.ts b/src/controls/peoplepicker/IPeoplePicker.ts index c1a90c4c3..04acf9fc9 100644 --- a/src/controls/peoplepicker/IPeoplePicker.ts +++ b/src/controls/peoplepicker/IPeoplePicker.ts @@ -1,6 +1,6 @@ import { BaseComponentContext } from '@microsoft/sp-component-base'; import { IBasePickerStyles, IPersonaProps } from "@fluentui/react"; -import { DirectionalHint } from "@fluentui/react/lib/common/DirectionalHint"; +import { DirectionalHint } from '@fluentui/react/lib/Callout'; import { PrincipalType } from "."; /** diff --git a/src/controls/peoplepicker/PeoplePickerComponent.tsx b/src/controls/peoplepicker/PeoplePickerComponent.tsx index b05bdd137..d90d7a344 100644 --- a/src/controls/peoplepicker/PeoplePickerComponent.tsx +++ b/src/controls/peoplepicker/PeoplePickerComponent.tsx @@ -6,13 +6,12 @@ import SPPeopleSearchService from "../../services/PeopleSearchService"; import { IPeoplePickerProps, IPeoplePickerState } from './IPeoplePicker'; import { TooltipHost } from '@fluentui/react/lib/Tooltip'; import { DirectionalHint } from '@fluentui/react/lib/Callout'; -import { NormalPeoplePicker } from '@fluentui/react/lib/components/pickers/PeoplePicker/PeoplePicker'; -import { Label } from '@fluentui/react/lib/components/Label'; +import { Label } from '@fluentui/react/lib/Label'; import FieldErrorMessage from '../errorMessage/ErrorMessage'; import isEqual from 'lodash/isEqual'; import uniqBy from 'lodash/uniqBy'; import { IPersonaProps } from '@fluentui/react/lib/Persona'; -import { IBasePickerSuggestionsProps } from '@fluentui/react/lib/Pickers'; +import { IBasePickerSuggestionsProps, NormalPeoplePicker} from '@fluentui/react/lib/Pickers'; /** * PeoplePicker component diff --git a/src/controls/placeholder/PlaceholderComponent.tsx b/src/controls/placeholder/PlaceholderComponent.tsx index 961899516..e5fc0fa2b 100644 --- a/src/controls/placeholder/PlaceholderComponent.tsx +++ b/src/controls/placeholder/PlaceholderComponent.tsx @@ -1,7 +1,7 @@ import { ThemeContext } from '@fluentui/react-theme-provider/lib/ThemeContext'; import { Theme } from '@fluentui/react-theme-provider/lib/types'; import { PrimaryButton } from '@fluentui/react/lib/Button'; -import { Icon } from '@fluentui/react/lib/components/Icon'; +import { Icon } from '@fluentui/react/lib/Icon'; import * as React from 'react'; import { IPlaceholderState } from '.'; import * as telemetry from '../../common/telemetry'; diff --git a/src/controls/taxonomyPicker/TaxonomyPicker.tsx b/src/controls/taxonomyPicker/TaxonomyPicker.tsx index 38b5831ed..b91d2297e 100644 --- a/src/controls/taxonomyPicker/TaxonomyPicker.tsx +++ b/src/controls/taxonomyPicker/TaxonomyPicker.tsx @@ -2,7 +2,6 @@ import * as React from 'react'; import { PrimaryButton, DefaultButton, IconButton } from '@fluentui/react/lib/Button'; import { Panel, PanelType } from '@fluentui/react/lib/Panel'; import { Spinner, SpinnerSize } from '@fluentui/react/lib/Spinner'; -import { Autofill } from '@fluentui/react/lib/components/Autofill/Autofill'; import { Label } from '@fluentui/react/lib/Label'; import TermPicker from './TermPicker'; import { IPickerTerms, IPickerTerm } from './ITermPicker'; @@ -18,6 +17,7 @@ import FieldErrorMessage from '../errorMessage/ErrorMessage'; import { initializeIcons } from '@uifabric/icons'; import * as telemetry from '../../common/telemetry'; import { EmptyGuid } from '../../common/Constants'; +import { Autofill } from '@fluentui/react/lib/Autofill'; /** * Image URLs / Base64 diff --git a/src/controls/taxonomyPicker/TermPicker.tsx b/src/controls/taxonomyPicker/TermPicker.tsx index 5843acec6..db00548d3 100644 --- a/src/controls/taxonomyPicker/TermPicker.tsx +++ b/src/controls/taxonomyPicker/TermPicker.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { BasePicker, IBasePickerProps, IInputProps, IPickerItemProps } from '@fluentui/react/lib/Pickers'; +import { Autofill, BasePicker, IBasePickerProps, IInputProps, IPickerItemProps } from '@fluentui/react/lib/Pickers'; import { IPickerTerm, IPickerTerms } from './ITermPicker'; import SPTermStorePickerService from './../../services/SPTermStorePickerService'; import styles from './TaxonomyPicker.module.scss'; @@ -8,7 +8,6 @@ import { BaseComponentContext } from '@microsoft/sp-component-base'; import * as strings from 'ControlStrings'; import { Icon } from '@fluentui/react/lib/Icon'; import { ITermSet } from "../../services/ISPTermStorePickerService"; -import { Autofill } from '@fluentui/react/lib/components/Autofill/Autofill'; import { LegacyRef, KeyboardEvent } from 'react'; export class TermBasePicker extends BasePicker> diff --git a/src/webparts/controlsTest/propertyPane/controls/ListPicker.tsx b/src/webparts/controlsTest/propertyPane/controls/ListPicker.tsx index 3ae5521a0..936a27b2d 100644 --- a/src/webparts/controlsTest/propertyPane/controls/ListPicker.tsx +++ b/src/webparts/controlsTest/propertyPane/controls/ListPicker.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; -import { Dropdown, IDropdownOption } from '@fluentui/react/lib/components/Dropdown'; -import { Spinner } from '@fluentui/react/lib/components/Spinner'; +import { Dropdown, IDropdownOption } from '@fluentui/react/lib/Dropdown'; +import { Spinner } from '@fluentui/react/lib/Spinner'; import { SPHttpClient } from "@microsoft/sp-http"; import { WebPartContext } from '@microsoft/sp-webpart-base'; import { ISPList } from '../../../../common/SPEntities';