@flamingo-stack/openframe-frontend-core 0.0.266 → 0.0.267

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 (85) hide show
  1. package/dist/{chunk-G5GQVAPI.cjs → chunk-5QJQAFTP.cjs} +126 -57
  2. package/dist/chunk-5QJQAFTP.cjs.map +1 -0
  3. package/dist/chunk-722TTRIJ.cjs +29 -0
  4. package/dist/chunk-722TTRIJ.cjs.map +1 -0
  5. package/dist/{chunk-QXRXIHY6.cjs → chunk-AA77CC2Y.cjs} +12 -12
  6. package/dist/{chunk-QXRXIHY6.cjs.map → chunk-AA77CC2Y.cjs.map} +1 -1
  7. package/dist/{chunk-WB2JXKEI.cjs → chunk-CI5XE4LB.cjs} +37 -37
  8. package/dist/{chunk-WB2JXKEI.cjs.map → chunk-CI5XE4LB.cjs.map} +1 -1
  9. package/dist/{chunk-UUARMJJE.cjs → chunk-CICK3FUU.cjs} +100 -5
  10. package/dist/chunk-CICK3FUU.cjs.map +1 -0
  11. package/dist/{chunk-K4K4X62E.js → chunk-CYMMGPPV.js} +125 -56
  12. package/dist/chunk-CYMMGPPV.js.map +1 -0
  13. package/dist/{chunk-FRU4LQJ4.js → chunk-GJVSLS2R.js} +5 -7
  14. package/dist/{chunk-FRU4LQJ4.js.map → chunk-GJVSLS2R.js.map} +1 -1
  15. package/dist/{chunk-HTR3ARN6.js → chunk-ICOMPUMX.js} +343 -248
  16. package/dist/chunk-ICOMPUMX.js.map +1 -0
  17. package/dist/{chunk-DTJ32U7J.js → chunk-J6O57C7S.js} +8 -72
  18. package/dist/chunk-J6O57C7S.js.map +1 -0
  19. package/dist/{chunk-QAQ7AROS.cjs → chunk-O6UA475M.cjs} +302 -366
  20. package/dist/chunk-O6UA475M.cjs.map +1 -0
  21. package/dist/chunk-OO4ZGDRO.js +29 -0
  22. package/dist/chunk-OO4ZGDRO.js.map +1 -0
  23. package/dist/{chunk-TX2VP43R.js → chunk-P7JHUX4X.js} +2 -2
  24. package/dist/{chunk-NR535XIY.js → chunk-T2URJAX2.js} +66 -1
  25. package/dist/chunk-T2URJAX2.js.map +1 -0
  26. package/dist/{chunk-VYGS24RO.cjs → chunk-TPZI7NBN.cjs} +16 -18
  27. package/dist/chunk-TPZI7NBN.cjs.map +1 -0
  28. package/dist/{chunk-SRM7HE2A.js → chunk-XSK72QRR.js} +3 -3
  29. package/dist/{chunk-7VMEOFEA.cjs → chunk-Y2B6WDU6.cjs} +67 -2
  30. package/dist/chunk-Y2B6WDU6.cjs.map +1 -0
  31. package/dist/{chunk-Q52JZP3P.cjs → chunk-YV55JZAD.cjs} +27 -27
  32. package/dist/{chunk-Q52JZP3P.cjs.map → chunk-YV55JZAD.cjs.map} +1 -1
  33. package/dist/{chunk-KUYYJ2XM.js → chunk-Z6MKG53Z.js} +4 -4
  34. package/dist/components/chat/index.cjs +5 -5
  35. package/dist/components/chat/index.js +4 -4
  36. package/dist/components/contact/index.cjs +6 -6
  37. package/dist/components/contact/index.js +5 -5
  38. package/dist/components/faq/faq-section.d.ts +20 -23
  39. package/dist/components/faq/faq-section.d.ts.map +1 -1
  40. package/dist/components/faq/index.cjs +4 -4
  41. package/dist/components/faq/index.js +3 -3
  42. package/dist/components/faq-accordion.d.ts +0 -5
  43. package/dist/components/faq-accordion.d.ts.map +1 -1
  44. package/dist/components/features/index.cjs +7 -8
  45. package/dist/components/features/index.cjs.map +1 -1
  46. package/dist/components/features/index.js +6 -7
  47. package/dist/components/index.cjs +84 -84
  48. package/dist/components/index.cjs.map +1 -1
  49. package/dist/components/index.js +13 -13
  50. package/dist/components/navigation/index.cjs +5 -5
  51. package/dist/components/navigation/index.js +4 -4
  52. package/dist/components/onboarding-guides/index.cjs +24 -25
  53. package/dist/components/onboarding-guides/index.cjs.map +1 -1
  54. package/dist/components/onboarding-guides/index.js +4 -5
  55. package/dist/components/onboarding-guides/index.js.map +1 -1
  56. package/dist/components/related-content/index.cjs +6 -6
  57. package/dist/components/related-content/index.js +5 -5
  58. package/dist/components/tickets/index.cjs +69 -69
  59. package/dist/components/tickets/index.cjs.map +1 -1
  60. package/dist/components/tickets/index.js +10 -10
  61. package/dist/components/ui/index.cjs +7 -7
  62. package/dist/components/ui/index.cjs.map +1 -1
  63. package/dist/components/ui/index.js +7 -7
  64. package/dist/index.cjs +10 -10
  65. package/dist/index.cjs.map +1 -1
  66. package/dist/index.js +10 -10
  67. package/package.json +1 -1
  68. package/src/components/faq/faq-section.tsx +212 -104
  69. package/src/components/faq-accordion.tsx +1 -15
  70. package/dist/chunk-7VMEOFEA.cjs.map +0 -1
  71. package/dist/chunk-DTJ32U7J.js.map +0 -1
  72. package/dist/chunk-FREG2KXV.js +0 -128
  73. package/dist/chunk-FREG2KXV.js.map +0 -1
  74. package/dist/chunk-G5GQVAPI.cjs.map +0 -1
  75. package/dist/chunk-HTR3ARN6.js.map +0 -1
  76. package/dist/chunk-JMU4RU5J.cjs +0 -128
  77. package/dist/chunk-JMU4RU5J.cjs.map +0 -1
  78. package/dist/chunk-K4K4X62E.js.map +0 -1
  79. package/dist/chunk-NR535XIY.js.map +0 -1
  80. package/dist/chunk-QAQ7AROS.cjs.map +0 -1
  81. package/dist/chunk-UUARMJJE.cjs.map +0 -1
  82. package/dist/chunk-VYGS24RO.cjs.map +0 -1
  83. /package/dist/{chunk-TX2VP43R.js.map → chunk-P7JHUX4X.js.map} +0 -0
  84. /package/dist/{chunk-SRM7HE2A.js.map → chunk-XSK72QRR.js.map} +0 -0
  85. /package/dist/{chunk-KUYYJ2XM.js.map → chunk-Z6MKG53Z.js.map} +0 -0
