From db2a91d8f9b2f5e0f6a33c2e86d7ea069be97f19 Mon Sep 17 00:00:00 2001 From: Kiarokh Moattar Date: Fri, 20 Dec 2024 10:29:52 +0100 Subject: [PATCH] feat(file-viewer): publicly release as a `beta` --- etc/lime-elements.api.md | 4 ++++ src/components/file-viewer/file-viewer.tsx | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/lime-elements.api.md b/etc/lime-elements.api.md index 1b4c5ebfe7..85a936eabe 100644 --- a/etc/lime-elements.api.md +++ b/etc/lime-elements.api.md @@ -386,6 +386,7 @@ export namespace Components { "disabled": boolean; "multiple": boolean; } + // @beta export interface LimelFileViewer { "actions": ListItem[]; "allowDownload"?: boolean; @@ -1041,6 +1042,8 @@ namespace JSX_2 { "limel-file-dropzone": LimelFileDropzone; // (undocumented) "limel-file-input": LimelFileInput; + // Warning: (ae-incompatible-release-tags) The symbol ""limel-file-viewer"" is marked as @public, but its signature references "JSX_2" which is marked as @beta + // // (undocumented) "limel-file-viewer": LimelFileViewer; // (undocumented) @@ -1398,6 +1401,7 @@ namespace JSX_2 { "multiple"?: boolean; "onFilesSelected"?: (event: LimelFileInputCustomEvent) => void; } + // @beta interface LimelFileViewer { "actions"?: ListItem[]; "allowDownload"?: boolean; diff --git a/src/components/file-viewer/file-viewer.tsx b/src/components/file-viewer/file-viewer.tsx index f1acb78235..1373a57fea 100644 --- a/src/components/file-viewer/file-viewer.tsx +++ b/src/components/file-viewer/file-viewer.tsx @@ -43,7 +43,8 @@ import { LimelMenuCustomEvent } from '../../components'; * @exampleComponent limel-example-file-viewer-inbuilt-actions * @exampleComponent limel-example-file-viewer-custom-actions * @exampleComponent limel-example-file-viewer-with-picker - * @private + * + * @beta */ @Component({