@principal-ai/logo-component 0.1.17 → 0.1.18

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.
@@ -1,92 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.WreathLogo = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const WreathLogo = ({ width = 150, height = 150, pColor = '#2C3E50', wreathColor = '#27AE60', leafAccentColor = '#52BE80', opacity = 0.9, animationSpeed = 3, }) => {
9
- const wreathRadius = 58;
10
- return (react_1.default.createElement("svg", { width: width, height: height, viewBox: "0 0 200 200", xmlns: "http://www.w3.org/2000/svg", style: { opacity } },
11
- react_1.default.createElement("defs", null,
12
- react_1.default.createElement("radialGradient", { id: "wreathGlow", cx: "50%", cy: "50%", r: "50%" },
13
- react_1.default.createElement("stop", { offset: "0%", style: { stopColor: wreathColor, stopOpacity: 0.3 } }),
14
- react_1.default.createElement("stop", { offset: "100%", style: { stopColor: wreathColor, stopOpacity: 0 } })),
15
- react_1.default.createElement("filter", { id: "softGlow" },
16
- react_1.default.createElement("feGaussianBlur", { stdDeviation: "2", result: "coloredBlur" }),
17
- react_1.default.createElement("feMerge", null,
18
- react_1.default.createElement("feMergeNode", { in: "coloredBlur" }),
19
- react_1.default.createElement("feMergeNode", { in: "SourceGraphic" })))),
20
- react_1.default.createElement("circle", { cx: "100", cy: "100", r: "70", fill: "url(#wreathGlow)", opacity: "0.3" }),
21
- react_1.default.createElement("path", { d: (() => {
22
- const numPoints = 24;
23
- const waveAmplitude = 2;
24
- let pathD = '';
25
- const points = [];
26
- // Generate all points first
27
- for (let i = 0; i <= numPoints; i++) {
28
- const angle = (360 / numPoints) * i;
29
- const radians = (angle * Math.PI) / 180;
30
- // Use sine wave for smooth variation
31
- const radiusVariation = Math.sin((angle * Math.PI) / 180 * 6) * waveAmplitude;
32
- const currentRadius = wreathRadius + radiusVariation;
33
- const x = 100 + currentRadius * Math.cos(radians);
34
- const y = 100 + currentRadius * Math.sin(radians);
35
- points.push({ x, y, angle, radians });
36
- }
37
- // Create smooth cubic bezier path with better control points
38
- pathD = `M ${points[0].x},${points[0].y}`;
39
- for (let i = 0; i < points.length - 1; i++) {
40
- const current = points[i];
41
- const next = points[i + 1];
42
- // Calculate tangent for smooth curves
43
- const tangentLength = 0.4;
44
- const cp1x = current.x - Math.sin(current.radians) * tangentLength * 15;
45
- const cp1y = current.y + Math.cos(current.radians) * tangentLength * 15;
46
- const cp2x = next.x + Math.sin(next.radians) * tangentLength * 15;
47
- const cp2y = next.y - Math.cos(next.radians) * tangentLength * 15;
48
- pathD += ` C ${cp1x},${cp1y} ${cp2x},${cp2y} ${next.x},${next.y}`;
49
- }
50
- return pathD + ' Z';
51
- })(), fill: "none", stroke: wreathColor, strokeWidth: "7", strokeLinecap: "round", strokeLinejoin: "round", opacity: "0.75", filter: "url(#softGlow)" },
52
- react_1.default.createElement("animate", { attributeName: "stroke-opacity", values: "0.65;0.85;0.65", dur: `${animationSpeed}s`, repeatCount: "indefinite" })),
53
- react_1.default.createElement("path", { d: (() => {
54
- const numPoints = 24;
55
- const waveAmplitude = 1.5;
56
- const innerRadius = wreathRadius - 9;
57
- let pathD = '';
58
- const points = [];
59
- for (let i = 0; i <= numPoints; i++) {
60
- const angle = (360 / numPoints) * i + 15; // Offset from main wreath
61
- const radians = (angle * Math.PI) / 180;
62
- // Use sine wave offset for smooth variation
63
- const radiusVariation = Math.sin(((angle + 30) * Math.PI) / 180 * 6) * waveAmplitude;
64
- const currentRadius = innerRadius + radiusVariation;
65
- const x = 100 + currentRadius * Math.cos(radians);
66
- const y = 100 + currentRadius * Math.sin(radians);
67
- points.push({ x, y, radians });
68
- }
69
- pathD = `M ${points[0].x},${points[0].y}`;
70
- for (let i = 0; i < points.length - 1; i++) {
71
- const current = points[i];
72
- const next = points[i + 1];
73
- const tangentLength = 0.4;
74
- const cp1x = current.x - Math.sin(current.radians) * tangentLength * 15;
75
- const cp1y = current.y + Math.cos(current.radians) * tangentLength * 15;
76
- const cp2x = next.x + Math.sin(next.radians) * tangentLength * 15;
77
- const cp2y = next.y - Math.cos(next.radians) * tangentLength * 15;
78
- pathD += ` C ${cp1x},${cp1y} ${cp2x},${cp2y} ${next.x},${next.y}`;
79
- }
80
- return pathD + ' Z';
81
- })(), fill: "none", stroke: leafAccentColor, strokeWidth: "5", strokeLinecap: "round", strokeLinejoin: "round", opacity: "0.6", filter: "url(#softGlow)" },
82
- react_1.default.createElement("animate", { attributeName: "stroke-opacity", values: "0.5;0.7;0.5", dur: `${animationSpeed}s`, repeatCount: "indefinite", begin: "0.5s" })),
83
- react_1.default.createElement("g", { filter: "url(#softGlow)" },
84
- react_1.default.createElement("defs", null,
85
- react_1.default.createElement("linearGradient", { id: "pGradient", x1: "0%", y1: "0%", x2: "0%", y2: "100%" },
86
- react_1.default.createElement("stop", { offset: "0%", style: { stopColor: pColor, stopOpacity: 1 } }),
87
- react_1.default.createElement("stop", { offset: "100%", style: { stopColor: pColor, stopOpacity: 0.85 } }))),
88
- react_1.default.createElement("path", { d: "M 82,70\n L 82,130\n L 90,130\n L 90,102\n L 104,102\n C 114,102 122,94 122,84\n C 122,74 114,70 104,70\n Z\n M 90,78\n L 104,78\n C 109,78 114,80 114,84\n C 114,88 109,94 104,94\n L 90,94\n Z", fill: "url(#pGradient)" },
89
- react_1.default.createElement("animate", { attributeName: "opacity", values: "0.95;1;0.95", dur: `${animationSpeed}s`, repeatCount: "indefinite" })),
90
- react_1.default.createElement("path", { d: "M 83,72 L 83,128 L 84,128 L 84,72 Z", fill: "white", opacity: "0.15" }))));
91
- };
92
- exports.WreathLogo = WreathLogo;
@@ -1,50 +0,0 @@
1
- import React from 'react';
2
- export const SquareLogo = ({ width = 150, height = 150, colors = ['#FF6B6B', '#4ECDC4', '#45B7D1', '#FFA07A', '#96CEB4', '#FFEAA7', '#DDA15E', '#BC6C25', '#E76F51'], opacity = 0.9, }) => {
3
- const rectangleStyle = {
4
- transition: 'all 0.3s ease',
5
- };
6
- return (React.createElement("svg", { width: width, height: height, viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", style: { opacity } },
7
- React.createElement("defs", null,
8
- React.createElement("filter", { id: "glow" },
9
- React.createElement("feGaussianBlur", { stdDeviation: "1.5", result: "coloredBlur" }),
10
- React.createElement("feMerge", null,
11
- React.createElement("feMergeNode", { in: "coloredBlur" }),
12
- React.createElement("feMergeNode", { in: "SourceGraphic" })))),
13
- React.createElement("rect", { x: "10", y: "10", width: "10", height: "15", fill: colors[1], style: rectangleStyle, filter: "url(#glow)" },
14
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite" })),
15
- React.createElement("rect", { x: "20", y: "10", width: "15", height: "80", fill: colors[0], style: rectangleStyle, filter: "url(#glow)" },
16
- React.createElement("animate", { attributeName: "opacity", values: "1;0.8;1", dur: "3s", repeatCount: "indefinite", begin: "0.3s" })),
17
- React.createElement("rect", { x: "35", y: "10", width: "30", height: "12", fill: colors[0], style: rectangleStyle, filter: "url(#glow)" },
18
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite", begin: "0.6s" })),
19
- React.createElement("rect", { x: "65", y: "10", width: "25", height: "12", fill: colors[0], style: rectangleStyle, filter: "url(#glow)" },
20
- React.createElement("animate", { attributeName: "opacity", values: "1;0.8;1", dur: "3s", repeatCount: "indefinite", begin: "0.9s" })),
21
- React.createElement("rect", { x: "35", y: "22", width: "15", height: "18", fill: colors[3], style: rectangleStyle, filter: "url(#glow)" },
22
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite", begin: "1.2s" })),
23
- React.createElement("rect", { x: "50", y: "22", width: "15", height: "18", fill: colors[4], style: rectangleStyle, filter: "url(#glow)" },
24
- React.createElement("animate", { attributeName: "opacity", values: "1;0.8;1", dur: "3s", repeatCount: "indefinite", begin: "1.5s" })),
25
- React.createElement("rect", { x: "65", y: "22", width: "12", height: "18", fill: colors[0], style: rectangleStyle, filter: "url(#glow)" },
26
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite", begin: "1.8s" })),
27
- React.createElement("rect", { x: "77", y: "22", width: "13", height: "28", fill: colors[0], style: rectangleStyle, filter: "url(#glow)" },
28
- React.createElement("animate", { attributeName: "opacity", values: "1;0.8;1", dur: "3s", repeatCount: "indefinite", begin: "2.1s" })),
29
- React.createElement("rect", { x: "77", y: "50", width: "13", height: "40", fill: colors[5], style: rectangleStyle, filter: "url(#glow)" },
30
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite", begin: "2.1s" })),
31
- React.createElement("rect", { x: "35", y: "40", width: "55", height: "10", fill: colors[0], style: rectangleStyle, filter: "url(#glow)" },
32
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite", begin: "2.4s" })),
33
- React.createElement("rect", { x: "10", y: "25", width: "10", height: "35", fill: colors[6], style: rectangleStyle, filter: "url(#glow)" },
34
- React.createElement("animate", { attributeName: "opacity", values: "1;0.8;1", dur: "3s", repeatCount: "indefinite", begin: "2.7s" })),
35
- React.createElement("rect", { x: "35", y: "50", width: "20", height: "20", fill: colors[7], style: rectangleStyle, filter: "url(#glow)" },
36
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite", begin: "0.3s" })),
37
- React.createElement("rect", { x: "55", y: "50", width: "22", height: "20", fill: colors[8], style: rectangleStyle, filter: "url(#glow)" },
38
- React.createElement("animate", { attributeName: "opacity", values: "1;0.8;1", dur: "3s", repeatCount: "indefinite", begin: "0.6s" })),
39
- React.createElement("rect", { x: "10", y: "60", width: "10", height: "30", fill: colors[1], style: rectangleStyle, filter: "url(#glow)" },
40
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite", begin: "0.9s" })),
41
- React.createElement("rect", { x: "35", y: "70", width: "25", height: "20", fill: colors[2], style: rectangleStyle, filter: "url(#glow)" },
42
- React.createElement("animate", { attributeName: "opacity", values: "1;0.8;1", dur: "3s", repeatCount: "indefinite", begin: "1.2s" })),
43
- React.createElement("rect", { x: "60", y: "70", width: "17", height: "20", fill: colors[3], style: rectangleStyle, filter: "url(#glow)" },
44
- React.createElement("animate", { attributeName: "opacity", values: "0.8;1;0.8", dur: "3s", repeatCount: "indefinite", begin: "1.5s" })),
45
- React.createElement("line", { x1: "20", y1: "10", x2: "20", y2: "90", stroke: "rgba(255, 255, 255, 0.15)", strokeWidth: "0.5" }),
46
- React.createElement("line", { x1: "35", y1: "10", x2: "35", y2: "90", stroke: "rgba(255, 255, 255, 0.15)", strokeWidth: "0.5" }),
47
- React.createElement("line", { x1: "10", y1: "22", x2: "90", y2: "22", stroke: "rgba(255, 255, 255, 0.15)", strokeWidth: "0.5" }),
48
- React.createElement("line", { x1: "10", y1: "40", x2: "90", y2: "40", stroke: "rgba(255, 255, 255, 0.15)", strokeWidth: "0.5" }),
49
- React.createElement("line", { x1: "10", y1: "50", x2: "90", y2: "50", stroke: "rgba(255, 255, 255, 0.15)", strokeWidth: "0.5" })));
50
- };
@@ -1,85 +0,0 @@
1
- import React from 'react';
2
- export const WreathLogo = ({ width = 150, height = 150, pColor = '#2C3E50', wreathColor = '#27AE60', leafAccentColor = '#52BE80', opacity = 0.9, animationSpeed = 3, }) => {
3
- const wreathRadius = 58;
4
- return (React.createElement("svg", { width: width, height: height, viewBox: "0 0 200 200", xmlns: "http://www.w3.org/2000/svg", style: { opacity } },
5
- React.createElement("defs", null,
6
- React.createElement("radialGradient", { id: "wreathGlow", cx: "50%", cy: "50%", r: "50%" },
7
- React.createElement("stop", { offset: "0%", style: { stopColor: wreathColor, stopOpacity: 0.3 } }),
8
- React.createElement("stop", { offset: "100%", style: { stopColor: wreathColor, stopOpacity: 0 } })),
9
- React.createElement("filter", { id: "softGlow" },
10
- React.createElement("feGaussianBlur", { stdDeviation: "2", result: "coloredBlur" }),
11
- React.createElement("feMerge", null,
12
- React.createElement("feMergeNode", { in: "coloredBlur" }),
13
- React.createElement("feMergeNode", { in: "SourceGraphic" })))),
14
- React.createElement("circle", { cx: "100", cy: "100", r: "70", fill: "url(#wreathGlow)", opacity: "0.3" }),
15
- React.createElement("path", { d: (() => {
16
- const numPoints = 24;
17
- const waveAmplitude = 2;
18
- let pathD = '';
19
- const points = [];
20
- // Generate all points first
21
- for (let i = 0; i <= numPoints; i++) {
22
- const angle = (360 / numPoints) * i;
23
- const radians = (angle * Math.PI) / 180;
24
- // Use sine wave for smooth variation
25
- const radiusVariation = Math.sin((angle * Math.PI) / 180 * 6) * waveAmplitude;
26
- const currentRadius = wreathRadius + radiusVariation;
27
- const x = 100 + currentRadius * Math.cos(radians);
28
- const y = 100 + currentRadius * Math.sin(radians);
29
- points.push({ x, y, angle, radians });
30
- }
31
- // Create smooth cubic bezier path with better control points
32
- pathD = `M ${points[0].x},${points[0].y}`;
33
- for (let i = 0; i < points.length - 1; i++) {
34
- const current = points[i];
35
- const next = points[i + 1];
36
- // Calculate tangent for smooth curves
37
- const tangentLength = 0.4;
38
- const cp1x = current.x - Math.sin(current.radians) * tangentLength * 15;
39
- const cp1y = current.y + Math.cos(current.radians) * tangentLength * 15;
40
- const cp2x = next.x + Math.sin(next.radians) * tangentLength * 15;
41
- const cp2y = next.y - Math.cos(next.radians) * tangentLength * 15;
42
- pathD += ` C ${cp1x},${cp1y} ${cp2x},${cp2y} ${next.x},${next.y}`;
43
- }
44
- return pathD + ' Z';
45
- })(), fill: "none", stroke: wreathColor, strokeWidth: "7", strokeLinecap: "round", strokeLinejoin: "round", opacity: "0.75", filter: "url(#softGlow)" },
46
- React.createElement("animate", { attributeName: "stroke-opacity", values: "0.65;0.85;0.65", dur: `${animationSpeed}s`, repeatCount: "indefinite" })),
47
- React.createElement("path", { d: (() => {
48
- const numPoints = 24;
49
- const waveAmplitude = 1.5;
50
- const innerRadius = wreathRadius - 9;
51
- let pathD = '';
52
- const points = [];
53
- for (let i = 0; i <= numPoints; i++) {
54
- const angle = (360 / numPoints) * i + 15; // Offset from main wreath
55
- const radians = (angle * Math.PI) / 180;
56
- // Use sine wave offset for smooth variation
57
- const radiusVariation = Math.sin(((angle + 30) * Math.PI) / 180 * 6) * waveAmplitude;
58
- const currentRadius = innerRadius + radiusVariation;
59
- const x = 100 + currentRadius * Math.cos(radians);
60
- const y = 100 + currentRadius * Math.sin(radians);
61
- points.push({ x, y, radians });
62
- }
63
- pathD = `M ${points[0].x},${points[0].y}`;
64
- for (let i = 0; i < points.length - 1; i++) {
65
- const current = points[i];
66
- const next = points[i + 1];
67
- const tangentLength = 0.4;
68
- const cp1x = current.x - Math.sin(current.radians) * tangentLength * 15;
69
- const cp1y = current.y + Math.cos(current.radians) * tangentLength * 15;
70
- const cp2x = next.x + Math.sin(next.radians) * tangentLength * 15;
71
- const cp2y = next.y - Math.cos(next.radians) * tangentLength * 15;
72
- pathD += ` C ${cp1x},${cp1y} ${cp2x},${cp2y} ${next.x},${next.y}`;
73
- }
74
- return pathD + ' Z';
75
- })(), fill: "none", stroke: leafAccentColor, strokeWidth: "5", strokeLinecap: "round", strokeLinejoin: "round", opacity: "0.6", filter: "url(#softGlow)" },
76
- React.createElement("animate", { attributeName: "stroke-opacity", values: "0.5;0.7;0.5", dur: `${animationSpeed}s`, repeatCount: "indefinite", begin: "0.5s" })),
77
- React.createElement("g", { filter: "url(#softGlow)" },
78
- React.createElement("defs", null,
79
- React.createElement("linearGradient", { id: "pGradient", x1: "0%", y1: "0%", x2: "0%", y2: "100%" },
80
- React.createElement("stop", { offset: "0%", style: { stopColor: pColor, stopOpacity: 1 } }),
81
- React.createElement("stop", { offset: "100%", style: { stopColor: pColor, stopOpacity: 0.85 } }))),
82
- React.createElement("path", { d: "M 82,70\n L 82,130\n L 90,130\n L 90,102\n L 104,102\n C 114,102 122,94 122,84\n C 122,74 114,70 104,70\n Z\n M 90,78\n L 104,78\n C 109,78 114,80 114,84\n C 114,88 109,94 104,94\n L 90,94\n Z", fill: "url(#pGradient)" },
83
- React.createElement("animate", { attributeName: "opacity", values: "0.95;1;0.95", dur: `${animationSpeed}s`, repeatCount: "indefinite" })),
84
- React.createElement("path", { d: "M 83,72 L 83,128 L 84,128 L 84,72 Z", fill: "white", opacity: "0.15" }))));
85
- };