fumetto 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +27 -2
- package/dist/embed/agentic-manifest.json +1750 -0
- package/dist/embed/b.js +66 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-400-italic.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-400-normal.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-700-italic.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-700-normal.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-400-italic.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-400-italic.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-400-normal.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-400-normal.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-700-italic.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-700-italic.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-700-normal.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-700-normal.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-ext-400-italic.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-ext-400-normal.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-ext-700-italic.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-ext-700-normal.woff +0 -0
- package/dist/embed/fonts/balsamiq-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/embed/fonts/bangers-latin-400-normal.woff +0 -0
- package/dist/embed/fonts/bangers-latin-400-normal.woff2 +0 -0
- package/dist/embed/fonts/bangers-latin-ext-400-normal.woff +0 -0
- package/dist/embed/fonts/bangers-latin-ext-400-normal.woff2 +0 -0
- package/dist/embed/fonts/bangers-vietnamese-400-normal.woff +0 -0
- package/dist/embed/fonts/bangers-vietnamese-400-normal.woff2 +0 -0
- package/dist/embed/fonts/comic-relief-cyrillic-400-normal.woff +0 -0
- package/dist/embed/fonts/comic-relief-cyrillic-400-normal.woff2 +0 -0
- package/dist/embed/fonts/comic-relief-cyrillic-700-normal.woff +0 -0
- package/dist/embed/fonts/comic-relief-cyrillic-700-normal.woff2 +0 -0
- package/dist/embed/fonts/comic-relief-greek-400-normal.woff +0 -0
- package/dist/embed/fonts/comic-relief-greek-400-normal.woff2 +0 -0
- package/dist/embed/fonts/comic-relief-greek-700-normal.woff +0 -0
- package/dist/embed/fonts/comic-relief-greek-700-normal.woff2 +0 -0
- package/dist/embed/fonts/comic-relief-latin-400-normal.woff +0 -0
- package/dist/embed/fonts/comic-relief-latin-400-normal.woff2 +0 -0
- package/dist/embed/fonts/comic-relief-latin-700-normal.woff +0 -0
- package/dist/embed/fonts/comic-relief-latin-700-normal.woff2 +0 -0
- package/dist/embed/fonts/comic-relief-latin-ext-400-normal.woff +0 -0
- package/dist/embed/fonts/comic-relief-latin-ext-400-normal.woff2 +0 -0
- package/dist/embed/fonts/comic-relief-latin-ext-700-normal.woff +0 -0
- package/dist/embed/fonts/comic-relief-latin-ext-700-normal.woff2 +0 -0
- package/dist/embed/fonts/nunito-cyrillic-ext-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/nunito-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/nunito-cyrillic-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/nunito-cyrillic-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/nunito-latin-ext-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/nunito-latin-ext-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/nunito-latin-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/nunito-latin-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/nunito-vietnamese-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/nunito-vietnamese-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/patrick-hand-latin-400-normal.woff +0 -0
- package/dist/embed/fonts/patrick-hand-latin-400-normal.woff2 +0 -0
- package/dist/embed/fonts/patrick-hand-latin-ext-400-normal.woff +0 -0
- package/dist/embed/fonts/patrick-hand-latin-ext-400-normal.woff2 +0 -0
- package/dist/embed/fonts/patrick-hand-vietnamese-400-normal.woff +0 -0
- package/dist/embed/fonts/patrick-hand-vietnamese-400-normal.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-cyrillic-ext-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-cyrillic-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-cyrillic-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-latin-ext-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-latin-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-latin-wght-normal.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-vietnamese-wght-italic.woff2 +0 -0
- package/dist/embed/fonts/shantell-sans-vietnamese-wght-normal.woff2 +0 -0
- package/dist/embed/fumetto-embed.css +2 -0
- package/dist/embed/fumetto-embed.js +327 -0
- package/dist/model/geometry/frameTree.d.ts +41 -0
- package/dist/model/geometry/frameTree.js +551 -0
- package/dist/model/geometry/gutters.d.ts +41 -0
- package/dist/model/geometry/gutters.js +396 -0
- package/dist/model/geometry/polygon.d.ts +37 -0
- package/dist/model/geometry/polygon.js +528 -0
- package/dist/model/model/index.d.ts +9 -0
- package/dist/model/model/index.js +7 -0
- package/dist/model/model/pageFormats.d.ts +9 -0
- package/dist/model/model/pageFormats.js +88 -0
- package/dist/model/model/presets.d.ts +77 -0
- package/dist/model/model/presets.js +514 -0
- package/dist/model/model/serialization.d.ts +55 -0
- package/dist/model/model/serialization.js +830 -0
- package/dist/model/model/starterComics.d.ts +13 -0
- package/dist/model/model/starterComics.js +1004 -0
- package/dist/model/types/comic.d.ts +187 -0
- package/dist/model/types/comic.js +1 -0
- package/dist/model/types/playback.d.ts +82 -0
- package/dist/model/types/playback.js +1 -0
- package/dist/types/components/Canvas/BubbleItem.d.ts +26 -0
- package/dist/types/components/Canvas/BubbleLayer.d.ts +30 -0
- package/dist/types/components/Canvas/ComicStage.d.ts +58 -0
- package/dist/types/components/Canvas/InkLayer.d.ts +31 -0
- package/dist/types/components/Canvas/KnifeOverlay.d.ts +42 -0
- package/dist/types/components/Canvas/PanelView.d.ts +22 -0
- package/dist/types/components/Canvas/StickerLayer.d.ts +43 -0
- package/dist/types/components/Canvas/TailHandle.d.ts +17 -0
- package/dist/types/components/Editor/CharacterBibleModal.d.ts +14 -0
- package/dist/types/components/Editor/EditorShell.d.ts +46 -0
- package/dist/types/components/Editor/ImportDialog.d.ts +18 -0
- package/dist/types/components/Editor/InspectorPanel.d.ts +15 -0
- package/dist/types/components/Editor/LayoutPickerPopover.d.ts +37 -0
- package/dist/types/components/Editor/PageSidebar.d.ts +12 -0
- package/dist/types/components/Editor/TopBar.d.ts +27 -0
- package/dist/types/components/Editor/editorHelpers.d.ts +39 -0
- package/dist/types/components/Editor/paneSize.d.ts +21 -0
- package/dist/types/components/Playback/PlaybackModal.d.ts +32 -0
- package/dist/types/components/Playback/SpotlightCamera.d.ts +107 -0
- package/dist/types/components/Playback/TransportBar.d.ts +46 -0
- package/dist/types/components/ui/InkCheckbox.d.ts +16 -0
- package/dist/types/components/ui/InkDialog.d.ts +41 -0
- package/dist/types/components/ui/InkModal.d.ts +21 -0
- package/dist/types/components/ui/InkProgress.d.ts +6 -0
- package/dist/types/components/ui/InkSwitch.d.ts +17 -0
- package/dist/types/components/ui/JobProgressOverlay.d.ts +27 -0
- package/dist/types/components/ui/index.d.ts +6 -0
- package/dist/types/configs/fonts.d.ts +36 -0
- package/dist/types/configs/themes.d.ts +31 -0
- package/dist/types/demo/DemoGallery.d.ts +12 -0
- package/dist/types/demo/demoStarters.d.ts +38 -0
- package/dist/types/embed/EmbedRoot.d.ts +38 -0
- package/dist/types/embed/agentic/createAgenticApi.d.ts +77 -0
- package/dist/types/embed/agentic/helpers.d.ts +59 -0
- package/dist/types/embed/agentic/manifestDocs.d.ts +76 -0
- package/dist/types/embed/agentic/qa.d.ts +72 -0
- package/dist/types/embed/agentic/recipes.d.ts +107 -0
- package/dist/types/embed/agentic/types.d.ts +1059 -0
- package/dist/types/embed/agentic/validators.d.ts +58 -0
- package/dist/types/embed/createController.d.ts +36 -0
- package/dist/types/embed/index.d.ts +18 -0
- package/dist/types/embed/localeBridge.d.ts +29 -0
- package/dist/types/embed/mount.d.ts +11 -0
- package/dist/types/embed/types.d.ts +101 -0
- package/dist/types/export/ExportModal.d.ts +28 -0
- package/dist/types/export/exportImage.d.ts +156 -0
- package/dist/types/export/exportPdf.d.ts +61 -0
- package/dist/types/export/exportWireframe.d.ts +51 -0
- package/dist/types/geometry/bubbles.d.ts +114 -0
- package/dist/types/geometry/frameTree.d.ts +41 -0
- package/dist/types/geometry/gutters.d.ts +41 -0
- package/dist/types/geometry/polygon.d.ts +37 -0
- package/dist/types/geometry/tails.d.ts +89 -0
- package/dist/types/geometry/textFit.d.ts +46 -0
- package/dist/types/i18n/cs/index.d.ts +286 -0
- package/dist/types/i18n/en/index.d.ts +286 -0
- package/dist/types/i18n/formatters.d.ts +6 -0
- package/dist/types/i18n/getLL.d.ts +8 -0
- package/dist/types/i18n/i18n-react.d.ts +290 -0
- package/dist/types/i18n/i18n-types.d.ts +2102 -0
- package/dist/types/i18n/i18n-util.d.ts +297 -0
- package/dist/types/i18n/i18n-util.sync.d.ts +4 -0
- package/dist/types/i18n/locale.d.ts +14 -0
- package/dist/types/i18n/pl/index.d.ts +286 -0
- package/dist/types/i18n/sk/index.d.ts +286 -0
- package/dist/types/i18n/useI18n.d.ts +1 -0
- package/dist/types/model/index.d.ts +9 -0
- package/dist/types/model/pageFormats.d.ts +9 -0
- package/dist/types/model/presets.d.ts +77 -0
- package/dist/types/model/serialization.d.ts +55 -0
- package/dist/types/model/starterComics.d.ts +13 -0
- package/dist/types/playback/colorRegions.d.ts +21 -0
- package/dist/types/playback/coloringFilter.d.ts +67 -0
- package/dist/types/playback/cursor.d.ts +15 -0
- package/dist/types/playback/renderer.d.ts +137 -0
- package/dist/types/playback/skeleton.d.ts +55 -0
- package/dist/types/playback/slidesRevealExport.d.ts +75 -0
- package/dist/types/playback/timeline.d.ts +125 -0
- package/dist/types/playback/traceWorker.d.ts +16 -0
- package/dist/types/playback/videoExport.d.ts +70 -0
- package/dist/types/playback/workerClient.d.ts +74 -0
- package/dist/types/playback/xdog.d.ts +146 -0
- package/dist/types/store/comicStore.d.ts +102 -0
- package/dist/types/store/commands.d.ts +527 -0
- package/dist/types/store/history.d.ts +173 -0
- package/dist/types/store/uiStore.d.ts +75 -0
- package/dist/types/types/comic.d.ts +187 -0
- package/dist/types/types/playback.d.ts +82 -0
- package/dist/types/utils/tooltipBindCore.d.ts +16 -0
- package/docs/AGENTIC_BRIDGE.md +198 -0
- package/docs/EMBED.md +229 -0
- package/package.json +142 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Matěj "lofcz" Štágl
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# fumetto
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Educational comic strip and page editor for React. Demo: https://lofcz.github.io/fumetto/
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun add fumetto
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { mountFumetto } from "fumetto";
|
|
15
|
+
import "fumetto/embed.css";
|
|
16
|
+
|
|
17
|
+
const { controller, destroy } = mountFumetto(container, { locale: "en" });
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Development
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
bun install && bun run dev
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## License
|
|
27
|
+
|
|
28
|
+
MIT. See [LICENSE](./LICENSE).
|