mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 13:23:04 +00:00
feat(studio): a sticker library of 148 hand-drawn illustrations, placed, recoloured and searched by people and the assistant
A new element kind, sticker, draws layered vector illustrations from a library in twelve themes, behind its own entry point @trek/shared/stickers. Studio gets a Stickers rail section (themes, localized search, recently used, click or drag to place) and an inspector for colour slots, mirroring, turning and opacity. The assistant gets list_book_assets, add and style of stickers in edit_book_page, stickers in describe_book_page and an overlap warning for a sticker over words. BOOK_SCHEMA_REV goes to 2.
This commit is contained in:
@@ -51,6 +51,16 @@
|
||||
"default": "./dist/roadtrip/planning.cjs"
|
||||
}
|
||||
},
|
||||
"./stickers": {
|
||||
"import": {
|
||||
"types": "./dist/book/stickers/index.d.mts",
|
||||
"default": "./dist/book/stickers/index.mjs"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/book/stickers/index.d.cts",
|
||||
"default": "./dist/book/stickers/index.cjs"
|
||||
}
|
||||
},
|
||||
"./sanitize": {
|
||||
"import": {
|
||||
"types": "./dist/sanitize/sanitize.d.mts",
|
||||
|
||||
Reference in New Issue
Block a user