@flamingo-stack/openframe-frontend-core 0.0.737 → 0.0.739

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 (146) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-AZL332TK.cjs → chunk-2QMBXGMQ.cjs} +15 -2
  3. package/dist/{chunk-HZJRERJW.cjs → chunk-3RFQPQ7Z.cjs} +3 -3
  4. package/dist/{chunk-YADG5Q7C.cjs → chunk-63N4FN5V.cjs} +3 -3
  5. package/dist/{chunk-FTTLBMHU.cjs → chunk-7ZFCR7UY.cjs} +2 -2
  6. package/dist/{chunk-MJGX357L.cjs → chunk-B27QEHYR.cjs} +2 -2
  7. package/dist/{chunk-VRNNIV5Y.cjs → chunk-B3XBJCOD.cjs} +9 -9
  8. package/dist/{chunk-VL4JKXU2.cjs → chunk-BV5WZVOP.cjs} +243 -243
  9. package/dist/{chunk-KVGBDWYV.cjs → chunk-CUDTMCXK.cjs} +36 -36
  10. package/dist/{chunk-L4ZNR5V7.cjs → chunk-DSVNFRY5.cjs} +87 -87
  11. package/dist/{chunk-LW3QSP47.cjs → chunk-DTLHY2ZF.cjs} +27 -27
  12. package/dist/{chunk-4ISP3XP4.cjs → chunk-EGN4I5Q7.cjs} +76 -76
  13. package/dist/{chunk-XPP7VCNY.cjs → chunk-ENCAIAMY.cjs} +10 -10
  14. package/dist/{chunk-FA2LATDM.cjs → chunk-FL6UO7IR.cjs} +4 -4
  15. package/dist/{chunk-ZRYKDN2J.cjs → chunk-GABDE3FM.cjs} +24 -24
  16. package/dist/{chunk-MYBTNOS6.cjs → chunk-GSWQZX23.cjs} +2 -2
  17. package/dist/{chunk-L535OD7V.cjs → chunk-HF7Z2E4W.cjs} +2 -2
  18. package/dist/chunk-HOTM4UM6.cjs +84 -0
  19. package/dist/{chunk-EAY6ZUES.cjs → chunk-I5MSCD57.cjs} +2 -2
  20. package/dist/{chunk-FCGLSWKR.cjs → chunk-IFS4AH77.cjs} +19 -1
  21. package/dist/{chunk-MGW5DO6P.cjs → chunk-KLI4OSRA.cjs} +7 -7
  22. package/dist/{chunk-O4MG7FXW.cjs → chunk-NX6JQT25.cjs} +6 -6
  23. package/dist/{chunk-ZJNYWNCB.cjs → chunk-O67V3HJR.cjs} +29 -29
  24. package/dist/{chunk-DUXLZPMJ.cjs → chunk-PQ2M7P2U.cjs} +7 -7
  25. package/dist/{chunk-SGVQO5J6.cjs → chunk-Q7GG3WC5.cjs} +26 -26
  26. package/dist/{chunk-TJQYX3QC.cjs → chunk-RGFT3P3L.cjs} +97 -97
  27. package/dist/{chunk-4FJZ7RJD.cjs → chunk-S2CA5WE4.cjs} +161 -93
  28. package/dist/{chunk-E2JCZU36.cjs → chunk-SB4VWA5V.cjs} +1044 -857
  29. package/dist/{chunk-XLSVQJBA.cjs → chunk-SFY4UYPY.cjs} +44 -44
  30. package/dist/{chunk-4RMLAHU2.cjs → chunk-TF7J6VXG.cjs} +20 -20
  31. package/dist/{chunk-CM35DLKS.cjs → chunk-UI3HROSI.cjs} +35 -35
  32. package/dist/{chunk-DA4VS6TS.cjs → chunk-UXFJXIUT.cjs} +4 -4
  33. package/dist/{chunk-N6YOOGCD.cjs → chunk-UYP3G6PB.cjs} +12 -12
  34. package/dist/{chunk-URIJ6YUG.cjs → chunk-V2ZFH42N.cjs} +22 -17
  35. package/dist/{chunk-77SD7RXY.cjs → chunk-WBANGORJ.cjs} +7 -7
  36. package/dist/{chunk-VYODTHMR.cjs → chunk-WMKNZI4G.cjs} +54 -54
  37. package/dist/{chunk-EX2GYIGW.cjs → chunk-YRE3O65E.cjs} +12 -12
  38. package/dist/{chunk-EJOXXJJB.cjs → chunk-YXKB5WRE.cjs} +95 -104
  39. package/dist/{cloud-tenants-IWQ5FFLY.cjs → cloud-tenants-QSFSO3PA.cjs} +20 -20
  40. package/dist/components/agent-identity.d.ts +8 -1
  41. package/dist/components/agent-identity.d.ts.map +1 -1
  42. package/dist/components/agent-identity.js +6 -1
  43. package/dist/components/calendar.cjs +4 -4
  44. package/dist/components/case-studies/index.cjs +32 -32
  45. package/dist/components/chat/chat-turn.d.ts +23 -0
  46. package/dist/components/chat/chat-turn.d.ts.map +1 -0
  47. package/dist/components/chat/chat-turn.js +30 -0
  48. package/dist/components/chat/index.cjs +18 -16
  49. package/dist/components/chat/index.d.ts +1 -0
  50. package/dist/components/chat/index.d.ts.map +1 -1
  51. package/dist/components/chat/index.js +1 -0
  52. package/dist/components/contact/index.cjs +21 -21
  53. package/dist/components/docs/index.cjs +24 -24
  54. package/dist/components/embeds/index.cjs +21 -21
  55. package/dist/components/faq/faq-section.d.ts.map +1 -1
  56. package/dist/components/faq/faq-section.js +9 -4
  57. package/dist/components/faq/index.cjs +22 -22
  58. package/dist/components/features/auth/auth-benefits-panel.d.ts +3 -5
  59. package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
  60. package/dist/components/features/auth/auth-benefits-panel.js +3 -19
  61. package/dist/components/features/conversation-card.d.ts +12 -4
  62. package/dist/components/features/conversation-card.d.ts.map +1 -1
  63. package/dist/components/features/conversation-card.js +30 -38
  64. package/dist/components/features/index.cjs +20 -20
  65. package/dist/components/features/walkthrough-video.d.ts +3 -0
  66. package/dist/components/features/walkthrough-video.d.ts.map +1 -1
  67. package/dist/components/features/walkthrough-video.js +36 -13
  68. package/dist/components/help-center-pages/index.cjs +127 -127
  69. package/dist/components/index.cjs +114 -98
  70. package/dist/components/meeting-scheduler/index.cjs +67 -67
  71. package/dist/components/navigation/index.cjs +23 -23
  72. package/dist/components/onboarding-guides/index.cjs +23 -23
  73. package/dist/components/platform/ToolBadge.d.ts.map +1 -1
  74. package/dist/components/platform/ToolBadge.js +4 -3
  75. package/dist/components/product-demo/index.cjs +8 -8
  76. package/dist/components/related-content/index.cjs +12 -12
  77. package/dist/components/tickets/index.cjs +26 -26
  78. package/dist/components/ui/app-window-frame.d.ts +7 -1
  79. package/dist/components/ui/app-window-frame.d.ts.map +1 -1
  80. package/dist/components/ui/app-window-frame.js +10 -2
  81. package/dist/components/ui/benefit-list.d.ts +42 -0
  82. package/dist/components/ui/benefit-list.d.ts.map +1 -0
  83. package/dist/components/ui/benefit-list.js +62 -0
  84. package/dist/components/ui/button/button.d.ts +1 -0
  85. package/dist/components/ui/button/button.d.ts.map +1 -1
  86. package/dist/components/ui/button/button.js +15 -2
  87. package/dist/components/ui/dropdown-button.d.ts +20 -2
  88. package/dist/components/ui/dropdown-button.d.ts.map +1 -1
  89. package/dist/components/ui/dropdown-button.js +57 -1
  90. package/dist/components/ui/file-manager/index.cjs +11 -11
  91. package/dist/components/ui/index.cjs +34 -20
  92. package/dist/components/ui/index.d.ts +3 -0
  93. package/dist/components/ui/index.d.ts.map +1 -1
  94. package/dist/components/ui/index.js +3 -0
  95. package/dist/components/ui/leader-row.d.ts +17 -0
  96. package/dist/components/ui/leader-row.d.ts.map +1 -0
  97. package/dist/components/ui/leader-row.js +14 -0
  98. package/dist/components/ui/strip-card.d.ts +23 -0
  99. package/dist/components/ui/strip-card.d.ts.map +1 -0
  100. package/dist/components/ui/strip-card.js +56 -0
  101. package/dist/{devices-OUHGWA6Y.cjs → devices-C7XLWJFC.cjs} +21 -21
  102. package/dist/embed-shims/index.cjs +2 -2
  103. package/dist/embed-shims/next-image.cjs +2 -2
  104. package/dist/embed-shims/next-image.d.ts.map +1 -1
  105. package/dist/embed-shims/next-image.js +6 -2
  106. package/dist/{embeddable-chat-U3C4WWB7.cjs → embeddable-chat-6JKKFQEB.cjs} +89 -89
  107. package/dist/hooks/index.cjs +3 -3
  108. package/dist/index.cjs +46 -25
  109. package/dist/{knowledge-3ZASPWMF.cjs → knowledge-3QKWTOE7.cjs} +21 -21
  110. package/dist/{logs-E6Y54P6K.cjs → logs-JXD75NR4.cjs} +29 -29
  111. package/dist/{policies-LAV75B5B.cjs → policies-ZPN53PFQ.cjs} +24 -24
  112. package/dist/{remote-session-Z4YZFG5E.cjs → remote-session-DNFZ5OLY.cjs} +10 -10
  113. package/dist/{software-update-2CAL3AMJ.cjs → software-update-CRSIBS3K.cjs} +24 -24
  114. package/dist/{tickets-board-JOSYLOS7.cjs → tickets-board-CKZRB6YV.cjs} +12 -12
  115. package/dist/utils/demo-clock.d.ts +22 -0
  116. package/dist/utils/demo-clock.d.ts.map +1 -0
  117. package/dist/utils/demo-clock.js +40 -0
  118. package/dist/utils/identity-tint.d.ts +13 -0
  119. package/dist/utils/identity-tint.d.ts.map +1 -0
  120. package/dist/utils/identity-tint.js +14 -0
  121. package/dist/utils/index.cjs +54 -0
  122. package/dist/utils/index.d.ts +2 -0
  123. package/dist/utils/index.d.ts.map +1 -1
  124. package/dist/utils/index.js +2 -0
  125. package/dist/{video-file-player-6NWGXZ3W.cjs → video-file-player-ZH2ILAPO.cjs} +12 -12
  126. package/package.json +1 -1
  127. package/src/components/agent-identity.tsx +12 -1
  128. package/src/components/chat/chat-turn.tsx +52 -0
  129. package/src/components/chat/index.ts +1 -0
  130. package/src/components/faq/faq-section.tsx +4 -1
  131. package/src/components/features/auth/auth-benefits-panel.tsx +5 -32
  132. package/src/components/features/conversation-card.tsx +48 -46
  133. package/src/components/features/walkthrough-video.tsx +59 -18
  134. package/src/components/platform/ToolBadge.tsx +4 -3
  135. package/src/components/ui/app-window-frame.tsx +18 -2
  136. package/src/components/ui/benefit-list.tsx +97 -0
  137. package/src/components/ui/button/button.tsx +14 -1
  138. package/src/components/ui/dropdown-button.tsx +73 -1
  139. package/src/components/ui/index.ts +3 -0
  140. package/src/components/ui/leader-row.tsx +28 -0
  141. package/src/components/ui/strip-card.tsx +68 -0
  142. package/src/embed-shims/next-image.tsx +15 -4
  143. package/src/utils/demo-clock.ts +62 -0
  144. package/src/utils/identity-tint.ts +23 -0
  145. package/src/utils/index.ts +2 -0
  146. package/dist/chunk-UR4K2NSL.cjs +0 -69
