auxalia-ui-kit 1.2.8 → 1.3.0

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.
@@ -0,0 +1,102 @@
1
+ // src/tailwind.preset.ts
2
+ var auxaliaColors = {
3
+ // Primary Brand Color - Fresh Green
4
+ "auxalia-green": {
5
+ 50: "#f8fbf0",
6
+ 100: "#f0f7e1",
7
+ 200: "#ddf0c0",
8
+ 300: "#c3e88a",
9
+ 400: "#a7d500",
10
+ // Brand primary
11
+ 500: "#93b800",
12
+ 600: "#749400",
13
+ 700: "#5a7600",
14
+ 800: "#3d5000",
15
+ 900: "#1f2800"
16
+ },
17
+ // Secondary Brand Color - Dark Blue
18
+ "auxalia-blue": {
19
+ 50: "#f0f4f8",
20
+ 100: "#e0eaf3",
21
+ 200: "#c0d6e6",
22
+ 300: "#8fb3d1",
23
+ 400: "#5c8fb5",
24
+ 500: "#3e6897",
25
+ // Brand secondary
26
+ 600: "#2d5080",
27
+ 700: "#1f3860",
28
+ 800: "#142a47",
29
+ 900: "#0a1628"
30
+ },
31
+ // Accent - Petrol Green
32
+ "auxalia-petrol": {
33
+ 50: "#f0fbfc",
34
+ 100: "#dff8f9",
35
+ 200: "#bef1f3",
36
+ 300: "#7fe6eb",
37
+ 400: "#3fd9e1",
38
+ 500: "#0f868b",
39
+ // Auxalia petrol
40
+ 600: "#0a646b",
41
+ 700: "#064952",
42
+ 800: "#033539",
43
+ 900: "#011f22"
44
+ },
45
+ // Supporting Colors
46
+ "auxalia-orange": "#dc6b39",
47
+ "auxalia-yellow": "#cfd12d",
48
+ "auxalia-red": "#93383a",
49
+ "auxalia-cyan": "#abbfbd"
50
+ };
51
+ var preset = {
52
+ darkMode: "class",
53
+ theme: {
54
+ extend: {
55
+ fontFamily: {
56
+ display: ['"Weissenhof Grotesk"', '"Calibri"', "sans-serif"],
57
+ body: ['"Weissenhof Grotesk"', '"Calibri"', "sans-serif"]
58
+ },
59
+ colors: {
60
+ primary: "var(--color-primary)",
61
+ "primary-foreground": "var(--color-primary-foreground)",
62
+ "primary-hover": "var(--color-primary-hover)",
63
+ secondary: "var(--color-secondary)",
64
+ "secondary-foreground": "var(--color-secondary-foreground)",
65
+ "secondary-hover": "var(--color-secondary-hover)",
66
+ accent: "var(--color-accent)",
67
+ "accent-foreground": "var(--color-accent-foreground)",
68
+ surface: "var(--color-surface)",
69
+ "surface-hover": "var(--color-surface-hover)",
70
+ "surface-foreground": "var(--color-surface-foreground)",
71
+ destructive: "var(--color-destructive)",
72
+ "destructive-hover": "var(--color-destructive-hover)",
73
+ "destructive-foreground": "var(--color-destructive-foreground)",
74
+ // Auxalia specific colors for direct use
75
+ "auxalia-green": auxaliaColors["auxalia-green"],
76
+ "auxalia-blue": auxaliaColors["auxalia-blue"],
77
+ "auxalia-petrol": auxaliaColors["auxalia-petrol"]
78
+ },
79
+ textColor: {
80
+ primary: "var(--color-text)",
81
+ secondary: "var(--color-text-secondary)",
82
+ muted: "var(--color-text-muted)"
83
+ },
84
+ backgroundColor: {
85
+ hero: "var(--color-bg-hero)",
86
+ card: "var(--card)",
87
+ cardHover: "var(--card-hover)",
88
+ popover: "var(--popover)"
89
+ },
90
+ backgroundImage: {
91
+ "gradient-radial-green": "radial-gradient(circle at 20% 20%, rgba(167, 213, 0, 0.15), transparent 35%)",
92
+ "gradient-radial-blue": "radial-gradient(circle at 80% 0%, rgba(62, 104, 151, 0.1), transparent 40%)",
93
+ "gradient-glow": "linear-gradient(to bottom right, rgba(6, 182, 212, 0.1), transparent, rgba(255, 255, 255, 0.05))"
94
+ }
95
+ }
96
+ }
97
+ };
98
+ var tailwind_preset_default = preset;
99
+
100
+ export {
101
+ tailwind_preset_default
102
+ };
package/dist/index.cjs CHANGED
@@ -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 bg-[#f87171] p-4 text-primary shadow-md outline-none",
780
+ "z-50 w-72 rounded-md border border-black/10 dark:border-white/10 p-4 bg-popover text-primary 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",
@@ -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: "border-2 border-primary/30 bg-transparent hover:border-primary/50 dark:border-primary/40",
858
+ outlined: "bg-primary border-2 border-primary/30 bg-transparent hover:border-primary/50 dark:border-primary/40",
859
859
  elevated: "bg-red-500 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"
860
+ success: "bg-auxalia-green-100 border border-auxalia-green-200 dark:bg-auxalia-green-500/10 dark:border-auxalia-green-500/30",
861
+ accent: "bg-[#ff0000] border border-auxalia-petrol-200 dark:bg-auxalia-petrol-500/10 dark:border-auxalia-petrol-500/30",
862
+ secondary: "bg-[#0000ff] border border-auxalia-blue-200 dark:bg-auxalia-blue-500/10 dark:border-auxalia-blue-500/30"
863
863
  }
