@flamingo-stack/openframe-frontend-core 0.0.387 → 0.0.388
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/{chunk-DU2X2MH2.js → chunk-23BJ64AY.js} +2 -2
- package/dist/{chunk-OGNKGDHT.js → chunk-35C3PUUN.js} +4 -4
- package/dist/{chunk-RUHE3RJK.cjs → chunk-6ZAQOYW4.cjs} +62 -67
- package/dist/chunk-6ZAQOYW4.cjs.map +1 -0
- package/dist/{chunk-MVY4ZKQR.js → chunk-7CEJO3FE.js} +2 -2
- package/dist/{chunk-EHVRW3WB.js → chunk-7UQ74ZJN.js} +2 -2
- package/dist/{chunk-EULRZYQH.js → chunk-ATKRYY4U.js} +9 -14
- package/dist/chunk-ATKRYY4U.js.map +1 -0
- package/dist/{chunk-SOAWTQXO.cjs → chunk-B4JRV4FB.cjs} +31 -28
- package/dist/chunk-B4JRV4FB.cjs.map +1 -0
- package/dist/{chunk-GPTS2NXW.js → chunk-BGYWTU2E.js} +12 -9
- package/dist/chunk-BGYWTU2E.js.map +1 -0
- package/dist/{chunk-3BPVTHOW.js → chunk-DM3JIOFA.js} +4 -4
- package/dist/{chunk-XGLZK25V.js → chunk-EQKTBIKH.js} +2 -2
- package/dist/{chunk-SGULN3RX.cjs → chunk-EYQESL6X.cjs} +7 -7
- package/dist/{chunk-SGULN3RX.cjs.map → chunk-EYQESL6X.cjs.map} +1 -1
- package/dist/{chunk-N2LW5NHS.js → chunk-FS4FVNOU.js} +2 -2
- package/dist/{chunk-OLCNA32C.cjs → chunk-HIODHJCJ.cjs} +15 -15
- package/dist/{chunk-OLCNA32C.cjs.map → chunk-HIODHJCJ.cjs.map} +1 -1
- package/dist/{chunk-44ENRZZJ.cjs → chunk-HQG5AY64.cjs} +12 -12
- package/dist/{chunk-44ENRZZJ.cjs.map → chunk-HQG5AY64.cjs.map} +1 -1
- package/dist/{chunk-3L4B7MBD.cjs → chunk-KYN2GYUI.cjs} +31 -31
- package/dist/{chunk-3L4B7MBD.cjs.map → chunk-KYN2GYUI.cjs.map} +1 -1
- package/dist/{chunk-CIH2LZI7.cjs → chunk-ONXN77KP.cjs} +62 -62
- package/dist/{chunk-CIH2LZI7.cjs.map → chunk-ONXN77KP.cjs.map} +1 -1
- package/dist/{chunk-OX75ZFN6.js → chunk-SENYQRPF.js} +2 -2
- package/dist/{chunk-SECF2KWQ.cjs → chunk-SNFSLYVA.cjs} +5 -5
- package/dist/{chunk-SECF2KWQ.cjs.map → chunk-SNFSLYVA.cjs.map} +1 -1
- package/dist/{chunk-3KA5L7LC.js → chunk-UCQWQ7LM.js} +2 -2
- package/dist/{chunk-ANPV7GZT.js → chunk-VCRUAKOJ.js} +5701 -5281
- package/dist/chunk-VCRUAKOJ.js.map +1 -0
- package/dist/{chunk-DKN425XR.cjs → chunk-VOPTCR5I.cjs} +1604 -1184
- package/dist/chunk-VOPTCR5I.cjs.map +1 -0
- package/dist/{chunk-DO7LOWFE.cjs → chunk-WIKFWION.cjs} +9 -9
- package/dist/{chunk-DO7LOWFE.cjs.map → chunk-WIKFWION.cjs.map} +1 -1
- package/dist/{chunk-ADEP6E3Z.cjs → chunk-YKPQINSZ.cjs} +26 -26
- package/dist/{chunk-ADEP6E3Z.cjs.map → chunk-YKPQINSZ.cjs.map} +1 -1
- package/dist/{chunk-POJRURML.cjs → chunk-ZVFDJ35S.cjs} +37 -37
- package/dist/{chunk-POJRURML.cjs.map → chunk-ZVFDJ35S.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/entity-video-section.d.ts +15 -3
- package/dist/components/features/entity-video-section.d.ts.map +1 -1
- package/dist/components/features/index.cjs +8 -2
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.d.ts +2 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +11 -5
- package/dist/components/features/video-bites-display.d.ts +12 -26
- package/dist/components/features/video-bites-display.d.ts.map +1 -1
- package/dist/components/features/video-bites-shared.cjs +24 -0
- package/dist/components/features/video-bites-shared.cjs.map +1 -0
- package/dist/components/features/video-bites-shared.d.ts +47 -0
- package/dist/components/features/video-bites-shared.d.ts.map +1 -0
- package/dist/components/features/video-bites-shared.js +20 -0
- package/dist/components/features/video-bites-shared.js.map +1 -0
- package/dist/components/features/video-bites-strip.d.ts +75 -0
- package/dist/components/features/video-bites-strip.d.ts.map +1 -0
- package/dist/components/features/video-ratio-tabs.d.ts +6 -9
- package/dist/components/features/video-ratio-tabs.d.ts.map +1 -1
- package/dist/components/features/video.d.ts +19 -0
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +128 -165
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +333 -370
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/shared/product-release/release-detail-page.d.ts +6 -7
- package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
- package/dist/components/square-avatar.d.ts +3 -1
- package/dist/components/square-avatar.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/components/user-display.d.ts +5 -1
- package/dist/components/user-display.d.ts.map +1 -1
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -5
- package/dist/types/case-study.d.ts +18 -0
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/types/video-processing.d.ts +11 -0
- package/dist/types/video-processing.d.ts.map +1 -1
- package/package.json +7 -1
- package/src/components/features/entity-video-section.tsx +26 -5
- package/src/components/features/index.ts +6 -3
- package/src/components/features/video-bites-display.tsx +17 -189
- package/src/components/features/video-bites-shared.ts +62 -0
- package/src/components/features/video-bites-strip.tsx +494 -0
- package/src/components/features/video-ratio-tabs.tsx +15 -19
- package/src/components/features/video.tsx +134 -3
- package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +10 -9
- package/src/components/shared/product-release/release-detail-page.tsx +12 -18
- package/src/components/square-avatar.tsx +5 -2
- package/src/components/user-display.tsx +14 -4
- package/src/stories/VideoBitesStrip.stories.tsx +82 -0
- package/src/types/case-study.ts +23 -0
- package/src/types/video-processing.ts +11 -0
- package/dist/chunk-ANPV7GZT.js.map +0 -1
- package/dist/chunk-DKN425XR.cjs.map +0 -1
- package/dist/chunk-EULRZYQH.js.map +0 -1
- package/dist/chunk-GPTS2NXW.js.map +0 -1
- package/dist/chunk-RUHE3RJK.cjs.map +0 -1
- package/dist/chunk-SOAWTQXO.cjs.map +0 -1
- /package/dist/{chunk-DU2X2MH2.js.map → chunk-23BJ64AY.js.map} +0 -0
- /package/dist/{chunk-OGNKGDHT.js.map → chunk-35C3PUUN.js.map} +0 -0
- /package/dist/{chunk-MVY4ZKQR.js.map → chunk-7CEJO3FE.js.map} +0 -0
- /package/dist/{chunk-EHVRW3WB.js.map → chunk-7UQ74ZJN.js.map} +0 -0
- /package/dist/{chunk-3BPVTHOW.js.map → chunk-DM3JIOFA.js.map} +0 -0
- /package/dist/{chunk-XGLZK25V.js.map → chunk-EQKTBIKH.js.map} +0 -0
- /package/dist/{chunk-N2LW5NHS.js.map → chunk-FS4FVNOU.js.map} +0 -0
- /package/dist/{chunk-OX75ZFN6.js.map → chunk-SENYQRPF.js.map} +0 -0
- /package/dist/{chunk-3KA5L7LC.js.map → chunk-UCQWQ7LM.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
TASK_TYPE_TEXT_COLORS,
|
|
12
12
|
getStatusColorScheme,
|
|
13
13
|
init_pagination
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VCRUAKOJ.js";
|
|
15
15
|
import {
|
|
16
16
|
init_next_navigation,
|
|
17
17
|
usePathname,
|
|
@@ -460,4 +460,4 @@ export {
|
|
|
460
460
|
DevCardRowSkeletonList,
|
|
461
461
|
DeliveryRow
|
|
462
462
|
};
|
|
463
|
-
//# sourceMappingURL=chunk-
|
|
463
|
+
//# sourceMappingURL=chunk-23BJ64AY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EQKTBIKH.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
EmptyState,
|
|
11
11
|
UnifiedPagination,
|
|
12
12
|
init_unified_pagination
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-23BJ64AY.js";
|
|
14
14
|
import {
|
|
15
15
|
AlertDialog,
|
|
16
16
|
AlertDialogAction,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
getStatusColorScheme,
|
|
38
38
|
useChatAttachments,
|
|
39
39
|
useChatIdentity
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VCRUAKOJ.js";
|
|
41
41
|
import {
|
|
42
42
|
STICKY_HEADER_OFFSET_PX,
|
|
43
43
|
embedAuthedFetch,
|
|
@@ -1913,4 +1913,4 @@ export {
|
|
|
1913
1913
|
HelpCenterCreateForm,
|
|
1914
1914
|
HelpCenterList
|
|
1915
1915
|
};
|
|
1916
|
-
//# sourceMappingURL=chunk-
|
|
1916
|
+
//# sourceMappingURL=chunk-35C3PUUN.js.map
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHIODHJCJcjs = require('./chunk-HIODHJCJ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkSNFSLYVAcjs = require('./chunk-SNFSLYVA.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk2U3YPWHGcjs = require('./chunk-2U3YPWHG.cjs');
|
|
@@ -40,7 +40,9 @@ var _chunk2U3YPWHGcjs = require('./chunk-2U3YPWHG.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var _chunkVOPTCR5Icjs = require('./chunk-VOPTCR5I.cjs');
|
|
44
46
|
|
|
45
47
|
|
|
46
48
|
|
|
@@ -171,7 +173,7 @@ function PersistentPaginationWrapper({
|
|
|
171
173
|
const displayCurrentPage = hasResults ? currentPage : 1;
|
|
172
174
|
const isPaginationDisabled = isLoading;
|
|
173
175
|
const hasNoResults = !hasResults && !isLoading;
|
|
174
|
-
const PaginationComponent = (
|
|
176
|
+
const PaginationComponent = (_chunkHIODHJCJcjs.init_unified_pagination.call(void 0, ), _chunkVRHGVLSLcjs.__toCommonJS.call(void 0, _chunkHIODHJCJcjs.unified_pagination_exports)).UnifiedPagination;
|
|
175
177
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
176
178
|
"div",
|
|
177
179
|
{
|
|
@@ -230,8 +232,8 @@ function PersistentPaginationWrapper({
|
|
|
230
232
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
231
233
|
|
|
232
234
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
233
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
234
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
235
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkVOPTCR5Icjs.DEV_SECTION_PARAM_KEYS.search;
|
|
236
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkVOPTCR5Icjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
235
237
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
236
238
|
function ReleaseRow({
|
|
237
239
|
release,
|
|
@@ -240,17 +242,17 @@ function ReleaseRow({
|
|
|
240
242
|
}) {
|
|
241
243
|
const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
|
|
242
244
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
243
|
-
const cta =
|
|
245
|
+
const cta = _chunkVOPTCR5Icjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
244
246
|
type: "product_release",
|
|
245
247
|
slug: release.slug,
|
|
246
248
|
basePath,
|
|
247
249
|
platforms: release.product_release_platforms
|
|
248
250
|
});
|
|
249
|
-
const { target, rel } =
|
|
251
|
+
const { target, rel } = _chunkVOPTCR5Icjs.useEntityCardLink.call(void 0, { href: cta.href, targetPlatform: cta.targetPlatform });
|
|
250
252
|
const onClick = (e) => {
|
|
251
|
-
if (e.defaultPrevented ||
|
|
253
|
+
if (e.defaultPrevented || _chunkVOPTCR5Icjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
252
254
|
e.preventDefault();
|
|
253
|
-
|
|
255
|
+
_chunkVOPTCR5Icjs.executeNavigationImperative.call(void 0, {
|
|
254
256
|
runtime,
|
|
255
257
|
href: cta.href,
|
|
256
258
|
targetPlatform: cta.targetPlatform,
|
|
@@ -258,7 +260,7 @@ function ReleaseRow({
|
|
|
258
260
|
});
|
|
259
261
|
};
|
|
260
262
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
-
|
|
263
|
+
_chunkVOPTCR5Icjs.ProductReleaseCard,
|
|
262
264
|
{
|
|
263
265
|
size: "lg",
|
|
264
266
|
title: release.title,
|
|
@@ -274,7 +276,7 @@ function ProductReleasesView({
|
|
|
274
276
|
initialData,
|
|
275
277
|
itemsPerPage = 5,
|
|
276
278
|
basePath = "/releases",
|
|
277
|
-
buildCardProps =
|
|
279
|
+
buildCardProps = _chunkVOPTCR5Icjs.buildProductReleaseCardProps,
|
|
278
280
|
searchParamKey = DEFAULT_SEARCH_PARAM_KEY,
|
|
279
281
|
statusParamKey = DEFAULT_STATUS_PARAM_KEY,
|
|
280
282
|
pageParamKey = DEFAULT_PAGE_PARAM_KEY,
|
|
@@ -312,10 +314,10 @@ function ProductReleasesView({
|
|
|
312
314
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
313
315
|
};
|
|
314
316
|
if (error) {
|
|
315
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
317
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
316
318
|
}
|
|
317
319
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full flex flex-col gap-[40px]", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[600px]", children: showEmpty ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[600px] flex items-center justify-center", children: hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
318
|
-
|
|
320
|
+
_chunkHIODHJCJcjs.EmptyState,
|
|
319
321
|
{
|
|
320
322
|
type: "search",
|
|
321
323
|
title: "No releases found",
|
|
@@ -325,7 +327,7 @@ function ProductReleasesView({
|
|
|
325
327
|
onCtaClick: resetFilters
|
|
326
328
|
}
|
|
327
329
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
328
|
-
|
|
330
|
+
_chunkHIODHJCJcjs.EmptyState,
|
|
329
331
|
{
|
|
330
332
|
type: "generic",
|
|
331
333
|
title: "No releases available",
|
|
@@ -340,7 +342,7 @@ function ProductReleasesView({
|
|
|
340
342
|
"div",
|
|
341
343
|
{
|
|
342
344
|
style: { visibility: isLoading || hasData ? "visible" : "hidden" },
|
|
343
|
-
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
345
|
+
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.ProductReleaseCardSkeleton, { size: "lg" }) : release ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReleaseRow, { release, basePath, buildCardProps }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.ProductReleaseCardSkeleton, { size: "lg" })
|
|
344
346
|
},
|
|
345
347
|
_nullishCoalesce(_optionalChain([release, 'optionalAccess', _5 => _5.id]), () => ( `slot-${i}`))
|
|
346
348
|
);
|
|
@@ -388,10 +390,10 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
388
390
|
mediaItem.id || index
|
|
389
391
|
);
|
|
390
392
|
}
|
|
391
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
393
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.Video, { url: mediaItem.media_url, layout: "native" }) }, mediaItem.id || index);
|
|
392
394
|
}) }),
|
|
393
395
|
galleryImages.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
394
|
-
|
|
396
|
+
_chunkVOPTCR5Icjs.ImageGalleryModal,
|
|
395
397
|
{
|
|
396
398
|
images: galleryImages,
|
|
397
399
|
isOpen: galleryOpen,
|
|
@@ -408,7 +410,7 @@ _chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
|
408
410
|
|
|
409
411
|
var _lucidereact = require('lucide-react');
|
|
410
412
|
|
|
411
|
-
var DefaultMarkdownRenderer =
|
|
413
|
+
var DefaultMarkdownRenderer = _chunkVOPTCR5Icjs.RichMarkdownRenderer;
|
|
412
414
|
function ReleaseDetailPage({
|
|
413
415
|
authorHref,
|
|
414
416
|
slug,
|
|
@@ -417,7 +419,6 @@ function ReleaseDetailPage({
|
|
|
417
419
|
MarkdownRenderer = DefaultMarkdownRenderer,
|
|
418
420
|
RoadmapSection,
|
|
419
421
|
DeliverySection,
|
|
420
|
-
VideoSection,
|
|
421
422
|
VideoDisplaySection,
|
|
422
423
|
roadmapApiEndpoint = "/api/roadmap",
|
|
423
424
|
deliveryApiEndpoint = "/api/delivery",
|
|
@@ -426,7 +427,7 @@ function ReleaseDetailPage({
|
|
|
426
427
|
shell = true
|
|
427
428
|
}) {
|
|
428
429
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
429
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
430
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
430
431
|
const { data: fetchedRelease, error, isLoading } = useRelease(initialData ? void 0 : slug);
|
|
431
432
|
const release = initialData || fetchedRelease;
|
|
432
433
|
const showBackButton = backButton !== false;
|
|
@@ -470,7 +471,7 @@ function ReleaseDetailPage({
|
|
|
470
471
|
return renderShell(
|
|
471
472
|
// Match the loaded page's top offset (TitleBlock's
|
|
472
473
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
474
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSNFSLYVAcjs.DetailPageSkeleton, { bare: true, metadataColumns: 4, showImageGallery: true }) })
|
|
474
475
|
);
|
|
475
476
|
}
|
|
476
477
|
if (error || !release) {
|
|
@@ -506,7 +507,7 @@ function ReleaseDetailPage({
|
|
|
506
507
|
const improvements = release.improvements;
|
|
507
508
|
return renderShell(
|
|
508
509
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
509
|
-
|
|
510
|
+
_chunkVOPTCR5Icjs.PageLayout,
|
|
510
511
|
{
|
|
511
512
|
title: releaseTitle,
|
|
512
513
|
subtitle: `Version: ${releaseVersion}`,
|
|
@@ -515,7 +516,7 @@ function ReleaseDetailPage({
|
|
|
515
516
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
516
517
|
children: [
|
|
517
518
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
|
|
518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
519
520
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 md:grid-cols-4 border border-ods-border rounded-md overflow-hidden w-full", children: [
|
|
520
521
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border-b md:border-b-0 md:border-r border-ods-border p-4 flex flex-col gap-3", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
521
522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -526,11 +527,11 @@ function ReleaseDetailPage({
|
|
|
526
527
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Release Status" })
|
|
527
528
|
] }) }),
|
|
528
529
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border-b md:border-b-0 md:border-r border-ods-border p-4 flex flex-col gap-3", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
529
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children:
|
|
530
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: _chunkVOPTCR5Icjs.formatReleaseDate.call(void 0, releaseDate) }),
|
|
530
531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Release Date" })
|
|
531
532
|
] }) }),
|
|
532
533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
533
|
-
|
|
534
|
+
_chunkVOPTCR5Icjs.EntityMetadataAuthorCell,
|
|
534
535
|
{
|
|
535
536
|
author: _nullishCoalesce(author, () => ( { full_name: null, avatar_url: null })),
|
|
536
537
|
authorHref: _optionalChain([author, 'optionalAccess', _6 => _6.full_name]) ? authorHref : void 0
|
|
@@ -548,14 +549,16 @@ function ReleaseDetailPage({
|
|
|
548
549
|
highlightVideoThumbnail,
|
|
549
550
|
title: releaseTitle,
|
|
550
551
|
videoBites,
|
|
551
|
-
bitesTitle:
|
|
552
|
+
bitesTitle: _chunkVOPTCR5Icjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
552
553
|
filterPublishedBites: true,
|
|
554
|
+
bitesProfile: _chunkVOPTCR5Icjs.toStripProfile.call(void 0, author),
|
|
555
|
+
bitesHref: typeof release.slug === "string" ? `/releases/${release.slug}` : void 0,
|
|
553
556
|
srtContent: _optionalChain([release, 'optionalAccess', _7 => _7.srt_content]),
|
|
554
557
|
captionsUrl: _optionalChain([release, 'optionalAccess', _8 => _8.captionsUrl])
|
|
555
558
|
}
|
|
556
559
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
557
560
|
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
558
|
-
|
|
561
|
+
_chunkVOPTCR5Icjs.Video,
|
|
559
562
|
{
|
|
560
563
|
kind: "youtube",
|
|
561
564
|
url: youtubeUrl,
|
|
@@ -564,7 +567,7 @@ function ReleaseDetailPage({
|
|
|
564
567
|
}
|
|
565
568
|
),
|
|
566
569
|
!youtubeUrl && mainVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
567
|
-
|
|
570
|
+
_chunkVOPTCR5Icjs.Video,
|
|
568
571
|
{
|
|
569
572
|
url: mainVideoUrl,
|
|
570
573
|
srtContent: _optionalChain([release, 'optionalAccess', _9 => _9.srt_content]),
|
|
@@ -573,7 +576,7 @@ function ReleaseDetailPage({
|
|
|
573
576
|
}
|
|
574
577
|
),
|
|
575
578
|
highlightVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
576
|
-
|
|
579
|
+
_chunkVOPTCR5Icjs.Video,
|
|
577
580
|
{
|
|
578
581
|
url: highlightVideoUrl,
|
|
579
582
|
poster: highlightVideoThumbnail,
|
|
@@ -582,7 +585,7 @@ function ReleaseDetailPage({
|
|
|
582
585
|
)
|
|
583
586
|
] }),
|
|
584
587
|
releaseContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-primary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: releaseContent }) }),
|
|
585
|
-
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
588
|
+
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.Card, { className: "border-red-500 bg-red-500/10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.CardContent, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
586
589
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-6 w-6 text-red-500" }),
|
|
587
590
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
588
591
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-bold text-red-500 text-lg", children: "Breaking Changes" }),
|
|
@@ -590,7 +593,7 @@ function ReleaseDetailPage({
|
|
|
590
593
|
] })
|
|
591
594
|
] }) }) }),
|
|
592
595
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
593
|
-
|
|
596
|
+
_chunkVOPTCR5Icjs.ReleaseChangelogSection,
|
|
594
597
|
{
|
|
595
598
|
title: "Breaking Changes",
|
|
596
599
|
entries: breakingChanges || [],
|
|
@@ -601,7 +604,7 @@ function ReleaseDetailPage({
|
|
|
601
604
|
}
|
|
602
605
|
),
|
|
603
606
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
604
|
-
|
|
607
|
+
_chunkVOPTCR5Icjs.ReleaseChangelogSection,
|
|
605
608
|
{
|
|
606
609
|
title: "Features Added",
|
|
607
610
|
entries: featuresAdded || [],
|
|
@@ -611,7 +614,7 @@ function ReleaseDetailPage({
|
|
|
611
614
|
}
|
|
612
615
|
),
|
|
613
616
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
614
|
-
|
|
617
|
+
_chunkVOPTCR5Icjs.ReleaseChangelogSection,
|
|
615
618
|
{
|
|
616
619
|
title: "Bugs Fixed",
|
|
617
620
|
entries: bugFixed || [],
|
|
@@ -621,7 +624,7 @@ function ReleaseDetailPage({
|
|
|
621
624
|
}
|
|
622
625
|
),
|
|
623
626
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
-
|
|
627
|
+
_chunkVOPTCR5Icjs.ReleaseChangelogSection,
|
|
625
628
|
{
|
|
626
629
|
title: "Improvements",
|
|
627
630
|
entries: improvements || [],
|
|
@@ -630,14 +633,6 @@ function ReleaseDetailPage({
|
|
|
630
633
|
MarkdownRenderer
|
|
631
634
|
}
|
|
632
635
|
),
|
|
633
|
-
!VideoDisplaySection && VideoSection && videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
634
|
-
VideoSection,
|
|
635
|
-
{
|
|
636
|
-
bites: videoBites,
|
|
637
|
-
title: "Video Clips",
|
|
638
|
-
filterPublished: true
|
|
639
|
-
}
|
|
640
|
-
),
|
|
641
636
|
RoadmapSection && (roadmapLoading || roadmapTasks.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 w-full", children: [
|
|
642
637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Roadmap Items" }),
|
|
643
638
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -660,7 +655,7 @@ function ReleaseDetailPage({
|
|
|
660
655
|
(() => {
|
|
661
656
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
662
657
|
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
663
|
-
|
|
658
|
+
_chunkVOPTCR5Icjs.FadePreview,
|
|
664
659
|
{
|
|
665
660
|
hiddenCount: deliveryCount - 1,
|
|
666
661
|
collapsedHeight: 300,
|
|
@@ -672,7 +667,7 @@ function ReleaseDetailPage({
|
|
|
672
667
|
] }),
|
|
673
668
|
(_optionalChain([githubReleases, 'optionalAccess', _11 => _11.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _12 => _12.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1 w-full", children: [
|
|
674
669
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Links" }),
|
|
675
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.Card, { className: "bg-ods-card border-ods-border p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
676
671
|
githubReleases && githubReleases.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: githubReleases.map((ghRelease) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-1", children: [
|
|
677
672
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLWNPMLIHcjs.GitHubIcon, { className: "shrink-0", width: 24, height: 24, color: "var(--color-text-secondary)" }),
|
|
678
673
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary", children: "Github Release" }),
|
|
@@ -746,7 +741,7 @@ function ReleaseDetailPage({
|
|
|
746
741
|
// src/components/shared/product-release/release-detail-skeleton.tsx
|
|
747
742
|
|
|
748
743
|
function ReleaseDetailSkeleton() {
|
|
749
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
744
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSNFSLYVAcjs.DetailPageSkeleton, { metadataColumns: 4, showImageGallery: true });
|
|
750
745
|
}
|
|
751
746
|
|
|
752
747
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -907,10 +902,10 @@ function RoadmapGridSingle({
|
|
|
907
902
|
// `useScrollToHash` in `roadmap-view.tsx` finds the card by id
|
|
908
903
|
// and scrolls.
|
|
909
904
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
910
|
-
|
|
905
|
+
_chunkVOPTCR5Icjs.RoadmapCard,
|
|
911
906
|
{
|
|
912
907
|
item,
|
|
913
|
-
id:
|
|
908
|
+
id: _chunkVOPTCR5Icjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
914
909
|
userVote: getVote(item.id),
|
|
915
910
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
916
911
|
isVoting: votingTasks.has(item.id)
|
|
@@ -990,7 +985,7 @@ function RoadmapGrid({
|
|
|
990
985
|
}, [hasActiveFilters, sortedQuartersKey, isInitialized, quartersToKeepClosed]);
|
|
991
986
|
if (items.length === 0) {
|
|
992
987
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
993
|
-
|
|
988
|
+
_chunkHIODHJCJcjs.EmptyState,
|
|
994
989
|
{
|
|
995
990
|
type: "generic",
|
|
996
991
|
title: "No roadmap items",
|
|
@@ -1011,7 +1006,7 @@ function RoadmapGrid({
|
|
|
1011
1006
|
);
|
|
1012
1007
|
}
|
|
1013
1008
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1014
|
-
|
|
1009
|
+
_chunkVOPTCR5Icjs.Accordion,
|
|
1015
1010
|
{
|
|
1016
1011
|
type: "multiple",
|
|
1017
1012
|
value: expandedQuarters,
|
|
@@ -1021,13 +1016,13 @@ function RoadmapGrid({
|
|
|
1021
1016
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _21 => _21[quarter], 'optionalAccess', _22 => _22.length]) || 0;
|
|
1022
1017
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1023
1018
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1024
|
-
|
|
1019
|
+
_chunkVOPTCR5Icjs.AccordionItem,
|
|
1025
1020
|
{
|
|
1026
1021
|
value: quarter,
|
|
1027
1022
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1028
1023
|
className: "border-0",
|
|
1029
1024
|
children: [
|
|
1030
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1025
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.AccordionTrigger, { className: "w-full p-0 hover:no-underline [&>svg]:h-5 [&>svg]:w-5 [&>svg]:text-ods-text-secondary [&>svg]:ml-auto [&>svg]:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
1031
1026
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1032
1027
|
"h3",
|
|
1033
1028
|
{
|
|
@@ -1057,7 +1052,7 @@ function RoadmapGrid({
|
|
|
1057
1052
|
}
|
|
1058
1053
|
)
|
|
1059
1054
|
] }) }),
|
|
1060
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1055
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.AccordionContent, { className: "pt-4 pb-0 overflow-hidden data-[state=closed]:animate-none data-[state=open]:animate-none", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1061
1056
|
RoadmapGridSingle,
|
|
1062
1057
|
{
|
|
1063
1058
|
items: itemsByQuarter[quarter],
|
|
@@ -1108,8 +1103,8 @@ function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
|
1108
1103
|
|
|
1109
1104
|
|
|
1110
1105
|
var DEFAULT_ENDPOINT2 = "/api/roadmap";
|
|
1111
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1112
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1106
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkVOPTCR5Icjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1107
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkVOPTCR5Icjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1113
1108
|
function RoadmapView({
|
|
1114
1109
|
endpoint = DEFAULT_ENDPOINT2,
|
|
1115
1110
|
initialItems,
|
|
@@ -1135,7 +1130,7 @@ function RoadmapView({
|
|
|
1135
1130
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _23 => _23.items]), () => ( []));
|
|
1136
1131
|
_chunk743FCO64cjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk743FCO64cjs.STICKY_HEADER_OFFSET_PX });
|
|
1137
1132
|
if (error) {
|
|
1138
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1133
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1139
1134
|
}
|
|
1140
1135
|
if (isLoading && !data) {
|
|
1141
1136
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin });
|
|
@@ -1192,7 +1187,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1192
1187
|
"div",
|
|
1193
1188
|
{
|
|
1194
1189
|
className: "border-b border-ods-border last:border-b-0",
|
|
1195
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1190
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHIODHJCJcjs.DeliveryRow, { item, id: _chunkVOPTCR5Icjs.devSectionAnchorId.call(void 0, "delivery", item.id) })
|
|
1196
1191
|
},
|
|
1197
1192
|
item.id
|
|
1198
1193
|
)
|
|
@@ -1204,8 +1199,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1204
1199
|
|
|
1205
1200
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1206
1201
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1207
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1208
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1202
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkVOPTCR5Icjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1203
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkVOPTCR5Icjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1209
1204
|
function DeliveryLists({
|
|
1210
1205
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1211
1206
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1266,11 +1261,11 @@ function DeliveryLists({
|
|
|
1266
1261
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1267
1262
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1268
1263
|
if (error) {
|
|
1269
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1264
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1270
1265
|
}
|
|
1271
1266
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full flex flex-col gap-[40px]", children: [
|
|
1272
1267
|
!isLoading && !hasResults && (hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1273
|
-
|
|
1268
|
+
_chunkHIODHJCJcjs.EmptyState,
|
|
1274
1269
|
{
|
|
1275
1270
|
type: "search",
|
|
1276
1271
|
title: "No tasks found",
|
|
@@ -1285,7 +1280,7 @@ function DeliveryLists({
|
|
|
1285
1280
|
}
|
|
1286
1281
|
}
|
|
1287
1282
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1288
|
-
|
|
1283
|
+
_chunkHIODHJCJcjs.EmptyState,
|
|
1289
1284
|
{
|
|
1290
1285
|
type: "generic",
|
|
1291
1286
|
title: "No tasks available",
|
|
@@ -1387,7 +1382,7 @@ function LegalDocumentPage({
|
|
|
1387
1382
|
initialData = null,
|
|
1388
1383
|
initialLastUpdatedLabel = null,
|
|
1389
1384
|
apiEndpoint,
|
|
1390
|
-
MarkdownRenderer =
|
|
1385
|
+
MarkdownRenderer = _chunkVOPTCR5Icjs.RichMarkdownRenderer,
|
|
1391
1386
|
backButton,
|
|
1392
1387
|
shell = true
|
|
1393
1388
|
}) {
|
|
@@ -1397,10 +1392,10 @@ function LegalDocumentPage({
|
|
|
1397
1392
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _26 => _26.label]), () => ( "Back to home")),
|
|
1398
1393
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _27 => _27.href]), () => ( "/")))
|
|
1399
1394
|
};
|
|
1400
|
-
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _28 => _28.lastSynced]) != null ?
|
|
1395
|
+
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _28 => _28.lastSynced]) != null ? _chunkVOPTCR5Icjs.formatLegalDate.call(void 0, data.lastSynced) : null;
|
|
1401
1396
|
const effectiveLastUpdatedLabel = _nullishCoalesce(initialLastUpdatedLabel, () => ( fallbackLastUpdatedLabel));
|
|
1402
1397
|
const subtitle = effectiveLastUpdatedLabel ? `Last Updated: ${effectiveLastUpdatedLabel}` : fallbackDescription;
|
|
1403
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1398
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVOPTCR5Icjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: [
|
|
1404
1399
|
_optionalChain([data, 'optionalAccess', _29 => _29.sourceFile]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "font-['DM_Sans'] text-sm text-ods-text-secondary opacity-75", children: [
|
|
1405
1400
|
"Source: ",
|
|
1406
1401
|
data.sourceFile
|
|
@@ -1447,7 +1442,7 @@ function LegalDocumentPage({
|
|
|
1447
1442
|
] })
|
|
1448
1443
|
] }) }) }) }) })
|
|
1449
1444
|
] });
|
|
1450
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1445
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVOPTCR5Icjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1451
1446
|
}
|
|
1452
1447
|
|
|
1453
1448
|
|
|
@@ -1467,4 +1462,4 @@ function LegalDocumentPage({
|
|
|
1467
1462
|
|
|
1468
1463
|
|
|
1469
1464
|
exports.PersistentPagination = PersistentPagination; exports.usePaginationLoading = usePaginationLoading; exports.PersistentPaginationWrapper = PersistentPaginationWrapper; exports.ProductReleasesView = ProductReleasesView; exports.MediaGalleryStrip = MediaGalleryStrip; exports.ReleaseDetailPage = ReleaseDetailPage; exports.ReleaseDetailSkeleton = ReleaseDetailSkeleton; exports.useRoadmapVoting = useRoadmapVoting; exports.RoadmapGrid = RoadmapGrid; exports.RoadmapGridSkeleton = RoadmapGridSkeleton; exports.RoadmapView = RoadmapView; exports.DeliveryTable = DeliveryTable; exports.DeliveryLists = DeliveryLists; exports.useLegalDocs = useLegalDocs; exports.LegalDocumentPage = LegalDocumentPage;
|
|
1470
|
-
//# sourceMappingURL=chunk-
|
|
1465
|
+
//# sourceMappingURL=chunk-6ZAQOYW4.cjs.map
|