@busiverse/ui 0.2.15 → 0.2.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.
Files changed (32) hide show
  1. package/dist/assets/brand-fonts.css +193 -0
  2. package/dist/assets/fonts/inter-400-latin-ext.woff2 +0 -0
  3. package/dist/assets/fonts/inter-400-latin.woff2 +0 -0
  4. package/dist/assets/fonts/inter-500-latin-ext.woff2 +0 -0
  5. package/dist/assets/fonts/inter-500-latin.woff2 +0 -0
  6. package/dist/assets/fonts/inter-600-latin-ext.woff2 +0 -0
  7. package/dist/assets/fonts/inter-600-latin.woff2 +0 -0
  8. package/dist/assets/fonts/inter-700-latin-ext.woff2 +0 -0
  9. package/dist/assets/fonts/inter-700-latin.woff2 +0 -0
  10. package/dist/assets/fonts/jetbrains-mono-400-latin-ext.woff2 +0 -0
  11. package/dist/assets/fonts/jetbrains-mono-400-latin.woff2 +0 -0
  12. package/dist/assets/fonts/jetbrains-mono-500-latin-ext.woff2 +0 -0
  13. package/dist/assets/fonts/jetbrains-mono-500-latin.woff2 +0 -0
  14. package/dist/assets/fonts/jetbrains-mono-600-latin-ext.woff2 +0 -0
  15. package/dist/assets/fonts/jetbrains-mono-600-latin.woff2 +0 -0
  16. package/dist/assets/fonts/space-grotesk-500-latin-ext.woff2 +0 -0
  17. package/dist/assets/fonts/space-grotesk-500-latin.woff2 +0 -0
  18. package/dist/assets/fonts/space-grotesk-600-latin-ext.woff2 +0 -0
  19. package/dist/assets/fonts/space-grotesk-600-latin.woff2 +0 -0
  20. package/dist/assets/fonts/space-grotesk-700-latin-ext.woff2 +0 -0
  21. package/dist/assets/fonts/space-grotesk-700-latin.woff2 +0 -0
  22. package/dist/billing.js +1 -1
  23. package/dist/{chunk-MPBOCUY4.js → chunk-YLQKXFA7.js} +0 -1
  24. package/dist/components/brand/BusiverseBrandHead.d.ts.map +1 -1
  25. package/dist/components/brand/BusiverseLogo.d.ts.map +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/registry/services.d.ts.map +1 -1
  28. package/dist/styles.css +60 -63
  29. package/dist/theme/brandColor.d.ts +8 -9
  30. package/dist/theme/brandColor.d.ts.map +1 -1
  31. package/dist/tokens/colors.d.ts.map +1 -1
  32. package/package.json +127 -127
