@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.60.0",
|
|
4
4
|
"description": "The Krizaka front-end platform's components: the primitives (button, card, dialog, toast, menu, field, tabs, chip, switch, slider, command palette, theme, countdown…) on the semantic --kz-* tokens, the animated marks (Krizaka, Orazaka, Orochia, Yasakia, Yororis) and the motion signature — web and /native.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krizaka",
|
|
@@ -185,6 +185,14 @@
|
|
|
185
185
|
"types": "./dist/chip.d.ts",
|
|
186
186
|
"import": "./dist/chip.js"
|
|
187
187
|
},
|
|
188
|
+
"./kind-config-editor": {
|
|
189
|
+
"types": "./dist/kind-config-editor.d.ts",
|
|
190
|
+
"import": "./dist/kind-config-editor.js"
|
|
191
|
+
},
|
|
192
|
+
"./status-chip": {
|
|
193
|
+
"types": "./dist/status-chip.d.ts",
|
|
194
|
+
"import": "./dist/status-chip.js"
|
|
195
|
+
},
|
|
188
196
|
"./chip-link": {
|
|
189
197
|
"types": "./dist/chip-link.d.ts",
|
|
190
198
|
"import": "./dist/chip-link.js"
|
|
@@ -457,6 +465,10 @@
|
|
|
457
465
|
"types": "./dist/slot-picker.d.ts",
|
|
458
466
|
"import": "./dist/slot-picker.js"
|
|
459
467
|
},
|
|
468
|
+
"./wall": {
|
|
469
|
+
"types": "./dist/wall.d.ts",
|
|
470
|
+
"import": "./dist/wall.js"
|
|
471
|
+
},
|
|
460
472
|
"./cover-hero": {
|
|
461
473
|
"types": "./dist/cover-hero.d.ts",
|
|
462
474
|
"import": "./dist/cover-hero.js"
|
|
@@ -529,6 +541,22 @@
|
|
|
529
541
|
"types": "./dist/taped-photo.d.ts",
|
|
530
542
|
"import": "./dist/taped-photo.js"
|
|
531
543
|
},
|
|
544
|
+
"./speed-lines": {
|
|
545
|
+
"types": "./dist/speed-lines.d.ts",
|
|
546
|
+
"import": "./dist/speed-lines.js"
|
|
547
|
+
},
|
|
548
|
+
"./grade-stamp": {
|
|
549
|
+
"types": "./dist/grade-stamp.d.ts",
|
|
550
|
+
"import": "./dist/grade-stamp.js"
|
|
551
|
+
},
|
|
552
|
+
"./versus-card": {
|
|
553
|
+
"types": "./dist/versus-card.d.ts",
|
|
554
|
+
"import": "./dist/versus-card.js"
|
|
555
|
+
},
|
|
556
|
+
"./site-cahier": {
|
|
557
|
+
"types": "./dist/site-cahier.d.ts",
|
|
558
|
+
"import": "./dist/site-cahier.js"
|
|
559
|
+
},
|
|
532
560
|
"./elephant": {
|
|
533
561
|
"types": "./dist/elephant.d.ts",
|
|
534
562
|
"import": "./dist/elephant.js"
|
|
@@ -833,7 +861,7 @@
|
|
|
833
861
|
],
|
|
834
862
|
"peerDependencies": {
|
|
835
863
|
"@krizaka/query": ">=0.2.2",
|
|
836
|
-
"@krizaka/tailwind": ">=3.
|
|
864
|
+
"@krizaka/tailwind": ">=3.60.0",
|
|
837
865
|
"@maplibre/maplibre-react-native": ">=11",
|
|
838
866
|
"@shopify/flash-list": ">=2",
|
|
839
867
|
"expo-camera": ">=16",
|
|
@@ -851,13 +879,13 @@
|
|
|
851
879
|
"devDependencies": {
|
|
852
880
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
853
881
|
"@babel/core": "^7.29.7",
|
|
854
|
-
"@jest/globals": "30.
|
|
882
|
+
"@jest/globals": "30.5.2",
|
|
855
883
|
"@maplibre/maplibre-react-native": "11.5.0",
|
|
856
884
|
"@react-native/babel-preset": "0.86.3",
|
|
857
885
|
"@react-native/jest-preset": "0.86.3",
|
|
858
886
|
"@shopify/flash-list": "2.3.3",
|
|
859
887
|
"@size-limit/preset-small-lib": "^14.2.0",
|
|
860
|
-
"@storybook/react-vite": "10.6.
|
|
888
|
+
"@storybook/react-vite": "10.6.3",
|
|
861
889
|
"@testing-library/dom": "^10.4.0",
|
|
862
890
|
"@testing-library/react": "^16.3.0",
|
|
863
891
|
"@testing-library/react-native": "^14.1.0",
|
|
@@ -866,34 +894,34 @@
|
|
|
866
894
|
"@types/react": "^19.2.0",
|
|
867
895
|
"@types/react-dom": "^19.2.0",
|
|
868
896
|
"axe-core": "^4.14.0",
|
|
869
|
-
"babel-jest": "30.
|
|
897
|
+
"babel-jest": "30.5.2",
|
|
870
898
|
"eslint": "^9.39.0",
|
|
871
899
|
"expect": "30.5.2",
|
|
872
900
|
"expo-camera": "57.0.6",
|
|
873
901
|
"expo-image-picker": "57.0.20",
|
|
874
902
|
"expo-modules-core": "^57.0.21",
|
|
875
903
|
"expo-video": "57.0.5",
|
|
876
|
-
"happy-dom": "^
|
|
877
|
-
"jest": "30.
|
|
878
|
-
"jest-environment-node": "30.
|
|
904
|
+
"happy-dom": "^21.0.4",
|
|
905
|
+
"jest": "30.5.2",
|
|
906
|
+
"jest-environment-node": "30.5.2",
|
|
879
907
|
"maplibre-gl": "6.15.0",
|
|
880
908
|
"pdfjs-dist": "6.4.299",
|
|
881
909
|
"publint": "^0.3.25",
|
|
882
|
-
"react": "^19.
|
|
910
|
+
"react": "^19.3.1",
|
|
883
911
|
"react-docgen-typescript": "^2.4.0",
|
|
884
|
-
"react-dom": "^19.
|
|
912
|
+
"react-dom": "^19.3.1",
|
|
885
913
|
"react-native": "^0.86.3",
|
|
886
|
-
"react-native-svg": "
|
|
887
|
-
"react-native-web": "0.21.
|
|
914
|
+
"react-native-svg": "~15.15.4",
|
|
915
|
+
"react-native-web": "0.21.4",
|
|
888
916
|
"size-limit": "^14.2.0",
|
|
889
|
-
"storybook": "10.6.
|
|
917
|
+
"storybook": "10.6.3",
|
|
890
918
|
"tailwindcss": "^4.3.3",
|
|
891
|
-
"test-renderer": "^1.3.
|
|
892
|
-
"tsup": "^
|
|
919
|
+
"test-renderer": "^1.3.1",
|
|
920
|
+
"tsup": "^9.0.0",
|
|
893
921
|
"typescript": "^5.9.0",
|
|
894
|
-
"vitest": "^
|
|
895
|
-
"@krizaka/
|
|
896
|
-
"@krizaka/
|
|
922
|
+
"vitest": "^5.0.5",
|
|
923
|
+
"@krizaka/config": "0.8.0",
|
|
924
|
+
"@krizaka/query": "0.2.2"
|
|
897
925
|
},
|
|
898
926
|
"engines": {
|
|
899
927
|
"node": ">=22"
|
|
@@ -955,7 +983,7 @@
|
|
|
955
983
|
{
|
|
956
984
|
"name": "./native (bundled into the app by Metro, never downloaded: a regression guard, not a budget)",
|
|
957
985
|
"path": "dist/native.js",
|
|
958
|
-
"limit": "
|
|
986
|
+
"limit": "64.4 kB",
|
|
959
987
|
"gzip": true
|
|
960
988
|
},
|
|
961
989
|
{
|
|
@@ -1007,7 +1035,7 @@
|
|
|
1007
1035
|
{
|
|
1008
1036
|
"name": "./theme",
|
|
1009
1037
|
"path": "dist/theme.js",
|
|
1010
|
-
"limit": "2 kB",
|
|
1038
|
+
"limit": "2.4 kB",
|
|
1011
1039
|
"gzip": true,
|
|
1012
1040
|
"ignore": [
|
|
1013
1041
|
"tailwind-variants",
|
|
@@ -1290,7 +1318,27 @@
|
|
|
1290
1318
|
{
|
|
1291
1319
|
"name": "./chip",
|
|
1292
1320
|
"path": "dist/chip.js",
|
|
1293
|
-
"limit": "
|
|
1321
|
+
"limit": "13 kB",
|
|
1322
|
+
"gzip": true,
|
|
1323
|
+
"ignore": [
|
|
1324
|
+
"tailwind-variants",
|
|
1325
|
+
"clsx"
|
|
1326
|
+
]
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"name": "./kind-config-editor",
|
|
1330
|
+
"path": "dist/kind-config-editor.js",
|
|
1331
|
+
"limit": "21 kB",
|
|
1332
|
+
"gzip": true,
|
|
1333
|
+
"ignore": [
|
|
1334
|
+
"tailwind-variants",
|
|
1335
|
+
"clsx"
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"name": "./status-chip",
|
|
1340
|
+
"path": "dist/status-chip.js",
|
|
1341
|
+
"limit": "32 kB",
|
|
1294
1342
|
"gzip": true,
|
|
1295
1343
|
"ignore": [
|
|
1296
1344
|
"tailwind-variants",
|
|
@@ -1577,7 +1625,7 @@
|
|
|
1577
1625
|
"name": "./data-table: DataTable (TanStack Table v9, the windowing of TanStack Virtual, Radix Checkbox, the pagination)",
|
|
1578
1626
|
"path": "dist/data-table.js",
|
|
1579
1627
|
"import": "{ DataTable }",
|
|
1580
|
-
"limit": "
|
|
1628
|
+
"limit": "48.6 kB",
|
|
1581
1629
|
"gzip": true,
|
|
1582
1630
|
"ignore": [
|
|
1583
1631
|
"tailwind-variants",
|
|
@@ -1588,7 +1636,7 @@
|
|
|
1588
1636
|
"name": "./data-table: the toolbar (FilterBar on Radix DropdownMenu, SearchField, the columns menu, the export)",
|
|
1589
1637
|
"path": "dist/data-table.js",
|
|
1590
1638
|
"import": "{ DataTableFilters, DataTableColumnsMenu, DataTableExport }",
|
|
1591
|
-
"limit": "
|
|
1639
|
+
"limit": "44.2 kB",
|
|
1592
1640
|
"gzip": true,
|
|
1593
1641
|
"ignore": [
|
|
1594
1642
|
"tailwind-variants",
|
|
@@ -1608,7 +1656,7 @@
|
|
|
1608
1656
|
{
|
|
1609
1657
|
"name": "./filter-bar",
|
|
1610
1658
|
"path": "dist/filter-bar.js",
|
|
1611
|
-
"limit": "
|
|
1659
|
+
"limit": "35.4 kB",
|
|
1612
1660
|
"gzip": true,
|
|
1613
1661
|
"ignore": [
|
|
1614
1662
|
"tailwind-variants",
|
|
@@ -1862,7 +1910,17 @@
|
|
|
1862
1910
|
{
|
|
1863
1911
|
"name": "./slot-picker",
|
|
1864
1912
|
"path": "dist/slot-picker.js",
|
|
1865
|
-
"limit": "
|
|
1913
|
+
"limit": "4 kB",
|
|
1914
|
+
"gzip": true,
|
|
1915
|
+
"ignore": [
|
|
1916
|
+
"tailwind-variants",
|
|
1917
|
+
"clsx"
|
|
1918
|
+
]
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "./wall",
|
|
1922
|
+
"path": "dist/wall.js",
|
|
1923
|
+
"limit": "3.5 kB",
|
|
1866
1924
|
"gzip": true,
|
|
1867
1925
|
"ignore": [
|
|
1868
1926
|
"tailwind-variants",
|
|
@@ -1892,7 +1950,7 @@
|
|
|
1892
1950
|
{
|
|
1893
1951
|
"name": "./sticky-action",
|
|
1894
1952
|
"path": "dist/sticky-action.js",
|
|
1895
|
-
"limit": "1 kB",
|
|
1953
|
+
"limit": "1.5 kB",
|
|
1896
1954
|
"gzip": true,
|
|
1897
1955
|
"ignore": [
|
|
1898
1956
|
"tailwind-variants",
|
|
@@ -2139,10 +2197,30 @@
|
|
|
2139
2197
|
"clsx"
|
|
2140
2198
|
]
|
|
2141
2199
|
},
|
|
2200
|
+
{
|
|
2201
|
+
"name": "./signature",
|
|
2202
|
+
"path": "dist/signature.js",
|
|
2203
|
+
"limit": "1.2 kB",
|
|
2204
|
+
"gzip": true,
|
|
2205
|
+
"ignore": [
|
|
2206
|
+
"tailwind-variants",
|
|
2207
|
+
"clsx"
|
|
2208
|
+
]
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"name": "./taped-photo",
|
|
2212
|
+
"path": "dist/taped-photo.js",
|
|
2213
|
+
"limit": "0.6 kB",
|
|
2214
|
+
"gzip": true,
|
|
2215
|
+
"ignore": [
|
|
2216
|
+
"tailwind-variants",
|
|
2217
|
+
"clsx"
|
|
2218
|
+
]
|
|
2219
|
+
},
|
|
2142
2220
|
{
|
|
2143
2221
|
"name": "./doodle",
|
|
2144
2222
|
"path": "dist/doodle.js",
|
|
2145
|
-
"limit": "1.
|
|
2223
|
+
"limit": "1.5 kB",
|
|
2146
2224
|
"gzip": true,
|
|
2147
2225
|
"ignore": [
|
|
2148
2226
|
"tailwind-variants",
|
|
@@ -2150,9 +2228,9 @@
|
|
|
2150
2228
|
]
|
|
2151
2229
|
},
|
|
2152
2230
|
{
|
|
2153
|
-
"name": "./
|
|
2154
|
-
"path": "dist/
|
|
2155
|
-
"limit": "1
|
|
2231
|
+
"name": "./speed-lines",
|
|
2232
|
+
"path": "dist/speed-lines.js",
|
|
2233
|
+
"limit": "1 kB",
|
|
2156
2234
|
"gzip": true,
|
|
2157
2235
|
"ignore": [
|
|
2158
2236
|
"tailwind-variants",
|
|
@@ -2160,9 +2238,29 @@
|
|
|
2160
2238
|
]
|
|
2161
2239
|
},
|
|
2162
2240
|
{
|
|
2163
|
-
"name": "./
|
|
2164
|
-
"path": "dist/
|
|
2165
|
-
"limit": "
|
|
2241
|
+
"name": "./grade-stamp",
|
|
2242
|
+
"path": "dist/grade-stamp.js",
|
|
2243
|
+
"limit": "19.4 kB",
|
|
2244
|
+
"gzip": true,
|
|
2245
|
+
"ignore": [
|
|
2246
|
+
"tailwind-variants",
|
|
2247
|
+
"clsx"
|
|
2248
|
+
]
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "./versus-card",
|
|
2252
|
+
"path": "dist/versus-card.js",
|
|
2253
|
+
"limit": "7 kB",
|
|
2254
|
+
"gzip": true,
|
|
2255
|
+
"ignore": [
|
|
2256
|
+
"tailwind-variants",
|
|
2257
|
+
"clsx"
|
|
2258
|
+
]
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"name": "./site-cahier",
|
|
2262
|
+
"path": "dist/site-cahier.js",
|
|
2263
|
+
"limit": "18 kB",
|
|
2166
2264
|
"gzip": true,
|
|
2167
2265
|
"ignore": [
|
|
2168
2266
|
"tailwind-variants",
|
|
@@ -2280,7 +2378,7 @@
|
|
|
2280
2378
|
{
|
|
2281
2379
|
"name": "./dashboard-layout",
|
|
2282
2380
|
"path": "dist/dashboard-layout.js",
|
|
2283
|
-
"limit": "
|
|
2381
|
+
"limit": "2 kB",
|
|
2284
2382
|
"gzip": true,
|
|
2285
2383
|
"ignore": [
|
|
2286
2384
|
"tailwind-variants",
|
|
@@ -2322,7 +2420,7 @@
|
|
|
2322
2420
|
{
|
|
2323
2421
|
"name": "./detail-layout",
|
|
2324
2422
|
"path": "dist/detail-layout.js",
|
|
2325
|
-
"limit": "
|
|
2423
|
+
"limit": "3 kB",
|
|
2326
2424
|
"gzip": true,
|
|
2327
2425
|
"ignore": [
|
|
2328
2426
|
"tailwind-variants",
|
|
@@ -2539,7 +2637,7 @@
|
|
|
2539
2637
|
{
|
|
2540
2638
|
"name": "./catalogue-page",
|
|
2541
2639
|
"path": "dist/catalogue-page.js",
|
|
2542
|
-
"limit": "
|
|
2640
|
+
"limit": "2.5 kB",
|
|
2543
2641
|
"gzip": true,
|
|
2544
2642
|
"ignore": [
|
|
2545
2643
|
"tailwind-variants",
|
|
@@ -2719,7 +2817,7 @@
|
|
|
2719
2817
|
{
|
|
2720
2818
|
"name": "./tag-selector",
|
|
2721
2819
|
"path": "dist/tag-selector.js",
|
|
2722
|
-
"limit": "
|
|
2820
|
+
"limit": "13.7 kB",
|
|
2723
2821
|
"gzip": true,
|
|
2724
2822
|
"ignore": [
|
|
2725
2823
|
"tailwind-variants",
|
|
@@ -2780,7 +2878,7 @@
|
|
|
2780
2878
|
"name": "./genui: GenUiStream (A2UI v0.9 validator, store, surface, base catalog with DataTable)",
|
|
2781
2879
|
"path": "dist/genui.js",
|
|
2782
2880
|
"import": "{ GenUiStream, baseGenUiCatalog }",
|
|
2783
|
-
"limit": "
|
|
2881
|
+
"limit": "54.3 kB",
|
|
2784
2882
|
"gzip": true,
|
|
2785
2883
|
"ignore": [
|
|
2786
2884
|
"tailwind-variants",
|
|
@@ -2789,12 +2887,13 @@
|
|
|
2789
2887
|
}
|
|
2790
2888
|
],
|
|
2791
2889
|
"dependencies": {
|
|
2890
|
+
"@krizaka/organize": "^0.4.0",
|
|
2792
2891
|
"@protomaps/basemaps": "5.7.2",
|
|
2793
2892
|
"@tanstack/highlight": "1.1.0",
|
|
2794
2893
|
"@tanstack/markdown": "1.0.0",
|
|
2795
2894
|
"@tanstack/react-form": "1.33.5",
|
|
2796
2895
|
"@tanstack/react-table": "9.3.1",
|
|
2797
|
-
"@tanstack/react-virtual": "3.14.
|
|
2896
|
+
"@tanstack/react-virtual": "3.14.22",
|
|
2798
2897
|
"@types/geojson": "7946.0.16",
|
|
2799
2898
|
"clsx": "^2.1.1",
|
|
2800
2899
|
"cmdk": "^1.1.1",
|
|
@@ -2803,9 +2902,9 @@
|
|
|
2803
2902
|
"sonner": "^2.0.8",
|
|
2804
2903
|
"tailwind-variants": "^3.3.1",
|
|
2805
2904
|
"zod": "^4.6.7",
|
|
2806
|
-
"@krizaka/pacer": "^0.1.0",
|
|
2807
2905
|
"@krizaka/intl": "^0.4.0",
|
|
2808
|
-
"@krizaka/tokens": "^3.
|
|
2906
|
+
"@krizaka/tokens": "^3.60.0",
|
|
2907
|
+
"@krizaka/pacer": "^0.1.0"
|
|
2809
2908
|
},
|
|
2810
2909
|
"scripts": {
|
|
2811
2910
|
"build": "node -e \"const fs=require('node:fs');fs.rmSync('dist',{recursive:true,force:true});for(const f of fs.readdirSync('registry/examples',{recursive:true}))if(/\\.(js|d\\.ts)$/.test(f))fs.rmSync('registry/examples/'+f)\" && tsup && node -e \"require('node:fs').copyFileSync('src/motion.css','dist/motion.css');require('node:fs').copyFileSync('src/blocks.css','dist/blocks.css');require('node:fs').copyFileSync('src/story.css','dist/story.css')\" && node scripts/build-registry.mjs",
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"path": "meta.ts",
|
|
183
|
-
"content": "// The documentation of a component, carried by its code: each primitive has a `meta.ts` beside its source\n// (`src/<name>/meta.ts`; a component that exists only in React Native: `src/native/meta/<name>.ts`). Never built into\n// the package: `scripts/build-registry.mjs` reads them into `registry/<name>.json`, which ui.krizaka.com (apps/site) renders as\n// ui.krizaka.com/components/<name>, and `scripts/registry.test.mjs` fails when one is missing or incomplete.\n//\n// Why a typed module and not JSDoc tags: the fields are lists and links (`related`, `whenNotToUse[].use`, examples),\n// which a type checks and a comment does not; the file is plain data (erasable TypeScript), so Node reads it without a\n// compiler, and an editor completes it.\n\n/** Every documented component: the web primitives (one entry of the package each) and the native-only ones. */\nexport type ComponentName =\n | \"notification-preferences\"\n | \"quota-meter\"\n | \"agenda\"\n | \"account-settings\"\n | \"drop-overlay\"\n | \"upload-queue\"\n | \"achievement\"\n | \"anatomy-plate\"\n | \"bird-plate\"\n | \"taped-photo\"\n | \"stuck\"\n | \"doodle\"\n | \"signature\"\n | \"text-style\"\n | \"flock\"\n | \"elephant\"\n | \"footnote\"\n | \"page-index\"\n | \"chapter\"\n | \"specimen-tag\"\n | \"action-bar\"\n | \"action-sheet\"\n | \"activity-feed\"\n | \"alert\"\n | \"app-header\"\n | \"app-shell\"\n | \"argument-card\"\n | \"audio-player\"\n | \"auth-layout\"\n | \"avatar\"\n | \"badge\"\n | \"button\"\n | \"captcha\"\n | \"card\"\n | \"card-grid\"\n | \"catalogue-page\"\n | \"changelog-page\"\n | \"chat\"\n | \"checkbox\"\n | \"chip\"\n | \"chip-link\"\n | \"chip-row\"\n | \"choice-grid\"\n | \"cn\"\n | \"code-block\"\n | \"combobox\"\n | \"comparison-table\"\n | \"command\"\n | \"component-page\"\n | \"confirm-button\"\n | \"contact-page\"\n | \"continue-prompt\"\n | \"countdown\"\n | \"cover-hero\"\n | \"cta-panel\"\n | \"dashboard-layout\"\n | \"data-table\"\n | \"date-picker\"\n | \"decision-list\"\n | \"description-list\"\n | \"detail-layout\"\n | \"dialog\"\n | \"docs-article-page\"\n | \"docs-hub-page\"\n | \"docs-layout\"\n | \"docs-nav\"\n | \"document-viewer\"\n | \"dropdown-menu\"\n | \"empty-state\"\n | \"engine-flow\"\n | \"error-page\"\n | \"fab\"\n | \"field\"\n | \"file-upload\"\n | \"filter-bar\"\n | \"force-update-screen\"\n | \"form\"\n | \"gallery-page\"\n | \"genui\"\n | \"glossary\"\n | \"glossary-term\"\n | \"glow-card\"\n | \"goal-gauge\"\n | \"header\"\n | \"how-it-works-page\"\n | \"image-cropper\"\n | \"image-viewer\"\n | \"iso\"\n | \"kanban\"\n | \"kbd\"\n | \"kpi-explained\"\n | \"landing-page\"\n | \"landscape\"\n | \"legal-page\"\n | \"link-card\"\n | \"list\"\n | \"loader\"\n | \"longform-page\"\n | \"maintenance-screen\"\n | \"map\"\n | \"markdown\"\n | \"meta-row\"\n | \"waveform\"\n | \"marketing-layout\"\n | \"marquee\"\n | \"mascot-quote\"\n | \"mascot-state\"\n | \"mascots\"\n | \"match-dialog\"\n | \"media-capture\"\n | \"media-grid\"\n | \"language-switch\"\n | \"media-gallery\"\n | \"media-picker\"\n | \"meter\"\n | \"nav-bar\"\n | \"number-ticker\"\n | \"onboarding\"\n | \"opening-hours\"\n | \"otp-input\"\n | \"page\"\n | \"page-header\"\n | \"page-hero\"\n | \"pagination\"\n | \"permission-prompt\"\n | \"photo-grid\"\n | \"pointer-light\"\n | \"popover\"\n | \"pricing-page\"\n | \"product-page\"\n | \"profile-card\"\n | \"progress\"\n | \"promise-card\"\n | \"pull-to-refresh\"\n | \"retro-tv\"\n | \"radio-group\"\n | \"router\"\n | \"rail-nav\"\n | \"recipes\"\n | \"screen\"\n | \"scroll-stage\"\n | \"search-field\"\n | \"section-backdrop\"\n | \"segmented\"\n | \"separator\"\n | \"service-card\"\n | \"settings-layout\"\n | \"account-menu\"\n | \"showcase\"\n | \"step-showcase\"\n | \"site-footer\"\n | \"sites\"\n | \"skeleton\"\n | \"skip-link\"\n | \"slider\"\n | \"slot-picker\"\n | \"slot\"\n | \"spinner\"\n | \"sticky-action\"\n | \"splash-handoff\"\n | \"split-view\"\n | \"stage-banner\"\n | \"stat\"\n | \"status-page\"\n | \"step-progress\"\n | \"stepper\"\n | \"swipe-deck\"\n | \"swipeable-row\"\n | \"switch\"\n | \"tab-bar\"\n | \"tabs\"\n | \"tag-input\"\n | \"tag-selector\"\n | \"terminal-replay\"\n | \"theme\"\n | \"toast\"\n | \"toc\"\n | \"tooltip\"\n | \"tree-view\"\n | \"txt\"\n | \"update-prompt\"\n | \"verified-badge\"\n | \"vertical-video\"\n | \"video-player\"\n | \"video-trimmer\"\n | \"virtual\";\n\n/** Where a component exists: `@krizaka/ui/<name>` (web), `@krizaka/ui/native` (React Native), or both. */\nexport type Platform = \"web\" | \"native\" | \"both\";\n\n/**\n * Why a component is not on a platform — a decision, never a silence (the parity matrix of ui.krizaka.com/platforms):\n * - `gap` (✗): it belongs there and is not built yet; `issue` is the issue that tracks it (`krizaka/krizaka-ui#275`);\n * - `n/a`: it is not meant for that platform (a site's page block on a phone, a swipe on a desktop); `use` names the\n * component that answers there, when one does.\n */\nexport type Absence =\n | { readonly status: \"gap\"; readonly issue: string; readonly reason: string; readonly use?: undefined }\n | { readonly status: \"n/a\"; readonly reason: string; readonly use?: ComponentName; readonly issue?: undefined };\n\n/**\n * Desktop is the Orazaka Mac app (Tauri 2: the system WebView renders the web components — ADR-002). `web`: the web\n * component runs there as it is; `desktop`: it also has a desktop form (a window's title bar, a denser layout…), said in\n * its documentation; otherwise the absence and why.\n */\nexport type DesktopSupport = \"web\" | \"desktop\" | Absence;\n\n/**\n * The three platforms of Krizaka UI — web · native (React Native, Expo) · desktop — for one component. The side a\n * component has is `platforms`; the side it lacks says why here: `native` is required for (and only for) a web-only\n * component, `web` for a native-only one; `desktop` always. `scripts/registry.test.mjs` fails on a missing decision.\n */\nexport interface Parity {\n readonly web?: Absence;\n readonly native?: Absence;\n readonly desktop: DesktopSupport;\n}\n\n/**\n * `stable`: its API only changes in a major. `beta`: it may still change in a minor. `deprecated`: no product uses it and\n * no work plans to — it still works, says what replaces it, and goes in the major named by `deprecated.removedIn`.\n */\nexport type Status = \"stable\" | \"beta\" | \"deprecated\";\n\n/** What a deprecated component says (required when `status` is `deprecated`, absent otherwise). */\nexport interface Deprecation {\n /** The version that deprecated it (`3.6.0`). */\n readonly since: string;\n /** The major that removes it (`4.0.0`). */\n readonly removedIn: string;\n /** What replaces it, when a component does. */\n readonly use?: ComponentName;\n /** Why it goes: no product uses it, no planned work needs it. */\n readonly reason: string;\n}\n\n/**\n * The group of the catalogue. `media`: video, sound, camera, files, cropping. `blocks`: the page blocks — the frame,\n * the hero, sections, cards that lead or argue, decisions, code, calls to act — that every page of a site is made of.\n * `layouts`: the shells of whole screens — an application, a dashboard, settings, sign-in, an object, a list and its\n * item, a site's page, a documentation page — each with its screens. `templates`: the page templates — whole pages of a\n * site (a landing, a product, a docs hub, a long read, a changelog, pricing, status, an error…), each a distinct\n * composition of the blocks, words and content as props.\n */\nexport type Category = \"actions\" | \"forms\" | \"navigation\" | \"overlays\" | \"feedback\" | \"data-display\" | \"media\" | \"blocks\" | \"layouts\" | \"templates\" | \"layout\" | \"foundations\";\n\n/** Why a reader needs a template: the seven intents the templates are grouped by (sidebar sub-headings, catalogue filter). */\nexport type TemplatePurpose = \"convince\" | \"explain\" | \"show\" | \"act\" | \"operate\" | \"converse\" | \"recover\";\n\n/** The groups of templates, in reading order: the title, and the one line that says when to come to that group. */\nexport const templatePurposes = {\n convince: { title: \"Convince\", useWhen: \"You come here when a visitor must decide: a landing, a product, a price, a comparison, a proof.\" },\n explain: { title: \"Explain\", useWhen: \"You come here when a reader must understand: how it works, a documentation hub or article, a changelog, a FAQ, a policy.\" },\n show: { title: \"Show\", useWhen: \"You come here when the work itself is the argument: a gallery, a story, a case study, an object and its details.\" },\n act: { title: \"Act\", useWhen: \"You come here when a person must do something once: reach the team, sign in or up, set up, pay.\" },\n operate: { title: \"Operate\", useWhen: \"You come here when a person works every day: a dashboard, a console with a table, settings, an app shell.\" },\n converse: { title: \"Converse\", useWhen: \"You come here when people talk: an inbox, a chat, comments, a notifications centre.\" },\n recover: { title: \"Recover\", useWhen: \"You come here when the way is blocked: an empty list, an error, a missing page, maintenance, a product still being built.\" },\n} as const satisfies Record<TemplatePurpose, { readonly title: string; readonly useWhen: string }>;\n\n/**\n * A named example: the file `registry/examples/<component>/<name>.tsx` (web) or\n * `registry/examples/<component>/native/<name>.tsx` (React Native) — at most 40 lines, imported by the stories and\n * shown (live, with its code) by the documentation.\n */\ninterface ExampleBase {\n /** The file name, kebab-case (`primary`, `icon-button`). */\n readonly name: string;\n /** A short title (`Primary`, `Icon button`). */\n readonly title: string;\n /** One or two sentences: when this variant is the right one. */\n readonly description: string;\n}\n\n/** A plain example, or a template: a whole screen with its intent (`purpose`) and the user goal its layout serves (`why`). */\nexport type Example =\n | (ExampleBase & { readonly template?: false; readonly purpose?: undefined; readonly why?: undefined })\n | (ExampleBase & {\n /**\n * A template: a whole screen of a product composed from the platform (a layout and its blocks, real words, its\n * phone version thought out), copied as a starting point — at most 160 lines, listed on ui.krizaka.com/templates.\n */\n readonly template: true;\n /** The intent that groups it: why you need this block. */\n readonly purpose: TemplatePurpose;\n /** Why this layout: the user goal it serves, in one sentence. */\n readonly why: string;\n });\n\n/** One platform's side of a component. */\nexport interface PlatformDocs {\n /** The names to import (`[\"Button\", \"IconButton\"]`): from `@krizaka/ui/<name>` on the web, `@krizaka/ui/native` in React Native. */\n readonly imports: readonly string[];\n /** The examples, in reading order; the first one is the component's preview. */\n readonly examples: readonly Example[];\n}\n\n/** The React Native side: the same concept, and what differs from the web API. */\nexport interface NativeDocs extends PlatformDocs {\n /**\n * The entry to import from when it is not `@krizaka/ui/native`: a component that needs an Expo module (an optional\n * peer) has its own, `@krizaka/ui/native/<name>`, so an app that does not use it never installs the module.\n */\n readonly entry?: string;\n /** What differs from the web API (`label` instead of children…); empty for a native-only component. */\n readonly differences: readonly string[];\n /** The React Native entry alone is deprecated while the web one stays (ADR-006 §7); a deprecated component says it once, above. */\n readonly deprecated?: Deprecation;\n}\n\nexport interface KeyboardInteraction {\n /** The keys, as written on a keyboard: `Space`, `Enter`, `Arrow keys`, `Esc`, `Tab`. */\n readonly keys: string;\n /** What they do. */\n readonly action: string;\n}\n\nexport interface ComponentMeta {\n /** The display name: `Button`, `Dropdown menu`. */\n readonly title: string;\n /** One sentence: what it is. */\n readonly summary: string;\n readonly status: Status;\n /** Required for, and only for, a `deprecated` component. */\n readonly deprecated?: Deprecation;\n readonly category: Category;\n /** Must match the sides below: `both` ⇔ `web` and `native`. */\n readonly platforms: Platform;\n /** The platforms it is not on, and why; and its desktop form (see `Parity`). */\n readonly parity: Parity;\n /** When to reach for it: concrete situations, one per item. */\n readonly whenToUse: readonly string[];\n /** When not to — and what to use instead (`use`), when another component is the answer. */\n readonly whenNotToUse: readonly { readonly when: string; readonly use?: ComponentName }[];\n /** How to use it well: wording, placement, composition. */\n readonly bestPractices: readonly string[];\n readonly accessibility: {\n /** The keyboard, when it does more than Tab and Enter. */\n readonly keyboard: readonly KeyboardInteraction[];\n /** Roles, names and announcements: what the component does, what the app must provide. */\n readonly notes: readonly string[];\n };\n /** The components a reader of this page should know about. */\n readonly related: readonly ComponentName[];\n readonly web?: PlatformDocs;\n readonly native?: NativeDocs;\n}\n"
|
|
183
|
+
"content": "// The documentation of a component, carried by its code: each primitive has a `meta.ts` beside its source\n// (`src/<name>/meta.ts`; a component that exists only in React Native: `src/native/meta/<name>.ts`). Never built into\n// the package: `scripts/build-registry.mjs` reads them into `registry/<name>.json`, which ui.krizaka.com (apps/site) renders as\n// ui.krizaka.com/components/<name>, and `scripts/registry.test.mjs` fails when one is missing or incomplete.\n//\n// Why a typed module and not JSDoc tags: the fields are lists and links (`related`, `whenNotToUse[].use`, examples),\n// which a type checks and a comment does not; the file is plain data (erasable TypeScript), so Node reads it without a\n// compiler, and an editor completes it.\n\n/** Every documented component: the web primitives (one entry of the package each) and the native-only ones. */\nexport type ComponentName =\n | \"notification-preferences\"\n | \"quota-meter\"\n | \"status-chip\"\n | \"kind-config-editor\"\n | \"agenda\"\n | \"account-settings\"\n | \"drop-overlay\"\n | \"upload-queue\"\n | \"achievement\"\n | \"anatomy-plate\"\n | \"bird-plate\"\n | \"taped-photo\"\n | \"stuck\"\n | \"doodle\"\n | \"signature\"\n | \"grade-stamp\"\n | \"versus-card\"\n | \"speed-lines\"\n | \"site-cahier\"\n | \"text-style\"\n | \"flock\"\n | \"elephant\"\n | \"footnote\"\n | \"page-index\"\n | \"chapter\"\n | \"specimen-tag\"\n | \"action-bar\"\n | \"action-sheet\"\n | \"activity-feed\"\n | \"alert\"\n | \"app-header\"\n | \"app-shell\"\n | \"argument-card\"\n | \"audio-player\"\n | \"auth-layout\"\n | \"avatar\"\n | \"badge\"\n | \"button\"\n | \"captcha\"\n | \"card\"\n | \"card-grid\"\n | \"catalogue-page\"\n | \"changelog-page\"\n | \"chat\"\n | \"checkbox\"\n | \"chip\"\n | \"chip-link\"\n | \"chip-row\"\n | \"choice-grid\"\n | \"cn\"\n | \"code-block\"\n | \"combobox\"\n | \"comparison-table\"\n | \"command\"\n | \"component-page\"\n | \"confirm-button\"\n | \"contact-page\"\n | \"continue-prompt\"\n | \"countdown\"\n | \"cover-hero\"\n | \"cta-panel\"\n | \"dashboard-layout\"\n | \"data-table\"\n | \"date-picker\"\n | \"decision-list\"\n | \"description-list\"\n | \"detail-layout\"\n | \"dialog\"\n | \"docs-article-page\"\n | \"docs-hub-page\"\n | \"docs-layout\"\n | \"docs-nav\"\n | \"document-viewer\"\n | \"dropdown-menu\"\n | \"empty-state\"\n | \"engine-flow\"\n | \"error-page\"\n | \"fab\"\n | \"field\"\n | \"file-upload\"\n | \"filter-bar\"\n | \"force-update-screen\"\n | \"form\"\n | \"gallery-page\"\n | \"genui\"\n | \"glossary\"\n | \"glossary-term\"\n | \"glow-card\"\n | \"goal-gauge\"\n | \"header\"\n | \"how-it-works-page\"\n | \"image-cropper\"\n | \"image-viewer\"\n | \"iso\"\n | \"kanban\"\n | \"kbd\"\n | \"kpi-explained\"\n | \"landing-page\"\n | \"landscape\"\n | \"legal-page\"\n | \"link-card\"\n | \"list\"\n | \"loader\"\n | \"longform-page\"\n | \"maintenance-screen\"\n | \"map\"\n | \"markdown\"\n | \"meta-row\"\n | \"waveform\"\n | \"marketing-layout\"\n | \"marquee\"\n | \"mascot-quote\"\n | \"mascot-state\"\n | \"mascots\"\n | \"match-dialog\"\n | \"media-capture\"\n | \"media-grid\"\n | \"language-switch\"\n | \"media-gallery\"\n | \"media-picker\"\n | \"meter\"\n | \"nav-bar\"\n | \"number-ticker\"\n | \"onboarding\"\n | \"opening-hours\"\n | \"otp-input\"\n | \"page\"\n | \"page-header\"\n | \"page-hero\"\n | \"pagination\"\n | \"permission-prompt\"\n | \"photo-grid\"\n | \"pointer-light\"\n | \"popover\"\n | \"pricing-page\"\n | \"product-page\"\n | \"profile-card\"\n | \"progress\"\n | \"promise-card\"\n | \"pull-to-refresh\"\n | \"retro-tv\"\n | \"radio-group\"\n | \"router\"\n | \"rail-nav\"\n | \"recipes\"\n | \"screen\"\n | \"scroll-stage\"\n | \"search-field\"\n | \"section-backdrop\"\n | \"segmented\"\n | \"separator\"\n | \"service-card\"\n | \"settings-layout\"\n | \"account-menu\"\n | \"showcase\"\n | \"step-showcase\"\n | \"site-footer\"\n | \"sites\"\n | \"skeleton\"\n | \"skip-link\"\n | \"slider\"\n | \"slot-picker\"\n | \"slot\"\n | \"spinner\"\n | \"sticky-action\"\n | \"splash-handoff\"\n | \"split-view\"\n | \"stage-banner\"\n | \"stat\"\n | \"status-page\"\n | \"step-progress\"\n | \"stepper\"\n | \"swipe-deck\"\n | \"swipeable-row\"\n | \"switch\"\n | \"tab-bar\"\n | \"tabs\"\n | \"tag-input\"\n | \"tag-selector\"\n | \"terminal-replay\"\n | \"theme\"\n | \"toast\"\n | \"toc\"\n | \"tooltip\"\n | \"tree-view\"\n | \"txt\"\n | \"update-prompt\"\n | \"verified-badge\"\n | \"vertical-video\"\n | \"video-player\"\n | \"video-trimmer\"\n | \"virtual\"\n | \"wall\";\n\n/** Where a component exists: `@krizaka/ui/<name>` (web), `@krizaka/ui/native` (React Native), or both. */\nexport type Platform = \"web\" | \"native\" | \"both\";\n\n/**\n * Why a component is not on a platform — a decision, never a silence (the parity matrix of ui.krizaka.com/platforms):\n * - `gap` (✗): it belongs there and is not built yet; `issue` is the issue that tracks it (`krizaka/krizaka-ui#275`);\n * - `n/a`: it is not meant for that platform (a site's page block on a phone, a swipe on a desktop); `use` names the\n * component that answers there, when one does.\n */\nexport type Absence =\n | { readonly status: \"gap\"; readonly issue: string; readonly reason: string; readonly use?: undefined }\n | { readonly status: \"n/a\"; readonly reason: string; readonly use?: ComponentName; readonly issue?: undefined };\n\n/**\n * Desktop is the Orazaka Mac app (Tauri 2: the system WebView renders the web components — ADR-002). `web`: the web\n * component runs there as it is; `desktop`: it also has a desktop form (a window's title bar, a denser layout…), said in\n * its documentation; otherwise the absence and why.\n */\nexport type DesktopSupport = \"web\" | \"desktop\" | Absence;\n\n/**\n * The three platforms of Krizaka UI — web · native (React Native, Expo) · desktop — for one component. The side a\n * component has is `platforms`; the side it lacks says why here: `native` is required for (and only for) a web-only\n * component, `web` for a native-only one; `desktop` always. `scripts/registry.test.mjs` fails on a missing decision.\n */\nexport interface Parity {\n readonly web?: Absence;\n readonly native?: Absence;\n readonly desktop: DesktopSupport;\n}\n\n/**\n * `stable`: its API only changes in a major. `beta`: it may still change in a minor. `deprecated`: no product uses it and\n * no work plans to — it still works, says what replaces it, and goes in the major named by `deprecated.removedIn`.\n */\nexport type Status = \"stable\" | \"beta\" | \"deprecated\";\n\n/** What a deprecated component says (required when `status` is `deprecated`, absent otherwise). */\nexport interface Deprecation {\n /** The version that deprecated it (`3.6.0`). */\n readonly since: string;\n /** The major that removes it (`4.0.0`). */\n readonly removedIn: string;\n /** What replaces it, when a component does. */\n readonly use?: ComponentName;\n /** Why it goes: no product uses it, no planned work needs it. */\n readonly reason: string;\n}\n\n/**\n * The group of the catalogue. `media`: video, sound, camera, files, cropping. `blocks`: the page blocks — the frame,\n * the hero, sections, cards that lead or argue, decisions, code, calls to act — that every page of a site is made of.\n * `layouts`: the shells of whole screens — an application, a dashboard, settings, sign-in, an object, a list and its\n * item, a site's page, a documentation page — each with its screens. `templates`: the page templates — whole pages of a\n * site (a landing, a product, a docs hub, a long read, a changelog, pricing, status, an error…), each a distinct\n * composition of the blocks, words and content as props.\n */\nexport type Category = \"actions\" | \"forms\" | \"navigation\" | \"overlays\" | \"feedback\" | \"data-display\" | \"media\" | \"blocks\" | \"layouts\" | \"templates\" | \"layout\" | \"foundations\";\n\n/** Why a reader needs a template: the seven intents the templates are grouped by (sidebar sub-headings, catalogue filter). */\nexport type TemplatePurpose = \"convince\" | \"explain\" | \"show\" | \"act\" | \"operate\" | \"converse\" | \"recover\";\n\n/** The groups of templates, in reading order: the title, and the one line that says when to come to that group. */\nexport const templatePurposes = {\n convince: { title: \"Convince\", useWhen: \"You come here when a visitor must decide: a landing, a product, a price, a comparison, a proof.\" },\n explain: { title: \"Explain\", useWhen: \"You come here when a reader must understand: how it works, a documentation hub or article, a changelog, a FAQ, a policy.\" },\n show: { title: \"Show\", useWhen: \"You come here when the work itself is the argument: a gallery, a story, a case study, an object and its details.\" },\n act: { title: \"Act\", useWhen: \"You come here when a person must do something once: reach the team, sign in or up, set up, pay.\" },\n operate: { title: \"Operate\", useWhen: \"You come here when a person works every day: a dashboard, a console with a table, settings, an app shell.\" },\n converse: { title: \"Converse\", useWhen: \"You come here when people talk: an inbox, a chat, comments, a notifications centre.\" },\n recover: { title: \"Recover\", useWhen: \"You come here when the way is blocked: an empty list, an error, a missing page, maintenance, a product still being built.\" },\n} as const satisfies Record<TemplatePurpose, { readonly title: string; readonly useWhen: string }>;\n\n/**\n * A named example: the file `registry/examples/<component>/<name>.tsx` (web) or\n * `registry/examples/<component>/native/<name>.tsx` (React Native) — at most 40 lines, imported by the stories and\n * shown (live, with its code) by the documentation.\n */\ninterface ExampleBase {\n /** The file name, kebab-case (`primary`, `icon-button`). */\n readonly name: string;\n /** A short title (`Primary`, `Icon button`). */\n readonly title: string;\n /** One or two sentences: when this variant is the right one. */\n readonly description: string;\n}\n\n/** A plain example, or a template: a whole screen with its intent (`purpose`) and the user goal its layout serves (`why`). */\nexport type Example =\n | (ExampleBase & { readonly template?: false; readonly purpose?: undefined; readonly why?: undefined })\n | (ExampleBase & {\n /**\n * A template: a whole screen of a product composed from the platform (a layout and its blocks, real words, its\n * phone version thought out), copied as a starting point — at most 160 lines, listed on ui.krizaka.com/templates.\n */\n readonly template: true;\n /** The intent that groups it: why you need this block. */\n readonly purpose: TemplatePurpose;\n /** Why this layout: the user goal it serves, in one sentence. */\n readonly why: string;\n });\n\n/** One platform's side of a component. */\nexport interface PlatformDocs {\n /** The names to import (`[\"Button\", \"IconButton\"]`): from `@krizaka/ui/<name>` on the web, `@krizaka/ui/native` in React Native. */\n readonly imports: readonly string[];\n /** The examples, in reading order; the first one is the component's preview. */\n readonly examples: readonly Example[];\n}\n\n/** The React Native side: the same concept, and what differs from the web API. */\nexport interface NativeDocs extends PlatformDocs {\n /**\n * The entry to import from when it is not `@krizaka/ui/native`: a component that needs an Expo module (an optional\n * peer) has its own, `@krizaka/ui/native/<name>`, so an app that does not use it never installs the module.\n */\n readonly entry?: string;\n /** What differs from the web API (`label` instead of children…); empty for a native-only component. */\n readonly differences: readonly string[];\n /** The React Native entry alone is deprecated while the web one stays (ADR-006 §7); a deprecated component says it once, above. */\n readonly deprecated?: Deprecation;\n}\n\nexport interface KeyboardInteraction {\n /** The keys, as written on a keyboard: `Space`, `Enter`, `Arrow keys`, `Esc`, `Tab`. */\n readonly keys: string;\n /** What they do. */\n readonly action: string;\n}\n\nexport interface ComponentMeta {\n /** The display name: `Button`, `Dropdown menu`. */\n readonly title: string;\n /** One sentence: what it is. */\n readonly summary: string;\n readonly status: Status;\n /** Required for, and only for, a `deprecated` component. */\n readonly deprecated?: Deprecation;\n readonly category: Category;\n /** Must match the sides below: `both` ⇔ `web` and `native`. */\n readonly platforms: Platform;\n /** The platforms it is not on, and why; and its desktop form (see `Parity`). */\n readonly parity: Parity;\n /** When to reach for it: concrete situations, one per item. */\n readonly whenToUse: readonly string[];\n /** When not to — and what to use instead (`use`), when another component is the answer. */\n readonly whenNotToUse: readonly { readonly when: string; readonly use?: ComponentName }[];\n /** How to use it well: wording, placement, composition. */\n readonly bestPractices: readonly string[];\n readonly accessibility: {\n /** The keyboard, when it does more than Tab and Enter. */\n readonly keyboard: readonly KeyboardInteraction[];\n /** Roles, names and announcements: what the component does, what the app must provide. */\n readonly notes: readonly string[];\n };\n /** The components a reader of this page should know about. */\n readonly related: readonly ComponentName[];\n readonly web?: PlatformDocs;\n readonly native?: NativeDocs;\n}\n"
|
|
184
184
|
}
|
|
185
185
|
],
|
|
186
186
|
"dependencies": [],
|