@fluxwp/ui 0.0.0-stage → 0.3.2

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 (44) hide show
  1. package/README.md +4 -2
  2. package/package.json +44 -4
  3. package/src/Avatar.tsx +12 -0
  4. package/src/Check.tsx +66 -0
  5. package/src/DatePicker.tsx +620 -0
  6. package/src/Empty.tsx +16 -0
  7. package/src/Icon.tsx +76 -0
  8. package/src/MenuIcon.tsx +36 -0
  9. package/src/Modal.tsx +19 -0
  10. package/src/index.ts +10 -0
  11. package/src/menu-icons/flx-admin.svg +13 -0
  12. package/src/menu-icons/flx-ai.svg +15 -0
  13. package/src/menu-icons/flx-analytics.svg +14 -0
  14. package/src/menu-icons/flx-app.svg +17 -0
  15. package/src/menu-icons/flx-backup.svg +13 -0
  16. package/src/menu-icons/flx-certificates.svg +13 -0
  17. package/src/menu-icons/flx-chat.svg +13 -0
  18. package/src/menu-icons/flx-donate.svg +13 -0
  19. package/src/menu-icons/flx-forms.svg +13 -0
  20. package/src/menu-icons/flx-lang.svg +13 -0
  21. package/src/menu-icons/flx-mail.svg +13 -0
  22. package/src/menu-icons/flx-qr-menu.svg +21 -0
  23. package/src/menu-icons/flx-roles.svg +17 -0
  24. package/src/menu-icons/flx-seo.svg +13 -0
  25. package/src/menu-icons/flx-setup.svg +2 -0
  26. package/src/menu-icons/flx-social.svg +19 -0
  27. package/src/menu-icons/flx-speed.svg +12 -0
  28. package/src/menu-icons/flx-studio.svg +16 -0
  29. package/src/menu-icons/flx-tasks.svg +13 -0
  30. package/src/menu-icons/flx-tv-board.svg +14 -0
  31. package/src/menu-icons/flx-tv-remote.svg +18 -0
  32. package/src/overlay.ts +15 -0
  33. package/src/sanitize.ts +91 -0
  34. package/src/styles.css +396 -0
  35. package/types/Avatar.d.ts +6 -0
  36. package/types/Check.d.ts +30 -0
  37. package/types/DatePicker.d.ts +65 -0
  38. package/types/Empty.d.ts +7 -0
  39. package/types/Icon.d.ts +5 -0
  40. package/types/MenuIcon.d.ts +6 -0
  41. package/types/Modal.d.ts +7 -0
  42. package/types/index.d.ts +9 -0
  43. package/types/overlay.d.ts +6 -0
  44. package/types/sanitize.d.ts +6 -0
