@moonwitness/ui 0.1.0 → 7.1.1
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/CHANGELOG.md +18 -0
- package/LICENSE +21 -0
- package/README.md +135 -260
- package/TOKENS.md +62 -0
- package/dist/cartoon/anime-avatar.d.ts +8 -0
- package/dist/cartoon/anime-avatar.js +135 -0
- package/dist/cartoon/anime-stage.d.ts +67 -0
- package/dist/cartoon/anime-stage.js +106 -0
- package/dist/cartoon/index.d.ts +113 -0
- package/dist/cartoon/index.js +119 -0
- package/dist/cartoon.d.ts +59 -0
- package/dist/cartoon.js +238 -0
- package/dist/characters.d.ts +71 -0
- package/dist/characters.js +543 -0
- package/dist/components/accordion.d.ts +11 -0
- package/dist/components/accordion.js +26 -0
- package/dist/components/alert.d.ts +14 -0
- package/dist/components/alert.js +36 -0
- package/dist/components/appearance-menu.d.ts +22 -0
- package/dist/components/appearance-menu.js +64 -0
- package/dist/components/artwork-frame.d.ts +10 -0
- package/dist/components/artwork-frame.js +12 -0
- package/dist/components/audio.d.ts +19 -0
- package/dist/components/audio.js +49 -0
- package/dist/components/avatar.d.ts +9 -0
- package/dist/components/avatar.js +28 -0
- package/dist/components/badge.d.ts +12 -0
- package/dist/components/badge.js +21 -0
- package/dist/components/brand-mark.d.ts +13 -0
- package/dist/components/brand-mark.js +32 -0
- package/dist/components/breadcrumbs.d.ts +15 -0
- package/dist/components/breadcrumbs.js +25 -0
- package/dist/components/button.d.ts +17 -0
- package/dist/components/button.js +119 -0
- package/dist/components/card.d.ts +20 -0
- package/dist/components/card.js +57 -0
- package/dist/components/character-badge.d.ts +9 -0
- package/dist/components/character-badge.js +19 -0
- package/dist/components/character-preview.d.ts +10 -0
- package/dist/components/character-preview.js +47 -0
- package/dist/components/character-stage.d.ts +54 -0
- package/dist/components/character-stage.js +38 -0
- package/dist/components/chart.d.ts +36 -0
- package/dist/components/chart.js +154 -0
- package/dist/components/checkbox.d.ts +7 -0
- package/dist/components/checkbox.js +15 -0
- package/dist/components/comic-panel.d.ts +17 -0
- package/dist/components/comic-panel.js +118 -0
- package/dist/components/comic-theater.d.ts +19 -0
- package/dist/components/comic-theater.js +54 -0
- package/dist/components/command.d.ts +32 -0
- package/dist/components/command.js +56 -0
- package/dist/components/confirm-dialog.d.ts +19 -0
- package/dist/components/confirm-dialog.js +32 -0
- package/dist/components/copy-button.d.ts +14 -0
- package/dist/components/copy-button.js +17 -0
- package/dist/components/date-picker.d.ts +21 -0
- package/dist/components/date-picker.js +45 -0
- package/dist/components/dialog.d.ts +20 -0
- package/dist/components/dialog.js +51 -0
- package/dist/components/dna-icon.d.ts +24 -0
- package/dist/components/dna-icon.js +14 -0
- package/dist/components/dropdown-menu.d.ts +13 -0
- package/dist/components/dropdown-menu.js +26 -0
- package/dist/components/effects.d.ts +143 -0
- package/dist/components/effects.js +248 -0
- package/dist/components/empty-state.d.ts +15 -0
- package/dist/components/empty-state.js +18 -0
- package/dist/components/epistemic-branch-panel.d.ts +10 -0
- package/dist/components/epistemic-branch-panel.js +45 -0
- package/dist/components/error-state.d.ts +20 -0
- package/dist/components/error-state.js +44 -0
- package/dist/components/field.d.ts +13 -0
- package/dist/components/field.js +35 -0
- package/dist/components/filter-facet-bar.d.ts +15 -0
- package/dist/components/filter-facet-bar.js +38 -0
- package/dist/components/inbox-popover.d.ts +28 -0
- package/dist/components/inbox-popover.js +14 -0
- package/dist/components/input.d.ts +7 -0
- package/dist/components/input.js +8 -0
- package/dist/components/kanban-board.d.ts +21 -0
- package/dist/components/kanban-board.js +38 -0
- package/dist/components/label.d.ts +6 -0
- package/dist/components/label.js +7 -0
- package/dist/components/layered-scene.d.ts +74 -0
- package/dist/components/layered-scene.js +316 -0
- package/dist/components/log-console.d.ts +29 -0
- package/dist/components/log-console.js +82 -0
- package/dist/components/metric-tile.d.ts +15 -0
- package/dist/components/metric-tile.js +30 -0
- package/dist/components/mode-picker.d.ts +9 -0
- package/dist/components/mode-picker.js +72 -0
- package/dist/components/motion-timeline.d.ts +56 -0
- package/dist/components/motion-timeline.js +215 -0
- package/dist/components/number-input.d.ts +29 -0
- package/dist/components/number-input.js +45 -0
- package/dist/components/page-header.d.ts +16 -0
- package/dist/components/page-header.js +48 -0
- package/dist/components/pagination.d.ts +10 -0
- package/dist/components/pagination.js +17 -0
- package/dist/components/panel.d.ts +18 -0
- package/dist/components/panel.js +28 -0
- package/dist/components/paper-note.d.ts +6 -0
- package/dist/components/paper-note.js +35 -0
- package/dist/components/popover.d.ts +11 -0
- package/dist/components/popover.js +29 -0
- package/dist/components/progress.d.ts +17 -0
- package/dist/components/progress.js +26 -0
- package/dist/components/quest-card.d.ts +82 -0
- package/dist/components/quest-card.js +89 -0
- package/dist/components/radio-group.d.ts +8 -0
- package/dist/components/radio-group.js +23 -0
- package/dist/components/riot-sticker.d.ts +28 -0
- package/dist/components/riot-sticker.js +61 -0
- package/dist/components/scene-particles.d.ts +31 -0
- package/dist/components/scene-particles.js +90 -0
- package/dist/components/scene-transitions.d.ts +16 -0
- package/dist/components/scene-transitions.js +51 -0
- package/dist/components/section-ribbon.d.ts +17 -0
- package/dist/components/section-ribbon.js +21 -0
- package/dist/components/select-field.d.ts +7 -0
- package/dist/components/select-field.js +8 -0
- package/dist/components/select.d.ts +14 -0
- package/dist/components/select.js +22 -0
- package/dist/components/separator.d.ts +9 -0
- package/dist/components/separator.js +12 -0
- package/dist/components/sheet.d.ts +14 -0
- package/dist/components/sheet.js +39 -0
- package/dist/components/skeleton.d.ts +7 -0
- package/dist/components/skeleton.js +11 -0
- package/dist/components/sketch-annotation.d.ts +22 -0
- package/dist/components/sketch-annotation.js +21 -0
- package/dist/components/smart-button-box.d.ts +24 -0
- package/dist/components/smart-button-box.js +26 -0
- package/dist/components/speech-bubble.d.ts +33 -0
- package/dist/components/speech-bubble.js +18 -0
- package/dist/components/spinner.d.ts +11 -0
- package/dist/components/spinner.js +10 -0
- package/dist/components/sprite-player.d.ts +50 -0
- package/dist/components/sprite-player.js +230 -0
- package/dist/components/status-bar.d.ts +14 -0
- package/dist/components/status-bar.js +16 -0
- package/dist/components/status-pill.d.ts +11 -0
- package/dist/components/status-pill.js +20 -0
- package/dist/components/switch.d.ts +15 -0
- package/dist/components/switch.js +16 -0
- package/dist/components/table.d.ts +15 -0
- package/dist/components/table.js +66 -0
- package/dist/components/tabs.d.ts +11 -0
- package/dist/components/tabs.js +24 -0
- package/dist/components/tag-input.d.ts +17 -0
- package/dist/components/tag-input.js +79 -0
- package/dist/components/textarea.d.ts +7 -0
- package/dist/components/textarea.js +8 -0
- package/dist/components/toast.d.ts +7 -0
- package/dist/components/toast.js +8 -0
- package/dist/components/toolbar.d.ts +8 -0
- package/dist/components/toolbar.js +11 -0
- package/dist/components/tooltip.d.ts +9 -0
- package/dist/components/tooltip.js +18 -0
- package/dist/components/update-banner.d.ts +14 -0
- package/dist/components/update-banner.js +39 -0
- package/dist/components/xv-primitives.d.ts +63 -0
- package/dist/components/xv-primitives.js +53 -0
- package/dist/dna.d.ts +26 -0
- package/dist/dna.js +79 -0
- package/dist/game/boss-hud.d.ts +73 -0
- package/dist/game/boss-hud.js +78 -0
- package/dist/game/index.d.ts +194 -0
- package/dist/game/index.js +222 -0
- package/dist/game/tactical.d.ts +41 -0
- package/dist/game/tactical.js +46 -0
- package/dist/game.d.ts +95 -0
- package/dist/game.js +263 -0
- package/dist/icons/activity.d.ts +7 -0
- package/dist/icons/activity.js +8 -0
- package/dist/icons/add.d.ts +7 -0
- package/dist/icons/add.js +8 -0
- package/dist/icons/addon.d.ts +7 -0
- package/dist/icons/addon.js +8 -0
- package/dist/icons/anime-anger.d.ts +7 -0
- package/dist/icons/anime-anger.js +8 -0
- package/dist/icons/anime-shock.d.ts +7 -0
- package/dist/icons/anime-shock.js +8 -0
- package/dist/icons/anime-sparkle.d.ts +7 -0
- package/dist/icons/anime-sparkle.js +8 -0
- package/dist/icons/anime-sweatdrop.d.ts +7 -0
- package/dist/icons/anime-sweatdrop.js +8 -0
- package/dist/icons/archive.d.ts +7 -0
- package/dist/icons/archive.js +8 -0
- package/dist/icons/arrow-left.d.ts +7 -0
- package/dist/icons/arrow-left.js +8 -0
- package/dist/icons/arrow-right.d.ts +7 -0
- package/dist/icons/arrow-right.js +8 -0
- package/dist/icons/attachment.d.ts +7 -0
- package/dist/icons/attachment.js +8 -0
- package/dist/icons/bank.d.ts +7 -0
- package/dist/icons/bank.js +8 -0
- package/dist/icons/bolt.d.ts +7 -0
- package/dist/icons/bolt.js +8 -0
- package/dist/icons/book-open.d.ts +7 -0
- package/dist/icons/book-open.js +8 -0
- package/dist/icons/bookmark.d.ts +7 -0
- package/dist/icons/bookmark.js +8 -0
- package/dist/icons/boss-skull.d.ts +7 -0
- package/dist/icons/boss-skull.js +8 -0
- package/dist/icons/calendar-clock.d.ts +7 -0
- package/dist/icons/calendar-clock.js +8 -0
- package/dist/icons/calendar.d.ts +7 -0
- package/dist/icons/calendar.js +8 -0
- package/dist/icons/check-circle.d.ts +7 -0
- package/dist/icons/check-circle.js +8 -0
- package/dist/icons/check-square.d.ts +7 -0
- package/dist/icons/check-square.js +8 -0
- package/dist/icons/check.d.ts +7 -0
- package/dist/icons/check.js +8 -0
- package/dist/icons/chevron-right.d.ts +7 -0
- package/dist/icons/chevron-right.js +8 -0
- package/dist/icons/chevrons-left.d.ts +7 -0
- package/dist/icons/chevrons-left.js +8 -0
- package/dist/icons/chevrons-right.d.ts +7 -0
- package/dist/icons/chevrons-right.js +8 -0
- package/dist/icons/clapperboard.d.ts +7 -0
- package/dist/icons/clapperboard.js +8 -0
- package/dist/icons/clock.d.ts +7 -0
- package/dist/icons/clock.js +8 -0
- package/dist/icons/close.d.ts +7 -0
- package/dist/icons/close.js +8 -0
- package/dist/icons/code.d.ts +7 -0
- package/dist/icons/code.js +8 -0
- package/dist/icons/columns.d.ts +7 -0
- package/dist/icons/columns.js +8 -0
- package/dist/icons/combo-flame.d.ts +7 -0
- package/dist/icons/combo-flame.js +8 -0
- package/dist/icons/company.d.ts +7 -0
- package/dist/icons/company.js +8 -0
- package/dist/icons/credit-card.d.ts +7 -0
- package/dist/icons/credit-card.js +8 -0
- package/dist/icons/critical-star.d.ts +7 -0
- package/dist/icons/critical-star.js +8 -0
- package/dist/icons/currency.d.ts +7 -0
- package/dist/icons/currency.js +8 -0
- package/dist/icons/delete.d.ts +7 -0
- package/dist/icons/delete.js +8 -0
- package/dist/icons/document.d.ts +7 -0
- package/dist/icons/document.js +8 -0
- package/dist/icons/download.d.ts +7 -0
- package/dist/icons/download.js +8 -0
- package/dist/icons/dpad.d.ts +7 -0
- package/dist/icons/dpad.js +8 -0
- package/dist/icons/edit.d.ts +7 -0
- package/dist/icons/edit.js +8 -0
- package/dist/icons/element-fire.d.ts +7 -0
- package/dist/icons/element-fire.js +8 -0
- package/dist/icons/element-ice.d.ts +7 -0
- package/dist/icons/element-ice.js +8 -0
- package/dist/icons/element-solar.d.ts +7 -0
- package/dist/icons/element-solar.js +8 -0
- package/dist/icons/element-void.d.ts +7 -0
- package/dist/icons/element-void.js +8 -0
- package/dist/icons/element-volt.d.ts +7 -0
- package/dist/icons/element-volt.js +8 -0
- package/dist/icons/element-wind.d.ts +7 -0
- package/dist/icons/element-wind.js +8 -0
- package/dist/icons/error.d.ts +7 -0
- package/dist/icons/error.js +8 -0
- package/dist/icons/external-link.d.ts +7 -0
- package/dist/icons/external-link.js +8 -0
- package/dist/icons/field.d.ts +7 -0
- package/dist/icons/field.js +8 -0
- package/dist/icons/file-spreadsheet.d.ts +7 -0
- package/dist/icons/file-spreadsheet.js +8 -0
- package/dist/icons/filter.d.ts +7 -0
- package/dist/icons/filter.js +8 -0
- package/dist/icons/gacha-ticket.d.ts +7 -0
- package/dist/icons/gacha-ticket.js +8 -0
- package/dist/icons/gamepad.d.ts +7 -0
- package/dist/icons/gamepad.js +8 -0
- package/dist/icons/globe.d.ts +7 -0
- package/dist/icons/globe.js +8 -0
- package/dist/icons/grid.d.ts +7 -0
- package/dist/icons/grid.js +8 -0
- package/dist/icons/hash.d.ts +7 -0
- package/dist/icons/hash.js +8 -0
- package/dist/icons/heart-hp.d.ts +7 -0
- package/dist/icons/heart-hp.js +8 -0
- package/dist/icons/history.d.ts +7 -0
- package/dist/icons/history.js +8 -0
- package/dist/icons/home.d.ts +7 -0
- package/dist/icons/home.js +8 -0
- package/dist/icons/image.d.ts +7 -0
- package/dist/icons/image.js +8 -0
- package/dist/icons/impact-slash.d.ts +7 -0
- package/dist/icons/impact-slash.js +8 -0
- package/dist/icons/inbox.d.ts +7 -0
- package/dist/icons/inbox.js +8 -0
- package/dist/icons/index.d.ts +120 -0
- package/dist/icons/index.js +120 -0
- package/dist/icons/info.d.ts +7 -0
- package/dist/icons/info.js +8 -0
- package/dist/icons/jobs.d.ts +7 -0
- package/dist/icons/jobs.js +8 -0
- package/dist/icons/katana.d.ts +7 -0
- package/dist/icons/katana.js +8 -0
- package/dist/icons/key.d.ts +7 -0
- package/dist/icons/key.js +8 -0
- package/dist/icons/keyboard.d.ts +7 -0
- package/dist/icons/keyboard.js +8 -0
- package/dist/icons/keyframe-diamond.d.ts +7 -0
- package/dist/icons/keyframe-diamond.js +8 -0
- package/dist/icons/knowledge.d.ts +7 -0
- package/dist/icons/knowledge.js +8 -0
- package/dist/icons/language.d.ts +7 -0
- package/dist/icons/language.js +8 -0
- package/dist/icons/lock.d.ts +7 -0
- package/dist/icons/lock.js +8 -0
- package/dist/icons/logout.d.ts +7 -0
- package/dist/icons/logout.js +8 -0
- package/dist/icons/loot-chest.d.ts +7 -0
- package/dist/icons/loot-chest.js +8 -0
- package/dist/icons/mail.d.ts +7 -0
- package/dist/icons/mail.js +8 -0
- package/dist/icons/mana-crystal.d.ts +7 -0
- package/dist/icons/mana-crystal.js +8 -0
- package/dist/icons/map-pin.d.ts +7 -0
- package/dist/icons/map-pin.js +8 -0
- package/dist/icons/mecha-helm.d.ts +7 -0
- package/dist/icons/mecha-helm.js +8 -0
- package/dist/icons/menu.d.ts +7 -0
- package/dist/icons/menu.js +8 -0
- package/dist/icons/message.d.ts +7 -0
- package/dist/icons/message.js +8 -0
- package/dist/icons/model.d.ts +7 -0
- package/dist/icons/model.js +8 -0
- package/dist/icons/moon.d.ts +7 -0
- package/dist/icons/moon.js +8 -0
- package/dist/icons/notification.d.ts +7 -0
- package/dist/icons/notification.js +8 -0
- package/dist/icons/partner.d.ts +7 -0
- package/dist/icons/partner.js +8 -0
- package/dist/icons/pause.d.ts +7 -0
- package/dist/icons/pause.js +8 -0
- package/dist/icons/phone.d.ts +7 -0
- package/dist/icons/phone.js +8 -0
- package/dist/icons/play.d.ts +7 -0
- package/dist/icons/play.js +8 -0
- package/dist/icons/potion-flask.d.ts +7 -0
- package/dist/icons/potion-flask.js +8 -0
- package/dist/icons/quest-scroll.d.ts +7 -0
- package/dist/icons/quest-scroll.js +8 -0
- package/dist/icons/radar-ping.d.ts +7 -0
- package/dist/icons/radar-ping.js +8 -0
- package/dist/icons/refresh.d.ts +7 -0
- package/dist/icons/refresh.js +8 -0
- package/dist/icons/relation.d.ts +7 -0
- package/dist/icons/relation.js +8 -0
- package/dist/icons/save.d.ts +7 -0
- package/dist/icons/save.js +8 -0
- package/dist/icons/search.d.ts +7 -0
- package/dist/icons/search.js +8 -0
- package/dist/icons/security.d.ts +7 -0
- package/dist/icons/security.js +8 -0
- package/dist/icons/send.d.ts +7 -0
- package/dist/icons/send.js +8 -0
- package/dist/icons/settings.d.ts +7 -0
- package/dist/icons/settings.js +8 -0
- package/dist/icons/shield-crest.d.ts +7 -0
- package/dist/icons/shield-crest.js +8 -0
- package/dist/icons/shuriken.d.ts +7 -0
- package/dist/icons/shuriken.js +8 -0
- package/dist/icons/signal-off.d.ts +7 -0
- package/dist/icons/signal-off.js +8 -0
- package/dist/icons/signal.d.ts +7 -0
- package/dist/icons/signal.js +8 -0
- package/dist/icons/skill-node.d.ts +7 -0
- package/dist/icons/skill-node.js +8 -0
- package/dist/icons/smartphone.d.ts +7 -0
- package/dist/icons/smartphone.js +8 -0
- package/dist/icons/sort-ascending.d.ts +7 -0
- package/dist/icons/sort-ascending.js +8 -0
- package/dist/icons/sort-descending.d.ts +7 -0
- package/dist/icons/sort-descending.js +8 -0
- package/dist/icons/sort.d.ts +7 -0
- package/dist/icons/sort.js +8 -0
- package/dist/icons/sparkle.d.ts +7 -0
- package/dist/icons/sparkle.js +8 -0
- package/dist/icons/speech-burst.d.ts +7 -0
- package/dist/icons/speech-burst.js +8 -0
- package/dist/icons/story.d.ts +7 -0
- package/dist/icons/story.js +8 -0
- package/dist/icons/sun.d.ts +7 -0
- package/dist/icons/sun.js +8 -0
- package/dist/icons/tag.d.ts +7 -0
- package/dist/icons/tag.js +8 -0
- package/dist/icons/team.d.ts +7 -0
- package/dist/icons/team.js +8 -0
- package/dist/icons/trophy-crown.d.ts +7 -0
- package/dist/icons/trophy-crown.js +8 -0
- package/dist/icons/upload.d.ts +7 -0
- package/dist/icons/upload.js +8 -0
- package/dist/icons/user.d.ts +7 -0
- package/dist/icons/user.js +8 -0
- package/dist/icons/users.d.ts +7 -0
- package/dist/icons/users.js +8 -0
- package/dist/icons/visibility-off.d.ts +7 -0
- package/dist/icons/visibility-off.js +8 -0
- package/dist/icons/visibility.d.ts +7 -0
- package/dist/icons/visibility.js +8 -0
- package/dist/icons/volume-off.d.ts +7 -0
- package/dist/icons/volume-off.js +8 -0
- package/dist/icons/volume.d.ts +7 -0
- package/dist/icons/volume.js +8 -0
- package/dist/icons/warning.d.ts +7 -0
- package/dist/icons/warning.js +8 -0
- package/dist/icons/workflow.d.ts +7 -0
- package/dist/icons/workflow.js +8 -0
- package/dist/icons.d.ts +124 -0
- package/dist/icons.js +361 -0
- package/dist/index.d.ts +81 -0
- package/dist/index.js +83 -0
- package/dist/lib/asset-registry.d.ts +104 -0
- package/dist/lib/asset-registry.js +328 -0
- package/dist/lib/audio-runtime.d.ts +23 -0
- package/dist/lib/audio-runtime.js +254 -0
- package/dist/lib/character-adapter.d.ts +63 -0
- package/dist/lib/character-adapter.js +232 -0
- package/dist/lib/character-registry.d.ts +159 -0
- package/dist/lib/character-registry.js +1950 -0
- package/dist/lib/cn.d.ts +2 -0
- package/dist/lib/cn.js +4 -0
- package/dist/lib/compose-refs.d.ts +7 -0
- package/dist/lib/compose-refs.js +14 -0
- package/dist/lib/sanitize-url.d.ts +6 -0
- package/dist/lib/sanitize-url.js +44 -0
- package/dist/lib/scene-camera.d.ts +70 -0
- package/dist/lib/scene-camera.js +317 -0
- package/dist/lib/scene-playback.d.ts +93 -0
- package/dist/lib/scene-playback.js +447 -0
- package/dist/lib/scene-soundscape.d.ts +35 -0
- package/dist/lib/scene-soundscape.js +117 -0
- package/dist/lib/scene-test-harness.d.ts +17 -0
- package/dist/lib/scene-test-harness.js +140 -0
- package/dist/lib/scene-timeline.d.ts +59 -0
- package/dist/lib/scene-timeline.js +280 -0
- package/dist/lib/use-animation-visibility.d.ts +7 -0
- package/dist/lib/use-animation-visibility.js +31 -0
- package/dist/lib/use-modal-focus.d.ts +6 -0
- package/dist/lib/use-modal-focus.js +211 -0
- package/dist/lib/use-reduced-motion.d.ts +5 -0
- package/dist/lib/use-reduced-motion.js +31 -0
- package/dist/motion/easing-presets.d.ts +21 -0
- package/dist/motion/easing-presets.js +207 -0
- package/dist/motion/index.d.ts +153 -0
- package/dist/motion/index.js +311 -0
- package/dist/motion/physics.d.ts +30 -0
- package/dist/motion/physics.js +178 -0
- package/dist/motion/timeline-math.d.ts +78 -0
- package/dist/motion/timeline-math.js +216 -0
- package/dist/motion.d.ts +76 -0
- package/dist/motion.js +316 -0
- package/dist/pixelfx-registry.d.ts +127 -0
- package/dist/pixelfx-registry.js +861 -0
- package/dist/pixelfx.d.ts +161 -0
- package/dist/pixelfx.js +510 -0
- package/dist/provider.d.ts +27 -0
- package/dist/provider.js +15 -0
- package/dist/skin-catalog.d.ts +20 -0
- package/dist/skin-catalog.js +215 -0
- package/dist/skin-tokens.d.ts +3 -0
- package/dist/skin-tokens.js +390 -0
- package/dist/tailwind-preset.css +109 -0
- package/dist/templates/battle-arena.d.ts +2 -0
- package/dist/templates/battle-arena.js +351 -0
- package/dist/templates/index.d.ts +3 -0
- package/dist/templates/index.js +77 -0
- package/dist/templates.d.ts +4 -0
- package/dist/templates.js +78 -0
- package/dist/themes/dna-presets.d.ts +18 -0
- package/dist/themes/dna-presets.js +84 -0
- package/dist/themes/index.d.ts +11 -0
- package/dist/themes/index.js +10 -0
- package/dist/themes/provider.d.ts +26 -0
- package/dist/themes/provider.js +96 -0
- package/dist/themes/types.d.ts +42 -0
- package/dist/themes/types.js +47 -0
- package/dist/themes.d.ts +2 -0
- package/dist/themes.js +2 -0
- package/dist/token-exporter.d.ts +5 -0
- package/dist/token-exporter.js +4 -0
- package/dist/token-exporters.d.ts +28 -0
- package/dist/token-exporters.js +257 -0
- package/dist/token-seeds.d.ts +38 -0
- package/dist/token-seeds.js +272 -0
- package/dist/token-snapshot.d.ts +21 -0
- package/dist/token-snapshot.js +131 -0
- package/dist/tokens.bundle.json +1669 -0
- package/dist/tokens.generated.css +599 -0
- package/dist/tokens.w3c.json +1931 -0
- package/dist/utils.d.ts +12 -0
- package/dist/utils.js +49 -0
- package/package.json +536 -43
- package/scripts/generate-icons.mjs +110 -0
- package/scripts/generate-token-artifacts.mjs +90 -0
- package/scripts/icon-svg-to-jsx.mjs +249 -0
- package/scripts/verification-diagnostics.mjs +40 -0
- package/scripts/verify-package.mjs +412 -0
- package/src/cartoon/anime-avatar.tsx +628 -0
- package/src/cartoon/anime-stage.tsx +458 -0
- package/src/cartoon/index.tsx +542 -0
- package/src/cartoon.tsx +645 -0
- package/src/characters.ts +625 -0
- package/src/components/accordion.tsx +77 -0
- package/src/components/alert.tsx +139 -0
- package/src/components/appearance-menu.tsx +181 -0
- package/src/components/artwork-frame.tsx +49 -0
- package/src/components/audio.tsx +97 -0
- package/src/components/avatar.tsx +75 -0
- package/src/components/badge.tsx +94 -0
- package/src/components/brand-mark.tsx +73 -0
- package/src/components/breadcrumbs.tsx +98 -0
- package/src/components/button.tsx +340 -0
- package/src/components/card.tsx +171 -0
- package/src/components/character-badge.tsx +58 -0
- package/src/components/character-preview.tsx +104 -0
- package/src/components/character-stage.tsx +225 -0
- package/src/components/chart.tsx +481 -0
- package/src/components/checkbox.tsx +64 -0
- package/src/components/comic-panel.tsx +301 -0
- package/src/components/comic-theater.tsx +170 -0
- package/src/components/command.tsx +189 -0
- package/src/components/confirm-dialog.tsx +129 -0
- package/src/components/copy-button.tsx +62 -0
- package/src/components/date-picker.tsx +126 -0
- package/src/components/dialog.tsx +164 -0
- package/src/components/dna-icon.tsx +77 -0
- package/src/components/dropdown-menu.tsx +87 -0
- package/src/components/effects.tsx +1021 -0
- package/src/components/empty-state.tsx +93 -0
- package/src/components/epistemic-branch-panel.tsx +101 -0
- package/src/components/error-state.tsx +137 -0
- package/src/components/field.tsx +96 -0
- package/src/components/filter-facet-bar.tsx +91 -0
- package/src/components/inbox-popover.tsx +146 -0
- package/src/components/input.tsx +25 -0
- package/src/components/kanban-board.tsx +190 -0
- package/src/components/label.tsx +19 -0
- package/src/components/layered-scene.tsx +555 -0
- package/src/components/log-console.tsx +261 -0
- package/src/components/metric-tile.tsx +99 -0
- package/src/components/mode-picker.tsx +149 -0
- package/src/components/motion-timeline.tsx +848 -0
- package/src/components/number-input.tsx +104 -0
- package/src/components/page-header.tsx +123 -0
- package/src/components/pagination.tsx +83 -0
- package/src/components/panel.tsx +121 -0
- package/src/components/paper-note.tsx +77 -0
- package/src/components/popover.tsx +72 -0
- package/src/components/progress.tsx +127 -0
- package/src/components/quest-card.tsx +319 -0
- package/src/components/radio-group.tsx +50 -0
- package/src/components/riot-sticker.tsx +151 -0
- package/src/components/scene-particles.tsx +196 -0
- package/src/components/scene-transitions.tsx +130 -0
- package/src/components/section-ribbon.tsx +94 -0
- package/src/components/select-field.tsx +27 -0
- package/src/components/select.tsx +81 -0
- package/src/components/separator.tsx +58 -0
- package/src/components/sheet.tsx +96 -0
- package/src/components/skeleton.tsx +35 -0
- package/src/components/sketch-annotation.tsx +87 -0
- package/src/components/smart-button-box.tsx +114 -0
- package/src/components/speech-bubble.tsx +116 -0
- package/src/components/spinner.tsx +69 -0
- package/src/components/sprite-player.tsx +412 -0
- package/src/components/status-bar.tsx +63 -0
- package/src/components/status-pill.tsx +68 -0
- package/src/components/switch.tsx +76 -0
- package/src/components/table.tsx +163 -0
- package/src/components/tabs.tsx +101 -0
- package/src/components/tag-input.tsx +170 -0
- package/src/components/textarea.tsx +25 -0
- package/src/components/toast.tsx +14 -0
- package/src/components/toolbar.tsx +39 -0
- package/src/components/tooltip.tsx +49 -0
- package/src/components/update-banner.tsx +220 -0
- package/src/components/xv-primitives.tsx +256 -0
- package/src/dna.tsx +137 -0
- package/src/game/boss-hud.tsx +384 -0
- package/src/game/index.tsx +886 -0
- package/src/game/tactical.tsx +245 -0
- package/src/game.tsx +770 -0
- package/src/icons/activity.tsx +38 -0
- package/src/icons/add.tsx +38 -0
- package/src/icons/addon.tsx +37 -0
- package/src/icons/anime-anger.tsx +37 -0
- package/src/icons/anime-shock.tsx +37 -0
- package/src/icons/anime-sparkle.tsx +38 -0
- package/src/icons/anime-sweatdrop.tsx +38 -0
- package/src/icons/archive.tsx +37 -0
- package/src/icons/arrow-left.tsx +37 -0
- package/src/icons/arrow-right.tsx +37 -0
- package/src/icons/attachment.tsx +38 -0
- package/src/icons/bank.tsx +37 -0
- package/src/icons/bolt.tsx +37 -0
- package/src/icons/book-open.tsx +37 -0
- package/src/icons/bookmark.tsx +37 -0
- package/src/icons/boss-skull.tsx +40 -0
- package/src/icons/calendar-clock.tsx +40 -0
- package/src/icons/calendar.tsx +38 -0
- package/src/icons/check-circle.tsx +38 -0
- package/src/icons/check-square.tsx +38 -0
- package/src/icons/check.tsx +37 -0
- package/src/icons/chevron-right.tsx +37 -0
- package/src/icons/chevrons-left.tsx +37 -0
- package/src/icons/chevrons-right.tsx +37 -0
- package/src/icons/clapperboard.tsx +38 -0
- package/src/icons/clock.tsx +38 -0
- package/src/icons/close.tsx +37 -0
- package/src/icons/code.tsx +37 -0
- package/src/icons/columns.tsx +38 -0
- package/src/icons/combo-flame.tsx +38 -0
- package/src/icons/company.tsx +38 -0
- package/src/icons/credit-card.tsx +38 -0
- package/src/icons/critical-star.tsx +37 -0
- package/src/icons/currency.tsx +38 -0
- package/src/icons/delete.tsx +37 -0
- package/src/icons/document.tsx +38 -0
- package/src/icons/download.tsx +37 -0
- package/src/icons/dpad.tsx +38 -0
- package/src/icons/edit.tsx +38 -0
- package/src/icons/element-fire.tsx +37 -0
- package/src/icons/element-ice.tsx +38 -0
- package/src/icons/element-solar.tsx +38 -0
- package/src/icons/element-void.tsx +38 -0
- package/src/icons/element-volt.tsx +38 -0
- package/src/icons/element-wind.tsx +37 -0
- package/src/icons/error.tsx +38 -0
- package/src/icons/external-link.tsx +38 -0
- package/src/icons/field.tsx +38 -0
- package/src/icons/file-spreadsheet.tsx +38 -0
- package/src/icons/filter.tsx +37 -0
- package/src/icons/gacha-ticket.tsx +38 -0
- package/src/icons/gamepad.tsx +40 -0
- package/src/icons/globe.tsx +38 -0
- package/src/icons/grid.tsx +40 -0
- package/src/icons/hash.tsx +37 -0
- package/src/icons/heart-hp.tsx +38 -0
- package/src/icons/history.tsx +37 -0
- package/src/icons/home.tsx +37 -0
- package/src/icons/image.tsx +39 -0
- package/src/icons/impact-slash.tsx +38 -0
- package/src/icons/inbox.tsx +38 -0
- package/src/icons/index.ts +120 -0
- package/src/icons/info.tsx +38 -0
- package/src/icons/jobs.tsx +38 -0
- package/src/icons/katana.tsx +38 -0
- package/src/icons/key.tsx +38 -0
- package/src/icons/keyboard.tsx +38 -0
- package/src/icons/keyframe-diamond.tsx +38 -0
- package/src/icons/knowledge.tsx +38 -0
- package/src/icons/language.tsx +39 -0
- package/src/icons/lock.tsx +38 -0
- package/src/icons/logout.tsx +37 -0
- package/src/icons/loot-chest.tsx +39 -0
- package/src/icons/mail.tsx +38 -0
- package/src/icons/mana-crystal.tsx +38 -0
- package/src/icons/map-pin.tsx +38 -0
- package/src/icons/mecha-helm.tsx +38 -0
- package/src/icons/menu.tsx +37 -0
- package/src/icons/message.tsx +38 -0
- package/src/icons/model.tsx +38 -0
- package/src/icons/moon.tsx +37 -0
- package/src/icons/notification.tsx +38 -0
- package/src/icons/partner.tsx +41 -0
- package/src/icons/pause.tsx +37 -0
- package/src/icons/phone.tsx +37 -0
- package/src/icons/play.tsx +37 -0
- package/src/icons/potion-flask.tsx +40 -0
- package/src/icons/quest-scroll.tsx +39 -0
- package/src/icons/radar-ping.tsx +40 -0
- package/src/icons/refresh.tsx +38 -0
- package/src/icons/relation.tsx +40 -0
- package/src/icons/save.tsx +38 -0
- package/src/icons/search.tsx +38 -0
- package/src/icons/security.tsx +38 -0
- package/src/icons/send.tsx +38 -0
- package/src/icons/settings.tsx +39 -0
- package/src/icons/shield-crest.tsx +38 -0
- package/src/icons/shuriken.tsx +38 -0
- package/src/icons/signal-off.tsx +37 -0
- package/src/icons/signal.tsx +37 -0
- package/src/icons/skill-node.tsx +40 -0
- package/src/icons/smartphone.tsx +38 -0
- package/src/icons/sort-ascending.tsx +37 -0
- package/src/icons/sort-descending.tsx +37 -0
- package/src/icons/sort.tsx +37 -0
- package/src/icons/sparkle.tsx +38 -0
- package/src/icons/speech-burst.tsx +37 -0
- package/src/icons/story.tsx +37 -0
- package/src/icons/sun.tsx +38 -0
- package/src/icons/tag.tsx +38 -0
- package/src/icons/team.tsx +40 -0
- package/src/icons/trophy-crown.tsx +39 -0
- package/src/icons/upload.tsx +37 -0
- package/src/icons/user.tsx +38 -0
- package/src/icons/users.tsx +39 -0
- package/src/icons/visibility-off.tsx +38 -0
- package/src/icons/visibility.tsx +38 -0
- package/src/icons/volume-off.tsx +37 -0
- package/src/icons/volume.tsx +37 -0
- package/src/icons/warning.tsx +38 -0
- package/src/icons/workflow.tsx +40 -0
- package/src/icons.tsx +965 -0
- package/src/index.ts +89 -0
- package/src/lib/asset-registry.ts +534 -0
- package/src/lib/audio-runtime.ts +314 -0
- package/src/lib/character-adapter.ts +370 -0
- package/src/lib/character-registry.ts +2368 -0
- package/src/lib/cn.ts +6 -0
- package/src/lib/compose-refs.ts +16 -0
- package/src/lib/sanitize-url.ts +51 -0
- package/src/lib/scene-camera.ts +483 -0
- package/src/lib/scene-playback.ts +622 -0
- package/src/lib/scene-soundscape.ts +151 -0
- package/src/lib/scene-test-harness.ts +200 -0
- package/src/lib/scene-timeline.ts +398 -0
- package/src/lib/use-animation-visibility.ts +45 -0
- package/src/lib/use-modal-focus.ts +270 -0
- package/src/lib/use-reduced-motion.ts +37 -0
- package/src/motion/easing-presets.ts +262 -0
- package/src/motion/index.tsx +894 -0
- package/src/motion/physics.ts +259 -0
- package/src/motion/timeline-math.ts +358 -0
- package/src/motion.tsx +639 -0
- package/src/pixelfx-registry.ts +1190 -0
- package/src/pixelfx-types.d.ts +73 -0
- package/src/pixelfx.tsx +994 -0
- package/src/provider.tsx +63 -0
- package/src/skin-catalog.ts +270 -0
- package/src/skin-tokens.ts +425 -0
- package/src/styles/components.css +8007 -0
- package/src/styles/tokens.css +952 -0
- package/src/styles/visual-universe.css +149 -0
- package/src/styles/xv-primitives.css +192 -0
- package/src/templates/battle-arena.tsx +688 -0
- package/src/templates/index.tsx +314 -0
- package/src/templates.tsx +225 -0
- package/src/themes/dna-presets.ts +119 -0
- package/src/themes/index.ts +43 -0
- package/src/themes/provider.tsx +162 -0
- package/src/themes/types.ts +111 -0
- package/src/themes.ts +9 -0
- package/src/token-exporter.ts +12 -0
- package/src/token-exporters.ts +343 -0
- package/src/token-seeds.ts +335 -0
- package/src/token-snapshot.ts +179 -0
- package/src/utils.ts +58 -0
- package/styles.css +3 -0
- package/src/components.d.ts +0 -588
- package/src/components.js +0 -2044
- package/src/index.d.ts +0 -3
- package/src/index.js +0 -13
- package/src/skins.d.ts +0 -4
- package/src/skins.js +0 -20
- package/src/styles.css +0 -587
- package/src/tailwind.css +0 -24
- package/src/theme.d.ts +0 -71
- package/src/theme.js +0 -257
|
@@ -0,0 +1,625 @@
|
|
|
1
|
+
export type CharacterElement =
|
|
2
|
+
| "solar"
|
|
3
|
+
| "volt"
|
|
4
|
+
| "cryo"
|
|
5
|
+
| "pyro"
|
|
6
|
+
| "void"
|
|
7
|
+
| "ink"
|
|
8
|
+
| "wind";
|
|
9
|
+
|
|
10
|
+
export type CharacterRarity = "rare" | "epic" | "legendary" | "mythic";
|
|
11
|
+
|
|
12
|
+
export type CharacterFactionId =
|
|
13
|
+
| "signal-riot"
|
|
14
|
+
| "moonwitness-xii"
|
|
15
|
+
| "rocksoul-echo"
|
|
16
|
+
| "archive-watch"
|
|
17
|
+
| "cyber-strays"
|
|
18
|
+
| "void-syndicate";
|
|
19
|
+
|
|
20
|
+
export interface CharacterFaction {
|
|
21
|
+
readonly id: CharacterFactionId;
|
|
22
|
+
readonly label: string;
|
|
23
|
+
readonly motto: string;
|
|
24
|
+
readonly accent: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface CharacterStats {
|
|
28
|
+
readonly hp: number;
|
|
29
|
+
readonly atk: number;
|
|
30
|
+
readonly def: number;
|
|
31
|
+
readonly spd: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface CharacterUltimate {
|
|
35
|
+
readonly name: string;
|
|
36
|
+
readonly jpCallout: string;
|
|
37
|
+
readonly quote: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface CharacterPalette {
|
|
41
|
+
readonly primary: string;
|
|
42
|
+
readonly secondary: string;
|
|
43
|
+
readonly accent: string;
|
|
44
|
+
readonly hair: string;
|
|
45
|
+
readonly skin: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface CharacterProfile {
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly codename: string;
|
|
51
|
+
readonly name: string;
|
|
52
|
+
readonly title: string;
|
|
53
|
+
readonly faction: CharacterFactionId;
|
|
54
|
+
readonly group: "signal-riot" | "moonwitness-xii" | "extended-lore";
|
|
55
|
+
readonly archetype: string;
|
|
56
|
+
readonly element: CharacterElement;
|
|
57
|
+
readonly rarity: CharacterRarity;
|
|
58
|
+
readonly isBoss?: boolean;
|
|
59
|
+
readonly voicePitch: number;
|
|
60
|
+
readonly stats: CharacterStats;
|
|
61
|
+
readonly ultimate: CharacterUltimate;
|
|
62
|
+
readonly palette: CharacterPalette;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export const CHARACTER_FACTIONS: readonly CharacterFaction[] = [
|
|
66
|
+
{ id: "signal-riot", label: "Signal Riot", motto: "Same moon. Different people.", accent: "#e11d74" },
|
|
67
|
+
{ id: "moonwitness-xii", label: "MoonWitness XII", motto: "Twelve bands on one frequency.", accent: "#f5d000" },
|
|
68
|
+
{ id: "rocksoul-echo", label: "RockSoul Echo", motto: "Hold resolve, strike mercy.", accent: "#15803d" },
|
|
69
|
+
{ id: "archive-watch", label: "Archive Watch", motto: "Never invent what is missing.", accent: "#0891b2" },
|
|
70
|
+
{ id: "cyber-strays", label: "Cyber Strays", motto: "Zero drift across every frame.", accent: "#6d28d9" },
|
|
71
|
+
{ id: "void-syndicate", label: "Eclipse Bosses", motto: "Static swallows the unverified.", accent: "#be123c" },
|
|
72
|
+
];
|
|
73
|
+
|
|
74
|
+
export const CHARACTER_REGISTRY: readonly CharacterProfile[] = [
|
|
75
|
+
{
|
|
76
|
+
id: "kuro-signal",
|
|
77
|
+
codename: "SR-01",
|
|
78
|
+
name: "Kuro",
|
|
79
|
+
title: "Ink Striker",
|
|
80
|
+
faction: "signal-riot",
|
|
81
|
+
group: "signal-riot",
|
|
82
|
+
archetype: "Courier",
|
|
83
|
+
element: "ink",
|
|
84
|
+
rarity: "mythic",
|
|
85
|
+
voicePitch: 1.08,
|
|
86
|
+
stats: { hp: 240, atk: 96, def: 64, spd: 98 },
|
|
87
|
+
ultimate: { name: "Signal Overdrive", jpCallout: "シグナル・オーバードライブ!!", quote: "When the moon rises, we share a message." },
|
|
88
|
+
palette: { primary: "#181b24", secondary: "#e11d74", accent: "#f5d000", hair: "#121319", skin: "#f4d8c0" },
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: "vesper-ink",
|
|
92
|
+
codename: "AW-02",
|
|
93
|
+
name: "Vesper",
|
|
94
|
+
title: "Zine Archivist",
|
|
95
|
+
faction: "archive-watch",
|
|
96
|
+
group: "signal-riot",
|
|
97
|
+
archetype: "Tactician",
|
|
98
|
+
element: "cryo",
|
|
99
|
+
rarity: "legendary",
|
|
100
|
+
voicePitch: 0.96,
|
|
101
|
+
stats: { hp: 220, atk: 84, def: 82, spd: 86 },
|
|
102
|
+
ultimate: { name: "Ledger Seal", jpCallout: "アーカイブ・シール!!", quote: "Mark the gap clearly so every witness sees truth." },
|
|
103
|
+
palette: { primary: "#272b3a", secondary: "#22d3ee", accent: "#f5d000", hair: "#cfd4e2", skin: "#f2d6c2" },
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: "akira-pulse",
|
|
107
|
+
codename: "CS-03",
|
|
108
|
+
name: "Akira Pulse",
|
|
109
|
+
title: "Volt Breaker",
|
|
110
|
+
faction: "cyber-strays",
|
|
111
|
+
group: "moonwitness-xii",
|
|
112
|
+
archetype: "Vanguard",
|
|
113
|
+
element: "volt",
|
|
114
|
+
rarity: "legendary",
|
|
115
|
+
voicePitch: 1.12,
|
|
116
|
+
stats: { hp: 235, atk: 94, def: 68, spd: 95 },
|
|
117
|
+
ultimate: { name: "Arc Flash Slash", jpCallout: "ボルト・アーク!!", quote: "Twelve frames is all it takes to cross the alley." },
|
|
118
|
+
palette: { primary: "#0f172a", secondary: "#38bdf8", accent: "#facc15", hair: "#1d4ed8", skin: "#f5dac6" },
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: "nova-x",
|
|
122
|
+
codename: "MW-04",
|
|
123
|
+
name: "Nova-X",
|
|
124
|
+
title: "Solar Beacon",
|
|
125
|
+
faction: "moonwitness-xii",
|
|
126
|
+
group: "moonwitness-xii",
|
|
127
|
+
archetype: "Artillery",
|
|
128
|
+
element: "solar",
|
|
129
|
+
rarity: "mythic",
|
|
130
|
+
voicePitch: 1.04,
|
|
131
|
+
stats: { hp: 215, atk: 102, def: 58, spd: 89 },
|
|
132
|
+
ultimate: { name: "Zenith Flare", jpCallout: "ゼニス・フレア!!", quote: "Aim straight at the horizon line." },
|
|
133
|
+
palette: { primary: "#1e1b4b", secondary: "#f59e0b", accent: "#fde047", hair: "#f59e0b", skin: "#ebd0b8" },
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: "lord-null",
|
|
137
|
+
codename: "VS-00",
|
|
138
|
+
name: "Lord Null",
|
|
139
|
+
title: "Architect of Static",
|
|
140
|
+
faction: "void-syndicate",
|
|
141
|
+
group: "extended-lore",
|
|
142
|
+
archetype: "Raid Boss",
|
|
143
|
+
element: "void",
|
|
144
|
+
rarity: "mythic",
|
|
145
|
+
isBoss: true,
|
|
146
|
+
voicePitch: 0.72,
|
|
147
|
+
stats: { hp: 380, atk: 112, def: 96, spd: 78 },
|
|
148
|
+
ultimate: { name: "Silent Erasure", jpCallout: "ヌル・イレイス!!", quote: "Unverified claims dissolve into white noise." },
|
|
149
|
+
palette: { primary: "#0c0a14", secondary: "#be123c", accent: "#a855f7", hair: "#f8fafc", skin: "#d6d3d1" },
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: "rocksoul-witness",
|
|
153
|
+
codename: "RS-01",
|
|
154
|
+
name: "RockSoul Witness",
|
|
155
|
+
title: "Dual-Form Resonator",
|
|
156
|
+
faction: "rocksoul-echo",
|
|
157
|
+
group: "moonwitness-xii",
|
|
158
|
+
archetype: "Brawler",
|
|
159
|
+
element: "wind",
|
|
160
|
+
rarity: "mythic",
|
|
161
|
+
voicePitch: 0.88,
|
|
162
|
+
stats: { hp: 290, atk: 98, def: 88, spd: 84 },
|
|
163
|
+
ultimate: { name: "Black Resolve · Green Mercy", jpCallout: "レゾナンス・オーバードライブ!!", quote: "Strike hard enough to protect, never to erase." },
|
|
164
|
+
palette: { primary: "#111827", secondary: "#22c55e", accent: "#f5d000", hair: "#166534", skin: "#e7c6ab" },
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: "the-shadow",
|
|
168
|
+
codename: "EL-01",
|
|
169
|
+
name: "The Shadow",
|
|
170
|
+
title: "Boundary Watcher",
|
|
171
|
+
faction: "void-syndicate",
|
|
172
|
+
group: "extended-lore",
|
|
173
|
+
archetype: "Assassin",
|
|
174
|
+
element: "void",
|
|
175
|
+
rarity: "legendary",
|
|
176
|
+
isBoss: true,
|
|
177
|
+
voicePitch: 0.76,
|
|
178
|
+
stats: { hp: 260, atk: 105, def: 72, spd: 99 },
|
|
179
|
+
ultimate: { name: "Eclipse Corridor", jpCallout: "シャドウ・コリドー!!", quote: "Every streetlight casts two witnesses." },
|
|
180
|
+
palette: { primary: "#09090b", secondary: "#6d28d9", accent: "#e11d74", hair: "#18181b", skin: "#d4d4d8" },
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "walter-white",
|
|
184
|
+
codename: "SR-08",
|
|
185
|
+
name: "Walter Sweeper",
|
|
186
|
+
title: "Label Sweeper",
|
|
187
|
+
faction: "signal-riot",
|
|
188
|
+
group: "signal-riot",
|
|
189
|
+
archetype: "Support",
|
|
190
|
+
element: "ink",
|
|
191
|
+
rarity: "epic",
|
|
192
|
+
voicePitch: 0.84,
|
|
193
|
+
stats: { hp: 250, atk: 74, def: 90, spd: 70 },
|
|
194
|
+
ultimate: { name: "Clean Sweep", jpCallout: "クリーンスウィープ!!", quote: "Keep the workbench clean and the signal stays pure." },
|
|
195
|
+
palette: { primary: "#1f2937", secondary: "#f5d000", accent: "#e11d74", hair: "#e5e7eb", skin: "#f0d3bc" },
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
id: "isrockfeel",
|
|
199
|
+
codename: "RS-02",
|
|
200
|
+
name: "IsRockFeel",
|
|
201
|
+
title: "Riff Mentor",
|
|
202
|
+
faction: "rocksoul-echo",
|
|
203
|
+
group: "moonwitness-xii",
|
|
204
|
+
archetype: "Bard",
|
|
205
|
+
element: "pyro",
|
|
206
|
+
rarity: "legendary",
|
|
207
|
+
voicePitch: 0.9,
|
|
208
|
+
stats: { hp: 245, atk: 92, def: 74, spd: 87 },
|
|
209
|
+
ultimate: { name: "Power Chord Breaker", jpCallout: "パワーコード!!", quote: "Feel the downbeat before you swing." },
|
|
210
|
+
palette: { primary: "#1c1917", secondary: "#ef4444", accent: "#f59e0b", hair: "#7f1d1d", skin: "#eac7ab" },
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
id: "fourlah",
|
|
214
|
+
codename: "RS-03",
|
|
215
|
+
name: "Fourlah",
|
|
216
|
+
title: "Relay Runner",
|
|
217
|
+
faction: "rocksoul-echo",
|
|
218
|
+
group: "moonwitness-xii",
|
|
219
|
+
archetype: "Scout",
|
|
220
|
+
element: "wind",
|
|
221
|
+
rarity: "epic",
|
|
222
|
+
voicePitch: 1.15,
|
|
223
|
+
stats: { hp: 205, atk: 86, def: 62, spd: 100 },
|
|
224
|
+
ultimate: { name: "Four-Beat Relay", jpCallout: "フォービート・リレー!!", quote: "Pass the baton before the static catches up." },
|
|
225
|
+
palette: { primary: "#0f766e", secondary: "#2dd4bf", accent: "#fde047", hair: "#134e4a", skin: "#f3d5be" },
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
id: "baby-doll",
|
|
229
|
+
codename: "EL-02",
|
|
230
|
+
name: "Baby Doll",
|
|
231
|
+
title: "Porcelain Echo",
|
|
232
|
+
faction: "void-syndicate",
|
|
233
|
+
group: "extended-lore",
|
|
234
|
+
archetype: "Controller",
|
|
235
|
+
element: "cryo",
|
|
236
|
+
rarity: "epic",
|
|
237
|
+
voicePitch: 1.24,
|
|
238
|
+
stats: { hp: 210, atk: 88, def: 66, spd: 82 },
|
|
239
|
+
ultimate: { name: "Clockwork Encore", jpCallout: "アンコール・ステップ!!", quote: "Still frames remember every promise." },
|
|
240
|
+
palette: { primary: "#3b0764", secondary: "#f472b6", accent: "#e0f2fe", hair: "#fbcfe8", skin: "#fde8dc" },
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
id: "blue-witch",
|
|
244
|
+
codename: "EL-03",
|
|
245
|
+
name: "Blue Witch",
|
|
246
|
+
title: "Indigo Oracle",
|
|
247
|
+
faction: "archive-watch",
|
|
248
|
+
group: "extended-lore",
|
|
249
|
+
archetype: "Caster",
|
|
250
|
+
element: "cryo",
|
|
251
|
+
rarity: "legendary",
|
|
252
|
+
voicePitch: 0.98,
|
|
253
|
+
stats: { hp: 200, atk: 97, def: 65, spd: 84 },
|
|
254
|
+
ultimate: { name: "Cobalt Grimoire", jpCallout: "コバルト・ノヴァ!!", quote: "Moonlight reveals ink invisible by noon." },
|
|
255
|
+
palette: { primary: "#1e3a8a", secondary: "#38bdf8", accent: "#facc15", hair: "#2563eb", skin: "#f3d8c7" },
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
id: "dj-david",
|
|
259
|
+
codename: "EL-04",
|
|
260
|
+
name: "DJ David",
|
|
261
|
+
title: "Frequency Mixer",
|
|
262
|
+
faction: "cyber-strays",
|
|
263
|
+
group: "extended-lore",
|
|
264
|
+
archetype: "Buffer",
|
|
265
|
+
element: "volt",
|
|
266
|
+
rarity: "epic",
|
|
267
|
+
voicePitch: 0.94,
|
|
268
|
+
stats: { hp: 225, atk: 80, def: 75, spd: 91 },
|
|
269
|
+
ultimate: { name: "Drop the Tempo", jpCallout: "ドロップ・ザ・ビート!!", quote: "Lock the BPM and the whole squad moves as one." },
|
|
270
|
+
palette: { primary: "#18181b", secondary: "#a855f7", accent: "#22d3ee", hair: "#111827", skin: "#d9a982" },
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
id: "dogs-from-universe",
|
|
274
|
+
codename: "EL-05",
|
|
275
|
+
name: "Cosmic Hounds",
|
|
276
|
+
title: "Orbital Pack",
|
|
277
|
+
faction: "cyber-strays",
|
|
278
|
+
group: "extended-lore",
|
|
279
|
+
archetype: "Beast",
|
|
280
|
+
element: "solar",
|
|
281
|
+
rarity: "rare",
|
|
282
|
+
voicePitch: 1.05,
|
|
283
|
+
stats: { hp: 230, atk: 89, def: 70, spd: 94 },
|
|
284
|
+
ultimate: { name: "Starlight Pack Rush", jpCallout: "コスミック・ラッシュ!!", quote: "Loyal to the trail across every orbit." },
|
|
285
|
+
palette: { primary: "#312e81", secondary: "#f59e0b", accent: "#38bdf8", hair: "#f59e0b", skin: "#e5c3a6" },
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
id: "electric-forest",
|
|
289
|
+
codename: "EL-06",
|
|
290
|
+
name: "Electric Forest",
|
|
291
|
+
title: "Canopy Warden",
|
|
292
|
+
faction: "rocksoul-echo",
|
|
293
|
+
group: "extended-lore",
|
|
294
|
+
archetype: "Guardian",
|
|
295
|
+
element: "volt",
|
|
296
|
+
rarity: "legendary",
|
|
297
|
+
voicePitch: 0.82,
|
|
298
|
+
stats: { hp: 310, atk: 82, def: 98, spd: 68 },
|
|
299
|
+
ultimate: { name: "Root-Grid Surge", jpCallout: "エレクトリック・キャノピー!!", quote: "Every wire runs back to living ground." },
|
|
300
|
+
palette: { primary: "#064e3b", secondary: "#10b981", accent: "#fde047", hair: "#047857", skin: "#d4b499" },
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
id: "indestructible",
|
|
304
|
+
codename: "EL-07",
|
|
305
|
+
name: "Indestructible",
|
|
306
|
+
title: "Iron Bastion",
|
|
307
|
+
faction: "moonwitness-xii",
|
|
308
|
+
group: "extended-lore",
|
|
309
|
+
archetype: "Tank",
|
|
310
|
+
element: "pyro",
|
|
311
|
+
rarity: "legendary",
|
|
312
|
+
isBoss: true,
|
|
313
|
+
voicePitch: 0.78,
|
|
314
|
+
stats: { hp: 340, atk: 88, def: 104, spd: 62 },
|
|
315
|
+
ultimate: { name: "Unbroken Frame", jpCallout: "アンブロークン!!", quote: "Hold the line until the final proof lands." },
|
|
316
|
+
palette: { primary: "#292524", secondary: "#f97316", accent: "#facc15", hair: "#44403c", skin: "#d8b192" },
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
id: "the-listener",
|
|
320
|
+
codename: "EL-08",
|
|
321
|
+
name: "The Listener",
|
|
322
|
+
title: "Quiet Receiver",
|
|
323
|
+
faction: "archive-watch",
|
|
324
|
+
group: "extended-lore",
|
|
325
|
+
archetype: "Analyst",
|
|
326
|
+
element: "wind",
|
|
327
|
+
rarity: "epic",
|
|
328
|
+
voicePitch: 0.92,
|
|
329
|
+
stats: { hp: 215, atk: 76, def: 80, spd: 88 },
|
|
330
|
+
ultimate: { name: "Clear Channel", jpCallout: "クリア・チャンネル!!", quote: "Hear what was actually said before speaking." },
|
|
331
|
+
palette: { primary: "#1e293b", secondary: "#64748b", accent: "#22d3ee", hair: "#94a3b8", skin: "#eed0bc" },
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
id: "crew-01",
|
|
335
|
+
codename: "MC-01",
|
|
336
|
+
name: "Crew-01",
|
|
337
|
+
title: "Moon City Pilot",
|
|
338
|
+
faction: "signal-riot",
|
|
339
|
+
group: "signal-riot",
|
|
340
|
+
archetype: "Operator",
|
|
341
|
+
element: "ink",
|
|
342
|
+
rarity: "rare",
|
|
343
|
+
voicePitch: 1.0,
|
|
344
|
+
stats: { hp: 210, atk: 75, def: 75, spd: 80 },
|
|
345
|
+
ultimate: { name: "Rooftop Check", jpCallout: "チェック・クリア!!", quote: "Anonymous hands keep the city running." },
|
|
346
|
+
palette: { primary: "#1e212b", secondary: "#e11d74", accent: "#f3efe4", hair: "#121319", skin: "#e8c8b0" },
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
id: "sora-halftone",
|
|
350
|
+
codename: "MW-05",
|
|
351
|
+
name: "Sora Halftone",
|
|
352
|
+
title: "Print Press Ace",
|
|
353
|
+
faction: "moonwitness-xii",
|
|
354
|
+
group: "moonwitness-xii",
|
|
355
|
+
archetype: "Striker",
|
|
356
|
+
element: "wind",
|
|
357
|
+
rarity: "rare",
|
|
358
|
+
voicePitch: 1.14,
|
|
359
|
+
stats: { hp: 205, atk: 84, def: 64, spd: 93 },
|
|
360
|
+
ultimate: { name: "Dot-Screen Gale", jpCallout: "ハーフトーン・ゲイル!!", quote: "Fresh ink dries faster in the wind." },
|
|
361
|
+
palette: { primary: "#0c4a6e", secondary: "#38bdf8", accent: "#f43f5e", hair: "#0284c7", skin: "#f6dcc8" },
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
id: "ren-katana",
|
|
365
|
+
codename: "MW-06",
|
|
366
|
+
name: "Ren Kurosaki",
|
|
367
|
+
title: "Zero-Drift Blade",
|
|
368
|
+
faction: "moonwitness-xii",
|
|
369
|
+
group: "moonwitness-xii",
|
|
370
|
+
archetype: "Duelist",
|
|
371
|
+
element: "ink",
|
|
372
|
+
rarity: "legendary",
|
|
373
|
+
voicePitch: 0.91,
|
|
374
|
+
stats: { hp: 230, atk: 101, def: 68, spd: 96 },
|
|
375
|
+
ultimate: { name: "Single-Stroke Cut", jpCallout: "一閃・ゼロドリフト!!", quote: "One clean diff beats ten hasty patches." },
|
|
376
|
+
palette: { primary: "#111318", secondary: "#f43f5e", accent: "#ffffff", hair: "#1f2937", skin: "#f2d6c0" },
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
id: "hana-spark",
|
|
380
|
+
codename: "CS-04",
|
|
381
|
+
name: "Hana Spark",
|
|
382
|
+
title: "Solder Engineer",
|
|
383
|
+
faction: "cyber-strays",
|
|
384
|
+
group: "moonwitness-xii",
|
|
385
|
+
archetype: "Mechanic",
|
|
386
|
+
element: "pyro",
|
|
387
|
+
rarity: "epic",
|
|
388
|
+
voicePitch: 1.18,
|
|
389
|
+
stats: { hp: 220, atk: 87, def: 76, spd: 83 },
|
|
390
|
+
ultimate: { name: "Overclock Turret", jpCallout: "オーバークロック!!", quote: "If it hums at 60Hz, push it to 120." },
|
|
391
|
+
palette: { primary: "#7c2d12", secondary: "#fb923c", accent: "#fde047", hair: "#ea580c", skin: "#f5d7c1" },
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
id: "mira-prism",
|
|
395
|
+
codename: "AW-03",
|
|
396
|
+
name: "Mira Prism",
|
|
397
|
+
title: "Chromatic Scribe",
|
|
398
|
+
faction: "archive-watch",
|
|
399
|
+
group: "moonwitness-xii",
|
|
400
|
+
archetype: "Support",
|
|
401
|
+
element: "solar",
|
|
402
|
+
rarity: "epic",
|
|
403
|
+
voicePitch: 1.09,
|
|
404
|
+
stats: { hp: 210, atk: 78, def: 79, spd: 85 },
|
|
405
|
+
ultimate: { name: "RGB Split", jpCallout: "プリズム・スプリット!!", quote: "Every color token earns its contrast ratio." },
|
|
406
|
+
palette: { primary: "#4c1d95", secondary: "#e879f9", accent: "#22d3ee", hair: "#c084fc", skin: "#f4dac8" },
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
id: "kai-tremor",
|
|
410
|
+
codename: "RS-04",
|
|
411
|
+
name: "Kai Tremor",
|
|
412
|
+
title: "Bassline Breaker",
|
|
413
|
+
faction: "rocksoul-echo",
|
|
414
|
+
group: "moonwitness-xii",
|
|
415
|
+
archetype: "Bruiser",
|
|
416
|
+
element: "pyro",
|
|
417
|
+
rarity: "rare",
|
|
418
|
+
voicePitch: 0.85,
|
|
419
|
+
stats: { hp: 280, atk: 91, def: 84, spd: 72 },
|
|
420
|
+
ultimate: { name: "Seismic Drop", jpCallout: "サイズミック・ドロップ!!", quote: "Shake the stage, keep the focus ring steady." },
|
|
421
|
+
palette: { primary: "#27272a", secondary: "#f59e0b", accent: "#ef4444", hair: "#18181b", skin: "#dca986" },
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
id: "yumi-clip",
|
|
425
|
+
codename: "SR-05",
|
|
426
|
+
name: "Yumi Keyframe",
|
|
427
|
+
title: "Sakuga Director",
|
|
428
|
+
faction: "signal-riot",
|
|
429
|
+
group: "moonwitness-xii",
|
|
430
|
+
archetype: "Director",
|
|
431
|
+
element: "wind",
|
|
432
|
+
rarity: "legendary",
|
|
433
|
+
voicePitch: 1.11,
|
|
434
|
+
stats: { hp: 215, atk: 88, def: 70, spd: 97 },
|
|
435
|
+
ultimate: { name: "On-Twos Smear", jpCallout: "サクラ・スメア!!", quote: "Twelve drawn frames beat sixty empty ones." },
|
|
436
|
+
palette: { primary: "#831843", secondary: "#f472b6", accent: "#fde047", hair: "#be185d", skin: "#f7ddc9" },
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
id: "zen-merkle",
|
|
440
|
+
codename: "AW-04",
|
|
441
|
+
name: "Zen Merkle",
|
|
442
|
+
title: "Proof Custodian",
|
|
443
|
+
faction: "archive-watch",
|
|
444
|
+
group: "moonwitness-xii",
|
|
445
|
+
archetype: "Warden",
|
|
446
|
+
element: "cryo",
|
|
447
|
+
rarity: "epic",
|
|
448
|
+
voicePitch: 0.87,
|
|
449
|
+
stats: { hp: 265, atk: 79, def: 95, spd: 74 },
|
|
450
|
+
ultimate: { name: "Hash Seal", jpCallout: "マークル・シール!!", quote: "Signed digests never drift in transit." },
|
|
451
|
+
palette: { primary: "#164e63", secondary: "#06b6d4", accent: "#f8fafc", hair: "#e2e8f0", skin: "#e9c9b1" },
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
id: "jax-pixel",
|
|
455
|
+
codename: "CS-05",
|
|
456
|
+
name: "Jax Pixel",
|
|
457
|
+
title: "Arcade Tactician",
|
|
458
|
+
faction: "cyber-strays",
|
|
459
|
+
group: "signal-riot",
|
|
460
|
+
archetype: "Ranger",
|
|
461
|
+
element: "volt",
|
|
462
|
+
rarity: "rare",
|
|
463
|
+
voicePitch: 1.06,
|
|
464
|
+
stats: { hp: 205, atk: 86, def: 63, spd: 92 },
|
|
465
|
+
ultimate: { name: "Combo Counter x99", jpCallout: "コンボ・フィニッシュ!!", quote: "Hitstop turns a tap into a punch." },
|
|
466
|
+
palette: { primary: "#1e1b4b", secondary: "#818cf8", accent: "#34d399", hair: "#4f46e5", skin: "#eecdb5" },
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
id: "tara-xerox",
|
|
470
|
+
codename: "SR-06",
|
|
471
|
+
name: "Tara Xerox",
|
|
472
|
+
title: "Zine Printer",
|
|
473
|
+
faction: "signal-riot",
|
|
474
|
+
group: "signal-riot",
|
|
475
|
+
archetype: "Artisan",
|
|
476
|
+
element: "ink",
|
|
477
|
+
rarity: "rare",
|
|
478
|
+
voicePitch: 1.02,
|
|
479
|
+
stats: { hp: 225, atk: 81, def: 77, spd: 81 },
|
|
480
|
+
ultimate: { name: "Riso Overprint", jpCallout: "リソ・オーバープリント!!", quote: "Raw paper grain tells the truth." },
|
|
481
|
+
palette: { primary: "#18181b", secondary: "#f5d000", accent: "#e11d74", hair: "#27272a", skin: "#e2ba9b" },
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
id: "dante-static",
|
|
485
|
+
codename: "VS-02",
|
|
486
|
+
name: "Dante Static",
|
|
487
|
+
title: "Signal Jammer",
|
|
488
|
+
faction: "void-syndicate",
|
|
489
|
+
group: "extended-lore",
|
|
490
|
+
archetype: "Disruptor",
|
|
491
|
+
element: "void",
|
|
492
|
+
rarity: "epic",
|
|
493
|
+
isBoss: true,
|
|
494
|
+
voicePitch: 0.81,
|
|
495
|
+
stats: { hp: 295, atk: 96, def: 80, spd: 86 },
|
|
496
|
+
ultimate: { name: "Dead Air Cascade", jpCallout: "スタティック・バースト!!", quote: "Lose the clock and lose the battle." },
|
|
497
|
+
palette: { primary: "#18181b", secondary: "#dc2626", accent: "#a855f7", hair: "#991b1b", skin: "#e0c2ad" },
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
id: "lyra-orbit",
|
|
501
|
+
codename: "MW-11",
|
|
502
|
+
name: "Lyra Orbit",
|
|
503
|
+
title: "Lunar Navigator",
|
|
504
|
+
faction: "moonwitness-xii",
|
|
505
|
+
group: "moonwitness-xii",
|
|
506
|
+
archetype: "Navigator",
|
|
507
|
+
element: "solar",
|
|
508
|
+
rarity: "legendary",
|
|
509
|
+
voicePitch: 1.07,
|
|
510
|
+
stats: { hp: 220, atk: 85, def: 76, spd: 94 },
|
|
511
|
+
ultimate: { name: "Orbital Lock-On", jpCallout: "オービタル・ロックオン!!", quote: "Keep every layer aligned to the same moon." },
|
|
512
|
+
palette: { primary: "#172554", secondary: "#60a5fa", accent: "#fde047", hair: "#93c5fd", skin: "#f4d9c4" },
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
id: "orion-zero",
|
|
516
|
+
codename: "VS-03",
|
|
517
|
+
name: "Orion Zero",
|
|
518
|
+
title: "Entropy Titan",
|
|
519
|
+
faction: "void-syndicate",
|
|
520
|
+
group: "extended-lore",
|
|
521
|
+
archetype: "Raid Boss",
|
|
522
|
+
element: "void",
|
|
523
|
+
rarity: "mythic",
|
|
524
|
+
isBoss: true,
|
|
525
|
+
voicePitch: 0.68,
|
|
526
|
+
stats: { hp: 360, atk: 108, def: 94, spd: 75 },
|
|
527
|
+
ultimate: { name: "Horizon Collapse", jpCallout: "ホライズン・ゼロ!!", quote: "Only tested systems endure the eclipse." },
|
|
528
|
+
palette: { primary: "#09090b", secondary: "#7e22ce", accent: "#f43f5e", hair: "#c084fc", skin: "#cbd5e1" },
|
|
529
|
+
},
|
|
530
|
+
];
|
|
531
|
+
|
|
532
|
+
export function getCharacterById(id: string | undefined | null): CharacterProfile | undefined {
|
|
533
|
+
if (!id) return undefined;
|
|
534
|
+
return CHARACTER_REGISTRY.find((c) => c.id === id);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export function getPlayableCharacters(): readonly CharacterProfile[] {
|
|
538
|
+
return CHARACTER_REGISTRY.filter((c) => !c.isBoss);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export function getMoonWitnessXiiCast(): readonly CharacterProfile[] {
|
|
542
|
+
return CHARACTER_REGISTRY.filter((c) => c.group === "moonwitness-xii");
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export function getExtendedLoreCast(): readonly CharacterProfile[] {
|
|
546
|
+
return CHARACTER_REGISTRY.filter((c) => c.group === "extended-lore");
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export function filterCharacters(filters: {
|
|
550
|
+
faction?: CharacterFactionId;
|
|
551
|
+
element?: CharacterElement;
|
|
552
|
+
rarity?: CharacterRarity;
|
|
553
|
+
query?: string;
|
|
554
|
+
}): readonly CharacterProfile[] {
|
|
555
|
+
const q = filters.query?.trim().toLowerCase() ?? "";
|
|
556
|
+
return CHARACTER_REGISTRY.filter((c) => {
|
|
557
|
+
if (filters.faction && c.faction !== filters.faction) return false;
|
|
558
|
+
if (filters.element && c.element !== filters.element) return false;
|
|
559
|
+
if (filters.rarity && c.rarity !== filters.rarity) return false;
|
|
560
|
+
if (q) {
|
|
561
|
+
const hay = `${c.name} ${c.codename} ${c.title} ${c.archetype} ${c.ultimate.name}`.toLowerCase();
|
|
562
|
+
if (!hay.includes(q)) return false;
|
|
563
|
+
}
|
|
564
|
+
return true;
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export function rollGachaCharacter(seed = Date.now()): CharacterProfile {
|
|
569
|
+
const idx = Math.abs(Math.floor(seed * 1664525 + 1013904223)) % CHARACTER_REGISTRY.length;
|
|
570
|
+
return CHARACTER_REGISTRY[idx]!;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
// Lore registry exports for CharacterBadge tests
|
|
574
|
+
export const ROCKSOUL_LORE_ROSTER: readonly CharacterProfile[] = CHARACTER_REGISTRY.filter(
|
|
575
|
+
(c) => c.group === "moonwitness-xii" || c.group === "extended-lore"
|
|
576
|
+
).map((c) => ({
|
|
577
|
+
...c,
|
|
578
|
+
canonLevel: "lore" as const,
|
|
579
|
+
autoMergeForbidden: true,
|
|
580
|
+
displayName: c.name,
|
|
581
|
+
loreGroup: c.faction,
|
|
582
|
+
}));
|
|
583
|
+
|
|
584
|
+
export const ROCKSOUL_LORE_FACTIONS: readonly CharacterFaction[] = CHARACTER_FACTIONS.filter(
|
|
585
|
+
(f) => f.id === "moonwitness-xii" || f.id === "rocksoul-echo" || f.id === "archive-watch" || f.id === "cyber-strays"
|
|
586
|
+
);
|
|
587
|
+
|
|
588
|
+
export const MOONWITNESS_XII_CAST_IDS: readonly string[] = CHARACTER_REGISTRY
|
|
589
|
+
.filter((c) => c.group === "moonwitness-xii")
|
|
590
|
+
.map((c) => c.id);
|
|
591
|
+
|
|
592
|
+
export const EXTENDED_LORE_CAST_IDS: readonly string[] = CHARACTER_REGISTRY
|
|
593
|
+
.filter((c) => c.group === "extended-lore")
|
|
594
|
+
.map((c) => c.id);
|
|
595
|
+
|
|
596
|
+
export function getLoreCharacterById(id: string | undefined | null): CharacterProfile | undefined {
|
|
597
|
+
if (!id) return undefined;
|
|
598
|
+
return ROCKSOUL_LORE_ROSTER.find((c) => c.id === id);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export function filterLoreCharacters(filters: {
|
|
602
|
+
faction?: CharacterFactionId;
|
|
603
|
+
element?: CharacterElement;
|
|
604
|
+
rarity?: CharacterRarity;
|
|
605
|
+
query?: string;
|
|
606
|
+
}): readonly CharacterProfile[] {
|
|
607
|
+
const q = filters.query?.trim().toLowerCase() ?? "";
|
|
608
|
+
return ROCKSOUL_LORE_ROSTER.filter((c) => {
|
|
609
|
+
if (filters.faction && c.faction !== filters.faction) return false;
|
|
610
|
+
if (filters.element && c.element !== filters.element) return false;
|
|
611
|
+
if (filters.rarity && c.rarity !== filters.rarity) return false;
|
|
612
|
+
if (q) {
|
|
613
|
+
const hay = `${c.name} ${c.codename} ${c.title} ${c.archetype} ${c.ultimate.name}`.toLowerCase();
|
|
614
|
+
if (!hay.includes(q)) return false;
|
|
615
|
+
}
|
|
616
|
+
return true;
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Returns all boss characters from the registry (characters with isBoss: true).
|
|
622
|
+
*/
|
|
623
|
+
export function getBossCharacters(): readonly CharacterProfile[] {
|
|
624
|
+
return CHARACTER_REGISTRY.filter((c) => c.isBoss === true);
|
|
625
|
+
}
|