@krizaka/ui 3.79.0 → 3.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-frame.d.ts +4 -1
- package/dist/{chunk-ENFXJUDN.js → chunk-6KZDARNX.js} +5 -5
- package/dist/chunk-6KZDARNX.js.map +1 -0
- package/dist/{chunk-PGPNYYE2.js → chunk-BHAWCN4I.js} +128 -110
- package/dist/chunk-BHAWCN4I.js.map +1 -0
- package/dist/filter-bar.d.ts +3 -3
- package/dist/index.d.ts +47 -15
- package/dist/index.js +87 -23
- package/dist/index.js.map +1 -1
- package/dist/native.d.ts +4 -1
- package/dist/nav-bar.d.ts +1 -1
- package/dist/nav-bar.js +2 -2
- package/dist/rail-nav.d.ts +4 -1
- package/dist/site-cahier.d.ts +1 -1
- package/dist/site-cahier.js +137 -100
- package/dist/site-cahier.js.map +1 -1
- package/dist/site-footer.d.ts +4 -1
- package/dist/site-footer.js +29 -7
- package/dist/site-footer.js.map +1 -1
- package/dist/{sites-BLqbwmng.d.ts → sites-Dxb1tecd.d.ts} +1 -1
- package/dist/sites.d.ts +8 -6
- package/dist/sites.js +5 -5
- package/dist/sites.js.map +1 -1
- package/package.json +3 -3
- package/registry/app-frame.json +7 -3
- package/registry/index.json +7 -7
- package/registry/map.json +1 -1
- package/registry/nav-bar.json +7 -3
- package/registry/rail-nav.json +7 -3
- package/registry/shop.json +1 -1
- package/registry/site-footer.json +8 -4
- package/registry/sites.json +2 -2
- package/dist/chunk-ENFXJUDN.js.map +0 -1
- package/dist/chunk-PGPNYYE2.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AkinazaLogo,
|
|
4
|
+
InkDefs,
|
|
5
|
+
InkMark,
|
|
6
|
+
KRIZAKA,
|
|
4
7
|
KrizakaLogo,
|
|
5
8
|
OrazakaLogo,
|
|
6
9
|
ProductLogo,
|
|
@@ -8,7 +11,7 @@ import {
|
|
|
8
11
|
a11y,
|
|
9
12
|
neutral,
|
|
10
13
|
useIds
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BHAWCN4I.js";
|
|
12
15
|
import {
|
|
13
16
|
cx
|
|
14
17
|
} from "./chunk-6ISW63JI.js";
|
|
@@ -17,6 +20,72 @@ import {
|
|
|
17
20
|
RotatingWord
|
|
18
21
|
} from "./chunk-VA4NPCUQ.js";
|
|
19
22
|
|
|
23
|
+
// src/marks/kridoc-geometry.ts
|
|
24
|
+
var KRIDOC = {
|
|
25
|
+
viewBox: KRIZAKA.viewBox,
|
|
26
|
+
croppedViewBox: KRIZAKA.croppedViewBox,
|
|
27
|
+
offset: KRIZAKA.offset,
|
|
28
|
+
/** The page: from the fold, down the right edge, along the bottom, up the left edge and across the top, stopping short of the fold. */
|
|
29
|
+
page: "M248,140 L248,268 L112,268 L112,92 L190,92",
|
|
30
|
+
/** The folded corner: the crease from the top edge to the right edge. */
|
|
31
|
+
fold: "M214,92 L214,124 L248,124",
|
|
32
|
+
/** Two lines of text on the page. */
|
|
33
|
+
lines: ["M140,170 L214,170", "M140,206 L196,206"],
|
|
34
|
+
stroke: KRIZAKA.stroke,
|
|
35
|
+
ink: KRIZAKA.ink,
|
|
36
|
+
blue: KRIZAKA.blue,
|
|
37
|
+
node: { cx: 248, cy: 92, r: 19, inner: 6 },
|
|
38
|
+
core: { cx: 196, cy: 240, r: 20, inner: 7 },
|
|
39
|
+
highlight: KRIZAKA.highlight,
|
|
40
|
+
glow: KRIZAKA.glow,
|
|
41
|
+
orbit: KRIZAKA.orbit,
|
|
42
|
+
ring: KRIZAKA.ring
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
// src/marks/KridocLogo.tsx
|
|
46
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
47
|
+
var CSS = `
|
|
48
|
+
.kdm-spin { transform-origin: 200px 200px; animation: kdm-spin 30s linear infinite; }
|
|
49
|
+
.kdm-pulse { transform-box: fill-box; transform-origin: center; animation: kdm-pulse 3.2s ease-in-out infinite; }
|
|
50
|
+
@keyframes kdm-spin { to { transform: rotate(360deg); } }
|
|
51
|
+
@keyframes kdm-pulse { 0%, 100% { opacity: .9; } 50% { opacity: 1; } }
|
|
52
|
+
@media (prefers-reduced-motion: reduce) { .kdm-spin, .kdm-pulse { animation: none; } }
|
|
53
|
+
`;
|
|
54
|
+
function KridocLogo(props) {
|
|
55
|
+
return /* @__PURE__ */ jsx(
|
|
56
|
+
InkMark,
|
|
57
|
+
{
|
|
58
|
+
...props,
|
|
59
|
+
prefix: "kdm",
|
|
60
|
+
css: CSS,
|
|
61
|
+
geometry: KRIDOC,
|
|
62
|
+
figure: (ink) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
63
|
+
/* @__PURE__ */ jsx("path", { d: KRIDOC.page, stroke: ink, strokeWidth: KRIDOC.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
64
|
+
/* @__PURE__ */ jsx("path", { d: KRIDOC.fold, stroke: ink, strokeWidth: KRIDOC.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
65
|
+
KRIDOC.lines.map((d) => /* @__PURE__ */ jsx("path", { d, stroke: ink, strokeWidth: KRIDOC.stroke * 0.6, strokeLinecap: "round" }, d))
|
|
66
|
+
] })
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// src/marks/ProductLockup.tsx
|
|
72
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
73
|
+
function textSize(size) {
|
|
74
|
+
if (size >= 64) return "text-2xl";
|
|
75
|
+
if (size >= 40) return "text-lg";
|
|
76
|
+
return "text-base";
|
|
77
|
+
}
|
|
78
|
+
function ProductLockup({ id, name, endorsement, size = 32, animated = true, layout = "stacked", className }) {
|
|
79
|
+
const text = textSize(size);
|
|
80
|
+
return /* @__PURE__ */ jsxs2("span", { className: cx("inline-flex items-center gap-2.5", className), "data-brand": id, children: [
|
|
81
|
+
id === "kachizaka" ? /* @__PURE__ */ jsx2(KridocLogo, { size, animated }) : /* @__PURE__ */ jsx2(ProductLogo, { id, size, animated }),
|
|
82
|
+
/* @__PURE__ */ jsxs2("span", { className: cx("flex leading-tight", layout === "stacked" ? "flex-col" : "items-baseline gap-1.5"), children: [
|
|
83
|
+
/* @__PURE__ */ jsx2("span", { className: cx("font-semibold tracking-tight text-fg", text), children: name }),
|
|
84
|
+
/* @__PURE__ */ jsx2("span", { className: "text-xs text-fg-secondary", children: endorsement })
|
|
85
|
+
] })
|
|
86
|
+
] });
|
|
87
|
+
}
|
|
88
|
+
|
|
20
89
|
// src/marks/wu-sama-geometry.ts
|
|
21
90
|
import { marks } from "@krizaka/tokens/native";
|
|
22
91
|
var WU_SAMA = {
|
|
@@ -40,41 +109,36 @@ var WU_SAMA = {
|
|
|
40
109
|
};
|
|
41
110
|
|
|
42
111
|
// src/marks/WuSamaMark.tsx
|
|
43
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
112
|
+
import { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
44
113
|
function WuSamaMark({ size = 32, title, className }) {
|
|
45
114
|
const id = useIds("wsm", ["ink", "blue", "glow"]);
|
|
46
|
-
return /* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/* @__PURE__ */ jsx("linearGradient", { id: id.blue, gradientUnits: "userSpaceOnUse", x1: WU_SAMA.blue.x1, y1: WU_SAMA.blue.y1, x2: WU_SAMA.blue.x2, y2: WU_SAMA.blue.y2, children: WU_SAMA.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx("stop", { offset, stopColor: color }, offset)) }),
|
|
53
|
-
/* @__PURE__ */ jsxs("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
|
|
54
|
-
/* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: WU_SAMA.glow.color, stopOpacity: WU_SAMA.glow.opacity }),
|
|
55
|
-
/* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: WU_SAMA.glow.color, stopOpacity: "0" })
|
|
56
|
-
] })
|
|
57
|
-
] }),
|
|
58
|
-
size >= 48 ? /* @__PURE__ */ jsx("circle", { cx: "200", cy: "200", r: "190", fill: `url(#${id.glow})` }) : null,
|
|
59
|
-
size >= 48 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
60
|
-
/* @__PURE__ */ jsx("circle", { cx: "200", cy: "200", r: WU_SAMA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: WU_SAMA.orbit.width, strokeDasharray: WU_SAMA.orbit.dash, opacity: ".6" }),
|
|
61
|
-
/* @__PURE__ */ jsx("circle", { cx: "200", cy: "200", r: WU_SAMA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: WU_SAMA.ring.width, opacity: ".35" })
|
|
115
|
+
return /* @__PURE__ */ jsxs3("svg", { width: size, height: size, viewBox: size < 48 ? WU_SAMA.croppedViewBox : WU_SAMA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
|
|
116
|
+
/* @__PURE__ */ jsx3(InkDefs, { ids: id, geometry: WU_SAMA }),
|
|
117
|
+
size >= 48 ? /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: "190", fill: `url(#${id.glow})` }) : null,
|
|
118
|
+
size >= 48 ? /* @__PURE__ */ jsxs3(Fragment2, { children: [
|
|
119
|
+
/* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: WU_SAMA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: WU_SAMA.orbit.width, strokeDasharray: WU_SAMA.orbit.dash, opacity: ".6" }),
|
|
120
|
+
/* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: WU_SAMA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: WU_SAMA.ring.width, opacity: ".35" })
|
|
62
121
|
] }) : null,
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */
|
|
122
|
+
/* @__PURE__ */ jsxs3("g", { transform: `translate(${WU_SAMA.offset} ${WU_SAMA.offset})`, children: [
|
|
123
|
+
/* @__PURE__ */ jsx3("path", { d: WU_SAMA.shield, stroke: `url(#${id.ink})`, strokeWidth: WU_SAMA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
124
|
+
/* @__PURE__ */ jsx3("circle", { cx: WU_SAMA.node.cx, cy: WU_SAMA.node.cy, r: WU_SAMA.node.r, fill: `url(#${id.blue})` }),
|
|
125
|
+
/* @__PURE__ */ jsx3("circle", { cx: WU_SAMA.node.cx, cy: WU_SAMA.node.cy, r: WU_SAMA.node.inner, fill: WU_SAMA.highlight }),
|
|
126
|
+
/* @__PURE__ */ jsx3("path", { d: WU_SAMA.w, stroke: `url(#${id.blue})`, strokeWidth: WU_SAMA.wStroke, strokeLinecap: "round", strokeLinejoin: "round" })
|
|
68
127
|
] })
|
|
69
128
|
] });
|
|
70
129
|
}
|
|
71
130
|
export {
|
|
72
131
|
AkinazaLogo,
|
|
132
|
+
AkinazaLogo as FoliovivLogo,
|
|
133
|
+
KridocLogo,
|
|
73
134
|
KrizakaLogo,
|
|
74
135
|
MotionObserver,
|
|
75
136
|
OrazakaLogo,
|
|
137
|
+
ProductLockup,
|
|
76
138
|
ProductLogo,
|
|
77
139
|
RotatingWord,
|
|
140
|
+
OrazakaLogo as SovkoraLogo,
|
|
141
|
+
YomizakaLogo as VerikoraLogo,
|
|
78
142
|
WuSamaMark,
|
|
79
143
|
YomizakaLogo,
|
|
80
144
|
cx
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/marks/wu-sama-geometry.ts","../src/marks/WuSamaMark.tsx"],"sourcesContent":["import { marks } from \"@krizaka/tokens/native\";\n\n/**\n * The Wu-sama mark's geometry — the founder's byline mark.\n * It shares the Krizaka shield contour (pointy-top hexagonal shield with open vertex and lit node)\n * and brand colors, holding a W of five straight legs in Krizaka blue at its center.\n */\nexport const WU_SAMA = {\n viewBox: \"0 0 400 400\",\n croppedViewBox: \"86 82 228 228\",\n offset: 20,\n /** The shield: the Krizaka pointy-top hexagon (r 92 around 180,180), open at its upper-right edge. */\n shield: \"M259.7,134 L259.7,226 L180,272 L100.3,226 L100.3,134 L180,88 L212,106.5\",\n stroke: 22,\n ink: { x1: 70, y1: 290, x2: 290, y2: 70 },\n blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops: marks.krizaka },\n /** The vertex where the shield opens: a lit node in Krizaka blue. */\n node: { cx: 259.7, cy: 134, r: 19, inner: 6 },\n /** The W: five straight legs in Krizaka blue. */\n w: \"M132,142 L154,216 L180,166 L206,216 L228,142\",\n wStroke: 18,\n highlight: \"#ddeaf4\",\n glow: { color: marks.krizaka[0]![1], opacity: 0.16 },\n orbit: { r: 160, dash: \"8 8\", width: 1.5 },\n ring: { r: 134, width: 1 },\n} as const;\n","import { a11y, type MarkProps, neutral, useIds } from \"./shared\";\nimport { WU_SAMA as G } from \"./wu-sama-geometry\";\n\n/**\n * The Wu-sama mark — the founder's byline mark, for the person and not the company (the company keeps `KrizakaLogo`).\n * Oussama's nickname is Wu-sama: it shares Krizaka's hexagonal shield contour and color palette (ink shield, open\n * vertex with lit blue node), with the W rendered in Krizaka blue at the center. Below 48 px it crops to the emblem.\n */\nexport function WuSamaMark({ size = 32, title, className }: Omit<MarkProps, \"animated\"> & { animated?: boolean }) {\n const id = useIds(\"wsm\", [\"ink\", \"blue\", \"glow\"] as const);\n return (\n <svg width={size} height={size} viewBox={size < 48 ? G.croppedViewBox : G.viewBox} fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" className={className} {...a11y(title)}>\n <defs>\n <linearGradient id={id.ink} gradientUnits=\"userSpaceOnUse\" x1={G.ink.x1} y1={G.ink.y1} x2={G.ink.x2} y2={G.ink.y2}>\n <stop offset=\"0%\" stopColor={neutral(\"--kz-text-secondary\", 60)} />\n <stop offset=\"100%\" stopColor={neutral(\"--kz-text-primary\", 92)} />\n </linearGradient>\n <linearGradient id={id.blue} gradientUnits=\"userSpaceOnUse\" x1={G.blue.x1} y1={G.blue.y1} x2={G.blue.x2} y2={G.blue.y2}>\n {G.blue.stops.map(([offset, color]) => (\n <stop key={offset} offset={offset} stopColor={color} />\n ))}\n </linearGradient>\n <radialGradient id={id.glow} cx=\"50%\" cy=\"50%\" r=\"50%\">\n <stop offset=\"0%\" stopColor={G.glow.color} stopOpacity={G.glow.opacity} />\n <stop offset=\"100%\" stopColor={G.glow.color} stopOpacity=\"0\" />\n </radialGradient>\n </defs>\n {size >= 48 ? <circle cx=\"200\" cy=\"200\" r=\"190\" fill={`url(#${id.glow})`} /> : null}\n {size >= 48 ? (\n <>\n <circle cx=\"200\" cy=\"200\" r={G.orbit.r} stroke={neutral(\"--kz-border-strong\", 40)} strokeWidth={G.orbit.width} strokeDasharray={G.orbit.dash} opacity=\".6\" />\n <circle cx=\"200\" cy=\"200\" r={G.ring.r} stroke={neutral(\"--kz-border-default\", 30)} strokeWidth={G.ring.width} opacity=\".35\" />\n </>\n ) : null}\n <g transform={`translate(${G.offset} ${G.offset})`}>\n <path d={G.shield} stroke={`url(#${id.ink})`} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n <circle cx={G.node.cx} cy={G.node.cy} r={G.node.r} fill={`url(#${id.blue})`} />\n <circle cx={G.node.cx} cy={G.node.cy} r={G.node.inner} fill={G.highlight} />\n <path d={G.w} stroke={`url(#${id.blue})`} strokeWidth={G.wStroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n </g>\n </svg>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,SAAS,aAAa;AAOf,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,KAAK,IAAI,GAAG,QAAE,KAAK,GAAG,MAAM,QAAQ,GAAG,IAAI,KAAK;AAAA,MAC7E,oBAAC,YAAO,IAAI,QAAE,KAAK,IAAI,IAAI,QAAE,KAAK,IAAI,GAAG,QAAE,KAAK,OAAO,MAAM,QAAE,WAAW;AAAA,MAC1E,oBAAC,UAAK,GAAG,QAAE,GAAG,QAAQ,QAAQ,GAAG,IAAI,KAAK,aAAa,QAAE,SAAS,eAAc,SAAQ,gBAAe,SAAQ;AAAA,OACjH;AAAA,KACF;AAEJ;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/marks/kridoc-geometry.ts","../src/marks/KridocLogo.tsx","../src/marks/ProductLockup.tsx","../src/marks/wu-sama-geometry.ts","../src/marks/WuSamaMark.tsx"],"sourcesContent":["import { KRIZAKA } from \"./krizaka-geometry\";\n\n/**\n * The Kridoc mark's geometry (the managed storage, code name kachizaka; krizaka-internal#2035). Same grammar as the family\n * (a 360×360 artwork at (20, 20), one stroke of 22, an open figure whose end breaks out as a node, a core, a dashed orbit\n * and a ring). Kridoc is a service of the company, so it wears the **Krizaka** colours — ink figure, blue node and core.\n * The figure is a page with its corner folded: the stroke stays open at the fold, where the node — the share link — sits;\n * the core is the seal on the page (kept, audited).\n */\nexport const KRIDOC = {\n viewBox: KRIZAKA.viewBox,\n croppedViewBox: KRIZAKA.croppedViewBox,\n offset: KRIZAKA.offset,\n /** The page: from the fold, down the right edge, along the bottom, up the left edge and across the top, stopping short of the fold. */\n page: \"M248,140 L248,268 L112,268 L112,92 L190,92\",\n /** The folded corner: the crease from the top edge to the right edge. */\n fold: \"M214,92 L214,124 L248,124\",\n /** Two lines of text on the page. */\n lines: [\"M140,170 L214,170\", \"M140,206 L196,206\"],\n stroke: KRIZAKA.stroke,\n ink: KRIZAKA.ink,\n blue: KRIZAKA.blue,\n node: { cx: 248, cy: 92, r: 19, inner: 6 },\n core: { cx: 196, cy: 240, r: 20, inner: 7 },\n highlight: KRIZAKA.highlight,\n glow: KRIZAKA.glow,\n orbit: KRIZAKA.orbit,\n ring: KRIZAKA.ring,\n} as const;\n","import { InkMark } from \"./InkMark\";\nimport { KRIDOC as G } from \"./kridoc-geometry\";\nimport type { MarkProps } from \"./shared\";\n\nconst CSS = `\n.kdm-spin { transform-origin: 200px 200px; animation: kdm-spin 30s linear infinite; }\n.kdm-pulse { transform-box: fill-box; transform-origin: center; animation: kdm-pulse 3.2s ease-in-out infinite; }\n@keyframes kdm-spin { to { transform: rotate(360deg); } }\n@keyframes kdm-pulse { 0%, 100% { opacity: .9; } 50% { opacity: 1; } }\n@media (prefers-reduced-motion: reduce) { .kdm-spin, .kdm-pulse { animation: none; } }\n`;\n\n/**\n * The Kridoc mark (the managed storage, sold as « Kridoc by Krizaka »): an ink page with its corner folded, open at the\n * fold where a blue node — the share link — breaks out, and a blue seal on the page. Krizaka's colours: a service of the\n * company. The orbit turns, the node and the seal breathe. Below 48 px it crops to the emblem.\n */\nexport function KridocLogo(props: Readonly<MarkProps>) {\n return (\n <InkMark\n {...props}\n prefix=\"kdm\"\n css={CSS}\n geometry={G}\n figure={(ink) => (\n <>\n <path d={G.page} stroke={ink} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n <path d={G.fold} stroke={ink} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n {G.lines.map((d) => (\n <path key={d} d={d} stroke={ink} strokeWidth={G.stroke * 0.6} strokeLinecap=\"round\" />\n ))}\n </>\n )}\n />\n );\n}\n","import { cx } from \"../cx\";\nimport { KridocLogo } from \"./KridocLogo\";\nimport { type MarkId, ProductLogo } from \"./ProductLogo\";\n\nexport interface ProductLockupProps {\n /** The brand by its code name (`yomizaka`): it picks the mark only, never the words. */\n id: MarkId;\n /** The name shown — `displayName(codeName, setting)` of `@krizaka/org`, so the administrator's choice wins (« Verikora »). */\n name: string;\n /** The endorsement under it — `brandOf(codeName).endorsement[locale]` of `@krizaka/org` (« by Krizaka » / « par Krizaka »). */\n endorsement: string;\n /**\n * The mark's size in px; the words follow it (`sm` under 40 px, `md` from 40, `lg` from 64).\n * @default 32\n */\n size?: number;\n /** @default true */\n animated?: boolean;\n /** `inline` puts the endorsement beside the name (a footer line); `stacked` under it (a bar, a hero, an email header). @default \"stacked\" */\n layout?: \"stacked\" | \"inline\";\n className?: string;\n}\n\n/**\n * The « Verikora by Krizaka » lockup (krizaka-internal#2035): the product's mark, its name, and the company that endorses\n * it — for heroes, bars, footers, emails and store art. The words are data passed in (from `@krizaka/org` and the app's\n * `brand.displayName` setting), never typed here; the mark is decorative, the name is the text a screen reader reads.\n */\nfunction textSize(size: number): string {\n if (size >= 64) return \"text-2xl\";\n if (size >= 40) return \"text-lg\";\n return \"text-base\";\n}\n\nexport function ProductLockup({ id, name, endorsement, size = 32, animated = true, layout = \"stacked\", className }: Readonly<ProductLockupProps>) {\n const text = textSize(size);\n return (\n <span className={cx(\"inline-flex items-center gap-2.5\", className)} data-brand={id}>\n {id === \"kachizaka\" ? <KridocLogo size={size} animated={animated} /> : <ProductLogo id={id} size={size} animated={animated} />}\n <span className={cx(\"flex leading-tight\", layout === \"stacked\" ? \"flex-col\" : \"items-baseline gap-1.5\")}>\n <span className={cx(\"font-semibold tracking-tight text-fg\", text)}>{name}</span>\n <span className=\"text-xs text-fg-secondary\">{endorsement}</span>\n </span>\n </span>\n );\n}\n","import { marks } from \"@krizaka/tokens/native\";\n\n/**\n * The Wu-sama mark's geometry — the founder's byline mark.\n * It shares the Krizaka shield contour (pointy-top hexagonal shield with open vertex and lit node)\n * and brand colors, holding a W of five straight legs in Krizaka blue at its center.\n */\nexport const WU_SAMA = {\n viewBox: \"0 0 400 400\",\n croppedViewBox: \"86 82 228 228\",\n offset: 20,\n /** The shield: the Krizaka pointy-top hexagon (r 92 around 180,180), open at its upper-right edge. */\n shield: \"M259.7,134 L259.7,226 L180,272 L100.3,226 L100.3,134 L180,88 L212,106.5\",\n stroke: 22,\n ink: { x1: 70, y1: 290, x2: 290, y2: 70 },\n blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops: marks.krizaka },\n /** The vertex where the shield opens: a lit node in Krizaka blue. */\n node: { cx: 259.7, cy: 134, r: 19, inner: 6 },\n /** The W: five straight legs in Krizaka blue. */\n w: \"M132,142 L154,216 L180,166 L206,216 L228,142\",\n wStroke: 18,\n highlight: \"#ddeaf4\",\n glow: { color: marks.krizaka[0]![1], opacity: 0.16 },\n orbit: { r: 160, dash: \"8 8\", width: 1.5 },\n ring: { r: 134, width: 1 },\n} as const;\n","import { InkDefs } from \"./InkMark\";\nimport { a11y, type MarkProps, neutral, useIds } from \"./shared\";\nimport { WU_SAMA as G } from \"./wu-sama-geometry\";\n\n/**\n * The Wu-sama mark — the founder's byline mark, for the person and not the company (the company keeps `KrizakaLogo`).\n * Oussama's nickname is Wu-sama: it shares Krizaka's hexagonal shield contour and color palette (ink shield, open\n * vertex with lit blue node), with the W rendered in Krizaka blue at the center. Below 48 px it crops to the emblem.\n */\nexport function WuSamaMark({ size = 32, title, className }: Omit<MarkProps, \"animated\"> & { animated?: boolean }) {\n const id = useIds(\"wsm\", [\"ink\", \"blue\", \"glow\"] as const);\n return (\n <svg width={size} height={size} viewBox={size < 48 ? G.croppedViewBox : G.viewBox} fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" className={className} {...a11y(title)}>\n <InkDefs ids={id} geometry={G} />\n {size >= 48 ? <circle cx=\"200\" cy=\"200\" r=\"190\" fill={`url(#${id.glow})`} /> : null}\n {size >= 48 ? (\n <>\n <circle cx=\"200\" cy=\"200\" r={G.orbit.r} stroke={neutral(\"--kz-border-strong\", 40)} strokeWidth={G.orbit.width} strokeDasharray={G.orbit.dash} opacity=\".6\" />\n <circle cx=\"200\" cy=\"200\" r={G.ring.r} stroke={neutral(\"--kz-border-default\", 30)} strokeWidth={G.ring.width} opacity=\".35\" />\n </>\n ) : null}\n <g transform={`translate(${G.offset} ${G.offset})`}>\n <path d={G.shield} stroke={`url(#${id.ink})`} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n <circle cx={G.node.cx} cy={G.node.cy} r={G.node.r} fill={`url(#${id.blue})`} />\n <circle cx={G.node.cx} cy={G.node.cy} r={G.node.inner} fill={G.highlight} />\n <path d={G.w} stroke={`url(#${id.blue})`} strokeWidth={G.wStroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n </g>\n </svg>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AASO,IAAM,SAAS;AAAA,EACpB,SAAS,QAAQ;AAAA,EACjB,gBAAgB,QAAQ;AAAA,EACxB,QAAQ,QAAQ;AAAA;AAAA,EAEhB,MAAM;AAAA;AAAA,EAEN,MAAM;AAAA;AAAA,EAEN,OAAO,CAAC,qBAAqB,mBAAmB;AAAA,EAChD,QAAQ,QAAQ;AAAA,EAChB,KAAK,QAAQ;AAAA,EACb,MAAM,QAAQ;AAAA,EACd,MAAM,EAAE,IAAI,KAAK,IAAI,IAAI,GAAG,IAAI,OAAO,EAAE;AAAA,EACzC,MAAM,EAAE,IAAI,KAAK,IAAI,KAAK,GAAG,IAAI,OAAO,EAAE;AAAA,EAC1C,WAAW,QAAQ;AAAA,EACnB,MAAM,QAAQ;AAAA,EACd,OAAO,QAAQ;AAAA,EACf,MAAM,QAAQ;AAChB;;;ACHQ,mBACE,KADF;AArBR,IAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAaL,SAAS,WAAW,OAA4B;AACrD,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,QAAO;AAAA,MACP,KAAK;AAAA,MACL,UAAU;AAAA,MACV,QAAQ,CAAC,QACP,iCACE;AAAA,4BAAC,UAAK,GAAG,OAAE,MAAM,QAAQ,KAAK,aAAa,OAAE,QAAQ,eAAc,SAAQ,gBAAe,SAAQ;AAAA,QAClG,oBAAC,UAAK,GAAG,OAAE,MAAM,QAAQ,KAAK,aAAa,OAAE,QAAQ,eAAc,SAAQ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M,KAC7C;AAAA,sBAAAD,KAAC,UAAK,GAAG,QAAE,QAAQ,QAAQ,QAAQ,GAAG,GAAG,KAAK,aAAa,QAAE,QAAQ,eAAc,SAAQ,gBAAe,SAAQ;AAAA,MAClH,gBAAAA,KAAC,YAAO,IAAI,QAAE,KAAK,IAAI,IAAI,QAAE,KAAK,IAAI,GAAG,QAAE,KAAK,GAAG,MAAM,QAAQ,GAAG,IAAI,KAAK;AAAA,MAC7E,gBAAAA,KAAC,YAAO,IAAI,QAAE,KAAK,IAAI,IAAI,QAAE,KAAK,IAAI,GAAG,QAAE,KAAK,OAAO,MAAM,QAAE,WAAW;AAAA,MAC1E,gBAAAA,KAAC,UAAK,GAAG,QAAE,GAAG,QAAQ,QAAQ,GAAG,IAAI,KAAK,aAAa,QAAE,SAAS,eAAc,SAAQ,gBAAe,SAAQ;AAAA,OACjH;AAAA,KACF;AAEJ;","names":["jsx","jsxs","Fragment","jsx","jsxs"]}
|
package/dist/native.d.ts
CHANGED
|
@@ -102,7 +102,10 @@ declare const addDays: (iso: string, days: number) => string;
|
|
|
102
102
|
/** The ISO date `months` later (or earlier), the day kept inside the shorter months (`01-31` + 1 → `02-28`). */
|
|
103
103
|
declare const addMonths: (iso: string, months: number) => string;
|
|
104
104
|
|
|
105
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* A Krizaka brand by its code name: the company and its three products — sold as Verikora (`yomizaka`), Folioviv
|
|
107
|
+
* (`akinaza`) and Sovkora (`orazaka`). It also keys the brand palettes (maps, forms, loaders).
|
|
108
|
+
*/
|
|
106
109
|
type BrandId = "krizaka" | "orazaka" | "yomizaka" | "akinaza";
|
|
107
110
|
|
|
108
111
|
type Controlled = {
|
package/dist/nav-bar.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as tailwind_variants from 'tailwind-variants';
|
|
|
2
2
|
import { NavigationMenu } from 'radix-ui';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { LanguageSwitchProps } from './language-switch.js';
|
|
5
|
-
import { O as OrgFacts, S as SiteId, F as FamilyLabels } from './sites-
|
|
5
|
+
import { O as OrgFacts, S as SiteId, F as FamilyLabels } from './sites-Dxb1tecd.js';
|
|
6
6
|
|
|
7
7
|
/** The body of `GET /api/me`. `account` is the product's own shape, present only when `signedIn`. */
|
|
8
8
|
interface MeResponse<TAccount = unknown> {
|
package/dist/nav-bar.js
CHANGED
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
familyLabels,
|
|
7
7
|
siteById,
|
|
8
8
|
sitesByGroup
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6KZDARNX.js";
|
|
10
10
|
import {
|
|
11
11
|
useSlidingIndicator
|
|
12
12
|
} from "./chunk-4QN5YJ3D.js";
|
|
13
13
|
import {
|
|
14
14
|
ProductLogo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BHAWCN4I.js";
|
|
16
16
|
import {
|
|
17
17
|
Button
|
|
18
18
|
} from "./chunk-V7W4RLRW.js";
|
package/dist/rail-nav.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* A Krizaka brand by its code name: the company and its three products — sold as Verikora (`yomizaka`), Folioviv
|
|
6
|
+
* (`akinaza`) and Sovkora (`orazaka`). It also keys the brand palettes (maps, forms, loaders).
|
|
7
|
+
*/
|
|
5
8
|
type BrandId = "krizaka" | "orazaka" | "yomizaka" | "akinaza";
|
|
6
9
|
|
|
7
10
|
declare const railNav: tailwind_variants.TVReturnType<{
|