@flamingo-stack/openframe-frontend-core 0.0.618 → 0.0.619-snapshot.20260913210426
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-GXUGYZ6H.js → chunk-43JQ3SJS.js} +483 -455
- package/dist/chunk-43JQ3SJS.js.map +1 -0
- package/dist/{chunk-EJGZIYC7.cjs → chunk-4NKJRJU4.cjs} +6 -6
- package/dist/{chunk-EJGZIYC7.cjs.map → chunk-4NKJRJU4.cjs.map} +1 -1
- package/dist/{chunk-WVRXDGGP.js → chunk-4SH2L3HO.js} +3 -3
- package/dist/{chunk-YCZBCEQO.js → chunk-5AB6QLIQ.js} +4 -4
- package/dist/{chunk-VIBREYUK.cjs → chunk-5G3L6327.cjs} +3 -3
- package/dist/{chunk-VIBREYUK.cjs.map → chunk-5G3L6327.cjs.map} +1 -1
- package/dist/{chunk-BXNSKTEG.cjs → chunk-5NYMTTUB.cjs} +65 -65
- package/dist/{chunk-BXNSKTEG.cjs.map → chunk-5NYMTTUB.cjs.map} +1 -1
- package/dist/{chunk-GBON2OCG.js → chunk-5WGOAJ4B.js} +3 -2
- package/dist/chunk-5WGOAJ4B.js.map +1 -0
- package/dist/{chunk-FCN2HN6Q.js → chunk-7FPWMX26.js} +45 -8
- package/dist/chunk-7FPWMX26.js.map +1 -0
- package/dist/{chunk-GFWKEWEH.js → chunk-BR5PVFWG.js} +4 -4
- package/dist/{chunk-GD7CV2JI.js → chunk-CKH4SLD5.js} +8 -8
- package/dist/{chunk-E2EGTHYA.cjs → chunk-CS7MVDUF.cjs} +77 -49
- package/dist/chunk-CS7MVDUF.cjs.map +1 -0
- package/dist/{chunk-MOC7JLEP.cjs → chunk-CSQZMK3O.cjs} +88 -88
- package/dist/{chunk-MOC7JLEP.cjs.map → chunk-CSQZMK3O.cjs.map} +1 -1
- package/dist/{chunk-UUXLDIK3.js → chunk-DJVN7IW6.js} +3 -3
- package/dist/{chunk-UXOOVP77.cjs → chunk-DV7IBKJI.cjs} +4 -4
- package/dist/{chunk-UXOOVP77.cjs.map → chunk-DV7IBKJI.cjs.map} +1 -1
- package/dist/{chunk-G7NEMLNW.cjs → chunk-ECOJUPXO.cjs} +12 -12
- package/dist/{chunk-G7NEMLNW.cjs.map → chunk-ECOJUPXO.cjs.map} +1 -1
- package/dist/{chunk-N6CULJYR.cjs → chunk-EG4IKWY4.cjs} +3 -2
- package/dist/{chunk-N6CULJYR.cjs.map → chunk-EG4IKWY4.cjs.map} +1 -1
- package/dist/{chunk-U6B3MM4U.cjs → chunk-FCMCCPQI.cjs} +20 -20
- package/dist/{chunk-U6B3MM4U.cjs.map → chunk-FCMCCPQI.cjs.map} +1 -1
- package/dist/{chunk-IW746HJ7.js → chunk-FHR2JU2J.js} +2 -2
- package/dist/{chunk-VRN5YYD3.js → chunk-G6LYVK64.js} +3 -3
- package/dist/{chunk-2DTZXXY3.js → chunk-GMBETTTE.js} +5 -5
- package/dist/{chunk-NUU5ZEEG.js → chunk-GZFVTFMU.js} +4 -4
- package/dist/{chunk-7ZEQMFP3.cjs → chunk-HC6FZJMM.cjs} +58 -38
- package/dist/chunk-HC6FZJMM.cjs.map +1 -0
- package/dist/{chunk-IDMEC4ZK.cjs → chunk-IVFU4RFK.cjs} +22 -22
- package/dist/{chunk-IDMEC4ZK.cjs.map → chunk-IVFU4RFK.cjs.map} +1 -1
- package/dist/{chunk-5P74E24M.js → chunk-KLAL4FTU.js} +5 -5
- package/dist/{chunk-UKFBPJBK.cjs → chunk-KMWB52KV.cjs} +29 -29
- package/dist/{chunk-UKFBPJBK.cjs.map → chunk-KMWB52KV.cjs.map} +1 -1
- package/dist/{chunk-ANMD7SM4.js → chunk-LNF5W3QJ.js} +3 -3
- package/dist/{chunk-XUNFDRMP.js → chunk-POSO6GYC.js} +4 -4
- package/dist/{chunk-BGDYSUA2.cjs → chunk-PTANIWHA.cjs} +11 -11
- package/dist/{chunk-BGDYSUA2.cjs.map → chunk-PTANIWHA.cjs.map} +1 -1
- package/dist/{chunk-RDEFB354.cjs → chunk-RBV63HZO.cjs} +6 -6
- package/dist/{chunk-RDEFB354.cjs.map → chunk-RBV63HZO.cjs.map} +1 -1
- package/dist/{chunk-EXEXX34Q.cjs → chunk-RSGFPFSM.cjs} +28 -28
- package/dist/{chunk-EXEXX34Q.cjs.map → chunk-RSGFPFSM.cjs.map} +1 -1
- package/dist/{chunk-PIJK3FV6.cjs → chunk-SGAMQ4G7.cjs} +3 -3
- package/dist/{chunk-PIJK3FV6.cjs.map → chunk-SGAMQ4G7.cjs.map} +1 -1
- package/dist/{chunk-3FTNQDLP.cjs → chunk-T5ZKUSVJ.cjs} +5 -5
- package/dist/{chunk-3FTNQDLP.cjs.map → chunk-T5ZKUSVJ.cjs.map} +1 -1
- package/dist/{chunk-J25M43YI.js → chunk-T7FTSJM2.js} +6 -6
- package/dist/{chunk-6XJS3WU7.js → chunk-TMGTVVE2.js} +24 -4
- package/dist/chunk-TMGTVVE2.js.map +1 -0
- package/dist/{chunk-RROIA6WY.js → chunk-UY4EFV3P.js} +2 -2
- package/dist/{chunk-TSCIVH7T.js → chunk-VBIFSOPQ.js} +2 -2
- package/dist/{chunk-ROQTWRV7.cjs → chunk-VRN27OMD.cjs} +406 -369
- package/dist/chunk-VRN27OMD.cjs.map +1 -0
- package/dist/{chunk-IPHA3AQ6.js → chunk-XGVWMJQD.js} +8 -8
- package/dist/{chunk-K26VN65M.cjs → chunk-YKHVTESH.cjs} +15 -15
- package/dist/{chunk-K26VN65M.cjs.map → chunk-YKHVTESH.cjs.map} +1 -1
- package/dist/{chunk-E7VXPU3R.cjs → chunk-Z5OZCZYH.cjs} +33 -33
- package/dist/{chunk-E7VXPU3R.cjs.map → chunk-Z5OZCZYH.cjs.map} +1 -1
- package/dist/{chunk-CWMKY2UJ.js → chunk-ZBXPNBKB.js} +3 -3
- package/dist/{chunk-CM6DNLK7.cjs → chunk-ZLILFOPN.cjs} +200 -200
- package/dist/{chunk-CM6DNLK7.cjs.map → chunk-ZLILFOPN.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/entity-cards/ai-prompt-card.d.ts +35 -0
- package/dist/components/chat/entity-cards/ai-prompt-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts +6 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.d.ts +3 -1
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -3
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +8 -2
- package/dist/components/chat/utils/icon-registry.d.ts.map +1 -1
- package/dist/components/comment-card.d.ts +26 -24
- package/dist/components/comment-card.d.ts.map +1 -1
- package/dist/components/comment-thread.d.ts +58 -0
- package/dist/components/comment-thread.d.ts.map +1 -0
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/contact/index.js +5 -5
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/docs/index.js +8 -8
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/embeds/index.js +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/features/index.js +4 -4
- package/dist/components/help-center-pages/index.cjs +27 -27
- package/dist/components/help-center-pages/index.js +18 -18
- package/dist/components/index.cjs +223 -77
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +340 -194
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +40 -40
- package/dist/components/meeting-scheduler/index.js +6 -6
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +10 -10
- package/dist/components/tickets/index.js +9 -9
- package/dist/components/ui/index.cjs +11 -5
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +10 -4
- package/dist/index.cjs +15 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -8
- package/dist/index.js.map +1 -1
- package/dist/types/marketing.d.ts +1 -1
- package/dist/types/marketing.d.ts.map +1 -1
- package/dist/types/video-processing.d.ts +1 -1
- package/dist/types/video-processing.d.ts.map +1 -1
- package/dist/utils/content-ref-groups.d.ts.map +1 -1
- package/dist/utils/index.cjs +13 -4
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +14 -5
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/chat-card-label.test.tsx +24 -0
- package/src/components/chat/entity-cards/ai-prompt-card.tsx +62 -0
- package/src/components/chat/entity-cards/dispatch.tsx +43 -5
- package/src/components/chat/entity-cards/index.ts +3 -0
- package/src/components/chat/utils/icon-registry.ts +3 -0
- package/src/components/comment-card.tsx +27 -24
- package/src/components/comment-thread.tsx +212 -0
- package/src/components/index.ts +1 -0
- package/src/components/related-content/__tests__/card-registry.test.tsx +7 -0
- package/src/components/related-content/card-registry.tsx +20 -1
- package/src/types/marketing.ts +1 -0
- package/src/types/video-processing.ts +2 -1
- package/src/utils/__tests__/list-url.test.ts +2 -0
- package/src/utils/content-ref-groups.ts +1 -0
- package/src/utils/list-url.ts +2 -0
- package/src/utils/source-icons.ts +6 -0
- package/dist/chunk-6XJS3WU7.js.map +0 -1
- package/dist/chunk-7ZEQMFP3.cjs.map +0 -1
- package/dist/chunk-E2EGTHYA.cjs.map +0 -1
- package/dist/chunk-FCN2HN6Q.js.map +0 -1
- package/dist/chunk-GBON2OCG.js.map +0 -1
- package/dist/chunk-GXUGYZ6H.js.map +0 -1
- package/dist/chunk-ROQTWRV7.cjs.map +0 -1
- /package/dist/{chunk-WVRXDGGP.js.map → chunk-4SH2L3HO.js.map} +0 -0
- /package/dist/{chunk-YCZBCEQO.js.map → chunk-5AB6QLIQ.js.map} +0 -0
- /package/dist/{chunk-GFWKEWEH.js.map → chunk-BR5PVFWG.js.map} +0 -0
- /package/dist/{chunk-GD7CV2JI.js.map → chunk-CKH4SLD5.js.map} +0 -0
- /package/dist/{chunk-UUXLDIK3.js.map → chunk-DJVN7IW6.js.map} +0 -0
- /package/dist/{chunk-IW746HJ7.js.map → chunk-FHR2JU2J.js.map} +0 -0
- /package/dist/{chunk-VRN5YYD3.js.map → chunk-G6LYVK64.js.map} +0 -0
- /package/dist/{chunk-2DTZXXY3.js.map → chunk-GMBETTTE.js.map} +0 -0
- /package/dist/{chunk-NUU5ZEEG.js.map → chunk-GZFVTFMU.js.map} +0 -0
- /package/dist/{chunk-5P74E24M.js.map → chunk-KLAL4FTU.js.map} +0 -0
- /package/dist/{chunk-ANMD7SM4.js.map → chunk-LNF5W3QJ.js.map} +0 -0
- /package/dist/{chunk-XUNFDRMP.js.map → chunk-POSO6GYC.js.map} +0 -0
- /package/dist/{chunk-J25M43YI.js.map → chunk-T7FTSJM2.js.map} +0 -0
- /package/dist/{chunk-RROIA6WY.js.map → chunk-UY4EFV3P.js.map} +0 -0
- /package/dist/{chunk-TSCIVH7T.js.map → chunk-VBIFSOPQ.js.map} +0 -0
- /package/dist/{chunk-IPHA3AQ6.js.map → chunk-XGVWMJQD.js.map} +0 -0
- /package/dist/{chunk-CWMKY2UJ.js.map → chunk-ZBXPNBKB.js.map} +0 -0
package/dist/utils/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { extendTailwindMerge } from 'tailwind-merge';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
|
-
import { Globe, Youtube, Video, Users, Twitter, TrendingUp, TableProperties, Star, Shield, Send, Search, Rocket, PenSquare, Package, Newspaper, MessageSquare, MessageCircle, Megaphone, Mail, Instagram, Info, Headphones, GraduationCap, Github, FileText, Facebook, DollarSign, CheckSquare, Calendar, Briefcase, Box, BookOpen, Bell, Banknote, Activity, LifeBuoy, Wrench, Map as Map$1 } from 'lucide-react';
|
|
4
|
+
import { Globe, Youtube, Video, Users, Twitter, TrendingUp, TableProperties, Star, Shield, Send, Search, Rocket, Phone, PenSquare, Package, Newspaper, MessageSquare, MessageCircle, Megaphone, Mail, Instagram, Info, Headphones, GraduationCap, Github, FileText, Facebook, DollarSign, CheckSquare, Calendar, Briefcase, Box, BookOpen, Bell, Banknote, Activity, LifeBuoy, Wrench, Map as Map$1 } from 'lucide-react';
|
|
5
5
|
import React2, { createElement } from 'react';
|
|
6
6
|
import { isValidPhoneNumber, parsePhoneNumber, getCountryCallingCode, getCountries } from 'libphonenumber-js';
|
|
7
7
|
|
|
@@ -2100,6 +2100,7 @@ var ICON_REGISTRY = {
|
|
|
2100
2100
|
newspaper: Newspaper,
|
|
2101
2101
|
package: Package,
|
|
2102
2102
|
"pen-square": PenSquare,
|
|
2103
|
+
phone: Phone,
|
|
2103
2104
|
rocket: Rocket,
|
|
2104
2105
|
search: Search,
|
|
2105
2106
|
send: Send,
|
|
@@ -2149,6 +2150,7 @@ var PASCAL_TO_KEBAB_ALIASES = {
|
|
|
2149
2150
|
Newspaper: "newspaper",
|
|
2150
2151
|
Package: "package",
|
|
2151
2152
|
PenSquare: "pen-square",
|
|
2153
|
+
Phone: "phone",
|
|
2152
2154
|
Rocket: "rocket",
|
|
2153
2155
|
Search: "search",
|
|
2154
2156
|
Send: "send",
|
|
@@ -3110,9 +3112,11 @@ var SOURCE_ICON_NAMES = {
|
|
|
3110
3112
|
// People-hub employee content
|
|
3111
3113
|
"what-i-shipped": "package",
|
|
3112
3114
|
"how-i-work": "book-open",
|
|
3115
|
+
"ai-prompts": "message-square",
|
|
3113
3116
|
// Product-hub internal
|
|
3114
3117
|
"design-docs": "file-text",
|
|
3115
|
-
"openframe-tenants": "globe"
|
|
3118
|
+
"openframe-tenants": "globe",
|
|
3119
|
+
"prospect-calls": "phone"
|
|
3116
3120
|
};
|
|
3117
3121
|
function getSourceIconName(tableId) {
|
|
3118
3122
|
if (!tableId) return void 0;
|
|
@@ -3165,9 +3169,11 @@ var SOURCE_LABELS_BY_TABLE = {
|
|
|
3165
3169
|
// People-hub employee content
|
|
3166
3170
|
"what-i-shipped": "What I Shipped",
|
|
3167
3171
|
"how-i-work": "How I Work",
|
|
3172
|
+
"ai-prompts": "Squawkbox",
|
|
3168
3173
|
// Product-hub internal
|
|
3169
3174
|
"design-docs": "Design Docs",
|
|
3170
|
-
"openframe-tenants": "OpenFrame Tenants"
|
|
3175
|
+
"openframe-tenants": "OpenFrame Tenants",
|
|
3176
|
+
"prospect-calls": "Prospect calls"
|
|
3171
3177
|
};
|
|
3172
3178
|
function getSourceLabel(tableId) {
|
|
3173
3179
|
return SOURCE_LABELS_BY_TABLE[tableId] ?? tableId;
|
|
@@ -4472,10 +4478,12 @@ var BUILDERS = {
|
|
|
4472
4478
|
// the related-content rail + author page), entry-shaped rows.
|
|
4473
4479
|
what_i_shipped: (ids, b) => `${b}/api/what-i-shipped?ids=${ids.join(",")}&limit=${ids.length}`,
|
|
4474
4480
|
how_i_work: (ids, b) => `${b}/api/how-i-work?ids=${ids.join(",")}&limit=${ids.length}`,
|
|
4481
|
+
ai_prompt: (ids, b) => `${b}/api/prompts?ids=${ids.join(",")}&limit=${ids.length}`,
|
|
4475
4482
|
// Product-hub internal objects — per-object card-hydration routes
|
|
4476
4483
|
// (ChatRef-shaped items, `handleEntityCardList`), like github / slack.
|
|
4477
4484
|
design_doc: (ids, b) => `${b}/api/design-docs?ids=${ids.join(",")}`,
|
|
4478
|
-
openframe_tenant: (ids, b) => `${b}/api/openframe-tenants?ids=${ids.join(",")}
|
|
4485
|
+
openframe_tenant: (ids, b) => `${b}/api/openframe-tenants?ids=${ids.join(",")}`,
|
|
4486
|
+
prospect_call: (ids, b) => `${b}/api/prospect-calls?ids=${ids.join(",")}`
|
|
4479
4487
|
};
|
|
4480
4488
|
function buildListUrl(contentRefType, ids, base = "") {
|
|
4481
4489
|
if (ids.length === 0) return null;
|
|
@@ -4517,7 +4525,8 @@ var CONTENT_REF_GROUPS = {
|
|
|
4517
4525
|
customer_interview: { label: "Customer Interviews", order: 8, layout: "grid", gridSize: "default" },
|
|
4518
4526
|
onboarding_guide: { label: "Onboarding Guides", order: 9, layout: "list", gridSize: "default" },
|
|
4519
4527
|
what_i_shipped: { label: "What I Shipped", order: 10, layout: "grid", gridSize: "default" },
|
|
4520
|
-
how_i_work: { label: "How I Work", order: 11, layout: "grid", gridSize: "default" }
|
|
4528
|
+
how_i_work: { label: "How I Work", order: 11, layout: "grid", gridSize: "default" },
|
|
4529
|
+
ai_prompt: { label: "Squawkbox", order: 12, layout: "grid", gridSize: "default" }
|
|
4521
4530
|
};
|
|
4522
4531
|
function getContentRefLabel(type) {
|
|
4523
4532
|
return CONTENT_REF_GROUPS[type]?.label ?? null;
|