@hraness/design-kit 0.31.1 → 0.33.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/AGENT_SETUP.md +89 -0
- package/ARTICLE_COPY.md +1 -1
- package/MARKETING_COPY.md +13 -1
- package/README.md +17 -4
- package/dist/{chunk-7b1586eb.js → chunk-4d79eskk.js} +62 -33
- package/dist/{chunk-44djxk16.js → chunk-95mpmzc9.js} +678 -619
- package/dist/{chunk-eh71jz57.js → chunk-vst6p4wd.js} +96 -9
- package/dist/index.js +6 -2
- package/dist/mockups/client.js +19 -18
- package/dist/provider-marks.js +1 -1
- package/dist/react/index.js +1617 -649
- package/dist/react/server.js +4 -2
- package/dist/stylex-manifest.json +1 -1
- package/dist/stylex.css +216 -4
- package/package.json +7 -3
- package/portfolio-inventory.json +1 -1
- package/src/agent-setup.ts +47 -0
- package/src/index.ts +1 -0
- package/src/mockups/client.tsx +26 -22
- package/src/mockups.css +44 -13
- package/src/product-marketing.css +7 -2
- package/src/provider-marks.generated.ts +16 -0
- package/src/provider-marks.ts +14 -15
- package/src/react/agent-setup-prompt.stylex.ts +196 -0
- package/src/react/agent-setup-prompt.tsx +413 -0
- package/src/react/article.tsx +12 -20
- package/src/react/design-gallery.tsx +30 -2
- package/src/react/index.ts +1 -0
- package/src/react/launch-beats.tsx +7 -4
- package/src/react/product-marketing.stylex.ts +29 -4
- package/src/react/product-marketing.tsx +45 -12
- package/src/react/provider-mark.stylex.ts +17 -10
- package/src/react/provider-mark.tsx +6 -16
- package/vendor/provider-marks/MEM0-LICENSE +201 -0
- package/vendor/provider-marks/SUPERMEMORY-LICENSE +21 -0
- package/vendor/provider-marks/UPSTREAM.md +12 -1
- package/vendor/provider-marks/lobehub/githubcopilot.svg +1 -0
- package/vendor/provider-marks/lobehub/obsidian-color.svg +1 -0
- package/vendor/provider-marks/lobehub/obsidian.svg +1 -0
- package/vendor/provider-marks/mem0-art.svg +1 -0
- package/vendor/provider-marks/mem0-glyph.svg +1 -0
- package/vendor/provider-marks/mem0.svg +1 -0
- package/vendor/provider-marks/supermemory.svg +1 -0
|
@@ -29,10 +29,232 @@ import {
|
|
|
29
29
|
providerMark,
|
|
30
30
|
providerMarkFallback,
|
|
31
31
|
providerMarkOnAccent
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-vst6p4wd.js";
|
|
33
33
|
|
|
34
|
-
// src/react/
|
|
34
|
+
// src/react/provider-mark.stylex.ts
|
|
35
35
|
import * as stylex from "@stylexjs/stylex";
|
|
36
|
+
var providerMarkStyles = {
|
|
37
|
+
tile: {
|
|
38
|
+
kGNEyG: "x6s0dn4",
|
|
39
|
+
kOBAk4: "x1plog1",
|
|
40
|
+
kWkggS: "x1mpd0sc x9yvj25",
|
|
41
|
+
kKwaWg: "x1hkejs3 xhobzj1",
|
|
42
|
+
kaIpWk: "x1qfbufn",
|
|
43
|
+
kGVxlE: "xdp0uy8 xwaqzdf",
|
|
44
|
+
kB7OPa: "x9f619",
|
|
45
|
+
kMwMTN: "x2634if",
|
|
46
|
+
k1xSpc: "x3nfvp2",
|
|
47
|
+
kmuXW: "x2lah0s",
|
|
48
|
+
kzqmXN: "xnsd1i0",
|
|
49
|
+
kjj79g: "xl56j7k",
|
|
50
|
+
kI3sdo: "xydrj4t xidp9i6",
|
|
51
|
+
kInvED: "x1g40iwv",
|
|
52
|
+
kVAEAm: "x1n2onr6",
|
|
53
|
+
kXLuUW: "xxymvpz",
|
|
54
|
+
$$css: true
|
|
55
|
+
},
|
|
56
|
+
solid: {
|
|
57
|
+
kWkggS: "xpipt50 x9yvj25",
|
|
58
|
+
kKwaWg: "x18o3ruo",
|
|
59
|
+
kGVxlE: "x1gnnqk1",
|
|
60
|
+
kMwMTN: "x3mibv",
|
|
61
|
+
kI3sdo: "x15sqzv3 xidp9i6",
|
|
62
|
+
$$css: true
|
|
63
|
+
},
|
|
64
|
+
plain: {
|
|
65
|
+
kWkggS: "xjbqb8w",
|
|
66
|
+
kKwaWg: "x18o3ruo",
|
|
67
|
+
kGVxlE: "x1gnnqk1",
|
|
68
|
+
kMwMTN: "x121n0qk",
|
|
69
|
+
kI3sdo: "x1a2a7pz",
|
|
70
|
+
$$css: true
|
|
71
|
+
},
|
|
72
|
+
inherit: {
|
|
73
|
+
kWkggS: "xjbqb8w",
|
|
74
|
+
kKwaWg: "x18o3ruo",
|
|
75
|
+
kGVxlE: "x1gnnqk1",
|
|
76
|
+
kMwMTN: "x1heor9g",
|
|
77
|
+
kI3sdo: "x1a2a7pz",
|
|
78
|
+
$$css: true
|
|
79
|
+
},
|
|
80
|
+
glyph: {
|
|
81
|
+
kZKoxP: "x1f6yev3",
|
|
82
|
+
kMwMTN: "x1heor9g",
|
|
83
|
+
k1xSpc: "x3nfvp2",
|
|
84
|
+
kDwRjp: "x117rol3",
|
|
85
|
+
kzqmXN: "x1endk3i",
|
|
86
|
+
$$css: true
|
|
87
|
+
},
|
|
88
|
+
art: {
|
|
89
|
+
kZKoxP: "x1n6l62j",
|
|
90
|
+
k1xSpc: "x3nfvp2 x1c7sf14",
|
|
91
|
+
kzqmXN: "x19app5s",
|
|
92
|
+
kpwlN0: "x10a8y8t",
|
|
93
|
+
kogj98: "x1bpp3o7",
|
|
94
|
+
kVAEAm: "x10l6tqk",
|
|
95
|
+
$$css: true
|
|
96
|
+
},
|
|
97
|
+
monogram: {
|
|
98
|
+
kGNEyG: "x6s0dn4",
|
|
99
|
+
kMwMTN: "x1heor9g",
|
|
100
|
+
k1xSpc: "x1s85apg x2pbqq",
|
|
101
|
+
kGuDYH: "x68snkw",
|
|
102
|
+
k63SB2: "x1xlr1w8",
|
|
103
|
+
kpwlN0: "x10a8y8t",
|
|
104
|
+
kjj79g: "xl56j7k",
|
|
105
|
+
kb6lSQ: "x16q24ku",
|
|
106
|
+
kLWn49: "xo5v014",
|
|
107
|
+
kVAEAm: "x10l6tqk",
|
|
108
|
+
$$css: true
|
|
109
|
+
},
|
|
110
|
+
monogramOnly: {
|
|
111
|
+
k1xSpc: "x3nfvp2",
|
|
112
|
+
kVAEAm: "x1uhb9sk",
|
|
113
|
+
$$css: true
|
|
114
|
+
},
|
|
115
|
+
chip: {
|
|
116
|
+
kGNEyG: "x6s0dn4",
|
|
117
|
+
k1xSpc: "x3nfvp2",
|
|
118
|
+
kOIVth: "xnromcf",
|
|
119
|
+
k7Eaqz: "xeuugli",
|
|
120
|
+
$$css: true
|
|
121
|
+
},
|
|
122
|
+
chipName: {
|
|
123
|
+
kMwMTN: "xm06a53",
|
|
124
|
+
kGuDYH: "xzsou7g",
|
|
125
|
+
k63SB2: "xh88oxj",
|
|
126
|
+
kb6lSQ: "xjat59b",
|
|
127
|
+
kLWn49: "x1u7k74",
|
|
128
|
+
k7Eaqz: "xeuugli",
|
|
129
|
+
kVQacm: "xb3r6kr",
|
|
130
|
+
kg5iWk: "xlyipyv",
|
|
131
|
+
khDVqt: "xuxw1ft",
|
|
132
|
+
$$css: true
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
function providerMarkClassName(part, caller) {
|
|
136
|
+
const parts = typeof part === "string" ? [part] : part;
|
|
137
|
+
const hooks = parts.map((entry) => entry === "tile" ? "hraness-provider-mark" : `hraness-provider-mark__${entry.replaceAll(/[A-Z]/gu, (c) => `-${c.toLowerCase()}`)}`);
|
|
138
|
+
return [...hooks, stylex.props(...parts.map((entry) => providerMarkStyles[entry])).className, caller].filter(Boolean).join(" ");
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// src/react/provider-mark.tsx
|
|
142
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
143
|
+
function resolveMark(mark) {
|
|
144
|
+
if (typeof mark !== "string")
|
|
145
|
+
return mark;
|
|
146
|
+
return providerMark(mark) ?? providerMarkFallback(mark);
|
|
147
|
+
}
|
|
148
|
+
function Artwork({
|
|
149
|
+
mark,
|
|
150
|
+
tone
|
|
151
|
+
}) {
|
|
152
|
+
const art = tone === "tile" ? mark.art : null;
|
|
153
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
154
|
+
children: [
|
|
155
|
+
/* @__PURE__ */ jsx("svg", {
|
|
156
|
+
"aria-hidden": "true",
|
|
157
|
+
className: providerMarkClassName("glyph"),
|
|
158
|
+
dangerouslySetInnerHTML: {
|
|
159
|
+
__html: mark.glyph.body
|
|
160
|
+
},
|
|
161
|
+
fill: "currentColor",
|
|
162
|
+
viewBox: mark.glyph.viewBox
|
|
163
|
+
}),
|
|
164
|
+
art === null ? null : /* @__PURE__ */ jsx("svg", {
|
|
165
|
+
"aria-hidden": "true",
|
|
166
|
+
className: providerMarkClassName("art"),
|
|
167
|
+
dangerouslySetInnerHTML: {
|
|
168
|
+
__html: art.body
|
|
169
|
+
},
|
|
170
|
+
viewBox: art.viewBox
|
|
171
|
+
})
|
|
172
|
+
]
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
function ProviderMark({
|
|
176
|
+
mark,
|
|
177
|
+
className,
|
|
178
|
+
label,
|
|
179
|
+
size = 32,
|
|
180
|
+
tone = "tile"
|
|
181
|
+
}) {
|
|
182
|
+
if (!Number.isFinite(size) || size <= 0)
|
|
183
|
+
throw new RangeError("ProviderMark size must be positive and finite.");
|
|
184
|
+
const resolved = resolveMark(mark);
|
|
185
|
+
const style = {
|
|
186
|
+
"--_mark-accent": resolved.accent,
|
|
187
|
+
"--_mark-size": `${size}px`
|
|
188
|
+
};
|
|
189
|
+
if (tone === "solid")
|
|
190
|
+
style["--_mark-on-accent"] = providerMarkOnAccent(resolved);
|
|
191
|
+
const hasArtwork = resolved.glyph.body !== "";
|
|
192
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
193
|
+
"aria-hidden": label === undefined ? true : undefined,
|
|
194
|
+
"aria-label": label,
|
|
195
|
+
className: providerMarkClassName(tone === "tile" ? ["tile"] : ["tile", tone], className),
|
|
196
|
+
role: label === undefined ? undefined : "img",
|
|
197
|
+
style,
|
|
198
|
+
children: [
|
|
199
|
+
hasArtwork ? /* @__PURE__ */ jsx(Artwork, {
|
|
200
|
+
mark: resolved,
|
|
201
|
+
tone
|
|
202
|
+
}) : null,
|
|
203
|
+
/* @__PURE__ */ jsx("span", {
|
|
204
|
+
"aria-hidden": "true",
|
|
205
|
+
className: providerMarkClassName(hasArtwork ? "monogram" : ["monogram", "monogramOnly"]),
|
|
206
|
+
children: resolved.monogram
|
|
207
|
+
})
|
|
208
|
+
]
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
function ProviderMarkChip({
|
|
212
|
+
mark,
|
|
213
|
+
name,
|
|
214
|
+
...rest
|
|
215
|
+
}) {
|
|
216
|
+
const resolved = resolveMark(mark);
|
|
217
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
218
|
+
className: providerMarkClassName("chip"),
|
|
219
|
+
style: {
|
|
220
|
+
"--_mark-size": `${rest.size ?? 32}px`
|
|
221
|
+
},
|
|
222
|
+
children: [
|
|
223
|
+
/* @__PURE__ */ jsx(ProviderMark, {
|
|
224
|
+
mark: resolved,
|
|
225
|
+
...rest
|
|
226
|
+
}),
|
|
227
|
+
/* @__PURE__ */ jsx("span", {
|
|
228
|
+
className: providerMarkClassName("chipName"),
|
|
229
|
+
children: name ?? resolved.name
|
|
230
|
+
})
|
|
231
|
+
]
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// src/react/syntax-code.tsx
|
|
236
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
237
|
+
function SyntaxCode({
|
|
238
|
+
className,
|
|
239
|
+
code,
|
|
240
|
+
language,
|
|
241
|
+
styles
|
|
242
|
+
}) {
|
|
243
|
+
const highlighted = highlightCode(code, language, styles === undefined ? {} : {
|
|
244
|
+
styles
|
|
245
|
+
});
|
|
246
|
+
const classes = className === undefined ? highlighted.className : `${highlighted.className} ${className}`;
|
|
247
|
+
return /* @__PURE__ */ jsx2("code", {
|
|
248
|
+
className: classes,
|
|
249
|
+
"data-language": highlighted.language,
|
|
250
|
+
dangerouslySetInnerHTML: {
|
|
251
|
+
__html: highlighted.html
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// src/react/foil.stylex.ts
|
|
257
|
+
import * as stylex2 from "@stylexjs/stylex";
|
|
36
258
|
var foilEdge = "var(--_hraness-foil-edge, light-dark(black, white))";
|
|
37
259
|
var foilTextImage = "var(--hraness-foil-image, radial-gradient(ellipse 24% 85% at var(--hraness-foil-x, 50%) var(--hraness-foil-y, 50%), color-mix(in oklch, var(--hraness-foil-text-base, var(--foreground, CanvasText)) 80%, var(--background, Canvas)) 0%, transparent 68%), radial-gradient(ellipse 65% 160% at calc(100% - var(--hraness-foil-x, 50%)) calc(100% - var(--hraness-foil-y, 50%)), color-mix(in oklch, var(--hraness-foil-text-base, var(--foreground, CanvasText)) 98%, var(--background, Canvas)) 0%, transparent 72%), linear-gradient(115deg, color-mix(in srgb, var(--_hraness-foil-1) var(--hraness-foil-reflection, 14%), transparent), color-mix(in srgb, var(--_hraness-foil-2) var(--hraness-foil-reflection, 14%), transparent), color-mix(in srgb, var(--_hraness-foil-3) var(--hraness-foil-reflection, 14%), transparent), color-mix(in srgb, var(--_hraness-foil-4) var(--hraness-foil-reflection, 14%), transparent), color-mix(in srgb, var(--_hraness-foil-5) var(--hraness-foil-reflection, 14%), transparent), color-mix(in srgb, var(--_hraness-foil-6) var(--hraness-foil-reflection, 14%), transparent)), linear-gradient(115deg, color-mix(in oklch, var(--hraness-foil-text-base, var(--foreground, CanvasText)) 90%, var(--background, Canvas)) 0%, color-mix(in oklch, var(--hraness-foil-text-base, var(--foreground, CanvasText)) 100%, var(--background, Canvas)) 24%, color-mix(in oklch, var(--hraness-foil-text-base, var(--foreground, CanvasText)) 86%, var(--background, Canvas)) 39%, color-mix(in oklch, var(--hraness-foil-text-base, var(--foreground, CanvasText)) 100%, var(--background, Canvas)) 56%, color-mix(in oklch, var(--hraness-foil-text-base, var(--foreground, CanvasText)) 84%, var(--background, Canvas)) 82%, color-mix(in oklch, var(--hraness-foil-text-base, var(--foreground, CanvasText)) 100%, var(--background, Canvas)) 100%))";
|
|
38
260
|
var foilHalo = "0 1px 4px color-mix(in srgb, var(--foreground, CanvasText) 12%, transparent)";
|
|
@@ -81,7 +303,7 @@ var foilHooks = {
|
|
|
81
303
|
};
|
|
82
304
|
function foilClassName(kind, caller) {
|
|
83
305
|
const hook = foilHooks[kind];
|
|
84
|
-
return [hook,
|
|
306
|
+
return [hook, stylex2.props(foilStyles[kind]).className, caller].filter((value) => value !== undefined && value.length > 0).join(" ");
|
|
85
307
|
}
|
|
86
308
|
var markStyles = {
|
|
87
309
|
root: {
|
|
@@ -125,11 +347,11 @@ var markStyles = {
|
|
|
125
347
|
};
|
|
126
348
|
function foilMarkClassName(part, caller) {
|
|
127
349
|
const hook = part === "root" ? "hraness-foil-mark" : `hraness-foil-mark__${part}`;
|
|
128
|
-
return [hook,
|
|
350
|
+
return [hook, stylex2.props(markStyles[part]).className, caller].filter(Boolean).join(" ");
|
|
129
351
|
}
|
|
130
352
|
|
|
131
353
|
// src/react/foil-mark.tsx
|
|
132
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
354
|
+
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
133
355
|
function FoilMark({
|
|
134
356
|
src,
|
|
135
357
|
className,
|
|
@@ -139,7 +361,7 @@ function FoilMark({
|
|
|
139
361
|
}) {
|
|
140
362
|
if (!Number.isFinite(size) || size <= 0)
|
|
141
363
|
throw new RangeError("FoilMark size must be positive and finite.");
|
|
142
|
-
return /* @__PURE__ */
|
|
364
|
+
return /* @__PURE__ */ jsxs2("span", {
|
|
143
365
|
"aria-hidden": label === undefined ? true : undefined,
|
|
144
366
|
"aria-label": label,
|
|
145
367
|
className: foilMarkClassName("root", className),
|
|
@@ -149,7 +371,7 @@ function FoilMark({
|
|
|
149
371
|
"--hraness-foil-size": `${size}px`
|
|
150
372
|
},
|
|
151
373
|
children: [
|
|
152
|
-
fallback ?? /* @__PURE__ */
|
|
374
|
+
fallback ?? /* @__PURE__ */ jsx3("img", {
|
|
153
375
|
alt: "",
|
|
154
376
|
className: foilMarkClassName("image"),
|
|
155
377
|
decoding: "async",
|
|
@@ -157,7 +379,7 @@ function FoilMark({
|
|
|
157
379
|
src,
|
|
158
380
|
width: size
|
|
159
381
|
}),
|
|
160
|
-
/* @__PURE__ */
|
|
382
|
+
/* @__PURE__ */ jsx3("span", {
|
|
161
383
|
"aria-hidden": "true",
|
|
162
384
|
className: foilMarkClassName("paint"),
|
|
163
385
|
style: {
|
|
@@ -168,29 +390,8 @@ function FoilMark({
|
|
|
168
390
|
});
|
|
169
391
|
}
|
|
170
392
|
|
|
171
|
-
// src/react/syntax-code.tsx
|
|
172
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
173
|
-
function SyntaxCode({
|
|
174
|
-
className,
|
|
175
|
-
code,
|
|
176
|
-
language,
|
|
177
|
-
styles
|
|
178
|
-
}) {
|
|
179
|
-
const highlighted = highlightCode(code, language, styles === undefined ? {} : {
|
|
180
|
-
styles
|
|
181
|
-
});
|
|
182
|
-
const classes = className === undefined ? highlighted.className : `${highlighted.className} ${className}`;
|
|
183
|
-
return /* @__PURE__ */ jsx2("code", {
|
|
184
|
-
className: classes,
|
|
185
|
-
"data-language": highlighted.language,
|
|
186
|
-
dangerouslySetInnerHTML: {
|
|
187
|
-
__html: highlighted.html
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
|
|
192
393
|
// src/react/product-marketing.stylex.ts
|
|
193
|
-
import * as
|
|
394
|
+
import * as stylex3 from "@stylexjs/stylex";
|
|
194
395
|
var questionMarker = {
|
|
195
396
|
x1mw0dh9: "x1mw0dh9",
|
|
196
397
|
$$css: true
|
|
@@ -228,6 +429,22 @@ var marketingStyles = {
|
|
|
228
429
|
"--hraness-marketing-pillar-columns": "xj4arhr",
|
|
229
430
|
$$css: true
|
|
230
431
|
},
|
|
432
|
+
gridColumns1: {
|
|
433
|
+
"--hraness-marketing-grid-columns": "x166dvhg",
|
|
434
|
+
$$css: true
|
|
435
|
+
},
|
|
436
|
+
gridColumns2: {
|
|
437
|
+
"--hraness-marketing-grid-columns": "x10q4e6v",
|
|
438
|
+
$$css: true
|
|
439
|
+
},
|
|
440
|
+
gridColumns3: {
|
|
441
|
+
"--hraness-marketing-grid-columns": "xyqi4l0",
|
|
442
|
+
$$css: true
|
|
443
|
+
},
|
|
444
|
+
gridColumns4: {
|
|
445
|
+
"--hraness-marketing-grid-columns": "x1g57y38",
|
|
446
|
+
$$css: true
|
|
447
|
+
},
|
|
231
448
|
actionFocus: {
|
|
232
449
|
kI3sdo: "x13mrud1",
|
|
233
450
|
kVtf5F: "x7s97pk",
|
|
@@ -1342,6 +1559,14 @@ var marketingStyles = {
|
|
|
1342
1559
|
kN5DiO: "x1evy7pa",
|
|
1343
1560
|
$$css: true
|
|
1344
1561
|
},
|
|
1562
|
+
section__heading_content: {
|
|
1563
|
+
k1xSpc: "xrvj5dj",
|
|
1564
|
+
kOIVth: "x15iy025",
|
|
1565
|
+
kdYMnH: "xesnm00",
|
|
1566
|
+
kAiAap: "xsyyole",
|
|
1567
|
+
k9dNZF: "x619ttb",
|
|
1568
|
+
$$css: true
|
|
1569
|
+
},
|
|
1345
1570
|
section__body: {
|
|
1346
1571
|
kdYMnH: "xesnm00",
|
|
1347
1572
|
k1xSpc: "xrvj5dj",
|
|
@@ -1831,13 +2056,15 @@ var marketingStyles = {
|
|
|
1831
2056
|
$$css: true
|
|
1832
2057
|
},
|
|
1833
2058
|
primitives__list: {
|
|
2059
|
+
"--hraness-marketing-grid-columns": "xogmzgw",
|
|
2060
|
+
"--_hraness-marketing-grid-track": "xwl1ywu",
|
|
1834
2061
|
k1xSpc: "xrvj5dj",
|
|
1835
2062
|
kkeX5w: "x1qjc9v5",
|
|
1836
2063
|
kogj98: "x1ghz6dp",
|
|
1837
2064
|
kmVPX3: "x1717udv",
|
|
1838
2065
|
kohv2D: "xe8uvvx",
|
|
1839
2066
|
kOIVth: "x8fetqu",
|
|
1840
|
-
kg9kkx: "
|
|
2067
|
+
kg9kkx: "x1ui45ma",
|
|
1841
2068
|
$$css: true
|
|
1842
2069
|
},
|
|
1843
2070
|
primitive: {
|
|
@@ -1993,11 +2220,13 @@ var marketingStyles = {
|
|
|
1993
2220
|
$$css: true
|
|
1994
2221
|
},
|
|
1995
2222
|
card_row: {
|
|
2223
|
+
"--hraness-marketing-grid-columns": "xogmzgw",
|
|
2224
|
+
"--_hraness-marketing-grid-track": "x9wro72",
|
|
1996
2225
|
k1xSpc: "xrvj5dj",
|
|
1997
2226
|
kkeX5w: "x1qjc9v5",
|
|
1998
2227
|
kogj98: "x1ghz6dp",
|
|
1999
2228
|
kOIVth: "x8fetqu",
|
|
2000
|
-
kg9kkx: "
|
|
2229
|
+
kg9kkx: "x1v4bfo1",
|
|
2001
2230
|
$$css: true
|
|
2002
2231
|
},
|
|
2003
2232
|
card: {
|
|
@@ -3090,6 +3319,9 @@ var recipes = {
|
|
|
3090
3319
|
"hraness-marketing-section__summary": {
|
|
3091
3320
|
default: marketingStyles.section__summary
|
|
3092
3321
|
},
|
|
3322
|
+
"hraness-marketing-section__heading-content": {
|
|
3323
|
+
default: marketingStyles.section__heading_content
|
|
3324
|
+
},
|
|
3093
3325
|
"hraness-marketing-section__body": {
|
|
3094
3326
|
default: marketingStyles.section__body
|
|
3095
3327
|
},
|
|
@@ -3412,26 +3644,33 @@ var pillarColumns = {
|
|
|
3412
3644
|
3: marketingStyles.pillarColumns3,
|
|
3413
3645
|
4: marketingStyles.pillarColumns4
|
|
3414
3646
|
};
|
|
3647
|
+
var gridColumns = {
|
|
3648
|
+
1: marketingStyles.gridColumns1,
|
|
3649
|
+
2: marketingStyles.gridColumns2,
|
|
3650
|
+
3: marketingStyles.gridColumns3,
|
|
3651
|
+
4: marketingStyles.gridColumns4
|
|
3652
|
+
};
|
|
3415
3653
|
function marketingColumnClassName(hook, caller, columns) {
|
|
3416
3654
|
if (columns !== undefined && columns !== 1 && columns !== 2 && columns !== 3 && columns !== 4) {
|
|
3417
3655
|
throw new RangeError("Marketing columns must be 1, 2, 3, or 4 when specified.");
|
|
3418
3656
|
}
|
|
3419
|
-
const columnRecipe = columns === undefined ? undefined : (hook === "hraness-marketing-pillars" ? pillarColumns : factColumns)[columns];
|
|
3420
|
-
return [hook,
|
|
3657
|
+
const columnRecipe = columns === undefined ? undefined : (hook === "hraness-marketing-pillars" ? pillarColumns : hook === "hraness-marketing-card-row" || hook === "hraness-marketing-primitives__list" ? gridColumns : factColumns)[columns];
|
|
3658
|
+
return [hook, stylex3.props(recipes[hook].default, columnRecipe).className, caller].filter((value) => value !== undefined && value.length > 0).join(" ");
|
|
3421
3659
|
}
|
|
3422
3660
|
function marketingClassName(hook, caller, variant = "default") {
|
|
3423
3661
|
const variants = recipes[hook];
|
|
3424
3662
|
if (!Object.hasOwn(variants, variant))
|
|
3425
3663
|
throw new Error(`Unknown marketing variant: ${hook}/${variant}`);
|
|
3426
3664
|
const selected = variants[variant];
|
|
3427
|
-
return [hook,
|
|
3665
|
+
return [hook, stylex3.props(selected, hook === "hraness-marketing-action" && marketingStyles.actionFocus, hook === "hraness-marketing-question" && questionMarker).className, caller].filter((value) => value !== undefined && value.length > 0).join(" ");
|
|
3428
3666
|
}
|
|
3429
3667
|
function marketingFactCellVariant(index) {
|
|
3430
3668
|
return index === 0 ? "default" : index < 2 ? "later" : index % 2 === 0 ? "row-odd" : "row";
|
|
3431
3669
|
}
|
|
3432
3670
|
|
|
3433
3671
|
// src/react/product-marketing.tsx
|
|
3434
|
-
import { jsx as
|
|
3672
|
+
import { jsx as jsx4, jsxs as jsxs3, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
3673
|
+
import { createElement } from "react";
|
|
3435
3674
|
var MARKETING_HEADING_TAGS = {
|
|
3436
3675
|
1: "h1",
|
|
3437
3676
|
2: "h2",
|
|
@@ -3457,14 +3696,30 @@ function Heading({
|
|
|
3457
3696
|
id
|
|
3458
3697
|
};
|
|
3459
3698
|
const HeadingTag = MARKETING_HEADING_TAGS[level];
|
|
3460
|
-
return /* @__PURE__ */
|
|
3699
|
+
return /* @__PURE__ */ jsx4(HeadingTag, {
|
|
3461
3700
|
...properties
|
|
3462
3701
|
});
|
|
3463
3702
|
}
|
|
3464
3703
|
function childHeadingLevel(level) {
|
|
3465
3704
|
return Math.min(level + 1, 6);
|
|
3466
3705
|
}
|
|
3467
|
-
function
|
|
3706
|
+
function MarketingActionLink({
|
|
3707
|
+
className,
|
|
3708
|
+
context = "cta",
|
|
3709
|
+
emphasis = "primary",
|
|
3710
|
+
href,
|
|
3711
|
+
label,
|
|
3712
|
+
tone = "paper"
|
|
3713
|
+
}) {
|
|
3714
|
+
return /* @__PURE__ */ jsx4("a", {
|
|
3715
|
+
className: marketingClassName("hraness-marketing-action", className, tone === "accent" ? `${context}-${emphasis}` : emphasis === "primary" ? "primary" : "default"),
|
|
3716
|
+
"data-emphasis": emphasis,
|
|
3717
|
+
"data-foil": emphasis === "primary" ? "" : undefined,
|
|
3718
|
+
href,
|
|
3719
|
+
children: label
|
|
3720
|
+
});
|
|
3721
|
+
}
|
|
3722
|
+
function MarketingActions({
|
|
3468
3723
|
actions,
|
|
3469
3724
|
className,
|
|
3470
3725
|
tone,
|
|
@@ -3472,17 +3727,17 @@ function MarketingActions({
|
|
|
3472
3727
|
}) {
|
|
3473
3728
|
if (actions.length === 0)
|
|
3474
3729
|
return null;
|
|
3475
|
-
return /* @__PURE__ */
|
|
3730
|
+
return /* @__PURE__ */ jsx4("div", {
|
|
3476
3731
|
className,
|
|
3477
3732
|
children: actions.map((action, index) => {
|
|
3478
3733
|
const emphasis = action.emphasis ?? (index === 0 ? "primary" : "secondary");
|
|
3479
|
-
return /* @__PURE__ */
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
}
|
|
3734
|
+
return /* @__PURE__ */ createElement(MarketingActionLink, {
|
|
3735
|
+
...action,
|
|
3736
|
+
context,
|
|
3737
|
+
emphasis,
|
|
3738
|
+
key: `${action.href}-${action.label}`,
|
|
3739
|
+
tone
|
|
3740
|
+
});
|
|
3486
3741
|
})
|
|
3487
3742
|
});
|
|
3488
3743
|
}
|
|
@@ -3496,7 +3751,7 @@ function MarketingPage({
|
|
|
3496
3751
|
if (preset !== undefined && preset !== "editorial" && preset !== "minimal")
|
|
3497
3752
|
throw new RangeError("Unknown marketing preset.");
|
|
3498
3753
|
assertMarketingPattern(pattern);
|
|
3499
|
-
return /* @__PURE__ */
|
|
3754
|
+
return /* @__PURE__ */ jsx4("div", {
|
|
3500
3755
|
className: marketingClassName("hraness-marketing-page", className),
|
|
3501
3756
|
"data-hraness-marketing": "page",
|
|
3502
3757
|
"data-hraness-marketing-preset": preset,
|
|
@@ -3511,7 +3766,7 @@ function MarketingField({
|
|
|
3511
3766
|
pattern
|
|
3512
3767
|
}) {
|
|
3513
3768
|
assertMarketingPattern(pattern);
|
|
3514
|
-
return /* @__PURE__ */
|
|
3769
|
+
return /* @__PURE__ */ jsx4("div", {
|
|
3515
3770
|
className: ["hraness-marketing-field", className].filter(Boolean).join(" "),
|
|
3516
3771
|
"data-hraness-marketing": "field",
|
|
3517
3772
|
"data-hraness-pattern": pattern,
|
|
@@ -3526,7 +3781,7 @@ function MarketingMain({
|
|
|
3526
3781
|
}) {
|
|
3527
3782
|
if (clearance !== "scroll" && clearance !== "pad")
|
|
3528
3783
|
throw new RangeError("Marketing main clearance must be scroll or pad.");
|
|
3529
|
-
return /* @__PURE__ */
|
|
3784
|
+
return /* @__PURE__ */ jsx4("main", {
|
|
3530
3785
|
className: marketingClassName("hraness-marketing-main", className, clearance === "pad" ? "pad" : "default"),
|
|
3531
3786
|
"data-hraness-clearance": clearance === "pad" ? "pad" : undefined,
|
|
3532
3787
|
"data-hraness-marketing": "main",
|
|
@@ -3538,14 +3793,15 @@ function MarketingCardRow({
|
|
|
3538
3793
|
ariaLabel,
|
|
3539
3794
|
cards,
|
|
3540
3795
|
children,
|
|
3541
|
-
className
|
|
3796
|
+
className,
|
|
3797
|
+
columns
|
|
3542
3798
|
}) {
|
|
3543
|
-
return /* @__PURE__ */
|
|
3799
|
+
return /* @__PURE__ */ jsxs3("div", {
|
|
3544
3800
|
"aria-label": ariaLabel,
|
|
3545
|
-
className:
|
|
3801
|
+
className: marketingColumnClassName("hraness-marketing-card-row", className, columns),
|
|
3546
3802
|
"data-hraness-marketing": "card-row",
|
|
3547
3803
|
children: [
|
|
3548
|
-
cards?.map((card) => /* @__PURE__ */
|
|
3804
|
+
cards?.map((card) => /* @__PURE__ */ jsx4(MarketingCard, {
|
|
3549
3805
|
title: card.title,
|
|
3550
3806
|
...card.art === undefined ? {} : {
|
|
3551
3807
|
art: card.art
|
|
@@ -3565,7 +3821,7 @@ function MarketingCardArt({
|
|
|
3565
3821
|
children,
|
|
3566
3822
|
className
|
|
3567
3823
|
}) {
|
|
3568
|
-
return /* @__PURE__ */
|
|
3824
|
+
return /* @__PURE__ */ jsx4("div", {
|
|
3569
3825
|
className: marketingClassName("hraness-marketing-card__art", className),
|
|
3570
3826
|
"data-hraness-marketing": "card-art",
|
|
3571
3827
|
children
|
|
@@ -3582,33 +3838,33 @@ function MarketingCard({
|
|
|
3582
3838
|
meta,
|
|
3583
3839
|
title
|
|
3584
3840
|
}) {
|
|
3585
|
-
const body = /* @__PURE__ */
|
|
3841
|
+
const body = /* @__PURE__ */ jsxs3(Fragment2, {
|
|
3586
3842
|
children: [
|
|
3587
|
-
isPresentNode(art) ? /* @__PURE__ */
|
|
3843
|
+
isPresentNode(art) ? /* @__PURE__ */ jsx4(MarketingCardArt, {
|
|
3588
3844
|
children: art
|
|
3589
3845
|
}) : null,
|
|
3590
|
-
/* @__PURE__ */
|
|
3846
|
+
/* @__PURE__ */ jsx4("h3", {
|
|
3591
3847
|
className: marketingClassName("hraness-marketing-card__title"),
|
|
3592
3848
|
children: title
|
|
3593
3849
|
}),
|
|
3594
|
-
meta === undefined || meta === "" ? null : /* @__PURE__ */
|
|
3850
|
+
meta === undefined || meta === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
3595
3851
|
className: marketingClassName("hraness-marketing-card__meta"),
|
|
3596
3852
|
children: meta
|
|
3597
3853
|
}),
|
|
3598
|
-
isPresentNode(children) ? /* @__PURE__ */
|
|
3854
|
+
isPresentNode(children) ? /* @__PURE__ */ jsx4("div", {
|
|
3599
3855
|
className: marketingClassName("hraness-marketing-card__body"),
|
|
3600
3856
|
children
|
|
3601
3857
|
}) : null
|
|
3602
3858
|
]
|
|
3603
3859
|
});
|
|
3604
3860
|
if (href === undefined) {
|
|
3605
|
-
return /* @__PURE__ */
|
|
3861
|
+
return /* @__PURE__ */ jsx4("article", {
|
|
3606
3862
|
className: marketingClassName("hraness-marketing-card", className),
|
|
3607
3863
|
"data-hraness-marketing": "card",
|
|
3608
3864
|
children: body
|
|
3609
3865
|
});
|
|
3610
3866
|
}
|
|
3611
|
-
return /* @__PURE__ */
|
|
3867
|
+
return /* @__PURE__ */ jsx4("a", {
|
|
3612
3868
|
className: marketingClassName("hraness-marketing-card", className),
|
|
3613
3869
|
"data-hraness-marketing": "card",
|
|
3614
3870
|
href,
|
|
@@ -3630,39 +3886,39 @@ function MarketingSiteHeader({
|
|
|
3630
3886
|
const brandProperties = brandLabel === undefined ? {} : {
|
|
3631
3887
|
"aria-label": brandLabel
|
|
3632
3888
|
};
|
|
3633
|
-
return /* @__PURE__ */
|
|
3889
|
+
return /* @__PURE__ */ jsx4("header", {
|
|
3634
3890
|
className: marketingClassName("hraness-marketing-header", className, sticky ? "default" : "static"),
|
|
3635
3891
|
"data-hraness-marketing": "header",
|
|
3636
3892
|
"data-position": sticky ? "sticky" : "static",
|
|
3637
|
-
children: /* @__PURE__ */
|
|
3893
|
+
children: /* @__PURE__ */ jsxs3("div", {
|
|
3638
3894
|
className: marketingClassName("hraness-marketing-header__inner"),
|
|
3639
3895
|
children: [
|
|
3640
|
-
/* @__PURE__ */
|
|
3896
|
+
/* @__PURE__ */ jsxs3("a", {
|
|
3641
3897
|
className: marketingClassName("hraness-marketing-header__brand"),
|
|
3642
3898
|
"data-foil": "",
|
|
3643
3899
|
href: brandHref,
|
|
3644
3900
|
...brandProperties,
|
|
3645
3901
|
children: [
|
|
3646
|
-
brandMark === undefined ? null : /* @__PURE__ */
|
|
3902
|
+
brandMark === undefined ? null : /* @__PURE__ */ jsx4(FoilMark, {
|
|
3647
3903
|
src: brandMark
|
|
3648
3904
|
}),
|
|
3649
3905
|
brand
|
|
3650
3906
|
]
|
|
3651
3907
|
}),
|
|
3652
|
-
/* @__PURE__ */
|
|
3908
|
+
/* @__PURE__ */ jsx4("nav", {
|
|
3653
3909
|
"aria-label": ariaLabel,
|
|
3654
3910
|
className: marketingClassName("hraness-marketing-header__nav"),
|
|
3655
|
-
children: links.map((link) => /* @__PURE__ */
|
|
3911
|
+
children: links.map((link) => /* @__PURE__ */ jsx4("a", {
|
|
3656
3912
|
"aria-current": link.current === true ? "page" : undefined,
|
|
3657
3913
|
className: marketingClassName("hraness-marketing-header__link", undefined, link.current === true ? "current" : "default"),
|
|
3658
3914
|
href: link.href,
|
|
3659
3915
|
children: link.label
|
|
3660
3916
|
}, `${link.href}-${link.label}`))
|
|
3661
3917
|
}),
|
|
3662
|
-
action === undefined && trailing === undefined ? null : /* @__PURE__ */
|
|
3918
|
+
action === undefined && trailing === undefined ? null : /* @__PURE__ */ jsxs3("div", {
|
|
3663
3919
|
className: marketingClassName("hraness-marketing-header__actions"),
|
|
3664
3920
|
children: [
|
|
3665
|
-
action === undefined ? null : /* @__PURE__ */
|
|
3921
|
+
action === undefined ? null : /* @__PURE__ */ jsx4("a", {
|
|
3666
3922
|
className: marketingClassName("hraness-marketing-action", undefined, `header-${action.emphasis ?? "primary"}`),
|
|
3667
3923
|
"data-emphasis": action.emphasis ?? "primary",
|
|
3668
3924
|
"data-foil": (action.emphasis ?? "primary") === "primary" ? "" : undefined,
|
|
@@ -3692,35 +3948,35 @@ function MarketingSiteFooter({
|
|
|
3692
3948
|
"aria-label": brandLabel
|
|
3693
3949
|
};
|
|
3694
3950
|
const foilBrand = brandMark !== undefined;
|
|
3695
|
-
return /* @__PURE__ */
|
|
3951
|
+
return /* @__PURE__ */ jsx4("footer", {
|
|
3696
3952
|
"aria-label": ariaLabel,
|
|
3697
3953
|
className: marketingClassName("hraness-marketing-footer", className),
|
|
3698
3954
|
"data-hraness-marketing": "footer",
|
|
3699
|
-
children: /* @__PURE__ */
|
|
3955
|
+
children: /* @__PURE__ */ jsxs3("div", {
|
|
3700
3956
|
className: marketingClassName("hraness-marketing-footer__inner"),
|
|
3701
3957
|
children: [
|
|
3702
|
-
/* @__PURE__ */
|
|
3958
|
+
/* @__PURE__ */ jsxs3("a", {
|
|
3703
3959
|
className: marketingClassName("hraness-marketing-footer__brand", undefined, foilBrand ? "foil" : "default"),
|
|
3704
3960
|
"data-foil": foilBrand ? "" : undefined,
|
|
3705
3961
|
href: brandHref,
|
|
3706
3962
|
...brandProperties,
|
|
3707
3963
|
children: [
|
|
3708
|
-
foilBrand ? /* @__PURE__ */
|
|
3964
|
+
foilBrand ? /* @__PURE__ */ jsx4(FoilMark, {
|
|
3709
3965
|
fallback: brand,
|
|
3710
3966
|
size: 18,
|
|
3711
3967
|
src: brandMark
|
|
3712
3968
|
}) : brand,
|
|
3713
|
-
/* @__PURE__ */
|
|
3969
|
+
/* @__PURE__ */ jsx4("span", {
|
|
3714
3970
|
className: marketingClassName("hraness-marketing-footer__name"),
|
|
3715
3971
|
children: name
|
|
3716
3972
|
})
|
|
3717
3973
|
]
|
|
3718
3974
|
}),
|
|
3719
3975
|
children,
|
|
3720
|
-
links.length === 0 ? null : /* @__PURE__ */
|
|
3976
|
+
links.length === 0 ? null : /* @__PURE__ */ jsx4("nav", {
|
|
3721
3977
|
"aria-label": linksLabel,
|
|
3722
3978
|
className: marketingClassName("hraness-marketing-footer__nav"),
|
|
3723
|
-
children: links.map((link) => /* @__PURE__ */
|
|
3979
|
+
children: links.map((link) => /* @__PURE__ */ jsx4("a", {
|
|
3724
3980
|
"aria-current": link.current === true ? "page" : undefined,
|
|
3725
3981
|
className: marketingClassName("hraness-marketing-footer__link", undefined, link.current === true ? "current" : "default"),
|
|
3726
3982
|
href: link.href,
|
|
@@ -3736,31 +3992,31 @@ function MarketingFlow({
|
|
|
3736
3992
|
className,
|
|
3737
3993
|
steps
|
|
3738
3994
|
}) {
|
|
3739
|
-
return /* @__PURE__ */
|
|
3995
|
+
return /* @__PURE__ */ jsx4("ol", {
|
|
3740
3996
|
"aria-label": ariaLabel,
|
|
3741
3997
|
className: marketingClassName("hraness-marketing-flow", className),
|
|
3742
3998
|
"data-hraness-marketing": "flow",
|
|
3743
|
-
children: steps.map((step, index) => /* @__PURE__ */
|
|
3999
|
+
children: steps.map((step, index) => /* @__PURE__ */ jsxs3("li", {
|
|
3744
4000
|
className: marketingClassName("hraness-marketing-flow__step", undefined, index === 0 ? "first" : "default"),
|
|
3745
4001
|
children: [
|
|
3746
|
-
/* @__PURE__ */
|
|
4002
|
+
/* @__PURE__ */ jsx4("span", {
|
|
3747
4003
|
"aria-hidden": "true",
|
|
3748
4004
|
className: marketingClassName("hraness-marketing-flow__number"),
|
|
3749
4005
|
children: String(index + 1).padStart(2, "0")
|
|
3750
4006
|
}),
|
|
3751
|
-
/* @__PURE__ */
|
|
4007
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
3752
4008
|
className: marketingClassName("hraness-marketing-flow__body"),
|
|
3753
4009
|
children: [
|
|
3754
|
-
/* @__PURE__ */
|
|
4010
|
+
/* @__PURE__ */ jsx4("strong", {
|
|
3755
4011
|
className: marketingClassName("hraness-marketing-flow__label"),
|
|
3756
4012
|
children: step.label
|
|
3757
4013
|
}),
|
|
3758
|
-
step.code === undefined ? null : /* @__PURE__ */
|
|
4014
|
+
step.code === undefined ? null : /* @__PURE__ */ jsx4(SyntaxCode, {
|
|
3759
4015
|
className: marketingClassName("hraness-marketing-flow__code"),
|
|
3760
4016
|
code: step.code,
|
|
3761
4017
|
styles: "classes"
|
|
3762
4018
|
}),
|
|
3763
|
-
step.detail === undefined ? null : /* @__PURE__ */
|
|
4019
|
+
step.detail === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
3764
4020
|
className: marketingClassName("hraness-marketing-flow__detail"),
|
|
3765
4021
|
children: step.detail
|
|
3766
4022
|
})
|
|
@@ -3778,27 +4034,27 @@ function MarketingFacts({
|
|
|
3778
4034
|
const rootClassName = marketingColumnClassName("hraness-marketing-facts", className, columns);
|
|
3779
4035
|
if (facts.length === 0)
|
|
3780
4036
|
return null;
|
|
3781
|
-
return /* @__PURE__ */
|
|
4037
|
+
return /* @__PURE__ */ jsx4("dl", {
|
|
3782
4038
|
className: rootClassName,
|
|
3783
4039
|
"data-hraness-marketing": "facts",
|
|
3784
4040
|
style: columns === undefined ? {
|
|
3785
4041
|
"--hraness-marketing-fact-columns": String(facts.length)
|
|
3786
4042
|
} : undefined,
|
|
3787
|
-
children: facts.map((fact, index) => /* @__PURE__ */
|
|
4043
|
+
children: facts.map((fact, index) => /* @__PURE__ */ jsxs3("div", {
|
|
3788
4044
|
className: marketingClassName("hraness-marketing-facts__item", undefined, marketingFactCellVariant(index)),
|
|
3789
4045
|
children: [
|
|
3790
|
-
/* @__PURE__ */
|
|
4046
|
+
/* @__PURE__ */ jsx4("dt", {
|
|
3791
4047
|
className: marketingClassName("hraness-marketing-facts__label"),
|
|
3792
4048
|
children: fact.label
|
|
3793
4049
|
}),
|
|
3794
|
-
/* @__PURE__ */
|
|
4050
|
+
/* @__PURE__ */ jsxs3("dd", {
|
|
3795
4051
|
className: marketingClassName("hraness-marketing-facts__body"),
|
|
3796
4052
|
children: [
|
|
3797
|
-
/* @__PURE__ */
|
|
4053
|
+
/* @__PURE__ */ jsx4("strong", {
|
|
3798
4054
|
className: marketingClassName("hraness-marketing-facts__value"),
|
|
3799
4055
|
children: fact.value
|
|
3800
4056
|
}),
|
|
3801
|
-
fact.detail === undefined ? null : /* @__PURE__ */
|
|
4057
|
+
fact.detail === undefined ? null : /* @__PURE__ */ jsx4("span", {
|
|
3802
4058
|
className: marketingClassName("hraness-marketing-facts__detail"),
|
|
3803
4059
|
children: fact.detail
|
|
3804
4060
|
})
|
|
@@ -3827,64 +4083,64 @@ function ProductHero({
|
|
|
3827
4083
|
summary,
|
|
3828
4084
|
tone = "paper"
|
|
3829
4085
|
}) {
|
|
3830
|
-
return /* @__PURE__ */
|
|
4086
|
+
return /* @__PURE__ */ jsxs3("header", {
|
|
3831
4087
|
"aria-labelledby": headingId,
|
|
3832
4088
|
className: marketingClassName("hraness-marketing-hero", className, tone === "accent" ? "accent" : "default"),
|
|
3833
4089
|
"data-align": align,
|
|
3834
4090
|
"data-hraness-marketing": "hero",
|
|
3835
4091
|
"data-tone": tone,
|
|
3836
4092
|
children: [
|
|
3837
|
-
/* @__PURE__ */
|
|
4093
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
3838
4094
|
className: marketingClassName("hraness-marketing-hero__copy", undefined, align === "start" ? "start" : "default"),
|
|
3839
4095
|
children: [
|
|
3840
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
4096
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
3841
4097
|
className: marketingClassName("hraness-marketing-hero__eyebrow", undefined, tone === "accent" ? "accent" : "default"),
|
|
3842
4098
|
children: eyebrow
|
|
3843
4099
|
}),
|
|
3844
|
-
/* @__PURE__ */
|
|
4100
|
+
/* @__PURE__ */ jsx4("p", {
|
|
3845
4101
|
className: marketingClassName("hraness-marketing-hero__name"),
|
|
3846
4102
|
children: name
|
|
3847
4103
|
}),
|
|
3848
|
-
/* @__PURE__ */
|
|
4104
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
3849
4105
|
className: marketingClassName("hraness-marketing-hero__heading"),
|
|
3850
4106
|
id: headingId,
|
|
3851
4107
|
level: headingLevel,
|
|
3852
4108
|
children: heading
|
|
3853
4109
|
}),
|
|
3854
|
-
/* @__PURE__ */
|
|
4110
|
+
/* @__PURE__ */ jsx4("p", {
|
|
3855
4111
|
className: marketingClassName("hraness-marketing-hero__summary"),
|
|
3856
4112
|
children: summary
|
|
3857
4113
|
}),
|
|
3858
|
-
example === undefined ? null : /* @__PURE__ */
|
|
4114
|
+
example === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
3859
4115
|
className: marketingClassName("hraness-marketing-hero__example"),
|
|
3860
4116
|
children: example
|
|
3861
4117
|
}),
|
|
3862
|
-
/* @__PURE__ */
|
|
4118
|
+
/* @__PURE__ */ jsx4(MarketingActions, {
|
|
3863
4119
|
actions,
|
|
3864
4120
|
className: marketingClassName("hraness-marketing-hero__actions", undefined, align === "start" ? "start" : "default"),
|
|
3865
4121
|
context: "hero",
|
|
3866
4122
|
tone
|
|
3867
4123
|
}),
|
|
3868
|
-
boundary === undefined ? null : /* @__PURE__ */
|
|
4124
|
+
boundary === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
3869
4125
|
className: marketingClassName("hraness-marketing-hero__boundary"),
|
|
3870
4126
|
children: boundary
|
|
3871
4127
|
}),
|
|
3872
4128
|
notice
|
|
3873
4129
|
]
|
|
3874
4130
|
}),
|
|
3875
|
-
frame === undefined ? null : /* @__PURE__ */
|
|
4131
|
+
frame === undefined ? null : /* @__PURE__ */ jsx4("div", {
|
|
3876
4132
|
className: marketingClassName("hraness-marketing-hero__frame"),
|
|
3877
4133
|
children: frame
|
|
3878
4134
|
}),
|
|
3879
|
-
proof === undefined ? null : /* @__PURE__ */
|
|
4135
|
+
proof === undefined ? null : /* @__PURE__ */ jsxs3("aside", {
|
|
3880
4136
|
className: marketingClassName("hraness-marketing-proof"),
|
|
3881
4137
|
"aria-labelledby": `${headingId}-proof`,
|
|
3882
4138
|
children: [
|
|
3883
|
-
proof.kicker === undefined ? null : /* @__PURE__ */
|
|
4139
|
+
proof.kicker === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
3884
4140
|
className: marketingClassName("hraness-marketing-proof__kicker"),
|
|
3885
4141
|
children: proof.kicker
|
|
3886
4142
|
}),
|
|
3887
|
-
/* @__PURE__ */
|
|
4143
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
3888
4144
|
className: marketingClassName("hraness-marketing-proof__heading"),
|
|
3889
4145
|
id: `${headingId}-proof`,
|
|
3890
4146
|
level: childHeadingLevel(headingLevel),
|
|
@@ -3893,7 +4149,7 @@ function ProductHero({
|
|
|
3893
4149
|
proof.content
|
|
3894
4150
|
]
|
|
3895
4151
|
}),
|
|
3896
|
-
/* @__PURE__ */
|
|
4152
|
+
/* @__PURE__ */ jsx4(MarketingFacts, {
|
|
3897
4153
|
facts,
|
|
3898
4154
|
...factsColumns === undefined ? {} : {
|
|
3899
4155
|
columns: factsColumns
|
|
@@ -3911,21 +4167,21 @@ function MarketingPillars({
|
|
|
3911
4167
|
const rootClassName = marketingColumnClassName("hraness-marketing-pillars", className, columns);
|
|
3912
4168
|
if (pillars.length === 0)
|
|
3913
4169
|
return null;
|
|
3914
|
-
return /* @__PURE__ */
|
|
4170
|
+
return /* @__PURE__ */ jsx4("dl", {
|
|
3915
4171
|
"aria-label": ariaLabel,
|
|
3916
4172
|
className: rootClassName,
|
|
3917
4173
|
"data-hraness-marketing": "pillars",
|
|
3918
4174
|
style: columns === undefined ? {
|
|
3919
4175
|
"--hraness-marketing-pillar-columns": String(pillars.length)
|
|
3920
4176
|
} : undefined,
|
|
3921
|
-
children: pillars.map((pillar, index) => /* @__PURE__ */
|
|
4177
|
+
children: pillars.map((pillar, index) => /* @__PURE__ */ jsxs3("div", {
|
|
3922
4178
|
className: marketingClassName("hraness-marketing-pillars__item", undefined, index === 0 ? "default" : "later"),
|
|
3923
4179
|
children: [
|
|
3924
|
-
/* @__PURE__ */
|
|
4180
|
+
/* @__PURE__ */ jsx4("dt", {
|
|
3925
4181
|
className: marketingClassName("hraness-marketing-pillars__label"),
|
|
3926
4182
|
children: pillar.label
|
|
3927
4183
|
}),
|
|
3928
|
-
/* @__PURE__ */
|
|
4184
|
+
/* @__PURE__ */ jsx4("dd", {
|
|
3929
4185
|
className: marketingClassName("hraness-marketing-pillars__summary"),
|
|
3930
4186
|
children: pillar.summary
|
|
3931
4187
|
})
|
|
@@ -3943,20 +4199,20 @@ function MarketingInstallPanel({
|
|
|
3943
4199
|
id,
|
|
3944
4200
|
note
|
|
3945
4201
|
}) {
|
|
3946
|
-
return /* @__PURE__ */
|
|
4202
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
3947
4203
|
"aria-labelledby": headingId,
|
|
3948
4204
|
className: marketingClassName("hraness-marketing-install", className),
|
|
3949
4205
|
"data-hraness-marketing": "install",
|
|
3950
4206
|
id,
|
|
3951
4207
|
children: [
|
|
3952
|
-
/* @__PURE__ */
|
|
4208
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
3953
4209
|
className: marketingClassName("hraness-marketing-install__heading-group"),
|
|
3954
4210
|
children: [
|
|
3955
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
4211
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
3956
4212
|
className: marketingClassName("hraness-marketing-install__eyebrow"),
|
|
3957
4213
|
children: eyebrow
|
|
3958
4214
|
}),
|
|
3959
|
-
/* @__PURE__ */
|
|
4215
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
3960
4216
|
className: marketingClassName("hraness-marketing-install__heading"),
|
|
3961
4217
|
id: headingId,
|
|
3962
4218
|
level: headingLevel,
|
|
@@ -3965,7 +4221,7 @@ function MarketingInstallPanel({
|
|
|
3965
4221
|
note
|
|
3966
4222
|
]
|
|
3967
4223
|
}),
|
|
3968
|
-
/* @__PURE__ */
|
|
4224
|
+
/* @__PURE__ */ jsx4("div", {
|
|
3969
4225
|
className: marketingClassName("hraness-marketing-install__commands"),
|
|
3970
4226
|
children
|
|
3971
4227
|
})
|
|
@@ -4003,49 +4259,49 @@ function MarketingProofFrame({
|
|
|
4003
4259
|
if (bar !== undefined && (label === undefined || label.trim() === "")) {
|
|
4004
4260
|
throw new RangeError(`Proof frame chrome=${bar} needs ${bar === "browser" ? "a url or title" : "a title"}.`);
|
|
4005
4261
|
}
|
|
4006
|
-
return /* @__PURE__ */
|
|
4262
|
+
return /* @__PURE__ */ jsxs3("figure", {
|
|
4007
4263
|
className: marketingClassName("hraness-marketing-proof-frame", className),
|
|
4008
4264
|
"data-chrome": bar,
|
|
4009
4265
|
"data-hraness-marketing": "proof-frame",
|
|
4010
4266
|
children: [
|
|
4011
|
-
bar === undefined ? null : /* @__PURE__ */
|
|
4267
|
+
bar === undefined ? null : /* @__PURE__ */ jsxs3("div", {
|
|
4012
4268
|
"aria-hidden": "true",
|
|
4013
4269
|
className: marketingClassName("hraness-marketing-proof-frame__chrome"),
|
|
4014
4270
|
children: [
|
|
4015
|
-
/* @__PURE__ */
|
|
4271
|
+
/* @__PURE__ */ jsxs3("span", {
|
|
4016
4272
|
className: marketingClassName("hraness-marketing-proof-frame__lights"),
|
|
4017
4273
|
children: [
|
|
4018
|
-
/* @__PURE__ */
|
|
4274
|
+
/* @__PURE__ */ jsx4("span", {
|
|
4019
4275
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4020
4276
|
}),
|
|
4021
|
-
/* @__PURE__ */
|
|
4277
|
+
/* @__PURE__ */ jsx4("span", {
|
|
4022
4278
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4023
4279
|
}),
|
|
4024
|
-
/* @__PURE__ */
|
|
4280
|
+
/* @__PURE__ */ jsx4("span", {
|
|
4025
4281
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4026
4282
|
})
|
|
4027
4283
|
]
|
|
4028
4284
|
}),
|
|
4029
|
-
bar === "browser" ? /* @__PURE__ */
|
|
4285
|
+
bar === "browser" ? /* @__PURE__ */ jsx4("span", {
|
|
4030
4286
|
className: marketingClassName("hraness-marketing-proof-frame__address"),
|
|
4031
4287
|
children: label
|
|
4032
|
-
}) : /* @__PURE__ */
|
|
4288
|
+
}) : /* @__PURE__ */ jsx4("span", {
|
|
4033
4289
|
className: marketingClassName("hraness-marketing-proof-frame__title", undefined, bar === "terminal" ? "terminal" : "default"),
|
|
4034
4290
|
children: label
|
|
4035
4291
|
})
|
|
4036
4292
|
]
|
|
4037
4293
|
}),
|
|
4038
|
-
/* @__PURE__ */
|
|
4294
|
+
/* @__PURE__ */ jsx4("div", {
|
|
4039
4295
|
className: marketingClassName("hraness-marketing-proof-frame__content"),
|
|
4040
4296
|
children
|
|
4041
4297
|
}),
|
|
4042
|
-
caption === undefined && credit === undefined ? null : /* @__PURE__ */
|
|
4298
|
+
caption === undefined && credit === undefined ? null : /* @__PURE__ */ jsxs3("figcaption", {
|
|
4043
4299
|
className: marketingClassName("hraness-marketing-proof-frame__caption"),
|
|
4044
4300
|
children: [
|
|
4045
|
-
caption === undefined ? null : /* @__PURE__ */
|
|
4301
|
+
caption === undefined ? null : /* @__PURE__ */ jsx4("span", {
|
|
4046
4302
|
children: caption
|
|
4047
4303
|
}),
|
|
4048
|
-
credit === undefined ? null : /* @__PURE__ */
|
|
4304
|
+
credit === undefined ? null : /* @__PURE__ */ jsx4("small", {
|
|
4049
4305
|
className: marketingClassName("hraness-marketing-proof-frame__credit"),
|
|
4050
4306
|
children: credit
|
|
4051
4307
|
})
|
|
@@ -4076,31 +4332,31 @@ function MarketingDataTable({
|
|
|
4076
4332
|
if (row.length !== columns.length)
|
|
4077
4333
|
throw new RangeError("Marketing data table rows must match the column count.");
|
|
4078
4334
|
}
|
|
4079
|
-
return /* @__PURE__ */
|
|
4335
|
+
return /* @__PURE__ */ jsxs3("figure", {
|
|
4080
4336
|
className: marketingClassName("hraness-marketing-data-table", className),
|
|
4081
4337
|
"data-hraness-marketing": "data-table",
|
|
4082
4338
|
children: [
|
|
4083
|
-
/* @__PURE__ */
|
|
4339
|
+
/* @__PURE__ */ jsxs3("figcaption", {
|
|
4084
4340
|
className: marketingClassName("hraness-marketing-data-table__head"),
|
|
4085
4341
|
children: [
|
|
4086
|
-
/* @__PURE__ */
|
|
4342
|
+
/* @__PURE__ */ jsx4("span", {
|
|
4087
4343
|
className: marketingClassName("hraness-marketing-data-table__title"),
|
|
4088
4344
|
children: caption
|
|
4089
4345
|
}),
|
|
4090
|
-
meta === undefined ? null : /* @__PURE__ */
|
|
4346
|
+
meta === undefined ? null : /* @__PURE__ */ jsx4("span", {
|
|
4091
4347
|
className: marketingClassName("hraness-marketing-data-table__meta"),
|
|
4092
4348
|
children: meta
|
|
4093
4349
|
})
|
|
4094
4350
|
]
|
|
4095
4351
|
}),
|
|
4096
|
-
/* @__PURE__ */
|
|
4352
|
+
/* @__PURE__ */ jsx4("div", {
|
|
4097
4353
|
className: marketingClassName("hraness-marketing-data-table__scroll"),
|
|
4098
|
-
children: /* @__PURE__ */
|
|
4354
|
+
children: /* @__PURE__ */ jsxs3("table", {
|
|
4099
4355
|
className: marketingClassName("hraness-marketing-data-table__table"),
|
|
4100
4356
|
children: [
|
|
4101
|
-
/* @__PURE__ */
|
|
4102
|
-
children: /* @__PURE__ */
|
|
4103
|
-
children: columns.map((column, index) => /* @__PURE__ */
|
|
4357
|
+
/* @__PURE__ */ jsx4("thead", {
|
|
4358
|
+
children: /* @__PURE__ */ jsx4("tr", {
|
|
4359
|
+
children: columns.map((column, index) => /* @__PURE__ */ jsx4("th", {
|
|
4104
4360
|
className: marketingClassName("hraness-marketing-data-table__heading"),
|
|
4105
4361
|
"data-numeric": column.numeric === true ? "" : undefined,
|
|
4106
4362
|
scope: "col",
|
|
@@ -4108,22 +4364,22 @@ function MarketingDataTable({
|
|
|
4108
4364
|
}, index))
|
|
4109
4365
|
})
|
|
4110
4366
|
}),
|
|
4111
|
-
/* @__PURE__ */
|
|
4112
|
-
children: rows.map((row, rowIndex) => /* @__PURE__ */
|
|
4367
|
+
/* @__PURE__ */ jsx4("tbody", {
|
|
4368
|
+
children: rows.map((row, rowIndex) => /* @__PURE__ */ jsx4("tr", {
|
|
4113
4369
|
children: row.map((cell, cellIndex) => {
|
|
4114
4370
|
const {
|
|
4115
4371
|
content,
|
|
4116
4372
|
tone
|
|
4117
4373
|
} = dataTableCell(cell);
|
|
4118
4374
|
if (cellIndex === 0) {
|
|
4119
|
-
return /* @__PURE__ */
|
|
4375
|
+
return /* @__PURE__ */ jsx4("th", {
|
|
4120
4376
|
className: marketingClassName("hraness-marketing-data-table__row-heading"),
|
|
4121
4377
|
"data-numeric": columns[0]?.numeric === true ? "" : undefined,
|
|
4122
4378
|
scope: "row",
|
|
4123
4379
|
children: content
|
|
4124
4380
|
}, cellIndex);
|
|
4125
4381
|
}
|
|
4126
|
-
return /* @__PURE__ */
|
|
4382
|
+
return /* @__PURE__ */ jsx4("td", {
|
|
4127
4383
|
className: marketingClassName("hraness-marketing-data-table__cell"),
|
|
4128
4384
|
"data-numeric": columns[cellIndex]?.numeric === true ? "" : undefined,
|
|
4129
4385
|
"data-tone": tone,
|
|
@@ -4135,7 +4391,7 @@ function MarketingDataTable({
|
|
|
4135
4391
|
]
|
|
4136
4392
|
})
|
|
4137
4393
|
}),
|
|
4138
|
-
note === undefined ? null : /* @__PURE__ */
|
|
4394
|
+
note === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4139
4395
|
className: marketingClassName("hraness-marketing-data-table__note"),
|
|
4140
4396
|
children: note
|
|
4141
4397
|
})
|
|
@@ -4147,10 +4403,10 @@ function MarketingCodeBlock({
|
|
|
4147
4403
|
code,
|
|
4148
4404
|
language
|
|
4149
4405
|
}) {
|
|
4150
|
-
return /* @__PURE__ */
|
|
4406
|
+
return /* @__PURE__ */ jsx4("pre", {
|
|
4151
4407
|
className: marketingClassName("hraness-marketing-code", className),
|
|
4152
4408
|
"data-hraness-marketing": "code",
|
|
4153
|
-
children: /* @__PURE__ */
|
|
4409
|
+
children: /* @__PURE__ */ jsx4(SyntaxCode, {
|
|
4154
4410
|
code,
|
|
4155
4411
|
...language === undefined ? {} : {
|
|
4156
4412
|
language
|
|
@@ -4166,7 +4422,7 @@ function MarketingSectionLabel({
|
|
|
4166
4422
|
}) {
|
|
4167
4423
|
if (size !== "default" && size !== "body")
|
|
4168
4424
|
throw new RangeError("Marketing label size must be default or body.");
|
|
4169
|
-
return /* @__PURE__ */
|
|
4425
|
+
return /* @__PURE__ */ jsx4("p", {
|
|
4170
4426
|
className: marketingClassName("hraness-marketing-section__label", className, size),
|
|
4171
4427
|
"data-size": size === "body" ? "body" : undefined,
|
|
4172
4428
|
children
|
|
@@ -4178,37 +4434,42 @@ function MarketingSection({
|
|
|
4178
4434
|
heading,
|
|
4179
4435
|
headingId,
|
|
4180
4436
|
headingLevel = 2,
|
|
4437
|
+
headingContent,
|
|
4181
4438
|
id,
|
|
4182
4439
|
label,
|
|
4183
4440
|
layout = "stack",
|
|
4184
4441
|
summary
|
|
4185
4442
|
}) {
|
|
4186
|
-
return /* @__PURE__ */
|
|
4443
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4187
4444
|
"aria-labelledby": headingId,
|
|
4188
4445
|
className: marketingClassName("hraness-marketing-section", className, layout === "stack" ? "default" : "split"),
|
|
4189
4446
|
"data-hraness-marketing": "section",
|
|
4190
4447
|
"data-layout": layout,
|
|
4191
4448
|
id,
|
|
4192
4449
|
children: [
|
|
4193
|
-
/* @__PURE__ */
|
|
4450
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
4194
4451
|
className: marketingClassName("hraness-marketing-section__heading-group", undefined, layout === "stack" ? "default" : layout === "split" ? "split" : "reverse"),
|
|
4195
4452
|
children: [
|
|
4196
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
4453
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx4(MarketingSectionLabel, {
|
|
4197
4454
|
children: label
|
|
4198
4455
|
}),
|
|
4199
|
-
/* @__PURE__ */
|
|
4456
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4200
4457
|
className: marketingClassName("hraness-marketing-section__heading"),
|
|
4201
4458
|
id: headingId,
|
|
4202
4459
|
level: headingLevel,
|
|
4203
4460
|
children: heading
|
|
4204
4461
|
}),
|
|
4205
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
4462
|
+
summary === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4206
4463
|
className: marketingClassName("hraness-marketing-section__summary"),
|
|
4207
4464
|
children: summary
|
|
4208
|
-
})
|
|
4465
|
+
}),
|
|
4466
|
+
isPresentNode(headingContent) ? /* @__PURE__ */ jsx4("div", {
|
|
4467
|
+
className: marketingClassName("hraness-marketing-section__heading-content"),
|
|
4468
|
+
children: headingContent
|
|
4469
|
+
}) : null
|
|
4209
4470
|
]
|
|
4210
4471
|
}),
|
|
4211
|
-
/* @__PURE__ */
|
|
4472
|
+
/* @__PURE__ */ jsx4("div", {
|
|
4212
4473
|
className: marketingClassName("hraness-marketing-section__body"),
|
|
4213
4474
|
children
|
|
4214
4475
|
})
|
|
@@ -4223,20 +4484,20 @@ function MarketingCollectionHeader({
|
|
|
4223
4484
|
prefix,
|
|
4224
4485
|
summary
|
|
4225
4486
|
}) {
|
|
4226
|
-
return /* @__PURE__ */
|
|
4487
|
+
return /* @__PURE__ */ jsxs3("header", {
|
|
4227
4488
|
className: marketingClassName(`hraness-marketing-${prefix}__header`),
|
|
4228
4489
|
children: [
|
|
4229
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
4490
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
4230
4491
|
className: marketingClassName(`hraness-marketing-${prefix}__label`),
|
|
4231
4492
|
children: label
|
|
4232
4493
|
}),
|
|
4233
|
-
/* @__PURE__ */
|
|
4494
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4234
4495
|
className: marketingClassName(`hraness-marketing-${prefix}__heading`),
|
|
4235
4496
|
id: headingId,
|
|
4236
4497
|
level: headingLevel,
|
|
4237
4498
|
children: heading
|
|
4238
4499
|
}),
|
|
4239
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
4500
|
+
summary === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4240
4501
|
className: marketingClassName(`hraness-marketing-${prefix}__summary`),
|
|
4241
4502
|
children: summary
|
|
4242
4503
|
})
|
|
@@ -4245,6 +4506,7 @@ function MarketingCollectionHeader({
|
|
|
4245
4506
|
}
|
|
4246
4507
|
function MarketingPrimitives({
|
|
4247
4508
|
className,
|
|
4509
|
+
columns,
|
|
4248
4510
|
heading,
|
|
4249
4511
|
headingId,
|
|
4250
4512
|
headingLevel = 2,
|
|
@@ -4253,13 +4515,13 @@ function MarketingPrimitives({
|
|
|
4253
4515
|
label,
|
|
4254
4516
|
summary
|
|
4255
4517
|
}) {
|
|
4256
|
-
return /* @__PURE__ */
|
|
4518
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4257
4519
|
"aria-labelledby": headingId,
|
|
4258
4520
|
className: marketingClassName("hraness-marketing-primitives", className),
|
|
4259
4521
|
"data-hraness-marketing": "primitives",
|
|
4260
4522
|
id,
|
|
4261
4523
|
children: [
|
|
4262
|
-
/* @__PURE__ */
|
|
4524
|
+
/* @__PURE__ */ jsx4(MarketingCollectionHeader, {
|
|
4263
4525
|
...{
|
|
4264
4526
|
heading,
|
|
4265
4527
|
headingId,
|
|
@@ -4269,22 +4531,22 @@ function MarketingPrimitives({
|
|
|
4269
4531
|
},
|
|
4270
4532
|
prefix: "primitives"
|
|
4271
4533
|
}),
|
|
4272
|
-
/* @__PURE__ */
|
|
4273
|
-
className:
|
|
4274
|
-
children: items.map((item, index) => /* @__PURE__ */
|
|
4534
|
+
/* @__PURE__ */ jsx4("ol", {
|
|
4535
|
+
className: marketingColumnClassName("hraness-marketing-primitives__list", undefined, columns),
|
|
4536
|
+
children: items.map((item, index) => /* @__PURE__ */ jsxs3("li", {
|
|
4275
4537
|
className: marketingClassName("hraness-marketing-primitive"),
|
|
4276
4538
|
children: [
|
|
4277
|
-
/* @__PURE__ */
|
|
4539
|
+
/* @__PURE__ */ jsx4("span", {
|
|
4278
4540
|
"aria-hidden": "true",
|
|
4279
4541
|
className: marketingClassName("hraness-marketing-primitive__number"),
|
|
4280
4542
|
children: String(index + 1).padStart(2, "0")
|
|
4281
4543
|
}),
|
|
4282
|
-
/* @__PURE__ */
|
|
4544
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4283
4545
|
className: marketingClassName("hraness-marketing-primitive__heading"),
|
|
4284
4546
|
level: childHeadingLevel(headingLevel),
|
|
4285
4547
|
children: item.label
|
|
4286
4548
|
}),
|
|
4287
|
-
/* @__PURE__ */
|
|
4549
|
+
/* @__PURE__ */ jsx4("p", {
|
|
4288
4550
|
className: marketingClassName("hraness-marketing-primitive__summary"),
|
|
4289
4551
|
children: item.summary
|
|
4290
4552
|
}),
|
|
@@ -4302,7 +4564,7 @@ function MarketingNotice({
|
|
|
4302
4564
|
}) {
|
|
4303
4565
|
if (tone !== "info" && tone !== "success" && tone !== "error")
|
|
4304
4566
|
throw new RangeError("Marketing notice tone must be info, success, or error.");
|
|
4305
|
-
return /* @__PURE__ */
|
|
4567
|
+
return /* @__PURE__ */ jsx4("p", {
|
|
4306
4568
|
className: marketingClassName("hraness-marketing-notice", className, tone === "info" ? "default" : tone),
|
|
4307
4569
|
"data-hraness-marketing": "notice",
|
|
4308
4570
|
"data-tone": tone,
|
|
@@ -4320,31 +4582,31 @@ function MarketingStatStrip({
|
|
|
4320
4582
|
const listClassName = marketingColumnClassName("hraness-marketing-stats__list", undefined, columns);
|
|
4321
4583
|
if (stats.length === 0)
|
|
4322
4584
|
return null;
|
|
4323
|
-
return /* @__PURE__ */
|
|
4585
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4324
4586
|
"aria-label": ariaLabel,
|
|
4325
4587
|
className: marketingClassName("hraness-marketing-stats", className),
|
|
4326
4588
|
"data-hraness-marketing": "stats",
|
|
4327
4589
|
children: [
|
|
4328
|
-
/* @__PURE__ */
|
|
4590
|
+
/* @__PURE__ */ jsx4("dl", {
|
|
4329
4591
|
className: listClassName,
|
|
4330
4592
|
style: columns === undefined ? {
|
|
4331
4593
|
"--hraness-marketing-fact-columns": String(stats.length)
|
|
4332
4594
|
} : undefined,
|
|
4333
|
-
children: stats.map((stat, index) => /* @__PURE__ */
|
|
4595
|
+
children: stats.map((stat, index) => /* @__PURE__ */ jsxs3("div", {
|
|
4334
4596
|
className: marketingClassName("hraness-marketing-facts__item", undefined, marketingFactCellVariant(index)),
|
|
4335
4597
|
children: [
|
|
4336
|
-
/* @__PURE__ */
|
|
4598
|
+
/* @__PURE__ */ jsx4("dt", {
|
|
4337
4599
|
className: marketingClassName("hraness-marketing-facts__label"),
|
|
4338
4600
|
children: stat.label
|
|
4339
4601
|
}),
|
|
4340
|
-
/* @__PURE__ */
|
|
4602
|
+
/* @__PURE__ */ jsxs3("dd", {
|
|
4341
4603
|
className: marketingClassName("hraness-marketing-facts__body"),
|
|
4342
4604
|
children: [
|
|
4343
|
-
/* @__PURE__ */
|
|
4605
|
+
/* @__PURE__ */ jsx4("strong", {
|
|
4344
4606
|
className: marketingClassName("hraness-marketing-stats__value"),
|
|
4345
4607
|
children: stat.value
|
|
4346
4608
|
}),
|
|
4347
|
-
stat.detail === undefined ? null : /* @__PURE__ */
|
|
4609
|
+
stat.detail === undefined ? null : /* @__PURE__ */ jsx4("span", {
|
|
4348
4610
|
className: marketingClassName("hraness-marketing-facts__detail"),
|
|
4349
4611
|
children: stat.detail
|
|
4350
4612
|
})
|
|
@@ -4353,7 +4615,7 @@ function MarketingStatStrip({
|
|
|
4353
4615
|
]
|
|
4354
4616
|
}, `${stat.label}-${stat.value}`))
|
|
4355
4617
|
}),
|
|
4356
|
-
source === undefined ? null : /* @__PURE__ */
|
|
4618
|
+
source === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4357
4619
|
className: marketingClassName("hraness-marketing-stats__source"),
|
|
4358
4620
|
children: source
|
|
4359
4621
|
})
|
|
@@ -4370,13 +4632,13 @@ function MarketingInterfaceGrid({
|
|
|
4370
4632
|
label,
|
|
4371
4633
|
summary
|
|
4372
4634
|
}) {
|
|
4373
|
-
return /* @__PURE__ */
|
|
4635
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4374
4636
|
"aria-labelledby": headingId,
|
|
4375
4637
|
className: marketingClassName("hraness-marketing-interfaces", className),
|
|
4376
4638
|
"data-hraness-marketing": "interfaces",
|
|
4377
4639
|
id,
|
|
4378
4640
|
children: [
|
|
4379
|
-
/* @__PURE__ */
|
|
4641
|
+
/* @__PURE__ */ jsx4(MarketingCollectionHeader, {
|
|
4380
4642
|
...{
|
|
4381
4643
|
heading,
|
|
4382
4644
|
headingId,
|
|
@@ -4386,17 +4648,17 @@ function MarketingInterfaceGrid({
|
|
|
4386
4648
|
},
|
|
4387
4649
|
prefix: "interfaces"
|
|
4388
4650
|
}),
|
|
4389
|
-
/* @__PURE__ */
|
|
4651
|
+
/* @__PURE__ */ jsx4("div", {
|
|
4390
4652
|
className: marketingClassName("hraness-marketing-interface-grid"),
|
|
4391
|
-
children: interfaces.map((entry) => /* @__PURE__ */
|
|
4653
|
+
children: interfaces.map((entry) => /* @__PURE__ */ jsxs3("article", {
|
|
4392
4654
|
className: marketingClassName("hraness-marketing-interface"),
|
|
4393
4655
|
children: [
|
|
4394
|
-
/* @__PURE__ */
|
|
4656
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4395
4657
|
className: marketingClassName("hraness-marketing-interface__heading"),
|
|
4396
4658
|
level: childHeadingLevel(headingLevel),
|
|
4397
4659
|
children: entry.label
|
|
4398
4660
|
}),
|
|
4399
|
-
/* @__PURE__ */
|
|
4661
|
+
/* @__PURE__ */ jsx4("p", {
|
|
4400
4662
|
className: marketingClassName("hraness-marketing-interface__summary"),
|
|
4401
4663
|
children: entry.summary
|
|
4402
4664
|
}),
|
|
@@ -4417,13 +4679,13 @@ function MarketingTrustBoundary({
|
|
|
4417
4679
|
label,
|
|
4418
4680
|
summary
|
|
4419
4681
|
}) {
|
|
4420
|
-
return /* @__PURE__ */
|
|
4682
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4421
4683
|
"aria-labelledby": headingId,
|
|
4422
4684
|
className: marketingClassName("hraness-marketing-trust", className),
|
|
4423
4685
|
"data-hraness-marketing": "trust",
|
|
4424
4686
|
id,
|
|
4425
4687
|
children: [
|
|
4426
|
-
/* @__PURE__ */
|
|
4688
|
+
/* @__PURE__ */ jsx4(MarketingCollectionHeader, {
|
|
4427
4689
|
...{
|
|
4428
4690
|
heading,
|
|
4429
4691
|
headingId,
|
|
@@ -4433,16 +4695,16 @@ function MarketingTrustBoundary({
|
|
|
4433
4695
|
},
|
|
4434
4696
|
prefix: "trust"
|
|
4435
4697
|
}),
|
|
4436
|
-
/* @__PURE__ */
|
|
4698
|
+
/* @__PURE__ */ jsx4("dl", {
|
|
4437
4699
|
className: marketingClassName("hraness-marketing-trust-grid"),
|
|
4438
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4700
|
+
children: items.map((item) => /* @__PURE__ */ jsxs3("div", {
|
|
4439
4701
|
className: marketingClassName("hraness-marketing-trust-item"),
|
|
4440
4702
|
children: [
|
|
4441
|
-
/* @__PURE__ */
|
|
4703
|
+
/* @__PURE__ */ jsx4("dt", {
|
|
4442
4704
|
className: marketingClassName("hraness-marketing-trust-item__label"),
|
|
4443
4705
|
children: item.label
|
|
4444
4706
|
}),
|
|
4445
|
-
/* @__PURE__ */
|
|
4707
|
+
/* @__PURE__ */ jsx4("dd", {
|
|
4446
4708
|
className: marketingClassName("hraness-marketing-trust-item__detail"),
|
|
4447
4709
|
children: item.detail
|
|
4448
4710
|
})
|
|
@@ -4464,13 +4726,13 @@ function MarketingQuoteGrid({
|
|
|
4464
4726
|
}) {
|
|
4465
4727
|
if (quotes.length === 0)
|
|
4466
4728
|
return null;
|
|
4467
|
-
return /* @__PURE__ */
|
|
4729
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4468
4730
|
"aria-labelledby": headingId,
|
|
4469
4731
|
className: marketingClassName("hraness-marketing-quotes", className),
|
|
4470
4732
|
"data-hraness-marketing": "quotes",
|
|
4471
4733
|
id,
|
|
4472
4734
|
children: [
|
|
4473
|
-
/* @__PURE__ */
|
|
4735
|
+
/* @__PURE__ */ jsx4(MarketingCollectionHeader, {
|
|
4474
4736
|
...{
|
|
4475
4737
|
heading,
|
|
4476
4738
|
headingId,
|
|
@@ -4480,29 +4742,29 @@ function MarketingQuoteGrid({
|
|
|
4480
4742
|
},
|
|
4481
4743
|
prefix: "quotes"
|
|
4482
4744
|
}),
|
|
4483
|
-
/* @__PURE__ */
|
|
4745
|
+
/* @__PURE__ */ jsx4("ul", {
|
|
4484
4746
|
className: marketingClassName("hraness-marketing-quote-grid"),
|
|
4485
|
-
children: quotes.map((entry) => /* @__PURE__ */
|
|
4486
|
-
children: /* @__PURE__ */
|
|
4747
|
+
children: quotes.map((entry) => /* @__PURE__ */ jsx4("li", {
|
|
4748
|
+
children: /* @__PURE__ */ jsxs3("figure", {
|
|
4487
4749
|
className: marketingClassName("hraness-marketing-quote"),
|
|
4488
4750
|
children: [
|
|
4489
|
-
/* @__PURE__ */
|
|
4751
|
+
/* @__PURE__ */ jsx4("blockquote", {
|
|
4490
4752
|
className: marketingClassName("hraness-marketing-quote__body"),
|
|
4491
|
-
children: /* @__PURE__ */
|
|
4753
|
+
children: /* @__PURE__ */ jsx4("p", {
|
|
4492
4754
|
className: marketingClassName("hraness-marketing-quote__text"),
|
|
4493
4755
|
children: entry.quote
|
|
4494
4756
|
})
|
|
4495
4757
|
}),
|
|
4496
|
-
/* @__PURE__ */
|
|
4758
|
+
/* @__PURE__ */ jsxs3("figcaption", {
|
|
4497
4759
|
className: marketingClassName("hraness-marketing-quote__attribution"),
|
|
4498
4760
|
children: [
|
|
4499
|
-
/* @__PURE__ */
|
|
4761
|
+
/* @__PURE__ */ jsx4("strong", {
|
|
4500
4762
|
className: marketingClassName("hraness-marketing-quote__name"),
|
|
4501
4763
|
children: entry.name
|
|
4502
4764
|
}),
|
|
4503
|
-
entry.role === undefined ? null : entry.href === undefined ? /* @__PURE__ */
|
|
4765
|
+
entry.role === undefined ? null : entry.href === undefined ? /* @__PURE__ */ jsx4("span", {
|
|
4504
4766
|
children: entry.role
|
|
4505
|
-
}) : /* @__PURE__ */
|
|
4767
|
+
}) : /* @__PURE__ */ jsx4("a", {
|
|
4506
4768
|
className: marketingClassName("hraness-marketing-quote__link"),
|
|
4507
4769
|
href: entry.href,
|
|
4508
4770
|
children: entry.role
|
|
@@ -4526,13 +4788,13 @@ function MarketingPricing({
|
|
|
4526
4788
|
plans,
|
|
4527
4789
|
summary
|
|
4528
4790
|
}) {
|
|
4529
|
-
return /* @__PURE__ */
|
|
4791
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4530
4792
|
"aria-labelledby": headingId,
|
|
4531
4793
|
className: marketingClassName("hraness-marketing-pricing", className),
|
|
4532
4794
|
"data-hraness-marketing": "pricing",
|
|
4533
4795
|
id,
|
|
4534
4796
|
children: [
|
|
4535
|
-
/* @__PURE__ */
|
|
4797
|
+
/* @__PURE__ */ jsx4(MarketingCollectionHeader, {
|
|
4536
4798
|
...{
|
|
4537
4799
|
heading,
|
|
4538
4800
|
headingId,
|
|
@@ -4542,49 +4804,49 @@ function MarketingPricing({
|
|
|
4542
4804
|
},
|
|
4543
4805
|
prefix: "pricing"
|
|
4544
4806
|
}),
|
|
4545
|
-
/* @__PURE__ */
|
|
4807
|
+
/* @__PURE__ */ jsx4("ul", {
|
|
4546
4808
|
className: marketingClassName("hraness-marketing-plan-grid"),
|
|
4547
|
-
children: plans.map((plan) => /* @__PURE__ */
|
|
4809
|
+
children: plans.map((plan) => /* @__PURE__ */ jsxs3("li", {
|
|
4548
4810
|
className: marketingClassName("hraness-marketing-plan", undefined, plan.emphasis === "primary" ? "primary" : "default"),
|
|
4549
4811
|
"data-emphasis": plan.emphasis ?? "secondary",
|
|
4550
4812
|
children: [
|
|
4551
|
-
/* @__PURE__ */
|
|
4813
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4552
4814
|
className: marketingClassName("hraness-marketing-plan__name"),
|
|
4553
4815
|
level: childHeadingLevel(headingLevel),
|
|
4554
4816
|
children: plan.name
|
|
4555
4817
|
}),
|
|
4556
|
-
/* @__PURE__ */
|
|
4818
|
+
/* @__PURE__ */ jsxs3("p", {
|
|
4557
4819
|
className: marketingClassName("hraness-marketing-plan__price"),
|
|
4558
4820
|
children: [
|
|
4559
|
-
/* @__PURE__ */
|
|
4821
|
+
/* @__PURE__ */ jsx4("strong", {
|
|
4560
4822
|
className: marketingClassName("hraness-marketing-plan__value"),
|
|
4561
4823
|
children: plan.price
|
|
4562
4824
|
}),
|
|
4563
|
-
plan.period === undefined ? null : /* @__PURE__ */
|
|
4825
|
+
plan.period === undefined ? null : /* @__PURE__ */ jsx4("span", {
|
|
4564
4826
|
className: marketingClassName("hraness-marketing-plan__period"),
|
|
4565
4827
|
children: plan.period
|
|
4566
4828
|
})
|
|
4567
4829
|
]
|
|
4568
4830
|
}),
|
|
4569
|
-
plan.summary === undefined ? null : /* @__PURE__ */
|
|
4831
|
+
plan.summary === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4570
4832
|
className: marketingClassName("hraness-marketing-plan__summary"),
|
|
4571
4833
|
children: plan.summary
|
|
4572
4834
|
}),
|
|
4573
|
-
plan.features.length === 0 ? null : /* @__PURE__ */
|
|
4835
|
+
plan.features.length === 0 ? null : /* @__PURE__ */ jsx4("ul", {
|
|
4574
4836
|
className: marketingClassName("hraness-marketing-plan__features"),
|
|
4575
|
-
children: plan.features.map((feature) => /* @__PURE__ */
|
|
4837
|
+
children: plan.features.map((feature) => /* @__PURE__ */ jsx4("li", {
|
|
4576
4838
|
className: marketingClassName("hraness-marketing-plan__feature"),
|
|
4577
4839
|
children: feature
|
|
4578
4840
|
}, feature))
|
|
4579
4841
|
}),
|
|
4580
|
-
plan.action === undefined ? null : /* @__PURE__ */
|
|
4842
|
+
plan.action === undefined ? null : /* @__PURE__ */ jsx4("a", {
|
|
4581
4843
|
className: marketingClassName("hraness-marketing-action", undefined, `plan-${plan.action.emphasis ?? plan.emphasis ?? "secondary"}`),
|
|
4582
4844
|
"data-emphasis": plan.action.emphasis ?? plan.emphasis ?? "secondary",
|
|
4583
4845
|
"data-foil": (plan.action.emphasis ?? plan.emphasis ?? "secondary") === "primary" ? "" : undefined,
|
|
4584
4846
|
href: plan.action.href,
|
|
4585
4847
|
children: plan.action.label
|
|
4586
4848
|
}),
|
|
4587
|
-
plan.note === undefined ? null : /* @__PURE__ */
|
|
4849
|
+
plan.note === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4588
4850
|
className: marketingClassName("hraness-marketing-plan__note"),
|
|
4589
4851
|
children: plan.note
|
|
4590
4852
|
})
|
|
@@ -4604,13 +4866,13 @@ function MarketingQuestionList({
|
|
|
4604
4866
|
questions,
|
|
4605
4867
|
summary
|
|
4606
4868
|
}) {
|
|
4607
|
-
return /* @__PURE__ */
|
|
4869
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4608
4870
|
"aria-labelledby": headingId,
|
|
4609
4871
|
className: marketingClassName("hraness-marketing-questions", className),
|
|
4610
4872
|
"data-hraness-marketing": "questions",
|
|
4611
4873
|
id,
|
|
4612
4874
|
children: [
|
|
4613
|
-
/* @__PURE__ */
|
|
4875
|
+
/* @__PURE__ */ jsx4(MarketingCollectionHeader, {
|
|
4614
4876
|
...{
|
|
4615
4877
|
heading,
|
|
4616
4878
|
headingId,
|
|
@@ -4620,16 +4882,16 @@ function MarketingQuestionList({
|
|
|
4620
4882
|
},
|
|
4621
4883
|
prefix: "questions"
|
|
4622
4884
|
}),
|
|
4623
|
-
/* @__PURE__ */
|
|
4885
|
+
/* @__PURE__ */ jsx4("div", {
|
|
4624
4886
|
className: marketingClassName("hraness-marketing-question-list"),
|
|
4625
|
-
children: questions.map((question, index) => /* @__PURE__ */
|
|
4887
|
+
children: questions.map((question, index) => /* @__PURE__ */ jsxs3("details", {
|
|
4626
4888
|
className: marketingClassName("hraness-marketing-question", undefined, index === questions.length - 1 ? "last" : "default"),
|
|
4627
4889
|
children: [
|
|
4628
|
-
/* @__PURE__ */
|
|
4890
|
+
/* @__PURE__ */ jsx4("summary", {
|
|
4629
4891
|
className: marketingClassName("hraness-marketing-question__summary"),
|
|
4630
4892
|
children: question.question
|
|
4631
4893
|
}),
|
|
4632
|
-
/* @__PURE__ */
|
|
4894
|
+
/* @__PURE__ */ jsx4("div", {
|
|
4633
4895
|
className: marketingClassName("hraness-marketing-question__answer"),
|
|
4634
4896
|
children: question.answer
|
|
4635
4897
|
})
|
|
@@ -4651,24 +4913,24 @@ function MarketingMaker({
|
|
|
4651
4913
|
links = [],
|
|
4652
4914
|
portrait
|
|
4653
4915
|
}) {
|
|
4654
|
-
return /* @__PURE__ */
|
|
4916
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4655
4917
|
"aria-labelledby": headingId,
|
|
4656
4918
|
className: marketingClassName("hraness-marketing-maker", className),
|
|
4657
4919
|
"data-hraness-marketing": "maker",
|
|
4658
4920
|
id,
|
|
4659
4921
|
children: [
|
|
4660
|
-
/* @__PURE__ */
|
|
4922
|
+
/* @__PURE__ */ jsxs3("header", {
|
|
4661
4923
|
className: marketingClassName("hraness-marketing-maker__header"),
|
|
4662
4924
|
children: [
|
|
4663
|
-
portrait === undefined ? null : /* @__PURE__ */
|
|
4925
|
+
portrait === undefined ? null : /* @__PURE__ */ jsx4("div", {
|
|
4664
4926
|
className: marketingClassName("hraness-marketing-maker__portrait"),
|
|
4665
4927
|
children: portrait
|
|
4666
4928
|
}),
|
|
4667
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
4929
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
4668
4930
|
className: marketingClassName("hraness-marketing-maker__label"),
|
|
4669
4931
|
children: label
|
|
4670
4932
|
}),
|
|
4671
|
-
/* @__PURE__ */
|
|
4933
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4672
4934
|
className: marketingClassName("hraness-marketing-maker__heading"),
|
|
4673
4935
|
id: headingId,
|
|
4674
4936
|
level: headingLevel,
|
|
@@ -4676,14 +4938,14 @@ function MarketingMaker({
|
|
|
4676
4938
|
})
|
|
4677
4939
|
]
|
|
4678
4940
|
}),
|
|
4679
|
-
/* @__PURE__ */
|
|
4941
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
4680
4942
|
className: marketingClassName("hraness-marketing-maker__body"),
|
|
4681
4943
|
children: [
|
|
4682
4944
|
children,
|
|
4683
|
-
links.length === 0 ? null : /* @__PURE__ */
|
|
4945
|
+
links.length === 0 ? null : /* @__PURE__ */ jsx4("ul", {
|
|
4684
4946
|
className: marketingClassName("hraness-marketing-maker__links"),
|
|
4685
|
-
children: links.map((link) => /* @__PURE__ */
|
|
4686
|
-
children: /* @__PURE__ */
|
|
4947
|
+
children: links.map((link) => /* @__PURE__ */ jsx4("li", {
|
|
4948
|
+
children: /* @__PURE__ */ jsx4("a", {
|
|
4687
4949
|
className: linkClassName,
|
|
4688
4950
|
href: link.href,
|
|
4689
4951
|
children: link.label
|
|
@@ -4699,30 +4961,30 @@ function MarketingRelatedCards({
|
|
|
4699
4961
|
items,
|
|
4700
4962
|
level
|
|
4701
4963
|
}) {
|
|
4702
|
-
return /* @__PURE__ */
|
|
4703
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4964
|
+
return /* @__PURE__ */ jsx4(Fragment2, {
|
|
4965
|
+
children: items.map((item) => /* @__PURE__ */ jsxs3("a", {
|
|
4704
4966
|
className: marketingClassName("hraness-marketing-related__card"),
|
|
4705
4967
|
"data-foil": "",
|
|
4706
4968
|
"data-hraness-marketing": "card",
|
|
4707
4969
|
href: item.href,
|
|
4708
4970
|
children: [
|
|
4709
|
-
isPresentNode(item.art) || item.mark !== undefined && item.mark !== "" ? /* @__PURE__ */
|
|
4971
|
+
isPresentNode(item.art) || item.mark !== undefined && item.mark !== "" ? /* @__PURE__ */ jsx4("span", {
|
|
4710
4972
|
"aria-hidden": "true",
|
|
4711
4973
|
className: marketingClassName("hraness-marketing-related__card-mark"),
|
|
4712
|
-
children: isPresentNode(item.art) ? item.art : /* @__PURE__ */
|
|
4974
|
+
children: isPresentNode(item.art) ? item.art : /* @__PURE__ */ jsx4(FoilMark, {
|
|
4713
4975
|
size: 44,
|
|
4714
4976
|
src: item.mark ?? ""
|
|
4715
4977
|
})
|
|
4716
4978
|
}) : null,
|
|
4717
|
-
/* @__PURE__ */
|
|
4979
|
+
/* @__PURE__ */ jsxs3("span", {
|
|
4718
4980
|
className: marketingClassName("hraness-marketing-related__card-text"),
|
|
4719
4981
|
children: [
|
|
4720
|
-
/* @__PURE__ */
|
|
4982
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4721
4983
|
className: marketingClassName("hraness-marketing-related__card-name"),
|
|
4722
4984
|
level,
|
|
4723
4985
|
children: item.name
|
|
4724
4986
|
}),
|
|
4725
|
-
/* @__PURE__ */
|
|
4987
|
+
/* @__PURE__ */ jsx4("span", {
|
|
4726
4988
|
className: marketingClassName("hraness-marketing-related__card-role"),
|
|
4727
4989
|
children: item.role
|
|
4728
4990
|
})
|
|
@@ -4743,13 +5005,13 @@ function MarketingRelated({
|
|
|
4743
5005
|
label,
|
|
4744
5006
|
summary
|
|
4745
5007
|
}) {
|
|
4746
|
-
return /* @__PURE__ */
|
|
5008
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4747
5009
|
"aria-labelledby": headingId,
|
|
4748
5010
|
className: marketingClassName("hraness-marketing-related", className),
|
|
4749
5011
|
"data-hraness-marketing": "related",
|
|
4750
5012
|
id,
|
|
4751
5013
|
children: [
|
|
4752
|
-
/* @__PURE__ */
|
|
5014
|
+
/* @__PURE__ */ jsx4(MarketingCollectionHeader, {
|
|
4753
5015
|
heading,
|
|
4754
5016
|
headingId,
|
|
4755
5017
|
headingLevel,
|
|
@@ -4757,32 +5019,32 @@ function MarketingRelated({
|
|
|
4757
5019
|
prefix: "related",
|
|
4758
5020
|
summary
|
|
4759
5021
|
}),
|
|
4760
|
-
groups === undefined ? /* @__PURE__ */
|
|
4761
|
-
children: /* @__PURE__ */
|
|
5022
|
+
groups === undefined ? /* @__PURE__ */ jsx4(MarketingCardRow, {
|
|
5023
|
+
children: /* @__PURE__ */ jsx4(MarketingRelatedCards, {
|
|
4762
5024
|
items,
|
|
4763
5025
|
level: childHeadingLevel(headingLevel)
|
|
4764
5026
|
})
|
|
4765
|
-
}) : groups.map((group) => /* @__PURE__ */
|
|
5027
|
+
}) : groups.map((group) => /* @__PURE__ */ jsxs3("div", {
|
|
4766
5028
|
className: marketingClassName("hraness-marketing-related__group"),
|
|
4767
5029
|
children: [
|
|
4768
|
-
/* @__PURE__ */
|
|
5030
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
4769
5031
|
className: marketingClassName("hraness-marketing-related__group-header"),
|
|
4770
5032
|
children: [
|
|
4771
|
-
/* @__PURE__ */
|
|
5033
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4772
5034
|
className: marketingClassName("hraness-marketing-related__group-heading"),
|
|
4773
5035
|
id: group.headingId,
|
|
4774
5036
|
level: childHeadingLevel(headingLevel),
|
|
4775
5037
|
children: group.heading
|
|
4776
5038
|
}),
|
|
4777
|
-
group.summary === undefined ? null : /* @__PURE__ */
|
|
5039
|
+
group.summary === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4778
5040
|
className: marketingClassName("hraness-marketing-related__group-summary"),
|
|
4779
5041
|
children: group.summary
|
|
4780
5042
|
})
|
|
4781
5043
|
]
|
|
4782
5044
|
}),
|
|
4783
|
-
/* @__PURE__ */
|
|
5045
|
+
/* @__PURE__ */ jsx4(MarketingCardRow, {
|
|
4784
5046
|
ariaLabel: group.heading,
|
|
4785
|
-
children: /* @__PURE__ */
|
|
5047
|
+
children: /* @__PURE__ */ jsx4(MarketingRelatedCards, {
|
|
4786
5048
|
items: group.items,
|
|
4787
5049
|
level: childHeadingLevel(childHeadingLevel(headingLevel))
|
|
4788
5050
|
})
|
|
@@ -4804,34 +5066,34 @@ function MarketingCallToAction({
|
|
|
4804
5066
|
summary,
|
|
4805
5067
|
tone = "paper"
|
|
4806
5068
|
}) {
|
|
4807
|
-
return /* @__PURE__ */
|
|
5069
|
+
return /* @__PURE__ */ jsxs3("section", {
|
|
4808
5070
|
"aria-labelledby": headingId,
|
|
4809
5071
|
className: marketingClassName("hraness-marketing-cta", className, tone === "accent" ? "accent" : "default"),
|
|
4810
5072
|
"data-hraness-marketing": "cta",
|
|
4811
5073
|
"data-tone": tone,
|
|
4812
5074
|
id,
|
|
4813
5075
|
children: [
|
|
4814
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
5076
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
4815
5077
|
className: marketingClassName("hraness-marketing-cta__eyebrow"),
|
|
4816
5078
|
children: eyebrow
|
|
4817
5079
|
}),
|
|
4818
|
-
/* @__PURE__ */
|
|
5080
|
+
/* @__PURE__ */ jsx4(Heading, {
|
|
4819
5081
|
className: marketingClassName("hraness-marketing-cta__heading"),
|
|
4820
5082
|
id: headingId,
|
|
4821
5083
|
level: headingLevel,
|
|
4822
5084
|
children: heading
|
|
4823
5085
|
}),
|
|
4824
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
5086
|
+
summary === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4825
5087
|
className: marketingClassName("hraness-marketing-cta__summary"),
|
|
4826
5088
|
children: summary
|
|
4827
5089
|
}),
|
|
4828
|
-
/* @__PURE__ */
|
|
5090
|
+
/* @__PURE__ */ jsx4(MarketingActions, {
|
|
4829
5091
|
actions,
|
|
4830
5092
|
className: marketingClassName("hraness-marketing-cta__actions"),
|
|
4831
5093
|
context: "cta",
|
|
4832
5094
|
tone
|
|
4833
5095
|
}),
|
|
4834
|
-
footnote === undefined ? null : /* @__PURE__ */
|
|
5096
|
+
footnote === undefined ? null : /* @__PURE__ */ jsx4("p", {
|
|
4835
5097
|
className: marketingClassName("hraness-marketing-cta__footnote"),
|
|
4836
5098
|
children: footnote
|
|
4837
5099
|
})
|
|
@@ -4840,7 +5102,7 @@ function MarketingCallToAction({
|
|
|
4840
5102
|
}
|
|
4841
5103
|
|
|
4842
5104
|
// src/react/article.tsx
|
|
4843
|
-
import { jsx as
|
|
5105
|
+
import { jsx as jsx5, jsxs as jsxs4, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
4844
5106
|
var ROOT_CLASS = "plain-site plain-publication plain-publication--embedded";
|
|
4845
5107
|
var HEADING_TAGS = {
|
|
4846
5108
|
1: "h1",
|
|
@@ -4857,11 +5119,11 @@ function ArticleDate({
|
|
|
4857
5119
|
label,
|
|
4858
5120
|
value
|
|
4859
5121
|
}) {
|
|
4860
|
-
return /* @__PURE__ */
|
|
5122
|
+
return /* @__PURE__ */ jsxs4(Fragment3, {
|
|
4861
5123
|
children: [
|
|
4862
5124
|
label,
|
|
4863
5125
|
" ",
|
|
4864
|
-
/* @__PURE__ */
|
|
5126
|
+
/* @__PURE__ */ jsx5("time", {
|
|
4865
5127
|
dateTime: value,
|
|
4866
5128
|
children: formatArticleDate(value)
|
|
4867
5129
|
})
|
|
@@ -4869,7 +5131,7 @@ function ArticleDate({
|
|
|
4869
5131
|
});
|
|
4870
5132
|
}
|
|
4871
5133
|
function Separator() {
|
|
4872
|
-
return /* @__PURE__ */
|
|
5134
|
+
return /* @__PURE__ */ jsx5("span", {
|
|
4873
5135
|
"aria-hidden": "true",
|
|
4874
5136
|
children: " · "
|
|
4875
5137
|
});
|
|
@@ -4878,13 +5140,13 @@ function ArticleByline({
|
|
|
4878
5140
|
author
|
|
4879
5141
|
}) {
|
|
4880
5142
|
assertArticleAuthor(author);
|
|
4881
|
-
return /* @__PURE__ */
|
|
5143
|
+
return /* @__PURE__ */ jsxs4("span", {
|
|
4882
5144
|
className: "plain-publication__byline",
|
|
4883
5145
|
"data-author-kind": author.kind,
|
|
4884
5146
|
children: [
|
|
4885
5147
|
ARTICLE_BYLINE_PREFIX,
|
|
4886
5148
|
" ",
|
|
4887
|
-
author.href === undefined ? author.name : /* @__PURE__ */
|
|
5149
|
+
author.href === undefined ? author.name : /* @__PURE__ */ jsx5("a", {
|
|
4888
5150
|
href: author.href,
|
|
4889
5151
|
rel: "author",
|
|
4890
5152
|
children: author.name
|
|
@@ -4896,7 +5158,7 @@ function ArticleProvenance({
|
|
|
4896
5158
|
provenance
|
|
4897
5159
|
}) {
|
|
4898
5160
|
const sentence = articleProvenanceSentence(provenance);
|
|
4899
|
-
return /* @__PURE__ */
|
|
5161
|
+
return /* @__PURE__ */ jsx5("p", {
|
|
4900
5162
|
className: "plain-publication__provenance",
|
|
4901
5163
|
"data-drafting": provenance.drafting,
|
|
4902
5164
|
"data-reviewer-type": provenance.review?.reviewerType ?? "none",
|
|
@@ -4931,47 +5193,47 @@ function MarketingArticle({
|
|
|
4931
5193
|
throw new RangeError("Contents links must point to a heading in this article.");
|
|
4932
5194
|
}
|
|
4933
5195
|
const tocId = `${headingId}-contents`;
|
|
4934
|
-
return /* @__PURE__ */
|
|
5196
|
+
return /* @__PURE__ */ jsxs4("article", {
|
|
4935
5197
|
"aria-labelledby": headingId,
|
|
4936
5198
|
className: joinClasses(ROOT_CLASS, "plain-publication__article", className),
|
|
4937
5199
|
"data-hraness-article": "",
|
|
4938
5200
|
"data-toc": tocItems.length > 0 ? "aside" : "none",
|
|
4939
5201
|
id,
|
|
4940
5202
|
children: [
|
|
4941
|
-
/* @__PURE__ */
|
|
5203
|
+
/* @__PURE__ */ jsxs4("header", {
|
|
4942
5204
|
className: "plain-publication__article-header",
|
|
4943
5205
|
children: [
|
|
4944
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
5206
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx5("p", {
|
|
4945
5207
|
className: "plain-publication__eyebrow",
|
|
4946
5208
|
children: eyebrow
|
|
4947
5209
|
}),
|
|
4948
|
-
/* @__PURE__ */
|
|
5210
|
+
/* @__PURE__ */ jsx5("h1", {
|
|
4949
5211
|
id: headingId,
|
|
4950
5212
|
children: heading
|
|
4951
5213
|
}),
|
|
4952
|
-
dek === undefined || dek === "" ? null : /* @__PURE__ */
|
|
5214
|
+
dek === undefined || dek === "" ? null : /* @__PURE__ */ jsx5("p", {
|
|
4953
5215
|
className: "plain-publication__article-dek",
|
|
4954
5216
|
children: dek
|
|
4955
5217
|
}),
|
|
4956
|
-
/* @__PURE__ */
|
|
5218
|
+
/* @__PURE__ */ jsxs4("p", {
|
|
4957
5219
|
className: "plain-publication__article-meta",
|
|
4958
5220
|
children: [
|
|
4959
|
-
author === undefined ? null : /* @__PURE__ */
|
|
5221
|
+
author === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
4960
5222
|
children: [
|
|
4961
|
-
/* @__PURE__ */
|
|
5223
|
+
/* @__PURE__ */ jsx5(ArticleByline, {
|
|
4962
5224
|
author
|
|
4963
5225
|
}),
|
|
4964
|
-
/* @__PURE__ */
|
|
5226
|
+
/* @__PURE__ */ jsx5(Separator, {})
|
|
4965
5227
|
]
|
|
4966
5228
|
}),
|
|
4967
|
-
/* @__PURE__ */
|
|
5229
|
+
/* @__PURE__ */ jsx5(ArticleDate, {
|
|
4968
5230
|
label: "Published",
|
|
4969
5231
|
value: published
|
|
4970
5232
|
}),
|
|
4971
|
-
updated === undefined ? null : /* @__PURE__ */
|
|
5233
|
+
updated === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
4972
5234
|
children: [
|
|
4973
|
-
/* @__PURE__ */
|
|
4974
|
-
/* @__PURE__ */
|
|
5235
|
+
/* @__PURE__ */ jsx5(Separator, {}),
|
|
5236
|
+
/* @__PURE__ */ jsx5(ArticleDate, {
|
|
4975
5237
|
label: "Updated",
|
|
4976
5238
|
value: updated
|
|
4977
5239
|
})
|
|
@@ -4979,25 +5241,25 @@ function MarketingArticle({
|
|
|
4979
5241
|
})
|
|
4980
5242
|
]
|
|
4981
5243
|
}),
|
|
4982
|
-
provenance === null ? null : /* @__PURE__ */
|
|
5244
|
+
provenance === null ? null : /* @__PURE__ */ jsx5(ArticleProvenance, {
|
|
4983
5245
|
provenance
|
|
4984
5246
|
})
|
|
4985
5247
|
]
|
|
4986
5248
|
}),
|
|
4987
|
-
/* @__PURE__ */
|
|
5249
|
+
/* @__PURE__ */ jsxs4("div", {
|
|
4988
5250
|
className: "plain-publication__article-layout",
|
|
4989
5251
|
children: [
|
|
4990
|
-
tocItems.length === 0 ? null : /* @__PURE__ */
|
|
5252
|
+
tocItems.length === 0 ? null : /* @__PURE__ */ jsxs4("nav", {
|
|
4991
5253
|
"aria-labelledby": tocId,
|
|
4992
5254
|
className: "plain-publication__toc",
|
|
4993
5255
|
children: [
|
|
4994
|
-
/* @__PURE__ */
|
|
5256
|
+
/* @__PURE__ */ jsx5("p", {
|
|
4995
5257
|
id: tocId,
|
|
4996
5258
|
children: tocLabel
|
|
4997
5259
|
}),
|
|
4998
|
-
/* @__PURE__ */
|
|
4999
|
-
children: tocItems.map((item) => /* @__PURE__ */
|
|
5000
|
-
children: /* @__PURE__ */
|
|
5260
|
+
/* @__PURE__ */ jsx5("ol", {
|
|
5261
|
+
children: tocItems.map((item) => /* @__PURE__ */ jsx5("li", {
|
|
5262
|
+
children: /* @__PURE__ */ jsx5("a", {
|
|
5001
5263
|
href: item.href,
|
|
5002
5264
|
children: item.label
|
|
5003
5265
|
})
|
|
@@ -5005,13 +5267,13 @@ function MarketingArticle({
|
|
|
5005
5267
|
})
|
|
5006
5268
|
]
|
|
5007
5269
|
}),
|
|
5008
|
-
/* @__PURE__ */
|
|
5270
|
+
/* @__PURE__ */ jsx5("div", {
|
|
5009
5271
|
className: "plain-publication__article-body",
|
|
5010
5272
|
children
|
|
5011
5273
|
})
|
|
5012
5274
|
]
|
|
5013
5275
|
}),
|
|
5014
|
-
after === undefined || after === null ? null : /* @__PURE__ */
|
|
5276
|
+
after === undefined || after === null ? null : /* @__PURE__ */ jsx5("footer", {
|
|
5015
5277
|
className: "plain-publication__article-footer",
|
|
5016
5278
|
children: after
|
|
5017
5279
|
})
|
|
@@ -5027,30 +5289,30 @@ function ArticleSources({
|
|
|
5027
5289
|
return null;
|
|
5028
5290
|
for (const source of sources)
|
|
5029
5291
|
assertArticleHref(source.href);
|
|
5030
|
-
return /* @__PURE__ */
|
|
5292
|
+
return /* @__PURE__ */ jsxs4("section", {
|
|
5031
5293
|
"aria-labelledby": headingId,
|
|
5032
5294
|
className: "plain-publication__sources",
|
|
5033
5295
|
children: [
|
|
5034
|
-
/* @__PURE__ */
|
|
5296
|
+
/* @__PURE__ */ jsx5("h2", {
|
|
5035
5297
|
id: headingId,
|
|
5036
5298
|
children: heading
|
|
5037
5299
|
}),
|
|
5038
|
-
/* @__PURE__ */
|
|
5039
|
-
children: sources.map((source) => /* @__PURE__ */
|
|
5300
|
+
/* @__PURE__ */ jsx5("ol", {
|
|
5301
|
+
children: sources.map((source) => /* @__PURE__ */ jsxs4("li", {
|
|
5040
5302
|
children: [
|
|
5041
|
-
/* @__PURE__ */
|
|
5303
|
+
/* @__PURE__ */ jsx5("a", {
|
|
5042
5304
|
href: source.href,
|
|
5043
5305
|
children: source.title
|
|
5044
5306
|
}),
|
|
5045
|
-
/* @__PURE__ */
|
|
5307
|
+
/* @__PURE__ */ jsxs4("span", {
|
|
5046
5308
|
children: [
|
|
5047
|
-
source.publisher === undefined || source.publisher === "" ? null : /* @__PURE__ */
|
|
5309
|
+
source.publisher === undefined || source.publisher === "" ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5048
5310
|
children: [
|
|
5049
5311
|
source.publisher,
|
|
5050
|
-
/* @__PURE__ */
|
|
5312
|
+
/* @__PURE__ */ jsx5(Separator, {})
|
|
5051
5313
|
]
|
|
5052
5314
|
}),
|
|
5053
|
-
/* @__PURE__ */
|
|
5315
|
+
/* @__PURE__ */ jsx5(ArticleDate, {
|
|
5054
5316
|
label: "Checked",
|
|
5055
5317
|
value: source.checkedOn
|
|
5056
5318
|
})
|
|
@@ -5068,15 +5330,15 @@ function ArticleCallout({
|
|
|
5068
5330
|
tone = "note"
|
|
5069
5331
|
}) {
|
|
5070
5332
|
assertArticleCalloutTone(tone);
|
|
5071
|
-
return /* @__PURE__ */
|
|
5333
|
+
return /* @__PURE__ */ jsxs4("div", {
|
|
5072
5334
|
className: "plain-publication__callout",
|
|
5073
5335
|
"data-tone": tone,
|
|
5074
5336
|
role: "note",
|
|
5075
5337
|
children: [
|
|
5076
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
5338
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx5("strong", {
|
|
5077
5339
|
children: label
|
|
5078
5340
|
}),
|
|
5079
|
-
typeof children === "string" ? /* @__PURE__ */
|
|
5341
|
+
typeof children === "string" ? /* @__PURE__ */ jsx5("p", {
|
|
5080
5342
|
children
|
|
5081
5343
|
}) : children
|
|
5082
5344
|
]
|
|
@@ -5098,15 +5360,15 @@ function ArticleRelatedProducts({
|
|
|
5098
5360
|
summary
|
|
5099
5361
|
}
|
|
5100
5362
|
};
|
|
5101
|
-
return /* @__PURE__ */
|
|
5363
|
+
return /* @__PURE__ */ jsx5("div", {
|
|
5102
5364
|
className: "plain-publication__related-products",
|
|
5103
|
-
children: body.groups === undefined ? /* @__PURE__ */
|
|
5365
|
+
children: body.groups === undefined ? /* @__PURE__ */ jsx5(MarketingRelated, {
|
|
5104
5366
|
heading,
|
|
5105
5367
|
headingId,
|
|
5106
5368
|
headingLevel,
|
|
5107
5369
|
items: body.items,
|
|
5108
5370
|
...optional
|
|
5109
|
-
}) : /* @__PURE__ */
|
|
5371
|
+
}) : /* @__PURE__ */ jsx5(MarketingRelated, {
|
|
5110
5372
|
groups: body.groups,
|
|
5111
5373
|
heading,
|
|
5112
5374
|
headingId,
|
|
@@ -5141,55 +5403,55 @@ function ArticleIndex({
|
|
|
5141
5403
|
}
|
|
5142
5404
|
const HeadingTag = HEADING_TAGS[headingLevel];
|
|
5143
5405
|
const EntryTag = HEADING_TAGS[headingLevel + 1];
|
|
5144
|
-
return /* @__PURE__ */
|
|
5406
|
+
return /* @__PURE__ */ jsxs4("section", {
|
|
5145
5407
|
"aria-labelledby": headingId,
|
|
5146
5408
|
className: joinClasses(ROOT_CLASS, "plain-publication__list", className),
|
|
5147
5409
|
"data-hraness-article-index": "",
|
|
5148
5410
|
id,
|
|
5149
5411
|
children: [
|
|
5150
|
-
/* @__PURE__ */
|
|
5412
|
+
/* @__PURE__ */ jsxs4("div", {
|
|
5151
5413
|
className: "plain-publication__section-heading",
|
|
5152
5414
|
children: [
|
|
5153
|
-
/* @__PURE__ */
|
|
5415
|
+
/* @__PURE__ */ jsx5(HeadingTag, {
|
|
5154
5416
|
id: headingId,
|
|
5155
5417
|
children: heading
|
|
5156
5418
|
}),
|
|
5157
|
-
summary === undefined || summary === "" ? null : /* @__PURE__ */
|
|
5419
|
+
summary === undefined || summary === "" ? null : /* @__PURE__ */ jsx5("p", {
|
|
5158
5420
|
children: summary
|
|
5159
5421
|
})
|
|
5160
5422
|
]
|
|
5161
5423
|
}),
|
|
5162
|
-
/* @__PURE__ */
|
|
5424
|
+
/* @__PURE__ */ jsx5("div", {
|
|
5163
5425
|
className: "plain-publication__article-list",
|
|
5164
|
-
children: items.map((item) => /* @__PURE__ */
|
|
5426
|
+
children: items.map((item) => /* @__PURE__ */ jsxs4("article", {
|
|
5165
5427
|
className: "plain-publication__entry",
|
|
5166
5428
|
children: [
|
|
5167
|
-
item.eyebrow === undefined || item.eyebrow === "" ? null : /* @__PURE__ */
|
|
5429
|
+
item.eyebrow === undefined || item.eyebrow === "" ? null : /* @__PURE__ */ jsx5("p", {
|
|
5168
5430
|
className: "plain-publication__entry-label",
|
|
5169
5431
|
children: item.eyebrow
|
|
5170
5432
|
}),
|
|
5171
|
-
/* @__PURE__ */
|
|
5433
|
+
/* @__PURE__ */ jsx5(EntryTag, {
|
|
5172
5434
|
className: "plain-publication__entry-title",
|
|
5173
|
-
children: /* @__PURE__ */
|
|
5435
|
+
children: /* @__PURE__ */ jsx5("a", {
|
|
5174
5436
|
href: item.href,
|
|
5175
5437
|
children: item.title
|
|
5176
5438
|
})
|
|
5177
5439
|
}),
|
|
5178
|
-
/* @__PURE__ */
|
|
5440
|
+
/* @__PURE__ */ jsx5("p", {
|
|
5179
5441
|
className: "plain-publication__entry-dek",
|
|
5180
5442
|
children: item.dek
|
|
5181
5443
|
}),
|
|
5182
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ jsxs4("p", {
|
|
5183
5445
|
className: "plain-publication__entry-meta",
|
|
5184
5446
|
children: [
|
|
5185
|
-
/* @__PURE__ */
|
|
5447
|
+
/* @__PURE__ */ jsx5(ArticleDate, {
|
|
5186
5448
|
label: "Published",
|
|
5187
5449
|
value: item.published
|
|
5188
5450
|
}),
|
|
5189
|
-
item.updated === undefined ? null : /* @__PURE__ */
|
|
5451
|
+
item.updated === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5190
5452
|
children: [
|
|
5191
|
-
/* @__PURE__ */
|
|
5192
|
-
/* @__PURE__ */
|
|
5453
|
+
/* @__PURE__ */ jsx5(Separator, {}),
|
|
5454
|
+
/* @__PURE__ */ jsx5(ArticleDate, {
|
|
5193
5455
|
label: "Updated",
|
|
5194
5456
|
value: item.updated
|
|
5195
5457
|
})
|
|
@@ -5204,32 +5466,17 @@ function ArticleIndex({
|
|
|
5204
5466
|
});
|
|
5205
5467
|
}
|
|
5206
5468
|
var articleFigureKinds = ["illustration", "screenshot", "recording", "diagram", "chart", "table"];
|
|
5207
|
-
var FIGURE_LABELS = {
|
|
5208
|
-
illustration: "Illustration",
|
|
5209
|
-
screenshot: "Screenshot",
|
|
5210
|
-
recording: "Recording",
|
|
5211
|
-
diagram: "Diagram",
|
|
5212
|
-
chart: "Chart",
|
|
5213
|
-
table: "Table"
|
|
5214
|
-
};
|
|
5215
5469
|
function FigureCaption({
|
|
5216
5470
|
caption,
|
|
5217
|
-
credit
|
|
5218
|
-
kind
|
|
5471
|
+
credit
|
|
5219
5472
|
}) {
|
|
5220
|
-
|
|
5473
|
+
if ((caption === undefined || caption === null || caption === false || caption === "") && (credit === undefined || credit === null || credit === false || credit === ""))
|
|
5474
|
+
return null;
|
|
5475
|
+
return /* @__PURE__ */ jsxs4("figcaption", {
|
|
5221
5476
|
className: "plain-publication__figure-caption",
|
|
5222
5477
|
children: [
|
|
5223
|
-
/* @__PURE__ */ jsxs3("span", {
|
|
5224
|
-
className: "plain-publication__figure-label",
|
|
5225
|
-
children: [
|
|
5226
|
-
FIGURE_LABELS[kind],
|
|
5227
|
-
"."
|
|
5228
|
-
]
|
|
5229
|
-
}),
|
|
5230
|
-
" ",
|
|
5231
5478
|
caption,
|
|
5232
|
-
credit === undefined || credit === null || credit === "" ? null : /* @__PURE__ */
|
|
5479
|
+
credit === undefined || credit === null || credit === "" ? null : /* @__PURE__ */ jsx5("small", {
|
|
5233
5480
|
className: "plain-publication__figure-credit",
|
|
5234
5481
|
children: credit
|
|
5235
5482
|
})
|
|
@@ -5243,26 +5490,25 @@ function ArticleFigure({
|
|
|
5243
5490
|
credit,
|
|
5244
5491
|
id,
|
|
5245
5492
|
kind,
|
|
5493
|
+
label,
|
|
5246
5494
|
width = "text"
|
|
5247
5495
|
}) {
|
|
5248
5496
|
if (!articleFigureKinds.includes(kind))
|
|
5249
5497
|
throw new RangeError(`Unknown article figure kind: ${String(kind)}.`);
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
return /* @__PURE__ */ jsxs3("figure", {
|
|
5498
|
+
return /* @__PURE__ */ jsxs4("figure", {
|
|
5499
|
+
"aria-label": label,
|
|
5253
5500
|
className: joinClasses("plain-publication__figure", className),
|
|
5254
5501
|
"data-figure-kind": kind,
|
|
5255
5502
|
"data-width": width,
|
|
5256
5503
|
id,
|
|
5257
5504
|
children: [
|
|
5258
|
-
/* @__PURE__ */
|
|
5505
|
+
/* @__PURE__ */ jsx5("div", {
|
|
5259
5506
|
className: "plain-publication__figure-body",
|
|
5260
5507
|
children
|
|
5261
5508
|
}),
|
|
5262
|
-
/* @__PURE__ */
|
|
5509
|
+
/* @__PURE__ */ jsx5(FigureCaption, {
|
|
5263
5510
|
caption,
|
|
5264
|
-
credit
|
|
5265
|
-
kind
|
|
5511
|
+
credit
|
|
5266
5512
|
})
|
|
5267
5513
|
]
|
|
5268
5514
|
});
|
|
@@ -5276,7 +5522,7 @@ function ArticleVideo({
|
|
|
5276
5522
|
width = "text"
|
|
5277
5523
|
}) {
|
|
5278
5524
|
assertArticleVideo(video);
|
|
5279
|
-
return /* @__PURE__ */
|
|
5525
|
+
return /* @__PURE__ */ jsx5(ArticleFigure, {
|
|
5280
5526
|
caption,
|
|
5281
5527
|
className: joinClasses("plain-publication__video", className),
|
|
5282
5528
|
credit,
|
|
@@ -5285,7 +5531,7 @@ function ArticleVideo({
|
|
|
5285
5531
|
...id === undefined ? {} : {
|
|
5286
5532
|
id
|
|
5287
5533
|
},
|
|
5288
|
-
children: /* @__PURE__ */
|
|
5534
|
+
children: /* @__PURE__ */ jsxs4("video", {
|
|
5289
5535
|
"aria-label": video.name,
|
|
5290
5536
|
controls: true,
|
|
5291
5537
|
height: video.height,
|
|
@@ -5294,11 +5540,11 @@ function ArticleVideo({
|
|
|
5294
5540
|
preload: "metadata",
|
|
5295
5541
|
width: video.width,
|
|
5296
5542
|
children: [
|
|
5297
|
-
orderedArticleVideoSources(video).map((source) => /* @__PURE__ */
|
|
5543
|
+
orderedArticleVideoSources(video).map((source) => /* @__PURE__ */ jsx5("source", {
|
|
5298
5544
|
src: source.src,
|
|
5299
5545
|
type: source.type
|
|
5300
5546
|
}, source.type)),
|
|
5301
|
-
/* @__PURE__ */
|
|
5547
|
+
/* @__PURE__ */ jsx5("track", {
|
|
5302
5548
|
default: true,
|
|
5303
5549
|
kind: "captions",
|
|
5304
5550
|
label: "Captions",
|
|
@@ -5324,37 +5570,37 @@ function ArticleTable({
|
|
|
5324
5570
|
for (const row of rows)
|
|
5325
5571
|
if (row.length !== columns.length)
|
|
5326
5572
|
throw new RangeError("Article table rows must match the column count.");
|
|
5327
|
-
return /* @__PURE__ */
|
|
5573
|
+
return /* @__PURE__ */ jsxs4("figure", {
|
|
5328
5574
|
className: joinClasses("plain-publication__figure plain-publication__data-table", className),
|
|
5329
5575
|
"data-figure-kind": "table",
|
|
5330
5576
|
id,
|
|
5331
5577
|
children: [
|
|
5332
|
-
/* @__PURE__ */
|
|
5578
|
+
/* @__PURE__ */ jsx5("div", {
|
|
5333
5579
|
className: "plain-publication__table-scroll",
|
|
5334
5580
|
role: "region",
|
|
5335
5581
|
"aria-label": caption,
|
|
5336
5582
|
tabIndex: 0,
|
|
5337
|
-
children: /* @__PURE__ */
|
|
5583
|
+
children: /* @__PURE__ */ jsxs4("table", {
|
|
5338
5584
|
className: "plain-publication__table",
|
|
5339
5585
|
children: [
|
|
5340
|
-
/* @__PURE__ */
|
|
5586
|
+
/* @__PURE__ */ jsx5("caption", {
|
|
5341
5587
|
children: caption
|
|
5342
5588
|
}),
|
|
5343
|
-
/* @__PURE__ */
|
|
5344
|
-
children: /* @__PURE__ */
|
|
5345
|
-
children: columns.map((column, index) => /* @__PURE__ */
|
|
5589
|
+
/* @__PURE__ */ jsx5("thead", {
|
|
5590
|
+
children: /* @__PURE__ */ jsx5("tr", {
|
|
5591
|
+
children: columns.map((column, index) => /* @__PURE__ */ jsx5("th", {
|
|
5346
5592
|
"data-numeric": column.numeric === true ? "" : undefined,
|
|
5347
5593
|
scope: "col",
|
|
5348
5594
|
children: column.label
|
|
5349
5595
|
}, index))
|
|
5350
5596
|
})
|
|
5351
5597
|
}),
|
|
5352
|
-
/* @__PURE__ */
|
|
5353
|
-
children: rows.map((row, rowIndex) => /* @__PURE__ */
|
|
5354
|
-
children: row.map((cell, cellIndex) => cellIndex === 0 ? /* @__PURE__ */
|
|
5598
|
+
/* @__PURE__ */ jsx5("tbody", {
|
|
5599
|
+
children: rows.map((row, rowIndex) => /* @__PURE__ */ jsx5("tr", {
|
|
5600
|
+
children: row.map((cell, cellIndex) => cellIndex === 0 ? /* @__PURE__ */ jsx5("th", {
|
|
5355
5601
|
scope: "row",
|
|
5356
5602
|
children: cell
|
|
5357
|
-
}, cellIndex) : /* @__PURE__ */
|
|
5603
|
+
}, cellIndex) : /* @__PURE__ */ jsx5("td", {
|
|
5358
5604
|
"data-numeric": columns[cellIndex]?.numeric === true ? "" : undefined,
|
|
5359
5605
|
children: cell
|
|
5360
5606
|
}, cellIndex))
|
|
@@ -5363,7 +5609,7 @@ function ArticleTable({
|
|
|
5363
5609
|
]
|
|
5364
5610
|
})
|
|
5365
5611
|
}),
|
|
5366
|
-
note === undefined || note === null ? null : /* @__PURE__ */
|
|
5612
|
+
note === undefined || note === null ? null : /* @__PURE__ */ jsx5("p", {
|
|
5367
5613
|
className: "plain-publication__figure-note",
|
|
5368
5614
|
children: note
|
|
5369
5615
|
})
|
|
@@ -5392,7 +5638,7 @@ function ArticleBarChart({
|
|
|
5392
5638
|
for (const datum of data)
|
|
5393
5639
|
if (datum.value > ceiling)
|
|
5394
5640
|
throw new RangeError(`Article bar chart value for ${JSON.stringify(datum.label)} exceeds max.`);
|
|
5395
|
-
return /* @__PURE__ */
|
|
5641
|
+
return /* @__PURE__ */ jsx5(ArticleFigure, {
|
|
5396
5642
|
caption,
|
|
5397
5643
|
className: joinClasses("plain-publication__bar-chart", className),
|
|
5398
5644
|
credit,
|
|
@@ -5400,28 +5646,28 @@ function ArticleBarChart({
|
|
|
5400
5646
|
...id === undefined ? {} : {
|
|
5401
5647
|
id
|
|
5402
5648
|
},
|
|
5403
|
-
children: /* @__PURE__ */
|
|
5649
|
+
children: /* @__PURE__ */ jsx5("dl", {
|
|
5404
5650
|
className: "plain-publication__bars",
|
|
5405
|
-
children: data.map((datum) => /* @__PURE__ */
|
|
5651
|
+
children: data.map((datum) => /* @__PURE__ */ jsxs4("div", {
|
|
5406
5652
|
className: "plain-publication__bar",
|
|
5407
5653
|
"data-highlight": datum.highlight === true ? "" : undefined,
|
|
5408
5654
|
children: [
|
|
5409
|
-
/* @__PURE__ */
|
|
5655
|
+
/* @__PURE__ */ jsx5("dt", {
|
|
5410
5656
|
children: datum.label
|
|
5411
5657
|
}),
|
|
5412
|
-
/* @__PURE__ */
|
|
5658
|
+
/* @__PURE__ */ jsxs4("dd", {
|
|
5413
5659
|
children: [
|
|
5414
|
-
/* @__PURE__ */
|
|
5660
|
+
/* @__PURE__ */ jsx5("span", {
|
|
5415
5661
|
"aria-hidden": "true",
|
|
5416
5662
|
className: "plain-publication__bar-track",
|
|
5417
|
-
children: /* @__PURE__ */
|
|
5663
|
+
children: /* @__PURE__ */ jsx5("span", {
|
|
5418
5664
|
className: "plain-publication__bar-fill",
|
|
5419
5665
|
style: {
|
|
5420
5666
|
"--plain-bar": `${Math.round(datum.value / ceiling * 1e4) / 100}%`
|
|
5421
5667
|
}
|
|
5422
5668
|
})
|
|
5423
5669
|
}),
|
|
5424
|
-
/* @__PURE__ */
|
|
5670
|
+
/* @__PURE__ */ jsx5("span", {
|
|
5425
5671
|
className: "plain-publication__bar-value",
|
|
5426
5672
|
children: datum.display
|
|
5427
5673
|
})
|
|
@@ -5441,14 +5687,14 @@ function ComparisonGlyph({
|
|
|
5441
5687
|
kind
|
|
5442
5688
|
}) {
|
|
5443
5689
|
const path = kind === "yes" ? "M3.5 8.5l3 3 6-7" : kind === "no" ? "M4.5 4.5l7 7m0-7l-7 7" : "M4 8h8";
|
|
5444
|
-
return /* @__PURE__ */
|
|
5690
|
+
return /* @__PURE__ */ jsx5("svg", {
|
|
5445
5691
|
"aria-hidden": "true",
|
|
5446
5692
|
className: "plain-publication__comparison-glyph",
|
|
5447
5693
|
focusable: "false",
|
|
5448
5694
|
height: "16",
|
|
5449
5695
|
viewBox: "0 0 16 16",
|
|
5450
5696
|
width: "16",
|
|
5451
|
-
children: /* @__PURE__ */
|
|
5697
|
+
children: /* @__PURE__ */ jsx5("path", {
|
|
5452
5698
|
d: path,
|
|
5453
5699
|
fill: "none",
|
|
5454
5700
|
stroke: "currentColor",
|
|
@@ -5462,18 +5708,18 @@ function ComparisonCell({
|
|
|
5462
5708
|
value
|
|
5463
5709
|
}) {
|
|
5464
5710
|
if (typeof value === "object")
|
|
5465
|
-
return /* @__PURE__ */
|
|
5711
|
+
return /* @__PURE__ */ jsx5(Fragment3, {
|
|
5466
5712
|
children: value.text
|
|
5467
5713
|
});
|
|
5468
5714
|
const kind = value === true ? "yes" : value === false ? "no" : "partial";
|
|
5469
|
-
return /* @__PURE__ */
|
|
5715
|
+
return /* @__PURE__ */ jsxs4("span", {
|
|
5470
5716
|
className: "plain-publication__comparison-value",
|
|
5471
5717
|
"data-value": kind,
|
|
5472
5718
|
children: [
|
|
5473
|
-
/* @__PURE__ */
|
|
5719
|
+
/* @__PURE__ */ jsx5(ComparisonGlyph, {
|
|
5474
5720
|
kind
|
|
5475
5721
|
}),
|
|
5476
|
-
/* @__PURE__ */
|
|
5722
|
+
/* @__PURE__ */ jsx5("span", {
|
|
5477
5723
|
children: COMPARISON_TEXT[kind]
|
|
5478
5724
|
})
|
|
5479
5725
|
]
|
|
@@ -5498,27 +5744,27 @@ function ComparisonTable({
|
|
|
5498
5744
|
for (const row of rows)
|
|
5499
5745
|
if (row.values.length !== options.length)
|
|
5500
5746
|
throw new RangeError(`Comparison row ${JSON.stringify(row.label)} must have one value per option.`);
|
|
5501
|
-
return /* @__PURE__ */
|
|
5747
|
+
return /* @__PURE__ */ jsxs4("figure", {
|
|
5502
5748
|
className: joinClasses("plain-publication__figure plain-publication__comparison", className),
|
|
5503
5749
|
"data-figure-kind": "table",
|
|
5504
5750
|
id,
|
|
5505
5751
|
children: [
|
|
5506
|
-
/* @__PURE__ */
|
|
5752
|
+
/* @__PURE__ */ jsx5("div", {
|
|
5507
5753
|
className: "plain-publication__table-scroll",
|
|
5508
5754
|
role: "region",
|
|
5509
5755
|
"aria-label": caption,
|
|
5510
5756
|
tabIndex: 0,
|
|
5511
|
-
children: /* @__PURE__ */
|
|
5757
|
+
children: /* @__PURE__ */ jsxs4("table", {
|
|
5512
5758
|
className: "plain-publication__table",
|
|
5513
5759
|
children: [
|
|
5514
|
-
/* @__PURE__ */
|
|
5760
|
+
/* @__PURE__ */ jsx5("caption", {
|
|
5515
5761
|
children: caption
|
|
5516
5762
|
}),
|
|
5517
|
-
/* @__PURE__ */
|
|
5518
|
-
children: /* @__PURE__ */
|
|
5763
|
+
/* @__PURE__ */ jsx5("thead", {
|
|
5764
|
+
children: /* @__PURE__ */ jsxs4("tr", {
|
|
5519
5765
|
children: [
|
|
5520
|
-
/* @__PURE__ */
|
|
5521
|
-
options.map((option, index) => /* @__PURE__ */
|
|
5766
|
+
/* @__PURE__ */ jsx5("td", {}),
|
|
5767
|
+
options.map((option, index) => /* @__PURE__ */ jsx5("th", {
|
|
5522
5768
|
"data-highlight": index === highlight ? "" : undefined,
|
|
5523
5769
|
scope: "col",
|
|
5524
5770
|
children: option
|
|
@@ -5526,22 +5772,22 @@ function ComparisonTable({
|
|
|
5526
5772
|
]
|
|
5527
5773
|
})
|
|
5528
5774
|
}),
|
|
5529
|
-
/* @__PURE__ */
|
|
5530
|
-
children: rows.map((row) => /* @__PURE__ */
|
|
5775
|
+
/* @__PURE__ */ jsx5("tbody", {
|
|
5776
|
+
children: rows.map((row) => /* @__PURE__ */ jsxs4("tr", {
|
|
5531
5777
|
children: [
|
|
5532
|
-
/* @__PURE__ */
|
|
5778
|
+
/* @__PURE__ */ jsxs4("th", {
|
|
5533
5779
|
scope: "row",
|
|
5534
5780
|
children: [
|
|
5535
5781
|
row.label,
|
|
5536
|
-
row.note === undefined || row.note === "" ? null : /* @__PURE__ */
|
|
5782
|
+
row.note === undefined || row.note === "" ? null : /* @__PURE__ */ jsx5("small", {
|
|
5537
5783
|
className: "plain-publication__comparison-note",
|
|
5538
5784
|
children: row.note
|
|
5539
5785
|
})
|
|
5540
5786
|
]
|
|
5541
5787
|
}),
|
|
5542
|
-
row.values.map((value, index) => /* @__PURE__ */
|
|
5788
|
+
row.values.map((value, index) => /* @__PURE__ */ jsx5("td", {
|
|
5543
5789
|
"data-highlight": index === highlight ? "" : undefined,
|
|
5544
|
-
children: /* @__PURE__ */
|
|
5790
|
+
children: /* @__PURE__ */ jsx5(ComparisonCell, {
|
|
5545
5791
|
value
|
|
5546
5792
|
})
|
|
5547
5793
|
}, index))
|
|
@@ -5551,7 +5797,7 @@ function ComparisonTable({
|
|
|
5551
5797
|
]
|
|
5552
5798
|
})
|
|
5553
5799
|
}),
|
|
5554
|
-
note === undefined || note === null ? null : /* @__PURE__ */
|
|
5800
|
+
note === undefined || note === null ? null : /* @__PURE__ */ jsx5("p", {
|
|
5555
5801
|
className: "plain-publication__figure-note",
|
|
5556
5802
|
children: note
|
|
5557
5803
|
})
|
|
@@ -5561,7 +5807,7 @@ function ComparisonTable({
|
|
|
5561
5807
|
|
|
5562
5808
|
// src/react/surfaces.tsx
|
|
5563
5809
|
import { forwardRef } from "react";
|
|
5564
|
-
import * as
|
|
5810
|
+
import * as stylex4 from "@stylexjs/stylex";
|
|
5565
5811
|
import { ThemedSurface, cn } from "@hraness/ui";
|
|
5566
5812
|
|
|
5567
5813
|
// src/react/surfaces.stylex.ts
|
|
@@ -5731,7 +5977,7 @@ var layoutSurfaceStyles = {
|
|
|
5731
5977
|
};
|
|
5732
5978
|
|
|
5733
5979
|
// src/react/surfaces.tsx
|
|
5734
|
-
import { jsx as
|
|
5980
|
+
import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
5735
5981
|
var ditherSurfaceDensityStyles = {
|
|
5736
5982
|
coarse: ditherSurfaceStyles.coarse,
|
|
5737
5983
|
fine: ditherSurfaceStyles.fine,
|
|
@@ -5741,10 +5987,10 @@ function DitherSurface({
|
|
|
5741
5987
|
className,
|
|
5742
5988
|
density = "medium",
|
|
5743
5989
|
xstyle,
|
|
5744
|
-
...
|
|
5990
|
+
...props5
|
|
5745
5991
|
}) {
|
|
5746
|
-
return /* @__PURE__ */
|
|
5747
|
-
...
|
|
5992
|
+
return /* @__PURE__ */ jsx6(ThemedSurface, {
|
|
5993
|
+
...props5,
|
|
5748
5994
|
className: cn("hraness-design-dither-surface", className),
|
|
5749
5995
|
"data-density": density,
|
|
5750
5996
|
xstyle: [
|
|
@@ -5762,38 +6008,38 @@ function TopBar({
|
|
|
5762
6008
|
position = "static",
|
|
5763
6009
|
surface = "solid",
|
|
5764
6010
|
title,
|
|
5765
|
-
...
|
|
6011
|
+
...props5
|
|
5766
6012
|
}) {
|
|
5767
|
-
const rootPresentation =
|
|
5768
|
-
const leadingPresentation =
|
|
5769
|
-
const titlePresentation =
|
|
5770
|
-
const contentPresentation =
|
|
5771
|
-
const actionsPresentation =
|
|
5772
|
-
return /* @__PURE__ */
|
|
6013
|
+
const rootPresentation = stylex4.props(layoutSurfaceStyles.surface, layoutSurfaceStyles.bar, layoutSurfaceStyles.topBar, position === "sticky" ? layoutSurfaceStyles.topBarSticky : layoutSurfaceStyles.topBarStatic, surface === "glass" && layoutSurfaceStyles.topBarGlass);
|
|
6014
|
+
const leadingPresentation = stylex4.props(layoutSurfaceStyles.barPart);
|
|
6015
|
+
const titlePresentation = stylex4.props(layoutSurfaceStyles.topBarTitle);
|
|
6016
|
+
const contentPresentation = stylex4.props(layoutSurfaceStyles.barPart, layoutSurfaceStyles.barContent);
|
|
6017
|
+
const actionsPresentation = stylex4.props(layoutSurfaceStyles.barPart, layoutSurfaceStyles.topBarActions);
|
|
6018
|
+
return /* @__PURE__ */ jsxs5("header", {
|
|
5773
6019
|
...rootPresentation,
|
|
5774
|
-
...
|
|
6020
|
+
...props5,
|
|
5775
6021
|
className: cn("hraness-design-top-bar", rootPresentation.className, className),
|
|
5776
6022
|
"data-position": position,
|
|
5777
6023
|
"data-surface": surface,
|
|
5778
6024
|
children: [
|
|
5779
|
-
/* @__PURE__ */
|
|
6025
|
+
/* @__PURE__ */ jsxs5("div", {
|
|
5780
6026
|
...leadingPresentation,
|
|
5781
6027
|
className: cn("hraness-design-top-bar__leading", leadingPresentation.className),
|
|
5782
6028
|
children: [
|
|
5783
6029
|
leading,
|
|
5784
|
-
title === undefined ? null : /* @__PURE__ */
|
|
6030
|
+
title === undefined ? null : /* @__PURE__ */ jsx6("div", {
|
|
5785
6031
|
...titlePresentation,
|
|
5786
6032
|
className: cn("hraness-design-top-bar__title", titlePresentation.className),
|
|
5787
6033
|
children: title
|
|
5788
6034
|
})
|
|
5789
6035
|
]
|
|
5790
6036
|
}),
|
|
5791
|
-
children === undefined ? null : /* @__PURE__ */
|
|
6037
|
+
children === undefined ? null : /* @__PURE__ */ jsx6("div", {
|
|
5792
6038
|
...contentPresentation,
|
|
5793
6039
|
className: cn("hraness-design-top-bar__content", contentPresentation.className),
|
|
5794
6040
|
children
|
|
5795
6041
|
}),
|
|
5796
|
-
actions === undefined ? null : /* @__PURE__ */
|
|
6042
|
+
actions === undefined ? null : /* @__PURE__ */ jsx6("div", {
|
|
5797
6043
|
...actionsPresentation,
|
|
5798
6044
|
className: cn("hraness-design-top-bar__actions", actionsPresentation.className),
|
|
5799
6045
|
children: actions
|
|
@@ -5806,28 +6052,28 @@ function BottomBar({
|
|
|
5806
6052
|
children,
|
|
5807
6053
|
className,
|
|
5808
6054
|
leading,
|
|
5809
|
-
...
|
|
6055
|
+
...props5
|
|
5810
6056
|
}) {
|
|
5811
|
-
const rootPresentation =
|
|
5812
|
-
const leadingPresentation =
|
|
5813
|
-
const contentPresentation =
|
|
5814
|
-
const actionsPresentation =
|
|
5815
|
-
return /* @__PURE__ */
|
|
6057
|
+
const rootPresentation = stylex4.props(layoutSurfaceStyles.surface, layoutSurfaceStyles.bar, layoutSurfaceStyles.bottomBar);
|
|
6058
|
+
const leadingPresentation = stylex4.props(layoutSurfaceStyles.barPart);
|
|
6059
|
+
const contentPresentation = stylex4.props(layoutSurfaceStyles.barPart, layoutSurfaceStyles.barContent);
|
|
6060
|
+
const actionsPresentation = stylex4.props(layoutSurfaceStyles.barPart);
|
|
6061
|
+
return /* @__PURE__ */ jsxs5("footer", {
|
|
5816
6062
|
...rootPresentation,
|
|
5817
|
-
...
|
|
6063
|
+
...props5,
|
|
5818
6064
|
className: cn("hraness-design-bottom-bar", rootPresentation.className, className),
|
|
5819
6065
|
children: [
|
|
5820
|
-
leading === undefined ? null : /* @__PURE__ */
|
|
6066
|
+
leading === undefined ? null : /* @__PURE__ */ jsx6("div", {
|
|
5821
6067
|
...leadingPresentation,
|
|
5822
6068
|
className: cn("hraness-design-bottom-bar__leading", leadingPresentation.className),
|
|
5823
6069
|
children: leading
|
|
5824
6070
|
}),
|
|
5825
|
-
/* @__PURE__ */
|
|
6071
|
+
/* @__PURE__ */ jsx6("div", {
|
|
5826
6072
|
...contentPresentation,
|
|
5827
6073
|
className: cn("hraness-design-bottom-bar__content", contentPresentation.className),
|
|
5828
6074
|
children
|
|
5829
6075
|
}),
|
|
5830
|
-
actions === undefined ? null : /* @__PURE__ */
|
|
6076
|
+
actions === undefined ? null : /* @__PURE__ */ jsx6("div", {
|
|
5831
6077
|
...actionsPresentation,
|
|
5832
6078
|
className: cn("hraness-design-bottom-bar__actions", actionsPresentation.className),
|
|
5833
6079
|
children: actions
|
|
@@ -5840,13 +6086,13 @@ function PageCanvas({
|
|
|
5840
6086
|
className,
|
|
5841
6087
|
inset = "content",
|
|
5842
6088
|
size = "default",
|
|
5843
|
-
...
|
|
6089
|
+
...props5
|
|
5844
6090
|
}) {
|
|
5845
6091
|
const Element = as;
|
|
5846
|
-
const presentation =
|
|
5847
|
-
return /* @__PURE__ */
|
|
6092
|
+
const presentation = stylex4.props(layoutSurfaceStyles.pageCanvas, inset === "content" ? layoutSurfaceStyles.pageContentInset : layoutSurfaceStyles.pageNoInset, size === "wide" && layoutSurfaceStyles.wideSize, size === "full" && layoutSurfaceStyles.fullSize);
|
|
6093
|
+
return /* @__PURE__ */ jsx6(Element, {
|
|
5848
6094
|
...presentation,
|
|
5849
|
-
...
|
|
6095
|
+
...props5,
|
|
5850
6096
|
className: cn("hraness-design-page-canvas", presentation.className, className),
|
|
5851
6097
|
"data-inset": inset,
|
|
5852
6098
|
"data-size": size
|
|
@@ -5861,18 +6107,18 @@ var DockedFooter = forwardRef(function DockedFooter2({
|
|
|
5861
6107
|
position = "fixed",
|
|
5862
6108
|
size = "default",
|
|
5863
6109
|
surface = "solid",
|
|
5864
|
-
...
|
|
6110
|
+
...props5
|
|
5865
6111
|
}, ref) {
|
|
5866
|
-
const rootPresentation =
|
|
5867
|
-
const contentPresentation =
|
|
5868
|
-
return /* @__PURE__ */
|
|
6112
|
+
const rootPresentation = stylex4.props(layoutSurfaceStyles.surface, layoutSurfaceStyles.dockedFooter, position === "absolute" ? layoutSurfaceStyles.dockedAbsolute : position === "sticky" ? layoutSurfaceStyles.dockedSticky : layoutSurfaceStyles.dockedFixed);
|
|
6113
|
+
const contentPresentation = stylex4.props(layoutSurfaceStyles.dockedContent, density === "compact" ? inset === "content" ? layoutSurfaceStyles.dockedContentCompactInset : layoutSurfaceStyles.dockedContentCompactNoInset : inset === "content" ? layoutSurfaceStyles.dockedContentDefaultInset : layoutSurfaceStyles.dockedContentDefaultNoInset, size === "wide" && layoutSurfaceStyles.wideSize, size === "full" && layoutSurfaceStyles.fullSize);
|
|
6114
|
+
return /* @__PURE__ */ jsx6("footer", {
|
|
5869
6115
|
...rootPresentation,
|
|
5870
|
-
...
|
|
6116
|
+
...props5,
|
|
5871
6117
|
className: cn("hraness-design-docked-footer", rootPresentation.className, className),
|
|
5872
6118
|
"data-position": position,
|
|
5873
6119
|
"data-surface": surface,
|
|
5874
6120
|
ref,
|
|
5875
|
-
children: /* @__PURE__ */
|
|
6121
|
+
children: /* @__PURE__ */ jsx6("div", {
|
|
5876
6122
|
...contentPresentation,
|
|
5877
6123
|
className: cn("hraness-design-docked-footer__content", contentPresentation.className, contentClassName),
|
|
5878
6124
|
"data-density": density,
|
|
@@ -6065,7 +6311,7 @@ function createParticleHaloRecipe(input) {
|
|
|
6065
6311
|
|
|
6066
6312
|
// src/react/procedural-backdrop.tsx
|
|
6067
6313
|
import { cn as cn2 } from "@hraness/ui";
|
|
6068
|
-
import * as
|
|
6314
|
+
import * as stylex5 from "@stylexjs/stylex";
|
|
6069
6315
|
|
|
6070
6316
|
// src/react/effects.stylex.ts
|
|
6071
6317
|
var effectsStyles = {
|
|
@@ -6323,7 +6569,7 @@ var effectsStyles = {
|
|
|
6323
6569
|
};
|
|
6324
6570
|
|
|
6325
6571
|
// src/react/procedural-backdrop.tsx
|
|
6326
|
-
import { jsx as
|
|
6572
|
+
import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
6327
6573
|
var colorVariables = {
|
|
6328
6574
|
highlight: "var(--hraness-design-procedural-highlight)",
|
|
6329
6575
|
key: "var(--hraness-design-procedural-key)",
|
|
@@ -6340,7 +6586,7 @@ function ProceduralBackdrop({
|
|
|
6340
6586
|
style,
|
|
6341
6587
|
variation,
|
|
6342
6588
|
variant,
|
|
6343
|
-
...
|
|
6589
|
+
...props6
|
|
6344
6590
|
}) {
|
|
6345
6591
|
const recipe = createProceduralBackdropRecipe({
|
|
6346
6592
|
seed,
|
|
@@ -6378,14 +6624,14 @@ function ProceduralBackdrop({
|
|
|
6378
6624
|
"--hraness-design-procedural-ripple-x": `${recipe.ripple.x}%`,
|
|
6379
6625
|
"--hraness-design-procedural-ripple-y": `${recipe.ripple.y}%`
|
|
6380
6626
|
};
|
|
6381
|
-
const rootPresentation =
|
|
6382
|
-
const atmospherePresentation =
|
|
6383
|
-
const cloudPresentation =
|
|
6384
|
-
const gridPresentation =
|
|
6385
|
-
const ripplesPresentation =
|
|
6386
|
-
const ripplePresentation =
|
|
6387
|
-
return /* @__PURE__ */
|
|
6388
|
-
...
|
|
6627
|
+
const rootPresentation = stylex5.props(effectsStyles.proceduralRoot);
|
|
6628
|
+
const atmospherePresentation = stylex5.props(effectsStyles.proceduralSlot, effectsStyles.proceduralAtmosphere);
|
|
6629
|
+
const cloudPresentation = stylex5.props(effectsStyles.proceduralCloud);
|
|
6630
|
+
const gridPresentation = stylex5.props(effectsStyles.proceduralSlot, effectsStyles.proceduralGrid);
|
|
6631
|
+
const ripplesPresentation = stylex5.props(effectsStyles.proceduralSlot, effectsStyles.proceduralRipples);
|
|
6632
|
+
const ripplePresentation = stylex5.props(effectsStyles.proceduralRipple);
|
|
6633
|
+
return /* @__PURE__ */ jsxs6("div", {
|
|
6634
|
+
...props6,
|
|
6389
6635
|
...INERT_PROPS,
|
|
6390
6636
|
"aria-hidden": "true",
|
|
6391
6637
|
className: cn2("hraness-design-procedural-backdrop", rootPresentation.className, className),
|
|
@@ -6395,7 +6641,7 @@ function ProceduralBackdrop({
|
|
|
6395
6641
|
role: "presentation",
|
|
6396
6642
|
style: rootStyle,
|
|
6397
6643
|
children: [
|
|
6398
|
-
showAtmosphere ? /* @__PURE__ */
|
|
6644
|
+
showAtmosphere ? /* @__PURE__ */ jsx7("span", {
|
|
6399
6645
|
className: cn2("hraness-design-procedural-backdrop__atmosphere", atmospherePresentation.className),
|
|
6400
6646
|
children: recipe.atmosphere.map((layer, index) => {
|
|
6401
6647
|
const layerStyle = {
|
|
@@ -6413,17 +6659,17 @@ function ProceduralBackdrop({
|
|
|
6413
6659
|
"--hraness-design-procedural-layer-x": `${layer.x}%`,
|
|
6414
6660
|
"--hraness-design-procedural-layer-y": `${layer.y}%`
|
|
6415
6661
|
};
|
|
6416
|
-
return /* @__PURE__ */
|
|
6662
|
+
return /* @__PURE__ */ jsx7("i", {
|
|
6417
6663
|
className: cn2("hraness-design-procedural-backdrop__cloud", cloudPresentation.className),
|
|
6418
6664
|
style: layerStyle
|
|
6419
6665
|
}, index);
|
|
6420
6666
|
})
|
|
6421
6667
|
}) : null,
|
|
6422
|
-
showGrid ? /* @__PURE__ */
|
|
6668
|
+
showGrid ? /* @__PURE__ */ jsx7("span", {
|
|
6423
6669
|
className: cn2("hraness-design-procedural-backdrop__grid", gridPresentation.className),
|
|
6424
6670
|
style: gridStyle
|
|
6425
6671
|
}) : null,
|
|
6426
|
-
showRipple ? /* @__PURE__ */
|
|
6672
|
+
showRipple ? /* @__PURE__ */ jsx7("span", {
|
|
6427
6673
|
className: cn2("hraness-design-procedural-backdrop__ripples", ripplesPresentation.className),
|
|
6428
6674
|
style: rippleStyle,
|
|
6429
6675
|
children: recipe.ripple.contours.map((contour, index) => {
|
|
@@ -6433,7 +6679,7 @@ function ProceduralBackdrop({
|
|
|
6433
6679
|
"--hraness-design-procedural-ripple-opacity": contour.opacity,
|
|
6434
6680
|
"--hraness-design-procedural-ripple-size": `${contour.size}%`
|
|
6435
6681
|
};
|
|
6436
|
-
return /* @__PURE__ */
|
|
6682
|
+
return /* @__PURE__ */ jsx7("i", {
|
|
6437
6683
|
className: cn2("hraness-design-procedural-backdrop__ripple", ripplePresentation.className),
|
|
6438
6684
|
style: contourStyle
|
|
6439
6685
|
}, index);
|
|
@@ -6443,195 +6689,6 @@ function ProceduralBackdrop({
|
|
|
6443
6689
|
});
|
|
6444
6690
|
}
|
|
6445
6691
|
|
|
6446
|
-
// src/react/provider-mark.stylex.ts
|
|
6447
|
-
import * as stylex5 from "@stylexjs/stylex";
|
|
6448
|
-
var providerMarkStyles = {
|
|
6449
|
-
tile: {
|
|
6450
|
-
kGNEyG: "x6s0dn4",
|
|
6451
|
-
kOBAk4: "x1plog1",
|
|
6452
|
-
kWkggS: "x1mpd0sc x9yvj25",
|
|
6453
|
-
kKwaWg: "x1hkejs3 xhobzj1",
|
|
6454
|
-
kaIpWk: "x1qfbufn",
|
|
6455
|
-
kGVxlE: "xdp0uy8 xwaqzdf",
|
|
6456
|
-
kB7OPa: "x9f619",
|
|
6457
|
-
kMwMTN: "x2634if",
|
|
6458
|
-
k1xSpc: "x3nfvp2",
|
|
6459
|
-
kmuXW: "x2lah0s",
|
|
6460
|
-
kzqmXN: "xnsd1i0",
|
|
6461
|
-
kjj79g: "xl56j7k",
|
|
6462
|
-
kI3sdo: "xydrj4t xidp9i6",
|
|
6463
|
-
kInvED: "x1g40iwv",
|
|
6464
|
-
kVAEAm: "x1n2onr6",
|
|
6465
|
-
kXLuUW: "xxymvpz",
|
|
6466
|
-
$$css: true
|
|
6467
|
-
},
|
|
6468
|
-
solid: {
|
|
6469
|
-
kWkggS: "xpipt50 x9yvj25",
|
|
6470
|
-
kKwaWg: "xs51ml9 xhobzj1",
|
|
6471
|
-
kMwMTN: "x3mibv",
|
|
6472
|
-
kI3sdo: "x15sqzv3 xidp9i6",
|
|
6473
|
-
$$css: true
|
|
6474
|
-
},
|
|
6475
|
-
plain: {
|
|
6476
|
-
kWkggS: "xjbqb8w",
|
|
6477
|
-
kKwaWg: "x18o3ruo",
|
|
6478
|
-
kGVxlE: "x1gnnqk1",
|
|
6479
|
-
kMwMTN: "x121n0qk",
|
|
6480
|
-
kI3sdo: "x1a2a7pz",
|
|
6481
|
-
$$css: true
|
|
6482
|
-
},
|
|
6483
|
-
glyph: {
|
|
6484
|
-
kZKoxP: "x1f6yev3",
|
|
6485
|
-
k1xSpc: "x3nfvp2",
|
|
6486
|
-
kzqmXN: "x1endk3i",
|
|
6487
|
-
$$css: true
|
|
6488
|
-
},
|
|
6489
|
-
art: {
|
|
6490
|
-
kZKoxP: "x1n6l62j",
|
|
6491
|
-
k1xSpc: "x3nfvp2 x1c7sf14",
|
|
6492
|
-
kzqmXN: "x19app5s",
|
|
6493
|
-
kpwlN0: "x10a8y8t",
|
|
6494
|
-
kogj98: "x1bpp3o7",
|
|
6495
|
-
kVAEAm: "x10l6tqk",
|
|
6496
|
-
$$css: true
|
|
6497
|
-
},
|
|
6498
|
-
monogram: {
|
|
6499
|
-
kGNEyG: "x6s0dn4",
|
|
6500
|
-
kMwMTN: "x1heor9g",
|
|
6501
|
-
k1xSpc: "x1s85apg x2pbqq",
|
|
6502
|
-
kGuDYH: "x68snkw",
|
|
6503
|
-
k63SB2: "x1xlr1w8",
|
|
6504
|
-
kpwlN0: "x10a8y8t",
|
|
6505
|
-
kjj79g: "xl56j7k",
|
|
6506
|
-
kb6lSQ: "x16q24ku",
|
|
6507
|
-
kLWn49: "xo5v014",
|
|
6508
|
-
kVAEAm: "x10l6tqk",
|
|
6509
|
-
$$css: true
|
|
6510
|
-
},
|
|
6511
|
-
monogramOnly: {
|
|
6512
|
-
k1xSpc: "x3nfvp2",
|
|
6513
|
-
kVAEAm: "x1uhb9sk",
|
|
6514
|
-
$$css: true
|
|
6515
|
-
},
|
|
6516
|
-
chip: {
|
|
6517
|
-
kGNEyG: "x6s0dn4",
|
|
6518
|
-
k1xSpc: "x3nfvp2",
|
|
6519
|
-
kOIVth: "xnromcf",
|
|
6520
|
-
k7Eaqz: "xeuugli",
|
|
6521
|
-
$$css: true
|
|
6522
|
-
},
|
|
6523
|
-
chipName: {
|
|
6524
|
-
kMwMTN: "xm06a53",
|
|
6525
|
-
kGuDYH: "xzsou7g",
|
|
6526
|
-
k63SB2: "xh88oxj",
|
|
6527
|
-
kb6lSQ: "xjat59b",
|
|
6528
|
-
kLWn49: "x1u7k74",
|
|
6529
|
-
k7Eaqz: "xeuugli",
|
|
6530
|
-
kVQacm: "xb3r6kr",
|
|
6531
|
-
kg5iWk: "xlyipyv",
|
|
6532
|
-
khDVqt: "xuxw1ft",
|
|
6533
|
-
$$css: true
|
|
6534
|
-
}
|
|
6535
|
-
};
|
|
6536
|
-
function providerMarkClassName(part, caller) {
|
|
6537
|
-
const hook = part === "tile" ? "hraness-provider-mark" : `hraness-provider-mark__${part.replaceAll(/[A-Z]/gu, (c) => `-${c.toLowerCase()}`)}`;
|
|
6538
|
-
return [hook, stylex5.props(providerMarkStyles[part]).className, caller].filter(Boolean).join(" ");
|
|
6539
|
-
}
|
|
6540
|
-
|
|
6541
|
-
// src/react/provider-mark.tsx
|
|
6542
|
-
import { jsx as jsx7, jsxs as jsxs6, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
6543
|
-
function resolveMark(mark) {
|
|
6544
|
-
if (typeof mark !== "string")
|
|
6545
|
-
return mark;
|
|
6546
|
-
return providerMark(mark) ?? providerMarkFallback(mark);
|
|
6547
|
-
}
|
|
6548
|
-
function Artwork({
|
|
6549
|
-
mark,
|
|
6550
|
-
tone
|
|
6551
|
-
}) {
|
|
6552
|
-
const art = tone === "tile" ? mark.art : null;
|
|
6553
|
-
return /* @__PURE__ */ jsxs6(Fragment3, {
|
|
6554
|
-
children: [
|
|
6555
|
-
/* @__PURE__ */ jsx7("svg", {
|
|
6556
|
-
"aria-hidden": "true",
|
|
6557
|
-
className: providerMarkClassName("glyph"),
|
|
6558
|
-
dangerouslySetInnerHTML: {
|
|
6559
|
-
__html: mark.glyph.body
|
|
6560
|
-
},
|
|
6561
|
-
fill: "currentColor",
|
|
6562
|
-
viewBox: mark.glyph.viewBox
|
|
6563
|
-
}),
|
|
6564
|
-
art === null ? null : /* @__PURE__ */ jsx7("svg", {
|
|
6565
|
-
"aria-hidden": "true",
|
|
6566
|
-
className: providerMarkClassName("art"),
|
|
6567
|
-
dangerouslySetInnerHTML: {
|
|
6568
|
-
__html: art.body
|
|
6569
|
-
},
|
|
6570
|
-
viewBox: art.viewBox
|
|
6571
|
-
})
|
|
6572
|
-
]
|
|
6573
|
-
});
|
|
6574
|
-
}
|
|
6575
|
-
function ProviderMark({
|
|
6576
|
-
mark,
|
|
6577
|
-
className,
|
|
6578
|
-
label,
|
|
6579
|
-
size = 32,
|
|
6580
|
-
tone = "tile"
|
|
6581
|
-
}) {
|
|
6582
|
-
if (!Number.isFinite(size) || size <= 0)
|
|
6583
|
-
throw new RangeError("ProviderMark size must be positive and finite.");
|
|
6584
|
-
const resolved = resolveMark(mark);
|
|
6585
|
-
const style = {
|
|
6586
|
-
"--_mark-accent": resolved.accent,
|
|
6587
|
-
"--_mark-size": `${size}px`
|
|
6588
|
-
};
|
|
6589
|
-
if (tone === "solid")
|
|
6590
|
-
style["--_mark-on-accent"] = providerMarkOnAccent(resolved);
|
|
6591
|
-
const hasArtwork = resolved.glyph.body !== "";
|
|
6592
|
-
return /* @__PURE__ */ jsxs6("span", {
|
|
6593
|
-
"aria-hidden": label === undefined ? true : undefined,
|
|
6594
|
-
"aria-label": label,
|
|
6595
|
-
className: [providerMarkClassName("tile"), tone === "tile" ? "" : providerMarkClassName(tone), className].filter(Boolean).join(" "),
|
|
6596
|
-
role: label === undefined ? undefined : "img",
|
|
6597
|
-
style,
|
|
6598
|
-
children: [
|
|
6599
|
-
hasArtwork ? /* @__PURE__ */ jsx7(Artwork, {
|
|
6600
|
-
mark: resolved,
|
|
6601
|
-
tone
|
|
6602
|
-
}) : null,
|
|
6603
|
-
/* @__PURE__ */ jsx7("span", {
|
|
6604
|
-
"aria-hidden": "true",
|
|
6605
|
-
className: [providerMarkClassName("monogram"), hasArtwork ? "" : providerMarkClassName("monogramOnly")].filter(Boolean).join(" "),
|
|
6606
|
-
children: resolved.monogram
|
|
6607
|
-
})
|
|
6608
|
-
]
|
|
6609
|
-
});
|
|
6610
|
-
}
|
|
6611
|
-
function ProviderMarkChip({
|
|
6612
|
-
mark,
|
|
6613
|
-
name,
|
|
6614
|
-
...rest
|
|
6615
|
-
}) {
|
|
6616
|
-
const resolved = resolveMark(mark);
|
|
6617
|
-
return /* @__PURE__ */ jsxs6("span", {
|
|
6618
|
-
className: providerMarkClassName("chip"),
|
|
6619
|
-
style: {
|
|
6620
|
-
"--_mark-size": `${rest.size ?? 32}px`
|
|
6621
|
-
},
|
|
6622
|
-
children: [
|
|
6623
|
-
/* @__PURE__ */ jsx7(ProviderMark, {
|
|
6624
|
-
mark: resolved,
|
|
6625
|
-
...rest
|
|
6626
|
-
}),
|
|
6627
|
-
/* @__PURE__ */ jsx7("span", {
|
|
6628
|
-
className: providerMarkClassName("chipName"),
|
|
6629
|
-
children: name ?? resolved.name
|
|
6630
|
-
})
|
|
6631
|
-
]
|
|
6632
|
-
});
|
|
6633
|
-
}
|
|
6634
|
-
|
|
6635
6692
|
// src/react/platform-icons.tsx
|
|
6636
6693
|
import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
6637
6694
|
var sizeParts = {
|
|
@@ -6824,7 +6881,8 @@ function LaunchBeats({
|
|
|
6824
6881
|
className,
|
|
6825
6882
|
detailLabel = "More on this",
|
|
6826
6883
|
headingLevel = 2,
|
|
6827
|
-
renderVisual
|
|
6884
|
+
renderVisual,
|
|
6885
|
+
caption
|
|
6828
6886
|
}) {
|
|
6829
6887
|
assertLaunchBeats(beats);
|
|
6830
6888
|
const Heading2 = HEADING_TAGS2[headingLevel];
|
|
@@ -6852,8 +6910,9 @@ function LaunchBeats({
|
|
|
6852
6910
|
children: beat.post
|
|
6853
6911
|
}),
|
|
6854
6912
|
/* @__PURE__ */ jsx10(ArticleFigure, {
|
|
6855
|
-
caption: beat
|
|
6913
|
+
caption: caption?.(beat),
|
|
6856
6914
|
kind: figureKind(beat),
|
|
6915
|
+
label: beat.alt,
|
|
6857
6916
|
children: visual
|
|
6858
6917
|
}),
|
|
6859
6918
|
beat.detailHref === undefined ? null : /* @__PURE__ */ jsx10("p", {
|
|
@@ -6869,4 +6928,4 @@ function LaunchBeats({
|
|
|
6869
6928
|
});
|
|
6870
6929
|
}
|
|
6871
6930
|
|
|
6872
|
-
export { foilEdge, foilTextImage, foilHalo, foilTextHalo, foilStyles, foilClassName, foilMarkClassName, FoilMark,
|
|
6931
|
+
export { ProviderMark, ProviderMarkChip, SyntaxCode, foilEdge, foilTextImage, foilHalo, foilTextHalo, foilStyles, foilClassName, foilMarkClassName, FoilMark, marketingPatterns, MarketingActionLink, MarketingPage, MarketingField, MarketingMain, MarketingCardRow, MarketingCardArt, MarketingCard, MarketingSiteHeader, MarketingSiteFooter, MarketingFlow, MarketingFacts, ProductHero, MarketingPillars, MarketingInstallPanel, marketingProofFrameAddress, MarketingProofFrame, MarketingDataTable, MarketingCodeBlock, MarketingSectionLabel, MarketingSection, MarketingPrimitives, MarketingNotice, MarketingStatStrip, MarketingInterfaceGrid, MarketingTrustBoundary, MarketingQuoteGrid, MarketingPricing, MarketingQuestionList, MarketingMaker, MarketingRelated, MarketingCallToAction, ArticleByline, ArticleProvenance, MarketingArticle, ArticleSources, ArticleCallout, ArticleRelatedProducts, ArticleIndex, articleFigureKinds, ArticleFigure, ArticleVideo, ArticleTable, ArticleBarChart, ComparisonTable, effectsStyles, DitherSurface, TopBar, BottomBar, PageCanvas, DockedFooter, proceduralBackdropVariants, proceduralRecipeVersion, createProceduralBackdropRecipe, createParticleHaloRecipe, ProceduralBackdrop, PlatformIcon, PlatformBadges, ParticleHalo, launchBeatAnchor, LaunchBeats };
|