Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 47 additions & 1 deletion etc/lime-elements.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,19 @@ export namespace Components {
"labels": Label[];
"value": LabelValue;
}
export interface LimelEmailViewer {
"allowRemoteImages"?: boolean;
"attachments"?: EmailAttachment[];
"bodyHtml"?: string;
"bodyText"?: string;
"cc"?: string;
"date"?: string;
"fallbackUrl"?: string;
"from"?: string;
"language": Languages;
"subject"?: string;
"to"?: string;
}
export interface LimelFile {
"accept": string;
"disabled": boolean;
Expand Down Expand Up @@ -973,6 +986,13 @@ export type EditorTextLink = {
// @beta (undocumented)
export type EditorUiType = 'standard' | 'minimal' | 'no-toolbar';

// @public
export interface EmailAttachment {
filename?: string;
mimeType?: string;
size?: number;
}

// Warning: (ae-missing-release-tag) "EventEmitter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
Expand Down Expand Up @@ -1000,7 +1020,7 @@ export interface FileInfo {
}

// @public (undocumented)
export type FileType = 'pdf' | 'image' | 'video' | 'audio' | 'text' | 'office' | 'unknown';
export type FileType = 'pdf' | 'image' | 'video' | 'audio' | 'text' | 'email' | 'office' | 'unknown';

// @public (undocumented)
export type FlexContainerAlign = 'start' | 'end' | 'center' | 'stretch';
Expand Down Expand Up @@ -1247,6 +1267,8 @@ export namespace JSX {
// (undocumented)
"limel-dynamic-label": LimelDynamicLabel;
// (undocumented)
"limel-email-viewer": LimelEmailViewer;
// (undocumented)
"limel-file": LimelFile;
// (undocumented)
"limel-file-dropzone": LimelFileDropzone;
Expand Down Expand Up @@ -1635,6 +1657,20 @@ export namespace JSX {
"labels"?: Label[];
"value"?: LabelValue;
}
export interface LimelEmailViewer {
"allowRemoteImages"?: boolean;
"attachments"?: EmailAttachment[];
"bodyHtml"?: string;
"bodyText"?: string;
"cc"?: string;
"date"?: string;
"fallbackUrl"?: string;
"from"?: string;
"language"?: Languages;
"onAllowRemoteImagesChange"?: (event: LimelEmailViewerCustomEvent<boolean>) => void;
"subject"?: string;
"to"?: string;
}
export interface LimelFile {
"accept"?: string;
"disabled"?: boolean;
Expand Down Expand Up @@ -2359,6 +2395,16 @@ export interface LimelDockCustomEvent<T> extends CustomEvent<T> {
target: HTMLLimelDockElement;
}

// Warning: (ae-missing-release-tag) "LimelEmailViewerCustomEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface LimelEmailViewerCustomEvent<T> extends CustomEvent<T> {
// (undocumented)
detail: T;
// (undocumented)
target: HTMLLimelEmailViewerElement;
}

// Warning: (ae-missing-release-tag) "LimelFileCustomEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
Expand Down
58 changes: 24 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
"homepage": "https://github.com/Lundalogik/lime-elements#readme",
"packageManager": "npm@>=10.9",
"dependencies": {
"postal-mime": "^2.7.3",
"sortablejs": "^1.15.6"
}
}
Loading