@flamingo-stack/openframe-frontend-core 0.0.766 → 0.0.767

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 (64) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-NJMZ3N7Q.cjs → chunk-7TJVYRHR.cjs} +5 -5
  3. package/dist/{chunk-X7ECVSVN.cjs → chunk-7ZU3AVEX.cjs} +11 -11
  4. package/dist/{chunk-F7R3U5EN.cjs → chunk-BXMDLQUA.cjs} +2 -2
  5. package/dist/{chunk-VRDHAR3X.cjs → chunk-FVH53QZJ.cjs} +100 -88
  6. package/dist/{chunk-7XFVUUVZ.cjs → chunk-GJ5DHDFQ.cjs} +2 -2
  7. package/dist/{chunk-JKQVKWLB.cjs → chunk-GQ7RGD4Y.cjs} +43 -43
  8. package/dist/{chunk-K3IHNXR4.cjs → chunk-I7A5MPXA.cjs} +3 -3
  9. package/dist/{chunk-VYYLYZUC.cjs → chunk-IKXUJUXC.cjs} +2 -2
  10. package/dist/{chunk-7VI7TOGI.cjs → chunk-JBJVUQVH.cjs} +134 -96
  11. package/dist/{chunk-JGWN6GH5.cjs → chunk-KHISVNNH.cjs} +4 -4
  12. package/dist/{chunk-WO3XO27C.cjs → chunk-M2UU3CWX.cjs} +3 -3
  13. package/dist/{chunk-INI4ADPT.cjs → chunk-MNIMYGFR.cjs} +13 -13
  14. package/dist/{chunk-NF3PBWDJ.cjs → chunk-NO2DEFAP.cjs} +43 -43
  15. package/dist/{chunk-UW7UWUZU.cjs → chunk-TPOLNGOW.cjs} +35 -35
  16. package/dist/{chunk-HNQRY6RU.cjs → chunk-UHDBMKJB.cjs} +3 -3
  17. package/dist/{chunk-7U3ELNGC.cjs → chunk-WEPIWJGR.cjs} +10 -10
  18. package/dist/{chunk-RTBYQWAV.cjs → chunk-XIXR6BHI.cjs} +27 -27
  19. package/dist/{cloud-tenants-U2KMEIO7.cjs → cloud-tenants-WXK5RDSY.cjs} +3 -3
  20. package/dist/components/case-studies/index.cjs +13 -13
  21. package/dist/components/chat/index.cjs +2 -2
  22. package/dist/components/chat/index.d.ts.map +1 -1
  23. package/dist/components/chat/index.js +18 -4
  24. package/dist/components/contact/index.cjs +4 -4
  25. package/dist/components/docs/index.cjs +7 -7
  26. package/dist/components/embeds/index.cjs +4 -4
  27. package/dist/components/embeds/rich-markdown-runtime.d.ts +4 -1
  28. package/dist/components/embeds/rich-markdown-runtime.d.ts.map +1 -1
  29. package/dist/components/embeds/rich-markdown-runtime.js +6 -5
  30. package/dist/components/faq/index.cjs +5 -5
  31. package/dist/components/features/index.cjs +3 -3
  32. package/dist/components/features/walkthrough-video.d.ts.map +1 -1
  33. package/dist/components/features/walkthrough-video.js +3 -1
  34. package/dist/components/help-center-pages/index.cjs +58 -58
  35. package/dist/components/index.cjs +33 -33
  36. package/dist/components/meeting-scheduler/index.cjs +24 -24
  37. package/dist/components/navigation/index.cjs +6 -6
  38. package/dist/components/onboarding-guides/index.cjs +5 -5
  39. package/dist/components/product-demo/index.cjs +12 -12
  40. package/dist/components/tickets/index.cjs +8 -8
  41. package/dist/components/ui/index.cjs +3 -3
  42. package/dist/components/ui/markdown/rich/embed-overrides.d.ts.map +1 -1
  43. package/dist/components/ui/markdown/rich/embed-overrides.js +10 -1
  44. package/dist/{devices-2D3XSIIE.cjs → devices-UHHHTCJF.cjs} +4 -4
  45. package/dist/index.cjs +9 -7
  46. package/dist/{knowledge-AJ36PMK2.cjs → knowledge-TJKHM7W4.cjs} +3 -3
  47. package/dist/{logs-DNE44ACE.cjs → logs-B3KCCMPE.cjs} +11 -11
  48. package/dist/{policies-AJHSP6ZY.cjs → policies-ZTUIXSYZ.cjs} +7 -7
  49. package/dist/{scripts-4YO2QL36.cjs → scripts-FIFAHBS6.cjs} +8 -8
  50. package/dist/{software-update-KMI2EOO3.cjs → software-update-62PLASQU.cjs} +6 -6
  51. package/dist/utils/after-page-load.d.ts +8 -0
  52. package/dist/utils/after-page-load.d.ts.map +1 -0
  53. package/dist/utils/after-page-load.js +24 -0
  54. package/dist/utils/index.cjs +24 -0
  55. package/dist/utils/index.d.ts +1 -0
  56. package/dist/utils/index.d.ts.map +1 -1
  57. package/dist/utils/index.js +1 -0
  58. package/package.json +1 -1
  59. package/src/components/chat/index.ts +22 -5
  60. package/src/components/embeds/rich-markdown-runtime.tsx +10 -6
  61. package/src/components/features/walkthrough-video.tsx +8 -1
  62. package/src/components/ui/markdown/rich/embed-overrides.tsx +11 -1
  63. package/src/utils/after-page-load.ts +30 -0
  64. package/src/utils/index.ts +1 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVRDHAR3Xcjs = require('./chunk-VRDHAR3X.cjs');