@@ -0,0 +1,193 @@
1
+ /* Busiverse brand fonts, self-hosted.
2
+ *
3
+ * Space Grotesk, Inter and JetBrains Mono are the three families
4
+ * BUSIVERSE_Brand_Identity_and_Design_System.md section 18 specifies. This file is why they
5
+ * actually render: the design system's stylesheet named them and declared loading 'app-owned',
6
+ * and no application owned it -- the monorepo held no font file and no @font-face rule, so every
7
+ * interface fell back to a system face and nothing failed loudly enough to notice.
8
+ *
9
+ * All three are SIL Open Font License 1.1; redistribution is permitted. Latin and latin-ext
10
+ * subsets only: the product is en-NG, and the other subsets are payload for glyphs nothing draws.
11
+ *
12
+ * font-display: swap so text is readable during the fetch rather than invisible.
13
+ */
14
+
15
+ @font-face {
16
+ font-family: 'Inter';
17
+ font-style: normal;
18
+ font-weight: 400;
19
+ font-display: swap;
20
+ src: url("./fonts/inter-400-latin-ext.woff2") format("woff2");
21
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
22
+ }
23
+
24
+ @font-face {
25
+ font-family: 'Inter';
26
+ font-style: normal;
27
+ font-weight: 400;
28
+ font-display: swap;
29
+ src: url("./fonts/inter-400-latin.woff2") format("woff2");
30
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
31
+ }
32
+
33
+ @font-face {
34
+ font-family: 'Inter';
35
+ font-style: normal;
36
+ font-weight: 500;
37
+ font-display: swap;
38
+ src: url("./fonts/inter-500-latin-ext.woff2") format("woff2");
39
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
40
+ }
41
+
42
+ @font-face {
43
+ font-family: 'Inter';
44
+ font-style: normal;
45
+ font-weight: 500;
46
+ font-display: swap;
47
+ src: url("./fonts/inter-500-latin.woff2") format("woff2");
48
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
49
+ }
50
+
51
+ @font-face {
52
+ font-family: 'Inter';
53
+ font-style: normal;
54
+ font-weight: 600;
55
+ font-display: swap;
56
+ src: url("./fonts/inter-600-latin-ext.woff2") format("woff2");
57
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
58
+ }
59
+
60
+ @font-face {
61
+ font-family: 'Inter';
62
+ font-style: normal;
63
+ font-weight: 600;
64
+ font-display: swap;
65
+ src: url("./fonts/inter-600-latin.woff2") format("woff2");
66
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
67
+ }
68
+
69
+ @font-face {
70
+ font-family: 'Inter';
71
+ font-style: normal;
72
+ font-weight: 700;
73
+ font-display: swap;
74
+ src: url("./fonts/inter-700-latin-ext.woff2") format("woff2");
75
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
76
+ }
77
+
78
+ @font-face {
79
+ font-family: 'Inter';
80
+ font-style: normal;
81
+ font-weight: 700;
82
+ font-display: swap;
83
+ src: url("./fonts/inter-700-latin.woff2") format("woff2");
84
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
85
+ }
86
+
87
+ @font-face {
88
+ font-family: 'JetBrains Mono';
89
+ font-style: normal;
90
+ font-weight: 400;
91
+ font-display: swap;
92
+ src: url("./fonts/jetbrains-mono-400-latin-ext.woff2") format("woff2");
93
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
94
+ }
95
+
96
+ @font-face {
97
+ font-family: 'JetBrains Mono';
98
+ font-style: normal;
99
+ font-weight: 400;
100
+ font-display: swap;
101
+ src: url("./fonts/jetbrains-mono-400-latin.woff2") format("woff2");
102
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
103
+ }
104
+
105
+ @font-face {
106
+ font-family: 'JetBrains Mono';
107
+ font-style: normal;
108
+ font-weight: 500;
109
+ font-display: swap;
110
+ src: url("./fonts/jetbrains-mono-500-latin-ext.woff2") format("woff2");
111
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
112
+ }
113
+
114
+ @font-face {
115
+ font-family: 'JetBrains Mono';
116
+ font-style: normal;
117
+ font-weight: 500;
118
+ font-display: swap;
119
+ src: url("./fonts/jetbrains-mono-500-latin.woff2") format("woff2");
120
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
121
+ }
122
+
123
+ @font-face {
124
+ font-family: 'JetBrains Mono';
125
+ font-style: normal;
126
+ font-weight: 600;
127
+ font-display: swap;
128
+ src: url("./fonts/jetbrains-mono-600-latin-ext.woff2") format("woff2");
129
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
130
+ }
131
+
132
+ @font-face {
133
+ font-family: 'JetBrains Mono';
134
+ font-style: normal;
135
+ font-weight: 600;
136
+ font-display: swap;
137
+ src: url("./fonts/jetbrains-mono-600-latin.woff2") format("woff2");
138
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
139
+ }
140
+
141
+ @font-face {
142
+ font-family: 'Space Grotesk';
143
+ font-style: normal;
144
+ font-weight: 500;
145
+ font-display: swap;
146
+ src: url("./fonts/space-grotesk-500-latin-ext.woff2") format("woff2");
147
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
148
+ }
149
+
150
+ @font-face {
151
+ font-family: 'Space Grotesk';
152
+ font-style: normal;
153
+ font-weight: 500;
154
+ font-display: swap;
155
+ src: url("./fonts/space-grotesk-500-latin.woff2") format("woff2");
156
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
157
+ }
158
+
159
+ @font-face {
160
+ font-family: 'Space Grotesk';
161
+ font-style: normal;
162
+ font-weight: 600;
163
+ font-display: swap;
164
+ src: url("./fonts/space-grotesk-600-latin-ext.woff2") format("woff2");
165
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
166
+ }
167
+
168
+ @font-face {
169
+ font-family: 'Space Grotesk';
170
+ font-style: normal;
171
+ font-weight: 600;
172
+ font-display: swap;
173
+ src: url("./fonts/space-grotesk-600-latin.woff2") format("woff2");
174
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
175
+ }
176
+
177
+ @font-face {
178
+ font-family: 'Space Grotesk';
179
+ font-style: normal;
180
+ font-weight: 700;
181
+ font-display: swap;
182
+ src: url("./fonts/space-grotesk-700-latin-ext.woff2") format("woff2");
183
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
184
+ }
185
+
186
+ @font-face {
187
+ font-family: 'Space Grotesk';
188
+ font-style: normal;
189
+ font-weight: 700;
190
+ font-display: swap;
191
+ src: url("./fonts/space-grotesk-700-latin.woff2") format("woff2");
192
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
193
+ }
package/dist/billing.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  getServicePricingSummaries,
17
17
  getServicePricingSummary,
18
18
  labelCadence
