@burdenoff/website-sdk 2026.1026.1 → 2026.1028.1
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/README.md +104 -1
- package/dist/comparison/index.d.mts +83 -0
- package/dist/comparison/index.d.ts +83 -0
- package/dist/comparison/index.js +116 -0
- package/dist/comparison/index.js.map +1 -0
- package/dist/comparison/index.mjs +109 -0
- package/dist/comparison/index.mjs.map +1 -0
- package/dist/components/explore.d.mts +1 -1
- package/dist/components/explore.d.ts +1 -1
- package/dist/components/explore.js +276 -37
- package/dist/components/explore.js.map +1 -1
- package/dist/components/explore.mjs +276 -37
- package/dist/components/explore.mjs.map +1 -1
- package/dist/components/partners.js.map +1 -1
- package/dist/components/partners.mjs.map +1 -1
- package/dist/content/index.d.mts +1 -1
- package/dist/content/index.d.ts +1 -1
- package/dist/content/index.js +32 -4
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +32 -5
- package/dist/content/index.mjs.map +1 -1
- package/dist/{explore-BRfKFfvI.d.mts → explore-BEgq1_0O.d.mts} +44 -1
- package/dist/{explore-DkfcKgp6.d.ts → explore-CHiP9u-4.d.ts} +44 -1
- package/dist/{index-CB0Uw1xD.d.ts → index-87BLB-Hj.d.ts} +26 -1
- package/dist/{index-Ctws7kGs.d.mts → index-Chw0pDXS.d.mts} +26 -1
- package/dist/index.d.mts +63 -7
- package/dist/index.d.ts +63 -7
- package/dist/index.js +463 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +457 -45
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -1
package/dist/content/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BlogListPage, a as BlogListPageProps, b as BlogPostPage, c as BlogPostPageProps, f as CaseStudiesListPage, g as CaseStudiesListPageProps, h as CaseStudyPage, i as CaseStudyPageProps, j as ChangelogEntry, k as ChangelogPage, l as ChangelogPageProps, m as ContentPageData, n as ContentPageListData, o as ContentPageListItem, p as ContentRenderer, q as ContractAsset, r as ContractsPage, s as ContractsPageProps, F as FetchLegalContentOptions, L as LEGAL_DOCUMENTS,
|
|
1
|
+
export { B as BlogListPage, a as BlogListPageProps, b as BlogPostPage, c as BlogPostPageProps, f as CaseStudiesListPage, g as CaseStudiesListPageProps, h as CaseStudyPage, i as CaseStudyPageProps, j as ChangelogEntry, k as ChangelogPage, l as ChangelogPageProps, m as ContentPageData, n as ContentPageListData, o as ContentPageListItem, p as ContentRenderer, q as ContractAsset, r as ContractsPage, s as ContractsPageProps, t as CustomerSignOffData, F as FetchLegalContentOptions, L as LEGAL_DOCUMENTS, u as LEGAL_DOCUMENT_KEYS, v as LegalContentEntry, w as LegalDocument, x as LegalDocumentKey, y as LegalPage, z as LegalPageProps, M as Markdown, A as MarkdownProps, P as PressKitAsset, D as PressKitAssetCategory, E as PressKitPage, G as PressKitPageProps, H as PublicInterviewRoundConfig, I as PublicJobPosting, a0 as UseContentPageOptions, U as UsePublicJobPostingOptions, J as UsePublicJobPostingsOptions, K as fetchLegalContent, N as fetchLegalContentPage, O as fetchPublicJobPosting, Q as fetchPublicJobPostings, R as fetchPublicJobPostingsForSubmission, S as findLegalDocument, T as formatLegalDate, V as hasCustomerSignOff, W as splitLeadingHeading, X as useContentPage, Y as useContentPages, Z as usePublicJobPosting, _ as usePublicJobPostings, $ as usePublicJobPostingsForSubmission } from '../index-Chw0pDXS.mjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-markdown';
|
|
4
4
|
import '../graphql-client-CI9vbgat.mjs';
|
package/dist/content/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BlogListPage, a as BlogListPageProps, b as BlogPostPage, c as BlogPostPageProps, f as CaseStudiesListPage, g as CaseStudiesListPageProps, h as CaseStudyPage, i as CaseStudyPageProps, j as ChangelogEntry, k as ChangelogPage, l as ChangelogPageProps, m as ContentPageData, n as ContentPageListData, o as ContentPageListItem, p as ContentRenderer, q as ContractAsset, r as ContractsPage, s as ContractsPageProps, F as FetchLegalContentOptions, L as LEGAL_DOCUMENTS,
|
|
1
|
+
export { B as BlogListPage, a as BlogListPageProps, b as BlogPostPage, c as BlogPostPageProps, f as CaseStudiesListPage, g as CaseStudiesListPageProps, h as CaseStudyPage, i as CaseStudyPageProps, j as ChangelogEntry, k as ChangelogPage, l as ChangelogPageProps, m as ContentPageData, n as ContentPageListData, o as ContentPageListItem, p as ContentRenderer, q as ContractAsset, r as ContractsPage, s as ContractsPageProps, t as CustomerSignOffData, F as FetchLegalContentOptions, L as LEGAL_DOCUMENTS, u as LEGAL_DOCUMENT_KEYS, v as LegalContentEntry, w as LegalDocument, x as LegalDocumentKey, y as LegalPage, z as LegalPageProps, M as Markdown, A as MarkdownProps, P as PressKitAsset, D as PressKitAssetCategory, E as PressKitPage, G as PressKitPageProps, H as PublicInterviewRoundConfig, I as PublicJobPosting, a0 as UseContentPageOptions, U as UsePublicJobPostingOptions, J as UsePublicJobPostingsOptions, K as fetchLegalContent, N as fetchLegalContentPage, O as fetchPublicJobPosting, Q as fetchPublicJobPostings, R as fetchPublicJobPostingsForSubmission, S as findLegalDocument, T as formatLegalDate, V as hasCustomerSignOff, W as splitLeadingHeading, X as useContentPage, Y as useContentPages, Z as usePublicJobPosting, _ as usePublicJobPostings, $ as usePublicJobPostingsForSubmission } from '../index-87BLB-Hj.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-markdown';
|
|
4
4
|
import '../graphql-client-CI9vbgat.js';
|
package/dist/content/index.js
CHANGED
|
@@ -1522,6 +1522,10 @@ function BlogPostPage(props) {
|
|
|
1522
1522
|
] });
|
|
1523
1523
|
}
|
|
1524
1524
|
var CASE_STUDY_TAG = "case-study";
|
|
1525
|
+
function hasCustomerSignOff(page) {
|
|
1526
|
+
const signedAt = page.customerSignOff?.signedAt;
|
|
1527
|
+
return typeof signedAt === "string" && !Number.isNaN(new Date(signedAt).getTime());
|
|
1528
|
+
}
|
|
1525
1529
|
var ANIMATION_STYLES = `
|
|
1526
1530
|
@keyframes csFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
|
|
1527
1531
|
@keyframes csFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
|
|
@@ -1551,6 +1555,9 @@ var CASE_STUDIES_QUERY = `
|
|
|
1551
1555
|
readingTime
|
|
1552
1556
|
featured
|
|
1553
1557
|
category
|
|
1558
|
+
customerSignOff {
|
|
1559
|
+
signedAt
|
|
1560
|
+
}
|
|
1554
1561
|
}
|
|
1555
1562
|
total
|
|
1556
1563
|
hasMore
|
|
@@ -1577,6 +1584,9 @@ var CASE_STUDY_QUERY = `
|
|
|
1577
1584
|
readingTime
|
|
1578
1585
|
featured
|
|
1579
1586
|
category
|
|
1587
|
+
customerSignOff {
|
|
1588
|
+
signedAt
|
|
1589
|
+
}
|
|
1580
1590
|
}
|
|
1581
1591
|
}
|
|
1582
1592
|
`;
|
|
@@ -1947,11 +1957,15 @@ function CaseStudiesListPage(props) {
|
|
|
1947
1957
|
setPosts([]);
|
|
1948
1958
|
return;
|
|
1949
1959
|
}
|
|
1950
|
-
const
|
|
1951
|
-
|
|
1960
|
+
const items = result.data?.publicContentPages?.items || [];
|
|
1961
|
+
const caseStudies = items.filter(
|
|
1962
|
+
(p) => p.tags?.includes(CASE_STUDY_TAG) && hasCustomerSignOff(p)
|
|
1952
1963
|
);
|
|
1953
1964
|
setPosts(caseStudies);
|
|
1954
|
-
|
|
1965
|
+
const dropped = items.length - caseStudies.length;
|
|
1966
|
+
setTotal(
|
|
1967
|
+
Math.max(0, (result.data?.publicContentPages?.total || 0) - dropped)
|
|
1968
|
+
);
|
|
1955
1969
|
setError(null);
|
|
1956
1970
|
} catch {
|
|
1957
1971
|
setError("load-failed");
|
|
@@ -2133,7 +2147,8 @@ function CaseStudyPage(props) {
|
|
|
2133
2147
|
setError(result.errors[0]?.message ?? "Failed to load case study");
|
|
2134
2148
|
return;
|
|
2135
2149
|
}
|
|
2136
|
-
|
|
2150
|
+
const page = result.data?.publicContentPage ?? null;
|
|
2151
|
+
setPost(page && hasCustomerSignOff(page) ? page : null);
|
|
2137
2152
|
setError(null);
|
|
2138
2153
|
} catch {
|
|
2139
2154
|
setError("Failed to load case study");
|
|
@@ -2202,6 +2217,7 @@ function CaseStudyPage(props) {
|
|
|
2202
2217
|
] }) });
|
|
2203
2218
|
}
|
|
2204
2219
|
const formattedDate = formatDate(post.publishedAt || post.lastUpdated);
|
|
2220
|
+
const approvedDate = formatDate(post.customerSignOff?.signedAt);
|
|
2205
2221
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, children: [
|
|
2206
2222
|
/* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
|
|
2207
2223
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2239,6 +2255,17 @@ function CaseStudyPage(props) {
|
|
|
2239
2255
|
] })
|
|
2240
2256
|
] }) : null
|
|
2241
2257
|
] }),
|
|
2258
|
+
approvedDate && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2259
|
+
"p",
|
|
2260
|
+
{
|
|
2261
|
+
className: "-mt-4 mb-8 text-xs text-muted-foreground",
|
|
2262
|
+
"data-cs": "customer-signoff",
|
|
2263
|
+
children: [
|
|
2264
|
+
"Approved for publication by the customer on ",
|
|
2265
|
+
approvedDate
|
|
2266
|
+
]
|
|
2267
|
+
}
|
|
2268
|
+
),
|
|
2242
2269
|
post.thumbnail && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-10 aspect-[16/9] overflow-hidden rounded-xl", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2243
2270
|
"img",
|
|
2244
2271
|
{
|
|
@@ -3583,6 +3610,7 @@ exports.fetchPublicJobPostings = fetchPublicJobPostings;
|
|
|
3583
3610
|
exports.fetchPublicJobPostingsForSubmission = fetchPublicJobPostingsForSubmission;
|
|
3584
3611
|
exports.findLegalDocument = findLegalDocument;
|
|
3585
3612
|
exports.formatLegalDate = formatLegalDate;
|
|
3613
|
+
exports.hasCustomerSignOff = hasCustomerSignOff;
|
|
3586
3614
|
exports.splitLeadingHeading = splitLeadingHeading;
|
|
3587
3615
|
exports.useContentPage = useContentPage;
|
|
3588
3616
|
exports.useContentPages = useContentPages;
|