5
+ var _chunkFVH53QZJcjs = require('./chunk-FVH53QZJ.cjs');
6
6
 
7
7
 
8
8
 
@@ -17,7 +17,7 @@ var _chunkZV45VS6Kcjs = require('./chunk-ZV45VS6K.cjs');
17
17
  var _chunkXVFM6SJAcjs = require('./chunk-XVFM6SJA.cjs');
18
18
 
19
19
 
20
- var _chunk7VI7TOGIcjs = require('./chunk-7VI7TOGI.cjs');
20
+ var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
21
21
 
22
22
 
23
23
 
@@ -203,13 +203,13 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunk7VI7TOGIcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkJBJVUQVHcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
207
207
  children: [
208
208
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
209
209
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
210
210
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
211
211
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
212
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.HoneypotField, { ...honeypotInputProps }),
213
213
  extraTopField,
214
214
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
215
215
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXDHVHB2cjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkVRDHAR3Xcjs.Textarea,
337
+ _chunkFVH53QZJcjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),
@@ -6,7 +6,7 @@ var _chunkXVFM6SJAcjs = require('./chunk-XVFM6SJA.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunk7VI7TOGIcjs = require('./chunk-7VI7TOGI.cjs');
9
+ var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
10
10
 
11
11
 
12
12
  var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
@@ -168,31 +168,31 @@ CveLink.displayName = "CveLink";
168
168
  // src/components/platform/ShellTypeBadge.tsx
169
169
 
170
170
  var shellIconMap = {
171
- [_chunk7VI7TOGIcjs.ShellTypeValues.POWERSHELL]: {
171
+ [_chunkJBJVUQVHcjs.ShellTypeValues.POWERSHELL]: {
172
172
  icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
173
173
  props: { size: 16, className: "text-ods-text-secondary" }
174
174
  },
175
- [_chunk7VI7TOGIcjs.ShellTypeValues.CMD]: {
175
+ [_chunkJBJVUQVHcjs.ShellTypeValues.CMD]: {
176
176
  icon: _chunkUXUYT4WKcjs.CmdIcon,
177
177
  props: { size: 16, color: "var(--color-text-secondary)" }
178
178
  },
179
- [_chunk7VI7TOGIcjs.ShellTypeValues.BASH]: {
179
+ [_chunkJBJVUQVHcjs.ShellTypeValues.BASH]: {
180
180
  icon: _chunk5OG5ZTNMcjs.BashIcon,
181
181
  props: { size: 16, color: "var(--color-text-secondary)" }
182
182
  },
183
- [_chunk7VI7TOGIcjs.ShellTypeValues.PYTHON]: {
183
+ [_chunkJBJVUQVHcjs.ShellTypeValues.PYTHON]: {
184
184
  icon: _chunkBF77UKGDcjs.PythonLogoIcon,
185
185
  props: { size: 16, className: "text-ods-text-secondary" }
186
186
  },
187
- [_chunk7VI7TOGIcjs.ShellTypeValues.NUSHELL]: {
187
+ [_chunkJBJVUQVHcjs.ShellTypeValues.NUSHELL]: {
188
188
  icon: _chunkG37H4CBTcjs.NushellIcon,
189
189
  props: { size: 16, color: "var(--color-text-secondary)" }
190
190
  },
191
- [_chunk7VI7TOGIcjs.ShellTypeValues.DENO]: {
191
+ [_chunkJBJVUQVHcjs.ShellTypeValues.DENO]: {
192
192
  icon: _chunkHUL6SF5Acjs.DenoIcon,
193
193
  props: { size: 16, color: "var(--color-text-secondary)" }
194
194
  },
195
- [_chunk7VI7TOGIcjs.ShellTypeValues.SHELL]: {
195
+ [_chunkJBJVUQVHcjs.ShellTypeValues.SHELL]: {
196
196
  icon: _chunk6RMATQNNcjs.ShellIcon,
197
197
  props: { size: 16, color: "var(--color-text-secondary)" }
198
198
  }
@@ -203,7 +203,7 @@ var defaultIconConfig = {
203
203
  };
204
204
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
205
205
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
206
- const label = _chunk7VI7TOGIcjs.getShellLabel.call(void 0, normalizedType);
206
+ const label = _chunkJBJVUQVHcjs.getShellLabel.call(void 0, normalizedType);
207
207
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
208
208
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
209
209
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -219,7 +219,7 @@ function formatSupportedPlatforms(platforms) {
219
219
  if (!platforms || platforms.length === 0) {
220
220
  return "All Platforms";
221
221
  }
222
- return platforms.map((platform) => _chunk7VI7TOGIcjs.getOSLabel.call(void 0, platform)).join(", ");
222
+ return platforms.map((platform) => _chunkJBJVUQVHcjs.getOSLabel.call(void 0, platform)).join(", ");
223
223
  }
224
224
  function InfoCell({ label, value, avatar, className }) {
225
225
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -239,7 +239,7 @@ var ScriptInfoSection = ({
239
239
  author,
240
240
  className
241
241
  }) => {
242
- const shellLabel = _chunk7VI7TOGIcjs.getShellLabel.call(void 0, shellType);
242
+ const shellLabel = _chunkJBJVUQVHcjs.getShellLabel.call(void 0, shellType);
243
243
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
244
244
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
245
245
  /* @__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 strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunk7VI7TOGIcjs = require('./chunk-7VI7TOGI.cjs');
4
+ var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
5
5
 
6
6
 
7
7
  var _chunkYL6ZB2SRcjs = require('./chunk-YL6ZB2SR.cjs');
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
160
160
  _react2.default.useEffect(() => {
161
161
  if (!streamEnabled) return void 0;
162
162
  if (typeof window === "undefined") return void 0;
163
- subscriptionRef.current = _chunk7VI7TOGIcjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunkJBJVUQVHcjs.createSseSubscription.call(void 0, {
164
164
  url: streamUrl,
165
165
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
166
166
  onStatusChange: (status) => handlersRef.current.onStatus(status),