@flamingo-stack/openframe-frontend-core 0.0.680-snapshot.20260929023516 → 0.0.680

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.
Files changed (33) hide show
  1. package/dist/{chunk-VKTQQ7TS.js → chunk-75S3RKYX.js} +4 -4
  2. package/dist/{chunk-KLLH632Q.js → chunk-F5N2P2GD.js} +3 -3
  3. package/dist/{chunk-AHXAD26W.cjs → chunk-FCGZIXI5.cjs} +17 -17
  4. package/dist/{chunk-AHXAD26W.cjs.map → chunk-FCGZIXI5.cjs.map} +1 -1
  5. package/dist/{chunk-Q76YVNCQ.js → chunk-FN7DMNA4.js} +4 -4
  6. package/dist/chunk-FN7DMNA4.js.map +1 -0
  7. package/dist/{chunk-RF2EYX3B.js → chunk-M7ILWHDA.js} +2 -2
  8. package/dist/{chunk-UOZXREDM.cjs → chunk-RLUXVMSD.cjs} +9 -9
  9. package/dist/{chunk-UOZXREDM.cjs.map → chunk-RLUXVMSD.cjs.map} +1 -1
  10. package/dist/{chunk-S3OS6FIM.js → chunk-SPI7DCD3.js} +2 -2
  11. package/dist/{chunk-BOM6MMWB.cjs → chunk-UL2TY6GY.cjs} +3 -3
  12. package/dist/{chunk-BOM6MMWB.cjs.map → chunk-UL2TY6GY.cjs.map} +1 -1
  13. package/dist/{chunk-RNRAPL6V.cjs → chunk-VWYK6TSE.cjs} +4 -4
  14. package/dist/{chunk-RNRAPL6V.cjs.map → chunk-VWYK6TSE.cjs.map} +1 -1
  15. package/dist/{chunk-NMXL34Z2.cjs → chunk-XRQKJ22I.cjs} +4 -4
  16. package/dist/{chunk-NMXL34Z2.cjs.map → chunk-XRQKJ22I.cjs.map} +1 -1
  17. package/dist/components/empty-state.d.ts.map +1 -1
  18. package/dist/components/help-center-pages/index.cjs +14 -14
  19. package/dist/components/help-center-pages/index.js +5 -5
  20. package/dist/components/index.cjs +5 -5
  21. package/dist/components/index.js +4 -4
  22. package/dist/components/meeting-scheduler/index.cjs +5 -5
  23. package/dist/components/meeting-scheduler/index.js +2 -2
  24. package/dist/components/tickets/index.cjs +4 -4
  25. package/dist/components/tickets/index.js +3 -3
  26. package/package.json +1 -1
  27. package/src/components/empty-state.tsx +6 -5
  28. package/dist/chunk-Q76YVNCQ.js.map +0 -1
  29. package/src/components/__tests__/empty-state-cta.test.tsx +0 -31
  30. /package/dist/{chunk-VKTQQ7TS.js.map → chunk-75S3RKYX.js.map} +0 -0
  31. /package/dist/{chunk-KLLH632Q.js.map → chunk-F5N2P2GD.js.map} +0 -0
  32. /package/dist/{chunk-RF2EYX3B.js.map → chunk-M7ILWHDA.js.map} +0 -0
  33. /package/dist/{chunk-S3OS6FIM.js.map → chunk-SPI7DCD3.js.map} +0 -0
