@krizaka/ui 3.54.0 → 3.59.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 +8 -3
- package/dist/account-menu.js +8 -1
- package/dist/account-menu.js.map +1 -1
- package/dist/account-settings.d.ts +153 -61
- package/dist/account-settings.js +243 -160
- 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 +6 -2
- package/dist/anatomy-plate.js +4 -0
- package/dist/anatomy-plate.js.map +1 -1
- package/dist/app-header/search.d.ts +64 -0
- package/dist/app-header/search.js +70 -0
- package/dist/app-header/search.js.map +1 -0
- package/dist/app-header.d.ts +89 -4
- package/dist/app-header.js +63 -5
- package/dist/app-header.js.map +1 -1
- package/dist/app-shell.d.ts +26 -25
- package/dist/app-shell.js +31 -40
- package/dist/app-shell.js.map +1 -1
- package/dist/argument-card.d.ts +3 -2
- package/dist/argument-card.js +3 -3
- 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 +7 -3
- package/dist/bird-plate.js +2 -2
- package/dist/bird-plate.js.map +1 -1
- package/dist/blocks.css +235 -27
- 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/chat.js +2 -2
- package/dist/chat.js.map +1 -1
- package/dist/checkbox.d.ts +2 -1
- package/dist/checkbox.js +1 -1
- package/dist/checkbox.js.map +1 -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 +14 -98
- package/dist/chip.js.map +1 -1
- package/dist/choice-grid.d.ts +3 -2
- package/dist/choice-grid.js +28 -88
- package/dist/choice-grid.js.map +1 -1
- package/dist/chunk-27AWSJTK.js +46 -0
- package/dist/chunk-27AWSJTK.js.map +1 -0
- package/dist/{chunk-YGIN2YIY.js → chunk-3X3OF4TI.js} +2 -2
- package/dist/chunk-3X3OF4TI.js.map +1 -0
- package/dist/{chunk-KBQD6HE3.js → chunk-4GQH27IT.js} +3 -3
- package/dist/{chunk-KBQD6HE3.js.map → chunk-4GQH27IT.js.map} +1 -1
- package/dist/{chunk-YHKTYFOQ.js → chunk-5LANVCK7.js} +383 -107
- 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-5VEVYDVC.js +11 -0
- package/dist/chunk-5VEVYDVC.js.map +1 -0
- package/dist/chunk-7J2L4HOD.js +340 -0
- package/dist/chunk-7J2L4HOD.js.map +1 -0
- package/dist/chunk-BDIU5LZB.js +18 -0
- package/dist/chunk-BDIU5LZB.js.map +1 -0
- package/dist/chunk-BQ4EOR2O.js +177 -0
- package/dist/chunk-BQ4EOR2O.js.map +1 -0
- package/dist/chunk-CSRKYZ53.js +39 -0
- package/dist/chunk-CSRKYZ53.js.map +1 -0
- package/dist/chunk-F6JTHPHE.js +399 -0
- package/dist/chunk-F6JTHPHE.js.map +1 -0
- package/dist/chunk-HEKDKM5Y.js +128 -0
- package/dist/chunk-HEKDKM5Y.js.map +1 -0
- package/dist/chunk-KGLRZMCY.js +16 -0
- package/dist/chunk-KGLRZMCY.js.map +1 -0
- package/dist/chunk-KID32IRJ.js +18 -0
- package/dist/chunk-KID32IRJ.js.map +1 -0
- package/dist/chunk-OGWB76BR.js +90 -0
- package/dist/chunk-OGWB76BR.js.map +1 -0
- package/dist/{chunk-4LYKBSOG.js → chunk-USPOIQV5.js} +2 -2
- package/dist/chunk-USPOIQV5.js.map +1 -0
- package/dist/chunk-UYGUSYIC.js +173 -0
- package/dist/chunk-UYGUSYIC.js.map +1 -0
- package/dist/{chunk-7NRSPHAF.js → chunk-VB7MWE2N.js} +2 -2
- package/dist/{chunk-7NRSPHAF.js.map → chunk-VB7MWE2N.js.map} +1 -1
- 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/chunk-YCZ7N6Q6.js +385 -0
- package/dist/chunk-YCZ7N6Q6.js.map +1 -0
- package/dist/code-block.d.ts +2 -1
- package/dist/code-block.js +81 -98
- package/dist/code-block.js.map +1 -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 +6 -2
- package/dist/component-page.js +5 -0
- package/dist/component-page.js.map +1 -1
- package/dist/confirm-button.d.ts +2 -1
- package/dist/contact-page.d.ts +2 -1
- package/dist/continue-prompt.d.ts +6 -2
- package/dist/continue-prompt.js +4 -0
- package/dist/continue-prompt.js.map +1 -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 +103 -4
- package/dist/data-table.js +23 -7
- package/dist/date-picker.d.ts +29 -28
- package/dist/date-picker.js +2 -2
- package/dist/date-picker.js.map +1 -1
- package/dist/decision-list.d.ts +2 -1
- package/dist/description-list.d.ts +2 -1
- package/dist/detail-layout.d.ts +147 -3
- package/dist/detail-layout.js +143 -17
- 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 +32 -0
- package/dist/doodle.js +70 -0
- package/dist/doodle.js.map +1 -0
- package/dist/drop-overlay.d.ts +14 -5
- package/dist/drop-overlay.js +16 -6
- package/dist/drop-overlay.js.map +1 -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 +4 -1
- package/dist/elephant.js +4 -0
- package/dist/elephant.js.map +1 -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/field.js +1 -1
- package/dist/field.js.map +1 -1
- package/dist/file-upload.d.ts +14 -13
- 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 +13 -8
- package/dist/force-update-screen.js +4 -0
- package/dist/force-update-screen.js.map +1 -1
- package/dist/form/server.d.ts +2 -1
- package/dist/form.d.ts +2 -1
- package/dist/gallery-page.d.ts +6 -2
- package/dist/gallery-page.js +4 -0
- package/dist/gallery-page.js.map +1 -1
- package/dist/genui.d.ts +2 -1
- package/dist/genui.js +5 -5
- 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 +15 -6
- package/dist/image-cropper.js +4 -0
- package/dist/image-cropper.js.map +1 -1
- 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 +5 -1
- package/dist/kanban.js +4 -0
- package/dist/kanban.js.map +1 -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 +6 -2
- package/dist/landscape.js +4 -0
- package/dist/landscape.js.map +1 -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/list.js +1 -1
- package/dist/loader.d.ts +2 -1
- package/dist/longform-page.d.ts +2 -1
- package/dist/maintenance-screen.d.ts +10 -5
- package/dist/maintenance-screen.js +4 -0
- package/dist/maintenance-screen.js.map +1 -1
- package/dist/map.d.ts +8 -7
- package/dist/map.js +30 -0
- package/dist/map.js.map +1 -1
- package/dist/markdown.d.ts +7 -2
- package/dist/markdown.js +12 -5
- package/dist/markdown.js.map +1 -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 +6 -2
- package/dist/match-dialog.js +4 -0
- package/dist/match-dialog.js.map +1 -1
- package/dist/media-capture.d.ts +11 -5
- package/dist/media-capture.js +4 -0
- package/dist/media-capture.js.map +1 -1
- 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/meter.js +5 -121
- package/dist/meter.js.map +1 -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 +30 -0
- package/dist/native/map.js.map +1 -1
- package/dist/native/markdown.d.ts +11 -3
- package/dist/native/markdown.js +46 -7
- package/dist/native/markdown.js.map +1 -1
- package/dist/native/media-capture.d.ts +3 -1
- package/dist/native/media-capture.js +5 -0
- package/dist/native/media-capture.js.map +1 -1
- package/dist/native/media-picker.d.ts +2 -1
- package/dist/native/vertical-video.d.ts +10 -3
- package/dist/native/vertical-video.js +6 -0
- package/dist/native/vertical-video.js.map +1 -1
- package/dist/native/video-player.d.ts +2 -1
- package/dist/native.d.ts +323 -4
- package/dist/native.js +1974 -1348
- package/dist/native.js.map +1 -1
- package/dist/nav-bar/me.d.ts +33 -0
- package/dist/nav-bar/me.js +23 -0
- package/dist/nav-bar/me.js.map +1 -0
- package/dist/nav-bar.d.ts +61 -2
- package/dist/nav-bar.js +92 -48
- package/dist/nav-bar.js.map +1 -1
- package/dist/next-actions.d.ts +2 -1
- package/dist/notification-preferences.d.ts +152 -0
- package/dist/notification-preferences.js +78 -0
- package/dist/notification-preferences.js.map +1 -0
- 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-header.js +1 -1
- package/dist/page-header.js.map +1 -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/pointer-light.js +5 -0
- package/dist/pointer-light.js.map +1 -1
- package/dist/popover.d.ts +2 -1
- package/dist/pricing-page.d.ts +2 -1
- package/dist/product-page.d.ts +6 -2
- package/dist/product-page.js +4 -0
- package/dist/product-page.js.map +1 -1
- package/dist/profile-card.d.ts +120 -1
- package/dist/profile-card.js +68 -21
- package/dist/profile-card.js.map +1 -1
- package/dist/progress.d.ts +2 -1
- package/dist/promise-card.d.ts +6 -2
- package/dist/promise-card.js +4 -0
- package/dist/promise-card.js.map +1 -1
- package/dist/quota-meter.d.ts +114 -0
- package/dist/quota-meter.js +58 -0
- package/dist/quota-meter.js.map +1 -0
- package/dist/radio-group.d.ts +2 -1
- package/dist/radio-group.js +7 -9
- package/dist/radio-group.js.map +1 -1
- package/dist/rail-nav.d.ts +35 -18
- package/dist/rail-nav.js +45 -56
- package/dist/rail-nav.js.map +1 -1
- package/dist/recipes.d.ts +2 -1
- package/dist/retro-tv.d.ts +31 -0
- package/dist/retro-tv.js +124 -0
- package/dist/retro-tv.js.map +1 -0
- package/dist/router.d.ts +13 -1
- package/dist/router.js +85 -8
- package/dist/router.js.map +1 -1
- package/dist/scroll-stage.d.ts +7 -2
- package/dist/scroll-stage.js +5 -0
- package/dist/scroll-stage.js.map +1 -1
- package/dist/search-field.d.ts +2 -1
- package/dist/search-field.js +1 -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 +11 -3
- package/dist/showcase.js +5 -0
- package/dist/showcase.js.map +1 -1
- package/dist/signature.d.ts +20 -0
- package/dist/signature.js +39 -0
- package/dist/signature.js.map +1 -0
- 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/site-footer.js +1 -1
- package/dist/sites.d.ts +2 -1
- package/dist/sites.js +1 -1
- package/dist/sites.js.map +1 -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/slot.d.ts +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/stat.js +1 -1
- package/dist/stat.js.map +1 -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 +6 -2
- package/dist/status-page.js +5 -0
- package/dist/status-page.js.map +1 -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 +28 -0
- package/dist/stuck.js +26 -0
- package/dist/stuck.js.map +1 -0
- package/dist/swipe-deck.d.ts +11 -3
- package/dist/swipe-deck.js +5 -0
- package/dist/swipe-deck.js.map +1 -1
- package/dist/switch.d.ts +2 -1
- package/dist/switch.js +4 -32
- package/dist/switch.js.map +1 -1
- package/dist/tabs.d.ts +48 -8
- package/dist/tabs.js +62 -12
- package/dist/tabs.js.map +1 -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 +3 -20
- package/dist/taped-photo.js.map +1 -1
- package/dist/terminal-replay.d.ts +6 -2
- package/dist/terminal-replay.js +5 -1
- package/dist/terminal-replay.js.map +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/tree-view.js +4 -0
- package/dist/tree-view.js.map +1 -1
- package/dist/update-prompt.d.ts +16 -11
- package/dist/update-prompt.js +4 -0
- package/dist/update-prompt.js.map +1 -1
- 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-player.js +7 -376
- package/dist/video-player.js.map +1 -1
- package/dist/video-trimmer.d.ts +8 -2
- package/dist/video-trimmer.js +4 -0
- package/dist/video-trimmer.js.map +1 -1
- package/dist/virtual.d.ts +8 -7
- package/dist/waveform.d.ts +2 -1
- package/package.json +249 -52
- package/registry/account-menu.json +9 -8
- package/registry/account-settings.json +258 -6
- package/registry/achievement.json +3 -4
- package/registry/action-bar.json +3 -3
- package/registry/action-sheet.json +1 -0
- package/registry/activity-feed.json +2 -1
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/anatomy-plate.json +13 -5
- package/registry/app-header.json +470 -23
- package/registry/app-shell.json +2 -2
- 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 +3 -2
- package/registry/badge.json +2 -1
- package/registry/bird-plate.json +16 -2
- package/registry/button.json +7 -6
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +1 -1
- package/registry/card.json +7 -6
- package/registry/catalogue-page.json +117 -8
- package/registry/changelog-page.json +3 -5
- package/registry/chapter.json +1 -1
- package/registry/chat.json +3 -2
- package/registry/checkbox.json +4 -3
- package/registry/chip-link.json +2 -2
- package/registry/chip-row.json +2 -2
- package/registry/chip.json +388 -12
- package/registry/choice-grid.json +3 -4
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +3 -2
- package/registry/command.json +2 -2
- package/registry/comparison-table.json +1 -1
- package/registry/component-page.json +14 -5
- package/registry/confirm-button.json +4 -4
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +13 -5
- package/registry/countdown.json +4 -3
- package/registry/cover-hero.json +3 -4
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +91 -5
- package/registry/data-table.json +215 -8
- package/registry/date-picker.json +5 -4
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +2 -1
- package/registry/detail-layout.json +226 -8
- package/registry/dialog.json +7 -6
- package/registry/docs-article-page.json +3 -4
- 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 +3 -5
- package/registry/doodle.json +302 -0
- package/registry/drop-overlay.json +30 -16
- package/registry/dropdown-menu.json +2 -2
- package/registry/elephant.json +15 -7
- package/registry/empty-state.json +2 -1
- package/registry/engine-flow.json +1 -1
- package/registry/error-page.json +3 -5
- 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/app-header/family.d.ts +4 -0
- package/registry/examples/app-header/family.js +41 -0
- package/registry/examples/app-header/family.tsx +37 -0
- package/registry/examples/app-header/native/family.d.ts +4 -0
- package/registry/examples/app-header/native/family.dark.png +0 -0
- package/registry/examples/app-header/native/family.js +25 -0
- package/registry/examples/app-header/native/family.light.png +0 -0
- package/registry/examples/app-header/native/family.tsx +33 -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/applicant-files.d.ts +4 -0
- package/registry/examples/data-table/applicant-files.js +24 -0
- package/registry/examples/data-table/applicant-files.tsx +23 -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/data-table/checks.d.ts +4 -0
- package/registry/examples/data-table/checks.js +25 -0
- package/registry/examples/data-table/checks.tsx +24 -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/detail-layout/profile.d.ts +4 -0
- package/registry/examples/detail-layout/profile.js +26 -0
- package/registry/examples/detail-layout/profile.tsx +21 -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/kinds.d.ts +4 -0
- package/registry/examples/doodle/kinds.js +17 -0
- package/registry/examples/doodle/kinds.tsx +14 -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/doodle/margin.d.ts +4 -0
- package/registry/examples/doodle/margin.js +17 -0
- package/registry/examples/doodle/margin.tsx +17 -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/markdown/native/basic.dark.png +0 -0
- package/registry/examples/markdown/native/basic.light.png +0 -0
- package/registry/examples/markdown/native/wide-table.d.ts +4 -0
- package/registry/examples/markdown/native/wide-table.dark.png +0 -0
- package/registry/examples/markdown/native/wide-table.js +23 -0
- package/registry/examples/markdown/native/wide-table.light.png +0 -0
- package/registry/examples/markdown/native/wide-table.tsx +22 -0
- package/registry/examples/markdown/wide-table.d.ts +4 -0
- package/registry/examples/markdown/wide-table.js +28 -0
- package/registry/examples/markdown/wide-table.tsx +23 -0
- package/registry/examples/nav-bar/family-product.js +2 -4
- package/registry/examples/nav-bar/family-product.tsx +3 -5
- package/registry/examples/notification-preferences/default.d.ts +4 -0
- package/registry/examples/notification-preferences/default.js +29 -0
- package/registry/examples/notification-preferences/default.tsx +28 -0
- package/registry/examples/profile-card/banner.d.ts +4 -0
- package/registry/examples/profile-card/banner.js +28 -0
- package/registry/examples/profile-card/banner.tsx +24 -0
- package/registry/examples/profile-card/native/banner.d.ts +4 -0
- package/registry/examples/profile-card/native/banner.dark.png +0 -0
- package/registry/examples/profile-card/native/banner.js +22 -0
- package/registry/examples/profile-card/native/banner.light.png +0 -0
- package/registry/examples/profile-card/native/banner.tsx +18 -0
- package/registry/examples/quota-meter/default.d.ts +4 -0
- package/registry/examples/quota-meter/default.js +26 -0
- package/registry/examples/quota-meter/default.tsx +20 -0
- package/registry/examples/quota-meter/full.d.ts +4 -0
- package/registry/examples/quota-meter/full.js +25 -0
- package/registry/examples/quota-meter/full.tsx +18 -0
- package/registry/examples/rail-nav/shortcuts.d.ts +4 -0
- package/registry/examples/rail-nav/shortcuts.js +49 -0
- package/registry/examples/rail-nav/shortcuts.tsx +40 -0
- package/registry/examples/retro-tv/cabinet.d.ts +4 -0
- package/registry/examples/retro-tv/cabinet.js +12 -0
- package/registry/examples/retro-tv/cabinet.tsx +7 -0
- package/registry/examples/retro-tv/portable.d.ts +4 -0
- package/registry/examples/retro-tv/portable.js +12 -0
- package/registry/examples/retro-tv/portable.tsx +7 -0
- package/registry/examples/signature/both.d.ts +4 -0
- package/registry/examples/signature/both.js +11 -0
- package/registry/examples/signature/both.tsx +6 -0
- package/registry/examples/signature/variants.d.ts +4 -0
- package/registry/examples/signature/variants.js +14 -0
- package/registry/examples/signature/variants.tsx +11 -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/stuck/card.d.ts +4 -0
- package/registry/examples/stuck/card.js +13 -0
- package/registry/examples/stuck/card.tsx +14 -0
- package/registry/examples/stuck/holds.d.ts +4 -0
- package/registry/examples/stuck/holds.js +12 -0
- package/registry/examples/stuck/holds.tsx +16 -0
- package/registry/examples/stuck/tag.d.ts +4 -0
- package/registry/examples/stuck/tag.js +12 -0
- package/registry/examples/stuck/tag.tsx +13 -0
- package/registry/examples/tabs/binder.d.ts +4 -0
- package/registry/examples/tabs/binder.js +22 -0
- package/registry/examples/tabs/binder.tsx +20 -0
- package/registry/examples/tabs/native/binder.d.ts +4 -0
- package/registry/examples/tabs/native/binder.dark.png +0 -0
- package/registry/examples/tabs/native/binder.js +26 -0
- package/registry/examples/tabs/native/binder.light.png +0 -0
- package/registry/examples/tabs/native/binder.tsx +22 -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/fab.json +1 -0
- package/registry/field.json +3 -2
- package/registry/file-upload.json +6 -11
- package/registry/filter-bar.json +209 -9
- package/registry/flock.json +3 -4
- package/registry/footnote.json +2 -3
- package/registry/force-update-screen.json +14 -5
- package/registry/form.json +5 -4
- package/registry/gallery-page.json +14 -5
- package/registry/genui.json +2 -2
- package/registry/glossary-term.json +1 -1
- package/registry/glossary.json +1 -1
- package/registry/glow-card.json +2 -2
- package/registry/goal-gauge.json +2 -1
- package/registry/grade-stamp.json +227 -0
- package/registry/header.json +1 -0
- package/registry/how-it-works-page.json +3 -5
- package/registry/image-cropper.json +13 -5
- package/registry/image-viewer.json +3 -4
- package/registry/index.json +612 -105
- package/registry/iso.json +1 -1
- package/registry/kanban.json +13 -5
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +565 -0
- package/registry/kpi-explained.json +2 -2
- package/registry/landing-page.json +3 -5
- package/registry/landscape.json +13 -5
- 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 +2 -1
- package/registry/loader.json +2 -1
- package/registry/longform-page.json +1 -1
- package/registry/maintenance-screen.json +14 -5
- package/registry/map.json +3 -2
- package/registry/markdown.json +86 -9
- 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 +12 -11
- package/registry/mascots.json +2 -1
- package/registry/match-dialog.json +14 -5
- package/registry/media-capture.json +14 -5
- package/registry/media-gallery.json +3 -5
- package/registry/media-grid.json +1 -1
- package/registry/media-picker.json +2 -3
- package/registry/meta-row.json +2 -1
- package/registry/meter.json +4 -3
- package/registry/nav-bar.json +100 -9
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +250 -0
- package/registry/number-ticker.json +2 -1
- package/registry/onboarding.json +1 -0
- package/registry/opening-hours.json +1 -1
- package/registry/otp-input.json +1 -0
- package/registry/page-header.json +2 -2
- package/registry/page-hero.json +1 -1
- package/registry/page-index.json +1 -1
- package/registry/page.json +3 -3
- package/registry/pagination.json +2 -1
- package/registry/permission-prompt.json +2 -2
- package/registry/photo-grid.json +4 -4
- package/registry/pointer-light.json +6 -2
- package/registry/popover.json +2 -2
- package/registry/pricing-page.json +4 -6
- package/registry/product-page.json +14 -5
- package/registry/profile-card.json +232 -8
- package/registry/progress.json +4 -3
- package/registry/promise-card.json +13 -5
- package/registry/pull-to-refresh.json +1 -0
- package/registry/quota-meter.json +308 -0
- package/registry/radio-group.json +4 -3
- package/registry/rail-nav.json +48 -10
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +478 -0
- package/registry/router.json +3 -3
- package/registry/screen.json +1 -0
- package/registry/scroll-stage.json +14 -5
- package/registry/search-field.json +3 -2
- package/registry/section-backdrop.json +1 -1
- package/registry/segmented.json +1 -0
- package/registry/separator.json +2 -2
- package/registry/service-card.json +1 -1
- package/registry/settings-layout.json +2 -1
- package/registry/showcase.json +14 -5
- package/registry/signature.json +185 -0
- package/registry/site-cahier.json +548 -0
- package/registry/site-footer.json +3 -3
- package/registry/sites.json +2 -2
- package/registry/skeleton.json +2 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +5 -4
- package/registry/slot-picker.json +156 -10
- package/registry/slot.json +2 -2
- package/registry/specimen-tag.json +1 -1
- package/registry/speed-lines.json +174 -0
- package/registry/spinner.json +4 -3
- package/registry/splash-handoff.json +1 -0
- package/registry/split-view.json +1 -1
- package/registry/stage-banner.json +2 -3
- package/registry/stat.json +2 -2
- package/registry/status-chip.json +350 -0
- package/registry/status-page.json +13 -5
- package/registry/step-progress.json +2 -1
- package/registry/step-showcase.json +3 -5
- package/registry/stepper.json +2 -1
- package/registry/sticky-action.json +38 -8
- package/registry/stuck.json +219 -0
- package/registry/swipe-deck.json +14 -5
- package/registry/swipeable-row.json +1 -0
- package/registry/switch.json +3 -2
- package/registry/tab-bar.json +1 -0
- package/registry/tabs.json +154 -22
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +190 -12
- package/registry/taped-photo.json +1 -1
- package/registry/terminal-replay.json +14 -5
- package/registry/text-style.json +5 -5
- package/registry/theme.json +4 -3
- package/registry/toast.json +2 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +2 -2
- package/registry/tree-view.json +6 -2
- package/registry/txt.json +1 -0
- package/registry/update-prompt.json +14 -5
- package/registry/upload-queue.json +1 -1
- package/registry/verified-badge.json +6 -6
- package/registry/versus-card.json +194 -0
- package/registry/vertical-video.json +8 -3
- package/registry/video-player.json +5 -6
- package/registry/video-trimmer.json +13 -5
- package/registry/virtual.json +2 -2
- package/registry/waveform.json +4 -3
- package/dist/chunk-4LYKBSOG.js.map +0 -1
- package/dist/chunk-HHFWK2HH.js +0 -163
- package/dist/chunk-HHFWK2HH.js.map +0 -1
- package/dist/chunk-R3LTSMS5.js +0 -75
- package/dist/chunk-R3LTSMS5.js.map +0 -1
- package/dist/chunk-YGIN2YIY.js.map +0 -1
- package/dist/chunk-YHKTYFOQ.js.map +0 -1
- package/dist/chunk-ZQW7LF4Y.js +0 -179
- package/dist/chunk-ZQW7LF4Y.js.map +0 -1
package/dist/filter-bar.d.ts
CHANGED
|
@@ -1,15 +1,85 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { L as LinkComponent } from './block-link-BAg4eoZk.js';
|
|
4
|
+
|
|
5
|
+
/** Who the view belongs to: the admin's (`system`), the workspace's (`workspace`, shared) or the person's (`mine`). */
|
|
6
|
+
type ViewGroup = "system" | "workspace" | "mine";
|
|
7
|
+
type SavedViewItem = {
|
|
8
|
+
/** A saved view's id, or a system view's key. */
|
|
9
|
+
id: string;
|
|
10
|
+
/** Its name, passed translated. */
|
|
11
|
+
label: string;
|
|
12
|
+
group: ViewGroup;
|
|
13
|
+
/** How many results it gives: shown after the name. */
|
|
14
|
+
count?: number;
|
|
15
|
+
/** Where it leads (`/clients?view=to-follow`): the view is then a link, the address being the state. */
|
|
16
|
+
href?: string;
|
|
17
|
+
/** Whether the person may rename and delete it (default: only `mine`). */
|
|
18
|
+
editable?: boolean;
|
|
19
|
+
};
|
|
20
|
+
type SavedViewsLabels = {
|
|
21
|
+
/** The bar's accessible name ("Views"). */
|
|
22
|
+
views: string;
|
|
23
|
+
/** The name of each group of views. */
|
|
24
|
+
groups: Record<ViewGroup, string>;
|
|
25
|
+
/** The phone's menu button: `(current) => "View: " + current` (`current` is "All" when none). */
|
|
26
|
+
menu: (current: string) => string;
|
|
27
|
+
/** What the phone's menu button says when no view is chosen ("All"). */
|
|
28
|
+
none: string;
|
|
29
|
+
/** The mark on a view whose filters changed ("modified"). */
|
|
30
|
+
modified: string;
|
|
31
|
+
/** "Save view". */
|
|
32
|
+
save: string;
|
|
33
|
+
/** The name field of a view being saved ("Name of the view"). */
|
|
34
|
+
name: string;
|
|
35
|
+
/** The button that keeps it ("Save"). */
|
|
36
|
+
confirm: string;
|
|
37
|
+
/** "Cancel". */
|
|
38
|
+
cancel: string;
|
|
39
|
+
/** "Rename". */
|
|
40
|
+
rename: string;
|
|
41
|
+
/** "Delete". */
|
|
42
|
+
remove: string;
|
|
43
|
+
/** The button of a view's actions: `(label) => "Actions for the view " + label`. */
|
|
44
|
+
actions: (label: string) => string;
|
|
45
|
+
};
|
|
46
|
+
declare const savedViewsLabels: SavedViewsLabels;
|
|
47
|
+
type SavedViewsProps = {
|
|
48
|
+
/** The views, in the order to show them inside each group. */
|
|
49
|
+
views: readonly SavedViewItem[];
|
|
50
|
+
/** The id of the view in force, or null. */
|
|
51
|
+
current: string | null;
|
|
52
|
+
/** The filters in force differ from the view's (`!sameFilters(...)`), or none matches a view: shows the mark and « Save view ». */
|
|
53
|
+
modified?: boolean;
|
|
54
|
+
/** A view was chosen (a button). Not called for a view that has an `href`: the link navigates. */
|
|
55
|
+
onSelect?: (id: string) => void;
|
|
56
|
+
/** « Save view » was confirmed with this name. Without it the button is not shown. */
|
|
57
|
+
onSave?: (name: string) => void;
|
|
58
|
+
/** A view was renamed. Without it the action is not offered. */
|
|
59
|
+
onRename?: (id: string, name: string) => void;
|
|
60
|
+
/** A view was deleted (the host confirms, or offers an undo). Without it the action is not offered. */
|
|
61
|
+
onDelete?: (id: string) => void;
|
|
62
|
+
/** Your router's link for the views that have an `href`. */
|
|
63
|
+
linkAs?: LinkComponent;
|
|
64
|
+
/** The most characters of a name (default 80, the contract's `NAME_MAX`). */
|
|
65
|
+
maxLength?: number;
|
|
66
|
+
/** The words, passed translated (English by default). */
|
|
67
|
+
labels?: Partial<SavedViewsLabels>;
|
|
68
|
+
/** Classes merged on the root. */
|
|
69
|
+
className?: string;
|
|
70
|
+
};
|
|
71
|
+
/** The views of a list: chips with counts on a wide screen, one menu on a phone; save, rename and delete; the mark of a modified view. */
|
|
72
|
+
declare function SavedViews({ views, current, modified, onSelect, onSave, onRename, onDelete, linkAs, maxLength, labels: given, className }: SavedViewsProps): React.JSX.Element;
|
|
3
73
|
|
|
4
74
|
declare const filterBar: tailwind_variants.TVReturnType<{
|
|
5
75
|
[key: string]: {
|
|
6
76
|
[key: string]: tailwind_variants.ClassValue | {
|
|
7
77
|
root?: tailwind_variants.ClassValue;
|
|
8
|
-
results?: tailwind_variants.ClassValue;
|
|
9
78
|
count?: tailwind_variants.ClassValue;
|
|
10
|
-
clear?: tailwind_variants.ClassValue;
|
|
11
|
-
active?: tailwind_variants.ClassValue;
|
|
12
79
|
controls?: tailwind_variants.ClassValue;
|
|
80
|
+
active?: tailwind_variants.ClassValue;
|
|
81
|
+
clear?: tailwind_variants.ClassValue;
|
|
82
|
+
results?: tailwind_variants.ClassValue;
|
|
13
83
|
optionCount?: tailwind_variants.ClassValue;
|
|
14
84
|
trigger?: tailwind_variants.ClassValue;
|
|
15
85
|
};
|
|
@@ -18,11 +88,11 @@ declare const filterBar: tailwind_variants.TVReturnType<{
|
|
|
18
88
|
[x: string]: {
|
|
19
89
|
[x: string]: tailwind_variants.ClassValue | {
|
|
20
90
|
root?: tailwind_variants.ClassValue;
|
|
21
|
-
results?: tailwind_variants.ClassValue;
|
|
22
91
|
count?: tailwind_variants.ClassValue;
|
|
23
|
-
clear?: tailwind_variants.ClassValue;
|
|
24
|
-
active?: tailwind_variants.ClassValue;
|
|
25
92
|
controls?: tailwind_variants.ClassValue;
|
|
93
|
+
active?: tailwind_variants.ClassValue;
|
|
94
|
+
clear?: tailwind_variants.ClassValue;
|
|
95
|
+
results?: tailwind_variants.ClassValue;
|
|
26
96
|
optionCount?: tailwind_variants.ClassValue;
|
|
27
97
|
trigger?: tailwind_variants.ClassValue;
|
|
28
98
|
};
|
|
@@ -40,11 +110,11 @@ declare const filterBar: tailwind_variants.TVReturnType<{
|
|
|
40
110
|
[key: string]: {
|
|
41
111
|
[key: string]: tailwind_variants.ClassValue | {
|
|
42
112
|
root?: tailwind_variants.ClassValue;
|
|
43
|
-
results?: tailwind_variants.ClassValue;
|
|
44
113
|
count?: tailwind_variants.ClassValue;
|
|
45
|
-
clear?: tailwind_variants.ClassValue;
|
|
46
|
-
active?: tailwind_variants.ClassValue;
|
|
47
114
|
controls?: tailwind_variants.ClassValue;
|
|
115
|
+
active?: tailwind_variants.ClassValue;
|
|
116
|
+
clear?: tailwind_variants.ClassValue;
|
|
117
|
+
results?: tailwind_variants.ClassValue;
|
|
48
118
|
optionCount?: tailwind_variants.ClassValue;
|
|
49
119
|
trigger?: tailwind_variants.ClassValue;
|
|
50
120
|
};
|
|
@@ -91,9 +161,11 @@ type FilterBarProps = Omit<React.ComponentProps<"div">, "children" | "results">
|
|
|
91
161
|
removeLabel?: (label: string) => string;
|
|
92
162
|
/** The count of results ("42 jobs"), announced politely when it changes. */
|
|
93
163
|
results?: string;
|
|
164
|
+
/** The saved views of the list, above the controls: chips with counts, a menu on a phone (`SavedViews`). */
|
|
165
|
+
views?: SavedViewsProps;
|
|
94
166
|
};
|
|
95
167
|
/** The bar of filters above a list: controls, active filters as chips, clear all, the count of results. */
|
|
96
|
-
declare function FilterBar({ label, children, active, onClearAll, clearLabel, removeLabel, results, className, ...props }: FilterBarProps): React.JSX.Element;
|
|
168
|
+
declare function FilterBar({ label, children, active, onClearAll, clearLabel, removeLabel, results, views, className, ...props }: FilterBarProps): React.JSX.Element;
|
|
97
169
|
type FilterOption = {
|
|
98
170
|
/** What the app stores (and puts in the address). */
|
|
99
171
|
value: string;
|
|
@@ -136,4 +208,5 @@ declare function readFilterParams(params: URLSearchParams, keys: readonly string
|
|
|
136
208
|
/** Filters written into an address (a copy of `base`): empty filters removed, several values comma-separated, the page reset. */
|
|
137
209
|
declare function writeFilterParams(base: URLSearchParams, filters: Record<string, string | readonly string[] | null | undefined>, resetKey?: string): URLSearchParams;
|
|
138
210
|
|
|
139
|
-
export {
|
|
211
|
+
export { FilterBar, FilterMenu, SavedViews, filterBar, readFilterParams, savedViewsLabels, writeFilterParams };
|
|
212
|
+
export type { ActiveFilter, FilterBarProps, FilterMenuProps, FilterOption, SavedViewItem, SavedViewsLabels, SavedViewsProps, ViewGroup };
|
package/dist/filter-bar.js
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FilterBar,
|
|
4
4
|
FilterMenu,
|
|
5
|
+
SavedViews,
|
|
5
6
|
filterBar,
|
|
6
7
|
readFilterParams,
|
|
8
|
+
savedViewsLabels,
|
|
7
9
|
writeFilterParams
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-F6JTHPHE.js";
|
|
11
|
+
import "./chunk-UYGUSYIC.js";
|
|
10
12
|
import "./chunk-D3T54RSL.js";
|
|
11
13
|
import "./chunk-J3NC6ER4.js";
|
|
12
14
|
import "./chunk-NSLXEDIS.js";
|
|
@@ -14,8 +16,10 @@ import "./chunk-CPA5CF35.js";
|
|
|
14
16
|
export {
|
|
15
17
|
FilterBar,
|
|
16
18
|
FilterMenu,
|
|
19
|
+
SavedViews,
|
|
17
20
|
filterBar,
|
|
18
21
|
readFilterParams,
|
|
22
|
+
savedViewsLabels,
|
|
19
23
|
writeFilterParams
|
|
20
24
|
};
|
|
21
25
|
//# sourceMappingURL=filter-bar.js.map
|
package/dist/flock.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { MascotBird } from './mascot-quote.js';
|
|
3
3
|
|
|
4
4
|
interface FlockBird {
|
|
5
5
|
/** Which bird. */
|
|
@@ -49,4 +49,5 @@ type FlockProps = Omit<React.ComponentProps<"div">, "children"> & FlockMoments &
|
|
|
49
49
|
*/
|
|
50
50
|
declare function Flock({ birds, ratio, tone, glance, courier, react, scenes, random, tempo, active, greet, className, style, ...props }: FlockProps): React.JSX.Element;
|
|
51
51
|
|
|
52
|
-
export { Flock
|
|
52
|
+
export { Flock };
|
|
53
|
+
export type { FlockBird, FlockMoments, FlockProps };
|
package/dist/footnote.d.ts
CHANGED
|
@@ -29,4 +29,5 @@ type FootnotesProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
|
29
29
|
/** The notes at the foot of a page: a short rule, numbered notes in small print, each with its way back to the text. */
|
|
30
30
|
declare function Footnotes({ notes, prefix, label, backLabel, className, ...props }: FootnotesProps): React.JSX.Element;
|
|
31
31
|
|
|
32
|
-
export { Caption,
|
|
32
|
+
export { Caption, FootnoteRef, Footnotes };
|
|
33
|
+
export type { CaptionProps, FootnoteRefProps, FootnotesProps };
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
+
/** @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0. */
|
|
4
5
|
declare const forceUpdateScreen: tailwind_variants.TVReturnType<{
|
|
5
6
|
[key: string]: {
|
|
6
7
|
[key: string]: tailwind_variants.ClassValue | {
|
|
8
|
+
root?: tailwind_variants.ClassValue;
|
|
7
9
|
mark?: tailwind_variants.ClassValue;
|
|
8
10
|
title?: tailwind_variants.ClassValue;
|
|
9
|
-
version?: tailwind_variants.ClassValue;
|
|
10
|
-
root?: tailwind_variants.ClassValue;
|
|
11
11
|
message?: tailwind_variants.ClassValue;
|
|
12
|
+
version?: tailwind_variants.ClassValue;
|
|
12
13
|
actions?: tailwind_variants.ClassValue;
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
16
|
} | {
|
|
16
17
|
[x: string]: {
|
|
17
18
|
[x: string]: tailwind_variants.ClassValue | {
|
|
19
|
+
root?: tailwind_variants.ClassValue;
|
|
18
20
|
mark?: tailwind_variants.ClassValue;
|
|
19
21
|
title?: tailwind_variants.ClassValue;
|
|
20
|
-
version?: tailwind_variants.ClassValue;
|
|
21
|
-
root?: tailwind_variants.ClassValue;
|
|
22
22
|
message?: tailwind_variants.ClassValue;
|
|
23
|
+
version?: tailwind_variants.ClassValue;
|
|
23
24
|
actions?: tailwind_variants.ClassValue;
|
|
24
25
|
};
|
|
25
26
|
};
|
|
@@ -33,11 +34,11 @@ declare const forceUpdateScreen: tailwind_variants.TVReturnType<{
|
|
|
33
34
|
}, undefined, {
|
|
34
35
|
[key: string]: {
|
|
35
36
|
[key: string]: tailwind_variants.ClassValue | {
|
|
37
|
+
root?: tailwind_variants.ClassValue;
|
|
36
38
|
mark?: tailwind_variants.ClassValue;
|
|
37
39
|
title?: tailwind_variants.ClassValue;
|
|
38
|
-
version?: tailwind_variants.ClassValue;
|
|
39
|
-
root?: tailwind_variants.ClassValue;
|
|
40
40
|
message?: tailwind_variants.ClassValue;
|
|
41
|
+
version?: tailwind_variants.ClassValue;
|
|
41
42
|
actions?: tailwind_variants.ClassValue;
|
|
42
43
|
};
|
|
43
44
|
};
|
|
@@ -74,7 +75,11 @@ type ForceUpdateScreenProps = Omit<React.ComponentProps<"main">, "title"> & {
|
|
|
74
75
|
/** Checks the backend again. */
|
|
75
76
|
onRetry?: () => void;
|
|
76
77
|
};
|
|
77
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* The forced update: one thing to do, and the way to do it.
|
|
80
|
+
* @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.
|
|
81
|
+
*/
|
|
78
82
|
declare function ForceUpdateScreen({ title, message, versionLabel, mark, updateLabel, onUpdate, retryLabel, onRetry, className, ...props }: ForceUpdateScreenProps): React.JSX.Element;
|
|
79
83
|
|
|
80
|
-
export { ForceUpdateScreen,
|
|
84
|
+
export { ForceUpdateScreen, forceUpdateScreen };
|
|
85
|
+
export type { ForceUpdateScreenProps };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
warnDeprecated
|
|
3
|
+
} from "./chunk-KGLRZMCY.js";
|
|
1
4
|
import "./chunk-TDG7ED2W.js";
|
|
2
5
|
import {
|
|
3
6
|
Button
|
|
@@ -20,6 +23,7 @@ var forceUpdateScreen = tv({
|
|
|
20
23
|
}
|
|
21
24
|
});
|
|
22
25
|
function ForceUpdateScreen({ title, message, versionLabel, mark, updateLabel, onUpdate, retryLabel, onRetry, className, ...props }) {
|
|
26
|
+
warnDeprecated("force-update-screen");
|
|
23
27
|
const s = forceUpdateScreen();
|
|
24
28
|
return /* @__PURE__ */ jsxs("main", { "data-kind": "update-force", className: s.root({ className }), ...props, children: [
|
|
25
29
|
mark && /* @__PURE__ */ jsx("div", { "aria-hidden": true, className: s.mark(), children: mark }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/force-update-screen/force-update-screen.tsx"],"sourcesContent":["// Server-safe. The blocking screen: this version can no longer run. It replaces the app, it is not laid over it —\n// nothing behind it is reachable. Every word is a prop; the store URL and the versions come from the backend.\nimport { Button } from \"@krizaka/ui/button\";\nimport type * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nexport const forceUpdateScreen = tv({\n slots: {\n root: \"mx-auto flex min-h-dvh w-full max-w-md flex-col items-center justify-center gap-4 px-6 py-12 text-center text-fg\",\n mark: \"flex h-24 w-24 items-center justify-center [&>svg]:h-24 [&>svg]:w-24\",\n title: \"text-2xl font-semibold text-fg\",\n message: \"text-fg-secondary\",\n version: \"font-mono text-xs text-fg-tertiary\",\n actions: \"mt-2 flex w-full flex-col gap-2\",\n },\n});\n\nexport type ForceUpdateScreenProps = Omit<React.ComponentProps<\"main\">, \"title\"> & {\n /** The headline (“Update to keep going”). */\n title: React.ReactNode;\n /** Why, in a sentence — the backend's localized `message`. */\n message?: React.ReactNode;\n /** The versions, in words and mono (“You have 1.1.0 · 1.2.0 or later is required”). */\n versionLabel?: React.ReactNode;\n /** The product's mark or mascot (decorative). */\n mark?: React.ReactNode;\n /** The button that updates (“Update the app”). */\n updateLabel: string;\n /** Opens the store page. */\n onUpdate: () => void;\n /** A secondary way (“Check again”) once the update is installed — optional. */\n retryLabel?: string;\n /** Checks the backend again. */\n onRetry?: () => void;\n};\n\n
|
|
1
|
+
{"version":3,"sources":["../src/force-update-screen/force-update-screen.tsx"],"sourcesContent":["// Server-safe. The blocking screen: this version can no longer run. It replaces the app, it is not laid over it —\n// nothing behind it is reachable. Every word is a prop; the store URL and the versions come from the backend.\nimport { Button } from \"@krizaka/ui/button\";\nimport type * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nimport { warnDeprecated } from \"../deprecated\";\n\n/** @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0. */\nexport const forceUpdateScreen = tv({\n slots: {\n root: \"mx-auto flex min-h-dvh w-full max-w-md flex-col items-center justify-center gap-4 px-6 py-12 text-center text-fg\",\n mark: \"flex h-24 w-24 items-center justify-center [&>svg]:h-24 [&>svg]:w-24\",\n title: \"text-2xl font-semibold text-fg\",\n message: \"text-fg-secondary\",\n version: \"font-mono text-xs text-fg-tertiary\",\n actions: \"mt-2 flex w-full flex-col gap-2\",\n },\n});\n\nexport type ForceUpdateScreenProps = Omit<React.ComponentProps<\"main\">, \"title\"> & {\n /** The headline (“Update to keep going”). */\n title: React.ReactNode;\n /** Why, in a sentence — the backend's localized `message`. */\n message?: React.ReactNode;\n /** The versions, in words and mono (“You have 1.1.0 · 1.2.0 or later is required”). */\n versionLabel?: React.ReactNode;\n /** The product's mark or mascot (decorative). */\n mark?: React.ReactNode;\n /** The button that updates (“Update the app”). */\n updateLabel: string;\n /** Opens the store page. */\n onUpdate: () => void;\n /** A secondary way (“Check again”) once the update is installed — optional. */\n retryLabel?: string;\n /** Checks the backend again. */\n onRetry?: () => void;\n};\n\n/**\n * The forced update: one thing to do, and the way to do it.\n * @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.\n */\nexport function ForceUpdateScreen({ title, message, versionLabel, mark, updateLabel, onUpdate, retryLabel, onRetry, className, ...props }: ForceUpdateScreenProps) {\n warnDeprecated(\"force-update-screen\");\n const s = forceUpdateScreen();\n return (\n <main data-kind=\"update-force\" className={s.root({ className })} {...props}>\n {mark && (\n <div aria-hidden className={s.mark()}>\n {mark}\n </div>\n )}\n <h1 className={s.title()}>{title}</h1>\n {message && <p className={s.message()}>{message}</p>}\n {versionLabel && <p className={s.version()}>{versionLabel}</p>}\n <div className={s.actions()}>\n <Button variant=\"primary\" size=\"lg\" autoFocus onClick={onUpdate}>\n {updateLabel}\n </Button>\n {retryLabel && onRetry && (\n <Button variant=\"ghost\" onClick={onRetry}>\n {retryLabel}\n </Button>\n )}\n </div>\n </main>\n );\n}\n"],"mappings":";;;;;;;;;;;;AAIA,SAAS,UAAU;AA6CX,cAOF,YAPE;AAxCD,IAAM,oBAAoB,GAAG;AAAA,EAClC,OAAO;AAAA,IACL,MAAM;AAAA,IACN,MAAM;AAAA,IACN,OAAO;AAAA,IACP,SAAS;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,EACX;AACF,CAAC;AAyBM,SAAS,kBAAkB,EAAE,OAAO,SAAS,cAAc,MAAM,aAAa,UAAU,YAAY,SAAS,WAAW,GAAG,MAAM,GAA2B;AACjK,iBAAe,qBAAqB;AACpC,QAAM,IAAI,kBAAkB;AAC5B,SACE,qBAAC,UAAK,aAAU,gBAAe,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,GAAI,GAAG,OAClE;AAAA,YACC,oBAAC,SAAI,eAAW,MAAC,WAAW,EAAE,KAAK,GAChC,gBACH;AAAA,IAEF,oBAAC,QAAG,WAAW,EAAE,MAAM,GAAI,iBAAM;AAAA,IAChC,WAAW,oBAAC,OAAE,WAAW,EAAE,QAAQ,GAAI,mBAAQ;AAAA,IAC/C,gBAAgB,oBAAC,OAAE,WAAW,EAAE,QAAQ,GAAI,wBAAa;AAAA,IAC1D,qBAAC,SAAI,WAAW,EAAE,QAAQ,GACxB;AAAA,0BAAC,UAAO,SAAQ,WAAU,MAAK,MAAK,WAAS,MAAC,SAAS,UACpD,uBACH;AAAA,MACC,cAAc,WACb,oBAAC,UAAO,SAAQ,SAAQ,SAAS,SAC9B,sBACH;AAAA,OAEJ;AAAA,KACF;AAEJ;","names":[]}
|
package/dist/form/server.d.ts
CHANGED
|
@@ -93,4 +93,5 @@ declare function validateForm<O>(schema: Schema<O>, input: unknown, options?: {
|
|
|
93
93
|
/** A thrown error as a refusal a form reads — a `KrizakaApiError` keeps its status, code, fields and retry time. */
|
|
94
94
|
declare function formProblem(error: unknown): FormProblem;
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { formProblem, validateForm };
|
|
97
|
+
export type { FormActionResult, FormFieldError, FormProblem };
|
package/dist/form.d.ts
CHANGED
|
@@ -511,4 +511,5 @@ declare function useFormWithAction<F extends {
|
|
|
511
511
|
useFormWithAction: (...args: never[]) => unknown;
|
|
512
512
|
}>(form: F, ...args: Parameters<F["useFormWithAction"]>): ReturnType<F["useFormWithAction"]>;
|
|
513
513
|
|
|
514
|
-
export { Checkbox,
|
|
514
|
+
export { Checkbox, Combobox, DateField, FieldArray, FileUpload, FormError, FormField, Money, RadioGroup, Select, Slider, Submit, Switch, TagInput, TextArea, TextField, Watch, composeDate, createKrizakaForm, currencySymbol, datePartsOrder, formMessage, formMessages, isRealDate, issueError, issuesToFields, latestBirthDate, moneyInputText, parseMoney, problemToErrors, useFormContext, useFormStatus, useFormValue, useFormWithAction, useKrizakaField, useKrizakaFieldArray };
|
|
515
|
+
export type { CheckboxProps, ComboboxProps, DateFieldProps, FieldArrayProps, FieldCheck, FieldName, FieldOptions, FileUploadProps, FormActionResult, FormContextValue, FormErrorProps, FormFieldError, FormFieldProps, FormI18n, FormMessageValue, FormOption, FormOutput, FormProblem, FormProps, FormSchema, FormValues, KrizakaField, KrizakaFieldArray, KrizakaFormDefinition, KrizakaFormFactory, KrizakaFormInstance, MoneyProps, RadioGroupProps, SelectProps, SliderProps, SubmitProps, TagsProps, TextAreaProps, TextFieldProps, UseKrizakaFormOptions, WatchProps };
|
package/dist/gallery-page.d.ts
CHANGED
|
@@ -44,7 +44,11 @@ type GalleryPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
|
44
44
|
/** The app's link component (Next's `Link`). */
|
|
45
45
|
linkAs?: LinkComponent;
|
|
46
46
|
};
|
|
47
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* A demo or a gallery: hero, filters, media in staggered columns, closing call.
|
|
49
|
+
* @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.
|
|
50
|
+
*/
|
|
48
51
|
declare function GalleryPage({ brand, back, eyebrow, title, lead, actions, filters, galleryLabel, items, closing, linkAs, className, children, ...props }: GalleryPageProps): React.JSX.Element;
|
|
49
52
|
|
|
50
|
-
export {
|
|
53
|
+
export { GalleryPage };
|
|
54
|
+
export type { GalleryItem, GalleryPageProps };
|
package/dist/gallery-page.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
3
|
} from "./chunk-KH3JOEPY.js";
|
|
4
|
+
import {
|
|
5
|
+
warnDeprecated
|
|
6
|
+
} from "./chunk-KGLRZMCY.js";
|
|
4
7
|
|
|
5
8
|
// src/gallery-page/gallery-page.tsx
|
|
6
9
|
import { CtaPanel } from "@krizaka/ui/cta-panel";
|
|
@@ -8,6 +11,7 @@ import { Section } from "@krizaka/ui/page";
|
|
|
8
11
|
import { PageHero } from "@krizaka/ui/page-hero";
|
|
9
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
13
|
function GalleryPage({ brand, back, eyebrow, title, lead, actions, filters, galleryLabel, items, closing, linkAs, className, children, ...props }) {
|
|
14
|
+
warnDeprecated("gallery-page");
|
|
11
15
|
return /* @__PURE__ */ jsxs("div", { className: cn(brand && "brand-" + brand, className), ...props, children: [
|
|
12
16
|
/* @__PURE__ */ jsx(PageHero, { back, linkAs, eyebrow, title, lead, align: "center", backdrop: "plain", children: actions }),
|
|
13
17
|
/* @__PURE__ */ jsxs(Section, { "aria-label": galleryLabel, spacing: "sm", children: [
|
package/dist/gallery-page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/gallery-page/gallery-page.tsx"],"sourcesContent":["// Server-safe. A demo or a gallery (blocks.css `.kz-tpl-gallery`): the hero, the filters as chips, then the pieces in\n// columns of different heights — each a framed media with its title and caption (a recording of the real product, an\n// image it generated, with its prompt) — and the closing call.\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { Section } from \"@krizaka/ui/page\";\nimport type { LinkComponent } from \"@krizaka/ui/page-hero\";\nimport { PageHero } from \"@krizaka/ui/page-hero\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\n\nexport interface GalleryItem {\n /** A stable key. */\n id: string;\n /** The media: an `<img>` with its `alt`, a `<video>` with its label, a VideoPlayer. */\n media: React.ReactNode;\n /** Its title. */\n title: React.ReactNode;\n /** One line: what it shows, how it was made (a prompt, a seed). */\n caption?: React.ReactNode;\n}\n\nexport type GalleryPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** The brand the page wears (`.brand-<id>`). */\n brand?: string;\n /** The way back. */\n back?: { href: string; label: string };\n /** A mono line above the title. */\n eyebrow?: React.ReactNode;\n /** The page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** The hero's actions. */\n actions?: React.ReactNode;\n /** Above the pieces: the filters (ChipLink, a Chip group) — the address says which one is on. */\n filters?: React.ReactNode;\n /** The gallery's accessible name. */\n galleryLabel: string;\n /** The pieces, featured first. */\n items: readonly GalleryItem[];\n /** After the gallery: how it was made, the facts. */\n children?: React.ReactNode;\n /** The closing call. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n /** The app's link component (Next's `Link`). */\n linkAs?: LinkComponent;\n};\n\n
|
|
1
|
+
{"version":3,"sources":["../src/gallery-page/gallery-page.tsx"],"sourcesContent":["// Server-safe. A demo or a gallery (blocks.css `.kz-tpl-gallery`): the hero, the filters as chips, then the pieces in\n// columns of different heights — each a framed media with its title and caption (a recording of the real product, an\n// image it generated, with its prompt) — and the closing call.\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { Section } from \"@krizaka/ui/page\";\nimport type { LinkComponent } from \"@krizaka/ui/page-hero\";\nimport { PageHero } from \"@krizaka/ui/page-hero\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { warnDeprecated } from \"../deprecated\";\n\nexport interface GalleryItem {\n /** A stable key. */\n id: string;\n /** The media: an `<img>` with its `alt`, a `<video>` with its label, a VideoPlayer. */\n media: React.ReactNode;\n /** Its title. */\n title: React.ReactNode;\n /** One line: what it shows, how it was made (a prompt, a seed). */\n caption?: React.ReactNode;\n}\n\nexport type GalleryPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** The brand the page wears (`.brand-<id>`). */\n brand?: string;\n /** The way back. */\n back?: { href: string; label: string };\n /** A mono line above the title. */\n eyebrow?: React.ReactNode;\n /** The page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** The hero's actions. */\n actions?: React.ReactNode;\n /** Above the pieces: the filters (ChipLink, a Chip group) — the address says which one is on. */\n filters?: React.ReactNode;\n /** The gallery's accessible name. */\n galleryLabel: string;\n /** The pieces, featured first. */\n items: readonly GalleryItem[];\n /** After the gallery: how it was made, the facts. */\n children?: React.ReactNode;\n /** The closing call. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n /** The app's link component (Next's `Link`). */\n linkAs?: LinkComponent;\n};\n\n/**\n * A demo or a gallery: hero, filters, media in staggered columns, closing call.\n * @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.\n */\nexport function GalleryPage({ brand, back, eyebrow, title, lead, actions, filters, galleryLabel, items, closing, linkAs, className, children, ...props }: GalleryPageProps) {\n warnDeprecated(\"gallery-page\");\n return (\n <div className={cn(brand && \"brand-\" + brand, className)} {...props}>\n <PageHero back={back} linkAs={linkAs} eyebrow={eyebrow} title={title} lead={lead} align=\"center\" backdrop=\"plain\">\n {actions}\n </PageHero>\n <Section aria-label={galleryLabel} spacing=\"sm\">\n {filters && <div className=\"kz-tpl-filters\">{filters}</div>}\n <ul className=\"kz-tpl-gallery\">\n {items.map((item) => (\n <li key={item.id}>\n <figure className=\"kz-tpl-figure\">\n <div className=\"kz-tpl-figure-media\">{item.media}</div>\n <figcaption>\n <strong>{item.title}</strong>\n {item.caption && <span>{item.caption}</span>}\n </figcaption>\n </figure>\n </li>\n ))}\n </ul>\n </Section>\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"gallery-closing\">\n <CtaPanel id=\"gallery-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAGA,SAAS,gBAAgB;AACzB,SAAS,eAAe;AAExB,SAAS,gBAAgB;AAoDnB,cAUU,YAVV;AAJC,SAAS,YAAY,EAAE,OAAO,MAAM,SAAS,OAAO,MAAM,SAAS,SAAS,cAAc,OAAO,SAAS,QAAQ,WAAW,UAAU,GAAG,MAAM,GAAqB;AAC1K,iBAAe,cAAc;AAC7B,SACE,qBAAC,SAAI,WAAW,GAAG,SAAS,WAAW,OAAO,SAAS,GAAI,GAAG,OAC5D;AAAA,wBAAC,YAAS,MAAY,QAAgB,SAAkB,OAAc,MAAY,OAAM,UAAS,UAAS,SACvG,mBACH;AAAA,IACA,qBAAC,WAAQ,cAAY,cAAc,SAAQ,MACxC;AAAA,iBAAW,oBAAC,SAAI,WAAU,kBAAkB,mBAAQ;AAAA,MACrD,oBAAC,QAAG,WAAU,kBACX,gBAAM,IAAI,CAAC,SACV,oBAAC,QACC,+BAAC,YAAO,WAAU,iBAChB;AAAA,4BAAC,SAAI,WAAU,uBAAuB,eAAK,OAAM;AAAA,QACjD,qBAAC,gBACC;AAAA,8BAAC,YAAQ,eAAK,OAAM;AAAA,UACnB,KAAK,WAAW,oBAAC,UAAM,eAAK,SAAQ;AAAA,WACvC;AAAA,SACF,KAPO,KAAK,EAQd,CACD,GACH;AAAA,OACF;AAAA,IACC;AAAA,IACA,WACC,oBAAC,WAAQ,SAAQ,MAAK,mBAAgB,mBACpC,8BAAC,YAAS,IAAG,mBAAkB,OAAO,QAAQ,OAAO,MAAM,QAAQ,MAAM,QAAM,MAC5E,kBAAQ,SACX,GACF;AAAA,KAEJ;AAEJ;","names":[]}
|
package/dist/genui.d.ts
CHANGED
|
@@ -218,4 +218,5 @@ declare function formatGenUiValue(value: unknown, format: GenUiFormat | undefine
|
|
|
218
218
|
/** `Column`, `Row`, `Text`, `Card`, `Callout`, `Table` — the catalog @krizaka/ui draws on its own. */
|
|
219
219
|
declare const baseGenUiCatalog: GenUiCatalog;
|
|
220
220
|
|
|
221
|
-
export { GENUI_CATALOG_ID, GENUI_FORMATS, GENUI_LIMITS, GENUI_VERSION,
|
|
221
|
+
export { GENUI_CATALOG_ID, GENUI_FORMATS, GENUI_LIMITS, GENUI_VERSION, GenUiStream, GenUiSurface, allowKeys, applyLine, applyMessage, baseGenUiCatalog, checkBinding, checkChildren, checkCurrency, checkEnum, checkId, checkNumber, checkText, emptyGenUiState, extractGenUi, formatGenUiValue, genUiLabels, isBinding, leadingObject, parsePath, readPath, readStream, sanitizeData, validateMessage };
|
|
222
|
+
export type { GenUiBinding, GenUiCatalog, GenUiComponent, GenUiEntry, GenUiExtract, GenUiFormat, GenUiLabels, GenUiMessage, GenUiPropsCheck, GenUiRenderContext, GenUiResult, GenUiState, GenUiStreamProps, GenUiSurfaceProps, GenUiSurfaceState };
|
package/dist/genui.js
CHANGED
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
} from "./chunk-YKOLME7R.js";
|
|
8
8
|
import {
|
|
9
9
|
DataTable
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-5LANVCK7.js";
|
|
11
|
+
import "./chunk-3X3OF4TI.js";
|
|
12
12
|
import "./chunk-JXLDUDTD.js";
|
|
13
13
|
import "./chunk-3DHNN5V7.js";
|
|
14
14
|
import "./chunk-KVDB4GXV.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-F6JTHPHE.js";
|
|
16
|
+
import "./chunk-UYGUSYIC.js";
|
|
17
17
|
import "./chunk-D3T54RSL.js";
|
|
18
18
|
import "./chunk-J3NC6ER4.js";
|
|
19
19
|
import {
|
|
20
20
|
cn
|
|
21
21
|
} from "./chunk-NSLXEDIS.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-VB7MWE2N.js";
|
|
23
23
|
import "./chunk-ZIXB33X7.js";
|
|
24
24
|
import "./chunk-FZBWEDQI.js";
|
|
25
25
|
import "./chunk-CPA5CF35.js";
|
|
@@ -19,4 +19,5 @@ declare const MASCOT_MOODS: readonly ["welcome", "thinking", "success", "empty",
|
|
|
19
19
|
type MascotMood = (typeof MASCOT_MOODS)[number];
|
|
20
20
|
type MascotTone = "brand" | "own";
|
|
21
21
|
|
|
22
|
-
export {
|
|
22
|
+
export { MASCOT_BIRDS as c, MASCOT_MOODS as d };
|
|
23
|
+
export type { MascotBird as M, MascotMood as a, MascotTone as b };
|
package/dist/glossary-term.d.ts
CHANGED
|
@@ -9,4 +9,5 @@ interface GlossaryTermProps {
|
|
|
9
9
|
/** An underlined glossary word with a keyboard- and screen-reader-accessible definition tooltip. */
|
|
10
10
|
declare function GlossaryTerm({ term, definition }: GlossaryTermProps): React.JSX.Element;
|
|
11
11
|
|
|
12
|
-
export { GlossaryTerm
|
|
12
|
+
export { GlossaryTerm };
|
|
13
|
+
export type { GlossaryTermProps };
|
package/dist/glossary.d.ts
CHANGED
|
@@ -17,4 +17,5 @@ interface GlossaryProps extends Omit<React.ComponentProps<"section">, "children"
|
|
|
17
17
|
/** A page or panel listing the terms and definitions from the host's glossary catalogue. */
|
|
18
18
|
declare function Glossary({ title, terms, className, ...props }: GlossaryProps): React.JSX.Element;
|
|
19
19
|
|
|
20
|
-
export { Glossary
|
|
20
|
+
export { Glossary };
|
|
21
|
+
export type { GlossaryEntry, GlossaryProps };
|
package/dist/glow-card.d.ts
CHANGED
|
@@ -18,4 +18,5 @@ type GlowCardProps = React.ComponentProps<"div"> & {
|
|
|
18
18
|
/** A card ringed by the brand: a still hairline of its gradient, a step brighter under the pointer. Content is yours. */
|
|
19
19
|
declare function GlowCard({ glow, asChild, alive, className, ...props }: GlowCardProps): React.JSX.Element;
|
|
20
20
|
|
|
21
|
-
export { GlowCard
|
|
21
|
+
export { GlowCard };
|
|
22
|
+
export type { GlowCardProps };
|
package/dist/goal-gauge.d.ts
CHANGED
|
@@ -35,4 +35,5 @@ type GoalGaugeProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
|
35
35
|
/** A goal in steps: `role="meter"`, the reached steps lit, the value in words beside the label. */
|
|
36
36
|
declare function GoalGauge({ label, segments, value, valueText, mode, showLabel, variant, brand, className, style, ...props }: GoalGaugeProps): React.JSX.Element;
|
|
37
37
|
|
|
38
|
-
export { GoalGauge
|
|
38
|
+
export { GoalGauge };
|
|
39
|
+
export type { GoalGaugeProps };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type GradeStampProps = Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> & {
|
|
4
|
+
/** The measured grade, from `0` to `outOf`. Never invented: it comes from the host's data. */
|
|
5
|
+
value: number;
|
|
6
|
+
/** The scale. @default 20 */
|
|
7
|
+
outOf?: number;
|
|
8
|
+
/** The remark in the margin, written like a teacher (`Très bien, continue`). */
|
|
9
|
+
remark?: React.ReactNode;
|
|
10
|
+
/** Where the number comes from (`Vitest coverage, 2026-10-23`): shown in the tooltip and read by assistive technology. */
|
|
11
|
+
source: string;
|
|
12
|
+
/** The word before the source for assistive technology. @default "Source" */
|
|
13
|
+
sourceLabel?: string;
|
|
14
|
+
/** The locale of the number (`17,5` in French). @default "en" */
|
|
15
|
+
locale?: string;
|
|
16
|
+
/** The tilt in degrees. @default -4 */
|
|
17
|
+
tilt?: number;
|
|
18
|
+
};
|
|
19
|
+
/** A teacher's red-ink grade, `18/20` with a remark, only from real data: its source is in a tooltip. */
|
|
20
|
+
declare function GradeStamp({ value, outOf, remark, source, sourceLabel, locale, tilt, className, style, ...props }: GradeStampProps): React.JSX.Element | null;
|
|
21
|
+
|
|
22
|
+
export { GradeStamp };
|
|
23
|
+
export type { GradeStampProps };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Tooltip
|
|
4
|
+
} from "./chunk-27AWSJTK.js";
|
|
5
|
+
import {
|
|
6
|
+
cn
|
|
7
|
+
} from "./chunk-WU4VLSEA.js";
|
|
8
|
+
|
|
9
|
+
// src/grade-stamp/grade-stamp.tsx
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
function GradeStamp({ value, outOf = 20, remark, source, sourceLabel = "Source", locale = "en", tilt = -4, className, style, ...props }) {
|
|
12
|
+
if (!Number.isFinite(value) || !Number.isFinite(outOf) || outOf <= 0 || value < 0 || value > outOf || !source.trim()) return null;
|
|
13
|
+
const format = new Intl.NumberFormat(locale, { maximumFractionDigits: 1 });
|
|
14
|
+
return /* @__PURE__ */ jsx(Tooltip, { content: source, children: /* @__PURE__ */ jsxs(
|
|
15
|
+
"span",
|
|
16
|
+
{
|
|
17
|
+
className: cn("kz-grade", className),
|
|
18
|
+
tabIndex: 0,
|
|
19
|
+
style: { ...style, ["--kz-grade-tilt"]: `${tilt}deg` },
|
|
20
|
+
...props,
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ jsxs("span", { className: "kz-grade-score", children: [
|
|
23
|
+
format.format(value),
|
|
24
|
+
/* @__PURE__ */ jsxs("span", { className: "kz-grade-out", children: [
|
|
25
|
+
"/",
|
|
26
|
+
format.format(outOf)
|
|
27
|
+
] })
|
|
28
|
+
] }),
|
|
29
|
+
remark ? /* @__PURE__ */ jsx("span", { className: "kz-grade-remark", children: remark }) : null,
|
|
30
|
+
/* @__PURE__ */ jsxs("span", { className: "kz-sr-only", children: [
|
|
31
|
+
sourceLabel,
|
|
32
|
+
": ",
|
|
33
|
+
source
|
|
34
|
+
] })
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
) });
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
GradeStamp
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=grade-stamp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/grade-stamp/grade-stamp.tsx"],"sourcesContent":["// Client (a tooltip). The teacher's red-ink grade of the Cahier (blocks.css): « 18/20 » and a short remark, stamped slightly\n// askew. A grade is a fact, never a decoration: `value` and `source` are required, the host passes a measured value (test\n// coverage, Lighthouse, a bundle size) and says where it comes from, which the tooltip and the screen reader both read. A value\n// that is not a finite number within 0 and `outOf`, or a missing source, renders nothing — never a made-up score.\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { Tooltip } from \"../tooltip/tooltip\";\n\nexport type GradeStampProps = Omit<React.HTMLAttributes<HTMLSpanElement>, \"children\"> & {\n /** The measured grade, from `0` to `outOf`. Never invented: it comes from the host's data. */\n value: number;\n /** The scale. @default 20 */\n outOf?: number;\n /** The remark in the margin, written like a teacher (`Très bien, continue`). */\n remark?: React.ReactNode;\n /** Where the number comes from (`Vitest coverage, 2026-10-23`): shown in the tooltip and read by assistive technology. */\n source: string;\n /** The word before the source for assistive technology. @default \"Source\" */\n sourceLabel?: string;\n /** The locale of the number (`17,5` in French). @default \"en\" */\n locale?: string;\n /** The tilt in degrees. @default -4 */\n tilt?: number;\n};\n\n/** A teacher's red-ink grade, `18/20` with a remark, only from real data: its source is in a tooltip. */\nexport function GradeStamp({ value, outOf = 20, remark, source, sourceLabel = \"Source\", locale = \"en\", tilt = -4, className, style, ...props }: GradeStampProps) {\n if (!Number.isFinite(value) || !Number.isFinite(outOf) || outOf <= 0 || value < 0 || value > outOf || !source.trim()) return null;\n const format = new Intl.NumberFormat(locale, { maximumFractionDigits: 1 });\n return (\n <Tooltip content={source}>\n <span\n className={cn(\"kz-grade\", className)}\n tabIndex={0}\n style={{ ...style, [\"--kz-grade-tilt\" as string]: `${tilt}deg` }}\n {...props}\n >\n <span className=\"kz-grade-score\">\n {format.format(value)}\n <span className=\"kz-grade-out\">/{format.format(outOf)}</span>\n </span>\n {remark ? <span className=\"kz-grade-remark\">{remark}</span> : null}\n <span className=\"kz-sr-only\">\n {sourceLabel}: {source}\n </span>\n </span>\n </Tooltip>\n );\n}\n"],"mappings":";;;;;;;;;AAwCU,SAEQ,KAFR;AAbH,SAAS,WAAW,EAAE,OAAO,QAAQ,IAAI,QAAQ,QAAQ,cAAc,UAAU,SAAS,MAAM,OAAO,IAAI,WAAW,OAAO,GAAG,MAAM,GAAoB;AAC/J,MAAI,CAAC,OAAO,SAAS,KAAK,KAAK,CAAC,OAAO,SAAS,KAAK,KAAK,SAAS,KAAK,QAAQ,KAAK,QAAQ,SAAS,CAAC,OAAO,KAAK,EAAG,QAAO;AAC7H,QAAM,SAAS,IAAI,KAAK,aAAa,QAAQ,EAAE,uBAAuB,EAAE,CAAC;AACzE,SACE,oBAAC,WAAQ,SAAS,QAChB;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,YAAY,SAAS;AAAA,MACnC,UAAU;AAAA,MACV,OAAO,EAAE,GAAG,OAAO,CAAC,iBAA2B,GAAG,GAAG,IAAI,MAAM;AAAA,MAC9D,GAAG;AAAA,MAEJ;AAAA,6BAAC,UAAK,WAAU,kBACb;AAAA,iBAAO,OAAO,KAAK;AAAA,UACpB,qBAAC,UAAK,WAAU,gBAAe;AAAA;AAAA,YAAE,OAAO,OAAO,KAAK;AAAA,aAAE;AAAA,WACxD;AAAA,QACC,SAAS,oBAAC,UAAK,WAAU,mBAAmB,kBAAO,IAAU;AAAA,QAC9D,qBAAC,UAAK,WAAU,cACb;AAAA;AAAA,UAAY;AAAA,UAAG;AAAA,WAClB;AAAA;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
|
|
@@ -45,4 +45,5 @@ type HowItWorksPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
|
45
45
|
/** How a product works: the hero, a numbered timeline of steps with their visuals, then the details. */
|
|
46
46
|
declare function HowItWorksPage({ brand, back, eyebrow, title, lead, aside, stepsLabel, steps, closing, linkAs, className, children, ...props }: HowItWorksPageProps): React.JSX.Element;
|
|
47
47
|
|
|
48
|
-
export { HowItWorksPage
|
|
48
|
+
export { HowItWorksPage };
|
|
49
|
+
export type { HowItWorksPageProps, HowStep };
|
package/dist/image-cropper.d.ts
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
+
/** @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0. */
|
|
4
5
|
declare const imageCropper: tailwind_variants.TVReturnType<{
|
|
5
6
|
[key: string]: {
|
|
6
7
|
[key: string]: tailwind_variants.ClassValue | {
|
|
7
8
|
root?: tailwind_variants.ClassValue;
|
|
8
|
-
grid?: tailwind_variants.ClassValue;
|
|
9
9
|
media?: tailwind_variants.ClassValue;
|
|
10
10
|
round?: tailwind_variants.ClassValue;
|
|
11
11
|
frame?: tailwind_variants.ClassValue;
|
|
12
|
+
grid?: tailwind_variants.ClassValue;
|
|
12
13
|
};
|
|
13
14
|
};
|
|
14
15
|
} | {
|
|
15
16
|
[x: string]: {
|
|
16
17
|
[x: string]: tailwind_variants.ClassValue | {
|
|
17
18
|
root?: tailwind_variants.ClassValue;
|
|
18
|
-
grid?: tailwind_variants.ClassValue;
|
|
19
19
|
media?: tailwind_variants.ClassValue;
|
|
20
20
|
round?: tailwind_variants.ClassValue;
|
|
21
21
|
frame?: tailwind_variants.ClassValue;
|
|
22
|
+
grid?: tailwind_variants.ClassValue;
|
|
22
23
|
};
|
|
23
24
|
};
|
|
24
25
|
} | {}, {
|
|
@@ -31,10 +32,10 @@ declare const imageCropper: tailwind_variants.TVReturnType<{
|
|
|
31
32
|
[key: string]: {
|
|
32
33
|
[key: string]: tailwind_variants.ClassValue | {
|
|
33
34
|
root?: tailwind_variants.ClassValue;
|
|
34
|
-
grid?: tailwind_variants.ClassValue;
|
|
35
35
|
media?: tailwind_variants.ClassValue;
|
|
36
36
|
round?: tailwind_variants.ClassValue;
|
|
37
37
|
frame?: tailwind_variants.ClassValue;
|
|
38
|
+
grid?: tailwind_variants.ClassValue;
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
} | {}, {
|
|
@@ -56,7 +57,10 @@ type CropValue = {
|
|
|
56
57
|
y: number;
|
|
57
58
|
zoom: number;
|
|
58
59
|
};
|
|
59
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* The crop in pixels of the source: what to cut from an image of `width` × `height` for a frame of `aspect`.
|
|
62
|
+
* @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.
|
|
63
|
+
*/
|
|
60
64
|
declare function cropRect(value: CropValue, source: {
|
|
61
65
|
width: number;
|
|
62
66
|
height: number;
|
|
@@ -74,6 +78,7 @@ type ImageCropperLabels = {
|
|
|
74
78
|
/** The zoom slider ("Zoom"). */
|
|
75
79
|
zoom: string;
|
|
76
80
|
};
|
|
81
|
+
/** @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0. */
|
|
77
82
|
declare const imageCropperLabels: ImageCropperLabels;
|
|
78
83
|
type ImageCropperProps = {
|
|
79
84
|
/** The picture to crop. Or `children`: a `<video>` (with the class it is given through `mediaClassName`). */
|
|
@@ -109,7 +114,11 @@ type ImageCropperProps = {
|
|
|
109
114
|
/** Classes merged on the root. */
|
|
110
115
|
className?: string;
|
|
111
116
|
};
|
|
112
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Chooses what a fixed frame keeps of a picture or a video: drag, zoom, keyboard; a focus point and a zoom out.
|
|
119
|
+
* @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.
|
|
120
|
+
*/
|
|
113
121
|
declare function ImageCropper({ src, alt, children, naturalSize, aspect, round, value: valueProp, defaultValue, onValueChange, maxZoom, showZoom, labels: given, className, }: ImageCropperProps): React.JSX.Element;
|
|
114
122
|
|
|
115
|
-
export {
|
|
123
|
+
export { ImageCropper, cropRect, imageCropper, imageCropperLabels };
|
|
124
|
+
export type { CropValue, ImageCropperLabels, ImageCropperProps };
|
package/dist/image-cropper.js
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Slider
|
|
4
4
|
} from "./chunk-ADRUEPYC.js";
|
|
5
|
+
import {
|
|
6
|
+
warnDeprecated
|
|
7
|
+
} from "./chunk-BDIU5LZB.js";
|
|
5
8
|
import "./chunk-HJFRHYCI.js";
|
|
6
9
|
import "./chunk-NSLXEDIS.js";
|
|
7
10
|
import {
|
|
@@ -49,6 +52,7 @@ function ImageCropper({
|
|
|
49
52
|
labels: given,
|
|
50
53
|
className
|
|
51
54
|
}) {
|
|
55
|
+
warnDeprecated("image-cropper");
|
|
52
56
|
const labels = { ...imageCropperLabels, ...given };
|
|
53
57
|
const s = imageCropper();
|
|
54
58
|
const frame = React.useRef(null);
|