@flamingo-stack/openframe-frontend-core 0.0.313-snapshot.20260623203621 → 0.0.313
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-ZPK5HW7B.cjs → chunk-2ZHDP22R.cjs} +3 -3
- package/dist/{chunk-ZPK5HW7B.cjs.map → chunk-2ZHDP22R.cjs.map} +1 -1
- package/dist/{chunk-NH2RY6VM.js → chunk-66JU4VP2.js} +3 -15
- package/dist/{chunk-NH2RY6VM.js.map → chunk-66JU4VP2.js.map} +1 -1
- package/dist/{chunk-OD3BEWDQ.js → chunk-6FZD5KFP.js} +3 -3
- package/dist/{chunk-WJCOWYAP.cjs → chunk-BFNTSETG.cjs} +14 -14
- package/dist/{chunk-WJCOWYAP.cjs.map → chunk-BFNTSETG.cjs.map} +1 -1
- package/dist/{chunk-BHOGI57O.cjs → chunk-BFSKFC6S.cjs} +38 -38
- package/dist/{chunk-BHOGI57O.cjs.map → chunk-BFSKFC6S.cjs.map} +1 -1
- package/dist/{chunk-JWX6NIQ4.js → chunk-BVDHLEP2.js} +2 -2
- package/dist/{chunk-46UZAYUT.cjs → chunk-DDLJTRF4.cjs} +29 -29
- package/dist/{chunk-46UZAYUT.cjs.map → chunk-DDLJTRF4.cjs.map} +1 -1
- package/dist/{chunk-VCJOLKED.cjs → chunk-DE2BQKQV.cjs} +12 -12
- package/dist/{chunk-VCJOLKED.cjs.map → chunk-DE2BQKQV.cjs.map} +1 -1
- package/dist/{chunk-XKVSR3IV.js → chunk-E6BHNYTA.js} +4 -4
- package/dist/{chunk-UO27TVAO.js → chunk-FXTT7K3A.js} +3 -3
- package/dist/{chunk-5ATH263N.cjs → chunk-G56GYN7Z.cjs} +1 -4
- package/dist/chunk-G56GYN7Z.cjs.map +1 -0
- package/dist/{chunk-DD35H7HA.cjs → chunk-GHK2FCIM.cjs} +40 -40
- package/dist/{chunk-DD35H7HA.cjs.map → chunk-GHK2FCIM.cjs.map} +1 -1
- package/dist/{chunk-E4CQ4RUG.js → chunk-JQ2EYXWR.js} +1 -4
- package/dist/chunk-JQ2EYXWR.js.map +1 -0
- package/dist/{chunk-TRSDXD23.js → chunk-JQLC2FVM.js} +2 -2
- package/dist/{chunk-BJ6JXN5Z.js → chunk-OZYAAJHM.js} +5 -5
- package/dist/{chunk-UNKIRZVY.cjs → chunk-REHUG3RH.cjs} +19 -19
- package/dist/{chunk-UNKIRZVY.cjs.map → chunk-REHUG3RH.cjs.map} +1 -1
- package/dist/{chunk-E2LC43T3.js → chunk-RM3M3SZ6.js} +2 -2
- package/dist/{chunk-ZW3NHMG7.js → chunk-SPFGSUNE.js} +3 -3
- package/dist/{chunk-EC4DGRN6.cjs → chunk-SQQXCVZZ.cjs} +53 -65
- package/dist/chunk-SQQXCVZZ.cjs.map +1 -0
- package/dist/{chunk-AD7TII2A.cjs → chunk-XHGE5XBH.cjs} +5 -5
- package/dist/{chunk-AD7TII2A.cjs.map → chunk-XHGE5XBH.cjs.map} +1 -1
- package/dist/{chunk-L7BROXZ7.js → chunk-YI2ACYRX.js} +2 -2
- package/dist/{chunk-2LFQJYLQ.cjs → chunk-YSMKPNYZ.cjs} +7 -7
- package/dist/{chunk-2LFQJYLQ.cjs.map → chunk-YSMKPNYZ.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/index.cjs +188 -190
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +10 -12
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/page-layout.d.ts +1 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +0 -10
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +29 -29
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/help-center-list.d.ts +1 -5
- package/dist/components/tickets/help-center-list.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +73 -84
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +10 -21
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/tool-icon.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +3 -5
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +2 -4
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +3 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/types/index.cjs +0 -2
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js +0 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/tool.types.d.ts +0 -1
- package/dist/types/tool.types.d.ts.map +1 -1
- package/dist/utils/index.cjs +0 -11
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +0 -11
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/tool-utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +1 -12
- package/src/components/tickets/help-center-list.tsx +4 -16
- package/src/components/tool-icon.tsx +0 -1
- package/src/types/tool.types.ts +0 -2
- package/src/utils/tool-utils.ts +0 -11
- package/dist/chunk-5ATH263N.cjs.map +0 -1
- package/dist/chunk-E4CQ4RUG.js.map +0 -1
- package/dist/chunk-EC4DGRN6.cjs.map +0 -1
- /package/dist/{chunk-OD3BEWDQ.js.map → chunk-6FZD5KFP.js.map} +0 -0
- /package/dist/{chunk-JWX6NIQ4.js.map → chunk-BVDHLEP2.js.map} +0 -0
- /package/dist/{chunk-XKVSR3IV.js.map → chunk-E6BHNYTA.js.map} +0 -0
- /package/dist/{chunk-UO27TVAO.js.map → chunk-FXTT7K3A.js.map} +0 -0
- /package/dist/{chunk-TRSDXD23.js.map → chunk-JQLC2FVM.js.map} +0 -0
- /package/dist/{chunk-BJ6JXN5Z.js.map → chunk-OZYAAJHM.js.map} +0 -0
- /package/dist/{chunk-E2LC43T3.js.map → chunk-RM3M3SZ6.js.map} +0 -0
- /package/dist/{chunk-ZW3NHMG7.js.map → chunk-SPFGSUNE.js.map} +0 -0
- /package/dist/{chunk-L7BROXZ7.js.map → chunk-YI2ACYRX.js.map} +0 -0
|
@@ -31,7 +31,7 @@ export interface PageLayoutProps {
|
|
|
31
31
|
*/
|
|
32
32
|
export declare function PageLayout({ children, title, subtitle, image, backButton, actions, actionsVariant, menuActions, selector, headerVariant, className, contentClassName, showHeader, }: PageLayoutProps): React.JSX.Element;
|
|
33
33
|
export type { PageActionButton } from '../ui/page-actions';
|
|
34
|
-
export { TitleBlock
|
|
34
|
+
export { TitleBlock } from './title-block';
|
|
35
35
|
export type { TitleBlockProps } from './title-block';
|
|
36
36
|
export default PageLayout;
|
|
37
37
|
//# sourceMappingURL=page-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-layout.d.ts","sourceRoot":"","sources":["../../../src/components/layout/page-layout.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,MAAM,WAAW,eAAe;IAC9B,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 'react';
|
|
2
2
|
import type { ActionsMenuGroup } from '../ui/actions-menu';
|
|
3
3
|
import { type PageActionButton } from '../ui/page-actions';
|
|
4
|
-
/**
|
|
5
|
-
* Minimum height of the title block's content column, matched to the action
|
|
6
|
-
* button height: the icon button on mobile (`h-11` → 44px) and the default
|
|
7
|
-
* button on desktop (`md:h-12` → 48px). Applied to the inner title column (which
|
|
8
|
-
* has no padding) rather than the root — the root's `pt`/`mb` are box-sizing
|
|
9
|
-
* border-box and would otherwise absorb the floor. Keeps the header a consistent
|
|
10
|
-
* height across pages whether or not they render action buttons, so the content
|
|
11
|
-
* below starts at the same baseline. Exported so other page chrome can reuse it.
|
|
12
|
-
*/
|
|
13
|
-
export declare const TITLE_BLOCK_MIN_HEIGHT = "min-h-11 md:min-h-12";
|
|
14
4
|
export interface TitleBlockProps {
|
|
15
5
|
title?: string;
|
|
16
6
|
subtitle?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-block.d.ts","sourceRoot":"","sources":["../../../src/components/layout/title-block.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGvE
|
|
1
|
+
{"version":3,"file":"title-block.d.ts","sourceRoot":"","sources":["../../../src/components/layout/title-block.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGvE,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IACrC,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IACpD,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC5B,cAAc,CAAC,EAAE,cAAc,GAAG,iBAAiB,GAAG,cAAc,CAAA;IACpE,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAChC,4FAA4F;IAC5F,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EACV,OAAO,EACP,cAA+B,EAC/B,WAAW,EACX,QAAQ,EACR,OAAiB,EACjB,SAAS,GACV,EAAE,eAAe,qBAiEjB;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
32
|
-
require('../../chunk-
|
|
31
|
+
var _chunkSQQXCVZZcjs = require('../../chunk-SQQXCVZZ.cjs');
|
|
32
|
+
require('../../chunk-G56GYN7Z.cjs');
|
|
33
33
|
require('../../chunk-N2DVKXN4.cjs');
|
|
34
34
|
require('../../chunk-BZFW3FOF.cjs');
|
|
35
35
|
require('../../chunk-G7UE6RKV.cjs');
|
|
@@ -71,5 +71,5 @@ require('../../chunk-VRHGVLSL.cjs');
|
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
exports.AppHeader =
|
|
74
|
+
exports.AppHeader = _chunkSQQXCVZZcjs.AppHeader; exports.AppLayout = _chunkSQQXCVZZcjs.AppLayout; exports.AppLayoutDrawer = _chunkSQQXCVZZcjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkSQQXCVZZcjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkSQQXCVZZcjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkSQQXCVZZcjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkSQQXCVZZcjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkSQQXCVZZcjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkSQQXCVZZcjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkSQQXCVZZcjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkSQQXCVZZcjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunkSQQXCVZZcjs.ClientOnlyHeader; exports.Header = _chunkSQQXCVZZcjs.Header; exports.HeaderButton = _chunkSQQXCVZZcjs.HeaderButton; exports.HeaderGlobalSearch = _chunkSQQXCVZZcjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkSQQXCVZZcjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkSQQXCVZZcjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunkSQQXCVZZcjs.HeaderSkeleton; exports.MobileBurgerMenu = _chunkSQQXCVZZcjs.MobileBurgerMenu; exports.MobileNavPanel = _chunkSQQXCVZZcjs.MobileNavPanel; exports.MobileNavigationDropdown = _chunkSQQXCVZZcjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunkSQQXCVZZcjs.MultiLevelNavigation; exports.NavigationSidebar = _chunkSQQXCVZZcjs.NavigationSidebar; exports.SlidingSidebar = _chunkSQQXCVZZcjs.SlidingSidebar; exports.StickySectionNav = _chunkSQQXCVZZcjs.StickySectionNav; exports.useAppLayoutDrawerContainer = _chunkSQQXCVZZcjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkSQQXCVZZcjs.useSectionNavigation;
|
|
75
75
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
StickySectionNav,
|
|
29
29
|
useAppLayoutDrawerContainer,
|
|
30
30
|
useSectionNavigation
|
|
31
|
-
} from "../../chunk-
|
|
32
|
-
import "../../chunk-
|
|
31
|
+
} from "../../chunk-66JU4VP2.js";
|
|
32
|
+
import "../../chunk-JQ2EYXWR.js";
|
|
33
33
|
import "../../chunk-2FI3USTC.js";
|
|
34
34
|
import "../../chunk-EL5YVPD5.js";
|
|
35
35
|
import "../../chunk-PLJLE4A4.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkXHGE5XBHcjs = require('../../chunk-XHGE5XBH.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkDE2BQKQVcjs = require('../../chunk-DE2BQKQV.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk2ZHDP22Rcjs = require('../../chunk-2ZHDP22R.cjs');
|
|
13
13
|
require('../../chunk-VFKQMAUF.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
@@ -26,10 +26,10 @@ require('../../chunk-VFKQMAUF.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkSQQXCVZZcjs = require('../../chunk-SQQXCVZZ.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkG56GYN7Zcjs = require('../../chunk-G56GYN7Z.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkN2DVKXN4cjs = require('../../chunk-N2DVKXN4.cjs');
|
|
@@ -75,7 +75,7 @@ function OnboardingGuidesCatalogSkeleton() {
|
|
|
75
75
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-6 w-40 bg-ods-border/70 rounded" }),
|
|
76
76
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-8 bg-ods-text-secondary/20 rounded-full" })
|
|
77
77
|
] }),
|
|
78
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
78
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSQQXCVZZcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
|
|
79
79
|
] }, sectionIdx)) })
|
|
80
80
|
] });
|
|
81
81
|
}
|
|
@@ -99,10 +99,10 @@ function OnboardingGuidesCatalogView({
|
|
|
99
99
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
100
100
|
const activeSection = sectionValue || "all";
|
|
101
101
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
102
|
-
const guidesRes =
|
|
102
|
+
const guidesRes = _chunk2ZHDP22Rcjs.useSelfFetch.call(void 0,
|
|
103
103
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
104
104
|
);
|
|
105
|
-
const sectionsRes =
|
|
105
|
+
const sectionsRes = _chunk2ZHDP22Rcjs.useSelfFetch.call(void 0,
|
|
106
106
|
selfFetch && sectionsEndpoint ? sectionsEndpoint : null
|
|
107
107
|
);
|
|
108
108
|
const guides = _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( []));
|
|
@@ -144,21 +144,21 @@ function OnboardingGuidesCatalogView({
|
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
146
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _4 => _4.source]), () => ( "openframe"));
|
|
147
|
-
const docSearch =
|
|
147
|
+
const docSearch = _chunkDE2BQKQVcjs.useDocSearch.call(void 0, {
|
|
148
148
|
source,
|
|
149
149
|
baseRoute: basePath,
|
|
150
150
|
onNavigate: (path) => router.push(path),
|
|
151
151
|
tableIds: ["onboarding-guides"]
|
|
152
152
|
});
|
|
153
153
|
const defaultRenderCard = (guide) => {
|
|
154
|
-
const cta =
|
|
154
|
+
const cta = _chunkSQQXCVZZcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _5 => _5.composeContentUrl]), {
|
|
155
155
|
type: "onboarding_guide",
|
|
156
156
|
slug: guide.slug,
|
|
157
157
|
basePath,
|
|
158
158
|
platforms: guide.onboarding_guide_platforms
|
|
159
159
|
});
|
|
160
160
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
161
|
-
|
|
161
|
+
_chunkSQQXCVZZcjs.OnboardingGuideCard,
|
|
162
162
|
{
|
|
163
163
|
guide,
|
|
164
164
|
href: cta.href,
|
|
@@ -170,7 +170,7 @@ function OnboardingGuidesCatalogView({
|
|
|
170
170
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
171
171
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
172
172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
173
|
-
|
|
173
|
+
_chunkDE2BQKQVcjs.DocSearchBar,
|
|
174
174
|
{
|
|
175
175
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
176
176
|
query: docSearch.query,
|
|
@@ -182,7 +182,7 @@ function OnboardingGuidesCatalogView({
|
|
|
182
182
|
}
|
|
183
183
|
),
|
|
184
184
|
sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
-
|
|
185
|
+
_chunkSQQXCVZZcjs.FilterPillRow,
|
|
186
186
|
{
|
|
187
187
|
label: "Section",
|
|
188
188
|
selectedValue: activeSection,
|
|
@@ -192,7 +192,7 @@ function OnboardingGuidesCatalogView({
|
|
|
192
192
|
)
|
|
193
193
|
] });
|
|
194
194
|
if (selfFetch && guidesRes.error) {
|
|
195
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
195
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSQQXCVZZcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
196
196
|
}
|
|
197
197
|
if (selfFetch && guidesRes.data == null && isLoading) {
|
|
198
198
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
|
|
@@ -223,7 +223,7 @@ function OnboardingGuideDetailView({
|
|
|
223
223
|
slug,
|
|
224
224
|
guideEndpoint,
|
|
225
225
|
related = [],
|
|
226
|
-
MarkdownRenderer =
|
|
226
|
+
MarkdownRenderer = _chunkSQQXCVZZcjs.RichMarkdownRenderer,
|
|
227
227
|
renderRelatedCard,
|
|
228
228
|
backHref,
|
|
229
229
|
backLabel = "Back to Getting Started",
|
|
@@ -233,36 +233,36 @@ function OnboardingGuideDetailView({
|
|
|
233
233
|
const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
|
|
234
234
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
235
235
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
236
|
-
const { data: guide, isLoading, error, reload } =
|
|
237
|
-
const { ref: videoWarmupRef } =
|
|
236
|
+
const { data: guide, isLoading, error, reload } = _chunk2ZHDP22Rcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
237
|
+
const { ref: videoWarmupRef } = _chunkSQQXCVZZcjs.useVideoWarmup.call(void 0, {
|
|
238
238
|
videoUrl: _optionalChain([guide, 'optionalAccess', _6 => _6.main_video_url]),
|
|
239
239
|
supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _7 => _7.endpoints, 'access', _8 => _8.supabaseStorageOrigin])
|
|
240
240
|
});
|
|
241
241
|
if (error || !guide && !isLoading) {
|
|
242
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
242
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSQQXCVZZcjs.PageShell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSQQXCVZZcjs.LoadError, { message: "Guide not found.", onRetry: reload }) });
|
|
243
243
|
}
|
|
244
244
|
if (!guide) {
|
|
245
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
245
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSQQXCVZZcjs.PageShell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXHGE5XBHcjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) }) });
|
|
246
246
|
}
|
|
247
|
-
const captionsUrl =
|
|
247
|
+
const captionsUrl = _chunkSQQXCVZZcjs.getCaptionsUrl.call(void 0, "onboarding_guide", guide.id, guide.srt_content);
|
|
248
248
|
const videoPoster = guide.main_video_thumbnail || guide.featured_image || guide.og_image_url || // `buildOgPlaceholderUrl` always returns a usable string (relative route at
|
|
249
249
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
250
|
-
|
|
250
|
+
_chunkG56GYN7Zcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints]), guide.title, { aspect: "wide" });
|
|
251
251
|
const defaultRenderRelatedCard = (g) => {
|
|
252
|
-
const cta =
|
|
252
|
+
const cta = _chunkSQQXCVZZcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _10 => _10.composeContentUrl]), {
|
|
253
253
|
type: "onboarding_guide",
|
|
254
254
|
slug: g.slug,
|
|
255
255
|
basePath,
|
|
256
256
|
platforms: g.onboarding_guide_platforms
|
|
257
257
|
});
|
|
258
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
258
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSQQXCVZZcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
259
259
|
};
|
|
260
260
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
261
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSQQXCVZZcjs.PageShell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSQQXCVZZcjs.PageLayout, { backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) }, children: [
|
|
262
262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-h1 tracking-[-1.12px] text-ods-text-primary", children: guide.title }),
|
|
263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSQQXCVZZcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
|
|
264
264
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
265
|
-
|
|
265
|
+
_chunkSQQXCVZZcjs.EntityAuthorCard,
|
|
266
266
|
{
|
|
267
267
|
author: guide.author,
|
|
268
268
|
authorHref,
|
|
@@ -277,7 +277,7 @@ function OnboardingGuideDetailView({
|
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
279
|
(guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
280
|
-
|
|
280
|
+
_chunkSQQXCVZZcjs.EntityVideoSection,
|
|
281
281
|
{
|
|
282
282
|
mainVideoUrl: guide.main_video_url,
|
|
283
283
|
youtubeUrl: guide.youtube_url || void 0,
|
|
@@ -294,7 +294,7 @@ function OnboardingGuideDetailView({
|
|
|
294
294
|
) }),
|
|
295
295
|
guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
|
|
296
296
|
guide.video_bites && guide.video_bites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
-
|
|
297
|
+
_chunkSQQXCVZZcjs.VideoBitesDisplay,
|
|
298
298
|
{
|
|
299
299
|
bites: guide.video_bites,
|
|
300
300
|
filterPublished: true,
|
|
@@ -302,7 +302,7 @@ function OnboardingGuideDetailView({
|
|
|
302
302
|
}
|
|
303
303
|
),
|
|
304
304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
305
|
-
|
|
305
|
+
_chunkXHGE5XBHcjs.ArticleAuthorByline,
|
|
306
306
|
{
|
|
307
307
|
author: _nullishCoalesce(_optionalChain([guide, 'access', _11 => _11.author, 'optionalAccess', _12 => _12.full_name]), () => ( null)),
|
|
308
308
|
avatar: _optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.avatar_url]),
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ArticleAuthorByline,
|
|
4
4
|
DetailPageSkeleton
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-BVDHLEP2.js";
|
|
6
6
|
import {
|
|
7
7
|
DocSearchBar,
|
|
8
8
|
useDocSearch
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-6FZD5KFP.js";
|
|
10
10
|
import {
|
|
11
11
|
useSelfFetch
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-JQLC2FVM.js";
|
|
13
13
|
import "../../chunk-4XLJWX2N.js";
|
|
14
14
|
import {
|
|
15
15
|
EntityAuthorCard,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
getCaptionsUrl,
|
|
27
27
|
resolveContentHref,
|
|
28
28
|
useVideoWarmup
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-66JU4VP2.js";
|
|
30
30
|
import {
|
|
31
31
|
buildOgPlaceholderUrl
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-JQ2EYXWR.js";
|
|
33
33
|
import {
|
|
34
34
|
useChatRuntime
|
|
35
35
|
} from "../../chunk-2FI3USTC.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
5
|
+
var _chunkGHK2FCIMcjs = require('../../chunk-GHK2FCIM.cjs');
|
|
6
|
+
require('../../chunk-2ZHDP22R.cjs');
|
|
7
|
+
require('../../chunk-SQQXCVZZ.cjs');
|
|
8
|
+
require('../../chunk-G56GYN7Z.cjs');
|
|
9
9
|
require('../../chunk-N2DVKXN4.cjs');
|
|
10
10
|
require('../../chunk-BZFW3FOF.cjs');
|
|
11
11
|
require('../../chunk-G7UE6RKV.cjs');
|
|
@@ -22,5 +22,5 @@ require('../../chunk-VRHGVLSL.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.GROUP_PAGE_SIZE =
|
|
25
|
+
exports.GROUP_PAGE_SIZE = _chunkGHK2FCIMcjs.GROUP_PAGE_SIZE; exports.RelatedContentSection = _chunkGHK2FCIMcjs.RelatedContentSection;
|
|
26
26
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
GROUP_PAGE_SIZE,
|
|
4
4
|
RelatedContentSection
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-FXTT7K3A.js";
|
|
6
|
+
import "../../chunk-JQLC2FVM.js";
|
|
7
|
+
import "../../chunk-66JU4VP2.js";
|
|
8
|
+
import "../../chunk-JQ2EYXWR.js";
|
|
9
9
|
import "../../chunk-2FI3USTC.js";
|
|
10
10
|
import "../../chunk-EL5YVPD5.js";
|
|
11
11
|
import "../../chunk-PLJLE4A4.js";
|
|
@@ -11,10 +11,6 @@ export interface HelpCenterListProps {
|
|
|
11
11
|
label?: string;
|
|
12
12
|
href?: string;
|
|
13
13
|
} | false;
|
|
14
|
-
/** Override the hero title (forwarded to `DevSectionPage.title`). Defaults to
|
|
15
|
-
* the `tickets` section copy ("Help Center"). Set this to brand the surface
|
|
16
|
-
* for an embed that wants its own label (e.g. "Support Tickets"). */
|
|
17
|
-
title?: string;
|
|
18
14
|
}
|
|
19
|
-
export declare function HelpCenterList({ toast, backButton
|
|
15
|
+
export declare function HelpCenterList({ toast, backButton }?: HelpCenterListProps): import("react").JSX.Element;
|
|
20
16
|
//# sourceMappingURL=help-center-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help-center-list.d.ts","sourceRoot":"","sources":["../../../src/components/tickets/help-center-list.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAQ7D,MAAM,WAAW,mBAAmB;IAClC;2BACuB;IACvB,KAAK,CAAC,EAAE,OAAO,YAAY,CAAA;IAC3B;;;wDAGoD;IACpD,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"help-center-list.d.ts","sourceRoot":"","sources":["../../../src/components/tickets/help-center-list.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAQ7D,MAAM,WAAW,mBAAmB;IAClC;2BACuB;IACvB,KAAK,CAAC,EAAE,OAAO,YAAY,CAAA;IAC3B;;;wDAGoD;IACpD,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,CAAA;CACvD;AAED,wBAAgB,cAAc,CAAC,EAAE,KAAoB,EAAE,UAAU,EAAE,GAAE,mBAAwB,+BAyE5F"}
|