@flamingo-stack/openframe-frontend-core 0.0.805 → 0.0.807

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 (74) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-QPBP7FKI.cjs → chunk-224GFGSR.cjs} +32 -32
  3. package/dist/{chunk-66ZQ7LDR.cjs → chunk-3B6PFUL3.cjs} +22 -37
  4. package/dist/{chunk-RIRIA3FO.cjs → chunk-5MTYKS2Q.cjs} +4 -4
  5. package/dist/{chunk-MEDSJCEX.cjs → chunk-5UTJARDM.cjs} +2 -2
  6. package/dist/{chunk-6UGNFMZB.cjs → chunk-74I2HT4X.cjs} +32 -32
  7. package/dist/{chunk-TTZEDDR5.cjs → chunk-7RM4NM2C.cjs} +1 -0
  8. package/dist/{chunk-A6P6DHEZ.cjs → chunk-7Z536SPR.cjs} +3 -1
  9. package/dist/{chunk-WSKMV2QS.cjs → chunk-BAOKF4OV.cjs} +3 -3
  10. package/dist/{chunk-NBLQFJ4I.cjs → chunk-BT53NHR7.cjs} +30 -30
  11. package/dist/{chunk-THY2XVGY.cjs → chunk-I3RJLXEL.cjs} +23 -17
  12. package/dist/{chunk-3EPG56RK.cjs → chunk-IEDID3EB.cjs} +3 -3
  13. package/dist/{chunk-F2VN3UUB.cjs → chunk-KS5V55HN.cjs} +37 -37
  14. package/dist/{chunk-6JRQ57DU.cjs → chunk-M5NBPOKJ.cjs} +385 -398
  15. package/dist/{chunk-AC5EBHAX.cjs → chunk-MBGUHO7Z.cjs} +31 -31
  16. package/dist/{chunk-76NE67PK.cjs → chunk-ML3DG4SS.cjs} +2 -2
  17. package/dist/{chunk-TTERV57X.cjs → chunk-OAJ3AL4V.cjs} +4 -4
  18. package/dist/{chunk-FQ4LYYBI.cjs → chunk-PIKHEBG5.cjs} +48 -48
  19. package/dist/{chunk-UCBR27JM.cjs → chunk-QPHQVTJO.cjs} +11 -11
  20. package/dist/{chunk-2NVIGBJC.cjs → chunk-QWB3CTGR.cjs} +65 -65
  21. package/dist/{chunk-NXJ3O4WO.cjs → chunk-RZNRKWG5.cjs} +13 -13
  22. package/dist/{chunk-MHH7CHNI.cjs → chunk-TOWVMBAP.cjs} +4 -4
  23. package/dist/{chunk-3WNCFZGN.cjs → chunk-TUZV2ZQY.cjs} +2 -2
  24. package/dist/{chunk-V3T5MDJV.cjs → chunk-VHX4A4SA.cjs} +2 -2
  25. package/dist/{chunk-55TGW6BF.cjs → chunk-WKVAD374.cjs} +6 -6
  26. package/dist/{chunk-LZIQXGAW.cjs → chunk-XCYL3TYS.cjs} +71 -71
  27. package/dist/{chunk-XXARXK62.cjs → chunk-XDVBSTFB.cjs} +18 -18
  28. package/dist/{chunk-Z6Y5X5SF.cjs → chunk-Z4IYLXJU.cjs} +41 -41
  29. package/dist/{chunk-BVSZTKI3.cjs → chunk-ZAXGW4KT.cjs} +14 -14
  30. package/dist/{cloud-tenants-LRXMISV4.cjs → cloud-tenants-KL2COIBU.cjs} +9 -9
  31. package/dist/components/case-studies/index.cjs +23 -23
  32. package/dist/components/chat/index.cjs +6 -6
  33. package/dist/components/contact/index.cjs +10 -10
  34. package/dist/components/docs/index.cjs +13 -13
  35. package/dist/components/embeds/index.cjs +10 -10
  36. package/dist/components/faq/index.cjs +11 -11
  37. package/dist/components/features/index.cjs +9 -9
  38. package/dist/components/help-center-pages/index.cjs +90 -90
  39. package/dist/components/index.cjs +56 -56
  40. package/dist/components/meeting-scheduler/index.cjs +57 -57
  41. package/dist/components/navigation/index.cjs +12 -12
  42. package/dist/components/onboarding-guides/index.cjs +12 -12
  43. package/dist/components/product-demo/index.cjs +19 -19
  44. package/dist/components/related-content/index.cjs +5 -5
  45. package/dist/components/tickets/index.cjs +16 -16
  46. package/dist/components/ui/autocomplete.d.ts.map +1 -1
  47. package/dist/components/ui/autocomplete.js +14 -30
  48. package/dist/components/ui/field-wrapper.d.ts.map +1 -1
  49. package/dist/components/ui/field-wrapper.js +2 -1
  50. package/dist/components/ui/file-manager/index.cjs +2 -2
  51. package/dist/components/ui/index.cjs +9 -9
  52. package/dist/components/ui/modal.d.ts.map +1 -1
  53. package/dist/components/ui/modal.js +24 -18
  54. package/dist/components/ui/tag-search-input.d.ts.map +1 -1
  55. package/dist/components/ui/tag-search-input.js +15 -29
  56. package/dist/{devices-CETR72XY.cjs → devices-3HQDYLE2.cjs} +10 -10
  57. package/dist/{embeddable-chat-GHBCX2BY.cjs → embeddable-chat-XT6GMSBX.cjs} +62 -62
  58. package/dist/hooks/index.cjs +4 -2
  59. package/dist/hooks/ui/use-auto-limit-tags.d.ts +6 -0
  60. package/dist/hooks/ui/use-auto-limit-tags.d.ts.map +1 -1
  61. package/dist/hooks/ui/use-auto-limit-tags.js +2 -0
  62. package/dist/index.cjs +15 -13
  63. package/dist/{knowledge-A2MWEF23.cjs → knowledge-6LA6XYUR.cjs} +10 -10
  64. package/dist/{logs-47JODA6C.cjs → logs-R4YZI33F.cjs} +17 -17
  65. package/dist/{policies-OPIDR6XF.cjs → policies-DGJMMGXN.cjs} +13 -13
  66. package/dist/{remote-session-IQTPEG63.cjs → remote-session-HLGLKOGW.cjs} +6 -6
  67. package/dist/{scripts-4MQGJWFP.cjs → scripts-6KR5UZQY.cjs} +16 -16
  68. package/dist/{software-update-MQIGPBZ6.cjs → software-update-R63SKZQM.cjs} +13 -13
  69. package/package.json +1 -1
  70. package/src/components/ui/autocomplete.tsx +5 -13
  71. package/src/components/ui/field-wrapper.tsx +5 -0
  72. package/src/components/ui/modal.tsx +14 -4
  73. package/src/components/ui/tag-search-input.tsx +16 -22
  74. package/src/hooks/ui/use-auto-limit-tags.ts +7 -0
