@flamingo-stack/openframe-frontend-core 0.0.542 → 0.0.543-1802.4768.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.
Files changed (122) hide show
  1. package/dist/{chunk-F3GGE6DI.cjs → chunk-2NX2VD7T.cjs} +87 -87
  2. package/dist/{chunk-F3GGE6DI.cjs.map → chunk-2NX2VD7T.cjs.map} +1 -1
  3. package/dist/{chunk-T4O3AEKV.cjs → chunk-3PMCWX36.cjs} +26 -26
  4. package/dist/{chunk-T4O3AEKV.cjs.map → chunk-3PMCWX36.cjs.map} +1 -1
  5. package/dist/{chunk-BETH6QZC.cjs → chunk-4PRMQKAK.cjs} +75 -73
  6. package/dist/chunk-4PRMQKAK.cjs.map +1 -0
  7. package/dist/{chunk-PZGOK2OC.js → chunk-5DPCASIW.js} +2 -2
  8. package/dist/{chunk-SEAKHM72.js → chunk-67XL4FMM.js} +2 -2
  9. package/dist/{chunk-DMYAVVD7.cjs → chunk-74T6MVF7.cjs} +7 -7
  10. package/dist/{chunk-DMYAVVD7.cjs.map → chunk-74T6MVF7.cjs.map} +1 -1
  11. package/dist/{chunk-VP4ZY2RA.js → chunk-7RPM4KRD.js} +49 -85
  12. package/dist/{chunk-VP4ZY2RA.js.map → chunk-7RPM4KRD.js.map} +1 -1
  13. package/dist/{chunk-4JDQXYFI.cjs → chunk-AF6W3O2N.cjs} +14 -14
  14. package/dist/{chunk-4JDQXYFI.cjs.map → chunk-AF6W3O2N.cjs.map} +1 -1
  15. package/dist/{chunk-JIAZRPQG.cjs → chunk-D5K5EHBR.cjs} +11 -11
  16. package/dist/{chunk-JIAZRPQG.cjs.map → chunk-D5K5EHBR.cjs.map} +1 -1
  17. package/dist/{chunk-FT5PZQVK.js → chunk-DR3MJCFM.js} +5 -5
  18. package/dist/{chunk-IRZHAWRW.cjs → chunk-ERP5RN6B.cjs} +4 -4
  19. package/dist/{chunk-IRZHAWRW.cjs.map → chunk-ERP5RN6B.cjs.map} +1 -1
  20. package/dist/{chunk-4IOPSFHF.cjs → chunk-EYL5Q7QI.cjs} +37 -37
  21. package/dist/{chunk-4IOPSFHF.cjs.map → chunk-EYL5Q7QI.cjs.map} +1 -1
  22. package/dist/{chunk-OLUROGWG.cjs → chunk-FZF5QY7O.cjs} +31 -31
  23. package/dist/{chunk-OLUROGWG.cjs.map → chunk-FZF5QY7O.cjs.map} +1 -1
  24. package/dist/{chunk-WFG72MKN.cjs → chunk-HABTZJ5S.cjs} +28 -26
  25. package/dist/chunk-HABTZJ5S.cjs.map +1 -0
  26. package/dist/{chunk-LOSJMXB7.cjs → chunk-HMRPSDDQ.cjs} +9 -9
  27. package/dist/{chunk-LOSJMXB7.cjs.map → chunk-HMRPSDDQ.cjs.map} +1 -1
  28. package/dist/{chunk-FMH3YY4H.js → chunk-HOMBXWT5.js} +2 -2
  29. package/dist/{chunk-QW36SYRQ.js → chunk-HZCGR4TA.js} +2 -2
  30. package/dist/{chunk-UL5EGPMV.js → chunk-LNMWDIIJ.js} +4 -4
  31. package/dist/{chunk-DVBUNH46.cjs → chunk-LYH3DPK3.cjs} +5 -5
  32. package/dist/{chunk-DVBUNH46.cjs.map → chunk-LYH3DPK3.cjs.map} +1 -1
  33. package/dist/{chunk-QEXFM2QX.js → chunk-MNDO73RD.js} +2 -2
  34. package/dist/{chunk-2GRFWONP.js → chunk-MSDEKLLM.js} +2 -2
  35. package/dist/{chunk-WNNZFBMS.js → chunk-N2LJBBQQ.js} +6 -4
  36. package/dist/{chunk-WNNZFBMS.js.map → chunk-N2LJBBQQ.js.map} +1 -1
  37. package/dist/{chunk-CE2GROZZ.cjs → chunk-QOZOU6M4.cjs} +562 -598
  38. package/dist/{chunk-CE2GROZZ.cjs.map → chunk-QOZOU6M4.cjs.map} +1 -1
  39. package/dist/{chunk-Y22S7NE3.js → chunk-R3QMKCGX.js} +9 -7
  40. package/dist/chunk-R3QMKCGX.js.map +1 -0
  41. package/dist/{chunk-QDO7Y54S.js → chunk-RDWDWUO2.js} +2 -2
  42. package/dist/{chunk-J2Z53KRG.js → chunk-U5PYLGAK.js} +2 -2
  43. package/dist/{chunk-AKZY45LV.js → chunk-VHTQSY6C.js} +2 -2
  44. package/dist/{chunk-FLSI72M2.cjs → chunk-VWJBF3BN.cjs} +3 -3
  45. package/dist/{chunk-FLSI72M2.cjs.map → chunk-VWJBF3BN.cjs.map} +1 -1
  46. package/dist/components/case-studies/index.cjs +8 -8
  47. package/dist/components/case-studies/index.js +2 -2
  48. package/dist/components/chat/index.cjs +2 -2
  49. package/dist/components/chat/index.js +1 -1
  50. package/dist/components/chat/types/entities/onboarding-guide.d.ts +1 -0
  51. package/dist/components/chat/types/entities/onboarding-guide.d.ts.map +1 -1
  52. package/dist/components/contact/index.cjs +3 -3
  53. package/dist/components/contact/index.js +2 -2
  54. package/dist/components/docs/index.cjs +5 -5
  55. package/dist/components/docs/index.js +4 -4
  56. package/dist/components/embeds/index.cjs +3 -3
  57. package/dist/components/embeds/index.js +2 -2
  58. package/dist/components/faq/index.cjs +3 -3
  59. package/dist/components/faq/index.js +2 -2
  60. package/dist/components/features/captions-url.cjs +3 -2
  61. package/dist/components/features/captions-url.cjs.map +1 -1
  62. package/dist/components/features/captions-url.d.ts +8 -1
  63. package/dist/components/features/captions-url.d.ts.map +1 -1
  64. package/dist/components/features/captions-url.js +3 -2
  65. package/dist/components/features/captions-url.js.map +1 -1
  66. package/dist/components/features/entity-video-section.d.ts +7 -1
  67. package/dist/components/features/entity-video-section.d.ts.map +1 -1
  68. package/dist/components/features/highlight-config-section.d.ts +4 -6
  69. package/dist/components/features/highlight-config-section.d.ts.map +1 -1
  70. package/dist/components/features/highlight-video-combined-section.d.ts +1 -5
  71. package/dist/components/features/highlight-video-combined-section.d.ts.map +1 -1
  72. package/dist/components/features/highlight-video-section.d.ts +1 -5
  73. package/dist/components/features/highlight-video-section.d.ts.map +1 -1
  74. package/dist/components/features/index.cjs +2 -2
  75. package/dist/components/features/index.js +1 -1
  76. package/dist/components/help-center-pages/index.cjs +22 -22
  77. package/dist/components/help-center-pages/index.js +13 -13
  78. package/dist/components/index.cjs +132 -132
  79. package/dist/components/index.js +11 -11
  80. package/dist/components/meeting-scheduler/index.cjs +34 -34
  81. package/dist/components/meeting-scheduler/index.js +3 -3
  82. package/dist/components/navigation/index.cjs +2 -2
  83. package/dist/components/navigation/index.js +1 -1
  84. package/dist/components/onboarding-guides/index.cjs +5 -5
  85. package/dist/components/onboarding-guides/index.js +4 -4
  86. package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
  87. package/dist/components/related-content/index.cjs +3 -3
  88. package/dist/components/related-content/index.js +2 -2
  89. package/dist/components/shared/product-release/release-detail-page.d.ts +2 -0
  90. package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
  91. package/dist/components/tickets/index.cjs +6 -6
  92. package/dist/components/tickets/index.js +5 -5
  93. package/dist/components/ui/index.cjs +2 -2
  94. package/dist/components/ui/index.js +1 -1
  95. package/dist/index.cjs +2 -2
  96. package/dist/index.js +1 -1
  97. package/dist/types/customer-interview.d.ts +0 -2
  98. package/dist/types/customer-interview.d.ts.map +1 -1
  99. package/package.json +1 -1
  100. package/src/components/chat/types/entities/onboarding-guide.ts +1 -0
  101. package/src/components/features/captions-url.ts +10 -1
  102. package/src/components/features/entity-video-section.tsx +9 -0
  103. package/src/components/features/highlight-config-section.tsx +3 -20
  104. package/src/components/features/highlight-video-combined-section.tsx +0 -8
  105. package/src/components/features/highlight-video-section.tsx +0 -19
  106. package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +2 -0
  107. package/src/components/shared/product-release/release-detail-page.tsx +4 -0
  108. package/src/types/customer-interview.ts +0 -2
  109. package/dist/chunk-BETH6QZC.cjs.map +0 -1
  110. package/dist/chunk-WFG72MKN.cjs.map +0 -1
  111. package/dist/chunk-Y22S7NE3.js.map +0 -1
  112. /package/dist/{chunk-PZGOK2OC.js.map → chunk-5DPCASIW.js.map} +0 -0
  113. /package/dist/{chunk-SEAKHM72.js.map → chunk-67XL4FMM.js.map} +0 -0
  114. /package/dist/{chunk-FT5PZQVK.js.map → chunk-DR3MJCFM.js.map} +0 -0
  115. /package/dist/{chunk-FMH3YY4H.js.map → chunk-HOMBXWT5.js.map} +0 -0
  116. /package/dist/{chunk-QW36SYRQ.js.map → chunk-HZCGR4TA.js.map} +0 -0
  117. /package/dist/{chunk-UL5EGPMV.js.map → chunk-LNMWDIIJ.js.map} +0 -0
  118. /package/dist/{chunk-QEXFM2QX.js.map → chunk-MNDO73RD.js.map} +0 -0
  119. /package/dist/{chunk-2GRFWONP.js.map → chunk-MSDEKLLM.js.map} +0 -0
  120. /package/dist/{chunk-QDO7Y54S.js.map → chunk-RDWDWUO2.js.map} +0 -0
  121. /package/dist/{chunk-J2Z53KRG.js.map → chunk-U5PYLGAK.js.map} +0 -0
  122. /package/dist/{chunk-AKZY45LV.js.map → chunk-VHTQSY6C.js.map} +0 -0
