-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from Gavant/update-power-select-types
Update power select types
- Loading branch information
Showing
24 changed files
with
386 additions
and
722 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
134 changes: 0 additions & 134 deletions
134
types/@gavant/ember-power-select-infinity/power-select-infinity.d.ts
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
types/@gavant/ember-power-select-infinity/power-select-infinity/for-model.d.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
interface CalculatePositionOptions { | ||
horizontalPosition: string; | ||
verticalPosition: string; | ||
matchTriggerWidth: boolean; | ||
previousHorizontalPosition?: string; | ||
previousVerticalPosition?: string; | ||
renderInPlace: boolean; | ||
dropdown: any; | ||
} | ||
export type CalculatePositionResultStyle = { | ||
top?: number; | ||
left?: number; | ||
right?: number; | ||
width?: number; | ||
height?: number; | ||
[key: string]: string | number | undefined; | ||
}; | ||
export type CalculatePositionResult = { | ||
horizontalPosition: string; | ||
verticalPosition: string; | ||
style: CalculatePositionResultStyle; | ||
}; | ||
export type CalculatePosition = ( | ||
trigger: Element, | ||
content: HTMLElement, | ||
destination: HTMLElement, | ||
options: CalculatePositionOptions | ||
) => CalculatePositionResult; |
Oops, something went wrong.