openpencil/src
Danila Poyarkov 44f6f55b70 Split FillPicker into focused components
FillPicker.vue (504 → 121 lines): dumb tab switcher, no gradient
internals. Delegates entirely to sub-components.

New GradientEditor.vue (227 lines): owns gradient stops, stop bar
with pointer drag, subtype select, and HsvColorArea for active stop.
Uses AppSelect instead of hand-rolled Reka UI Select.

New ImageFillPicker.vue (79 lines): image preview, file picker,
scale mode select via AppSelect.

Each component owns its full concern — no data leaking between them.
Replaced inline SVGs with Lucide icons, use twMerge for tab classes.
2026-03-17 08:22:54 +03:00
..
ai Clean up ACP branch: gate debug log, fix capitalizations, harden types 2026-03-15 18:24:37 +03:00
assets Fix per-character text fill colors and vector region loop direction (#95) 2026-03-12 18:28:04 +03:00
automation Add random.ts helpers, replace all raw crypto.getRandomValues calls 2026-03-16 14:13:36 +03:00
components Split FillPicker into focused components 2026-03-17 08:22:54 +03:00
composables Remove re-export shims, import directly from @open-pencil/vue 2026-03-17 08:10:05 +03:00
engine Remove re-export shims and import types directly from core 2026-03-09 08:56:47 +03:00
shims Remove shiki shim — handled by forked vue-stream-markdown 2026-03-15 16:40:38 +03:00
stores Remove re-export shims, import directly from @open-pencil/vue 2026-03-17 08:10:05 +03:00
utils Refactor mobile drawer: use VueUse composables, unify panels 2026-03-05 22:13:24 +03:00
views Use collab injection in MobileHud instead of prop drilling 2026-03-16 13:27:17 +03:00
app.css Add random.ts helpers, replace all raw crypto.getRandomValues calls 2026-03-16 14:13:36 +03:00
App.vue Remove re-export shims, import directly from @open-pencil/vue 2026-03-17 08:10:05 +03:00
constants.ts Extract createEditor() to packages/core/src/editor/ folder 2026-03-16 15:14:50 +03:00
demo.ts Delete re-export shims, import from @open-pencil/core directly 2026-03-06 21:42:56 +03:00
env.d.ts Eliminate as Record<string, unknown> casts 2026-03-06 21:43:32 +03:00
global.d.ts Fix all 135 vue-tsc errors, promote to check gate 2026-03-16 22:21:21 +03:00
main.ts Fix all type-aware lint warnings 2026-03-08 23:04:44 +03:00
router.d.ts Move demo to /demo route, add @unhead/vue for title management 2026-03-06 20:54:48 +03:00
router.ts Move demo to /demo route, add @unhead/vue for title management 2026-03-06 20:54:48 +03:00