@flamingo-stack/openframe-frontend-core 0.0.475-snapshot.20260724134853 → 0.0.475
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-KZMCU7VV.cjs → chunk-3W6A7LST.cjs} +11 -11
- package/dist/{chunk-KZMCU7VV.cjs.map → chunk-3W6A7LST.cjs.map} +1 -1
- package/dist/{chunk-MRBIBDHA.js → chunk-3WBREJMR.js} +4 -4
- package/dist/{chunk-LKLU2CQK.cjs → chunk-5ICXBR62.cjs} +62 -62
- package/dist/{chunk-LKLU2CQK.cjs.map → chunk-5ICXBR62.cjs.map} +1 -1
- package/dist/{chunk-2DBCYHR2.js → chunk-5IQXLG4H.js} +2 -2
- package/dist/{chunk-XIU3CWJU.cjs → chunk-5U7MG3CZ.cjs} +31 -31
- package/dist/{chunk-XIU3CWJU.cjs.map → chunk-5U7MG3CZ.cjs.map} +1 -1
- package/dist/{chunk-BLDESYTK.cjs → chunk-7CU7Y3ML.cjs} +26 -26
- package/dist/{chunk-BLDESYTK.cjs.map → chunk-7CU7Y3ML.cjs.map} +1 -1
- package/dist/{chunk-6HX7VHJB.js → chunk-A6O75SLQ.js} +2 -2
- package/dist/{chunk-STE3BZNL.cjs → chunk-AIUIIKH2.cjs} +15 -15
- package/dist/{chunk-STE3BZNL.cjs.map → chunk-AIUIIKH2.cjs.map} +1 -1
- package/dist/{chunk-EAQ7OR4F.js → chunk-BQPZQQPC.js} +19 -31
- package/dist/chunk-BQPZQQPC.js.map +1 -0
- package/dist/{chunk-A6LCWFMD.cjs → chunk-DEHW3LYM.cjs} +19 -31
- package/dist/chunk-DEHW3LYM.cjs.map +1 -0
- package/dist/{chunk-V7RX7TBT.cjs → chunk-DJAPOTAY.cjs} +59 -59
- package/dist/{chunk-V7RX7TBT.cjs.map → chunk-DJAPOTAY.cjs.map} +1 -1
- package/dist/{chunk-GPSRQWSQ.js → chunk-E42Y3ZAL.js} +2 -2
- package/dist/{chunk-O5N2L456.cjs → chunk-E4CNWKZ3.cjs} +7 -7
- package/dist/{chunk-O5N2L456.cjs.map → chunk-E4CNWKZ3.cjs.map} +1 -1
- package/dist/{chunk-TTDO3TQ2.cjs → chunk-HJV4VCEZ.cjs} +5 -5
- package/dist/{chunk-TTDO3TQ2.cjs.map → chunk-HJV4VCEZ.cjs.map} +1 -1
- package/dist/{chunk-ET7T7IW6.js → chunk-LM57R7B4.js} +2 -2
- package/dist/{chunk-BKIUYOWZ.js → chunk-NJGLBKCR.js} +4 -4
- package/dist/{chunk-LW5H6F2L.js → chunk-PQT3NIDA.js} +4 -4
- package/dist/{chunk-MNWFO65E.cjs → chunk-QM3DRG5I.cjs} +9 -9
- package/dist/{chunk-MNWFO65E.cjs.map → chunk-QM3DRG5I.cjs.map} +1 -1
- package/dist/{chunk-YCKRFXJV.js → chunk-R7JJ7PHN.js} +2 -2
- package/dist/{chunk-VOUXI6JT.js → chunk-S4VEPOX2.js} +2 -2
- package/dist/{chunk-SD443M2O.cjs → chunk-SZNK5Q4A.cjs} +37 -37
- package/dist/{chunk-SD443M2O.cjs.map → chunk-SZNK5Q4A.cjs.map} +1 -1
- package/dist/{chunk-VL2BNPJW.cjs → chunk-W5UZSGJY.cjs} +26 -26
- package/dist/{chunk-VL2BNPJW.cjs.map → chunk-W5UZSGJY.cjs.map} +1 -1
- package/dist/{chunk-K33RUATC.js → chunk-WEFPQFUO.js} +4 -4
- package/dist/{chunk-AE4ZR75U.js → chunk-YRZZ7HHJ.js} +2 -2
- package/dist/components/announcement-bar.d.ts +0 -15
- package/dist/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +160 -155
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +39 -34
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/announcement-bar-view.d.ts +26 -47
- package/dist/components/ui/announcement-bar-view.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/announcement-bar.tsx +40 -48
- package/src/components/ui/announcement-bar-view.tsx +42 -99
- package/dist/chunk-A6LCWFMD.cjs.map +0 -1
- package/dist/chunk-EAQ7OR4F.js.map +0 -1
- /package/dist/{chunk-MRBIBDHA.js.map → chunk-3WBREJMR.js.map} +0 -0
- /package/dist/{chunk-2DBCYHR2.js.map → chunk-5IQXLG4H.js.map} +0 -0
- /package/dist/{chunk-6HX7VHJB.js.map → chunk-A6O75SLQ.js.map} +0 -0
- /package/dist/{chunk-GPSRQWSQ.js.map → chunk-E42Y3ZAL.js.map} +0 -0
- /package/dist/{chunk-ET7T7IW6.js.map → chunk-LM57R7B4.js.map} +0 -0
- /package/dist/{chunk-BKIUYOWZ.js.map → chunk-NJGLBKCR.js.map} +0 -0
- /package/dist/{chunk-LW5H6F2L.js.map → chunk-PQT3NIDA.js.map} +0 -0
- /package/dist/{chunk-YCKRFXJV.js.map → chunk-R7JJ7PHN.js.map} +0 -0
- /package/dist/{chunk-VOUXI6JT.js.map → chunk-S4VEPOX2.js.map} +0 -0
- /package/dist/{chunk-K33RUATC.js.map → chunk-WEFPQFUO.js.map} +0 -0
- /package/dist/{chunk-AE4ZR75U.js.map → chunk-YRZZ7HHJ.js.map} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import "../chunk-GZ4C3XW6.js";
|
|
|
4
4
|
import {
|
|
5
5
|
GROUP_PAGE_SIZE,
|
|
6
6
|
RelatedContentSection
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-YRZZ7HHJ.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-
|
|
24
|
+
} from "../chunk-WEFPQFUO.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-
|
|
57
|
+
} from "../chunk-PQT3NIDA.js";
|
|
58
58
|
import {
|
|
59
59
|
FileDownloadCard,
|
|
60
60
|
GoogleSheetsViewer,
|
|
61
61
|
PdfViewer
|
|
62
|
-
} from "../chunk-
|
|
62
|
+
} from "../chunk-A6O75SLQ.js";
|
|
63
63
|
import {
|
|
64
64
|
FaqAccordion,
|
|
65
65
|
FaqDocumentPage,
|
|
66
66
|
FaqSection
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-E42Y3ZAL.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-
|
|
78
|
+
} from "../chunk-LM57R7B4.js";
|
|
79
79
|
import {
|
|
80
80
|
ArticleAuthorByline,
|
|
81
81
|
DetailPageSkeleton
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-S4VEPOX2.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-
|
|
90
|
+
} from "../chunk-R7JJ7PHN.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-
|
|
909
|
+
} from "../chunk-BQPZQQPC.js";
|
|
910
910
|
import {
|
|
911
911
|
CommandApprovalToast,
|
|
912
912
|
ToastCard,
|
|
@@ -1144,6 +1144,7 @@ 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();
|
|
1147
1148
|
init_button();
|
|
1148
1149
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1149
1150
|
function AnnouncementBar({
|
|
@@ -1230,8 +1231,6 @@ function AnnouncementBar({
|
|
|
1230
1231
|
AnnouncementBarView,
|
|
1231
1232
|
{
|
|
1232
1233
|
className: "text-[color:var(--color-text-primary)]",
|
|
1233
|
-
contentClassName: hasCta ? "cursor-pointer md:cursor-default" : void 0,
|
|
1234
|
-
onContentClick: hasCta ? handleCtaClick : void 0,
|
|
1235
1234
|
startAdornment: (
|
|
1236
1235
|
/* ONE unified icon path (shared with the chat): uploaded image URL
|
|
1237
1236
|
wins, else a library glyph by name (+ props), via <EntityIcon>. */
|
|
@@ -1244,16 +1243,18 @@ function AnnouncementBar({
|
|
|
1244
1243
|
props: displayAnnouncement.icon_props
|
|
1245
1244
|
},
|
|
1246
1245
|
size: 24,
|
|
1247
|
-
className: "relative !size-
|
|
1246
|
+
className: "relative !size-4 shrink-0 md:!size-6"
|
|
1248
1247
|
}
|
|
1249
1248
|
)
|
|
1250
1249
|
),
|
|
1251
1250
|
title: (
|
|
1252
|
-
/*
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
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: [
|
|
1257
1258
|
/* @__PURE__ */ jsx("span", { className: "font-[number:var(--font-weight-semibold)]", children: displayAnnouncement.title }),
|
|
1258
1259
|
displayAnnouncement.description && /* @__PURE__ */ jsxs("span", { className: "hidden sm:inline opacity-80", children: [
|
|
1259
1260
|
" \xB7 ",
|
|
@@ -1268,20 +1269,21 @@ function AnnouncementBar({
|
|
|
1268
1269
|
announcement colors are data, not token surfaces). Inline
|
|
1269
1270
|
styles win over the variant's hover classes on every state,
|
|
1270
1271
|
so hover feedback is opacity (the bar's original treatment);
|
|
1271
|
-
nothing can render dark-on-dark. The view
|
|
1272
|
-
`md
|
|
1273
|
-
Button stays the keyboard/AT path (known tradeoff).
|
|
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`.
|
|
1274
1274
|
|
|
1275
|
-
Geometry + type
|
|
1276
|
-
|
|
1277
|
-
|
|
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`. */
|
|
1278
1280
|
hasCta && displayAnnouncement.cta_text ? /* @__PURE__ */ jsx(
|
|
1279
1281
|
Button,
|
|
1280
1282
|
{
|
|
1281
1283
|
onClick: handleCtaClick,
|
|
1282
1284
|
variant: "outline",
|
|
1283
|
-
size: "
|
|
1284
|
-
className: "transition-opacity hover:opacity-90",
|
|
1285
|
+
size: "small",
|
|
1286
|
+
className: "h-8 transition-opacity hover:opacity-90",
|
|
1285
1287
|
style: {
|
|
1286
1288
|
backgroundColor: displayAnnouncement.cta_button_background_color || ANNOUNCEMENT_CTA_DEFAULTS.background,
|
|
1287
1289
|
color: displayAnnouncement.cta_button_text_color || ANNOUNCEMENT_CTA_DEFAULTS.text,
|
|
@@ -1292,8 +1294,8 @@ function AnnouncementBar({
|
|
|
1292
1294
|
EntityIcon,
|
|
1293
1295
|
{
|
|
1294
1296
|
icon: { name: displayAnnouncement.cta_icon_name, props: displayAnnouncement.cta_icon_props },
|
|
1295
|
-
size:
|
|
1296
|
-
className: "w-
|
|
1297
|
+
size: 16,
|
|
1298
|
+
className: "w-4 h-4"
|
|
1297
1299
|
}
|
|
1298
1300
|
) : void 0,
|
|
1299
1301
|
children: displayAnnouncement.cta_text
|
|
@@ -1301,19 +1303,22 @@ function AnnouncementBar({
|
|
|
1301
1303
|
) : void 0
|
|
1302
1304
|
),
|
|
1303
1305
|
endAdornment: (
|
|
1304
|
-
/* Dismiss - the common Button in its ghost-icon treatment
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
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). */
|
|
1310
1315
|
dismissible ? /* @__PURE__ */ jsx(
|
|
1311
1316
|
Button,
|
|
1312
1317
|
{
|
|
1313
1318
|
onClick: handleDismiss,
|
|
1314
1319
|
variant: "transparent",
|
|
1315
1320
|
size: "icon-sm",
|
|
1316
|
-
className: barButtonClasses,
|
|
1321
|
+
className: cn("h-5 w-5 p-0 md:h-8 md:w-8", barButtonClasses),
|
|
1317
1322
|
"aria-label": "Dismiss announcement",
|
|
1318
1323
|
type: "button",
|
|
1319
1324
|
tabIndex: expanded ? 0 : -1,
|