@krizaka/ui 3.73.0 → 3.74.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 +2 -4
- package/dist/{RotatingWord-COSabR2c.d.ts → RotatingWord-D3tpDLE4.d.ts} +1 -1
- package/dist/account-menu.d.ts +1 -1
- package/dist/account-menu.js +1 -1
- package/dist/account-settings.d.ts +1 -1
- package/dist/account-settings.js +1 -1
- package/dist/app-frame.d.ts +2 -5
- package/dist/avatar/defaults.d.ts +2 -2
- package/dist/avatar/defaults.js +1 -5
- package/dist/avatar/defaults.js.map +1 -1
- package/dist/{avatar-B_na7r1U.d.ts → avatar-CNV6ld8l.d.ts} +2 -2
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.js +1 -5
- package/dist/avatar.js.map +1 -1
- package/dist/blocks.css +4 -4
- package/dist/chat.js +1 -1
- package/dist/{chunk-5MPPIGCB.js → chunk-E46AEUPH.js} +1 -5
- package/dist/chunk-E46AEUPH.js.map +1 -0
- package/dist/{chunk-GRVIZTT2.js → chunk-GSQRSWOE.js} +2 -2
- package/dist/{chunk-TISDOZH3.js → chunk-IOTY5HYG.js} +1 -5
- package/dist/chunk-IOTY5HYG.js.map +1 -0
- package/dist/{chunk-T5NZSKWT.js → chunk-KF7UB3LM.js} +29 -34
- package/dist/chunk-KF7UB3LM.js.map +1 -0
- package/dist/chunk-PGPNYYE2.js +286 -0
- package/dist/chunk-PGPNYYE2.js.map +1 -0
- package/dist/{chunk-Y5YBTHVD.js → chunk-SG3QJJXE.js} +6 -12
- package/dist/chunk-SG3QJJXE.js.map +1 -0
- package/dist/{chunk-4JO5GSSD.js → chunk-VA4NPCUQ.js} +2 -2
- package/dist/chunk-VA4NPCUQ.js.map +1 -0
- package/dist/collection-switcher.d.ts +1 -1
- package/dist/data-table.js +2 -2
- package/dist/{default-avatar-BL0nJFti.d.ts → default-avatar-Bh4atFDo.d.ts} +2 -2
- package/dist/elephant.d.ts +2 -2
- package/dist/elephant.js +2 -3
- package/dist/elephant.js.map +1 -1
- package/dist/engine-flow.js +29 -21
- package/dist/engine-flow.js.map +1 -1
- package/dist/entity-header.d.ts +1 -1
- package/dist/filter-bar.d.ts +3 -3
- package/dist/filter-bar.js +1 -1
- package/dist/genui.js +2 -2
- package/dist/index.d.ts +7 -51
- package/dist/index.js +2 -12
- package/dist/index.js.map +1 -1
- package/dist/language-switch.d.ts +9 -9
- package/dist/map.js +0 -120
- package/dist/map.js.map +1 -1
- package/dist/match-dialog.js +1 -1
- package/dist/media-grid.d.ts +2 -2
- package/dist/media-grid.js +1 -1
- package/dist/motion.css +2 -95
- package/dist/motion.d.ts +1 -1
- package/dist/motion.js +1 -1
- package/dist/native/map.js +0 -120
- package/dist/native/map.js.map +1 -1
- package/dist/native.d.ts +7 -59
- package/dist/native.js +920 -1272
- package/dist/native.js.map +1 -1
- package/dist/nav-bar.d.ts +1 -1
- package/dist/nav-bar.js +2 -2
- package/dist/rail-nav.d.ts +2 -5
- package/dist/site-cahier.d.ts +3 -11
- package/dist/site-cahier.js +126 -367
- package/dist/site-cahier.js.map +1 -1
- package/dist/site-footer.d.ts +1 -1
- package/dist/site-footer.js +2 -2
- package/dist/{sites-CEnywB89.d.ts → sites-CVNSirrg.d.ts} +3 -11
- package/dist/sites.d.ts +7 -15
- package/dist/sites.js +4 -10
- package/dist/sites.js.map +1 -1
- package/dist/tag-selector.js +12 -11
- package/dist/tag-selector.js.map +1 -1
- package/dist/vertical-video.js +1 -1
- package/package.json +5 -33
- package/registry/account-menu.json +1 -1
- package/registry/account-settings.json +1 -1
- 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/analysis-report.json +1 -1
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-frame.json +6 -38
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/registry/choice-grid.json +1 -1
- package/registry/code-block.json +1 -1
- package/registry/collection-switcher.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/copy-button.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 +1 -1
- package/registry/data-table.json +1 -1
- package/registry/date-picker.json +1 -1
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +1 -1
- package/registry/desktop-window.json +1 -1
- package/registry/detail-layout.json +1 -1
- 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 +1 -1
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +3 -5
- package/registry/embed-facade.json +1 -1
- package/registry/empty-state.json +1 -1
- package/registry/engine-flow.json +3 -4
- package/registry/entity-header.json +1 -1
- package/registry/environment-notice.json +1 -1
- package/registry/error-page.json +1 -1
- package/registry/examples/media-grid/feed.js +3 -4
- package/registry/examples/media-grid/feed.tsx +3 -4
- package/registry/examples/media-grid/uniform.js +2 -2
- package/registry/examples/media-grid/uniform.tsx +2 -2
- package/registry/field.json +1 -1
- package/registry/file-upload.json +1 -1
- package/registry/filter-bar.json +2 -2
- 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 +1 -1
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +1 -1
- package/registry/index.json +8 -68
- package/registry/kanban.json +1 -1
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +1 -1
- 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/margin-layout.json +1 -1
- 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 +3 -3
- package/registry/media-capture.json +1 -1
- package/registry/media-gallery.json +1 -1
- package/registry/media-grid.json +4 -4
- package/registry/meter.json +1 -1
- package/registry/money-input.json +1 -1
- package/registry/nav-bar.json +6 -38
- 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 +3 -4
- 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/price-catalogue-editor.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/promo-code-field.json +1 -1
- package/registry/proposal.json +1 -1
- package/registry/qr-code.json +1 -1
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +6 -38
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +1 -1
- package/registry/reviews.json +1 -1
- package/registry/router.json +1 -1
- package/registry/schema-form.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/shop-composer.json +1 -1
- package/registry/shop-gallery.json +1 -1
- package/registry/shop.json +2 -2
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +1 -1
- package/registry/site-footer.json +6 -38
- package/registry/sites.json +3 -3
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +1 -1
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +1 -1
- package/registry/speed-lines.json +1 -1
- 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 +1 -1
- 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 +1 -1
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +3 -3
- package/registry/switch.json +1 -1
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +2 -2
- 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 +1 -1
- 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/usage.json +1 -1
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +1 -1
- 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 +1 -1
- package/registry/wall.json +1 -1
- package/registry/waveform.json +1 -1
- package/dist/chunk-4JO5GSSD.js.map +0 -1
- package/dist/chunk-5MPPIGCB.js.map +0 -1
- package/dist/chunk-B2HS5EAH.js +0 -527
- package/dist/chunk-B2HS5EAH.js.map +0 -1
- package/dist/chunk-T5NZSKWT.js.map +0 -1
- package/dist/chunk-TISDOZH3.js.map +0 -1
- package/dist/chunk-Y5YBTHVD.js.map +0 -1
- package/dist/iso.d.ts +0 -401
- package/dist/iso.js +0 -363
- package/dist/iso.js.map +0 -1
- package/dist/meta-row.d.ts +0 -55
- package/dist/meta-row.js +0 -35
- package/dist/meta-row.js.map +0 -1
- package/registry/examples/iso/compose.d.ts +0 -4
- package/registry/examples/iso/compose.js +0 -22
- package/registry/examples/iso/compose.tsx +0 -19
- package/registry/examples/iso/creator-hero.d.ts +0 -4
- package/registry/examples/iso/creator-hero.js +0 -29
- package/registry/examples/iso/creator-hero.tsx +0 -23
- package/registry/examples/iso/orazaka-hero.d.ts +0 -4
- package/registry/examples/iso/orazaka-hero.js +0 -26
- package/registry/examples/iso/orazaka-hero.tsx +0 -21
- package/registry/examples/iso/still.d.ts +0 -4
- package/registry/examples/iso/still.js +0 -21
- package/registry/examples/iso/still.tsx +0 -15
- package/registry/examples/meta-row/native/video.d.ts +0 -4
- package/registry/examples/meta-row/native/video.dark.png +0 -0
- package/registry/examples/meta-row/native/video.js +0 -11
- package/registry/examples/meta-row/native/video.light.png +0 -0
- package/registry/examples/meta-row/native/video.tsx +0 -5
- package/registry/examples/meta-row/status.d.ts +0 -4
- package/registry/examples/meta-row/status.js +0 -12
- package/registry/examples/meta-row/status.tsx +0 -7
- package/registry/examples/meta-row/video.d.ts +0 -4
- package/registry/examples/meta-row/video.js +0 -12
- package/registry/examples/meta-row/video.tsx +0 -7
- package/registry/iso.json +0 -1371
- package/registry/meta-row.json +0 -218
- /package/dist/{chunk-GRVIZTT2.js.map → chunk-GSQRSWOE.js.map} +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
// registry/examples/iso/creator-hero.tsx
|
|
4
|
-
import { IsoHub } from "@krizaka/ui/iso";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
function IsoCreatorHero() {
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
-
IsoHub,
|
|
9
|
-
{
|
|
10
|
-
label: "Every support flows to the creator",
|
|
11
|
-
description: "A creator at the centre receives tips, unlocks, auction bids and challenge pledges; 90 % of each goes to them.",
|
|
12
|
-
className: "w-full max-w-xl",
|
|
13
|
-
shape: "hex",
|
|
14
|
-
size: 110,
|
|
15
|
-
layers: [{ label: "Community", height: 16 }, { label: "Creator", height: 44, material: "accent2" }],
|
|
16
|
-
core: "Payouts",
|
|
17
|
-
highlight: { strong: "90 %", text: "to the creator" },
|
|
18
|
-
satellites: [
|
|
19
|
-
{ label: "Tips", glyph: "coin", value: "+ \u20AC5" },
|
|
20
|
-
{ label: "Unlocks", glyph: "lock", value: "+ \u20AC3" },
|
|
21
|
-
{ label: "Auctions", glyph: "arrow", value: "\u20AC120" },
|
|
22
|
-
{ label: "Challenges", glyph: "flag", value: "\u20AC40" }
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
IsoCreatorHero as default
|
|
29
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IsoHub } from "@krizaka/ui/iso";
|
|
2
|
-
|
|
3
|
-
// The creator at the centre; tips, unlocks, auctions and challenges flow toward them — and 90 % stays theirs.
|
|
4
|
-
export default function IsoCreatorHero() {
|
|
5
|
-
return (
|
|
6
|
-
<IsoHub
|
|
7
|
-
label="Every support flows to the creator"
|
|
8
|
-
description="A creator at the centre receives tips, unlocks, auction bids and challenge pledges; 90 % of each goes to them."
|
|
9
|
-
className="w-full max-w-xl"
|
|
10
|
-
shape="hex"
|
|
11
|
-
size={110}
|
|
12
|
-
layers={[{ label: "Community", height: 16 }, { label: "Creator", height: 44, material: "accent2" }]}
|
|
13
|
-
core="Payouts"
|
|
14
|
-
highlight={{ strong: "90 %", text: "to the creator" }}
|
|
15
|
-
satellites={[
|
|
16
|
-
{ label: "Tips", glyph: "coin", value: "+ €5" },
|
|
17
|
-
{ label: "Unlocks", glyph: "lock", value: "+ €3" },
|
|
18
|
-
{ label: "Auctions", glyph: "arrow", value: "€120" },
|
|
19
|
-
{ label: "Challenges", glyph: "flag", value: "€40" },
|
|
20
|
-
]}
|
|
21
|
-
/>
|
|
22
|
-
);
|
|
23
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
// registry/examples/iso/orazaka-hero.tsx
|
|
4
|
-
import { IsoHub } from "@krizaka/ui/iso";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
function IsoOrazakaHero() {
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
-
IsoHub,
|
|
9
|
-
{
|
|
10
|
-
label: "Your AI runs on your own servers",
|
|
11
|
-
description: "A stack of three servers \u2014 gateway, models, data \u2014 under a dome; chats and documents flow in, answers flow out.",
|
|
12
|
-
className: "w-full max-w-xl",
|
|
13
|
-
dome: "Your infrastructure",
|
|
14
|
-
layers: [{ label: "Data" }, { label: "Models" }, { label: "Gateway" }],
|
|
15
|
-
core: "Orchestrator",
|
|
16
|
-
satellites: [
|
|
17
|
-
{ label: "Chats", glyph: "dots", flow: "in" },
|
|
18
|
-
{ label: "Documents", glyph: "lines", flow: "in", material: "glass" },
|
|
19
|
-
{ label: "Answers", glyph: "arrow", flow: "out" }
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
IsoOrazakaHero as default
|
|
26
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IsoHub } from "@krizaka/ui/iso";
|
|
2
|
-
|
|
3
|
-
// Sovereign servers under a dome: three stages, a lit core, requests and documents flowing in, answers flowing out.
|
|
4
|
-
// Wrap it in `.brand-orazaka` (or any brand) and the light follows the brand's accent.
|
|
5
|
-
export default function IsoOrazakaHero() {
|
|
6
|
-
return (
|
|
7
|
-
<IsoHub
|
|
8
|
-
label="Your AI runs on your own servers"
|
|
9
|
-
description="A stack of three servers — gateway, models, data — under a dome; chats and documents flow in, answers flow out."
|
|
10
|
-
className="w-full max-w-xl"
|
|
11
|
-
dome="Your infrastructure"
|
|
12
|
-
layers={[{ label: "Data" }, { label: "Models" }, { label: "Gateway" }]}
|
|
13
|
-
core="Orchestrator"
|
|
14
|
-
satellites={[
|
|
15
|
-
{ label: "Chats", glyph: "dots", flow: "in" },
|
|
16
|
-
{ label: "Documents", glyph: "lines", flow: "in", material: "glass" },
|
|
17
|
-
{ label: "Answers", glyph: "arrow", flow: "out" },
|
|
18
|
-
]}
|
|
19
|
-
/>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
// registry/examples/iso/still.tsx
|
|
4
|
-
import { IsoHub } from "@krizaka/ui/iso";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
function IsoStill() {
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
-
IsoHub,
|
|
9
|
-
{
|
|
10
|
-
label: "A server under a dome",
|
|
11
|
-
className: "w-full max-w-sm",
|
|
12
|
-
animated: false,
|
|
13
|
-
dome: true,
|
|
14
|
-
layers: [{}, {}],
|
|
15
|
-
satellites: [{ label: "Requests", glyph: "dots" }, { label: "Files", glyph: "lines", material: "glass" }]
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
IsoStill as default
|
|
21
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IsoHub } from "@krizaka/ui/iso";
|
|
2
|
-
|
|
3
|
-
// `animated={false}`: the still frame — the picture prefers-reduced-motion shows, composed, never cut mid-way.
|
|
4
|
-
export default function IsoStill() {
|
|
5
|
-
return (
|
|
6
|
-
<IsoHub
|
|
7
|
-
label="A server under a dome"
|
|
8
|
-
className="w-full max-w-sm"
|
|
9
|
-
animated={false}
|
|
10
|
-
dome
|
|
11
|
-
layers={[{}, {}]}
|
|
12
|
-
satellites={[{ label: "Requests", glyph: "dots" }, { label: "Files", glyph: "lines", material: "glass" }]}
|
|
13
|
-
/>
|
|
14
|
-
);
|
|
15
|
-
}
|
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
// registry/examples/meta-row/native/video.tsx
|
|
4
|
-
import { Badge, MetaRow } from "@krizaka/ui/native";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
function NativeMetaRowVideo() {
|
|
7
|
-
return /* @__PURE__ */ jsx(MetaRow, { label: "Video", items: ["HD 720p", "9:16", "0:05", "Oct 16, 2026"], chips: [/* @__PURE__ */ jsx(Badge, { tone: "accent", size: "md", children: "AI-generated" }, "ai")] });
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
NativeMetaRowVideo as default
|
|
11
|
-
};
|
|
Binary file
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
// registry/examples/meta-row/status.tsx
|
|
4
|
-
import { Badge } from "@krizaka/ui/badge";
|
|
5
|
-
import { MetaRow } from "@krizaka/ui/meta-row";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
function MetaRowStatus() {
|
|
8
|
-
return /* @__PURE__ */ jsx(MetaRow, { "aria-label": "Video", size: "md", items: ["0:05", "Oct 16, 2026", null], chips: [/* @__PURE__ */ jsx(Badge, { tone: "warning", children: "Encoding" }, "s")] });
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
MetaRowStatus as default
|
|
12
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Badge } from "@krizaka/ui/badge";
|
|
2
|
-
import { MetaRow } from "@krizaka/ui/meta-row";
|
|
3
|
-
|
|
4
|
-
// A chip only for the state that is not the usual one: here the video is still encoding.
|
|
5
|
-
export default function MetaRowStatus() {
|
|
6
|
-
return <MetaRow aria-label="Video" size="md" items={["0:05", "Oct 16, 2026", null]} chips={[<Badge key="s" tone="warning">Encoding</Badge>]} />;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
// registry/examples/meta-row/video.tsx
|
|
4
|
-
import { Badge } from "@krizaka/ui/badge";
|
|
5
|
-
import { MetaRow } from "@krizaka/ui/meta-row";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
function MetaRowVideo() {
|
|
8
|
-
return /* @__PURE__ */ jsx(MetaRow, { "aria-label": "Video", items: ["HD 720p", "9:16", "0:05", "24 fps", "Oct 16, 2026"], chips: [/* @__PURE__ */ jsx(Badge, { tone: "accent", size: "md", children: "AI-generated" }, "ai")] });
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
MetaRowVideo as default
|
|
12
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Badge } from "@krizaka/ui/badge";
|
|
2
|
-
import { MetaRow } from "@krizaka/ui/meta-row";
|
|
3
|
-
|
|
4
|
-
// Under a title: five short facts and the one chip that matters. Everything is already translated.
|
|
5
|
-
export default function MetaRowVideo() {
|
|
6
|
-
return <MetaRow aria-label="Video" items={["HD 720p", "9:16", "0:05", "24 fps", "Oct 16, 2026"]} chips={[<Badge key="ai" tone="accent" size="md">AI-generated</Badge>]} />;
|
|
7
|
-
}
|