@getgreenline/blaze-ui 1.0.29 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/data-table.d.ts +2 -1
- package/dist/components/data-table.d.ts.map +1 -1
- package/dist/components/data-table.js +2 -2
- package/dist/components/header-app-switcher.d.ts +50 -0
- package/dist/components/header-app-switcher.d.ts.map +1 -0
- package/dist/components/header-app-switcher.js +154 -0
- package/dist/components/search-bar.d.ts.map +1 -1
- package/dist/components/search-bar.js +1 -1
- package/dist/components/selection-panel.d.ts.map +1 -1
- package/dist/components/selection-panel.js +11 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/svgs/blaze-dispatch-logo.d.ts +5 -0
- package/dist/svgs/blaze-dispatch-logo.d.ts.map +1 -0
- package/dist/svgs/blaze-dispatch-logo.js +7 -0
- package/dist/svgs/blaze-ecom-logo.d.ts +7 -0
- package/dist/svgs/blaze-ecom-logo.d.ts.map +1 -0
- package/dist/svgs/blaze-ecom-logo.js +7 -0
- package/dist/svgs/blaze-insights-logo.d.ts +5 -0
- package/dist/svgs/blaze-insights-logo.d.ts.map +1 -0
- package/dist/svgs/blaze-insights-logo.js +7 -0
- package/dist/svgs/blaze-lighthouse-logo.d.ts +6 -0
- package/dist/svgs/blaze-lighthouse-logo.d.ts.map +1 -0
- package/dist/svgs/blaze-lighthouse-logo.js +7 -0
- package/dist/svgs/blaze-pay-logo.d.ts +5 -0
- package/dist/svgs/blaze-pay-logo.d.ts.map +1 -0
- package/dist/svgs/blaze-pay-logo.js +7 -0
- package/dist/svgs/blaze-pos-logo.d.ts +5 -0
- package/dist/svgs/blaze-pos-logo.d.ts.map +1 -0
- package/dist/svgs/blaze-pos-logo.js +7 -0
- package/dist/svgs/blaze-retail-logo.d.ts +7 -0
- package/dist/svgs/blaze-retail-logo.d.ts.map +1 -0
- package/dist/svgs/blaze-retail-logo.js +7 -0
- package/dist/svgs/blaze-sites-logo.d.ts +5 -0
- package/dist/svgs/blaze-sites-logo.d.ts.map +1 -0
- package/dist/svgs/blaze-sites-logo.js +7 -0
- package/package.json +5 -5
|
@@ -75,7 +75,8 @@ export interface DataTableProps<T extends DataTableRow> {
|
|
|
75
75
|
onExpandedChange?: (expandedIds: string[]) => void;
|
|
76
76
|
reservePaginationSpace?: boolean;
|
|
77
77
|
striped?: boolean;
|
|
78
|
+
selectContentClassName?: string;
|
|
78
79
|
}
|
|
79
|
-
export declare function DataTable<T extends DataTableRow>({ columns, data, onSelectionChange, selectedRowIds, onSort, sortState, expandable, renderExpandedRow, actions, className, pagination, treeData, reorderable, onReorder, onDragReorder, customFilterColumnsWhiteList, loading, loadingRows, emptyState, clickableFields, showColumnVisibility, footerContent, expandedRowIds, onExpandedChange, reservePaginationSpace, striped, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
80
|
+
export declare function DataTable<T extends DataTableRow>({ columns, data, onSelectionChange, selectedRowIds, onSort, sortState, expandable, renderExpandedRow, actions, className, pagination, treeData, reorderable, onReorder, onDragReorder, customFilterColumnsWhiteList, loading, loadingRows, emptyState, clickableFields, showColumnVisibility, footerContent, expandedRowIds, onExpandedChange, reservePaginationSpace, striped, selectContentClassName, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
80
81
|
export { CheckIcon, XIcon };
|
|
81
82
|
//# sourceMappingURL=data-table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../src/components/data-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAOL,SAAS,EAKT,KAAK,EACN,MAAM,cAAc,CAAA;AAuBrB,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,CAAA;AAEjD,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,GAAG,EAAE,MAAM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CAAC,EAAE,MAAM,CAAA;QACd,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;KACvB,CAAA;IACD,eAAe,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAA;IACtC,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAClD,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAA;CAChC;AAED,wBAAgB,SAAS,CAAC,CAAC,SAAS,YAAY,EAAE,EAChD,OAAO,EACP,IAAI,EACJ,iBAAiB,EACjB,cAAc,EACd,MAAM,EACN,SAAS,EACT,UAAkB,EAClB,iBAAiB,EACjB,OAAO,EACP,SAAS,EACT,UAAU,EACV,QAAgB,EAChB,WAAmB,EACnB,SAAS,EACT,aAAa,EACb,4BAA4B,EAC5B,OAAe,EACf,WAAe,EACf,UAAU,EACV,eAAe,EACf,oBAA2B,EAC3B,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,sBAA8B,EAC9B,OAAc,EACd,sBAAsB,GACvB,EAAE,cAAc,CAAC,CAAC,CAAC,2CA05BnB;AAED,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -10,7 +10,7 @@ import { Button } from './button.js';
|
|
|
10
10
|
import { Pagination, PaginationContent, PaginationItem, PaginationPrevious, PaginationNext, PaginationLink, PaginationEllipsis } from './pagination.js';
|
|
11
11
|
|
|
12
12
|
const DEFAULT_PAGE_SIZE_OPTIONS = [5, 10, 25, 50];
|
|
13
|
-
function DataTable({ columns, data, onSelectionChange, selectedRowIds, onSort, sortState, expandable = false, renderExpandedRow, actions, className, pagination, treeData = false, reorderable = false, onReorder, onDragReorder, customFilterColumnsWhiteList, loading = false, loadingRows = 5, emptyState, clickableFields, showColumnVisibility = true, footerContent, expandedRowIds, onExpandedChange, reservePaginationSpace = false, striped = true, }) {
|
|
13
|
+
function DataTable({ columns, data, onSelectionChange, selectedRowIds, onSort, sortState, expandable = false, renderExpandedRow, actions, className, pagination, treeData = false, reorderable = false, onReorder, onDragReorder, customFilterColumnsWhiteList, loading = false, loadingRows = 5, emptyState, clickableFields, showColumnVisibility = true, footerContent, expandedRowIds, onExpandedChange, reservePaginationSpace = false, striped = true, selectContentClassName, }) {
|
|
14
14
|
const [internalSelectedRows, setInternalSelectedRows] = React.useState(new Set());
|
|
15
15
|
const [internalExpandedRows, setInternalExpandedRows] = React.useState(new Set());
|
|
16
16
|
const [internalSortConfig, setInternalSortConfig] = React.useState({ key: "", direction: null });
|
|
@@ -325,7 +325,7 @@ function DataTable({ columns, data, onSelectionChange, selectedRowIds, onSort, s
|
|
|
325
325
|
const options = pagination.pageSizeOptions ?? DEFAULT_PAGE_SIZE_OPTIONS;
|
|
326
326
|
if (options.length === 0)
|
|
327
327
|
return jsx("div", {});
|
|
328
|
-
return (jsxs("div", { className: "tw:flex tw:items-center tw:gap-2 tw:z-10", children: [jsx("span", { className: "tw:text-[14px] tw:text-muted-foreground tw:whitespace-nowrap", id: "rows-per-page-label", children: "Rows per page:" }), jsxs(Select, { value: String(pagination.pageSize ?? options[0]), onValueChange: (val) => !loading && pagination.onPageSizeChange?.(Number(val)), disabled: loading, children: [jsx(SelectTrigger, { id: "base-ui-pagination-trigger", className: "tw:flex tw:h-[32px] tw:w-[70px] tw:items-center tw:justify-between tw:rounded-md tw:border tw:border-input tw:bg-transparent tw:px-3 tw:py-2 tw:text-[14px] tw:shadow-sm tw:ring-offset-background placeholder:tw:text-muted-foreground focus:tw:outline-none focus:tw:ring-1 focus:tw:ring-ring disabled:tw:cursor-not-allowed disabled:tw:opacity-50", children: jsx(SelectValue, {}) }), jsx(SelectContent, { side: "top", align: "end", children: options.map((size) => (jsx(SelectItem, { value: String(size), children: size }, size))) })] })] }));
|
|
328
|
+
return (jsxs("div", { className: "tw:flex tw:items-center tw:gap-2 tw:z-10", children: [jsx("span", { className: "tw:text-[14px] tw:text-muted-foreground tw:whitespace-nowrap", id: "rows-per-page-label", children: "Rows per page:" }), jsxs(Select, { value: String(pagination.pageSize ?? options[0]), onValueChange: (val) => !loading && pagination.onPageSizeChange?.(Number(val)), disabled: loading, children: [jsx(SelectTrigger, { id: "base-ui-pagination-trigger", className: "tw:flex tw:h-[32px] tw:w-[70px] tw:items-center tw:justify-between tw:rounded-md tw:border tw:border-input tw:bg-transparent tw:px-3 tw:py-2 tw:text-[14px] tw:shadow-sm tw:ring-offset-background placeholder:tw:text-muted-foreground focus:tw:outline-none focus:tw:ring-1 focus:tw:ring-ring disabled:tw:cursor-not-allowed disabled:tw:opacity-50", children: jsx(SelectValue, {}) }), jsx(SelectContent, { side: "top", align: "end", className: selectContentClassName, children: options.map((size) => (jsx(SelectItem, { value: String(size), children: size }, size))) })] })] }));
|
|
329
329
|
})(), pagination.showTotalItems &&
|
|
330
330
|
pagination.totalItems !== undefined && (jsx("div", { className: "tw:absolute tw:left-1/2 tw:-translate-x-1/2 tw:flex tw:justify-center tw:items-center", children: jsxs("span", { className: "tw:text-[14px] tw:text-muted-foreground", children: ["Total: ", pagination.totalItems] }) })), jsx("div", { className: "tw:z-10", children: jsx(Pagination, { className: "tw:!mx-0 tw:!w-auto", "aria-label": "Table pagination", children: jsxs(PaginationContent, { children: [jsx(PaginationItem, { children: jsx(PaginationPrevious, { href: "#", onClick: (e) => {
|
|
331
331
|
e.preventDefault();
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const AppsConfig: readonly [{
|
|
2
|
+
readonly name: "Retail";
|
|
3
|
+
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
readonly subdomain: "retail-beta";
|
|
5
|
+
}, {
|
|
6
|
+
readonly name: "POS";
|
|
7
|
+
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
readonly subdomain: "pos";
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "Ecom";
|
|
11
|
+
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
readonly subdomain: "ecom-beta";
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: "Lighthouse";
|
|
15
|
+
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
readonly subdomain: "lighthouse";
|
|
17
|
+
}, {
|
|
18
|
+
readonly name: "Sites";
|
|
19
|
+
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
readonly subdomain: "cms";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "Pay";
|
|
23
|
+
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
readonly badge: "Soon";
|
|
25
|
+
readonly disabled: true;
|
|
26
|
+
readonly subdomain: null;
|
|
27
|
+
}, {
|
|
28
|
+
readonly name: "Insight";
|
|
29
|
+
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
readonly disabled: true;
|
|
31
|
+
readonly subdomain: null;
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "Dispatch";
|
|
34
|
+
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
readonly disabled: true;
|
|
36
|
+
readonly subdomain: null;
|
|
37
|
+
}];
|
|
38
|
+
type AppName = (typeof AppsConfig)[number]["name"];
|
|
39
|
+
type HeaderAppSwitcherProps = {
|
|
40
|
+
/**
|
|
41
|
+
* Optional base host string (e.g. "https://blaze.me" or "staging.blaze.me").
|
|
42
|
+
* When omitted, the host is inferred from `window.location`.
|
|
43
|
+
*/
|
|
44
|
+
commonHost?: string;
|
|
45
|
+
/** Which app is currently active. Defaults to "Retail". */
|
|
46
|
+
currentApp?: AppName;
|
|
47
|
+
};
|
|
48
|
+
declare function HeaderAppSwitcher({ commonHost, currentApp, }: HeaderAppSwitcherProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export { HeaderAppSwitcher, type HeaderAppSwitcherProps, type AppName };
|
|
50
|
+
//# sourceMappingURL=header-app-switcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-app-switcher.d.ts","sourceRoot":"","sources":["../../src/components/header-app-switcher.tsx"],"names":[],"mappings":"AAqBA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BN,CAAA;AAEV,KAAK,OAAO,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAgHlD,KAAK,sBAAsB,GAAG;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAYD,iBAAS,iBAAiB,CAAC,EACzB,UAAU,EACV,UAAqB,GACtB,EAAE,sBAAsB,2CA4ExB;AAED,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,KAAK,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Button } from './button.js';
|
|
4
|
+
import { Popover, PopoverTrigger, PopoverContent } from './popover.js';
|
|
5
|
+
import { BlazeDispatchLogo } from '../svgs/blaze-dispatch-logo.js';
|
|
6
|
+
import { BlazeRetailLogo } from '../svgs/blaze-retail-logo.js';
|
|
7
|
+
import { BlazePosLogo } from '../svgs/blaze-pos-logo.js';
|
|
8
|
+
import { BlazeEcomLogo } from '../svgs/blaze-ecom-logo.js';
|
|
9
|
+
import { BlazeLighthouseLogo } from '../svgs/blaze-lighthouse-logo.js';
|
|
10
|
+
import { BlazeSitesLogo } from '../svgs/blaze-sites-logo.js';
|
|
11
|
+
import { BlazePayLogo } from '../svgs/blaze-pay-logo.js';
|
|
12
|
+
import { BlazeInsightsLogo } from '../svgs/blaze-insights-logo.js';
|
|
13
|
+
import { cn } from '../lib/utils.js';
|
|
14
|
+
|
|
15
|
+
const AppsConfig = [
|
|
16
|
+
{ name: "Retail", logo: jsx(BlazeRetailLogo, {}), subdomain: "retail-beta" },
|
|
17
|
+
{ name: "POS", logo: jsx(BlazePosLogo, {}), subdomain: "pos" },
|
|
18
|
+
{ name: "Ecom", logo: jsx(BlazeEcomLogo, {}), subdomain: "ecom-beta" },
|
|
19
|
+
{
|
|
20
|
+
name: "Lighthouse",
|
|
21
|
+
logo: jsx(BlazeLighthouseLogo, {}),
|
|
22
|
+
subdomain: "lighthouse",
|
|
23
|
+
},
|
|
24
|
+
{ name: "Sites", logo: jsx(BlazeSitesLogo, {}), subdomain: "cms" },
|
|
25
|
+
{
|
|
26
|
+
name: "Pay",
|
|
27
|
+
logo: jsx(BlazePayLogo, {}),
|
|
28
|
+
badge: "Soon",
|
|
29
|
+
disabled: true,
|
|
30
|
+
subdomain: null,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "Insight",
|
|
34
|
+
logo: jsx(BlazeInsightsLogo, {}),
|
|
35
|
+
disabled: true,
|
|
36
|
+
subdomain: null,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "Dispatch",
|
|
40
|
+
logo: jsx(BlazeDispatchLogo, {}),
|
|
41
|
+
disabled: true,
|
|
42
|
+
subdomain: null,
|
|
43
|
+
},
|
|
44
|
+
];
|
|
45
|
+
const trimSlashes = (value) => value.trim().replace(/\/+$/, "");
|
|
46
|
+
const toHostInfo = (value) => {
|
|
47
|
+
const normalized = trimSlashes(value);
|
|
48
|
+
if (!normalized)
|
|
49
|
+
return null;
|
|
50
|
+
try {
|
|
51
|
+
const withProtocol = normalized.includes("://")
|
|
52
|
+
? normalized
|
|
53
|
+
: `https://${normalized}`;
|
|
54
|
+
const parsed = new URL(withProtocol);
|
|
55
|
+
return {
|
|
56
|
+
protocol: parsed.protocol,
|
|
57
|
+
host: parsed.host,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
catch {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
const BASE_HOST_PREFIXES = ["app.", "auth.", "auth-beta."];
|
|
65
|
+
const normalizeBaseHost = (host) => {
|
|
66
|
+
const normalized = host.toLowerCase();
|
|
67
|
+
const matchedPrefix = BASE_HOST_PREFIXES.find((prefix) => normalized.startsWith(prefix));
|
|
68
|
+
if (!matchedPrefix) {
|
|
69
|
+
return host;
|
|
70
|
+
}
|
|
71
|
+
return host.slice(matchedPrefix.length);
|
|
72
|
+
};
|
|
73
|
+
const resolveHostInfo = (commonHost) => {
|
|
74
|
+
if (commonHost) {
|
|
75
|
+
const fromProp = toHostInfo(commonHost);
|
|
76
|
+
if (fromProp) {
|
|
77
|
+
return {
|
|
78
|
+
...fromProp,
|
|
79
|
+
host: normalizeBaseHost(fromProp.host),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
if (typeof window !== "undefined") {
|
|
84
|
+
const { protocol, hostname, host } = window.location;
|
|
85
|
+
if (hostname === "localhost" || hostname === "127.0.0.1") {
|
|
86
|
+
return {
|
|
87
|
+
protocol: "https:",
|
|
88
|
+
host: "staging.blaze.me",
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
const parts = hostname.split(".");
|
|
92
|
+
if (parts.length > 2) {
|
|
93
|
+
return {
|
|
94
|
+
protocol,
|
|
95
|
+
host: parts.slice(1).join("."),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
protocol,
|
|
100
|
+
host,
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
protocol: "https:",
|
|
105
|
+
host: "blaze.me",
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
const buildAppUrl = (subdomain, base) => {
|
|
109
|
+
if (!subdomain)
|
|
110
|
+
return "#";
|
|
111
|
+
return `${base.protocol}//${subdomain}.${base.host}`;
|
|
112
|
+
};
|
|
113
|
+
function AppsGridIcon() {
|
|
114
|
+
return (jsxs("svg", { "aria-hidden": true, viewBox: "0 0 24 24", fill: "currentColor", className: "tw:h-5 tw:w-5", children: [jsx("circle", { cx: "5", cy: "5", r: "1.5" }), jsx("circle", { cx: "12", cy: "5", r: "1.5" }), jsx("circle", { cx: "19", cy: "5", r: "1.5" }), jsx("circle", { cx: "5", cy: "12", r: "1.5" }), jsx("circle", { cx: "12", cy: "12", r: "1.5" }), jsx("circle", { cx: "19", cy: "12", r: "1.5" }), jsx("circle", { cx: "5", cy: "19", r: "1.5" }), jsx("circle", { cx: "12", cy: "19", r: "1.5" }), jsx("circle", { cx: "19", cy: "19", r: "1.5" })] }));
|
|
115
|
+
}
|
|
116
|
+
const getTileClassName = (isCurrent, isDisabled) => {
|
|
117
|
+
if (isCurrent) {
|
|
118
|
+
return "tw:bg-primary/10 tw:ring-2 tw:ring-primary/20";
|
|
119
|
+
}
|
|
120
|
+
if (isDisabled) {
|
|
121
|
+
return "tw:cursor-not-allowed tw:opacity-60";
|
|
122
|
+
}
|
|
123
|
+
return "hover:tw:bg-accent tw:cursor-pointer";
|
|
124
|
+
};
|
|
125
|
+
function HeaderAppSwitcher({ commonHost, currentApp = "Retail", }) {
|
|
126
|
+
const apps = React.useMemo(() => {
|
|
127
|
+
const base = resolveHostInfo(commonHost);
|
|
128
|
+
return AppsConfig.map((app) => ({
|
|
129
|
+
...app,
|
|
130
|
+
isCurrent: currentApp === app.name,
|
|
131
|
+
href: buildAppUrl(app.subdomain, base),
|
|
132
|
+
}));
|
|
133
|
+
}, [commonHost, currentApp]);
|
|
134
|
+
return (jsxs(Popover, { children: [jsx(PopoverTrigger, { asChild: true, children: jsxs(Button, { variant: "ghost", size: "icon", children: [jsx(AppsGridIcon, {}), jsx("span", { className: "tw:sr-only", children: "Switch apps" })] }) }), jsxs(PopoverContent, { align: "end", sideOffset: 8, className: "tw:w-72 tw:p-4", children: [jsx("p", { className: "tw:mb-3 tw:text-sm tw:font-medium tw:text-muted-foreground", children: "Blaze Apps" }), jsx("div", { className: "tw:grid tw:grid-cols-3 tw:gap-1", children: apps.map((app) => {
|
|
135
|
+
const isDisabled = Boolean(app.disabled);
|
|
136
|
+
const isCurrent = Boolean(app.isCurrent);
|
|
137
|
+
const tileClassName = getTileClassName(isCurrent, isDisabled);
|
|
138
|
+
const tileContent = (jsxs(Fragment, { children: [app.badge ? (jsx("span", { className: "tw:absolute tw:right-1 tw:top-1 tw:rounded-full tw:bg-primary tw:px-1.5 tw:py-0.5 tw:text-[10px] tw:font-semibold tw:leading-none tw:text-primary-foreground", children: app.badge })) : null, app.logo, jsx("span", { className: cn("tw:text-center tw:text-[11px] tw:font-medium tw:leading-tight", isCurrent
|
|
139
|
+
? "tw:font-semibold tw:text-primary"
|
|
140
|
+
: "tw:text-foreground"), children: app.name })] }));
|
|
141
|
+
const baseClassName = `tw:relative tw:flex tw:flex-col tw:items-center tw:gap-2 tw:rounded-lg tw:p-3 tw:transition-colors ${tileClassName}`;
|
|
142
|
+
const Wrapper = isDisabled || isCurrent ? "div" : "a";
|
|
143
|
+
const wrapperProps = isDisabled || isCurrent
|
|
144
|
+
? {}
|
|
145
|
+
: {
|
|
146
|
+
href: app.href,
|
|
147
|
+
target: "_blank",
|
|
148
|
+
rel: "noopener noreferrer",
|
|
149
|
+
};
|
|
150
|
+
return (jsx(Wrapper, { className: baseClassName, ...wrapperProps, children: tileContent }, app.name));
|
|
151
|
+
}) })] })] }));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export { HeaderAppSwitcher };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-bar.d.ts","sourceRoot":"","sources":["../../src/components/search-bar.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,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ACP,WAAyB,EACzB,QAAgB,EAChB,OAAe,EACf,UAAoB,EACpB,UAAoB,EACpB,SAAS,EACT,cAA+B,GAChC,EAAE,cAAc,2CA4EhB"}
|
|
@@ -19,7 +19,7 @@ function SearchBar({ value, onChange, onSearch, onClear, placeholder = "Search..
|
|
|
19
19
|
onChange("");
|
|
20
20
|
onClear();
|
|
21
21
|
};
|
|
22
|
-
return (jsxs("div", { "data-slot": "search-bar", className: cn("tw:!flex tw:!w-full tw:!gap-2", className), children: [jsxs("div", { className: "tw:!relative tw:!flex-1", children: [jsx(SearchIcon, { className: "tw:!absolute tw:!left-3 tw:!top-1/2 tw:!-translate-y-1/2 tw:!h-4 tw:!w-4 tw:text-muted-foreground tw:!pointer-events-none", "aria-hidden": "true" }), jsx(Input, { type: "text", value: value, onChange: (e) => onChange(e.target.value), onKeyDown: handleKeyDown, placeholder: placeholder, disabled: disabled, className: "tw:!pl-9", "aria-label": inputAriaLabel }), value && !disabled && (jsx("button", { type: "button", onClick: handleClearClick, className: "tw:!absolute tw:!right-3 tw:!top-1/2 tw:!-translate-y-1/2 tw:!h-4 tw:!w-4 tw:text-muted-foreground hover:tw:text-foreground tw:transition-colors tw:!cursor-pointer", "aria-label": "Clear search", children: jsx(XIcon, { className: "tw:!h-4 tw:!w-4" }) }))] }), jsx(Button, { variant: "default", size: "sm", onClick: () => onSearch(value), disabled: disabled || !value, loading: loading, className: "tw:!min-w-[80px]", "aria-label": "Apply search", children: applyLabel }), jsx(Button, { variant: "outline", size: "sm", onClick: handleClearClick, disabled: disabled || !value, className: "tw:!min-w-[80px]", "aria-label": "Clear search", children: clearLabel })] }));
|
|
22
|
+
return (jsxs("div", { "data-slot": "search-bar", className: cn("tw:!flex tw:!w-full tw:!gap-2", className), children: [jsxs("div", { className: "tw:!relative tw:!flex-1", children: [jsx(SearchIcon, { className: "tw:!absolute tw:!left-3 tw:!top-1/2 tw:!-translate-y-1/2 tw:!h-4 tw:!w-4 tw:text-muted-foreground tw:!pointer-events-none", "aria-hidden": "true" }), jsx(Input, { type: "text", value: value, onChange: (e) => onChange(e.target.value), onKeyDown: handleKeyDown, placeholder: placeholder, disabled: disabled, className: "tw:!pl-9", "aria-label": inputAriaLabel }), value && !disabled && (jsx("button", { type: "button", onClick: handleClearClick, className: "tw:!absolute tw:!right-3 tw:!top-1/2 tw:!-translate-y-1/2 tw:!h-4 tw:!w-4 tw:text-muted-foreground hover:tw:text-foreground tw:transition-colors tw:!cursor-pointer", "aria-label": "Clear search", children: jsx(XIcon, { className: "tw:!h-4 tw:!w-4" }) }))] }), jsx(Button, { variant: "default", size: "sm", onClick: () => onSearch(value), disabled: disabled || !value, loading: loading, className: cn("tw:!min-w-[80px]", (disabled || !value) && "tw:!opacity-50 tw:!cursor-not-allowed"), "aria-label": "Apply search", children: applyLabel }), jsx(Button, { variant: "outline", size: "sm", onClick: handleClearClick, disabled: disabled || !value, className: cn("tw:!min-w-[80px]", (disabled || !value) && "tw:!opacity-50 tw:!cursor-not-allowed"), "aria-label": "Clear search", children: clearLabel })] }));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export { SearchBar };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection-panel.d.ts","sourceRoot":"","sources":["../../src/components/selection-panel.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,YAAY,EAClB,MAAM,cAAc,CAAA;AAuBrB,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,YAAY;IACzD,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,CAAC,EAAE,CAAA;IACnB,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAA;IAC7B,eAAe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EACP,eAAe,EACf,WAAW,EAAE,kBAAkB,EAC/B,OAAe,EACf,QAAgB,EAChB,cAA4B,EAC5B,aAA0B,EAC1B,cAA+B,EAC/B,iBAAqC,EACrC,eAAwB,EACxB,iBAA4B,EAC5B,qBAAqB,EACrB,oBAA0C,EAC1C,KAAa,EACb,QAAmB,EACnB,kBAAyB,EACzB,mBAAkF,EAClF,uBAAuB,GACxB,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CAsfxB"}
|
|
@@ -202,9 +202,11 @@ function SelectionPanel({ open, onClose, onDone, title = "Select Items", descrip
|
|
|
202
202
|
return (jsxs(Fragment, { children: [jsx(Sheet, { open: open, onOpenChange: (isOpen) => !isOpen && handleClose(), children: jsxs(SheetContent, { side: "right", className: cn("tw:!p-0 tw:!z-[1200]"), overlayClassName: "tw:!z-[1200]", style: { width, maxWidth }, children: [jsx(VisuallyHidden, { children: jsx(SheetTitle, { children: title }) }), jsxs("div", { className: "tw:!flex tw:!h-full tw:!flex-col", children: [jsxs("div", { className: "tw:!flex tw:!flex-1 tw:!overflow-hidden", children: [jsxs("div", { className: "tw:!flex tw:!w-1/2 tw:!flex-col tw:!border-r", role: "region", "aria-labelledby": availableHeadingId, children: [jsxs("div", { className: "tw:!border-b tw:!p-4", children: [jsx("h2", { id: availableHeadingId, className: "tw:text-lg tw:!font-semibold tw:!mb-3", children: availableLabel }), jsx(SearchBar, { value: availableSearch, onChange: setAvailableSearch, onSearch: (term) => setAvailableSearchApplied(term), onClear: () => {
|
|
203
203
|
setAvailableSearch("");
|
|
204
204
|
setAvailableSearchApplied("");
|
|
205
|
-
}, placeholder: `Search ${availableLabel.toLowerCase()}...`, inputAriaLabel: `Search within ${availableLabel}` }), jsx("div", { className: "tw:!flex tw:!justify-end tw:!mt-3", children: jsx(Button, { size: "sm", onClick: handleAddSelected, disabled: availableChecked.size === 0,
|
|
205
|
+
}, placeholder: `Search ${availableLabel.toLowerCase()}...`, inputAriaLabel: `Search within ${availableLabel}` }), jsx("div", { className: "tw:!flex tw:!justify-end tw:!mt-3", children: jsx(Button, { size: "sm", onClick: handleAddSelected, disabled: availableChecked.size === 0, className: availableChecked.size === 0
|
|
206
|
+
? "tw:!opacity-50 tw:!cursor-not-allowed"
|
|
207
|
+
: undefined, "aria-label": availableChecked.size === 0
|
|
206
208
|
? addButtonLabel
|
|
207
|
-
: `${addButtonLabel} (${availableChecked.size} selected)`, children: addButtonLabel }) })] }), jsx("div", { className: "tw:!flex-1 tw:!flex tw:!flex-col tw:!overflow-hidden", children: jsx(DataTable, { columns: columns, data: paginatedAvailableItems, onSelectionChange: handleAvailableSelectionChange, selectedRowIds: Array.from(availableChecked), treeData: treeMode, loading: loading, className: "tw:!flex-1", expandedRowIds: Array.from(expandedAvailableRows), onExpandedChange: (ids) => setExpandedAvailableRows(new Set(ids)), reservePaginationSpace: true, pagination: {
|
|
209
|
+
: `${addButtonLabel} (${availableChecked.size} selected)`, children: addButtonLabel }) })] }), jsx("div", { className: "tw:!flex-1 tw:!flex tw:!flex-col tw:!overflow-hidden", children: jsx(DataTable, { columns: columns, data: paginatedAvailableItems, onSelectionChange: handleAvailableSelectionChange, selectedRowIds: Array.from(availableChecked), treeData: treeMode, loading: loading, className: "tw:!flex-1", expandedRowIds: Array.from(expandedAvailableRows), onExpandedChange: (ids) => setExpandedAvailableRows(new Set(ids)), reservePaginationSpace: true, selectContentClassName: "tw:!z-[1300]", pagination: {
|
|
208
210
|
currentPage: availablePage,
|
|
209
211
|
totalPages: availableTotalPages,
|
|
210
212
|
onPageChange: setAvailablePage,
|
|
@@ -224,9 +226,11 @@ function SelectionPanel({ open, onClose, onDone, title = "Select Items", descrip
|
|
|
224
226
|
} }) })] }), jsxs("div", { className: "tw:!flex tw:!w-1/2 tw:!flex-col", role: "region", "aria-labelledby": selectedHeadingId, children: [jsxs("div", { className: "tw:!border-b tw:!p-4", children: [jsx("h2", { id: selectedHeadingId, className: "tw:text-lg tw:!font-semibold tw:!mb-3", children: selectedLabel }), jsx(SearchBar, { value: selectedSearch, onChange: setSelectedSearch, onSearch: (term) => setSelectedSearchApplied(term), onClear: () => {
|
|
225
227
|
setSelectedSearch("");
|
|
226
228
|
setSelectedSearchApplied("");
|
|
227
|
-
}, placeholder: `Search ${selectedLabel.toLowerCase()}...`, inputAriaLabel: `Search within ${selectedLabel}` }), jsx("div", { className: "tw:!flex tw:!justify-end tw:!mt-3", children: jsx(Button, { size: "sm", onClick: handleRemoveSelected, disabled: selectedChecked.size === 0, variant: "destructive",
|
|
229
|
+
}, placeholder: `Search ${selectedLabel.toLowerCase()}...`, inputAriaLabel: `Search within ${selectedLabel}` }), jsx("div", { className: "tw:!flex tw:!justify-end tw:!mt-3", children: jsx(Button, { size: "sm", onClick: handleRemoveSelected, disabled: selectedChecked.size === 0, variant: "destructive", className: selectedChecked.size === 0
|
|
230
|
+
? "tw:!opacity-50 tw:!cursor-not-allowed"
|
|
231
|
+
: undefined, "aria-label": selectedChecked.size === 0
|
|
228
232
|
? removeButtonLabel
|
|
229
|
-
: `${removeButtonLabel} (${selectedChecked.size} selected)`, children: removeButtonLabel }) })] }), jsx("div", { className: "tw:!flex-1 tw:!flex tw:!flex-col tw:!overflow-hidden", children: jsx(DataTable, { columns: selectedColumns ?? columns, data: paginatedSelectedItems, onSelectionChange: handleSelectedSelectionChange, selectedRowIds: Array.from(selectedChecked), treeData: false, className: "tw:!flex-1", reservePaginationSpace: true, pagination: {
|
|
233
|
+
: `${removeButtonLabel} (${selectedChecked.size} selected)`, children: removeButtonLabel }) })] }), jsx("div", { className: "tw:!flex-1 tw:!flex tw:!flex-col tw:!overflow-hidden", children: jsx(DataTable, { columns: selectedColumns ?? columns, data: paginatedSelectedItems, onSelectionChange: handleSelectedSelectionChange, selectedRowIds: Array.from(selectedChecked), treeData: false, className: "tw:!flex-1", reservePaginationSpace: true, selectContentClassName: "tw:!z-[1300]", pagination: {
|
|
230
234
|
currentPage: selectedPage,
|
|
231
235
|
totalPages: selectedTotalPages,
|
|
232
236
|
onPageChange: setSelectedPage,
|
|
@@ -243,7 +247,9 @@ function SelectionPanel({ open, onClose, onDone, title = "Select Items", descrip
|
|
|
243
247
|
description: selectedSearchApplied
|
|
244
248
|
? "Try adjusting your search"
|
|
245
249
|
: undefined,
|
|
246
|
-
} }) })] })] }), jsxs(SheetFooter, { className: "tw:!border-t tw:!flex tw:!flex-row tw:!justify-between tw:!items-center", children: [jsx(Button, { variant: "link", className: "tw:!text-primary tw:!px-0", onClick: handleClose, children: cancelButtonLabel }), jsx(Button, { onClick: handleDone, disabled: selectedIds.size === 0,
|
|
250
|
+
} }) })] })] }), jsxs(SheetFooter, { className: "tw:!border-t tw:!flex tw:!flex-row tw:!justify-between tw:!items-center", children: [jsx(Button, { variant: "link", className: "tw:!text-primary tw:!px-0", onClick: handleClose, children: cancelButtonLabel }), jsx(Button, { onClick: handleDone, disabled: selectedIds.size === 0, className: selectedIds.size === 0
|
|
251
|
+
? "tw:!opacity-50 tw:!cursor-not-allowed"
|
|
252
|
+
: undefined, children: doneButtonLabel })] })] })] }) }), jsx(AlertDialog, { open: showConfirmDialog, onOpenChange: setShowConfirmDialog, children: jsxs(AlertDialogContent, { className: "tw:!z-[1300]", overlayClassName: "tw:!z-[1300]", children: [jsxs(AlertDialogHeader, { children: [jsx(AlertDialogTitle, { children: "Unsaved Changes" }), jsx(AlertDialogDescription, { children: confirmCloseMessage })] }), jsxs(AlertDialogFooter, { children: [jsx(AlertDialogCancel, { onClick: () => setShowConfirmDialog(false), children: "Go Back" }), jsx(AlertDialogAction, { onClick: handleConfirmClose, children: "Exit Without Saving" })] })] }) })] }));
|
|
247
253
|
}
|
|
248
254
|
|
|
249
255
|
export { SelectionPanel };
|
package/dist/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export * from "./components/field";
|
|
|
57
57
|
export * from "./components/form";
|
|
58
58
|
export * from "./components/input-group";
|
|
59
59
|
export * from "./components/sidebar";
|
|
60
|
+
export * from "./components/header-app-switcher";
|
|
60
61
|
export * from "./lib/portal-wrapper";
|
|
61
62
|
export * from "./lib/utils";
|
|
62
63
|
//# 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,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,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;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kCAAkC,CAAA;AAChD,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -57,6 +57,7 @@ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLab
|
|
|
57
57
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/form.js';
|
|
58
58
|
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from './components/input-group.js';
|
|
59
59
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './components/sidebar.js';
|
|
60
|
+
export { HeaderAppSwitcher } from './components/header-app-switcher.js';
|
|
60
61
|
export { PortalWrapper } from './lib/portal-wrapper.js';
|
|
61
62
|
export { cn } from './lib/utils.js';
|
|
62
63
|
export { CheckIcon, XIcon } from 'lucide-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blaze-dispatch-logo.d.ts","sourceRoot":"","sources":["../../src/svgs/blaze-dispatch-logo.tsx"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE;;;CAAA,2CAgC5D"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function BlazeDispatchLogo({ width = 28, height = 28 }) {
|
|
4
|
+
return (jsxs("svg", { width: width, height: height, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxs("g", { "clip-path": "url(#clip0_13_251)", children: [jsx("path", { d: "M0 6.42C0 2.87 2.87 0 6.42 0H21.59C25.13 0 28.01 2.87 28.01 6.42V21.59C28.01 25.13 25.14 28.01 21.59 28.01H6.42C2.88 28.01 0 25.14 0 21.59V6.42Z", fill: "#EB8D48" }), jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.83 5.22994C18.53 4.61994 17.04 4.55994 15.69 5.04994C15 5.29994 14.38 5.68994 13.86 6.17994H9.9C9.53 6.17994 9.23 6.47994 9.23 6.84994C9.23 7.21994 9.53 7.51994 9.9 7.51994H12.82C12.76 7.63994 12.7 7.74994 12.64 7.86994C12.41 8.35994 12.26 8.91994 12.15 9.50994H7.44C7.07 9.50994 6.77 9.80994 6.77 10.1799C6.77 10.5499 7.07 10.8499 7.44 10.8499H12.02C11.99 11.4999 12.02 12.1799 12.06 12.8499H4.91C4.54 12.8499 4.24 13.1499 4.24 13.5199C4.24 13.8899 4.54 14.1899 4.91 14.1899H12.09C12.09 14.1899 12.16 14.1899 12.2 14.1899C12.38 15.5299 12.65 16.7499 12.87 17.5999C13.04 18.2899 13.18 18.7399 13.2 18.8099C13.22 18.8699 13.25 18.9199 13.29 18.9599C13.33 19.0099 13.38 19.0399 13.43 19.0699C13.48 19.0999 13.54 19.1099 13.6 19.1099C13.66 19.1099 13.72 19.0999 13.77 19.0799C13.89 19.0299 15.17 18.4899 16.72 17.5999C18.84 16.3999 21.48 14.5699 22.44 12.4999C23.04 11.1899 23.11 9.69994 22.62 8.33994C22.13 6.97994 21.12 5.87994 19.83 5.26994V5.22994ZM16.31 12.8199C15.79 12.5699 15.35 12.1799 15.05 11.6799C14.75 11.1799 14.6 10.6099 14.63 10.0299C14.66 9.44994 14.85 8.88994 15.19 8.41994C15.53 7.94994 16 7.59994 16.55 7.39994C17.09 7.19994 17.68 7.16994 18.24 7.30994C18.8 7.44994 19.31 7.74994 19.7 8.17994C20.09 8.60994 20.34 9.13994 20.43 9.71994C20.52 10.2899 20.43 10.8799 20.19 11.4099C19.86 12.1199 19.27 12.6599 18.54 12.9299C17.81 13.1999 17.01 13.1599 16.31 12.8299V12.8199Z", fill: "white" }), jsx("path", { d: "M7.07 17.56H11.51C11.73 18.46 11.91 19.07 11.94 19.16C12.01 19.39 12.13 19.61 12.29 19.8C12.45 19.98 12.65 20.13 12.87 20.24C13.09 20.34 13.33 20.4 13.57 20.4C13.81 20.4 14.06 20.36 14.28 20.26C14.45 20.19 16.27 19.41 18.28 18.18C18.54 18.02 18.81 17.85 19.08 17.67C19.11 17.7 19.14 17.74 19.15 17.78L20.47 22.19C20.47 22.19 20.47 22.28 20.47 22.32C20.46 22.36 20.43 22.4 20.4 22.43C20.32 22.5 20.21 22.54 20.11 22.53H5.75C5.64 22.53 5.54 22.5 5.46 22.43C5.43 22.4 5.4 22.36 5.39 22.32C5.38 22.28 5.37 22.23 5.39 22.19L6.71 17.78C6.74 17.71 6.79 17.65 6.86 17.61C6.93 17.57 7 17.55 7.08 17.56H7.07Z", fill: "white" })] }), jsx("defs", { children: jsx("clipPath", { id: "clip0_13_251", children: jsx("rect", { width: "28", height: "28", fill: "white" }) }) })] }));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { BlazeDispatchLogo };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function BlazeEcomLogo({ width, height, color, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
width?: number | undefined;
|
|
4
|
+
height?: number | undefined;
|
|
5
|
+
color?: string | undefined;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=blaze-ecom-logo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blaze-ecom-logo.d.ts","sourceRoot":"","sources":["../../src/svgs/blaze-ecom-logo.tsx"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,EAC5B,KAAU,EACV,MAAW,EACX,KAAiB,EACjB,GAAG,KAAK,EACT;;;;;CAAA,2CAiBA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function BlazeEcomLogo({ width = 28, height = 28, color = "#2bb2dc", ...props }) {
|
|
4
|
+
return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 28 28", ...props, children: jsxs("g", { fill: color, children: [jsx("circle", { cx: "20.71", cy: "21.15", r: ".75" }), jsx("circle", { cx: "5.87", cy: "8.15", r: ".34" }), jsx("path", { d: "M21.69,0H6.31C2.82,0,0,2.82,0,6.31v15.38c0,3.49,2.82,6.31,6.31,6.31h15.38c3.49,0,6.31-2.82,6.31-6.31V6.31c0-3.49-2.82-6.31-6.31-6.31ZM16.9,7.87h2.06l-1.19,8.48h-2.06l1.19-8.48ZM13.26,10.31h2.06l-.85,6.03h-2.06l.85-6.03ZM11.73,12.47l-.55,3.88h-2.06l.55-3.88h2.06ZM20.71,22.86c-.78,0-1.43-.52-1.64-1.23h-8.75c-.21.71-.86,1.23-1.64,1.23-.95,0-1.71-.77-1.71-1.71s.77-1.71,1.71-1.71c.78,0,1.43.52,1.64,1.23h8.75c.17-.58.63-1.03,1.22-1.17l.2-.85H6.42l1.65-10.01h-1c-.19.48-.66.82-1.21.82-.72,0-1.31-.59-1.31-1.31s.59-1.31,1.31-1.31c.55,0,1.02.34,1.21.82h2.13l-1.65,10.01h14.14l-.43,1.86c.67.23,1.15.86,1.15,1.61,0,.95-.77,1.71-1.71,1.71ZM21.18,16.35h-2.06l1.5-10.7h2.06l-1.5,10.7Z" }), jsx("path", { d: "M8.68,20.39c-.41,0-.75.34-.75.75s.34.75.75.75.75-.34.75-.75-.34-.75-.75-.75Z" })] }) }));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { BlazeEcomLogo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blaze-insights-logo.d.ts","sourceRoot":"","sources":["../../src/svgs/blaze-insights-logo.tsx"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE;;;CAAA,2CA4E5D"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function BlazeInsightsLogo({ width = 28, height = 28 }) {
|
|
4
|
+
return (jsxs("svg", { width: width, height: height, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxs("g", { "clip-path": "url(#clip0_13_302)", children: [jsx("path", { d: "M0 5.83C0 2.61 2.61 0 5.83 0H22.16C25.38 0 27.99 2.61 27.99 5.83V22.16C27.99 25.38 25.38 27.99 22.16 27.99H5.83C2.61 27.99 0 25.38 0 22.16V5.83Z", fill: "#FFD500" }), jsx("path", { d: "M16.68 11.7C17.0003 11.7 17.26 11.4404 17.26 11.12C17.26 10.7997 17.0003 10.54 16.68 10.54C16.3597 10.54 16.1 10.7997 16.1 11.12C16.1 11.4404 16.3597 11.7 16.68 11.7Z", fill: "white" }), jsx("path", { d: "M14 14C14.3203 14 14.58 13.7403 14.58 13.42C14.58 13.0996 14.3203 12.84 14 12.84C13.6797 12.84 13.42 13.0996 13.42 13.42C13.42 13.7403 13.6797 14 14 14Z", fill: "white" }), jsx("path", { d: "M17.85 7.39999C18.1703 7.39999 18.43 7.14032 18.43 6.81999C18.43 6.49967 18.1703 6.23999 17.85 6.23999C17.5297 6.23999 17.27 6.49967 17.27 6.81999C17.27 7.14032 17.5297 7.39999 17.85 7.39999Z", fill: "white" }), jsx("path", { d: "M19.73 18.45C20.0503 18.45 20.31 18.1904 20.31 17.87C20.31 17.5497 20.0503 17.29 19.73 17.29C19.4097 17.29 19.15 17.5497 19.15 17.87C19.15 18.1904 19.4097 18.45 19.73 18.45Z", fill: "white" }), jsx("path", { d: "M20.54 14.68C20.8603 14.68 21.12 14.4203 21.12 14.1C21.12 13.7797 20.8603 13.52 20.54 13.52C20.2197 13.52 19.96 13.7797 19.96 14.1C19.96 14.4203 20.2197 14.68 20.54 14.68Z", fill: "white" }), jsx("path", { d: "M24.04 13.24C24.3603 13.24 24.62 12.9803 24.62 12.66C24.62 12.3396 24.3603 12.08 24.04 12.08C23.7197 12.08 23.46 12.3396 23.46 12.66C23.46 12.9803 23.7197 13.24 24.04 13.24Z", fill: "white" }), jsx("path", { d: "M9.15 17.57C9.47032 17.57 9.73 17.3104 9.73 16.99C9.73 16.6697 9.47032 16.41 9.15 16.41C8.82967 16.41 8.57 16.6697 8.57 16.99C8.57 17.3104 8.82967 17.57 9.15 17.57Z", fill: "white" }), jsx("path", { d: "M12.55 19.42C12.8703 19.42 13.13 19.1603 13.13 18.84C13.13 18.5197 12.8703 18.26 12.55 18.26C12.2297 18.26 11.97 18.5197 11.97 18.84C11.97 19.1603 12.2297 19.42 12.55 19.42Z", fill: "white" }), jsx("path", { d: "M6.16 13.52C6.48033 13.52 6.74 13.2603 6.74 12.94C6.74 12.6197 6.48033 12.36 6.16 12.36C5.83968 12.36 5.58 12.6197 5.58 12.94C5.58 13.2603 5.83968 13.52 6.16 13.52Z", fill: "white" }), jsx("path", { d: "M10.37 10.7201C10.6903 10.7201 10.95 10.4604 10.95 10.1401C10.95 9.81973 10.6903 9.56006 10.37 9.56006C10.0497 9.56006 9.79 9.81973 9.79 10.1401C9.79 10.4604 10.0497 10.7201 10.37 10.7201Z", fill: "white" }), jsx("path", { d: "M3.96 17.28C4.28032 17.28 4.54 17.0203 4.54 16.7C4.54 16.3797 4.28032 16.12 3.96 16.12C3.63967 16.12 3.38 16.3797 3.38 16.7C3.38 17.0203 3.63967 17.28 3.96 17.28Z", fill: "white" }), jsx("path", { d: "M7.66 21.76C7.98033 21.76 8.24 21.5003 8.24 21.18C8.24 20.8597 7.98033 20.6 7.66 20.6C7.33968 20.6 7.08 20.8597 7.08 21.18C7.08 21.5003 7.33968 21.76 7.66 21.76Z", fill: "white" }), jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M24.04 9.16001C24.04 10.77 22.73 12.08 21.12 12.08C20.7 12.08 20.31 11.99 19.95 11.84L17.65 15.66C18.13 16.09 18.43 16.71 18.43 17.4C18.43 18.69 17.39 19.73 16.1 19.73C14.81 19.73 13.77 18.69 13.77 17.4C13.77 17.15 13.81 16.9 13.88 16.67L10.41 14.75C10.09 15.15 9.6 15.4 9.05 15.4C8.72 15.4 8.42 15.31 8.16 15.15L5.89 18.54C6.26 18.8 6.5 19.24 6.5 19.73C6.5 20.54 5.85 21.19 5.04 21.19C4.23 21.19 3.58 20.54 3.58 19.73C3.58 18.92 4.23 18.27 5.04 18.27C5.25 18.27 5.45 18.32 5.64 18.4L7.92 14.99C7.54 14.67 7.3 14.19 7.3 13.66C7.3 12.69 8.08 11.91 9.05 11.91C10.02 11.91 10.8 12.69 10.8 13.66C10.8 13.97 10.72 14.26 10.58 14.52L14 16.41C14.37 15.62 15.18 15.08 16.11 15.08C16.6 15.08 17.06 15.23 17.44 15.49L19.71 11.72C18.82 11.22 18.22 10.27 18.22 9.18001C18.22 7.57001 19.53 6.26001 21.14 6.26001C22.75 6.26001 24.06 7.57001 24.06 9.18001L24.04 9.16001Z", fill: "white" })] }), jsx("defs", { children: jsx("clipPath", { id: "clip0_13_302", children: jsx("rect", { width: "28", height: "28", fill: "white" }) }) })] }));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { BlazeInsightsLogo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blaze-lighthouse-logo.d.ts","sourceRoot":"","sources":["../../src/svgs/blaze-lighthouse-logo.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,GAAI;;;;CAAqC,4CAuJxE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
const BlazeLighthouseLogo = ({ width = 28, height = 28, ...props }) => {
|
|
4
|
+
return (jsxs("svg", { width: width, height: height, viewBox: "-56.5 0 674 674", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [jsx("path", { d: "M89.43 278.11C80.06 287.52 63.02 304.56 151.61 393.15L197.89 348.16C239.91 306.14 256.25 263.79 221.73 220.32C194.42 185.92 155.55 170.85 155.48 170.78C176.06 203.69 136.27 228.44 76.86 290.37C76.86 290.37 76.46 290.68 76.07 291.47L89.42 278.12L89.43 278.11Z", fill: "#29A9E1" }), jsx("path", { d: "M89.43 278.11C80.06 287.52 63.02 304.56 151.61 393.15L197.89 348.16C239.91 306.14 256.25 263.79 221.73 220.32C194.42 185.92 155.55 170.85 155.48 170.78C176.06 203.69 136.27 228.44 76.86 290.37C76.86 290.37 76.46 290.68 76.07 291.47L89.42 278.12L89.43 278.11Z", fill: "url(#paint0_linear_15_3)" }), jsx("g", { opacity: "0.5", children: jsx("path", { d: "M89.43 278.11C80.06 287.52 63.02 304.56 151.61 393.15L197.89 348.16C239.91 306.14 256.25 263.79 221.73 220.32C194.42 185.92 155.55 170.85 155.48 170.78C176.06 203.69 136.27 228.44 76.86 290.37C76.86 290.37 76.46 290.68 76.07 291.47L89.42 278.12L89.43 278.11Z", fill: "#1B355E" }) }), jsx("path", { d: "M159.98 579C168.97 586.8 199.87 601.61 276.96 525.95C277.45 525.47 277.95 524.97 278.45 524.48C279.19 523.75 279.93 523.02 280.68 522.27L280.5 522.09L280.39 522.2L151.47 393.28L151.6 393.15C63.01 304.56 80.06 287.52 89.42 278.11L18.19 349.34C6.44999 361.08 -0.0100098 376.68 -0.0100098 393.28C-0.0100098 409.88 6.44999 425.49 18.19 437.22L157.66 576.69C158.38 577.48 159.27 578.42 160.38 579.41L159.97 579H159.98Z", fill: "#29A9E1" }), jsx("path", { opacity: "0.5", d: "M159.98 579C168.97 586.8 199.87 601.61 276.96 525.95C277.45 525.47 277.95 524.97 278.45 524.48C279.19 523.75 279.93 523.02 280.68 522.27L280.5 522.09L280.39 522.2L151.47 393.28L151.6 393.15C63.01 304.56 80.06 287.52 89.42 278.11L18.19 349.34C6.44999 361.08 -0.0100098 376.68 -0.0100098 393.28C-0.0100098 409.88 6.44999 425.49 18.19 437.22L157.66 576.69C158.38 577.48 159.27 578.42 160.38 579.41L159.97 579H159.98Z", fill: "url(#paint1_linear_15_3)" }), jsx("g", { opacity: "0.35", children: jsx("path", { d: "M159.98 579C168.97 586.8 199.87 601.61 276.96 525.95C277.45 525.47 277.95 524.97 278.45 524.48C279.19 523.75 279.93 523.02 280.68 522.27L280.5 522.09L280.39 522.2L151.47 393.28L151.6 393.15C63.01 304.56 80.06 287.52 89.42 278.11L18.19 349.34C6.44999 361.08 -0.0100098 376.68 -0.0100098 393.28C-0.0100098 409.88 6.44999 425.49 18.19 437.22L157.66 576.69C158.38 577.48 159.27 578.42 160.38 579.41L159.97 579H159.98Z", fill: "#1B355E" }) }), jsx("path", { d: "M409.49 393.5C403.91 399.08 325.53 477.46 283.97 519.02C282.86 520.13 281.77 521.2 280.67 522.27C200.86 602.09 169.1 586.93 159.97 579L236.44 655.47C248.56 667.59 264.47 673.64 280.38 673.64C296.29 673.64 312.21 667.58 324.32 655.47L464.3 515.49L465.31 514.48C474.55 505.09 494.68 478.7 409.48 393.49L409.49 393.5Z", fill: "#29A9E1" }), jsx("mask", { id: "mask0_15_3", style: { maskType: "luminance" }, maskUnits: "userSpaceOnUse", x: "159", y: "395", width: "311", height: "279", children: jsx("path", { d: "M407.83 395.16C395.06 407.93 323.16 479.83 283.98 519.01C282.87 520.12 281.78 521.19 280.68 522.26C200.87 602.08 169.11 586.92 159.98 578.99L236.45 655.46C248.57 667.58 264.48 673.63 280.39 673.63C296.3 673.63 312.22 667.57 324.33 655.46L457.82 521.97C467.47 512.17 493 480.33 407.82 395.15L407.83 395.16Z", fill: "white" }) }), jsxs("g", { mask: "url(#mask0_15_3)", children: [jsx("path", { opacity: "0.5", d: "M409.49 393.5C403.91 399.08 325.53 477.46 283.97 519.02C282.86 520.13 281.77 521.2 280.67 522.27C200.86 602.09 169.1 586.93 159.97 579L236.44 655.47C248.56 667.59 264.47 673.64 280.38 673.64C296.29 673.64 312.21 667.58 324.32 655.47L464.3 515.49L465.31 514.48C474.55 505.09 494.68 478.7 409.48 393.49L409.49 393.5Z", fill: "url(#paint2_linear_15_3)" }), jsx("path", { opacity: "0.2", d: "M409.49 393.5C403.91 399.08 325.53 477.46 283.97 519.02C282.86 520.13 281.77 521.2 280.67 522.27C200.86 602.09 169.1 586.93 159.97 579L236.44 655.47C248.56 667.59 264.47 673.64 280.38 673.64C296.29 673.64 312.21 667.58 324.32 655.47L464.3 515.49L465.31 514.48C474.55 505.09 494.68 478.7 409.48 393.49L409.49 393.5Z", fill: "#1B355E" })] }), jsx("path", { d: "M457.76 522.05L456.79 523.02C457.09 522.73 457.42 522.4 457.76 522.05Z", fill: "#29A9E1" }), jsx("path", { d: "M560.79 393.28C560.79 376.68 554.33 361.07 542.59 349.34L451.68 259.78L438.83 261.91L394.3 335.47L380.22 250.64L306.66 206.1L384.15 193.25L369.2 178.52C266.22 71.11 295.34 42.01 295.34 42.01C296.01 40.14 222.6 95.11 222.6 162.98C222.6 206.3 246.36 238.28 270.26 262.63C270.26 262.63 407.76 395.1 407.83 395.16C493.21 480.54 467.36 512.32 457.77 522.04L542.59 437.22C554.33 425.48 560.79 409.88 560.79 393.28Z", fill: "#29A9E1" }), jsx("path", { d: "M450.21 233.72L422.81 238.26L408.42 262.03L403.87 234.62L380.11 220.24L407.51 215.69L421.9 191.92L426.45 219.33L450.21 233.72Z", fill: "#258CC0" }), jsx("path", { d: "M488.58 46.25L442.33 85.91V146.84L402.67 100.59H341.74L387.99 60.93V0L427.65 46.25H488.58Z", fill: "#258CC0" }), jsx("path", { opacity: "0.4", d: "M186.22 144.15C192.599 144.15 197.77 138.979 197.77 132.6C197.77 126.221 192.599 121.05 186.22 121.05C179.841 121.05 174.67 126.221 174.67 132.6C174.67 138.979 179.841 144.15 186.22 144.15Z", fill: "#02A9E0" }), jsx("path", { opacity: "0.8", d: "M142.06 101.48C157.557 101.48 170.12 88.9171 170.12 73.42C170.12 57.9229 157.557 45.36 142.06 45.36C126.563 45.36 114 57.9229 114 73.42C114 88.9171 126.563 101.48 142.06 101.48Z", fill: "#02A9E0" }), jsx("path", { opacity: "0.6", d: "M202.97 95.68C212.188 95.68 219.66 88.2076 219.66 78.99C219.66 69.7724 212.188 62.3 202.97 62.3C193.752 62.3 186.28 69.7724 186.28 78.99C186.28 88.2076 193.752 95.68 202.97 95.68Z", fill: "#02A9E0" }), jsxs("defs", { children: [jsxs("linearGradient", { id: "paint0_linear_15_3", x1: "111.19", y1: "401.41", x2: "217.17", y2: "144.12", gradientUnits: "userSpaceOnUse", children: [jsx("stop", { stopColor: "#1B355E" }), jsx("stop", { offset: "0.09", stopColor: "#1C4570", stopOpacity: "0.86" }), jsx("stop", { offset: "0.35", stopColor: "#2270A1", stopOpacity: "0.49" }), jsx("stop", { offset: "0.6", stopColor: "#258FC4", stopOpacity: "0.22" }), jsx("stop", { offset: "0.82", stopColor: "#28A2D9", stopOpacity: "0.06" }), jsx("stop", { offset: "1", stopColor: "#29A9E1", stopOpacity: "0" })] }), jsxs("linearGradient", { id: "paint1_linear_15_3", x1: "219.27", y1: "582.33", x2: "28.4399", y2: "304.55", gradientUnits: "userSpaceOnUse", children: [jsx("stop", { stopColor: "#1B355E" }), jsx("stop", { offset: "0.09", stopColor: "#1F5885", stopOpacity: "0.69" }), jsx("stop", { offset: "0.2", stopColor: "#2275A7", stopOpacity: "0.44" }), jsx("stop", { offset: "0.31", stopColor: "#258CC1", stopOpacity: "0.24" }), jsx("stop", { offset: "0.45", stopColor: "#279CD3", stopOpacity: "0.1" }), jsx("stop", { offset: "0.63", stopColor: "#28A6DD", stopOpacity: "0.02" }), jsx("stop", { offset: "1", stopColor: "#29A9E1", stopOpacity: "0" })] }), jsxs("linearGradient", { id: "paint2_linear_15_3", x1: "467.6", y1: "475.04", x2: "187.47", y2: "617.41", gradientUnits: "userSpaceOnUse", children: [jsx("stop", { stopColor: "#1B355E" }), jsx("stop", { offset: "0.09", stopColor: "#1F5885", stopOpacity: "0.69" }), jsx("stop", { offset: "0.2", stopColor: "#2275A7", stopOpacity: "0.44" }), jsx("stop", { offset: "0.31", stopColor: "#258CC1", stopOpacity: "0.24" }), jsx("stop", { offset: "0.45", stopColor: "#279CD3", stopOpacity: "0.1" }), jsx("stop", { offset: "0.63", stopColor: "#28A6DD", stopOpacity: "0.02" }), jsx("stop", { offset: "1", stopColor: "#29A9E1", stopOpacity: "0" })] })] })] }));
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export { BlazeLighthouseLogo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blaze-pay-logo.d.ts","sourceRoot":"","sources":["../../src/svgs/blaze-pay-logo.tsx"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE;;;CAAA,2CA0BvD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function BlazePayLogo({ width = 29, height = 31 }) {
|
|
4
|
+
return (jsxs("svg", { width: width, height: height, viewBox: "0 0 29 31", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxs("g", { "clip-path": "url(#clip0_13_234)", children: [jsx("path", { d: "M21.43 10.88L15.23 26.17C14.87 27.06 14.36 27.89 13.71 28.61C15.32 29.67 17.2 30.24 19.13 30.23C24.57 30.23 28.97 25.84 28.97 20.42C28.97 15.79 25.75 11.91 21.42 10.88H21.43Z", fill: "#45DCC1" }), jsx("path", { d: "M16.51 0.54C15.61 0.18 14.65 0 13.67 0C12.7 0 11.74 0.21 10.84 0.58C9.95 0.96 9.13 1.51 8.45 2.2C7.77 2.89 7.23 3.71 6.87 4.61L0.540003 20.24C-0.989997 24.01 0.840003 28.31 4.63 29.83C5.53 30.19 6.49 30.38 7.47 30.37C8.44 30.37 9.4 30.16 10.3 29.79C11.19 29.41 12.01 28.86 12.69 28.17C13.37 27.48 13.91 26.66 14.27 25.76L20.61 10.13C22.14 6.36 20.31 2.06 16.52 0.54H16.51ZM12.01 25.3C11.85 25.69 11.6 26.05 11.3 26.34C10 24.64 9.3 22.55 9.3 20.41C9.3 15.4 13.07 11.27 17.94 10.67L12.01 25.29V25.3Z", fill: "#29333B" })] }), jsx("defs", { children: jsx("clipPath", { id: "clip0_13_234", children: jsx("rect", { width: "29", height: "31", fill: "white" }) }) })] }));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { BlazePayLogo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blaze-pos-logo.d.ts","sourceRoot":"","sources":["../../src/svgs/blaze-pos-logo.tsx"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE;;;CAAA,2CAiBvD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function BlazePosLogo({ width = 28, height = 28 }) {
|
|
4
|
+
return (jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 28 28", width: width, height: height, children: [jsx("rect", { width: "28", height: "28", rx: "6.31", fill: "#2AA7DF" }), jsxs("g", { fill: "#FFFFFF", children: [jsx("path", { d: "M10.81,13.61c1.97-1.99,2.09-3.26.85-4.82-.98-1.23-2.21-1.61-2.21-1.62.57.91-.35,1.84-1.68,3.14-.69,1.23-.05,2.38,1.95,4.39l1.08-1.1Z" }), jsx("path", { d: "M14.13,19.57s-.08.08-.12.12c-2.86,2.86-4,2.32-4.32,2.03l2.74,2.74c.43.43,1,.65,1.57.65s1.14-.22,1.57-.65l3.6-3.6c1.31-1.54.92-3.47-.94-5.39l-4.1,4.1Z" }), jsx("path", { d: "M23.39,13.5l-6.21-6.12c-3.69-3.85-2.65-4.89-2.65-4.89.02-.07-2.61,1.9-2.61,4.33,0,1.55.85,2.7,1.71,3.57,0,0,4.93,4.75,4.93,4.75,3.17,3.17,2.06,4.28,1.75,4.58l3.07-3.07c.42-.42.65-.98.65-1.57s-.23-1.15-.65-1.57Z" }), jsx("path", { d: "M13.72,19.41l-4.34-4.34h0c-3.17-3.18-2.56-3.79-2.23-4.13l-.3.3v-.02c-.05.05-.1.11-.15.16,0,0-.01.01-.03.04l-2.07,2.07c-.42.42-.65.98-.65,1.57s.23,1.15.65,1.57l3.72,3.72c1.54,1.3,3.47.91,5.39-.95Z" })] })] }));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { BlazePosLogo };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const BlazeRetailLogo: ({ width, height, primaryColor, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
width?: number | undefined;
|
|
4
|
+
height?: number | undefined;
|
|
5
|
+
primaryColor?: string | undefined;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=blaze-retail-logo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blaze-retail-logo.d.ts","sourceRoot":"","sources":["../../src/svgs/blaze-retail-logo.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,GAAI;;;;;CAK/B,4CAiCA,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
const BlazeRetailLogo = ({ width = 28, height = 28, primaryColor = "#2aa7df", ...props }) => {
|
|
4
|
+
return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 28 28", width: width, height: height, ...props, children: jsxs("g", { children: [jsx("path", { d: "M21.69,0H6.31C2.82,0,0,2.82,0,6.31v15.38c0,3.49,2.82,6.31,6.31,6.31h15.38c3.49,0,6.31-2.82,6.31-6.31V6.31c0-3.49-2.82-6.31-6.31-6.31Z", fill: primaryColor }), jsx("path", { d: "M10.81,13.61c1.97-1.99,2.09-3.26.85-4.82-.98-1.23-2.21-1.61-2.21-1.62.57.91-.35,1.84-1.68,3.14-.69,1.23-.05,2.38,1.95,4.39l1.08-1.1Z", fill: "#ffffff" }), jsx("path", { d: "M14.13,19.57s-.08.08-.12.12c-2.86,2.86-4,2.32-4.32,2.03l2.74,2.74c.43.43,1,.65,1.57.65s1.14-.22,1.57-.65l3.6-3.6c1.31-1.54.92-3.47-.94-5.39l-4.1,4.1Z", fill: "#ffffff" }), jsx("path", { d: "M23.39,13.5l-6.21-6.12c-3.69-3.85-2.65-4.89-2.65-4.89.02-.07-2.61,1.9-2.61,4.33,0,1.55.85,2.7,1.71,3.57,0,0,4.93,4.75,4.93,4.75,3.17,3.17,2.06,4.28,1.75,4.58l3.07-3.07c.42-.42.65-.98.65-1.57s-.23-1.15-.65-1.57Z", fill: "#ffffff" }), jsx("path", { d: "M13.72,19.41l-4.34-4.34h0c-3.17-3.18-2.56-3.79-2.23-4.13l-.3.3v-.02c-.05.05-.1.11-.15.16,0,0-.01.01-.03.04l-2.07,2.07c-.42.42-.65.98-.65,1.57s.23,1.15.65,1.57l3.72,3.72c1.54,1.3,3.47.91,5.39-.95Z", fill: "#ffffff" })] }) }));
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export { BlazeRetailLogo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blaze-sites-logo.d.ts","sourceRoot":"","sources":["../../src/svgs/blaze-sites-logo.tsx"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE;;;CAAA,2CAuBzD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function BlazeSitesLogo({ width = 28, height = 28 }) {
|
|
4
|
+
return (jsxs("svg", { width: width, height: height, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxs("g", { "clip-path": "url(#clip0_13_335)", children: [jsx("path", { d: "M25.03 3.37H2.76V25.13H25.03V3.37Z", fill: "white" }), jsx("path", { d: "M21.69 0H6.31C2.82 0 0 2.82 0 6.31V21.69C0 25.18 2.82 28 6.31 28H21.69C25.18 28 28 25.18 28 21.69V6.31C28 2.82 25.18 0 21.69 0ZM4.43 5.29C4.43 4.91 4.73 4.61 5.11 4.61H22.78C23.16 4.61 23.46 4.91 23.46 5.29V7.94C23.46 8.32 23.16 8.62 22.78 8.62H5.12C4.74 8.62 4.44 8.32 4.44 7.94V5.29H4.43ZM9.88 23.55C9.88 23.95 9.56 24.27 9.16 24.27H5.15C4.75 24.27 4.43 23.95 4.43 23.55V11.34C4.43 10.94 4.75 10.62 5.15 10.62H9.16C9.56 10.62 9.88 10.94 9.88 11.34V23.55ZM11.28 11.34C11.28 10.94 11.6 10.62 12 10.62H16.01C16.41 10.62 16.73 10.94 16.73 11.34V16.42C16.73 16.82 16.41 17.14 16.01 17.14H12C11.6 17.14 11.28 16.82 11.28 16.42V11.34ZM23.47 23.47C23.47 23.85 23.17 24.15 22.79 24.15H12C11.62 24.15 11.32 23.85 11.32 23.47V19.82C11.32 19.44 11.62 19.14 12 19.14H22.79C23.17 19.14 23.47 19.44 23.47 19.82V23.47ZM23.57 16.42C23.57 16.82 23.25 17.14 22.85 17.14H18.84C18.44 17.14 18.12 16.82 18.12 16.42V11.34C18.12 10.94 18.44 10.62 18.84 10.62H22.85C23.25 10.62 23.57 10.94 23.57 11.34V16.42Z", fill: "#2BB2DC" })] }), jsx("defs", { children: jsx("clipPath", { id: "clip0_13_335", children: jsx("rect", { width: "28", height: "28", fill: "white" }) }) })] }));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { BlazeSitesLogo };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getgreenline/blaze-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@base-ui/react": "^1.1.0",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"zod": "^3.25.76"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
+
"@base-ui/react": "^1.0.0",
|
|
51
52
|
"react": ">=16.14",
|
|
52
|
-
"react-dom": ">=16.14"
|
|
53
|
-
"@base-ui/react": "^1.0.0"
|
|
53
|
+
"react-dom": ">=16.14"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@rollup/plugin-commonjs": "^28.0.0",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"rollup": "^4.52.0",
|
|
65
65
|
"tailwindcss": "^4.1.11",
|
|
66
66
|
"typescript": "^5.9.2",
|
|
67
|
-
"@workspace/
|
|
68
|
-
"@workspace/
|
|
67
|
+
"@workspace/typescript-config": "0.0.0",
|
|
68
|
+
"@workspace/eslint-config": "0.0.0"
|
|
69
69
|
},
|
|
70
70
|
"main": "./dist/index.js",
|
|
71
71
|
"module": "./dist/index.js",
|