@krizaka/ui 3.72.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.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/retro-tv-playlist.d.ts +148 -0
- package/dist/retro-tv-playlist.js +234 -0
- package/dist/retro-tv-playlist.js.map +1 -0
- package/dist/retro-tv.js +4 -160
- package/dist/retro-tv.js.map +1 -1
- 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 +17 -34
- package/registry/account-menu.json +4 -2
- package/registry/account-settings.json +4 -2
- package/registry/achievement.json +4 -2
- package/registry/action-bar.json +4 -2
- package/registry/action-sheet.json +2 -0
- package/registry/activity-feed.json +4 -2
- package/registry/agenda.json +4 -2
- package/registry/alert.json +4 -2
- package/registry/analysis-report.json +4 -2
- package/registry/anatomy-plate.json +4 -2
- package/registry/app-frame.json +9 -39
- package/registry/app-header.json +4 -2
- package/registry/app-shell.json +4 -2
- package/registry/argument-card.json +4 -2
- package/registry/audio-player.json +4 -2
- package/registry/auth-layout.json +4 -2
- package/registry/avatar.json +5 -3
- package/registry/badge.json +4 -2
- package/registry/bird-plate.json +4 -2
- package/registry/button.json +4 -2
- package/registry/captcha.json +4 -2
- package/registry/card-grid.json +4 -2
- package/registry/card.json +4 -2
- package/registry/catalogue-page.json +4 -2
- package/registry/changelog-page.json +4 -2
- package/registry/chapter.json +4 -2
- package/registry/chat.json +4 -2
- package/registry/checkbox.json +4 -2
- package/registry/chip-link.json +4 -2
- package/registry/chip-row.json +4 -2
- package/registry/chip.json +4 -2
- package/registry/choice-grid.json +4 -2
- package/registry/cn.json +2 -0
- package/registry/code-block.json +4 -2
- package/registry/collection-switcher.json +4 -2
- package/registry/combobox.json +4 -2
- package/registry/command.json +4 -2
- package/registry/comparison-table.json +4 -2
- package/registry/component-page.json +4 -2
- package/registry/confirm-button.json +4 -2
- package/registry/contact-page.json +4 -2
- package/registry/continue-prompt.json +4 -2
- package/registry/copy-button.json +4 -2
- package/registry/countdown.json +4 -2
- package/registry/cover-hero.json +4 -2
- package/registry/cta-panel.json +4 -2
- package/registry/dashboard-layout.json +4 -2
- package/registry/data-table.json +4 -2
- package/registry/date-picker.json +4 -2
- package/registry/decision-list.json +4 -2
- package/registry/description-list.json +4 -2
- package/registry/desktop-window.json +5 -3
- package/registry/detail-layout.json +4 -2
- package/registry/dialog.json +4 -2
- package/registry/docs-article-page.json +4 -2
- package/registry/docs-hub-page.json +4 -2
- package/registry/docs-layout.json +4 -2
- package/registry/docs-nav.json +4 -2
- package/registry/document-viewer.json +4 -2
- package/registry/doodle.json +4 -2
- package/registry/drop-overlay.json +4 -2
- package/registry/dropdown-menu.json +4 -2
- package/registry/elephant.json +6 -6
- package/registry/embed-facade.json +4 -2
- package/registry/empty-state.json +4 -2
- package/registry/engine-flow.json +5 -4
- package/registry/entity-header.json +4 -2
- package/registry/environment-notice.json +4 -2
- package/registry/error-page.json +4 -2
- 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/fab.json +2 -0
- package/registry/field.json +4 -2
- package/registry/file-upload.json +4 -2
- package/registry/filter-bar.json +5 -3
- package/registry/flock.json +4 -2
- package/registry/footnote.json +4 -2
- package/registry/force-update-screen.json +4 -2
- package/registry/form-flow.json +3 -1
- package/registry/form.json +4 -2
- package/registry/gallery-page.json +4 -2
- package/registry/genui.json +4 -2
- package/registry/glossary-term.json +4 -2
- package/registry/glossary.json +4 -2
- package/registry/glow-card.json +4 -2
- package/registry/goal-gauge.json +4 -2
- package/registry/grade-stamp.json +4 -2
- package/registry/grid.json +2 -0
- package/registry/header.json +2 -0
- package/registry/how-it-works-page.json +4 -2
- package/registry/image-cropper.json +4 -2
- package/registry/image-viewer.json +2 -0
- package/registry/index.json +18 -78
- package/registry/kanban.json +4 -2
- package/registry/kbd.json +4 -2
- package/registry/kind-config-editor.json +4 -2
- package/registry/kpi-explained.json +4 -2
- package/registry/landing-page.json +4 -2
- package/registry/landscape.json +4 -2
- package/registry/language-switch.json +4 -2
- package/registry/legal-page.json +4 -2
- package/registry/link-card.json +4 -2
- package/registry/list-detail.json +2 -0
- package/registry/list.json +4 -2
- package/registry/loader.json +4 -2
- package/registry/longform-page.json +4 -2
- package/registry/maintenance-screen.json +4 -2
- package/registry/map.json +5 -3
- package/registry/margin-layout.json +4 -2
- package/registry/markdown.json +4 -2
- package/registry/marketing-layout.json +4 -2
- package/registry/marquee.json +4 -2
- package/registry/mascot-quote.json +4 -2
- package/registry/mascot-state.json +4 -2
- package/registry/mascots.json +4 -2
- package/registry/match-dialog.json +5 -3
- package/registry/media-capture.json +4 -2
- package/registry/media-gallery.json +4 -2
- package/registry/media-grid.json +7 -5
- package/registry/media-picker.json +2 -0
- package/registry/meter.json +4 -2
- package/registry/money-input.json +5 -3
- package/registry/nav-bar.json +9 -39
- package/registry/next-actions.json +4 -2
- package/registry/notification-preferences.json +4 -2
- package/registry/number-ticker.json +4 -2
- package/registry/onboarding.json +2 -0
- package/registry/opening-hours.json +5 -4
- package/registry/otp-input.json +2 -0
- package/registry/page-header.json +4 -2
- package/registry/page-hero.json +4 -2
- package/registry/page-index.json +4 -2
- package/registry/page.json +4 -2
- package/registry/pagination.json +4 -2
- package/registry/permission-prompt.json +2 -0
- package/registry/photo-grid.json +4 -2
- package/registry/pointer-light.json +4 -2
- package/registry/popover.json +4 -2
- package/registry/price-catalogue-editor.json +5 -3
- package/registry/pricing-page.json +4 -2
- package/registry/product-page.json +4 -2
- package/registry/profile-card.json +4 -2
- package/registry/progress.json +4 -2
- package/registry/promise-card.json +4 -2
- package/registry/promo-code-field.json +5 -3
- package/registry/proposal.json +5 -3
- package/registry/pull-to-refresh.json +2 -0
- package/registry/qr-code.json +4 -2
- package/registry/quota-meter.json +4 -2
- package/registry/radio-group.json +4 -2
- package/registry/rail-nav.json +9 -39
- package/registry/recipes.json +4 -2
- package/registry/retro-tv.json +9 -3
- package/registry/reviews.json +4 -2
- package/registry/router.json +4 -2
- package/registry/schema-form.json +5 -3
- package/registry/screen.json +2 -0
- package/registry/scroll-stage.json +4 -2
- package/registry/search-field.json +4 -2
- package/registry/section-backdrop.json +4 -2
- package/registry/segmented.json +2 -0
- package/registry/separator.json +4 -2
- package/registry/service-card.json +4 -2
- package/registry/settings-layout.json +4 -2
- package/registry/shop-composer.json +4 -2
- package/registry/shop-gallery.json +5 -3
- package/registry/shop.json +5 -3
- package/registry/showcase.json +4 -2
- package/registry/signature.json +4 -2
- package/registry/site-cahier.json +4 -2
- package/registry/site-footer.json +9 -39
- package/registry/sites.json +6 -4
- package/registry/skeleton.json +4 -2
- package/registry/skip-link.json +4 -2
- package/registry/slider.json +4 -2
- package/registry/slot-picker.json +4 -2
- package/registry/slot.json +4 -2
- package/registry/specimen-tag.json +4 -2
- package/registry/speed-lines.json +4 -2
- package/registry/spinner.json +4 -2
- package/registry/splash-handoff.json +2 -0
- package/registry/split-view.json +4 -2
- package/registry/stage-banner.json +4 -2
- package/registry/stat.json +4 -2
- package/registry/state-screen.json +3 -1
- package/registry/status-chip.json +4 -2
- package/registry/status-page.json +4 -2
- package/registry/step-progress.json +4 -2
- package/registry/step-showcase.json +4 -2
- package/registry/stepper.json +4 -2
- package/registry/sticky-action.json +4 -2
- package/registry/stuck.json +4 -2
- package/registry/swipe-deck.json +5 -3
- package/registry/swipeable-row.json +2 -0
- package/registry/switch.json +4 -2
- package/registry/tab-bar.json +2 -0
- package/registry/tabs.json +4 -2
- package/registry/tag-input.json +4 -2
- package/registry/tag-selector.json +5 -3
- package/registry/taped-photo.json +4 -2
- package/registry/terminal-replay.json +4 -2
- package/registry/text-style.json +4 -2
- package/registry/theme.json +4 -2
- package/registry/toast.json +4 -2
- package/registry/toc.json +4 -2
- package/registry/tooltip.json +4 -2
- package/registry/tree-view.json +4 -2
- package/registry/txt.json +2 -0
- package/registry/update-prompt.json +4 -2
- package/registry/upload-queue.json +4 -2
- package/registry/usage.json +5 -3
- package/registry/verified-badge.json +4 -2
- package/registry/versus-card.json +4 -2
- package/registry/vertical-video.json +4 -2
- package/registry/video-player.json +4 -2
- package/registry/video-trimmer.json +4 -2
- package/registry/virtual.json +4 -2
- package/registry/wall.json +4 -2
- package/registry/waveform.json +4 -2
- 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 -1369
- package/registry/meta-row.json +0 -216
- /package/dist/{chunk-GRVIZTT2.js.map → chunk-GSQRSWOE.js.map} +0 -0
package/dist/site-cahier.js
CHANGED
|
@@ -121,65 +121,8 @@ function AkinazaLogo({ size = 32, animated = true, title, className }) {
|
|
|
121
121
|
] });
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
// src/marks/kachizaka-geometry.ts
|
|
125
|
-
import { marks as marks2 } from "@krizaka/tokens/native";
|
|
126
|
-
var cobalt = marks2.kachizaka[0][1];
|
|
127
|
-
var gold = marks2.kachizaka[marks2.kachizaka.length - 1][1];
|
|
128
|
-
var KACHIZAKA = {
|
|
129
|
-
viewBox: "0 0 400 400",
|
|
130
|
-
croppedViewBox: "80 80 240 240",
|
|
131
|
-
center: 200,
|
|
132
|
-
cobalt,
|
|
133
|
-
gold,
|
|
134
|
-
/** The steps: second (left, cut top-left), first (centre, both top corners cut, in gold), third (right, cut top-right). */
|
|
135
|
-
steps: {
|
|
136
|
-
second: "M102 240 L122 220 H162 V296 H102 Z",
|
|
137
|
-
first: "M170 192 L188 174 H212 L230 192 V296 H170 Z",
|
|
138
|
-
third: "M238 248 H278 L298 268 V296 H238 Z"
|
|
139
|
-
},
|
|
140
|
-
/** The lit node over the winner: a gold diamond (half-diagonal 22, softened by a 6-unit round stroke), its light inside. */
|
|
141
|
-
node: { d: "M200 102 L222 124 L200 146 L178 124 Z", light: "M200 116.1 L207.9 124 L200 131.9 L192.1 124 Z", soften: 6 },
|
|
142
|
-
highlight: "#fffbea",
|
|
143
|
-
gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks2.kachizaka },
|
|
144
|
-
/** The ball: one node on the orbit, that turns with it. */
|
|
145
|
-
ball: { r: 9, at: [200, 40] },
|
|
146
|
-
glow: { color: gold, opacity: 0.18 },
|
|
147
|
-
pulse: { color: gold, low: 0.35, high: 0.75 },
|
|
148
|
-
motion: { spin: 28, breath: 3.2 },
|
|
149
|
-
orbit: { r: 160, dash: "8 8", width: 1.5 },
|
|
150
|
-
ring: { r: 134, width: 1 }
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
// src/marks/KachizakaLogo.tsx
|
|
154
|
-
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
155
|
-
var CSS2 = familyMotion("kcm", { ...KACHIZAKA.motion, ...KACHIZAKA.pulse });
|
|
156
|
-
function KachizakaLogo({ size = 32, animated = true, title, className }) {
|
|
157
|
-
const id = useIds("kcm", ["glow"]);
|
|
158
|
-
const m = (cls) => animated ? `kcm-${cls}` : void 0;
|
|
159
|
-
return /* @__PURE__ */ jsxs3("svg", { width: size, height: size, viewBox: size < 48 ? KACHIZAKA.croppedViewBox : KACHIZAKA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
|
|
160
|
-
/* @__PURE__ */ jsx3("style", { children: CSS2 }),
|
|
161
|
-
/* @__PURE__ */ jsx3("defs", { children: /* @__PURE__ */ jsxs3("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
|
|
162
|
-
/* @__PURE__ */ jsx3("stop", { offset: "0%", stopColor: KACHIZAKA.glow.color, stopOpacity: KACHIZAKA.glow.opacity }),
|
|
163
|
-
/* @__PURE__ */ jsx3("stop", { offset: "100%", stopColor: KACHIZAKA.glow.color, stopOpacity: "0" })
|
|
164
|
-
] }) }),
|
|
165
|
-
size >= 48 ? /* @__PURE__ */ jsx3("circle", { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
|
|
166
|
-
/* @__PURE__ */ jsx3("circle", { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: KACHIZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: KACHIZAKA.ring.width, opacity: ".35" }),
|
|
167
|
-
/* @__PURE__ */ jsxs3("g", { className: m("orbit"), children: [
|
|
168
|
-
/* @__PURE__ */ jsx3("circle", { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: KACHIZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: KACHIZAKA.orbit.width, strokeDasharray: KACHIZAKA.orbit.dash, opacity: ".6" }),
|
|
169
|
-
/* @__PURE__ */ jsx3("circle", { cx: KACHIZAKA.ball.at[0], cy: KACHIZAKA.ball.at[1], r: KACHIZAKA.ball.r, fill: KACHIZAKA.gold })
|
|
170
|
-
] }),
|
|
171
|
-
/* @__PURE__ */ jsx3("path", { d: KACHIZAKA.steps.second, fill: KACHIZAKA.cobalt }),
|
|
172
|
-
/* @__PURE__ */ jsx3("path", { d: KACHIZAKA.steps.first, fill: KACHIZAKA.gold }),
|
|
173
|
-
/* @__PURE__ */ jsx3("path", { d: KACHIZAKA.steps.third, fill: KACHIZAKA.cobalt }),
|
|
174
|
-
/* @__PURE__ */ jsxs3("g", { className: m("core"), children: [
|
|
175
|
-
/* @__PURE__ */ jsx3("path", { d: KACHIZAKA.node.d, fill: KACHIZAKA.gold, stroke: KACHIZAKA.gold, strokeWidth: KACHIZAKA.node.soften, strokeLinejoin: "round" }),
|
|
176
|
-
/* @__PURE__ */ jsx3("path", { d: KACHIZAKA.node.light, fill: KACHIZAKA.highlight })
|
|
177
|
-
] })
|
|
178
|
-
] });
|
|
179
|
-
}
|
|
180
|
-
|
|
181
124
|
// src/marks/krizaka-geometry.ts
|
|
182
|
-
import { marks as
|
|
125
|
+
import { marks as marks2 } from "@krizaka/tokens/native";
|
|
183
126
|
var KRIZAKA = {
|
|
184
127
|
viewBox: "0 0 400 400",
|
|
185
128
|
croppedViewBox: "86 82 228 228",
|
|
@@ -188,19 +131,19 @@ var KRIZAKA = {
|
|
|
188
131
|
shield: "M259.7,134 L259.7,226 L180,272 L100.3,226 L100.3,134 L180,88 L212,106.5",
|
|
189
132
|
stroke: 22,
|
|
190
133
|
ink: { x1: 70, y1: 290, x2: 290, y2: 70 },
|
|
191
|
-
blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops:
|
|
192
|
-
/** The vertex where the shield opens: a node (the
|
|
134
|
+
blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops: marks2.krizaka },
|
|
135
|
+
/** The vertex where the shield opens: a node (the head of the line). */
|
|
193
136
|
node: { cx: 259.7, cy: 134, r: 19, inner: 6 },
|
|
194
137
|
core: { cx: 180, cy: 180, r: 24, inner: 8 },
|
|
195
138
|
highlight: "#ddeaf4",
|
|
196
|
-
glow: { color:
|
|
139
|
+
glow: { color: marks2.krizaka[0][1], opacity: 0.16 },
|
|
197
140
|
orbit: { r: 160, dash: "8 8", width: 1.5 },
|
|
198
141
|
ring: { r: 134, width: 1 }
|
|
199
142
|
};
|
|
200
143
|
|
|
201
144
|
// src/marks/KrizakaLogo.tsx
|
|
202
|
-
import { jsx as
|
|
203
|
-
var
|
|
145
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
146
|
+
var CSS2 = `
|
|
204
147
|
.kzm-spin { transform-origin: 200px 200px; animation: kzm-spin 30s linear infinite; }
|
|
205
148
|
.kzm-pulse { transform-box: fill-box; transform-origin: center; animation: kzm-pulse 3.2s ease-in-out infinite; }
|
|
206
149
|
@keyframes kzm-spin { to { transform: rotate(360deg); } }
|
|
@@ -213,39 +156,39 @@ var CSS3 = `
|
|
|
213
156
|
function KrizakaLogo({ size = 32, animated = true, title, className }) {
|
|
214
157
|
const id = useIds("kzm", ["ink", "blue", "glow"]);
|
|
215
158
|
const m = (cls) => animated ? cls : void 0;
|
|
216
|
-
return /* @__PURE__ */
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
/* @__PURE__ */
|
|
219
|
-
/* @__PURE__ */
|
|
220
|
-
/* @__PURE__ */
|
|
221
|
-
/* @__PURE__ */
|
|
159
|
+
return /* @__PURE__ */ jsxs3("svg", { width: size, height: size, viewBox: size < 48 ? KRIZAKA.croppedViewBox : KRIZAKA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
|
|
160
|
+
/* @__PURE__ */ jsx3("style", { children: CSS2 }),
|
|
161
|
+
/* @__PURE__ */ jsxs3("defs", { children: [
|
|
162
|
+
/* @__PURE__ */ jsxs3("linearGradient", { id: id.ink, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.ink.x1, y1: KRIZAKA.ink.y1, x2: KRIZAKA.ink.x2, y2: KRIZAKA.ink.y2, children: [
|
|
163
|
+
/* @__PURE__ */ jsx3("stop", { offset: "0%", stopColor: neutral("--kz-text-secondary", 60) }),
|
|
164
|
+
/* @__PURE__ */ jsx3("stop", { offset: "100%", stopColor: neutral("--kz-text-primary", 92) })
|
|
222
165
|
] }),
|
|
223
|
-
/* @__PURE__ */
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ jsx3("linearGradient", { id: id.blue, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.blue.x1, y1: KRIZAKA.blue.y1, x2: KRIZAKA.blue.x2, y2: KRIZAKA.blue.y2, children: KRIZAKA.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx3("stop", { offset, stopColor: color }, offset)) }),
|
|
167
|
+
/* @__PURE__ */ jsxs3("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
|
|
168
|
+
/* @__PURE__ */ jsx3("stop", { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
|
|
169
|
+
/* @__PURE__ */ jsx3("stop", { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: "0" })
|
|
227
170
|
] })
|
|
228
171
|
] }),
|
|
229
|
-
size >= 48 ? /* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
/* @__PURE__ */
|
|
233
|
-
/* @__PURE__ */
|
|
234
|
-
/* @__PURE__ */
|
|
235
|
-
/* @__PURE__ */
|
|
236
|
-
/* @__PURE__ */
|
|
172
|
+
size >= 48 ? /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: "190", fill: `url(#${id.glow})` }) : null,
|
|
173
|
+
/* @__PURE__ */ jsx3("circle", { className: m("kzm-spin"), cx: "200", cy: "200", r: KRIZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: KRIZAKA.orbit.width, strokeDasharray: KRIZAKA.orbit.dash, opacity: ".6" }),
|
|
174
|
+
/* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: KRIZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: KRIZAKA.ring.width, opacity: ".35" }),
|
|
175
|
+
/* @__PURE__ */ jsxs3("g", { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
|
|
176
|
+
/* @__PURE__ */ jsx3("path", { d: KRIZAKA.shield, stroke: `url(#${id.ink})`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
177
|
+
/* @__PURE__ */ jsxs3("g", { className: m("kzm-pulse"), children: [
|
|
178
|
+
/* @__PURE__ */ jsx3("circle", { cx: KRIZAKA.node.cx, cy: KRIZAKA.node.cy, r: KRIZAKA.node.r, fill: `url(#${id.blue})` }),
|
|
179
|
+
/* @__PURE__ */ jsx3("circle", { cx: KRIZAKA.node.cx, cy: KRIZAKA.node.cy, r: KRIZAKA.node.inner, fill: KRIZAKA.highlight })
|
|
237
180
|
] }),
|
|
238
|
-
/* @__PURE__ */
|
|
239
|
-
/* @__PURE__ */
|
|
240
|
-
/* @__PURE__ */
|
|
181
|
+
/* @__PURE__ */ jsxs3("g", { className: m("kzm-pulse"), children: [
|
|
182
|
+
/* @__PURE__ */ jsx3("circle", { cx: KRIZAKA.core.cx, cy: KRIZAKA.core.cy, r: KRIZAKA.core.r, fill: `url(#${id.blue})` }),
|
|
183
|
+
/* @__PURE__ */ jsx3("circle", { cx: KRIZAKA.core.cx, cy: KRIZAKA.core.cy, r: KRIZAKA.core.inner, fill: KRIZAKA.highlight })
|
|
241
184
|
] })
|
|
242
185
|
] })
|
|
243
186
|
] });
|
|
244
187
|
}
|
|
245
188
|
|
|
246
189
|
// src/marks/orazaka-geometry.ts
|
|
247
|
-
import { marks as
|
|
248
|
-
var orange =
|
|
190
|
+
import { marks as marks3 } from "@krizaka/tokens/native";
|
|
191
|
+
var orange = marks3.orazaka[marks3.orazaka.length - 1][1];
|
|
249
192
|
var ORAZAKA = {
|
|
250
193
|
viewBox: "0 0 400 400",
|
|
251
194
|
croppedViewBox: "76 76 248 248",
|
|
@@ -260,7 +203,7 @@ var ORAZAKA = {
|
|
|
260
203
|
"M154.5,278.9 L108.8,252.6 L108.9,199.9 L137.7,183.3 L156.8,194.3 L128,210.9 L127.9,241.6 L154.6,257 L183.4,240.3 L183.3,262.3 Z"
|
|
261
204
|
],
|
|
262
205
|
shardStroke: 5.7,
|
|
263
|
-
gradient: { x1: 90, y1: 310, x2: 310, y2: 90, stops:
|
|
206
|
+
gradient: { x1: 90, y1: 310, x2: 310, y2: 90, stops: marks3.orazaka },
|
|
264
207
|
core: { r: 21, inner: 7.6 },
|
|
265
208
|
highlight: "#fff7ed",
|
|
266
209
|
glow: { color: orange, opacity: 0.16 },
|
|
@@ -271,8 +214,8 @@ var ORAZAKA = {
|
|
|
271
214
|
};
|
|
272
215
|
|
|
273
216
|
// src/marks/OrazakaLogo.tsx
|
|
274
|
-
import { jsx as
|
|
275
|
-
var
|
|
217
|
+
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
218
|
+
var CSS3 = `
|
|
276
219
|
.ozm-orbit { transform-origin: 200px 200px; animation: ozm-orbit 35s linear infinite; }
|
|
277
220
|
.ozm-core { transform-box: fill-box; transform-origin: center; animation: ozm-core 3.2s ease-in-out infinite; }
|
|
278
221
|
@keyframes ozm-orbit { to { transform: rotate(360deg); } }
|
|
@@ -285,151 +228,29 @@ var CSS4 = `
|
|
|
285
228
|
function OrazakaLogo({ size = 32, animated = true, title, className }) {
|
|
286
229
|
const id = useIds("ozm", ["gradient", "glow"]);
|
|
287
230
|
const fill = `url(#${id.gradient})`;
|
|
288
|
-
return /* @__PURE__ */
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
-
/* @__PURE__ */
|
|
291
|
-
/* @__PURE__ */
|
|
292
|
-
/* @__PURE__ */
|
|
293
|
-
/* @__PURE__ */
|
|
294
|
-
/* @__PURE__ */
|
|
295
|
-
] })
|
|
296
|
-
] }),
|
|
297
|
-
size >= 48 ? /* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
|
|
298
|
-
/* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: ".6" }),
|
|
299
|
-
/* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: ORAZAKA.ring.width, opacity: ".35" }),
|
|
300
|
-
/* @__PURE__ */ jsx5("g", { className: animated ? "ozm-orbit" : void 0, children: ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx5("path", { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d)) }),
|
|
301
|
-
/* @__PURE__ */ jsxs5("g", { className: animated ? "ozm-core" : void 0, children: [
|
|
302
|
-
/* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
|
|
303
|
-
/* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
|
|
304
|
-
] })
|
|
305
|
-
] });
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
// src/marks/orochia-geometry.ts
|
|
309
|
-
import { marks as marks5 } from "@krizaka/tokens/native";
|
|
310
|
-
var OROCHIA = {
|
|
311
|
-
viewBox: "0 0 400 400",
|
|
312
|
-
croppedViewBox: "86 82 228 228",
|
|
313
|
-
offset: 20,
|
|
314
|
-
body: { x1: 70, y1: 290, x2: 290, y2: 70, stops: marks5.orochia },
|
|
315
|
-
flameGradient: { stops: [["0%", "#a855f7"], ["100%", "#f9a8d4"]] },
|
|
316
|
-
glow: { color: "#d946ef", opacity: 0.18 },
|
|
317
|
-
orbit: { r: 160, dash: "8 8", width: 1.5 },
|
|
318
|
-
ring: { r: 134, width: 1 },
|
|
319
|
-
arc: "M259.8,142.8 A88,88 0 1 1 142.8,100.2",
|
|
320
|
-
neck: "M142.8,100.2 A88,88 0 0 1 187.7,92.3",
|
|
321
|
-
tail: "M187.7,92.3 A88,88 0 0 1 221.3,102.3",
|
|
322
|
-
scales: { color: "#fdf4ff", opacity: 0.45, width: 3, dash: "2 14" },
|
|
323
|
-
head: { cx: 253.9, cy: 130.1, rx: 13, ry: 20, rotate: -25 },
|
|
324
|
-
tongue: { d: "M245.4,112.0 L242.0,104.8 L235.0,101.5 M242.0,104.8 L244.0,97.3", color: "#f472b6" },
|
|
325
|
-
eye: { cx: 256.3, cy: 123.5, r: 4.5, color: "#fdf4ff" },
|
|
326
|
-
flame: {
|
|
327
|
-
translate: [127, 120],
|
|
328
|
-
scale: 4.4,
|
|
329
|
-
d: "M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z"
|
|
330
|
-
}
|
|
331
|
-
};
|
|
332
|
-
|
|
333
|
-
// src/marks/OrochiaLogo.tsx
|
|
334
|
-
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
335
|
-
var CSS5 = `
|
|
336
|
-
.orom-spin { transform-origin: 180px 180px; animation: orom-spin 30s linear infinite; }
|
|
337
|
-
.orom-slither { animation: orom-slither 2.4s linear infinite; }
|
|
338
|
-
.orom-pulse { transform-box: view-box; animation: orom-pulse 3.2s ease-in-out infinite; }
|
|
339
|
-
@keyframes orom-spin { to { transform: rotate(360deg); } }
|
|
340
|
-
@keyframes orom-slither { to { stroke-dashoffset: -64; } }
|
|
341
|
-
@keyframes orom-pulse {
|
|
342
|
-
0%, 100% { filter: drop-shadow(0 0 6px hsla(292, 84%, 61%, .25)); opacity: .9; }
|
|
343
|
-
50% { filter: drop-shadow(0 0 14px hsla(292, 84%, 61%, .55)); opacity: 1; }
|
|
344
|
-
}
|
|
345
|
-
@media (prefers-reduced-motion: reduce) { .orom-spin, .orom-slither, .orom-pulse { animation: none; } }
|
|
346
|
-
`;
|
|
347
|
-
function OrochiaLogo({ size = 36, animated = true, title, className }) {
|
|
348
|
-
const id = useIds("orom", ["body", "flame", "glow"]);
|
|
349
|
-
const m = (cls) => animated ? cls : void 0;
|
|
350
|
-
return /* @__PURE__ */ jsxs6("svg", { width: size, height: size, viewBox: size < 48 ? OROCHIA.croppedViewBox : OROCHIA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
|
|
351
|
-
/* @__PURE__ */ jsx6("style", { children: CSS5 }),
|
|
352
|
-
/* @__PURE__ */ jsxs6("defs", { children: [
|
|
353
|
-
/* @__PURE__ */ jsx6("linearGradient", { id: id.body, gradientUnits: "userSpaceOnUse", x1: OROCHIA.body.x1, y1: OROCHIA.body.y1, x2: OROCHIA.body.x2, y2: OROCHIA.body.y2, children: OROCHIA.body.stops.map(([offset, color]) => /* @__PURE__ */ jsx6("stop", { offset, stopColor: color }, offset)) }),
|
|
354
|
-
/* @__PURE__ */ jsx6("linearGradient", { id: id.flame, x1: "50%", y1: "100%", x2: "50%", y2: "0%", children: OROCHIA.flameGradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx6("stop", { offset, stopColor: color }, offset)) }),
|
|
355
|
-
/* @__PURE__ */ jsxs6("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
|
|
356
|
-
/* @__PURE__ */ jsx6("stop", { offset: "0%", stopColor: OROCHIA.glow.color, stopOpacity: OROCHIA.glow.opacity }),
|
|
357
|
-
/* @__PURE__ */ jsx6("stop", { offset: "100%", stopColor: OROCHIA.glow.color, stopOpacity: "0" })
|
|
231
|
+
return /* @__PURE__ */ jsxs4("svg", { width: size, height: size, viewBox: size < 48 ? ORAZAKA.croppedViewBox : ORAZAKA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
|
|
232
|
+
/* @__PURE__ */ jsx4("style", { children: CSS3 }),
|
|
233
|
+
/* @__PURE__ */ jsxs4("defs", { children: [
|
|
234
|
+
/* @__PURE__ */ jsx4("linearGradient", { id: id.gradient, gradientUnits: "userSpaceOnUse", x1: ORAZAKA.gradient.x1, y1: ORAZAKA.gradient.y1, x2: ORAZAKA.gradient.x2, y2: ORAZAKA.gradient.y2, children: ORAZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx4("stop", { offset, stopColor: color }, offset)) }),
|
|
235
|
+
/* @__PURE__ */ jsxs4("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
|
|
236
|
+
/* @__PURE__ */ jsx4("stop", { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
|
|
237
|
+
/* @__PURE__ */ jsx4("stop", { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: "0" })
|
|
358
238
|
] })
|
|
359
239
|
] }),
|
|
360
|
-
/* @__PURE__ */
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
367
|
-
/* @__PURE__ */ jsx6("path", { d: OROCHIA.tail, stroke: `url(#${id.body})`, strokeWidth: "6", strokeLinecap: "round" }),
|
|
368
|
-
/* @__PURE__ */ jsx6("ellipse", { cx: OROCHIA.head.cx, cy: OROCHIA.head.cy, rx: OROCHIA.head.rx, ry: OROCHIA.head.ry, transform: `rotate(${OROCHIA.head.rotate} ${OROCHIA.head.cx} ${OROCHIA.head.cy})`, fill: `url(#${id.body})` }),
|
|
369
|
-
/* @__PURE__ */ jsx6("path", { d: OROCHIA.tongue.d, stroke: OROCHIA.tongue.color, strokeWidth: "3", strokeLinecap: "round" }),
|
|
370
|
-
/* @__PURE__ */ jsx6("circle", { className: m("orom-pulse"), cx: OROCHIA.eye.cx, cy: OROCHIA.eye.cy, r: OROCHIA.eye.r, fill: OROCHIA.eye.color }),
|
|
371
|
-
/* @__PURE__ */ jsx6("path", { className: m("orom-pulse"), transform: `translate(${OROCHIA.flame.translate[0]} ${OROCHIA.flame.translate[1]}) scale(${OROCHIA.flame.scale})`, d: OROCHIA.flame.d, fill: `url(#${id.flame})` })
|
|
240
|
+
size >= 48 ? /* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
|
|
241
|
+
/* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: ".6" }),
|
|
242
|
+
/* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: ORAZAKA.ring.width, opacity: ".35" }),
|
|
243
|
+
/* @__PURE__ */ jsx4("g", { className: animated ? "ozm-orbit" : void 0, children: ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx4("path", { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d)) }),
|
|
244
|
+
/* @__PURE__ */ jsxs4("g", { className: animated ? "ozm-core" : void 0, children: [
|
|
245
|
+
/* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
|
|
246
|
+
/* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
|
|
372
247
|
] })
|
|
373
248
|
] });
|
|
374
249
|
}
|
|
375
250
|
|
|
376
|
-
// src/marks/yasakia-geometry.ts
|
|
377
|
-
import { marks as marks6 } from "@krizaka/tokens/native";
|
|
378
|
-
var turquoise = marks6.yasakia[marks6.yasakia.length - 1][1];
|
|
379
|
-
var YASAKIA = {
|
|
380
|
-
viewBox: "0 0 400 400",
|
|
381
|
-
croppedViewBox: "80 80 240 240",
|
|
382
|
-
center: 200,
|
|
383
|
-
bubble: { cx: 200, cy: 200, r: 86 },
|
|
384
|
-
/** The two tails, out of the bubble at 115°–160° and, turned 180° about the centre, at 295°–340°. */
|
|
385
|
-
tails: [
|
|
386
|
-
"M163.7 277.9 Q138 294 106 304 Q124 270 119.2 229.4 Z",
|
|
387
|
-
"M236.3 122.1 Q262 106 294 96 Q276 130 280.8 170.6 Z"
|
|
388
|
-
],
|
|
389
|
-
/** The spark: a diamond of light (half-diagonal 24, softened by a 6-unit round stroke). */
|
|
390
|
-
spark: { d: "M200 176 L224 200 L200 224 L176 200 Z", soften: 6 },
|
|
391
|
-
highlight: "#f0fdfa",
|
|
392
|
-
gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks6.yasakia },
|
|
393
|
-
/** The two people: one node on the orbit, that turns with it. */
|
|
394
|
-
node: { r: 9, at: [200, 40] },
|
|
395
|
-
glow: { color: turquoise, opacity: 0.16 },
|
|
396
|
-
pulse: { color: turquoise, low: 0.3, high: 0.6 },
|
|
397
|
-
motion: { spin: 30, breath: 3.2 },
|
|
398
|
-
orbit: { r: 160, dash: "8 8", width: 1.5 },
|
|
399
|
-
ring: { r: 134, width: 1 }
|
|
400
|
-
};
|
|
401
|
-
|
|
402
|
-
// src/marks/YasakiaLogo.tsx
|
|
403
|
-
import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
404
|
-
var CSS6 = familyMotion("yzm", { ...YASAKIA.motion, ...YASAKIA.pulse });
|
|
405
|
-
function YasakiaLogo({ size = 32, animated = true, title, className }) {
|
|
406
|
-
const id = useIds("yzm", ["gradient", "glow"]);
|
|
407
|
-
const fill = `url(#${id.gradient})`;
|
|
408
|
-
const m = (cls) => animated ? `yzm-${cls}` : void 0;
|
|
409
|
-
return /* @__PURE__ */ jsxs7("svg", { width: size, height: size, viewBox: size < 48 ? YASAKIA.croppedViewBox : YASAKIA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
|
|
410
|
-
/* @__PURE__ */ jsx7("style", { children: CSS6 }),
|
|
411
|
-
/* @__PURE__ */ jsxs7("defs", { children: [
|
|
412
|
-
/* @__PURE__ */ jsx7("linearGradient", { id: id.gradient, gradientUnits: "userSpaceOnUse", x1: YASAKIA.gradient.x1, y1: YASAKIA.gradient.y1, x2: YASAKIA.gradient.x2, y2: YASAKIA.gradient.y2, children: YASAKIA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx7("stop", { offset, stopColor: color }, offset)) }),
|
|
413
|
-
/* @__PURE__ */ jsxs7("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
|
|
414
|
-
/* @__PURE__ */ jsx7("stop", { offset: "0%", stopColor: YASAKIA.glow.color, stopOpacity: YASAKIA.glow.opacity }),
|
|
415
|
-
/* @__PURE__ */ jsx7("stop", { offset: "100%", stopColor: YASAKIA.glow.color, stopOpacity: "0" })
|
|
416
|
-
] })
|
|
417
|
-
] }),
|
|
418
|
-
size >= 48 ? /* @__PURE__ */ jsx7("circle", { cx: YASAKIA.center, cy: YASAKIA.center, r: "190", fill: `url(#${id.glow})` }) : null,
|
|
419
|
-
/* @__PURE__ */ jsx7("circle", { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: YASAKIA.ring.width, opacity: ".35" }),
|
|
420
|
-
/* @__PURE__ */ jsxs7("g", { className: m("orbit"), children: [
|
|
421
|
-
/* @__PURE__ */ jsx7("circle", { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: YASAKIA.orbit.width, strokeDasharray: YASAKIA.orbit.dash, opacity: ".6" }),
|
|
422
|
-
/* @__PURE__ */ jsx7("circle", { cx: YASAKIA.node.at[0], cy: YASAKIA.node.at[1], r: YASAKIA.node.r, fill })
|
|
423
|
-
] }),
|
|
424
|
-
/* @__PURE__ */ jsx7("circle", { cx: YASAKIA.bubble.cx, cy: YASAKIA.bubble.cy, r: YASAKIA.bubble.r, fill }),
|
|
425
|
-
/* @__PURE__ */ jsx7("path", { d: YASAKIA.tails.join(" "), fill }),
|
|
426
|
-
/* @__PURE__ */ jsx7("g", { className: m("core"), children: /* @__PURE__ */ jsx7("path", { d: YASAKIA.spark.d, fill: YASAKIA.highlight, stroke: YASAKIA.highlight, strokeWidth: YASAKIA.spark.soften, strokeLinejoin: "round" }) })
|
|
427
|
-
] });
|
|
428
|
-
}
|
|
429
|
-
|
|
430
251
|
// src/marks/yomizaka-geometry.ts
|
|
431
|
-
import { marks as
|
|
432
|
-
var indigo =
|
|
252
|
+
import { marks as marks4 } from "@krizaka/tokens/native";
|
|
253
|
+
var indigo = marks4.yomizaka[marks4.yomizaka.length - 1][1];
|
|
433
254
|
var YOMIZAKA = {
|
|
434
255
|
viewBox: "0 0 400 400",
|
|
435
256
|
croppedViewBox: "80 80 240 240",
|
|
@@ -448,7 +269,7 @@ var YOMIZAKA = {
|
|
|
448
269
|
{ cx: 262, cy: 229, r: 15, inner: 5.1 }
|
|
449
270
|
],
|
|
450
271
|
highlight: "#f4f5ff",
|
|
451
|
-
gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops:
|
|
272
|
+
gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks4.yomizaka },
|
|
452
273
|
/** One node, a page, rides the orbit. */
|
|
453
274
|
node: { r: 9, at: [200, 40] },
|
|
454
275
|
glow: { color: indigo, opacity: 0.18 },
|
|
@@ -459,109 +280,53 @@ var YOMIZAKA = {
|
|
|
459
280
|
};
|
|
460
281
|
|
|
461
282
|
// src/marks/YomizakaLogo.tsx
|
|
462
|
-
import { jsx as
|
|
463
|
-
var
|
|
283
|
+
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
284
|
+
var CSS4 = familyMotion("ymm", { ...YOMIZAKA.motion, ...YOMIZAKA.pulse });
|
|
464
285
|
function YomizakaLogo({ size = 32, animated = true, title, className }) {
|
|
465
286
|
const id = useIds("ymm", ["gradient", "glow"]);
|
|
466
287
|
const fill = `url(#${id.gradient})`;
|
|
467
288
|
const m = (cls) => animated ? `ymm-${cls}` : void 0;
|
|
468
|
-
return /* @__PURE__ */
|
|
469
|
-
/* @__PURE__ */
|
|
470
|
-
/* @__PURE__ */
|
|
471
|
-
/* @__PURE__ */
|
|
472
|
-
/* @__PURE__ */
|
|
473
|
-
/* @__PURE__ */
|
|
474
|
-
/* @__PURE__ */
|
|
289
|
+
return /* @__PURE__ */ jsxs5("svg", { width: size, height: size, viewBox: size < 48 ? YOMIZAKA.croppedViewBox : YOMIZAKA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
|
|
290
|
+
/* @__PURE__ */ jsx5("style", { children: CSS4 }),
|
|
291
|
+
/* @__PURE__ */ jsxs5("defs", { children: [
|
|
292
|
+
/* @__PURE__ */ jsx5("linearGradient", { id: id.gradient, gradientUnits: "userSpaceOnUse", x1: YOMIZAKA.gradient.x1, y1: YOMIZAKA.gradient.y1, x2: YOMIZAKA.gradient.x2, y2: YOMIZAKA.gradient.y2, children: YOMIZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx5("stop", { offset, stopColor: color }, offset)) }),
|
|
293
|
+
/* @__PURE__ */ jsxs5("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
|
|
294
|
+
/* @__PURE__ */ jsx5("stop", { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
|
|
295
|
+
/* @__PURE__ */ jsx5("stop", { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: "0" })
|
|
475
296
|
] })
|
|
476
297
|
] }),
|
|
477
|
-
size >= 48 ? /* @__PURE__ */
|
|
478
|
-
/* @__PURE__ */
|
|
479
|
-
/* @__PURE__ */
|
|
480
|
-
/* @__PURE__ */
|
|
481
|
-
/* @__PURE__ */
|
|
298
|
+
size >= 48 ? /* @__PURE__ */ jsx5("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
|
|
299
|
+
/* @__PURE__ */ jsx5("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: YOMIZAKA.ring.width, opacity: ".35" }),
|
|
300
|
+
/* @__PURE__ */ jsxs5("g", { className: m("orbit"), children: [
|
|
301
|
+
/* @__PURE__ */ jsx5("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: YOMIZAKA.orbit.width, strokeDasharray: YOMIZAKA.orbit.dash, opacity: ".6" }),
|
|
302
|
+
/* @__PURE__ */ jsx5("circle", { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
|
|
482
303
|
] }),
|
|
483
|
-
/* @__PURE__ */
|
|
484
|
-
YOMIZAKA.lenses.map((l) => /* @__PURE__ */
|
|
485
|
-
/* @__PURE__ */
|
|
486
|
-
/* @__PURE__ */
|
|
487
|
-
/* @__PURE__ */
|
|
304
|
+
/* @__PURE__ */ jsx5("path", { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
305
|
+
YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx5("circle", { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke }, l.cx)),
|
|
306
|
+
/* @__PURE__ */ jsx5("g", { className: m("core"), children: YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs5("g", { children: [
|
|
307
|
+
/* @__PURE__ */ jsx5("circle", { cx: p.cx, cy: p.cy, r: p.r, fill }),
|
|
308
|
+
/* @__PURE__ */ jsx5("circle", { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
|
|
488
309
|
] }, p.cx)) })
|
|
489
310
|
] });
|
|
490
311
|
}
|
|
491
312
|
|
|
492
|
-
// src/marks/yororis-geometry.ts
|
|
493
|
-
import { marks as marks8 } from "@krizaka/tokens/native";
|
|
494
|
-
var sand = marks8.yororis[0][1];
|
|
495
|
-
var sage = marks8.yororis[marks8.yororis.length - 1][1];
|
|
496
|
-
var YORORIS = {
|
|
497
|
-
viewBox: "0 0 400 400",
|
|
498
|
-
croppedViewBox: "80 80 240 240",
|
|
499
|
-
center: 200,
|
|
500
|
-
stroke: 22,
|
|
501
|
-
sand,
|
|
502
|
-
sage,
|
|
503
|
-
/** The two hands: arcs of a circle r 92 centred (200, 162), from 196° to 104° and from 76° to −16°; open at the bottom and the top. */
|
|
504
|
-
hands: "M111.6 136.6 A92 92 0 0 0 177.7 251.3 M222.3 251.3 A92 92 0 0 0 288.4 136.6",
|
|
505
|
-
/** The warm core, held inside the hands. */
|
|
506
|
-
core: { cx: 200, cy: 176, r: 30, inner: 10.2 },
|
|
507
|
-
highlight: "#fbf6ea",
|
|
508
|
-
gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks8.yororis },
|
|
509
|
-
/** The moment: one node on the orbit — it comes round, then it goes. */
|
|
510
|
-
node: { r: 9, at: [200, 40] },
|
|
511
|
-
glow: { color: sage, opacity: 0.18 },
|
|
512
|
-
pulse: { color: sand, low: 0.3, high: 0.6 },
|
|
513
|
-
motion: { spin: 36, breath: 4.2 },
|
|
514
|
-
orbit: { r: 160, dash: "8 8", width: 1.5 },
|
|
515
|
-
ring: { r: 134, width: 1 }
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
// src/marks/YororisLogo.tsx
|
|
519
|
-
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
520
|
-
var CSS8 = familyMotion("yrm", { ...YORORIS.motion, ...YORORIS.pulse });
|
|
521
|
-
function YororisLogo({ size = 32, animated = true, title, className }) {
|
|
522
|
-
const id = useIds("yrm", ["glow"]);
|
|
523
|
-
const m = (cls) => animated ? `yrm-${cls}` : void 0;
|
|
524
|
-
return /* @__PURE__ */ jsxs9("svg", { width: size, height: size, viewBox: size < 48 ? YORORIS.croppedViewBox : YORORIS.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
|
|
525
|
-
/* @__PURE__ */ jsx9("style", { children: CSS8 }),
|
|
526
|
-
/* @__PURE__ */ jsx9("defs", { children: /* @__PURE__ */ jsxs9("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
|
|
527
|
-
/* @__PURE__ */ jsx9("stop", { offset: "0%", stopColor: YORORIS.glow.color, stopOpacity: YORORIS.glow.opacity }),
|
|
528
|
-
/* @__PURE__ */ jsx9("stop", { offset: "100%", stopColor: YORORIS.glow.color, stopOpacity: "0" })
|
|
529
|
-
] }) }),
|
|
530
|
-
size >= 48 ? /* @__PURE__ */ jsx9("circle", { cx: YORORIS.center, cy: YORORIS.center, r: "190", fill: `url(#${id.glow})` }) : null,
|
|
531
|
-
/* @__PURE__ */ jsx9("circle", { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: YORORIS.ring.width, opacity: ".35" }),
|
|
532
|
-
/* @__PURE__ */ jsxs9("g", { className: m("orbit"), children: [
|
|
533
|
-
/* @__PURE__ */ jsx9("circle", { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: YORORIS.orbit.width, strokeDasharray: YORORIS.orbit.dash, opacity: ".6" }),
|
|
534
|
-
/* @__PURE__ */ jsx9("circle", { cx: YORORIS.node.at[0], cy: YORORIS.node.at[1], r: YORORIS.node.r, fill: YORORIS.sage })
|
|
535
|
-
] }),
|
|
536
|
-
/* @__PURE__ */ jsx9("path", { d: YORORIS.hands, stroke: YORORIS.sage, strokeWidth: YORORIS.stroke, strokeLinecap: "round" }),
|
|
537
|
-
/* @__PURE__ */ jsxs9("g", { className: m("core"), children: [
|
|
538
|
-
/* @__PURE__ */ jsx9("circle", { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.r, fill: YORORIS.sand }),
|
|
539
|
-
/* @__PURE__ */ jsx9("circle", { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.inner, fill: YORORIS.highlight })
|
|
540
|
-
] })
|
|
541
|
-
] });
|
|
542
|
-
}
|
|
543
|
-
|
|
544
313
|
// src/marks/ProductLogo.tsx
|
|
545
|
-
import { jsx as
|
|
314
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
546
315
|
function ProductLogo({ id, ...props }) {
|
|
547
|
-
if (id === "krizaka") return /* @__PURE__ */
|
|
548
|
-
if (id === "orazaka") return /* @__PURE__ */
|
|
549
|
-
if (id === "
|
|
550
|
-
|
|
551
|
-
if (id === "yomizaka") return /* @__PURE__ */ jsx10(YomizakaLogo, { ...props });
|
|
552
|
-
if (id === "kachizaka") return /* @__PURE__ */ jsx10(KachizakaLogo, { ...props });
|
|
553
|
-
if (id === "akinaza") return /* @__PURE__ */ jsx10(AkinazaLogo, { ...props });
|
|
554
|
-
return /* @__PURE__ */ jsx10(OrochiaLogo, { ...props });
|
|
316
|
+
if (id === "krizaka") return /* @__PURE__ */ jsx6(KrizakaLogo, { ...props });
|
|
317
|
+
if (id === "orazaka") return /* @__PURE__ */ jsx6(OrazakaLogo, { ...props });
|
|
318
|
+
if (id === "yomizaka") return /* @__PURE__ */ jsx6(YomizakaLogo, { ...props });
|
|
319
|
+
return /* @__PURE__ */ jsx6(AkinazaLogo, { ...props });
|
|
555
320
|
}
|
|
556
321
|
|
|
557
322
|
// src/family-mark.tsx
|
|
558
|
-
import { jsx as
|
|
323
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
559
324
|
function GitHubGlyph({ size = 16, className }) {
|
|
560
|
-
return /* @__PURE__ */
|
|
325
|
+
return /* @__PURE__ */ jsx7("svg", { viewBox: "0 0 16 16", width: size, height: size, fill: "currentColor", "aria-hidden": true, className, children: /* @__PURE__ */ jsx7("path", { d: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z" }) });
|
|
561
326
|
}
|
|
562
327
|
function FamilyMark({ mark, size }) {
|
|
563
|
-
if (mark === "github") return /* @__PURE__ */
|
|
564
|
-
return /* @__PURE__ */
|
|
328
|
+
if (mark === "github") return /* @__PURE__ */ jsx7(GitHubGlyph, { size: Math.round(size * 0.8) });
|
|
329
|
+
return /* @__PURE__ */ jsx7(ProductLogo, { id: mark, size, animated: false });
|
|
565
330
|
}
|
|
566
331
|
|
|
567
332
|
// src/sites/sites.ts
|
|
@@ -574,19 +339,13 @@ var sites = [
|
|
|
574
339
|
site({ id: "ui", name: "Krizaka UI", url: "https://ui.krizaka.com", kind: "open-source", group: "open-source", status: "released", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-ui" }),
|
|
575
340
|
site({ id: "java", name: "Krizaka Java", url: "https://java.krizaka.com", kind: "open-source", group: "open-source", status: "released", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-build" }),
|
|
576
341
|
site({ id: "ts", name: "Krizaka TypeScript", url: "https://ts.krizaka.com", kind: "open-source", group: "open-source", status: "released", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-ts" }),
|
|
577
|
-
// The
|
|
578
|
-
site({ id: "motion", name: "Krizaka
|
|
342
|
+
// The family lab: built in the open, served at lab.krizaka.com; what proves itself there moves into Krizaka UI.
|
|
343
|
+
site({ id: "motion", name: "Krizaka Lab", url: "https://lab.krizaka.com", kind: "open-source", group: "open-source", status: "development", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-lab" }),
|
|
579
344
|
site({ id: "github", name: "GitHub", url: "https://github.com/krizaka", kind: "open-source", group: "github", status: "released", mark: "github", repo: "https://github.com/krizaka" })
|
|
580
345
|
];
|
|
581
|
-
var pausedSites = [
|
|
582
|
-
site({ id: "orochia", name: "Orochia", url: "https://www.orochia.com", kind: "product", group: "products", status: "development", mark: "orochia", repo: "https://github.com/krizaka/orochia" }),
|
|
583
|
-
site({ id: "yasakia", name: "Yasakia", url: "https://www.yasakia.com", kind: "product", group: "products", status: "development", mark: "yasakia", repo: "https://github.com/krizaka/yasakia" }),
|
|
584
|
-
site({ id: "yororis", name: "Yororis", url: "https://www.yororis.com", kind: "product", group: "products", status: "development", mark: "yororis", repo: "https://github.com/krizaka/yororis" }),
|
|
585
|
-
site({ id: "kachizaka", name: "Kachizaka", url: "https://www.kachizaka.com", kind: "product", group: "products", status: "development", mark: "kachizaka", repo: "https://github.com/krizaka/kachizaka" })
|
|
586
|
-
];
|
|
587
346
|
var siteGroups = ["krizaka", "products", "open-source", "github"];
|
|
588
347
|
function siteById(id) {
|
|
589
|
-
const found = sites.find((s) => s.id === id)
|
|
348
|
+
const found = sites.find((s) => s.id === id);
|
|
590
349
|
if (!found) throw new Error(`Unknown Krizaka site "${id}".`);
|
|
591
350
|
return found;
|
|
592
351
|
}
|
|
@@ -612,7 +371,7 @@ var familyLabels = {
|
|
|
612
371
|
ui: "Components, tokens, icons and charts \u2014 web and React Native.",
|
|
613
372
|
java: "Spring Boot building blocks on Maven Central.",
|
|
614
373
|
ts: "TypeScript backend building blocks on npm.",
|
|
615
|
-
motion: "The
|
|
374
|
+
motion: "The family lab: the kit's motion, played live with its knobs.",
|
|
616
375
|
github: "Every repository, in the open."
|
|
617
376
|
},
|
|
618
377
|
signature: { company: "A Krizaka company", product: "A Krizaka product", "open-source": "A Krizaka open-source project" },
|
|
@@ -646,7 +405,7 @@ var familyLabels = {
|
|
|
646
405
|
};
|
|
647
406
|
|
|
648
407
|
// src/site-footer/site-footer.tsx
|
|
649
|
-
import { Fragment, jsx as
|
|
408
|
+
import { Fragment, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
650
409
|
var siteFooter = tv({
|
|
651
410
|
slots: {
|
|
652
411
|
root: "w-full border-t border-border-subtle bg-surface-0 text-fg",
|
|
@@ -721,33 +480,33 @@ function SiteFooter({
|
|
|
721
480
|
const own = React.Children.toArray(children).length > 0;
|
|
722
481
|
const lang = labels.lang ?? "en";
|
|
723
482
|
const company = labels.company ?? familyLabels.en.company;
|
|
724
|
-
const legal = legalProp ?? (org && /* @__PURE__ */
|
|
483
|
+
const legal = legalProp ?? (org && /* @__PURE__ */ jsx8(Fragment, { children: org.footer.legal.map((l) => /* @__PURE__ */ jsx8(SiteFooterLink, { href: l.url[lang], children: l.label[lang] }, l.id)) }));
|
|
725
484
|
const here = (href) => path !== void 0 && isThisPage(href, site2.url, path);
|
|
726
485
|
const groups = sitesByGroup();
|
|
727
486
|
const columns = [
|
|
728
487
|
...groups.filter((g) => g.group === "products").map((g) => products ? { ...g, sites: g.sites.filter((x) => products.includes(x.id) || x.id === current) } : g),
|
|
729
488
|
{ group: "open-source", sites: groups.filter((g) => g.group === "open-source" || g.group === "github").flatMap((g) => g.sites) }
|
|
730
489
|
];
|
|
731
|
-
return /* @__PURE__ */
|
|
732
|
-
!slim && (own || family) && /* @__PURE__ */
|
|
733
|
-
own && /* @__PURE__ */
|
|
734
|
-
family && /* @__PURE__ */
|
|
735
|
-
columns.map(({ group, sites: sites2 }) => /* @__PURE__ */
|
|
736
|
-
/* @__PURE__ */
|
|
737
|
-
/* @__PURE__ */
|
|
738
|
-
/* @__PURE__ */
|
|
490
|
+
return /* @__PURE__ */ jsx8("footer", { className: s.root({ className }), ...props, children: /* @__PURE__ */ jsxs6("div", { className: s.inner(), children: [
|
|
491
|
+
!slim && (own || family) && /* @__PURE__ */ jsxs6("div", { className: s.band(), children: [
|
|
492
|
+
own && /* @__PURE__ */ jsx8("div", { className: s.own(), children }),
|
|
493
|
+
family && /* @__PURE__ */ jsxs6("nav", { "aria-label": labels.family, className: s.family(), children: [
|
|
494
|
+
columns.map(({ group, sites: sites2 }) => /* @__PURE__ */ jsxs6("div", { className: s.column(), children: [
|
|
495
|
+
/* @__PURE__ */ jsx8("p", { id: `${id}-${group}`, className: s.title(), children: labels.groups[group] }),
|
|
496
|
+
/* @__PURE__ */ jsx8("ul", { "aria-labelledby": `${id}-${group}`, className: s.list(), children: sites2.map((item) => /* @__PURE__ */ jsx8("li", { children: /* @__PURE__ */ jsxs6("a", { href: item.url, "aria-current": item.id === current ? "true" : void 0, className: s.link(), children: [
|
|
497
|
+
/* @__PURE__ */ jsx8("span", { className: s.mark(), children: /* @__PURE__ */ jsx8(FamilyMark, { mark: item.mark, size: 16 }) }),
|
|
739
498
|
item.name,
|
|
740
|
-
item.status !== "released" && /* @__PURE__ */
|
|
741
|
-
item.id === current && /* @__PURE__ */
|
|
499
|
+
item.status !== "released" && /* @__PURE__ */ jsx8("span", { className: s.tag(), children: labels.status[item.status] }),
|
|
500
|
+
item.id === current && /* @__PURE__ */ jsxs6("span", { className: "sr-only", children: [
|
|
742
501
|
"(",
|
|
743
502
|
labels.current,
|
|
744
503
|
")"
|
|
745
504
|
] })
|
|
746
505
|
] }) }, item.id)) })
|
|
747
506
|
] }, group)),
|
|
748
|
-
/* @__PURE__ */
|
|
749
|
-
/* @__PURE__ */
|
|
750
|
-
/* @__PURE__ */
|
|
507
|
+
/* @__PURE__ */ jsxs6("div", { className: s.column(), children: [
|
|
508
|
+
/* @__PURE__ */ jsx8("p", { id: `${id}-krizaka`, className: s.title(), children: labels.groups.krizaka }),
|
|
509
|
+
/* @__PURE__ */ jsx8("ul", { "aria-labelledby": `${id}-krizaka`, className: s.list(), children: companyLinks.map((l) => /* @__PURE__ */ jsx8("li", { children: /* @__PURE__ */ jsx8(
|
|
751
510
|
"a",
|
|
752
511
|
{
|
|
753
512
|
href: l.url[lang],
|
|
@@ -760,20 +519,20 @@ function SiteFooter({
|
|
|
760
519
|
] })
|
|
761
520
|
] })
|
|
762
521
|
] }),
|
|
763
|
-
/* @__PURE__ */
|
|
764
|
-
/* @__PURE__ */
|
|
765
|
-
/* @__PURE__ */
|
|
522
|
+
/* @__PURE__ */ jsxs6("div", { className: s.bottom(), children: [
|
|
523
|
+
/* @__PURE__ */ jsxs6("a", { href: krizaka.url, className: s.signature(), children: [
|
|
524
|
+
/* @__PURE__ */ jsx8(KrizakaLogo, { size: 18, animated: false }),
|
|
766
525
|
org ? org.footer.line[lang] : labels.signature[site2.kind]
|
|
767
526
|
] }),
|
|
768
|
-
tag && /* @__PURE__ */
|
|
769
|
-
/* @__PURE__ */
|
|
527
|
+
tag && /* @__PURE__ */ jsxs6("span", { className: s.version(), children: [
|
|
528
|
+
/* @__PURE__ */ jsxs6("span", { className: "sr-only", children: [
|
|
770
529
|
labels.version,
|
|
771
530
|
" "
|
|
772
531
|
] }),
|
|
773
532
|
tag
|
|
774
533
|
] }),
|
|
775
|
-
!slim && !org && /* @__PURE__ */
|
|
776
|
-
legal && /* @__PURE__ */
|
|
534
|
+
!slim && !org && /* @__PURE__ */ jsx8("span", { children: labels.place }),
|
|
535
|
+
legal && /* @__PURE__ */ jsx8("div", { className: s.legal(), children: legal })
|
|
777
536
|
] })
|
|
778
537
|
] }) });
|
|
779
538
|
}
|
|
@@ -781,21 +540,21 @@ function SiteFooterColumn({ title, children, className, ...props }) {
|
|
|
781
540
|
const id = React.useId();
|
|
782
541
|
if (React.Children.toArray(children).length === 0) return null;
|
|
783
542
|
const s = siteFooter();
|
|
784
|
-
return /* @__PURE__ */
|
|
785
|
-
/* @__PURE__ */
|
|
786
|
-
/* @__PURE__ */
|
|
543
|
+
return /* @__PURE__ */ jsxs6("div", { className: s.column({ className }), ...props, children: [
|
|
544
|
+
/* @__PURE__ */ jsx8("p", { id, className: s.title(), children: title }),
|
|
545
|
+
/* @__PURE__ */ jsx8("ul", { "aria-labelledby": id, className: s.list(), children: React.Children.toArray(children).map((child, i) => /* @__PURE__ */ jsx8("li", { children: child }, i)) })
|
|
787
546
|
] });
|
|
788
547
|
}
|
|
789
548
|
function SiteFooterLink({ active, asChild, className, ...props }) {
|
|
790
549
|
const s = siteFooter();
|
|
791
550
|
const Comp = asChild ? Slot.Root : "a";
|
|
792
|
-
return /* @__PURE__ */
|
|
551
|
+
return /* @__PURE__ */ jsx8(Comp, { "aria-current": active ? "page" : void 0, className: s.link({ className }), ...props });
|
|
793
552
|
}
|
|
794
553
|
SiteFooter.Column = SiteFooterColumn;
|
|
795
554
|
SiteFooter.Link = SiteFooterLink;
|
|
796
555
|
|
|
797
556
|
// src/site-cahier/site-cahier.tsx
|
|
798
|
-
import { jsx as
|
|
557
|
+
import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
799
558
|
function SiteCahier({ site: site2, name, bird, hue, nav, navLabel = "Main", homeHref = "/", linkAs, bar, footer, className, style, children, ...props }) {
|
|
800
559
|
const h = hue === void 0 || !Number.isFinite(hue) ? void 0 : (Math.round(hue) % 360 + 360) % 360;
|
|
801
560
|
const tint = h === void 0 ? void 0 : {
|
|
@@ -803,33 +562,33 @@ function SiteCahier({ site: site2, name, bird, hue, nav, navLabel = "Main", home
|
|
|
803
562
|
"--kz-hue-2": `hsl(${(h + 30) % 360} 62% 52%)`,
|
|
804
563
|
"--kz-hue-text": "var(--kz-text-primary)"
|
|
805
564
|
};
|
|
806
|
-
return /* @__PURE__ */
|
|
807
|
-
bar ?? /* @__PURE__ */
|
|
808
|
-
/* @__PURE__ */
|
|
809
|
-
/* @__PURE__ */
|
|
810
|
-
/* @__PURE__ */
|
|
565
|
+
return /* @__PURE__ */ jsxs7("div", { className: cn("kz-cahier", className), "data-site": site2, style: { ...tint, ...style }, ...props, children: [
|
|
566
|
+
bar ?? /* @__PURE__ */ jsx9("header", { className: "kz-cahier-bar", children: /* @__PURE__ */ jsx9(Page, { children: /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-bar-row", children: [
|
|
567
|
+
/* @__PURE__ */ jsxs7(BlockLink, { href: homeHref, linkAs, className: "kz-cahier-brand", children: [
|
|
568
|
+
/* @__PURE__ */ jsx9(Mascot, { bird, tone: "own", size: 30, animated: false }),
|
|
569
|
+
/* @__PURE__ */ jsx9("span", { children: name })
|
|
811
570
|
] }),
|
|
812
|
-
/* @__PURE__ */
|
|
571
|
+
/* @__PURE__ */ jsx9("nav", { "aria-label": navLabel, children: /* @__PURE__ */ jsx9("ul", { className: "kz-cahier-nav", children: nav.map((item, i) => /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsx9(BlockLink, { href: item.href, linkAs, "aria-current": item.current ? "page" : void 0, children: item.label }) }, i)) }) })
|
|
813
572
|
] }) }) }),
|
|
814
|
-
/* @__PURE__ */
|
|
815
|
-
footer === false ? null : /* @__PURE__ */
|
|
573
|
+
/* @__PURE__ */ jsx9("main", { className: "kz-cahier-main", children }),
|
|
574
|
+
footer === false ? null : /* @__PURE__ */ jsx9(SiteFooter, { current: site2, ...footer })
|
|
816
575
|
] });
|
|
817
576
|
}
|
|
818
577
|
function SiteCahierHero({ bird, birdCaption, aside, doodle, children, ...props }) {
|
|
819
|
-
const print = aside ?? (bird ? /* @__PURE__ */
|
|
820
|
-
return /* @__PURE__ */
|
|
821
|
-
/* @__PURE__ */
|
|
822
|
-
doodle && /* @__PURE__ */
|
|
578
|
+
const print = aside ?? (bird ? /* @__PURE__ */ jsx9(TapedPhoto, { tape: "top", tilt: 2, caption: birdCaption, children: /* @__PURE__ */ jsx9("div", { className: "kz-cahier-print", children: /* @__PURE__ */ jsx9(Mascot, { bird, tone: "own", size: 150, animated: false }) }) }) : void 0);
|
|
579
|
+
return /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-hero", children: [
|
|
580
|
+
/* @__PURE__ */ jsx9(PageHero, { backdrop: "plain", aside: print, ...props, children }),
|
|
581
|
+
doodle && /* @__PURE__ */ jsx9("div", { className: "kz-cahier-doodle", children: doodle })
|
|
823
582
|
] });
|
|
824
583
|
}
|
|
825
584
|
function SiteCahierDoc({ title, eyebrow, aside, asideLabel = "On this page", className, children, ...props }) {
|
|
826
|
-
return /* @__PURE__ */
|
|
827
|
-
/* @__PURE__ */
|
|
828
|
-
eyebrow && /* @__PURE__ */
|
|
829
|
-
/* @__PURE__ */
|
|
830
|
-
/* @__PURE__ */
|
|
585
|
+
return /* @__PURE__ */ jsx9(Page, { size: "wide", paper: "lines", margin: true, children: /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-doc", "data-aside": aside ? "" : void 0, children: [
|
|
586
|
+
/* @__PURE__ */ jsxs7("article", { className: cn("kz-cahier-article", className), ...props, children: [
|
|
587
|
+
eyebrow && /* @__PURE__ */ jsx9("p", { className: "kz-eyebrow", children: eyebrow }),
|
|
588
|
+
/* @__PURE__ */ jsx9("h1", { className: "kz-hero-title", children: title }),
|
|
589
|
+
/* @__PURE__ */ jsx9("div", { className: "kz-tpl-prose", children })
|
|
831
590
|
] }),
|
|
832
|
-
aside && /* @__PURE__ */
|
|
591
|
+
aside && /* @__PURE__ */ jsx9("aside", { className: "kz-cahier-aside", "aria-label": asideLabel, children: aside })
|
|
833
592
|
] }) });
|
|
834
593
|
}
|
|
835
594
|
export {
|