@flamingo-stack/openframe-frontend-core 0.0.732 → 0.0.734
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-YGKVHSNQ.cjs → chunk-2OHBH6PS.cjs} +42 -42
- package/dist/{chunk-MEDDKM3A.cjs → chunk-3HPB4H4C.cjs} +2 -2
- package/dist/{chunk-BS4EZZCN.cjs → chunk-3NANWZO3.cjs} +15 -15
- package/dist/{chunk-5HMGK3N6.cjs → chunk-4Q34V7MD.cjs} +20 -20
- package/dist/{chunk-22ZK7BA3.cjs → chunk-4V672TEI.cjs} +1127 -1072
- package/dist/{chunk-OI7VCXYU.cjs → chunk-5DDFSGCE.cjs} +40 -40
- package/dist/{chunk-CUF3IYIB.cjs → chunk-5OGT7H2S.cjs} +28 -28
- package/dist/{chunk-C5NERNE6.cjs → chunk-73ZW3265.cjs} +93 -93
- package/dist/{chunk-GID62YEN.cjs → chunk-AAFW4STC.cjs} +3 -3
- package/dist/{chunk-MVZ6XFPK.cjs → chunk-AOTOOGNX.cjs} +8 -8
- package/dist/{chunk-SJRR745G.cjs → chunk-BP6R5WDW.cjs} +44 -44
- package/dist/{chunk-OJ3XU3YZ.cjs → chunk-CMUEFHM3.cjs} +4 -4
- package/dist/{chunk-3BLBWZ6A.cjs → chunk-D34BLEIR.cjs} +7 -7
- package/dist/{chunk-XOQ2UUVS.cjs → chunk-DHIISS4W.cjs} +50 -40
- package/dist/{chunk-RIXGLS5Y.cjs → chunk-DUVOQHQI.cjs} +4 -4
- package/dist/{chunk-E3N24573.cjs → chunk-DUXLZPMJ.cjs} +9 -9
- package/dist/{chunk-6KDGIOLP.cjs → chunk-EMBH2EJO.cjs} +89 -89
- package/dist/{chunk-N466AJGN.cjs → chunk-FA5SMA7L.cjs} +17 -17
- package/dist/{chunk-AEVGCB3Y.cjs → chunk-FCGLSWKR.cjs} +4 -4
- package/dist/{chunk-MANNIJ42.cjs → chunk-FICJS5OA.cjs} +6 -0
- package/dist/{chunk-KLXHCNDC.cjs → chunk-FTTLBMHU.cjs} +3 -3
- package/dist/{chunk-7DUXR4HL.cjs → chunk-GVTDVS5U.cjs} +3 -3
- package/dist/{chunk-ZWMPAFGB.cjs → chunk-HAWQA5FI.cjs} +236 -236
- package/dist/{chunk-BDTX2OEE.cjs → chunk-JRC3KXKV.cjs} +32 -32
- package/dist/{chunk-PRWBVIWW.cjs → chunk-KSXZABGH.cjs} +59 -59
- package/dist/{chunk-G37LT2ID.cjs → chunk-L4ZNR5V7.cjs} +38 -38
- package/dist/{chunk-I46MQ4R5.cjs → chunk-L7WJBJU7.cjs} +73 -73
- package/dist/{chunk-NYY25425.cjs → chunk-MYBTNOS6.cjs} +2 -2
- package/dist/{chunk-HELVKMRG.cjs → chunk-NTJE6SM6.cjs} +2 -2
- package/dist/{chunk-5HSMTSHU.cjs → chunk-OV7QQHLG.cjs} +24 -24
- package/dist/{chunk-6HHUU56Y.cjs → chunk-R65UD6BH.cjs} +14 -14
- package/dist/{chunk-CC3LINHF.cjs → chunk-SA7LDEVJ.cjs} +3 -3
- package/dist/{chunk-TLDCSTTQ.cjs → chunk-TLQQP2EL.cjs} +10 -10
- package/dist/{chunk-QMTC3BK3.cjs → chunk-ZJNYWNCB.cjs} +21 -21
- package/dist/{chunk-HH4BMYDX.cjs → chunk-ZRYKDN2J.cjs} +19 -19
- package/dist/{cloud-tenants-ILRE74JY.cjs → cloud-tenants-HU7YZD33.cjs} +21 -21
- package/dist/components/case-studies/index.cjs +34 -34
- package/dist/components/chat/embeddable-chat.d.ts +16 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +5 -2
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-library.js +6 -0
- package/dist/components/contact/index.cjs +22 -22
- package/dist/components/docs/index.cjs +25 -25
- package/dist/components/embeds/index.cjs +22 -22
- package/dist/components/faq/index.cjs +22 -22
- package/dist/components/features/index.cjs +21 -21
- package/dist/components/help-center-pages/index.cjs +137 -137
- package/dist/components/index.cjs +76 -76
- package/dist/components/layout/page-heading.d.ts +9 -1
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +15 -5
- package/dist/components/meeting-scheduler/index.cjs +63 -63
- package/dist/components/navigation/index.cjs +24 -24
- package/dist/components/onboarding-guides/index.cjs +24 -24
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/related-content/index.cjs +9 -9
- package/dist/components/tickets/index.cjs +25 -25
- package/dist/components/ui/index.cjs +21 -21
- package/dist/components/ui/searchable-select.d.ts +29 -3
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +101 -45
- package/dist/{devices-A6SFNGE4.cjs → devices-CKLN7BHY.cjs} +22 -22
- package/dist/{embeddable-chat-BKPYNOIM.cjs → embeddable-chat-FTAX4SVV.cjs} +95 -92
- package/dist/hooks/index.cjs +8 -8
- package/dist/index.cjs +27 -27
- package/dist/{knowledge-5ZCVKUYV.cjs → knowledge-NRLHSCC5.cjs} +22 -22
- package/dist/{logs-CL4OJASB.cjs → logs-BR6SLYAF.cjs} +29 -29
- package/dist/{policies-7D44ZVS5.cjs → policies-MQRXBYG2.cjs} +25 -25
- package/dist/{remote-session-QB3CIZRM.cjs → remote-session-Z4YZFG5E.cjs} +9 -9
- package/dist/{software-update-AX6TZL26.cjs → software-update-RUGIQP7N.cjs} +25 -25
- package/dist/{tickets-board-7FAV2YWF.cjs → tickets-board-JOSYLOS7.cjs} +12 -12
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +29 -2
- package/src/components/chat/utils/icon-library.tsx +7 -0
- package/src/components/layout/page-heading.tsx +37 -7
- package/src/components/ui/searchable-select.tsx +124 -32
|
@@ -1,10 +1,10 @@
|
|
|
1
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
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEMBH2EJOcjs = require('./chunk-EMBH2EJO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHAWQA5FIcjs = require('./chunk-HAWQA5FI.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkZWMPAFGBcjs = require('./chunk-ZWMPAFGB.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSA7LDEVJcjs = require('./chunk-SA7LDEVJ.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -47,7 +47,7 @@ function HorizontalSectionNav({
|
|
|
47
47
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
|
|
48
48
|
brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
|
|
49
49
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
50
|
-
|
|
50
|
+
_chunkHAWQA5FIcjs.ScrollShadow,
|
|
51
51
|
{
|
|
52
52
|
axis: "horizontal",
|
|
53
53
|
className: "min-w-0 flex-1",
|
|
@@ -166,7 +166,7 @@ function useSectionNavigation(sections, options) {
|
|
|
166
166
|
if (!targetElement) return;
|
|
167
167
|
isScrollingFromClick.current = true;
|
|
168
168
|
setActiveSection(sectionId);
|
|
169
|
-
|
|
169
|
+
_chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
|
|
170
170
|
setTimeout(() => {
|
|
171
171
|
isScrollingFromClick.current = false;
|
|
172
172
|
}, 500);
|
|
@@ -219,13 +219,13 @@ var SCROLL_OFFSET = 100;
|
|
|
219
219
|
var ID_SEPARATOR = "\n";
|
|
220
220
|
var LINE_TOLERANCE_PX = 1;
|
|
221
221
|
function currentHashId() {
|
|
222
|
-
return
|
|
222
|
+
return _chunkSA7LDEVJcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
|
|
223
223
|
}
|
|
224
224
|
function activeChildAnchor(section) {
|
|
225
|
-
return _nullishCoalesce(_optionalChain([section, 'access', _9 => _9.querySelector, 'call', _10 => _10(`[${
|
|
225
|
+
return _nullishCoalesce(_optionalChain([section, 'access', _9 => _9.querySelector, 'call', _10 => _10(`[${_chunkSA7LDEVJcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _11 => _11.id]), () => ( null));
|
|
226
226
|
}
|
|
227
227
|
function hashIsWithin(section) {
|
|
228
|
-
return section.contains(
|
|
228
|
+
return section.contains(_chunkSA7LDEVJcjs.getHashTargetElement.call(void 0, currentHashId()));
|
|
229
229
|
}
|
|
230
230
|
function hashForSection(sectionId) {
|
|
231
231
|
const section = document.getElementById(sectionId);
|
|
@@ -233,7 +233,7 @@ function hashForSection(sectionId) {
|
|
|
233
233
|
return _nullishCoalesce(activeChildAnchor(section), () => ( (hashIsWithin(section) ? currentHashId() : sectionId)));
|
|
234
234
|
}
|
|
235
235
|
function resolveScroller(firstSection) {
|
|
236
|
-
const container = firstSection ?
|
|
236
|
+
const container = firstSection ? _chunkSA7LDEVJcjs.getScrollableAncestor.call(void 0, firstSection) : null;
|
|
237
237
|
if (container) {
|
|
238
238
|
return {
|
|
239
239
|
target: container,
|
|
@@ -263,8 +263,8 @@ function useScrollSpy(sections, options = {}) {
|
|
|
263
263
|
if (!targetElement) return;
|
|
264
264
|
isScrollingFromClick.current = true;
|
|
265
265
|
setActiveSection(sectionId);
|
|
266
|
-
if (syncHash)
|
|
267
|
-
|
|
266
|
+
if (syncHash) _chunkSA7LDEVJcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
|
|
267
|
+
_chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
|
|
268
268
|
setTimeout(() => {
|
|
269
269
|
isScrollingFromClick.current = false;
|
|
270
270
|
}, 800);
|
|
@@ -280,7 +280,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
280
280
|
const scrollTop = scroller.scrollTop();
|
|
281
281
|
const viewportTop = scroller.viewportTop();
|
|
282
282
|
const sectionTop = (element) => element.getBoundingClientRect().top - viewportTop + scrollTop;
|
|
283
|
-
const reached = (element) => scrollTop + Math.max(headerOffset,
|
|
283
|
+
const reached = (element) => scrollTop + Math.max(headerOffset, _chunkSA7LDEVJcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
|
|
284
284
|
const first = document.getElementById(_nullishCoalesce(sectionIds[0], () => ( "")));
|
|
285
285
|
let currentSection = _nullishCoalesce(sectionIds[0], () => ( ""));
|
|
286
286
|
const scrollHeight = scroller.scrollHeight();
|
|
@@ -303,16 +303,16 @@ function useScrollSpy(sections, options = {}) {
|
|
|
303
303
|
setActiveSection((prev) => prev !== active ? active : prev);
|
|
304
304
|
if (!syncHash) return;
|
|
305
305
|
if (fromScroll) {
|
|
306
|
-
|
|
306
|
+
_chunkSA7LDEVJcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
|
|
307
307
|
return;
|
|
308
308
|
}
|
|
309
|
-
if (restoredChecked.current || !
|
|
310
|
-
const target =
|
|
309
|
+
if (restoredChecked.current || !_chunkSA7LDEVJcjs.isScrollSyncedHash.call(void 0, )) return;
|
|
310
|
+
const target = _chunkSA7LDEVJcjs.getHashTargetElement.call(void 0, currentHashId());
|
|
311
311
|
const tracked = sectionIds.some((id) => _nullishCoalesce(_optionalChain([document, 'access', _16 => _16.getElementById, 'call', _17 => _17(id), 'optionalAccess', _18 => _18.contains, 'call', _19 => _19(target)]), () => ( false)));
|
|
312
312
|
if (!target || !tracked) return;
|
|
313
313
|
restoredChecked.current = true;
|
|
314
314
|
const section = isAboveFirst ? null : document.getElementById(currentSection);
|
|
315
|
-
if (!_optionalChain([section, 'optionalAccess', _20 => _20.contains, 'call', _21 => _21(target)]))
|
|
315
|
+
if (!_optionalChain([section, 'optionalAccess', _20 => _20.contains, 'call', _21 => _21(target)])) _chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
|
|
316
316
|
};
|
|
317
317
|
let scrollTimer;
|
|
318
318
|
const throttledScroll = () => {
|
|
@@ -332,7 +332,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
332
332
|
// src/components/navigation/multi-level-navigation.tsx
|
|
333
333
|
var _lucidereact = require('lucide-react');
|
|
334
334
|
|
|
335
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
335
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkEMBH2EJOcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
336
336
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
337
337
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
338
338
|
if (selectedPath === node.path) {
|
|
@@ -8,7 +8,7 @@ var _chunkPX7FY655cjs = require('./chunk-PX7FY655.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
12
12
|
|
|
13
13
|
// src/utils/color-analysis.ts
|
|
14
14
|
var DESIGN_PALETTE = [
|
|
@@ -243,13 +243,13 @@ function getSemanticColor(semanticName, platform) {
|
|
|
243
243
|
}
|
|
244
244
|
function getPlatformConfig(platform) {
|
|
245
245
|
const currentPlatform = platform || getCurrentPlatform();
|
|
246
|
-
const isDarkTheme =
|
|
246
|
+
const isDarkTheme = _chunkFICJS5OAcjs.PLATFORM_THEME === "dark";
|
|
247
247
|
return {
|
|
248
248
|
platform: currentPlatform,
|
|
249
|
-
accentColor:
|
|
249
|
+
accentColor: _chunkFICJS5OAcjs.getPlatformAccentColor.call(void 0, currentPlatform),
|
|
250
250
|
isDarkTheme,
|
|
251
251
|
isLightTheme: !isDarkTheme,
|
|
252
|
-
brandName:
|
|
252
|
+
brandName: _chunkFICJS5OAcjs.getPlatformDisplayName.call(void 0, currentPlatform)
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
function usePlatformColors(platform) {
|
|
@@ -634,6 +634,12 @@ var ICON_ALIASES = {
|
|
|
634
634
|
rocket: ROCKET,
|
|
635
635
|
video: { set: "VideoRecorderIcon" },
|
|
636
636
|
headphones: { set: "HeadphoneIcon" },
|
|
637
|
+
// The two LLM brands offered by `ICON_OPTIONS`. Their brand-colored glyphs
|
|
638
|
+
// are the only picker entries that hardcode a fill (#000 / #D97757), so they
|
|
639
|
+
// ignored the chip accent and sat black and orange in a cyan grid; the grey
|
|
640
|
+
// variants fill with `currentColor` like every other brand logo here.
|
|
641
|
+
"openai-logo": { set: "OpenaiLogoGreyIcon" },
|
|
642
|
+
"anthropic-logo": { set: "AnthropicLogoGreyIcon" },
|
|
637
643
|
// Figma-canonical aliases (node 7363:205938) — kept for Storybook
|
|
638
644
|
// fixtures and any older feed entries still using the long names.
|
|
639
645
|
"clickup-logo": CLICKUP_GREY,
|
|
@@ -5,7 +5,7 @@ var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkUR4K2NSLcjs = require('./chunk-UR4K2NSL.cjs');
|
|
@@ -248,7 +248,7 @@ var disabledTagClasses = [
|
|
|
248
248
|
];
|
|
249
249
|
function TagLabel({ label, labelClassName }) {
|
|
250
250
|
const isString = typeof label === "string";
|
|
251
|
-
const { ref, isTruncated } =
|
|
251
|
+
const { ref, isTruncated } = _chunkFICJS5OAcjs.useIsTruncated.call(void 0, isString ? label : null);
|
|
252
252
|
if (!isString) {
|
|
253
253
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "truncate", labelClassName), children: label });
|
|
254
254
|
}
|
|
@@ -790,7 +790,7 @@ var SquareAvatar = _react3.memo.call(void 0,
|
|
|
790
790
|
style,
|
|
791
791
|
...props
|
|
792
792
|
}, ref) => {
|
|
793
|
-
const resolvedSrc =
|
|
793
|
+
const resolvedSrc = _chunkFICJS5OAcjs.useAuthedImageSrc.call(void 0, src);
|
|
794
794
|
const sizeClasses = {
|
|
795
795
|
// xs (24px): dense card meta rows — avatar stacks on delivery/
|
|
796
796
|
// roadmap cards. Part of the shared scale so no caller ever
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunk3LU4UFPScjs = require('./chunk-3LU4UFPS.cjs');
|
|
@@ -21,8 +21,8 @@ function contentBreakpointFor(width) {
|
|
|
21
21
|
}
|
|
22
22
|
function useContentBreakpoint() {
|
|
23
23
|
const width = _react.useContext.call(void 0, ContentAreaWidthContext);
|
|
24
|
-
const mdUp =
|
|
25
|
-
const lgUp =
|
|
24
|
+
const mdUp = _chunkFICJS5OAcjs.useMdUp.call(void 0, );
|
|
25
|
+
const lgUp = _chunkFICJS5OAcjs.useLgUp.call(void 0, );
|
|
26
26
|
if (width !== null) return contentBreakpointFor(width);
|
|
27
27
|
if (mdUp === void 0) return void 0;
|
|
28
28
|
if (lgUp) return "desktop";
|