From 8532dc80266a98b388d4e043852d218e03c181d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3jcik?= <58668583+Adam-it@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:45:06 +0000 Subject: [PATCH] Adds UserPicker control documentation and export functionality --- docs/documentation/docs/controls/UserPicker.md | 2 -- docs/documentation/mkdocs.yml | 2 ++ src/UserPicker.ts | 1 + src/controls/userPicker/index.ts | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 src/UserPicker.ts diff --git a/docs/documentation/docs/controls/UserPicker.md b/docs/documentation/docs/controls/UserPicker.md index a9592ff15..9ca394bb4 100644 --- a/docs/documentation/docs/controls/UserPicker.md +++ b/docs/documentation/docs/controls/UserPicker.md @@ -2,8 +2,6 @@ This control allows you to select one or more user from a AAD via its name or starting characters. -! - **Empty user picker** ![Empty user picker](../assets/userPicker03.png) diff --git a/docs/documentation/mkdocs.yml b/docs/documentation/mkdocs.yml index 8b5b36802..e27f7eff4 100644 --- a/docs/documentation/mkdocs.yml +++ b/docs/documentation/mkdocs.yml @@ -43,6 +43,7 @@ nav: - IconPicker: 'controls/IconPicker.md' - IFrameDialog: 'controls/IFrameDialog.md' - IFramePanel: 'controls/IFramePanel.md' + - ImagePicker: 'controls/ImagePicker.md' - ListItemAttachments: 'controls/ListItemAttachments.md' - ListItemComments: 'controls/ListItemComments.md' - ListItemPicker: 'controls/ListItemPicker.md' @@ -73,6 +74,7 @@ nav: - Toolbar: 'controls/Toolbar.md' - TreeView: 'controls/TreeView.md' - UploadFiles: 'controls/UploadFiles.md' + - UserPicker: 'controls/UserPicker.md' - VariantThemeProvider: 'controls/VariantThemeProvider.md' - ViewPicker: 'controls/ViewPicker.md' - WebPartTitle: 'controls/WebPartTitle.md' diff --git a/src/UserPicker.ts b/src/UserPicker.ts new file mode 100644 index 000000000..5424d225e --- /dev/null +++ b/src/UserPicker.ts @@ -0,0 +1 @@ +export * from './controls/userPicker/index'; diff --git a/src/controls/userPicker/index.ts b/src/controls/userPicker/index.ts index aa4552e19..fd16a7175 100644 --- a/src/controls/userPicker/index.ts +++ b/src/controls/userPicker/index.ts @@ -1,3 +1,3 @@ export * from './IUserPickerProps'; export * from './UserPicker'; - +export * from './models/IUserInfo'; \ No newline at end of file