@moonwitness/ui 0.0.0-stage → 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 +147 -2
- 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 +543 -4
- 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
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
export const CHARACTER_FACTIONS = [
|
|
2
|
+
{ id: "signal-riot", label: "Signal Riot", motto: "Same moon. Different people.", accent: "#e11d74" },
|
|
3
|
+
{ id: "moonwitness-xii", label: "MoonWitness XII", motto: "Twelve bands on one frequency.", accent: "#f5d000" },
|
|
4
|
+
{ id: "rocksoul-echo", label: "RockSoul Echo", motto: "Hold resolve, strike mercy.", accent: "#15803d" },
|
|
5
|
+
{ id: "archive-watch", label: "Archive Watch", motto: "Never invent what is missing.", accent: "#0891b2" },
|
|
6
|
+
{ id: "cyber-strays", label: "Cyber Strays", motto: "Zero drift across every frame.", accent: "#6d28d9" },
|
|
7
|
+
{ id: "void-syndicate", label: "Eclipse Bosses", motto: "Static swallows the unverified.", accent: "#be123c" },
|
|
8
|
+
];
|
|
9
|
+
export const CHARACTER_REGISTRY = [
|
|
10
|
+
{
|
|
11
|
+
id: "kuro-signal",
|
|
12
|
+
codename: "SR-01",
|
|
13
|
+
name: "Kuro",
|
|
14
|
+
title: "Ink Striker",
|
|
15
|
+
faction: "signal-riot",
|
|
16
|
+
group: "signal-riot",
|
|
17
|
+
archetype: "Courier",
|
|
18
|
+
element: "ink",
|
|
19
|
+
rarity: "mythic",
|
|
20
|
+
voicePitch: 1.08,
|
|
21
|
+
stats: { hp: 240, atk: 96, def: 64, spd: 98 },
|
|
22
|
+
ultimate: { name: "Signal Overdrive", jpCallout: "シグナル・オーバードライブ!!", quote: "When the moon rises, we share a message." },
|
|
23
|
+
palette: { primary: "#181b24", secondary: "#e11d74", accent: "#f5d000", hair: "#121319", skin: "#f4d8c0" },
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: "vesper-ink",
|
|
27
|
+
codename: "AW-02",
|
|
28
|
+
name: "Vesper",
|
|
29
|
+
title: "Zine Archivist",
|
|
30
|
+
faction: "archive-watch",
|
|
31
|
+
group: "signal-riot",
|
|
32
|
+
archetype: "Tactician",
|
|
33
|
+
element: "cryo",
|
|
34
|
+
rarity: "legendary",
|
|
35
|
+
voicePitch: 0.96,
|
|
36
|
+
stats: { hp: 220, atk: 84, def: 82, spd: 86 },
|
|
37
|
+
ultimate: { name: "Ledger Seal", jpCallout: "アーカイブ・シール!!", quote: "Mark the gap clearly so every witness sees truth." },
|
|
38
|
+
palette: { primary: "#272b3a", secondary: "#22d3ee", accent: "#f5d000", hair: "#cfd4e2", skin: "#f2d6c2" },
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: "akira-pulse",
|
|
42
|
+
codename: "CS-03",
|
|
43
|
+
name: "Akira Pulse",
|
|
44
|
+
title: "Volt Breaker",
|
|
45
|
+
faction: "cyber-strays",
|
|
46
|
+
group: "moonwitness-xii",
|
|
47
|
+
archetype: "Vanguard",
|
|
48
|
+
element: "volt",
|
|
49
|
+
rarity: "legendary",
|
|
50
|
+
voicePitch: 1.12,
|
|
51
|
+
stats: { hp: 235, atk: 94, def: 68, spd: 95 },
|
|
52
|
+
ultimate: { name: "Arc Flash Slash", jpCallout: "ボルト・アーク!!", quote: "Twelve frames is all it takes to cross the alley." },
|
|
53
|
+
palette: { primary: "#0f172a", secondary: "#38bdf8", accent: "#facc15", hair: "#1d4ed8", skin: "#f5dac6" },
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "nova-x",
|
|
57
|
+
codename: "MW-04",
|
|
58
|
+
name: "Nova-X",
|
|
59
|
+
title: "Solar Beacon",
|
|
60
|
+
faction: "moonwitness-xii",
|
|
61
|
+
group: "moonwitness-xii",
|
|
62
|
+
archetype: "Artillery",
|
|
63
|
+
element: "solar",
|
|
64
|
+
rarity: "mythic",
|
|
65
|
+
voicePitch: 1.04,
|
|
66
|
+
stats: { hp: 215, atk: 102, def: 58, spd: 89 },
|
|
67
|
+
ultimate: { name: "Zenith Flare", jpCallout: "ゼニス・フレア!!", quote: "Aim straight at the horizon line." },
|
|
68
|
+
palette: { primary: "#1e1b4b", secondary: "#f59e0b", accent: "#fde047", hair: "#f59e0b", skin: "#ebd0b8" },
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "lord-null",
|
|
72
|
+
codename: "VS-00",
|
|
73
|
+
name: "Lord Null",
|
|
74
|
+
title: "Architect of Static",
|
|
75
|
+
faction: "void-syndicate",
|
|
76
|
+
group: "extended-lore",
|
|
77
|
+
archetype: "Raid Boss",
|
|
78
|
+
element: "void",
|
|
79
|
+
rarity: "mythic",
|
|
80
|
+
isBoss: true,
|
|
81
|
+
voicePitch: 0.72,
|
|
82
|
+
stats: { hp: 380, atk: 112, def: 96, spd: 78 },
|
|
83
|
+
ultimate: { name: "Silent Erasure", jpCallout: "ヌル・イレイス!!", quote: "Unverified claims dissolve into white noise." },
|
|
84
|
+
palette: { primary: "#0c0a14", secondary: "#be123c", accent: "#a855f7", hair: "#f8fafc", skin: "#d6d3d1" },
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "rocksoul-witness",
|
|
88
|
+
codename: "RS-01",
|
|
89
|
+
name: "RockSoul Witness",
|
|
90
|
+
title: "Dual-Form Resonator",
|
|
91
|
+
faction: "rocksoul-echo",
|
|
92
|
+
group: "moonwitness-xii",
|
|
93
|
+
archetype: "Brawler",
|
|
94
|
+
element: "wind",
|
|
95
|
+
rarity: "mythic",
|
|
96
|
+
voicePitch: 0.88,
|
|
97
|
+
stats: { hp: 290, atk: 98, def: 88, spd: 84 },
|
|
98
|
+
ultimate: { name: "Black Resolve · Green Mercy", jpCallout: "レゾナンス・オーバードライブ!!", quote: "Strike hard enough to protect, never to erase." },
|
|
99
|
+
palette: { primary: "#111827", secondary: "#22c55e", accent: "#f5d000", hair: "#166534", skin: "#e7c6ab" },
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: "the-shadow",
|
|
103
|
+
codename: "EL-01",
|
|
104
|
+
name: "The Shadow",
|
|
105
|
+
title: "Boundary Watcher",
|
|
106
|
+
faction: "void-syndicate",
|
|
107
|
+
group: "extended-lore",
|
|
108
|
+
archetype: "Assassin",
|
|
109
|
+
element: "void",
|
|
110
|
+
rarity: "legendary",
|
|
111
|
+
isBoss: true,
|
|
112
|
+
voicePitch: 0.76,
|
|
113
|
+
stats: { hp: 260, atk: 105, def: 72, spd: 99 },
|
|
114
|
+
ultimate: { name: "Eclipse Corridor", jpCallout: "シャドウ・コリドー!!", quote: "Every streetlight casts two witnesses." },
|
|
115
|
+
palette: { primary: "#09090b", secondary: "#6d28d9", accent: "#e11d74", hair: "#18181b", skin: "#d4d4d8" },
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
id: "walter-white",
|
|
119
|
+
codename: "SR-08",
|
|
120
|
+
name: "Walter Sweeper",
|
|
121
|
+
title: "Label Sweeper",
|
|
122
|
+
faction: "signal-riot",
|
|
123
|
+
group: "signal-riot",
|
|
124
|
+
archetype: "Support",
|
|
125
|
+
element: "ink",
|
|
126
|
+
rarity: "epic",
|
|
127
|
+
voicePitch: 0.84,
|
|
128
|
+
stats: { hp: 250, atk: 74, def: 90, spd: 70 },
|
|
129
|
+
ultimate: { name: "Clean Sweep", jpCallout: "クリーンスウィープ!!", quote: "Keep the workbench clean and the signal stays pure." },
|
|
130
|
+
palette: { primary: "#1f2937", secondary: "#f5d000", accent: "#e11d74", hair: "#e5e7eb", skin: "#f0d3bc" },
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
id: "isrockfeel",
|
|
134
|
+
codename: "RS-02",
|
|
135
|
+
name: "IsRockFeel",
|
|
136
|
+
title: "Riff Mentor",
|
|
137
|
+
faction: "rocksoul-echo",
|
|
138
|
+
group: "moonwitness-xii",
|
|
139
|
+
archetype: "Bard",
|
|
140
|
+
element: "pyro",
|
|
141
|
+
rarity: "legendary",
|
|
142
|
+
voicePitch: 0.9,
|
|
143
|
+
stats: { hp: 245, atk: 92, def: 74, spd: 87 },
|
|
144
|
+
ultimate: { name: "Power Chord Breaker", jpCallout: "パワーコード!!", quote: "Feel the downbeat before you swing." },
|
|
145
|
+
palette: { primary: "#1c1917", secondary: "#ef4444", accent: "#f59e0b", hair: "#7f1d1d", skin: "#eac7ab" },
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
id: "fourlah",
|
|
149
|
+
codename: "RS-03",
|
|
150
|
+
name: "Fourlah",
|
|
151
|
+
title: "Relay Runner",
|
|
152
|
+
faction: "rocksoul-echo",
|
|
153
|
+
group: "moonwitness-xii",
|
|
154
|
+
archetype: "Scout",
|
|
155
|
+
element: "wind",
|
|
156
|
+
rarity: "epic",
|
|
157
|
+
voicePitch: 1.15,
|
|
158
|
+
stats: { hp: 205, atk: 86, def: 62, spd: 100 },
|
|
159
|
+
ultimate: { name: "Four-Beat Relay", jpCallout: "フォービート・リレー!!", quote: "Pass the baton before the static catches up." },
|
|
160
|
+
palette: { primary: "#0f766e", secondary: "#2dd4bf", accent: "#fde047", hair: "#134e4a", skin: "#f3d5be" },
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: "baby-doll",
|
|
164
|
+
codename: "EL-02",
|
|
165
|
+
name: "Baby Doll",
|
|
166
|
+
title: "Porcelain Echo",
|
|
167
|
+
faction: "void-syndicate",
|
|
168
|
+
group: "extended-lore",
|
|
169
|
+
archetype: "Controller",
|
|
170
|
+
element: "cryo",
|
|
171
|
+
rarity: "epic",
|
|
172
|
+
voicePitch: 1.24,
|
|
173
|
+
stats: { hp: 210, atk: 88, def: 66, spd: 82 },
|
|
174
|
+
ultimate: { name: "Clockwork Encore", jpCallout: "アンコール・ステップ!!", quote: "Still frames remember every promise." },
|
|
175
|
+
palette: { primary: "#3b0764", secondary: "#f472b6", accent: "#e0f2fe", hair: "#fbcfe8", skin: "#fde8dc" },
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
id: "blue-witch",
|
|
179
|
+
codename: "EL-03",
|
|
180
|
+
name: "Blue Witch",
|
|
181
|
+
title: "Indigo Oracle",
|
|
182
|
+
faction: "archive-watch",
|
|
183
|
+
group: "extended-lore",
|
|
184
|
+
archetype: "Caster",
|
|
185
|
+
element: "cryo",
|
|
186
|
+
rarity: "legendary",
|
|
187
|
+
voicePitch: 0.98,
|
|
188
|
+
stats: { hp: 200, atk: 97, def: 65, spd: 84 },
|
|
189
|
+
ultimate: { name: "Cobalt Grimoire", jpCallout: "コバルト・ノヴァ!!", quote: "Moonlight reveals ink invisible by noon." },
|
|
190
|
+
palette: { primary: "#1e3a8a", secondary: "#38bdf8", accent: "#facc15", hair: "#2563eb", skin: "#f3d8c7" },
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
id: "dj-david",
|
|
194
|
+
codename: "EL-04",
|
|
195
|
+
name: "DJ David",
|
|
196
|
+
title: "Frequency Mixer",
|
|
197
|
+
faction: "cyber-strays",
|
|
198
|
+
group: "extended-lore",
|
|
199
|
+
archetype: "Buffer",
|
|
200
|
+
element: "volt",
|
|
201
|
+
rarity: "epic",
|
|
202
|
+
voicePitch: 0.94,
|
|
203
|
+
stats: { hp: 225, atk: 80, def: 75, spd: 91 },
|
|
204
|
+
ultimate: { name: "Drop the Tempo", jpCallout: "ドロップ・ザ・ビート!!", quote: "Lock the BPM and the whole squad moves as one." },
|
|
205
|
+
palette: { primary: "#18181b", secondary: "#a855f7", accent: "#22d3ee", hair: "#111827", skin: "#d9a982" },
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
id: "dogs-from-universe",
|
|
209
|
+
codename: "EL-05",
|
|
210
|
+
name: "Cosmic Hounds",
|
|
211
|
+
title: "Orbital Pack",
|
|
212
|
+
faction: "cyber-strays",
|
|
213
|
+
group: "extended-lore",
|
|
214
|
+
archetype: "Beast",
|
|
215
|
+
element: "solar",
|
|
216
|
+
rarity: "rare",
|
|
217
|
+
voicePitch: 1.05,
|
|
218
|
+
stats: { hp: 230, atk: 89, def: 70, spd: 94 },
|
|
219
|
+
ultimate: { name: "Starlight Pack Rush", jpCallout: "コスミック・ラッシュ!!", quote: "Loyal to the trail across every orbit." },
|
|
220
|
+
palette: { primary: "#312e81", secondary: "#f59e0b", accent: "#38bdf8", hair: "#f59e0b", skin: "#e5c3a6" },
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: "electric-forest",
|
|
224
|
+
codename: "EL-06",
|
|
225
|
+
name: "Electric Forest",
|
|
226
|
+
title: "Canopy Warden",
|
|
227
|
+
faction: "rocksoul-echo",
|
|
228
|
+
group: "extended-lore",
|
|
229
|
+
archetype: "Guardian",
|
|
230
|
+
element: "volt",
|
|
231
|
+
rarity: "legendary",
|
|
232
|
+
voicePitch: 0.82,
|
|
233
|
+
stats: { hp: 310, atk: 82, def: 98, spd: 68 },
|
|
234
|
+
ultimate: { name: "Root-Grid Surge", jpCallout: "エレクトリック・キャノピー!!", quote: "Every wire runs back to living ground." },
|
|
235
|
+
palette: { primary: "#064e3b", secondary: "#10b981", accent: "#fde047", hair: "#047857", skin: "#d4b499" },
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
id: "indestructible",
|
|
239
|
+
codename: "EL-07",
|
|
240
|
+
name: "Indestructible",
|
|
241
|
+
title: "Iron Bastion",
|
|
242
|
+
faction: "moonwitness-xii",
|
|
243
|
+
group: "extended-lore",
|
|
244
|
+
archetype: "Tank",
|
|
245
|
+
element: "pyro",
|
|
246
|
+
rarity: "legendary",
|
|
247
|
+
isBoss: true,
|
|
248
|
+
voicePitch: 0.78,
|
|
249
|
+
stats: { hp: 340, atk: 88, def: 104, spd: 62 },
|
|
250
|
+
ultimate: { name: "Unbroken Frame", jpCallout: "アンブロークン!!", quote: "Hold the line until the final proof lands." },
|
|
251
|
+
palette: { primary: "#292524", secondary: "#f97316", accent: "#facc15", hair: "#44403c", skin: "#d8b192" },
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
id: "the-listener",
|
|
255
|
+
codename: "EL-08",
|
|
256
|
+
name: "The Listener",
|
|
257
|
+
title: "Quiet Receiver",
|
|
258
|
+
faction: "archive-watch",
|
|
259
|
+
group: "extended-lore",
|
|
260
|
+
archetype: "Analyst",
|
|
261
|
+
element: "wind",
|
|
262
|
+
rarity: "epic",
|
|
263
|
+
voicePitch: 0.92,
|
|
264
|
+
stats: { hp: 215, atk: 76, def: 80, spd: 88 },
|
|
265
|
+
ultimate: { name: "Clear Channel", jpCallout: "クリア・チャンネル!!", quote: "Hear what was actually said before speaking." },
|
|
266
|
+
palette: { primary: "#1e293b", secondary: "#64748b", accent: "#22d3ee", hair: "#94a3b8", skin: "#eed0bc" },
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
id: "crew-01",
|
|
270
|
+
codename: "MC-01",
|
|
271
|
+
name: "Crew-01",
|
|
272
|
+
title: "Moon City Pilot",
|
|
273
|
+
faction: "signal-riot",
|
|
274
|
+
group: "signal-riot",
|
|
275
|
+
archetype: "Operator",
|
|
276
|
+
element: "ink",
|
|
277
|
+
rarity: "rare",
|
|
278
|
+
voicePitch: 1.0,
|
|
279
|
+
stats: { hp: 210, atk: 75, def: 75, spd: 80 },
|
|
280
|
+
ultimate: { name: "Rooftop Check", jpCallout: "チェック・クリア!!", quote: "Anonymous hands keep the city running." },
|
|
281
|
+
palette: { primary: "#1e212b", secondary: "#e11d74", accent: "#f3efe4", hair: "#121319", skin: "#e8c8b0" },
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
id: "sora-halftone",
|
|
285
|
+
codename: "MW-05",
|
|
286
|
+
name: "Sora Halftone",
|
|
287
|
+
title: "Print Press Ace",
|
|
288
|
+
faction: "moonwitness-xii",
|
|
289
|
+
group: "moonwitness-xii",
|
|
290
|
+
archetype: "Striker",
|
|
291
|
+
element: "wind",
|
|
292
|
+
rarity: "rare",
|
|
293
|
+
voicePitch: 1.14,
|
|
294
|
+
stats: { hp: 205, atk: 84, def: 64, spd: 93 },
|
|
295
|
+
ultimate: { name: "Dot-Screen Gale", jpCallout: "ハーフトーン・ゲイル!!", quote: "Fresh ink dries faster in the wind." },
|
|
296
|
+
palette: { primary: "#0c4a6e", secondary: "#38bdf8", accent: "#f43f5e", hair: "#0284c7", skin: "#f6dcc8" },
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
id: "ren-katana",
|
|
300
|
+
codename: "MW-06",
|
|
301
|
+
name: "Ren Kurosaki",
|
|
302
|
+
title: "Zero-Drift Blade",
|
|
303
|
+
faction: "moonwitness-xii",
|
|
304
|
+
group: "moonwitness-xii",
|
|
305
|
+
archetype: "Duelist",
|
|
306
|
+
element: "ink",
|
|
307
|
+
rarity: "legendary",
|
|
308
|
+
voicePitch: 0.91,
|
|
309
|
+
stats: { hp: 230, atk: 101, def: 68, spd: 96 },
|
|
310
|
+
ultimate: { name: "Single-Stroke Cut", jpCallout: "一閃・ゼロドリフト!!", quote: "One clean diff beats ten hasty patches." },
|
|
311
|
+
palette: { primary: "#111318", secondary: "#f43f5e", accent: "#ffffff", hair: "#1f2937", skin: "#f2d6c0" },
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: "hana-spark",
|
|
315
|
+
codename: "CS-04",
|
|
316
|
+
name: "Hana Spark",
|
|
317
|
+
title: "Solder Engineer",
|
|
318
|
+
faction: "cyber-strays",
|
|
319
|
+
group: "moonwitness-xii",
|
|
320
|
+
archetype: "Mechanic",
|
|
321
|
+
element: "pyro",
|
|
322
|
+
rarity: "epic",
|
|
323
|
+
voicePitch: 1.18,
|
|
324
|
+
stats: { hp: 220, atk: 87, def: 76, spd: 83 },
|
|
325
|
+
ultimate: { name: "Overclock Turret", jpCallout: "オーバークロック!!", quote: "If it hums at 60Hz, push it to 120." },
|
|
326
|
+
palette: { primary: "#7c2d12", secondary: "#fb923c", accent: "#fde047", hair: "#ea580c", skin: "#f5d7c1" },
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
id: "mira-prism",
|
|
330
|
+
codename: "AW-03",
|
|
331
|
+
name: "Mira Prism",
|
|
332
|
+
title: "Chromatic Scribe",
|
|
333
|
+
faction: "archive-watch",
|
|
334
|
+
group: "moonwitness-xii",
|
|
335
|
+
archetype: "Support",
|
|
336
|
+
element: "solar",
|
|
337
|
+
rarity: "epic",
|
|
338
|
+
voicePitch: 1.09,
|
|
339
|
+
stats: { hp: 210, atk: 78, def: 79, spd: 85 },
|
|
340
|
+
ultimate: { name: "RGB Split", jpCallout: "プリズム・スプリット!!", quote: "Every color token earns its contrast ratio." },
|
|
341
|
+
palette: { primary: "#4c1d95", secondary: "#e879f9", accent: "#22d3ee", hair: "#c084fc", skin: "#f4dac8" },
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
id: "kai-tremor",
|
|
345
|
+
codename: "RS-04",
|
|
346
|
+
name: "Kai Tremor",
|
|
347
|
+
title: "Bassline Breaker",
|
|
348
|
+
faction: "rocksoul-echo",
|
|
349
|
+
group: "moonwitness-xii",
|
|
350
|
+
archetype: "Bruiser",
|
|
351
|
+
element: "pyro",
|
|
352
|
+
rarity: "rare",
|
|
353
|
+
voicePitch: 0.85,
|
|
354
|
+
stats: { hp: 280, atk: 91, def: 84, spd: 72 },
|
|
355
|
+
ultimate: { name: "Seismic Drop", jpCallout: "サイズミック・ドロップ!!", quote: "Shake the stage, keep the focus ring steady." },
|
|
356
|
+
palette: { primary: "#27272a", secondary: "#f59e0b", accent: "#ef4444", hair: "#18181b", skin: "#dca986" },
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
id: "yumi-clip",
|
|
360
|
+
codename: "SR-05",
|
|
361
|
+
name: "Yumi Keyframe",
|
|
362
|
+
title: "Sakuga Director",
|
|
363
|
+
faction: "signal-riot",
|
|
364
|
+
group: "moonwitness-xii",
|
|
365
|
+
archetype: "Director",
|
|
366
|
+
element: "wind",
|
|
367
|
+
rarity: "legendary",
|
|
368
|
+
voicePitch: 1.11,
|
|
369
|
+
stats: { hp: 215, atk: 88, def: 70, spd: 97 },
|
|
370
|
+
ultimate: { name: "On-Twos Smear", jpCallout: "サクラ・スメア!!", quote: "Twelve drawn frames beat sixty empty ones." },
|
|
371
|
+
palette: { primary: "#831843", secondary: "#f472b6", accent: "#fde047", hair: "#be185d", skin: "#f7ddc9" },
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
id: "zen-merkle",
|
|
375
|
+
codename: "AW-04",
|
|
376
|
+
name: "Zen Merkle",
|
|
377
|
+
title: "Proof Custodian",
|
|
378
|
+
faction: "archive-watch",
|
|
379
|
+
group: "moonwitness-xii",
|
|
380
|
+
archetype: "Warden",
|
|
381
|
+
element: "cryo",
|
|
382
|
+
rarity: "epic",
|
|
383
|
+
voicePitch: 0.87,
|
|
384
|
+
stats: { hp: 265, atk: 79, def: 95, spd: 74 },
|
|
385
|
+
ultimate: { name: "Hash Seal", jpCallout: "マークル・シール!!", quote: "Signed digests never drift in transit." },
|
|
386
|
+
palette: { primary: "#164e63", secondary: "#06b6d4", accent: "#f8fafc", hair: "#e2e8f0", skin: "#e9c9b1" },
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
id: "jax-pixel",
|
|
390
|
+
codename: "CS-05",
|
|
391
|
+
name: "Jax Pixel",
|
|
392
|
+
title: "Arcade Tactician",
|
|
393
|
+
faction: "cyber-strays",
|
|
394
|
+
group: "signal-riot",
|
|
395
|
+
archetype: "Ranger",
|
|
396
|
+
element: "volt",
|
|
397
|
+
rarity: "rare",
|
|
398
|
+
voicePitch: 1.06,
|
|
399
|
+
stats: { hp: 205, atk: 86, def: 63, spd: 92 },
|
|
400
|
+
ultimate: { name: "Combo Counter x99", jpCallout: "コンボ・フィニッシュ!!", quote: "Hitstop turns a tap into a punch." },
|
|
401
|
+
palette: { primary: "#1e1b4b", secondary: "#818cf8", accent: "#34d399", hair: "#4f46e5", skin: "#eecdb5" },
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
id: "tara-xerox",
|
|
405
|
+
codename: "SR-06",
|
|
406
|
+
name: "Tara Xerox",
|
|
407
|
+
title: "Zine Printer",
|
|
408
|
+
faction: "signal-riot",
|
|
409
|
+
group: "signal-riot",
|
|
410
|
+
archetype: "Artisan",
|
|
411
|
+
element: "ink",
|
|
412
|
+
rarity: "rare",
|
|
413
|
+
voicePitch: 1.02,
|
|
414
|
+
stats: { hp: 225, atk: 81, def: 77, spd: 81 },
|
|
415
|
+
ultimate: { name: "Riso Overprint", jpCallout: "リソ・オーバープリント!!", quote: "Raw paper grain tells the truth." },
|
|
416
|
+
palette: { primary: "#18181b", secondary: "#f5d000", accent: "#e11d74", hair: "#27272a", skin: "#e2ba9b" },
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
id: "dante-static",
|
|
420
|
+
codename: "VS-02",
|
|
421
|
+
name: "Dante Static",
|
|
422
|
+
title: "Signal Jammer",
|
|
423
|
+
faction: "void-syndicate",
|
|
424
|
+
group: "extended-lore",
|
|
425
|
+
archetype: "Disruptor",
|
|
426
|
+
element: "void",
|
|
427
|
+
rarity: "epic",
|
|
428
|
+
isBoss: true,
|
|
429
|
+
voicePitch: 0.81,
|
|
430
|
+
stats: { hp: 295, atk: 96, def: 80, spd: 86 },
|
|
431
|
+
ultimate: { name: "Dead Air Cascade", jpCallout: "スタティック・バースト!!", quote: "Lose the clock and lose the battle." },
|
|
432
|
+
palette: { primary: "#18181b", secondary: "#dc2626", accent: "#a855f7", hair: "#991b1b", skin: "#e0c2ad" },
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
id: "lyra-orbit",
|
|
436
|
+
codename: "MW-11",
|
|
437
|
+
name: "Lyra Orbit",
|
|
438
|
+
title: "Lunar Navigator",
|
|
439
|
+
faction: "moonwitness-xii",
|
|
440
|
+
group: "moonwitness-xii",
|
|
441
|
+
archetype: "Navigator",
|
|
442
|
+
element: "solar",
|
|
443
|
+
rarity: "legendary",
|
|
444
|
+
voicePitch: 1.07,
|
|
445
|
+
stats: { hp: 220, atk: 85, def: 76, spd: 94 },
|
|
446
|
+
ultimate: { name: "Orbital Lock-On", jpCallout: "オービタル・ロックオン!!", quote: "Keep every layer aligned to the same moon." },
|
|
447
|
+
palette: { primary: "#172554", secondary: "#60a5fa", accent: "#fde047", hair: "#93c5fd", skin: "#f4d9c4" },
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
id: "orion-zero",
|
|
451
|
+
codename: "VS-03",
|
|
452
|
+
name: "Orion Zero",
|
|
453
|
+
title: "Entropy Titan",
|
|
454
|
+
faction: "void-syndicate",
|
|
455
|
+
group: "extended-lore",
|
|
456
|
+
archetype: "Raid Boss",
|
|
457
|
+
element: "void",
|
|
458
|
+
rarity: "mythic",
|
|
459
|
+
isBoss: true,
|
|
460
|
+
voicePitch: 0.68,
|
|
461
|
+
stats: { hp: 360, atk: 108, def: 94, spd: 75 },
|
|
462
|
+
ultimate: { name: "Horizon Collapse", jpCallout: "ホライズン・ゼロ!!", quote: "Only tested systems endure the eclipse." },
|
|
463
|
+
palette: { primary: "#09090b", secondary: "#7e22ce", accent: "#f43f5e", hair: "#c084fc", skin: "#cbd5e1" },
|
|
464
|
+
},
|
|
465
|
+
];
|
|
466
|
+
export function getCharacterById(id) {
|
|
467
|
+
if (!id)
|
|
468
|
+
return undefined;
|
|
469
|
+
return CHARACTER_REGISTRY.find((c) => c.id === id);
|
|
470
|
+
}
|
|
471
|
+
export function getPlayableCharacters() {
|
|
472
|
+
return CHARACTER_REGISTRY.filter((c) => !c.isBoss);
|
|
473
|
+
}
|
|
474
|
+
export function getMoonWitnessXiiCast() {
|
|
475
|
+
return CHARACTER_REGISTRY.filter((c) => c.group === "moonwitness-xii");
|
|
476
|
+
}
|
|
477
|
+
export function getExtendedLoreCast() {
|
|
478
|
+
return CHARACTER_REGISTRY.filter((c) => c.group === "extended-lore");
|
|
479
|
+
}
|
|
480
|
+
export function filterCharacters(filters) {
|
|
481
|
+
const q = filters.query?.trim().toLowerCase() ?? "";
|
|
482
|
+
return CHARACTER_REGISTRY.filter((c) => {
|
|
483
|
+
if (filters.faction && c.faction !== filters.faction)
|
|
484
|
+
return false;
|
|
485
|
+
if (filters.element && c.element !== filters.element)
|
|
486
|
+
return false;
|
|
487
|
+
if (filters.rarity && c.rarity !== filters.rarity)
|
|
488
|
+
return false;
|
|
489
|
+
if (q) {
|
|
490
|
+
const hay = `${c.name} ${c.codename} ${c.title} ${c.archetype} ${c.ultimate.name}`.toLowerCase();
|
|
491
|
+
if (!hay.includes(q))
|
|
492
|
+
return false;
|
|
493
|
+
}
|
|
494
|
+
return true;
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
export function rollGachaCharacter(seed = Date.now()) {
|
|
498
|
+
const idx = Math.abs(Math.floor(seed * 1664525 + 1013904223)) % CHARACTER_REGISTRY.length;
|
|
499
|
+
return CHARACTER_REGISTRY[idx];
|
|
500
|
+
}
|
|
501
|
+
// Lore registry exports for CharacterBadge tests
|
|
502
|
+
export const ROCKSOUL_LORE_ROSTER = CHARACTER_REGISTRY.filter((c) => c.group === "moonwitness-xii" || c.group === "extended-lore").map((c) => ({
|
|
503
|
+
...c,
|
|
504
|
+
canonLevel: "lore",
|
|
505
|
+
autoMergeForbidden: true,
|
|
506
|
+
displayName: c.name,
|
|
507
|
+
loreGroup: c.faction,
|
|
508
|
+
}));
|
|
509
|
+
export const ROCKSOUL_LORE_FACTIONS = CHARACTER_FACTIONS.filter((f) => f.id === "moonwitness-xii" || f.id === "rocksoul-echo" || f.id === "archive-watch" || f.id === "cyber-strays");
|
|
510
|
+
export const MOONWITNESS_XII_CAST_IDS = CHARACTER_REGISTRY
|
|
511
|
+
.filter((c) => c.group === "moonwitness-xii")
|
|
512
|
+
.map((c) => c.id);
|
|
513
|
+
export const EXTENDED_LORE_CAST_IDS = CHARACTER_REGISTRY
|
|
514
|
+
.filter((c) => c.group === "extended-lore")
|
|
515
|
+
.map((c) => c.id);
|
|
516
|
+
export function getLoreCharacterById(id) {
|
|
517
|
+
if (!id)
|
|
518
|
+
return undefined;
|
|
519
|
+
return ROCKSOUL_LORE_ROSTER.find((c) => c.id === id);
|
|
520
|
+
}
|
|
521
|
+
export function filterLoreCharacters(filters) {
|
|
522
|
+
const q = filters.query?.trim().toLowerCase() ?? "";
|
|
523
|
+
return ROCKSOUL_LORE_ROSTER.filter((c) => {
|
|
524
|
+
if (filters.faction && c.faction !== filters.faction)
|
|
525
|
+
return false;
|
|
526
|
+
if (filters.element && c.element !== filters.element)
|
|
527
|
+
return false;
|
|
528
|
+
if (filters.rarity && c.rarity !== filters.rarity)
|
|
529
|
+
return false;
|
|
530
|
+
if (q) {
|
|
531
|
+
const hay = `${c.name} ${c.codename} ${c.title} ${c.archetype} ${c.ultimate.name}`.toLowerCase();
|
|
532
|
+
if (!hay.includes(q))
|
|
533
|
+
return false;
|
|
534
|
+
}
|
|
535
|
+
return true;
|
|
536
|
+
});
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Returns all boss characters from the registry (characters with isBoss: true).
|
|
540
|
+
*/
|
|
541
|
+
export function getBossCharacters() {
|
|
542
|
+
return CHARACTER_REGISTRY.filter((c) => c.isBoss === true);
|
|
543
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Accordion as RadixAccordion } from "radix-ui";
|
|
2
|
+
import type { ComponentProps } from "react";
|
|
3
|
+
import type { PixelFxProp } from "../pixelfx-registry.js";
|
|
4
|
+
export declare function Accordion({ className, fx, ...props }: ComponentProps<typeof RadixAccordion.Root> & {
|
|
5
|
+
fx?: PixelFxProp;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
export declare function AccordionItem({ className, ...props }: ComponentProps<typeof RadixAccordion.Item>): import("react").JSX.Element;
|
|
8
|
+
export declare function AccordionTrigger({ className, children, fx, onClick, ...props }: ComponentProps<typeof RadixAccordion.Trigger> & {
|
|
9
|
+
fx?: PixelFxProp;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
|
+
export declare function AccordionContent({ className, ...props }: ComponentProps<typeof RadixAccordion.Content>): import("react").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Accordion as RadixAccordion } from "radix-ui";
|
|
4
|
+
import { useComponentPixelFx } from "../pixelfx.js";
|
|
5
|
+
import { cn } from "../utils.js";
|
|
6
|
+
export function Accordion({ className, fx = "auto", ...props }) {
|
|
7
|
+
const pfx = useComponentPixelFx({ kind: "accordion", fx });
|
|
8
|
+
return (_jsx(RadixAccordion.Root, { className: cn("mw-ui-accordion", className), ...pfx.dataAttributes, ...props }));
|
|
9
|
+
}
|
|
10
|
+
export function AccordionItem({ className, ...props }) {
|
|
11
|
+
return (_jsx(RadixAccordion.Item, { className: cn("mw-ui-accordion-item", className), ...props }));
|
|
12
|
+
}
|
|
13
|
+
export function AccordionTrigger({ className, children, fx = "auto", onClick, ...props }) {
|
|
14
|
+
const pfx = useComponentPixelFx({
|
|
15
|
+
kind: "accordion",
|
|
16
|
+
fx,
|
|
17
|
+
placement: "burst",
|
|
18
|
+
});
|
|
19
|
+
return (_jsx(RadixAccordion.Header, { style: { margin: 0 }, children: _jsxs(RadixAccordion.Trigger, { className: cn("mw-ui-accordion-trigger", className), ...pfx.dataAttributes, onClick: (e) => {
|
|
20
|
+
pfx.triggerBurst(e);
|
|
21
|
+
onClick?.(e);
|
|
22
|
+
}, ...props, children: [_jsx("span", { children: children }), _jsx("span", { "aria-hidden": "true", className: "mw-ui-accordion-chevron" }), pfx.layer] }) }));
|
|
23
|
+
}
|
|
24
|
+
export function AccordionContent({ className, ...props }) {
|
|
25
|
+
return (_jsx(RadixAccordion.Content, { className: cn("mw-ui-accordion-content", className), ...props }));
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type HTMLAttributes } from "react";
|
|
2
|
+
import { type EmpirePaletteId, type PixelFxEffectId } from "../pixelfx-registry.js";
|
|
3
|
+
export type AlertVariant = "default" | "info" | "success" | "warning" | "destructive";
|
|
4
|
+
export interface AlertProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
variant?: AlertVariant;
|
|
6
|
+
jagged?: boolean;
|
|
7
|
+
fx?: PixelFxEffectId | "auto" | false;
|
|
8
|
+
fxPalette?: EmpirePaletteId;
|
|
9
|
+
fxTrigger?: "hover" | "always";
|
|
10
|
+
onDismiss?: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const Alert: import("react").ForwardRefExoticComponent<AlertProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export declare function AlertTitle({ className, ...props }: HTMLAttributes<HTMLHeadingElement>): import("react").JSX.Element;
|
|
14
|
+
export declare function AlertDescription({ className, ...props }: HTMLAttributes<HTMLParagraphElement>): import("react").JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useState } from "react";
|
|
4
|
+
import { JaggedBorderSvg, PixelFxComponentLayer } from "../pixelfx.js";
|
|
5
|
+
import { resolveComponentPixelFx, } from "../pixelfx-registry.js";
|
|
6
|
+
const ALERT_VARIANT_BORDER_COLOR = {
|
|
7
|
+
default: "var(--mw-yellow)",
|
|
8
|
+
info: "var(--mw-cyan)",
|
|
9
|
+
success: "var(--mw-success)",
|
|
10
|
+
warning: "var(--mw-warning)",
|
|
11
|
+
destructive: "var(--mw-destructive)",
|
|
12
|
+
};
|
|
13
|
+
export const Alert = forwardRef(function Alert({ variant = "default", jagged = true, fx = "auto", fxPalette, fxTrigger = "always", onDismiss, className, children, onMouseEnter, onMouseLeave, ...props }, ref) {
|
|
14
|
+
const [hovered, setHovered] = useState(false);
|
|
15
|
+
const autoFx = resolveComponentPixelFx("alert", variant);
|
|
16
|
+
const resolvedEffectId = fx === false ? null : fx === "auto" ? autoFx.effectId : fx;
|
|
17
|
+
const fxActive = Boolean(resolvedEffectId && (fxTrigger === "always" || hovered));
|
|
18
|
+
return (_jsxs("div", { ref: ref, role: variant === "destructive" ? "alert" : "status", className: className ? `mw-ui-alert ${className}` : "mw-ui-alert", "data-variant": variant, "data-jagged": jagged ? "true" : undefined, "data-pixelfx": resolvedEffectId ?? undefined, "data-pixelfx-ready": resolvedEffectId ? "true" : undefined, onMouseEnter: (event) => {
|
|
19
|
+
if (resolvedEffectId && fxTrigger === "hover")
|
|
20
|
+
setHovered(true);
|
|
21
|
+
onMouseEnter?.(event);
|
|
22
|
+
}, onMouseLeave: (event) => {
|
|
23
|
+
if (resolvedEffectId && fxTrigger === "hover")
|
|
24
|
+
setHovered(false);
|
|
25
|
+
onMouseLeave?.(event);
|
|
26
|
+
}, ...props, children: [jagged ? (_jsx(JaggedBorderSvg, { color: ALERT_VARIANT_BORDER_COLOR[variant] })) : null, resolvedEffectId ? (_jsx(PixelFxComponentLayer, { effectId: resolvedEffectId, paletteId: fxPalette ?? autoFx.paletteId, layer: autoFx.layer, loop: true, active: fxActive, speed: autoFx.speed, seed: autoFx.seed, lightK: autoFx.lightK, placement: "background" })) : null, children, onDismiss ? (_jsx("button", { type: "button", className: "mw-ui-alert-dismiss", onClick: onDismiss, "aria-label": "Dismiss alert", children: "\u00D7" })) : null] }));
|
|
27
|
+
});
|
|
28
|
+
Alert.displayName = "Alert";
|
|
29
|
+
export function AlertTitle({ className, ...props }) {
|
|
30
|
+
return (_jsx("h4", { className: className ? `mw-ui-alert-title ${className}` : "mw-ui-alert-title", ...props }));
|
|
31
|
+
}
|
|
32
|
+
export function AlertDescription({ className, ...props }) {
|
|
33
|
+
return (_jsx("p", { className: className
|
|
34
|
+
? `mw-ui-alert-description ${className}`
|
|
35
|
+
: "mw-ui-alert-description", ...props }));
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ButtonSize, type ButtonVariant } from "./button.js";
|
|
2
|
+
import type { SkinDensity, ThemeMode } from "../themes/types.js";
|
|
3
|
+
import type { PixelFxProp } from "../pixelfx-registry.js";
|
|
4
|
+
export interface AppearanceToggleItem {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly label: string;
|
|
7
|
+
readonly checked: boolean;
|
|
8
|
+
readonly onChange: (checked: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface AppearanceMenuProps {
|
|
11
|
+
readonly mode?: ThemeMode;
|
|
12
|
+
readonly onModeChange?: (mode: ThemeMode) => void;
|
|
13
|
+
readonly density?: SkinDensity;
|
|
14
|
+
readonly onDensityChange?: (density: SkinDensity) => void;
|
|
15
|
+
readonly toggles?: readonly AppearanceToggleItem[];
|
|
16
|
+
readonly buttonSize?: ButtonSize;
|
|
17
|
+
readonly buttonVariant?: ButtonVariant;
|
|
18
|
+
readonly align?: "start" | "center" | "end";
|
|
19
|
+
readonly ariaLabel?: string;
|
|
20
|
+
readonly fx?: PixelFxProp;
|
|
21
|
+
}
|
|
22
|
+
export declare function AppearanceMenu({ mode: controlledMode, onModeChange, density: controlledDensity, onDensityChange, toggles, buttonSize, buttonVariant, align, ariaLabel, fx, }: AppearanceMenuProps): import("react").JSX.Element;
|