package/src/Icon.tsx ADDED
@@ -0,0 +1,76 @@
1
+ // Sunucudan gelen ikon adları (dashicons-*, modül ikon adı, menü slug'ı) → lucide.
2
+ // Adres (http/data:) gelirse resim olarak çizilir.
3
+ import {
4
+ Archive, Award, BarChart3, Bell, BookOpen, Briefcase, Calendar, Camera, Check, CircleCheck, CircleDot, ClipboardCheck,
5
+ ClipboardList, Clock, Cloud, Code, CreditCard, Database, Download, Eye, FileText, Film, Folder, FormInput, Gauge, Gift, Globe,
6
+ Heart, HelpCircle, House, Image, Inbox, Info, KeyRound, Languages, LayoutDashboard, LayoutGrid, Link, ListChecks, Lock,
7
+ Mail, MapPin, Megaphone, MessageCircle, MessageSquare, Monitor, Music, Package, Paintbrush, Palette, Phone, PieChart,
8
+ Plug, Plus, QrCode, Receipt, RefreshCw, Search, Send, Settings, Share2, Shield, ShieldCheck, ShoppingBag, ShoppingCart,
9
+ Smartphone, Sparkles, Star, Store, Tag, Tags, Trash2, TreePine, TrendingUp, Truck, Tv, Unlock, Upload, User, UserCog,
10
+ Users, Video, Wallet, Wrench, X, TriangleAlert, Gamepad2, Clapperboard, type LucideIcon,
11
+ } from 'lucide-react';
12
+
13
+ const map: Record<string, LucideIcon> = {
14
+ // genel / modül adları
15
+ dashboard: LayoutDashboard, home: House, heart: Heart, chat: MessageCircle, whatsapp: MessageCircle, task: ClipboardCheck,
16
+ tasks: ClipboardCheck, check: Check, email: Mail, mail: Mail, inbox: Inbox, award: Award, certificate: Award, post: FileText,
17
+ page: FileText, media: Image, image: Image, chart: BarChart3, settings: Settings, users: Users, user: User, comment: MessageSquare,
18
+ cart: ShoppingCart, clock: Clock, update: RefreshCw, performance: Gauge, translation: Languages, share: Share2, ai: Sparkles,
19
+ bell: Bell, forms: FormInput, form: FormInput, studio: Clapperboard, video: Video, seo: Search, qr: QrCode, tv: Tv,
20
+ remote: Gamepad2, backup: Archive, roles: UserCog, analytics: TrendingUp, donation: Heart, tree: TreePine, phone: Phone,
21
+ // dashicons
22
+ 'admin-home': House, 'admin-site': Globe, 'admin-site-alt': Globe, 'admin-site-alt2': Globe, 'admin-site-alt3': Globe,
23
+ 'admin-post': FileText, 'admin-page': FileText, 'admin-media': Image, 'admin-links': Link, 'admin-comments': MessageSquare,
24
+ 'admin-appearance': Palette, 'admin-plugins': Plug, 'admin-users': Users, 'admin-tools': Wrench, 'admin-settings': Settings,
25
+ 'admin-generic': Settings, 'admin-network': Globe, 'admin-multisite': Globe, 'admin-customizer': Paintbrush,
26
+ 'admin-collapse': LayoutGrid, 'admin-network-alt': Globe,
27
+ 'format-chat': MessageCircle, 'format-image': Image, 'format-gallery': Image, 'format-video': Video, 'format-audio': Music,
28
+ 'format-status': MessageSquare, 'format-aside': FileText, 'format-quote': MessageSquare,
29
+ 'email-alt': Mail, 'email-alt2': Mail, awards: Award, 'yes-alt': CircleCheck, yes: Check, 'no-alt': X, no: X,
30
+ 'chart-area': BarChart3, 'chart-bar': BarChart3, 'chart-line': TrendingUp, 'chart-pie': PieChart,
31
+ products: Package, store: Store, money: Wallet, 'money-alt': Wallet, calendar: Calendar, 'calendar-alt': Calendar,
32
+ groups: Users, location: MapPin, 'location-alt': MapPin, megaphone: Megaphone, smartphone: Smartphone, tablet: Smartphone,
33
+ desktop: Monitor, laptop: Monitor, warning: TriangleAlert, lock: Lock, unlock: Unlock, shield: Shield, 'shield-alt': ShieldCheck,
34
+ upload: Upload, download: Download, visibility: Eye, 'update-alt': RefreshCw, 'database': Database,
35
+ 'cloud': Cloud, 'cloud-saved': Cloud, 'cloud-upload': Upload, palmtree: TreePine, 'plus-alt': Plus, 'plus-alt2': Plus,
36
+ 'arrow-right-alt2': Send, 'book': BookOpen, 'book-alt': BookOpen, 'portfolio': Briefcase, 'businessman': User,
37
+ 'businesswoman': User, 'businessperson': User, 'id': User, 'id-alt': User, 'camera': Camera, 'camera-alt': Camera,
38
+ 'images-alt': Image, 'images-alt2': Image, 'video-alt': Video, 'video-alt2': Video, 'video-alt3': Film, 'playlist-video': Film,
39
+ 'tag': Tag, 'tickets': Tag, 'tickets-alt': Tag, 'category': Folder, 'archive': Archive, 'feedback': ListChecks,
40
+ 'clipboard': ClipboardList, 'list-view': ListChecks, 'editor-code': Code, 'html': Code, 'code-standards': Code,
41
+ 'translation-alt': Languages, 'info': Info, 'info-outline': Info, 'editor-help': HelpCircle, 'sos': HelpCircle,
42
+ 'phone-alt': Phone, 'cart-alt': ShoppingCart, 'bank': Wallet, 'star-filled': Star, 'star-empty': Star, 'heart-alt': Heart,
43
+ 'trash': Trash2, 'search': Search, 'share-alt': Share2, 'share-alt2': Share2, 'networking': Share2, 'rss': Megaphone,
44
+ 'performance-alt': Gauge, 'superhero': Shield, 'superhero-alt': Shield, 'privacy': ShieldCheck, 'buddicons-groups': Users,
45
+ 'admin-comments-alt': MessageSquare, 'testimonial': MessageSquare, 'welcome-learn-more': BookOpen, 'welcome-write-blog': FileText,
46
+ 'welcome-widgets-menus': LayoutGrid, 'screenoptions': LayoutGrid, 'grid-view': LayoutGrid, 'excerpt-view': FileText,
47
+ 'media-document': FileText, 'media-default': FileText, 'media-text': FileText, 'media-spreadsheet': FileText,
48
+ 'media-archive': Archive, 'media-video': Video, 'media-audio': Music, 'media-code': Code, 'pdf': FileText,
49
+ 'gift': Gift, 'car': Truck, 'airplane': Send, 'food': Store, 'coffee': Store, 'beer': Store, 'carrot': TreePine,
50
+ 'qrcode': QrCode, 'receipt': Receipt, 'credit-card': CreditCard, 'key': KeyRound, 'filter': Tags,
51
+ };
52
+
53
+ /** WordPress / FluxWP menü slug'ları: ikonu "none" (CSS ile çizilen) menüler için. */
54
+ const slugs: [RegExp, LucideIcon][] = [
55
+ [/^index\.php/, LayoutDashboard], [/^edit\.php\?post_type=page/, FileText], [/^edit\.php\?post_type=product/, Package],
56
+ [/^edit\.php/, FileText], [/^upload\.php/, Image], [/^edit-comments/, MessageSquare], [/^themes\.php/, Palette],
57
+ [/^plugins\.php/, Plug], [/^users\.php|^profile\.php/, Users], [/^tools\.php/, Wrench], [/^options-general/, Settings],
58
+ [/^woocommerce$/, ShoppingBag], [/^wc-admin.*analytics/, BarChart3], [/^woocommerce-marketing/, Megaphone],
59
+ [/^flxb|flx-donate/, Heart], [/^flxs$|flx-certificates/, Award], [/^flx-chat/, MessageCircle], [/^flx-tasks/, ClipboardCheck],
60
+ [/^flxi-posta/, Inbox], [/^flxi$|flx-mail/, Send], [/^emsfb|flx-forms/i, FormInput], [/^flx-analytics/, TrendingUp],
61
+ [/^flx-speed/, Gauge], [/^flx-social/, Share2], [/^flx-ai/, Sparkles], [/^flx-studio/, Clapperboard], [/^flxseo|flx-seo/, Search],
62
+ [/^flx-qr/, QrCode], [/^flx-tv-remote/, Gamepad2], [/^flx-tv-board/, Tv], [/^flxapp|flx-app/, Smartphone],
63
+ [/^flx-(setup|updater)/, RefreshCw], [/^flx-backup/, Archive], [/^flx-lang/, Languages], [/^flx-roles|^flxr/, UserCog], [/^flx-admin|^flxa/, Settings],
64
+ ];
65
+
66
+ export function Icon({ name, slug, size = 18 }: { name?: string; slug?: string; size?: number }) {
67
+ const raw = (name ?? '').trim();
68
+ if (/^(https?:|data:image\/)/.test(raw)) {
69
+ return <img src={raw} width={size} height={size} alt="" aria-hidden className="flux-icon-img" style={{ objectFit: 'contain' }} />;
70
+ }
71
+ const key = raw.replace(/^dashicons-/, '');
72
+ let C = map[key];
73
+ if (!C && slug) C = slugs.find(([re]) => re.test(slug))?.[1];
74
+ C ??= CircleDot;
75
+ return <C size={size} strokeWidth={1.8} aria-hidden />;
76
+ }
@@ -0,0 +1,36 @@
1
+ /// <reference types="vite/client" />
2
+ // Menü ikonu, WP'deki Flux Admin menüsü gibi: FluxWP paketlerinde paketin renkli logosu, diğerlerinde
3
+ // renkli zeminli yuvarlak kare içinde ikon. Sunucu icon_url verirse o kullanılır.
4
+ import { Icon } from './Icon';
5
+
6
+ const raw = import.meta.glob('./menu-icons/*.svg', { eager: true, query: '?raw', import: 'default' }) as Record<string, string>;
7
+ const logos: Record<string, string> = {};
8
+ for (const [path, svg] of Object.entries(raw)) {
9
+ logos[path.replace(/^.*\/(.+)\.svg$/, '$1')] = 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svg);
10
+ }
11
+
12
+ /** Menü slug'ı → paket logosu. */
13
+ const pkg: [RegExp, string][] = [
14
+ [/^flx-chat/, 'flx-chat'], [/^flx-tasks/, 'flx-tasks'], [/^flxb|^flx-donate/, 'flx-donate'], [/^flxs$|^flx-certificates/, 'flx-certificates'],
15
+ [/^emsfb$|^flx-forms/i, 'flx-forms'], [/^flxi(-|$)|^flx-mail/, 'flx-mail'], [/^flx-setup/, 'flx-setup'], [/^flx-backup/, 'flx-backup'],
16
+ [/^flx-speed/, 'flx-speed'], [/^flx-analytics/, 'flx-analytics'], [/^flx-social/, 'flx-social'], [/^flx-ai/, 'flx-ai'], [/^flx-studio/, 'flx-studio'],
17
+ [/^flxseo|^flx-seo/, 'flx-seo'], [/^flx-qr/, 'flx-qr-menu'], [/^flx-tv-remote/, 'flx-tv-remote'], [/^flx-tv-board/, 'flx-tv-board'],
18
+ [/^flxapp|^flx-app/, 'flx-app'], [/^flx-lang/, 'flx-lang'], [/^flx-roles|^flxr-/, 'flx-roles'], [/^flxa-|^flx-admin/, 'flx-admin'],
19
+ ];
20
+
21
+ /** Çekirdek / diğer menüler: zemin tonu (ikon rengi). */
22
+ const tones: [RegExp, string][] = [
23
+ [/^index\.php/, '#16A34A'], [/post_type=proje/, '#16A34A'], [/post_type=etkinlik/, '#EA580C'], [/^upload\.php/, '#0891B2'],
24
+ [/post_type=product|^woocommerce$/, '#9333EA'], [/marketing/, '#F97316'], [/^wc-admin/, '#7C3AED'], [/litespeed/, '#F97316'],
25
+ ];
26
+
27
+ export function MenuIcon({ slug = '', icon, iconUrl, size = 30 }: { slug?: string; icon?: string; iconUrl?: string; size?: number }) {
28
+ const src = iconUrl || (/^(https?:|data:image\/)/.test(icon ?? '') ? icon : '') || logos[pkg.find(([re]) => re.test(slug))?.[1] ?? ''];
29
+ if (src) return <img className="menu-ic img" src={src} width={size} height={size} alt="" aria-hidden draggable={false} />;
30
+ const tone = tones.find(([re]) => re.test(slug))?.[1];
31
+ return (
32
+ <span className={'menu-ic' + (tone ? ' toned' : '')} style={{ width: size, height: size, ...(tone ? { ['--tone' as string]: tone } : {}) }} aria-hidden>
33
+ <Icon name={icon} slug={slug} size={Math.round(size * 0.55)} />
34
+ </span>
35
+ );
36
+ }
package/src/Modal.tsx ADDED
@@ -0,0 +1,19 @@
1
+ import { useEffect, type ReactNode } from 'react';
2
+ import { useOverlay } from './overlay';
3
+
4
+ export function Modal({ title, onClose, children, wide }: { title?: string; onClose: () => void; children: ReactNode; wide?: boolean }) {
5
+ useEffect(() => useOverlay.getState().pushOverlay(), []);
6
+ useEffect(() => {
7
+ const k = (e: KeyboardEvent) => e.key === 'Escape' && onClose();
8
+ window.addEventListener('keydown', k);
9
+ return () => window.removeEventListener('keydown', k);
10
+ }, [onClose]);
11
+ return (
12
+ <div className="overlay center-y" onMouseDown={onClose}>
13
+ <div className={'modal' + (wide ? ' wide' : '')} role="dialog" aria-label={title} onMouseDown={(e) => e.stopPropagation()}>
14
+ {title && <h2 className="modal-title">{title}</h2>}
15
+ {children}
16
+ </div>
17
+ </div>
18
+ );
19
+ }
package/src/index.ts ADDED
@@ -0,0 +1,10 @@
1
+ // Ortak arayüz bileşenleri: FluxWP paneli, modül ekranları ve WP admin gömmesi aynı bileşenleri kullanır.
2
+ export { Avatar } from './Avatar';
3
+ export { Modal } from './Modal';
4
+ export { Check } from './Check';
5
+ export { DatePicker, DateCalendar, formatDate, parseDate, type DateQuick } from './DatePicker';
6
+ export { Empty, Loading } from './Empty';
7
+ export { Icon } from './Icon';
8
+ export { openSanitizedLink, sanitizeHtml } from './sanitize';
9
+ export { useOverlay } from './overlay';
10
+ export { MenuIcon } from './MenuIcon';
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-admin">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7ED6B0"/><stop offset=".55" stop-color="#2C7A64"/><stop offset="1" stop-color="#123F35"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#123F35" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="50" y="64" width="156" height="128" rx="18" fill="#FFFFFF"/><rect x="62" y="76" width="34" height="104" rx="9" fill="#2C7A64"/><path fill="none" stroke="#FFFFFF" stroke-width="6" stroke-linecap="round" stroke-linejoin="round" opacity="0.9" d="M71 92h16M71 108h16M71 124h12"/><rect x="106" y="76" width="42" height="34" rx="8" fill="#7ED6B0"/><rect x="154" y="76" width="40" height="34" rx="8" fill="#2C7A64" opacity=".35"/><rect x="106" y="118" width="88" height="62" rx="9" fill="#123F35" opacity=".12"/><path fill="none" stroke="#2C7A64" stroke-width="7" stroke-linecap="round" stroke-linejoin="round" d="M116 166l18-16 14 10 20-22 16 10"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-ai">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#6EE7B7"/><stop offset=".5" stop-color="#14A37F"/><stop offset="1" stop-color="#0B6E58"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#0B6E58" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)" fill="#fff">
11
+ <path d="M112 52c4 30 14 46 44 52-30 6-40 22-44 52-4-30-14-46-44-52 30-6 40-22 44-52z"/>
12
+ <path d="M176 128c2.6 18 9 27 27 30-18 3-24.4 12-27 30-2.6-18-9-27-27-30 18-3 24.4-12 27-30z" opacity=".85"/>
13
+ <circle cx="84" cy="180" r="13" opacity=".7"/>
14
+ </g>
15
+ </svg>
@@ -0,0 +1,14 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-analytics">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8FE3C0"/><stop offset=".55" stop-color="#1F8A6E"/><stop offset="1" stop-color="#0B3B33"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ </defs>
6
+ <rect width="256" height="256" rx="56" fill="url(#bg)"/>
7
+ <rect width="256" height="256" rx="56" fill="url(#hl)"/>
8
+ <rect x="52" y="140" width="32" height="64" rx="10" fill="#fff" fill-opacity=".7"/>
9
+ <rect x="100" y="104" width="32" height="100" rx="10" fill="#fff" fill-opacity=".85"/>
10
+ <rect x="148" y="122" width="32" height="82" rx="10" fill="#fff" fill-opacity=".7"/>
11
+ <rect x="196" y="76" width="16" height="128" rx="8" fill="#fff" fill-opacity=".55"/>
12
+ <path d="M56 108 L112 72 L160 92 L208 52" fill="none" stroke="#fff" stroke-width="14" stroke-linecap="round" stroke-linejoin="round"/>
13
+ <circle cx="208" cy="52" r="12" fill="#fff"/>
14
+ </svg>
@@ -0,0 +1,17 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="Flux App">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7ED6B0"/><stop offset=".55" stop-color="#2C7A64"/><stop offset="1" stop-color="#123F35"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#123F35" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="48" y="62" width="160" height="108" rx="14" fill="#FFFFFF"/>
12
+ <rect x="60" y="74" width="136" height="84" rx="7" fill="#2C7A64" opacity=".14"/>
13
+ <path d="M34 178h188a8 8 0 0 1-8 10H42a8 8 0 0 1-8-10z" fill="#FFFFFF"/>
14
+ <circle cx="112" cy="116" r="17" fill="none" stroke="#2C7A64" stroke-width="10"/>
15
+ <path d="M128 116h42M156 116v14M168 116v10" fill="none" stroke="#2C7A64" stroke-width="10" stroke-linecap="round"/>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-backup">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7FA3C9"/><stop offset=".55" stop-color="#3E6A99"/><stop offset="1" stop-color="#223F63"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#223F63" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <path fill="#FFFFFF" opacity=".7" d="M66 150v26c0 12 28 22 62 22s62-10 62-22v-26c0 12-28 22-62 22s-62-10-62-22Z"/><path fill="#FFFFFF" opacity=".85" d="M66 118v26c0 12 28 22 62 22s62-10 62-22v-26c0 12-28 22-62 22s-62-10-62-22Z"/><path fill="#FFFFFF" opacity="1" d="M66 86v26c0 12 28 22 62 22s62-10 62-22v-26c0 12-28 22-62 22s-62-10-62-22Z"/><ellipse cx="128" cy="86" rx="62" ry="22" fill="#FFFFFF"/><ellipse cx="128" cy="86" rx="44" ry="12" fill="#7FA3C9" opacity=".45"/><path fill="#3E6A99" stroke="#FFFFFF" stroke-width="7" stroke-linejoin="round" d="M178 140l30 11v22c0 20-13 32-30 38-17-6-30-18-30-38v-22Z"/><path fill="none" stroke="#FFFFFF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round" d="M166 174l9 9 16-18"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-certificates">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#F7D46A"/><stop offset=".55" stop-color="#DDA52C"/><stop offset="1" stop-color="#A8720C"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#A8720C" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="64" y="56" width="128" height="96" rx="12" fill="#FFFFFF" opacity=".4" transform="rotate(-8 128 104)"/><path fill="#F7D46A" stroke="#FFFFFF" stroke-width="5" stroke-linejoin="round" d="M102 146L86 204l22-9 13 19 11-56ZM154 146l16 58-22-9-13 19-11-56Z"/><circle cx="128" cy="118" r="54" fill="#FFFFFF"/><circle cx="128" cy="118" r="40" fill="none" stroke="#DDA52C" stroke-width="4" stroke-dasharray="2 7" stroke-linecap="round"/><path fill="#DDA52C" d="M128 92l8 16.2 17.9 2.6-12.9 12.6 3 17.8L128 132.8l-16 8.4 3-17.8-12.9-12.6 17.9-2.6Z"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-chat">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#5BE38E"/><stop offset=".55" stop-color="#1FB466"/><stop offset="1" stop-color="#0D7F52"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#0D7F52" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <path fill="#FFFFFF" opacity=".4" d="M150 58c30 0 50 20 50 46 0 10-3 19-8 26l6 22-22-7c-7 4-16 6-26 6-28 0-50-20-50-47s22-46 50-46Z"/><path fill="#FFFFFF" d="M114 82c35 0 60 25 60 57s-25 57-60 57c-11 0-21-2-30-7l-28 9 9-26c-7-9-11-21-11-33 0-32 25-57 60-57Z"/><path fill="#1FB466" transform="translate(88 111) scale(2.4)" d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-donate">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8BD15A"/><stop offset=".55" stop-color="#2E9B57"/><stop offset="1" stop-color="#0B6B47"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#0B6B47" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <path fill="#FFFFFF" d="M128.0 198.0C106.6 183.0 66.0 155.2 66.0 121.0C66.0 95.4 85.2 78.3 106.6 78.3C119.4 78.3 125.9 84.7 128.0 93.2C130.1 84.7 136.6 78.3 149.4 78.3C170.8 78.3 190.0 95.4 190.0 121.0C190.0 155.2 149.4 183.0 128.0 198.0Z"/><path fill="none" stroke="#2E9B57" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" d="M128 172V132"/><path fill="#2E9B57" d="M128 140C128 121 113 109 95 111C95 129 109 141 128 140Z"/><path fill="#8BD15A" d="M128 128C128 107 144 95 163 97C163 117 148 129 128 128Z"/><path fill="#2E9B57" opacity=".35" d="M128 128C140 120 150 110 163 97C163 117 148 129 128 128Z"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-forms">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#4A8FC4"/><stop offset=".55" stop-color="#23557F"/><stop offset="1" stop-color="#122E48"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#122E48" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="70" y="66" width="116" height="140" rx="18" fill="#FFFFFF"/><rect x="98" y="52" width="60" height="30" rx="11" fill="#4A8FC4" stroke="#FFFFFF" stroke-width="6"/><circle cx="98" cy="112" r="11" fill="#23557F"/><path fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linecap="round" stroke-linejoin="round" d="M93 112l4 4 7-8"/><path fill="none" stroke="#23557F" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" opacity="0.9" d="M120 112h44"/><circle cx="98" cy="144" r="11" fill="#23557F"/><path fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linecap="round" stroke-linejoin="round" d="M93 144l4 4 7-8"/><path fill="none" stroke="#23557F" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" opacity="0.9" d="M120 144h32"/><circle cx="98" cy="176" r="9" fill="none" stroke="#23557F" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" opacity="0.45"/><path fill="none" stroke="#23557F" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" opacity="0.3" d="M120 176h44"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-lang">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#5FD3C6"/><stop offset=".55" stop-color="#1E9C9A"/><stop offset="1" stop-color="#0E5F6E"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#0E5F6E" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)" fill="none" stroke="#FFFFFF" stroke-width="11" stroke-linecap="round" stroke-linejoin="round">
11
+ <circle cx="128" cy="128" r="70"/><path d="M58 128h140M128 58c-22 22-30 46-30 70s8 48 30 70M128 58c22 22 30 46 30 70s-8 48-30 70M70 94h116M70 162h116"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-mail">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#6DB8FF"/><stop offset=".55" stop-color="#2F7FE6"/><stop offset="1" stop-color="#1A51B5"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#1A51B5" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="52" y="70" width="132" height="98" rx="18" fill="#FFFFFF"/><path fill="none" stroke="#6DB8FF" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" d="M70 90l48 36 48-36"/><path fill="none" stroke="#2F7FE6" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" d="M70 90l48 36 48-36" opacity=".55"/><path fill="#2F7FE6" stroke="#FFFFFF" stroke-width="7" stroke-linejoin="round" d="M170 128c20 0 34 14 34 31s-14 31-34 31c-6 0-11-1-16-4l-17 5 5-15c-4-5-6-11-6-17 0-17 14-31 34-31Z"/><circle cx="157" cy="159" r="5" fill="#FFFFFF"/><circle cx="171" cy="159" r="5" fill="#FFFFFF"/><circle cx="185" cy="159" r="5" fill="#FFFFFF"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,21 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-qr-menu">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#6FDB8F"/><stop offset=".55" stop-color="#22A35A"/><stop offset="1" stop-color="#0F6B3A"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#0F6B3A" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="52" y="52" width="152" height="152" rx="26" fill="#FFFFFF"/>
12
+ <rect x="70" y="70" width="40" height="40" rx="9" fill="none" stroke="#0F6B3A" stroke-width="9"/>
13
+ <rect x="84" y="84" width="12" height="12" rx="3" fill="#0F6B3A"/>
14
+ <rect x="146" y="70" width="40" height="40" rx="9" fill="none" stroke="#0F6B3A" stroke-width="9"/>
15
+ <rect x="160" y="84" width="12" height="12" rx="3" fill="#0F6B3A"/>
16
+ <rect x="70" y="146" width="40" height="40" rx="9" fill="none" stroke="#0F6B3A" stroke-width="9"/>
17
+ <rect x="84" y="160" width="12" height="12" rx="3" fill="#0F6B3A"/>
18
+ <path fill="none" stroke="#22A35A" stroke-width="7" stroke-linecap="round" d="M150 140v40M150 140c-6 0-9 6-9 13 0 5 4 8 9 8s9-3 9-8c0-7-3-13-9-13z"/>
19
+ <path fill="none" stroke="#22A35A" stroke-width="7" stroke-linecap="round" d="M176 140v40M169 140v12c0 5 3 8 7 8s7-3 7-8v-12"/>
20
+ </g>
21
+ </svg>
@@ -0,0 +1,17 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-roles">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#9ED98A"/><stop offset=".55" stop-color="#3C8A4E"/><stop offset="1" stop-color="#17432A"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#17432A" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)" fill="#FFFFFF">
11
+ <circle cx="100" cy="92" r="28"/>
12
+ <path d="M44 186c0-33 25-56 56-56s56 23 56 56v6H44z"/>
13
+ <circle cx="168" cy="104" r="22" opacity=".85"/>
14
+ <path d="M168 136c-9 0-17 2-24 6 13 12 21 29 21 48v2h55v-4c0-29-23-52-52-52z" opacity=".85"/>
15
+ </g>
16
+ <g filter="url(#sh)"><circle cx="186" cy="182" r="26" fill="#17432A"/><path d="M175 182l8 8 15-16" fill="none" stroke="#9ED98A" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g>
17
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-seo">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#FFB663"/><stop offset=".55" stop-color="#EE7A30"/><stop offset="1" stop-color="#BF4A17"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#BF4A17" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <path fill="none" stroke="#FFFFFF" stroke-width="22" stroke-linecap="round" stroke-linejoin="round" d="M156 156L192 192"/><circle cx="114" cy="114" r="56" fill="#FFFFFF"/><circle cx="114" cy="114" r="42" fill="#FFB663" opacity=".35"/><path fill="none" stroke="#EE7A30" stroke-width="11" stroke-linecap="round" stroke-linejoin="round" d="M92 136v-10M114 136v-26M136 136v-42"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,2 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-setup"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#818CF8"/><stop offset=".5" stop-color="#4F46E5"/><stop offset="1" stop-color="#312E81"/></linearGradient><radialGradient id="h" cx=".2" cy=".1" r=".8"><stop offset="0" stop-color="#fff" stop-opacity=".28"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient></defs><path d="M128 0C35 0 0 35 0 128s35 128 128 128 128-35 128-128S221 0 128 0Z" fill="url(#g)"/><path d="M128 0C35 0 0 35 0 128s35 128 128 128 128-35 128-128S221 0 128 0Z" fill="url(#h)"/><g transform="translate(64.0 64.0) scale(5.333)" fill="none" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><rect width="7" height="7" x="14" y="3" rx="1" />
2
+ <path d="M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3" /></g></svg>
@@ -0,0 +1,19 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="Flux Social">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7ED6B0"/><stop offset=".55" stop-color="#2C7A64"/><stop offset="1" stop-color="#123F35"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#123F35" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <path d="M96 116l66-34M96 140l66 34" stroke="#FFFFFF" stroke-width="14" stroke-linecap="round"/>
12
+ <circle cx="84" cy="128" r="30" fill="#FFFFFF"/>
13
+ <circle cx="176" cy="74" r="26" fill="#FFFFFF"/>
14
+ <circle cx="176" cy="182" r="26" fill="#FFFFFF"/>
15
+ <circle cx="84" cy="128" r="13" fill="#2C7A64"/>
16
+ <path d="M176 64c-6 6-6 14 0 20 6-6 6-14 0-20z" fill="#2C7A64"/>
17
+ <circle cx="176" cy="182" r="10" fill="#2C7A64"/>
18
+ </g>
19
+ </svg>
@@ -0,0 +1,12 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-speed">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7EE8B0"/><stop offset=".55" stop-color="#1F8A5B"/><stop offset="1" stop-color="#0B3B27"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ </defs>
6
+ <rect width="256" height="256" rx="56" fill="url(#bg)"/>
7
+ <rect width="256" height="256" rx="56" fill="url(#hl)"/>
8
+ <path d="M48 172 L84 172 L102 118 L128 196 L152 92 L170 150 L208 150" fill="none" stroke="#fff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <circle cx="152" cy="92" r="12" fill="#fff"/>
10
+ <rect x="48" y="56" width="70" height="12" rx="6" fill="#fff" fill-opacity=".75"/>
11
+ <rect x="48" y="78" width="44" height="12" rx="6" fill="#fff" fill-opacity=".5"/>
12
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="Flux Studio">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7ED6B0"/><stop offset=".55" stop-color="#2C7A64"/><stop offset="1" stop-color="#123F35"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#123F35" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="46" y="58" width="150" height="140" rx="18" fill="#FFFFFF"/>
12
+ <path d="M62 176l40-44 28 30 18-18 32 32z" fill="#2C7A64" opacity=".85"/>
13
+ <circle cx="150" cy="96" r="14" fill="#2C7A64" opacity=".85"/>
14
+ <path d="M196 40l9 22 22 9-22 9-9 22-9-22-22-9 22-9z" fill="#FFFFFF"/>
15
+ </g>
16
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-tasks">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#A992F2"/><stop offset=".55" stop-color="#7056D6"/><stop offset="1" stop-color="#4630A6"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#4630A6" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="82" y="56" width="120" height="140" rx="20" fill="#FFFFFF" opacity=".35" transform="rotate(8 142 126)"/><rect x="58" y="62" width="124" height="140" rx="20" fill="#FFFFFF"/><circle cx="86" cy="98" r="12" fill="#7056D6"/><path fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linecap="round" stroke-linejoin="round" d="M80.5 98l4 4.5 7.5-8.5"/><path fill="none" stroke="#4630A6" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" opacity="0.25" d="M108 98h52"/><circle cx="86" cy="132" r="12" fill="#7056D6"/><path fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linecap="round" stroke-linejoin="round" d="M80.5 132l4 4.5 7.5-8.5"/><path fill="none" stroke="#4630A6" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" opacity="0.25" d="M108 132h40"/><circle cx="86" cy="166" r="10" fill="none" stroke="#7056D6" stroke-width="4.5" stroke-linecap="round" stroke-linejoin="round"/><path fill="none" stroke="#4630A6" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" opacity="0.8" d="M108 166h56"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,14 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-tv-board">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#7EE8B0"/><stop offset=".55" stop-color="#1F8A5B"/><stop offset="1" stop-color="#0B3B27"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ </defs>
6
+ <rect width="256" height="256" rx="56" fill="url(#bg)"/>
7
+ <rect width="256" height="256" rx="56" fill="url(#hl)"/>
8
+ <rect x="44" y="60" width="168" height="112" rx="16" fill="#fff" fill-opacity=".92"/>
9
+ <rect x="58" y="74" width="62" height="38" rx="8" fill="#1F8A5B" fill-opacity=".55"/>
10
+ <rect x="128" y="74" width="70" height="38" rx="8" fill="#1F8A5B" fill-opacity=".35"/>
11
+ <rect x="58" y="120" width="140" height="38" rx="8" fill="#1F8A5B" fill-opacity=".25"/>
12
+ <rect x="104" y="180" width="48" height="10" rx="5" fill="#fff" fill-opacity=".9"/>
13
+ <rect x="86" y="190" width="84" height="10" rx="5" fill="#fff" fill-opacity=".9"/>
14
+ </svg>
@@ -0,0 +1,18 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="flx-tv-remote">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8E9BFF"/><stop offset=".55" stop-color="#4B4FC4"/><stop offset="1" stop-color="#1C1D4A"/></linearGradient>
4
+ <radialGradient id="hl" cx=".25" cy=".15" r=".75"><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient>
5
+ <filter id="sh" x="-20%" y="-20%" width="140%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="7" flood-color="#1C1D4A" flood-opacity=".45"/></filter>
6
+ </defs>
7
+ <rect width="256" height="256" rx="60" fill="url(#bg)"/>
8
+ <rect width="256" height="256" rx="60" fill="url(#hl)"/>
9
+ <rect x="1.5" y="1.5" width="253" height="253" rx="58.5" fill="none" stroke="#fff" stroke-opacity=".22" stroke-width="3"/>
10
+ <g filter="url(#sh)">
11
+ <rect x="88" y="34" width="80" height="188" rx="40" fill="#FFFFFF"/>
12
+ <circle cx="128" cy="80" r="22" fill="none" stroke="#4B4FC4" stroke-width="9"/>
13
+ <path d="M128 66v12" stroke="#FF4D5E" stroke-width="7" stroke-linecap="round"/>
14
+ <circle cx="128" cy="134" r="11" fill="#4B4FC4"/>
15
+ <circle cx="110" cy="170" r="7" fill="#4B4FC4" opacity=".55"/><circle cx="146" cy="170" r="7" fill="#4B4FC4" opacity=".55"/>
16
+ <circle cx="110" cy="196" r="7" fill="#4B4FC4" opacity=".55"/><circle cx="146" cy="196" r="7" fill="#4B4FC4" opacity=".55"/>
17
+ </g>
18
+ </svg>
package/src/overlay.ts ADDED
@@ -0,0 +1,15 @@
1
+ // Gömülü web görünümü HTML'in üstünde durur; açılır pencere varken gizlenmesi gerekir.
2
+ import { create } from 'zustand';
3
+
4
+ interface UiState {
5
+ overlays: number;
6
+ pushOverlay(): () => void;
7
+ }
8
+
9
+ export const useOverlay = create<UiState>((set) => ({
10
+ overlays: 0,
11
+ pushOverlay: () => {
12
+ set((s) => ({ overlays: s.overlays + 1 }));
13
+ return () => set((s) => ({ overlays: Math.max(0, s.overlays - 1) }));
14
+ },
15
+ }));