@microsoft/mgt-react
Advanced tools
Comparing version 2.2.0-next.file.e40e43b to 2.2.0-next.file-picker.bcc3b0d
@@ -19,2 +19,21 @@ /// <reference types="react" /> | ||
}; | ||
export declare type FileListProps = { | ||
fileListQuery?: string; | ||
fileQueries?: string[]; | ||
files?: MicrosoftGraph.DriveItem[]; | ||
siteId?: string; | ||
driveId?: string; | ||
groupId?: string; | ||
itemId?: string; | ||
itemPath?: string; | ||
userId?: string; | ||
insightType?: OfficeGraphInsightString; | ||
isExpanded?: boolean; | ||
selectedItem?: MicrosoftGraph.DriveItem; | ||
showMax?: number; | ||
renderOnScroll?: number; | ||
templateContext?: TemplateContext; | ||
mediaQuery?: ComponentMediaQuery; | ||
fileSelected?: (e: Event) => void; | ||
}; | ||
export declare type FileProps = { | ||
@@ -70,2 +89,3 @@ fileQuery?: string; | ||
people?: IDynamicPerson[]; | ||
selectedPeople?: IDynamicPerson[]; | ||
defaultSelectedUserIds?: string[]; | ||
@@ -75,3 +95,2 @@ placeholder?: string; | ||
showMax?: number; | ||
selectedPeople?: IDynamicPerson[]; | ||
disabled?: boolean; | ||
@@ -166,2 +185,3 @@ templateContext?: TemplateContext; | ||
export declare const Agenda: import("react").FC<AgendaProps & import("react").HTMLAttributes<any>>; | ||
export declare const FileList: import("react").FC<FileListProps & import("react").HTMLAttributes<any>>; | ||
export declare const File: import("react").FC<FileProps & import("react").HTMLAttributes<any>>; | ||
@@ -168,0 +188,0 @@ export declare const Get: import("react").FC<GetProps & import("react").HTMLAttributes<any>>; |
import { wrapMgt } from '../Mgt'; | ||
export const Agenda = wrapMgt('mgt-agenda'); | ||
export const FileList = wrapMgt('mgt-file-list'); | ||
export const File = wrapMgt('mgt-file'); | ||
@@ -4,0 +5,0 @@ export const Get = wrapMgt('mgt-get'); |
{ | ||
"name": "@microsoft/mgt-react", | ||
"version": "2.2.0-next.file.e40e43b", | ||
"version": "2.2.0-next.file-picker.bcc3b0d", | ||
"description": "Microsoft Graph Toolkit React wrapper class", | ||
@@ -34,5 +34,5 @@ "author": "Microsoft", | ||
"dependencies": { | ||
"@microsoft/mgt-components": "2.2.0-next.file.e40e43b", | ||
"@microsoft/mgt-element": "2.2.0-next.file.e40e43b", | ||
"@microsoft/microsoft-graph-types": "^1.28.0", | ||
"@microsoft/mgt-components": "2.2.0-next.file-picker.bcc3b0d", | ||
"@microsoft/mgt-element": "2.2.0-next.file-picker.bcc3b0d", | ||
"@microsoft/microsoft-graph-types": "^1.31.0", | ||
"@microsoft/microsoft-graph-types-beta": "github:microsoftgraph/msgraph-typescript-typings#beta", | ||
@@ -39,0 +39,0 @@ "wc-react": "^0.4.0" |
@@ -21,2 +21,22 @@ import { OfficeGraphInsightString,ViewType,ResponseType,IDynamicPerson,PersonType,GroupType,PersonCardInteraction,MgtPersonConfig,AvatarSize,PersonViewType,TasksStringResource,TasksSource,TaskFilter,SelectedChannel,TodoFilter } from '@microsoft/mgt-components'; | ||
export type FileListProps = { | ||
fileListQuery?: string; | ||
fileQueries?: string[]; | ||
files?: MicrosoftGraph.DriveItem[]; | ||
siteId?: string; | ||
driveId?: string; | ||
groupId?: string; | ||
itemId?: string; | ||
itemPath?: string; | ||
userId?: string; | ||
insightType?: OfficeGraphInsightString; | ||
isExpanded?: boolean; | ||
selectedItem?: MicrosoftGraph.DriveItem; | ||
showMax?: number; | ||
renderOnScroll?: number; | ||
templateContext?: TemplateContext; | ||
mediaQuery?: ComponentMediaQuery; | ||
fileSelected?: (e: Event) => void; | ||
} | ||
export type FileProps = { | ||
@@ -75,2 +95,3 @@ fileQuery?: string; | ||
people?: IDynamicPerson[]; | ||
selectedPeople?: IDynamicPerson[]; | ||
defaultSelectedUserIds?: string[]; | ||
@@ -80,3 +101,2 @@ placeholder?: string; | ||
showMax?: number; | ||
selectedPeople?: IDynamicPerson[]; | ||
disabled?: boolean; | ||
@@ -179,2 +199,4 @@ templateContext?: TemplateContext; | ||
export const FileList = wrapMgt<FileListProps>('mgt-file-list'); | ||
export const File = wrapMgt<FileProps>('mgt-file'); | ||
@@ -181,0 +203,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
54317
760
+ Added@microsoft/mgt-components@2.2.0-next.file-picker.bcc3b0d(transitive)
+ Added@microsoft/mgt-element@2.2.0-next.file-picker.bcc3b0d(transitive)
- Removed@microsoft/mgt-components@2.2.0-next.file.e40e43b(transitive)
- Removed@microsoft/mgt-element@2.2.0-next.file.e40e43b(transitive)
Updated@microsoft/mgt-components@2.2.0-next.file-picker.bcc3b0d
Updated@microsoft/mgt-element@2.2.0-next.file-picker.bcc3b0d