@busiverse/ui 0.2.5 → 0.2.7
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/README.md +16 -259
- package/dist/assets/assets.js +49 -0
- package/dist/{chunk-PTOKOI4Q.js → chunk-32FPZZH2.js} +1 -114
- package/dist/chunk-3XY5ZSTX.js +94 -0
- package/dist/{chunk-UU2CXC3N.js → chunk-ARMZUHU7.js} +73 -126
- package/dist/chunk-GRZVAWCA.js +63 -0
- package/dist/chunk-SZVGFEJG.js +115 -0
- package/dist/components/billing/index.js +2 -1
- package/dist/components/brand/index.js +4 -2
- package/dist/components/marketing/MarketingFeatureCard.d.ts +11 -0
- package/dist/components/marketing/MarketingFeatureCard.d.ts.map +1 -0
- package/dist/components/marketing/MarketingPricingCard.d.ts +16 -0
- package/dist/components/marketing/MarketingPricingCard.d.ts.map +1 -0
- package/dist/components/marketing/MarketingSectionHeader.d.ts +10 -0
- package/dist/components/marketing/MarketingSectionHeader.d.ts.map +1 -0
- package/dist/components/marketing/index.d.ts +3 -0
- package/dist/components/marketing/index.d.ts.map +1 -1
- package/dist/components/marketing/index.js +15 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -52
- package/dist/styles.css +87 -0
- package/package.json +21 -16
- package/dist/assets/index.d.ts +0 -2
- package/dist/assets/index.d.ts.map +0 -1
- package/dist/assets/index.js +0 -49
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -8,12 +8,6 @@ import {
|
|
|
8
8
|
} from "./chunk-SXD6EH2C.js";
|
|
9
9
|
import {
|
|
10
10
|
Badge,
|
|
11
|
-
Button,
|
|
12
|
-
Card,
|
|
13
|
-
CardContent,
|
|
14
|
-
CardDescription,
|
|
15
|
-
CardHeader,
|
|
16
|
-
CardTitle,
|
|
17
11
|
CurrencyAmount,
|
|
18
12
|
DataTable,
|
|
19
13
|
ServicePricingExplorer,
|
|
@@ -34,7 +28,7 @@ import {
|
|
|
34
28
|
getServicePricingSummaries,
|
|
35
29
|
getServicePricingSummary,
|
|
36
30
|
labelCadence
|
|
37
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ARMZUHU7.js";
|
|
38
32
|
import {
|
|
39
33
|
BusiverseI18nProvider,
|
|
40
34
|
RegionSelector,
|
|
@@ -46,11 +40,27 @@ import {
|
|
|
46
40
|
toRegionHeaders,
|
|
47
41
|
useBusiverseI18n
|
|
48
42
|
} from "./chunk-WDOMYE77.js";
|
|
43
|
+
import {
|
|
44
|
+
HeroSection,
|
|
45
|
+
MarketingFeatureCard,
|
|
46
|
+
MarketingPricingCard,
|
|
47
|
+
MarketingSectionHeader
|
|
48
|
+
} from "./chunk-3XY5ZSTX.js";
|
|
49
|
+
import {
|
|
50
|
+
Button,
|
|
51
|
+
Card,
|
|
52
|
+
CardContent,
|
|
53
|
+
CardDescription,
|
|
54
|
+
CardHeader,
|
|
55
|
+
CardTitle
|
|
56
|
+
} from "./chunk-GRZVAWCA.js";
|
|
49
57
|
import {
|
|
50
58
|
BusiverseBrandHead,
|
|
51
|
-
BusiverseLogo,
|
|
52
59
|
applyBusiverseBrandHead
|
|
53
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-SZVGFEJG.js";
|
|
61
|
+
import {
|
|
62
|
+
BusiverseLogo
|
|
63
|
+
} from "./chunk-32FPZZH2.js";
|
|
54
64
|
import {
|
|
55
65
|
BusiverseGithubIcon,
|
|
56
66
|
BusiverseLinkedInIcon,
|
|
@@ -62,14 +72,6 @@ import {
|
|
|
62
72
|
cn
|
|
63
73
|
} from "./chunk-PYZVP4NI.js";
|
|
64
74
|
|
|
65
|
-
// src/tokens/motion.ts
|
|
66
|
-
var busiverseMotion = {
|
|
67
|
-
fast: "150ms",
|
|
68
|
-
default: "200ms",
|
|
69
|
-
slow: "300ms",
|
|
70
|
-
easeStandard: "cubic-bezier(0.16, 1, 0.3, 1)"
|
|
71
|
-
};
|
|
72
|
-
|
|
73
75
|
// src/components/primitives/Input.tsx
|
|
74
76
|
import * as React from "react";
|
|
75
77
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -242,25 +244,6 @@ function ForbiddenState({ description = "You do not have permission to access th
|
|
|
242
244
|
return /* @__PURE__ */ jsx12(ErrorState, { title: "Access denied", description, action: /* @__PURE__ */ jsx12(Button, { variant: "secondary", children: "Go back" }) });
|
|
243
245
|
}
|
|
244
246
|
|
|
245
|
-
// src/components/marketing/HeroSection.tsx
|
|
246
|
-
import { jsx as jsx13, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
247
|
-
function HeroSection({
|
|
248
|
-
title = "Turn Ideas Into Operating Businesses",
|
|
249
|
-
subtitle = "BUSIVERSE combines AI automation, blockchain-backed trust, and modular business services to help teams launch and operate ventures faster.",
|
|
250
|
-
primaryCta = /* @__PURE__ */ jsx13(Button, { children: "Start Building" }),
|
|
251
|
-
secondaryCta = /* @__PURE__ */ jsx13(Button, { variant: "secondary", children: "Explore the Platform" })
|
|
252
|
-
}) {
|
|
253
|
-
return /* @__PURE__ */ jsx13("section", { className: "busiverse-hero", children: /* @__PURE__ */ jsxs6("div", { className: "busiverse-hero-content", children: [
|
|
254
|
-
/* @__PURE__ */ jsx13(BusiverseLogo, { variant: "full", tone: "white", className: "busiverse-hero-logo" }),
|
|
255
|
-
/* @__PURE__ */ jsx13("h1", { children: title }),
|
|
256
|
-
/* @__PURE__ */ jsx13("p", { children: subtitle }),
|
|
257
|
-
/* @__PURE__ */ jsxs6("div", { className: "busiverse-hero-actions", children: [
|
|
258
|
-
primaryCta,
|
|
259
|
-
secondaryCta
|
|
260
|
-
] })
|
|
261
|
-
] }) });
|
|
262
|
-
}
|
|
263
|
-
|
|
264
247
|
// src/api/createGatewayClient.ts
|
|
265
248
|
var GatewayApiError = class extends Error {
|
|
266
249
|
status;
|
|
@@ -307,10 +290,10 @@ function createGatewayClient(options) {
|
|
|
307
290
|
|
|
308
291
|
// src/auth/AuthSessionProvider.tsx
|
|
309
292
|
import * as React4 from "react";
|
|
310
|
-
import { jsx as
|
|
293
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
311
294
|
var AuthContext = React4.createContext(null);
|
|
312
295
|
function AuthSessionProvider({ children, session }) {
|
|
313
|
-
return /* @__PURE__ */
|
|
296
|
+
return /* @__PURE__ */ jsx13(AuthContext.Provider, { value: session, children });
|
|
314
297
|
}
|
|
315
298
|
function useBusiverseAuth() {
|
|
316
299
|
const value = React4.useContext(AuthContext);
|
|
@@ -319,36 +302,44 @@ function useBusiverseAuth() {
|
|
|
319
302
|
}
|
|
320
303
|
|
|
321
304
|
// src/auth/RequireAuth.tsx
|
|
322
|
-
import { Fragment, jsx as
|
|
305
|
+
import { Fragment, jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
323
306
|
function RequireAuth({ children }) {
|
|
324
307
|
const auth = useBusiverseAuth();
|
|
325
|
-
if (auth.isLoading) return /* @__PURE__ */
|
|
308
|
+
if (auth.isLoading) return /* @__PURE__ */ jsx14("div", { className: "busiverse-loading-state", children: "Checking session\u2026" });
|
|
326
309
|
if (!auth.isAuthenticated) {
|
|
327
|
-
return /* @__PURE__ */
|
|
328
|
-
/* @__PURE__ */
|
|
329
|
-
/* @__PURE__ */
|
|
330
|
-
/* @__PURE__ */
|
|
310
|
+
return /* @__PURE__ */ jsxs6("div", { className: "busiverse-auth-required", children: [
|
|
311
|
+
/* @__PURE__ */ jsx14("h1", { children: "Sign in required" }),
|
|
312
|
+
/* @__PURE__ */ jsx14("p", { children: "Use your BUSIVERSE account to continue." }),
|
|
313
|
+
/* @__PURE__ */ jsx14(Button, { onClick: () => void auth.signIn(), children: "Sign in" })
|
|
331
314
|
] });
|
|
332
315
|
}
|
|
333
|
-
return /* @__PURE__ */
|
|
316
|
+
return /* @__PURE__ */ jsx14(Fragment, { children });
|
|
334
317
|
}
|
|
335
318
|
|
|
336
319
|
// src/auth/SignUpLink.tsx
|
|
337
|
-
import { jsx as
|
|
320
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
338
321
|
function SignUpLink({ signupUrl = "https://user.busiversehq.com/signup", children = "Create your Busiverse account", ...props }) {
|
|
339
|
-
return /* @__PURE__ */
|
|
322
|
+
return /* @__PURE__ */ jsx15("a", { href: signupUrl, ...props, children });
|
|
340
323
|
}
|
|
341
324
|
|
|
342
325
|
// src/auth/UserMenu.tsx
|
|
343
|
-
import { jsx as
|
|
326
|
+
import { jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
344
327
|
function UserMenu() {
|
|
345
328
|
const auth = useBusiverseAuth();
|
|
346
|
-
if (!auth.isAuthenticated || !auth.user) return /* @__PURE__ */
|
|
347
|
-
return /* @__PURE__ */
|
|
348
|
-
/* @__PURE__ */
|
|
349
|
-
/* @__PURE__ */
|
|
329
|
+
if (!auth.isAuthenticated || !auth.user) return /* @__PURE__ */ jsx16(Button, { size: "sm", onClick: () => void auth.signIn(), children: "Sign in" });
|
|
330
|
+
return /* @__PURE__ */ jsxs7("div", { className: "busiverse-user-menu", children: [
|
|
331
|
+
/* @__PURE__ */ jsx16("span", { children: auth.user.name ?? auth.user.email ?? "User" }),
|
|
332
|
+
/* @__PURE__ */ jsx16(Button, { size: "sm", variant: "ghost", onClick: () => void auth.signOut(), children: "Sign out" })
|
|
350
333
|
] });
|
|
351
334
|
}
|
|
335
|
+
|
|
336
|
+
// src/tokens/motion.ts
|
|
337
|
+
var busiverseMotion = {
|
|
338
|
+
fast: "150ms",
|
|
339
|
+
default: "200ms",
|
|
340
|
+
slow: "300ms",
|
|
341
|
+
easeStandard: "cubic-bezier(0.16, 1, 0.3, 1)"
|
|
342
|
+
};
|
|
352
343
|
export {
|
|
353
344
|
AppShell,
|
|
354
345
|
AuthSessionProvider,
|
|
@@ -377,6 +368,9 @@ export {
|
|
|
377
368
|
GatewayApiError,
|
|
378
369
|
HeroSection,
|
|
379
370
|
Input,
|
|
371
|
+
MarketingFeatureCard,
|
|
372
|
+
MarketingPricingCard,
|
|
373
|
+
MarketingSectionHeader,
|
|
380
374
|
PageHeader,
|
|
381
375
|
RegionSelector,
|
|
382
376
|
RequireAuth,
|
package/dist/styles.css
CHANGED
|
@@ -39,6 +39,15 @@
|
|
|
39
39
|
--motion-default: 200ms;
|
|
40
40
|
--motion-slow: 300ms;
|
|
41
41
|
--ease-standard: cubic-bezier(0.16,1,0.3,1);
|
|
42
|
+
/* Legacy HSL variables used by existing BUSIVERSE frontends. */
|
|
43
|
+
--base-bg: 222 84% 2%;
|
|
44
|
+
--secondary-bg: 222 47% 7%;
|
|
45
|
+
--primary-blue: 217 91% 60%;
|
|
46
|
+
--primary-violet: 258 90% 66%;
|
|
47
|
+
--primary-cyan: 188 95% 43%;
|
|
48
|
+
--text-body: 210 40% 96%;
|
|
49
|
+
--text-muted: 215 20% 65%;
|
|
50
|
+
--text-disabled: 215 16% 47%;
|
|
42
51
|
color-scheme: dark;
|
|
43
52
|
}
|
|
44
53
|
|
|
@@ -253,3 +262,81 @@ img, svg { max-width: 100%; display: block; }
|
|
|
253
262
|
.busiverse-pricing-grid { grid-template-columns: 1fr; }
|
|
254
263
|
.busiverse-pricing-controls > input { max-width: none; }
|
|
255
264
|
}
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
/* Customer-facing marketing primitives */
|
|
268
|
+
.busiverse-marketing-section-header {
|
|
269
|
+
max-width: 820px;
|
|
270
|
+
margin-inline: auto;
|
|
271
|
+
text-align: center;
|
|
272
|
+
margin-bottom: 56px;
|
|
273
|
+
}
|
|
274
|
+
.busiverse-marketing-section-header.is-left { margin-inline: 0; text-align: left; }
|
|
275
|
+
.busiverse-marketing-eyebrow {
|
|
276
|
+
margin: 0 0 12px;
|
|
277
|
+
color: #A5F3FC;
|
|
278
|
+
font-weight: 700;
|
|
279
|
+
text-transform: uppercase;
|
|
280
|
+
letter-spacing: .12em;
|
|
281
|
+
font-size: 12px;
|
|
282
|
+
}
|
|
283
|
+
.busiverse-marketing-section-header h2 {
|
|
284
|
+
margin: 0;
|
|
285
|
+
font-family: var(--font-display);
|
|
286
|
+
font-size: clamp(34px, 5vw, 58px);
|
|
287
|
+
line-height: 1.08;
|
|
288
|
+
letter-spacing: -.02em;
|
|
289
|
+
color: #FFFFFF;
|
|
290
|
+
}
|
|
291
|
+
.busiverse-marketing-section-header p:not(.busiverse-marketing-eyebrow) {
|
|
292
|
+
margin: 18px auto 0;
|
|
293
|
+
color: #CBD5E1;
|
|
294
|
+
font-size: clamp(16px, 2vw, 20px);
|
|
295
|
+
line-height: 1.7;
|
|
296
|
+
}
|
|
297
|
+
.busiverse-marketing-feature-card {
|
|
298
|
+
height: 100%;
|
|
299
|
+
position: relative;
|
|
300
|
+
overflow: hidden;
|
|
301
|
+
}
|
|
302
|
+
.busiverse-marketing-feature-card::before {
|
|
303
|
+
content: "";
|
|
304
|
+
position: absolute;
|
|
305
|
+
inset: 0;
|
|
306
|
+
background: linear-gradient(135deg, rgba(59,130,246,.10), rgba(139,92,246,.06), rgba(6,182,212,.08));
|
|
307
|
+
opacity: .72;
|
|
308
|
+
pointer-events: none;
|
|
309
|
+
}
|
|
310
|
+
.busiverse-marketing-feature-card > * { position: relative; z-index: 1; }
|
|
311
|
+
.busiverse-marketing-feature-topline { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #A5F3FC; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
|
|
312
|
+
.busiverse-marketing-feature-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(59,130,246,.14); border: 1px solid rgba(59,130,246,.35); color: #BFDBFE; }
|
|
313
|
+
.busiverse-marketing-feature-card h3 { margin: 0 0 10px; font-family: var(--font-display); color: #FFFFFF; font-size: 22px; line-height: 1.25; }
|
|
314
|
+
.busiverse-marketing-feature-card p { margin: 0; color: #CBD5E1; line-height: 1.65; }
|
|
315
|
+
.busiverse-marketing-feature-card ul, .busiverse-marketing-pricing-card ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
|
|
316
|
+
.busiverse-marketing-feature-card li, .busiverse-marketing-pricing-card li { color: #F1F5F9; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
|
|
317
|
+
.busiverse-marketing-feature-card li::before, .busiverse-marketing-pricing-card li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 999px; background: linear-gradient(90deg,#3B82F6,#06B6D4); flex: 0 0 auto; }
|
|
318
|
+
.busiverse-marketing-pricing-card { position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
|
|
319
|
+
.busiverse-marketing-pricing-card.is-featured { border-color: rgba(6,182,212,.45); background: linear-gradient(145deg, rgba(59,130,246,.14), rgba(139,92,246,.10), rgba(6,182,212,.10)); }
|
|
320
|
+
.busiverse-marketing-pricing-ribbon { position: absolute; top: 18px; right: 18px; border: 1px solid rgba(6,182,212,.35); background: rgba(6,182,212,.14); color: #A5F3FC; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
|
|
321
|
+
.busiverse-marketing-pricing-tagline { margin: 0 0 10px; color: #A5F3FC; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .10em; }
|
|
322
|
+
.busiverse-marketing-pricing-card h3 { margin: 0; color: #FFFFFF; font-family: var(--font-display); font-size: 28px; }
|
|
323
|
+
.busiverse-marketing-pricing-price { margin: 18px 0 12px; display: flex; align-items: baseline; gap: 8px; }
|
|
324
|
+
.busiverse-marketing-pricing-price strong { font-family: var(--font-display); font-size: clamp(34px, 6vw, 52px); line-height: 1; color: #FFFFFF; }
|
|
325
|
+
.busiverse-marketing-pricing-price span { color: #94A3B8; }
|
|
326
|
+
.busiverse-marketing-pricing-description { margin: 0; color: #CBD5E1; line-height: 1.65; }
|
|
327
|
+
.busiverse-marketing-pricing-button { width: 100%; margin-top: 24px; }
|
|
328
|
+
.busiverse-marketing-pricing-card a.busiverse-marketing-pricing-button { display: inline-flex; }
|
|
329
|
+
.busiverse-marketing-pricing-note { margin: 14px 0 0; color: #94A3B8; font-size: 13px; line-height: 1.5; }
|
|
330
|
+
|
|
331
|
+
/* Legacy-compatible BUSIVERSE utility aliases used across existing frontends. */
|
|
332
|
+
.bg-gradient-primary { background: linear-gradient(90deg, #2563EB 0%, #7C3AED 100%); }
|
|
333
|
+
.bg-gradient-hero { background: linear-gradient(135deg, #020617 0%, #172554 45%, #0F172A 100%); }
|
|
334
|
+
.glass-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(16px); border-radius: 16px; }
|
|
335
|
+
.text-gradient-full { background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
336
|
+
.text-gradient-blue-violet { background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
337
|
+
.text-gradient-violet-cyan { background: linear-gradient(90deg, #8B5CF6 0%, #06B6D4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
338
|
+
.text-gradient-blue-cyan { background: linear-gradient(90deg, #3B82F6 0%, #06B6D4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
339
|
+
.text-stats { font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); font-weight: 700; line-height: 1.1; }
|
|
340
|
+
.font-heading { font-family: var(--font-display); }
|
|
341
|
+
.animate-float { animation: busiverse-float 3s ease-in-out infinite; }
|
|
342
|
+
@keyframes busiverse-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@busiverse/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"author": "Joel Julius Okoromi <okmarq@gmail.com> (https://busiversehq.com)",
|
|
5
|
-
"description": "BUSIVERSE shared React UI, design tokens,
|
|
5
|
+
"description": "BUSIVERSE shared React UI, design tokens, brand assets, marketing components, i18n, auth helpers, and product shell. Network-neutral core; Gateway transport is app-injected.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
8
8
|
"./dist/styles.css"
|
|
@@ -25,23 +25,11 @@
|
|
|
25
25
|
"import": "./dist/tailwind/index.js",
|
|
26
26
|
"default": "./dist/tailwind/index.js"
|
|
27
27
|
},
|
|
28
|
-
"./assets/*": "./dist/assets/*",
|
|
29
|
-
"./package.json": "./package.json",
|
|
30
|
-
"./assets": {
|
|
31
|
-
"types": "./dist/assets/index.d.ts",
|
|
32
|
-
"import": "./dist/assets/index.js",
|
|
33
|
-
"default": "./dist/assets/index.js"
|
|
34
|
-
},
|
|
35
28
|
"./brand": {
|
|
36
29
|
"types": "./dist/components/brand/index.d.ts",
|
|
37
30
|
"import": "./dist/components/brand/index.js",
|
|
38
31
|
"default": "./dist/components/brand/index.js"
|
|
39
32
|
},
|
|
40
|
-
"./social": {
|
|
41
|
-
"types": "./dist/components/social/index.d.ts",
|
|
42
|
-
"import": "./dist/components/social/index.js",
|
|
43
|
-
"default": "./dist/components/social/index.js"
|
|
44
|
-
},
|
|
45
33
|
"./i18n": {
|
|
46
34
|
"types": "./dist/i18n/index.d.ts",
|
|
47
35
|
"import": "./dist/i18n/index.js",
|
|
@@ -51,11 +39,28 @@
|
|
|
51
39
|
"types": "./dist/components/billing/index.d.ts",
|
|
52
40
|
"import": "./dist/components/billing/index.js",
|
|
53
41
|
"default": "./dist/components/billing/index.js"
|
|
54
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"./marketing": {
|
|
44
|
+
"types": "./dist/components/marketing/index.d.ts",
|
|
45
|
+
"import": "./dist/components/marketing/index.js",
|
|
46
|
+
"default": "./dist/components/marketing/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./social": {
|
|
49
|
+
"types": "./dist/components/social/index.d.ts",
|
|
50
|
+
"import": "./dist/components/social/index.js",
|
|
51
|
+
"default": "./dist/components/social/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./assets": {
|
|
54
|
+
"types": "./dist/assets/assets.d.ts",
|
|
55
|
+
"import": "./dist/assets/assets.js",
|
|
56
|
+
"default": "./dist/assets/assets.js"
|
|
57
|
+
},
|
|
58
|
+
"./assets/*": "./dist/assets/*",
|
|
59
|
+
"./package.json": "./package.json"
|
|
55
60
|
},
|
|
56
61
|
"scripts": {
|
|
57
62
|
"clean": "node scripts/clean.mjs",
|
|
58
|
-
"build": "npm run clean && tsup src/index.ts src/tailwind/index.ts src/
|
|
63
|
+
"build": "npm run clean && tsup src/index.ts src/tailwind/index.ts src/components/brand/index.ts src/i18n/index.ts src/components/billing/index.ts src/components/marketing/index.ts src/components/social/index.ts src/assets/assets.ts --format esm --target es2022 && tsc -p tsconfig.build.json && node scripts/copy-static.mjs",
|
|
59
64
|
"typecheck": "tsc --noEmit",
|
|
60
65
|
"pack:local": "npm pack",
|
|
61
66
|
"prepublishOnly": "npm run typecheck && npm run build && npm pack --dry-run"
|
package/dist/assets/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
package/dist/assets/index.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// src/assets/assets.ts
|
|
2
|
-
var busiverseAssets = {
|
|
3
|
-
logo: {
|
|
4
|
-
horizontal: {
|
|
5
|
-
white: new URL("./assets/logo/busiverse-horizontal---white.svg", import.meta.url).href,
|
|
6
|
-
black: new URL("./assets/logo/busiverse-horizontal---black.svg", import.meta.url).href,
|
|
7
|
-
color: new URL("./assets/logo/busiverse-horizontal---color.svg", import.meta.url).href
|
|
8
|
-
},
|
|
9
|
-
full: {
|
|
10
|
-
white: new URL("./assets/logo/busiverse-primary-full-logo---white.svg", import.meta.url).href,
|
|
11
|
-
black: new URL("./assets/logo/busiverse-primary-full-logo---black.svg", import.meta.url).href,
|
|
12
|
-
color: new URL("./assets/logo/busiverse-primary-full-logo---color.svg", import.meta.url).href
|
|
13
|
-
},
|
|
14
|
-
vertical: {
|
|
15
|
-
white: new URL("./assets/logo/busiverse-vertical---white.svg", import.meta.url).href,
|
|
16
|
-
black: new URL("./assets/logo/busiverse-vertical---black.svg", import.meta.url).href,
|
|
17
|
-
color: new URL("./assets/logo/busiverse-vertical---color.svg", import.meta.url).href
|
|
18
|
-
},
|
|
19
|
-
icon: {
|
|
20
|
-
white: new URL("./assets/icon/busiverse-icon-only---white.svg", import.meta.url).href,
|
|
21
|
-
black: new URL("./assets/icon/busiverse-icon-only---black.svg", import.meta.url).href,
|
|
22
|
-
color: new URL("./assets/icon/busiverse-icon-only---color.svg", import.meta.url).href
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
favicon: {
|
|
26
|
-
ico: new URL("./assets/favicon.io/favicon.ico", import.meta.url).href,
|
|
27
|
-
png16: new URL("./assets/favicon.io/favicon-16x16.png", import.meta.url).href,
|
|
28
|
-
png32: new URL("./assets/favicon.io/favicon-32x32.png", import.meta.url).href,
|
|
29
|
-
png96: new URL("./assets/favicon.io/favicon-96x96.png", import.meta.url).href,
|
|
30
|
-
appleTouchIcon: new URL("./assets/favicon.io/apple-touch-icon.png", import.meta.url).href,
|
|
31
|
-
androidChrome192: new URL("./assets/favicon.io/android-chrome-192x192.png", import.meta.url).href,
|
|
32
|
-
androidChrome512: new URL("./assets/favicon.io/android-chrome-512x512.png", import.meta.url).href,
|
|
33
|
-
androidIcon192: new URL("./assets/favicon.io/android-icon-192x192.png", import.meta.url).href,
|
|
34
|
-
msTile144: new URL("./assets/favicon.io/ms-icon-144x144.png", import.meta.url).href
|
|
35
|
-
},
|
|
36
|
-
social: {
|
|
37
|
-
xHeader: new URL("./assets/social/busiverse-twitter_x-header-2.7777777777777777x-darkbg.png", import.meta.url).href,
|
|
38
|
-
xProfile: new URL("./assets/social/busiverse-twitter_x-profile-picture-2.2222222222222223x-darkbg.png", import.meta.url).href,
|
|
39
|
-
linkedInCover: new URL("./assets/social/busiverse-linkedin-cover-photo-2.64x-darkbg.png", import.meta.url).href,
|
|
40
|
-
linkedInProfile: new URL("./assets/social/busiverse-linkedin-profile-picture-2.2222222222222223x-darkbg.png", import.meta.url).href,
|
|
41
|
-
facebookCover: new URL("./assets/social/busiverse-facebook-cover-photo-1.7333333333333334x-darkbg.png", import.meta.url).href,
|
|
42
|
-
facebookProfile: new URL("./assets/social/busiverse-facebook-profile-picture-1x-darkbg.png", import.meta.url).href,
|
|
43
|
-
instagramPost: new URL("./assets/social/busiverse-instagram-post-6x-darkbg.png", import.meta.url).href,
|
|
44
|
-
instagramProfile: new URL("./assets/social/busiverse-instagram-profile-picture-1.7777777777777777x-darkbg.png", import.meta.url).href
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
busiverseAssets
|
|
49
|
-
};
|