@grupor5/raya 0.2.1 → 0.2.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.
Files changed (180) hide show
  1. package/README.md +68 -4
  2. package/dist/atoms/avatar/index.d.mts +12 -0
  3. package/dist/atoms/avatar/index.d.ts +12 -0
  4. package/dist/atoms/avatar/index.js +99 -0
  5. package/dist/atoms/avatar/index.mjs +76 -0
  6. package/dist/atoms/badge/index.d.mts +16 -0
  7. package/dist/atoms/badge/index.d.ts +16 -0
  8. package/dist/atoms/badge/index.js +149 -0
  9. package/dist/atoms/badge/index.mjs +146 -0
  10. package/dist/atoms/button/index.d.mts +11 -0
  11. package/dist/atoms/button/index.d.ts +11 -0
  12. package/dist/atoms/button/index.js +307 -0
  13. package/dist/atoms/button/index.mjs +301 -0
  14. package/dist/atoms/checkbox/index.d.mts +6 -0
  15. package/dist/atoms/checkbox/index.d.ts +6 -0
  16. package/dist/atoms/checkbox/index.js +98 -0
  17. package/dist/atoms/checkbox/index.mjs +75 -0
  18. package/dist/atoms/input/index.d.mts +12 -0
  19. package/dist/atoms/input/index.d.ts +12 -0
  20. package/dist/atoms/input/index.js +104 -0
  21. package/dist/atoms/input/index.mjs +82 -0
  22. package/dist/atoms/label/index.d.mts +8 -0
  23. package/dist/atoms/label/index.d.ts +8 -0
  24. package/dist/atoms/label/index.js +77 -0
  25. package/dist/atoms/label/index.mjs +54 -0
  26. package/dist/atoms/radio/index.d.mts +7 -0
  27. package/dist/atoms/radio/index.d.ts +7 -0
  28. package/dist/atoms/radio/index.js +97 -0
  29. package/dist/atoms/radio/index.mjs +73 -0
  30. package/dist/atoms/switch/index.d.mts +6 -0
  31. package/dist/atoms/switch/index.d.ts +6 -0
  32. package/dist/atoms/switch/index.js +97 -0
  33. package/dist/atoms/switch/index.mjs +74 -0
  34. package/dist/atoms/tag/index.d.mts +14 -0
  35. package/dist/atoms/tag/index.d.ts +14 -0
  36. package/dist/atoms/tag/index.js +128 -0
  37. package/dist/atoms/tag/index.mjs +122 -0
  38. package/dist/atoms/textarea/index.d.mts +11 -0
  39. package/dist/atoms/textarea/index.d.ts +11 -0
  40. package/dist/atoms/textarea/index.js +125 -0
  41. package/dist/atoms/textarea/index.mjs +103 -0
  42. package/dist/atoms/typography/index.d.mts +20 -0
  43. package/dist/atoms/typography/index.d.ts +20 -0
  44. package/dist/atoms/typography/index.js +140 -0
  45. package/dist/atoms/typography/index.mjs +115 -0
  46. package/dist/hooks/index.d.mts +1 -0
  47. package/dist/hooks/index.d.ts +1 -0
  48. package/dist/hooks/index.js +17 -0
  49. package/dist/hooks/index.mjs +15 -0
  50. package/dist/hooks/use-pagination.d.mts +10 -0
  51. package/dist/hooks/use-pagination.d.ts +10 -0
  52. package/dist/hooks/use-pagination.js +54 -0
  53. package/dist/hooks/use-pagination.mjs +51 -0
  54. package/dist/hooks/use-toast.d.mts +2 -0
  55. package/dist/hooks/use-toast.d.ts +2 -0
  56. package/dist/hooks/use-toast.js +2 -0
  57. package/dist/hooks/use-toast.mjs +1 -0
  58. package/dist/hooks/useModal.d.mts +7 -0
  59. package/dist/hooks/useModal.d.ts +7 -0
  60. package/dist/hooks/useModal.js +17 -0
  61. package/dist/hooks/useModal.mjs +15 -0
  62. package/dist/index.d.mts +50 -1298
  63. package/dist/index.d.ts +50 -1298
  64. package/dist/molecules/accordion/index.d.mts +17 -0
  65. package/dist/molecules/accordion/index.d.ts +17 -0
  66. package/dist/molecules/accordion/index.js +154 -0
  67. package/dist/molecules/accordion/index.mjs +128 -0
  68. package/dist/molecules/alert/index.d.mts +14 -0
  69. package/dist/molecules/alert/index.d.ts +14 -0
  70. package/dist/molecules/alert/index.js +425 -0
  71. package/dist/molecules/alert/index.mjs +402 -0
  72. package/dist/molecules/card/index.d.mts +10 -0
  73. package/dist/molecules/card/index.d.ts +10 -0
  74. package/dist/molecules/card/index.js +128 -0
  75. package/dist/molecules/card/index.mjs +101 -0
  76. package/dist/molecules/chart/index.d.mts +80 -0
  77. package/dist/molecules/chart/index.d.ts +80 -0
  78. package/dist/molecules/chart/index.js +300 -0
  79. package/dist/molecules/chart/index.mjs +272 -0
  80. package/dist/molecules/data-table/index.d.mts +57 -0
  81. package/dist/molecules/data-table/index.d.ts +57 -0
  82. package/dist/molecules/data-table/index.js +1456 -0
  83. package/dist/molecules/data-table/index.mjs +1430 -0
  84. package/dist/molecules/date-picker/index.d.mts +12 -0
  85. package/dist/molecules/date-picker/index.d.ts +12 -0
  86. package/dist/molecules/date-picker/index.js +756 -0
  87. package/dist/molecules/date-picker/index.mjs +734 -0
  88. package/dist/molecules/dropdown/index.d.mts +21 -0
  89. package/dist/molecules/dropdown/index.d.ts +21 -0
  90. package/dist/molecules/dropdown/index.js +221 -0
  91. package/dist/molecules/dropdown/index.mjs +198 -0
  92. package/dist/molecules/form/index.d.mts +19 -0
  93. package/dist/molecules/form/index.d.ts +19 -0
  94. package/dist/molecules/form/index.js +139 -0
  95. package/dist/molecules/form/index.mjs +114 -0
  96. package/dist/molecules/pagination/index.d.mts +15 -0
  97. package/dist/molecules/pagination/index.d.ts +15 -0
  98. package/dist/molecules/pagination/index.js +605 -0
  99. package/dist/molecules/pagination/index.mjs +583 -0
  100. package/dist/molecules/progress-bar/index.d.mts +15 -0
  101. package/dist/molecules/progress-bar/index.d.ts +15 -0
  102. package/dist/molecules/progress-bar/index.js +166 -0
  103. package/dist/molecules/progress-bar/index.mjs +144 -0
  104. package/dist/molecules/select/index.d.mts +15 -0
  105. package/dist/molecules/select/index.d.ts +15 -0
  106. package/dist/molecules/select/index.js +201 -0
  107. package/dist/molecules/select/index.mjs +169 -0
  108. package/dist/molecules/stepper/index.d.mts +67 -0
  109. package/dist/molecules/stepper/index.d.ts +67 -0
  110. package/dist/molecules/stepper/index.js +287 -0
  111. package/dist/molecules/stepper/index.mjs +260 -0
  112. package/dist/molecules/tabs/index.d.mts +9 -0
  113. package/dist/molecules/tabs/index.d.ts +9 -0
  114. package/dist/molecules/tabs/index.js +112 -0
  115. package/dist/molecules/tabs/index.mjs +86 -0
  116. package/dist/tokens/badge.d.mts +39 -0
  117. package/dist/tokens/badge.d.ts +39 -0
  118. package/dist/tokens/badge.js +61 -0
  119. package/dist/tokens/badge.mjs +59 -0
  120. package/dist/tokens/buttons.d.mts +277 -0
  121. package/dist/tokens/buttons.d.ts +277 -0
  122. package/dist/tokens/buttons.js +191 -0
  123. package/dist/tokens/buttons.mjs +173 -0
  124. package/dist/tokens/colors.d.mts +65 -0
  125. package/dist/tokens/colors.d.ts +65 -0
  126. package/dist/tokens/colors.js +68 -0
  127. package/dist/tokens/colors.mjs +66 -0
  128. package/dist/tokens/effects.d.mts +124 -0
  129. package/dist/tokens/effects.d.ts +124 -0
  130. package/dist/tokens/effects.js +130 -0
  131. package/dist/tokens/effects.mjs +115 -0
  132. package/dist/tokens/grids.d.mts +331 -0
  133. package/dist/tokens/grids.d.ts +331 -0
  134. package/dist/tokens/grids.js +305 -0
  135. package/dist/tokens/grids.mjs +292 -0
  136. package/dist/tokens/icons.d.mts +134 -0
  137. package/dist/tokens/icons.d.ts +134 -0
  138. package/dist/tokens/icons.js +108 -0
  139. package/dist/tokens/icons.mjs +97 -0
  140. package/dist/tokens/index.d.mts +6 -0
  141. package/dist/tokens/index.d.ts +6 -0
  142. package/dist/tokens/index.js +775 -0
  143. package/dist/tokens/index.mjs +743 -0
  144. package/dist/tokens/progress-bar.d.mts +31 -0
  145. package/dist/tokens/progress-bar.d.ts +31 -0
  146. package/dist/tokens/progress-bar.js +70 -0
  147. package/dist/tokens/progress-bar.mjs +68 -0
  148. package/dist/tokens/spacing.d.mts +90 -0
  149. package/dist/tokens/spacing.d.ts +90 -0
  150. package/dist/tokens/spacing.js +120 -0
  151. package/dist/tokens/spacing.mjs +109 -0
  152. package/dist/tokens/stroke.d.mts +292 -0
  153. package/dist/tokens/stroke.d.ts +292 -0
  154. package/dist/tokens/stroke.js +202 -0
  155. package/dist/tokens/stroke.mjs +186 -0
  156. package/dist/tokens/tab.d.mts +31 -0
  157. package/dist/tokens/tab.d.ts +31 -0
  158. package/dist/tokens/tab.js +48 -0
  159. package/dist/tokens/tab.mjs +46 -0
  160. package/dist/tokens/tag.d.mts +53 -0
  161. package/dist/tokens/tag.d.ts +53 -0
  162. package/dist/tokens/tag.js +80 -0
  163. package/dist/tokens/tag.mjs +78 -0
  164. package/dist/tokens/typography.d.mts +394 -0
  165. package/dist/tokens/typography.d.ts +394 -0
  166. package/dist/tokens/typography.js +302 -0
  167. package/dist/tokens/typography.mjs +292 -0
  168. package/dist/utils/classNames.d.mts +3 -0
  169. package/dist/utils/classNames.d.ts +3 -0
  170. package/dist/utils/classNames.js +8 -0
  171. package/dist/utils/classNames.mjs +6 -0
  172. package/dist/utils/cn.d.mts +5 -0
  173. package/dist/utils/cn.d.ts +5 -0
  174. package/dist/utils/cn.js +11 -0
  175. package/dist/utils/cn.mjs +9 -0
  176. package/dist/utils/index.d.mts +3 -0
  177. package/dist/utils/index.d.ts +3 -0
  178. package/dist/utils/index.js +15 -0
  179. package/dist/utils/index.mjs +12 -0
  180. package/package.json +34 -1
