openpencil/src
Danila Poyarkov 92857aed45 Add LayoutControlsRoot SDK primitive, LayoutSection 556→119 lines
New SDK component LayoutControls/LayoutControlsRoot.vue (189 lines):
- Layout sizing logic (width/height sizing, flex vs auto-layout vs grid)
- Alignment grid computation (3x3 for flex)
- Grid track CRUD (add/remove/update columns and rows)
- Padding management (uniform + per-side toggle)
- Sizing options derived from layout context

App LayoutSection.vue is now template-only (119 lines) — composes
LayoutControlsRoot with Tailwind styling + Lucide icons.
2026-03-17 12:10:27 +03:00
..
ai Deduplicate: 47 → 28 clones, 1.37% → 0.61% duplication 2026-03-17 11:10:11 +03:00
assets Fix per-character text fill colors and vector region loop direction (#95) 2026-03-12 18:28:04 +03:00
automation Deduplicate: 47 → 28 clones, 1.37% → 0.61% duplication 2026-03-17 11:10:11 +03:00
components Add LayoutControlsRoot SDK primitive, LayoutSection 556→119 lines 2026-03-17 12:10:27 +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 Deduplicate: 47 → 28 clones, 1.37% → 0.61% duplication 2026-03-17 11:10:11 +03:00
utils Deduplicate: 47 → 28 clones, 1.37% → 0.61% duplication 2026-03-17 11:10:11 +03:00
views Adopt Reka UI Tooltip/ToggleGroup, VueUse useClipboard 2026-03-17 11:30:25 +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