@aws/mynah-ui 4.5.4 → 4.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/static.d.ts
CHANGED
|
@@ -213,8 +213,8 @@ export interface ReferenceTrackerInformation {
|
|
|
213
213
|
information: string;
|
|
214
214
|
}
|
|
215
215
|
export type CodeSelectionType = 'selection' | 'block';
|
|
216
|
-
export type OnCopiedToClipboardFunction = (type?: CodeSelectionType, text?: string, referenceTrackerInformation?: ReferenceTrackerInformation[]) => void;
|
|
217
|
-
export type OnInsertToCursorPositionFunction = (type?: CodeSelectionType, text?: string, referenceTrackerInformation?: ReferenceTrackerInformation[]) => void;
|
|
216
|
+
export type OnCopiedToClipboardFunction = (type?: CodeSelectionType, text?: string, referenceTrackerInformation?: ReferenceTrackerInformation[], codeBlockIndex?: number, totalCodeBlocks?: number) => void;
|
|
217
|
+
export type OnInsertToCursorPositionFunction = (type?: CodeSelectionType, text?: string, referenceTrackerInformation?: ReferenceTrackerInformation[], codeBlockIndex?: number, totalCodeBlocks?: number) => void;
|
|
218
218
|
export declare enum RelevancyVoteType {
|
|
219
219
|
UP = "upvote",
|
|
220
220
|
DOWN = "downvote"
|
package/package.json
CHANGED