@principal-ai/logo-component 0.1.15 → 0.1.17
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/FileCityLogo.d.ts +74 -0
- package/dist/FileCityLogo.js +355 -0
- package/dist/TrailCityDiagram.d.ts +50 -0
- package/dist/TrailCityDiagram.js +277 -0
- package/dist/esm/FileCityLogo.js +318 -0
- package/dist/esm/TrailCityDiagram.js +241 -0
- package/dist/esm/index.js +2 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.js +5 -1
- package/package.json +2 -2
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { useId, useMemo } from 'react';
|
|
3
|
+
const VIEW_W = 700;
|
|
4
|
+
const VIEW_H = 700;
|
|
5
|
+
const CITY_COLS = 12;
|
|
6
|
+
const CITY_ROWS = 12;
|
|
7
|
+
const CELL_W = 50;
|
|
8
|
+
const CELL_H = 50;
|
|
9
|
+
const CITY_OFFSET_X = 50;
|
|
10
|
+
const CITY_OFFSET_Y = 50;
|
|
11
|
+
/** Center point of a grid cell, in viewBox coords. */
|
|
12
|
+
function cellCenter(col, row) {
|
|
13
|
+
return {
|
|
14
|
+
x: CITY_OFFSET_X + col * CELL_W + CELL_W / 2,
|
|
15
|
+
y: CITY_OFFSET_Y + row * CELL_H + CELL_H / 2,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function buildCity(palette, pinned) {
|
|
19
|
+
const rng = mulberry32(7);
|
|
20
|
+
const cells = [];
|
|
21
|
+
for (let r = 0; r < CITY_ROWS; r++) {
|
|
22
|
+
for (let c = 0; c < CITY_COLS; c++) {
|
|
23
|
+
const isPinned = pinned.has(`${c},${r}`);
|
|
24
|
+
// Pinned cells (the ones markers sit on top of) always get a
|
|
25
|
+
// building so the marker has something to be centered on. Other
|
|
26
|
+
// cells skip occasionally to break up the grid.
|
|
27
|
+
const skipRoll = rng();
|
|
28
|
+
// Keep the RNG sequence stable so colors don't shift after dropping
|
|
29
|
+
// the per-building size jitter.
|
|
30
|
+
rng();
|
|
31
|
+
rng();
|
|
32
|
+
const colorRoll = rng();
|
|
33
|
+
if (!isPinned && skipRoll < 0.18)
|
|
34
|
+
continue;
|
|
35
|
+
const w = CELL_W - 8;
|
|
36
|
+
const h = CELL_H - 8;
|
|
37
|
+
cells.push({
|
|
38
|
+
x: CITY_OFFSET_X + c * CELL_W + (CELL_W - w) / 2,
|
|
39
|
+
y: CITY_OFFSET_Y + r * CELL_H + (CELL_H - h) / 2,
|
|
40
|
+
w,
|
|
41
|
+
h,
|
|
42
|
+
fill: palette[Math.floor(colorRoll * palette.length)],
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return cells;
|
|
47
|
+
}
|
|
48
|
+
function mulberry32(seed) {
|
|
49
|
+
let t = seed;
|
|
50
|
+
return () => {
|
|
51
|
+
t = (t + 0x6d2b79f5) | 0;
|
|
52
|
+
let r = t;
|
|
53
|
+
r = Math.imul(r ^ (r >>> 15), r | 1);
|
|
54
|
+
r ^= r + Math.imul(r ^ (r >>> 7), r | 61);
|
|
55
|
+
return ((r ^ (r >>> 14)) >>> 0) / 4294967296;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/** VH leader from `a` (marker) to `b` (snippet anchor): exits `a` going
|
|
59
|
+
* vertically toward `b.y`, then turns and runs horizontally to `b.x`. */
|
|
60
|
+
function lRoutePath(a, b, radius = 12) {
|
|
61
|
+
const goingUp = b.y < a.y;
|
|
62
|
+
const ySign = goingUp ? -1 : 1;
|
|
63
|
+
const xSign = b.x < a.x ? -1 : 1;
|
|
64
|
+
const r = Math.min(radius, Math.abs(a.y - b.y) / 2, Math.abs(a.x - b.x) / 2);
|
|
65
|
+
return [
|
|
66
|
+
`M ${a.x} ${a.y}`,
|
|
67
|
+
`L ${a.x} ${b.y - ySign * r}`,
|
|
68
|
+
`Q ${a.x} ${b.y} ${a.x + xSign * r} ${b.y}`,
|
|
69
|
+
`L ${b.x} ${b.y}`,
|
|
70
|
+
].join(' ');
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Static SVG version of the FileCity trail overlay — a top-down grid of
|
|
74
|
+
* building rectangles with numbered markers wired by a dashed path, plus
|
|
75
|
+
* an L-routed leader line to a snippet card. Mirrors the look of
|
|
76
|
+
* `TrailFilePath` + `TrailLeaderLine` from the 3D panel without the
|
|
77
|
+
* three.js projection — suitable for marketing surfaces.
|
|
78
|
+
*/
|
|
79
|
+
export function TrailCityDiagram({ theme, className, hideSnippet = false, snippetVisible = true, hideTrail = false, trailVisible = true, highlightTrail = false, stampRowVisible = false, userStamped = false, }) {
|
|
80
|
+
var _a, _b, _c, _d, _e, _f;
|
|
81
|
+
const snippetGateStyle = {
|
|
82
|
+
opacity: snippetVisible ? 1 : 0,
|
|
83
|
+
transition: 'opacity 500ms ease',
|
|
84
|
+
transitionDelay: snippetVisible ? '700ms' : '0ms',
|
|
85
|
+
};
|
|
86
|
+
const trailGateStyle = {
|
|
87
|
+
opacity: trailVisible ? 1 : 0,
|
|
88
|
+
transition: 'opacity 500ms ease',
|
|
89
|
+
};
|
|
90
|
+
const stampRowGateStyle = {
|
|
91
|
+
opacity: stampRowVisible ? 1 : 0,
|
|
92
|
+
transition: 'opacity 500ms ease',
|
|
93
|
+
transitionDelay: stampRowVisible ? '700ms' : '0ms',
|
|
94
|
+
};
|
|
95
|
+
const colors = theme === null || theme === void 0 ? void 0 : theme.colors;
|
|
96
|
+
const uid = useId().replace(/:/g, '');
|
|
97
|
+
const accent = (_a = colors === null || colors === void 0 ? void 0 : colors.primary) !== null && _a !== void 0 ? _a : '#22d3ee';
|
|
98
|
+
const surface = (_b = colors === null || colors === void 0 ? void 0 : colors.surface) !== null && _b !== void 0 ? _b : '#0f1419';
|
|
99
|
+
const text = (_c = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _c !== void 0 ? _c : '#f8fafc';
|
|
100
|
+
const muted = (_d = colors === null || colors === void 0 ? void 0 : colors.textMuted) !== null && _d !== void 0 ? _d : '#94a3b8';
|
|
101
|
+
const bg = (_e = colors === null || colors === void 0 ? void 0 : colors.background) !== null && _e !== void 0 ? _e : '#0a0f14';
|
|
102
|
+
const success = (_f = colors === null || colors === void 0 ? void 0 : colors.success) !== null && _f !== void 0 ? _f : '#10b981';
|
|
103
|
+
// Silvery white-grey ink for ACK stamps — brighter than `muted` so it
|
|
104
|
+
// reads cleanly against the dark city.
|
|
105
|
+
const silver = '#d1d8e0';
|
|
106
|
+
const palette = useMemo(() => [
|
|
107
|
+
withAlpha(accent, 0.18),
|
|
108
|
+
withAlpha(accent, 0.32),
|
|
109
|
+
withAlpha(text, 0.08),
|
|
110
|
+
withAlpha(text, 0.14),
|
|
111
|
+
withAlpha(text, 0.22),
|
|
112
|
+
], [accent, text]);
|
|
113
|
+
const markerCells = useMemo(() => [
|
|
114
|
+
{ col: 1, row: 10, label: '1' },
|
|
115
|
+
{ col: 3, row: 7, label: '2' },
|
|
116
|
+
{ col: 6, row: 9, label: '3' },
|
|
117
|
+
{ col: 4, row: 5, label: '4' },
|
|
118
|
+
], []);
|
|
119
|
+
const pinnedCells = useMemo(() => new Set(markerCells.map(m => `${m.col},${m.row}`)), [markerCells]);
|
|
120
|
+
const buildings = useMemo(() => buildCity(palette, pinnedCells), [palette, pinnedCells]);
|
|
121
|
+
const markers = useMemo(() => markerCells.map(m => {
|
|
122
|
+
const c = cellCenter(m.col, m.row);
|
|
123
|
+
return { x: c.x, y: c.y, label: m.label };
|
|
124
|
+
}), [markerCells]);
|
|
125
|
+
const trailPath = useMemo(() => {
|
|
126
|
+
const [first, ...rest] = markers;
|
|
127
|
+
if (!first)
|
|
128
|
+
return '';
|
|
129
|
+
return [`M ${first.x} ${first.y}`, ...rest.map(m => `L ${m.x} ${m.y}`)].join(' ');
|
|
130
|
+
}, [markers]);
|
|
131
|
+
const activeMarker = markers[markers.length - 1];
|
|
132
|
+
const snippetAnchor = { x: VIEW_W - 320, y: 100 };
|
|
133
|
+
const leaderPath = useMemo(() => activeMarker
|
|
134
|
+
? lRoutePath({ x: activeMarker.x, y: activeMarker.y }, snippetAnchor)
|
|
135
|
+
: '', [activeMarker, snippetAnchor.x, snippetAnchor.y]);
|
|
136
|
+
return (React.createElement("svg", { viewBox: `0 0 ${VIEW_W} ${VIEW_H}`, className: className, style: { display: 'block', width: '100%', height: 'auto', overflow: 'visible' }, role: "img", "aria-label": "A trail of code locations connected across a top-down city of files" },
|
|
137
|
+
React.createElement("defs", null,
|
|
138
|
+
React.createElement("linearGradient", { id: `fade-${uid}`, x1: "0", x2: "0", y1: "0", y2: "1" },
|
|
139
|
+
React.createElement("stop", { offset: "0%", stopColor: bg, stopOpacity: 0 }),
|
|
140
|
+
React.createElement("stop", { offset: "100%", stopColor: bg, stopOpacity: 0.7 }))),
|
|
141
|
+
React.createElement("rect", { x: 0, y: 0, width: VIEW_W, height: VIEW_H, fill: bg, rx: 12 }),
|
|
142
|
+
React.createElement("g", { style: {
|
|
143
|
+
opacity: highlightTrail ? 0.2 : 1,
|
|
144
|
+
transition: 'opacity 300ms ease',
|
|
145
|
+
} }, buildings.map((b, i) => (React.createElement("rect", { key: i, x: b.x, y: b.y, width: b.w, height: b.h, fill: b.fill, stroke: withAlpha(text, 0.08), strokeWidth: 0.5, rx: 2 })))),
|
|
146
|
+
!hideSnippet && (() => {
|
|
147
|
+
const activeCell = markerCells[markerCells.length - 1];
|
|
148
|
+
if (!activeCell)
|
|
149
|
+
return null;
|
|
150
|
+
return (React.createElement("g", { style: snippetGateStyle },
|
|
151
|
+
React.createElement("rect", { x: CITY_OFFSET_X + activeCell.col * CELL_W + 4, y: CITY_OFFSET_Y + activeCell.row * CELL_H + 4, width: CELL_W - 8, height: CELL_H - 8, fill: "none", stroke: accent, strokeWidth: 2, rx: 2, style: {
|
|
152
|
+
opacity: highlightTrail ? 0.2 : 1,
|
|
153
|
+
transition: 'opacity 300ms ease',
|
|
154
|
+
} })));
|
|
155
|
+
})(),
|
|
156
|
+
React.createElement("rect", { x: 0, y: VIEW_H - 80, width: VIEW_W, height: 80, fill: `url(#fade-${uid})`, pointerEvents: "none" }),
|
|
157
|
+
!hideTrail && (React.createElement("g", { style: trailGateStyle },
|
|
158
|
+
React.createElement("path", { d: trailPath, fill: "none", stroke: accent, strokeWidth: highlightTrail ? 3.5 : 2, strokeLinecap: "round", strokeDasharray: "6 5", opacity: highlightTrail ? 1 : 0.9, style: {
|
|
159
|
+
transition: 'stroke-width 300ms ease, opacity 300ms ease',
|
|
160
|
+
filter: highlightTrail
|
|
161
|
+
? `drop-shadow(0 0 8px ${withAlpha(accent, 0.7)})`
|
|
162
|
+
: undefined,
|
|
163
|
+
} }, highlightTrail && (React.createElement("animate", { attributeName: "stroke-dashoffset", from: 0, to: -44, dur: "1.4s", repeatCount: "indefinite" }))))),
|
|
164
|
+
!hideSnippet && (React.createElement("g", { style: snippetGateStyle },
|
|
165
|
+
React.createElement("path", { d: leaderPath, fill: "none", stroke: accent, strokeWidth: 1.5, strokeDasharray: "5 4", opacity: highlightTrail ? 0 : 0.7, style: { transition: 'opacity 300ms ease' } }),
|
|
166
|
+
activeMarker && (React.createElement("circle", { cx: activeMarker.x, cy: activeMarker.y, r: 3.5, fill: accent, opacity: highlightTrail ? 0 : 1, style: { transition: 'opacity 300ms ease' } })))),
|
|
167
|
+
!hideTrail && (React.createElement("g", { style: trailGateStyle }, markers.map((m, i) => {
|
|
168
|
+
const isActive = i === markers.length - 1;
|
|
169
|
+
const size = 22;
|
|
170
|
+
const half = size / 2;
|
|
171
|
+
return (React.createElement("g", { key: m.label },
|
|
172
|
+
isActive && (React.createElement("rect", { x: m.x - half - 4, y: m.y - half - 4, width: size + 8, height: size + 8, rx: 6, fill: accent, opacity: 0.18 },
|
|
173
|
+
React.createElement("animate", { attributeName: "opacity", values: "0.28;0;0.28", dur: "2.4s", repeatCount: "indefinite" }))),
|
|
174
|
+
React.createElement("rect", { x: m.x - half, y: m.y - half, width: size, height: size, rx: 4, fill: surface, stroke: accent, strokeWidth: 1.75 }),
|
|
175
|
+
React.createElement("text", { x: m.x, y: m.y + 1, textAnchor: "middle", dominantBaseline: "central", fontSize: 14, fontWeight: 700, fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", fill: text }, m.label)));
|
|
176
|
+
}))),
|
|
177
|
+
!hideSnippet && (React.createElement("g", { style: snippetGateStyle },
|
|
178
|
+
React.createElement("g", { style: {
|
|
179
|
+
opacity: highlightTrail ? 0.15 : 1,
|
|
180
|
+
transition: 'opacity 300ms ease',
|
|
181
|
+
} },
|
|
182
|
+
React.createElement("circle", { cx: snippetAnchor.x, cy: snippetAnchor.y, r: 3.5, fill: accent }),
|
|
183
|
+
React.createElement(SnippetCard, { x: snippetAnchor.x, y: snippetAnchor.y - 22, surface: surface, text: text, muted: muted, accent: accent })))),
|
|
184
|
+
React.createElement("g", { style: stampRowGateStyle }, [
|
|
185
|
+
{ initials: 'AJ', kind: 'LGTM', rotation: -6 },
|
|
186
|
+
{ initials: 'MK', kind: 'ACK', rotation: 4 },
|
|
187
|
+
{ initials: 'RT', kind: 'LGTM', rotation: -3 },
|
|
188
|
+
{ initials: null, kind: null, rotation: 0 },
|
|
189
|
+
].map((s, i) => {
|
|
190
|
+
const isEmpty = s.initials === null;
|
|
191
|
+
if (isEmpty && userStamped)
|
|
192
|
+
return null;
|
|
193
|
+
const W = 54;
|
|
194
|
+
const H = 36;
|
|
195
|
+
const gap = 6;
|
|
196
|
+
const rowX = snippetAnchor.x;
|
|
197
|
+
const rowY = snippetAnchor.y + 200;
|
|
198
|
+
const cx = rowX + i * (W + gap) + W / 2;
|
|
199
|
+
const cy = rowY + H / 2;
|
|
200
|
+
const ink = isEmpty ? muted : s.kind === 'LGTM' ? success : silver;
|
|
201
|
+
return (React.createElement("g", { key: i, transform: `translate(${cx}, ${cy}) rotate(${s.rotation})`, opacity: isEmpty ? 0.55 : 0.85 },
|
|
202
|
+
React.createElement("rect", { x: -W / 2, y: -H / 2, width: W, height: H, rx: 4, fill: isEmpty ? 'none' : withAlpha(ink, 0.08), stroke: ink, strokeWidth: 1.5, strokeDasharray: isEmpty ? '3 3' : undefined }),
|
|
203
|
+
!isEmpty && (React.createElement(React.Fragment, null,
|
|
204
|
+
React.createElement("rect", { x: -W / 2 + 3, y: -H / 2 + 3, width: W - 6, height: H - 6, rx: 2, fill: "none", stroke: ink, strokeWidth: 0.75, opacity: 0.7 }),
|
|
205
|
+
React.createElement("text", { x: 0, y: -5, textAnchor: "middle", dominantBaseline: "central", fontSize: 11, fontWeight: 700, fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", fill: ink, letterSpacing: "0.1em" }, s.initials),
|
|
206
|
+
React.createElement("text", { x: 0, y: 7, textAnchor: "middle", dominantBaseline: "central", fontSize: 7, fontWeight: 700, fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", fill: ink, letterSpacing: "0.14em" }, s.kind))),
|
|
207
|
+
isEmpty && (React.createElement("text", { x: 0, y: 1, textAnchor: "middle", dominantBaseline: "central", fontSize: 18, fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", fill: ink, opacity: 0.7 }, "+"))));
|
|
208
|
+
}))));
|
|
209
|
+
}
|
|
210
|
+
function SnippetCard({ x, y, surface, text, muted, accent, }) {
|
|
211
|
+
const W = 280;
|
|
212
|
+
const H = 200;
|
|
213
|
+
const HEADER = 28;
|
|
214
|
+
const lines = [
|
|
215
|
+
{ w: 170, c: muted },
|
|
216
|
+
{ w: 220, c: text },
|
|
217
|
+
{ w: 130, c: accent },
|
|
218
|
+
{ w: 200, c: text },
|
|
219
|
+
{ w: 150, c: muted },
|
|
220
|
+
{ w: 100, c: text },
|
|
221
|
+
];
|
|
222
|
+
return (React.createElement("g", { transform: `translate(${x}, ${y})` },
|
|
223
|
+
React.createElement("rect", { width: W, height: H, rx: 10, fill: surface, stroke: withAlpha(accent, 0.55), strokeWidth: 1.5 }),
|
|
224
|
+
React.createElement("rect", { width: W, height: HEADER, rx: 10, fill: withAlpha(accent, 0.08) }),
|
|
225
|
+
React.createElement("text", { x: 16, y: HEADER / 2, dominantBaseline: "central", fontSize: 13, fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", fill: text }, "db/users.ts:42"),
|
|
226
|
+
React.createElement("g", { transform: `translate(16, ${HEADER + 18})` }, lines.map((l, i) => (React.createElement("rect", { key: i, x: 0, y: i * 20, width: l.w, height: 7, rx: 2, fill: l.c, opacity: 0.75 }))))));
|
|
227
|
+
}
|
|
228
|
+
function withAlpha(color, alpha) {
|
|
229
|
+
// Accept #rgb / #rrggbb / rgb()/rgba()/hsl()/named — leave non-hex
|
|
230
|
+
// as-is and rely on the caller. For hex, append a 2-digit alpha.
|
|
231
|
+
if (/^#([0-9a-f]{3}){1,2}$/i.test(color)) {
|
|
232
|
+
let hex = color.slice(1);
|
|
233
|
+
if (hex.length === 3)
|
|
234
|
+
hex = hex.split('').map(c => c + c).join('');
|
|
235
|
+
const a = Math.round(Math.max(0, Math.min(1, alpha)) * 255)
|
|
236
|
+
.toString(16)
|
|
237
|
+
.padStart(2, '0');
|
|
238
|
+
return `#${hex}${a}`;
|
|
239
|
+
}
|
|
240
|
+
return color;
|
|
241
|
+
}
|
package/dist/esm/index.js
CHANGED
|
@@ -6,5 +6,7 @@ export { WreathLogo } from './WreathLogo';
|
|
|
6
6
|
export { TelemetryReveal } from './TelemetryReveal';
|
|
7
7
|
export { TextReveal } from './TextReveal';
|
|
8
8
|
export { OpenTypeTextReveal } from './OpenTypeTextReveal';
|
|
9
|
+
export { TrailCityDiagram } from './TrailCityDiagram';
|
|
10
|
+
export { FileCityLogo } from './FileCityLogo';
|
|
9
11
|
export { TELEMETRY_PRESETS } from './presets';
|
|
10
12
|
export { STROKE_CHARACTERS, layoutText } from './strokeCharacters';
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ export { WreathLogo } from './WreathLogo';
|
|
|
6
6
|
export { TelemetryReveal } from './TelemetryReveal';
|
|
7
7
|
export { TextReveal } from './TextReveal';
|
|
8
8
|
export { OpenTypeTextReveal } from './OpenTypeTextReveal';
|
|
9
|
+
export { TrailCityDiagram } from './TrailCityDiagram';
|
|
10
|
+
export type { TrailCityDiagramProps } from './TrailCityDiagram';
|
|
11
|
+
export { FileCityLogo } from './FileCityLogo';
|
|
12
|
+
export type { FileCityLogoProps, FileCityMark, FileCityGradient } from './FileCityLogo';
|
|
9
13
|
export { TELEMETRY_PRESETS } from './presets';
|
|
10
14
|
export { STROKE_CHARACTERS, layoutText } from './strokeCharacters';
|
|
11
15
|
export type { PathDefinition, ShapePreset } from './presets';
|
package/dist/index.esm.js
CHANGED
|
@@ -6,5 +6,7 @@ export { WreathLogo } from './WreathLogo';
|
|
|
6
6
|
export { TelemetryReveal } from './TelemetryReveal';
|
|
7
7
|
export { TextReveal } from './TextReveal';
|
|
8
8
|
export { OpenTypeTextReveal } from './OpenTypeTextReveal';
|
|
9
|
+
export { TrailCityDiagram } from './TrailCityDiagram';
|
|
10
|
+
export { FileCityLogo } from './FileCityLogo';
|
|
9
11
|
export { TELEMETRY_PRESETS } from './presets';
|
|
10
12
|
export { STROKE_CHARACTERS, layoutText } from './strokeCharacters';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.layoutText = exports.STROKE_CHARACTERS = exports.TELEMETRY_PRESETS = exports.OpenTypeTextReveal = exports.TextReveal = exports.TelemetryReveal = exports.WreathLogo = exports.SquareLogo = exports.ForksLogo = exports.LogoSmall = exports.Logo = void 0;
|
|
3
|
+
exports.layoutText = exports.STROKE_CHARACTERS = exports.TELEMETRY_PRESETS = exports.FileCityLogo = exports.TrailCityDiagram = exports.OpenTypeTextReveal = exports.TextReveal = exports.TelemetryReveal = exports.WreathLogo = exports.SquareLogo = exports.ForksLogo = exports.LogoSmall = exports.Logo = void 0;
|
|
4
4
|
var Logo_1 = require("./Logo");
|
|
5
5
|
Object.defineProperty(exports, "Logo", { enumerable: true, get: function () { return Logo_1.Logo; } });
|
|
6
6
|
var LogoSmall_1 = require("./LogoSmall");
|
|
@@ -17,6 +17,10 @@ var TextReveal_1 = require("./TextReveal");
|
|
|
17
17
|
Object.defineProperty(exports, "TextReveal", { enumerable: true, get: function () { return TextReveal_1.TextReveal; } });
|
|
18
18
|
var OpenTypeTextReveal_1 = require("./OpenTypeTextReveal");
|
|
19
19
|
Object.defineProperty(exports, "OpenTypeTextReveal", { enumerable: true, get: function () { return OpenTypeTextReveal_1.OpenTypeTextReveal; } });
|
|
20
|
+
var TrailCityDiagram_1 = require("./TrailCityDiagram");
|
|
21
|
+
Object.defineProperty(exports, "TrailCityDiagram", { enumerable: true, get: function () { return TrailCityDiagram_1.TrailCityDiagram; } });
|
|
22
|
+
var FileCityLogo_1 = require("./FileCityLogo");
|
|
23
|
+
Object.defineProperty(exports, "FileCityLogo", { enumerable: true, get: function () { return FileCityLogo_1.FileCityLogo; } });
|
|
20
24
|
var presets_1 = require("./presets");
|
|
21
25
|
Object.defineProperty(exports, "TELEMETRY_PRESETS", { enumerable: true, get: function () { return presets_1.TELEMETRY_PRESETS; } });
|
|
22
26
|
var strokeCharacters_1 = require("./strokeCharacters");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@principal-ai/logo-component",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "Animated wireframe sphere logo component",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"react": "^18.0.0 || ^19.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@principal-ade/industry-theme": "^0.1.
|
|
29
|
+
"@principal-ade/industry-theme": "^0.1.20",
|
|
30
30
|
"@storybook/addon-essentials": "^8.6.14",
|
|
31
31
|
"@storybook/blocks": "^8.6.14",
|
|
32
32
|
"@storybook/react": "^8.6.14",
|