@flamingo-stack/openframe-frontend-core 0.0.706-snapshot.20261006190707 → 0.0.706
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-6YKAT7NV.js → chunk-3EZ4HHAP.js} +2 -2
- package/dist/{chunk-LFFB6EMB.js → chunk-3NCM4ZQB.js} +2 -15
- package/dist/{chunk-6I4ZAFO2.cjs → chunk-3PLDQDE6.cjs} +9 -9
- package/dist/{chunk-SS5MBHDP.js → chunk-4CJMQLB5.js} +2 -2
- package/dist/{chunk-CNWOMQQJ.js → chunk-4ILM7W2R.js} +1 -1
- package/dist/{chunk-MR3A4MZV.js → chunk-6232S532.js} +1 -1
- package/dist/{chunk-PO33GZVY.js → chunk-7GEBFJT2.js} +4 -24
- package/dist/{chunk-SEXWHIMS.cjs → chunk-7OFPU7WE.cjs} +331 -351
- package/dist/{chunk-2KXTOP6G.cjs → chunk-7SCNMP2B.cjs} +13 -26
- package/dist/{chunk-HDOYSEOJ.js → chunk-BHI6GVC4.js} +3 -3
- package/dist/{chunk-2RNB5DTN.cjs → chunk-DDVBX42E.cjs} +7 -7
- package/dist/{chunk-CZSZSDD4.js → chunk-DWPAAWMR.js} +4 -4
- package/dist/{chunk-4L6XCMOU.js → chunk-G6UMNAVI.js} +2 -10
- package/dist/{chunk-P42V6N34.cjs → chunk-GWQEYPYM.cjs} +313 -321
- package/dist/{chunk-AOWDNSTM.cjs → chunk-HZ7CBXPL.cjs} +40 -40
- package/dist/{chunk-I3ST4PLM.js → chunk-IKJA3Y7Z.js} +1 -1
- package/dist/{chunk-2G7UYK35.cjs → chunk-K6O43WDL.cjs} +32 -32
- package/dist/{chunk-JRU2CXLB.cjs → chunk-LVSFKENJ.cjs} +2 -2
- package/dist/{chunk-LRQTJOF2.cjs → chunk-M75XEEGT.cjs} +24 -24
- package/dist/{chunk-YBUT4AMG.cjs → chunk-MB4PNY7C.cjs} +2 -2
- package/dist/{chunk-LNW45N2C.js → chunk-O2RSAA5M.js} +5 -5
- package/dist/{chunk-DA5UDTLG.js → chunk-PXOQIA5K.js} +2 -2
- package/dist/{chunk-NSGXARGJ.cjs → chunk-RTIPR53L.cjs} +70 -70
- package/dist/{chunk-L6Y6OOKG.cjs → chunk-SEKYEWQG.cjs} +20 -20
- package/dist/{chunk-3AHTOSXJ.cjs → chunk-STHZBOQI.cjs} +9 -9
- package/dist/{chunk-B73373AG.cjs → chunk-SW5ZV2BN.cjs} +20 -20
- package/dist/{chunk-4UM2ETLM.js → chunk-T5TMCHWM.js} +2 -2
- package/dist/{chunk-36BCTE7D.js → chunk-TE773HEH.js} +4 -4
- package/dist/{chunk-QAOFMK2A.cjs → chunk-TQ4LB2DS.cjs} +3 -3
- package/dist/{chunk-OJLR5MEO.cjs → chunk-UJ33ZXDT.cjs} +4 -4
- package/dist/{chunk-TDYIREDJ.js → chunk-VZICIQW2.js} +4 -4
- package/dist/{chunk-6IW7TWPV.js → chunk-YGJKKDDM.js} +1 -1
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +2 -4
- package/dist/components/chat/index.d.ts +1 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +1 -3
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts +5 -34
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +70 -70
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +36 -38
- package/dist/components/index.js +13 -15
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/platform/ToolBadge.d.ts +0 -6
- package/dist/components/platform/ToolBadge.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/brand-association-card.d.ts +0 -7
- package/dist/components/ui/brand-association-card.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +3 -5
- package/dist/components/ui/index.js +2 -4
- package/dist/index.cjs +7 -9
- package/dist/index.js +6 -8
- package/package.json +1 -1
- package/src/components/chat/index.ts +1 -7
- package/src/components/chat/nav-link-anchor-via-runtime.tsx +9 -62
- package/src/components/platform/ToolBadge.tsx +1 -18
- package/src/components/ui/brand-association-card.tsx +3 -25
|
@@ -4,15 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGWQEYPYMcjs = require('./chunk-GWQEYPYM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkWCVZCGK5cjs = require('./chunk-WCVZCGK5.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var _chunkSEXWHIMScjs = require('./chunk-SEXWHIMS.cjs');
|
|
14
|
-
|
|
15
|
-
|
|
16
13
|
var _chunkUVTD52MDcjs = require('./chunk-UVTD52MD.cjs');
|
|
17
14
|
|
|
18
15
|
|
|
@@ -128,22 +125,12 @@ var ToolBadge = ({
|
|
|
128
125
|
icon,
|
|
129
126
|
variant = "inline",
|
|
130
127
|
href,
|
|
131
|
-
targetPlatform,
|
|
132
128
|
className,
|
|
133
129
|
iconClassName
|
|
134
130
|
}) => {
|
|
135
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
131
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkGWQEYPYMcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
136
132
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUVTD52MDcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
137
|
-
const linked = (node, linkClassName) => href
|
|
138
|
-
_chunkSEXWHIMScjs.NavLinkAnchorViaRuntime,
|
|
139
|
-
{
|
|
140
|
-
href,
|
|
141
|
-
targetPlatform,
|
|
142
|
-
title: text || void 0,
|
|
143
|
-
className: linkClassName,
|
|
144
|
-
children: node
|
|
145
|
-
}
|
|
146
|
-
) : href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
|
|
133
|
+
const linked = (node, linkClassName) => href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
|
|
147
134
|
if (variant === "chip") {
|
|
148
135
|
return linked(
|
|
149
136
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -175,31 +162,31 @@ var ToolBadge = ({
|
|
|
175
162
|
// src/components/platform/ShellTypeBadge.tsx
|
|
176
163
|
|
|
177
164
|
var shellIconMap = {
|
|
178
|
-
[
|
|
165
|
+
[_chunkGWQEYPYMcjs.ShellTypeValues.POWERSHELL]: {
|
|
179
166
|
icon: _chunkVX4E6YSBcjs.PowershellLogoGreyIcon,
|
|
180
167
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
181
168
|
},
|
|
182
|
-
[
|
|
169
|
+
[_chunkGWQEYPYMcjs.ShellTypeValues.CMD]: {
|
|
183
170
|
icon: _chunkLLSUVPQCcjs.CmdIcon,
|
|
184
171
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
185
172
|
},
|
|
186
|
-
[
|
|
173
|
+
[_chunkGWQEYPYMcjs.ShellTypeValues.BASH]: {
|
|
187
174
|
icon: _chunkLLSUVPQCcjs.BashIcon,
|
|
188
175
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
189
176
|
},
|
|
190
|
-
[
|
|
177
|
+
[_chunkGWQEYPYMcjs.ShellTypeValues.PYTHON]: {
|
|
191
178
|
icon: _chunkVX4E6YSBcjs.PythonLogoIcon,
|
|
192
179
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
193
180
|
},
|
|
194
|
-
[
|
|
181
|
+
[_chunkGWQEYPYMcjs.ShellTypeValues.NUSHELL]: {
|
|
195
182
|
icon: _chunkLLSUVPQCcjs.NushellIcon,
|
|
196
183
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
197
184
|
},
|
|
198
|
-
[
|
|
185
|
+
[_chunkGWQEYPYMcjs.ShellTypeValues.DENO]: {
|
|
199
186
|
icon: _chunkLLSUVPQCcjs.DenoIcon,
|
|
200
187
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
201
188
|
},
|
|
202
|
-
[
|
|
189
|
+
[_chunkGWQEYPYMcjs.ShellTypeValues.SHELL]: {
|
|
203
190
|
icon: _chunkLLSUVPQCcjs.ShellIcon,
|
|
204
191
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
205
192
|
}
|
|
@@ -210,7 +197,7 @@ var defaultIconConfig = {
|
|
|
210
197
|
};
|
|
211
198
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
212
199
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
213
|
-
const label =
|
|
200
|
+
const label = _chunkGWQEYPYMcjs.getShellLabel.call(void 0, normalizedType);
|
|
214
201
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
215
202
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
216
203
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -226,7 +213,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
226
213
|
if (!platforms || platforms.length === 0) {
|
|
227
214
|
return "All Platforms";
|
|
228
215
|
}
|
|
229
|
-
return platforms.map((platform) =>
|
|
216
|
+
return platforms.map((platform) => _chunkGWQEYPYMcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
230
217
|
}
|
|
231
218
|
function InfoCell({ label, value, avatar, className }) {
|
|
232
219
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -246,7 +233,7 @@ var ScriptInfoSection = ({
|
|
|
246
233
|
author,
|
|
247
234
|
className
|
|
248
235
|
}) => {
|
|
249
|
-
const shellLabel =
|
|
236
|
+
const shellLabel = _chunkGWQEYPYMcjs.getShellLabel.call(void 0, shellType);
|
|
250
237
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
251
238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
252
239
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useOptionalTicketLive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3EZ4HHAP.js";
|
|
5
5
|
import {
|
|
6
6
|
AppLayoutDrawerContainerContext,
|
|
7
7
|
AppLayoutDrawerCoordinationContext,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
UnreadDot,
|
|
15
15
|
buildTicketOpenHref,
|
|
16
16
|
useOptionalNotifications
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-G6UMNAVI.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveActiveSection,
|
|
20
20
|
shortcutLabel,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
OVERLAY_BACKDROP_CLASS,
|
|
30
30
|
useIsHydrated
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7GEBFJT2.js";
|
|
32
32
|
import {
|
|
33
33
|
useHeaderHeight
|
|
34
34
|
} from "./chunk-CZ7Y7UG4.js";
|
|
@@ -5,7 +5,7 @@ var _chunkUDFRUKLCcjs = require('./chunk-UDFRUKLC.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkGWQEYPYMcjs = require('./chunk-GWQEYPYM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkWCVZCGK5cjs = require('./chunk-WCVZCGK5.cjs');
|
|
@@ -16,7 +16,7 @@ var _chunkBIZNSF3Ucjs = require('./chunk-BIZNSF3U.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk7OFPU7WEcjs = require('./chunk-7OFPU7WE.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -56,7 +56,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
56
56
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
57
57
|
"div",
|
|
58
58
|
{
|
|
59
|
-
id:
|
|
59
|
+
id: _chunk7OFPU7WEcjs.faqItemAnchor.call(void 0, item.id),
|
|
60
60
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
61
61
|
children: [
|
|
62
62
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -149,7 +149,7 @@ function groupFaqsBySection(faqs) {
|
|
|
149
149
|
}
|
|
150
150
|
let group = byName.get(name);
|
|
151
151
|
if (!group) {
|
|
152
|
-
group = { section: name, slug:
|
|
152
|
+
group = { section: name, slug: _chunk7OFPU7WEcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
153
153
|
byName.set(name, group);
|
|
154
154
|
}
|
|
155
155
|
group.items.push(item);
|
|
@@ -202,7 +202,7 @@ function GroupedFaqList({
|
|
|
202
202
|
}, [slugKey]);
|
|
203
203
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
204
204
|
_react.useEffect.call(void 0, () => {
|
|
205
|
-
const refresh = () => setHashTarget(
|
|
205
|
+
const refresh = () => setHashTarget(_chunk7OFPU7WEcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
206
206
|
refresh();
|
|
207
207
|
window.addEventListener("hashchange", refresh);
|
|
208
208
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -336,7 +336,7 @@ function FaqDocumentPage({
|
|
|
336
336
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
|
|
337
337
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
|
|
338
338
|
};
|
|
339
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
339
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGWQEYPYMcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
340
340
|
FaqSection,
|
|
341
341
|
{
|
|
342
342
|
initialFaqs,
|
|
@@ -349,7 +349,7 @@ function FaqDocumentPage({
|
|
|
349
349
|
minResults
|
|
350
350
|
}
|
|
351
351
|
) });
|
|
352
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGWQEYPYMcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YGJKKDDM.js";
|
|
7
7
|
import {
|
|
8
8
|
MobileNavigationDropdown,
|
|
9
9
|
MultiLevelNavigation,
|
|
10
10
|
StickySectionNav
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4ILM7W2R.js";
|
|
12
12
|
import {
|
|
13
13
|
DocSearchBar,
|
|
14
14
|
useDocSearch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PXOQIA5K.js";
|
|
16
16
|
import {
|
|
17
17
|
CategorySidebarSkeleton,
|
|
18
18
|
DEFAULT_FOLDER_INDEX_FILE,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
findDocNodeByPath,
|
|
23
23
|
getDocAncestorNodeIds,
|
|
24
24
|
stripFolderIndexFromPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-G6UMNAVI.js";
|
|
26
26
|
import {
|
|
27
27
|
contentFetch
|
|
28
28
|
} from "./chunk-CUME3VTQ.js";
|
|
@@ -92,10 +92,9 @@ import {
|
|
|
92
92
|
useCaptions,
|
|
93
93
|
useCollapsible,
|
|
94
94
|
useIsHydrated,
|
|
95
|
-
useNavLinkViaRuntime,
|
|
96
95
|
useResizablePanelSize,
|
|
97
96
|
useScrollFade
|
|
98
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-7GEBFJT2.js";
|
|
99
98
|
import {
|
|
100
99
|
ToolIcon,
|
|
101
100
|
createHeadingIdDeduper,
|
|
@@ -12376,13 +12375,6 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
12376
12375
|
import { ExternalLink as ExternalLink4 } from "lucide-react";
|
|
12377
12376
|
import React9 from "react";
|
|
12378
12377
|
import { jsx as jsx90, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
12379
|
-
function PlatformBrowseButton({ item }) {
|
|
12380
|
-
const linkProps = useNavLinkViaRuntime({ href: item.link, targetPlatform: item.targetPlatform });
|
|
12381
|
-
return /* @__PURE__ */ jsxs68(Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ jsx90(ExternalLink4, { className: "h-4 w-4" }), children: [
|
|
12382
|
-
"Browse ",
|
|
12383
|
-
item.buttonText
|
|
12384
|
-
] });
|
|
12385
|
-
}
|
|
12386
12378
|
function BrandAssociationCard({ item, className = "" }) {
|
|
12387
12379
|
const renderIcon = () => {
|
|
12388
12380
|
if (React9.isValidElement(item.icon)) {
|
|
@@ -12395,7 +12387,7 @@ function BrandAssociationCard({ item, className = "" }) {
|
|
|
12395
12387
|
/* @__PURE__ */ jsx90("div", { className: "flex h-20 w-20 items-center justify-center", children: renderIcon() }),
|
|
12396
12388
|
/* @__PURE__ */ jsx90("h3", { className: "text-ods-text-primary text-h2", children: item.title }),
|
|
12397
12389
|
/* @__PURE__ */ jsx90("p", { className: "text-ods-text-secondary text-h6", children: item.description }),
|
|
12398
|
-
|
|
12390
|
+
/* @__PURE__ */ jsxs68(Button, { variant: "outline", href: item.link, openInNewTab: true, rightIcon: /* @__PURE__ */ jsx90(ExternalLink4, { className: "h-4 w-4" }), children: [
|
|
12399
12391
|
"Browse ",
|
|
12400
12392
|
item.buttonText
|
|
12401
12393
|
] })
|