@flamingo-stack/openframe-frontend-core 0.0.766 → 0.0.768
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-REJMFXGD.cjs → chunk-2MND64QJ.cjs} +46 -46
- package/dist/{chunk-F7R3U5EN.cjs → chunk-2TS3FEPQ.cjs} +4 -4
- package/dist/{chunk-WO3XO27C.cjs → chunk-2ZYCYLPL.cjs} +5 -5
- package/dist/{chunk-DGNBXZXT.cjs → chunk-4EJU462O.cjs} +57 -30
- package/dist/{chunk-JKQVKWLB.cjs → chunk-57KIBZFQ.cjs} +76 -76
- package/dist/{chunk-VYYLYZUC.cjs → chunk-5O6PHVKO.cjs} +4 -4
- package/dist/{chunk-XZ6DKGT4.cjs → chunk-5QP3K2CE.cjs} +5 -5
- package/dist/{chunk-NJMZ3N7Q.cjs → chunk-6EEE76VU.cjs} +24 -24
- package/dist/{chunk-YRFWOJF4.cjs → chunk-BLTNKLAX.cjs} +4 -4
- package/dist/{chunk-7U3ELNGC.cjs → chunk-DE7U72NZ.cjs} +26 -26
- package/dist/{chunk-GTONIRJU.cjs → chunk-EHJE3UWZ.cjs} +10 -16
- package/dist/{chunk-HNQRY6RU.cjs → chunk-GGORS7G6.cjs} +13 -13
- package/dist/{chunk-FZB4RMRK.cjs → chunk-HQF62LAU.cjs} +33 -33
- package/dist/{chunk-JTSUAHDL.cjs → chunk-HY6BCZH7.cjs} +4 -2
- package/dist/{chunk-MPTMT773.cjs → chunk-LJT2KRE2.cjs} +14 -14
- package/dist/{chunk-NBVZIHGS.cjs → chunk-MYA6NR2C.cjs} +2 -2
- package/dist/{chunk-NF3PBWDJ.cjs → chunk-NPVYID2L.cjs} +80 -80
- package/dist/{chunk-RTBYQWAV.cjs → chunk-OEVNX4OR.cjs} +44 -44
- package/dist/{chunk-UW7UWUZU.cjs → chunk-OGHLIUF4.cjs} +41 -41
- package/dist/{chunk-JGWN6GH5.cjs → chunk-PFY23KN7.cjs} +6 -6
- package/dist/{chunk-ZRDMGMY7.cjs → chunk-QS4G7CHU.cjs} +2 -2
- package/dist/{chunk-7XFVUUVZ.cjs → chunk-S4QS5E5A.cjs} +12 -12
- package/dist/{chunk-VRDHAR3X.cjs → chunk-STHQJNND.cjs} +517 -551
- package/dist/{chunk-INI4ADPT.cjs → chunk-U6UIG4OP.cjs} +31 -31
- package/dist/{chunk-7VI7TOGI.cjs → chunk-UBPSA3RM.cjs} +219 -181
- package/dist/{chunk-K3IHNXR4.cjs → chunk-VADRKMLE.cjs} +3 -3
- package/dist/{chunk-AAECWUNV.cjs → chunk-VFUMM6JC.cjs} +19 -11
- package/dist/{chunk-X7ECVSVN.cjs → chunk-VVBRYOSI.cjs} +19 -19
- package/dist/{chunk-ZV45VS6K.cjs → chunk-XI2CHCOD.cjs} +34 -43
- package/dist/{chunk-RMUSPTJN.cjs → chunk-ZVNL5OK6.cjs} +5 -5
- package/dist/{chunk-YL6ZB2SR.cjs → chunk-ZXFOMNI5.cjs} +183 -183
- package/dist/{cloud-tenants-U2KMEIO7.cjs → cloud-tenants-I5HABFNZ.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +29 -29
- package/dist/components/case-studies/index.d.ts +1 -1
- package/dist/components/case-studies/index.d.ts.map +1 -1
- package/dist/components/case-studies/index.js +5 -1
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.js +9 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +18 -4
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/embeds/rich-markdown-runtime.d.ts +4 -1
- package/dist/components/embeds/rich-markdown-runtime.d.ts.map +1 -1
- package/dist/components/embeds/rich-markdown-runtime.js +6 -5
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/cards-strip.d.ts.map +1 -1
- package/dist/components/features/command-box.d.ts.map +1 -1
- package/dist/components/features/command-box.js +2 -19
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/features/paths-display.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.js +1 -10
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +3 -1
- package/dist/components/help-center-pages/index.cjs +98 -98
- package/dist/components/icon-display.d.ts.map +1 -1
- package/dist/components/icon-display.js +9 -1
- package/dist/components/index.cjs +74 -74
- package/dist/components/interactive-wrapper.d.ts.map +1 -1
- package/dist/components/interactive-wrapper.js +7 -1
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +8 -1
- package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +73 -73
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +24 -24
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/results-count.d.ts.map +1 -1
- package/dist/components/results-count.js +2 -2
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/avatar-stack.js +17 -9
- package/dist/components/ui/cursor-pagination.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-row-count.js +1 -1
- package/dist/components/ui/feature-card.d.ts.map +1 -1
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- package/dist/components/ui/feature-list.js +7 -21
- package/dist/components/ui/incident-feed.d.ts +1 -1
- package/dist/components/ui/incident-feed.d.ts.map +1 -1
- package/dist/components/ui/incident-feed.js +1 -7
- package/dist/components/ui/index.cjs +13 -13
- package/dist/components/ui/leader-row.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/embed-overrides.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/embed-overrides.js +10 -1
- package/dist/components/ui/product-screen-frame.d.ts.map +1 -1
- package/dist/components/ui/product-screen-frame.js +4 -13
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.js +5 -1
- package/dist/components/ui/status-line.d.ts.map +1 -1
- package/dist/components/ui/status-line.js +1 -7
- package/dist/components/ui/strip-card.d.ts.map +1 -1
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/{devices-2D3XSIIE.cjs → devices-OS26UG7Y.cjs} +14 -14
- package/dist/{embeddable-chat-YL6ZSTDJ.cjs → embeddable-chat-BXEK3SPJ.cjs} +83 -83
- package/dist/index.cjs +22 -18
- package/dist/{knowledge-AJ36PMK2.cjs → knowledge-JD2OFKEL.cjs} +14 -14
- package/dist/{logs-DNE44ACE.cjs → logs-KGKNFROP.cjs} +21 -21
- package/dist/{policies-AJHSP6ZY.cjs → policies-J2XL6XQK.cjs} +17 -17
- package/dist/{remote-session-PPA5SXX7.cjs → remote-session-RHQ2K27H.cjs} +7 -7
- package/dist/{scripts-4YO2QL36.cjs → scripts-MJONVIWL.cjs} +20 -20
- package/dist/{software-update-KMI2EOO3.cjs → software-update-VSMTHJR4.cjs} +17 -17
- package/dist/{tickets-board-G3WBH4SV.cjs → tickets-board-YT25IX3O.cjs} +8 -8
- package/dist/utils/after-page-load.d.ts +8 -0
- package/dist/utils/after-page-load.d.ts.map +1 -0
- package/dist/utils/after-page-load.js +24 -0
- package/dist/utils/format.d.ts +13 -3
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +4 -2
- package/dist/utils/index.cjs +27 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +3 -0
- package/package.json +1 -1
- package/src/components/case-studies/entity-quotes-panel.tsx +18 -18
- package/src/components/case-studies/index.ts +8 -1
- package/src/components/chat/entity-cards/campaign-card-admin.tsx +1 -3
- package/src/components/chat/entity-cards/investor-update-card.tsx +6 -1
- package/src/components/chat/hooks/use-ask-prompts.ts +1 -2
- package/src/components/chat/index.ts +22 -5
- package/src/components/embeds/rich-markdown-runtime.tsx +10 -6
- package/src/components/features/cards-strip.tsx +3 -2
- package/src/components/features/command-box.tsx +2 -11
- package/src/components/features/paths-display.tsx +4 -1
- package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +1 -6
- package/src/components/features/walkthrough-video.tsx +8 -1
- package/src/components/icon-display.tsx +6 -1
- package/src/components/interactive-wrapper.tsx +4 -1
- package/src/components/layout/page-heading.tsx +15 -3
- package/src/components/meeting-scheduler/directory.tsx +2 -1
- package/src/components/results-count.tsx +3 -2
- package/src/components/ui/avatar-stack.tsx +5 -1
- package/src/components/ui/button/button-styles.ts +0 -1
- package/src/components/ui/cursor-pagination.tsx +8 -1
- package/src/components/ui/data-table/data-table-row-count.tsx +1 -1
- package/src/components/ui/feature-card.tsx +2 -10
- package/src/components/ui/feature-list.tsx +2 -8
- package/src/components/ui/incident-feed.tsx +2 -13
- package/src/components/ui/leader-row.tsx +0 -1
- package/src/components/ui/markdown/rich/embed-overrides.tsx +11 -1
- package/src/components/ui/product-screen-frame.tsx +1 -6
- package/src/components/ui/status-badge.tsx +5 -1
- package/src/components/ui/status-line.tsx +1 -4
- package/src/components/ui/strip-card.tsx +1 -3
- package/src/components/ui/tag.tsx +3 -1
- package/src/utils/after-page-load.ts +30 -0
- package/src/utils/format.ts +16 -4
- package/src/utils/index.ts +2 -0
|
@@ -15,7 +15,7 @@ var _chunkR3JX4MXDcjs = require('./chunk-R3JX4MXD.cjs');
|
|
|
15
15
|
var _chunkSETFUCZAcjs = require('./chunk-SETFUCZA.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkVFUMM6JCcjs = require('./chunk-VFUMM6JC.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -29,7 +29,7 @@ var _chunkAAECWUNVcjs = require('./chunk-AAECWUNV.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkHY6BCZH7cjs = require('./chunk-HY6BCZH7.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunk32ASZMTVcjs = require('./chunk-32ASZMTV.cjs');
|
|
@@ -743,7 +743,11 @@ function StatusBadgeSkeleton({ variant, className }) {
|
|
|
743
743
|
_chunkXFRBEXQNcjs.UnifiedSkeleton,
|
|
744
744
|
{
|
|
745
745
|
as: "span",
|
|
746
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
746
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
747
|
+
statusBadgeVariants({ variant, colorScheme: null }),
|
|
748
|
+
"box-content h-[1lh] w-12 border-transparent",
|
|
749
|
+
className
|
|
750
|
+
)
|
|
747
751
|
}
|
|
748
752
|
);
|
|
749
753
|
}
|
|
@@ -784,7 +788,15 @@ function EntityIcon({
|
|
|
784
788
|
const identity = _chunkR3JX4MXDcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _14 => _14.url]) ? null : _optionalChain([icon, 'optionalAccess', _15 => _15.name]));
|
|
785
789
|
const held = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
786
790
|
if (held) {
|
|
787
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
791
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
792
|
+
_chunkXFRBEXQNcjs.UnifiedSkeleton,
|
|
793
|
+
{
|
|
794
|
+
as: "span",
|
|
795
|
+
width: size,
|
|
796
|
+
height: size,
|
|
797
|
+
className: _chunk65VVJSQZcjs.cn.call(void 0, "inline-block shrink-0 rounded-md", className)
|
|
798
|
+
}
|
|
799
|
+
);
|
|
788
800
|
}
|
|
789
801
|
if (!_optionalChain([icon, 'optionalAccess', _16 => _16.url]) && _optionalChain([identity, 'optionalAccess', _17 => _17.url])) {
|
|
790
802
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -891,7 +903,7 @@ function escapeRegExp(value) {
|
|
|
891
903
|
function formatDayHead(dateString, style) {
|
|
892
904
|
const ymd = splitYmd(dateString);
|
|
893
905
|
if (!ymd) return dateString;
|
|
894
|
-
return
|
|
906
|
+
return _chunkHY6BCZH7cjs.formatDateWithTimezone.call(void 0, ymd.join("-"), null, style) || dateString;
|
|
895
907
|
}
|
|
896
908
|
function splitYmd(dateString) {
|
|
897
909
|
const head = dateString.split("T")[0];
|
|
@@ -1346,9 +1358,9 @@ function programMetaFormatters(fmt, opts = {}) {
|
|
|
1346
1358
|
|
|
1347
1359
|
// src/utils/program-meta-renderers.ts
|
|
1348
1360
|
var PROGRAM_META_RENDERERS = {
|
|
1349
|
-
date:
|
|
1350
|
-
duration:
|
|
1351
|
-
webinarMeta:
|
|
1361
|
+
date: _chunkHY6BCZH7cjs.formatProgramDate,
|
|
1362
|
+
duration: _chunkHY6BCZH7cjs.formatDurationCompact,
|
|
1363
|
+
webinarMeta: _chunkHY6BCZH7cjs.formatWebinarTimeMeta
|
|
1352
1364
|
};
|
|
1353
1365
|
|
|
1354
1366
|
// src/components/chat/utils/chat-nav-resolution.ts
|
|
@@ -1490,11 +1502,11 @@ function EntityMetadataAuthorCell({
|
|
|
1490
1502
|
const fullName = trimmedName || "Unknown Author";
|
|
1491
1503
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, AUTHOR_CELL_CLASS, className), children: [
|
|
1492
1504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1493
|
-
|
|
1505
|
+
_chunkHY6BCZH7cjs.SquareAvatar,
|
|
1494
1506
|
{
|
|
1495
1507
|
src: author.avatar_url || "",
|
|
1496
1508
|
alt: fullName,
|
|
1497
|
-
fallback:
|
|
1509
|
+
fallback: _chunkHY6BCZH7cjs.nameInitials.call(void 0, fullName, ""),
|
|
1498
1510
|
size: AUTHOR_AVATAR_SIZE,
|
|
1499
1511
|
variant: "round"
|
|
1500
1512
|
}
|
|
@@ -1552,7 +1564,7 @@ function EntityAuthorCard({
|
|
|
1552
1564
|
const hasAuthor = !!_optionalChain([author, 'optionalAccess', _39 => _39.full_name]);
|
|
1553
1565
|
if (!hasAuthor && !renderEmptyAuthor) return null;
|
|
1554
1566
|
const effectiveAuthor = hasAuthor ? author : EMPTY_AUTHOR_PLACEHOLDER;
|
|
1555
|
-
const formatted = publishedAt ?
|
|
1567
|
+
const formatted = publishedAt ? _chunkHY6BCZH7cjs.formatDate.call(void 0, publishedAt) : "";
|
|
1556
1568
|
const dateLabel = formatted === "Invalid Date" ? "" : formatted;
|
|
1557
1569
|
const showDateCell = !!dateLabel;
|
|
1558
1570
|
const extras = _nullishCoalesce(extraCells, () => ( []));
|
|
@@ -2093,7 +2105,14 @@ function SectionHeadingSkeleton({
|
|
|
2093
2105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.heading, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", className: titleWidth }) }),
|
|
2094
2106
|
introLines > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.intro, children: Array.from({ length: introLines }, (_, i) => (
|
|
2095
2107
|
// biome-ignore lint/suspicious/noArrayIndexKey: skeleton lines never reorder
|
|
2096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2109
|
+
_chunkXFRBEXQNcjs.TextLineSkeleton,
|
|
2110
|
+
{
|
|
2111
|
+
type: "inherit",
|
|
2112
|
+
className: i === introLines - 1 && introLines > 1 ? "w-2/3" : "w-full"
|
|
2113
|
+
},
|
|
2114
|
+
i
|
|
2115
|
+
)
|
|
2097
2116
|
)) }) : null
|
|
2098
2117
|
] });
|
|
2099
2118
|
if (!action) return className ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: stack }) : stack;
|
|
@@ -2538,7 +2557,7 @@ function BlogCard({
|
|
|
2538
2557
|
const { src: displayImage, onError: onImageError } = useCoverImageFallback(post.featured_image, placeholderUrl);
|
|
2539
2558
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BlogCardSkeleton, { size, showTypeBadge, className });
|
|
2540
2559
|
if (size === "sm") {
|
|
2541
|
-
const dateStr2 = post.published_at ?
|
|
2560
|
+
const dateStr2 = post.published_at ? _chunkHY6BCZH7cjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2542
2561
|
const firstCategory = _optionalChain([post, 'access', _58 => _58.categories, 'optionalAccess', _59 => _59.find, 'call', _60 => _60((c) => c && c.name), 'optionalAccess', _61 => _61.name]);
|
|
2543
2562
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk65VVJSQZcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
|
|
2544
2563
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2568,7 +2587,7 @@ function BlogCard({
|
|
|
2568
2587
|
] });
|
|
2569
2588
|
}
|
|
2570
2589
|
if (size === "portrait") {
|
|
2571
|
-
const dateStr2 = post.published_at ?
|
|
2590
|
+
const dateStr2 = post.published_at ? _chunkHY6BCZH7cjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2572
2591
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2573
2592
|
EntityPortraitCard,
|
|
2574
2593
|
{
|
|
@@ -2589,7 +2608,7 @@ function BlogCard({
|
|
|
2589
2608
|
}
|
|
2590
2609
|
);
|
|
2591
2610
|
}
|
|
2592
|
-
const dateStr = post.published_at ?
|
|
2611
|
+
const dateStr = post.published_at ? _chunkHY6BCZH7cjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2593
2612
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: _chunk65VVJSQZcjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, BLOG_CARD_FRAME, className), role: "article", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: "flex h-full flex-col focus:outline-none", children: [
|
|
2594
2613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, BLOG_CARD_COVER, "bg-ods-bg"), children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2595
2614
|
_chunkE76ONBKFcjs.next_image_default,
|
|
@@ -3116,7 +3135,7 @@ function CustomerInterviewCard({
|
|
|
3116
3135
|
// src/components/chat/types/entities/investor-update.ts
|
|
3117
3136
|
function formatInvestorUpdatePeriod(start, end, options) {
|
|
3118
3137
|
if (!start && !end) return "";
|
|
3119
|
-
const fmt = (d) =>
|
|
3138
|
+
const fmt = (d) => _chunkHY6BCZH7cjs.formatDateWithTimezone.call(void 0, d, null, _optionalChain([options, 'optionalAccess', _129 => _129.monthFormat]) === "long" ? "monthYear" : "monthYearShort") || "?";
|
|
3120
3139
|
const s = start ? fmt(start) : "?";
|
|
3121
3140
|
const e = end ? fmt(end) : "?";
|
|
3122
3141
|
return `${s} - ${e}`;
|
|
@@ -3144,7 +3163,15 @@ function InvestorUpdateCardSkeleton({
|
|
|
3144
3163
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `block h-full ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AdminContentCardSkeleton, { actions: false, subtitleRow: false }) });
|
|
3145
3164
|
}
|
|
3146
3165
|
if (size === "sm") {
|
|
3147
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3166
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3167
|
+
CompactCardSkeleton,
|
|
3168
|
+
{
|
|
3169
|
+
titleWidth: "w-1/2",
|
|
3170
|
+
titleBadges: ["w-8"],
|
|
3171
|
+
rows: [{ width: "w-1/3" }, { width: "w-11/12" }],
|
|
3172
|
+
className
|
|
3173
|
+
}
|
|
3174
|
+
);
|
|
3148
3175
|
}
|
|
3149
3176
|
return null;
|
|
3150
3177
|
}
|
|
@@ -3361,7 +3388,7 @@ function OnboardingGuideCard({
|
|
|
3361
3388
|
const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
|
|
3362
3389
|
const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
|
|
3363
3390
|
const stepLabel = typeof guide.step_order === "number" ? String(guide.step_order).padStart(2, "0") : "\u2014";
|
|
3364
|
-
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ?
|
|
3391
|
+
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ? _chunkHY6BCZH7cjs.formatDurationMMSS.call(void 0, Math.floor(guide.highlight_video_duration_ms / 1e3)) : "";
|
|
3365
3392
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3366
3393
|
_chunkV45KLJQPcjs.next_link_default,
|
|
3367
3394
|
{
|
|
@@ -3729,7 +3756,7 @@ function RoadmapCard({
|
|
|
3729
3756
|
]
|
|
3730
3757
|
}
|
|
3731
3758
|
) : null,
|
|
3732
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3759
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVFUMM6JCcjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null
|
|
3733
3760
|
] }),
|
|
3734
3761
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: item.description || COMPACT_CARD_ROW_FILLER }) })
|
|
3735
3762
|
] })
|
|
@@ -3807,7 +3834,7 @@ function RoadmapCard({
|
|
|
3807
3834
|
)
|
|
3808
3835
|
] }),
|
|
3809
3836
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROADMAP_CARD_FOOTER_END, children: [
|
|
3810
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3837
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVFUMM6JCcjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null,
|
|
3811
3838
|
item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3812
3839
|
_chunkTF5D5MNOcjs.Button,
|
|
3813
3840
|
{
|
|
@@ -3904,7 +3931,7 @@ function ProgramCardSkeleton({
|
|
|
3904
3931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { as: "span", type: "inherit", className: "w-40" }) }),
|
|
3905
3932
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { as: "span", type: "h4", lines: 3, className: "w-full" }),
|
|
3906
3933
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: [
|
|
3907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3934
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatarSkeleton, { ...EDITORIAL_PERSON_AVATAR, className: "shrink-0" }),
|
|
3908
3935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { as: "span", type: "h6", className: "w-40" })
|
|
3909
3936
|
] })
|
|
3910
3937
|
] })
|
|
@@ -3923,9 +3950,9 @@ function ProgramCardSkeleton({
|
|
|
3923
3950
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { as: "span", type: "inherit", className: "w-40" })
|
|
3924
3951
|
] }),
|
|
3925
3952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_DESCRIPTION, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { as: "span", type: "inherit", lines: 3, className: "w-full" }) }),
|
|
3926
|
-
tags && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: Array.from({ length: DEFAULT_TAGS_FOLD }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3953
|
+
tags && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: Array.from({ length: DEFAULT_TAGS_FOLD }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.TagSkeleton, {}, i)) })
|
|
3927
3954
|
] }),
|
|
3928
|
-
hosts > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_HOSTS_ROW, children: Array.from({ length: hosts }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3955
|
+
hosts > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_HOSTS_ROW, children: Array.from({ length: hosts }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatarSkeleton, { variant: "round", size: "sm" }, i)) })
|
|
3929
3956
|
] }),
|
|
3930
3957
|
media > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_GALLERY_ROW, children: Array.from({ length: media }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: DEFAULT_GALLERY_THUMB }, i)) }),
|
|
3931
3958
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_FOOTER, children: actionLabel ? (
|
|
@@ -4071,7 +4098,7 @@ function ProgramEditorialCard({
|
|
|
4071
4098
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-3 min-h-[3lh] text-ods-text-secondary text-h4", children: description }),
|
|
4072
4099
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: profile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
4073
4100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4074
|
-
|
|
4101
|
+
_chunkHY6BCZH7cjs.SquareAvatar,
|
|
4075
4102
|
{
|
|
4076
4103
|
...EDITORIAL_PERSON_AVATAR,
|
|
4077
4104
|
src: profile.avatarUrl || void 0,
|
|
@@ -4145,7 +4172,7 @@ function ProgramCard({
|
|
|
4145
4172
|
// Compact densities join plain strings, so the zone rides inline here; the
|
|
4146
4173
|
// default density below renders it as its own styled span instead.
|
|
4147
4174
|
} = programMetaLine(item, config.type, programMetaFormatters(PROGRAM_META_RENDERERS));
|
|
4148
|
-
const compactDate =
|
|
4175
|
+
const compactDate = _chunkHY6BCZH7cjs.formatProgramDate.call(void 0, zonedDate, "medium");
|
|
4149
4176
|
if (size === "portrait") {
|
|
4150
4177
|
const profile = programItemToStripProfile(item);
|
|
4151
4178
|
const dateMeta = compactMetaLine;
|
|
@@ -4178,7 +4205,7 @@ function ProgramCard({
|
|
|
4178
4205
|
description: item.description,
|
|
4179
4206
|
cover: coverImage || placeholderUrl || null,
|
|
4180
4207
|
eyebrow,
|
|
4181
|
-
date:
|
|
4208
|
+
date: _chunkHY6BCZH7cjs.formatProgramDate.call(void 0, zonedDate, "weekday"),
|
|
4182
4209
|
typeMeta: compactTypeMetaValue,
|
|
4183
4210
|
profile: programItemToStripProfile(item),
|
|
4184
4211
|
playable: isPlayable,
|
|
@@ -4206,7 +4233,7 @@ function ProgramCard({
|
|
|
4206
4233
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) })
|
|
4207
4234
|
] });
|
|
4208
4235
|
}
|
|
4209
|
-
const dateFormat =
|
|
4236
|
+
const dateFormat = _chunkHY6BCZH7cjs.formatProgramDate.call(void 0, zonedDate, "weekday");
|
|
4210
4237
|
const { typeMeta: defaultTypeMeta, audience: defaultAudience } = programMetaLine(
|
|
4211
4238
|
item,
|
|
4212
4239
|
config.type,
|
|
@@ -4237,7 +4264,7 @@ function ProgramCard({
|
|
|
4237
4264
|
return null;
|
|
4238
4265
|
};
|
|
4239
4266
|
const endAt = "end_at" in item && typeof item.end_at === "string" ? item.end_at : null;
|
|
4240
|
-
const dateLabel = _nullishCoalesce(
|
|
4267
|
+
const dateLabel = _nullishCoalesce(_chunkHY6BCZH7cjs.formatProgramDateRange.call(void 0, zonedDate, endAt), () => ( dateFormat));
|
|
4241
4268
|
const cardHeader = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_HEADER, children: [
|
|
4242
4269
|
coverImage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_COVER_FRAME, children: [
|
|
4243
4270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4266,12 +4293,12 @@ function ProgramCard({
|
|
|
4266
4293
|
] })
|
|
4267
4294
|
] }),
|
|
4268
4295
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: DEFAULT_DESCRIPTION, children: item.description }),
|
|
4269
|
-
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4296
|
+
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.Tag, { as: "span", label: tag, variant: "outline" }, tag)) })
|
|
4270
4297
|
] }),
|
|
4271
4298
|
hosts.length > 0 && // A type whose cards always show hosts (`cardShowsHosts`) draws them while loading; elsewhere only some
|
|
4272
4299
|
// records have hosts, so the row is record-dependent.
|
|
4273
4300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_HOSTS_ROW, "data-loading-optional": config.cardShowsHosts ? void 0 : true, children: hosts.map((host, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4274
|
-
|
|
4301
|
+
_chunkHY6BCZH7cjs.SquareAvatar,
|
|
4275
4302
|
{
|
|
4276
4303
|
variant: "round",
|
|
4277
4304
|
src: host.avatar || void 0,
|