@krizaka/ui 3.55.0 → 3.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/{RotatingWord-D9s7FXFD.d.ts → RotatingWord-COSabR2c.d.ts} +2 -1
- package/dist/account-menu.d.ts +2 -1
- package/dist/account-settings.d.ts +153 -61
- package/dist/account-settings.js +240 -97
- package/dist/account-settings.js.map +1 -1
- package/dist/achievement.d.ts +2 -1
- package/dist/action-bar.d.ts +3 -2
- package/dist/activity-feed.d.ts +2 -1
- package/dist/agenda.d.ts +2 -1
- package/dist/alert.d.ts +2 -1
- package/dist/anatomy-plate.d.ts +2 -1
- package/dist/app-header/search.d.ts +8 -7
- package/dist/app-header.d.ts +2 -1
- package/dist/app-shell.d.ts +26 -25
- package/dist/argument-card.d.ts +3 -2
- package/dist/audio-player.d.ts +2 -1
- package/dist/auth-layout.d.ts +11 -10
- package/dist/avatar/defaults.d.ts +2 -1
- package/dist/avatar.d.ts +2 -1
- package/dist/badge.d.ts +2 -1
- package/dist/bird-plate.d.ts +4 -2
- package/dist/blocks.css +183 -4
- package/dist/button.d.ts +2 -1
- package/dist/captcha.d.ts +2 -1
- package/dist/captcha.js +1 -0
- package/dist/captcha.js.map +1 -1
- package/dist/card-grid.d.ts +2 -1
- package/dist/card.d.ts +2 -1
- package/dist/catalogue-page.d.ts +82 -2
- package/dist/catalogue-page.js +156 -13
- package/dist/catalogue-page.js.map +1 -1
- package/dist/changelog-page.d.ts +2 -1
- package/dist/chapter.d.ts +2 -1
- package/dist/chat.d.ts +14 -13
- package/dist/checkbox.d.ts +2 -1
- package/dist/chip-link.d.ts +2 -1
- package/dist/chip-row.d.ts +8 -7
- package/dist/chip.d.ts +55 -1
- package/dist/chip.js +10 -1
- package/dist/choice-grid.d.ts +3 -2
- package/dist/chunk-27AWSJTK.js +46 -0
- package/dist/chunk-27AWSJTK.js.map +1 -0
- package/dist/chunk-44FU32KP.js +2 -0
- package/dist/chunk-44FU32KP.js.map +1 -0
- package/dist/{chunk-AEP3K4YD.js → chunk-4GQH27IT.js} +2 -2
- package/dist/{chunk-QWKCNSPF.js → chunk-5LANVCK7.js} +125 -73
- package/dist/chunk-5LANVCK7.js.map +1 -0
- package/dist/{chunk-KDXRYUD3.js → chunk-5QEXOGO2.js} +3 -1
- package/dist/{chunk-KDXRYUD3.js.map → chunk-5QEXOGO2.js.map} +1 -1
- package/dist/chunk-7J2L4HOD.js +340 -0
- package/dist/chunk-7J2L4HOD.js.map +1 -0
- package/dist/{chunk-7U5TXA5Q.js → chunk-BQ4EOR2O.js} +74 -2
- package/dist/chunk-BQ4EOR2O.js.map +1 -0
- package/dist/chunk-F6JTHPHE.js +399 -0
- package/dist/chunk-F6JTHPHE.js.map +1 -0
- package/dist/chunk-OGWB76BR.js +90 -0
- package/dist/chunk-OGWB76BR.js.map +1 -0
- package/dist/{chunk-VIPSZXO4.js → chunk-UYGUSYIC.js} +72 -2
- package/dist/chunk-UYGUSYIC.js.map +1 -0
- package/dist/chunk-WOZP3JLW.js +51 -0
- package/dist/chunk-WOZP3JLW.js.map +1 -0
- package/dist/chunk-XVXFMVG3.js +27 -0
- package/dist/chunk-XVXFMVG3.js.map +1 -0
- package/dist/code-block.d.ts +2 -1
- package/dist/combobox.d.ts +20 -19
- package/dist/combobox.js +3 -2
- package/dist/command.d.ts +21 -20
- package/dist/comparison-table.d.ts +2 -1
- package/dist/component-page.d.ts +2 -1
- package/dist/confirm-button.d.ts +2 -1
- package/dist/contact-page.d.ts +2 -1
- package/dist/continue-prompt.d.ts +2 -1
- package/dist/countdown.d.ts +2 -1
- package/dist/cover-hero.d.ts +20 -19
- package/dist/cover-hero.js +25 -42
- package/dist/cover-hero.js.map +1 -1
- package/dist/cta-panel.d.ts +2 -1
- package/dist/dashboard-layout.d.ts +50 -2
- package/dist/dashboard-layout.js +66 -11
- package/dist/dashboard-layout.js.map +1 -1
- package/dist/data-table.d.ts +45 -2
- package/dist/data-table.js +7 -3
- package/dist/date-picker.d.ts +29 -28
- package/dist/decision-list.d.ts +2 -1
- package/dist/description-list.d.ts +2 -1
- package/dist/detail-layout.d.ts +153 -20
- package/dist/detail-layout.js +73 -4
- package/dist/detail-layout.js.map +1 -1
- package/dist/{dialog-D42QwYb_.d.ts → dialog-DpUwec2g.d.ts} +2 -1
- package/dist/dialog.d.ts +3 -2
- package/dist/docs-article-page.d.ts +2 -1
- package/dist/docs-hub-page.d.ts +2 -1
- package/dist/docs-layout.d.ts +2 -1
- package/dist/docs-nav.d.ts +3 -10
- package/dist/document-viewer.d.ts +5 -4
- package/dist/doodle.d.ts +17 -6
- package/dist/doodle.js +40 -9
- package/dist/doodle.js.map +1 -1
- package/dist/drop-overlay.d.ts +2 -1
- package/dist/dropdown-menu.d.ts +2 -1
- package/dist/dropdown-menu.js +13 -74
- package/dist/dropdown-menu.js.map +1 -1
- package/dist/elephant.d.ts +2 -1
- package/dist/empty-state.d.ts +2 -1
- package/dist/engine-flow.d.ts +2 -1
- package/dist/error-page.d.ts +2 -1
- package/dist/file-upload.d.ts +16 -15
- package/dist/filter-bar.d.ts +84 -11
- package/dist/filter-bar.js +6 -2
- package/dist/flock.d.ts +3 -2
- package/dist/footnote.d.ts +2 -1
- package/dist/force-update-screen.d.ts +8 -7
- package/dist/form/server.d.ts +2 -1
- package/dist/form.d.ts +2 -1
- package/dist/gallery-page.d.ts +2 -1
- package/dist/genui.d.ts +2 -1
- package/dist/genui.js +3 -3
- package/dist/{geometry-DX-W-Yyf.d.ts → geometry-DZ4Q3hDQ.d.ts} +2 -1
- package/dist/glossary-term.d.ts +2 -1
- package/dist/glossary.d.ts +2 -1
- package/dist/glow-card.d.ts +2 -1
- package/dist/goal-gauge.d.ts +2 -1
- package/dist/grade-stamp.d.ts +23 -0
- package/dist/grade-stamp.js +42 -0
- package/dist/grade-stamp.js.map +1 -0
- package/dist/how-it-works-page.d.ts +2 -1
- package/dist/image-cropper.d.ts +5 -4
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4 -4
- package/dist/iso.d.ts +2 -1
- package/dist/kanban.d.ts +2 -1
- package/dist/kbd.d.ts +2 -1
- package/dist/kind-config-editor.d.ts +152 -0
- package/dist/kind-config-editor.js +574 -0
- package/dist/kind-config-editor.js.map +1 -0
- package/dist/kpi-explained.d.ts +2 -1
- package/dist/landing-page.d.ts +2 -1
- package/dist/landscape.d.ts +2 -1
- package/dist/language-switch/server.d.ts +2 -1
- package/dist/language-switch.d.ts +11 -10
- package/dist/legal-page.d.ts +2 -1
- package/dist/link-card.d.ts +2 -1
- package/dist/list.d.ts +2 -1
- package/dist/loader.d.ts +2 -1
- package/dist/longform-page.d.ts +2 -1
- package/dist/maintenance-screen.d.ts +5 -4
- package/dist/map.d.ts +14 -13
- package/dist/map.js +24 -0
- package/dist/map.js.map +1 -1
- package/dist/markdown.d.ts +2 -1
- package/dist/marketing-layout.d.ts +5 -4
- package/dist/marquee.d.ts +2 -1
- package/dist/mascot-quote.d.ts +2 -1
- package/dist/mascot-state.d.ts +3 -2
- package/dist/mascots.d.ts +4 -3
- package/dist/match-dialog.d.ts +2 -1
- package/dist/media-capture.d.ts +5 -4
- package/dist/media-gallery.d.ts +2 -1
- package/dist/media-grid.d.ts +3 -10
- package/dist/meta-row.d.ts +2 -1
- package/dist/meter.d.ts +2 -1
- package/dist/motion.d.ts +3 -2
- package/dist/native/form.d.ts +2 -1
- package/dist/native/list.d.ts +2 -1
- package/dist/native/map.d.ts +2 -1
- package/dist/native/map.js +24 -0
- package/dist/native/map.js.map +1 -1
- package/dist/native/markdown.d.ts +2 -1
- package/dist/native/media-capture.d.ts +2 -1
- package/dist/native/media-picker.d.ts +2 -1
- package/dist/native/vertical-video.d.ts +2 -1
- package/dist/native/video-player.d.ts +2 -1
- package/dist/native.d.ts +230 -1
- package/dist/native.js +1465 -965
- package/dist/native.js.map +1 -1
- package/dist/nav-bar/me.d.ts +2 -1
- package/dist/nav-bar.d.ts +2 -1
- package/dist/next-actions.d.ts +2 -1
- package/dist/notification-preferences.d.ts +23 -22
- package/dist/notification-preferences.js +4 -3
- package/dist/notification-preferences.js.map +1 -1
- package/dist/number-ticker.d.ts +2 -1
- package/dist/opening-hours.d.ts +2 -1
- package/dist/page-header.d.ts +2 -1
- package/dist/page-hero.d.ts +2 -1
- package/dist/page-index.d.ts +2 -1
- package/dist/page.d.ts +2 -1
- package/dist/pagination.d.ts +2 -1
- package/dist/photo-grid.d.ts +2 -1
- package/dist/pointer-light.d.ts +2 -1
- package/dist/popover.d.ts +2 -1
- package/dist/pricing-page.d.ts +2 -1
- package/dist/product-page.d.ts +2 -1
- package/dist/profile-card.d.ts +2 -1
- package/dist/progress.d.ts +2 -1
- package/dist/promise-card.d.ts +2 -1
- package/dist/quota-meter.d.ts +2 -1
- package/dist/radio-group.d.ts +2 -1
- package/dist/radio-group.js +3 -3
- package/dist/rail-nav.d.ts +17 -16
- package/dist/rail-nav.js +22 -56
- package/dist/rail-nav.js.map +1 -1
- package/dist/recipes.d.ts +2 -1
- package/dist/retro-tv.d.ts +2 -1
- package/dist/router.d.ts +2 -1
- package/dist/scroll-stage.d.ts +2 -1
- package/dist/search-field.d.ts +2 -1
- package/dist/section-backdrop.d.ts +2 -1
- package/dist/separator.d.ts +2 -1
- package/dist/service-card.d.ts +9 -8
- package/dist/settings-layout.d.ts +2 -1
- package/dist/settings-layout.js +10 -324
- package/dist/settings-layout.js.map +1 -1
- package/dist/showcase.d.ts +2 -1
- package/dist/signature.d.ts +2 -1
- package/dist/site-cahier.d.ts +187 -0
- package/dist/site-cahier.js +844 -0
- package/dist/site-cahier.js.map +1 -0
- package/dist/site-footer.d.ts +2 -1
- package/dist/sites.d.ts +2 -1
- package/dist/skeleton.d.ts +2 -1
- package/dist/skip-link.d.ts +2 -1
- package/dist/slider.d.ts +2 -1
- package/dist/slot-picker.d.ts +86 -13
- package/dist/slot-picker.js +98 -16
- package/dist/slot-picker.js.map +1 -1
- package/dist/specimen-tag.d.ts +2 -1
- package/dist/speed-lines.d.ts +19 -0
- package/dist/speed-lines.js +45 -0
- package/dist/speed-lines.js.map +1 -0
- package/dist/spinner.d.ts +2 -1
- package/dist/split-view.d.ts +2 -1
- package/dist/stage-banner.d.ts +2 -1
- package/dist/stat.d.ts +2 -1
- package/dist/status-chip.d.ts +44 -0
- package/dist/status-chip.js +137 -0
- package/dist/status-chip.js.map +1 -0
- package/dist/status-page.d.ts +2 -1
- package/dist/step-progress.d.ts +2 -1
- package/dist/step-showcase.d.ts +2 -1
- package/dist/stepper.d.ts +2 -1
- package/dist/sticky-action.d.ts +28 -5
- package/dist/sticky-action.js +10 -4
- package/dist/sticky-action.js.map +1 -1
- package/dist/stuck.d.ts +2 -1
- package/dist/swipe-deck.d.ts +2 -1
- package/dist/switch.d.ts +2 -1
- package/dist/tabs.d.ts +2 -1
- package/dist/tag-input.d.ts +2 -1
- package/dist/tag-input.js +3 -2
- package/dist/tag-input.js.map +1 -1
- package/dist/tag-selector.d.ts +30 -4
- package/dist/tag-selector.js +90 -8
- package/dist/tag-selector.js.map +1 -1
- package/dist/taped-photo.d.ts +2 -1
- package/dist/taped-photo.js +4 -20
- package/dist/taped-photo.js.map +1 -1
- package/dist/terminal-replay.d.ts +2 -1
- package/dist/terminal-replay.js +1 -1
- package/dist/text-style/server.d.ts +2 -1
- package/dist/text-style.d.ts +2 -1
- package/dist/theme.d.ts +21 -1
- package/dist/theme.js +37 -1
- package/dist/theme.js.map +1 -1
- package/dist/toast.d.ts +2 -1
- package/dist/toc.d.ts +2 -1
- package/dist/tooltip.d.ts +2 -1
- package/dist/tree-view.d.ts +2 -1
- package/dist/update-prompt.d.ts +11 -10
- package/dist/upload-queue.d.ts +2 -1
- package/dist/verified-badge.d.ts +2 -1
- package/dist/versus-card.d.ts +40 -0
- package/dist/versus-card.js +40 -0
- package/dist/versus-card.js.map +1 -0
- package/dist/vertical-video.d.ts +2 -1
- package/dist/video-player.d.ts +20 -19
- package/dist/video-trimmer.d.ts +2 -1
- package/dist/virtual.d.ts +8 -7
- package/dist/wall.d.ts +79 -0
- package/dist/wall.js +127 -0
- package/dist/wall.js.map +1 -0
- package/dist/waveform.d.ts +2 -1
- package/package.json +140 -41
- package/registry/account-menu.json +1 -1
- package/registry/account-settings.json +257 -5
- package/registry/achievement.json +1 -1
- package/registry/action-bar.json +1 -1
- package/registry/activity-feed.json +1 -1
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-header.json +1 -1
- package/registry/app-shell.json +1 -1
- package/registry/argument-card.json +1 -1
- package/registry/audio-player.json +1 -1
- package/registry/auth-layout.json +1 -1
- package/registry/avatar.json +1 -1
- package/registry/badge.json +1 -1
- package/registry/bird-plate.json +1 -1
- package/registry/button.json +1 -1
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +1 -1
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +116 -6
- package/registry/changelog-page.json +1 -1
- package/registry/chapter.json +1 -1
- package/registry/chat.json +1 -1
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip-row.json +1 -1
- package/registry/chip.json +386 -11
- package/registry/choice-grid.json +1 -1
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +1 -1
- package/registry/command.json +1 -1
- package/registry/comparison-table.json +1 -1
- package/registry/component-page.json +1 -1
- package/registry/confirm-button.json +1 -1
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +1 -1
- package/registry/countdown.json +1 -1
- package/registry/cover-hero.json +1 -1
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +91 -5
- package/registry/data-table.json +156 -5
- package/registry/date-picker.json +1 -1
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +1 -1
- package/registry/detail-layout.json +199 -5
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +1 -1
- package/registry/docs-layout.json +1 -1
- package/registry/docs-nav.json +1 -1
- package/registry/document-viewer.json +1 -1
- package/registry/doodle.json +115 -22
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +2 -2
- package/registry/empty-state.json +1 -1
- package/registry/engine-flow.json +1 -1
- package/registry/error-page.json +1 -1
- package/registry/examples/account-settings/appearance.d.ts +4 -0
- package/registry/examples/account-settings/appearance.js +40 -0
- package/registry/examples/account-settings/appearance.tsx +30 -0
- package/registry/examples/catalogue-page/clients.d.ts +4 -0
- package/registry/examples/catalogue-page/clients.js +49 -0
- package/registry/examples/catalogue-page/clients.tsx +61 -0
- package/registry/examples/chip/marker-picker.d.ts +4 -0
- package/registry/examples/chip/marker-picker.js +17 -0
- package/registry/examples/chip/marker-picker.tsx +17 -0
- package/registry/examples/chip/native/marker-picker.d.ts +4 -0
- package/registry/examples/chip/native/marker-picker.dark.png +0 -0
- package/registry/examples/chip/native/marker-picker.js +18 -0
- package/registry/examples/chip/native/marker-picker.light.png +0 -0
- package/registry/examples/chip/native/marker-picker.tsx +16 -0
- package/registry/examples/chip/native/tags.d.ts +4 -0
- package/registry/examples/chip/native/tags.dark.png +0 -0
- package/registry/examples/chip/native/tags.js +22 -0
- package/registry/examples/chip/native/tags.light.png +0 -0
- package/registry/examples/chip/native/tags.tsx +20 -0
- package/registry/examples/chip/tags.d.ts +4 -0
- package/registry/examples/chip/tags.js +26 -0
- package/registry/examples/chip/tags.tsx +23 -0
- package/registry/examples/dashboard-layout/today.d.ts +4 -0
- package/registry/examples/dashboard-layout/today.js +54 -0
- package/registry/examples/dashboard-layout/today.tsx +63 -0
- package/registry/examples/data-table/bulk.d.ts +4 -0
- package/registry/examples/data-table/bulk.js +45 -0
- package/registry/examples/data-table/bulk.tsx +34 -0
- package/registry/examples/detail-layout/client.d.ts +4 -0
- package/registry/examples/detail-layout/client.js +40 -0
- package/registry/examples/detail-layout/client.tsx +39 -0
- package/registry/examples/detail-layout/new-invoice.d.ts +4 -0
- package/registry/examples/detail-layout/new-invoice.js +44 -0
- package/registry/examples/detail-layout/new-invoice.tsx +34 -0
- package/registry/examples/doodle/bird-sketch.d.ts +4 -0
- package/registry/examples/doodle/bird-sketch.js +11 -0
- package/registry/examples/doodle/bird-sketch.tsx +12 -0
- package/registry/examples/doodle/margin-marks.d.ts +4 -0
- package/registry/examples/doodle/margin-marks.js +27 -0
- package/registry/examples/doodle/margin-marks.tsx +19 -0
- package/registry/examples/filter-bar/views.d.ts +4 -0
- package/registry/examples/filter-bar/views.js +39 -0
- package/registry/examples/filter-bar/views.tsx +30 -0
- package/registry/examples/grade-stamp/coverage.d.ts +4 -0
- package/registry/examples/grade-stamp/coverage.js +12 -0
- package/registry/examples/grade-stamp/coverage.tsx +8 -0
- package/registry/examples/grade-stamp/lighthouse.d.ts +4 -0
- package/registry/examples/grade-stamp/lighthouse.js +12 -0
- package/registry/examples/grade-stamp/lighthouse.tsx +14 -0
- package/registry/examples/kind-config-editor/derived.d.ts +4 -0
- package/registry/examples/kind-config-editor/derived.js +26 -0
- package/registry/examples/kind-config-editor/derived.tsx +16 -0
- package/registry/examples/kind-config-editor/native/status-set.d.ts +4 -0
- package/registry/examples/kind-config-editor/native/status-set.dark.png +0 -0
- package/registry/examples/kind-config-editor/native/status-set.js +22 -0
- package/registry/examples/kind-config-editor/native/status-set.light.png +0 -0
- package/registry/examples/kind-config-editor/native/status-set.tsx +19 -0
- package/registry/examples/kind-config-editor/native/tag-set.d.ts +4 -0
- package/registry/examples/kind-config-editor/native/tag-set.dark.png +0 -0
- package/registry/examples/kind-config-editor/native/tag-set.js +20 -0
- package/registry/examples/kind-config-editor/native/tag-set.light.png +0 -0
- package/registry/examples/kind-config-editor/native/tag-set.tsx +18 -0
- package/registry/examples/kind-config-editor/status-set.d.ts +4 -0
- package/registry/examples/kind-config-editor/status-set.js +29 -0
- package/registry/examples/kind-config-editor/status-set.tsx +25 -0
- package/registry/examples/kind-config-editor/tag-set.d.ts +4 -0
- package/registry/examples/kind-config-editor/tag-set.js +20 -0
- package/registry/examples/kind-config-editor/tag-set.tsx +18 -0
- package/registry/examples/site-cahier/java-releases.d.ts +4 -0
- package/registry/examples/site-cahier/java-releases.js +33 -0
- package/registry/examples/site-cahier/java-releases.tsx +32 -0
- package/registry/examples/site-cahier/motion-lab.d.ts +4 -0
- package/registry/examples/site-cahier/motion-lab.js +32 -0
- package/registry/examples/site-cahier/motion-lab.tsx +29 -0
- package/registry/examples/site-cahier/ts-changelog.d.ts +4 -0
- package/registry/examples/site-cahier/ts-changelog.js +24 -0
- package/registry/examples/site-cahier/ts-changelog.tsx +20 -0
- package/registry/examples/site-cahier/ts-doc.d.ts +4 -0
- package/registry/examples/site-cahier/ts-doc.js +38 -0
- package/registry/examples/site-cahier/ts-doc.tsx +27 -0
- package/registry/examples/site-cahier/ui-home.d.ts +4 -0
- package/registry/examples/site-cahier/ui-home.js +46 -0
- package/registry/examples/site-cahier/ui-home.tsx +40 -0
- package/registry/examples/slot-picker/weeks.d.ts +4 -0
- package/registry/examples/slot-picker/weeks.js +45 -0
- package/registry/examples/slot-picker/weeks.tsx +28 -0
- package/registry/examples/speed-lines/hero.d.ts +4 -0
- package/registry/examples/speed-lines/hero.js +11 -0
- package/registry/examples/speed-lines/hero.tsx +12 -0
- package/registry/examples/speed-lines/streaks.d.ts +4 -0
- package/registry/examples/speed-lines/streaks.js +11 -0
- package/registry/examples/speed-lines/streaks.tsx +12 -0
- package/registry/examples/status-chip/default.d.ts +4 -0
- package/registry/examples/status-chip/default.js +35 -0
- package/registry/examples/status-chip/default.tsx +32 -0
- package/registry/examples/status-chip/native/default.d.ts +4 -0
- package/registry/examples/status-chip/native/default.dark.png +0 -0
- package/registry/examples/status-chip/native/default.js +26 -0
- package/registry/examples/status-chip/native/default.light.png +0 -0
- package/registry/examples/status-chip/native/default.tsx +20 -0
- package/registry/examples/tag-selector/creatable.d.ts +4 -0
- package/registry/examples/tag-selector/creatable.js +41 -0
- package/registry/examples/tag-selector/creatable.tsx +29 -0
- package/registry/examples/tag-selector/native/tags.d.ts +4 -0
- package/registry/examples/tag-selector/native/tags.dark.png +0 -0
- package/registry/examples/tag-selector/native/tags.js +19 -0
- package/registry/examples/tag-selector/native/tags.light.png +0 -0
- package/registry/examples/tag-selector/native/tags.tsx +19 -0
- package/registry/examples/versus-card/alternatives.d.ts +4 -0
- package/registry/examples/versus-card/alternatives.js +20 -0
- package/registry/examples/versus-card/alternatives.tsx +14 -0
- package/registry/examples/versus-card/releases.d.ts +4 -0
- package/registry/examples/versus-card/releases.js +35 -0
- package/registry/examples/versus-card/releases.tsx +29 -0
- package/registry/examples/wall/brick.d.ts +4 -0
- package/registry/examples/wall/brick.js +14 -0
- package/registry/examples/wall/brick.tsx +8 -0
- package/registry/examples/wall/composition-fr.d.ts +4 -0
- package/registry/examples/wall/composition-fr.js +37 -0
- package/registry/examples/wall/composition-fr.tsx +18 -0
- package/registry/examples/wall/composition.d.ts +4 -0
- package/registry/examples/wall/composition.js +38 -0
- package/registry/examples/wall/composition.tsx +18 -0
- package/registry/examples/wall/pinned-note.d.ts +4 -0
- package/registry/examples/wall/pinned-note.js +15 -0
- package/registry/examples/wall/pinned-note.tsx +9 -0
- package/registry/examples/wall/plaster.d.ts +4 -0
- package/registry/examples/wall/plaster.js +14 -0
- package/registry/examples/wall/plaster.tsx +8 -0
- package/registry/examples/wall/polaroid.d.ts +4 -0
- package/registry/examples/wall/polaroid.js +19 -0
- package/registry/examples/wall/polaroid.tsx +10 -0
- package/registry/examples/wall/ridge.d.ts +4 -0
- package/registry/examples/wall/ridge.js +14 -0
- package/registry/examples/wall/ridge.tsx +8 -0
- package/registry/examples/wall/shop-sign.d.ts +4 -0
- package/registry/examples/wall/shop-sign.js +16 -0
- package/registry/examples/wall/shop-sign.tsx +10 -0
- package/registry/examples/wall/zellige.d.ts +4 -0
- package/registry/examples/wall/zellige.js +14 -0
- package/registry/examples/wall/zellige.tsx +8 -0
- package/registry/field.json +1 -1
- package/registry/file-upload.json +1 -1
- package/registry/filter-bar.json +208 -8
- package/registry/flock.json +1 -1
- package/registry/footnote.json +1 -1
- package/registry/force-update-screen.json +1 -1
- package/registry/form.json +1 -1
- package/registry/gallery-page.json +1 -1
- package/registry/genui.json +1 -1
- package/registry/glossary-term.json +1 -1
- package/registry/glossary.json +1 -1
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +1 -1
- package/registry/grade-stamp.json +227 -0
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +1 -1
- package/registry/index.json +355 -30
- package/registry/iso.json +1 -1
- package/registry/kanban.json +1 -1
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +565 -0
- package/registry/kpi-explained.json +1 -1
- package/registry/landing-page.json +1 -1
- package/registry/landscape.json +1 -1
- package/registry/language-switch.json +1 -1
- package/registry/legal-page.json +1 -1
- package/registry/link-card.json +1 -1
- package/registry/list.json +1 -1
- package/registry/loader.json +1 -1
- package/registry/longform-page.json +1 -1
- package/registry/maintenance-screen.json +1 -1
- package/registry/map.json +2 -2
- package/registry/markdown.json +1 -1
- package/registry/marketing-layout.json +1 -1
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +1 -1
- package/registry/match-dialog.json +1 -1
- package/registry/media-capture.json +1 -1
- package/registry/media-gallery.json +1 -1
- package/registry/media-grid.json +1 -1
- package/registry/meta-row.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +2 -2
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +1 -1
- package/registry/number-ticker.json +1 -1
- package/registry/opening-hours.json +1 -1
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +1 -1
- package/registry/page-index.json +1 -1
- package/registry/page.json +1 -1
- package/registry/pagination.json +1 -1
- package/registry/photo-grid.json +1 -1
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +1 -1
- package/registry/product-page.json +1 -1
- package/registry/profile-card.json +1 -1
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +1 -1
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +2 -2
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +1 -1
- package/registry/router.json +1 -1
- package/registry/scroll-stage.json +1 -1
- package/registry/search-field.json +1 -1
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/service-card.json +1 -1
- package/registry/settings-layout.json +1 -1
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +548 -0
- package/registry/site-footer.json +2 -2
- package/registry/sites.json +1 -1
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +156 -10
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +1 -1
- package/registry/speed-lines.json +174 -0
- package/registry/spinner.json +1 -1
- package/registry/split-view.json +1 -1
- package/registry/stage-banner.json +1 -1
- package/registry/stat.json +1 -1
- package/registry/status-chip.json +350 -0
- package/registry/status-page.json +1 -1
- package/registry/step-progress.json +1 -1
- package/registry/step-showcase.json +1 -1
- package/registry/stepper.json +1 -1
- package/registry/sticky-action.json +38 -8
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +189 -12
- package/registry/taped-photo.json +1 -1
- package/registry/terminal-replay.json +1 -1
- package/registry/text-style.json +1 -1
- package/registry/theme.json +3 -3
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +1 -1
- package/registry/update-prompt.json +1 -1
- package/registry/upload-queue.json +1 -1
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +194 -0
- package/registry/vertical-video.json +1 -1
- package/registry/video-player.json +1 -1
- package/registry/video-trimmer.json +1 -1
- package/registry/virtual.json +2 -2
- package/registry/wall.json +511 -0
- package/registry/waveform.json +1 -1
- package/dist/chunk-7U5TXA5Q.js.map +0 -1
- package/dist/chunk-OIMXKRXF.js +0 -179
- package/dist/chunk-OIMXKRXF.js.map +0 -1
- package/dist/chunk-QWKCNSPF.js.map +0 -1
- package/dist/chunk-VIPSZXO4.js.map +0 -1
- /package/dist/{chunk-AEP3K4YD.js.map → chunk-4GQH27IT.js.map} +0 -0
package/dist/dialog.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export { a as Dialog, b as DialogBody, c as DialogContent, D as DialogContentProps, d as DialogDescription, e as DialogFooter, f as DialogHeader, g as DialogTitle, h as DialogVariants, S as Sheet, i as SheetProps, j as dialog } from './dialog-
|
|
2
|
+
export { a as Dialog, b as DialogBody, c as DialogContent, D as DialogContentProps, d as DialogDescription, e as DialogFooter, f as DialogHeader, g as DialogTitle, h as DialogVariants, S as Sheet, i as SheetProps, j as dialog } from './dialog-DpUwec2g.js';
|
|
3
3
|
import 'tailwind-variants';
|
|
4
4
|
import 'radix-ui';
|
|
5
5
|
|
|
@@ -33,4 +33,5 @@ type AlertDialogProps = {
|
|
|
33
33
|
};
|
|
34
34
|
declare function AlertDialog({ open: openProp, defaultOpen, onOpenChange, trigger, title, description, children, confirmLabel, cancelLabel, tone, onConfirm, container, className, }: AlertDialogProps): React.JSX.Element;
|
|
35
35
|
|
|
36
|
-
export { AlertDialog
|
|
36
|
+
export { AlertDialog };
|
|
37
|
+
export type { AlertDialogProps };
|
|
@@ -51,4 +51,5 @@ type DocsArticlePageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
|
51
51
|
/** A documentation article: pages · breadcrumb, title, lead, facts, the reading column · contents; previous and next. */
|
|
52
52
|
declare function DocsArticlePage({ sidebar, sidebarLabel, breadcrumb, breadcrumbLabel, title, lead, facts, toc, pager, linkAs, children, ...props }: DocsArticlePageProps): React.JSX.Element;
|
|
53
53
|
|
|
54
|
-
export { DocsArticlePage
|
|
54
|
+
export { DocsArticlePage };
|
|
55
|
+
export type { DocsArticlePageProps };
|
package/dist/docs-hub-page.d.ts
CHANGED
|
@@ -75,4 +75,5 @@ type DocsHubPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
|
75
75
|
/** A documentation hub: search first, the collections in their brand, quick starts, popular and new pages. */
|
|
76
76
|
declare function DocsHubPage({ eyebrow, title, lead, search, searchHints, collectionsTitle, collections, quickstarts, popular, whatsNew, promise, linkAs, linksLayout, ...props }: DocsHubPageProps): React.JSX.Element;
|
|
77
77
|
|
|
78
|
-
export {
|
|
78
|
+
export { DocsHubPage };
|
|
79
|
+
export type { DocsCollection, DocsHubLink, DocsHubPageProps };
|
package/dist/docs-layout.d.ts
CHANGED
|
@@ -75,4 +75,5 @@ type DocsLayoutProps = React.ComponentProps<"div"> & {
|
|
|
75
75
|
/** A documentation page: pages · article · contents, in the site's frame. */
|
|
76
76
|
declare function DocsLayout({ sidebar, sidebarLabel, toc, className, children, ...props }: DocsLayoutProps): React.JSX.Element;
|
|
77
77
|
|
|
78
|
-
export { DocsLayout,
|
|
78
|
+
export { DocsLayout, docsLayout };
|
|
79
|
+
export type { DocsLayoutProps };
|
package/dist/docs-nav.d.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
/** The app's link component (Next's `Link`, React Router's `Link`…): receives `href`, `className` and the children. */
|
|
4
|
-
type LinkComponent = React.ElementType<{
|
|
5
|
-
href: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
"aria-label"?: string;
|
|
9
|
-
"aria-describedby"?: string;
|
|
10
|
-
}>;
|
|
2
|
+
import { L as LinkComponent } from './block-link-BAg4eoZk.js';
|
|
11
3
|
|
|
12
4
|
type DocsNavGroup = {
|
|
13
5
|
/** A stable key. */
|
|
@@ -33,4 +25,5 @@ type DocsNavProps = Omit<React.HTMLAttributes<HTMLElement>, "children"> & {
|
|
|
33
25
|
/** The pages of the documentation in groups; the group of the current page is open, the others fold. */
|
|
34
26
|
declare function DocsNav({ label, groups, current, linkAs, className, ...props }: DocsNavProps): React.JSX.Element;
|
|
35
27
|
|
|
36
|
-
export { DocsNav
|
|
28
|
+
export { DocsNav };
|
|
29
|
+
export type { DocsNavGroup, DocsNavProps };
|
|
@@ -43,9 +43,9 @@ declare function locateQuote(pages: readonly PageText[], quote: string, hintPage
|
|
|
43
43
|
declare const documentViewer: tailwind_variants.TVReturnType<{
|
|
44
44
|
[key: string]: {
|
|
45
45
|
[key: string]: tailwind_variants.ClassValue | {
|
|
46
|
-
page?: tailwind_variants.ClassValue;
|
|
47
46
|
root?: tailwind_variants.ClassValue;
|
|
48
47
|
pages?: tailwind_variants.ClassValue;
|
|
48
|
+
page?: tailwind_variants.ClassValue;
|
|
49
49
|
canvas?: tailwind_variants.ClassValue;
|
|
50
50
|
caption?: tailwind_variants.ClassValue;
|
|
51
51
|
box?: tailwind_variants.ClassValue;
|
|
@@ -56,9 +56,9 @@ declare const documentViewer: tailwind_variants.TVReturnType<{
|
|
|
56
56
|
} | {
|
|
57
57
|
[x: string]: {
|
|
58
58
|
[x: string]: tailwind_variants.ClassValue | {
|
|
59
|
-
page?: tailwind_variants.ClassValue;
|
|
60
59
|
root?: tailwind_variants.ClassValue;
|
|
61
60
|
pages?: tailwind_variants.ClassValue;
|
|
61
|
+
page?: tailwind_variants.ClassValue;
|
|
62
62
|
canvas?: tailwind_variants.ClassValue;
|
|
63
63
|
caption?: tailwind_variants.ClassValue;
|
|
64
64
|
box?: tailwind_variants.ClassValue;
|
|
@@ -78,9 +78,9 @@ declare const documentViewer: tailwind_variants.TVReturnType<{
|
|
|
78
78
|
}, undefined, {
|
|
79
79
|
[key: string]: {
|
|
80
80
|
[key: string]: tailwind_variants.ClassValue | {
|
|
81
|
-
page?: tailwind_variants.ClassValue;
|
|
82
81
|
root?: tailwind_variants.ClassValue;
|
|
83
82
|
pages?: tailwind_variants.ClassValue;
|
|
83
|
+
page?: tailwind_variants.ClassValue;
|
|
84
84
|
canvas?: tailwind_variants.ClassValue;
|
|
85
85
|
caption?: tailwind_variants.ClassValue;
|
|
86
86
|
box?: tailwind_variants.ClassValue;
|
|
@@ -197,4 +197,5 @@ type DocumentViewerProps = Omit<React.ComponentProps<"div">, "children" | "onCha
|
|
|
197
197
|
/** A PDF with its passages lit — see the file's header. Client. */
|
|
198
198
|
declare function DocumentViewer({ src, loadPdfjs, workerSrc, highlights, activeId, onActiveChange, onLocate, onLoad, labels, className, ...props }: DocumentViewerProps): React.JSX.Element;
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { DocumentViewer, documentViewer, documentViewerLabels, fold, locateQuote };
|
|
201
|
+
export type { Box, DocumentHighlight, DocumentViewerLabels, DocumentViewerProps, Located, PageText, PdfDocument, PdfPage, PdfjsModule, TextItem };
|
package/dist/doodle.d.ts
CHANGED
|
@@ -1,21 +1,32 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
type DoodleKind = "arrow" | "circle" | "star" | "wave" | "bird";
|
|
4
|
+
/** The birds with a sketch of their own (the ear tufts, the beak, the legs tell them apart); the rest of the flock is not drawn here. */
|
|
5
|
+
type DoodleBird = "falcon" | "owl" | "duck" | "flamingo" | "pigeon";
|
|
4
6
|
type DoodleProps = Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> & {
|
|
5
|
-
/** What is drawn: `arrow` (points at the block), `circle` (rings a
|
|
7
|
+
/** What is drawn: `arrow` (points at the block), `circle` (rings a word), `star`, `wave` (an underline) or `bird` (a small sketch). */
|
|
6
8
|
kind: DoodleKind;
|
|
7
|
-
/**
|
|
9
|
+
/** Real text a `circle` rings or a `wave` underlines, in the flow (« nothing to copy »): it stays text, the ink is hidden. */
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/** The word a margin `circle` rings (« ça ! »). It is decoration too: nothing that matters is said only here. */
|
|
8
12
|
word?: string;
|
|
9
13
|
/** Which margin it sits in: `left` (where the notebook's margin is) or `right`. It points at the block from either. @default "left" */
|
|
10
14
|
side?: "left" | "right";
|
|
11
|
-
/** `margin` hangs it beside the nearest positioned ancestor, on a wide screen only; `inline` keeps it in the flow. @default "margin" */
|
|
15
|
+
/** `margin` hangs it beside the nearest positioned ancestor, on a wide screen only; `inline` keeps it in the flow (always, around `children`). @default "margin" */
|
|
12
16
|
place?: "margin" | "inline";
|
|
13
17
|
/** How far from the top of the block it sits, as a CSS length. @default "0px" */
|
|
14
18
|
top?: string;
|
|
15
19
|
/** Where its slight tilt comes from: the same string always leans the same way (±8°). @default "" */
|
|
16
20
|
seed?: string;
|
|
21
|
+
/** Which bird `kind="bird"` sketches. @default "duck" */
|
|
22
|
+
bird?: DoodleBird;
|
|
23
|
+
/** Turns the mark to face the other way (an inline arrow that points left). A margin doodle on the `right` already does. @default false */
|
|
24
|
+
flip?: boolean;
|
|
25
|
+
/** A text equivalent, when the mark says something (« Start with the installation »): it is then an image carrying it. Without it, decoration. */
|
|
26
|
+
label?: string;
|
|
17
27
|
};
|
|
18
|
-
/** A
|
|
19
|
-
declare function Doodle({ kind, word, side, place, top, seed, className, style, ...props }: DoodleProps): React.JSX.Element;
|
|
28
|
+
/** A doodle: an arrow, a circled word, a star, a wavy underline or a bird's sketch, in the margin ink. Decoration unless it has a `label`. */
|
|
29
|
+
declare function Doodle({ kind, children, word, side, place, top, seed, bird, flip, label, className, style, ...props }: DoodleProps): React.JSX.Element;
|
|
20
30
|
|
|
21
|
-
export { Doodle
|
|
31
|
+
export { Doodle };
|
|
32
|
+
export type { DoodleBird, DoodleKind, DoodleProps };
|
package/dist/doodle.js
CHANGED
|
@@ -6,29 +6,60 @@ import {
|
|
|
6
6
|
} from "./chunk-W675RFOA.js";
|
|
7
7
|
|
|
8
8
|
// src/doodle/doodle.tsx
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
var PATHS = {
|
|
11
11
|
arrow: { box: "0 0 56 36", d: ["M4 30 C 14 8, 32 6, 50 20", "M41 17 L50 20 L46 28"] },
|
|
12
12
|
circle: { box: "0 0 64 40", d: ["M9 22 C 6 8, 42 2, 54 14 C 62 26, 24 38, 11 29 C 4 23, 14 10, 34 8"] },
|
|
13
13
|
star: { box: "0 0 56 52", d: ["M28 4 L34 20 L52 21 L38 32 L43 48 L28 39 L13 48 L18 32 L4 21 L22 20 Z"] },
|
|
14
|
-
wave: { box: "0 0 56 16", d: ["M2 9 Q 8 1 14 9 T 26 9 T 38 9 T 50 9"] }
|
|
15
|
-
bird: { box: "0 0 56 44", d: ["M5 26 C 12 12, 28 12, 36 21 L 50 14 L 43 27 C 38 38, 18 39, 5 26 Z", "M20 38 L18 43 M27 38 L26 43", "M33 20 L33.5 20"] }
|
|
14
|
+
wave: { box: "0 0 56 16", d: ["M2 9 Q 8 1 14 9 T 26 9 T 38 9 T 50 9"] }
|
|
16
15
|
};
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
var WRAPS = {
|
|
17
|
+
circle: { box: "0 0 100 40", d: "M52 4 C18 2 3 14 6 24 C9 36 40 38 70 34 C94 30 99 16 84 8 C76 4 62 3 46 4 C40 4 36 5 33 6" },
|
|
18
|
+
wave: { box: "0 0 100 12", d: "M2 7 Q8 1 14 7 T26 7 T38 7 T50 7 T62 7 T74 7 T86 7 T98 7" }
|
|
19
|
+
};
|
|
20
|
+
var BIRD_FEATURES = {
|
|
21
|
+
falcon: "M52 17 Q62 17 60 27 Q57 22 52 23",
|
|
22
|
+
owl: "M39 12 L37 4 L44 10 M51 12 L55 4 L48 10 M52 21 L55 25 L51 25",
|
|
23
|
+
duck: "M52 19 Q62 18 63 23 Q58 25 52 24",
|
|
24
|
+
flamingo: "M51 17 Q58 17 56 24 M44 14 C32 22 50 30 36 40",
|
|
25
|
+
pigeon: "M52 20 L59 22 L52 24"
|
|
26
|
+
};
|
|
27
|
+
function BirdSketch({ bird }) {
|
|
28
|
+
const owl = bird === "owl";
|
|
29
|
+
const tall = bird === "flamingo";
|
|
30
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 64 64", focusable: "false", "data-bird": bird, children: [
|
|
31
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "30", cy: "40", rx: "18", ry: "12", transform: "rotate(-8 30 40)" }),
|
|
32
|
+
tall ? /* @__PURE__ */ jsx("circle", { cx: "45", cy: "12", r: "5.5" }) : /* @__PURE__ */ jsx("circle", { cx: "44", cy: "21", r: "9" }),
|
|
33
|
+
/* @__PURE__ */ jsx("path", { d: "M20 40 Q29 31 40 39" }),
|
|
34
|
+
/* @__PURE__ */ jsx("path", { d: "M26 52 L25 61 M34 52 L35 61" }),
|
|
35
|
+
/* @__PURE__ */ jsx("path", { d: BIRD_FEATURES[bird] }),
|
|
36
|
+
owl ? /* @__PURE__ */ jsx("circle", { cx: "47", cy: "19", r: "4" }) : null,
|
|
37
|
+
/* @__PURE__ */ jsx("circle", { cx: tall ? 46.5 : 47, cy: tall ? 11 : 19, r: "1.6", fill: "currentColor", stroke: "none" })
|
|
38
|
+
] });
|
|
39
|
+
}
|
|
40
|
+
function Doodle({ kind, children, word, side = "left", place = "margin", top, seed = "", bird = "duck", flip = false, label, className, style, ...props }) {
|
|
41
|
+
const wraps = children != null && (kind === "circle" || kind === "wave");
|
|
42
|
+
const said = !wraps && Boolean(label);
|
|
19
43
|
return /* @__PURE__ */ jsxs(
|
|
20
44
|
"span",
|
|
21
45
|
{
|
|
22
46
|
className: cn("kz-doodle", className),
|
|
23
47
|
"data-kind": kind,
|
|
24
48
|
"data-side": side,
|
|
25
|
-
"data-place": place,
|
|
26
|
-
"
|
|
49
|
+
"data-place": wraps ? "inline" : place,
|
|
50
|
+
"data-wrap": wraps ? "" : void 0,
|
|
51
|
+
"data-flip": flip ? "" : void 0,
|
|
52
|
+
role: said ? "img" : void 0,
|
|
53
|
+
"aria-label": said ? label : void 0,
|
|
54
|
+
"aria-hidden": wraps || said ? void 0 : true,
|
|
27
55
|
style: { ...style, ["--kz-doodle-tilt"]: `${Math.round(seedUnit(`${kind}${seed}`) * 80) / 10}deg`, ...top ? { ["--kz-doodle-top"]: top } : {} },
|
|
28
56
|
...props,
|
|
29
57
|
children: [
|
|
30
|
-
|
|
31
|
-
|
|
58
|
+
wraps ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "kz-doodle-word", children }),
|
|
60
|
+
/* @__PURE__ */ jsx("span", { className: "kz-doodle-ink", "aria-hidden": true, children: /* @__PURE__ */ jsx("svg", { viewBox: WRAPS[kind].box, preserveAspectRatio: "none", focusable: "false", children: /* @__PURE__ */ jsx("path", { d: WRAPS[kind].d, vectorEffect: "non-scaling-stroke" }) }) })
|
|
61
|
+
] }) : kind === "bird" ? /* @__PURE__ */ jsx(BirdSketch, { bird }) : /* @__PURE__ */ jsx("svg", { viewBox: PATHS[kind].box, focusable: "false", children: PATHS[kind].d.map((path) => /* @__PURE__ */ jsx("path", { d: path }, path)) }),
|
|
62
|
+
!wraps && kind === "circle" && word ? /* @__PURE__ */ jsx("span", { className: "kz-doodle-word", children: word }) : null
|
|
32
63
|
]
|
|
33
64
|
}
|
|
34
65
|
);
|
package/dist/doodle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/doodle/doodle.tsx"],"sourcesContent":["// Server-safe. A
|
|
1
|
+
{"version":3,"sources":["../src/doodle/doodle.tsx"],"sourcesContent":["// Server-safe. A doodle of the Cahier (ADR-004, blocks.css): an arrow, a circled word, a star, a wavy underline or a small\n// sketch of one of the birds, drawn in the margin ink. It lives in two places: beside a block (`place=\"margin\"`, hung by\n// `Stuck`, on a wide screen only — gone below 1360 px, where the page's margin disappears) or in the flow\n// (`place=\"inline\"`), where a `circle` or a `wave` can wrap real text (`children`): the word stays text, in the reading\n// order, and the ink is drawn around it. Pure functions of their props (the tilt comes from `seed`, never random): the\n// same marks on the server and on the client. Decoration, hidden from assistive technology, unless it carries a `label`.\nimport type * as React from \"react\";\n\nimport { seedUnit } from \"../cahier-seed\";\nimport { cn } from \"../cn\";\n\nexport type DoodleKind = \"arrow\" | \"circle\" | \"star\" | \"wave\" | \"bird\";\n/** The birds with a sketch of their own (the ear tufts, the beak, the legs tell them apart); the rest of the flock is not drawn here. */\nexport type DoodleBird = \"falcon\" | \"owl\" | \"duck\" | \"flamingo\" | \"pigeon\";\n\nexport type DoodleProps = Omit<React.HTMLAttributes<HTMLSpanElement>, \"children\"> & {\n /** What is drawn: `arrow` (points at the block), `circle` (rings a word), `star`, `wave` (an underline) or `bird` (a small sketch). */\n kind: DoodleKind;\n /** Real text a `circle` rings or a `wave` underlines, in the flow (« nothing to copy »): it stays text, the ink is hidden. */\n children?: React.ReactNode;\n /** The word a margin `circle` rings (« ça ! »). It is decoration too: nothing that matters is said only here. */\n word?: string;\n /** Which margin it sits in: `left` (where the notebook's margin is) or `right`. It points at the block from either. @default \"left\" */\n side?: \"left\" | \"right\";\n /** `margin` hangs it beside the nearest positioned ancestor, on a wide screen only; `inline` keeps it in the flow (always, around `children`). @default \"margin\" */\n place?: \"margin\" | \"inline\";\n /** How far from the top of the block it sits, as a CSS length. @default \"0px\" */\n top?: string;\n /** Where its slight tilt comes from: the same string always leans the same way (±8°). @default \"\" */\n seed?: string;\n /** Which bird `kind=\"bird\"` sketches. @default \"duck\" */\n bird?: DoodleBird;\n /** Turns the mark to face the other way (an inline arrow that points left). A margin doodle on the `right` already does. @default false */\n flip?: boolean;\n /** A text equivalent, when the mark says something (« Start with the installation »): it is then an image carrying it. Without it, decoration. */\n label?: string;\n};\n\nconst PATHS: Record<Exclude<DoodleKind, \"bird\">, { box: string; d: string[] }> = {\n arrow: { box: \"0 0 56 36\", d: [\"M4 30 C 14 8, 32 6, 50 20\", \"M41 17 L50 20 L46 28\"] },\n circle: { box: \"0 0 64 40\", d: [\"M9 22 C 6 8, 42 2, 54 14 C 62 26, 24 38, 11 29 C 4 23, 14 10, 34 8\"] },\n star: { box: \"0 0 56 52\", d: [\"M28 4 L34 20 L52 21 L38 32 L43 48 L28 39 L13 48 L18 32 L4 21 L22 20 Z\"] },\n wave: { box: \"0 0 56 16\", d: [\"M2 9 Q 8 1 14 9 T 26 9 T 38 9 T 50 9\"] },\n};\n\n/** Around real text, the ring and the underline stretch to the word (`preserveAspectRatio=\"none\"`, the stroke kept even). */\nconst WRAPS: Record<\"circle\" | \"wave\", { box: string; d: string }> = {\n circle: { box: \"0 0 100 40\", d: \"M52 4 C18 2 3 14 6 24 C9 36 40 38 70 34 C94 30 99 16 84 8 C76 4 62 3 46 4 C40 4 36 5 33 6\" },\n wave: { box: \"0 0 100 12\", d: \"M2 7 Q8 1 14 7 T26 7 T38 7 T50 7 T62 7 T74 7 T86 7 T98 7\" },\n};\n\n/** The ear tufts, the beak and the legs that tell the birds apart, over a body and a head every bird shares. */\nconst BIRD_FEATURES: Record<DoodleBird, string> = {\n falcon: \"M52 17 Q62 17 60 27 Q57 22 52 23\",\n owl: \"M39 12 L37 4 L44 10 M51 12 L55 4 L48 10 M52 21 L55 25 L51 25\",\n duck: \"M52 19 Q62 18 63 23 Q58 25 52 24\",\n flamingo: \"M51 17 Q58 17 56 24 M44 14 C32 22 50 30 36 40\",\n pigeon: \"M52 20 L59 22 L52 24\",\n};\n\nfunction BirdSketch({ bird }: { bird: DoodleBird }) {\n const owl = bird === \"owl\";\n const tall = bird === \"flamingo\";\n return (\n <svg viewBox=\"0 0 64 64\" focusable=\"false\" data-bird={bird}>\n <ellipse cx=\"30\" cy=\"40\" rx=\"18\" ry=\"12\" transform=\"rotate(-8 30 40)\" />\n {tall ? <circle cx=\"45\" cy=\"12\" r=\"5.5\" /> : <circle cx=\"44\" cy=\"21\" r=\"9\" />}\n <path d=\"M20 40 Q29 31 40 39\" />\n <path d=\"M26 52 L25 61 M34 52 L35 61\" />\n <path d={BIRD_FEATURES[bird]} />\n {owl ? <circle cx=\"47\" cy=\"19\" r=\"4\" /> : null}\n <circle cx={tall ? 46.5 : 47} cy={tall ? 11 : 19} r=\"1.6\" fill=\"currentColor\" stroke=\"none\" />\n </svg>\n );\n}\n\n/** A doodle: an arrow, a circled word, a star, a wavy underline or a bird's sketch, in the margin ink. Decoration unless it has a `label`. */\nexport function Doodle({ kind, children, word, side = \"left\", place = \"margin\", top, seed = \"\", bird = \"duck\", flip = false, label, className, style, ...props }: DoodleProps) {\n const wraps = children != null && (kind === \"circle\" || kind === \"wave\");\n const said = !wraps && Boolean(label);\n return (\n <span\n className={cn(\"kz-doodle\", className)}\n data-kind={kind}\n data-side={side}\n data-place={wraps ? \"inline\" : place}\n data-wrap={wraps ? \"\" : undefined}\n data-flip={flip ? \"\" : undefined}\n role={said ? \"img\" : undefined}\n aria-label={said ? label : undefined}\n aria-hidden={wraps || said ? undefined : true}\n style={{ ...style, [\"--kz-doodle-tilt\" as string]: `${Math.round(seedUnit(`${kind}${seed}`) * 80) / 10}deg`, ...(top ? { [\"--kz-doodle-top\" as string]: top } : {}) }}\n {...props}\n >\n {wraps ? (\n <>\n <span className=\"kz-doodle-word\">{children}</span>\n <span className=\"kz-doodle-ink\" aria-hidden>\n <svg viewBox={WRAPS[kind as \"circle\" | \"wave\"].box} preserveAspectRatio=\"none\" focusable=\"false\">\n <path d={WRAPS[kind as \"circle\" | \"wave\"].d} vectorEffect=\"non-scaling-stroke\" />\n </svg>\n </span>\n </>\n ) : kind === \"bird\" ? (\n <BirdSketch bird={bird} />\n ) : (\n <svg viewBox={PATHS[kind].box} focusable=\"false\">\n {PATHS[kind].d.map((path) => (\n <path key={path} d={path} />\n ))}\n </svg>\n )}\n {!wraps && kind === \"circle\" && word ? <span className=\"kz-doodle-word\">{word}</span> : null}\n </span>\n );\n}\n"],"mappings":";;;;;;;;AAgEI,SA+BI,UA9BF,KADF;AA1BJ,IAAM,QAA2E;AAAA,EAC/E,OAAO,EAAE,KAAK,aAAa,GAAG,CAAC,6BAA6B,sBAAsB,EAAE;AAAA,EACpF,QAAQ,EAAE,KAAK,aAAa,GAAG,CAAC,oEAAoE,EAAE;AAAA,EACtG,MAAM,EAAE,KAAK,aAAa,GAAG,CAAC,uEAAuE,EAAE;AAAA,EACvG,MAAM,EAAE,KAAK,aAAa,GAAG,CAAC,sCAAsC,EAAE;AACxE;AAGA,IAAM,QAA+D;AAAA,EACnE,QAAQ,EAAE,KAAK,cAAc,GAAG,4FAA4F;AAAA,EAC5H,MAAM,EAAE,KAAK,cAAc,GAAG,2DAA2D;AAC3F;AAGA,IAAM,gBAA4C;AAAA,EAChD,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,MAAM;AAAA,EACN,UAAU;AAAA,EACV,QAAQ;AACV;AAEA,SAAS,WAAW,EAAE,KAAK,GAAyB;AAClD,QAAM,MAAM,SAAS;AACrB,QAAM,OAAO,SAAS;AACtB,SACE,qBAAC,SAAI,SAAQ,aAAY,WAAU,SAAQ,aAAW,MACpD;AAAA,wBAAC,aAAQ,IAAG,MAAK,IAAG,MAAK,IAAG,MAAK,IAAG,MAAK,WAAU,oBAAmB;AAAA,IACrE,OAAO,oBAAC,YAAO,IAAG,MAAK,IAAG,MAAK,GAAE,OAAM,IAAK,oBAAC,YAAO,IAAG,MAAK,IAAG,MAAK,GAAE,KAAI;AAAA,IAC3E,oBAAC,UAAK,GAAE,uBAAsB;AAAA,IAC9B,oBAAC,UAAK,GAAE,+BAA8B;AAAA,IACtC,oBAAC,UAAK,GAAG,cAAc,IAAI,GAAG;AAAA,IAC7B,MAAM,oBAAC,YAAO,IAAG,MAAK,IAAG,MAAK,GAAE,KAAI,IAAK;AAAA,IAC1C,oBAAC,YAAO,IAAI,OAAO,OAAO,IAAI,IAAI,OAAO,KAAK,IAAI,GAAE,OAAM,MAAK,gBAAe,QAAO,QAAO;AAAA,KAC9F;AAEJ;AAGO,SAAS,OAAO,EAAE,MAAM,UAAU,MAAM,OAAO,QAAQ,QAAQ,UAAU,KAAK,OAAO,IAAI,OAAO,QAAQ,OAAO,OAAO,OAAO,WAAW,OAAO,GAAG,MAAM,GAAgB;AAC7K,QAAM,QAAQ,YAAY,SAAS,SAAS,YAAY,SAAS;AACjE,QAAM,OAAO,CAAC,SAAS,QAAQ,KAAK;AACpC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,aAAa,SAAS;AAAA,MACpC,aAAW;AAAA,MACX,aAAW;AAAA,MACX,cAAY,QAAQ,WAAW;AAAA,MAC/B,aAAW,QAAQ,KAAK;AAAA,MACxB,aAAW,OAAO,KAAK;AAAA,MACvB,MAAM,OAAO,QAAQ;AAAA,MACrB,cAAY,OAAO,QAAQ;AAAA,MAC3B,eAAa,SAAS,OAAO,SAAY;AAAA,MACzC,OAAO,EAAE,GAAG,OAAO,CAAC,kBAA4B,GAAG,GAAG,KAAK,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,GAAI,MAAM,EAAE,CAAC,iBAA2B,GAAG,IAAI,IAAI,CAAC,EAAG;AAAA,MACnK,GAAG;AAAA,MAEH;AAAA,gBACC,iCACE;AAAA,8BAAC,UAAK,WAAU,kBAAkB,UAAS;AAAA,UAC3C,oBAAC,UAAK,WAAU,iBAAgB,eAAW,MACzC,8BAAC,SAAI,SAAS,MAAM,IAAyB,EAAE,KAAK,qBAAoB,QAAO,WAAU,SACvF,8BAAC,UAAK,GAAG,MAAM,IAAyB,EAAE,GAAG,cAAa,sBAAqB,GACjF,GACF;AAAA,WACF,IACE,SAAS,SACX,oBAAC,cAAW,MAAY,IAExB,oBAAC,SAAI,SAAS,MAAM,IAAI,EAAE,KAAK,WAAU,SACtC,gBAAM,IAAI,EAAE,EAAE,IAAI,CAAC,SAClB,oBAAC,UAAgB,GAAG,QAAT,IAAe,CAC3B,GACH;AAAA,QAED,CAAC,SAAS,SAAS,YAAY,OAAO,oBAAC,UAAK,WAAU,kBAAkB,gBAAK,IAAU;AAAA;AAAA;AAAA,EAC1F;AAEJ;","names":[]}
|
package/dist/drop-overlay.d.ts
CHANGED
|
@@ -36,4 +36,5 @@ type DropOverlayProps = Omit<React.ComponentProps<"div">, "children" | "onDrop">
|
|
|
36
36
|
/** Drag a file anywhere on the page: a full-window overlay accepts it. */
|
|
37
37
|
declare function DropOverlay({ label, hint, onFiles, accept, disabled, active: controlled, className, ...props }: DropOverlayProps): React.JSX.Element | null;
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { DropOverlay, dragHasFiles, splitDropped };
|
|
40
|
+
export type { AcceptRule, DropOverlayProps, DropSplit };
|
package/dist/dropdown-menu.d.ts
CHANGED
|
@@ -80,4 +80,5 @@ declare const DropdownMenu: {
|
|
|
80
80
|
RadioItem: typeof DropdownMenuRadioItem;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent,
|
|
83
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSubContent, DropdownMenuSubTrigger, menu };
|
|
84
|
+
export type { DropdownMenuContentProps, DropdownMenuItemProps };
|
package/dist/dropdown-menu.js
CHANGED
|
@@ -1,79 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
item: "relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2.5 py-2 text-sm text-fg outline-hidden transition-colors data-highlighted:bg-surface-3 data-disabled:pointer-events-none data-disabled:opacity-40 [&>svg]:h-4 [&>svg]:w-4 [&>svg]:shrink-0 [&>svg]:text-fg-secondary",
|
|
17
|
-
indicator: "ml-auto flex h-4 w-4 items-center justify-center text-fg-accent",
|
|
18
|
-
label: "px-2.5 pb-1 pt-2 text-[11px] font-semibold text-fg-secondary",
|
|
19
|
-
separator: "-mx-1 my-1 h-px bg-border-subtle"
|
|
20
|
-
},
|
|
21
|
-
variants: {
|
|
22
|
-
// The label reads in the danger text role (≥ 4.5:1 on the menu surface, both themes); the icon and the highlight
|
|
23
|
-
// carry the danger fill.
|
|
24
|
-
tone: { default: {}, danger: { item: "text-fg-danger data-highlighted:bg-danger/15 [&>svg]:text-danger" } }
|
|
25
|
-
},
|
|
26
|
-
defaultVariants: { tone: "default" }
|
|
27
|
-
});
|
|
28
|
-
var s = menu();
|
|
29
|
-
function DropdownMenuContent({ sideOffset = 6, align = "end", collisionPadding = 8, container, className, ...props }) {
|
|
30
|
-
return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { container, children: /* @__PURE__ */ jsx(MenuPrimitive.Content, { sideOffset, align, collisionPadding, className: s.content({ className }), ...props }) });
|
|
31
|
-
}
|
|
32
|
-
function DropdownMenuItem({ tone, className, ...props }) {
|
|
33
|
-
return /* @__PURE__ */ jsx(MenuPrimitive.Item, { "data-tone": tone ?? "default", className: menu({ tone }).item({ className }), ...props });
|
|
34
|
-
}
|
|
35
|
-
function DropdownMenuCheckboxItem({ className, children, ...props }) {
|
|
36
|
-
return /* @__PURE__ */ jsxs(MenuPrimitive.CheckboxItem, { className: s.item({ className }), ...props, children: [
|
|
37
|
-
children,
|
|
38
|
-
/* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { className: s.indicator(), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" }) }) })
|
|
39
|
-
] });
|
|
40
|
-
}
|
|
41
|
-
function DropdownMenuSubTrigger({ className, children, ...props }) {
|
|
42
|
-
return /* @__PURE__ */ jsxs(MenuPrimitive.SubTrigger, { className: s.item({ className: cn("data-[state=open]:bg-surface-3", className) }), ...props, children: [
|
|
43
|
-
children,
|
|
44
|
-
/* @__PURE__ */ jsx("svg", { className: "ml-auto !h-4 !w-4 text-fg-secondary", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" }) })
|
|
45
|
-
] });
|
|
46
|
-
}
|
|
47
|
-
function DropdownMenuSubContent({ sideOffset = 4, collisionPadding = 8, className, ...props }) {
|
|
48
|
-
return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(MenuPrimitive.SubContent, { sideOffset, collisionPadding, className: s.content({ className: cn("max-h-(--radix-dropdown-menu-content-available-height)", className) }), ...props }) });
|
|
49
|
-
}
|
|
50
|
-
function DropdownMenuRadioItem({ className, children, ...props }) {
|
|
51
|
-
return /* @__PURE__ */ jsxs(MenuPrimitive.RadioItem, { className: s.item({ className }), ...props, children: [
|
|
52
|
-
children,
|
|
53
|
-
/* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { className: s.indicator(), children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" }) }) })
|
|
54
|
-
] });
|
|
55
|
-
}
|
|
56
|
-
function DropdownMenuLabel({ className, ...props }) {
|
|
57
|
-
return /* @__PURE__ */ jsx(MenuPrimitive.Label, { className: s.label({ className }), ...props });
|
|
58
|
-
}
|
|
59
|
-
function DropdownMenuSeparator({ className, ...props }) {
|
|
60
|
-
return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { className: s.separator({ className }), ...props });
|
|
61
|
-
}
|
|
62
|
-
var DropdownMenu = {
|
|
63
|
-
Root: MenuPrimitive.Root,
|
|
64
|
-
Trigger: MenuPrimitive.Trigger,
|
|
65
|
-
Content: DropdownMenuContent,
|
|
66
|
-
Item: DropdownMenuItem,
|
|
67
|
-
CheckboxItem: DropdownMenuCheckboxItem,
|
|
68
|
-
Label: DropdownMenuLabel,
|
|
69
|
-
Separator: DropdownMenuSeparator,
|
|
70
|
-
Group: MenuPrimitive.Group,
|
|
71
|
-
Sub: MenuPrimitive.Sub,
|
|
72
|
-
SubTrigger: DropdownMenuSubTrigger,
|
|
73
|
-
SubContent: DropdownMenuSubContent,
|
|
74
|
-
RadioGroup: MenuPrimitive.RadioGroup,
|
|
75
|
-
RadioItem: DropdownMenuRadioItem
|
|
76
|
-
};
|
|
3
|
+
DropdownMenu,
|
|
4
|
+
DropdownMenuCheckboxItem,
|
|
5
|
+
DropdownMenuContent,
|
|
6
|
+
DropdownMenuItem,
|
|
7
|
+
DropdownMenuLabel,
|
|
8
|
+
DropdownMenuRadioItem,
|
|
9
|
+
DropdownMenuSeparator,
|
|
10
|
+
DropdownMenuSubContent,
|
|
11
|
+
DropdownMenuSubTrigger,
|
|
12
|
+
menu
|
|
13
|
+
} from "./chunk-OGWB76BR.js";
|
|
14
|
+
import "./chunk-J3NC6ER4.js";
|
|
15
|
+
import "./chunk-NSLXEDIS.js";
|
|
77
16
|
export {
|
|
78
17
|
DropdownMenu,
|
|
79
18
|
DropdownMenuCheckboxItem,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/elephant.d.ts
CHANGED
package/dist/empty-state.d.ts
CHANGED
|
@@ -62,4 +62,5 @@ type EmptyStateProps = Omit<React.ComponentProps<"div">, "title"> & {
|
|
|
62
62
|
};
|
|
63
63
|
declare function EmptyState({ icon, title, description, action, className, ...props }: EmptyStateProps): React.JSX.Element;
|
|
64
64
|
|
|
65
|
-
export { EmptyState,
|
|
65
|
+
export { EmptyState, emptyState };
|
|
66
|
+
export type { EmptyStateProps };
|
package/dist/engine-flow.d.ts
CHANGED
|
@@ -117,4 +117,5 @@ declare function photonCount(length: number, density?: FlowDensity): number;
|
|
|
117
117
|
/** An engine at the hub and the apps it serves, with what travels between them. */
|
|
118
118
|
declare function EngineFlow({ label, hub, nodes, layout, compactLayout, particles, conduit, hint, defaultActive, speed, density, trigger, easing, stagger, breathe, className, ...props }: EngineFlowProps): React.JSX.Element;
|
|
119
119
|
|
|
120
|
-
export { EngineFlow,
|
|
120
|
+
export { EngineFlow, FLOW_HEIGHT, flowGeometry, flowPositions, photonCount };
|
|
121
|
+
export type { EngineFlowHub, EngineFlowNode, EngineFlowProps, FlowConduit, FlowDensity, FlowEasing, FlowGeometry, FlowLayout, FlowPoint, FlowTrigger };
|
package/dist/error-page.d.ts
CHANGED
|
@@ -19,4 +19,5 @@ type ErrorPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
|
19
19
|
/** An error page: the code drawn, the bird, a sentence, a search and the ways back. */
|
|
20
20
|
declare function ErrorPage({ code, mascot, title, text, search, actions, className, children, ...props }: ErrorPageProps): React.JSX.Element;
|
|
21
21
|
|
|
22
|
-
export { ErrorPage
|
|
22
|
+
export { ErrorPage };
|
|
23
|
+
export type { ErrorPageProps };
|
package/dist/file-upload.d.ts
CHANGED
|
@@ -5,17 +5,17 @@ import * as React from 'react';
|
|
|
5
5
|
declare const fileUpload: tailwind_variants.TVReturnType<{
|
|
6
6
|
[key: string]: {
|
|
7
7
|
[key: string]: tailwind_variants.ClassValue | {
|
|
8
|
-
error?: tailwind_variants.ClassValue;
|
|
9
|
-
body?: tailwind_variants.ClassValue;
|
|
10
|
-
meta?: tailwind_variants.ClassValue;
|
|
11
|
-
list?: tailwind_variants.ClassValue;
|
|
12
8
|
zoneIcon?: tailwind_variants.ClassValue;
|
|
13
9
|
zoneTitle?: tailwind_variants.ClassValue;
|
|
14
10
|
zoneHint?: tailwind_variants.ClassValue;
|
|
15
11
|
refusals?: tailwind_variants.ClassValue;
|
|
12
|
+
list?: tailwind_variants.ClassValue;
|
|
16
13
|
item?: tailwind_variants.ClassValue;
|
|
17
14
|
preview?: tailwind_variants.ClassValue;
|
|
15
|
+
body?: tailwind_variants.ClassValue;
|
|
18
16
|
name?: tailwind_variants.ClassValue;
|
|
17
|
+
meta?: tailwind_variants.ClassValue;
|
|
18
|
+
error?: tailwind_variants.ClassValue;
|
|
19
19
|
actions?: tailwind_variants.ClassValue;
|
|
20
20
|
zone?: tailwind_variants.ClassValue;
|
|
21
21
|
browse?: tailwind_variants.ClassValue;
|
|
@@ -25,17 +25,17 @@ declare const fileUpload: tailwind_variants.TVReturnType<{
|
|
|
25
25
|
} | {
|
|
26
26
|
[x: string]: {
|
|
27
27
|
[x: string]: tailwind_variants.ClassValue | {
|
|
28
|
-
error?: tailwind_variants.ClassValue;
|
|
29
|
-
body?: tailwind_variants.ClassValue;
|
|
30
|
-
meta?: tailwind_variants.ClassValue;
|
|
31
|
-
list?: tailwind_variants.ClassValue;
|
|
32
28
|
zoneIcon?: tailwind_variants.ClassValue;
|
|
33
29
|
zoneTitle?: tailwind_variants.ClassValue;
|
|
34
30
|
zoneHint?: tailwind_variants.ClassValue;
|
|
35
31
|
refusals?: tailwind_variants.ClassValue;
|
|
32
|
+
list?: tailwind_variants.ClassValue;
|
|
36
33
|
item?: tailwind_variants.ClassValue;
|
|
37
34
|
preview?: tailwind_variants.ClassValue;
|
|
35
|
+
body?: tailwind_variants.ClassValue;
|
|
38
36
|
name?: tailwind_variants.ClassValue;
|
|
37
|
+
meta?: tailwind_variants.ClassValue;
|
|
38
|
+
error?: tailwind_variants.ClassValue;
|
|
39
39
|
actions?: tailwind_variants.ClassValue;
|
|
40
40
|
zone?: tailwind_variants.ClassValue;
|
|
41
41
|
browse?: tailwind_variants.ClassValue;
|
|
@@ -61,17 +61,17 @@ declare const fileUpload: tailwind_variants.TVReturnType<{
|
|
|
61
61
|
}, undefined, {
|
|
62
62
|
[key: string]: {
|
|
63
63
|
[key: string]: tailwind_variants.ClassValue | {
|
|
64
|
-
error?: tailwind_variants.ClassValue;
|
|
65
|
-
body?: tailwind_variants.ClassValue;
|
|
66
|
-
meta?: tailwind_variants.ClassValue;
|
|
67
|
-
list?: tailwind_variants.ClassValue;
|
|
68
64
|
zoneIcon?: tailwind_variants.ClassValue;
|
|
69
65
|
zoneTitle?: tailwind_variants.ClassValue;
|
|
70
66
|
zoneHint?: tailwind_variants.ClassValue;
|
|
71
67
|
refusals?: tailwind_variants.ClassValue;
|
|
68
|
+
list?: tailwind_variants.ClassValue;
|
|
72
69
|
item?: tailwind_variants.ClassValue;
|
|
73
70
|
preview?: tailwind_variants.ClassValue;
|
|
71
|
+
body?: tailwind_variants.ClassValue;
|
|
74
72
|
name?: tailwind_variants.ClassValue;
|
|
73
|
+
meta?: tailwind_variants.ClassValue;
|
|
74
|
+
error?: tailwind_variants.ClassValue;
|
|
75
75
|
actions?: tailwind_variants.ClassValue;
|
|
76
76
|
zone?: tailwind_variants.ClassValue;
|
|
77
77
|
browse?: tailwind_variants.ClassValue;
|
|
@@ -240,10 +240,11 @@ declare function useUploadQueue(options: UploadQueueOptions): {
|
|
|
240
240
|
items: UploadItem[];
|
|
241
241
|
add: (files: readonly File[]) => void;
|
|
242
242
|
pause: (id: string) => void;
|
|
243
|
-
resume:
|
|
244
|
-
retry:
|
|
243
|
+
resume: any;
|
|
244
|
+
retry: any;
|
|
245
245
|
cancel: (id: string) => void;
|
|
246
246
|
remove: (id: string) => void;
|
|
247
247
|
};
|
|
248
248
|
|
|
249
|
-
export { Dropzone,
|
|
249
|
+
export { Dropzone, UploadList, acceptsFile, fileUpload, formatBytes, uploadListLabels, useUploadQueue };
|
|
250
|
+
export type { DropzoneProps, FileRejection, UploadContext, UploadItem, UploadListLabels, UploadListProps, UploadQueueOptions, UploadStatus };
|