@krizaka/ui 3.62.0 → 3.63.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/README.md +13 -16
- package/dist/account-menu.d.ts +1 -1
- package/dist/account-menu.js +1 -1
- package/dist/account-settings.d.ts +1 -1
- package/dist/account-settings.js +2 -2
- package/dist/achievement.d.ts +2 -2
- package/dist/achievement.js +1 -1
- package/dist/achievement.js.map +1 -1
- package/dist/action-bar.js +4 -4
- package/dist/activity-feed.d.ts +1 -1
- package/dist/activity-feed.js.map +1 -1
- package/dist/analysis-report.d.ts +274 -0
- package/dist/analysis-report.js +207 -0
- package/dist/analysis-report.js.map +1 -0
- package/dist/app-shell.js.map +1 -1
- package/dist/argument-card.d.ts +1 -1
- package/dist/argument-card.js +5 -5
- package/dist/auth-layout.d.ts +1 -1
- package/dist/auth-layout.js.map +1 -1
- package/dist/avatar/defaults.d.ts +2 -1
- package/dist/avatar/defaults.js.map +1 -1
- package/dist/{avatar-iajODANU.d.ts → avatar-BL2iG_Js.d.ts} +2 -1
- package/dist/avatar.d.ts +3 -2
- package/dist/avatar.js.map +1 -1
- package/dist/badge.js +4 -34
- package/dist/badge.js.map +1 -1
- package/dist/bird-plate.d.ts +1 -1
- package/dist/bird-plate.js +1 -1
- package/dist/blocks.css +99 -8
- package/dist/button.js +1 -1
- package/dist/captcha.js +1 -1
- package/dist/chat.js +1 -1
- package/dist/choice-grid.d.ts +1 -1
- package/dist/choice-grid.js +1 -1
- package/dist/choice-grid.js.map +1 -1
- package/dist/chunk-5PFCELGW.js +41 -0
- package/dist/chunk-5PFCELGW.js.map +1 -0
- package/dist/chunk-5RWHDX5J.js +37 -0
- package/dist/chunk-5RWHDX5J.js.map +1 -0
- package/dist/{chunk-KB7OLYIJ.js → chunk-7AZ23BUX.js} +1 -1
- package/dist/chunk-7AZ23BUX.js.map +1 -0
- package/dist/{chunk-4E5IUZHR.js → chunk-B2HS5EAH.js} +1 -1
- package/dist/chunk-B2HS5EAH.js.map +1 -0
- package/dist/{chunk-5LANVCK7.js → chunk-BG5APGX6.js} +2 -2
- package/dist/{chunk-WOZP3JLW.js → chunk-DJ5ZPPWL.js} +1 -1
- package/dist/chunk-DJ5ZPPWL.js.map +1 -0
- package/dist/{chunk-MHUUNC5W.js → chunk-DRTIE44Z.js} +1 -1
- package/dist/chunk-DRTIE44Z.js.map +1 -0
- package/dist/{chunk-UV4HBVH7.js → chunk-EB45EVPJ.js} +2 -2
- package/dist/{chunk-SJS6RJIT.js.map → chunk-EB45EVPJ.js.map} +1 -1
- package/dist/{chunk-555LWYIN.js → chunk-EHTXLZSM.js} +1 -1
- package/dist/{chunk-555LWYIN.js.map → chunk-EHTXLZSM.js.map} +1 -1
- package/dist/{chunk-6EAHUURY.js → chunk-GHAN7OOE.js} +2 -2
- package/dist/chunk-JT7ZKZT5.js +1 -0
- package/dist/chunk-JT7ZKZT5.js.map +1 -0
- package/dist/{chunk-3DHNN5V7.js → chunk-M3GEYLMR.js} +2 -2
- package/dist/{chunk-3DHNN5V7.js.map → chunk-M3GEYLMR.js.map} +1 -1
- package/dist/{chunk-7J2L4HOD.js → chunk-MTVX4RRF.js} +2 -2
- package/dist/{chunk-7J2L4HOD.js.map → chunk-MTVX4RRF.js.map} +1 -1
- package/dist/{chunk-YKEIOYJ5.js → chunk-NPMGYLJV.js} +1 -1
- package/dist/chunk-NPMGYLJV.js.map +1 -0
- package/dist/{chunk-3RVFD3UX.js → chunk-PW2FVPTV.js} +1 -1
- package/dist/chunk-PW2FVPTV.js.map +1 -0
- package/dist/{chunk-HEKDKM5Y.js → chunk-QVHSV6RA.js} +1 -1
- package/dist/{chunk-MIMOTE4W.js → chunk-RCHKIOVV.js} +1 -1
- package/dist/chunk-RCHKIOVV.js.map +1 -0
- package/dist/{chunk-7JG3VR4C.js → chunk-RCKXJEDQ.js} +5 -5
- package/dist/{chunk-XVFQZ3ZG.js → chunk-TPITVAUW.js} +1 -1
- package/dist/{chunk-XVFQZ3ZG.js.map → chunk-TPITVAUW.js.map} +1 -1
- package/dist/chunk-U4XTZMB7.js +103 -0
- package/dist/chunk-U4XTZMB7.js.map +1 -0
- package/dist/{chunk-SJS6RJIT.js → chunk-V7W4RLRW.js} +2 -2
- package/dist/{chunk-UV4HBVH7.js.map → chunk-V7W4RLRW.js.map} +1 -1
- package/dist/{chunk-RBETQO2P.js → chunk-Y5YBTHVD.js} +9 -15
- package/dist/chunk-Y5YBTHVD.js.map +1 -0
- package/dist/command.js +2 -2
- package/dist/confirm-button.js +1 -1
- package/dist/continue-prompt.js +2 -2
- package/dist/continue-prompt.js.map +1 -1
- package/dist/cover-hero.js +1 -1
- package/dist/dashboard-layout.js.map +1 -1
- package/dist/data-table.js +2 -2
- package/dist/detail-layout.js.map +1 -1
- package/dist/dialog.js +2 -2
- package/dist/elephant.js.map +1 -1
- package/dist/embed-facade.d.ts +37 -0
- package/dist/embed-facade.js +96 -0
- package/dist/embed-facade.js.map +1 -0
- package/dist/engine-flow.d.ts +4 -4
- package/dist/engine-flow.js.map +1 -1
- package/dist/environment-notice.d.ts +110 -0
- package/dist/environment-notice.js +47 -0
- package/dist/environment-notice.js.map +1 -0
- package/dist/file-upload.d.ts +2 -2
- package/dist/flock.js +1 -1
- package/dist/force-update-screen.js +1 -1
- package/dist/genui.js +2 -2
- package/dist/{geometry-DZ4Q3hDQ.d.ts → geometry-DDlFDtiQ.d.ts} +3 -4
- package/dist/{geometry-DncHaYP8.d.ts → geometry-DuUQyHZ1.d.ts} +3 -4
- package/dist/goal-gauge.d.ts +1 -1
- package/dist/goal-gauge.js +1 -1
- package/dist/goal-gauge.js.map +1 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +1 -1
- package/dist/kind-config-editor.js +1 -1
- package/dist/landing-page.d.ts +1 -1
- package/dist/landing-page.js.map +1 -1
- package/dist/language-switch.d.ts +9 -9
- package/dist/link-card.js +2 -2
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js.map +1 -1
- package/dist/maintenance-screen.js +1 -1
- package/dist/map.js +6 -0
- package/dist/map.js.map +1 -1
- package/dist/margin-layout.d.ts +71 -0
- package/dist/margin-layout.js +29 -0
- package/dist/margin-layout.js.map +1 -0
- package/dist/mascot-quote.d.ts +1 -1
- package/dist/mascot-quote.js +1 -1
- package/dist/mascot-state.js +1 -1
- package/dist/mascots.d.ts +2 -2
- package/dist/mascots.js +1 -1
- package/dist/match-dialog.js +2 -2
- package/dist/media-grid.d.ts +1 -0
- package/dist/media-grid.js +2 -2
- package/dist/meter.js +2 -1
- package/dist/native/map.js +6 -0
- package/dist/native/map.js.map +1 -1
- package/dist/native.d.ts +125 -10
- package/dist/native.js +1690 -1517
- package/dist/native.js.map +1 -1
- package/dist/nav-bar.d.ts +1 -1
- package/dist/nav-bar.js +3 -3
- package/dist/page-DPHDmDAQ.d.ts +131 -0
- package/dist/page-hero.js +4 -4
- package/dist/page.d.ts +7 -125
- package/dist/page.js +13 -1
- package/dist/page.js.map +1 -1
- package/dist/product-page.d.ts +1 -1
- package/dist/product-page.js.map +1 -1
- package/dist/profile-card.d.ts +1 -1
- package/dist/profile-card.js +1 -1
- package/dist/profile-card.js.map +1 -1
- package/dist/promise-card.js +1 -1
- package/dist/quota-meter.js +2 -1
- package/dist/quota-meter.js.map +1 -1
- package/dist/rail-nav.d.ts +4 -0
- package/dist/retro-tv.d.ts +6 -3
- package/dist/retro-tv.js +6 -5
- package/dist/retro-tv.js.map +1 -1
- package/dist/reviews.d.ts +49 -0
- package/dist/reviews.js +66 -0
- package/dist/reviews.js.map +1 -0
- package/dist/scroll-stage.d.ts +1 -1
- package/dist/scroll-stage.js +1 -1
- package/dist/scroll-stage.js.map +1 -1
- package/dist/separator.d.ts +26 -3
- package/dist/separator.js +19 -1
- package/dist/separator.js.map +1 -1
- package/dist/service-card.d.ts +56 -63
- package/dist/service-card.js +49 -10
- package/dist/service-card.js.map +1 -1
- package/dist/settings-layout.js +1 -1
- package/dist/site-cahier.d.ts +10 -2
- package/dist/site-cahier.js +9 -15
- package/dist/site-cahier.js.map +1 -1
- package/dist/site-footer.d.ts +1 -1
- package/dist/site-footer.js +2 -2
- package/dist/{sites-BKz1beUK.d.ts → sites-CEnywB89.d.ts} +10 -2
- package/dist/sites.d.ts +13 -5
- package/dist/sites.js +7 -13
- package/dist/sites.js.map +1 -1
- package/dist/specimen-tag.d.ts +15 -3
- package/dist/specimen-tag.js +4 -27
- package/dist/specimen-tag.js.map +1 -1
- package/dist/stage-banner.d.ts +1 -1
- package/dist/stage-banner.js +1 -1
- package/dist/stage-banner.js.map +1 -1
- package/dist/stat.d.ts +87 -5
- package/dist/stat.js +9 -53
- package/dist/stat.js.map +1 -1
- package/dist/status-page.d.ts +1 -1
- package/dist/status-page.js.map +1 -1
- package/dist/sticky-action.d.ts +7 -2
- package/dist/sticky-action.js +24 -3
- package/dist/sticky-action.js.map +1 -1
- package/dist/theme.js +1 -1
- package/dist/update-prompt.js +1 -1
- package/dist/usage.d.ts +229 -0
- package/dist/usage.js +189 -0
- package/dist/usage.js.map +1 -0
- package/dist/versus-card.js +1 -1
- package/dist/vertical-video.js +2 -2
- package/dist/wall.d.ts +24 -12
- package/dist/wall.js +106 -43
- package/dist/wall.js.map +1 -1
- package/package.json +108 -17
- package/registry/account-menu.json +1 -1
- package/registry/account-settings.json +1 -1
- package/registry/achievement.json +8 -8
- package/registry/action-bar.json +1 -1
- package/registry/activity-feed.json +8 -8
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/analysis-report.json +445 -0
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-header.json +3 -3
- package/registry/app-shell.json +10 -10
- package/registry/argument-card.json +3 -3
- package/registry/audio-player.json +6 -6
- package/registry/auth-layout.json +9 -9
- package/registry/avatar.json +8 -8
- package/registry/badge.json +1 -1
- package/registry/bird-plate.json +1 -1
- package/registry/button.json +2 -2
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +6 -6
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +1 -1
- package/registry/changelog-page.json +1 -1
- package/registry/chapter.json +1 -1
- package/registry/chat.json +3 -3
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip-row.json +1 -1
- package/registry/chip.json +1 -1
- package/registry/choice-grid.json +6 -6
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +1 -1
- package/registry/command.json +1 -1
- package/registry/comparison-table.json +1 -1
- package/registry/component-page.json +1 -1
- package/registry/confirm-button.json +1 -1
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +2 -2
- package/registry/countdown.json +1 -1
- package/registry/cover-hero.json +1 -1
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +2 -2
- package/registry/data-table.json +1 -1
- package/registry/date-picker.json +2 -2
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +1 -1
- package/registry/detail-layout.json +6 -6
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +3 -3
- package/registry/docs-layout.json +1 -1
- package/registry/docs-nav.json +1 -1
- package/registry/document-viewer.json +1 -1
- package/registry/doodle.json +1 -1
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +7 -7
- package/registry/embed-facade.json +243 -0
- package/registry/empty-state.json +2 -2
- package/registry/engine-flow.json +6 -6
- package/registry/environment-notice.json +270 -0
- package/registry/error-page.json +1 -1
- package/registry/examples/achievement/arcade.js +1 -1
- package/registry/examples/achievement/arcade.tsx +1 -1
- package/registry/examples/activity-feed/job-activity.tsx +1 -1
- package/registry/examples/analysis-report/document-validation.js +47 -0
- package/registry/examples/analysis-report/document-validation.tsx +29 -0
- package/registry/examples/analysis-report/native/document-validation.dark.png +0 -0
- package/registry/examples/analysis-report/native/document-validation.js +48 -0
- package/registry/examples/analysis-report/native/document-validation.light.png +0 -0
- package/registry/examples/analysis-report/native/document-validation.tsx +32 -0
- package/registry/examples/analysis-report/streaming.d.ts +4 -0
- package/registry/examples/analysis-report/streaming.js +42 -0
- package/registry/examples/analysis-report/streaming.tsx +23 -0
- package/registry/examples/app-shell/admin-console.js +1 -1
- package/registry/examples/app-shell/admin-console.tsx +2 -2
- package/registry/examples/app-shell/basic.js +1 -1
- package/registry/examples/app-shell/basic.tsx +1 -1
- package/registry/examples/app-shell/creator-studio.d.ts +4 -0
- package/registry/examples/app-shell/{orochia-studio.js → creator-studio.js} +6 -6
- package/registry/examples/app-shell/{orochia-studio.tsx → creator-studio.tsx} +4 -4
- package/registry/examples/audio-player/podcast.js +1 -1
- package/registry/examples/audio-player/podcast.tsx +1 -1
- package/registry/examples/audio-player/voice-note.js +1 -1
- package/registry/examples/audio-player/voice-note.tsx +1 -1
- package/registry/examples/auth-layout/onboarding.js +3 -3
- package/registry/examples/auth-layout/onboarding.tsx +3 -3
- package/registry/examples/auth-layout/sign-in.js +3 -3
- package/registry/examples/auth-layout/sign-in.tsx +3 -3
- package/registry/examples/avatar/default.js +1 -1
- package/registry/examples/avatar/default.tsx +1 -1
- package/registry/examples/card-grid/aligned.js +2 -2
- package/registry/examples/card-grid/aligned.tsx +2 -2
- package/registry/examples/card-grid/foundation.js +1 -2
- package/registry/examples/card-grid/foundation.tsx +1 -2
- package/registry/examples/card-grid/hover-quiet.js +1 -1
- package/registry/examples/card-grid/hover-quiet.tsx +1 -1
- package/registry/examples/card-grid/products.js +1 -1
- package/registry/examples/card-grid/products.tsx +1 -1
- package/registry/examples/choice-grid/line-up.js +1 -1
- package/registry/examples/choice-grid/line-up.tsx +1 -1
- package/registry/examples/detail-layout/checkout.js +1 -1
- package/registry/examples/detail-layout/checkout.tsx +2 -2
- package/registry/examples/detail-layout/video.js +1 -1
- package/registry/examples/detail-layout/video.tsx +2 -2
- package/registry/examples/docs-hub-page/krizaka.js +1 -1
- package/registry/examples/docs-hub-page/krizaka.tsx +1 -1
- package/registry/examples/embed-facade/tiktok.d.ts +4 -0
- package/registry/examples/embed-facade/tiktok.js +20 -0
- package/registry/examples/embed-facade/tiktok.tsx +16 -0
- package/registry/examples/embed-facade/youtube.d.ts +4 -0
- package/registry/examples/embed-facade/youtube.js +22 -0
- package/registry/examples/embed-facade/youtube.tsx +20 -0
- package/registry/examples/empty-state/library.js +1 -1
- package/registry/examples/empty-state/library.tsx +1 -1
- package/registry/examples/engine-flow/calm.js +1 -1
- package/registry/examples/engine-flow/calm.tsx +1 -1
- package/registry/examples/engine-flow/compact.js +4 -4
- package/registry/examples/engine-flow/compact.tsx +4 -4
- package/registry/examples/engine-flow/radial.js +2 -6
- package/registry/examples/engine-flow/radial.tsx +1 -5
- package/registry/examples/environment-notice/development.d.ts +4 -0
- package/registry/examples/environment-notice/development.js +15 -0
- package/registry/examples/environment-notice/development.tsx +13 -0
- package/registry/examples/environment-notice/native/development.d.ts +4 -0
- package/registry/examples/environment-notice/native/development.dark.png +0 -0
- package/registry/examples/environment-notice/native/development.js +21 -0
- package/registry/examples/environment-notice/native/development.light.png +0 -0
- package/registry/examples/environment-notice/native/development.tsx +17 -0
- package/registry/examples/environment-notice/staging.d.ts +4 -0
- package/registry/examples/environment-notice/staging.js +11 -0
- package/registry/examples/environment-notice/staging.tsx +6 -0
- package/registry/examples/force-update-screen/default.js +1 -1
- package/registry/examples/force-update-screen/default.tsx +1 -1
- package/registry/examples/force-update-screen/native/default.dark.png +0 -0
- package/registry/examples/force-update-screen/native/default.js +1 -1
- package/registry/examples/force-update-screen/native/default.light.png +0 -0
- package/registry/examples/force-update-screen/native/default.tsx +1 -1
- package/registry/examples/form/native/sign-up.js +2 -2
- package/registry/examples/form/native/sign-up.tsx +2 -2
- package/registry/examples/form/sign-up.js +1 -1
- package/registry/examples/form/sign-up.tsx +3 -3
- package/registry/examples/goal-gauge/arcade.js +1 -1
- package/registry/examples/goal-gauge/arcade.tsx +1 -1
- package/registry/examples/image-cropper/avatar.js +1 -1
- package/registry/examples/image-cropper/avatar.tsx +1 -1
- package/registry/examples/image-cropper/banner.js +1 -1
- package/registry/examples/image-cropper/banner.tsx +1 -1
- package/registry/examples/image-cropper/vertical-video.js +1 -2
- package/registry/examples/image-cropper/vertical-video.tsx +1 -3
- package/registry/examples/iso/creator-hero.d.ts +4 -0
- package/registry/examples/iso/{orochia-hero.js → creator-hero.js} +3 -3
- package/registry/examples/iso/{orochia-hero.tsx → creator-hero.tsx} +1 -1
- package/registry/examples/landing-page/krizaka.js +2 -2
- package/registry/examples/landing-page/krizaka.tsx +2 -2
- package/registry/examples/link-card/docs-hub.js +1 -1
- package/registry/examples/link-card/docs-hub.tsx +1 -1
- package/registry/examples/link-card/hover-quiet.js +1 -1
- package/registry/examples/link-card/hover-quiet.tsx +1 -1
- package/registry/examples/loader/branded.js +2 -2
- package/registry/examples/loader/branded.tsx +3 -3
- package/registry/examples/loader/native/branded.dark.png +0 -0
- package/registry/examples/loader/native/branded.js +1 -1
- package/registry/examples/loader/native/branded.light.png +0 -0
- package/registry/examples/loader/native/branded.tsx +2 -2
- package/registry/examples/longform-page/story.js +3 -3
- package/registry/examples/longform-page/story.tsx +3 -3
- package/registry/examples/margin-layout/findings.d.ts +4 -0
- package/registry/examples/margin-layout/findings.js +15 -0
- package/registry/examples/margin-layout/findings.tsx +18 -0
- package/registry/examples/margin-layout/steps.d.ts +4 -0
- package/registry/examples/margin-layout/steps.js +15 -0
- package/registry/examples/margin-layout/steps.tsx +16 -0
- package/registry/examples/marketing-layout/docs-hub.js +1 -1
- package/registry/examples/marketing-layout/docs-hub.tsx +1 -1
- package/registry/examples/mascots/flock.tsx +2 -2
- package/registry/examples/nav-bar/family-admin.js +5 -5
- package/registry/examples/nav-bar/family-admin.tsx +4 -4
- package/registry/examples/nav-bar/site.js +1 -1
- package/registry/examples/nav-bar/site.tsx +1 -1
- package/registry/examples/page/kraft.d.ts +4 -0
- package/registry/examples/page/kraft.js +14 -0
- package/registry/examples/page/kraft.tsx +12 -0
- package/registry/examples/page/papers.d.ts +4 -0
- package/registry/examples/page/papers.js +14 -0
- package/registry/examples/page/papers.tsx +13 -0
- package/registry/examples/permission-prompt/native/blocked.dark.png +0 -0
- package/registry/examples/permission-prompt/native/blocked.js +1 -1
- package/registry/examples/permission-prompt/native/blocked.tsx +1 -1
- package/registry/examples/permission-prompt/native/camera.dark.png +0 -0
- package/registry/examples/permission-prompt/native/camera.js +1 -1
- package/registry/examples/permission-prompt/native/camera.light.png +0 -0
- package/registry/examples/permission-prompt/native/camera.tsx +1 -1
- package/registry/examples/profile-card/match.js +1 -1
- package/registry/examples/profile-card/match.tsx +1 -1
- package/registry/examples/promise-card/arcade.js +1 -1
- package/registry/examples/promise-card/arcade.tsx +1 -1
- package/registry/examples/pull-to-refresh/native/branded.dark.png +0 -0
- package/registry/examples/pull-to-refresh/native/branded.js +1 -1
- package/registry/examples/pull-to-refresh/native/branded.light.png +0 -0
- package/registry/examples/pull-to-refresh/native/branded.tsx +1 -1
- package/registry/examples/rail-nav/expandable.js +3 -3
- package/registry/examples/rail-nav/expandable.tsx +3 -3
- package/registry/examples/retro-tv/cabinet.js +1 -2
- package/registry/examples/retro-tv/cabinet.tsx +1 -3
- package/registry/examples/retro-tv/facade.d.ts +4 -0
- package/registry/examples/retro-tv/facade.js +12 -0
- package/registry/examples/retro-tv/facade.tsx +13 -0
- package/registry/examples/retro-tv/portable.js +1 -2
- package/registry/examples/retro-tv/portable.tsx +1 -3
- package/registry/examples/reviews/card.d.ts +4 -0
- package/registry/examples/reviews/card.js +23 -0
- package/registry/examples/reviews/card.tsx +19 -0
- package/registry/examples/reviews/summary.d.ts +4 -0
- package/registry/examples/reviews/summary.js +23 -0
- package/registry/examples/reviews/summary.tsx +17 -0
- package/registry/examples/scroll-stage/arcade.js +1 -1
- package/registry/examples/scroll-stage/arcade.tsx +1 -1
- package/registry/examples/search-field/global.js +1 -1
- package/registry/examples/search-field/global.tsx +1 -1
- package/registry/examples/separator/hand.d.ts +4 -0
- package/registry/examples/separator/hand.js +19 -0
- package/registry/examples/separator/hand.tsx +16 -0
- package/registry/examples/service-card/index-card.d.ts +4 -0
- package/registry/examples/service-card/index-card.js +15 -0
- package/registry/examples/service-card/index-card.tsx +12 -0
- package/registry/examples/service-card/index-list.d.ts +4 -0
- package/registry/examples/service-card/index-list.js +14 -0
- package/registry/examples/service-card/index-list.tsx +11 -0
- package/registry/examples/sites/french.js +1 -1
- package/registry/examples/sites/french.tsx +1 -1
- package/registry/examples/specimen-tag/facts.d.ts +4 -0
- package/registry/examples/specimen-tag/facts.js +23 -0
- package/registry/examples/specimen-tag/facts.tsx +18 -0
- package/registry/examples/specimen-tag/wire.js +2 -2
- package/registry/examples/specimen-tag/wire.tsx +2 -2
- package/registry/examples/splash-handoff/native/default.dark.png +0 -0
- package/registry/examples/splash-handoff/native/default.js +1 -1
- package/registry/examples/splash-handoff/native/default.light.png +0 -0
- package/registry/examples/splash-handoff/native/default.tsx +1 -1
- package/registry/examples/split-view/messages.tsx +1 -1
- package/registry/examples/split-view/notifications.js +1 -1
- package/registry/examples/split-view/notifications.tsx +1 -1
- package/registry/examples/stat/strip.d.ts +4 -0
- package/registry/examples/stat/strip.js +25 -0
- package/registry/examples/stat/strip.tsx +25 -0
- package/registry/examples/status-page/building.js +2 -2
- package/registry/examples/status-page/building.tsx +2 -2
- package/registry/examples/status-page/operational.js +1 -1
- package/registry/examples/status-page/operational.tsx +1 -1
- package/registry/examples/sticky-action/hide-while-visible.d.ts +4 -0
- package/registry/examples/sticky-action/hide-while-visible.js +16 -0
- package/registry/examples/sticky-action/hide-while-visible.tsx +17 -0
- package/registry/examples/tab-bar/native/main-sections.tsx +1 -1
- package/registry/examples/tree-view/docs.js +1 -1
- package/registry/examples/tree-view/docs.tsx +1 -1
- package/registry/examples/usage/credits-page.d.ts +4 -0
- package/registry/examples/usage/credits-page.js +45 -0
- package/registry/examples/usage/credits-page.tsx +40 -0
- package/registry/examples/usage/empty.d.ts +4 -0
- package/registry/examples/usage/empty.js +15 -0
- package/registry/examples/usage/empty.tsx +12 -0
- package/registry/examples/video-player/default.js +1 -2
- package/registry/examples/video-player/default.tsx +1 -3
- package/registry/examples/video-player/gated.js +2 -3
- package/registry/examples/video-player/gated.tsx +2 -4
- package/registry/examples/video-player/native/default.dark.png +0 -0
- package/registry/examples/video-player/native/default.js +3 -3
- package/registry/examples/video-player/native/default.light.png +0 -0
- package/registry/examples/video-player/native/default.tsx +3 -3
- package/registry/examples/video-player/signed-source.js +2 -3
- package/registry/examples/video-player/signed-source.tsx +2 -4
- package/registry/examples/video-player/vertical.js +1 -2
- package/registry/examples/video-player/vertical.tsx +1 -3
- package/registry/examples/video-trimmer/filmstrip.js +10 -2
- package/registry/examples/video-trimmer/filmstrip.tsx +11 -2
- package/registry/examples/video-trimmer/playhead.js +8 -1
- package/registry/examples/video-trimmer/playhead.tsx +9 -1
- package/registry/examples/wall/brick.js +1 -1
- package/registry/examples/wall/brick.tsx +1 -1
- package/registry/examples/wall/composition-fr.js +1 -1
- package/registry/examples/wall/composition-fr.tsx +1 -1
- package/registry/examples/wall/composition.js +1 -1
- package/registry/examples/wall/composition.tsx +1 -1
- package/registry/examples/wall/pinned-note.js +2 -2
- package/registry/examples/wall/pinned-note.tsx +3 -2
- package/registry/examples/wall/plaster.js +1 -1
- package/registry/examples/wall/plaster.tsx +1 -1
- package/registry/examples/wall/ridge.js +1 -1
- package/registry/examples/wall/ridge.tsx +1 -1
- package/registry/examples/wall/shop-sign.js +5 -4
- package/registry/examples/wall/shop-sign.tsx +7 -4
- package/registry/examples/wall/zellige.js +1 -1
- package/registry/examples/wall/zellige.tsx +1 -1
- package/registry/field.json +1 -1
- package/registry/file-upload.json +2 -2
- package/registry/filter-bar.json +1 -1
- package/registry/flock.json +1 -1
- package/registry/footnote.json +1 -1
- package/registry/force-update-screen.json +4 -4
- package/registry/form.json +7 -7
- package/registry/gallery-page.json +1 -1
- package/registry/genui.json +2 -2
- package/registry/glossary-term.json +1 -1
- package/registry/glossary.json +1 -1
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +6 -6
- package/registry/grade-stamp.json +1 -1
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +5 -5
- package/registry/index.json +231 -35
- package/registry/iso.json +7 -7
- package/registry/kanban.json +3 -3
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +1 -1
- package/registry/kpi-explained.json +2 -2
- package/registry/landing-page.json +6 -6
- package/registry/landscape.json +1 -1
- package/registry/language-switch.json +1 -1
- package/registry/legal-page.json +1 -1
- package/registry/link-card.json +4 -4
- package/registry/list.json +3 -3
- package/registry/loader.json +11 -11
- package/registry/longform-page.json +3 -3
- package/registry/maintenance-screen.json +1 -1
- package/registry/map.json +2 -2
- package/registry/margin-layout.json +200 -0
- package/registry/markdown.json +1 -1
- package/registry/marketing-layout.json +2 -2
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +5 -5
- package/registry/match-dialog.json +1 -1
- package/registry/media-capture.json +1 -1
- package/registry/media-gallery.json +1 -1
- package/registry/media-grid.json +3 -3
- package/registry/meta-row.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +9 -9
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +3 -3
- package/registry/number-ticker.json +1 -1
- package/registry/onboarding.json +1 -1
- package/registry/opening-hours.json +1 -1
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +1 -1
- package/registry/page-index.json +1 -1
- package/registry/page.json +53 -11
- package/registry/pagination.json +1 -1
- package/registry/permission-prompt.json +3 -3
- package/registry/photo-grid.json +1 -1
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +1 -1
- package/registry/product-page.json +6 -6
- package/registry/profile-card.json +7 -7
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +3 -3
- package/registry/pull-to-refresh.json +2 -2
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +10 -10
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +48 -32
- package/registry/reviews.json +361 -0
- package/registry/router.json +1 -1
- package/registry/scroll-stage.json +6 -6
- package/registry/search-field.json +3 -3
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +71 -6
- package/registry/service-card.json +55 -6
- package/registry/settings-layout.json +1 -1
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +1 -1
- package/registry/site-footer.json +7 -7
- package/registry/sites.json +4 -4
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +1 -1
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +58 -6
- package/registry/speed-lines.json +1 -1
- package/registry/spinner.json +1 -1
- package/registry/splash-handoff.json +4 -4
- package/registry/split-view.json +4 -4
- package/registry/stage-banner.json +10 -6
- package/registry/stat.json +62 -10
- package/registry/status-chip.json +1 -1
- package/registry/status-page.json +9 -9
- package/registry/step-progress.json +1 -1
- package/registry/step-showcase.json +1 -1
- package/registry/stepper.json +1 -1
- package/registry/sticky-action.json +27 -4
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tab-bar.json +2 -2
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +1 -1
- package/registry/taped-photo.json +1 -1
- package/registry/terminal-replay.json +1 -1
- package/registry/text-style.json +1 -1
- package/registry/theme.json +1 -1
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +3 -3
- package/registry/update-prompt.json +1 -1
- package/registry/upload-queue.json +1 -1
- package/registry/usage.json +542 -0
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +1 -1
- package/registry/vertical-video.json +4 -4
- package/registry/video-player.json +7 -7
- package/registry/video-trimmer.json +8 -8
- package/registry/virtual.json +1 -1
- package/registry/wall.json +128 -40
- package/registry/waveform.json +1 -1
- package/skills/form/SKILL.md +1 -1
- package/skills/map/SKILL.md +2 -2
- package/dist/chunk-3RVFD3UX.js.map +0 -1
- package/dist/chunk-4E5IUZHR.js.map +0 -1
- package/dist/chunk-KB7OLYIJ.js.map +0 -1
- package/dist/chunk-MHUUNC5W.js.map +0 -1
- package/dist/chunk-MIMOTE4W.js.map +0 -1
- package/dist/chunk-RBETQO2P.js.map +0 -1
- package/dist/chunk-WOZP3JLW.js.map +0 -1
- package/dist/chunk-YKEIOYJ5.js.map +0 -1
- /package/dist/{chunk-5LANVCK7.js.map → chunk-BG5APGX6.js.map} +0 -0
- /package/dist/{chunk-6EAHUURY.js.map → chunk-GHAN7OOE.js.map} +0 -0
- /package/dist/{chunk-HEKDKM5Y.js.map → chunk-QVHSV6RA.js.map} +0 -0
- /package/dist/{chunk-7JG3VR4C.js.map → chunk-RCKXJEDQ.js.map} +0 -0
- /package/registry/examples/{app-shell/orochia-studio.d.ts → analysis-report/document-validation.d.ts} +0 -0
- /package/registry/examples/{iso/orochia-hero.d.ts → analysis-report/native/document-validation.d.ts} +0 -0
|
@@ -2,9 +2,9 @@ import { SpecimenTag } from "@krizaka/ui/specimen-tag";
|
|
|
2
2
|
|
|
3
3
|
// `mount="hang"`: tags hung on one wire — the products that run on one engine. Each stamp is the truth of its status.
|
|
4
4
|
const tags = [
|
|
5
|
-
{ code: "KZ-
|
|
5
|
+
{ code: "KZ-02", title: "Orazaka", status: { label: "dev preview", tone: "ok" as const }, text: "Sovereign AI on your own servers: chat, documents, images and video." },
|
|
6
6
|
{ code: "KZ-05", title: "Akinaza", status: { label: "in development", tone: "wip" as const }, text: "The all-in-one for independent Québec shops." },
|
|
7
|
-
{ code: "KZ-
|
|
7
|
+
{ code: "KZ-06", title: "Yomizaka", status: { label: "in development", tone: "wip" as const }, text: "Reads your leases, contracts and invoices." },
|
|
8
8
|
];
|
|
9
9
|
|
|
10
10
|
export default function SpecimenTagWire() {
|
|
Binary file
|
|
@@ -5,7 +5,7 @@ import { SplashHandoff } from "@krizaka/ui/native";
|
|
|
5
5
|
import { View } from "react-native";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function NativeSplashHandoffDefault() {
|
|
8
|
-
return /* @__PURE__ */ jsx(View, { style: { width: 360, height: 640 }, children: /* @__PURE__ */ jsx(SplashHandoff, { product: "
|
|
8
|
+
return /* @__PURE__ */ jsx(View, { style: { width: 360, height: 640 }, children: /* @__PURE__ */ jsx(SplashHandoff, { product: "orazaka", ready: false, label: "Orazaka is opening" }) });
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
11
11
|
NativeSplashHandoffDefault as default
|
|
Binary file
|
|
@@ -5,7 +5,7 @@ import { View } from "react-native";
|
|
|
5
5
|
export default function NativeSplashHandoffDefault() {
|
|
6
6
|
return (
|
|
7
7
|
<View style={{ width: 360, height: 640 }}>
|
|
8
|
-
<SplashHandoff product="
|
|
8
|
+
<SplashHandoff product="orazaka" ready={false} label="Orazaka is opening" />
|
|
9
9
|
</View>
|
|
10
10
|
);
|
|
11
11
|
}
|
|
@@ -9,7 +9,7 @@ const THREADS = [
|
|
|
9
9
|
{ id: "ines", name: "Inès B.", last: "I won the auction 🎉", time: "Mon" },
|
|
10
10
|
];
|
|
11
11
|
|
|
12
|
-
// TEMPLATE — a creator's messages
|
|
12
|
+
// TEMPLATE — a creator's messages: the threads beside the open one; on a phone the open thread replaces the
|
|
13
13
|
// list (`showDetail`, from the address) with the way back above it. The reply box stays at the foot of the thread.
|
|
14
14
|
export default function SplitViewMessages() {
|
|
15
15
|
return (
|
|
@@ -15,7 +15,7 @@ function SplitViewNotifications() {
|
|
|
15
15
|
return /* @__PURE__ */ jsx(
|
|
16
16
|
SplitView,
|
|
17
17
|
{
|
|
18
|
-
className: "brand-
|
|
18
|
+
className: "brand-orazaka w-full",
|
|
19
19
|
listTitle: "Notifications",
|
|
20
20
|
showDetail: false,
|
|
21
21
|
back: /* @__PURE__ */ jsx("a", { href: "#notifications", className: "text-sm font-medium text-fg-secondary", children: "\u2190 Notifications" }),
|
|
@@ -14,7 +14,7 @@ const EVENTS = [
|
|
|
14
14
|
export default function SplitViewNotifications() {
|
|
15
15
|
return (
|
|
16
16
|
<SplitView
|
|
17
|
-
className="brand-
|
|
17
|
+
className="brand-orazaka w-full"
|
|
18
18
|
listTitle="Notifications"
|
|
19
19
|
showDetail={false}
|
|
20
20
|
back={<a href="#notifications" className="text-sm font-medium text-fg-secondary">← Notifications</a>}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/stat/strip.tsx
|
|
4
|
+
import { StatGrid } from "@krizaka/ui/stat";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var line = (points) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 64 18", width: 64, height: 18, fill: "none", stroke: "currentColor", strokeWidth: "1.5", "aria-hidden": true, children: /* @__PURE__ */ jsx("polyline", { points }) });
|
|
7
|
+
function StatStrip() {
|
|
8
|
+
return /* @__PURE__ */ jsx(
|
|
9
|
+
StatGrid,
|
|
10
|
+
{
|
|
11
|
+
variant: "strip",
|
|
12
|
+
className: "max-w-[26rem]",
|
|
13
|
+
"aria-label": "Activity, last 30 days",
|
|
14
|
+
items: [
|
|
15
|
+
{ id: "runs", label: "Checks run", value: "128", trend: "up", trendLabel: "+12 %", chart: line("0,15 13,11 26,13 39,7 52,5 64,2") },
|
|
16
|
+
{ id: "flagged", label: "Flagged", value: "9", trend: "down", trendLabel: "\u22122", chart: line("0,4 13,8 26,5 39,11 52,12 64,14") },
|
|
17
|
+
{ id: "time", label: "Average time", value: "42 s", trend: "flat", trendLabel: "same", chart: line("0,9 13,9 26,8 39,9 52,9 64,9") },
|
|
18
|
+
{ id: "credits", label: "Credits used", value: "310", trend: "up", trendLabel: "+4 %", chart: line("0,14 13,12 26,12 39,9 52,9 64,6") }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
StatStrip as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { StatGrid } from "@krizaka/ui/stat";
|
|
2
|
+
|
|
3
|
+
// A sparkline of @krizaka/charts goes in `chart` (64 × 18); here a plain line stands in for it.
|
|
4
|
+
const line = (points: string) => (
|
|
5
|
+
<svg viewBox="0 0 64 18" width={64} height={18} fill="none" stroke="currentColor" strokeWidth="1.5" aria-hidden>
|
|
6
|
+
<polyline points={points} />
|
|
7
|
+
</svg>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
// The discreet activity of a side column: four figures in one row, each with its shape and its trend in words (demo data).
|
|
11
|
+
export default function StatStrip() {
|
|
12
|
+
return (
|
|
13
|
+
<StatGrid
|
|
14
|
+
variant="strip"
|
|
15
|
+
className="max-w-[26rem]"
|
|
16
|
+
aria-label="Activity, last 30 days"
|
|
17
|
+
items={[
|
|
18
|
+
{ id: "runs", label: "Checks run", value: "128", trend: "up", trendLabel: "+12 %", chart: line("0,15 13,11 26,13 39,7 52,5 64,2") },
|
|
19
|
+
{ id: "flagged", label: "Flagged", value: "9", trend: "down", trendLabel: "−2", chart: line("0,4 13,8 26,5 39,11 52,12 64,14") },
|
|
20
|
+
{ id: "time", label: "Average time", value: "42 s", trend: "flat", trendLabel: "same", chart: line("0,9 13,9 26,8 39,9 52,9 64,9") },
|
|
21
|
+
{ id: "credits", label: "Credits used", value: "310", trend: "up", trendLabel: "+4 %", chart: line("0,14 13,12 26,12 39,9 52,9 64,6") },
|
|
22
|
+
]}
|
|
23
|
+
/>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
@@ -10,9 +10,9 @@ function StatusPageBuilding() {
|
|
|
10
10
|
return /* @__PURE__ */ jsx(
|
|
11
11
|
StatusPage,
|
|
12
12
|
{
|
|
13
|
-
eyebrow: "
|
|
13
|
+
eyebrow: "Akinaza",
|
|
14
14
|
title: "On its way",
|
|
15
|
-
lead: "
|
|
15
|
+
lead: "The all-in-one for independent Qu\xE9bec shops. The first build reaches testers this winter.",
|
|
16
16
|
aside: /* @__PURE__ */ jsx(Mascot, { bird: "duck", mood: "thinking", size: 112 }),
|
|
17
17
|
state: "building",
|
|
18
18
|
stateLabel: "In construction",
|
|
@@ -8,9 +8,9 @@ import { StatusPage } from "@krizaka/ui/status-page";
|
|
|
8
8
|
export default function StatusPageBuilding() {
|
|
9
9
|
return (
|
|
10
10
|
<StatusPage
|
|
11
|
-
eyebrow="
|
|
11
|
+
eyebrow="Akinaza"
|
|
12
12
|
title="On its way"
|
|
13
|
-
lead="
|
|
13
|
+
lead="The all-in-one for independent Québec shops. The first build reaches testers this winter."
|
|
14
14
|
aside={<Mascot bird="duck" mood="thinking" size={112} />}
|
|
15
15
|
state="building"
|
|
16
16
|
stateLabel="In construction"
|
|
@@ -15,7 +15,7 @@ function StatusPageOperational() {
|
|
|
15
15
|
servicesLabel: "Services",
|
|
16
16
|
services: [
|
|
17
17
|
{ id: "web", name: "krizaka.com", state: "operational", label: "Operational" },
|
|
18
|
-
{ id: "
|
|
18
|
+
{ id: "orazaka", name: "Orazaka", state: "operational", label: "Operational" },
|
|
19
19
|
{ id: "cdn", name: "Video delivery", state: "degraded", label: "Slower than usual" }
|
|
20
20
|
]
|
|
21
21
|
}
|
|
@@ -12,7 +12,7 @@ export default function StatusPageOperational() {
|
|
|
12
12
|
servicesLabel="Services"
|
|
13
13
|
services={[
|
|
14
14
|
{ id: "web", name: "krizaka.com", state: "operational", label: "Operational" },
|
|
15
|
-
{ id: "
|
|
15
|
+
{ id: "orazaka", name: "Orazaka", state: "operational", label: "Operational" },
|
|
16
16
|
{ id: "cdn", name: "Video delivery", state: "degraded", label: "Slower than usual" },
|
|
17
17
|
]}
|
|
18
18
|
/>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/sticky-action/hide-while-visible.tsx
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { StickyAction } from "@krizaka/ui/sticky-action";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
function StickyActionHideWhileVisible() {
|
|
8
|
+
return /* @__PURE__ */ jsxs("main", { className: "flex h-[28rem] flex-col overflow-auto", children: [
|
|
9
|
+
/* @__PURE__ */ jsx("div", { className: "p-4", children: /* @__PURE__ */ jsx(Button, { id: "hero-book", size: "lg", variant: "primary", children: "Book" }) }),
|
|
10
|
+
/* @__PURE__ */ jsx("p", { className: "m-0 h-[40rem] p-4 text-fg-secondary", children: "The page scrolls here\u2026" }),
|
|
11
|
+
/* @__PURE__ */ jsx(StickyAction, { hideWhileVisible: "#hero-book", children: /* @__PURE__ */ jsx(Button, { size: "lg", variant: "primary", children: "Book" }) })
|
|
12
|
+
] });
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
StickyActionHideWhileVisible as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Button } from "@krizaka/ui/button";
|
|
2
|
+
import { StickyAction } from "@krizaka/ui/sticky-action";
|
|
3
|
+
|
|
4
|
+
// `hideWhileVisible`: while the page's own « Book » is on screen the bar is hidden, so a phone never shows two at once.
|
|
5
|
+
export default function StickyActionHideWhileVisible() {
|
|
6
|
+
return (
|
|
7
|
+
<main className="flex h-[28rem] flex-col overflow-auto">
|
|
8
|
+
<div className="p-4">
|
|
9
|
+
<Button id="hero-book" size="lg" variant="primary">Book</Button>
|
|
10
|
+
</div>
|
|
11
|
+
<p className="m-0 h-[40rem] p-4 text-fg-secondary">The page scrolls here…</p>
|
|
12
|
+
<StickyAction hideWhileVisible="#hero-book">
|
|
13
|
+
<Button size="lg" variant="primary">Book</Button>
|
|
14
|
+
</StickyAction>
|
|
15
|
+
</main>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -9,7 +9,7 @@ const icon = (d: string) => (on: boolean, color: string) => (
|
|
|
9
9
|
</Svg>
|
|
10
10
|
);
|
|
11
11
|
|
|
12
|
-
//
|
|
12
|
+
// A video app's main sections: the current one in the accent, a badge on Messages, a tick on change.
|
|
13
13
|
export default function NativeTabBarMainSections() {
|
|
14
14
|
const [tab, setTab] = useState<"home" | "auctions" | "messages" | "me">("home");
|
|
15
15
|
return (
|
|
@@ -13,7 +13,7 @@ var nodes = [
|
|
|
13
13
|
{ id: "api", label: "API reference" }
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
{ id: "
|
|
16
|
+
{ id: "yomizaka", label: "Yomizaka", children: [{ id: "checks", label: "Checks" }, { id: "reports", label: "Reports" }] },
|
|
17
17
|
{ id: "ui", label: "Krizaka UI", children: [{ id: "components", label: "Components" }] }
|
|
18
18
|
];
|
|
19
19
|
function TreeViewDocs() {
|
|
@@ -12,7 +12,7 @@ const nodes = [
|
|
|
12
12
|
{ id: "api", label: "API reference" },
|
|
13
13
|
],
|
|
14
14
|
},
|
|
15
|
-
{ id: "
|
|
15
|
+
{ id: "yomizaka", label: "Yomizaka", children: [{ id: "checks", label: "Checks" }, { id: "reports", label: "Reports" }] },
|
|
16
16
|
{ id: "ui", label: "Krizaka UI", children: [{ id: "components", label: "Components" }] },
|
|
17
17
|
];
|
|
18
18
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/usage/credits-page.tsx
|
|
4
|
+
import { CreditsMeter, PeriodSwitch, UsageChart, UsageTiles } from "@krizaka/ui/usage";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
var spark = (data) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 64 18", width: 64, height: 18, fill: "none", stroke: "currentColor", strokeWidth: "1.5", "aria-hidden": true, children: /* @__PURE__ */ jsx("polyline", { points: data.map((v, i) => `${i * 64 / (data.length - 1)},${17 - v}`).join(" ") }) });
|
|
7
|
+
var days = [
|
|
8
|
+
{ label: "1 nov.", values: { done: 8, flagged: 2, failed: 0 } },
|
|
9
|
+
{ label: "2 nov.", values: { done: 11, flagged: 1, failed: 1 } },
|
|
10
|
+
{ label: "3 nov.", values: { done: 6, flagged: 3, failed: 0 } }
|
|
11
|
+
];
|
|
12
|
+
function CreditsPage() {
|
|
13
|
+
const period = /* @__PURE__ */ jsx(PeriodSwitch, { label: "P\xE9riode", value: 30, href: "/credits" });
|
|
14
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex w-full max-w-2xl flex-col gap-4", children: [
|
|
15
|
+
/* @__PURE__ */ jsx(CreditsMeter, { label: "Cr\xE9dits", balance: 820, total: 1e3, renewal: "Renouvel\xE9s le 1er d\xE9cembre", action: /* @__PURE__ */ jsx("a", { href: "/credits/acheter", children: "Acheter des cr\xE9dits" }) }),
|
|
16
|
+
/* @__PURE__ */ jsx(
|
|
17
|
+
UsageTiles,
|
|
18
|
+
{
|
|
19
|
+
period,
|
|
20
|
+
tiles: [
|
|
21
|
+
{ id: "runs", label: "V\xE9rifications", value: 128, previous: 114, chart: spark([4, 6, 5, 8, 9, 12]) },
|
|
22
|
+
{ id: "flagged", label: "Signal\xE9es", value: 8, previous: 10, good: "down", chart: spark([3, 2, 2, 1, 1, 1]) },
|
|
23
|
+
{ id: "credits", label: "Cr\xE9dits utilis\xE9s", value: 180, previous: 180, chart: spark([3, 3, 3, 3, 3, 3]) }
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ jsx(
|
|
28
|
+
UsageChart,
|
|
29
|
+
{
|
|
30
|
+
title: "Activit\xE9 par r\xE9sultat",
|
|
31
|
+
days,
|
|
32
|
+
columns: { day: "Jour", total: "Total" },
|
|
33
|
+
emptyLabel: "Aucune activit\xE9 sur cette p\xE9riode.",
|
|
34
|
+
outcomes: [
|
|
35
|
+
{ id: "done", label: "Termin\xE9es", tone: "success" },
|
|
36
|
+
{ id: "flagged", label: "Signal\xE9es", tone: "warning" },
|
|
37
|
+
{ id: "failed", label: "\xC9chou\xE9es", tone: "danger" }
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
] });
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
CreditsPage as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { CreditsMeter, PeriodSwitch, UsageChart, UsageTiles } from "@krizaka/ui/usage";
|
|
2
|
+
|
|
3
|
+
const spark = (data: number[]) => (
|
|
4
|
+
<svg viewBox="0 0 64 18" width={64} height={18} fill="none" stroke="currentColor" strokeWidth="1.5" aria-hidden>
|
|
5
|
+
<polyline points={data.map((v, i) => `${(i * 64) / (data.length - 1)},${17 - v}`).join(" ")} />
|
|
6
|
+
</svg>
|
|
7
|
+
);
|
|
8
|
+
const days = [
|
|
9
|
+
{ label: "1 nov.", values: { done: 8, flagged: 2, failed: 0 } },
|
|
10
|
+
{ label: "2 nov.", values: { done: 11, flagged: 1, failed: 1 } },
|
|
11
|
+
{ label: "3 nov.", values: { done: 6, flagged: 3, failed: 0 } },
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
// A « Credits & usage » page in French (the default), demo data. A `Sparkline` of @krizaka/charts goes in `chart`; a line stands in.
|
|
15
|
+
export default function CreditsPage() {
|
|
16
|
+
const period = <PeriodSwitch label="Période" value={30} href="/credits" />;
|
|
17
|
+
return (
|
|
18
|
+
<div className="flex w-full max-w-2xl flex-col gap-4">
|
|
19
|
+
<CreditsMeter label="Crédits" balance={820} total={1000} renewal="Renouvelés le 1er décembre" action={<a href="/credits/acheter">Acheter des crédits</a>} />
|
|
20
|
+
<UsageTiles
|
|
21
|
+
period={period}
|
|
22
|
+
tiles={[
|
|
23
|
+
{ id: "runs", label: "Vérifications", value: 128, previous: 114, chart: spark([4, 6, 5, 8, 9, 12]) },
|
|
24
|
+
{ id: "flagged", label: "Signalées", value: 8, previous: 10, good: "down", chart: spark([3, 2, 2, 1, 1, 1]) },
|
|
25
|
+
{ id: "credits", label: "Crédits utilisés", value: 180, previous: 180, chart: spark([3, 3, 3, 3, 3, 3]) },
|
|
26
|
+
]}
|
|
27
|
+
/>
|
|
28
|
+
<UsageChart
|
|
29
|
+
title="Activité par résultat"
|
|
30
|
+
days={days}
|
|
31
|
+
columns={{ day: "Jour", total: "Total" }} emptyLabel="Aucune activité sur cette période."
|
|
32
|
+
outcomes={[
|
|
33
|
+
{ id: "done", label: "Terminées", tone: "success" },
|
|
34
|
+
{ id: "flagged", label: "Signalées", tone: "warning" },
|
|
35
|
+
{ id: "failed", label: "Échouées", tone: "danger" },
|
|
36
|
+
]}
|
|
37
|
+
/>
|
|
38
|
+
</div>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/usage/empty.tsx
|
|
4
|
+
import { UsageChart, UsageTiles } from "@krizaka/ui/usage";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
function UsageEmpty() {
|
|
7
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex w-full max-w-2xl flex-col gap-4", children: [
|
|
8
|
+
/* @__PURE__ */ jsx(UsageTiles, { loading: true, tiles: [] }),
|
|
9
|
+
/* @__PURE__ */ jsx(UsageChart, { loading: true, title: "Activit\xE9 par r\xE9sultat", days: [], outcomes: [], columns: { day: "Jour", total: "Total" }, emptyLabel: "" }),
|
|
10
|
+
/* @__PURE__ */ jsx(UsageChart, { title: "Activit\xE9 par r\xE9sultat", days: [{ label: "1 nov.", values: {} }], outcomes: [{ id: "done", label: "Termin\xE9es", tone: "success" }], columns: { day: "Jour", total: "Total" }, emptyLabel: "Aucune activit\xE9 sur cette p\xE9riode." })
|
|
11
|
+
] });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
UsageEmpty as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UsageChart, UsageTiles } from "@krizaka/ui/usage";
|
|
2
|
+
|
|
3
|
+
// While the data is on its way (`loading`), then when the period has nothing in it.
|
|
4
|
+
export default function UsageEmpty() {
|
|
5
|
+
return (
|
|
6
|
+
<div className="flex w-full max-w-2xl flex-col gap-4">
|
|
7
|
+
<UsageTiles loading tiles={[]} />
|
|
8
|
+
<UsageChart loading title="Activité par résultat" days={[]} outcomes={[]} columns={{ day: "Jour", total: "Total" }} emptyLabel="" />
|
|
9
|
+
<UsageChart title="Activité par résultat" days={[{ label: "1 nov.", values: {} }]} outcomes={[{ id: "done", label: "Terminées", tone: "success" }]} columns={{ day: "Jour", total: "Total" }} emptyLabel="Aucune activité sur cette période." />
|
|
10
|
+
</div>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
// registry/examples/video-player/default.tsx
|
|
4
4
|
import { VideoPlayer } from "@krizaka/ui/video-player";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
var TOUR = "https://www.krizaka.com/assets/orochia/tour";
|
|
7
6
|
function VideoPlayerDefault() {
|
|
8
|
-
return /* @__PURE__ */ jsx(VideoPlayer, { title: "
|
|
7
|
+
return /* @__PURE__ */ jsx(VideoPlayer, { title: "Film: the world of Krizaka", src: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.b1c7c4ee51.mp4", poster: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.f3ec7dbb08.jpg" });
|
|
9
8
|
}
|
|
10
9
|
export {
|
|
11
10
|
VideoPlayerDefault as default
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { VideoPlayer } from "@krizaka/ui/video-player";
|
|
2
2
|
|
|
3
|
-
const TOUR = "https://www.krizaka.com/assets/orochia/tour";
|
|
4
|
-
|
|
5
3
|
// For HLS, add `loadHls={() => import("hls.js")}`: only browsers without native HLS download it.
|
|
6
4
|
export default function VideoPlayerDefault() {
|
|
7
|
-
return <VideoPlayer title="
|
|
5
|
+
return <VideoPlayer title="Film: the world of Krizaka" src="https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.b1c7c4ee51.mp4" poster="https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.f3ec7dbb08.jpg" />;
|
|
8
6
|
}
|
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
import { Button } from "@krizaka/ui/button";
|
|
5
5
|
import { VideoPlayer } from "@krizaka/ui/video-player";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
var TOUR = "https://www.krizaka.com/assets/orochia/tour";
|
|
8
7
|
function VideoPlayerGated() {
|
|
9
8
|
return /* @__PURE__ */ jsx(
|
|
10
9
|
VideoPlayer,
|
|
11
10
|
{
|
|
12
11
|
title: "Video: unlocked for supporters",
|
|
13
|
-
src:
|
|
14
|
-
poster:
|
|
12
|
+
src: "https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-dark.d1463c1ca9.mp4",
|
|
13
|
+
poster: "https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-dark.257f7e2c5d.jpg",
|
|
15
14
|
preload: "none",
|
|
16
15
|
overlay: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col items-center justify-center gap-3 bg-scrim-strong p-6 text-center backdrop-blur-md", children: [
|
|
17
16
|
/* @__PURE__ */ jsx("p", { className: "text-base font-semibold text-fg-on-media", children: "Supporters only" }),
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { Button } from "@krizaka/ui/button";
|
|
2
2
|
import { VideoPlayer } from "@krizaka/ui/video-player";
|
|
3
3
|
|
|
4
|
-
const TOUR = "https://www.krizaka.com/assets/orochia/tour";
|
|
5
|
-
|
|
6
4
|
// The app draws its gate over the video; the controls step aside until it opens.
|
|
7
5
|
export default function VideoPlayerGated() {
|
|
8
6
|
return (
|
|
9
7
|
<VideoPlayer
|
|
10
8
|
title="Video: unlocked for supporters"
|
|
11
|
-
src=
|
|
12
|
-
poster=
|
|
9
|
+
src="https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-dark.d1463c1ca9.mp4"
|
|
10
|
+
poster="https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-dark.257f7e2c5d.jpg"
|
|
13
11
|
preload="none"
|
|
14
12
|
overlay={
|
|
15
13
|
<div className="flex h-full flex-col items-center justify-center gap-3 bg-scrim-strong p-6 text-center backdrop-blur-md">
|
|
Binary file
|
|
@@ -7,9 +7,9 @@ function NativeVideoPlayerDefault() {
|
|
|
7
7
|
return /* @__PURE__ */ jsx(
|
|
8
8
|
VideoPlayer,
|
|
9
9
|
{
|
|
10
|
-
title: "
|
|
11
|
-
source: { uri: "https://
|
|
12
|
-
poster: { uri: "https://
|
|
10
|
+
title: "Film: the world of Krizaka",
|
|
11
|
+
source: { uri: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.b1c7c4ee51.mp4" },
|
|
12
|
+
poster: { uri: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.f3ec7dbb08.jpg" }
|
|
13
13
|
}
|
|
14
14
|
);
|
|
15
15
|
}
|
|
Binary file
|
|
@@ -4,9 +4,9 @@ import { VideoPlayer } from "@krizaka/ui/native/video-player";
|
|
|
4
4
|
export default function NativeVideoPlayerDefault() {
|
|
5
5
|
return (
|
|
6
6
|
<VideoPlayer
|
|
7
|
-
title="
|
|
8
|
-
source={{ uri: "https://
|
|
9
|
-
poster={{ uri: "https://
|
|
7
|
+
title="Film: the world of Krizaka"
|
|
8
|
+
source={{ uri: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.b1c7c4ee51.mp4" }}
|
|
9
|
+
poster={{ uri: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.f3ec7dbb08.jpg" }}
|
|
10
10
|
/>
|
|
11
11
|
);
|
|
12
12
|
}
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
// registry/examples/video-player/signed-source.tsx
|
|
4
4
|
import { VideoPlayer } from "@krizaka/ui/video-player";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
var TOUR = "https://www.krizaka.com/assets/orochia/tour";
|
|
7
6
|
async function signedAddress() {
|
|
8
7
|
await new Promise((resolve) => setTimeout(resolve, 200));
|
|
9
|
-
return
|
|
8
|
+
return "https://krizaka-assets.b-cdn.net/site/blog/what-image-and-video-generation-costs/tea-pour-i2v.0e841d251e.mp4?token=demo&expires=300";
|
|
10
9
|
}
|
|
11
10
|
function VideoPlayerSignedSource() {
|
|
12
|
-
return /* @__PURE__ */ jsx(VideoPlayer, { title: "Video:
|
|
11
|
+
return /* @__PURE__ */ jsx(VideoPlayer, { title: "Video: a tea pour, generated by Orazaka", src: signedAddress, preload: "none", poster: "https://krizaka-assets.b-cdn.net/site/blog/what-image-and-video-generation-costs/tea-pour-i2v-poster.8a1beb7b23.webp" });
|
|
13
12
|
}
|
|
14
13
|
export {
|
|
15
14
|
VideoPlayerSignedSource as default
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import { VideoPlayer } from "@krizaka/ui/video-player";
|
|
4
4
|
|
|
5
|
-
const TOUR = "https://www.krizaka.com/assets/orochia/tour";
|
|
6
|
-
|
|
7
5
|
// Your server signs a short-lived address for this viewer; it is asked on the first play, and again after an error.
|
|
8
6
|
async function signedAddress() {
|
|
9
7
|
await new Promise((resolve) => setTimeout(resolve, 200));
|
|
10
|
-
return
|
|
8
|
+
return "https://krizaka-assets.b-cdn.net/site/blog/what-image-and-video-generation-costs/tea-pour-i2v.0e841d251e.mp4?token=demo&expires=300";
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
export default function VideoPlayerSignedSource() {
|
|
14
|
-
return <VideoPlayer title="Video:
|
|
12
|
+
return <VideoPlayer title="Video: a tea pour, generated by Orazaka" src={signedAddress} preload="none" poster="https://krizaka-assets.b-cdn.net/site/blog/what-image-and-video-generation-costs/tea-pour-i2v-poster.8a1beb7b23.webp" />;
|
|
15
13
|
}
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
// registry/examples/video-player/vertical.tsx
|
|
4
4
|
import { VideoPlayer } from "@krizaka/ui/video-player";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
var TOUR = "https://www.krizaka.com/assets/orochia/tour";
|
|
7
6
|
function VideoPlayerVertical() {
|
|
8
|
-
return /* @__PURE__ */ jsx("div", { className: "w-64", children: /* @__PURE__ */ jsx(VideoPlayer, { title: "
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { className: "w-64", children: /* @__PURE__ */ jsx(VideoPlayer, { title: "Film: the world of Krizaka", src: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-9x16.aa28980db3.mp4", poster: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-9x16.8133fbbaa5.jpg", aspectRatio: "9 / 16", autoPlay: true, loop: true, muted: true, playbackRates: [] }) });
|
|
9
8
|
}
|
|
10
9
|
export {
|
|
11
10
|
VideoPlayerVertical as default
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { VideoPlayer } from "@krizaka/ui/video-player";
|
|
2
2
|
|
|
3
|
-
const TOUR = "https://www.krizaka.com/assets/orochia/tour";
|
|
4
|
-
|
|
5
3
|
// A 9:16 clip: muted, looping; autoplay waits for a gesture under reduced motion.
|
|
6
4
|
export default function VideoPlayerVertical() {
|
|
7
5
|
return (
|
|
8
6
|
<div className="w-64">
|
|
9
|
-
<VideoPlayer title="
|
|
7
|
+
<VideoPlayer title="Film: the world of Krizaka" src="https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-9x16.aa28980db3.mp4" poster="https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-9x16.8133fbbaa5.jpg" aspectRatio="9 / 16" autoPlay loop muted playbackRates={[]} />
|
|
10
8
|
</div>
|
|
11
9
|
);
|
|
12
10
|
}
|
|
@@ -4,8 +4,16 @@
|
|
|
4
4
|
import { VideoTrimmer } from "@krizaka/ui/video-trimmer";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
var
|
|
8
|
-
|
|
7
|
+
var FRAMES = [
|
|
8
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.f3ec7dbb08.jpg",
|
|
9
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-9x16.8133fbbaa5.jpg",
|
|
10
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-dark.257f7e2c5d.jpg",
|
|
11
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-light.4e71f09920.jpg",
|
|
12
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-4x5-dark.b6f2a4ae2f.jpg",
|
|
13
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-4x5-light.31a0ae9e3a.jpg",
|
|
14
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/epic/le-monde-de-krizaka-la-tournee-16x9.97d42bd916.jpg",
|
|
15
|
+
"https://krizaka-assets.b-cdn.net/site/home/kit/challenge-v.7f6f208377.jpg"
|
|
16
|
+
];
|
|
9
17
|
function VideoTrimmerFilmstrip() {
|
|
10
18
|
const [kept, setKept] = React.useState([8, 20]);
|
|
11
19
|
return /* @__PURE__ */ jsx(VideoTrimmer, { duration: 42, value: kept, onValueChange: setKept, frames: FRAMES, labels: { kept: (length) => `${length} kept` } });
|
|
@@ -3,8 +3,17 @@
|
|
|
3
3
|
import { VideoTrimmer } from "@krizaka/ui/video-trimmer";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
const FRAMES = [
|
|
6
|
+
// Frames of the Krizaka films on the CDN (hashed: a URL never changes content).
|
|
7
|
+
const FRAMES = [
|
|
8
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.f3ec7dbb08.jpg",
|
|
9
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-9x16.8133fbbaa5.jpg",
|
|
10
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-dark.257f7e2c5d.jpg",
|
|
11
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-light.4e71f09920.jpg",
|
|
12
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-4x5-dark.b6f2a4ae2f.jpg",
|
|
13
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-4x5-light.31a0ae9e3a.jpg",
|
|
14
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/epic/le-monde-de-krizaka-la-tournee-16x9.97d42bd916.jpg",
|
|
15
|
+
"https://krizaka-assets.b-cdn.net/site/home/kit/challenge-v.7f6f208377.jpg",
|
|
16
|
+
];
|
|
8
17
|
|
|
9
18
|
// A 42-second clip: keep 12 seconds of it. Render the preview on commit, not on every move.
|
|
10
19
|
export default function VideoTrimmerFilmstrip() {
|
|
@@ -4,7 +4,14 @@
|
|
|
4
4
|
import { VideoTrimmer } from "@krizaka/ui/video-trimmer";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
var FRAMES = [
|
|
7
|
+
var FRAMES = [
|
|
8
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9.f3ec7dbb08.jpg",
|
|
9
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-9x16.8133fbbaa5.jpg",
|
|
10
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-dark.257f7e2c5d.jpg",
|
|
11
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-16x9-light.4e71f09920.jpg",
|
|
12
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-4x5-dark.b6f2a4ae2f.jpg",
|
|
13
|
+
"https://krizaka-assets.b-cdn.net/site/brand-films/ambient/home-valley-4x5-light.31a0ae9e3a.jpg"
|
|
14
|
+
];
|
|
8
15
|
function VideoTrimmerPlayhead() {
|
|
9
16
|
const [kept, setKept] = React.useState([3, 24]);
|
|
10
17
|
const [time, setTime] = React.useState(11.5);
|