@flamingo-stack/openframe-frontend-core 0.0.475 → 0.0.476

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 (89) hide show
  1. package/dist/{chunk-5IQXLG4H.js → chunk-2DBCYHR2.js} +2 -2
  2. package/dist/{chunk-A6O75SLQ.js → chunk-6HX7VHJB.js} +2 -2
  3. package/dist/{chunk-DEHW3LYM.cjs → chunk-A6LCWFMD.cjs} +31 -19
  4. package/dist/chunk-A6LCWFMD.cjs.map +1 -0
  5. package/dist/{chunk-YRZZ7HHJ.js → chunk-AE4ZR75U.js} +2 -2
  6. package/dist/{chunk-NJGLBKCR.js → chunk-BKIUYOWZ.js} +4 -4
  7. package/dist/{chunk-7CU7Y3ML.cjs → chunk-BLDESYTK.cjs} +26 -26
  8. package/dist/{chunk-7CU7Y3ML.cjs.map → chunk-BLDESYTK.cjs.map} +1 -1
  9. package/dist/{chunk-BQPZQQPC.js → chunk-EAQ7OR4F.js} +31 -19
  10. package/dist/chunk-EAQ7OR4F.js.map +1 -0
  11. package/dist/{chunk-LM57R7B4.js → chunk-ET7T7IW6.js} +2 -2
  12. package/dist/{chunk-E42Y3ZAL.js → chunk-GPSRQWSQ.js} +2 -2
  13. package/dist/{chunk-WEFPQFUO.js → chunk-K33RUATC.js} +4 -4
  14. package/dist/{chunk-3W6A7LST.cjs → chunk-KZMCU7VV.cjs} +11 -11
  15. package/dist/{chunk-3W6A7LST.cjs.map → chunk-KZMCU7VV.cjs.map} +1 -1
  16. package/dist/{chunk-5ICXBR62.cjs → chunk-LKLU2CQK.cjs} +62 -62
  17. package/dist/{chunk-5ICXBR62.cjs.map → chunk-LKLU2CQK.cjs.map} +1 -1
  18. package/dist/{chunk-PQT3NIDA.js → chunk-LW5H6F2L.js} +4 -4
  19. package/dist/{chunk-QM3DRG5I.cjs → chunk-MNWFO65E.cjs} +9 -9
  20. package/dist/{chunk-QM3DRG5I.cjs.map → chunk-MNWFO65E.cjs.map} +1 -1
  21. package/dist/{chunk-3WBREJMR.js → chunk-MRBIBDHA.js} +4 -4
  22. package/dist/{chunk-E4CNWKZ3.cjs → chunk-O5N2L456.cjs} +7 -7
  23. package/dist/{chunk-E4CNWKZ3.cjs.map → chunk-O5N2L456.cjs.map} +1 -1
  24. package/dist/{chunk-SZNK5Q4A.cjs → chunk-SD443M2O.cjs} +37 -37
  25. package/dist/{chunk-SZNK5Q4A.cjs.map → chunk-SD443M2O.cjs.map} +1 -1
  26. package/dist/{chunk-AIUIIKH2.cjs → chunk-STE3BZNL.cjs} +15 -15
  27. package/dist/{chunk-AIUIIKH2.cjs.map → chunk-STE3BZNL.cjs.map} +1 -1
  28. package/dist/{chunk-HJV4VCEZ.cjs → chunk-TTDO3TQ2.cjs} +5 -5
  29. package/dist/{chunk-HJV4VCEZ.cjs.map → chunk-TTDO3TQ2.cjs.map} +1 -1
  30. package/dist/{chunk-DJAPOTAY.cjs → chunk-V7RX7TBT.cjs} +59 -59
  31. package/dist/{chunk-DJAPOTAY.cjs.map → chunk-V7RX7TBT.cjs.map} +1 -1
  32. package/dist/{chunk-W5UZSGJY.cjs → chunk-VL2BNPJW.cjs} +26 -26
  33. package/dist/{chunk-W5UZSGJY.cjs.map → chunk-VL2BNPJW.cjs.map} +1 -1
  34. package/dist/{chunk-S4VEPOX2.js → chunk-VOUXI6JT.js} +2 -2
  35. package/dist/{chunk-5U7MG3CZ.cjs → chunk-XIU3CWJU.cjs} +31 -31
  36. package/dist/{chunk-5U7MG3CZ.cjs.map → chunk-XIU3CWJU.cjs.map} +1 -1
  37. package/dist/{chunk-R7JJ7PHN.js → chunk-YCKRFXJV.js} +2 -2
  38. package/dist/components/announcement-bar.d.ts +15 -0
  39. package/dist/components/announcement-bar.d.ts.map +1 -1
  40. package/dist/components/case-studies/index.cjs +8 -8
  41. package/dist/components/case-studies/index.js +2 -2
  42. package/dist/components/chat/index.cjs +2 -2
  43. package/dist/components/chat/index.js +1 -1
  44. package/dist/components/contact/index.cjs +3 -3
  45. package/dist/components/contact/index.js +2 -2
  46. package/dist/components/docs/index.cjs +5 -5
  47. package/dist/components/docs/index.js +4 -4
  48. package/dist/components/embeds/index.cjs +3 -3
  49. package/dist/components/embeds/index.js +2 -2
  50. package/dist/components/faq/index.cjs +3 -3
  51. package/dist/components/faq/index.js +2 -2
  52. package/dist/components/features/index.cjs +2 -2
  53. package/dist/components/features/index.js +1 -1
  54. package/dist/components/help-center-pages/index.cjs +20 -20
  55. package/dist/components/help-center-pages/index.js +11 -11
  56. package/dist/components/index.cjs +155 -160
  57. package/dist/components/index.cjs.map +1 -1
  58. package/dist/components/index.js +34 -39
  59. package/dist/components/index.js.map +1 -1
  60. package/dist/components/navigation/index.cjs +2 -2
  61. package/dist/components/navigation/index.js +1 -1
  62. package/dist/components/onboarding-guides/index.cjs +5 -5
  63. package/dist/components/onboarding-guides/index.js +4 -4
  64. package/dist/components/related-content/index.cjs +3 -3
  65. package/dist/components/related-content/index.js +2 -2
  66. package/dist/components/tickets/index.cjs +5 -5
  67. package/dist/components/tickets/index.js +4 -4
  68. package/dist/components/ui/announcement-bar-view.d.ts +47 -26
  69. package/dist/components/ui/announcement-bar-view.d.ts.map +1 -1
  70. package/dist/components/ui/index.cjs +2 -2
  71. package/dist/components/ui/index.js +1 -1
  72. package/dist/index.cjs +2 -2
  73. package/dist/index.js +1 -1
  74. package/package.json +1 -1
  75. package/src/components/announcement-bar.tsx +48 -40
  76. package/src/components/ui/announcement-bar-view.tsx +99 -42
  77. package/dist/chunk-BQPZQQPC.js.map +0 -1
  78. package/dist/chunk-DEHW3LYM.cjs.map +0 -1
  79. /package/dist/{chunk-5IQXLG4H.js.map → chunk-2DBCYHR2.js.map} +0 -0
  80. /package/dist/{chunk-A6O75SLQ.js.map → chunk-6HX7VHJB.js.map} +0 -0
  81. /package/dist/{chunk-YRZZ7HHJ.js.map → chunk-AE4ZR75U.js.map} +0 -0
  82. /package/dist/{chunk-NJGLBKCR.js.map → chunk-BKIUYOWZ.js.map} +0 -0
  83. /package/dist/{chunk-LM57R7B4.js.map → chunk-ET7T7IW6.js.map} +0 -0
  84. /package/dist/{chunk-E42Y3ZAL.js.map → chunk-GPSRQWSQ.js.map} +0 -0
  85. /package/dist/{chunk-WEFPQFUO.js.map → chunk-K33RUATC.js.map} +0 -0
  86. /package/dist/{chunk-PQT3NIDA.js.map → chunk-LW5H6F2L.js.map} +0 -0
  87. /package/dist/{chunk-3WBREJMR.js.map → chunk-MRBIBDHA.js.map} +0 -0
  88. /package/dist/{chunk-S4VEPOX2.js.map → chunk-VOUXI6JT.js.map} +0 -0
  89. /package/dist/{chunk-R7JJ7PHN.js.map → chunk-YCKRFXJV.js.map} +0 -0
