@busiverse/ui 0.2.18 → 0.2.19
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/brand.js +1 -1
- package/dist/{chunk-732WJVQR.js → chunk-LA27E2SE.js} +1 -1
- package/dist/{chunk-32FPZZH2.js → chunk-RO6ZPS75.js} +8 -2
- package/dist/components/brand/BusiverseLogo.d.ts +9 -1
- package/dist/components/brand/BusiverseLogo.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/marketing.js +2 -2
- package/dist/styles.css +19 -3
- package/package.json +1 -1
package/dist/brand.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-PYZVP4NI.js";
|
|
4
4
|
|
|
5
5
|
// src/components/brand/BusiverseLogo.tsx
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
var icon_white = `<svg width="100" height="100" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg" class=""><circle cx="90" cy="90" r="16" fill="#FFFFFF"/><circle cx="50" cy="50" r="10" fill="#FFFFFF" opacity="0.9"/><circle cx="130" cy="50" r="10" fill="#FFFFFF" opacity="0.9"/><circle cx="50" cy="130" r="10" fill="#FFFFFF" opacity="0.9"/><circle cx="130" cy="130" r="10" fill="#FFFFFF" opacity="0.9"/><circle cx="30" cy="90" r="8" fill="#FFFFFF" opacity="0.7"/><circle cx="150" cy="90" r="8" fill="#FFFFFF" opacity="0.7"/><circle cx="90" cy="30" r="8" fill="#FFFFFF" opacity="0.7"/><circle cx="90" cy="150" r="8" fill="#FFFFFF" opacity="0.7"/><line x1="90" y1="90" x2="50" y2="50" stroke="#FFFFFF" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="130" y2="50" stroke="#FFFFFF" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="50" y2="130" stroke="#FFFFFF" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="130" y2="130" stroke="#FFFFFF" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="30" y2="90" stroke="#FFFFFF" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="150" y2="90" stroke="#FFFFFF" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="90" y2="30" stroke="#FFFFFF" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="90" y2="150" stroke="#FFFFFF" stroke-width="2" opacity="0.4"/><circle cx="90" cy="90" r="65" stroke="#FFFFFF" stroke-width="2.5" fill="none" opacity="0.3"/><circle cx="90" cy="90" r="75" stroke="#FFFFFF" stroke-width="1.5" fill="none" opacity="0.2"/></svg>`;
|
|
8
8
|
var icon_black = `<svg width="100" height="100" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg" class=""><circle cx="90" cy="90" r="16" fill="#000000"/><circle cx="50" cy="50" r="10" fill="#000000" opacity="0.9"/><circle cx="130" cy="50" r="10" fill="#000000" opacity="0.9"/><circle cx="50" cy="130" r="10" fill="#000000" opacity="0.9"/><circle cx="130" cy="130" r="10" fill="#000000" opacity="0.9"/><circle cx="30" cy="90" r="8" fill="#000000" opacity="0.7"/><circle cx="150" cy="90" r="8" fill="#000000" opacity="0.7"/><circle cx="90" cy="30" r="8" fill="#000000" opacity="0.7"/><circle cx="90" cy="150" r="8" fill="#000000" opacity="0.7"/><line x1="90" y1="90" x2="50" y2="50" stroke="#000000" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="130" y2="50" stroke="#000000" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="50" y2="130" stroke="#000000" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="130" y2="130" stroke="#000000" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="30" y2="90" stroke="#000000" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="150" y2="90" stroke="#000000" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="90" y2="30" stroke="#000000" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="90" y2="150" stroke="#000000" stroke-width="2" opacity="0.4"/><circle cx="90" cy="90" r="65" stroke="#000000" stroke-width="2.5" fill="none" opacity="0.3"/><circle cx="90" cy="90" r="75" stroke="#000000" stroke-width="1.5" fill="none" opacity="0.2"/></svg>`;
|
|
9
9
|
var icon_color = `<svg width="100" height="100" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg" class=""><circle cx="90" cy="90" r="16" fill="#3B82F6"/><circle cx="50" cy="50" r="10" fill="#8B5CF6" opacity="0.9"/><circle cx="130" cy="50" r="10" fill="#06B6D4" opacity="0.9"/><circle cx="50" cy="130" r="10" fill="#06B6D4" opacity="0.9"/><circle cx="130" cy="130" r="10" fill="#8B5CF6" opacity="0.9"/><circle cx="30" cy="90" r="8" fill="#3B82F6" opacity="0.7"/><circle cx="150" cy="90" r="8" fill="#3B82F6" opacity="0.7"/><circle cx="90" cy="30" r="8" fill="#06B6D4" opacity="0.7"/><circle cx="90" cy="150" r="8" fill="#06B6D4" opacity="0.7"/><line x1="90" y1="90" x2="50" y2="50" stroke="#3B82F6" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="130" y2="50" stroke="#3B82F6" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="50" y2="130" stroke="#3B82F6" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="130" y2="130" stroke="#3B82F6" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="30" y2="90" stroke="#3B82F6" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="150" y2="90" stroke="#3B82F6" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="90" y2="30" stroke="#3B82F6" stroke-width="2" opacity="0.4"/><line x1="90" y1="90" x2="90" y2="150" stroke="#3B82F6" stroke-width="2" opacity="0.4"/><circle cx="90" cy="90" r="65" stroke="#3B82F6" stroke-width="2.5" fill="none" opacity="0.3"/><circle cx="90" cy="90" r="75" stroke="#8B5CF6" stroke-width="1.5" fill="none" opacity="0.2"/></svg>`;
|
|
@@ -22,7 +22,13 @@ var svgMap = {
|
|
|
22
22
|
full: { white: full_white, black: full_black, color: full_color },
|
|
23
23
|
vertical: { white: vertical_white, black: vertical_black, color: vertical_color }
|
|
24
24
|
};
|
|
25
|
-
function BusiverseLogo({ variant = "horizontal", tone = "
|
|
25
|
+
function BusiverseLogo({ variant = "horizontal", tone = "auto", label = "BUSIVERSE", className, ...props }) {
|
|
26
|
+
if (tone === "auto") {
|
|
27
|
+
return /* @__PURE__ */ jsxs("span", { role: "img", "aria-label": label, className: cn("busiverse-logo busiverse-logo-auto", className), ...props, children: [
|
|
28
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "busiverse-logo-on-dark", dangerouslySetInnerHTML: { __html: svgMap[variant].white } }),
|
|
29
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "busiverse-logo-on-light", dangerouslySetInnerHTML: { __html: svgMap[variant].black } })
|
|
30
|
+
] });
|
|
31
|
+
}
|
|
26
32
|
return /* @__PURE__ */ jsx(
|
|
27
33
|
"span",
|
|
28
34
|
{
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export type BusiverseLogoVariant = "icon" | "horizontal" | "full" | "vertical";
|
|
3
|
-
export type BusiverseLogoTone = "white" | "black" | "color";
|
|
3
|
+
export type BusiverseLogoTone = "white" | "black" | "color" | "auto";
|
|
4
4
|
export interface BusiverseLogoProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
5
5
|
variant?: BusiverseLogoVariant;
|
|
6
6
|
tone?: BusiverseLogoTone;
|
|
7
7
|
label?: string;
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* The mark, in a tone that survives whichever theme the viewer is in.
|
|
11
|
+
*
|
|
12
|
+
* <p>The artwork is three fixed colourways rather than one that inherits `currentColor`, so a single
|
|
13
|
+
* baked tone is only ever right against one background: white art disappears on a light header and
|
|
14
|
+
* black art on a dark one. `auto` carries both and lets the theme class pick, which is correct on
|
|
15
|
+
* first paint and needs no script.
|
|
16
|
+
*/
|
|
9
17
|
export declare function BusiverseLogo({ variant, tone, label, className, ...props }: BusiverseLogoProps): React.JSX.Element;
|
|
10
18
|
//# sourceMappingURL=BusiverseLogo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusiverseLogo.d.ts","sourceRoot":"","sources":["../../../src/components/brand/BusiverseLogo.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,YAAY,GAAG,MAAM,GAAG,UAAU,CAAC;AAC/E,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BusiverseLogo.d.ts","sourceRoot":"","sources":["../../../src/components/brand/BusiverseLogo.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,YAAY,GAAG,MAAM,GAAG,UAAU,CAAC;AAC/E,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAsBrE,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAC/E,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAAE,OAAsB,EAAE,IAAa,EAAE,KAAmB,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,qBAmBpI"}
|
package/dist/index.js
CHANGED
|
@@ -65,13 +65,13 @@ import {
|
|
|
65
65
|
MarketingFeatureCard,
|
|
66
66
|
MarketingPricingCard,
|
|
67
67
|
MarketingSectionHeader
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-LA27E2SE.js";
|
|
69
69
|
import {
|
|
70
70
|
Button
|
|
71
71
|
} from "./chunk-IVTESKF4.js";
|
|
72
72
|
import {
|
|
73
73
|
BusiverseLogo
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-RO6ZPS75.js";
|
|
75
75
|
import {
|
|
76
76
|
BusiverseGithubIcon,
|
|
77
77
|
BusiverseLinkedInIcon,
|
package/dist/marketing.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
MarketingFeatureCard,
|
|
4
4
|
MarketingPricingCard,
|
|
5
5
|
MarketingSectionHeader
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LA27E2SE.js";
|
|
7
7
|
import "./chunk-IVTESKF4.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-RO6ZPS75.js";
|
|
9
9
|
import "./chunk-PYZVP4NI.js";
|
|
10
10
|
export {
|
|
11
11
|
HeroSection,
|
package/dist/styles.css
CHANGED
|
@@ -323,6 +323,10 @@
|
|
|
323
323
|
|
|
324
324
|
.busiverse-logo { display: inline-flex; line-height: 0; }
|
|
325
325
|
.busiverse-logo svg { width: 100%; height: auto; }
|
|
326
|
+
.busiverse-logo-auto > span { display: block; width: 100%; }
|
|
327
|
+
.busiverse-logo-on-light { display: none; }
|
|
328
|
+
.light .busiverse-logo-on-dark { display: none; }
|
|
329
|
+
.light .busiverse-logo-on-light { display: block; }
|
|
326
330
|
.busiverse-sidebar-logo { width: 36px; height: 36px; flex: 0 0 36px; }
|
|
327
331
|
|
|
328
332
|
.busiverse-region-selector { display: grid; gap: 8px; min-width: 220px; color: #CBD5E1; font-size: 13px; font-weight: 600; }
|
|
@@ -405,11 +409,20 @@
|
|
|
405
409
|
.busiverse-marketing-card-body { margin-top: 18px; color: #F1F5F9; }
|
|
406
410
|
.busiverse-marketing-pricing-card { position: relative; display: grid; gap: 16px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 30px; min-height: 100%; }
|
|
407
411
|
.busiverse-marketing-pricing-card.is-featured { border-color: rgba(59,130,246,.55); background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(124,58,237,.14)); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
|
|
408
|
-
|
|
412
|
+
/* An inline svg sits on the text baseline, so its box reserves descender space underneath and the
|
|
413
|
+
glyph rides high in any circle or square it is centred in. Blocking it removes the baseline. */
|
|
414
|
+
.busiverse-social-icon { display: block; }
|
|
415
|
+
|
|
416
|
+
/* inline-flex, not inline: vertical padding on an inline box does not grow the line box, so the
|
|
417
|
+
text sat high in the pill and looked clipped. align-items centres it for real. */
|
|
418
|
+
.busiverse-marketing-price-eyebrow { display: inline-flex; align-items: center; justify-content: center; width: max-content; min-height: 24px; color: #BFDBFE; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.28); border-radius: 999px; padding: 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .04em; line-height: 1; }
|
|
409
419
|
.busiverse-marketing-pricing-card h3 { margin: 0; font-family: var(--font-display); font-size: 26px; color: white; }
|
|
410
|
-
.
|
|
420
|
+
/* The cadence is sometimes "/mo" and sometimes a sentence. Side by side, a sentence is squeezed
|
|
421
|
+
into whatever the display price leaves and breaks across three ragged lines. Wrapping plus a
|
|
422
|
+
minimum measure keeps a short cadence inline and gives a long one its own full line. */
|
|
423
|
+
.busiverse-marketing-price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
|
|
411
424
|
.busiverse-marketing-price-line strong { font-family: var(--font-display); font-size: clamp(34px, 5vw, 48px); line-height: 1; color: white; }
|
|
412
|
-
.busiverse-marketing-price-line span { color: #94A3B8; }
|
|
425
|
+
.busiverse-marketing-price-line span { color: #94A3B8; flex: 1 1 auto; min-width: 16ch; text-wrap: pretty; }
|
|
413
426
|
.busiverse-marketing-pricing-card p { margin: 0; color: #CBD5E1; line-height: 1.6; }
|
|
414
427
|
.busiverse-marketing-pricing-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #F1F5F9; }
|
|
415
428
|
.busiverse-marketing-pricing-card li { display: flex; gap: 10px; align-items: flex-start; }
|
|
@@ -507,6 +520,9 @@
|
|
|
507
520
|
.light .busiverse-pricing-code,
|
|
508
521
|
.light .busiverse-stat-card span,
|
|
509
522
|
.light .busiverse-marketing-price-line span { color: hsl(var(--text-muted)); }
|
|
523
|
+
/* #BFDBFE is Blue 200: legible on the dark card it was written for, and close to invisible on a
|
|
524
|
+
white one. Blue 700 on a pale blue ground clears AA at this size. */
|
|
525
|
+
.light .busiverse-marketing-price-eyebrow { color: hsl(221 83% 41%); background: hsl(221 83% 53% / .10); border-color: hsl(221 83% 53% / .28); }
|
|
510
526
|
.light .busiverse-table th { background: rgba(15,23,42,.04); }
|
|
511
527
|
.light .busiverse-table th,
|
|
512
528
|
.light .busiverse-table td { border-color: rgba(15,23,42,.08); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@busiverse/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"author": "Joel Julius Okoromi <okmarq@gmail.com> (https://busiversehq.com)",
|
|
5
5
|
"description": "BUSIVERSE shared React UI, design tokens, pricing, i18n, auth helpers, and product shell. Network-neutral core; Gateway transport is app-injected.",
|
|
6
6
|
"type": "module",
|