e43b0103fd
This PR moves our "fractical indices" library into its own package. - [x] `major` — Breaking Change ### Release Notes - [@tldraw/editor] Remove fractional indices code into `@tldraw/indices` - [@tldraw/indices] Create library for fractional indices code
35 lines
884 B
Markdown
35 lines
884 B
Markdown
## API Report File for "@tldraw/indices"
|
|
|
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
|
|
```ts
|
|
|
|
// @public
|
|
export function getIndexAbove(below: string): string;
|
|
|
|
// @public
|
|
export function getIndexBelow(above: string): string;
|
|
|
|
// @public
|
|
export function getIndexBetween(below: string, above?: string): string;
|
|
|
|
// @public
|
|
export function getIndices(n: number, start?: string): string[];
|
|
|
|
// @public
|
|
export function getIndicesAbove(below: string, n: number): string[];
|
|
|
|
// @public
|
|
export function getIndicesBelow(above: string, n: number): string[];
|
|
|
|
// @public
|
|
export function getIndicesBetween(below: string | undefined, above: string | undefined, n: number): string[];
|
|
|
|
// @public
|
|
export function sortByIndex<T extends {
|
|
index: string;
|
|
}>(a: T, b: T): -1 | 0 | 1;
|
|
|
|
// (No @packageDocumentation comment for this package)
|
|
|
|
```
|