@flamingo-stack/openframe-frontend-core 0.0.329 → 0.0.330
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-67MYKAAK.js → chunk-233TNRYO.js} +4 -4
- package/dist/{chunk-QGBSE4JV.js → chunk-BLIVFED6.js} +4 -4
- package/dist/{chunk-MKLDE5OZ.cjs → chunk-BPT7DZO4.cjs} +12 -12
- package/dist/{chunk-MKLDE5OZ.cjs.map → chunk-BPT7DZO4.cjs.map} +1 -1
- package/dist/{chunk-YDUV3VQ2.js → chunk-CTRVKS42.js} +2 -2
- package/dist/{chunk-HWFVPOHJ.cjs → chunk-DQWQFIKF.cjs} +7 -7
- package/dist/{chunk-HWFVPOHJ.cjs.map → chunk-DQWQFIKF.cjs.map} +1 -1
- package/dist/{chunk-SH6X376N.cjs → chunk-DQY4TMPD.cjs} +31 -31
- package/dist/{chunk-SH6X376N.cjs.map → chunk-DQY4TMPD.cjs.map} +1 -1
- package/dist/{chunk-5BEJ74WU.cjs → chunk-I3SLJPT7.cjs} +56 -56
- package/dist/{chunk-5BEJ74WU.cjs.map → chunk-I3SLJPT7.cjs.map} +1 -1
- package/dist/{chunk-6B7YS7O6.cjs → chunk-JGLDXCPI.cjs} +9 -9
- package/dist/{chunk-6B7YS7O6.cjs.map → chunk-JGLDXCPI.cjs.map} +1 -1
- package/dist/{chunk-KMIYWEPB.cjs → chunk-JXEJVR5H.cjs} +26 -26
- package/dist/{chunk-KMIYWEPB.cjs.map → chunk-JXEJVR5H.cjs.map} +1 -1
- package/dist/{chunk-EUMMHRR4.js → chunk-MJ2QVKFD.js} +2 -2
- package/dist/{chunk-KDHZVMH5.js → chunk-MXLQCQLM.js} +2 -2
- package/dist/{chunk-IYPVN3DV.js → chunk-O6JFLNJX.js} +4 -4
- package/dist/{chunk-QCVM3ZSD.cjs → chunk-OCPUDTRE.cjs} +37 -37
- package/dist/{chunk-QCVM3ZSD.cjs.map → chunk-OCPUDTRE.cjs.map} +1 -1
- package/dist/{chunk-C34M45FI.cjs → chunk-P75LBLOT.cjs} +20 -2
- package/dist/{chunk-C34M45FI.cjs.map → chunk-P75LBLOT.cjs.map} +1 -1
- package/dist/{chunk-OUUA36U2.js → chunk-PIBJHV2H.js} +2 -2
- package/dist/{chunk-TH65GPIK.js → chunk-PV65W2Q3.js} +2 -2
- package/dist/{chunk-OZK7XALE.js → chunk-QA2W6KZC.js} +2 -2
- package/dist/{chunk-NNP323TB.cjs → chunk-SQOLVJUK.cjs} +5 -5
- package/dist/{chunk-NNP323TB.cjs.map → chunk-SQOLVJUK.cjs.map} +1 -1
- package/dist/{chunk-HT67OPIE.js → chunk-UN33GYZF.js} +4 -4
- package/dist/{chunk-S2Z6HDRF.cjs → chunk-VMCKM7RN.cjs} +62 -62
- package/dist/{chunk-S2Z6HDRF.cjs.map → chunk-VMCKM7RN.cjs.map} +1 -1
- package/dist/{chunk-6CYMYELP.cjs → chunk-WGQPNSM2.cjs} +25 -25
- package/dist/{chunk-6CYMYELP.cjs.map → chunk-WGQPNSM2.cjs.map} +1 -1
- package/dist/{chunk-UNL2RMOC.js → chunk-WZRVPJPY.js} +2 -2
- package/dist/{chunk-2UVIHKQQ.js → chunk-XF56JH7Q.js} +21 -3
- package/dist/{chunk-2UVIHKQQ.js.map → chunk-XF56JH7Q.js.map} +1 -1
- package/dist/{chunk-V6LUP7PN.cjs → chunk-YFXZRRLA.cjs} +15 -15
- package/dist/{chunk-V6LUP7PN.cjs.map → chunk-YFXZRRLA.cjs.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/chat/utils/icon-registry.d.ts.map +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/features/social-links-manager.d.ts +2 -0
- package/dist/components/features/social-links-manager.d.ts.map +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 +124 -120
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +13 -9
- 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/social-icon-row.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- 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/dist/utils/index.cjs +20 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +20 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/utils/icon-registry.ts +3 -0
- package/src/components/features/social-links-manager.tsx +18 -1
- package/src/components/social-icon-row.tsx +4 -0
- /package/dist/{chunk-67MYKAAK.js.map → chunk-233TNRYO.js.map} +0 -0
- /package/dist/{chunk-QGBSE4JV.js.map → chunk-BLIVFED6.js.map} +0 -0
- /package/dist/{chunk-YDUV3VQ2.js.map → chunk-CTRVKS42.js.map} +0 -0
- /package/dist/{chunk-EUMMHRR4.js.map → chunk-MJ2QVKFD.js.map} +0 -0
- /package/dist/{chunk-KDHZVMH5.js.map → chunk-MXLQCQLM.js.map} +0 -0
- /package/dist/{chunk-IYPVN3DV.js.map → chunk-O6JFLNJX.js.map} +0 -0
- /package/dist/{chunk-OUUA36U2.js.map → chunk-PIBJHV2H.js.map} +0 -0
- /package/dist/{chunk-TH65GPIK.js.map → chunk-PV65W2Q3.js.map} +0 -0
- /package/dist/{chunk-OZK7XALE.js.map → chunk-QA2W6KZC.js.map} +0 -0
- /package/dist/{chunk-HT67OPIE.js.map → chunk-UN33GYZF.js.map} +0 -0
- /package/dist/{chunk-UNL2RMOC.js.map → chunk-WZRVPJPY.js.map} +0 -0
package/package.json
CHANGED
|
@@ -72,6 +72,7 @@ import {
|
|
|
72
72
|
FacebookIcon,
|
|
73
73
|
InstagramIcon,
|
|
74
74
|
YouTubeIcon,
|
|
75
|
+
WhatsAppIcon,
|
|
75
76
|
XLogo,
|
|
76
77
|
OpenFrameLogo as RawOpenFrameLogo,
|
|
77
78
|
} from '../../icons'
|
|
@@ -147,6 +148,7 @@ export const ICON_REGISTRY: Record<string, IconComponent> = {
|
|
|
147
148
|
twitter: Twitter,
|
|
148
149
|
users: Users,
|
|
149
150
|
video: Video,
|
|
151
|
+
whatsapp: WhatsAppIcon,
|
|
150
152
|
youtube: YouTubeIcon,
|
|
151
153
|
'youtube-lucide': Youtube,
|
|
152
154
|
// brand-only icons (no lucide variant in current use)
|
|
@@ -211,6 +213,7 @@ const PASCAL_TO_KEBAB_ALIASES: Record<string, string> = {
|
|
|
211
213
|
FacebookIcon: 'facebook',
|
|
212
214
|
InstagramIcon: 'instagram',
|
|
213
215
|
YouTubeIcon: 'youtube',
|
|
216
|
+
WhatsAppIcon: 'whatsapp',
|
|
214
217
|
XLogo: 'x',
|
|
215
218
|
OpenFrameLogo: 'openframe',
|
|
216
219
|
}
|
|
@@ -19,12 +19,14 @@ import {
|
|
|
19
19
|
SelectValue,
|
|
20
20
|
Label
|
|
21
21
|
} from '../ui';
|
|
22
|
-
import { Trash2, User, Globe, Youtube, Instagram, Facebook, MessageCircle, Send, Music } from 'lucide-react';
|
|
22
|
+
import { Trash2, User, Globe, Youtube, Instagram, Facebook, MessageCircle, Send, Music, Mail } from 'lucide-react';
|
|
23
23
|
|
|
24
24
|
export interface SocialLink {
|
|
25
25
|
platform: string;
|
|
26
26
|
url: string;
|
|
27
27
|
username?: string;
|
|
28
|
+
/** `internal` links render only on company-hub (server-enforced); default `external`. */
|
|
29
|
+
visibility?: 'external' | 'internal';
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
export interface SocialPlatform {
|
|
@@ -62,6 +64,8 @@ const iconMap = {
|
|
|
62
64
|
discord: MessageCircle,
|
|
63
65
|
telegram: Send,
|
|
64
66
|
tiktok: Music,
|
|
67
|
+
email: Mail,
|
|
68
|
+
mail: Mail,
|
|
65
69
|
};
|
|
66
70
|
|
|
67
71
|
export function SocialLinksManager({
|
|
@@ -134,6 +138,19 @@ export function SocialLinksManager({
|
|
|
134
138
|
/>
|
|
135
139
|
</div>
|
|
136
140
|
|
|
141
|
+
<Select
|
|
142
|
+
value={link.visibility ?? 'external'}
|
|
143
|
+
onValueChange={(value) => updateLink(index, 'visibility', value)}
|
|
144
|
+
>
|
|
145
|
+
<SelectTrigger className="w-[120px] shrink-0" aria-label="Social link visibility">
|
|
146
|
+
<SelectValue />
|
|
147
|
+
</SelectTrigger>
|
|
148
|
+
<SelectContent>
|
|
149
|
+
<SelectItem value="external">Public</SelectItem>
|
|
150
|
+
<SelectItem value="internal">Internal</SelectItem>
|
|
151
|
+
</SelectContent>
|
|
152
|
+
</Select>
|
|
153
|
+
|
|
137
154
|
<Button
|
|
138
155
|
type="button"
|
|
139
156
|
variant="transparent"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
|
+
import { Mail } from 'lucide-react';
|
|
3
4
|
import { Button } from './ui/button';
|
|
4
5
|
import { GitHubIcon, RedditIcon, XLogo, LinkedInIcon, LumaIcon, WhatsAppIcon, GlobeIcon, MessageCircleIcon, TelegramIcon, YouTubeIcon, InstagramIcon, FacebookIcon, SlackIcon, CopyIcon } from './icons';
|
|
5
6
|
|
|
@@ -50,6 +51,9 @@ function renderSocialIcon(platform: string) {
|
|
|
50
51
|
return <LumaIcon className="w-5 h-5" />;
|
|
51
52
|
case 'whatsapp':
|
|
52
53
|
return <WhatsAppIcon className="w-5 h-5" />;
|
|
54
|
+
case 'email':
|
|
55
|
+
case 'mail':
|
|
56
|
+
return <Mail className="w-5 h-5" />;
|
|
53
57
|
case 'website':
|
|
54
58
|
case 'web':
|
|
55
59
|
case 'url':
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|