@busiverse/ui 0.2.18 → 0.2.20
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-SXD6EH2C.js → chunk-5LUWAOXI.js} +8 -1
- package/dist/{chunk-732WJVQR.js → chunk-LA27E2SE.js} +1 -1
- package/dist/{chunk-32FPZZH2.js → chunk-RO6ZPS75.js} +8 -2
- package/dist/{chunk-HXWXIXU3.js → chunk-WO7BR4JB.js} +5 -1
- package/dist/components/brand/BusiverseLogo.d.ts +9 -1
- package/dist/components/brand/BusiverseLogo.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/marketing.js +2 -2
- package/dist/styles.css +33 -9
- package/dist/tailwind-public.js +1 -1
- package/dist/theme/brandColor.d.ts +4 -0
- package/dist/theme/brandColor.d.ts.map +1 -1
- package/dist/theme-public.js +1 -1
- package/dist/tokens/colors.d.ts +7 -1
- package/dist/tokens/colors.d.ts.map +1 -1
- package/package.json +8 -2
package/dist/brand.js
CHANGED
|
@@ -29,7 +29,14 @@ var busiverseColors = {
|
|
|
29
29
|
disabledDark: "#64748B",
|
|
30
30
|
primaryLight: "#020617",
|
|
31
31
|
secondaryLight: "#334155",
|
|
32
|
-
mutedLight: "#
|
|
32
|
+
mutedLight: "#475569"
|
|
33
|
+
},
|
|
34
|
+
/* The same value in every theme, for surfaces dark or white by design. */
|
|
35
|
+
absolute: {
|
|
36
|
+
white: "#FFFFFF",
|
|
37
|
+
slate950: "#020617",
|
|
38
|
+
slate900: "#0F172A",
|
|
39
|
+
blue950: "#172554"
|
|
33
40
|
},
|
|
34
41
|
border: {
|
|
35
42
|
darkSubtle: "rgba(255, 255, 255, 0.10)",
|
|
@@ -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
|
{
|
|
@@ -92,7 +92,11 @@ var BRAND_COLOR_FALLBACKS = {
|
|
|
92
92
|
"--color-action-violet": "#7C3AED",
|
|
93
93
|
"--color-action-violet-hover": "#6D28D9",
|
|
94
94
|
"--color-action-cyan": "#0E7490",
|
|
95
|
-
"--color-action-cyan-hover": "#155E75"
|
|
95
|
+
"--color-action-cyan-hover": "#155E75",
|
|
96
|
+
"--color-absolute-white": "#FFFFFF",
|
|
97
|
+
"--color-absolute-slate-950": "#020617",
|
|
98
|
+
"--color-absolute-slate-900": "#0F172A",
|
|
99
|
+
"--color-absolute-blue-950": "#172554"
|
|
96
100
|
};
|
|
97
101
|
var BRAND_CHART_SERIES = [
|
|
98
102
|
"--color-brand-blue",
|
|
@@ -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
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
busiverseRadius,
|
|
5
5
|
busiverseSpacing,
|
|
6
6
|
busiverseTypography
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5LUWAOXI.js";
|
|
8
8
|
import {
|
|
9
9
|
BRAND_CHART_SERIES,
|
|
10
10
|
BRAND_COLOR_FALLBACKS,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ThemeModeSelect,
|
|
14
14
|
brandChartColors,
|
|
15
15
|
brandColor
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WO7BR4JB.js";
|
|
17
17
|
import {
|
|
18
18
|
Badge,
|
|
19
19
|
Card,
|
|
@@ -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
|
@@ -26,6 +26,14 @@
|
|
|
26
26
|
--color-action-cyan: #0E7490;
|
|
27
27
|
--color-action-cyan-hover: #155E75;
|
|
28
28
|
|
|
29
|
+
/* Absolute: the same value in every theme, for surfaces dark or white by design -- a hero that
|
|
30
|
+
stays dark in the light theme, a ring that stays white on a dark graph. Defined here once and
|
|
31
|
+
never redefined under .dark, which is what makes them absolute. */
|
|
32
|
+
--color-absolute-white: #FFFFFF;
|
|
33
|
+
--color-absolute-slate-950: #020617;
|
|
34
|
+
--color-absolute-slate-900: #0F172A;
|
|
35
|
+
--color-absolute-blue-950: #172554;
|
|
36
|
+
|
|
29
37
|
/* BUSIVERSE light theme defaults */
|
|
30
38
|
--color-bg-primary: #F8FAFC;
|
|
31
39
|
--color-bg-secondary: #FFFFFF;
|
|
@@ -36,11 +44,11 @@
|
|
|
36
44
|
--color-bg-light-tertiary: #F1F5F9;
|
|
37
45
|
--color-text-primary-dark: #020617;
|
|
38
46
|
--color-text-secondary-dark: #334155;
|
|
39
|
-
--color-text-muted-dark: #
|
|
47
|
+
--color-text-muted-dark: #475569;
|
|
40
48
|
--color-text-disabled-dark: #94A3B8;
|
|
41
49
|
--color-text-primary-light: #020617;
|
|
42
50
|
--color-text-secondary-light: #334155;
|
|
43
|
-
--color-text-muted-light: #
|
|
51
|
+
--color-text-muted-light: #475569;
|
|
44
52
|
--color-border-dark-subtle: rgba(15,23,42,.12);
|
|
45
53
|
--color-border-dark-medium: rgba(15,23,42,.20);
|
|
46
54
|
--color-border-dark-strong: rgba(15,23,42,.32);
|
|
@@ -68,8 +76,8 @@
|
|
|
68
76
|
--secondary: 210 40% 96%; /* Slate 100 #F1F5F9, section 15.4 */
|
|
69
77
|
--secondary-foreground: 222 47% 11%;
|
|
70
78
|
--muted: 210 40% 96%;
|
|
71
|
-
/* Slate 600 #475569,
|
|
72
|
-
*
|
|
79
|
+
/* Slate 600 #475569, the muted text section 15.6 names for every light surface: on the Slate 100
|
|
80
|
+
* muted surface Slate 500 would measure 4.34:1, under the 4.5:1 section
|
|
73
81
|
* 17.1 requires. Slate 600 stays in the brand's Slate ramp and clears both surfaces this token is
|
|
74
82
|
* used on -- 6.92:1 on muted, 7.58:1 on white. */
|
|
75
83
|
--muted-foreground: 215 19% 35%;
|
|
@@ -83,11 +91,11 @@
|
|
|
83
91
|
--base-bg: 210 40% 98%;
|
|
84
92
|
--surface-bg: 0 0% 100%;
|
|
85
93
|
--surface-elevated: 210 33% 96%;
|
|
86
|
-
/* Text on light backgrounds, section 15.6: Slate 900 heading, Slate 700 body, Slate
|
|
94
|
+
/* Text on light backgrounds, section 15.6: Slate 900 heading, Slate 700 body, Slate 600 muted,
|
|
87
95
|
* Slate 400 disabled. */
|
|
88
96
|
--text-heading: 222 47% 11%; /* Slate 900 #0F172A */
|
|
89
97
|
--text-body: 215 25% 27%; /* Slate 700 #334155 */
|
|
90
|
-
--text-muted: 215
|
|
98
|
+
--text-muted: 215 19% 35%; /* Slate 600 #475569 */
|
|
91
99
|
--text-disabled: 215 20% 65%; /* Slate 400 #94A3B8 */
|
|
92
100
|
|
|
93
101
|
--font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
|
|
@@ -323,6 +331,10 @@
|
|
|
323
331
|
|
|
324
332
|
.busiverse-logo { display: inline-flex; line-height: 0; }
|
|
325
333
|
.busiverse-logo svg { width: 100%; height: auto; }
|
|
334
|
+
.busiverse-logo-auto > span { display: block; width: 100%; }
|
|
335
|
+
.busiverse-logo-on-light { display: none; }
|
|
336
|
+
.light .busiverse-logo-on-dark { display: none; }
|
|
337
|
+
.light .busiverse-logo-on-light { display: block; }
|
|
326
338
|
.busiverse-sidebar-logo { width: 36px; height: 36px; flex: 0 0 36px; }
|
|
327
339
|
|
|
328
340
|
.busiverse-region-selector { display: grid; gap: 8px; min-width: 220px; color: #CBD5E1; font-size: 13px; font-weight: 600; }
|
|
@@ -405,11 +417,20 @@
|
|
|
405
417
|
.busiverse-marketing-card-body { margin-top: 18px; color: #F1F5F9; }
|
|
406
418
|
.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
419
|
.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
|
-
|
|
420
|
+
/* An inline svg sits on the text baseline, so its box reserves descender space underneath and the
|
|
421
|
+
glyph rides high in any circle or square it is centred in. Blocking it removes the baseline. */
|
|
422
|
+
.busiverse-social-icon { display: block; }
|
|
423
|
+
|
|
424
|
+
/* inline-flex, not inline: vertical padding on an inline box does not grow the line box, so the
|
|
425
|
+
text sat high in the pill and looked clipped. align-items centres it for real. */
|
|
426
|
+
.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
427
|
.busiverse-marketing-pricing-card h3 { margin: 0; font-family: var(--font-display); font-size: 26px; color: white; }
|
|
410
|
-
.
|
|
428
|
+
/* The cadence is sometimes "/mo" and sometimes a sentence. Side by side, a sentence is squeezed
|
|
429
|
+
into whatever the display price leaves and breaks across three ragged lines. Wrapping plus a
|
|
430
|
+
minimum measure keeps a short cadence inline and gives a long one its own full line. */
|
|
431
|
+
.busiverse-marketing-price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
|
|
411
432
|
.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; }
|
|
433
|
+
.busiverse-marketing-price-line span { color: #94A3B8; flex: 1 1 auto; min-width: 16ch; text-wrap: pretty; }
|
|
413
434
|
.busiverse-marketing-pricing-card p { margin: 0; color: #CBD5E1; line-height: 1.6; }
|
|
414
435
|
.busiverse-marketing-pricing-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #F1F5F9; }
|
|
415
436
|
.busiverse-marketing-pricing-card li { display: flex; gap: 10px; align-items: flex-start; }
|
|
@@ -507,6 +528,9 @@
|
|
|
507
528
|
.light .busiverse-pricing-code,
|
|
508
529
|
.light .busiverse-stat-card span,
|
|
509
530
|
.light .busiverse-marketing-price-line span { color: hsl(var(--text-muted)); }
|
|
531
|
+
/* #BFDBFE is Blue 200: legible on the dark card it was written for, and close to invisible on a
|
|
532
|
+
white one. Blue 700 on a pale blue ground clears AA at this size. */
|
|
533
|
+
.light .busiverse-marketing-price-eyebrow { color: hsl(221 83% 41%); background: hsl(221 83% 53% / .10); border-color: hsl(221 83% 53% / .28); }
|
|
510
534
|
.light .busiverse-table th { background: rgba(15,23,42,.04); }
|
|
511
535
|
.light .busiverse-table th,
|
|
512
536
|
.light .busiverse-table td { border-color: rgba(15,23,42,.08); }
|
package/dist/tailwind-public.js
CHANGED
|
@@ -40,6 +40,10 @@ export declare const BRAND_COLOR_FALLBACKS: {
|
|
|
40
40
|
readonly "--color-action-violet-hover": "#6D28D9";
|
|
41
41
|
readonly "--color-action-cyan": "#0E7490";
|
|
42
42
|
readonly "--color-action-cyan-hover": "#155E75";
|
|
43
|
+
readonly "--color-absolute-white": "#FFFFFF";
|
|
44
|
+
readonly "--color-absolute-slate-950": "#020617";
|
|
45
|
+
readonly "--color-absolute-slate-900": "#0F172A";
|
|
46
|
+
readonly "--color-absolute-blue-950": "#172554";
|
|
43
47
|
};
|
|
44
48
|
export type BrandColorToken = keyof typeof BRAND_COLOR_FALLBACKS;
|
|
45
49
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brandColor.d.ts","sourceRoot":"","sources":["../../src/theme/brandColor.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"brandColor.d.ts","sourceRoot":"","sources":["../../src/theme/brandColor.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;CAcxB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAEjE;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAAS,eAAe,EAIxD,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAW5E;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,CAM3E"}
|
package/dist/theme-public.js
CHANGED
package/dist/tokens/colors.d.ts
CHANGED
|
@@ -28,7 +28,13 @@ export declare const busiverseColors: {
|
|
|
28
28
|
readonly disabledDark: "#64748B";
|
|
29
29
|
readonly primaryLight: "#020617";
|
|
30
30
|
readonly secondaryLight: "#334155";
|
|
31
|
-
readonly mutedLight: "#
|
|
31
|
+
readonly mutedLight: "#475569";
|
|
32
|
+
};
|
|
33
|
+
readonly absolute: {
|
|
34
|
+
readonly white: "#FFFFFF";
|
|
35
|
+
readonly slate950: "#020617";
|
|
36
|
+
readonly slate900: "#0F172A";
|
|
37
|
+
readonly blue950: "#172554";
|
|
32
38
|
};
|
|
33
39
|
readonly border: {
|
|
34
40
|
readonly darkSubtle: "rgba(255, 255, 255, 0.10)";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@busiverse/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.20",
|
|
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",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"clean": "node scripts/clean.mjs",
|
|
73
73
|
"build": "npm run clean && tsup src/index.ts src/tailwind-public.ts src/brand.ts src/i18n-public.ts src/billing.ts src/social.ts src/marketing.ts src/assets-public.ts src/theme-public.ts src/sandbox.ts --format esm --target es2022 && tsc -p tsconfig.build.json && node scripts/copy-static.mjs",
|
|
74
74
|
"typecheck": "tsc --noEmit",
|
|
75
|
+
"lint": "eslint .",
|
|
75
76
|
"test": "node --test tests/*.test.mjs",
|
|
76
77
|
"pack:local": "npm pack",
|
|
77
78
|
"prepublishOnly": "npm run typecheck && npm run build && npm pack --dry-run"
|
|
@@ -83,14 +84,19 @@
|
|
|
83
84
|
"next-themes": "^0.4.6"
|
|
84
85
|
},
|
|
85
86
|
"devDependencies": {
|
|
87
|
+
"@eslint/js": "^10.0.1",
|
|
86
88
|
"@types/react": "19.2.17",
|
|
87
89
|
"@types/react-dom": "19.2.3",
|
|
90
|
+
"eslint": "^10.5.0",
|
|
91
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
92
|
+
"globals": "^17.7.0",
|
|
93
|
+
"next-themes": "0.4.6",
|
|
88
94
|
"react": "19.2.7",
|
|
89
95
|
"react-dom": "19.2.7",
|
|
90
96
|
"tailwindcss": "4.3.1",
|
|
91
97
|
"tsup": "8.5.1",
|
|
92
98
|
"typescript": "6.0.3",
|
|
93
|
-
"
|
|
99
|
+
"typescript-eslint": "^8.62.0"
|
|
94
100
|
},
|
|
95
101
|
"publishConfig": {
|
|
96
102
|
"registry": "https://registry.npmjs.org/",
|