@@ -125,13 +125,13 @@ function EmptyState({
125
125
  const displayTitle = title || defaultContent.title;
126
126
  const displayDescription = description || defaultContent.description;
127
127
  const smartCTA = ctaHref ? null : getSmartCTA();
128
- const ctaButtonVariant = ctaVariant === "primary" ? "accent" : "outline";
128
+ const ctaClassName = ctaVariant === "primary" ? "w-full bg-ods-accent text-ods-text-on-accent hover:bg-ods-accent-hover transition-all duration-150 font-body font-medium" : "w-full bg-transparent border border-ods-border text-ods-text-primary hover:border-ods-accent hover:text-ods-accent transition-all duration-150 font-body font-medium";
129
129
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center px-6 py-6 text-center md:py-16", children: [
130
130
  /* @__PURE__ */ jsx("div", { className: "mb-3 flex items-center justify-center md:mb-6", children: /* @__PURE__ */ jsx("div", { className: "rounded-full border border-ods-border bg-ods-card p-3 md:p-6", children: /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 items-center justify-center text-ods-text-secondary md:h-16 md:w-16", children: defaultContent.icon }) }) }),
131
131
  /* @__PURE__ */ jsx("h2", { className: "mb-2 text-ods-text-primary text-h3 md:mb-3", children: displayTitle }),
132
132
  /* @__PURE__ */ jsx("p", { className: "mb-4 max-w-md text-ods-text-secondary text-h6 md:mb-8", children: displayDescription }),
133
- showCTA && ctaHref && /* @__PURE__ */ jsx("div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ jsx(Button, { href: ctaHref, variant: ctaButtonVariant, className: "w-full", children: ctaText || "Contact us" }) }),
134
- showCTA && !ctaHref && smartCTA && /* @__PURE__ */ jsx("div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ jsx(Button, { onClick: smartCTA.action, variant: ctaButtonVariant, className: "w-full", children: smartCTA.text }) }),
133
+ showCTA && ctaHref && /* @__PURE__ */ jsx("div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ jsx(Button, { href: ctaHref, className: ctaClassName, children: ctaText || "Contact us" }) }),
134
+ showCTA && !ctaHref && smartCTA && /* @__PURE__ */ jsx("div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ jsx(Button, { onClick: smartCTA.action, className: ctaClassName, children: smartCTA.text }) }),
135
135
  showBackButton && onGoBack && /* @__PURE__ */ jsx("div", { className: "w-full max-w-xs", children: /* @__PURE__ */ jsx(
136
136
  Button,
137
137
  {
@@ -185,4 +185,4 @@ export {
185
185
  EmptyState,
186
186
  UnifiedPagination
187
187
  };
188
- //# sourceMappingURL=chunk-Q76YVNCQ.js.map
188
+ //# sourceMappingURL=chunk-FN7DMNA4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/empty-state.tsx","../src/components/unified-pagination.tsx"],"sourcesContent":["'use client';\n\nimport { Search, FileText, Package } from 'lucide-react';\nimport { useRouter } from '../embed-shims/next-navigation';\nimport { Button } from './ui/button';\n\nexport interface EmptyStateProps {\n type: 'vendors' | 'posts' | 'search' | 'generic';\n title?: string;\n description?: string;\n showBackButton?: boolean;\n onGoBack?: () => void;\n backButtonText?: string;\n // New CTA properties\n showCTA?: boolean;\n ctaText?: string;\n onCtaClick?: () => void;\n /**\n * Link-CTA mode: render the CTA as a navigation link (`href` — plain or\n * `mailto:`). Wins over `onCtaClick`, and SHORT-CIRCUITS the smart-CTA\n * path-sniffing below (which reads `window.location.pathname` — an\n * SSR/client divergence server-rendered pages must never enter).\n */\n ctaHref?: string;\n ctaVariant?: 'primary' | 'secondary';\n}\n\nexport function EmptyState({\n type,\n title,\n description,\n showBackButton = false,\n onGoBack,\n backButtonText = 'Go Back',\n showCTA = true,\n ctaText,\n onCtaClick,\n ctaHref,\n ctaVariant = 'primary',\n}: EmptyStateProps) {\n const router = useRouter();\n\n // Default content based on type\n const getDefaultContent = () => {\n switch (type) {\n case 'vendors':\n return {\n icon: <Package className=\"h-full w-full\" />,\n title: 'No vendors found',\n description:\n \"We couldn't find any vendors matching your criteria. Try adjusting your filters or search terms.\",\n };\n case 'posts':\n return {\n icon: <FileText className=\"h-full w-full\" />,\n title: 'No articles found',\n description:\n \"We couldn't find any articles matching your criteria. Try different categories, tags, or search terms.\",\n };\n case 'search':\n return {\n icon: <Search className=\"h-full w-full\" />,\n title: 'No results found',\n description: \"Your search didn't return any results. Try different keywords or browse our categories.\",\n };\n default:\n return {\n icon: <Search className=\"h-full w-full\" />,\n title: 'Nothing found',\n description: \"We couldn't find what you're looking for. Try adjusting your search or filters.\",\n };\n }\n };\n\n // Smart CTA logic based on context\n const getSmartCTA = () => {\n // If custom CTA is provided, use it\n if (ctaText && onCtaClick) {\n return {\n text: ctaText,\n action: onCtaClick,\n };\n }\n\n // Check if we're on the client side\n const isClient = typeof window !== 'undefined';\n const currentPath = isClient ? window.location.pathname : '';\n\n // Surgical filter reset (promoted from the hub's diverged clone during\n // the EmptyState convergence): delete ONLY the filter params the surface\n // owns — nuking the whole query string threw away unrelated state — and\n // use `replace` with `scroll: false` so resetting filters neither adds a\n // history entry nor jumps the page.\n const resetParams = (paramsToDelete: string[]) => {\n if (!isClient) return;\n const params = new URLSearchParams(window.location.search);\n for (const p of paramsToDelete) params.delete(p);\n const queryString = params.toString();\n // Keep the hash — a filter reset must not clear an unrelated\n // deep-link anchor (e.g. #delivery-123).\n const hash = window.location.hash;\n router.replace(`${window.location.pathname}${queryString ? `?${queryString}` : ''}${hash}`, { scroll: false });\n };\n\n // Smart defaults based on type and context\n switch (type) {\n case 'search':\n return {\n text: 'Reset Filters',\n action: () => resetParams(['search', 'page']),\n };\n case 'posts':\n // Blog-style listing pages (blog, case studies) reset their filters\n if (currentPath.includes('/blog') || currentPath.includes('/case-studies')) {\n return {\n text: 'Reset Filters',\n action: () => resetParams(['search', 'page', 'category', 'tags']),\n };\n } else if (currentPath.includes('/profile')) {\n return {\n text: 'Browse Vendors',\n action: () => router.push('/vendors'),\n };\n }\n return {\n text: 'View All Posts',\n action: () => router.push('/blog'),\n };\n case 'vendors':\n // If we're in profile or other pages, direct to main content\n if (currentPath.includes('/profile')) {\n return {\n text: 'Browse Vendors',\n action: () => router.push('/vendors'),\n };\n } else if (currentPath.includes('/vendors') || currentPath.includes('/margin-increase/compare')) {\n return {\n text: 'Reset Filters',\n action: () => resetParams(['search', 'page', 'category', 'subcategory']),\n };\n }\n return {\n text: 'Browse Vendors',\n action: () => router.push('/vendors'),\n };\n default:\n return {\n text: 'Browse Vendors',\n action: () => router.push('/vendors'),\n };\n }\n };\n\n const defaultContent = getDefaultContent();\n const displayTitle = title || defaultContent.title;\n const displayDescription = description || defaultContent.description;\n // ctaHref short-circuits BEFORE getSmartCTA(): the smart defaults read\n // window.location.pathname (SSR-empty, client-real), so a server-rendered\n // page with a link CTA must never enter that branch. Existing callers\n // without ctaHref keep today's smart-default behavior unchanged.\n const smartCTA = ctaHref ? null : getSmartCTA();\n const ctaClassName =\n ctaVariant === 'primary'\n ? 'w-full bg-ods-accent text-ods-text-on-accent hover:bg-ods-accent-hover transition-all duration-150 font-body font-medium'\n : 'w-full bg-transparent border border-ods-border text-ods-text-primary hover:border-ods-accent hover:text-ods-accent transition-all duration-150 font-body font-medium';\n\n return (\n <div className=\"flex flex-col items-center justify-center px-6 py-6 text-center md:py-16\">\n {/* Icon */}\n <div className=\"mb-3 flex items-center justify-center md:mb-6\">\n <div className=\"rounded-full border border-ods-border bg-ods-card p-3 md:p-6\">\n <div className=\"flex h-8 w-8 items-center justify-center text-ods-text-secondary md:h-16 md:w-16\">\n {defaultContent.icon}\n </div>\n </div>\n </div>\n\n {/* Title */}\n <h2 className=\"mb-2 text-ods-text-primary text-h3 md:mb-3\">{displayTitle}</h2>\n\n {/* Description */}\n <p className=\"mb-4 max-w-md text-ods-text-secondary text-h6 md:mb-8\">{displayDescription}</p>\n\n {/* Link CTA (ctaHref) — SSR-safe, no path sniffing */}\n {showCTA && ctaHref && (\n <div className=\"mb-3 w-full max-w-xs\">\n <Button href={ctaHref} className={ctaClassName}>\n {ctaText || 'Contact us'}\n </Button>\n </div>\n )}\n\n {/* Smart CTA Button */}\n {showCTA && !ctaHref && smartCTA && (\n <div className=\"mb-3 w-full max-w-xs\">\n <Button onClick={smartCTA.action} className={ctaClassName}>\n {smartCTA.text}\n </Button>\n </div>\n )}\n\n {/* Optional Back Button */}\n {showBackButton && onGoBack && (\n <div className=\"w-full max-w-xs\">\n <Button\n onClick={onGoBack}\n variant=\"outline\"\n className=\"w-full font-body font-medium transition-all duration-150\"\n >\n {backButtonText}\n </Button>\n </div>\n )}\n </div>\n );\n}\n","'use client';\n\nimport { useSearchParams, usePathname } from '../embed-shims/next-navigation';\nimport { withQuery } from '../utils/search-params';\nimport { Pagination } from './pagination';\n\ninterface UnifiedPaginationProps {\n currentPage: number;\n totalPages: number;\n onPageChange?: (page: number) => void;\n className?: string;\n /**\n * Write `?page=` into the URL on every change (default true, the historical\n * behaviour). Set false when the CALLER owns the URL — a surface whose whole\n * filter state is one schema would otherwise get two writers racing on it.\n */\n syncUrl?: boolean;\n /**\n * Keep the row's height when there is only one page, instead of rendering\n * nothing. Stops a one-page result from shifting the content above it.\n */\n reserveSpace?: boolean;\n}\n\nexport function UnifiedPagination({\n currentPage,\n totalPages,\n onPageChange,\n className = 'mt-8 flex justify-center w-full',\n syncUrl = true,\n reserveSpace = false,\n}: UnifiedPaginationProps) {\n const searchParams = useSearchParams();\n const pathname = usePathname();\n\n const handlePageChange = (page: number) => {\n // Preserve current scroll position\n const currentScrollY = window.scrollY;\n\n // Call the callback to update local state (prevents reload)\n if (onPageChange) {\n onPageChange(page);\n }\n\n // Update URL for bookmarking without navigation — unless the caller owns\n // the URL (`syncUrl={false}`), in which case a second writer here would\n // race the caller's own param write.\n if (syncUrl) {\n const params = new URLSearchParams(searchParams.toString());\n params.set('page', page.toString());\n window.history.replaceState(null, '', withQuery(pathname, params.toString()));\n }\n\n // Restore scroll position after a brief delay to allow content to render\n setTimeout(() => {\n window.scrollTo({\n top: currentScrollY,\n behavior: 'instant', // Instant to prevent any scroll animation\n });\n }, 0);\n };\n\n // Don't render pagination if there's only one page (optionally holding the\n // row's height so the content above it does not shift).\n //\n // The reserved row renders the REAL control, hidden — an empty div reserves\n // nothing, and a hardcoded spacer height silently drifts the day the control\n // changes. `invisible` keeps the box, `aria-hidden` + `pointer-events-none`\n // keep it out of the accessibility tree and out of the way.\n if (totalPages <= 1) {\n return reserveSpace ? (\n <div className={className} aria-hidden=\"true\">\n <div className=\"pointer-events-none invisible\">\n <Pagination currentPage={1} totalPages={1} onPageChange={() => {}} />\n </div>\n </div>\n ) : null;\n }\n\n return (\n <div className={className}>\n <Pagination currentPage={currentPage} totalPages={totalPages} onPageChange={handlePageChange} />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAEA,SAAS,QAAQ,UAAU,eAAe;AA6C1B,cAwHZ,YAxHY;AApBT,SAAS,WAAW;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB;AAAA,EACjB;AAAA,EACA,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA,aAAa;AACf,GAAoB;AAClB,QAAM,SAAS,UAAU;AAGzB,QAAM,oBAAoB,MAAM;AAC9B,YAAQ,MAAM;AAAA,MACZ,KAAK;AACH,eAAO;AAAA,UACL,MAAM,oBAAC,WAAQ,WAAU,iBA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A,KAAC,SAAI,WACH,0BAAAA,KAAC,cAAW,aAA0B,YAAwB,cAAc,kBAAkB,GAChG;AAEJ;","names":["jsx"]}
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  UnifiedPagination
4
- } from "./chunk-Q76YVNCQ.js";
4
+ } from "./chunk-FN7DMNA4.js";
5
5
  import {
6
6
  cn
7
7
  } from "./chunk-OXB6LRBK.js";
@@ -136,4 +136,4 @@ export {
136
136
  usePaginationLoading,
137
137
  PersistentPaginationWrapper
138
138
  };
139
- //# sourceMappingURL=chunk-RF2EYX3B.js.map
139
+ //# sourceMappingURL=chunk-M7ILWHDA.js.map
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkBOM6MMWBcjs = require('./chunk-BOM6MMWB.cjs');
4
+ var _chunkUL2TY6GYcjs = require('./chunk-UL2TY6GY.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkRNRAPL6Vcjs = require('./chunk-RNRAPL6V.cjs');
8
+ var _chunkVWYK6TSEcjs = require('./chunk-VWYK6TSE.cjs');
9
9
 
10
10
 
11
- var _chunkNMXL34Z2cjs = require('./chunk-NMXL34Z2.cjs');
11
+ var _chunkXRQKJ22Icjs = require('./chunk-XRQKJ22I.cjs');
12
12
 
13
13
 
14
14
  var _chunkZFQ3ZHMRcjs = require('./chunk-ZFQ3ZHMR.cjs');
@@ -174,7 +174,7 @@ function ProductReleasesView({
174
174
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKSDOCJ7Bcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
175
175
  }
176
176
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full 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: "flex h-[600px] items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
177
- _chunkRNRAPL6Vcjs.ListEmptyState,
177
+ _chunkVWYK6TSEcjs.ListEmptyState,
178
178
  {
179
179
  isFiltered: hasActiveFilters,
180
180
  filtered: {
@@ -199,7 +199,7 @@ function ProductReleasesView({
199
199
  );
200
200
  }) }),
201
201
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-6 flex justify-center md:mt-8", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "m-3 h-12 w-64" }) : releases.length > 0 && totalPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
202
- _chunkBOM6MMWBcjs.PersistentPaginationWrapper,
202
+ _chunkUL2TY6GYcjs.PersistentPaginationWrapper,
203
203
  {
204
204
  isLoading: false,
205
205
  currentPage,
@@ -871,7 +871,7 @@ function RoadmapGrid({
871
871
  }, [hasActiveFilters, sortedQuartersKey, isInitialized, quartersToKeepClosed]);
872
872
  if (items.length === 0) {
873
873
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
874
- _chunkNMXL34Z2cjs.EmptyState,
874
+ _chunkXRQKJ22Icjs.EmptyState,
875
875
  {
876
876
  type: "generic",
877
877
  title: "No roadmap items",
@@ -1068,7 +1068,7 @@ function DeliveryTable({ items, isLoading = false }) {
1068
1068
  // → `#delivery-<external_id>`; `useScrollToHash` in
1069
1069
  // `delivery-lists.tsx` finds the row by id and scrolls. The
1070
1070
  // outer wrapper here ONLY exists for the row separators.
1071
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRNRAPL6Vcjs.DeliveryRow, { item, id: _chunkKSDOCJ7Bcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
1071
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVWYK6TSEcjs.DeliveryRow, { item, id: _chunkKSDOCJ7Bcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
1072
1072
  )) }) });
1073
1073
  }
1074
1074
 
@@ -1149,7 +1149,7 @@ function DeliveryLists({
1149
1149
  }
1150
1150
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
1151
1151
  !isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1152
- _chunkRNRAPL6Vcjs.ListEmptyState,
1152
+ _chunkVWYK6TSEcjs.ListEmptyState,
1153
1153
  {
1154
1154
  isFiltered: hasActiveFilters,
1155
1155
  filtered: {
@@ -1373,4 +1373,4 @@ function LegalDocumentPage({
1373
1373
 
1374
1374
 
1375
1375
  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;
1376
- //# sourceMappingURL=chunk-UOZXREDM.cjs.map
1376
+ //# sourceMappingURL=chunk-RLUXVMSD.cjs.map