@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,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/chip/native/marker-picker.tsx
|
|
4
|
+
import { MarkerPicker, TagChip } from "@krizaka/ui/native";
|
|
5
|
+
import { useState } from "react";
|
|
6
|
+
import { View } from "react-native";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
var NAMES = { blue: "Blue", green: "Green", amber: "Amber", red: "Red", violet: "Violet", gray: "Gray" };
|
|
9
|
+
function NativeChipMarkerPicker() {
|
|
10
|
+
const [marker, setMarker] = useState("violet");
|
|
11
|
+
return /* @__PURE__ */ jsxs(View, { style: { gap: 12, alignItems: "flex-start" }, children: [
|
|
12
|
+
/* @__PURE__ */ jsx(TagChip, { marker, children: "Gift cards" }),
|
|
13
|
+
/* @__PURE__ */ jsx(MarkerPicker, { label: "Colour of the tag Gift cards", names: NAMES, value: marker, onValueChange: setMarker })
|
|
14
|
+
] });
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
NativeChipMarkerPicker as default
|
|
18
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Marker, MarkerPicker, TagChip } from "@krizaka/ui/native";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
|
|
5
|
+
const NAMES: Record<Marker, string> = { blue: "Blue", green: "Green", amber: "Amber", red: "Red", violet: "Violet", gray: "Gray" };
|
|
6
|
+
|
|
7
|
+
// Recolour a tag from the closed palette of six.
|
|
8
|
+
export default function NativeChipMarkerPicker() {
|
|
9
|
+
const [marker, setMarker] = useState<Marker>("violet");
|
|
10
|
+
return (
|
|
11
|
+
<View style={{ gap: 12, alignItems: "flex-start" }}>
|
|
12
|
+
<TagChip marker={marker}>Gift cards</TagChip>
|
|
13
|
+
<MarkerPicker label="Colour of the tag Gift cards" names={NAMES} value={marker} onValueChange={setMarker} />
|
|
14
|
+
</View>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/chip/native/tags.tsx
|
|
4
|
+
import { Chip, TagChip } from "@krizaka/ui/native";
|
|
5
|
+
import { useState } from "react";
|
|
6
|
+
import { View } from "react-native";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
function NativeChipTags() {
|
|
9
|
+
const [filter, setFilter] = useState(["regular"]);
|
|
10
|
+
return /* @__PURE__ */ jsxs(View, { style: { gap: 16, width: 340 }, children: [
|
|
11
|
+
/* @__PURE__ */ jsxs(Chip.Group, { type: "multiple", "aria-label": "Filter clients by tag", value: filter, onValueChange: setFilter, children: [
|
|
12
|
+
/* @__PURE__ */ jsx(TagChip, { value: "regular", marker: "blue", children: "Regular" }),
|
|
13
|
+
/* @__PURE__ */ jsx(TagChip, { value: "to-follow", marker: "amber", children: "To follow up" }),
|
|
14
|
+
/* @__PURE__ */ jsx(TagChip, { value: "late", marker: "red", children: "Late payer" })
|
|
15
|
+
] }),
|
|
16
|
+
/* @__PURE__ */ jsx(View, { style: { flexDirection: "row", gap: 8 }, children: /* @__PURE__ */ jsx(TagChip, { marker: "green", shape: "ribbon", removable: true, removeLabel: "Remove the tag Pick-up", onRemove: () => {
|
|
17
|
+
}, children: "Pick-up" }) })
|
|
18
|
+
] });
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
NativeChipTags as default
|
|
22
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Chip, TagChip } from "@krizaka/ui/native";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
|
|
5
|
+
// A client's tags (a fictitious bike workshop): the marker beside the name, a dot or a ribbon.
|
|
6
|
+
export default function NativeChipTags() {
|
|
7
|
+
const [filter, setFilter] = useState(["regular"]);
|
|
8
|
+
return (
|
|
9
|
+
<View style={{ gap: 16, width: 340 }}>
|
|
10
|
+
<Chip.Group type="multiple" aria-label="Filter clients by tag" value={filter} onValueChange={setFilter}>
|
|
11
|
+
<TagChip value="regular" marker="blue">Regular</TagChip>
|
|
12
|
+
<TagChip value="to-follow" marker="amber">To follow up</TagChip>
|
|
13
|
+
<TagChip value="late" marker="red">Late payer</TagChip>
|
|
14
|
+
</Chip.Group>
|
|
15
|
+
<View style={{ flexDirection: "row", gap: 8 }}>
|
|
16
|
+
<TagChip marker="green" shape="ribbon" removable removeLabel="Remove the tag Pick-up" onRemove={() => {}}>Pick-up</TagChip>
|
|
17
|
+
</View>
|
|
18
|
+
</View>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/chip/tags.tsx
|
|
4
|
+
import { Chip, TagChip } from "@krizaka/ui/chip";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
function ChipTags() {
|
|
8
|
+
const [filter, setFilter] = React.useState(["regular"]);
|
|
9
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
10
|
+
/* @__PURE__ */ jsxs(Chip.Group, { type: "multiple", label: "Filter clients by tag", value: filter, onValueChange: setFilter, children: [
|
|
11
|
+
/* @__PURE__ */ jsx(TagChip, { value: "regular", marker: "blue", children: "Regular" }),
|
|
12
|
+
/* @__PURE__ */ jsx(TagChip, { value: "to-follow", marker: "amber", children: "To follow up" }),
|
|
13
|
+
/* @__PURE__ */ jsx(TagChip, { value: "vip", marker: "violet", children: "Gift cards" }),
|
|
14
|
+
/* @__PURE__ */ jsx(TagChip, { value: "late", marker: "red", children: "Late payer" })
|
|
15
|
+
] }),
|
|
16
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2", children: [
|
|
17
|
+
/* @__PURE__ */ jsx(TagChip, { marker: "green", shape: "ribbon", removable: true, removeLabel: "Remove the tag Pick-up", onRemove: () => {
|
|
18
|
+
}, children: "Pick-up" }),
|
|
19
|
+
/* @__PURE__ */ jsx(TagChip, { marker: "gray", shape: "ribbon", removable: true, removeLabel: "Remove the tag Winter storage", onRemove: () => {
|
|
20
|
+
}, children: "Winter storage" })
|
|
21
|
+
] })
|
|
22
|
+
] });
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
ChipTags as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { Chip, TagChip } from "@krizaka/ui/chip";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
|
|
6
|
+
// A client's tags (a fictitious bike workshop): the marker sits beside the name, in a dot or in a ribbon; the name says it all.
|
|
7
|
+
export default function ChipTags() {
|
|
8
|
+
const [filter, setFilter] = React.useState(["regular"]);
|
|
9
|
+
return (
|
|
10
|
+
<div className="flex flex-col gap-4">
|
|
11
|
+
<Chip.Group type="multiple" label="Filter clients by tag" value={filter} onValueChange={setFilter}>
|
|
12
|
+
<TagChip value="regular" marker="blue">Regular</TagChip>
|
|
13
|
+
<TagChip value="to-follow" marker="amber">To follow up</TagChip>
|
|
14
|
+
<TagChip value="vip" marker="violet">Gift cards</TagChip>
|
|
15
|
+
<TagChip value="late" marker="red">Late payer</TagChip>
|
|
16
|
+
</Chip.Group>
|
|
17
|
+
<div className="flex flex-wrap gap-2">
|
|
18
|
+
<TagChip marker="green" shape="ribbon" removable removeLabel="Remove the tag Pick-up" onRemove={() => {}}>Pick-up</TagChip>
|
|
19
|
+
<TagChip marker="gray" shape="ribbon" removable removeLabel="Remove the tag Winter storage" onRemove={() => {}}>Winter storage</TagChip>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/dashboard-layout/today.tsx
|
|
4
|
+
import { Badge } from "@krizaka/ui/badge";
|
|
5
|
+
import { Button } from "@krizaka/ui/button";
|
|
6
|
+
import { DashboardLayout, Widget } from "@krizaka/ui/dashboard-layout";
|
|
7
|
+
import { Stat } from "@krizaka/ui/stat";
|
|
8
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
var link = "font-semibold text-fg-accent underline underline-offset-2";
|
|
10
|
+
function DashboardLayoutToday() {
|
|
11
|
+
return /* @__PURE__ */ jsx("div", { className: "brand-akinaza w-full", children: /* @__PURE__ */ jsxs(
|
|
12
|
+
DashboardLayout,
|
|
13
|
+
{
|
|
14
|
+
title: "Good morning, Eric",
|
|
15
|
+
date: "Monday, October 26",
|
|
16
|
+
description: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
17
|
+
/* @__PURE__ */ jsx("a", { className: link, href: "#unpaid", children: "2 invoices" }),
|
|
18
|
+
" are waiting for payment and ",
|
|
19
|
+
/* @__PURE__ */ jsx("a", { className: link, href: "#visits", children: "3 visits" }),
|
|
20
|
+
" are planned today."
|
|
21
|
+
] }),
|
|
22
|
+
actions: /* @__PURE__ */ jsx(Button, { size: "sm", variant: "primary", children: "New invoice" }),
|
|
23
|
+
quickActions: [
|
|
24
|
+
{ id: "invoice", label: "New invoice", hint: "From a visit or a quote", href: "#invoice" },
|
|
25
|
+
{ id: "client", label: "New client", hint: "Name and a contact", href: "#client" },
|
|
26
|
+
{ id: "visit", label: "Plan a visit", hint: "Pick a time", href: "#visit" },
|
|
27
|
+
{ id: "expense", label: "Add an expense", hint: "A photo is enough", href: "#expense" }
|
|
28
|
+
],
|
|
29
|
+
quickActionsLabel: "Quick access",
|
|
30
|
+
side: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
31
|
+
/* @__PURE__ */ jsx(Widget, { title: "This month", level: 3, description: "October 1 \u2013 26", children: /* @__PURE__ */ jsx(Stat, { label: "Invoiced", value: "$4,280", trend: "up", trendLabel: "+12 %" }) }),
|
|
32
|
+
/* @__PURE__ */ jsx(Widget, { title: "Next steps", level: 3, children: /* @__PURE__ */ jsxs("ul", { className: "flex list-none flex-col gap-2 p-0 text-sm", children: [
|
|
33
|
+
/* @__PURE__ */ jsx("li", { children: "Send the Gagnon quote" }),
|
|
34
|
+
/* @__PURE__ */ jsx("li", { children: "Call Mme Roy about her invoice" })
|
|
35
|
+
] }) }),
|
|
36
|
+
/* @__PURE__ */ jsx(Widget, { title: "Notes", level: 3, children: /* @__PURE__ */ jsx("p", { className: "m-0 text-sm text-fg-secondary", children: "Tax instalment is due on the 15th." }) })
|
|
37
|
+
] }),
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ jsx(Widget, { title: "Waiting for payment", span: 2, action: /* @__PURE__ */ jsx(Badge, { tone: "warning", children: "2" }), children: /* @__PURE__ */ jsxs("ul", { className: "flex list-none flex-col gap-2 p-0 text-sm", children: [
|
|
40
|
+
/* @__PURE__ */ jsx("li", { children: "Gagnon \u2014 $640, 9 days late" }),
|
|
41
|
+
/* @__PURE__ */ jsx("li", { children: "Roy \u2014 $215, due Friday" })
|
|
42
|
+
] }) }),
|
|
43
|
+
/* @__PURE__ */ jsx(Widget, { title: "Today", span: 2, children: /* @__PURE__ */ jsxs("ul", { className: "flex list-none flex-col gap-2 p-0 text-sm", children: [
|
|
44
|
+
/* @__PURE__ */ jsx("li", { children: "9:00 \u2014 Lavoie, kitchen taps" }),
|
|
45
|
+
/* @__PURE__ */ jsx("li", { children: "11:30 \u2014 Roy, quote visit" }),
|
|
46
|
+
/* @__PURE__ */ jsx("li", { children: "2:00 \u2014 Gagnon, follow-up" })
|
|
47
|
+
] }) })
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
) });
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
DashboardLayoutToday as default
|
|
54
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Badge } from "@krizaka/ui/badge";
|
|
2
|
+
import { Button } from "@krizaka/ui/button";
|
|
3
|
+
import { DashboardLayout, Widget } from "@krizaka/ui/dashboard-layout";
|
|
4
|
+
import { Stat } from "@krizaka/ui/stat";
|
|
5
|
+
|
|
6
|
+
const link = "font-semibold text-fg-accent underline underline-offset-2";
|
|
7
|
+
|
|
8
|
+
// TEMPLATE — a small service shop's morning (Atelier Eric, a fictitious bookkeeper): the date on the right of the heading, a lead
|
|
9
|
+
// sentence whose figures are links, four quick-access tiles, the widgets, and the side column (the period, what to do next, notes).
|
|
10
|
+
// On a phone the date goes under the title, the tiles are two by two and the side column comes last.
|
|
11
|
+
export default function DashboardLayoutToday() {
|
|
12
|
+
return (
|
|
13
|
+
<div className="brand-akinaza w-full">
|
|
14
|
+
<DashboardLayout
|
|
15
|
+
title="Good morning, Eric"
|
|
16
|
+
date="Monday, October 26"
|
|
17
|
+
description={
|
|
18
|
+
<>
|
|
19
|
+
<a className={link} href="#unpaid">2 invoices</a> are waiting for payment and <a className={link} href="#visits">3 visits</a> are planned today.
|
|
20
|
+
</>
|
|
21
|
+
}
|
|
22
|
+
actions={<Button size="sm" variant="primary">New invoice</Button>}
|
|
23
|
+
quickActions={[
|
|
24
|
+
{ id: "invoice", label: "New invoice", hint: "From a visit or a quote", href: "#invoice" },
|
|
25
|
+
{ id: "client", label: "New client", hint: "Name and a contact", href: "#client" },
|
|
26
|
+
{ id: "visit", label: "Plan a visit", hint: "Pick a time", href: "#visit" },
|
|
27
|
+
{ id: "expense", label: "Add an expense", hint: "A photo is enough", href: "#expense" },
|
|
28
|
+
]}
|
|
29
|
+
quickActionsLabel="Quick access"
|
|
30
|
+
side={
|
|
31
|
+
<>
|
|
32
|
+
<Widget title="This month" level={3} description="October 1 – 26">
|
|
33
|
+
<Stat label="Invoiced" value="$4,280" trend="up" trendLabel="+12 %" />
|
|
34
|
+
</Widget>
|
|
35
|
+
<Widget title="Next steps" level={3}>
|
|
36
|
+
<ul className="flex list-none flex-col gap-2 p-0 text-sm">
|
|
37
|
+
<li>Send the Gagnon quote</li>
|
|
38
|
+
<li>Call Mme Roy about her invoice</li>
|
|
39
|
+
</ul>
|
|
40
|
+
</Widget>
|
|
41
|
+
<Widget title="Notes" level={3}>
|
|
42
|
+
<p className="m-0 text-sm text-fg-secondary">Tax instalment is due on the 15th.</p>
|
|
43
|
+
</Widget>
|
|
44
|
+
</>
|
|
45
|
+
}
|
|
46
|
+
>
|
|
47
|
+
<Widget title="Waiting for payment" span={2} action={<Badge tone="warning">2</Badge>}>
|
|
48
|
+
<ul className="flex list-none flex-col gap-2 p-0 text-sm">
|
|
49
|
+
<li>Gagnon — $640, 9 days late</li>
|
|
50
|
+
<li>Roy — $215, due Friday</li>
|
|
51
|
+
</ul>
|
|
52
|
+
</Widget>
|
|
53
|
+
<Widget title="Today" span={2}>
|
|
54
|
+
<ul className="flex list-none flex-col gap-2 p-0 text-sm">
|
|
55
|
+
<li>9:00 — Lavoie, kitchen taps</li>
|
|
56
|
+
<li>11:30 — Roy, quote visit</li>
|
|
57
|
+
<li>2:00 — Gagnon, follow-up</li>
|
|
58
|
+
</ul>
|
|
59
|
+
</Widget>
|
|
60
|
+
</DashboardLayout>
|
|
61
|
+
</div>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/data-table/bulk.tsx
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { TagChip } from "@krizaka/ui/chip";
|
|
6
|
+
import { DataTable } from "@krizaka/ui/data-table";
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
var clients = [
|
|
10
|
+
{ id: "c1", name: "Eric Tremblay", bike: "Gravel \xB7 yearly service", tag: "blue" },
|
|
11
|
+
{ id: "c2", name: "Demo client", bike: "City bike \xB7 new tyres", tag: "amber" },
|
|
12
|
+
{ id: "c3", name: "Sample client", bike: "Cargo bike \xB7 brakes", tag: "violet" }
|
|
13
|
+
];
|
|
14
|
+
var names = { blue: "Regular", amber: "To follow up", violet: "Gift cards" };
|
|
15
|
+
var columns = [
|
|
16
|
+
{ id: "name", header: "Client", type: "title", subtitle: (c) => c.bike },
|
|
17
|
+
{ id: "tag", header: "Tag", cell: (c) => /* @__PURE__ */ jsx(TagChip, { marker: c.tag, children: names[c.tag] }) }
|
|
18
|
+
];
|
|
19
|
+
function DataTableBulk() {
|
|
20
|
+
const [result, setResult] = React.useState("");
|
|
21
|
+
return /* @__PURE__ */ jsx(
|
|
22
|
+
DataTable,
|
|
23
|
+
{
|
|
24
|
+
caption: "Clients",
|
|
25
|
+
rows: clients,
|
|
26
|
+
columns,
|
|
27
|
+
getRowId: (c) => c.id,
|
|
28
|
+
rowLabel: (c) => c.name,
|
|
29
|
+
selectable: true,
|
|
30
|
+
defaultSelected: ["c1", "c2"],
|
|
31
|
+
bulkMax: 200,
|
|
32
|
+
bulkResult: result,
|
|
33
|
+
bulkActions: ({ selected, clear }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
34
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "secondary", onClick: () => setResult(`${selected.length} tagged`), children: "Add a tag" }),
|
|
35
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "secondary", onClick: () => {
|
|
36
|
+
setResult(`${selected.length} moved, 1 skipped`);
|
|
37
|
+
clear();
|
|
38
|
+
}, children: "Move status" })
|
|
39
|
+
] })
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
DataTableBulk as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { Button } from "@krizaka/ui/button";
|
|
4
|
+
import { TagChip } from "@krizaka/ui/chip";
|
|
5
|
+
import { DataTable, type DataTableColumn } from "@krizaka/ui/data-table";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
|
|
8
|
+
type Client = { id: string; name: string; bike: string; tag: "blue" | "amber" | "violet" };
|
|
9
|
+
const clients: Client[] = [
|
|
10
|
+
{ id: "c1", name: "Eric Tremblay", bike: "Gravel · yearly service", tag: "blue" },
|
|
11
|
+
{ id: "c2", name: "Demo client", bike: "City bike · new tyres", tag: "amber" },
|
|
12
|
+
{ id: "c3", name: "Sample client", bike: "Cargo bike · brakes", tag: "violet" },
|
|
13
|
+
];
|
|
14
|
+
const names = { blue: "Regular", amber: "To follow up", violet: "Gift cards" };
|
|
15
|
+
const columns: DataTableColumn<Client>[] = [
|
|
16
|
+
{ id: "name", header: "Client", type: "title", subtitle: (c) => c.bike },
|
|
17
|
+
{ id: "tag", header: "Tag", cell: (c) => <TagChip marker={c.tag}>{names[c.tag]}</TagChip> },
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
// Choose rows: the bar shows the count and the actions the product gives, « Clear selection », and what the last change did.
|
|
21
|
+
export default function DataTableBulk() {
|
|
22
|
+
const [result, setResult] = React.useState("");
|
|
23
|
+
return (
|
|
24
|
+
<DataTable
|
|
25
|
+
caption="Clients" rows={clients} columns={columns} getRowId={(c) => c.id} rowLabel={(c) => c.name} selectable defaultSelected={["c1", "c2"]} bulkMax={200} bulkResult={result}
|
|
26
|
+
bulkActions={({ selected, clear }) => (
|
|
27
|
+
<>
|
|
28
|
+
<Button size="sm" variant="secondary" onClick={() => setResult(`${selected.length} tagged`)}>Add a tag</Button>
|
|
29
|
+
<Button size="sm" variant="secondary" onClick={() => { setResult(`${selected.length} moved, 1 skipped`); clear(); }}>Move status</Button>
|
|
30
|
+
</>
|
|
31
|
+
)}
|
|
32
|
+
/>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/detail-layout/client.tsx
|
|
4
|
+
import { Badge } from "@krizaka/ui/badge";
|
|
5
|
+
import { Button } from "@krizaka/ui/button";
|
|
6
|
+
import { DetailLayout, DetailNotes, DetailSection } from "@krizaka/ui/detail-layout";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
function DetailLayoutClient() {
|
|
9
|
+
return /* @__PURE__ */ jsx("div", { className: "brand-akinaza w-full", children: /* @__PURE__ */ jsxs(
|
|
10
|
+
DetailLayout,
|
|
11
|
+
{
|
|
12
|
+
cover: true,
|
|
13
|
+
back: /* @__PURE__ */ jsx("a", { href: "#clients", children: "\u2190 Clients" }),
|
|
14
|
+
eyebrow: "Client",
|
|
15
|
+
title: "Gagnon & fils",
|
|
16
|
+
status: /* @__PURE__ */ jsx(Badge, { tone: "warning", children: "To follow up" }),
|
|
17
|
+
meta: "Laval \xB7 client since 2024",
|
|
18
|
+
actions: /* @__PURE__ */ jsx(Button, { size: "sm", variant: "primary", children: "New invoice" }),
|
|
19
|
+
notes: /* @__PURE__ */ jsx(
|
|
20
|
+
DetailNotes,
|
|
21
|
+
{
|
|
22
|
+
title: "Notes",
|
|
23
|
+
emptyLabel: "No notes yet.",
|
|
24
|
+
notes: [
|
|
25
|
+
{ id: "n1", body: "Prefers a call before a visit.", meta: "Eric \xB7 Oct 12" },
|
|
26
|
+
{ id: "n2", body: "Quote sent for the garage tap.", meta: "Eric \xB7 Oct 19" }
|
|
27
|
+
],
|
|
28
|
+
add: /* @__PURE__ */ jsx(Button, { size: "sm", variant: "secondary", children: "Add a note" })
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ jsx(DetailSection, { title: "Invoices", action: /* @__PURE__ */ jsx("a", { href: "#all", children: "See all" }), children: /* @__PURE__ */ jsx("p", { className: "m-0 text-sm text-fg-secondary", children: "One invoice is waiting for payment: $640, 9 days late." }) }),
|
|
33
|
+
/* @__PURE__ */ jsx(DetailSection, { title: "Visits", children: /* @__PURE__ */ jsx("p", { className: "m-0 text-sm text-fg-secondary", children: "Next visit: Thursday at 2:00 PM." }) })
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
) });
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
DetailLayoutClient as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Badge } from "@krizaka/ui/badge";
|
|
2
|
+
import { Button } from "@krizaka/ui/button";
|
|
3
|
+
import { DetailLayout, DetailNotes, DetailSection } from "@krizaka/ui/detail-layout";
|
|
4
|
+
|
|
5
|
+
// TEMPLATE — a client's page (Atelier Eric, fictitious): the profile banner, binder sections in the main column and the notes
|
|
6
|
+
// column (numbered notes, an add field) beside it — under the sections on a phone.
|
|
7
|
+
export default function DetailLayoutClient() {
|
|
8
|
+
return (
|
|
9
|
+
<div className="brand-akinaza w-full">
|
|
10
|
+
<DetailLayout
|
|
11
|
+
cover
|
|
12
|
+
back={<a href="#clients">← Clients</a>}
|
|
13
|
+
eyebrow="Client"
|
|
14
|
+
title="Gagnon & fils"
|
|
15
|
+
status={<Badge tone="warning">To follow up</Badge>}
|
|
16
|
+
meta="Laval · client since 2024"
|
|
17
|
+
actions={<Button size="sm" variant="primary">New invoice</Button>}
|
|
18
|
+
notes={
|
|
19
|
+
<DetailNotes
|
|
20
|
+
title="Notes"
|
|
21
|
+
emptyLabel="No notes yet."
|
|
22
|
+
notes={[
|
|
23
|
+
{ id: "n1", body: "Prefers a call before a visit.", meta: "Eric · Oct 12" },
|
|
24
|
+
{ id: "n2", body: "Quote sent for the garage tap.", meta: "Eric · Oct 19" },
|
|
25
|
+
]}
|
|
26
|
+
add={<Button size="sm" variant="secondary">Add a note</Button>}
|
|
27
|
+
/>
|
|
28
|
+
}
|
|
29
|
+
>
|
|
30
|
+
<DetailSection title="Invoices" action={<a href="#all">See all</a>}>
|
|
31
|
+
<p className="m-0 text-sm text-fg-secondary">One invoice is waiting for payment: $640, 9 days late.</p>
|
|
32
|
+
</DetailSection>
|
|
33
|
+
<DetailSection title="Visits">
|
|
34
|
+
<p className="m-0 text-sm text-fg-secondary">Next visit: Thursday at 2:00 PM.</p>
|
|
35
|
+
</DetailSection>
|
|
36
|
+
</DetailLayout>
|
|
37
|
+
</div>
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/detail-layout/new-invoice.tsx
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { DetailLayout, FormSteps, FormTotals } from "@krizaka/ui/detail-layout";
|
|
6
|
+
import { Field, Input } from "@krizaka/ui/field";
|
|
7
|
+
import { Stat } from "@krizaka/ui/stat";
|
|
8
|
+
import { StickyAction } from "@krizaka/ui/sticky-action";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
function DetailLayoutNewInvoice() {
|
|
11
|
+
return /* @__PURE__ */ jsx("div", { className: "brand-akinaza w-full", children: /* @__PURE__ */ jsxs(
|
|
12
|
+
DetailLayout,
|
|
13
|
+
{
|
|
14
|
+
back: /* @__PURE__ */ jsx("a", { href: "#clients", children: "\u2190 Gagnon & fils" }),
|
|
15
|
+
title: "New invoice",
|
|
16
|
+
aside: /* @__PURE__ */ jsx(FormTotals, { children: /* @__PURE__ */ jsx(Stat, { label: "Total", value: "$640.00", hint: "2 lines" }) }),
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ jsx(
|
|
19
|
+
FormSteps,
|
|
20
|
+
{
|
|
21
|
+
steps: [
|
|
22
|
+
{ id: "client", title: "Client", children: /* @__PURE__ */ jsxs(Field.Root, { children: [
|
|
23
|
+
/* @__PURE__ */ jsx(Field.Label, { htmlFor: "client", children: "Client" }),
|
|
24
|
+
/* @__PURE__ */ jsx(Input, { id: "client", defaultValue: "Gagnon & fils" })
|
|
25
|
+
] }) },
|
|
26
|
+
{ id: "lines", title: "What you did", children: /* @__PURE__ */ jsxs(Field.Root, { children: [
|
|
27
|
+
/* @__PURE__ */ jsx(Field.Label, { htmlFor: "description", children: "Description" }),
|
|
28
|
+
/* @__PURE__ */ jsx(Input, { id: "description", defaultValue: "Tap replacement, 2 hours" })
|
|
29
|
+
] }) },
|
|
30
|
+
{ id: "terms", title: "Terms", children: /* @__PURE__ */ jsxs(Field.Root, { children: [
|
|
31
|
+
/* @__PURE__ */ jsx(Field.Label, { htmlFor: "due", children: "Due in (days)" }),
|
|
32
|
+
/* @__PURE__ */ jsx(Input, { id: "due", defaultValue: "30" })
|
|
33
|
+
] }) }
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
/* @__PURE__ */ jsx(StickyAction, { mode: "task", summary: "Total $640.00", children: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Send the invoice" }) })
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
) });
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
DetailLayoutNewInvoice as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Button } from "@krizaka/ui/button";
|
|
2
|
+
import { DetailLayout, FormSteps, FormTotals } from "@krizaka/ui/detail-layout";
|
|
3
|
+
import { Field, Input } from "@krizaka/ui/field";
|
|
4
|
+
import { Stat } from "@krizaka/ui/stat";
|
|
5
|
+
import { StickyAction } from "@krizaka/ui/sticky-action";
|
|
6
|
+
|
|
7
|
+
// TEMPLATE — a new invoice (Atelier Eric, fictitious): numbered steps in the main column, the totals sticky beside them, the plain
|
|
8
|
+
// primary at `lg` (no gradient) in the StickyAction in task mode, which keeps the total and the action in view on every width. No tax or receipt logic here: the product's.
|
|
9
|
+
export default function DetailLayoutNewInvoice() {
|
|
10
|
+
return (
|
|
11
|
+
<div className="brand-akinaza w-full">
|
|
12
|
+
<DetailLayout
|
|
13
|
+
back={<a href="#clients">← Gagnon & fils</a>}
|
|
14
|
+
title="New invoice"
|
|
15
|
+
aside={
|
|
16
|
+
<FormTotals>
|
|
17
|
+
<Stat label="Total" value="$640.00" hint="2 lines" />
|
|
18
|
+
</FormTotals>
|
|
19
|
+
}
|
|
20
|
+
>
|
|
21
|
+
<FormSteps
|
|
22
|
+
steps={[
|
|
23
|
+
{ id: "client", title: "Client", children: <Field.Root><Field.Label htmlFor="client">Client</Field.Label><Input id="client" defaultValue="Gagnon & fils" /></Field.Root> },
|
|
24
|
+
{ id: "lines", title: "What you did", children: <Field.Root><Field.Label htmlFor="description">Description</Field.Label><Input id="description" defaultValue="Tap replacement, 2 hours" /></Field.Root> },
|
|
25
|
+
{ id: "terms", title: "Terms", children: <Field.Root><Field.Label htmlFor="due">Due in (days)</Field.Label><Input id="due" defaultValue="30" /></Field.Root> },
|
|
26
|
+
]}
|
|
27
|
+
/>
|
|
28
|
+
<StickyAction mode="task" summary="Total $640.00">
|
|
29
|
+
<Button variant="primary" size="lg">Send the invoice</Button>
|
|
30
|
+
</StickyAction>
|
|
31
|
+
</DetailLayout>
|
|
32
|
+
</div>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/doodle/bird-sketch.tsx
|
|
4
|
+
import { Doodle } from "@krizaka/ui/doodle";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function DoodleBirdSketch() {
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-4", children: ["falcon", "owl", "duck", "flamingo", "pigeon"].map((bird) => /* @__PURE__ */ jsx(Doodle, { kind: "bird", bird, place: "inline", label: `A sketch of the ${bird}` }, bird)) });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
DoodleBirdSketch as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Doodle } from "@krizaka/ui/doodle";
|
|
2
|
+
|
|
3
|
+
// The five birds as sketches: a bird in a margin signs the page. Each one says what it is for assistive technology.
|
|
4
|
+
export default function DoodleBirdSketch() {
|
|
5
|
+
return (
|
|
6
|
+
<div className="flex flex-wrap gap-4">
|
|
7
|
+
{(["falcon", "owl", "duck", "flamingo", "pigeon"] as const).map((bird) => (
|
|
8
|
+
<Doodle key={bird} kind="bird" bird={bird} place="inline" label={`A sketch of the ${bird}`} />
|
|
9
|
+
))}
|
|
10
|
+
</div>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/doodle/margin-marks.tsx
|
|
4
|
+
import { Doodle } from "@krizaka/ui/doodle";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
function DoodleMarginMarks() {
|
|
7
|
+
return /* @__PURE__ */ jsxs("div", { className: "grid gap-5", style: { maxWidth: 560 }, children: [
|
|
8
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-end gap-2", children: [
|
|
9
|
+
/* @__PURE__ */ jsx(Doodle, { kind: "arrow", flip: true, place: "inline" }),
|
|
10
|
+
/* @__PURE__ */ jsx("h2", { className: "m-0 text-[32px]", style: { fontFamily: "var(--kz-font-display)" }, children: "Start here" })
|
|
11
|
+
] }),
|
|
12
|
+
/* @__PURE__ */ jsxs("p", { className: "m-0 text-lg", children: [
|
|
13
|
+
"Tokens first, then components, and ",
|
|
14
|
+
/* @__PURE__ */ jsx(Doodle, { kind: "circle", children: "nothing to copy" }),
|
|
15
|
+
" between the products."
|
|
16
|
+
] }),
|
|
17
|
+
/* @__PURE__ */ jsxs("p", { className: "m-0 text-lg", children: [
|
|
18
|
+
"Read the ",
|
|
19
|
+
/* @__PURE__ */ jsx(Doodle, { kind: "wave", children: "published version" }),
|
|
20
|
+
", never a fork. ",
|
|
21
|
+
/* @__PURE__ */ jsx(Doodle, { kind: "star", place: "inline" })
|
|
22
|
+
] })
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
DoodleMarginMarks as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Doodle } from "@krizaka/ui/doodle";
|
|
2
|
+
|
|
3
|
+
// An arrow to the heading, a circled word and a wavy underline: marks in the flow, the words stay text.
|
|
4
|
+
export default function DoodleMarginMarks() {
|
|
5
|
+
return (
|
|
6
|
+
<div className="grid gap-5" style={{ maxWidth: 560 }}>
|
|
7
|
+
<div className="flex items-end gap-2">
|
|
8
|
+
<Doodle kind="arrow" flip place="inline" />
|
|
9
|
+
<h2 className="m-0 text-[32px]" style={{ fontFamily: "var(--kz-font-display)" }}>Start here</h2>
|
|
10
|
+
</div>
|
|
11
|
+
<p className="m-0 text-lg">
|
|
12
|
+
Tokens first, then components, and <Doodle kind="circle">nothing to copy</Doodle> between the products.
|
|
13
|
+
</p>
|
|
14
|
+
<p className="m-0 text-lg">
|
|
15
|
+
Read the <Doodle kind="wave">published version</Doodle>, never a fork. <Doodle kind="star" place="inline" />
|
|
16
|
+
</p>
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
}
|