@@ -18,8 +18,9 @@ import {
18
18
  useToast
19
19
  } from "./chunk-ZMFT5XOB.js";
20
20
  import {
21
- cn as cn2
22
- } from "./chunk-NR535XIY.js";
21
+ cn as cn2,
22
+ scrollElementIntoView
23
+ } from "./chunk-T2URJAX2.js";
23
24
  import {
24
25
  Checkbox,
25
26
  FieldWrapper,
@@ -58,6 +59,7 @@ import {
58
59
  PageError,
59
60
  SimpleMarkdownRenderer,
60
61
  SquareAvatar,
62
+ StatusBadge,
61
63
  Tag,
62
64
  buildAnchorProps,
63
65
  computeIsNewTab,
@@ -83,7 +85,7 @@ import {
83
85
  useControllableState,
84
86
  useEntityCardLink,
85
87
  useEntityCardPlaceholder
86
- } from "./chunk-HTR3ARN6.js";
88
+ } from "./chunk-ICOMPUMX.js";
87
89
  import {
88
90
  useAutoLimitTags,
89
91
  useDebounce
@@ -104,9 +106,8 @@ import {
104
106
  useSearchParams
105
107
  } from "./chunk-PLJLE4A4.js";
106
108
  import {
107
- SECTION_HEADING_CLASS,
108
- StatusBadge
109
- } from "./chunk-FREG2KXV.js";
109
+ SECTION_HEADING_CLASS
110
+ } from "./chunk-OO4ZGDRO.js";
110
111
  import {
111
112
  Button,
112
113
  DropdownMenu,
@@ -13517,70 +13518,6 @@ var OPENFRAME_DEV_SECTIONS = {
13517
13518
  }
13518
13519
  };
13519
13520
 
13520
- // src/utils/scroll-into-view.ts
13521
- var activeRaf = 0;
13522
- var teardownActive = null;
13523
- function cancelActiveScroll() {
13524
- if (activeRaf) {
13525
- cancelAnimationFrame(activeRaf);
13526
- activeRaf = 0;
13527
- }
13528
- if (teardownActive) {
13529
- teardownActive();
13530
- teardownActive = null;
13531
- }
13532
- }
13533
- var easeOutCubic = (t) => 1 - Math.pow(1 - t, 3);
13534
- function scrollElementIntoView(target, options = {}) {
13535
- if (typeof window === "undefined" || !target) return;
13536
- const { headerOffset = 0, behavior = "smooth", adjustTargetY, durationMs = 320 } = options;
13537
- const computeTarget = () => {
13538
- const raw = target.getBoundingClientRect().top + window.scrollY - headerOffset;
13539
- const adjusted = adjustTargetY ? adjustTargetY(raw) : raw;
13540
- const maxScroll = Math.max(
13541
- 0,
13542
- document.documentElement.scrollHeight - window.innerHeight
13543
- );
13544
- return Math.min(Math.max(0, adjusted), maxScroll);
13545
- };
13546
- cancelActiveScroll();
13547
- const prefersReduced = typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
13548
- if (behavior === "instant" || behavior === "auto" || prefersReduced) {
13549
- window.scrollTo(0, computeTarget());
13550
- return;
13551
- }
13552
- let startY = null;
13553
- let startTime = 0;
13554
- const onUserGesture = () => cancelActiveScroll();
13555
- window.addEventListener("wheel", onUserGesture, { passive: true });
13556
- window.addEventListener("touchmove", onUserGesture, { passive: true });
13557
- teardownActive = () => {
13558
- window.removeEventListener("wheel", onUserGesture);
13559
- window.removeEventListener("touchmove", onUserGesture);
13560
- };
13561
- const step = (now) => {
13562
- if (startY === null) {
13563
- startY = window.scrollY;
13564
- startTime = now;
13565
- }
13566
- const targetY = computeTarget();
13567
- const t = Math.min(1, (now - startTime) / durationMs);
13568
- const y = startY + (targetY - startY) * easeOutCubic(t);
13569
- window.scrollTo(0, y);
13570
- if (t < 1) {
13571
- activeRaf = requestAnimationFrame(step);
13572
- } else {
13573
- window.scrollTo(0, computeTarget());
13574
- activeRaf = 0;
13575
- if (teardownActive) {
13576
- teardownActive();
13577
- teardownActive = null;
13578
- }
13579
- }
13580
- };
13581
- activeRaf = requestAnimationFrame(step);
13582
- }
13583
-
13584
13521
  // src/utils/list-url.ts
13585
13522
  var ALIASES = { blog_post_existing: "blog_post" };
13586
13523
  function canonicalContentRefType(contentRefType) {
@@ -39463,7 +39400,6 @@ export {
39463
39400
  DELIVERY_TASK_TYPE_OPTIONS,
39464
39401
  TICKET_STATUS_OPTIONS,
39465
39402
  OPENFRAME_DEV_SECTIONS,
39466
- scrollElementIntoView,
39467
39403
  canonicalContentRefType,
39468
39404
  buildListUrl,
39469
39405
  CONTENT_REF_GROUPS,
@@ -39696,4 +39632,4 @@ export {
39696
39632
  LogsList,
39697
39633
  assets
39698
39634
  };
39699
- //# sourceMappingURL=chunk-DTJ32U7J.js.map
39635
+ //# sourceMappingURL=chunk-J6O57C7S.js.map