@@ -0,0 +1,134 @@
1
+ declare const iconSizes: {
2
+ readonly xs: 12;
3
+ readonly sm: 16;
4
+ readonly md: 20;
5
+ readonly lg: 24;
6
+ readonly xl: 32;
7
+ readonly '2xl': 48;
8
+ };
9
+ declare const iconSizeClasses: {
10
+ readonly xs: "w-3 h-3";
11
+ readonly sm: "w-4 h-4";
12
+ readonly md: "w-5 h-5";
13
+ readonly lg: "w-6 h-6";
14
+ readonly xl: "w-8 h-8";
15
+ readonly '2xl': "w-12 h-12";
16
+ };
17
+ declare const iconColors: {
18
+ readonly primary: "text-primary";
19
+ readonly secondary: "text-secondary";
20
+ readonly muted: "text-muted-foreground";
21
+ readonly destructive: "text-destructive";
22
+ readonly success: "text-green-600";
23
+ readonly warning: "text-yellow-600";
24
+ readonly info: "text-blue-600";
25
+ };
26
+ declare const iconCategories: readonly ["archive", "arrow", "building", "business", "chevron", "content-edit", "delivery", "files", "location", "messages", "money", "navigation", "notifications", "reactions", "search", "security", "settings", "time", "transport", "users"];
27
+ declare const iconVariants: {
28
+ readonly filled: "fill";
29
+ readonly outlined: "stroke";
30
+ readonly duotone: "duotone";
31
+ };
32
+ declare const iconStates: {
33
+ readonly default: "opacity-100";
34
+ readonly hover: "hover:opacity-80";
35
+ readonly active: "active:opacity-60";
36
+ readonly disabled: "opacity-40 cursor-not-allowed";
37
+ };
38
+ declare const iconAnimations: {
39
+ readonly none: "";
40
+ readonly spin: "animate-spin";
41
+ readonly pulse: "animate-pulse";
42
+ readonly bounce: "animate-bounce";
43
+ };
44
+ declare const defaultIconConfig: {
45
+ readonly size: 20;
46
+ readonly color: "currentColor";
47
+ readonly variant: "fill";
48
+ readonly state: "opacity-100";
49
+ readonly animation: "";
50
+ };
51
+ declare const iconTheme: {
52
+ readonly light: {
53
+ readonly primary: "text-primary";
54
+ readonly secondary: "text-secondary";
55
+ readonly muted: "text-muted-foreground";
56
+ };
57
+ readonly dark: {
58
+ readonly primary: "text-primary-foreground";
59
+ readonly secondary: "text-secondary-foreground";
60
+ readonly muted: "text-muted-foreground";
61
+ };
62
+ };
63
+ declare const iconTokens: {
64
+ sizes: {
65
+ readonly xs: 12;
66
+ readonly sm: 16;
67
+ readonly md: 20;
68
+ readonly lg: 24;
69
+ readonly xl: 32;
70
+ readonly '2xl': 48;
71
+ };
72
+ sizeClasses: {
73
+ readonly xs: "w-3 h-3";
74
+ readonly sm: "w-4 h-4";
75
+ readonly md: "w-5 h-5";
76
+ readonly lg: "w-6 h-6";
77
+ readonly xl: "w-8 h-8";
78
+ readonly '2xl': "w-12 h-12";
79
+ };
80
+ colors: {
81
+ readonly primary: "text-primary";
82
+ readonly secondary: "text-secondary";
83
+ readonly muted: "text-muted-foreground";
84
+ readonly destructive: "text-destructive";
85
+ readonly success: "text-green-600";
86
+ readonly warning: "text-yellow-600";
87
+ readonly info: "text-blue-600";
88
+ };
89
+ categories: readonly ["archive", "arrow", "building", "business", "chevron", "content-edit", "delivery", "files", "location", "messages", "money", "navigation", "notifications", "reactions", "search", "security", "settings", "time", "transport", "users"];
90
+ variants: {
91
+ readonly filled: "fill";
92
+ readonly outlined: "stroke";
93
+ readonly duotone: "duotone";
94
+ };
95
+ states: {
96
+ readonly default: "opacity-100";
97
+ readonly hover: "hover:opacity-80";
98
+ readonly active: "active:opacity-60";
99
+ readonly disabled: "opacity-40 cursor-not-allowed";
100
+ };
101
+ animations: {
102
+ readonly none: "";
103
+ readonly spin: "animate-spin";
104
+ readonly pulse: "animate-pulse";
105
+ readonly bounce: "animate-bounce";
106
+ };
107
+ defaultConfig: {
108
+ readonly size: 20;
109
+ readonly color: "currentColor";
110
+ readonly variant: "fill";
111
+ readonly state: "opacity-100";
112
+ readonly animation: "";
113
+ };
114
+ theme: {
115
+ readonly light: {
116
+ readonly primary: "text-primary";
117
+ readonly secondary: "text-secondary";
118
+ readonly muted: "text-muted-foreground";
119
+ };
120
+ readonly dark: {
121
+ readonly primary: "text-primary-foreground";
122
+ readonly secondary: "text-secondary-foreground";
123
+ readonly muted: "text-muted-foreground";
124
+ };
125
+ };
126
+ };
127
+ type IconSize = keyof typeof iconSizes;
128
+ type IconColor = keyof typeof iconColors;
129
+ type IconCategory = typeof iconCategories[number];
130
+ type IconVariant = keyof typeof iconVariants;
131
+ type IconState = keyof typeof iconStates;
132
+ type IconAnimation = keyof typeof iconAnimations;
133
+
134
+ export { type IconAnimation, type IconCategory, type IconColor, type IconSize, type IconState, type IconVariant, defaultIconConfig, iconAnimations, iconCategories, iconColors, iconSizeClasses, iconSizes, iconStates, iconTheme, iconTokens, iconVariants };
@@ -0,0 +1,134 @@
1
+ declare const iconSizes: {
2
+ readonly xs: 12;
3
+ readonly sm: 16;
4
+ readonly md: 20;
5
+ readonly lg: 24;
6
+ readonly xl: 32;
7
+ readonly '2xl': 48;
8
+ };
9
+ declare const iconSizeClasses: {
10
+ readonly xs: "w-3 h-3";
11
+ readonly sm: "w-4 h-4";
12
+ readonly md: "w-5 h-5";
13
+ readonly lg: "w-6 h-6";
14
+ readonly xl: "w-8 h-8";
15
+ readonly '2xl': "w-12 h-12";
16
+ };
17
+ declare const iconColors: {
18
+ readonly primary: "text-primary";
19
+ readonly secondary: "text-secondary";
20
+ readonly muted: "text-muted-foreground";
21
+ readonly destructive: "text-destructive";
22
+ readonly success: "text-green-600";
23
+ readonly warning: "text-yellow-600";
24
+ readonly info: "text-blue-600";
25
+ };
26
+ declare const iconCategories: readonly ["archive", "arrow", "building", "business", "chevron", "content-edit", "delivery", "files", "location", "messages", "money", "navigation", "notifications", "reactions", "search", "security", "settings", "time", "transport", "users"];
27
+ declare const iconVariants: {
28
+ readonly filled: "fill";
29
+ readonly outlined: "stroke";
30
+ readonly duotone: "duotone";
31
+ };
32
+ declare const iconStates: {
33
+ readonly default: "opacity-100";
34
+ readonly hover: "hover:opacity-80";
35
+ readonly active: "active:opacity-60";
36
+ readonly disabled: "opacity-40 cursor-not-allowed";
37
+ };
38
+ declare const iconAnimations: {
39
+ readonly none: "";
40
+ readonly spin: "animate-spin";
41
+ readonly pulse: "animate-pulse";
42
+ readonly bounce: "animate-bounce";
43
+ };
44
+ declare const defaultIconConfig: {
45
+ readonly size: 20;
46
+ readonly color: "currentColor";
47
+ readonly variant: "fill";
48
+ readonly state: "opacity-100";
49
+ readonly animation: "";
50
+ };
51
+ declare const iconTheme: {
52
+ readonly light: {
53
+ readonly primary: "text-primary";
54
+ readonly secondary: "text-secondary";
55
+ readonly muted: "text-muted-foreground";
56
+ };
57
+ readonly dark: {
58
+ readonly primary: "text-primary-foreground";
59
+ readonly secondary: "text-secondary-foreground";
60
+ readonly muted: "text-muted-foreground";
61
+ };
62
+ };
63
+ declare const iconTokens: {
64
+ sizes: {
65
+ readonly xs: 12;
66
+ readonly sm: 16;
67
+ readonly md: 20;
68
+ readonly lg: 24;
69
+ readonly xl: 32;
70
+ readonly '2xl': 48;
71
+ };
72
+ sizeClasses: {
73
+ readonly xs: "w-3 h-3";
74
+ readonly sm: "w-4 h-4";
75
+ readonly md: "w-5 h-5";
76
+ readonly lg: "w-6 h-6";
77
+ readonly xl: "w-8 h-8";
78
+ readonly '2xl': "w-12 h-12";
79
+ };
80
+ colors: {
81
+ readonly primary: "text-primary";
82
+ readonly secondary: "text-secondary";
83
+ readonly muted: "text-muted-foreground";
84
+ readonly destructive: "text-destructive";
85
+ readonly success: "text-green-600";
86
+ readonly warning: "text-yellow-600";
87
+ readonly info: "text-blue-600";
88
+ };
89
+ categories: readonly ["archive", "arrow", "building", "business", "chevron", "content-edit", "delivery", "files", "location", "messages", "money", "navigation", "notifications", "reactions", "search", "security", "settings", "time", "transport", "users"];
90
+ variants: {
91
+ readonly filled: "fill";
92
+ readonly outlined: "stroke";
93
+ readonly duotone: "duotone";
94
+ };
95
+ states: {
96
+ readonly default: "opacity-100";
97
+ readonly hover: "hover:opacity-80";
98
+ readonly active: "active:opacity-60";
99
+ readonly disabled: "opacity-40 cursor-not-allowed";
100
+ };
101
+ animations: {
102
+ readonly none: "";
103
+ readonly spin: "animate-spin";
104
+ readonly pulse: "animate-pulse";
105
+ readonly bounce: "animate-bounce";
106
+ };
107
+ defaultConfig: {
108
+ readonly size: 20;
109
+ readonly color: "currentColor";
110
+ readonly variant: "fill";
111
+ readonly state: "opacity-100";
112
+ readonly animation: "";
113
+ };
114
+ theme: {
115
+ readonly light: {
116
+ readonly primary: "text-primary";
117
+ readonly secondary: "text-secondary";
118
+ readonly muted: "text-muted-foreground";
119
+ };
120
+ readonly dark: {
121
+ readonly primary: "text-primary-foreground";
122
+ readonly secondary: "text-secondary-foreground";
123
+ readonly muted: "text-muted-foreground";
124
+ };
125
+ };
126
+ };
127
+ type IconSize = keyof typeof iconSizes;
128
+ type IconColor = keyof typeof iconColors;
129
+ type IconCategory = typeof iconCategories[number];
130
+ type IconVariant = keyof typeof iconVariants;
131
+ type IconState = keyof typeof iconStates;
132
+ type IconAnimation = keyof typeof iconAnimations;
133
+
134
+ export { type IconAnimation, type IconCategory, type IconColor, type IconSize, type IconState, type IconVariant, defaultIconConfig, iconAnimations, iconCategories, iconColors, iconSizeClasses, iconSizes, iconStates, iconTheme, iconTokens, iconVariants };
@@ -0,0 +1,108 @@
1
+ 'use strict';
2
+
3
+ // src/tokens/icons.ts
4
+ var iconSizes = {
5
+ xs: 12,
6
+ sm: 16,
7
+ md: 20,
8
+ lg: 24,
9
+ xl: 32,
10
+ "2xl": 48
11
+ };
12
+ var iconSizeClasses = {
13
+ xs: "w-3 h-3",
14
+ sm: "w-4 h-4",
15
+ md: "w-5 h-5",
16
+ lg: "w-6 h-6",
17
+ xl: "w-8 h-8",
18
+ "2xl": "w-12 h-12"
19
+ };
20
+ var iconColors = {
21
+ primary: "text-primary",
22
+ secondary: "text-secondary",
23
+ muted: "text-muted-foreground",
24
+ destructive: "text-destructive",
25
+ success: "text-green-600",
26
+ warning: "text-yellow-600",
27
+ info: "text-blue-600"
28
+ };
29
+ var iconCategories = [
30
+ "archive",
31
+ "arrow",
32
+ "building",
33
+ "business",
34
+ "chevron",
35
+ "content-edit",
36
+ "delivery",
37
+ "files",
38
+ "location",
39
+ "messages",
40
+ "money",
41
+ "navigation",
42
+ "notifications",
43
+ "reactions",
44
+ "search",
45
+ "security",
46
+ "settings",
47
+ "time",
48
+ "transport",
49
+ "users"
50
+ ];
51
+ var iconVariants = {
52
+ filled: "fill",
53
+ outlined: "stroke",
54
+ duotone: "duotone"
55
+ };
56
+ var iconStates = {
57
+ default: "opacity-100",
58
+ hover: "hover:opacity-80",
59
+ active: "active:opacity-60",
60
+ disabled: "opacity-40 cursor-not-allowed"
61
+ };
62
+ var iconAnimations = {
63
+ none: "",
64
+ spin: "animate-spin",
65
+ pulse: "animate-pulse",
66
+ bounce: "animate-bounce"
67
+ };
68
+ var defaultIconConfig = {
69
+ size: iconSizes.md,
70
+ color: "currentColor",
71
+ variant: iconVariants.filled,
72
+ state: iconStates.default,
73
+ animation: iconAnimations.none
74
+ };
75
+ var iconTheme = {
76
+ light: {
77
+ primary: iconColors.primary,
78
+ secondary: iconColors.secondary,
79
+ muted: iconColors.muted
80
+ },
81
+ dark: {
82
+ primary: "text-primary-foreground",
83
+ secondary: "text-secondary-foreground",
84
+ muted: "text-muted-foreground"
85
+ }
86
+ };
87
+ var iconTokens = {
88
+ sizes: iconSizes,
89
+ sizeClasses: iconSizeClasses,
90
+ colors: iconColors,
91
+ categories: iconCategories,
92
+ variants: iconVariants,
93
+ states: iconStates,
94
+ animations: iconAnimations,
95
+ defaultConfig: defaultIconConfig,
96
+ theme: iconTheme
97
+ };
98
+
99
+ exports.defaultIconConfig = defaultIconConfig;
100
+ exports.iconAnimations = iconAnimations;
101
+ exports.iconCategories = iconCategories;
102
+ exports.iconColors = iconColors;
103
+ exports.iconSizeClasses = iconSizeClasses;
104
+ exports.iconSizes = iconSizes;
105
+ exports.iconStates = iconStates;
106
+ exports.iconTheme = iconTheme;
107
+ exports.iconTokens = iconTokens;
108
+ exports.iconVariants = iconVariants;
@@ -0,0 +1,97 @@
1
+ // src/tokens/icons.ts
2
+ var iconSizes = {
3
+ xs: 12,
4
+ sm: 16,
5
+ md: 20,
6
+ lg: 24,
7
+ xl: 32,
8
+ "2xl": 48
9
+ };
10
+ var iconSizeClasses = {
11
+ xs: "w-3 h-3",
12
+ sm: "w-4 h-4",
13
+ md: "w-5 h-5",
14
+ lg: "w-6 h-6",
15
+ xl: "w-8 h-8",
16
+ "2xl": "w-12 h-12"
17
+ };
18
+ var iconColors = {
19
+ primary: "text-primary",
20
+ secondary: "text-secondary",
21
+ muted: "text-muted-foreground",
22
+ destructive: "text-destructive",
23
+ success: "text-green-600",
24
+ warning: "text-yellow-600",
25
+ info: "text-blue-600"
26
+ };
27
+ var iconCategories = [
28
+ "archive",
29
+ "arrow",
30
+ "building",
31
+ "business",
32
+ "chevron",
33
+ "content-edit",
34
+ "delivery",
35
+ "files",
36
+ "location",
37
+ "messages",
38
+ "money",
39
+ "navigation",
40
+ "notifications",
41
+ "reactions",
42
+ "search",
43
+ "security",
44
+ "settings",
45
+ "time",
46
+ "transport",
47
+ "users"
48
+ ];
49
+ var iconVariants = {
50
+ filled: "fill",
51
+ outlined: "stroke",
52
+ duotone: "duotone"
53
+ };
54
+ var iconStates = {
55
+ default: "opacity-100",
56
+ hover: "hover:opacity-80",
57
+ active: "active:opacity-60",
58
+ disabled: "opacity-40 cursor-not-allowed"
59
+ };
60
+ var iconAnimations = {
61
+ none: "",
62
+ spin: "animate-spin",
63
+ pulse: "animate-pulse",
64
+ bounce: "animate-bounce"
65
+ };
66
+ var defaultIconConfig = {
67
+ size: iconSizes.md,
68
+ color: "currentColor",
69
+ variant: iconVariants.filled,
70
+ state: iconStates.default,
71
+ animation: iconAnimations.none
72
+ };
73
+ var iconTheme = {
74
+ light: {
75
+ primary: iconColors.primary,
76
+ secondary: iconColors.secondary,
77
+ muted: iconColors.muted
78
+ },
79
+ dark: {
80
+ primary: "text-primary-foreground",
81
+ secondary: "text-secondary-foreground",
82
+ muted: "text-muted-foreground"
83
+ }
84
+ };
85
+ var iconTokens = {
86
+ sizes: iconSizes,
87
+ sizeClasses: iconSizeClasses,
88
+ colors: iconColors,
89
+ categories: iconCategories,
90
+ variants: iconVariants,
91
+ states: iconStates,
92
+ animations: iconAnimations,
93
+ defaultConfig: defaultIconConfig,
94
+ theme: iconTheme
95
+ };
96
+
97
+ export { defaultIconConfig, iconAnimations, iconCategories, iconColors, iconSizeClasses, iconSizes, iconStates, iconTheme, iconTokens, iconVariants };
@@ -0,0 +1,6 @@
1
+ export { colors } from './colors.mjs';
2
+ export { fontFamily, fontSize, fontWeight, generateTypographyCSS, letterSpacing, lineHeight, presets, typography, typographyVars } from './typography.mjs';
3
+ export { SpacingToken, generateSpacingCSS, getSpacing, getSpacingPx, default as spacing, spacingPx, spacingStyles, tailwindSpacing } from './spacing.mjs';
4
+ export { StrokeColorToken, StrokeDirection, StrokeToken, componentStrokes, createStroke, generateStrokesCSS, getStroke, getStrokeColor, responsiveStrokes, default as stroke, strokeColors, strokeDirections, strokeStyles, strokeTransitions, tailwindStrokes } from './stroke.mjs';
5
+ export { badgeTokens } from './badge.mjs';
6
+ export { tagTokens } from './tag.mjs';
@@ -0,0 +1,6 @@
1
+ export { colors } from './colors.js';
2
+ export { fontFamily, fontSize, fontWeight, generateTypographyCSS, letterSpacing, lineHeight, presets, typography, typographyVars } from './typography.js';
3
+ export { SpacingToken, generateSpacingCSS, getSpacing, getSpacingPx, default as spacing, spacingPx, spacingStyles, tailwindSpacing } from './spacing.js';
4
+ export { StrokeColorToken, StrokeDirection, StrokeToken, componentStrokes, createStroke, generateStrokesCSS, getStroke, getStrokeColor, responsiveStrokes, default as stroke, strokeColors, strokeDirections, strokeStyles, strokeTransitions, tailwindStrokes } from './stroke.js';
5
+ export { badgeTokens } from './badge.js';
6
+ export { tagTokens } from './tag.js';