864
864
  },
865
865
  defaultVariants: {
package/dist/index.d.cts CHANGED
@@ -10,8 +10,9 @@ import { Button as Button$1 } from '@radix-ui/themes';
10
10
  import * as PopoverPrimitive from '@radix-ui/react-popover';
11
11
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
12
  import * as SelectPrimitive from '@radix-ui/react-select';
13
- import { Config } from 'tailwindcss';
13
+ export { default as tailwindPreset } from './tailwind.preset.cjs';
14
14
  import { ClassValue } from 'clsx';
15
+ import 'tailwindcss';
15
16
 
16
17
  declare const buttonVariants: (props?: {
17
18
  variant?: "default" | "outline" | "ghost" | "link";
@@ -280,8 +281,6 @@ interface CustomComponentType {
280
281
 
281
282
  declare const ControlledTable: ({ tableSource, tableConfig, filteredParams, isSelectable, selectedRows, rowUniqueKey, emptyMessage, withOpenAction, withEditAction, withDownloadAction, withCloneAction, withRemoveAction, withPagination, loading, toolbarActions, openPath, handleClickIcon, handleOpenAction, handleEditAction, handleDownloadAction, handleRemoveAction, setSelectedRows, setFilteredParams, onSearchCallback, onFilterCallback, onRowClick, getDataOnChange, }: CommonTableProps) => react_jsx_runtime.JSX.Element;
282
283
 
283
- declare const preset: Config;
284
-
285
284
  /**
286
285
  * Auxalia Design System - Color Tokens
287
286
  *
@@ -373,4 +372,4 @@ declare const AuxaliaTokens: {
373
372
 
374
373
  declare function cn(...inputs: ClassValue[]): string;
375
374
 
376
- 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, ControlledTable as TableView, Tabs, TabsContent, TabsList, TabsTrigger, Text, type ToolbarActionsProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn, preset as tailwindPreset };
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, ControlledTable as TableView, Tabs, TabsContent, TabsList, TabsTrigger, Text, type ToolbarActionsProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn };
package/dist/index.d.ts CHANGED
@@ -10,8 +10,9 @@ import { Button as Button$1 } from '@radix-ui/themes';
10
10
  import * as PopoverPrimitive from '@radix-ui/react-popover';
11
11
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
12
  import * as SelectPrimitive from '@radix-ui/react-select';
13
- import { Config } from 'tailwindcss';
13
+ export { default as tailwindPreset } from './tailwind.preset.js';
14
14
  import { ClassValue } from 'clsx';
15
+ import 'tailwindcss';
15
16
 
16
17
  declare const buttonVariants: (props?: {
17
18
  variant?: "default" | "outline" | "ghost" | "link";
@@ -280,8 +281,6 @@ interface CustomComponentType {
280
281
 
281
282
  declare const ControlledTable: ({ tableSource, tableConfig, filteredParams, isSelectable, selectedRows, rowUniqueKey, emptyMessage, withOpenAction, withEditAction, withDownloadAction, withCloneAction, withRemoveAction, withPagination, loading, toolbarActions, openPath, handleClickIcon, handleOpenAction, handleEditAction, handleDownloadAction, handleRemoveAction, setSelectedRows, setFilteredParams, onSearchCallback, onFilterCallback, onRowClick, getDataOnChange, }: CommonTableProps) => react_jsx_runtime.JSX.Element;
282
283
 
283
- declare const preset: Config;
284
-
285
284
  /**
286
285
  * Auxalia Design System - Color Tokens
287
286
  *
@@ -373,4 +372,4 @@ declare const AuxaliaTokens: {
373
372
 
374
373
  declare function cn(...inputs: ClassValue[]): string;
375
374
 
376
- 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, ControlledTable as TableView, Tabs, TabsContent, TabsList, TabsTrigger, Text, type ToolbarActionsProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn, preset as tailwindPreset };
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, ControlledTable as TableView, Tabs, TabsContent, TabsList, TabsTrigger, Text, type ToolbarActionsProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn };
package/dist/index.js CHANGED
@@ -1,3 +1,7 @@
1
+ import {
2
+ tailwind_preset_default
3
+ } from "./chunk-JHCTCLL4.js";
4
+
1
5
  // src/components/Button.tsx
2
6
  import * as React from "react";
3
7
  import { Slot } from "@radix-ui/react-slot";
@@ -680,7 +684,7 @@ var PopoverContent = React3.forwardRef(
680
684
  collisionPadding,
681
685
  className: cn(
682
686
  // base
683
- "z-50 w-72 rounded-md border border-black/10 dark:border-white/10 bg-[#f87171] p-4 text-primary shadow-md outline-none",
687
+ "z-50 w-72 rounded-md border border-black/10 dark:border-white/10 p-4 bg-popover text-primary shadow-md outline-none",
684
688
  // animations
685
689
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
686
690
  "data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
@@ -758,11 +762,11 @@ var cardVariants = cva4(
758
762
  variants: {
759
763
  variant: {
760
764
  default: "bg-card border-primary/10 shadow-sm hover:shadow-md hover:border-primary/20 dark:border-primary/20",
761
- outlined: "border-2 border-primary/30 bg-transparent hover:border-primary/50 dark:border-primary/40",
765
+ outlined: "bg-primary border-2 border-primary/30 bg-transparent hover:border-primary/50 dark:border-primary/40",
762
766
  elevated: "bg-red-500 border border-accent/10 shadow-lg hover:shadow-xl",
763
- success: "bg-auxalia-green-50 border border-auxalia-green-200 dark:bg-auxalia-green-500/10 dark:border-auxalia-green-500/30",
764
- accent: "bg-auxalia-petrol-50 border border-auxalia-petrol-200 dark:bg-auxalia-petrol-500/10 dark:border-auxalia-petrol-500/30",
765
- secondary: "bg-auxalia-blue-50 border border-auxalia-blue-200 dark:bg-auxalia-blue-500/10 dark:border-auxalia-blue-500/30"
767
+ success: "bg-auxalia-green-100 border border-auxalia-green-200 dark:bg-auxalia-green-500/10 dark:border-auxalia-green-500/30",
768
+ accent: "bg-[#ff0000] border border-auxalia-petrol-200 dark:bg-auxalia-petrol-500/10 dark:border-auxalia-petrol-500/30",
769
+ secondary: "bg-[#0000ff] border border-auxalia-blue-200 dark:bg-auxalia-blue-500/10 dark:border-auxalia-blue-500/30"
766
770
  }
767
771
  },
768
772
  defaultVariants: {
@@ -6878,105 +6882,6 @@ var ControlledTable = ({
6878
6882
  };
6879
6883
  var ControlledTable_default = ControlledTable;
6880
6884
 
6881
- // src/tailwind.preset.ts
6882
- var auxaliaColors = {
6883
- // Primary Brand Color - Fresh Green
6884
- "auxalia-green": {
6885
- 50: "#f8fbf0",
6886
- 100: "#f0f7e1",
6887
- 200: "#ddf0c0",
6888
- 300: "#c3e88a",
6889
- 400: "#a7d500",
6890
- // Brand primary
6891
- 500: "#93b800",
6892
- 600: "#749400",
6893
- 700: "#5a7600",
6894
- 800: "#3d5000",
6895
- 900: "#1f2800"
6896
- },
6897
- // Secondary Brand Color - Dark Blue
6898
- "auxalia-blue": {
6899
- 50: "#f0f4f8",
6900
- 100: "#e0eaf3",
6901
- 200: "#c0d6e6",
6902
- 300: "#8fb3d1",
6903
- 400: "#5c8fb5",
6904
- 500: "#3e6897",
6905
- // Brand secondary
6906
- 600: "#2d5080",
6907
- 700: "#1f3860",
6908
- 800: "#142a47",
6909
- 900: "#0a1628"
6910
- },
6911
- // Accent - Petrol Green
6912
- "auxalia-petrol": {
6913
- 50: "#f0fbfc",
6914
- 100: "#dff8f9",
6915
- 200: "#bef1f3",
6916
- 300: "#7fe6eb",
6917
- 400: "#3fd9e1",
6918
- 500: "#0f868b",
6919
- // Auxalia petrol
6920
- 600: "#0a646b",
6921
- 700: "#064952",
6922
- 800: "#033539",
6923
- 900: "#011f22"
6924
- },
6925
- // Supporting Colors
6926
- "auxalia-orange": "#dc6b39",
6927
- "auxalia-yellow": "#cfd12d",
6928
- "auxalia-red": "#93383a",
6929
- "auxalia-cyan": "#abbfbd"
6930
- };
6931
- var preset = {
6932
- darkMode: "class",
6933
- theme: {
6934
- extend: {
6935
- fontFamily: {
6936
- display: ['"Weissenhof Grotesk"', '"Calibri"', "sans-serif"],
6937
- body: ['"Weissenhof Grotesk"', '"Calibri"', "sans-serif"]
6938
- },
6939
- colors: {
6940
- primary: "var(--color-primary)",
6941
- "primary-foreground": "var(--color-primary-foreground)",
6942
- "primary-hover": "var(--color-primary-hover)",
6943
- secondary: "var(--color-secondary)",
6944
- "secondary-foreground": "var(--color-secondary-foreground)",
6945
- "secondary-hover": "var(--color-secondary-hover)",
6946
- accent: "var(--color-accent)",
6947
- "accent-foreground": "var(--color-accent-foreground)",
6948
- surface: "var(--color-surface)",
6949
- "surface-hover": "var(--color-surface-hover)",
6950
- "surface-foreground": "var(--color-surface-foreground)",
6951
- destructive: "var(--color-destructive)",
6952
- "destructive-hover": "var(--color-destructive-hover)",
6953
- "destructive-foreground": "var(--color-destructive-foreground)",
6954
- // Auxalia specific colors for direct use
6955
- "auxalia-green": auxaliaColors["auxalia-green"],
6956
- "auxalia-blue": auxaliaColors["auxalia-blue"],
6957
- "auxalia-petrol": auxaliaColors["auxalia-petrol"]
6958
- },
6959
- textColor: {
6960
- primary: "var(--color-text)",
6961
- secondary: "var(--color-text-secondary)",
6962
- muted: "var(--color-text-muted)"
6963
- },
6964
- backgroundColor: {
6965
- hero: "var(--color-bg-hero)",
6966
- card: "var(--card)",
6967
- cardHover: "var(--card-hover)",
6968
- popover: "var(--popover)"
6969
- },
6970
- backgroundImage: {
6971
- "gradient-radial-green": "radial-gradient(circle at 20% 20%, rgba(167, 213, 0, 0.15), transparent 35%)",
6972
- "gradient-radial-blue": "radial-gradient(circle at 80% 0%, rgba(62, 104, 151, 0.1), transparent 40%)",
6973
- "gradient-glow": "linear-gradient(to bottom right, rgba(6, 182, 212, 0.1), transparent, rgba(255, 255, 255, 0.05))"
6974
- }
6975
- }
6976
- }
6977
- };
6978
- var tailwind_preset_default = preset;
6979
-
6980
6885
  // src/lib/tokens.ts
6981
6886
  var AuxaliaTokens = {
6982
6887
  // PRIMARY: BRAND GREEN
@@ -0,0 +1,121 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/tailwind.preset.ts
20
+ var tailwind_preset_exports = {};
21
+ __export(tailwind_preset_exports, {
22
+ default: () => tailwind_preset_default
23
+ });
24
+ module.exports = __toCommonJS(tailwind_preset_exports);
25
+ var auxaliaColors = {
26
+ // Primary Brand Color - Fresh Green
27
+ "auxalia-green": {
28
+ 50: "#f8fbf0",
29
+ 100: "#f0f7e1",
30
+ 200: "#ddf0c0",
31
+ 300: "#c3e88a",
32
+ 400: "#a7d500",
33
+ // Brand primary
34
+ 500: "#93b800",
35
+ 600: "#749400",
36
+ 700: "#5a7600",
37
+ 800: "#3d5000",
38
+ 900: "#1f2800"
39
+ },
40
+ // Secondary Brand Color - Dark Blue
41
+ "auxalia-blue": {
42
+ 50: "#f0f4f8",
43
+ 100: "#e0eaf3",
44
+ 200: "#c0d6e6",
45
+ 300: "#8fb3d1",
46
+ 400: "#5c8fb5",
47
+ 500: "#3e6897",
48
+ // Brand secondary
49
+ 600: "#2d5080",
50
+ 700: "#1f3860",
51
+ 800: "#142a47",
52
+ 900: "#0a1628"
53
+ },
54
+ // Accent - Petrol Green
55
+ "auxalia-petrol": {
56
+ 50: "#f0fbfc",
57
+ 100: "#dff8f9",
58
+ 200: "#bef1f3",
59
+ 300: "#7fe6eb",
60
+ 400: "#3fd9e1",
61
+ 500: "#0f868b",
62
+ // Auxalia petrol
63
+ 600: "#0a646b",
64
+ 700: "#064952",
65
+ 800: "#033539",
66
+ 900: "#011f22"
67
+ },
68
+ // Supporting Colors
69
+ "auxalia-orange": "#dc6b39",
70
+ "auxalia-yellow": "#cfd12d",
71
+ "auxalia-red": "#93383a",
72
+ "auxalia-cyan": "#abbfbd"
73
+ };
74
+ var preset = {
75
+ darkMode: "class",
76
+ theme: {
77
+ extend: {
78
+ fontFamily: {
79
+ display: ['"Weissenhof Grotesk"', '"Calibri"', "sans-serif"],
80
+ body: ['"Weissenhof Grotesk"', '"Calibri"', "sans-serif"]
81
+ },
82
+ colors: {
83
+ primary: "var(--color-primary)",
84
+ "primary-foreground": "var(--color-primary-foreground)",
85
+ "primary-hover": "var(--color-primary-hover)",
86
+ secondary: "var(--color-secondary)",
87
+ "secondary-foreground": "var(--color-secondary-foreground)",
88
+ "secondary-hover": "var(--color-secondary-hover)",
89
+ accent: "var(--color-accent)",
90
+ "accent-foreground": "var(--color-accent-foreground)",
91
+ surface: "var(--color-surface)",
92
+ "surface-hover": "var(--color-surface-hover)",
93
+ "surface-foreground": "var(--color-surface-foreground)",
94
+ destructive: "var(--color-destructive)",
95
+ "destructive-hover": "var(--color-destructive-hover)",
96
+ "destructive-foreground": "var(--color-destructive-foreground)",
97
+ // Auxalia specific colors for direct use
98
+ "auxalia-green": auxaliaColors["auxalia-green"],
99
+ "auxalia-blue": auxaliaColors["auxalia-blue"],
100
+ "auxalia-petrol": auxaliaColors["auxalia-petrol"]
101
+ },
102
+ textColor: {
103
+ primary: "var(--color-text)",
104
+ secondary: "var(--color-text-secondary)",
105
+ muted: "var(--color-text-muted)"
106
+ },
107
+ backgroundColor: {
108
+ hero: "var(--color-bg-hero)",
109
+ card: "var(--card)",
110
+ cardHover: "var(--card-hover)",
111
+ popover: "var(--popover)"
112
+ },
113
+ backgroundImage: {
114
+ "gradient-radial-green": "radial-gradient(circle at 20% 20%, rgba(167, 213, 0, 0.15), transparent 35%)",
115
+ "gradient-radial-blue": "radial-gradient(circle at 80% 0%, rgba(62, 104, 151, 0.1), transparent 40%)",
116
+ "gradient-glow": "linear-gradient(to bottom right, rgba(6, 182, 212, 0.1), transparent, rgba(255, 255, 255, 0.05))"
117
+ }
118
+ }
119
+ }
120
+ };
121
+ var tailwind_preset_default = preset;
@@ -0,0 +1,5 @@
1
+ import { Config } from 'tailwindcss';
2
+
3
+ declare const preset: Config;
4
+
5
+ export { preset as default };
@@ -0,0 +1,5 @@
1
+ import { Config } from 'tailwindcss';
2
+
3
+ declare const preset: Config;
4
+
5
+ export { preset as default };
@@ -0,0 +1,6 @@
1
+ import {
2
+ tailwind_preset_default
3
+ } from "./chunk-JHCTCLL4.js";
4
+ export {
5
+ tailwind_preset_default as default
6
+ };
package/dist/tokens.css CHANGED
@@ -3,7 +3,6 @@
3
3
 
4
4
  :root {
5
5
  /* BRAND COLORS */
6
- /* Primary: Fresh Green #A7D500 */
7
6
  --color-primary: hsl(73 100% 42%);
8
7
  --color-primary-hover: hsl(72 100% 36%);
9
8
  --color-primary-foreground: hsl(0 0% 100%);
@@ -35,11 +34,11 @@
35
34
  --color-bg-hero: hsl(210 40% 98%);
36
35
 
37
36
  /* SURFACES */
38
- --card: hsl(0 0% 100%);
37
+ --card: hsl(189, 89%, 39%);
39
38
  --card-hover: hsl(210 40% 98%);
40
39
 
41
40
  /* POPOVER / DROPDOWN / SELECT opened content */
42
- --popover: hsl(0 0% 100%);
41
+ --popover: hsl(315, 96%, 39%);
43
42
 
44
43
  /* COMMON */
45
44
  --transition-base: 200ms ease;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auxalia-ui-kit",
3
- "version": "1.2.8",
3
+ "version": "1.3.0",
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": {
@@ -47,10 +47,12 @@
47
47
  "import": "./dist/index.js",
48
48
  "require": "./dist/index.cjs"
49
49
  },
50
+ "./preset": {
51
+ "import": "./dist/tailwind.preset.js",
52
+ "require": "./dist/tailwind.preset.cjs"
53
+ },
50
54
  "./styles.css": "./dist/styles.css",
51
- "./index.css": "./dist/styles.css",
52
- "./tokens.css": "./dist/tokens.css",
53
- "./tailwind.preset": "./dist/tailwind.preset.js"
55
+ "./tokens.css": "./dist/tokens.css"
54
56
  },
55
57
  "files": [
56
58
  "dist",
@@ -63,7 +65,7 @@
63
65
  "dist/tokens.css"
64
66
  ],
65
67
  "scripts": {
66
- "build": "tsup src/index.ts --format cjs,esm --dts",
68
+ "build": "tsup src/index.ts src/tailwind.preset.ts --format esm,cjs --dts --clean --outDir dist && cp src/styles/tokens.css dist/tokens.css && cp src/styles/styles.css dist/styles.css",
67
69
  "storybook": "storybook dev -p 6006",
68
70
  "build-storybook": "storybook build",
69
71
  "vercel-build": "npm run build-storybook"
package/dist/styles.css DELETED
@@ -1,27 +0,0 @@
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
- }