main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

16
node_modules/@radix-ui/rect/dist/index.d.mts generated vendored Normal file
View File

@@ -0,0 +1,16 @@
type Measurable = {
getBoundingClientRect(): ClientRect;
};
/**
* Observes an element's rectangle on screen (getBoundingClientRect)
* This is useful to track elements on the screen and attach other elements
* that might be in different layers, etc.
*/
declare function observeElementRect(
/** The element whose rect to observe */
elementToObserve: Measurable,
/** The callback which will be called when the rect changes */
callback: CallbackFn): () => void;
type CallbackFn = (rect: ClientRect) => void;
export { type Measurable, observeElementRect };