Refactor asset types and improve UI primitives

Replaces usage of the Asset type with AssetInput across editor components and hooks for consistency with core types. Adds default dimensions fallback for asset placement logic. Refactors UI primitives (button, sidebar, opacity control) to support forwarding refs and asChild prop, and updates imports for primitives. Updates Radix UI dependencies in package.json and bun.lock.
This commit is contained in:
Aymeric Rabot
2026-01-30 22:01:25 -05:00
parent 5b0682ea54
commit 6c99851006
19 changed files with 272 additions and 142 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"$schema": "https://turborepo.dev/schema.json",
"$schema": "https://v2-8-1.turborepo.dev/schema.json",
"ui": "tui",
"tasks": {
"build": {