@flamingo-stack/openframe-frontend-core 0.0.665-snapshot.20260924174106 → 0.0.665

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 (109) hide show
  1. package/dist/{chunk-IUNCGKFP.cjs → chunk-3SS37SNM.cjs} +10 -10
  2. package/dist/{chunk-IUNCGKFP.cjs.map → chunk-3SS37SNM.cjs.map} +1 -1
  3. package/dist/{chunk-W2WEIVHT.cjs → chunk-6FD7ZEBY.cjs} +163 -163
  4. package/dist/{chunk-W2WEIVHT.cjs.map → chunk-6FD7ZEBY.cjs.map} +1 -1
  5. package/dist/{chunk-VUYRTI3Z.cjs → chunk-6W5N23LC.cjs} +26 -26
  6. package/dist/{chunk-VUYRTI3Z.cjs.map → chunk-6W5N23LC.cjs.map} +1 -1
  7. package/dist/{chunk-CYPLD5F3.js → chunk-77WMNQTE.js} +3 -3
  8. package/dist/{chunk-SCRVQY42.js → chunk-BKCPXDOE.js} +2 -2
  9. package/dist/{chunk-DDW7G6U7.js → chunk-BPKEDLGR.js} +5 -5
  10. package/dist/{chunk-NIVLGQKS.js → chunk-CQJXOBWK.js} +3 -3
  11. package/dist/{chunk-ILAEMVAI.js → chunk-DNFC6RYF.js} +2 -2
  12. package/dist/{chunk-WI5LLFA6.cjs → chunk-EMJAT6IK.cjs} +15 -15
  13. package/dist/{chunk-WI5LLFA6.cjs.map → chunk-EMJAT6IK.cjs.map} +1 -1
  14. package/dist/{chunk-KDFSFVNX.cjs → chunk-FGQSSFP4.cjs} +10 -10
  15. package/dist/{chunk-KDFSFVNX.cjs.map → chunk-FGQSSFP4.cjs.map} +1 -1
  16. package/dist/{chunk-O5GV3WQO.js → chunk-GDTFJ5QN.js} +2 -2
  17. package/dist/{chunk-VI35TSB2.js → chunk-JHAS6Y7P.js} +4 -4
  18. package/dist/{chunk-XMY2XTHG.cjs → chunk-JHH7NETU.cjs} +5 -5
  19. package/dist/{chunk-XMY2XTHG.cjs.map → chunk-JHH7NETU.cjs.map} +1 -1
  20. package/dist/{chunk-VN2U4EBP.cjs → chunk-KBUYG5N6.cjs} +33 -33
  21. package/dist/{chunk-VN2U4EBP.cjs.map → chunk-KBUYG5N6.cjs.map} +1 -1
  22. package/dist/{chunk-AAIL6J56.cjs → chunk-L4ZNA3NX.cjs} +3 -3
  23. package/dist/{chunk-AAIL6J56.cjs.map → chunk-L4ZNA3NX.cjs.map} +1 -1
  24. package/dist/{chunk-2S44CUCH.cjs → chunk-LCYYTWRF.cjs} +4 -4
  25. package/dist/{chunk-2S44CUCH.cjs.map → chunk-LCYYTWRF.cjs.map} +1 -1
  26. package/dist/{chunk-XSRIPH6U.cjs → chunk-LTW2GWJ2.cjs} +22 -22
  27. package/dist/{chunk-XSRIPH6U.cjs.map → chunk-LTW2GWJ2.cjs.map} +1 -1
  28. package/dist/{chunk-7H7LYI4M.cjs → chunk-LXL3PZE2.cjs} +10 -10
  29. package/dist/{chunk-7H7LYI4M.cjs.map → chunk-LXL3PZE2.cjs.map} +1 -1
  30. package/dist/{chunk-V3B37LQY.js → chunk-MBLACUCE.js} +5 -5
  31. package/dist/{chunk-23XIOIGS.cjs → chunk-MNUR6PAJ.cjs} +370 -392
  32. package/dist/chunk-MNUR6PAJ.cjs.map +1 -0
  33. package/dist/{chunk-ZDGEJFDG.js → chunk-O3GB7JFL.js} +3 -3
  34. package/dist/{chunk-EYCF3GGM.js → chunk-OLCI3UA5.js} +6 -6
  35. package/dist/{chunk-IWCYTHNG.js → chunk-OMTLCMQB.js} +9 -31
  36. package/dist/chunk-OMTLCMQB.js.map +1 -0
  37. package/dist/{chunk-CRDKQMTP.js → chunk-QR3NUFA5.js} +2 -2
  38. package/dist/{chunk-R6NU4QFR.js → chunk-RM4S53GB.js} +2 -2
  39. package/dist/{chunk-JBRNIUYC.js → chunk-RT5JNTCN.js} +3 -3
  40. package/dist/{chunk-YAF2JKAK.cjs → chunk-X32X52VN.cjs} +71 -71
  41. package/dist/{chunk-YAF2JKAK.cjs.map → chunk-X32X52VN.cjs.map} +1 -1
  42. package/dist/{chunk-L7QXTWI7.cjs → chunk-XCACXPCM.cjs} +22 -22
  43. package/dist/{chunk-L7QXTWI7.cjs.map → chunk-XCACXPCM.cjs.map} +1 -1
  44. package/dist/{chunk-YVMSA7LR.js → chunk-YRMKUDOE.js} +5 -5
  45. package/dist/{chunk-HQHZZ3SL.js → chunk-Z2MJPTIB.js} +3 -3
  46. package/dist/{chunk-OPY4JNY2.cjs → chunk-ZGPST26T.cjs} +45 -45
  47. package/dist/{chunk-OPY4JNY2.cjs.map → chunk-ZGPST26T.cjs.map} +1 -1
  48. package/dist/{chunk-QSYYYL55.cjs → chunk-ZMZUF6FX.cjs} +3 -3
  49. package/dist/{chunk-QSYYYL55.cjs.map → chunk-ZMZUF6FX.cjs.map} +1 -1
  50. package/dist/components/case-studies/index.cjs +14 -14
  51. package/dist/components/case-studies/index.js +3 -3
  52. package/dist/components/chat/chat-composer.d.ts +1 -10
  53. package/dist/components/chat/chat-composer.d.ts.map +1 -1
  54. package/dist/components/chat/chat-input.d.ts.map +1 -1
  55. package/dist/components/chat/embeddable-chat.d.ts +0 -10
  56. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  57. package/dist/components/chat/index.cjs +2 -2
  58. package/dist/components/chat/index.js +1 -1
  59. package/dist/components/chat/types/component.types.d.ts +0 -7
  60. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  61. package/dist/components/contact/index.cjs +4 -4
  62. package/dist/components/contact/index.js +3 -3
  63. package/dist/components/docs/index.cjs +7 -7
  64. package/dist/components/docs/index.js +6 -6
  65. package/dist/components/embeds/index.cjs +4 -4
  66. package/dist/components/embeds/index.js +3 -3
  67. package/dist/components/faq/index.cjs +4 -4
  68. package/dist/components/faq/index.js +3 -3
  69. package/dist/components/features/index.cjs +3 -3
  70. package/dist/components/features/index.js +2 -2
  71. package/dist/components/help-center-pages/index.cjs +23 -23
  72. package/dist/components/help-center-pages/index.js +14 -14
  73. package/dist/components/index.cjs +39 -39
  74. package/dist/components/index.js +13 -13
  75. package/dist/components/meeting-scheduler/index.cjs +24 -24
  76. package/dist/components/meeting-scheduler/index.js +2 -2
  77. package/dist/components/navigation/index.cjs +6 -6
  78. package/dist/components/navigation/index.js +5 -5
  79. package/dist/components/onboarding-guides/index.cjs +6 -6
  80. package/dist/components/onboarding-guides/index.js +5 -5
  81. package/dist/components/tickets/index.cjs +7 -7
  82. package/dist/components/tickets/index.js +6 -6
  83. package/dist/components/ui/index.cjs +3 -3
  84. package/dist/components/ui/index.js +2 -2
  85. package/dist/index.cjs +7 -7
  86. package/dist/index.js +6 -6
  87. package/package.json +1 -1
  88. package/src/components/chat/chat-composer.tsx +5 -21
  89. package/src/components/chat/chat-input.tsx +3 -15
  90. package/src/components/chat/embeddable-chat.tsx +2 -16
  91. package/src/components/chat/types/component.types.ts +0 -7
  92. package/src/stories/EmbeddableChat.stories.tsx +0 -21
  93. package/dist/chunk-23XIOIGS.cjs.map +0 -1
  94. package/dist/chunk-IWCYTHNG.js.map +0 -1
  95. /package/dist/{chunk-CYPLD5F3.js.map → chunk-77WMNQTE.js.map} +0 -0
  96. /package/dist/{chunk-SCRVQY42.js.map → chunk-BKCPXDOE.js.map} +0 -0
  97. /package/dist/{chunk-DDW7G6U7.js.map → chunk-BPKEDLGR.js.map} +0 -0
  98. /package/dist/{chunk-NIVLGQKS.js.map → chunk-CQJXOBWK.js.map} +0 -0
  99. /package/dist/{chunk-ILAEMVAI.js.map → chunk-DNFC6RYF.js.map} +0 -0
  100. /package/dist/{chunk-O5GV3WQO.js.map → chunk-GDTFJ5QN.js.map} +0 -0
  101. /package/dist/{chunk-VI35TSB2.js.map → chunk-JHAS6Y7P.js.map} +0 -0
  102. /package/dist/{chunk-V3B37LQY.js.map → chunk-MBLACUCE.js.map} +0 -0
  103. /package/dist/{chunk-ZDGEJFDG.js.map → chunk-O3GB7JFL.js.map} +0 -0
  104. /package/dist/{chunk-EYCF3GGM.js.map → chunk-OLCI3UA5.js.map} +0 -0
  105. /package/dist/{chunk-CRDKQMTP.js.map → chunk-QR3NUFA5.js.map} +0 -0
  106. /package/dist/{chunk-R6NU4QFR.js.map → chunk-RM4S53GB.js.map} +0 -0
  107. /package/dist/{chunk-JBRNIUYC.js.map → chunk-RT5JNTCN.js.map} +0 -0
  108. /package/dist/{chunk-YVMSA7LR.js.map → chunk-YRMKUDOE.js.map} +0 -0
  109. /package/dist/{chunk-HQHZZ3SL.js.map → chunk-Z2MJPTIB.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  PageLayout,
7
7
  PageShell
8
- } from "./chunk-ILAEMVAI.js";
8
+ } from "./chunk-DNFC6RYF.js";
9
9
  import {
10
10
  useScrollToHash
11
11
  } from "./chunk-CJ5CFXYX.js";
