auxalia-ui-kit 1.3.2 → 1.3.4
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/index.cjs +7 -7
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/styles.css +27 -0
- package/dist/tokens.css +3 -2
- package/package.json +2 -3
package/dist/index.cjs
CHANGED
|
@@ -35,6 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
CollapsibleContent: () => CollapsibleContent,
|
|
36
36
|
CollapsibleRoot: () => CollapsibleRoot,
|
|
37
37
|
CollapsibleTrigger: () => CollapsibleTrigger,
|
|
38
|
+
ControlledTable: () => ControlledTable_default,
|
|
38
39
|
DropdownMenu: () => DropdownMenu,
|
|
39
40
|
DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem,
|
|
40
41
|
DropdownMenuContent: () => DropdownMenuContent,
|
|
@@ -83,7 +84,6 @@ __export(index_exports, {
|
|
|
83
84
|
SelectSeparator: () => SelectSeparator2,
|
|
84
85
|
SelectTrigger: () => SelectTrigger2,
|
|
85
86
|
SelectValue: () => SelectValue2,
|
|
86
|
-
TableView: () => ControlledTable_default,
|
|
87
87
|
Tabs: () => Tabs,
|
|
88
88
|
TabsContent: () => TabsContent,
|
|
89
89
|
TabsList: () => TabsList,
|
|
@@ -855,11 +855,11 @@ var cardVariants = (0, import_class_variance_authority4.cva)(
|
|
|
855
855
|
variants: {
|
|
856
856
|
variant: {
|
|
857
857
|
default: "bg-card border-primary/10 shadow-sm hover:shadow-md hover:border-primary/20 dark:border-primary/20",
|
|
858
|
-
outlined: "
|
|
859
|
-
elevated: "bg-
|
|
860
|
-
success: "bg-auxalia-green-
|
|
861
|
-
accent: "bg-
|
|
862
|
-
secondary: "bg-
|
|
858
|
+
outlined: "border-2 border-primary/30 bg-transparent hover:border-primary/50 dark:border-primary/40",
|
|
859
|
+
elevated: "bg-secondary border border-accent/10 shadow-lg hover:shadow-xl",
|
|
860
|
+
success: "bg-auxalia-green-50 border border-auxalia-green-200 dark:bg-auxalia-green-500/10 dark:border-auxalia-green-500/30",
|
|
861
|
+
accent: "bg-auxalia-petrol-50 border border-auxalia-petrol-200 dark:bg-auxalia-petrol-500/10 dark:border-auxalia-petrol-500/30",
|
|
862
|
+
secondary: "bg-auxalia-blue-50 border border-auxalia-blue-200 dark:bg-auxalia-blue-500/10 dark:border-auxalia-blue-500/30"
|
|
863
863
|
}
|
|
864
864
|
},
|
|
865
865
|
defaultVariants: {
|
|
@@ -7149,6 +7149,7 @@ var AuxaliaTokens = {
|
|
|
7149
7149
|
CollapsibleContent,
|
|
7150
7150
|
CollapsibleRoot,
|
|
7151
7151
|
CollapsibleTrigger,
|
|
7152
|
+
ControlledTable,
|
|
7152
7153
|
DropdownMenu,
|
|
7153
7154
|
DropdownMenuCheckboxItem,
|
|
7154
7155
|
DropdownMenuContent,
|
|
@@ -7197,7 +7198,6 @@ var AuxaliaTokens = {
|
|
|
7197
7198
|
SelectSeparator,
|
|
7198
7199
|
SelectTrigger,
|
|
7199
7200
|
SelectValue,
|
|
7200
|
-
TableView,
|
|
7201
7201
|
Tabs,
|
|
7202
7202
|
TabsContent,
|
|
7203
7203
|
TabsList,
|
package/dist/index.d.cts
CHANGED
|
@@ -198,8 +198,8 @@ interface SortObj {
|
|
|
198
198
|
order: 'asc' | 'desc';
|
|
199
199
|
}
|
|
200
200
|
interface QueryParams {
|
|
201
|
-
limit?: number
|
|
202
|
-
offset?: number
|
|
201
|
+
limit?: number;
|
|
202
|
+
offset?: number;
|
|
203
203
|
search?: {
|
|
204
204
|
value: string;
|
|
205
205
|
};
|
|
@@ -215,7 +215,7 @@ interface TableField {
|
|
|
215
215
|
width?: string | number;
|
|
216
216
|
headAlign?: 'left' | 'center' | 'right';
|
|
217
217
|
textAlign?: 'left' | 'center' | 'right';
|
|
218
|
-
type?: 'customComponent' | 'link' | 'img' | 'bool' | 'text';
|
|
218
|
+
type?: 'customComponent' | 'link' | 'img' | 'bool' | 'text' | 'textWithComponent';
|
|
219
219
|
getValue?: (record: Record<string, any>) => any;
|
|
220
220
|
component?: (props: {
|
|
221
221
|
data: Record<string, any>;
|
|
@@ -372,4 +372,4 @@ declare const AuxaliaTokens: {
|
|
|
372
372
|
|
|
373
373
|
declare function cn(...inputs: ClassValue[]): string;
|
|
374
374
|
|
|
375
|
-
export { AuxaliaTokens, Button, type ButtonProps, Card, CollapsibleContent, CollapsibleRoot, CollapsibleTrigger, type CommonTableProps, type CustomComponentType, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldOption, FieldSeparator, FieldSet, FieldTitle, type FilterField, Input, Label, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type QueryParams, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SortObj, type TableConfig, type TableField,
|
|
375
|
+
export { AuxaliaTokens, Button, type ButtonProps, Card, CollapsibleContent, CollapsibleRoot, CollapsibleTrigger, type CommonTableProps, ControlledTable, type CustomComponentType, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldOption, FieldSeparator, FieldSet, FieldTitle, type FilterField, Input, Label, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type QueryParams, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SortObj, type TableConfig, type TableField, Tabs, TabsContent, TabsList, TabsTrigger, Text, type ToolbarActionsProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn };
|
package/dist/index.d.ts
CHANGED
|
@@ -198,8 +198,8 @@ interface SortObj {
|
|
|
198
198
|
order: 'asc' | 'desc';
|
|
199
199
|
}
|
|
200
200
|
interface QueryParams {
|
|
201
|
-
limit?: number
|
|
202
|
-
offset?: number
|
|
201
|
+
limit?: number;
|
|
202
|
+
offset?: number;
|
|
203
203
|
search?: {
|
|
204
204
|
value: string;
|
|
205
205
|
};
|
|
@@ -215,7 +215,7 @@ interface TableField {
|
|
|
215
215
|
width?: string | number;
|
|
216
216
|
headAlign?: 'left' | 'center' | 'right';
|
|
217
217
|
textAlign?: 'left' | 'center' | 'right';
|
|
218
|
-
type?: 'customComponent' | 'link' | 'img' | 'bool' | 'text';
|
|
218
|
+
type?: 'customComponent' | 'link' | 'img' | 'bool' | 'text' | 'textWithComponent';
|
|
219
219
|
getValue?: (record: Record<string, any>) => any;
|
|
220
220
|
component?: (props: {
|
|
221
221
|
data: Record<string, any>;
|
|
@@ -372,4 +372,4 @@ declare const AuxaliaTokens: {
|
|
|
372
372
|
|
|
373
373
|
declare function cn(...inputs: ClassValue[]): string;
|
|
374
374
|
|
|
375
|
-
export { AuxaliaTokens, Button, type ButtonProps, Card, CollapsibleContent, CollapsibleRoot, CollapsibleTrigger, type CommonTableProps, type CustomComponentType, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldOption, FieldSeparator, FieldSet, FieldTitle, type FilterField, Input, Label, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type QueryParams, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SortObj, type TableConfig, type TableField,
|
|
375
|
+
export { AuxaliaTokens, Button, type ButtonProps, Card, CollapsibleContent, CollapsibleRoot, CollapsibleTrigger, type CommonTableProps, ControlledTable, type CustomComponentType, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldOption, FieldSeparator, FieldSet, FieldTitle, type FilterField, Input, Label, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type QueryParams, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SortObj, type TableConfig, type TableField, Tabs, TabsContent, TabsList, TabsTrigger, Text, type ToolbarActionsProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn };
|
package/dist/index.js
CHANGED
|
@@ -762,11 +762,11 @@ var cardVariants = cva4(
|
|
|
762
762
|
variants: {
|
|
763
763
|
variant: {
|
|
764
764
|
default: "bg-card border-primary/10 shadow-sm hover:shadow-md hover:border-primary/20 dark:border-primary/20",
|
|
765
|
-
outlined: "
|
|
766
|
-
elevated: "bg-
|
|
767
|
-
success: "bg-auxalia-green-
|
|
768
|
-
accent: "bg-
|
|
769
|
-
secondary: "bg-
|
|
765
|
+
outlined: "border-2 border-primary/30 bg-transparent hover:border-primary/50 dark:border-primary/40",
|
|
766
|
+
elevated: "bg-secondary border border-accent/10 shadow-lg hover:shadow-xl",
|
|
767
|
+
success: "bg-auxalia-green-50 border border-auxalia-green-200 dark:bg-auxalia-green-500/10 dark:border-auxalia-green-500/30",
|
|
768
|
+
accent: "bg-auxalia-petrol-50 border border-auxalia-petrol-200 dark:bg-auxalia-petrol-500/10 dark:border-auxalia-petrol-500/30",
|
|
769
|
+
secondary: "bg-auxalia-blue-50 border border-auxalia-blue-200 dark:bg-auxalia-blue-500/10 dark:border-auxalia-blue-500/30"
|
|
770
770
|
}
|
|
771
771
|
},
|
|
772
772
|
defaultVariants: {
|
|
@@ -6979,6 +6979,7 @@ export {
|
|
|
6979
6979
|
CollapsibleContent,
|
|
6980
6980
|
CollapsibleRoot,
|
|
6981
6981
|
CollapsibleTrigger,
|
|
6982
|
+
ControlledTable_default as ControlledTable,
|
|
6982
6983
|
DropdownMenu,
|
|
6983
6984
|
DropdownMenuCheckboxItem,
|
|
6984
6985
|
DropdownMenuContent,
|
|
@@ -7027,7 +7028,6 @@ export {
|
|
|
7027
7028
|
SelectSeparator2 as SelectSeparator,
|
|
7028
7029
|
SelectTrigger2 as SelectTrigger,
|
|
7029
7030
|
SelectValue2 as SelectValue,
|
|
7030
|
-
ControlledTable_default as TableView,
|
|
7031
7031
|
Tabs,
|
|
7032
7032
|
TabsContent,
|
|
7033
7033
|
TabsList,
|
package/dist/styles.css
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* Font imports */
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
|
|
3
|
+
|
|
4
|
+
/* inline safelist classes previously stored in safelist.txt */
|
|
5
|
+
@source inline("bg-primary text-primary bg-secondary bg-accent bg-destructive text-primary-foreground bg-primary-hover border-primary ring-primary bg-card bg-popover border-black/10 dark:border-white/10 shadow-md bg-primary/5 bg-primary/10 bg-primary/15 bg-primary/20 bg-primary/25 bg-primary/30 bg-primary/40 bg-primary/50 border-primary/10 border-primary/20 border-primary/25 border-primary/30 border-primary/40 border-primary/50 ring-primary/15 ring-primary/20 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2");
|
|
6
|
+
|
|
7
|
+
@import 'tailwindcss/base';
|
|
8
|
+
@import 'tailwindcss/components';
|
|
9
|
+
@import 'tailwindcss/utilities';
|
|
10
|
+
|
|
11
|
+
@import './tokens.css';
|
|
12
|
+
|
|
13
|
+
/* base layer */
|
|
14
|
+
@layer base {
|
|
15
|
+
button {
|
|
16
|
+
@apply transition-all duration-300 ease-in-out;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
button:hover {
|
|
20
|
+
@apply shadow-sm;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
a {
|
|
24
|
+
color: inherit;
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
package/dist/tokens.css
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
:root {
|
|
5
5
|
/* BRAND COLORS */
|
|
6
|
+
/* Primary: Fresh Green #A7D500 */
|
|
6
7
|
--color-primary: hsl(73 100% 42%);
|
|
7
8
|
--color-primary-hover: hsl(72 100% 36%);
|
|
8
9
|
--color-primary-foreground: hsl(0 0% 100%);
|
|
@@ -34,11 +35,11 @@
|
|
|
34
35
|
--color-bg-hero: hsl(210 40% 98%);
|
|
35
36
|
|
|
36
37
|
/* SURFACES */
|
|
37
|
-
--card: hsl(
|
|
38
|
+
--card: hsl(0 0% 100%);
|
|
38
39
|
--card-hover: hsl(210 40% 98%);
|
|
39
40
|
|
|
40
41
|
/* POPOVER / DROPDOWN / SELECT opened content */
|
|
41
|
-
--popover: hsl(
|
|
42
|
+
--popover: hsl(0 0% 100%);
|
|
42
43
|
|
|
43
44
|
/* COMMON */
|
|
44
45
|
--transition-base: 200ms ease;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auxalia-ui-kit",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
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": {
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
],
|
|
62
62
|
"sideEffects": [
|
|
63
63
|
"dist/styles.css",
|
|
64
|
-
"dist/index.css",
|
|
65
64
|
"dist/tokens.css"
|
|
66
65
|
],
|
|
67
66
|
"scripts": {
|
|
@@ -107,4 +106,4 @@
|
|
|
107
106
|
"typescript": "^5.7.3",
|
|
108
107
|
"vite": "^5.4.21"
|
|
109
108
|
}
|
|
110
|
-
}
|
|
109
|
+
}
|