@busiverse/ui 0.2.19 → 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/{chunk-SXD6EH2C.js → chunk-5LUWAOXI.js} +8 -1
- package/dist/{chunk-HXWXIXU3.js → chunk-WO7BR4JB.js} +5 -1
- package/dist/index.js +2 -2
- package/dist/styles.css +14 -6
- 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
|
@@ -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)",
|
|
@@ -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",
|
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,
|
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;
|
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/",
|