@@ -5,12 +5,12 @@ var _chunkAZJYMTBScjs = require('./chunk-AZJYMTBS.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkNBLQFJ4Icjs = require('./chunk-NBLQFJ4I.cjs');
8
+ var _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkF2VN3UUBcjs = require('./chunk-F2VN3UUB.cjs');
13
+ var _chunkKS5V55HNcjs = require('./chunk-KS5V55HN.cjs');
14
14
 
15
15
 
16
16
 
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
25
25
 
26
26
 
27
27
 
28
- var _chunkMHH7CHNIcjs = require('./chunk-MHH7CHNI.cjs');
28
+ var _chunkTOWVMBAPcjs = require('./chunk-TOWVMBAP.cjs');
29
29
 
30
30
 
31
- var _chunkTHY2XVGYcjs = require('./chunk-THY2XVGY.cjs');
31
+ var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
32
32
 
33
33
 
34
34
  var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
@@ -74,7 +74,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
74
74
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
75
75
  "div",
76
76
  {
77
- id: _chunkF2VN3UUBcjs.faqItemAnchor.call(void 0, item.id),
77
+ id: _chunkKS5V55HNcjs.faqItemAnchor.call(void 0, item.id),
78
78
  className: _chunk7JWFMAQBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
79
79
  "data-loading-item": true,
80
80
  children: [
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
140
140
 
141
141
  var PICK_ROOT_MARGIN = "600px";
142
142
  function faqAskCardShown(assistant) {
143
- return _chunkNBLQFJ4Icjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
143
+ return _chunkBT53NHR7cjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
144
144
  }
145
145
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
146
146
  const { ref, inView } = _chunkOJZBZH56cjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
147
147
  const [reached, setReached] = _react.useState.call(void 0, false);
148
148
  if (inView && !reached) setReached(true);
149
149
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
- _chunkNBLQFJ4Icjs.AssistantAskPrompts,
150
+ _chunkBT53NHR7cjs.AssistantAskPrompts,
151
151
  {
152
152
  variant: "card",
153
153
  topic,
@@ -207,7 +207,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
207
207
  var FAQ_NAV_SKELETON_PILLS = 8;
208
208
  var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
209
209
  var CATEGORY_SECTION_CLASS = "scroll-mt-24";
210
- var CATEGORY_HEADING_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkTHY2XVGYcjs.SECTION_HEADING_CLASS, "pb-4");
210
+ var CATEGORY_HEADING_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkI3RJLXELcjs.SECTION_HEADING_CLASS, "pb-4");
211
211
  var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
212
212
  function FaqLayout({
213
213
  heading,
@@ -233,7 +233,7 @@ function FaqLayout({
233
233
  ] });
234
234
  }
235
235
  function faqHeadingNode(heading, showTopic, topic) {
236
- const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkTHY2XVGYcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
236
+ const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkI3RJLXELcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
237
237
  if (!(showTopic && topic)) return titleNode;
238
238
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
239
239
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
@@ -247,7 +247,7 @@ function pageFaqProps(faq) {
247
247
  }
248
248
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
249
249
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
250
- return _chunkMHH7CHNIcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
250
+ return _chunkTOWVMBAPcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
251
251
  apiBaseUrl,
252
252
  entityType,
253
253
  entityId,
@@ -268,7 +268,7 @@ function groupFaqsBySection(faqs) {
268
268
  }
269
269
  let group = byName.get(name);
270
270
  if (!group) {
271
- group = { section: name, slug: _chunkF2VN3UUBcjs.faqSectionSlug.call(void 0, name), items: [] };
271
+ group = { section: name, slug: _chunkKS5V55HNcjs.faqSectionSlug.call(void 0, name), items: [] };
272
272
  byName.set(name, group);
273
273
  }
274
274
  group.items.push(item);
@@ -324,7 +324,7 @@ function GroupedFaqList({
324
324
  }, [slugKey]);
325
325
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
326
326
  _react.useEffect.call(void 0, () => {
327
- const refresh = () => setHashTarget(_chunkF2VN3UUBcjs.parseFaqHash.call(void 0, window.location.hash));
327
+ const refresh = () => setHashTarget(_chunkKS5V55HNcjs.parseFaqHash.call(void 0, window.location.hash));
328
328
  refresh();
329
329
  window.addEventListener("hashchange", refresh);
330
330
  return () => window.removeEventListener("hashchange", refresh);
@@ -425,7 +425,7 @@ function FaqSection({
425
425
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
426
426
  [initialFaqs]
427
427
  );
428
- const { data, dataUrl, isLoading, error } = _chunkMHH7CHNIcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
428
+ const { data, dataUrl, isLoading, error } = _chunkTOWVMBAPcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
429
429
  const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _14 => _14.faqs]) : void 0;
430
430
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
431
431
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkTHY2XVGYcjs = require('./chunk-THY2XVGY.cjs');
5
+ var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
6
6
 
7
7
 
8
8
  var _chunkPRCGRDHVcjs = require('./chunk-PRCGRDHV.cjs');
@@ -150,7 +150,7 @@ function EmployeeEntryBadge({ children }) {
150
150
  function EmployeeEntryCard(props) {
151
151
  if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || props.loading) {
152
152
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
153
- _chunkTHY2XVGYcjs.AdminContentCard,
153
+ _chunkI3RJLXELcjs.AdminContentCard,
154
154
  {
155
155
  loading: true,
156
156
  title: "",
@@ -172,9 +172,9 @@ function LoadedEmployeeEntryCard({
172
172
  anchorProps,
173
173
  className
174
174
  }) {
175
- const authorAvatar = _chunkTHY2XVGYcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
175
+ const authorAvatar = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
176
176
  const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
177
- _chunkTHY2XVGYcjs.AdminContentCard,
177
+ _chunkI3RJLXELcjs.AdminContentCard,
178
178
  {
179
179
  imageUrl: entry.featured_image || entry.main_video_thumbnail,
180
180
  placeholderUrl,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkTHY2XVGYcjs = require('./chunk-THY2XVGY.cjs');
4
+ var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
5
5
 
6
6
 
7
7
  var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
@@ -49,7 +49,7 @@ function PaginationControl({
49
49
  );
50
50
  }
51
51
  const handleClick = (event) => {
52
- if (_chunkTHY2XVGYcjs.isModifierClick.call(void 0, event)) return;
52
+ if (_chunkI3RJLXELcjs.isModifierClick.call(void 0, event)) return;
53
53
  event.preventDefault();
54
54
  onPageChange(page);
55
55
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkRIRIA3FOcjs = require('./chunk-RIRIA3FO.cjs');
4
+ var _chunk5MTYKS2Qcjs = require('./chunk-5MTYKS2Q.cjs');
5
5
 
6
6
 
7
7
 
@@ -118,7 +118,7 @@ function PersistentPaginationWrapper({
118
118
  },
119
119
  "aria-hidden": isPaginationDisabled,
120
120
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
121
- _chunkRIRIA3FOcjs.UnifiedPagination,
121
+ _chunk5MTYKS2Qcjs.UnifiedPagination,
122
122
  {
123
123
  currentPage: displayCurrentPage,
124
124
  totalPages: displayTotalPages,
@@ -1,13 +1,13 @@
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 _chunkNXJ3O4WOcjs = require('./chunk-NXJ3O4WO.cjs');
4
+ var _chunkRZNRKWG5cjs = require('./chunk-RZNRKWG5.cjs');
5
5
 
6
6
 
7
- var _chunk6JRQ57DUcjs = require('./chunk-6JRQ57DU.cjs');
7
+ var _chunkM5NBPOKJcjs = require('./chunk-M5NBPOKJ.cjs');
8
8
 
9
9
 
10
- var _chunk66ZQ7LDRcjs = require('./chunk-66ZQ7LDR.cjs');
10
+ var _chunk3B6PFUL3cjs = require('./chunk-3B6PFUL3.cjs');
11
11
 
12
12
 
13
13
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -36,8 +36,8 @@ function FaqDocumentPage({
36
36
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
37
37
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
38
38
  };
39
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk66ZQ7LDRcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40
- _chunkNXJ3O4WOcjs.FaqSection,
39
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40
+ _chunkRZNRKWG5cjs.FaqSection,
41
41
  {
42
42
  initialFaqs,
43
43
  heading: null,
@@ -53,7 +53,7 @@ function FaqDocumentPage({
53
53
  skeletonNav
54
54
  }
55
55
  ) });
56
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6JRQ57DUcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
56
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM5NBPOKJcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
57
57
  }
58
58
 
59
59