@@ -15339,6 +15339,7 @@ function EntityVideoSection({
15339
15339
  MarkdownRenderer,
15340
15340
  srtContent,
15341
15341
  captionsUrl,
15342
+ highlightCaptionsUrl,
15342
15343
  priority = false
15343
15344
  }) {
15344
15345
  const hasFullVideo = !!(youtubeUrl || mainVideoUrl);
@@ -15387,6 +15388,7 @@ function EntityVideoSection({
15387
15388
  {
15388
15389
  url: highlightVideoUrl,
15389
15390
  poster: highlightVideoThumbnail,
15391
+ captionsUrl: highlightCaptionsUrl,
15390
15392
  layout: "centered"
15391
15393
  }
15392
15394
  ) })
@@ -15407,6 +15409,7 @@ function EntityVideoSection({
15407
15409
  {
15408
15410
  url: highlightVideoUrl,
15409
15411
  poster: highlightVideoThumbnail,
15412
+ captionsUrl: highlightCaptionsUrl,
15410
15413
  layout: "centered",
15411
15414
  priority
15412
15415
  }
@@ -35298,10 +35301,11 @@ function useWalkthroughVideo(opts) {
35298
35301
  }
35299
35302
 
35300
35303
  // src/components/features/captions-url.ts
35301
- function getCaptionsUrl(entityType, entityId, srtContent) {
35304
+ function getCaptionsUrl(entityType, entityId, srtContent, options) {
35302
35305
  if (!srtContent) return void 0;
35303
35306
  const hash = `${srtContent.length}-${srtContent.slice(0, 8).replace(/\s/g, "")}`;
35304
- return `/api/captions/${entityType}/${entityId}?v=${hash}`;
35307
+ const variant = options?.variant ? `&variant=${options.variant}` : "";
35308
+ return `/api/captions/${entityType}/${entityId}?v=${hash}${variant}`;
35305
35309
  }
35306
35310
 
35307
35311
  // src/components/features/video-source-selector.tsx
@@ -35953,8 +35957,6 @@ function HighlightVideoSection({
35953
35957
  highlightVideoSource,
35954
35958
  targetDurationSeconds,
35955
35959
  onTargetDurationChange,
35956
- skipSubtitleBurning,
35957
- onSkipSubtitleBurningChange,
35958
35960
  onGenerateHighlight,
35959
35961
  isGenerating = false,
35960
35962
  generationProgress,
@@ -35997,43 +35999,27 @@ function HighlightVideoSection({
35997
35999
  return `${minutes}:${String(seconds).padStart(2, "0")}`;
35998
36000
  };
35999
36001
  return /* @__PURE__ */ jsxs205("div", { className: `space-y-4 ${className}`, children: [
36000
- /* @__PURE__ */ jsx266("div", { className: "space-y-3 p-4 bg-ods-card rounded-lg border border-ods-border", children: /* @__PURE__ */ jsxs205("div", { className: "flex items-center gap-4", children: [
36001
- /* @__PURE__ */ jsxs205("div", { className: "flex-1", children: [
36002
- /* @__PURE__ */ jsx266(Label, { className: "text-h6", children: "Target Duration" }),
36003
- /* @__PURE__ */ jsxs205(
36004
- Select,
36005
- {
36006
- value: targetDurationSeconds.toString(),
36007
- onValueChange: (value) => onTargetDurationChange(parseInt(value)),
36008
- disabled,
36009
- children: [
36010
- /* @__PURE__ */ jsx266(SelectTrigger, { className: "bg-ods-bg-surface mt-1", children: /* @__PURE__ */ jsx266(SelectValue, {}) }),
36011
- /* @__PURE__ */ jsxs205(SelectContent, { className: "bg-ods-card", children: [
36012
- /* @__PURE__ */ jsx266(SelectItem, { value: "60", children: "1 minute" }),
36013
- /* @__PURE__ */ jsx266(SelectItem, { value: "120", children: "2 minutes" }),
36014
- /* @__PURE__ */ jsx266(SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
36015
- /* @__PURE__ */ jsx266(SelectItem, { value: "240", children: "4 minutes" }),
36016
- /* @__PURE__ */ jsx266(SelectItem, { value: "300", children: "5 minutes" })
36017
- ] })
36018
- ]
36019
- }
36020
- )
36021
- ] }),
36022
- /* @__PURE__ */ jsxs205("div", { className: "flex items-center gap-2 pt-5", children: [
36023
- /* @__PURE__ */ jsx266(
36024
- "input",
36025
- {
36026
- type: "checkbox",
36027
- id: "skipSubtitleBurning",
36028
- checked: skipSubtitleBurning,
36029
- onChange: (e) => onSkipSubtitleBurningChange(e.target.checked),
36030
- disabled,
36031
- className: "h-4 w-4 rounded border-ods-border bg-ods-bg-surface text-ods-accent focus:ring-ods-accent"
36032
- }
36033
- ),
36034
- /* @__PURE__ */ jsx266(Label, { htmlFor: "skipSubtitleBurning", className: "text-h6 cursor-pointer", children: "Skip subtitle burning" })
36035
- ] })
36036
- ] }) }),
36002
+ /* @__PURE__ */ jsx266("div", { className: "space-y-3 p-4 bg-ods-card rounded-lg border border-ods-border", children: /* @__PURE__ */ jsx266("div", { className: "flex items-center gap-4", children: /* @__PURE__ */ jsxs205("div", { className: "flex-1", children: [
36003
+ /* @__PURE__ */ jsx266(Label, { className: "text-h6", children: "Target Duration" }),
36004
+ /* @__PURE__ */ jsxs205(
36005
+ Select,
36006
+ {
36007
+ value: targetDurationSeconds.toString(),
36008
+ onValueChange: (value) => onTargetDurationChange(parseInt(value)),
36009
+ disabled,
36010
+ children: [
36011
+ /* @__PURE__ */ jsx266(SelectTrigger, { className: "bg-ods-bg-surface mt-1", children: /* @__PURE__ */ jsx266(SelectValue, {}) }),
36012
+ /* @__PURE__ */ jsxs205(SelectContent, { className: "bg-ods-card", children: [
36013
+ /* @__PURE__ */ jsx266(SelectItem, { value: "60", children: "1 minute" }),
36014
+ /* @__PURE__ */ jsx266(SelectItem, { value: "120", children: "2 minutes" }),
36015
+ /* @__PURE__ */ jsx266(SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
36016
+ /* @__PURE__ */ jsx266(SelectItem, { value: "240", children: "4 minutes" }),
36017
+ /* @__PURE__ */ jsx266(SelectItem, { value: "300", children: "5 minutes" })
36018
+ ] })
36019
+ ]
36020
+ }
36021
+ )
36022
+ ] }) }) }),
36037
36023
  /* @__PURE__ */ jsx266(
36038
36024
  AIEnrichSection,
36039
36025
  {
@@ -36117,48 +36103,30 @@ import { jsx as jsx267, jsxs as jsxs206 } from "react/jsx-runtime";
36117
36103
  function HighlightConfigSection({
36118
36104
  targetDurationSeconds,
36119
36105
  onTargetDurationChange,
36120
- skipSubtitleBurning,
36121
- onSkipSubtitleBurningChange,
36122
36106
  disabled = false,
36123
36107
  className = ""
36124
36108
  }) {
36125
- return /* @__PURE__ */ jsx267("div", { className: `space-y-3 p-4 bg-ods-card rounded-lg border border-ods-border ${className}`, children: /* @__PURE__ */ jsxs206("div", { className: "flex items-center gap-4", children: [
36126
- /* @__PURE__ */ jsxs206("div", { className: "flex-1", children: [
36127
- /* @__PURE__ */ jsx267(Label, { className: "text-h6", children: "Target Duration" }),
36128
- /* @__PURE__ */ jsxs206(
36129
- Select,
36130
- {
36131
- value: targetDurationSeconds.toString(),
36132
- onValueChange: (value) => onTargetDurationChange(parseInt(value)),
36133
- disabled,
36134
- children: [
36135
- /* @__PURE__ */ jsx267(SelectTrigger, { className: "bg-ods-bg mt-1", children: /* @__PURE__ */ jsx267(SelectValue, {}) }),
36136
- /* @__PURE__ */ jsxs206(SelectContent, { className: "bg-ods-card", children: [
36137
- /* @__PURE__ */ jsx267(SelectItem, { value: "60", children: "1 minute" }),
36138
- /* @__PURE__ */ jsx267(SelectItem, { value: "120", children: "2 minutes" }),
36139
- /* @__PURE__ */ jsx267(SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
36140
- /* @__PURE__ */ jsx267(SelectItem, { value: "240", children: "4 minutes" }),
36141
- /* @__PURE__ */ jsx267(SelectItem, { value: "300", children: "5 minutes" })
36142
- ] })
36143
- ]
36144
- }
36145
- )
36146
- ] }),
36147
- /* @__PURE__ */ jsxs206("div", { className: "flex items-center gap-2 pt-5", children: [
36148
- /* @__PURE__ */ jsx267(
36149
- "input",
36150
- {
36151
- type: "checkbox",
36152
- id: "skipSubtitleBurning",
36153
- checked: skipSubtitleBurning,
36154
- onChange: (e) => onSkipSubtitleBurningChange(e.target.checked),
36155
- disabled,
36156
- className: "h-4 w-4 rounded border-ods-border bg-ods-bg text-ods-accent focus:ring-ods-accent"
36157
- }
36158
- ),
36159
- /* @__PURE__ */ jsx267(Label, { htmlFor: "skipSubtitleBurning", className: "text-h6 cursor-pointer", children: "Skip subtitle burning" })
36160
- ] })
36161
- ] }) });
36109
+ return /* @__PURE__ */ jsx267("div", { className: `space-y-3 p-4 bg-ods-card rounded-lg border border-ods-border ${className}`, children: /* @__PURE__ */ jsx267("div", { className: "flex items-center gap-4", children: /* @__PURE__ */ jsxs206("div", { className: "flex-1", children: [
36110
+ /* @__PURE__ */ jsx267(Label, { className: "text-h6", children: "Target Duration" }),
36111
+ /* @__PURE__ */ jsxs206(
36112
+ Select,
36113
+ {
36114
+ value: targetDurationSeconds.toString(),
36115
+ onValueChange: (value) => onTargetDurationChange(parseInt(value)),
36116
+ disabled,
36117
+ children: [
36118
+ /* @__PURE__ */ jsx267(SelectTrigger, { className: "bg-ods-bg mt-1", children: /* @__PURE__ */ jsx267(SelectValue, {}) }),
36119
+ /* @__PURE__ */ jsxs206(SelectContent, { className: "bg-ods-card", children: [
36120
+ /* @__PURE__ */ jsx267(SelectItem, { value: "60", children: "1 minute" }),
36121
+ /* @__PURE__ */ jsx267(SelectItem, { value: "120", children: "2 minutes" }),
36122
+ /* @__PURE__ */ jsx267(SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
36123
+ /* @__PURE__ */ jsx267(SelectItem, { value: "240", children: "4 minutes" }),
36124
+ /* @__PURE__ */ jsx267(SelectItem, { value: "300", children: "5 minutes" })
36125
+ ] })
36126
+ ]
36127
+ }
36128
+ )
36129
+ ] }) }) });
36162
36130
  }
36163
36131
 
36164
36132
  // src/components/features/entity-summary-editor.tsx
@@ -36612,8 +36580,6 @@ function HighlightVideoCombinedSection({
36612
36580
  // Config props
36613
36581
  targetDurationSeconds,
36614
36582
  onTargetDurationChange,
36615
- skipSubtitleBurning,
36616
- onSkipSubtitleBurningChange,
36617
36583
  configDisabled = false,
36618
36584
  // Generation props
36619
36585
  onGenerateHighlight,
@@ -36671,8 +36637,6 @@ function HighlightVideoCombinedSection({
36671
36637
  {
36672
36638
  targetDurationSeconds,
36673
36639
  onTargetDurationChange,
36674
- skipSubtitleBurning,
36675
- onSkipSubtitleBurningChange,
36676
36640
  disabled: configDisabled
36677
36641
  }
36678
36642
  ),
@@ -62643,4 +62607,4 @@ export {
62643
62607
  LogsList,
62644
62608
  assets
62645
62609
  };
62646
- //# sourceMappingURL=chunk-VP4ZY2RA.js.map
62610
+ //# sourceMappingURL=chunk-7RPM4KRD.js.map