@@ -4,7 +4,7 @@ import "../chunk-GZ4C3XW6.js";
4
4
  import {
5
5
  GROUP_PAGE_SIZE,
6
6
  RelatedContentSection
7
- } from "../chunk-YRZZ7HHJ.js";
7
+ } from "../chunk-AE4ZR75U.js";
8
8
  import {
9
9
  DeliveryLists,
10
10
  DeliveryTable,
@@ -21,7 +21,7 @@ import {
21
21
  useLegalDocs,
22
22
  usePaginationLoading,
23
23
  useRoadmapVoting
24
- } from "../chunk-WEFPQFUO.js";
24
+ } from "../chunk-K33RUATC.js";
25
25
  import {
26
26
  AnnouncementBarSkeleton,
27
27
  ArticleLayoutSkeleton,
@@ -54,17 +54,17 @@ import {
54
54
  useDocNavigation,
55
55
  useDocumentTree,
56
56
  useScrollSpy
57
- } from "../chunk-PQT3NIDA.js";
57
+ } from "../chunk-LW5H6F2L.js";
58
58
  import {
59
59
  FileDownloadCard,
60
60
  GoogleSheetsViewer,
61
61
  PdfViewer
62
- } from "../chunk-A6O75SLQ.js";
62
+ } from "../chunk-6HX7VHJB.js";
63
63
  import {
64
64
  FaqAccordion,
65
65
  FaqDocumentPage,
66
66
  FaqSection
67
- } from "../chunk-E42Y3ZAL.js";
67
+ } from "../chunk-GPSRQWSQ.js";
68
68
  import {
69
69
  DeliveryRow,
70
70
  DevCardRowContent,
@@ -75,11 +75,11 @@ import {
75
75
  EmptyState,
76
76
  UnifiedPagination,
77
77
  init_unified_pagination
78
- } from "../chunk-LM57R7B4.js";
78
+ } from "../chunk-ET7T7IW6.js";
79
79
  import {
80
80
  ArticleAuthorByline,
81
81
  DetailPageSkeleton
82
- } from "../chunk-S4VEPOX2.js";
82
+ } from "../chunk-VOUXI6JT.js";
83
83
  import {
84
84
  DocSearchBar,
85
85
  DocSearchResultRow,
@@ -87,7 +87,7 @@ import {
87
87
  mapDocSearchResults,
88
88
  resolveSearchResultAction,
89
89
  useDocSearch
90
- } from "../chunk-R7JJ7PHN.js";
90
+ } from "../chunk-YCKRFXJV.js";
91
91
  import {
92
92
  useSelfFetch
93
93
  } from "../chunk-AGX565ZT.js";