@@ -0,0 +1,23 @@
1
+ import type { CSSProperties } from 'react';
2
+
3
+ /**
4
+ * A surface tinted by an identity colour (an agent's): its border mixed from
5
+ * the colour, a faint wash of it over the page surface and a glow of it in the
6
+ * far corner. THE tint of every card and window that belongs to one agent, so
7
+ * they read as that agent's at a glance and all read alike.
8
+ *
9
+ * `accent` is a CSS colour (the hex an agent's identity stores). The surface
10
+ * under it should be the page surface (`bg-ods-bg`). Undefined gives no style,
11
+ * so a surface with no agent keeps its own border and background.
12
+ */
13
+ export function identityTint(accent: string | null | undefined): CSSProperties | undefined {
14
+ if (!accent) return undefined;
15
+ const wash = `color-mix(in srgb, ${accent} 2%, transparent)`;
16
+ return {
17
+ borderColor: `color-mix(in srgb, ${accent} 30%, transparent)`,
18
+ backgroundImage: [
19
+ `radial-gradient(120% 120% at 100% 100%, color-mix(in srgb, ${accent} 4%, transparent), transparent 70%)`,
20
+ `linear-gradient(${wash}, ${wash})`,
21
+ ].join(', '),
22
+ };
23
+ }
@@ -473,3 +473,5 @@ export type { ProgramDateFields, ProgramInstant, ProgramMetaRenderers } from './
473
473
  export { copyrightLine } from './copyright-line';
