@busiverse/ui 0.2.4 → 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 -225
- package/dist/assets/assets.js +49 -0
- package/dist/chunk-2TTXWTIT.js +66 -0
- package/dist/chunk-32FPZZH2.js +40 -0
- package/dist/chunk-3XY5ZSTX.js +94 -0
- package/dist/chunk-ARMZUHU7.js +7833 -0
- package/dist/chunk-GRZVAWCA.js +63 -0
- package/dist/chunk-NZ65VTKR.js +0 -0
- package/dist/chunk-PYZVP4NI.js +24 -0
- package/dist/chunk-SZVGFEJG.js +115 -0
- package/dist/chunk-WDOMYE77.js +101 -0
- package/dist/components/billing/index.js +13 -0
- package/dist/components/brand/BusiverseBrandHead.d.ts.map +1 -1
- package/dist/components/brand/index.js +13 -0
- 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/components/social/index.js +15 -0
- package/dist/i18n/index.js +20 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +156 -8298
- package/dist/styles.css +87 -0
- package/package.json +33 -3
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-PYZVP4NI.js";
|
|
4
|
+
|
|
5
|
+
// src/components/primitives/Button.tsx
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
var variants = {
|
|
9
|
+
primary: "busiverse-btn-primary",
|
|
10
|
+
secondary: "busiverse-btn-secondary",
|
|
11
|
+
ghost: "busiverse-btn-ghost",
|
|
12
|
+
danger: "busiverse-btn-danger",
|
|
13
|
+
success: "busiverse-btn-success",
|
|
14
|
+
link: "busiverse-btn-link"
|
|
15
|
+
};
|
|
16
|
+
var sizes = {
|
|
17
|
+
sm: "busiverse-btn-sm",
|
|
18
|
+
md: "busiverse-btn-md",
|
|
19
|
+
lg: "busiverse-btn-lg"
|
|
20
|
+
};
|
|
21
|
+
var Button = React.forwardRef(function Button2({ className, variant = "primary", size = "md", isLoading, children, disabled, ...props }, ref) {
|
|
22
|
+
return /* @__PURE__ */ jsxs(
|
|
23
|
+
"button",
|
|
24
|
+
{
|
|
25
|
+
ref,
|
|
26
|
+
className: cn("busiverse-focus-ring busiverse-btn", variants[variant], sizes[size], className),
|
|
27
|
+
disabled: disabled || isLoading,
|
|
28
|
+
"aria-busy": isLoading || void 0,
|
|
29
|
+
...props,
|
|
30
|
+
children: [
|
|
31
|
+
isLoading && /* @__PURE__ */ jsx("span", { className: "busiverse-spinner", "aria-hidden": "true" }),
|
|
32
|
+
/* @__PURE__ */ jsx("span", { children })
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
// src/components/primitives/Card.tsx
|
|
39
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
40
|
+
function Card({ className, interactive, ...props }) {
|
|
41
|
+
return /* @__PURE__ */ jsx2("div", { className: cn("busiverse-card", interactive && "busiverse-card-interactive", className), ...props });
|
|
42
|
+
}
|
|
43
|
+
function CardHeader({ className, ...props }) {
|
|
44
|
+
return /* @__PURE__ */ jsx2("div", { className: cn("busiverse-card-header", className), ...props });
|
|
45
|
+
}
|
|
46
|
+
function CardTitle({ className, ...props }) {
|
|
47
|
+
return /* @__PURE__ */ jsx2("h3", { className: cn("busiverse-card-title", className), ...props });
|
|
48
|
+
}
|
|
49
|
+
function CardDescription({ className, ...props }) {
|
|
50
|
+
return /* @__PURE__ */ jsx2("p", { className: cn("busiverse-card-description", className), ...props });
|
|
51
|
+
}
|
|
52
|
+
function CardContent({ className, ...props }) {
|
|
53
|
+
return /* @__PURE__ */ jsx2("div", { className: cn("busiverse-card-content", className), ...props });
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
Button,
|
|
58
|
+
Card,
|
|
59
|
+
CardHeader,
|
|
60
|
+
CardTitle,
|
|
61
|
+
CardDescription,
|
|
62
|
+
CardContent
|
|
63
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// src/utils/cn.ts
|
|
2
|
+
function cn(...values) {
|
|
3
|
+
const out = [];
|
|
4
|
+
const push = (value) => {
|
|
5
|
+
if (!value) return;
|
|
6
|
+
if (typeof value === "string" || typeof value === "number") {
|
|
7
|
+
out.push(String(value));
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (Array.isArray(value)) {
|
|
11
|
+
value.forEach(push);
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
Object.entries(value).forEach(([key, enabled]) => {
|
|
15
|
+
if (enabled) out.push(key);
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
values.forEach(push);
|
|
19
|
+
return out.join(" ");
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
cn
|
|
24
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// src/components/brand/BusiverseBrandHead.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
var faviconIco = new URL("../../assets/favicon.io/favicon.ico", import.meta.url).href;
|
|
4
|
+
var favicon16 = new URL("../../assets/favicon.io/favicon-16x16.png", import.meta.url).href;
|
|
5
|
+
var favicon32 = new URL("../../assets/favicon.io/favicon-32x32.png", import.meta.url).href;
|
|
6
|
+
var favicon96 = new URL("../../assets/favicon.io/favicon-96x96.png", import.meta.url).href;
|
|
7
|
+
var appleTouchIcon = new URL("../../assets/favicon.io/apple-touch-icon.png", import.meta.url).href;
|
|
8
|
+
var androidChrome192 = new URL("../../assets/favicon.io/android-chrome-192x192.png", import.meta.url).href;
|
|
9
|
+
var androidChrome512 = new URL("../../assets/favicon.io/android-chrome-512x512.png", import.meta.url).href;
|
|
10
|
+
var androidIcon192 = new URL("../../assets/favicon.io/android-icon-192x192.png", import.meta.url).href;
|
|
11
|
+
var msTile144 = new URL("../../assets/favicon.io/ms-icon-144x144.png", import.meta.url).href;
|
|
12
|
+
var defaultSocialImage = new URL("../../assets/social/busiverse-twitter_x-header-2.7777777777777777x-darkbg.png", import.meta.url).href;
|
|
13
|
+
var DEFAULT_TITLE = "BUSIVERSE \u2014 Turn Ideas Into Operating Businesses";
|
|
14
|
+
var DEFAULT_DESCRIPTION = "BUSIVERSE combines AI automation, blockchain-backed trust, and modular business services to help teams launch and operate ventures faster.";
|
|
15
|
+
var DEFAULT_THEME_COLOR = "#020617";
|
|
16
|
+
function ensureMeta(selector, attributes) {
|
|
17
|
+
let node = document.head.querySelector(selector);
|
|
18
|
+
if (!node) {
|
|
19
|
+
node = document.createElement("meta");
|
|
20
|
+
document.head.appendChild(node);
|
|
21
|
+
}
|
|
22
|
+
Object.entries(attributes).forEach(([key, value]) => node?.setAttribute(key, value));
|
|
23
|
+
return node;
|
|
24
|
+
}
|
|
25
|
+
function ensureLink(selector, attributes) {
|
|
26
|
+
let node = document.head.querySelector(selector);
|
|
27
|
+
if (!node) {
|
|
28
|
+
node = document.createElement("link");
|
|
29
|
+
node.setAttribute("data-busiverse-ui-head", "true");
|
|
30
|
+
document.head.appendChild(node);
|
|
31
|
+
}
|
|
32
|
+
Object.entries(attributes).forEach(([key, value]) => node?.setAttribute(key, value));
|
|
33
|
+
return node;
|
|
34
|
+
}
|
|
35
|
+
function createManifestDataUrl(title, description, themeColor) {
|
|
36
|
+
const manifest = {
|
|
37
|
+
name: title,
|
|
38
|
+
short_name: "BUSIVERSE",
|
|
39
|
+
description,
|
|
40
|
+
start_url: "/",
|
|
41
|
+
scope: "/",
|
|
42
|
+
display: "standalone",
|
|
43
|
+
background_color: themeColor,
|
|
44
|
+
theme_color: themeColor,
|
|
45
|
+
icons: [
|
|
46
|
+
{ src: androidChrome192, sizes: "192x192", type: "image/png" },
|
|
47
|
+
{ src: androidChrome512, sizes: "512x512", type: "image/png" }
|
|
48
|
+
]
|
|
49
|
+
};
|
|
50
|
+
return `data:application/manifest+json,${encodeURIComponent(JSON.stringify(manifest))}`;
|
|
51
|
+
}
|
|
52
|
+
function applyBusiverseBrandHead({
|
|
53
|
+
title = DEFAULT_TITLE,
|
|
54
|
+
description = DEFAULT_DESCRIPTION,
|
|
55
|
+
siteName = "Busiverse",
|
|
56
|
+
url,
|
|
57
|
+
image = defaultSocialImage,
|
|
58
|
+
twitterSite = "@busiverse1",
|
|
59
|
+
keywords = "Busiverse, AI automation, blockchain-backed trust, modular business services, distributed business infrastructure",
|
|
60
|
+
locale = "en_NG",
|
|
61
|
+
themeColor = DEFAULT_THEME_COLOR,
|
|
62
|
+
appleMobileWebAppTitle = "BUSIVERSE",
|
|
63
|
+
applicationName = "BUSIVERSE"
|
|
64
|
+
} = {}) {
|
|
65
|
+
document.title = title;
|
|
66
|
+
ensureMeta('meta[name="description"]', { name: "description", content: description });
|
|
67
|
+
ensureMeta('meta[name="keywords"]', { name: "keywords", content: keywords });
|
|
68
|
+
ensureMeta('meta[name="theme-color"]', { name: "theme-color", content: themeColor });
|
|
69
|
+
ensureMeta('meta[name="application-name"]', { name: "application-name", content: applicationName });
|
|
70
|
+
ensureMeta('meta[name="apple-mobile-web-app-title"]', { name: "apple-mobile-web-app-title", content: appleMobileWebAppTitle });
|
|
71
|
+
ensureMeta('meta[name="msapplication-TileColor"]', { name: "msapplication-TileColor", content: themeColor });
|
|
72
|
+
ensureMeta('meta[name="msapplication-TileImage"]', { name: "msapplication-TileImage", content: msTile144 });
|
|
73
|
+
ensureLink('link[data-busiverse-ui-head="icon-ico"]', { rel: "icon", type: "image/x-icon", href: faviconIco, "data-busiverse-ui-head": "icon-ico" });
|
|
74
|
+
ensureLink('link[data-busiverse-ui-head="icon-16"]', { rel: "icon", type: "image/png", sizes: "16x16", href: favicon16, "data-busiverse-ui-head": "icon-16" });
|
|
75
|
+
ensureLink('link[data-busiverse-ui-head="icon-32"]', { rel: "icon", type: "image/png", sizes: "32x32", href: favicon32, "data-busiverse-ui-head": "icon-32" });
|
|
76
|
+
ensureLink('link[data-busiverse-ui-head="icon-96"]', { rel: "icon", type: "image/png", sizes: "96x96", href: favicon96, "data-busiverse-ui-head": "icon-96" });
|
|
77
|
+
ensureLink('link[data-busiverse-ui-head="icon-192"]', { rel: "icon", type: "image/png", sizes: "192x192", href: androidIcon192, "data-busiverse-ui-head": "icon-192" });
|
|
78
|
+
ensureLink('link[data-busiverse-ui-head="apple-touch-icon"]', { rel: "apple-touch-icon", sizes: "180x180", href: appleTouchIcon, "data-busiverse-ui-head": "apple-touch-icon" });
|
|
79
|
+
ensureLink('link[data-busiverse-ui-head="manifest"]', { rel: "manifest", href: createManifestDataUrl(title, description, themeColor), "data-busiverse-ui-head": "manifest" });
|
|
80
|
+
ensureMeta('meta[property="og:title"]', { property: "og:title", content: title });
|
|
81
|
+
ensureMeta('meta[property="og:description"]', { property: "og:description", content: description });
|
|
82
|
+
ensureMeta('meta[property="og:type"]', { property: "og:type", content: "website" });
|
|
83
|
+
ensureMeta('meta[property="og:site_name"]', { property: "og:site_name", content: siteName });
|
|
84
|
+
ensureMeta('meta[property="og:locale"]', { property: "og:locale", content: locale });
|
|
85
|
+
ensureMeta('meta[property="og:image"]', { property: "og:image", content: image });
|
|
86
|
+
if (url) ensureMeta('meta[property="og:url"]', { property: "og:url", content: url });
|
|
87
|
+
ensureMeta('meta[name="twitter:card"]', { name: "twitter:card", content: "summary_large_image" });
|
|
88
|
+
ensureMeta('meta[name="twitter:title"]', { name: "twitter:title", content: title });
|
|
89
|
+
ensureMeta('meta[name="twitter:description"]', { name: "twitter:description", content: description });
|
|
90
|
+
ensureMeta('meta[name="twitter:site"]', { name: "twitter:site", content: twitterSite });
|
|
91
|
+
ensureMeta('meta[name="twitter:image"]', { name: "twitter:image", content: image });
|
|
92
|
+
}
|
|
93
|
+
function BusiverseBrandHead(props) {
|
|
94
|
+
React.useEffect(() => {
|
|
95
|
+
applyBusiverseBrandHead(props);
|
|
96
|
+
}, [
|
|
97
|
+
props.title,
|
|
98
|
+
props.description,
|
|
99
|
+
props.siteName,
|
|
100
|
+
props.url,
|
|
101
|
+
props.image,
|
|
102
|
+
props.twitterSite,
|
|
103
|
+
props.keywords,
|
|
104
|
+
props.locale,
|
|
105
|
+
props.themeColor,
|
|
106
|
+
props.appleMobileWebAppTitle,
|
|
107
|
+
props.applicationName
|
|
108
|
+
]);
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export {
|
|
113
|
+
applyBusiverseBrandHead,
|
|
114
|
+
BusiverseBrandHead
|
|
115
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-PYZVP4NI.js";
|
|
4
|
+
|
|
5
|
+
// src/i18n/format.ts
|
|
6
|
+
function formatCurrency(amount, region, options) {
|
|
7
|
+
return new Intl.NumberFormat(region.locale, { style: "currency", currency: region.currencyCode, ...options }).format(amount);
|
|
8
|
+
}
|
|
9
|
+
function formatNumber(value, locale = "en-NG", options) {
|
|
10
|
+
return new Intl.NumberFormat(locale, options).format(value);
|
|
11
|
+
}
|
|
12
|
+
function formatDate(value, region, options) {
|
|
13
|
+
return new Intl.DateTimeFormat(region.locale, { timeZone: region.timeZone, dateStyle: "medium", timeStyle: "short", ...options }).format(new Date(value));
|
|
14
|
+
}
|
|
15
|
+
function toRegionHeaders(region) {
|
|
16
|
+
return {
|
|
17
|
+
"Accept-Language": region.locale,
|
|
18
|
+
"X-Busiverse-Country": region.countryCode,
|
|
19
|
+
"X-Busiverse-Region": region.regionCode ?? region.countryCode,
|
|
20
|
+
"X-Busiverse-Currency": region.currencyCode,
|
|
21
|
+
"X-Busiverse-Timezone": region.timeZone
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// src/pricing/regions.ts
|
|
26
|
+
var busiverseSupportedRegions = [
|
|
27
|
+
{ label: "Nigeria", locale: "en-NG", countryCode: "NG", regionCode: "NG-LA", currencyCode: "NGN", timeZone: "Africa/Lagos", exchangeRateFromUsd: 1500, pricingNote: "NGN display estimate; Account will apply Mint/Location live rules." },
|
|
28
|
+
{ label: "United States", locale: "en-US", countryCode: "US", regionCode: "US", currencyCode: "USD", timeZone: "America/New_York", exchangeRateFromUsd: 1 },
|
|
29
|
+
{ label: "United Kingdom", locale: "en-GB", countryCode: "GB", regionCode: "GB", currencyCode: "GBP", timeZone: "Europe/London", exchangeRateFromUsd: 0.79 },
|
|
30
|
+
{ label: "European Union", locale: "en-IE", countryCode: "IE", regionCode: "EU", currencyCode: "EUR", timeZone: "Europe/Dublin", exchangeRateFromUsd: 0.93 },
|
|
31
|
+
{ label: "Ghana", locale: "en-GH", countryCode: "GH", regionCode: "GH", currencyCode: "GHS", timeZone: "Africa/Accra", exchangeRateFromUsd: 15 },
|
|
32
|
+
{ label: "Kenya", locale: "en-KE", countryCode: "KE", regionCode: "KE", currencyCode: "KES", timeZone: "Africa/Nairobi", exchangeRateFromUsd: 130 },
|
|
33
|
+
{ label: "South Africa", locale: "en-ZA", countryCode: "ZA", regionCode: "ZA", currencyCode: "ZAR", timeZone: "Africa/Johannesburg", exchangeRateFromUsd: 18 },
|
|
34
|
+
{ label: "United Arab Emirates", locale: "en-AE", countryCode: "AE", regionCode: "AE", currencyCode: "AED", timeZone: "Asia/Dubai", exchangeRateFromUsd: 3.67 },
|
|
35
|
+
{ label: "India", locale: "en-IN", countryCode: "IN", regionCode: "IN", currencyCode: "INR", timeZone: "Asia/Kolkata", exchangeRateFromUsd: 83 }
|
|
36
|
+
];
|
|
37
|
+
function getSupportedRegion(countryCode) {
|
|
38
|
+
return busiverseSupportedRegions.find((region) => region.countryCode === countryCode) ?? busiverseSupportedRegions[0];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// src/i18n/BusiverseI18nProvider.tsx
|
|
42
|
+
import * as React from "react";
|
|
43
|
+
import { jsx } from "react/jsx-runtime";
|
|
44
|
+
var defaultRegion = {
|
|
45
|
+
locale: "en-NG",
|
|
46
|
+
countryCode: "NG",
|
|
47
|
+
regionCode: "NG-LA",
|
|
48
|
+
currencyCode: "NGN",
|
|
49
|
+
timeZone: "Africa/Lagos"
|
|
50
|
+
};
|
|
51
|
+
var I18nContext = React.createContext(null);
|
|
52
|
+
function BusiverseI18nProvider({ children, initialRegion, bundles = {} }) {
|
|
53
|
+
const [region, setRegion] = React.useState({ ...defaultRegion, ...initialRegion });
|
|
54
|
+
const t = React.useCallback((key, fallback, vars) => {
|
|
55
|
+
const value = bundles[region.locale]?.[key] ?? bundles[region.locale.split("-")[0]]?.[key] ?? fallback ?? key;
|
|
56
|
+
if (!vars) return value;
|
|
57
|
+
return Object.entries(vars).reduce((acc, [name, val]) => acc.replaceAll(`{${name}}`, String(val)), value);
|
|
58
|
+
}, [bundles, region.locale]);
|
|
59
|
+
return /* @__PURE__ */ jsx(I18nContext.Provider, { value: { region, bundles, setRegion, t }, children });
|
|
60
|
+
}
|
|
61
|
+
function useBusiverseI18n() {
|
|
62
|
+
const ctx = React.useContext(I18nContext);
|
|
63
|
+
if (!ctx) throw new Error("useBusiverseI18n must be used inside BusiverseI18nProvider");
|
|
64
|
+
return ctx;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// src/i18n/RegionSelector.tsx
|
|
68
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
69
|
+
function RegionSelector({ regions = busiverseSupportedRegions, label = "Pricing region", className }) {
|
|
70
|
+
const { region, setRegion } = useBusiverseI18n();
|
|
71
|
+
return /* @__PURE__ */ jsxs("label", { className: cn("busiverse-region-selector", className), children: [
|
|
72
|
+
/* @__PURE__ */ jsx2("span", { children: label }),
|
|
73
|
+
/* @__PURE__ */ jsx2(
|
|
74
|
+
"select",
|
|
75
|
+
{
|
|
76
|
+
value: region.countryCode,
|
|
77
|
+
onChange: (event) => {
|
|
78
|
+
const next = regions.find((item) => item.countryCode === event.target.value) ?? regions[0];
|
|
79
|
+
setRegion(next);
|
|
80
|
+
},
|
|
81
|
+
children: regions.map((item) => /* @__PURE__ */ jsxs("option", { value: item.countryCode, children: [
|
|
82
|
+
item.label,
|
|
83
|
+
" \xB7 ",
|
|
84
|
+
item.currencyCode
|
|
85
|
+
] }, item.countryCode))
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
] });
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export {
|
|
92
|
+
formatCurrency,
|
|
93
|
+
formatNumber,
|
|
94
|
+
formatDate,
|
|
95
|
+
toRegionHeaders,
|
|
96
|
+
busiverseSupportedRegions,
|
|
97
|
+
getSupportedRegion,
|
|
98
|
+
BusiverseI18nProvider,
|
|
99
|
+
useBusiverseI18n,
|
|
100
|
+
RegionSelector
|
|
101
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CurrencyAmount,
|
|
3
|
+
ServicePricingExplorer,
|
|
4
|
+
UsageQuotaBar
|
|
5
|
+
} from "../../chunk-ARMZUHU7.js";
|
|
6
|
+
import "../../chunk-WDOMYE77.js";
|
|
7
|
+
import "../../chunk-GRZVAWCA.js";
|
|
8
|
+
import "../../chunk-PYZVP4NI.js";
|
|
9
|
+
export {
|
|
10
|
+
CurrencyAmount,
|
|
11
|
+
ServicePricingExplorer,
|
|
12
|
+
UsageQuotaBar
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusiverseBrandHead.d.ts","sourceRoot":"","sources":["../../../src/components/brand/BusiverseBrandHead.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BusiverseBrandHead.d.ts","sourceRoot":"","sources":["../../../src/components/brand/BusiverseBrandHead.tsx"],"names":[],"mappings":"AAaA,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,KAA0B,EAC1B,WAA2B,EAC3B,QAA8H,EAC9H,MAAgB,EAChB,UAAgC,EAChC,sBAAoC,EACpC,eAA6B,GAC9B,GAAE,uBAA4B,QAgC9B;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,QAkBhE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BusiverseBrandHead,
|
|
3
|
+
applyBusiverseBrandHead
|
|
4
|
+
} from "../../chunk-SZVGFEJG.js";
|
|
5
|
+
import {
|
|
6
|
+
BusiverseLogo
|
|
7
|
+
} from "../../chunk-32FPZZH2.js";
|
|
8
|
+
import "../../chunk-PYZVP4NI.js";
|
|
9
|
+
export {
|
|
10
|
+
BusiverseBrandHead,
|
|
11
|
+
BusiverseLogo,
|
|
12
|
+
applyBusiverseBrandHead
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface MarketingFeatureCardProps {
|
|
3
|
+
icon?: React.ReactNode;
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
description: React.ReactNode;
|
|
7
|
+
points?: React.ReactNode[];
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function MarketingFeatureCard({ icon, label, title, description, points, className }: MarketingFeatureCardProps): React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=MarketingFeatureCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarketingFeatureCard.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/MarketingFeatureCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,yBAAyB;IACxC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,yBAAyB,qBAgBrH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface MarketingPricingCardProps {
|
|
3
|
+
name: string;
|
|
4
|
+
tagline: string;
|
|
5
|
+
price: string;
|
|
6
|
+
cadence?: string;
|
|
7
|
+
description: string;
|
|
8
|
+
features: string[];
|
|
9
|
+
ctaLabel?: string;
|
|
10
|
+
ctaHref?: string;
|
|
11
|
+
featured?: boolean;
|
|
12
|
+
note?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function MarketingPricingCard({ name, tagline, price, cadence, description, features, ctaLabel, ctaHref, featured, note, className, }: MarketingPricingCardProps): React.JSX.Element;
|
|
16
|
+
//# sourceMappingURL=MarketingPricingCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarketingPricingCard.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/MarketingPricingCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,OAAO,EACP,KAAK,EACL,OAAO,EACP,WAAW,EACX,QAAQ,EACR,QAAwB,EACxB,OAAO,EACP,QAAgB,EAChB,IAAI,EACJ,SAAS,GACV,EAAE,yBAAyB,qBA2B3B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface MarketingSectionHeaderProps {
|
|
3
|
+
eyebrow?: React.ReactNode;
|
|
4
|
+
title: React.ReactNode;
|
|
5
|
+
description?: React.ReactNode;
|
|
6
|
+
align?: "left" | "center";
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function MarketingSectionHeader({ eyebrow, title, description, align, className }: MarketingSectionHeaderProps): React.JSX.Element;
|
|
10
|
+
//# sourceMappingURL=MarketingSectionHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarketingSectionHeader.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/MarketingSectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAgB,EAAE,SAAS,EAAE,EAAE,2BAA2B,qBAQ/H"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HeroSection,
|
|
3
|
+
MarketingFeatureCard,
|
|
4
|
+
MarketingPricingCard,
|
|
5
|
+
MarketingSectionHeader
|
|
6
|
+
} from "../../chunk-3XY5ZSTX.js";
|
|
7
|
+
import "../../chunk-GRZVAWCA.js";
|
|
8
|
+
import "../../chunk-32FPZZH2.js";
|
|
9
|
+
import "../../chunk-PYZVP4NI.js";
|
|
10
|
+
export {
|
|
11
|
+
HeroSection,
|
|
12
|
+
MarketingFeatureCard,
|
|
13
|
+
MarketingPricingCard,
|
|
14
|
+
MarketingSectionHeader
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BusiverseGithubIcon,
|
|
3
|
+
BusiverseLinkedInIcon,
|
|
4
|
+
BusiverseMailIcon,
|
|
5
|
+
BusiverseSocialIcon,
|
|
6
|
+
BusiverseXIcon
|
|
7
|
+
} from "../../chunk-2TTXWTIT.js";
|
|
8
|
+
import "../../chunk-PYZVP4NI.js";
|
|
9
|
+
export {
|
|
10
|
+
BusiverseGithubIcon,
|
|
11
|
+
BusiverseLinkedInIcon,
|
|
12
|
+
BusiverseMailIcon,
|
|
13
|
+
BusiverseSocialIcon,
|
|
14
|
+
BusiverseXIcon
|
|
15
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "../chunk-NZ65VTKR.js";
|
|
2
|
+
import {
|
|
3
|
+
BusiverseI18nProvider,
|
|
4
|
+
RegionSelector,
|
|
5
|
+
formatCurrency,
|
|
6
|
+
formatDate,
|
|
7
|
+
formatNumber,
|
|
8
|
+
toRegionHeaders,
|
|
9
|
+
useBusiverseI18n
|
|
10
|
+
} from "../chunk-WDOMYE77.js";
|
|
11
|
+
import "../chunk-PYZVP4NI.js";
|
|
12
|
+
export {
|
|
13
|
+
BusiverseI18nProvider,
|
|
14
|
+
RegionSelector,
|
|
15
|
+
formatCurrency,
|
|
16
|
+
formatDate,
|
|
17
|
+
formatNumber,
|
|
18
|
+
toRegionHeaders,
|
|
19
|
+
useBusiverseI18n
|
|
20
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export * from "./tokens";
|
|
2
|
-
export * from "./assets/assets";
|
|
3
1
|
export * from "./components";
|
|
4
|
-
export * from "./registry/services";
|
|
5
|
-
export * from "./pricing";
|
|
6
2
|
export * from "./api";
|
|
7
3
|
export * from "./auth";
|
|
8
4
|
export * from "./i18n";
|
|
5
|
+
export * from "./pricing";
|
|
6
|
+
export * from "./registry/services";
|
|
7
|
+
export * from "./tokens";
|
|
9
8
|
export * from "./utils/cn";
|
|
10
9
|
//# sourceMappingURL=index.d.ts.map
|
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"}
|