19
- } from "./chunk-MPBOCUY4.js";
19
+ } from "./chunk-YLQKXFA7.js";
20
20
  import {
21
21
  busiverseSupportedRegions,
22
22
  getSupportedRegion
@@ -103,7 +103,6 @@ var busiverseServices = [
103
103
  { key: "ml", name: "ML", category: "intelligence", frontendHost: "ml.busiversehq.com", apiPrefix: "/ml/api/v1", description: "Training, experiments, feature engineering, evaluation, datasets, and agent training.", usesTimeSeries: true },
104
104
  { key: "observability", name: "Observability", category: "operations", frontendHost: "observability.busiversehq.com", apiPrefix: "/observability/api/v1", description: "Metrics, logs, traces, incidents, SLA reports, audit trails, and telemetry.", usesTimeSeries: true },
105
105
  { key: "project", name: "Project", category: "business", frontendHost: "project.busiversehq.com", apiPrefix: "/project/api/v1", description: "Projects, charters, requirements, tasks, milestones, budgets, teams, and deliverables." },
106
- { key: "registry", name: "Registry", category: "developer", frontendHost: "registry.busiversehq.com", apiPrefix: "/registry/api/v1", description: "Legacy registry frontend retained for migration/reference." },
107
106
  { key: "scraper", name: "Scraper", category: "intelligence", frontendHost: "scraper.busiversehq.com", apiPrefix: "/scraper/api/v1", description: "Data acquisition, scheduled feeds, connectors, datasets, and source attribution.", usesTimeSeries: true },
108
107
  { key: "software", name: "Software", category: "developer", frontendHost: "software.busiversehq.com", apiPrefix: "/software/api/v1", description: "Software, API product, app catalog, OAuth client metadata, versions, and integration onboarding." },
109
108
  { key: "stock-exchange", name: "Stock Exchange", category: "finance", frontendHost: "stock-exchange.busiversehq.com", apiPrefix: "/stock-exchange/api/v1", description: "Private listings, public applications, stocks, shares, orders, trades, quotes, and market data.", usesTimeSeries: true },
@@ -1 +1 @@
1
- {"version":3,"file":"BusiverseBrandHead.d.ts","sourceRoot":"","sources":["../../../src/components/brand/BusiverseBrandHead.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AA6CD,wBAAgB,uBAAuB,CAAC,EACtC,KAAqB,EACrB,WAAiC,EACjC,QAAsB,EACtB,GAAG,EACH,KAAsC,EACtC,WAA2B,EAC3B,QAA8H,EAC9H,MAAgB,EAChB,UAAgC,EAChC,sBAAoC,EACpC,eAA6B,GAC9B,GAAE,uBAA4B,QAgC9B;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,QAkBhE"}
1
+ {"version":3,"file":"BusiverseBrandHead.d.ts","sourceRoot":"","sources":["../../../src/components/brand/BusiverseBrandHead.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAgDD,wBAAgB,uBAAuB,CAAC,EACtC,KAAqB,EACrB,WAAiC,EACjC,QAAsB,EACtB,GAAG,EACH,KAAsC,EACtC,WAA2B,EAC3B,QAA8H,EAC9H,MAAgB,EAChB,UAAgC,EAChC,sBAAoC,EACpC,eAA6B,GAC9B,GAAE,uBAA4B,QAgC9B;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,QAkBhE"}
@@ -1 +1 @@
1
- {"version":3,"file":"BusiverseLogo.d.ts","sourceRoot":"","sources":["../../../src/components/brand/BusiverseLogo.tsx"],"names":[],"mappings":"AAAA,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;AAsB5D,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,wBAAgB,aAAa,CAAC,EAAE,OAAsB,EAAE,IAAc,EAAE,KAAmB,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,qBAUrI"}
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;AAsB5D,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,wBAAgB,aAAa,CAAC,EAAE,OAAsB,EAAE,IAAc,EAAE,KAAmB,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,qBAUrI"}
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  getServicePricingSummaries,
42
42
  getServicePricingSummary,
43
43
  labelCadence
44
- } from "./chunk-MPBOCUY4.js";
44
+ } from "./chunk-YLQKXFA7.js";
45
45
  import {
46
46
  BusiverseBrandHead,
47
47
  applyBusiverseBrandHead
@@ -1 +1 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../src/registry/services.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAChC,MAAM,GACN,UAAU,GACV,SAAS,GACT,UAAU,GACV,UAAU,GACV,cAAc,GACd,YAAY,GACZ,WAAW,GACX,YAAY,CAAC;AAEjB,MAAM,WAAW,0BAA0B;IACzC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,wBAAwB,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,EAAE,0BAA0B,EAgCzD,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS,CAEvF"}
1
+ {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../src/registry/services.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAChC,MAAM,GACN,UAAU,GACV,SAAS,GACT,UAAU,GACV,UAAU,GACV,cAAc,GACd,YAAY,GACZ,WAAW,GACX,YAAY,CAAC;AAEjB,MAAM,WAAW,0BAA0B;IACzC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,wBAAwB,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,EAAE,0BAA0B,EA+BzD,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS,CAEvF"}
package/dist/styles.css CHANGED
@@ -1,3 +1,11 @@
1
+ /* brand-tokens-exempt-file: this IS the definition site, and the component kit below it is
2
+ * dark-first by construction -- its grounds are the brand's dark slates in both themes, with the
3
+ * `.light .busiverse-*` block adapting it rather than the theme tokens. A token cannot define
4
+ * itself, and substituting theme-scoped tokens into the kit would invert every one of its
5
+ * surfaces. What guards this file is busiverse-ui/tests/brand-compliance.test.mjs, which holds
6
+ * every value here to the brand document and measures the contrast of each pair -- a stronger
7
+ * check than the literal scan. The absence of a theme-independent slate is recorded in
8
+ * DECISIONS-PENDING.md. */
1
9
  /* Font loading is intentionally app-owned. Self-host or load Space Grotesk, Inter, and JetBrains Mono in each frontend. */
2
10
  :root,
3
11
  .light {
@@ -37,41 +45,26 @@
37
45
  --card-foreground: 222 47% 11%;
38
46
  --popover: 0 0% 100%;
39
47
  --popover-foreground: 222 47% 11%;
40
- /* Surfaces that carry white text use the brand's ACCESSIBLE variants, not the brand accents.
48
+ /* Surfaces carrying white text use the brand's ACCESSIBLE variants (section 15.2), never the brand
49
+ * accents: section 15.1 states the accents are not safe behind small white text, and section 17.3
50
+ * restricts white-on-accent to large text. Section 17.1 requires 4.5:1 for normal text.
41
51
  *
42
- * These were the brand accent colours -- --primary and --accent were both `217 91% 60%`, which is
43
- * #3B82F6, and --destructive was `0 84% 60%`. Each is paired with a white foreground here, and the
44
- * brand system restricts exactly that pairing: section 15.1 warns the accents "are not always safe
45
- * as backgrounds for small white text", and section 17.3 lists #FFFFFF on #3B82F6 at 3.7:1 as
46
- * "large text only". Measured, the three shipped pairs were 3.64:1, 3.64:1 and 3.78:1 against the
47
- * 4.5:1 that section 17.1 requires for normal text -- so every default button in every frontend
48
- * failed AA for its label.
52
+ * --primary and --accent are Accessible Blue #2563EB (5.17:1 on white). --destructive is red-600
53
+ * #DC2626 (4.83:1); the brand system names no destructive colour, so this is the nearest
54
+ * palette-consistent value that clears 17.1.
49
55
  *
50
- * Section 15.2 exists to solve this and the hex token block above already carried the right values;
51
- * only this shadcn bridge had missed them. --primary and --accent are now Accessible Blue #2563EB
52
- * (5.17:1) and --destructive is red-600 #DC2626 (4.83:1) -- the brand system names no destructive
53
- * colour, so the closest palette-consistent value that clears 17.1 is used and recorded here.
56
+ * --ring keeps a brand accent: it outlines a UI component, which section 17.1 holds to 3:1.
54
57
  *
55
- * --ring keeps the brand accent deliberately: it is a UI component outline, which section 17.1
56
- * holds to 3:1, and #3B82F6 meets that at 3.68:1.
57
- *
58
- * The .dark block does not redefine these, so this is the value in both themes. */
58
+ * The .dark block does not redefine these, so each value applies in both themes. */
59
59
  --primary: 221 83% 53%;
60
60
  --primary-foreground: 0 0% 100%;
61
61
  --secondary: 210 40% 96%; /* Slate 100 #F1F5F9, section 15.4 */
62
62
  --secondary-foreground: 222 47% 11%;
63
63
  --muted: 210 40% 96%;
64
- /* Slate 600 #475569, and deliberately NOT the Slate 500 that section 15.6 names for muted text.
65
- *
66
- * Section 15.6 assigns Slate 500 #64748B to muted text but never states which surface it sits on,
67
- * and section 17.2 never verifies that pair. Measured, Slate 500 on the Slate 100 muted surface is
68
- * 4.34:1 -- under the 4.5:1 section 17.1 requires. So the brand document's own two rules disagree
69
- * here, and the accessibility rule is the binding one: section 17.4 says to test contrast before
70
- * release and not to use low-contrast text.
71
- *
72
- * Slate 600 stays inside the brand's Slate ramp and clears both surfaces it is used on: 6.92:1 on
73
- * muted, 7.58:1 on white. Worth raising with brand governance (section 34) so 15.6 records a
74
- * surface for muted text rather than leaving it to be inferred. */
64
+ /* Slate 600 #475569, not the Slate 500 that section 15.6 names for muted text: 15.6 states no
65
+ * surface, and on the Slate 100 muted surface Slate 500 measures 4.34:1, under the 4.5:1 section
66
+ * 17.1 requires. Slate 600 stays in the brand's Slate ramp and clears both surfaces this token is
67
+ * used on -- 6.92:1 on muted, 7.58:1 on white. */
75
68
  --muted-foreground: 215 19% 35%;
76
69
  --accent: 221 83% 53%;
77
70
  --accent-foreground: 0 0% 100%;
@@ -83,9 +76,8 @@
83
76
  --base-bg: 210 40% 98%;
84
77
  --surface-bg: 0 0% 100%;
85
78
  --surface-elevated: 210 33% 96%;
86
- /* Section 15.6, text on light backgrounds: Slate 900 body, Slate 700 secondary, Slate 500 muted;
87
- * Slate 400 for disabled. These were approximations (`215 16% 28%`, `215 14% 42%`, `215 10% 60%`)
88
- * that each rendered a slightly different colour from the brand's. */
79
+ /* Text on light backgrounds, section 15.6: Slate 900 heading, Slate 700 body, Slate 500 muted,
80
+ * Slate 400 disabled. */
89
81
  --text-heading: 222 47% 11%; /* Slate 900 #0F172A */
90
82
  --text-body: 215 25% 27%; /* Slate 700 #334155 */
91
83
  --text-muted: 215 16% 47%; /* Slate 500 #64748B */
@@ -120,10 +112,8 @@
120
112
  --color-border-dark-medium: rgba(255,255,255,.20);
121
113
  --color-border-dark-strong: rgba(255,255,255,.32);
122
114
 
123
- /* Slate 950 #020617, section 15.3. Was `222 47% 4%`, which renders #05080F -- eight units off in a
124
- * channel and desaturated, so the dark theme's primary surface was a slightly different colour from
125
- * the one the brand specifies. White on the corrected value measures 20.17:1, matching the 20.3:1
126
- * section 17.2 records for this pair. */
115
+ /* Slate 950 #020617, the dark theme's primary surface (section 15.3). White on it measures
116
+ * 20.17:1, matching the pair section 17.2 records. */
127
117
  --background: 229 84% 5%;
128
118
  --foreground: 0 0% 100%;
129
119
  --card: 222 47% 7%;
@@ -146,23 +136,32 @@
146
136
  color-scheme: dark;
147
137
  }
148
138
 
149
- * { box-sizing: border-box; }
150
- html { scroll-behavior: smooth; }
151
- body {
152
- margin: 0;
153
- font-family: var(--font-body);
154
- background: hsl(var(--background));
155
- color: hsl(var(--foreground));
156
- text-rendering: optimizeLegibility;
157
- -webkit-font-smoothing: antialiased;
158
- }
139
+ /* The element resets sit in @layer base so an application's own styles outrank them.
140
+ *
141
+ * Consuming apps emit their utilities into @layer utilities, and an UNLAYERED declaration beats a
142
+ * layered one whatever its specificity. A bare `a { color: inherit }` shipped outside a layer
143
+ * therefore wins over `.text-primary-foreground` on every anchor, which is most of the buttons in a
144
+ * shadcn codebase — `<Button asChild><a>` renders the button as an anchor. Layering these keeps the
145
+ * reset doing its job while leaving the application in control of what it styles. */
146
+ @layer base {
147
+ * { box-sizing: border-box; }
148
+ html { scroll-behavior: smooth; }
149
+ body {
150
+ margin: 0;
151
+ font-family: var(--font-body);
152
+ background: hsl(var(--background));
153
+ color: hsl(var(--foreground));
154
+ text-rendering: optimizeLegibility;
155
+ -webkit-font-smoothing: antialiased;
156
+ }
159
157
 
160
- html.dark body {
161
- background: linear-gradient(135deg,#020617 0%,#172554 45%,#0F172A 100%);
158
+ html.dark body {
159
+ background: linear-gradient(135deg,#020617 0%,#172554 45%,#0F172A 100%);
160
+ }
161
+ button, input, textarea, select { font: inherit; }
162
+ a { color: inherit; text-decoration: none; }
163
+ img, svg { max-width: 100%; display: block; }
162
164
  }
163
- button, input, textarea, select { font: inherit; }
164
- a { color: inherit; text-decoration: none; }
165
- img, svg { max-width: 100%; display: block; }
166
165
 
167
166
  .busiverse-focus-ring:focus-visible,
168
167
  .busiverse-focus-ring[data-focus-visible="true"] {
@@ -177,7 +176,7 @@ img, svg { max-width: 100%; display: block; }
177
176
  }
178
177
 
179
178
  .busiverse-gradient-text {
180
- background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%);
179
+ background: linear-gradient(90deg, var(--color-brand-blue) 0%, var(--color-brand-violet) 50%, var(--color-brand-cyan) 100%);
181
180
  -webkit-background-clip: text;
182
181
  background-clip: text;
183
182
  color: transparent;
@@ -222,8 +221,8 @@ img, svg { max-width: 100%; display: block; }
222
221
  .busiverse-btn-sm { height: 34px; padding: 0 12px; font-size: 14px; }
223
222
  .busiverse-btn-md { height: 42px; padding: 0 16px; font-size: 15px; }
224
223
  .busiverse-btn-lg { height: 50px; padding: 0 22px; font-size: 16px; }
225
- .busiverse-btn-primary { background: linear-gradient(90deg,#2563EB 0%,#7C3AED 100%); color: white; border-color: rgba(255,255,255,.12); }
226
- .busiverse-btn-primary:hover:not(:disabled) { background: linear-gradient(90deg,#1D4ED8 0%,#6D28D9 100%); }
224
+ .busiverse-btn-primary { background: linear-gradient(90deg,var(--color-action-blue) 0%,var(--color-action-violet) 100%); color: white; border-color: rgba(255,255,255,.12); }
225
+ .busiverse-btn-primary:hover:not(:disabled) { background: linear-gradient(90deg,var(--color-action-blue-hover) 0%,var(--color-action-violet-hover) 100%); }
227
226
  .busiverse-btn-secondary { background: rgba(255,255,255,.05); color: white; border-color: rgba(255,255,255,.20); }
228
227
  .busiverse-btn-secondary:hover:not(:disabled) { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.32); }
229
228
  .busiverse-btn-ghost { background: transparent; color: #CBD5E1; border-color: transparent; }
@@ -253,7 +252,7 @@ img, svg { max-width: 100%; display: block; }
253
252
 
254
253
  .busiverse-input { width: 100%; min-height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: white; padding: 0 12px; }
255
254
  .busiverse-input::placeholder { color: #94A3B8; }
256
- .busiverse-input:focus { border-color: #3B82F6; box-shadow: 0 0 0 3px rgba(59,130,246,.25); }
255
+ .busiverse-input:focus { border-color: var(--color-brand-blue); box-shadow: 0 0 0 3px rgba(59,130,246,.25); }
257
256
  .busiverse-textarea { min-height: 96px; padding-block: 10px; resize: vertical; }
258
257
  .busiverse-field { display: grid; gap: 8px; }
259
258
  .busiverse-field label { font-weight: 600; color: #F1F5F9; font-size: 14px; }
@@ -297,7 +296,7 @@ img, svg { max-width: 100%; display: block; }
297
296
  .busiverse-quota { display: grid; gap: 8px; }
298
297
  .busiverse-quota-row { display: flex; justify-content: space-between; color: #CBD5E1; font-size: 13px; }
299
298
  .busiverse-quota-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.10); overflow: hidden; }
300
- .busiverse-quota-fill { height: 100%; background: linear-gradient(90deg,#3B82F6 0%,#8B5CF6 100%); }
299
+ .busiverse-quota-fill { height: 100%; background: linear-gradient(90deg,var(--color-brand-blue) 0%,var(--color-brand-violet) 100%); }
301
300
  .busiverse-skeleton { border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.12), rgba(255,255,255,.06)); min-height: 24px; }
302
301
  .busiverse-hero { min-height: 720px; display: grid; place-items: center; padding: 96px 32px; background: radial-gradient(circle at 50% 20%, rgba(59,130,246,.22), transparent 36%), linear-gradient(135deg,#020617 0%,#172554 45%,#0F172A 100%); }
303
302
  .busiverse-hero-content { max-width: 920px; text-align: center; display: grid; justify-items: center; gap: 24px; }
@@ -369,15 +368,15 @@ img, svg { max-width: 100%; display: block; }
369
368
  --primary-cyan: 188 94% 43%;
370
369
  }
371
370
  .font-heading { font-family: var(--font-display); }
372
- .bg-gradient-primary { background: linear-gradient(90deg, #2563EB 0%, #7C3AED 100%); }
371
+ .bg-gradient-primary { background: linear-gradient(90deg, var(--color-action-blue) 0%, var(--color-action-violet) 100%); }
373
372
  .bg-gradient-hero { background: linear-gradient(135deg, #020617 0%, #172554 45%, #0F172A 100%); }
374
373
  .bg-gradient-section { background: linear-gradient(180deg, #020617 0%, #0F172A 100%); }
375
374
  .glass-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; backdrop-filter: blur(16px); }
376
375
  .text-gradient-full, .text-gradient-blue-violet, .text-gradient-violet-cyan, .text-gradient-blue-cyan { -webkit-background-clip: text; background-clip: text; color: transparent; }
377
- .text-gradient-full { background-image: linear-gradient(90deg,#3B82F6 0%,#8B5CF6 50%,#06B6D4 100%); }
378
- .text-gradient-blue-violet { background-image: linear-gradient(90deg,#3B82F6 0%,#8B5CF6 100%); }
379
- .text-gradient-violet-cyan { background-image: linear-gradient(90deg,#8B5CF6 0%,#06B6D4 100%); }
380
- .text-gradient-blue-cyan { background-image: linear-gradient(90deg,#3B82F6 0%,#06B6D4 100%); }
376
+ .text-gradient-full { background-image: linear-gradient(90deg,var(--color-brand-blue) 0%,var(--color-brand-violet) 50%,var(--color-brand-cyan) 100%); }
377
+ .text-gradient-blue-violet { background-image: linear-gradient(90deg,var(--color-brand-blue) 0%,var(--color-brand-violet) 100%); }
378
+ .text-gradient-violet-cyan { background-image: linear-gradient(90deg,var(--color-brand-violet) 0%,var(--color-brand-cyan) 100%); }
379
+ .text-gradient-blue-cyan { background-image: linear-gradient(90deg,var(--color-brand-blue) 0%,var(--color-brand-cyan) 100%); }
381
380
  .text-stats { font-size: clamp(40px, 5vw, 60px); font-weight: 700; line-height: 1.1; }
382
381
  .animate-float { animation: busiverse-float 3s ease-in-out infinite; }
383
382
  @keyframes busiverse-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@@ -407,7 +406,7 @@ img, svg { max-width: 100%; display: block; }
407
406
  .busiverse-marketing-pricing-card p { margin: 0; color: #CBD5E1; line-height: 1.6; }
408
407
  .busiverse-marketing-pricing-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #F1F5F9; }
409
408
  .busiverse-marketing-pricing-card li { display: flex; gap: 10px; align-items: flex-start; }
410
- .busiverse-marketing-pricing-card li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; border-radius: 999px; background: #06B6D4; flex: 0 0 7px; }
409
+ .busiverse-marketing-pricing-card li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; border-radius: 999px; background: var(--color-brand-cyan); flex: 0 0 7px; }
411
410
  .busiverse-marketing-price-action { margin-top: auto; }
412
411
  @media (max-width: 980px) { .busiverse-marketing-grid, .busiverse-marketing-grid.two { grid-template-columns: 1fr; } }
413
412
  @media (max-width: 760px) { .busiverse-marketing-section { padding: 72px 20px; } }
@@ -416,8 +415,6 @@ img, svg { max-width: 100%; display: block; }
416
415
  /* Theme-aware overrides for BUSIVERSE frontends. */
417
416
  .light .busiverse-glass,
418
417
  .light .glass-card,
419
- .light .registry-glass,
420
- .light .registry-card,
421
418
  .light .busiverse-card,
422
419
  .light .busiverse-marketing-card,
423
420
  .light .busiverse-marketing-pricing-card,
@@ -578,6 +575,6 @@ img, svg { max-width: 100%; display: block; }
578
575
  }
579
576
  .busiverse-theme-mode-button.is-active {
580
577
  color: hsl(var(--primary-foreground));
581
- background: linear-gradient(90deg, #2563EB 0%, #7C3AED 100%);
578
+ background: linear-gradient(90deg, var(--color-action-blue) 0%, var(--color-action-violet) 100%);
582
579
  box-shadow: 0 12px 32px rgb(37 99 235 / .20);
583
580
  }
@@ -1,20 +1,19 @@
1
1
  /**
2
2
  * Resolves a brand colour token to a concrete colour string, for the APIs that cannot take one.
3
3
  *
4
- * <h2>Why this exists</h2>
4
+ * <h2>What it is for</h2>
5
5
  *
6
- * Charting libraries, canvas drawing and anything that hands a colour to a non-DOM renderer need a
7
- * real value — `var(--color-brand-blue)` is meaningless to Recharts, so every chart in the estate
8
- * wrote the hex literally instead:
6
+ * Charting libraries, canvas drawing and anything handing a colour to a non-DOM renderer need a real
7
+ * value — `var(--color-brand-blue)` is meaningless to Recharts. Use this wherever a token cannot be
8
+ * written as CSS:
9
9
  *
10
10
  * ```tsx
11
- * renderChart(revenueData, "#8B5CF6", ...)
11
+ * renderChart(revenueData, brandColor("--color-brand-violet"), ...)
12
12
  * ```
13
13
  *
14
- * That renders correctly and is still wrong: 97 literals across 14 frontends duplicate a token the
15
- * design system already publishes, so each one stops tracking the brand the moment the token moves.
16
- * Nothing fails when they diverge — a colour is never an error — which is why they accumulated
17
- * unnoticed. `ops/check-brand-tokens.sh` reports them; this is what they should become.
14
+ * A hex literal in that position renders the same but stops tracking the brand the moment the token
15
+ * moves, and nothing fails when it diverges — a colour is never an error.
16
+ * `ops/check-brand-tokens.sh` reports literals that a token already covers.
18
17
  *
19
18
  * <h2>Why it reads the live value rather than returning a constant</h2>
20
19
  *
@@ -1 +1 @@
1
- {"version":3,"file":"brandColor.d.ts","sourceRoot":"","sources":["../../src/theme/brandColor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;CAUxB,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"}
1
+ {"version":3,"file":"brandColor.d.ts","sourceRoot":"","sources":["../../src/theme/brandColor.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;CAUxB,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwClB,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwClB,CAAC"}
package/package.json CHANGED
@@ -1,127 +1,127 @@
1
- {
2
- "name": "@busiverse/ui",
3
- "version": "0.2.15",
4
- "author": "Joel Julius Okoromi <okmarq@gmail.com> (https://busiversehq.com)",
5
- "description": "BUSIVERSE shared React UI, design tokens, pricing, i18n, auth helpers, and product shell. Network-neutral core; Gateway transport is app-injected.",
6
- "type": "module",
7
- "sideEffects": [
8
- "./dist/styles.css"
9
- ],
10
- "files": [
11
- "dist",
12
- "README.md"
13
- ],
14
- "main": "./dist/index.js",
15
- "types": "./dist/index.d.ts",
16
- "exports": {
17
- ".": {
18
- "types": "./dist/index.d.ts",
19
- "import": "./dist/index.js",
20
- "default": "./dist/index.js"
21
- },
22
- "./styles.css": "./dist/styles.css",
23
- "./tailwind": {
24
- "types": "./dist/tailwind-public.d.ts",
25
- "import": "./dist/tailwind-public.js",
26
- "default": "./dist/tailwind-public.js"
27
- },
28
- "./assets/*": "./dist/assets/*",
29
- "./package.json": "./package.json",
30
- "./brand": {
31
- "types": "./dist/brand.d.ts",
32
- "import": "./dist/brand.js",
33
- "default": "./dist/brand.js"
34
- },
35
- "./i18n": {
36
- "types": "./dist/i18n-public.d.ts",
37
- "import": "./dist/i18n-public.js",
38
- "default": "./dist/i18n-public.js"
39
- },
40
- "./billing": {
41
- "types": "./dist/billing.d.ts",
42
- "import": "./dist/billing.js",
43
- "default": "./dist/billing.js"
44
- },
45
- "./social": {
46
- "types": "./dist/social.d.ts",
47
- "import": "./dist/social.js",
48
- "default": "./dist/social.js"
49
- },
50
- "./marketing": {
51
- "types": "./dist/marketing.d.ts",
52
- "import": "./dist/marketing.js",
53
- "default": "./dist/marketing.js"
54
- },
55
- "./assets": {
56
- "types": "./dist/assets-public.d.ts",
57
- "import": "./dist/assets-public.js",
58
- "default": "./dist/assets-public.js"
59
- },
60
- "./theme": {
61
- "types": "./dist/theme-public.d.ts",
62
- "import": "./dist/theme-public.js",
63
- "default": "./dist/theme-public.js"
64
- },
65
- "./sandbox": {
66
- "types": "./dist/sandbox.d.ts",
67
- "import": "./dist/sandbox.js",
68
- "default": "./dist/sandbox.js"
69
- }
70
- },
71
- "scripts": {
72
- "clean": "node scripts/clean.mjs",
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
- "typecheck": "tsc --noEmit",
75
- "test": "node --test tests/*.test.mjs",
76
- "pack:local": "npm pack",
77
- "prepublishOnly": "npm run typecheck && npm run build && npm pack --dry-run"
78
- },
79
- "peerDependencies": {
80
- "react": "^19.2.7",
81
- "react-dom": "^19.2.7",
82
- "tailwindcss": "^4.3.1",
83
- "next-themes": "^0.4.6"
84
- },
85
- "devDependencies": {
86
- "@types/react": "19.2.17",
87
- "@types/react-dom": "19.2.3",
88
- "react": "19.2.7",
89
- "react-dom": "19.2.7",
90
- "tailwindcss": "4.3.1",
91
- "tsup": "8.5.1",
92
- "typescript": "6.0.3",
93
- "next-themes": "0.4.6"
94
- },
95
- "publishConfig": {
96
- "registry": "https://registry.npmjs.org/",
97
- "access": "public"
98
- },
99
- "repository": {
100
- "type": "git",
101
- "url": "git+https://okmarq@github.com/Busiverse/ui-package.git"
102
- },
103
- "keywords": [
104
- "Busiverse",
105
- "Ecosystem",
106
- "Business",
107
- "Technology",
108
- "Intelligence"
109
- ],
110
- "license": "ISC",
111
- "bugs": {
112
- "url": "https://github.com/Busiverse/ui-package/issues"
113
- },
114
- "homepage": "https://github.com/Busiverse/ui-package#readme",
115
- "peerDependenciesMeta": {
116
- "tailwindcss": {
117
- "optional": true
118
- }
119
- },
120
- "engines": {
121
- "node": ">=22.12.0",
122
- "npm": ">=10.9.0"
123
- },
124
- "overrides": {
125
- "esbuild": "0.28.1"
126
- }
127
- }
1
+ {
2
+ "name": "@busiverse/ui",
3
+ "version": "0.2.17",
4
+ "author": "Joel Julius Okoromi <okmarq@gmail.com> (https://busiversehq.com)",
5
+ "description": "BUSIVERSE shared React UI, design tokens, pricing, i18n, auth helpers, and product shell. Network-neutral core; Gateway transport is app-injected.",
6
+ "type": "module",
7
+ "sideEffects": [
8
+ "./dist/styles.css"
9
+ ],
10
+ "files": [
11
+ "dist",
12
+ "README.md"
13
+ ],
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js",
20
+ "default": "./dist/index.js"
21
+ },
22
+ "./styles.css": "./dist/styles.css",
23
+ "./tailwind": {
24
+ "types": "./dist/tailwind-public.d.ts",
25
+ "import": "./dist/tailwind-public.js",
26
+ "default": "./dist/tailwind-public.js"
27
+ },
28
+ "./assets/*": "./dist/assets/*",
29
+ "./package.json": "./package.json",
30
+ "./brand": {
31
+ "types": "./dist/brand.d.ts",
32
+ "import": "./dist/brand.js",
33
+ "default": "./dist/brand.js"
34
+ },
35
+ "./i18n": {
36
+ "types": "./dist/i18n-public.d.ts",
37
+ "import": "./dist/i18n-public.js",
38
+ "default": "./dist/i18n-public.js"
39
+ },
40
+ "./billing": {
41
+ "types": "./dist/billing.d.ts",
42
+ "import": "./dist/billing.js",
43
+ "default": "./dist/billing.js"
44
+ },
45
+ "./social": {
46
+ "types": "./dist/social.d.ts",
47
+ "import": "./dist/social.js",
48
+ "default": "./dist/social.js"
49
+ },
50
+ "./marketing": {
51
+ "types": "./dist/marketing.d.ts",
52
+ "import": "./dist/marketing.js",
53
+ "default": "./dist/marketing.js"
54
+ },
55
+ "./assets": {
56
+ "types": "./dist/assets-public.d.ts",
57
+ "import": "./dist/assets-public.js",
58
+ "default": "./dist/assets-public.js"
59
+ },
60
+ "./theme": {
61
+ "types": "./dist/theme-public.d.ts",
62
+ "import": "./dist/theme-public.js",
63
+ "default": "./dist/theme-public.js"
64
+ },
65
+ "./sandbox": {
66
+ "types": "./dist/sandbox.d.ts",
67
+ "import": "./dist/sandbox.js",
68
+ "default": "./dist/sandbox.js"
69
+ }
70
+ },
71
+ "scripts": {
72
+ "clean": "node scripts/clean.mjs",
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
+ "typecheck": "tsc --noEmit",
75
+ "test": "node --test tests/*.test.mjs",
76
+ "pack:local": "npm pack",
77
+ "prepublishOnly": "npm run typecheck && npm run build && npm pack --dry-run"
78
+ },
79
+ "peerDependencies": {
80
+ "react": "^19.2.7",
81
+ "react-dom": "^19.2.7",
82
+ "tailwindcss": "^4.3.1",
83
+ "next-themes": "^0.4.6"
84
+ },
85
+ "devDependencies": {
86
+ "@types/react": "19.2.17",
87
+ "@types/react-dom": "19.2.3",
88
+ "react": "19.2.7",
89
+ "react-dom": "19.2.7",
90
+ "tailwindcss": "4.3.1",
91
+ "tsup": "8.5.1",
92
+ "typescript": "6.0.3",
93
+ "next-themes": "0.4.6"
94
+ },
95
+ "publishConfig": {
96
+ "registry": "https://registry.npmjs.org/",
97
+ "access": "public"
98
+ },
99
+ "repository": {
100
+ "type": "git",
101
+ "url": "git+https://okmarq@github.com/Busiverse/ui-package.git"
102
+ },
103
+ "keywords": [
104
+ "Busiverse",
105
+ "Ecosystem",
106
+ "Business",
107
+ "Technology",
108
+ "Intelligence"
109
+ ],
110
+ "license": "ISC",
111
+ "bugs": {
112
+ "url": "https://github.com/Busiverse/ui-package/issues"
113
+ },
114
+ "homepage": "https://github.com/Busiverse/ui-package#readme",
115
+ "peerDependenciesMeta": {
116
+ "tailwindcss": {
117
+ "optional": true
118
+ }
119
+ },
120
+ "engines": {
121
+ "node": ">=22.12.0",
122
+ "npm": ">=10.9.0"
123
+ },
124
+ "overrides": {
125
+ "esbuild": "0.28.1"
126
+ }
127
+ }