474
474
  export * from './path-pattern';
475
475
  export * from './random-id';
476
+ export * from './demo-clock';
477
+ export * from './identity-tint';
@@ -1,69 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
-
3
- // src/embed-shims/next-image.tsx
4
- var _react = require('react');
5
- var _jsxruntime = require('react/jsx-runtime');
6
- var impl = null;
7
- function registerImage(component) {
8
- impl = component;
9
- }
10
- var resizer = null;
11
- function registerImageResizer(fn) {
12
- resizer = fn;
13
- }
14
- function resizedImageUrl(src, widthPx) {
15
- return resizer ? resizer(src, widthPx) : src;
16
- }
17
- var Image = _react.forwardRef.call(void 0, function NextImageShim({ optimizedWidth, ...given }, ref) {
18
- const props = optimizedWidth && resizer && typeof given.src === "string" ? { ...given, src: resizer(given.src, optimizedWidth), unoptimized: true } : given;
19
- if (impl) {
20
- const Real = impl;
21
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Real, { ref, ...props });
22
- }
23
- const {
24
- src,
25
- alt,
26
- width,
27
- height,
28
- fill,
29
- sizes: _sizes,
30
- quality: _quality,
31
- priority: _priority,
32
- placeholder: _placeholder,
33
- blurDataURL: _blurDataURL,
34
- unoptimized: _unoptimized,
35
- onLoadingComplete,
36
- loader: _loader,
37
- style,
38
- ...rest
39
- } = props;
40
- const srcStr = typeof src === "string" ? src : _optionalChain([src, 'optionalAccess', _ => _.src]);
41
- const finalStyle = fill ? {
42
- position: "absolute",
43
- inset: 0,
44
- width: "100%",
45
- height: "100%",
46
- ...style
47
- } : style;
48
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
49
- "img",
50
- {
51
- ref,
52
- src: srcStr,
53
- alt: _nullishCoalesce(alt, () => ( "")),
54
- width: fill ? void 0 : width,
55
- height: fill ? void 0 : height,
56
- style: finalStyle,
57
- onLoad: onLoadingComplete ? (e) => onLoadingComplete(e.currentTarget) : void 0,
58
- ...rest
59
- }
60
- );
61
- });
62
- var next_image_default = Image;
63
-
64
-
65
-
66
-
67
-
68
-
69
- exports.registerImage = registerImage; exports.registerImageResizer = registerImageResizer; exports.resizedImageUrl = resizedImageUrl; exports.next_image_default = next_image_default;