feat(primitives): media-editor components, category reorg, perf + type cleanup
Reorganize components into category folders (forms/canvas/overlays/etc.); add the media-editor headless family (timeline, curve-editor, waveform, crop, color picker, etc.); apply perf fixes (O(1) collection lookups, plain-object drag state, gesture-leak teardown, shallowRef color state, rect caching) and replace source `any` with proper types.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Custom DOM event dispatched on `document` whenever any tooltip opens.
|
||||
* Other open tooltips listen for it and close themselves so that only one
|
||||
* tooltip is visible at a time without coupling them via a global registry.
|
||||
*/
|
||||
export const TOOLTIP_OPEN_EVENT = 'tooltip.open';
|
||||
|
||||
export type TooltipState = 'closed' | 'delayed-open' | 'instant-open';
|
||||
Reference in New Issue
Block a user