@krizaka/ui 3.55.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/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 +77 -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-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 +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 +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 +8 -7
- 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 +3 -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/waveform.d.ts +2 -1
- package/package.json +124 -39
- 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/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 +323 -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/waveform.json +1 -1
- package/dist/chunk-7U5TXA5Q.js.map +0 -1
- package/dist/chunk-OIMXKRXF.js +0 -179
- package/dist/chunk-OIMXKRXF.js.map +0 -1
- package/dist/chunk-QWKCNSPF.js.map +0 -1
- package/dist/chunk-VIPSZXO4.js.map +0 -1
- /package/dist/{chunk-AEP3K4YD.js.map → chunk-4GQH27IT.js.map} +0 -0
package/dist/chat.d.ts
CHANGED
|
@@ -4,13 +4,11 @@ import * as React from 'react';
|
|
|
4
4
|
declare const chat: tailwind_variants.TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
6
6
|
[key: string]: tailwind_variants.ClassValue | {
|
|
7
|
-
input?: tailwind_variants.ClassValue;
|
|
8
|
-
time?: tailwind_variants.ClassValue;
|
|
9
|
-
send?: tailwind_variants.ClassValue;
|
|
10
7
|
row?: tailwind_variants.ClassValue;
|
|
11
|
-
status?: tailwind_variants.ClassValue;
|
|
12
8
|
bubble?: tailwind_variants.ClassValue;
|
|
13
9
|
context?: tailwind_variants.ClassValue;
|
|
10
|
+
time?: tailwind_variants.ClassValue;
|
|
11
|
+
status?: tailwind_variants.ClassValue;
|
|
14
12
|
typing?: tailwind_variants.ClassValue;
|
|
15
13
|
dot?: tailwind_variants.ClassValue;
|
|
16
14
|
composer?: tailwind_variants.ClassValue;
|
|
@@ -19,6 +17,8 @@ declare const chat: tailwind_variants.TVReturnType<{
|
|
|
19
17
|
pillStatus?: tailwind_variants.ClassValue;
|
|
20
18
|
item?: tailwind_variants.ClassValue;
|
|
21
19
|
count?: tailwind_variants.ClassValue;
|
|
20
|
+
input?: tailwind_variants.ClassValue;
|
|
21
|
+
send?: tailwind_variants.ClassValue;
|
|
22
22
|
pill?: tailwind_variants.ClassValue;
|
|
23
23
|
pillInput?: tailwind_variants.ClassValue;
|
|
24
24
|
pillSend?: tailwind_variants.ClassValue;
|
|
@@ -27,13 +27,11 @@ declare const chat: tailwind_variants.TVReturnType<{
|
|
|
27
27
|
} | {
|
|
28
28
|
[x: string]: {
|
|
29
29
|
[x: string]: tailwind_variants.ClassValue | {
|
|
30
|
-
input?: tailwind_variants.ClassValue;
|
|
31
|
-
time?: tailwind_variants.ClassValue;
|
|
32
|
-
send?: tailwind_variants.ClassValue;
|
|
33
30
|
row?: tailwind_variants.ClassValue;
|
|
34
|
-
status?: tailwind_variants.ClassValue;
|
|
35
31
|
bubble?: tailwind_variants.ClassValue;
|
|
36
32
|
context?: tailwind_variants.ClassValue;
|
|
33
|
+
time?: tailwind_variants.ClassValue;
|
|
34
|
+
status?: tailwind_variants.ClassValue;
|
|
37
35
|
typing?: tailwind_variants.ClassValue;
|
|
38
36
|
dot?: tailwind_variants.ClassValue;
|
|
39
37
|
composer?: tailwind_variants.ClassValue;
|
|
@@ -42,6 +40,8 @@ declare const chat: tailwind_variants.TVReturnType<{
|
|
|
42
40
|
pillStatus?: tailwind_variants.ClassValue;
|
|
43
41
|
item?: tailwind_variants.ClassValue;
|
|
44
42
|
count?: tailwind_variants.ClassValue;
|
|
43
|
+
input?: tailwind_variants.ClassValue;
|
|
44
|
+
send?: tailwind_variants.ClassValue;
|
|
45
45
|
pill?: tailwind_variants.ClassValue;
|
|
46
46
|
pillInput?: tailwind_variants.ClassValue;
|
|
47
47
|
pillSend?: tailwind_variants.ClassValue;
|
|
@@ -69,13 +69,11 @@ declare const chat: tailwind_variants.TVReturnType<{
|
|
|
69
69
|
}, undefined, {
|
|
70
70
|
[key: string]: {
|
|
71
71
|
[key: string]: tailwind_variants.ClassValue | {
|
|
72
|
-
input?: tailwind_variants.ClassValue;
|
|
73
|
-
time?: tailwind_variants.ClassValue;
|
|
74
|
-
send?: tailwind_variants.ClassValue;
|
|
75
72
|
row?: tailwind_variants.ClassValue;
|
|
76
|
-
status?: tailwind_variants.ClassValue;
|
|
77
73
|
bubble?: tailwind_variants.ClassValue;
|
|
78
74
|
context?: tailwind_variants.ClassValue;
|
|
75
|
+
time?: tailwind_variants.ClassValue;
|
|
76
|
+
status?: tailwind_variants.ClassValue;
|
|
79
77
|
typing?: tailwind_variants.ClassValue;
|
|
80
78
|
dot?: tailwind_variants.ClassValue;
|
|
81
79
|
composer?: tailwind_variants.ClassValue;
|
|
@@ -84,6 +82,8 @@ declare const chat: tailwind_variants.TVReturnType<{
|
|
|
84
82
|
pillStatus?: tailwind_variants.ClassValue;
|
|
85
83
|
item?: tailwind_variants.ClassValue;
|
|
86
84
|
count?: tailwind_variants.ClassValue;
|
|
85
|
+
input?: tailwind_variants.ClassValue;
|
|
86
|
+
send?: tailwind_variants.ClassValue;
|
|
87
87
|
pill?: tailwind_variants.ClassValue;
|
|
88
88
|
pillInput?: tailwind_variants.ClassValue;
|
|
89
89
|
pillSend?: tailwind_variants.ClassValue;
|
|
@@ -232,4 +232,5 @@ type ConversationItemProps = {
|
|
|
232
232
|
/** A conversation in the list: avatar, name, the last message or typing, the time, the unread count. */
|
|
233
233
|
declare function ConversationItem({ name, avatar, preview, typing, time, unread, unreadLabel, online, onlineLabel, href, onSelect, className }: ConversationItemProps): React.JSX.Element;
|
|
234
234
|
|
|
235
|
-
export { ConversationItem,
|
|
235
|
+
export { ConversationItem, MessageBubble, MessageComposer, TypingIndicator, chat };
|
|
236
|
+
export type { ConversationItemProps, MessageBubbleLabels, MessageBubbleProps, MessageComposerProps, MessageStatus, TypingIndicatorProps };
|
package/dist/checkbox.d.ts
CHANGED
|
@@ -49,4 +49,5 @@ type CheckboxProps = Omit<React.ComponentProps<typeof Checkbox$1.Root>, "childre
|
|
|
49
49
|
/** A checkbox: `checked`/`defaultChecked` (`true` · `false` · `"indeterminate"`) + `onCheckedChange`. */
|
|
50
50
|
declare function Checkbox({ invalid, className, children, ...props }: CheckboxProps): React.JSX.Element;
|
|
51
51
|
|
|
52
|
-
export { Checkbox,
|
|
52
|
+
export { Checkbox, checkbox };
|
|
53
|
+
export type { CheckboxProps };
|
package/dist/chip-link.d.ts
CHANGED
|
@@ -50,4 +50,5 @@ type ChipLinkProps = React.ComponentProps<"a"> & {
|
|
|
50
50
|
/** A filter that is a link, with the look of `Chip`. */
|
|
51
51
|
declare function ChipLink({ size, selected, current, asChild, className, ...props }: ChipLinkProps): React.JSX.Element;
|
|
52
52
|
|
|
53
|
-
export { ChipLink,
|
|
53
|
+
export { ChipLink, chipVariants };
|
|
54
|
+
export type { ChipLinkProps, ChipVariantsProps };
|
package/dist/chip-row.d.ts
CHANGED
|
@@ -4,21 +4,21 @@ import * as React from 'react';
|
|
|
4
4
|
declare const chipRow: tailwind_variants.TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
6
6
|
[key: string]: tailwind_variants.ClassValue | {
|
|
7
|
-
list?: tailwind_variants.ClassValue;
|
|
8
|
-
hint?: tailwind_variants.ClassValue;
|
|
9
7
|
root?: tailwind_variants.ClassValue;
|
|
8
|
+
hint?: tailwind_variants.ClassValue;
|
|
10
9
|
item?: tailwind_variants.ClassValue;
|
|
11
10
|
badge?: tailwind_variants.ClassValue;
|
|
11
|
+
list?: tailwind_variants.ClassValue;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
} | {
|
|
15
15
|
[x: string]: {
|
|
16
16
|
[x: string]: tailwind_variants.ClassValue | {
|
|
17
|
-
list?: tailwind_variants.ClassValue;
|
|
18
|
-
hint?: tailwind_variants.ClassValue;
|
|
19
17
|
root?: tailwind_variants.ClassValue;
|
|
18
|
+
hint?: tailwind_variants.ClassValue;
|
|
20
19
|
item?: tailwind_variants.ClassValue;
|
|
21
20
|
badge?: tailwind_variants.ClassValue;
|
|
21
|
+
list?: tailwind_variants.ClassValue;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
} | {}, {
|
|
@@ -30,11 +30,11 @@ declare const chipRow: tailwind_variants.TVReturnType<{
|
|
|
30
30
|
}, undefined, {
|
|
31
31
|
[key: string]: {
|
|
32
32
|
[key: string]: tailwind_variants.ClassValue | {
|
|
33
|
-
list?: tailwind_variants.ClassValue;
|
|
34
|
-
hint?: tailwind_variants.ClassValue;
|
|
35
33
|
root?: tailwind_variants.ClassValue;
|
|
34
|
+
hint?: tailwind_variants.ClassValue;
|
|
36
35
|
item?: tailwind_variants.ClassValue;
|
|
37
36
|
badge?: tailwind_variants.ClassValue;
|
|
37
|
+
list?: tailwind_variants.ClassValue;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
} | {}, {
|
|
@@ -75,4 +75,5 @@ declare const ChipRow: typeof ChipRowRoot & {
|
|
|
75
75
|
Item: typeof ChipRowItem;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
export { ChipRow,
|
|
78
|
+
export { ChipRow, chipRow };
|
|
79
|
+
export type { ChipRowItemProps, ChipRowProps };
|
package/dist/chip.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
+
import { Marker } from '@krizaka/organize/contract';
|
|
5
|
+
export { Marker } from '@krizaka/organize/contract';
|
|
4
6
|
|
|
5
7
|
declare const chip: tailwind_variants.TVReturnType<{
|
|
6
8
|
readonly size: {
|
|
@@ -123,4 +125,56 @@ declare const Chip: typeof ChipBase & {
|
|
|
123
125
|
Group: typeof ChipGroup;
|
|
124
126
|
};
|
|
125
127
|
|
|
126
|
-
|
|
128
|
+
/** The six names of the closed palette (`@krizaka/organize` `MARKERS`; a test keeps them equal). */
|
|
129
|
+
declare const MARKERS: readonly Marker[];
|
|
130
|
+
|
|
131
|
+
/** The marker's shape: a `dot`, or the `ribbon` (a bookmark: a rectangle with a notch at the bottom). */
|
|
132
|
+
type MarkerShape = "dot" | "ribbon";
|
|
133
|
+
type TagMarkerProps = Omit<React.ComponentProps<"span">, "children"> & {
|
|
134
|
+
/** A name of the closed palette. */
|
|
135
|
+
marker: Marker;
|
|
136
|
+
/**
|
|
137
|
+
* dot · ribbon.
|
|
138
|
+
* @default "dot"
|
|
139
|
+
*/
|
|
140
|
+
shape?: MarkerShape;
|
|
141
|
+
};
|
|
142
|
+
/** The marker alone, decorative (`aria-hidden`): put the tag's name beside it. */
|
|
143
|
+
declare function TagMarker({ marker, shape, className, style, ...props }: TagMarkerProps): React.JSX.Element;
|
|
144
|
+
type TagChipProps = ChipProps & {
|
|
145
|
+
/** The tag's marker: a name of the closed palette (`blue · green · amber · red · violet · gray`). */
|
|
146
|
+
marker: Marker;
|
|
147
|
+
/**
|
|
148
|
+
* dot · ribbon.
|
|
149
|
+
* @default "dot"
|
|
150
|
+
*/
|
|
151
|
+
shape?: MarkerShape;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* A tag: its marker and its name. Alone a toggle (a filter), inside `Chip.Group` an item, or `removable` (a tag worn by a
|
|
155
|
+
* file) — the behaviour of `Chip`, with the marker before the name.
|
|
156
|
+
*/
|
|
157
|
+
declare function TagChip({ marker, shape, children, ...props }: TagChipProps): React.JSX.Element;
|
|
158
|
+
type MarkerPickerProps = {
|
|
159
|
+
/** The group's accessible name ("Colour of the tag"), passed translated. */
|
|
160
|
+
label: string;
|
|
161
|
+
/** The name of each colour, passed translated: `{ blue: "Blue", … }`. The swatches are named, never colour alone. */
|
|
162
|
+
names: Readonly<Record<Marker, string>>;
|
|
163
|
+
/** The colour chosen (controlled). */
|
|
164
|
+
value?: Marker;
|
|
165
|
+
/** The colour chosen at first, uncontrolled. */
|
|
166
|
+
defaultValue?: Marker;
|
|
167
|
+
/** Called with the colour chosen. */
|
|
168
|
+
onValueChange?: (value: Marker) => void;
|
|
169
|
+
/** The colours offered (default: the six). */
|
|
170
|
+
markers?: readonly Marker[];
|
|
171
|
+
/** Not available. */
|
|
172
|
+
disabled?: boolean;
|
|
173
|
+
/** Classes merged on the root. */
|
|
174
|
+
className?: string;
|
|
175
|
+
};
|
|
176
|
+
/** Recolours a tag from the closed palette: a radio group of swatches (arrow keys), the chosen one ticked and named. */
|
|
177
|
+
declare function MarkerPicker({ label, names, value, defaultValue, onValueChange, markers, disabled, className }: MarkerPickerProps): React.JSX.Element;
|
|
178
|
+
|
|
179
|
+
export { Chip, ChipGroup, MARKERS, MarkerPicker, TagChip, TagMarker, chip };
|
|
180
|
+
export type { ChipGroupProps, ChipProps, ChipVariants, MarkerPickerProps, MarkerShape, TagChipProps, TagMarkerProps };
|
package/dist/chip.js
CHANGED
|
@@ -2,12 +2,21 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Chip,
|
|
4
4
|
ChipGroup,
|
|
5
|
+
MARKERS,
|
|
6
|
+
MarkerPicker,
|
|
7
|
+
TagChip,
|
|
8
|
+
TagMarker,
|
|
5
9
|
chip
|
|
6
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BQ4EOR2O.js";
|
|
7
11
|
import "./chunk-D3T54RSL.js";
|
|
12
|
+
import "./chunk-NSLXEDIS.js";
|
|
8
13
|
export {
|
|
9
14
|
Chip,
|
|
10
15
|
ChipGroup,
|
|
16
|
+
MARKERS,
|
|
17
|
+
MarkerPicker,
|
|
18
|
+
TagChip,
|
|
19
|
+
TagMarker,
|
|
11
20
|
chip
|
|
12
21
|
};
|
|
13
22
|
//# sourceMappingURL=chip.js.map
|
package/dist/choice-grid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { StoryVariant } from './scroll-stage.js';
|
|
3
3
|
|
|
4
4
|
/** The app's link component (Next's `Link`, React Router's `Link`…): receives `href`, `className` and the children. */
|
|
5
5
|
type LinkComponent = React.ElementType<{
|
|
@@ -85,4 +85,5 @@ type ChoiceGridProps = Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue"
|
|
|
85
85
|
*/
|
|
86
86
|
declare function ChoiceGrid({ label, items, tag, caption, prompt, value: valueProp, defaultValue: defaultValueProp, onValueChange: onValueChangeProp, routeKey, routeValues, linkAs, columns, variant, brand, animated, className, style, ...props }: ChoiceGridProps): React.JSX.Element;
|
|
87
87
|
|
|
88
|
-
export { ChoiceGrid
|
|
88
|
+
export { ChoiceGrid };
|
|
89
|
+
export type { ChoiceGridProps, ChoiceItem };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cn
|
|
4
|
+
} from "./chunk-WU4VLSEA.js";
|
|
5
|
+
|
|
6
|
+
// src/tooltip/tooltip.tsx
|
|
7
|
+
import { Tooltip as TooltipPrimitive } from "radix-ui";
|
|
8
|
+
|
|
9
|
+
// src/floating.ts
|
|
10
|
+
var floating = "kz-pop z-50 rounded-lg border border-border-default bg-surface-2 text-fg shadow-lg outline-hidden";
|
|
11
|
+
|
|
12
|
+
// src/tooltip/tooltip.tsx
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
var TooltipProvider = TooltipPrimitive.Provider;
|
|
15
|
+
function Tooltip({
|
|
16
|
+
content,
|
|
17
|
+
children,
|
|
18
|
+
open,
|
|
19
|
+
defaultOpen,
|
|
20
|
+
onOpenChange,
|
|
21
|
+
delayDuration = 300,
|
|
22
|
+
container,
|
|
23
|
+
sideOffset = 6,
|
|
24
|
+
collisionPadding = 8,
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}) {
|
|
28
|
+
return /* @__PURE__ */ jsx(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs(TooltipPrimitive.Root, { open, defaultOpen, onOpenChange, children: [
|
|
29
|
+
/* @__PURE__ */ jsx(TooltipPrimitive.Trigger, { asChild: true, children }),
|
|
30
|
+
/* @__PURE__ */ jsx(TooltipPrimitive.Portal, { container, children: /* @__PURE__ */ jsx(
|
|
31
|
+
TooltipPrimitive.Content,
|
|
32
|
+
{
|
|
33
|
+
sideOffset,
|
|
34
|
+
collisionPadding,
|
|
35
|
+
className: cn(floating, "max-w-xs px-2.5 py-1.5 text-xs font-medium origin-(--radix-tooltip-content-transform-origin)", className),
|
|
36
|
+
...props,
|
|
37
|
+
children: content
|
|
38
|
+
}
|
|
39
|
+
) })
|
|
40
|
+
] }) });
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
Tooltip
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=chunk-27AWSJTK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tooltip/tooltip.tsx","../src/floating.ts"],"sourcesContent":["// Client (a portal). A short label for a control, on hover after `delayDuration` and on keyboard focus at once;\n// Escape dismisses it. It names nothing: the control keeps its own accessible name (an IconButton's `label`).\nimport { Tooltip as TooltipPrimitive } from \"radix-ui\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { floating } from \"../floating\";\n\n/** Optional, once near the root: shares `delayDuration` and the skip delay between tooltips. */\nexport const TooltipProvider = TooltipPrimitive.Provider;\n\nexport type TooltipProps = Omit<React.ComponentProps<typeof TooltipPrimitive.Content>, \"content\" | \"children\"> & {\n /** What the tooltip says — passed translated. */\n content: React.ReactNode;\n /** The trigger, rendered as is (`asChild`): a focusable element. */\n children: React.ReactNode;\n /** Open or closed (controlled), with `onOpenChange`. */\n open?: boolean;\n /** Open at first, uncontrolled. */\n defaultOpen?: boolean;\n /** Called when it opens or closes. */\n onOpenChange?: (open: boolean) => void;\n /** Hover delay in ms before it opens (300 by default). */\n delayDuration?: number;\n /** The element the portal renders into (default: document.body). */\n container?: HTMLElement | null;\n};\n\nexport function Tooltip({\n content,\n children,\n open,\n defaultOpen,\n onOpenChange,\n delayDuration = 300,\n container,\n sideOffset = 6,\n collisionPadding = 8,\n className,\n ...props\n}: TooltipProps) {\n return (\n <TooltipPrimitive.Provider delayDuration={delayDuration}>\n <TooltipPrimitive.Root open={open} defaultOpen={defaultOpen} onOpenChange={onOpenChange}>\n <TooltipPrimitive.Trigger asChild>{children}</TooltipPrimitive.Trigger>\n <TooltipPrimitive.Portal container={container}>\n <TooltipPrimitive.Content\n sideOffset={sideOffset}\n collisionPadding={collisionPadding}\n className={cn(floating, \"max-w-xs px-2.5 py-1.5 text-xs font-medium origin-(--radix-tooltip-content-transform-origin)\", className)}\n {...props}\n >\n {content}\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n </TooltipPrimitive.Root>\n </TooltipPrimitive.Provider>\n );\n}\n","// The one surface of everything that floats next to its trigger (popover, menu, tooltip): a raised surface, a border,\n// the large shadow and the `kz-pop` entrance from the side Radix measured (`--radix-*-transform-origin`).\nexport const floating =\n \"kz-pop z-50 rounded-lg border border-border-default bg-surface-2 text-fg shadow-lg outline-hidden\";\n"],"mappings":";;;;;;AAEA,SAAS,WAAW,wBAAwB;;;ACArC,IAAM,WACX;;;ADwCI,SACE,KADF;AAlCC,IAAM,kBAAkB,iBAAiB;AAmBzC,SAAS,QAAQ;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,gBAAgB;AAAA,EAChB;AAAA,EACA,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB;AAAA,EACA,GAAG;AACL,GAAiB;AACf,SACE,oBAAC,iBAAiB,UAAjB,EAA0B,eACzB,+BAAC,iBAAiB,MAAjB,EAAsB,MAAY,aAA0B,cAC3D;AAAA,wBAAC,iBAAiB,SAAjB,EAAyB,SAAO,MAAE,UAAS;AAAA,IAC5C,oBAAC,iBAAiB,QAAjB,EAAwB,WACvB;AAAA,MAAC,iBAAiB;AAAA,MAAjB;AAAA,QACC;AAAA,QACA;AAAA,QACA,WAAW,GAAG,UAAU,gGAAgG,SAAS;AAAA,QAChI,GAAG;AAAA,QAEH;AAAA;AAAA,IACH,GACF;AAAA,KACF,GACF;AAEJ;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Chip
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UYGUSYIC.js";
|
|
5
5
|
import {
|
|
6
6
|
useListbox
|
|
7
7
|
} from "./chunk-ZIXB33X7.js";
|
|
@@ -280,4 +280,4 @@ export {
|
|
|
280
280
|
comboboxLabels,
|
|
281
281
|
Combobox
|
|
282
282
|
};
|
|
283
|
-
//# sourceMappingURL=chunk-
|
|
283
|
+
//# sourceMappingURL=chunk-4GQH27IT.js.map
|