@krizaka/ui 3.55.0 → 3.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/{RotatingWord-D9s7FXFD.d.ts → RotatingWord-COSabR2c.d.ts} +2 -1
- package/dist/account-menu.d.ts +2 -1
- package/dist/account-settings.d.ts +153 -61
- package/dist/account-settings.js +240 -97
- package/dist/account-settings.js.map +1 -1
- package/dist/achievement.d.ts +2 -1
- package/dist/action-bar.d.ts +3 -2
- package/dist/activity-feed.d.ts +2 -1
- package/dist/agenda.d.ts +2 -1
- package/dist/alert.d.ts +2 -1
- package/dist/anatomy-plate.d.ts +2 -1
- package/dist/app-header/search.d.ts +8 -7
- package/dist/app-header.d.ts +2 -1
- package/dist/app-shell.d.ts +26 -25
- package/dist/argument-card.d.ts +3 -2
- package/dist/audio-player.d.ts +2 -1
- package/dist/auth-layout.d.ts +11 -10
- package/dist/avatar/defaults.d.ts +2 -1
- package/dist/avatar.d.ts +2 -1
- package/dist/badge.d.ts +2 -1
- package/dist/bird-plate.d.ts +4 -2
- package/dist/blocks.css +183 -4
- package/dist/button.d.ts +2 -1
- package/dist/captcha.d.ts +2 -1
- package/dist/captcha.js +1 -0
- package/dist/captcha.js.map +1 -1
- package/dist/card-grid.d.ts +2 -1
- package/dist/card.d.ts +2 -1
- package/dist/catalogue-page.d.ts +82 -2
- package/dist/catalogue-page.js +156 -13
- package/dist/catalogue-page.js.map +1 -1
- package/dist/changelog-page.d.ts +2 -1
- package/dist/chapter.d.ts +2 -1
- package/dist/chat.d.ts +14 -13
- package/dist/checkbox.d.ts +2 -1
- package/dist/chip-link.d.ts +2 -1
- package/dist/chip-row.d.ts +8 -7
- package/dist/chip.d.ts +55 -1
- package/dist/chip.js +10 -1
- package/dist/choice-grid.d.ts +3 -2
- package/dist/chunk-27AWSJTK.js +46 -0
- package/dist/chunk-27AWSJTK.js.map +1 -0
- package/dist/chunk-44FU32KP.js +2 -0
- package/dist/chunk-44FU32KP.js.map +1 -0
- package/dist/{chunk-AEP3K4YD.js → chunk-4GQH27IT.js} +2 -2
- package/dist/{chunk-QWKCNSPF.js → chunk-5LANVCK7.js} +125 -73
- package/dist/chunk-5LANVCK7.js.map +1 -0
- package/dist/{chunk-KDXRYUD3.js → chunk-5QEXOGO2.js} +3 -1
- package/dist/{chunk-KDXRYUD3.js.map → chunk-5QEXOGO2.js.map} +1 -1
- package/dist/chunk-7J2L4HOD.js +340 -0
- package/dist/chunk-7J2L4HOD.js.map +1 -0
- package/dist/{chunk-7U5TXA5Q.js → chunk-BQ4EOR2O.js} +74 -2
- package/dist/chunk-BQ4EOR2O.js.map +1 -0
- package/dist/chunk-F6JTHPHE.js +399 -0
- package/dist/chunk-F6JTHPHE.js.map +1 -0
- package/dist/chunk-OGWB76BR.js +90 -0
- package/dist/chunk-OGWB76BR.js.map +1 -0
- package/dist/{chunk-VIPSZXO4.js → chunk-UYGUSYIC.js} +72 -2
- package/dist/chunk-UYGUSYIC.js.map +1 -0
- package/dist/chunk-WOZP3JLW.js +51 -0
- package/dist/chunk-WOZP3JLW.js.map +1 -0
- package/dist/chunk-XVXFMVG3.js +27 -0
- package/dist/chunk-XVXFMVG3.js.map +1 -0
- package/dist/code-block.d.ts +2 -1
- package/dist/combobox.d.ts +20 -19
- package/dist/combobox.js +3 -2
- package/dist/command.d.ts +21 -20
- package/dist/comparison-table.d.ts +2 -1
- package/dist/component-page.d.ts +2 -1
- package/dist/confirm-button.d.ts +2 -1
- package/dist/contact-page.d.ts +2 -1
- package/dist/continue-prompt.d.ts +2 -1
- package/dist/countdown.d.ts +2 -1
- package/dist/cover-hero.d.ts +20 -19
- package/dist/cover-hero.js +25 -42
- package/dist/cover-hero.js.map +1 -1
- package/dist/cta-panel.d.ts +2 -1
- package/dist/dashboard-layout.d.ts +50 -2
- package/dist/dashboard-layout.js +66 -11
- package/dist/dashboard-layout.js.map +1 -1
- package/dist/data-table.d.ts +45 -2
- package/dist/data-table.js +7 -3
- package/dist/date-picker.d.ts +29 -28
- package/dist/decision-list.d.ts +2 -1
- package/dist/description-list.d.ts +2 -1
- package/dist/detail-layout.d.ts +153 -20
- package/dist/detail-layout.js +73 -4
- package/dist/detail-layout.js.map +1 -1
- package/dist/{dialog-D42QwYb_.d.ts → dialog-DpUwec2g.d.ts} +2 -1
- package/dist/dialog.d.ts +3 -2
- package/dist/docs-article-page.d.ts +2 -1
- package/dist/docs-hub-page.d.ts +2 -1
- package/dist/docs-layout.d.ts +2 -1
- package/dist/docs-nav.d.ts +3 -10
- package/dist/document-viewer.d.ts +5 -4
- package/dist/doodle.d.ts +17 -6
- package/dist/doodle.js +40 -9
- package/dist/doodle.js.map +1 -1
- package/dist/drop-overlay.d.ts +2 -1
- package/dist/dropdown-menu.d.ts +2 -1
- package/dist/dropdown-menu.js +13 -74
- package/dist/dropdown-menu.js.map +1 -1
- package/dist/elephant.d.ts +2 -1
- package/dist/empty-state.d.ts +2 -1
- package/dist/engine-flow.d.ts +2 -1
- package/dist/error-page.d.ts +2 -1
- package/dist/file-upload.d.ts +16 -15
- package/dist/filter-bar.d.ts +84 -11
- package/dist/filter-bar.js +6 -2
- package/dist/flock.d.ts +3 -2
- package/dist/footnote.d.ts +2 -1
- package/dist/force-update-screen.d.ts +8 -7
- package/dist/form/server.d.ts +2 -1
- package/dist/form.d.ts +2 -1
- package/dist/gallery-page.d.ts +2 -1
- package/dist/genui.d.ts +2 -1
- package/dist/genui.js +3 -3
- package/dist/{geometry-DX-W-Yyf.d.ts → geometry-DZ4Q3hDQ.d.ts} +2 -1
- package/dist/glossary-term.d.ts +2 -1
- package/dist/glossary.d.ts +2 -1
- package/dist/glow-card.d.ts +2 -1
- package/dist/goal-gauge.d.ts +2 -1
- package/dist/grade-stamp.d.ts +23 -0
- package/dist/grade-stamp.js +42 -0
- package/dist/grade-stamp.js.map +1 -0
- package/dist/how-it-works-page.d.ts +2 -1
- package/dist/image-cropper.d.ts +5 -4
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4 -4
- package/dist/iso.d.ts +2 -1
- package/dist/kanban.d.ts +2 -1
- package/dist/kbd.d.ts +2 -1
- package/dist/kind-config-editor.d.ts +152 -0
- package/dist/kind-config-editor.js +574 -0
- package/dist/kind-config-editor.js.map +1 -0
- package/dist/kpi-explained.d.ts +2 -1
- package/dist/landing-page.d.ts +2 -1
- package/dist/landscape.d.ts +2 -1
- package/dist/language-switch/server.d.ts +2 -1
- package/dist/language-switch.d.ts +11 -10
- package/dist/legal-page.d.ts +2 -1
- package/dist/link-card.d.ts +2 -1
- package/dist/list.d.ts +2 -1
- package/dist/loader.d.ts +2 -1
- package/dist/longform-page.d.ts +2 -1
- package/dist/maintenance-screen.d.ts +5 -4
- package/dist/map.d.ts +14 -13
- package/dist/map.js +24 -0
- package/dist/map.js.map +1 -1
- package/dist/markdown.d.ts +2 -1
- package/dist/marketing-layout.d.ts +5 -4
- package/dist/marquee.d.ts +2 -1
- package/dist/mascot-quote.d.ts +2 -1
- package/dist/mascot-state.d.ts +3 -2
- package/dist/mascots.d.ts +4 -3
- package/dist/match-dialog.d.ts +2 -1
- package/dist/media-capture.d.ts +5 -4
- package/dist/media-gallery.d.ts +2 -1
- package/dist/media-grid.d.ts +3 -10
- package/dist/meta-row.d.ts +2 -1
- package/dist/meter.d.ts +2 -1
- package/dist/motion.d.ts +3 -2
- package/dist/native/form.d.ts +2 -1
- package/dist/native/list.d.ts +2 -1
- package/dist/native/map.d.ts +2 -1
- package/dist/native/map.js +24 -0
- package/dist/native/map.js.map +1 -1
- package/dist/native/markdown.d.ts +2 -1
- package/dist/native/media-capture.d.ts +2 -1
- package/dist/native/media-picker.d.ts +2 -1
- package/dist/native/vertical-video.d.ts +2 -1
- package/dist/native/video-player.d.ts +2 -1
- package/dist/native.d.ts +230 -1
- package/dist/native.js +1465 -965
- package/dist/native.js.map +1 -1
- package/dist/nav-bar/me.d.ts +2 -1
- package/dist/nav-bar.d.ts +2 -1
- package/dist/next-actions.d.ts +2 -1
- package/dist/notification-preferences.d.ts +23 -22
- package/dist/notification-preferences.js +4 -3
- package/dist/notification-preferences.js.map +1 -1
- package/dist/number-ticker.d.ts +2 -1
- package/dist/opening-hours.d.ts +2 -1
- package/dist/page-header.d.ts +2 -1
- package/dist/page-hero.d.ts +2 -1
- package/dist/page-index.d.ts +2 -1
- package/dist/page.d.ts +2 -1
- package/dist/pagination.d.ts +2 -1
- package/dist/photo-grid.d.ts +2 -1
- package/dist/pointer-light.d.ts +2 -1
- package/dist/popover.d.ts +2 -1
- package/dist/pricing-page.d.ts +2 -1
- package/dist/product-page.d.ts +2 -1
- package/dist/profile-card.d.ts +2 -1
- package/dist/progress.d.ts +2 -1
- package/dist/promise-card.d.ts +2 -1
- package/dist/quota-meter.d.ts +2 -1
- package/dist/radio-group.d.ts +2 -1
- package/dist/radio-group.js +3 -3
- package/dist/rail-nav.d.ts +17 -16
- package/dist/rail-nav.js +22 -56
- package/dist/rail-nav.js.map +1 -1
- package/dist/recipes.d.ts +2 -1
- package/dist/retro-tv.d.ts +2 -1
- package/dist/router.d.ts +2 -1
- package/dist/scroll-stage.d.ts +2 -1
- package/dist/search-field.d.ts +2 -1
- package/dist/section-backdrop.d.ts +2 -1
- package/dist/separator.d.ts +2 -1
- package/dist/service-card.d.ts +9 -8
- package/dist/settings-layout.d.ts +2 -1
- package/dist/settings-layout.js +10 -324
- package/dist/settings-layout.js.map +1 -1
- package/dist/showcase.d.ts +2 -1
- package/dist/signature.d.ts +2 -1
- package/dist/site-cahier.d.ts +187 -0
- package/dist/site-cahier.js +844 -0
- package/dist/site-cahier.js.map +1 -0
- package/dist/site-footer.d.ts +2 -1
- package/dist/sites.d.ts +2 -1
- package/dist/skeleton.d.ts +2 -1
- package/dist/skip-link.d.ts +2 -1
- package/dist/slider.d.ts +2 -1
- package/dist/slot-picker.d.ts +86 -13
- package/dist/slot-picker.js +98 -16
- package/dist/slot-picker.js.map +1 -1
- package/dist/specimen-tag.d.ts +2 -1
- package/dist/speed-lines.d.ts +19 -0
- package/dist/speed-lines.js +45 -0
- package/dist/speed-lines.js.map +1 -0
- package/dist/spinner.d.ts +2 -1
- package/dist/split-view.d.ts +2 -1
- package/dist/stage-banner.d.ts +2 -1
- package/dist/stat.d.ts +2 -1
- package/dist/status-chip.d.ts +44 -0
- package/dist/status-chip.js +137 -0
- package/dist/status-chip.js.map +1 -0
- package/dist/status-page.d.ts +2 -1
- package/dist/step-progress.d.ts +2 -1
- package/dist/step-showcase.d.ts +2 -1
- package/dist/stepper.d.ts +2 -1
- package/dist/sticky-action.d.ts +28 -5
- package/dist/sticky-action.js +10 -4
- package/dist/sticky-action.js.map +1 -1
- package/dist/stuck.d.ts +2 -1
- package/dist/swipe-deck.d.ts +2 -1
- package/dist/switch.d.ts +2 -1
- package/dist/tabs.d.ts +2 -1
- package/dist/tag-input.d.ts +2 -1
- package/dist/tag-input.js +3 -2
- package/dist/tag-input.js.map +1 -1
- package/dist/tag-selector.d.ts +30 -4
- package/dist/tag-selector.js +90 -8
- package/dist/tag-selector.js.map +1 -1
- package/dist/taped-photo.d.ts +2 -1
- package/dist/taped-photo.js +4 -20
- package/dist/taped-photo.js.map +1 -1
- package/dist/terminal-replay.d.ts +2 -1
- package/dist/terminal-replay.js +1 -1
- package/dist/text-style/server.d.ts +2 -1
- package/dist/text-style.d.ts +2 -1
- package/dist/theme.d.ts +21 -1
- package/dist/theme.js +37 -1
- package/dist/theme.js.map +1 -1
- package/dist/toast.d.ts +2 -1
- package/dist/toc.d.ts +2 -1
- package/dist/tooltip.d.ts +2 -1
- package/dist/tree-view.d.ts +2 -1
- package/dist/update-prompt.d.ts +11 -10
- package/dist/upload-queue.d.ts +2 -1
- package/dist/verified-badge.d.ts +2 -1
- package/dist/versus-card.d.ts +40 -0
- package/dist/versus-card.js +40 -0
- package/dist/versus-card.js.map +1 -0
- package/dist/vertical-video.d.ts +2 -1
- package/dist/video-player.d.ts +20 -19
- package/dist/video-trimmer.d.ts +2 -1
- package/dist/virtual.d.ts +8 -7
- package/dist/wall.d.ts +79 -0
- package/dist/wall.js +127 -0
- package/dist/wall.js.map +1 -0
- package/dist/waveform.d.ts +2 -1
- package/package.json +140 -41
- package/registry/account-menu.json +1 -1
- package/registry/account-settings.json +257 -5
- package/registry/achievement.json +1 -1
- package/registry/action-bar.json +1 -1
- package/registry/activity-feed.json +1 -1
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-header.json +1 -1
- package/registry/app-shell.json +1 -1
- package/registry/argument-card.json +1 -1
- package/registry/audio-player.json +1 -1
- package/registry/auth-layout.json +1 -1
- package/registry/avatar.json +1 -1
- package/registry/badge.json +1 -1
- package/registry/bird-plate.json +1 -1
- package/registry/button.json +1 -1
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +1 -1
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +116 -6
- package/registry/changelog-page.json +1 -1
- package/registry/chapter.json +1 -1
- package/registry/chat.json +1 -1
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip-row.json +1 -1
- package/registry/chip.json +386 -11
- package/registry/choice-grid.json +1 -1
- 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 +1 -1
- 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 +91 -5
- package/registry/data-table.json +156 -5
- package/registry/date-picker.json +1 -1
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +1 -1
- package/registry/detail-layout.json +199 -5
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +1 -1
- 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 +115 -22
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +2 -2
- package/registry/empty-state.json +1 -1
- package/registry/engine-flow.json +1 -1
- package/registry/error-page.json +1 -1
- package/registry/examples/account-settings/appearance.d.ts +4 -0
- package/registry/examples/account-settings/appearance.js +40 -0
- package/registry/examples/account-settings/appearance.tsx +30 -0
- package/registry/examples/catalogue-page/clients.d.ts +4 -0
- package/registry/examples/catalogue-page/clients.js +49 -0
- package/registry/examples/catalogue-page/clients.tsx +61 -0
- package/registry/examples/chip/marker-picker.d.ts +4 -0
- package/registry/examples/chip/marker-picker.js +17 -0
- package/registry/examples/chip/marker-picker.tsx +17 -0
- package/registry/examples/chip/native/marker-picker.d.ts +4 -0
- package/registry/examples/chip/native/marker-picker.dark.png +0 -0
- package/registry/examples/chip/native/marker-picker.js +18 -0
- package/registry/examples/chip/native/marker-picker.light.png +0 -0
- package/registry/examples/chip/native/marker-picker.tsx +16 -0
- package/registry/examples/chip/native/tags.d.ts +4 -0
- package/registry/examples/chip/native/tags.dark.png +0 -0
- package/registry/examples/chip/native/tags.js +22 -0
- package/registry/examples/chip/native/tags.light.png +0 -0
- package/registry/examples/chip/native/tags.tsx +20 -0
- package/registry/examples/chip/tags.d.ts +4 -0
- package/registry/examples/chip/tags.js +26 -0
- package/registry/examples/chip/tags.tsx +23 -0
- package/registry/examples/dashboard-layout/today.d.ts +4 -0
- package/registry/examples/dashboard-layout/today.js +54 -0
- package/registry/examples/dashboard-layout/today.tsx +63 -0
- package/registry/examples/data-table/bulk.d.ts +4 -0
- package/registry/examples/data-table/bulk.js +45 -0
- package/registry/examples/data-table/bulk.tsx +34 -0
- package/registry/examples/detail-layout/client.d.ts +4 -0
- package/registry/examples/detail-layout/client.js +40 -0
- package/registry/examples/detail-layout/client.tsx +39 -0
- package/registry/examples/detail-layout/new-invoice.d.ts +4 -0
- package/registry/examples/detail-layout/new-invoice.js +44 -0
- package/registry/examples/detail-layout/new-invoice.tsx +34 -0
- package/registry/examples/doodle/bird-sketch.d.ts +4 -0
- package/registry/examples/doodle/bird-sketch.js +11 -0
- package/registry/examples/doodle/bird-sketch.tsx +12 -0
- package/registry/examples/doodle/margin-marks.d.ts +4 -0
- package/registry/examples/doodle/margin-marks.js +27 -0
- package/registry/examples/doodle/margin-marks.tsx +19 -0
- package/registry/examples/filter-bar/views.d.ts +4 -0
- package/registry/examples/filter-bar/views.js +39 -0
- package/registry/examples/filter-bar/views.tsx +30 -0
- package/registry/examples/grade-stamp/coverage.d.ts +4 -0
- package/registry/examples/grade-stamp/coverage.js +12 -0
- package/registry/examples/grade-stamp/coverage.tsx +8 -0
- package/registry/examples/grade-stamp/lighthouse.d.ts +4 -0
- package/registry/examples/grade-stamp/lighthouse.js +12 -0
- package/registry/examples/grade-stamp/lighthouse.tsx +14 -0
- package/registry/examples/kind-config-editor/derived.d.ts +4 -0
- package/registry/examples/kind-config-editor/derived.js +26 -0
- package/registry/examples/kind-config-editor/derived.tsx +16 -0
- package/registry/examples/kind-config-editor/native/status-set.d.ts +4 -0
- package/registry/examples/kind-config-editor/native/status-set.dark.png +0 -0
- package/registry/examples/kind-config-editor/native/status-set.js +22 -0
- package/registry/examples/kind-config-editor/native/status-set.light.png +0 -0
- package/registry/examples/kind-config-editor/native/status-set.tsx +19 -0
- package/registry/examples/kind-config-editor/native/tag-set.d.ts +4 -0
- package/registry/examples/kind-config-editor/native/tag-set.dark.png +0 -0
- package/registry/examples/kind-config-editor/native/tag-set.js +20 -0
- package/registry/examples/kind-config-editor/native/tag-set.light.png +0 -0
- package/registry/examples/kind-config-editor/native/tag-set.tsx +18 -0
- package/registry/examples/kind-config-editor/status-set.d.ts +4 -0
- package/registry/examples/kind-config-editor/status-set.js +29 -0
- package/registry/examples/kind-config-editor/status-set.tsx +25 -0
- package/registry/examples/kind-config-editor/tag-set.d.ts +4 -0
- package/registry/examples/kind-config-editor/tag-set.js +20 -0
- package/registry/examples/kind-config-editor/tag-set.tsx +18 -0
- package/registry/examples/site-cahier/java-releases.d.ts +4 -0
- package/registry/examples/site-cahier/java-releases.js +33 -0
- package/registry/examples/site-cahier/java-releases.tsx +32 -0
- package/registry/examples/site-cahier/motion-lab.d.ts +4 -0
- package/registry/examples/site-cahier/motion-lab.js +32 -0
- package/registry/examples/site-cahier/motion-lab.tsx +29 -0
- package/registry/examples/site-cahier/ts-changelog.d.ts +4 -0
- package/registry/examples/site-cahier/ts-changelog.js +24 -0
- package/registry/examples/site-cahier/ts-changelog.tsx +20 -0
- package/registry/examples/site-cahier/ts-doc.d.ts +4 -0
- package/registry/examples/site-cahier/ts-doc.js +38 -0
- package/registry/examples/site-cahier/ts-doc.tsx +27 -0
- package/registry/examples/site-cahier/ui-home.d.ts +4 -0
- package/registry/examples/site-cahier/ui-home.js +46 -0
- package/registry/examples/site-cahier/ui-home.tsx +40 -0
- package/registry/examples/slot-picker/weeks.d.ts +4 -0
- package/registry/examples/slot-picker/weeks.js +45 -0
- package/registry/examples/slot-picker/weeks.tsx +28 -0
- package/registry/examples/speed-lines/hero.d.ts +4 -0
- package/registry/examples/speed-lines/hero.js +11 -0
- package/registry/examples/speed-lines/hero.tsx +12 -0
- package/registry/examples/speed-lines/streaks.d.ts +4 -0
- package/registry/examples/speed-lines/streaks.js +11 -0
- package/registry/examples/speed-lines/streaks.tsx +12 -0
- package/registry/examples/status-chip/default.d.ts +4 -0
- package/registry/examples/status-chip/default.js +35 -0
- package/registry/examples/status-chip/default.tsx +32 -0
- package/registry/examples/status-chip/native/default.d.ts +4 -0
- package/registry/examples/status-chip/native/default.dark.png +0 -0
- package/registry/examples/status-chip/native/default.js +26 -0
- package/registry/examples/status-chip/native/default.light.png +0 -0
- package/registry/examples/status-chip/native/default.tsx +20 -0
- package/registry/examples/tag-selector/creatable.d.ts +4 -0
- package/registry/examples/tag-selector/creatable.js +41 -0
- package/registry/examples/tag-selector/creatable.tsx +29 -0
- package/registry/examples/tag-selector/native/tags.d.ts +4 -0
- package/registry/examples/tag-selector/native/tags.dark.png +0 -0
- package/registry/examples/tag-selector/native/tags.js +19 -0
- package/registry/examples/tag-selector/native/tags.light.png +0 -0
- package/registry/examples/tag-selector/native/tags.tsx +19 -0
- package/registry/examples/versus-card/alternatives.d.ts +4 -0
- package/registry/examples/versus-card/alternatives.js +20 -0
- package/registry/examples/versus-card/alternatives.tsx +14 -0
- package/registry/examples/versus-card/releases.d.ts +4 -0
- package/registry/examples/versus-card/releases.js +35 -0
- package/registry/examples/versus-card/releases.tsx +29 -0
- package/registry/examples/wall/brick.d.ts +4 -0
- package/registry/examples/wall/brick.js +14 -0
- package/registry/examples/wall/brick.tsx +8 -0
- package/registry/examples/wall/composition-fr.d.ts +4 -0
- package/registry/examples/wall/composition-fr.js +37 -0
- package/registry/examples/wall/composition-fr.tsx +18 -0
- package/registry/examples/wall/composition.d.ts +4 -0
- package/registry/examples/wall/composition.js +38 -0
- package/registry/examples/wall/composition.tsx +18 -0
- package/registry/examples/wall/pinned-note.d.ts +4 -0
- package/registry/examples/wall/pinned-note.js +15 -0
- package/registry/examples/wall/pinned-note.tsx +9 -0
- package/registry/examples/wall/plaster.d.ts +4 -0
- package/registry/examples/wall/plaster.js +14 -0
- package/registry/examples/wall/plaster.tsx +8 -0
- package/registry/examples/wall/polaroid.d.ts +4 -0
- package/registry/examples/wall/polaroid.js +19 -0
- package/registry/examples/wall/polaroid.tsx +10 -0
- package/registry/examples/wall/ridge.d.ts +4 -0
- package/registry/examples/wall/ridge.js +14 -0
- package/registry/examples/wall/ridge.tsx +8 -0
- package/registry/examples/wall/shop-sign.d.ts +4 -0
- package/registry/examples/wall/shop-sign.js +16 -0
- package/registry/examples/wall/shop-sign.tsx +10 -0
- package/registry/examples/wall/zellige.d.ts +4 -0
- package/registry/examples/wall/zellige.js +14 -0
- package/registry/examples/wall/zellige.tsx +8 -0
- package/registry/field.json +1 -1
- package/registry/file-upload.json +1 -1
- package/registry/filter-bar.json +208 -8
- package/registry/flock.json +1 -1
- package/registry/footnote.json +1 -1
- package/registry/force-update-screen.json +1 -1
- package/registry/form.json +1 -1
- package/registry/gallery-page.json +1 -1
- package/registry/genui.json +1 -1
- 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 +1 -1
- package/registry/grade-stamp.json +227 -0
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +1 -1
- package/registry/index.json +355 -30
- package/registry/iso.json +1 -1
- package/registry/kanban.json +1 -1
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +565 -0
- package/registry/kpi-explained.json +1 -1
- package/registry/landing-page.json +1 -1
- 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 +1 -1
- package/registry/list.json +1 -1
- package/registry/loader.json +1 -1
- package/registry/longform-page.json +1 -1
- package/registry/maintenance-screen.json +1 -1
- package/registry/map.json +2 -2
- package/registry/markdown.json +1 -1
- package/registry/marketing-layout.json +1 -1
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +1 -1
- 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 +1 -1
- package/registry/meta-row.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +2 -2
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +1 -1
- package/registry/number-ticker.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 +1 -1
- package/registry/pagination.json +1 -1
- 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 +1 -1
- package/registry/profile-card.json +1 -1
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +1 -1
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +2 -2
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +1 -1
- package/registry/router.json +1 -1
- package/registry/scroll-stage.json +1 -1
- package/registry/search-field.json +1 -1
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/service-card.json +1 -1
- package/registry/settings-layout.json +1 -1
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +548 -0
- package/registry/site-footer.json +2 -2
- package/registry/sites.json +1 -1
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +156 -10
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +1 -1
- package/registry/speed-lines.json +174 -0
- package/registry/spinner.json +1 -1
- package/registry/split-view.json +1 -1
- package/registry/stage-banner.json +1 -1
- package/registry/stat.json +1 -1
- package/registry/status-chip.json +350 -0
- package/registry/status-page.json +1 -1
- 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 +38 -8
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +189 -12
- 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 +3 -3
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +1 -1
- package/registry/update-prompt.json +1 -1
- package/registry/upload-queue.json +1 -1
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +194 -0
- package/registry/vertical-video.json +1 -1
- package/registry/video-player.json +1 -1
- package/registry/video-trimmer.json +1 -1
- package/registry/virtual.json +2 -2
- package/registry/wall.json +511 -0
- package/registry/waveform.json +1 -1
- package/dist/chunk-7U5TXA5Q.js.map +0 -1
- package/dist/chunk-OIMXKRXF.js +0 -179
- package/dist/chunk-OIMXKRXF.js.map +0 -1
- package/dist/chunk-QWKCNSPF.js.map +0 -1
- package/dist/chunk-VIPSZXO4.js.map +0 -1
- /package/dist/{chunk-AEP3K4YD.js.map → chunk-4GQH27IT.js.map} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/filter-bar/views.tsx
|
|
4
|
+
import { FilterBar } from "@krizaka/ui/filter-bar";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var SYSTEM = [
|
|
8
|
+
{ id: "all", label: "All clients", group: "system", count: 42 },
|
|
9
|
+
{ id: "to_follow", label: "To follow up", group: "system", count: 7 }
|
|
10
|
+
];
|
|
11
|
+
function FilterBarViews() {
|
|
12
|
+
const [mine, setMine] = React.useState([{ id: "v1", label: "Winter storage", group: "mine", count: 5 }]);
|
|
13
|
+
const [current, setCurrent] = React.useState("to_follow");
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
FilterBar,
|
|
16
|
+
{
|
|
17
|
+
label: "Filter clients",
|
|
18
|
+
results: "7 clients",
|
|
19
|
+
views: {
|
|
20
|
+
views: [...SYSTEM, ...mine],
|
|
21
|
+
current,
|
|
22
|
+
modified: current === "to_follow",
|
|
23
|
+
onSelect: setCurrent,
|
|
24
|
+
onSave: (label) => {
|
|
25
|
+
setMine((all) => [...all, { id: `v${all.length + 1}`, label, group: "mine" }]);
|
|
26
|
+
setCurrent(`v${mine.length + 1}`);
|
|
27
|
+
},
|
|
28
|
+
onRename: (id, label) => setMine((all) => all.map((v) => v.id === id ? { ...v, label } : v)),
|
|
29
|
+
onDelete: (id) => {
|
|
30
|
+
setMine((all) => all.filter((v) => v.id !== id));
|
|
31
|
+
setCurrent("all");
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
FilterBarViews as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { FilterBar, type SavedViewItem } from "@krizaka/ui/filter-bar";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
|
|
6
|
+
const SYSTEM: SavedViewItem[] = [
|
|
7
|
+
{ id: "all", label: "All clients", group: "system", count: 42 },
|
|
8
|
+
{ id: "to_follow", label: "To follow up", group: "system", count: 7 },
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
// The views of a clients list (a fictitious bike workshop): chips with counts on a wide screen, one menu on a phone.
|
|
12
|
+
export default function FilterBarViews() {
|
|
13
|
+
const [mine, setMine] = React.useState<SavedViewItem[]>([{ id: "v1", label: "Winter storage", group: "mine", count: 5 }]);
|
|
14
|
+
const [current, setCurrent] = React.useState<string | null>("to_follow");
|
|
15
|
+
return (
|
|
16
|
+
<FilterBar
|
|
17
|
+
label="Filter clients"
|
|
18
|
+
results="7 clients"
|
|
19
|
+
views={{
|
|
20
|
+
views: [...SYSTEM, ...mine],
|
|
21
|
+
current,
|
|
22
|
+
modified: current === "to_follow",
|
|
23
|
+
onSelect: setCurrent,
|
|
24
|
+
onSave: (label) => { setMine((all) => [...all, { id: `v${all.length + 1}`, label, group: "mine" }]); setCurrent(`v${mine.length + 1}`); },
|
|
25
|
+
onRename: (id, label) => setMine((all) => all.map((v) => (v.id === id ? { ...v, label } : v))),
|
|
26
|
+
onDelete: (id) => { setMine((all) => all.filter((v) => v.id !== id)); setCurrent("all"); },
|
|
27
|
+
}}
|
|
28
|
+
/>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/grade-stamp/coverage.tsx
|
|
4
|
+
import { GradeStamp } from "@krizaka/ui/grade-stamp";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var coverage = { percent: 94.1, source: "Vitest coverage report, lines, 2026-10-23" };
|
|
7
|
+
function GradeStampCoverage() {
|
|
8
|
+
return /* @__PURE__ */ jsx(GradeStamp, { value: Math.round(coverage.percent / 100 * 20 * 10) / 10, outOf: 20, remark: "Tr\xE8s bien, continue", source: coverage.source });
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
GradeStampCoverage as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GradeStamp } from "@krizaka/ui/grade-stamp";
|
|
2
|
+
|
|
3
|
+
// The grade is computed from the measure, never typed: 94.1 % of lines covered → 18.8 out of 20.
|
|
4
|
+
const coverage = { percent: 94.1, source: "Vitest coverage report, lines, 2026-10-23" };
|
|
5
|
+
|
|
6
|
+
export default function GradeStampCoverage() {
|
|
7
|
+
return <GradeStamp value={Math.round((coverage.percent / 100) * 20 * 10) / 10} outOf={20} remark="Très bien, continue" source={coverage.source} />;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/grade-stamp/lighthouse.tsx
|
|
4
|
+
import { GradeStamp } from "@krizaka/ui/grade-stamp";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var audit = { date: "2026-10-23", scores: [["Performance", 98, "Excellent"], ["Accessibility", 100, "Parfait"], ["SEO", 92, "Bien jou\xE9"]] };
|
|
7
|
+
function GradeStampLighthouse() {
|
|
8
|
+
return /* @__PURE__ */ jsx("div", { style: { display: "flex", flexWrap: "wrap", gap: 28 }, children: audit.scores.map(([name, score, remark]) => /* @__PURE__ */ jsx(GradeStamp, { value: score / 5, remark, source: `Lighthouse ${name}, ${score}/100, ${audit.date}`, sourceLabel: "Source" }, name)) });
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
GradeStampLighthouse as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GradeStamp } from "@krizaka/ui/grade-stamp";
|
|
2
|
+
|
|
3
|
+
// Lighthouse scores come out of 100: each becomes a grade out of 20, with its own source and remark.
|
|
4
|
+
const audit = { date: "2026-10-23", scores: [["Performance", 98, "Excellent"], ["Accessibility", 100, "Parfait"], ["SEO", 92, "Bien joué"]] as const };
|
|
5
|
+
|
|
6
|
+
export default function GradeStampLighthouse() {
|
|
7
|
+
return (
|
|
8
|
+
<div style={{ display: "flex", flexWrap: "wrap", gap: 28 }}>
|
|
9
|
+
{audit.scores.map(([name, score, remark]) => (
|
|
10
|
+
<GradeStamp key={name} value={score / 5} remark={remark} source={`Lighthouse ${name}, ${score}/100, ${audit.date}`} sourceLabel="Source" />
|
|
11
|
+
))}
|
|
12
|
+
</div>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/kind-config-editor/derived.tsx
|
|
4
|
+
import { StatusSetEditor } from "@krizaka/ui/kind-config-editor";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var label = (fr, en) => ({ fr, en });
|
|
7
|
+
function StatusSetEditorDerived() {
|
|
8
|
+
return /* @__PURE__ */ jsx(
|
|
9
|
+
StatusSetEditor,
|
|
10
|
+
{
|
|
11
|
+
roles: [],
|
|
12
|
+
onChange: () => {
|
|
13
|
+
},
|
|
14
|
+
value: {
|
|
15
|
+
key: "invoice",
|
|
16
|
+
label: label("Facture", "Invoice"),
|
|
17
|
+
mode: "derived",
|
|
18
|
+
transitions: [],
|
|
19
|
+
states: [{ key: "sent", label: label("Envoy\xE9e", "Sent"), tone: "accent" }, { key: "paid", label: label("Pay\xE9e", "Paid"), tone: "success" }]
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
StatusSetEditorDerived as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StatusSetEditor } from "@krizaka/ui/kind-config-editor";
|
|
2
|
+
|
|
3
|
+
const label = (fr: string, en: string) => ({ fr, en });
|
|
4
|
+
|
|
5
|
+
// A derived set (an invoice's status comes from the ledger): shown read-only, with no moves to edit.
|
|
6
|
+
export default function StatusSetEditorDerived() {
|
|
7
|
+
return (
|
|
8
|
+
<StatusSetEditor
|
|
9
|
+
roles={[]} onChange={() => {}}
|
|
10
|
+
value={{
|
|
11
|
+
key: "invoice", label: label("Facture", "Invoice"), mode: "derived", transitions: [],
|
|
12
|
+
states: [{ key: "sent", label: label("Envoyée", "Sent"), tone: "accent" }, { key: "paid", label: label("Payée", "Paid"), tone: "success" }],
|
|
13
|
+
}}
|
|
14
|
+
/>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/kind-config-editor/native/status-set.tsx
|
|
4
|
+
import { StatusSetEditor } from "@krizaka/ui/native";
|
|
5
|
+
import { useState } from "react";
|
|
6
|
+
import { View } from "react-native";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var label = (fr, en) => ({ fr, en });
|
|
9
|
+
function NativeStatusSetEditor() {
|
|
10
|
+
const [set, setSet] = useState({
|
|
11
|
+
key: "applicant_file",
|
|
12
|
+
label: label("Dossier", "File"),
|
|
13
|
+
mode: "editable",
|
|
14
|
+
initial: "to_decide",
|
|
15
|
+
states: [{ key: "to_decide", label: label("\xC0 d\xE9cider", "To decide"), tone: "accent" }, { key: "selected", label: label("Retenu", "Selected"), tone: "success", final: true }],
|
|
16
|
+
transitions: [{ from: "to_decide", to: "selected", roles: ["owner"], confirm: true }]
|
|
17
|
+
});
|
|
18
|
+
return /* @__PURE__ */ jsx(View, { style: { width: 340 }, children: /* @__PURE__ */ jsx(StatusSetEditor, { value: set, onChange: setSet, roles: [{ key: "owner", label: "Owner" }] }) });
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
NativeStatusSetEditor as default
|
|
22
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StatusSetEditor,type StatusSetEditorProps } from "@krizaka/ui/native";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
|
|
5
|
+
const label = (fr: string, en: string) => ({ fr, en });
|
|
6
|
+
|
|
7
|
+
// The statuses of applicant files for a fictitious landlord: states in order, a final state with no way out, the moves by role.
|
|
8
|
+
export default function NativeStatusSetEditor() {
|
|
9
|
+
const [set, setSet] = useState<StatusSetEditorProps["value"]>({
|
|
10
|
+
key: "applicant_file", label: label("Dossier", "File"), mode: "editable", initial: "to_decide",
|
|
11
|
+
states: [{ key: "to_decide", label: label("À décider", "To decide"), tone: "accent" }, { key: "selected", label: label("Retenu", "Selected"), tone: "success", final: true }],
|
|
12
|
+
transitions: [{ from: "to_decide", to: "selected", roles: ["owner"], confirm: true }],
|
|
13
|
+
});
|
|
14
|
+
return (
|
|
15
|
+
<View style={{ width: 340 }}>
|
|
16
|
+
<StatusSetEditor value={set} onChange={setSet} roles={[{ key: "owner", label: "Owner" }]} />
|
|
17
|
+
</View>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/kind-config-editor/native/tag-set.tsx
|
|
4
|
+
import { TagSetEditor } from "@krizaka/ui/native";
|
|
5
|
+
import { useState } from "react";
|
|
6
|
+
import { View } from "react-native";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var ROLES = [{ key: "owner", label: "Owner" }, { key: "manager", label: "Manager" }];
|
|
9
|
+
function NativeTagSetEditor() {
|
|
10
|
+
const [tags, setTags] = useState({
|
|
11
|
+
writers: ["owner"],
|
|
12
|
+
userTags: true,
|
|
13
|
+
max: 30,
|
|
14
|
+
presets: { default: [{ name: "Regular", marker: "blue" }, { name: "To follow up", marker: "amber" }] }
|
|
15
|
+
});
|
|
16
|
+
return /* @__PURE__ */ jsx(View, { style: { width: 340 }, children: /* @__PURE__ */ jsx(TagSetEditor, { value: tags, onChange: setTags, variant: "default", roles: ROLES }) });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
NativeTagSetEditor as default
|
|
20
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TagSetEditor, type TagSetValue } from "@krizaka/ui/native";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
|
|
5
|
+
const ROLES = [{ key: "owner", label: "Owner" }, { key: "manager", label: "Manager" }];
|
|
6
|
+
|
|
7
|
+
// The client tags of a fictitious hair studio: presets, who writes, whether people add their own, the most.
|
|
8
|
+
export default function NativeTagSetEditor() {
|
|
9
|
+
const [tags, setTags] = useState<TagSetValue>({
|
|
10
|
+
writers: ["owner"], userTags: true, max: 30,
|
|
11
|
+
presets: { default: [{ name: "Regular", marker: "blue" }, { name: "To follow up", marker: "amber" }] },
|
|
12
|
+
});
|
|
13
|
+
return (
|
|
14
|
+
<View style={{ width: 340 }}>
|
|
15
|
+
<TagSetEditor value={tags} onChange={setTags} variant="default" roles={ROLES} />
|
|
16
|
+
</View>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/kind-config-editor/status-set.tsx
|
|
4
|
+
import { StatusSetEditor } from "@krizaka/ui/kind-config-editor";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var ROLES = [{ key: "owner", label: "Owner" }, { key: "manager", label: "Manager" }];
|
|
8
|
+
var label = (fr, en) => ({ fr, en });
|
|
9
|
+
function StatusSetEditorExample() {
|
|
10
|
+
const [set, setSet] = React.useState({
|
|
11
|
+
key: "applicant_file",
|
|
12
|
+
label: label("Dossier", "File"),
|
|
13
|
+
mode: "editable",
|
|
14
|
+
initial: "to_decide",
|
|
15
|
+
states: [
|
|
16
|
+
{ key: "to_decide", label: label("\xC0 d\xE9cider", "To decide"), tone: "accent" },
|
|
17
|
+
{ key: "selected", label: label("Retenu", "Selected"), tone: "success", final: true },
|
|
18
|
+
{ key: "declined", label: label("Non retenu", "Declined"), tone: "neutral", final: true }
|
|
19
|
+
],
|
|
20
|
+
transitions: [
|
|
21
|
+
{ from: "to_decide", to: "selected", roles: ["owner"], confirm: true },
|
|
22
|
+
{ from: "to_decide", to: "declined", roles: ["owner", "manager"], reasons: [{ key: "incomplete", label: label("Dossier incomplet", "Incomplete file") }] }
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
return /* @__PURE__ */ jsx(StatusSetEditor, { value: set, onChange: setSet, roles: ROLES });
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
StatusSetEditorExample as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { StatusSetEditor, type StatusSetEditorProps } from "@krizaka/ui/kind-config-editor";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
|
|
6
|
+
const ROLES = [{ key: "owner", label: "Owner" }, { key: "manager", label: "Manager" }];
|
|
7
|
+
const label = (fr: string, en: string) => ({ fr, en });
|
|
8
|
+
|
|
9
|
+
// The statuses of applicant files for a fictitious landlord: « To decide → Selected | Declined ». The order is the column's order,
|
|
10
|
+
// a final state has no way out, a move can ask for a second press and a reason picked from a list.
|
|
11
|
+
export default function StatusSetEditorExample() {
|
|
12
|
+
const [set, setSet] = React.useState<StatusSetEditorProps["value"]>({
|
|
13
|
+
key: "applicant_file", label: label("Dossier", "File"), mode: "editable", initial: "to_decide",
|
|
14
|
+
states: [
|
|
15
|
+
{ key: "to_decide", label: label("À décider", "To decide"), tone: "accent" },
|
|
16
|
+
{ key: "selected", label: label("Retenu", "Selected"), tone: "success", final: true },
|
|
17
|
+
{ key: "declined", label: label("Non retenu", "Declined"), tone: "neutral", final: true },
|
|
18
|
+
],
|
|
19
|
+
transitions: [
|
|
20
|
+
{ from: "to_decide", to: "selected", roles: ["owner"], confirm: true },
|
|
21
|
+
{ from: "to_decide", to: "declined", roles: ["owner", "manager"], reasons: [{ key: "incomplete", label: label("Dossier incomplet", "Incomplete file") }] },
|
|
22
|
+
],
|
|
23
|
+
});
|
|
24
|
+
return <StatusSetEditor value={set} onChange={setSet} roles={ROLES} />;
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/kind-config-editor/tag-set.tsx
|
|
4
|
+
import { TagSetEditor } from "@krizaka/ui/kind-config-editor";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var ROLES = [{ key: "owner", label: "Owner" }, { key: "manager", label: "Manager" }, { key: "staff", label: "Staff" }];
|
|
8
|
+
function TagSetEditorExample() {
|
|
9
|
+
const [tags, setTags] = React.useState({
|
|
10
|
+
writers: ["owner", "manager"],
|
|
11
|
+
userTags: true,
|
|
12
|
+
max: 30,
|
|
13
|
+
presets: { default: [{ name: "Regular", marker: "blue" }, { name: "To follow up", marker: "amber" }, { name: "Gift cards", marker: "violet" }] }
|
|
14
|
+
});
|
|
15
|
+
const problems = tags.max < 1 || tags.max > 200 ? ["tags.max: 1 to 200"] : [];
|
|
16
|
+
return /* @__PURE__ */ jsx(TagSetEditor, { value: tags, onChange: setTags, variant: "default", roles: ROLES, problems });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
TagSetEditorExample as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { TagSetEditor, type TagSetValue } from "@krizaka/ui/kind-config-editor";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
|
|
6
|
+
const ROLES = [{ key: "owner", label: "Owner" }, { key: "manager", label: "Manager" }, { key: "staff", label: "Staff" }];
|
|
7
|
+
|
|
8
|
+
// The client tags of a fictitious hair studio, per trade: the presets, who writes, whether people add their own. The editor hands
|
|
9
|
+
// the value back; the product posts it. The problems are shown in place.
|
|
10
|
+
export default function TagSetEditorExample() {
|
|
11
|
+
const [tags, setTags] = React.useState<TagSetValue>({
|
|
12
|
+
writers: ["owner", "manager"], userTags: true, max: 30,
|
|
13
|
+
presets: { default: [{ name: "Regular", marker: "blue" }, { name: "To follow up", marker: "amber" }, { name: "Gift cards", marker: "violet" }] },
|
|
14
|
+
});
|
|
15
|
+
// In a product: `kindConfigProblems(config)` of @krizaka/organize/contract, the server's own rules.
|
|
16
|
+
const problems = tags.max < 1 || tags.max > 200 ? ["tags.max: 1 to 200"] : [];
|
|
17
|
+
return <TagSetEditor value={tags} onChange={setTags} variant="default" roles={ROLES} problems={problems} />;
|
|
18
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/site-cahier/java-releases.tsx
|
|
4
|
+
import { Doodle } from "@krizaka/ui/doodle";
|
|
5
|
+
import { Section } from "@krizaka/ui/page";
|
|
6
|
+
import { SiteCahier, SiteCahierHero } from "@krizaka/ui/site-cahier";
|
|
7
|
+
import { SpecimenTag } from "@krizaka/ui/specimen-tag";
|
|
8
|
+
import { VersusCard } from "@krizaka/ui/versus-card";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
var match = {
|
|
11
|
+
label: "Krizaka Java 3.1 versus 3.0",
|
|
12
|
+
source: "Measured by JMH and JaCoCo on the tagged builds.",
|
|
13
|
+
left: { name: "3.1", bird: "owl", caption: "The release that reads", stats: [{ label: "Startup", value: 180, max: 400, display: "180 ms" }, { label: "Coverage", value: 91, display: "91 %" }] },
|
|
14
|
+
right: { name: "3.0", bird: "duck", caption: "The release that builds", stats: [{ label: "Startup", value: 240, max: 400, display: "240 ms" }, { label: "Coverage", value: 86, display: "86 %" }] }
|
|
15
|
+
};
|
|
16
|
+
function SiteCahierJavaReleases() {
|
|
17
|
+
return /* @__PURE__ */ jsxs(SiteCahier, { site: "java", name: "Krizaka Java", bird: "owl", hue: 35, nav: [{ href: "/modules", label: "Modules" }, { href: "/guides", label: "Guides" }, { href: "/changelog", label: "Releases", current: true }], footer: { version: "3.1.0" }, children: [
|
|
18
|
+
/* @__PURE__ */ jsx(
|
|
19
|
+
SiteCahierHero,
|
|
20
|
+
{
|
|
21
|
+
eyebrow: "Open source \xB7 JVM",
|
|
22
|
+
title: "Read the release before you upgrade",
|
|
23
|
+
lead: "Two versions, face to face, on figures the build measured.",
|
|
24
|
+
aside: /* @__PURE__ */ jsx(VersusCard, { ...match }),
|
|
25
|
+
doodle: /* @__PURE__ */ jsx(Doodle, { kind: "star", place: "inline" })
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ jsx(Section, { id: "modules", number: "\xA7 1", title: "The modules", margin: true, paper: "lines", children: /* @__PURE__ */ jsx(SpecimenTag, { code: "KJ-01", title: "krizaka-core", status: { label: "stable", tone: "ok" }, fields: [{ label: "reads", value: "settings, secrets" }, { label: "since", value: "1.0" }], children: /* @__PURE__ */ jsx("p", { children: "Typed settings and secrets, read once at startup." }) }) })
|
|
29
|
+
] });
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
SiteCahierJavaReleases as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Doodle } from "@krizaka/ui/doodle";
|
|
2
|
+
import { Section } from "@krizaka/ui/page";
|
|
3
|
+
import { SiteCahier, SiteCahierHero } from "@krizaka/ui/site-cahier";
|
|
4
|
+
import { SpecimenTag } from "@krizaka/ui/specimen-tag";
|
|
5
|
+
import { VersusCard } from "@krizaka/ui/versus-card";
|
|
6
|
+
|
|
7
|
+
// TEMPLATE — Java's home, the owl's: no taped print, the hero is a versus card of two releases, then the modules as tags.
|
|
8
|
+
const match = {
|
|
9
|
+
label: "Krizaka Java 3.1 versus 3.0",
|
|
10
|
+
source: "Measured by JMH and JaCoCo on the tagged builds.",
|
|
11
|
+
left: { name: "3.1", bird: "owl", caption: "The release that reads", stats: [{ label: "Startup", value: 180, max: 400, display: "180 ms" }, { label: "Coverage", value: 91, display: "91 %" }] },
|
|
12
|
+
right: { name: "3.0", bird: "duck", caption: "The release that builds", stats: [{ label: "Startup", value: 240, max: 400, display: "240 ms" }, { label: "Coverage", value: 86, display: "86 %" }] },
|
|
13
|
+
} as const;
|
|
14
|
+
|
|
15
|
+
export default function SiteCahierJavaReleases() {
|
|
16
|
+
return (
|
|
17
|
+
<SiteCahier site="java" name="Krizaka Java" bird="owl" hue={35} nav={[{ href: "/modules", label: "Modules" }, { href: "/guides", label: "Guides" }, { href: "/changelog", label: "Releases", current: true }]} footer={{ version: "3.1.0" }}>
|
|
18
|
+
<SiteCahierHero
|
|
19
|
+
eyebrow="Open source · JVM"
|
|
20
|
+
title="Read the release before you upgrade"
|
|
21
|
+
lead="Two versions, face to face, on figures the build measured."
|
|
22
|
+
aside={<VersusCard {...match} />}
|
|
23
|
+
doodle={<Doodle kind="star" place="inline" />}
|
|
24
|
+
/>
|
|
25
|
+
<Section id="modules" number="§ 1" title="The modules" margin paper="lines">
|
|
26
|
+
<SpecimenTag code="KJ-01" title="krizaka-core" status={{ label: "stable", tone: "ok" }} fields={[{ label: "reads", value: "settings, secrets" }, { label: "since", value: "1.0" }]}>
|
|
27
|
+
<p>Typed settings and secrets, read once at startup.</p>
|
|
28
|
+
</SpecimenTag>
|
|
29
|
+
</Section>
|
|
30
|
+
</SiteCahier>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/site-cahier/motion-lab.tsx
|
|
4
|
+
import { Doodle } from "@krizaka/ui/doodle";
|
|
5
|
+
import { Section } from "@krizaka/ui/page";
|
|
6
|
+
import { SiteCahier, SiteCahierHero } from "@krizaka/ui/site-cahier";
|
|
7
|
+
import { SpeedLines } from "@krizaka/ui/speed-lines";
|
|
8
|
+
import { TapedPhoto } from "@krizaka/ui/taped-photo";
|
|
9
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
function SiteCahierMotionLab() {
|
|
11
|
+
return /* @__PURE__ */ jsxs(SiteCahier, { site: "motion", name: "Krizaka Motion", bird: "flamingo", hue: 335, nav: [{ href: "/primitives", label: "Primitives", current: true }, { href: "/easing", label: "Easing" }], footer: { version: "1.4.0" }, children: [
|
|
12
|
+
/* @__PURE__ */ jsx(
|
|
13
|
+
SiteCahierHero,
|
|
14
|
+
{
|
|
15
|
+
eyebrow: "Open source \xB7 motion lab",
|
|
16
|
+
title: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
17
|
+
"Motion that ",
|
|
18
|
+
/* @__PURE__ */ jsx(Doodle, { kind: "wave", children: "answers" })
|
|
19
|
+
] }),
|
|
20
|
+
lead: "Play every primitive with live knobs, then copy the code.",
|
|
21
|
+
aside: /* @__PURE__ */ jsx(SpeedLines, { kind: "horizontal", count: 26, style: { minHeight: 220, minWidth: 260 }, children: /* @__PURE__ */ jsx("output", { style: { padding: "10px 22px", fontFamily: "var(--kz-font-mono)", background: "var(--kz-surface-1)", border: "1px solid var(--kz-border-default)" }, children: "ease-kz \xB7 200 ms" }) })
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ jsx(Section, { id: "prints", number: "\xA7 1", title: "Kept in the notebook", margin: true, paper: "ruled", children: /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexWrap: "wrap", gap: 32 }, children: [
|
|
25
|
+
/* @__PURE__ */ jsx(TapedPhoto, { tilt: -2, caption: "The arrival of a card", children: /* @__PURE__ */ jsx("div", { role: "img", "aria-label": "A card sliding into place", style: { width: 240, aspectRatio: "4 / 3", background: "var(--kz-surface-0)" } }) }),
|
|
26
|
+
/* @__PURE__ */ jsx(TapedPhoto, { tilt: 2.2, tape: "top", caption: "A number climbing", children: /* @__PURE__ */ jsx("div", { role: "img", "aria-label": "A counter ticking up", style: { width: 240, aspectRatio: "4 / 3", background: "var(--kz-surface-0)" } }) })
|
|
27
|
+
] }) })
|
|
28
|
+
] });
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
SiteCahierMotionLab as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Doodle } from "@krizaka/ui/doodle";
|
|
2
|
+
import { Section } from "@krizaka/ui/page";
|
|
3
|
+
import { SiteCahier, SiteCahierHero } from "@krizaka/ui/site-cahier";
|
|
4
|
+
import { SpeedLines } from "@krizaka/ui/speed-lines";
|
|
5
|
+
import { TapedPhoto } from "@krizaka/ui/taped-photo";
|
|
6
|
+
|
|
7
|
+
// TEMPLATE — the motion lab's home, the flamingo's: the hero is a live demo in speed lines, the prints below lean the other way.
|
|
8
|
+
export default function SiteCahierMotionLab() {
|
|
9
|
+
return (
|
|
10
|
+
<SiteCahier site="motion" name="Krizaka Motion" bird="flamingo" hue={335} nav={[{ href: "/primitives", label: "Primitives", current: true }, { href: "/easing", label: "Easing" }]} footer={{ version: "1.4.0" }}>
|
|
11
|
+
<SiteCahierHero
|
|
12
|
+
eyebrow="Open source · motion lab"
|
|
13
|
+
title={<>Motion that <Doodle kind="wave">answers</Doodle></>}
|
|
14
|
+
lead="Play every primitive with live knobs, then copy the code."
|
|
15
|
+
aside={
|
|
16
|
+
<SpeedLines kind="horizontal" count={26} style={{ minHeight: 220, minWidth: 260 }}>
|
|
17
|
+
<output style={{ padding: "10px 22px", fontFamily: "var(--kz-font-mono)", background: "var(--kz-surface-1)", border: "1px solid var(--kz-border-default)" }}>ease-kz · 200 ms</output>
|
|
18
|
+
</SpeedLines>
|
|
19
|
+
}
|
|
20
|
+
/>
|
|
21
|
+
<Section id="prints" number="§ 1" title="Kept in the notebook" margin paper="ruled">
|
|
22
|
+
<div style={{ display: "flex", flexWrap: "wrap", gap: 32 }}>
|
|
23
|
+
<TapedPhoto tilt={-2} caption="The arrival of a card"><div role="img" aria-label="A card sliding into place" style={{ width: 240, aspectRatio: "4 / 3", background: "var(--kz-surface-0)" }} /></TapedPhoto>
|
|
24
|
+
<TapedPhoto tilt={2.2} tape="top" caption="A number climbing"><div role="img" aria-label="A counter ticking up" style={{ width: 240, aspectRatio: "4 / 3", background: "var(--kz-surface-0)" }} /></TapedPhoto>
|
|
25
|
+
</div>
|
|
26
|
+
</Section>
|
|
27
|
+
</SiteCahier>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/site-cahier/ts-changelog.tsx
|
|
4
|
+
import { ChangelogPage } from "@krizaka/ui/changelog-page";
|
|
5
|
+
import { SiteCahier } from "@krizaka/ui/site-cahier";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
function SiteCahierTsChangelog() {
|
|
8
|
+
return /* @__PURE__ */ jsx(SiteCahier, { site: "ts", name: "Krizaka TypeScript", bird: "pigeon", hue: 200, nav: [{ href: "/guides", label: "Guides" }, { href: "/changelog", label: "Changelog", current: true }], footer: { version: "0.8.0" }, children: /* @__PURE__ */ jsx(
|
|
9
|
+
ChangelogPage,
|
|
10
|
+
{
|
|
11
|
+
eyebrow: "Krizaka TypeScript",
|
|
12
|
+
title: "What changed",
|
|
13
|
+
lead: "Every release, newest first.",
|
|
14
|
+
kindLabels: { added: "Added", changed: "Changed", fixed: "Fixed", removed: "Removed", security: "Security", breaking: "Breaking" },
|
|
15
|
+
logLabel: "Releases",
|
|
16
|
+
entries: [
|
|
17
|
+
{ id: "v0-8-0", date: "2026-10-20", dateLabel: "20 Oct 2026", version: "0.8.0", title: "Typed results", changes: [{ kind: "added", text: "ok() and fail() helpers." }, { kind: "fixed", text: "Narrowing of nested results." }] }
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
) });
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
SiteCahierTsChangelog as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChangelogPage } from "@krizaka/ui/changelog-page";
|
|
2
|
+
import { SiteCahier } from "@krizaka/ui/site-cahier";
|
|
3
|
+
|
|
4
|
+
// TEMPLATE — the TypeScript site's changelog: the shared changelog template, inside the Cahier's frame and the pigeon's bar.
|
|
5
|
+
export default function SiteCahierTsChangelog() {
|
|
6
|
+
return (
|
|
7
|
+
<SiteCahier site="ts" name="Krizaka TypeScript" bird="pigeon" hue={200} nav={[{ href: "/guides", label: "Guides" }, { href: "/changelog", label: "Changelog", current: true }]} footer={{ version: "0.8.0" }}>
|
|
8
|
+
<ChangelogPage
|
|
9
|
+
eyebrow="Krizaka TypeScript"
|
|
10
|
+
title="What changed"
|
|
11
|
+
lead="Every release, newest first."
|
|
12
|
+
kindLabels={{ added: "Added", changed: "Changed", fixed: "Fixed", removed: "Removed", security: "Security", breaking: "Breaking" }}
|
|
13
|
+
logLabel="Releases"
|
|
14
|
+
entries={[
|
|
15
|
+
{ id: "v0-8-0", date: "2026-10-20", dateLabel: "20 Oct 2026", version: "0.8.0", title: "Typed results", changes: [{ kind: "added", text: "ok() and fail() helpers." }, { kind: "fixed", text: "Narrowing of nested results." }] },
|
|
16
|
+
]}
|
|
17
|
+
/>
|
|
18
|
+
</SiteCahier>
|
|
19
|
+
);
|
|
20
|
+
}
|