@getgreenline/blaze-ui 1.0.0 → 1.0.2
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/build/components/button.d.ts +12 -0
- package/build/components/button.d.ts.map +1 -0
- package/build/components/button.js +106 -0
- package/build/components/button.js.map +1 -0
- package/build/index.d.ts +4 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +11 -0
- package/build/index.js.map +1 -0
- package/build/lib/utils.d.ts +3 -0
- package/build/lib/utils.d.ts.map +1 -0
- package/build/lib/utils.js +9 -0
- package/build/lib/utils.js.map +1 -0
- package/build/styles/blaze-ui.css +157 -0
- package/build/styles/styles.d.ts +3 -0
- package/build/styles/styles.d.ts.map +1 -0
- package/build/styles/styles.js +8 -0
- package/build/styles/styles.js.map +1 -0
- package/package.json +43 -8
- package/postcss.config.mjs +6 -0
- package/src/styles/blaze-ui.css +157 -0
- package/src/styles/styles.ts +5 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
+
declare function Button({ className, variant, size, asChild, loading, children, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Button, buttonVariants };
|
|
12
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,cAAc;;;mFA6BnB,CAAA;AAED,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAe,EACf,OAAe,EACf,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/B,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,2CA4EF;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
36
|
+
var t = {};
|
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
38
|
+
t[p] = s[p];
|
|
39
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
40
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
41
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
42
|
+
t[p[i]] = s[p[i]];
|
|
43
|
+
}
|
|
44
|
+
return t;
|
|
45
|
+
};
|
|
46
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
exports.buttonVariants = void 0;
|
|
48
|
+
exports.Button = Button;
|
|
49
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
50
|
+
const React = __importStar(require("react"));
|
|
51
|
+
const react_slot_1 = require("@radix-ui/react-slot");
|
|
52
|
+
const class_variance_authority_1 = require("class-variance-authority");
|
|
53
|
+
const utils_1 = require("../lib/utils");
|
|
54
|
+
const buttonVariants = (0, class_variance_authority_1.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
|
|
55
|
+
variants: {
|
|
56
|
+
variant: {
|
|
57
|
+
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
58
|
+
destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
59
|
+
outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
60
|
+
secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
61
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
62
|
+
link: "text-primary underline-offset-4 hover:underline",
|
|
63
|
+
},
|
|
64
|
+
size: {
|
|
65
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
66
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
67
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
68
|
+
icon: "size-9",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
defaultVariants: {
|
|
72
|
+
variant: "default",
|
|
73
|
+
size: "default",
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
exports.buttonVariants = buttonVariants;
|
|
77
|
+
function Button(_a) {
|
|
78
|
+
var _b;
|
|
79
|
+
var { className, variant, size, asChild = false, loading = false, children } = _a, props = __rest(_a, ["className", "variant", "size", "asChild", "loading", "children"]);
|
|
80
|
+
const Comp = asChild ? react_slot_1.Slot : "button";
|
|
81
|
+
// Wrap raw text nodes so we can hide them via opacity
|
|
82
|
+
const wrapTextNodes = (node) => {
|
|
83
|
+
var _a;
|
|
84
|
+
if (typeof node === "string" || typeof node === "number") {
|
|
85
|
+
return (0, jsx_runtime_1.jsx)("span", { "data-loading-text": true, children: node });
|
|
86
|
+
}
|
|
87
|
+
if (Array.isArray(node)) {
|
|
88
|
+
return node.map((n, i) => (0, jsx_runtime_1.jsx)(React.Fragment, { children: wrapTextNodes(n) }, i));
|
|
89
|
+
}
|
|
90
|
+
if (React.isValidElement(node) && ((_a = node.props) === null || _a === void 0 ? void 0 : _a.children) != null) {
|
|
91
|
+
return React.cloneElement(node, undefined, wrapTextNodes(node.props.children));
|
|
92
|
+
}
|
|
93
|
+
return node;
|
|
94
|
+
};
|
|
95
|
+
const renderedChildren = wrapTextNodes(children);
|
|
96
|
+
const spinner = ((0, jsx_runtime_1.jsx)("span", { "data-loading-spinner": true, "aria-hidden": "true", className: "absolute inset-0 flex items-center justify-center", children: (0, jsx_runtime_1.jsx)("span", { className: "inline-block size-4 animate-spin rounded-full border-2 border-current border-t-transparent" }) }));
|
|
97
|
+
if (asChild) {
|
|
98
|
+
const onlyChild = React.Children.only(renderedChildren);
|
|
99
|
+
const childWithSpinner = React.cloneElement(onlyChild, undefined, (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [loading && spinner, (_b = onlyChild.props) === null || _b === void 0 ? void 0 : _b.children] }));
|
|
100
|
+
return ((0, jsx_runtime_1.jsx)(Comp, Object.assign({ "data-slot": "button", "aria-busy": loading || undefined, "aria-disabled": (props === null || props === void 0 ? void 0 : props.disabled) || loading || undefined, className: (0, utils_1.cn)(buttonVariants({ variant, size, className }), loading &&
|
|
101
|
+
"relative [&>*:not([data-loading-spinner])]:opacity-0 [&>*:not([data-loading-spinner])]:transition-opacity") }, props, { children: childWithSpinner })));
|
|
102
|
+
}
|
|
103
|
+
return ((0, jsx_runtime_1.jsxs)(Comp, Object.assign({ "data-slot": "button", "aria-busy": loading || undefined, "aria-disabled": (props === null || props === void 0 ? void 0 : props.disabled) || loading || undefined, disabled: (props === null || props === void 0 ? void 0 : props.disabled) || loading, className: (0, utils_1.cn)(buttonVariants({ variant, size, className }), loading &&
|
|
104
|
+
"relative [&>*:not([data-loading-spinner])]:opacity-0 [&>*:not([data-loading-spinner])]:transition-opacity") }, props, { children: [loading && spinner, renderedChildren] })));
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"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"}
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA"}
|
package/build/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.styles = exports.cn = exports.buttonVariants = exports.Button = void 0;
|
|
4
|
+
var button_1 = require("./components/button");
|
|
5
|
+
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return button_1.Button; } });
|
|
6
|
+
Object.defineProperty(exports, "buttonVariants", { enumerable: true, get: function () { return button_1.buttonVariants; } });
|
|
7
|
+
var utils_1 = require("./lib/utils");
|
|
8
|
+
Object.defineProperty(exports, "cn", { enumerable: true, get: function () { return utils_1.cn; } });
|
|
9
|
+
var styles_1 = require("./styles/styles");
|
|
10
|
+
Object.defineProperty(exports, "styles", { enumerable: true, get: function () { return styles_1.styles; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,8CAA4D;AAAnD,gGAAA,MAAM,OAAA;AAAE,wGAAA,cAAc,OAAA;AAC/B,qCAAgC;AAAvB,2FAAA,EAAE,OAAA;AACX,0CAAwC;AAA/B,gGAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAA;AAG5C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cn = cn;
|
|
4
|
+
const clsx_1 = require("clsx");
|
|
5
|
+
const tailwind_merge_1 = require("tailwind-merge");
|
|
6
|
+
function cn(...inputs) {
|
|
7
|
+
return (0, tailwind_merge_1.twMerge)((0, clsx_1.clsx)(inputs));
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":";;AAGA,gBAEC;AALD,+BAA4C;AAC5C,mDAAwC;AAExC,SAAgB,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,IAAA,wBAAO,EAAC,IAAA,WAAI,EAAC,MAAM,CAAC,CAAC,CAAA;AAC9B,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
|
|
4
|
+
@source "../../../apps/**/*.{ts,tsx}";
|
|
5
|
+
@source "../../../components/**/*.{ts,tsx}";
|
|
6
|
+
@source "../**/*.{ts,tsx}";
|
|
7
|
+
|
|
8
|
+
@custom-variant dark (&:is(.dark *));
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--background: oklch(0.9842 0.0034 247.8575);
|
|
12
|
+
--foreground: oklch(0.2795 0.0368 260.0310);
|
|
13
|
+
--card: oklch(1.0000 0 0);
|
|
14
|
+
--card-foreground: oklch(0.2795 0.0368 260.0310);
|
|
15
|
+
--popover: oklch(1.0000 0 0);
|
|
16
|
+
--popover-foreground: oklch(0.2795 0.0368 260.0310);
|
|
17
|
+
--primary: oklch(0.7127 0.1242 224.5720);
|
|
18
|
+
--primary-foreground: oklch(1.0000 0 0);
|
|
19
|
+
--secondary: oklch(0.9276 0.0058 264.5313);
|
|
20
|
+
--secondary-foreground: oklch(0.3729 0.0306 259.7328);
|
|
21
|
+
--muted: oklch(0.9670 0.0029 264.5419);
|
|
22
|
+
--muted-foreground: oklch(0.5510 0.0234 264.3637);
|
|
23
|
+
--accent: oklch(0.9299 0.0334 272.7879);
|
|
24
|
+
--accent-foreground: oklch(0.3729 0.0306 259.7328);
|
|
25
|
+
--destructive: oklch(0.6368 0.2078 25.3313);
|
|
26
|
+
--destructive-foreground: oklch(1.0000 0 0);
|
|
27
|
+
--border: oklch(0.8717 0.0093 258.3382);
|
|
28
|
+
--input: oklch(0.8717 0.0093 258.3382);
|
|
29
|
+
--ring: oklch(0.5854 0.2041 277.1173);
|
|
30
|
+
--chart-1: oklch(0.5854 0.2041 277.1173);
|
|
31
|
+
--chart-2: oklch(0.5106 0.2301 276.9656);
|
|
32
|
+
--chart-3: oklch(0.4568 0.2146 277.0229);
|
|
33
|
+
--chart-4: oklch(0.3984 0.1773 277.3662);
|
|
34
|
+
--chart-5: oklch(0.3588 0.1354 278.6973);
|
|
35
|
+
--sidebar: oklch(0.9670 0.0029 264.5419);
|
|
36
|
+
--sidebar-foreground: oklch(0.2795 0.0368 260.0310);
|
|
37
|
+
--sidebar-primary: oklch(0.5854 0.2041 277.1173);
|
|
38
|
+
--sidebar-primary-foreground: oklch(1.0000 0 0);
|
|
39
|
+
--sidebar-accent: oklch(0.9299 0.0334 272.7879);
|
|
40
|
+
--sidebar-accent-foreground: oklch(0.3729 0.0306 259.7328);
|
|
41
|
+
--sidebar-border: oklch(0.8717 0.0093 258.3382);
|
|
42
|
+
--sidebar-ring: oklch(0.5854 0.2041 277.1173);
|
|
43
|
+
--font-sans: Inter, sans-serif;
|
|
44
|
+
--font-serif: Merriweather, serif;
|
|
45
|
+
--font-mono: JetBrains Mono, monospace;
|
|
46
|
+
--radius: 0.5rem;
|
|
47
|
+
--shadow-2xs: 0px 4px 8px -1px hsl(0 0% 0% / 0.05);
|
|
48
|
+
--shadow-xs: 0px 4px 8px -1px hsl(0 0% 0% / 0.05);
|
|
49
|
+
--shadow-sm: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 1px 2px -2px hsl(0 0% 0% / 0.10);
|
|
50
|
+
--shadow: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 1px 2px -2px hsl(0 0% 0% / 0.10);
|
|
51
|
+
--shadow-md: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 2px 4px -2px hsl(0 0% 0% / 0.10);
|
|
52
|
+
--shadow-lg: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 4px 6px -2px hsl(0 0% 0% / 0.10);
|
|
53
|
+
--shadow-xl: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 8px 10px -2px hsl(0 0% 0% / 0.10);
|
|
54
|
+
--shadow-2xl: 0px 4px 8px -1px hsl(0 0% 0% / 0.25);
|
|
55
|
+
--tracking-normal: 0em;
|
|
56
|
+
--spacing: 0.25rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.dark {
|
|
60
|
+
--background: oklch(0.2077 0.0398 265.7549);
|
|
61
|
+
--foreground: oklch(0.9288 0.0126 255.5078);
|
|
62
|
+
--card: oklch(0.2795 0.0368 260.0310);
|
|
63
|
+
--card-foreground: oklch(0.9288 0.0126 255.5078);
|
|
64
|
+
--popover: oklch(0.2795 0.0368 260.0310);
|
|
65
|
+
--popover-foreground: oklch(0.9288 0.0126 255.5078);
|
|
66
|
+
--primary: oklch(0.6801 0.1583 276.9349);
|
|
67
|
+
--primary-foreground: oklch(0.2077 0.0398 265.7549);
|
|
68
|
+
--secondary: oklch(0.3351 0.0331 260.9120);
|
|
69
|
+
--secondary-foreground: oklch(0.8717 0.0093 258.3382);
|
|
70
|
+
--muted: oklch(0.2795 0.0368 260.0310);
|
|
71
|
+
--muted-foreground: oklch(0.7137 0.0192 261.3246);
|
|
72
|
+
--accent: oklch(0.3729 0.0306 259.7328);
|
|
73
|
+
--accent-foreground: oklch(0.8717 0.0093 258.3382);
|
|
74
|
+
--destructive: oklch(0.6368 0.2078 25.3313);
|
|
75
|
+
--destructive-foreground: oklch(0.2077 0.0398 265.7549);
|
|
76
|
+
--border: oklch(0.4461 0.0263 256.8018);
|
|
77
|
+
--input: oklch(0.4461 0.0263 256.8018);
|
|
78
|
+
--ring: oklch(0.6801 0.1583 276.9349);
|
|
79
|
+
--chart-1: oklch(0.6801 0.1583 276.9349);
|
|
80
|
+
--chart-2: oklch(0.5854 0.2041 277.1173);
|
|
81
|
+
--chart-3: oklch(0.5106 0.2301 276.9656);
|
|
82
|
+
--chart-4: oklch(0.4568 0.2146 277.0229);
|
|
83
|
+
--chart-5: oklch(0.3984 0.1773 277.3662);
|
|
84
|
+
--sidebar: oklch(0.2795 0.0368 260.0310);
|
|
85
|
+
--sidebar-foreground: oklch(0.9288 0.0126 255.5078);
|
|
86
|
+
--sidebar-primary: oklch(0.6801 0.1583 276.9349);
|
|
87
|
+
--sidebar-primary-foreground: oklch(0.2077 0.0398 265.7549);
|
|
88
|
+
--sidebar-accent: oklch(0.3729 0.0306 259.7328);
|
|
89
|
+
--sidebar-accent-foreground: oklch(0.8717 0.0093 258.3382);
|
|
90
|
+
--sidebar-border: oklch(0.4461 0.0263 256.8018);
|
|
91
|
+
--sidebar-ring: oklch(0.6801 0.1583 276.9349);
|
|
92
|
+
--font-sans: Inter, sans-serif;
|
|
93
|
+
--font-serif: Merriweather, serif;
|
|
94
|
+
--font-mono: JetBrains Mono, monospace;
|
|
95
|
+
--radius: 0.5rem;
|
|
96
|
+
--shadow-2xs: 0px 4px 8px -1px hsl(0 0% 0% / 0.05);
|
|
97
|
+
--shadow-xs: 0px 4px 8px -1px hsl(0 0% 0% / 0.05);
|
|
98
|
+
--shadow-sm: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 1px 2px -2px hsl(0 0% 0% / 0.10);
|
|
99
|
+
--shadow: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 1px 2px -2px hsl(0 0% 0% / 0.10);
|
|
100
|
+
--shadow-md: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 2px 4px -2px hsl(0 0% 0% / 0.10);
|
|
101
|
+
--shadow-lg: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 4px 6px -2px hsl(0 0% 0% / 0.10);
|
|
102
|
+
--shadow-xl: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 8px 10px -2px hsl(0 0% 0% / 0.10);
|
|
103
|
+
--shadow-2xl: 0px 4px 8px -1px hsl(0 0% 0% / 0.25);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@theme inline {
|
|
107
|
+
--color-background: var(--background);
|
|
108
|
+
--color-foreground: var(--foreground);
|
|
109
|
+
--color-card: var(--card);
|
|
110
|
+
--color-card-foreground: var(--card-foreground);
|
|
111
|
+
--color-popover: var(--popover);
|
|
112
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
113
|
+
--color-primary: var(--primary);
|
|
114
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
115
|
+
--color-secondary: var(--secondary);
|
|
116
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
117
|
+
--color-muted: var(--muted);
|
|
118
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
119
|
+
--color-accent: var(--accent);
|
|
120
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
121
|
+
--color-destructive: var(--destructive);
|
|
122
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
123
|
+
--color-border: var(--border);
|
|
124
|
+
--color-input: var(--input);
|
|
125
|
+
--color-ring: var(--ring);
|
|
126
|
+
--color-chart-1: var(--chart-1);
|
|
127
|
+
--color-chart-2: var(--chart-2);
|
|
128
|
+
--color-chart-3: var(--chart-3);
|
|
129
|
+
--color-chart-4: var(--chart-4);
|
|
130
|
+
--color-chart-5: var(--chart-5);
|
|
131
|
+
--color-sidebar: var(--sidebar);
|
|
132
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
133
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
134
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
135
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
136
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
137
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
138
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
139
|
+
|
|
140
|
+
--font-sans: var(--font-sans);
|
|
141
|
+
--font-mono: var(--font-mono);
|
|
142
|
+
--font-serif: var(--font-serif);
|
|
143
|
+
|
|
144
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
145
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
146
|
+
--radius-lg: var(--radius);
|
|
147
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
148
|
+
|
|
149
|
+
--shadow-2xs: var(--shadow-2xs);
|
|
150
|
+
--shadow-xs: var(--shadow-xs);
|
|
151
|
+
--shadow-sm: var(--shadow-sm);
|
|
152
|
+
--shadow: var(--shadow);
|
|
153
|
+
--shadow-md: var(--shadow-md);
|
|
154
|
+
--shadow-lg: var(--shadow-lg);
|
|
155
|
+
--shadow-xl: var(--shadow-xl);
|
|
156
|
+
--shadow-2xl: var(--shadow-2xl);
|
|
157
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/styles/styles.ts"],"names":[],"mappings":"AAEA,OAAO,gBAAgB,CAAA;AAEvB,eAAO,MAAM,MAAM,EAAG,IAAa,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.styles = void 0;
|
|
4
|
+
// Import the stylesheet locally; the build step copies it to the
|
|
5
|
+
// emitted `build/styles` folder so the side-effect works after publish.
|
|
6
|
+
require("./blaze-ui.css");
|
|
7
|
+
exports.styles = true;
|
|
8
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/styles/styles.ts"],"names":[],"mappings":";;;AAAA,iEAAiE;AACjE,wEAAwE;AACxE,0BAAuB;AAEV,QAAA,MAAM,GAAG,IAAa,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getgreenline/blaze-ui",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
3
|
+
"version": "1.0.2",
|
|
6
4
|
"scripts": {
|
|
7
|
-
"
|
|
5
|
+
"dev": "tsc -p tsconfig.json --watch",
|
|
6
|
+
"build": "yarn run clean && yarn run compile",
|
|
7
|
+
"compile": "tsc -p tsconfig.json && mkdir -p ./build/styles && cp ./src/styles/blaze-ui.css ./build/styles/blaze-ui.css",
|
|
8
|
+
"clean": "rm -rf ./build ./dist",
|
|
9
|
+
"lint": "eslint . --max-warnings 0",
|
|
10
|
+
"prepublishOnly": "yarn build"
|
|
8
11
|
},
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
14
|
+
"class-variance-authority": "^0.7.1",
|
|
15
|
+
"clsx": "^2.1.1",
|
|
16
|
+
"lucide-react": "^0.475.0",
|
|
17
|
+
"next-themes": "^0.4.6",
|
|
18
|
+
"tailwind-merge": "^3.3.1",
|
|
19
|
+
"tw-animate-css": "^1.3.6",
|
|
20
|
+
"zod": "^3.25.76"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": ">=18",
|
|
24
|
+
"react-dom": ">=18"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@tailwindcss/postcss": "^4.1.11",
|
|
28
|
+
"@turbo/gen": "^2.5.5",
|
|
29
|
+
"@types/node": "^20.19.9",
|
|
30
|
+
"@types/react": "^18.3.24",
|
|
31
|
+
"@types/react-dom": "^18.3.7",
|
|
32
|
+
"@workspace/eslint-config": "workspace:*",
|
|
33
|
+
"@workspace/typescript-config": "workspace:*",
|
|
34
|
+
"tailwindcss": "^4.1.11",
|
|
35
|
+
"typescript": "^5.9.2"
|
|
36
|
+
},
|
|
37
|
+
"main": "build/index",
|
|
38
|
+
"types": "build/index",
|
|
39
|
+
"files": [
|
|
40
|
+
"build/**",
|
|
41
|
+
"src/styles/**",
|
|
42
|
+
"postcss.config.mjs"
|
|
43
|
+
],
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "restricted"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
|
|
4
|
+
@source "../../../apps/**/*.{ts,tsx}";
|
|
5
|
+
@source "../../../components/**/*.{ts,tsx}";
|
|
6
|
+
@source "../**/*.{ts,tsx}";
|
|
7
|
+
|
|
8
|
+
@custom-variant dark (&:is(.dark *));
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--background: oklch(0.9842 0.0034 247.8575);
|
|
12
|
+
--foreground: oklch(0.2795 0.0368 260.0310);
|
|
13
|
+
--card: oklch(1.0000 0 0);
|
|
14
|
+
--card-foreground: oklch(0.2795 0.0368 260.0310);
|
|
15
|
+
--popover: oklch(1.0000 0 0);
|
|
16
|
+
--popover-foreground: oklch(0.2795 0.0368 260.0310);
|
|
17
|
+
--primary: oklch(0.7127 0.1242 224.5720);
|
|
18
|
+
--primary-foreground: oklch(1.0000 0 0);
|
|
19
|
+
--secondary: oklch(0.9276 0.0058 264.5313);
|
|
20
|
+
--secondary-foreground: oklch(0.3729 0.0306 259.7328);
|
|
21
|
+
--muted: oklch(0.9670 0.0029 264.5419);
|
|
22
|
+
--muted-foreground: oklch(0.5510 0.0234 264.3637);
|
|
23
|
+
--accent: oklch(0.9299 0.0334 272.7879);
|
|
24
|
+
--accent-foreground: oklch(0.3729 0.0306 259.7328);
|
|
25
|
+
--destructive: oklch(0.6368 0.2078 25.3313);
|
|
26
|
+
--destructive-foreground: oklch(1.0000 0 0);
|
|
27
|
+
--border: oklch(0.8717 0.0093 258.3382);
|
|
28
|
+
--input: oklch(0.8717 0.0093 258.3382);
|
|
29
|
+
--ring: oklch(0.5854 0.2041 277.1173);
|
|
30
|
+
--chart-1: oklch(0.5854 0.2041 277.1173);
|
|
31
|
+
--chart-2: oklch(0.5106 0.2301 276.9656);
|
|
32
|
+
--chart-3: oklch(0.4568 0.2146 277.0229);
|
|
33
|
+
--chart-4: oklch(0.3984 0.1773 277.3662);
|
|
34
|
+
--chart-5: oklch(0.3588 0.1354 278.6973);
|
|
35
|
+
--sidebar: oklch(0.9670 0.0029 264.5419);
|
|
36
|
+
--sidebar-foreground: oklch(0.2795 0.0368 260.0310);
|
|
37
|
+
--sidebar-primary: oklch(0.5854 0.2041 277.1173);
|
|
38
|
+
--sidebar-primary-foreground: oklch(1.0000 0 0);
|
|
39
|
+
--sidebar-accent: oklch(0.9299 0.0334 272.7879);
|
|
40
|
+
--sidebar-accent-foreground: oklch(0.3729 0.0306 259.7328);
|
|
41
|
+
--sidebar-border: oklch(0.8717 0.0093 258.3382);
|
|
42
|
+
--sidebar-ring: oklch(0.5854 0.2041 277.1173);
|
|
43
|
+
--font-sans: Inter, sans-serif;
|
|
44
|
+
--font-serif: Merriweather, serif;
|
|
45
|
+
--font-mono: JetBrains Mono, monospace;
|
|
46
|
+
--radius: 0.5rem;
|
|
47
|
+
--shadow-2xs: 0px 4px 8px -1px hsl(0 0% 0% / 0.05);
|
|
48
|
+
--shadow-xs: 0px 4px 8px -1px hsl(0 0% 0% / 0.05);
|
|
49
|
+
--shadow-sm: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 1px 2px -2px hsl(0 0% 0% / 0.10);
|
|
50
|
+
--shadow: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 1px 2px -2px hsl(0 0% 0% / 0.10);
|
|
51
|
+
--shadow-md: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 2px 4px -2px hsl(0 0% 0% / 0.10);
|
|
52
|
+
--shadow-lg: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 4px 6px -2px hsl(0 0% 0% / 0.10);
|
|
53
|
+
--shadow-xl: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 8px 10px -2px hsl(0 0% 0% / 0.10);
|
|
54
|
+
--shadow-2xl: 0px 4px 8px -1px hsl(0 0% 0% / 0.25);
|
|
55
|
+
--tracking-normal: 0em;
|
|
56
|
+
--spacing: 0.25rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.dark {
|
|
60
|
+
--background: oklch(0.2077 0.0398 265.7549);
|
|
61
|
+
--foreground: oklch(0.9288 0.0126 255.5078);
|
|
62
|
+
--card: oklch(0.2795 0.0368 260.0310);
|
|
63
|
+
--card-foreground: oklch(0.9288 0.0126 255.5078);
|
|
64
|
+
--popover: oklch(0.2795 0.0368 260.0310);
|
|
65
|
+
--popover-foreground: oklch(0.9288 0.0126 255.5078);
|
|
66
|
+
--primary: oklch(0.6801 0.1583 276.9349);
|
|
67
|
+
--primary-foreground: oklch(0.2077 0.0398 265.7549);
|
|
68
|
+
--secondary: oklch(0.3351 0.0331 260.9120);
|
|
69
|
+
--secondary-foreground: oklch(0.8717 0.0093 258.3382);
|
|
70
|
+
--muted: oklch(0.2795 0.0368 260.0310);
|
|
71
|
+
--muted-foreground: oklch(0.7137 0.0192 261.3246);
|
|
72
|
+
--accent: oklch(0.3729 0.0306 259.7328);
|
|
73
|
+
--accent-foreground: oklch(0.8717 0.0093 258.3382);
|
|
74
|
+
--destructive: oklch(0.6368 0.2078 25.3313);
|
|
75
|
+
--destructive-foreground: oklch(0.2077 0.0398 265.7549);
|
|
76
|
+
--border: oklch(0.4461 0.0263 256.8018);
|
|
77
|
+
--input: oklch(0.4461 0.0263 256.8018);
|
|
78
|
+
--ring: oklch(0.6801 0.1583 276.9349);
|
|
79
|
+
--chart-1: oklch(0.6801 0.1583 276.9349);
|
|
80
|
+
--chart-2: oklch(0.5854 0.2041 277.1173);
|
|
81
|
+
--chart-3: oklch(0.5106 0.2301 276.9656);
|
|
82
|
+
--chart-4: oklch(0.4568 0.2146 277.0229);
|
|
83
|
+
--chart-5: oklch(0.3984 0.1773 277.3662);
|
|
84
|
+
--sidebar: oklch(0.2795 0.0368 260.0310);
|
|
85
|
+
--sidebar-foreground: oklch(0.9288 0.0126 255.5078);
|
|
86
|
+
--sidebar-primary: oklch(0.6801 0.1583 276.9349);
|
|
87
|
+
--sidebar-primary-foreground: oklch(0.2077 0.0398 265.7549);
|
|
88
|
+
--sidebar-accent: oklch(0.3729 0.0306 259.7328);
|
|
89
|
+
--sidebar-accent-foreground: oklch(0.8717 0.0093 258.3382);
|
|
90
|
+
--sidebar-border: oklch(0.4461 0.0263 256.8018);
|
|
91
|
+
--sidebar-ring: oklch(0.6801 0.1583 276.9349);
|
|
92
|
+
--font-sans: Inter, sans-serif;
|
|
93
|
+
--font-serif: Merriweather, serif;
|
|
94
|
+
--font-mono: JetBrains Mono, monospace;
|
|
95
|
+
--radius: 0.5rem;
|
|
96
|
+
--shadow-2xs: 0px 4px 8px -1px hsl(0 0% 0% / 0.05);
|
|
97
|
+
--shadow-xs: 0px 4px 8px -1px hsl(0 0% 0% / 0.05);
|
|
98
|
+
--shadow-sm: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 1px 2px -2px hsl(0 0% 0% / 0.10);
|
|
99
|
+
--shadow: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 1px 2px -2px hsl(0 0% 0% / 0.10);
|
|
100
|
+
--shadow-md: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 2px 4px -2px hsl(0 0% 0% / 0.10);
|
|
101
|
+
--shadow-lg: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 4px 6px -2px hsl(0 0% 0% / 0.10);
|
|
102
|
+
--shadow-xl: 0px 4px 8px -1px hsl(0 0% 0% / 0.10), 0px 8px 10px -2px hsl(0 0% 0% / 0.10);
|
|
103
|
+
--shadow-2xl: 0px 4px 8px -1px hsl(0 0% 0% / 0.25);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@theme inline {
|
|
107
|
+
--color-background: var(--background);
|
|
108
|
+
--color-foreground: var(--foreground);
|
|
109
|
+
--color-card: var(--card);
|
|
110
|
+
--color-card-foreground: var(--card-foreground);
|
|
111
|
+
--color-popover: var(--popover);
|
|
112
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
113
|
+
--color-primary: var(--primary);
|
|
114
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
115
|
+
--color-secondary: var(--secondary);
|
|
116
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
117
|
+
--color-muted: var(--muted);
|
|
118
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
119
|
+
--color-accent: var(--accent);
|
|
120
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
121
|
+
--color-destructive: var(--destructive);
|
|
122
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
123
|
+
--color-border: var(--border);
|
|
124
|
+
--color-input: var(--input);
|
|
125
|
+
--color-ring: var(--ring);
|
|
126
|
+
--color-chart-1: var(--chart-1);
|
|
127
|
+
--color-chart-2: var(--chart-2);
|
|
128
|
+
--color-chart-3: var(--chart-3);
|
|
129
|
+
--color-chart-4: var(--chart-4);
|
|
130
|
+
--color-chart-5: var(--chart-5);
|
|
131
|
+
--color-sidebar: var(--sidebar);
|
|
132
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
133
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
134
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
135
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
136
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
137
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
138
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
139
|
+
|
|
140
|
+
--font-sans: var(--font-sans);
|
|
141
|
+
--font-mono: var(--font-mono);
|
|
142
|
+
--font-serif: var(--font-serif);
|
|
143
|
+
|
|
144
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
145
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
146
|
+
--radius-lg: var(--radius);
|
|
147
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
148
|
+
|
|
149
|
+
--shadow-2xs: var(--shadow-2xs);
|
|
150
|
+
--shadow-xs: var(--shadow-xs);
|
|
151
|
+
--shadow-sm: var(--shadow-sm);
|
|
152
|
+
--shadow: var(--shadow);
|
|
153
|
+
--shadow-md: var(--shadow-md);
|
|
154
|
+
--shadow-lg: var(--shadow-lg);
|
|
155
|
+
--shadow-xl: var(--shadow-xl);
|
|
156
|
+
--shadow-2xl: var(--shadow-2xl);
|
|
157
|
+
}
|