auxalia-ui-kit 1.4.2 → 1.4.3
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/{chunk-OJQZUU5N.js → chunk-PVFHGZ5I.js} +10 -11
- package/dist/index.cjs +17 -18
- package/dist/index.js +8 -8
- package/dist/tailwind.preset.cjs +10 -11
- package/dist/tailwind.preset.js +1 -1
- package/package.json +1 -1
|
@@ -76,18 +76,17 @@ var preset = {
|
|
|
76
76
|
// Auxalia specific colors for direct use
|
|
77
77
|
"auxalia-green": auxaliaColors["auxalia-green"],
|
|
78
78
|
"auxalia-blue": auxaliaColors["auxalia-blue"],
|
|
79
|
-
"auxalia-petrol": auxaliaColors["auxalia-petrol"]
|
|
80
|
-
|
|
81
|
-
textColor: {
|
|
82
|
-
primary: "var(--color-text)",
|
|
83
|
-
secondary: "var(--color-text-secondary)",
|
|
84
|
-
muted: "var(--color-text-muted)"
|
|
85
|
-
},
|
|
86
|
-
backgroundColor: {
|
|
87
|
-
hero: "var(--color-bg-hero)",
|
|
79
|
+
"auxalia-petrol": auxaliaColors["auxalia-petrol"],
|
|
80
|
+
// Background surface tokens (bg-card, bg-hero, bg-popover, bg-card-hover)
|
|
88
81
|
card: "var(--card)",
|
|
89
|
-
|
|
90
|
-
|
|
82
|
+
"card-hover": "var(--card-hover)",
|
|
83
|
+
hero: "var(--color-bg-hero)",
|
|
84
|
+
popover: "var(--popover)",
|
|
85
|
+
// Semantic text tokens — non-conflicting names so default palette is preserved
|
|
86
|
+
// Use as: text-content, text-dim, text-muted
|
|
87
|
+
content: "var(--color-text)",
|
|
88
|
+
dim: "var(--color-text-secondary)",
|
|
89
|
+
muted: "var(--color-text-muted)"
|
|
91
90
|
},
|
|
92
91
|
backgroundImage: {
|
|
93
92
|
"gradient-radial-green": "radial-gradient(circle at 20% 20%, rgba(167, 213, 0, 0.15), transparent 35%)",
|
package/dist/index.cjs
CHANGED
|
@@ -315,7 +315,7 @@ var DropdownMenuSubContent = React2.forwardRef(({ className, ...props }, ref) =>
|
|
|
315
315
|
{
|
|
316
316
|
ref,
|
|
317
317
|
className: cn(
|
|
318
|
-
"z-50 min-w-
|
|
318
|
+
"z-50 min-w-32 overflow-hidden rounded-lg border border-black/6 dark:border-white/8 bg-popover p-1.5 text-content shadow-xl dark:shadow-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
319
319
|
className
|
|
320
320
|
),
|
|
321
321
|
...props
|
|
@@ -328,7 +328,7 @@ var DropdownMenuContent = React2.forwardRef(({ className, sideOffset = 4, ...pro
|
|
|
328
328
|
ref,
|
|
329
329
|
sideOffset,
|
|
330
330
|
className: cn(
|
|
331
|
-
"bg-popover z-50 min-w-32 overflow-hidden p-2 text-
|
|
331
|
+
"bg-popover z-50 min-w-32 overflow-hidden p-2 text-content rounded-2xl border border-black/6 dark:border-white/8 transition-colors shadow-xl dark:shadow-black/40",
|
|
332
332
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
333
333
|
className
|
|
334
334
|
),
|
|
@@ -777,7 +777,7 @@ var PopoverContent = React3.forwardRef(
|
|
|
777
777
|
collisionPadding,
|
|
778
778
|
className: cn(
|
|
779
779
|
// base
|
|
780
|
-
"z-50 w-72 rounded-md border border-black/10 dark:border-white/10 p-4 bg-popover text-
|
|
780
|
+
"z-50 w-72 rounded-md border border-black/10 dark:border-white/10 p-4 bg-popover text-content shadow-md outline-none",
|
|
781
781
|
// animations
|
|
782
782
|
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
783
783
|
"data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
@@ -6144,7 +6144,7 @@ var SelectContent2 = React34.forwardRef(({ className, children, position = "popp
|
|
|
6144
6144
|
{
|
|
6145
6145
|
ref,
|
|
6146
6146
|
className: cn(
|
|
6147
|
-
"bg-popover z-50 min-w-32 overflow-hidden rounded-2xl border border-black/6 dark:border-white/8 p-2 text-
|
|
6147
|
+
"bg-popover z-50 min-w-32 overflow-hidden rounded-2xl border border-black/6 dark:border-white/8 p-2 text-content shadow-xl dark:shadow-black/40",
|
|
6148
6148
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
6149
6149
|
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
6150
6150
|
className
|
|
@@ -6171,7 +6171,7 @@ var SelectLabel2 = React34.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
6171
6171
|
Label4,
|
|
6172
6172
|
{
|
|
6173
6173
|
ref,
|
|
6174
|
-
className: cn("px-2 py-1.5 text-xs font-semibold text-
|
|
6174
|
+
className: cn("px-2 py-1.5 text-xs font-semibold text-dim", className),
|
|
6175
6175
|
...props
|
|
6176
6176
|
}
|
|
6177
6177
|
));
|
|
@@ -6264,7 +6264,7 @@ function TabsContent({ value, children, className }) {
|
|
|
6264
6264
|
|
|
6265
6265
|
// src/components/Text/text.styles.ts
|
|
6266
6266
|
var import_class_variance_authority8 = require("class-variance-authority");
|
|
6267
|
-
var textVariants = (0, import_class_variance_authority8.cva)(`text-
|
|
6267
|
+
var textVariants = (0, import_class_variance_authority8.cva)(`text-content`, {
|
|
6268
6268
|
variants: {
|
|
6269
6269
|
size: {
|
|
6270
6270
|
sm: "text-sm",
|
|
@@ -6795,7 +6795,7 @@ var ControlledTable = ({
|
|
|
6795
6795
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative overflow-hidden rounded-lg border border-border", children: [
|
|
6796
6796
|
loading && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "absolute inset-0 z-10 flex items-center justify-center bg-card/60", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" }) }),
|
|
6797
6797
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("table", { className: "w-full text-sm", children: [
|
|
6798
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("thead", { className: "border-b bg-
|
|
6798
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("thead", { className: "border-b bg-[#ff0000] text-yellow-500", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("tr", { children: [
|
|
6799
6799
|
isSelectable && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("th", { className: "w-10 px-3 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
6800
6800
|
import_radix_ui3.Checkbox.Root,
|
|
6801
6801
|
{
|
|
@@ -7042,18 +7042,17 @@ var preset = {
|
|
|
7042
7042
|
// Auxalia specific colors for direct use
|
|
7043
7043
|
"auxalia-green": auxaliaColors["auxalia-green"],
|
|
7044
7044
|
"auxalia-blue": auxaliaColors["auxalia-blue"],
|
|
7045
|
-
"auxalia-petrol": auxaliaColors["auxalia-petrol"]
|
|
7046
|
-
|
|
7047
|
-
textColor: {
|
|
7048
|
-
primary: "var(--color-text)",
|
|
7049
|
-
secondary: "var(--color-text-secondary)",
|
|
7050
|
-
muted: "var(--color-text-muted)"
|
|
7051
|
-
},
|
|
7052
|
-
backgroundColor: {
|
|
7053
|
-
hero: "var(--color-bg-hero)",
|
|
7045
|
+
"auxalia-petrol": auxaliaColors["auxalia-petrol"],
|
|
7046
|
+
// Background surface tokens (bg-card, bg-hero, bg-popover, bg-card-hover)
|
|
7054
7047
|
card: "var(--card)",
|
|
7055
|
-
|
|
7056
|
-
|
|
7048
|
+
"card-hover": "var(--card-hover)",
|
|
7049
|
+
hero: "var(--color-bg-hero)",
|
|
7050
|
+
popover: "var(--popover)",
|
|
7051
|
+
// Semantic text tokens — non-conflicting names so default palette is preserved
|
|
7052
|
+
// Use as: text-content, text-dim, text-muted
|
|
7053
|
+
content: "var(--color-text)",
|
|
7054
|
+
dim: "var(--color-text-secondary)",
|
|
7055
|
+
muted: "var(--color-text-muted)"
|
|
7057
7056
|
},
|
|
7058
7057
|
backgroundImage: {
|
|
7059
7058
|
"gradient-radial-green": "radial-gradient(circle at 20% 20%, rgba(167, 213, 0, 0.15), transparent 35%)",
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tailwind_preset_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PVFHGZ5I.js";
|
|
4
4
|
|
|
5
5
|
// src/components/Button.tsx
|
|
6
6
|
import * as React from "react";
|
|
@@ -218,7 +218,7 @@ var DropdownMenuSubContent = React2.forwardRef(({ className, ...props }, ref) =>
|
|
|
218
218
|
{
|
|
219
219
|
ref,
|
|
220
220
|
className: cn(
|
|
221
|
-
"z-50 min-w-
|
|
221
|
+
"z-50 min-w-32 overflow-hidden rounded-lg border border-black/6 dark:border-white/8 bg-popover p-1.5 text-content shadow-xl dark:shadow-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
222
222
|
className
|
|
223
223
|
),
|
|
224
224
|
...props
|
|
@@ -231,7 +231,7 @@ var DropdownMenuContent = React2.forwardRef(({ className, sideOffset = 4, ...pro
|
|
|
231
231
|
ref,
|
|
232
232
|
sideOffset,
|
|
233
233
|
className: cn(
|
|
234
|
-
"bg-popover z-50 min-w-32 overflow-hidden p-2 text-
|
|
234
|
+
"bg-popover z-50 min-w-32 overflow-hidden p-2 text-content rounded-2xl border border-black/6 dark:border-white/8 transition-colors shadow-xl dark:shadow-black/40",
|
|
235
235
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
236
236
|
className
|
|
237
237
|
),
|
|
@@ -684,7 +684,7 @@ var PopoverContent = React3.forwardRef(
|
|
|
684
684
|
collisionPadding,
|
|
685
685
|
className: cn(
|
|
686
686
|
// base
|
|
687
|
-
"z-50 w-72 rounded-md border border-black/10 dark:border-white/10 p-4 bg-popover text-
|
|
687
|
+
"z-50 w-72 rounded-md border border-black/10 dark:border-white/10 p-4 bg-popover text-content shadow-md outline-none",
|
|
688
688
|
// animations
|
|
689
689
|
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
690
690
|
"data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
@@ -6051,7 +6051,7 @@ var SelectContent2 = React34.forwardRef(({ className, children, position = "popp
|
|
|
6051
6051
|
{
|
|
6052
6052
|
ref,
|
|
6053
6053
|
className: cn(
|
|
6054
|
-
"bg-popover z-50 min-w-32 overflow-hidden rounded-2xl border border-black/6 dark:border-white/8 p-2 text-
|
|
6054
|
+
"bg-popover z-50 min-w-32 overflow-hidden rounded-2xl border border-black/6 dark:border-white/8 p-2 text-content shadow-xl dark:shadow-black/40",
|
|
6055
6055
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
6056
6056
|
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
6057
6057
|
className
|
|
@@ -6078,7 +6078,7 @@ var SelectLabel2 = React34.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
6078
6078
|
Label4,
|
|
6079
6079
|
{
|
|
6080
6080
|
ref,
|
|
6081
|
-
className: cn("px-2 py-1.5 text-xs font-semibold text-
|
|
6081
|
+
className: cn("px-2 py-1.5 text-xs font-semibold text-dim", className),
|
|
6082
6082
|
...props
|
|
6083
6083
|
}
|
|
6084
6084
|
));
|
|
@@ -6171,7 +6171,7 @@ function TabsContent({ value, children, className }) {
|
|
|
6171
6171
|
|
|
6172
6172
|
// src/components/Text/text.styles.ts
|
|
6173
6173
|
import { cva as cva8 } from "class-variance-authority";
|
|
6174
|
-
var textVariants = cva8(`text-
|
|
6174
|
+
var textVariants = cva8(`text-content`, {
|
|
6175
6175
|
variants: {
|
|
6176
6176
|
size: {
|
|
6177
6177
|
sm: "text-sm",
|
|
@@ -6725,7 +6725,7 @@ var ControlledTable = ({
|
|
|
6725
6725
|
/* @__PURE__ */ jsxs11("div", { className: "relative overflow-hidden rounded-lg border border-border", children: [
|
|
6726
6726
|
loading && /* @__PURE__ */ jsx32("div", { className: "absolute inset-0 z-10 flex items-center justify-center bg-card/60", children: /* @__PURE__ */ jsx32("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" }) }),
|
|
6727
6727
|
/* @__PURE__ */ jsx32("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs11("table", { className: "w-full text-sm", children: [
|
|
6728
|
-
/* @__PURE__ */ jsx32("thead", { className: "border-b bg-
|
|
6728
|
+
/* @__PURE__ */ jsx32("thead", { className: "border-b bg-[#ff0000] text-yellow-500", children: /* @__PURE__ */ jsxs11("tr", { children: [
|
|
6729
6729
|
isSelectable && /* @__PURE__ */ jsx32("th", { className: "w-10 px-3 py-3", children: /* @__PURE__ */ jsx32(
|
|
6730
6730
|
Checkbox.Root,
|
|
6731
6731
|
{
|
package/dist/tailwind.preset.cjs
CHANGED
|
@@ -99,18 +99,17 @@ var preset = {
|
|
|
99
99
|
// Auxalia specific colors for direct use
|
|
100
100
|
"auxalia-green": auxaliaColors["auxalia-green"],
|
|
101
101
|
"auxalia-blue": auxaliaColors["auxalia-blue"],
|
|
102
|
-
"auxalia-petrol": auxaliaColors["auxalia-petrol"]
|
|
103
|
-
|
|
104
|
-
textColor: {
|
|
105
|
-
primary: "var(--color-text)",
|
|
106
|
-
secondary: "var(--color-text-secondary)",
|
|
107
|
-
muted: "var(--color-text-muted)"
|
|
108
|
-
},
|
|
109
|
-
backgroundColor: {
|
|
110
|
-
hero: "var(--color-bg-hero)",
|
|
102
|
+
"auxalia-petrol": auxaliaColors["auxalia-petrol"],
|
|
103
|
+
// Background surface tokens (bg-card, bg-hero, bg-popover, bg-card-hover)
|
|
111
104
|
card: "var(--card)",
|
|
112
|
-
|
|
113
|
-
|
|
105
|
+
"card-hover": "var(--card-hover)",
|
|
106
|
+
hero: "var(--color-bg-hero)",
|
|
107
|
+
popover: "var(--popover)",
|
|
108
|
+
// Semantic text tokens — non-conflicting names so default palette is preserved
|
|
109
|
+
// Use as: text-content, text-dim, text-muted
|
|
110
|
+
content: "var(--color-text)",
|
|
111
|
+
dim: "var(--color-text-secondary)",
|
|
112
|
+
muted: "var(--color-text-muted)"
|
|
114
113
|
},
|
|
115
114
|
backgroundImage: {
|
|
116
115
|
"gradient-radial-green": "radial-gradient(circle at 20% 20%, rgba(167, 213, 0, 0.15), transparent 35%)",
|
package/dist/tailwind.preset.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auxalia-ui-kit",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "A React component library built with Radix UI and Tailwind CSS, designed to provide accessible and customizable UI components for modern web applications.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": {
|