@@ -906,7 +906,7 @@ import {
906
906
  useVideoOriginPreconnect,
907
907
  useVideoWarmup,
908
908
  usesCanonicalStatusStyle
909
- } from "../chunk-BQPZQQPC.js";
909
+ } from "../chunk-EAQ7OR4F.js";
910
910
  import {
911
911
  CommandApprovalToast,
912
912
  ToastCard,
@@ -1144,7 +1144,6 @@ import "../chunk-GGWZFCYS.js";
1144
1144
  // src/components/announcement-bar.tsx
1145
1145
  import { X } from "lucide-react";
1146
1146
  import { useEffect, useMemo, useRef, useState } from "react";
1147
- init_cn();
1148
1147
  init_button();
1149
1148
  import { jsx, jsxs } from "react/jsx-runtime";
1150
1149
  function AnnouncementBar({
@@ -1231,6 +1230,8 @@ function AnnouncementBar({
1231
1230
  AnnouncementBarView,
1232
1231
  {
1233
1232
  className: "text-[color:var(--color-text-primary)]",
1233
+ contentClassName: hasCta ? "cursor-pointer md:cursor-default" : void 0,
1234
+ onContentClick: hasCta ? handleCtaClick : void 0,
1234
1235
  startAdornment: (
1235
1236
  /* ONE unified icon path (shared with the chat): uploaded image URL
1236
1237
  wins, else a library glyph by name (+ props), via <EntityIcon>. */
@@ -1243,18 +1244,16 @@ function AnnouncementBar({
1243
1244
  props: displayAnnouncement.icon_props
1244
1245
  },
1245
1246
  size: 24,
1246
- className: "relative !size-4 shrink-0 md:!size-6"
1247
+ className: "relative !size-5 shrink-0 md:!size-6"
1247
1248
  }
1248
1249
  )
1249
1250
  ),
1250
1251
  title: (
1251
- /* Bold title + regular description inline at the mockup's body
1252
- scale (`text-h4` = DM Sans 500, 14/20 below `md`, 18/24 from
1253
- `md` up)wrapping below `md`, truncating as one unit from
1254
- `md` up (the same responsive pair string titles get from the
1255
- view). Separator is a middot (house rule: no en/em dashes in
1256
- copy). */
1257
- /* @__PURE__ */ jsxs("p", { className: "min-w-0 max-w-full break-words text-h4 md:truncate mb-0", children: [
1252
+ /* Single-line message: bold title + regular description inline,
1253
+ truncating as one unit, at the strip's caption scale (`text-h6`
1254
+ = 13/14pxthe same treatment string titles get from the view).
1255
+ Separator is a middot (house rule: no en/em dashes in copy). */
1256
+ /* @__PURE__ */ jsxs("p", { className: "min-w-0 max-w-full text-h6 truncate mb-0", children: [
1258
1257
  /* @__PURE__ */ jsx("span", { className: "font-[number:var(--font-weight-semibold)]", children: displayAnnouncement.title }),
1259
1258
  displayAnnouncement.description && /* @__PURE__ */ jsxs("span", { className: "hidden sm:inline opacity-80", children: [
1260
1259
  " \xB7 ",
@@ -1269,21 +1268,20 @@ function AnnouncementBar({
1269
1268
  announcement colors are data, not token surfaces). Inline
1270
1269
  styles win over the variant's hover classes on every state,
1271
1270
  so hover feedback is opacity (the bar's original treatment);
1272
- nothing can render dark-on-dark. The view renders it inline
1273
- from `md` up and as a visible full-width row below `md`.
1271
+ nothing can render dark-on-dark. The view CSS-hides it below
1272
+ `md`, where the whole content row is the tap target — this
1273
+ Button stays the keyboard/AT path (known tradeoff).
1274
1274
 
1275
- Geometry + type follow the mockup's "button-full" (Figma
1276
- 9418-52494 / 2862-8391): the design system's size="small"
1277
- (uppercase text-h5 label, 16px glyph) pinned to h-8 — the
1278
- mockup keeps the 32px height on EVERY breakpoint, while
1279
- "small" alone drops to 24px below `md`. */
1275
+ Geometry + type come from the design system's size="compact"
1276
+ (24px caption-scale pill for slim strips rationale documented
1277
+ on the variant in button.tsx). */
1280
1278
  hasCta && displayAnnouncement.cta_text ? /* @__PURE__ */ jsx(
1281
1279
  Button,
1282
1280
  {
1283
1281
  onClick: handleCtaClick,
1284
1282
  variant: "outline",
1285
- size: "small",
1286
- className: "h-8 transition-opacity hover:opacity-90",
1283
+ size: "compact",
1284
+ className: "transition-opacity hover:opacity-90",
1287
1285
  style: {
1288
1286
  backgroundColor: displayAnnouncement.cta_button_background_color || ANNOUNCEMENT_CTA_DEFAULTS.background,
1289
1287
  color: displayAnnouncement.cta_button_text_color || ANNOUNCEMENT_CTA_DEFAULTS.text,
@@ -1294,8 +1292,8 @@ function AnnouncementBar({
1294
1292
  EntityIcon,
1295
1293
  {
1296
1294
  icon: { name: displayAnnouncement.cta_icon_name, props: displayAnnouncement.cta_icon_props },
1297
- size: 16,
1298
- className: "w-4 h-4"
1295
+ size: 14,
1296
+ className: "w-3.5 h-3.5"
1299
1297
  }
1300
1298
  ) : void 0,
1301
1299
  children: displayAnnouncement.cta_text
@@ -1303,22 +1301,19 @@ function AnnouncementBar({
1303
1301
  ) : void 0
1304
1302
  ),
1305
1303
  endAdornment: (
1306
- /* Dismiss - the common Button in its ghost-icon treatment with
1307
- the bar's quiet tint hover. Below `md` the mockup pins the
1308
- close to a 20px box with a 16px glyph so the top row stays
1309
- 20px tall and the stacked bar lands on 76px total (Figma
1310
- 2862-8391 a deliberate exception to the 24px WCAG 2.5.8
1311
- target floor); from `md` up it grows back to the standard
1312
- icon-sm 32px target. Inert in previewMode; omitted entirely
1313
- when the host opts out via `dismissible={false}` (the bar
1314
- then only disappears by deactivating the announcement). */
1304
+ /* Dismiss - the common Button in its ghost-icon treatment
1305
+ (size="icon-sm": 32px target, >= the 24px WCAG 2.5.8 AA floor,
1306
+ 16px glyph) with the bar's quiet tint hover. Inert in
1307
+ previewMode; omitted entirely when the host opts out via
1308
+ `dismissible={false}` (the bar then only disappears by
1309
+ deactivating the announcement). */
1315
1310
  dismissible ? /* @__PURE__ */ jsx(
1316
1311
  Button,
1317
1312
  {
1318
1313
  onClick: handleDismiss,
1319
1314
  variant: "transparent",
1320
1315
  size: "icon-sm",
1321
- className: cn("h-5 w-5 p-0 md:h-8 md:w-8", barButtonClasses),
1316
+ className: barButtonClasses,
1322
1317
  "aria-label": "Dismiss announcement",
1323
1318
  type: "button",
1324
1319
  tabIndex: expanded ? 0 : -1,