@@ -17,7 +17,7 @@ import {
17
17
  faqItemAnchor,
18
18
  faqSectionSlug,
19
19
  parseFaqHash
20
- } from "./chunk-IWCYTHNG.js";
20
+ } from "./chunk-OMTLCMQB.js";
21
21
  import {
22
22
  STICKY_HEADER_OFFSET_PX,
23
23
  navigateSamePageHash,
@@ -355,4 +355,4 @@ export {
355
355
  FaqSection,
356
356
  FaqDocumentPage
357
357
  };
358
- //# sourceMappingURL=chunk-ZDGEJFDG.js.map
358
+ //# sourceMappingURL=chunk-O3GB7JFL.js.map
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  ContactForm
4
- } from "./chunk-JBRNIUYC.js";
4
+ } from "./chunk-RT5JNTCN.js";
5
5
  import {
6
6
  DeliveryRow,
7
7
  DevCardRowContent,
8
8
  DevCardRowSkeletonList,
9
9
  DevSectionPage,
10
10
  ListEmptyState
11
- } from "./chunk-O5GV3WQO.js";
11
+ } from "./chunk-GDTFJ5QN.js";
12
12
  import {
13
13
  EmptyState,
14
14
  UnifiedPagination
@@ -19,7 +19,7 @@ import {
19
19
  TOAST_COPY,
20
20
  isOptimistic,
21
21
  useOptionalTicketLive
22
- } from "./chunk-CYPLD5F3.js";
22
+ } from "./chunk-77WMNQTE.js";
23
23
  import {
24
24
  AlertDialog,
25
25
  AlertDialogAction,
@@ -35,7 +35,7 @@ import {
35
35
  Textarea,
36
36
  TicketAttachmentsList,
37
37
  devSectionAnchorId
38
- } from "./chunk-ILAEMVAI.js";
38
+ } from "./chunk-DNFC6RYF.js";
39
39
  import {
40
40
  toast,
41
41
  useScrollToHash
@@ -59,7 +59,7 @@ import {
59
59
  formatRelativeTime,
60
60
  useChatAttachments,
61
61
  useChatIdentity
62
- } from "./chunk-IWCYTHNG.js";
62
+ } from "./chunk-OMTLCMQB.js";
63
63
  import {
64
64
  STICKY_HEADER_OFFSET_PX,
65
65
  scrollElementIntoView
@@ -1833,4 +1833,4 @@ export {
1833
1833
  HelpCenterCreateForm,
1834
1834
  HelpCenterList
1835
1835
  };
1836
- //# sourceMappingURL=chunk-EYCF3GGM.js.map
1836
+ //# sourceMappingURL=chunk-OLCI3UA5.js.map
@@ -6006,7 +6006,6 @@ var ChatInput = forwardRef14((allProps, ref) => {
6006
6006
  placeholder = "Enter your Request...",
6007
6007
  reserveAvatarOffset: _reserveAvatarOffset,
6008
6008
  disabled = false,
6009
- disabledPlaceholder = "Connection lost. Waiting to reconnect...",
6010
6009
  autoFocus = false,
6011
6010
  fullWidth = false,
6012
6011
  allowEmptySend = false,
@@ -6351,21 +6350,7 @@ var ChatInput = forwardRef14((allProps, ref) => {
6351
6350
  children: [
6352
6351
  startIcon && /* @__PURE__ */ jsx31("span", { className: "flex h-6 shrink-0 items-center", children: startIcon }),
6353
6352
  /* @__PURE__ */ jsxs21("div", { className: "relative min-w-0 flex-1", children: [
6354
- isEmpty && !showPreview && /* @__PURE__ */ jsx31(
6355
- "span",
6356
- {
6357
- className: cn(
6358
- // One line, clipped with an ellipsis (Figma 954:28455): the
6359
- // disabled copy is a sentence, and the panel's narrowest
6360
- // width does not fit it — wrapped, it ran under the row.
6361
- "pointer-events-none absolute left-0 top-0 w-full select-none truncate text-h4",
6362
- // Disabled reads as disabled (Figma 954:28455): the copy says
6363
- // why, and the colour says it is not an invitation to type.
6364
- disabled ? "text-ods-text-disabled" : "text-ods-text-secondary"
6365
- ),
6366
- children: disabled ? disabledPlaceholder : placeholder
6367
- }
6368
- ),
6353
+ isEmpty && !showPreview && /* @__PURE__ */ jsx31("span", { className: "pointer-events-none absolute left-0 top-0 select-none text-ods-text-secondary text-h4", children: disabled ? "Connection lost. Waiting to reconnect..." : placeholder }),
6369
6354
  showPreview && /* @__PURE__ */ jsx31(
6370
6355
  "p",
6371
6356
  {
@@ -6383,7 +6368,7 @@ var ChatInput = forwardRef14((allProps, ref) => {
6383
6368
  "data-editor": true,
6384
6369
  role: "textbox",
6385
6370
  "aria-multiline": "true",
6386
- "aria-label": disabled ? disabledPlaceholder : typeof placeholder === "string" ? placeholder : "Message",
6371
+ "aria-label": typeof placeholder === "string" ? placeholder : "Message",
6387
6372
  contentEditable: !disabled,
6388
6373
  suppressContentEditableWarning: true,
6389
6374
  spellCheck: true,
@@ -11322,7 +11307,6 @@ ModelDisplaySkeleton.displayName = "ModelDisplaySkeleton";
11322
11307
  import { jsx as jsx68, jsxs as jsxs52 } from "react/jsx-runtime";
11323
11308
  function ChatComposer({
11324
11309
  archived = false,
11325
- lock = null,
11326
11310
  inputRef,
11327
11311
  onSend,
11328
11312
  onStop,
@@ -11350,7 +11334,6 @@ function ChatComposer({
11350
11334
  previewText
11351
11335
  }) {
11352
11336
  const contextEnabled = !!contextPicker && !archived;
11353
- const locked = lock != null;
11354
11337
  const selected = selectedContextItems ?? [];
11355
11338
  const memory = contextMemoryItems ?? [];
11356
11339
  const entityTypes = contextPicker?.entityTypes;
@@ -11368,13 +11351,11 @@ function ChatComposer({
11368
11351
  onStop,
11369
11352
  sending,
11370
11353
  placeholder,
11371
- disabled: locked,
11372
- disabledPlaceholder: lock?.placeholder,
11373
11354
  previewText,
11374
11355
  fullWidth: true,
11375
11356
  className: "px-0",
11376
11357
  reserveAvatarOffset: false,
11377
- autoFocus: locked ? false : autoFocus,
11358
+ autoFocus,
11378
11359
  slashCommands,
11379
11360
  onMentionQueryChange: contextEnabled ? onMentionQueryChange : void 0,
11380
11361
  onValueChange: contextEnabled ? onValueChange : void 0,
@@ -11384,7 +11365,7 @@ function ChatComposer({
11384
11365
  {
11385
11366
  onToggle: () => contextPickerOpen ? onCloseContextPicker?.() : onOpenContextPicker?.(),
11386
11367
  open: contextPickerOpen,
11387
- disabled: attachmentsDisabled || locked,
11368
+ disabled: attachmentsDisabled,
11388
11369
  dropdown: contextPicker ? /* @__PURE__ */ jsx68(
11389
11370
  ChatContextPicker,
11390
11371
  {
@@ -11430,7 +11411,7 @@ function ChatComposer({
11430
11411
  items: memory,
11431
11412
  onRemove: onRemoveContextMemoryItem,
11432
11413
  resolveIcon: resolveContextIcon,
11433
- disabled: sending || locked,
11414
+ disabled: sending,
11434
11415
  className: "rounded-t-md"
11435
11416
  }
11436
11417
  ),
@@ -11440,7 +11421,7 @@ function ChatComposer({
11440
11421
  items: selected,
11441
11422
  onRemove: onRemoveContextItem,
11442
11423
  resolveIcon: resolveContextIcon,
11443
- disabled: sending || locked,
11424
+ disabled: sending,
11444
11425
  className: cn(
11445
11426
  "border-b border-ods-border bg-ods-bg p-2",
11446
11427
  // Only the TOP strip rounds into the card corner.
@@ -11458,7 +11439,7 @@ function ChatComposer({
11458
11439
  attachmentsEnabled: true,
11459
11440
  attachmentsCount,
11460
11441
  onAddFiles,
11461
- disabled: attachmentsDisabled || locked
11442
+ disabled: attachmentsDisabled
11462
11443
  }
11463
11444
  ),
11464
11445
  /* @__PURE__ */ jsx68("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ jsx68(ModelDisplay, { ...model }) })
@@ -25059,7 +25040,6 @@ function EmbeddableChatInner({
25059
25040
  defaultOpen,
25060
25041
  showInternalTrigger = true,
25061
25042
  previewMode = false,
25062
- composerLock = null,
25063
25043
  extras,
25064
25044
  tableIdForDocumentType,
25065
25045
  modes,
@@ -25394,7 +25374,6 @@ function EmbeddableChatInner({
25394
25374
  }, [rawMessages, guideUserName, guideUserAvatar, timestampCache]);
25395
25375
  const handleSend = useCallback28(
25396
25376
  (text2) => {
25397
- if (composerLock) return;
25398
25377
  let augmentedText = text2;
25399
25378
  if (readyAttachments.length > 0) {
25400
25379
  const markdown = readyAttachments.map((att) => formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix)).join("");
@@ -25413,7 +25392,7 @@ function EmbeddableChatInner({
25413
25392
  setContextItems([]);
25414
25393
  }
25415
25394
  },
25416
- [composerLock, sendMessage, readyAttachments, viewUrlPrefix, clearAttachments, contextItems]
25395
+ [sendMessage, readyAttachments, viewUrlPrefix, clearAttachments, contextItems]
25417
25396
  );
25418
25397
  const handleAskSelect = useCallback28(
25419
25398
  (label) => {
@@ -26027,7 +26006,6 @@ function EmbeddableChatInner({
26027
26006
  ChatComposer,
26028
26007
  {
26029
26008
  archived: isViewingArchived,
26030
- lock: composerLock,
26031
26009
  inputRef: chatInputRef,
26032
26010
  onSend: handleSend,
26033
26011
  onStop: stopMessage,
@@ -26529,4 +26507,4 @@ export {
26529
26507
  buildStreamFrames,
26530
26508
  EmbeddableChat
26531
26509
  };
26532
- //# sourceMappingURL=chunk-IWCYTHNG.js.map
26510
+ //# sourceMappingURL=chunk-OMTLCMQB.js.map