rocksolidjs 0.1.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.
Files changed (347) hide show
  1. package/LICENSE.txt +21 -0
  2. package/README.md +0 -0
  3. package/dist/Accordion/Accordion.d.ts +12 -0
  4. package/dist/Accordion/Accordion.js +1 -0
  5. package/dist/Accordion/index.d.ts +2 -0
  6. package/dist/Accordion/index.js +1 -0
  7. package/dist/Accordion/style.d.ts +4 -0
  8. package/dist/Accordion/style.js +1 -0
  9. package/dist/AccordionContext/AccordionContext.d.ts +10 -0
  10. package/dist/AccordionContext/AccordionContext.js +1 -0
  11. package/dist/AccordionContext/index.d.ts +1 -0
  12. package/dist/AccordionContext/index.js +1 -0
  13. package/dist/AccordionDetails/AccordionDetails.d.ts +8 -0
  14. package/dist/AccordionDetails/AccordionDetails.js +1 -0
  15. package/dist/AccordionDetails/index.d.ts +2 -0
  16. package/dist/AccordionDetails/index.js +1 -0
  17. package/dist/AccordionDetails/style.d.ts +64 -0
  18. package/dist/AccordionDetails/style.js +1 -0
  19. package/dist/AccordionSummary/AccordionSummary.d.ts +15 -0
  20. package/dist/AccordionSummary/AccordionSummary.js +1 -0
  21. package/dist/AccordionSummary/index.d.ts +2 -0
  22. package/dist/AccordionSummary/index.js +1 -0
  23. package/dist/AccordionSummary/style.d.ts +4 -0
  24. package/dist/AccordionSummary/style.js +1 -0
  25. package/dist/Alert/Alert.d.ts +26 -0
  26. package/dist/Alert/Alert.js +1 -0
  27. package/dist/Alert/index.d.ts +2 -0
  28. package/dist/Alert/index.js +1 -0
  29. package/dist/Alert/style.d.ts +82 -0
  30. package/dist/Alert/style.js +1 -0
  31. package/dist/Avatar/Avatar.d.ts +20 -0
  32. package/dist/Avatar/Avatar.js +1 -0
  33. package/dist/Avatar/index.d.ts +2 -0
  34. package/dist/Avatar/index.js +1 -0
  35. package/dist/Avatar/style.d.ts +130 -0
  36. package/dist/Avatar/style.js +1 -0
  37. package/dist/Backdrop/Backdrop.d.ts +7 -0
  38. package/dist/Backdrop/Backdrop.js +1 -0
  39. package/dist/Backdrop/index.d.ts +2 -0
  40. package/dist/Backdrop/index.js +1 -0
  41. package/dist/Backdrop/style.d.ts +4 -0
  42. package/dist/Backdrop/style.js +1 -0
  43. package/dist/Badge/Badge.d.ts +21 -0
  44. package/dist/Badge/Badge.js +1 -0
  45. package/dist/Badge/index.d.ts +2 -0
  46. package/dist/Badge/index.js +1 -0
  47. package/dist/Badge/style.d.ts +214 -0
  48. package/dist/Badge/style.js +1 -0
  49. package/dist/Breadcrumbs/Breadcrumbs.d.ts +14 -0
  50. package/dist/Breadcrumbs/Breadcrumbs.js +1 -0
  51. package/dist/Breadcrumbs/index.d.ts +2 -0
  52. package/dist/Breadcrumbs/index.js +1 -0
  53. package/dist/Breadcrumbs/style.d.ts +64 -0
  54. package/dist/Breadcrumbs/style.js +1 -0
  55. package/dist/Button/Button.d.ts +24 -0
  56. package/dist/Button/Button.js +1 -0
  57. package/dist/Button/index.d.ts +2 -0
  58. package/dist/Button/index.js +1 -0
  59. package/dist/Button/style.d.ts +238 -0
  60. package/dist/Button/style.js +1 -0
  61. package/dist/Card/Card.d.ts +10 -0
  62. package/dist/Card/Card.js +1 -0
  63. package/dist/Card/index.d.ts +2 -0
  64. package/dist/Card/index.js +1 -0
  65. package/dist/Card/style.d.ts +46 -0
  66. package/dist/Card/style.js +1 -0
  67. package/dist/CardContent/CardContent.d.ts +6 -0
  68. package/dist/CardContent/CardContent.js +1 -0
  69. package/dist/CardContent/index.d.ts +2 -0
  70. package/dist/CardContent/index.js +1 -0
  71. package/dist/CardContent/style.d.ts +4 -0
  72. package/dist/CardContent/style.js +1 -0
  73. package/dist/CardDescription/CardDescription.d.ts +8 -0
  74. package/dist/CardDescription/CardDescription.js +1 -0
  75. package/dist/CardDescription/index.d.ts +2 -0
  76. package/dist/CardDescription/index.js +1 -0
  77. package/dist/CardDescription/style.d.ts +4 -0
  78. package/dist/CardDescription/style.js +1 -0
  79. package/dist/CardFooter/CardFooter.d.ts +6 -0
  80. package/dist/CardFooter/CardFooter.js +1 -0
  81. package/dist/CardFooter/index.d.ts +2 -0
  82. package/dist/CardFooter/index.js +1 -0
  83. package/dist/CardFooter/style.d.ts +4 -0
  84. package/dist/CardFooter/style.js +1 -0
  85. package/dist/CardHeader/CardHeader.d.ts +6 -0
  86. package/dist/CardHeader/CardHeader.js +1 -0
  87. package/dist/CardHeader/index.d.ts +2 -0
  88. package/dist/CardHeader/index.js +1 -0
  89. package/dist/CardHeader/style.d.ts +4 -0
  90. package/dist/CardHeader/style.js +1 -0
  91. package/dist/CardTitle/CardTitle.d.ts +8 -0
  92. package/dist/CardTitle/CardTitle.js +1 -0
  93. package/dist/CardTitle/index.d.ts +2 -0
  94. package/dist/CardTitle/index.js +1 -0
  95. package/dist/CardTitle/style.d.ts +4 -0
  96. package/dist/CardTitle/style.js +1 -0
  97. package/dist/Checkbox/Checkbox.d.ts +18 -0
  98. package/dist/Checkbox/Checkbox.js +1 -0
  99. package/dist/Checkbox/index.d.ts +2 -0
  100. package/dist/Checkbox/index.js +1 -0
  101. package/dist/Checkbox/style.d.ts +88 -0
  102. package/dist/Checkbox/style.js +1 -0
  103. package/dist/Chip/Chip.d.ts +25 -0
  104. package/dist/Chip/Chip.js +1 -0
  105. package/dist/Chip/index.d.ts +2 -0
  106. package/dist/Chip/index.js +1 -0
  107. package/dist/Chip/style.d.ts +298 -0
  108. package/dist/Chip/style.js +1 -0
  109. package/dist/Dialog/Dialog.d.ts +20 -0
  110. package/dist/Dialog/Dialog.js +1 -0
  111. package/dist/Dialog/index.d.ts +2 -0
  112. package/dist/Dialog/index.js +1 -0
  113. package/dist/Dialog/style.d.ts +34 -0
  114. package/dist/Dialog/style.js +1 -0
  115. package/dist/DialogActions/DialogActions.d.ts +7 -0
  116. package/dist/DialogActions/DialogActions.js +1 -0
  117. package/dist/DialogActions/index.d.ts +2 -0
  118. package/dist/DialogActions/index.js +1 -0
  119. package/dist/DialogActions/style.d.ts +4 -0
  120. package/dist/DialogActions/style.js +1 -0
  121. package/dist/DialogContent/DialogContent.d.ts +7 -0
  122. package/dist/DialogContent/DialogContent.js +1 -0
  123. package/dist/DialogContent/index.d.ts +2 -0
  124. package/dist/DialogContent/index.js +1 -0
  125. package/dist/DialogContent/style.d.ts +4 -0
  126. package/dist/DialogContent/style.js +1 -0
  127. package/dist/DialogTitle/DialogTitle.d.ts +8 -0
  128. package/dist/DialogTitle/DialogTitle.js +1 -0
  129. package/dist/DialogTitle/index.d.ts +2 -0
  130. package/dist/DialogTitle/index.js +1 -0
  131. package/dist/DialogTitle/style.d.ts +4 -0
  132. package/dist/DialogTitle/style.js +1 -0
  133. package/dist/Divider/Divider.d.ts +11 -0
  134. package/dist/Divider/Divider.js +1 -0
  135. package/dist/Divider/index.d.ts +2 -0
  136. package/dist/Divider/index.js +1 -0
  137. package/dist/Divider/style.d.ts +34 -0
  138. package/dist/Divider/style.js +1 -0
  139. package/dist/IconButton/IconButton.d.ts +6 -0
  140. package/dist/IconButton/IconButton.js +1 -0
  141. package/dist/IconButton/index.d.ts +2 -0
  142. package/dist/IconButton/index.js +1 -0
  143. package/dist/IconButton/style.d.ts +40 -0
  144. package/dist/IconButton/style.js +1 -0
  145. package/dist/Input/Input.d.ts +27 -0
  146. package/dist/Input/Input.js +1 -0
  147. package/dist/Input/index.d.ts +2 -0
  148. package/dist/Input/index.js +1 -0
  149. package/dist/Input/style.d.ts +232 -0
  150. package/dist/Input/style.js +1 -0
  151. package/dist/Label/Label.d.ts +16 -0
  152. package/dist/Label/Label.js +1 -0
  153. package/dist/Label/index.d.ts +2 -0
  154. package/dist/Label/index.js +1 -0
  155. package/dist/Label/style.d.ts +118 -0
  156. package/dist/Label/style.js +1 -0
  157. package/dist/Link/Link.d.ts +15 -0
  158. package/dist/Link/Link.js +1 -0
  159. package/dist/Link/index.d.ts +2 -0
  160. package/dist/Link/index.js +1 -0
  161. package/dist/Link/style.d.ts +40 -0
  162. package/dist/Link/style.js +1 -0
  163. package/dist/Progress/Progress.d.ts +21 -0
  164. package/dist/Progress/Progress.js +1 -0
  165. package/dist/Progress/index.d.ts +2 -0
  166. package/dist/Progress/index.js +1 -0
  167. package/dist/Progress/style.d.ts +112 -0
  168. package/dist/Progress/style.js +1 -0
  169. package/dist/Radio/Radio.d.ts +19 -0
  170. package/dist/Radio/Radio.js +1 -0
  171. package/dist/Radio/index.d.ts +2 -0
  172. package/dist/Radio/index.js +1 -0
  173. package/dist/Radio/style.d.ts +76 -0
  174. package/dist/Radio/style.js +1 -0
  175. package/dist/RadioGroup/RadioGroup.d.ts +10 -0
  176. package/dist/RadioGroup/RadioGroup.js +1 -0
  177. package/dist/RadioGroup/index.d.ts +2 -0
  178. package/dist/RadioGroup/index.js +1 -0
  179. package/dist/RadioGroupContext/RadioGroupContext.d.ts +8 -0
  180. package/dist/RadioGroupContext/RadioGroupContext.js +1 -0
  181. package/dist/RadioGroupContext/index.d.ts +1 -0
  182. package/dist/RadioGroupContext/index.js +1 -0
  183. package/dist/Select/Select.d.ts +22 -0
  184. package/dist/Select/Select.js +1 -0
  185. package/dist/Select/index.d.ts +2 -0
  186. package/dist/Select/index.js +1 -0
  187. package/dist/Select/style.d.ts +124 -0
  188. package/dist/Select/style.js +1 -0
  189. package/dist/Skeleton/Skeleton.d.ts +9 -0
  190. package/dist/Skeleton/Skeleton.js +1 -0
  191. package/dist/Skeleton/index.d.ts +2 -0
  192. package/dist/Skeleton/index.js +1 -0
  193. package/dist/Skeleton/style.d.ts +34 -0
  194. package/dist/Skeleton/style.js +1 -0
  195. package/dist/Spinner/Spinner.d.ts +13 -0
  196. package/dist/Spinner/Spinner.js +1 -0
  197. package/dist/Spinner/index.d.ts +2 -0
  198. package/dist/Spinner/index.js +1 -0
  199. package/dist/Spinner/style.d.ts +112 -0
  200. package/dist/Spinner/style.js +1 -0
  201. package/dist/Switch/Switch.d.ts +23 -0
  202. package/dist/Switch/Switch.js +1 -0
  203. package/dist/Switch/index.d.ts +2 -0
  204. package/dist/Switch/index.js +1 -0
  205. package/dist/Switch/style.d.ts +226 -0
  206. package/dist/Switch/style.js +1 -0
  207. package/dist/Tab/Tab.d.ts +18 -0
  208. package/dist/Tab/Tab.js +1 -0
  209. package/dist/Tab/index.d.ts +2 -0
  210. package/dist/Tab/index.js +1 -0
  211. package/dist/Tab/style.d.ts +94 -0
  212. package/dist/Tab/style.js +1 -0
  213. package/dist/TabPanel/TabPanel.d.ts +7 -0
  214. package/dist/TabPanel/TabPanel.js +1 -0
  215. package/dist/TabPanel/index.d.ts +2 -0
  216. package/dist/TabPanel/index.js +1 -0
  217. package/dist/Table/Table.d.ts +7 -0
  218. package/dist/Table/Table.js +1 -0
  219. package/dist/Table/index.d.ts +2 -0
  220. package/dist/Table/index.js +1 -0
  221. package/dist/Table/style.d.ts +4 -0
  222. package/dist/Table/style.js +1 -0
  223. package/dist/TableBody/TableBody.d.ts +4 -0
  224. package/dist/TableBody/TableBody.js +1 -0
  225. package/dist/TableBody/index.d.ts +2 -0
  226. package/dist/TableBody/index.js +1 -0
  227. package/dist/TableCell/TableCell.d.ts +11 -0
  228. package/dist/TableCell/TableCell.js +1 -0
  229. package/dist/TableCell/index.d.ts +2 -0
  230. package/dist/TableCell/index.js +1 -0
  231. package/dist/TableCell/style.d.ts +70 -0
  232. package/dist/TableCell/style.js +1 -0
  233. package/dist/TableContext/TableContext.d.ts +6 -0
  234. package/dist/TableContext/TableContext.js +1 -0
  235. package/dist/TableContext/index.d.ts +1 -0
  236. package/dist/TableContext/index.js +1 -0
  237. package/dist/TableFooter/TableFooter.d.ts +4 -0
  238. package/dist/TableFooter/TableFooter.js +1 -0
  239. package/dist/TableFooter/index.d.ts +2 -0
  240. package/dist/TableFooter/index.js +1 -0
  241. package/dist/TableFooter/style.d.ts +4 -0
  242. package/dist/TableFooter/style.js +1 -0
  243. package/dist/TableHead/TableHead.d.ts +4 -0
  244. package/dist/TableHead/TableHead.js +1 -0
  245. package/dist/TableHead/index.d.ts +2 -0
  246. package/dist/TableHead/index.js +1 -0
  247. package/dist/TableHeadContext/TableHeadContext.d.ts +5 -0
  248. package/dist/TableHeadContext/TableHeadContext.js +1 -0
  249. package/dist/TableHeadContext/index.d.ts +1 -0
  250. package/dist/TableHeadContext/index.js +1 -0
  251. package/dist/TableRow/TableRow.d.ts +7 -0
  252. package/dist/TableRow/TableRow.js +1 -0
  253. package/dist/TableRow/index.d.ts +2 -0
  254. package/dist/TableRow/index.js +1 -0
  255. package/dist/TableRow/style.d.ts +34 -0
  256. package/dist/TableRow/style.js +1 -0
  257. package/dist/Tabs/Tabs.d.ts +12 -0
  258. package/dist/Tabs/Tabs.js +1 -0
  259. package/dist/Tabs/TabsContentContext.d.ts +7 -0
  260. package/dist/Tabs/TabsContentContext.js +1 -0
  261. package/dist/Tabs/index.d.ts +2 -0
  262. package/dist/Tabs/index.js +1 -0
  263. package/dist/Tabs/style.d.ts +94 -0
  264. package/dist/Tabs/style.js +1 -0
  265. package/dist/TabsContext/TabsContext.d.ts +10 -0
  266. package/dist/TabsContext/TabsContext.js +1 -0
  267. package/dist/TabsContext/context.d.ts +8 -0
  268. package/dist/TabsContext/context.js +3 -0
  269. package/dist/TabsContext/index.d.ts +2 -0
  270. package/dist/TabsContext/index.js +1 -0
  271. package/dist/Textarea/Textarea.d.ts +16 -0
  272. package/dist/Textarea/Textarea.js +1 -0
  273. package/dist/Textarea/index.d.ts +2 -0
  274. package/dist/Textarea/index.js +1 -0
  275. package/dist/Textarea/style.d.ts +160 -0
  276. package/dist/Textarea/style.js +1 -0
  277. package/dist/ThemeProvider/ThemeContext.d.ts +8 -0
  278. package/dist/ThemeProvider/ThemeContext.js +1 -0
  279. package/dist/ThemeProvider/ThemeProvider.d.ts +8 -0
  280. package/dist/ThemeProvider/ThemeProvider.js +1 -0
  281. package/dist/ThemeProvider/componentsTV.d.ts +1498 -0
  282. package/dist/ThemeProvider/componentsTV.js +1 -0
  283. package/dist/ThemeProvider/index.d.ts +3 -0
  284. package/dist/ThemeProvider/index.js +1 -0
  285. package/dist/Typography/Typography.d.ts +15 -0
  286. package/dist/Typography/Typography.js +1 -0
  287. package/dist/Typography/index.d.ts +2 -0
  288. package/dist/Typography/index.js +1 -0
  289. package/dist/Typography/style.d.ts +154 -0
  290. package/dist/Typography/style.js +1 -0
  291. package/dist/_chunks/dist-C-sN40SQ.js +1 -0
  292. package/dist/icons/Alert.d.ts +3 -0
  293. package/dist/icons/Alert.js +1 -0
  294. package/dist/icons/AngleDown.d.ts +3 -0
  295. package/dist/icons/AngleDown.js +1 -0
  296. package/dist/icons/AngleUp.d.ts +3 -0
  297. package/dist/icons/AngleUp.js +1 -0
  298. package/dist/icons/CheckboxChecked.d.ts +3 -0
  299. package/dist/icons/CheckboxChecked.js +1 -0
  300. package/dist/icons/CheckboxUnchecked.d.ts +3 -0
  301. package/dist/icons/CheckboxUnchecked.js +1 -0
  302. package/dist/icons/Checkmark.d.ts +3 -0
  303. package/dist/icons/Checkmark.js +1 -0
  304. package/dist/icons/Cross.d.ts +3 -0
  305. package/dist/icons/Cross.js +1 -0
  306. package/dist/icons/Error.d.ts +3 -0
  307. package/dist/icons/Error.js +1 -0
  308. package/dist/icons/Info.d.ts +3 -0
  309. package/dist/icons/Info.js +1 -0
  310. package/dist/icons/RadioChecked.d.ts +3 -0
  311. package/dist/icons/RadioChecked.js +1 -0
  312. package/dist/icons/RadioUnchecked.d.ts +3 -0
  313. package/dist/icons/RadioUnchecked.js +1 -0
  314. package/dist/icons/Warning.d.ts +3 -0
  315. package/dist/icons/Warning.js +1 -0
  316. package/dist/index.css +6 -0
  317. package/dist/index.d.ts +137 -0
  318. package/dist/index.js +1 -0
  319. package/dist/styles/createTheme.d.ts +4 -0
  320. package/dist/styles/createTheme.js +2 -0
  321. package/dist/styles/index.d.ts +8 -0
  322. package/dist/styles/index.js +1 -0
  323. package/dist/styles/theme/colors.d.ts +24 -0
  324. package/dist/styles/theme/colors.js +1 -0
  325. package/dist/styles/theme/disabled.d.ts +10 -0
  326. package/dist/styles/theme/disabled.js +1 -0
  327. package/dist/styles/theme/index.d.ts +20 -0
  328. package/dist/styles/theme/index.js +1 -0
  329. package/dist/styles/theme/rounded.d.ts +11 -0
  330. package/dist/styles/theme/rounded.js +1 -0
  331. package/dist/styles/theme/shadow.d.ts +10 -0
  332. package/dist/styles/theme/shadow.js +1 -0
  333. package/dist/styles/theme/themeSchema.d.ts +4 -0
  334. package/dist/styles/theme/themeSchema.js +1 -0
  335. package/dist/styles/theme/typography.d.ts +29 -0
  336. package/dist/styles/theme/typography.js +1 -0
  337. package/dist/styles/theme/utilities.d.ts +7 -0
  338. package/dist/styles/theme/utilities.js +1 -0
  339. package/dist/styles/useTheme.d.ts +2 -0
  340. package/dist/styles/useTheme.js +1 -0
  341. package/dist/utils/asVariant.d.ts +2 -0
  342. package/dist/utils/asVariant.js +1 -0
  343. package/dist/utils/cn.d.ts +2 -0
  344. package/dist/utils/cn.js +1 -0
  345. package/dist/utils/typedKeys.d.ts +2 -0
  346. package/dist/utils/typedKeys.js +1 -0
  347. package/package.json +257 -0
@@ -0,0 +1,214 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const badge: (theme?: Theme) => import('tailwind-variants').TVReturnType<{
3
+ color: Record<"default" | "success" | "warning" | "info" | "error", {
4
+ badge: string[];
5
+ }>;
6
+ yPos: {
7
+ top: {
8
+ badge: string;
9
+ };
10
+ bottom: {
11
+ badge: string;
12
+ };
13
+ };
14
+ xPos: {
15
+ left: {
16
+ badge: string;
17
+ };
18
+ right: {
19
+ badge: string;
20
+ };
21
+ };
22
+ overlap: {
23
+ circle: {};
24
+ rect: {};
25
+ };
26
+ empty: {
27
+ true: {
28
+ badge: string;
29
+ };
30
+ false: {
31
+ badge: string[];
32
+ };
33
+ };
34
+ }, {
35
+ base: string;
36
+ badge: string[];
37
+ }, undefined, {
38
+ color: Record<"default" | "success" | "warning" | "info" | "error", {
39
+ badge: string[];
40
+ }>;
41
+ yPos: {
42
+ top: {
43
+ badge: string;
44
+ };
45
+ bottom: {
46
+ badge: string;
47
+ };
48
+ };
49
+ xPos: {
50
+ left: {
51
+ badge: string;
52
+ };
53
+ right: {
54
+ badge: string;
55
+ };
56
+ };
57
+ overlap: {
58
+ circle: {};
59
+ rect: {};
60
+ };
61
+ empty: {
62
+ true: {
63
+ badge: string;
64
+ };
65
+ false: {
66
+ badge: string[];
67
+ };
68
+ };
69
+ }, {
70
+ base: string;
71
+ badge: string[];
72
+ }, import('tailwind-variants').TVReturnTypeLike<{
73
+ color: Record<"default" | "success" | "warning" | "info" | "error", {
74
+ badge: string[];
75
+ }>;
76
+ yPos: {
77
+ top: {
78
+ badge: string;
79
+ };
80
+ bottom: {
81
+ badge: string;
82
+ };
83
+ };
84
+ xPos: {
85
+ left: {
86
+ badge: string;
87
+ };
88
+ right: {
89
+ badge: string;
90
+ };
91
+ };
92
+ overlap: {
93
+ circle: {};
94
+ rect: {};
95
+ };
96
+ empty: {
97
+ true: {
98
+ badge: string;
99
+ };
100
+ false: {
101
+ badge: string[];
102
+ };
103
+ };
104
+ }, {
105
+ base: string;
106
+ badge: string[];
107
+ }>>;
108
+ declare const _default: import('tailwind-variants').TVReturnType<{
109
+ color: Record<"default" | "success" | "warning" | "info" | "error", {
110
+ badge: string[];
111
+ }>;
112
+ yPos: {
113
+ top: {
114
+ badge: string;
115
+ };
116
+ bottom: {
117
+ badge: string;
118
+ };
119
+ };
120
+ xPos: {
121
+ left: {
122
+ badge: string;
123
+ };
124
+ right: {
125
+ badge: string;
126
+ };
127
+ };
128
+ overlap: {
129
+ circle: {};
130
+ rect: {};
131
+ };
132
+ empty: {
133
+ true: {
134
+ badge: string;
135
+ };
136
+ false: {
137
+ badge: string[];
138
+ };
139
+ };
140
+ }, {
141
+ base: string;
142
+ badge: string[];
143
+ }, undefined, {
144
+ color: Record<"default" | "success" | "warning" | "info" | "error", {
145
+ badge: string[];
146
+ }>;
147
+ yPos: {
148
+ top: {
149
+ badge: string;
150
+ };
151
+ bottom: {
152
+ badge: string;
153
+ };
154
+ };
155
+ xPos: {
156
+ left: {
157
+ badge: string;
158
+ };
159
+ right: {
160
+ badge: string;
161
+ };
162
+ };
163
+ overlap: {
164
+ circle: {};
165
+ rect: {};
166
+ };
167
+ empty: {
168
+ true: {
169
+ badge: string;
170
+ };
171
+ false: {
172
+ badge: string[];
173
+ };
174
+ };
175
+ }, {
176
+ base: string;
177
+ badge: string[];
178
+ }, import('tailwind-variants').TVReturnTypeLike<{
179
+ color: Record<"default" | "success" | "warning" | "info" | "error", {
180
+ badge: string[];
181
+ }>;
182
+ yPos: {
183
+ top: {
184
+ badge: string;
185
+ };
186
+ bottom: {
187
+ badge: string;
188
+ };
189
+ };
190
+ xPos: {
191
+ left: {
192
+ badge: string;
193
+ };
194
+ right: {
195
+ badge: string;
196
+ };
197
+ };
198
+ overlap: {
199
+ circle: {};
200
+ rect: {};
201
+ };
202
+ empty: {
203
+ true: {
204
+ badge: string;
205
+ };
206
+ false: {
207
+ badge: string[];
208
+ };
209
+ };
210
+ }, {
211
+ base: string;
212
+ badge: string[];
213
+ }>>;
214
+ export default _default;
@@ -0,0 +1 @@
1
+ import{n as e}from"../_chunks/dist-C-sN40SQ.js";import t from"../styles/theme/index.js";import n from"../utils/asVariant.js";var r=(r=t)=>e({slots:{base:`relative`,badge:[`absolute grid place-items-center leading-0`,`text-xs font-semibold`,r.rounded.full]},variants:{color:n(r.colors,e=>({badge:[e.solid.background,e.solid.text]})),yPos:{top:{badge:`top-0 -translate-y-1/2`},bottom:{badge:`bottom-0 translate-y-1/2`}},xPos:{left:{badge:`left-0 -translate-x-1/2`},right:{badge:`right-0 translate-x-1/2`}},overlap:{circle:{},rect:{}},empty:{true:{badge:`min-w-2 min-h-2 w-2 h-2`},false:{badge:[`p-1 min-w-4 min-h-4 w-fit-content h-4`,`leading-0 grid place-items-center`]}}},compoundVariants:[{overlap:`circle`,xPos:`left`,class:{badge:`left-[15%]`}},{overlap:`circle`,xPos:`right`,class:{badge:`right-[15%]`}},{overlap:`circle`,yPos:`top`,class:{badge:`top-[15%]`}},{overlap:`circle`,yPos:`bottom`,class:{badge:`bottom-[15%]`}}]}),i=r();export{r as badge,i as default};
@@ -0,0 +1,14 @@
1
+ import { ComponentProps, JSXElement, ValidComponent } from 'solid-js';
2
+ type BreadcrumbsSlotProps = {
3
+ ol?: ComponentProps<"ol">;
4
+ li?: ComponentProps<"li">;
5
+ seperator?: ComponentProps<"li">;
6
+ };
7
+ export type BreadcrumbsProps<T extends ValidComponent = "nav"> = {
8
+ as?: T;
9
+ class?: string;
10
+ seperator?: JSXElement;
11
+ slotProps?: BreadcrumbsSlotProps;
12
+ } & ComponentProps<T>;
13
+ declare const Breadcrumbs: <T extends ValidComponent = "nav">(props: BreadcrumbsProps<T>) => import("solid-js").JSX.Element;
14
+ export default Breadcrumbs;
@@ -0,0 +1 @@
1
+ import e from"../utils/cn.js";import t from"./style.js";import{useThemeContext as n}from"../ThemeProvider/ThemeContext.js";import"../ThemeProvider/index.js";import{Dynamic as r,createComponent as i,insert as a,memo as o,mergeProps as s,spread as c,template as l}from"solid-js/web";import{For as u,children as d,createMemo as f,mergeProps as p,splitProps as m}from"solid-js";var h=l(`<ol>`),g=l(`<li>`),_=l(`<li aria-hidden>`),v=l=>{let v=p({seperator:`/`},l),[y,b]=m(v,[`as`,`children`,`class`,`seperator`,`slotProps`]),x=n(),S=d(()=>y.children).toArray(),C=f(()=>x?x.componentsTV.breadcrumbs():t());return i(r,s(b,{get component(){return y.as??`nav`},get class(){return e(C().base(),y.class)},get children(){var t=h();return c(t,s(()=>y.slotProps?.ol,{get class(){return e(C().ol(),y.slotProps?.ol?.class)}}),!1,!0),a(t,i(u,{each:S,children:(e,t)=>[(()=>{var t=g();return c(t,s(()=>y.slotProps?.li),!1,!0),a(t,e),t})(),o(()=>o(()=>t()!==S.length-1)()?(()=>{var e=_();return c(e,s(()=>y.slotProps?.seperator),!1,!0),a(e,()=>y.seperator),e})():null)]})),t}}))};export{v as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './Breadcrumbs';
2
+ export * from './Breadcrumbs';
@@ -0,0 +1 @@
1
+ import"./Breadcrumbs.js";
@@ -0,0 +1,64 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const breadcrumbs: (theme?: Theme) => import('tailwind-variants').TVReturnType<{
3
+ [key: string]: {
4
+ [key: string]: import('tailwind-variants').ClassValue | {
5
+ base?: import('tailwind-variants').ClassValue;
6
+ ol?: import('tailwind-variants').ClassValue;
7
+ };
8
+ };
9
+ } | {
10
+ [x: string]: {
11
+ [x: string]: import('tailwind-variants').ClassValue | {
12
+ base?: import('tailwind-variants').ClassValue;
13
+ ol?: import('tailwind-variants').ClassValue;
14
+ };
15
+ };
16
+ } | {}, {
17
+ base: string[];
18
+ ol: string;
19
+ }, undefined, {
20
+ [key: string]: {
21
+ [key: string]: import('tailwind-variants').ClassValue | {
22
+ base?: import('tailwind-variants').ClassValue;
23
+ ol?: import('tailwind-variants').ClassValue;
24
+ };
25
+ };
26
+ } | {}, {
27
+ base: string[];
28
+ ol: string;
29
+ }, import('tailwind-variants').TVReturnTypeLike<unknown, {
30
+ base: string[];
31
+ ol: string;
32
+ }>>;
33
+ declare const _default: import('tailwind-variants').TVReturnType<{
34
+ [key: string]: {
35
+ [key: string]: import('tailwind-variants').ClassValue | {
36
+ base?: import('tailwind-variants').ClassValue;
37
+ ol?: import('tailwind-variants').ClassValue;
38
+ };
39
+ };
40
+ } | {
41
+ [x: string]: {
42
+ [x: string]: import('tailwind-variants').ClassValue | {
43
+ base?: import('tailwind-variants').ClassValue;
44
+ ol?: import('tailwind-variants').ClassValue;
45
+ };
46
+ };
47
+ } | {}, {
48
+ base: string[];
49
+ ol: string;
50
+ }, undefined, {
51
+ [key: string]: {
52
+ [key: string]: import('tailwind-variants').ClassValue | {
53
+ base?: import('tailwind-variants').ClassValue;
54
+ ol?: import('tailwind-variants').ClassValue;
55
+ };
56
+ };
57
+ } | {}, {
58
+ base: string[];
59
+ ol: string;
60
+ }, import('tailwind-variants').TVReturnTypeLike<unknown, {
61
+ base: string[];
62
+ ol: string;
63
+ }>>;
64
+ export default _default;
@@ -0,0 +1 @@
1
+ import{n as e}from"../_chunks/dist-C-sN40SQ.js";import t from"../styles/theme/index.js";var n=(n=t)=>e({slots:{base:[n.typography.variants.body2,n.typography.colors.textTertiary],ol:`flex items-center flex-wrap gap-2`}}),r=n();export{n as breadcrumbs,r as default};
@@ -0,0 +1,24 @@
1
+ import { ComponentProps, JSXElement, ValidComponent } from 'solid-js';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { ThemeColors } from '../styles/theme/colors';
4
+ import { default as buttonDefaultStyles } from './style';
5
+ type ButtonVariants = VariantProps<typeof buttonDefaultStyles>;
6
+ type ButtonSlotProps = {
7
+ startIcon?: ComponentProps<"span">;
8
+ endIcon?: ComponentProps<"span">;
9
+ };
10
+ export type ButtonProps<T extends ValidComponent = "button" | "span"> = {
11
+ as?: T;
12
+ color?: keyof ThemeColors;
13
+ disabled?: ButtonVariants["disabled"];
14
+ endIcon?: JSXElement;
15
+ fullWidth?: boolean;
16
+ size?: ButtonVariants["size"];
17
+ slotProps?: ButtonSlotProps;
18
+ startIcon?: JSXElement;
19
+ variant?: ButtonVariants["variant"];
20
+ children?: JSXElement;
21
+ class?: string;
22
+ } & ComponentProps<T>;
23
+ declare const Button: <T extends ValidComponent = "button" | "span">(props: ButtonProps<T>) => import("solid-js").JSX.Element;
24
+ export default Button;
@@ -0,0 +1 @@
1
+ import e from"../utils/cn.js";import t from"./style.js";import{useThemeContext as n}from"../ThemeProvider/ThemeContext.js";import"../ThemeProvider/index.js";import{Dynamic as r,createComponent as i,insert as a,memo as o,mergeProps as s,spread as c,template as l}from"solid-js/web";import{createMemo as u,mergeProps as d,splitProps as f}from"solid-js";var p=l(`<span>`),m=l=>{let m=d({as:`button`,color:`default`,variant:`solid`,size:`medium`},l),[h,g]=f(m,[`as`,`children`,`class`,`color`,`disabled`,`endIcon`,`fullWidth`,`size`,`startIcon`,`variant`,`slotProps`]),_=n(),v=u(()=>{let e={color:h.color,disabled:h.disabled,fullWidth:h.fullWidth,size:h.size,variant:h.variant};return _?_.componentsTV.button(e):t(e)});return i(r,s({get component(){return h.as||`button`}},g,{get class(){return e(v().base(),h.class)},get disabled(){return h.disabled},get children(){return[o(()=>o(()=>!!h.startIcon)()?(()=>{var t=p();return c(t,s(()=>h.slotProps?.startIcon,{get class(){return e(v().startIcon(),h.slotProps?.startIcon?.class)}}),!1,!0),a(t,()=>h.startIcon),t})():null),o(()=>h.children),o(()=>o(()=>!!h.endIcon)()?(()=>{var t=p();return c(t,s(()=>h.slotProps?.endIcon,{get class(){return e(v().endIcon(),h.slotProps?.endIcon?.class)}}),!1,!0),a(t,()=>h.endIcon),t})():null)]}}))};export{m as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './Button';
2
+ export * from './Button';
@@ -0,0 +1 @@
1
+ import"./Button.js";
@@ -0,0 +1,238 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const button: (theme?: Theme) => import('tailwind-variants').TVReturnType<{
3
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
4
+ variant: {
5
+ outlined: {
6
+ base: string;
7
+ };
8
+ solid: string;
9
+ filled: string;
10
+ ghost: string;
11
+ };
12
+ disabled: {
13
+ true: {
14
+ base: string;
15
+ };
16
+ false: {
17
+ base: string;
18
+ };
19
+ };
20
+ size: {
21
+ small: {
22
+ base: string;
23
+ };
24
+ medium: {
25
+ base: string;
26
+ };
27
+ large: {
28
+ base: string;
29
+ };
30
+ };
31
+ fullWidth: {
32
+ true: {
33
+ base: string;
34
+ };
35
+ false: "";
36
+ };
37
+ }, {
38
+ base: string[];
39
+ startIcon: string;
40
+ endIcon: string;
41
+ }, undefined, {
42
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
43
+ variant: {
44
+ outlined: {
45
+ base: string;
46
+ };
47
+ solid: string;
48
+ filled: string;
49
+ ghost: string;
50
+ };
51
+ disabled: {
52
+ true: {
53
+ base: string;
54
+ };
55
+ false: {
56
+ base: string;
57
+ };
58
+ };
59
+ size: {
60
+ small: {
61
+ base: string;
62
+ };
63
+ medium: {
64
+ base: string;
65
+ };
66
+ large: {
67
+ base: string;
68
+ };
69
+ };
70
+ fullWidth: {
71
+ true: {
72
+ base: string;
73
+ };
74
+ false: "";
75
+ };
76
+ }, {
77
+ base: string[];
78
+ startIcon: string;
79
+ endIcon: string;
80
+ }, import('tailwind-variants').TVReturnTypeLike<{
81
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
82
+ variant: {
83
+ outlined: {
84
+ base: string;
85
+ };
86
+ solid: string;
87
+ filled: string;
88
+ ghost: string;
89
+ };
90
+ disabled: {
91
+ true: {
92
+ base: string;
93
+ };
94
+ false: {
95
+ base: string;
96
+ };
97
+ };
98
+ size: {
99
+ small: {
100
+ base: string;
101
+ };
102
+ medium: {
103
+ base: string;
104
+ };
105
+ large: {
106
+ base: string;
107
+ };
108
+ };
109
+ fullWidth: {
110
+ true: {
111
+ base: string;
112
+ };
113
+ false: "";
114
+ };
115
+ }, {
116
+ base: string[];
117
+ startIcon: string;
118
+ endIcon: string;
119
+ }>>;
120
+ declare const _default: import('tailwind-variants').TVReturnType<{
121
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
122
+ variant: {
123
+ outlined: {
124
+ base: string;
125
+ };
126
+ solid: string;
127
+ filled: string;
128
+ ghost: string;
129
+ };
130
+ disabled: {
131
+ true: {
132
+ base: string;
133
+ };
134
+ false: {
135
+ base: string;
136
+ };
137
+ };
138
+ size: {
139
+ small: {
140
+ base: string;
141
+ };
142
+ medium: {
143
+ base: string;
144
+ };
145
+ large: {
146
+ base: string;
147
+ };
148
+ };
149
+ fullWidth: {
150
+ true: {
151
+ base: string;
152
+ };
153
+ false: "";
154
+ };
155
+ }, {
156
+ base: string[];
157
+ startIcon: string;
158
+ endIcon: string;
159
+ }, undefined, {
160
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
161
+ variant: {
162
+ outlined: {
163
+ base: string;
164
+ };
165
+ solid: string;
166
+ filled: string;
167
+ ghost: string;
168
+ };
169
+ disabled: {
170
+ true: {
171
+ base: string;
172
+ };
173
+ false: {
174
+ base: string;
175
+ };
176
+ };
177
+ size: {
178
+ small: {
179
+ base: string;
180
+ };
181
+ medium: {
182
+ base: string;
183
+ };
184
+ large: {
185
+ base: string;
186
+ };
187
+ };
188
+ fullWidth: {
189
+ true: {
190
+ base: string;
191
+ };
192
+ false: "";
193
+ };
194
+ }, {
195
+ base: string[];
196
+ startIcon: string;
197
+ endIcon: string;
198
+ }, import('tailwind-variants').TVReturnTypeLike<{
199
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
200
+ variant: {
201
+ outlined: {
202
+ base: string;
203
+ };
204
+ solid: string;
205
+ filled: string;
206
+ ghost: string;
207
+ };
208
+ disabled: {
209
+ true: {
210
+ base: string;
211
+ };
212
+ false: {
213
+ base: string;
214
+ };
215
+ };
216
+ size: {
217
+ small: {
218
+ base: string;
219
+ };
220
+ medium: {
221
+ base: string;
222
+ };
223
+ large: {
224
+ base: string;
225
+ };
226
+ };
227
+ fullWidth: {
228
+ true: {
229
+ base: string;
230
+ };
231
+ false: "";
232
+ };
233
+ }, {
234
+ base: string[];
235
+ startIcon: string;
236
+ endIcon: string;
237
+ }>>;
238
+ export default _default;
@@ -0,0 +1 @@
1
+ import{n as e}from"../_chunks/dist-C-sN40SQ.js";import t from"../styles/theme/index.js";import n from"../utils/asVariant.js";import r from"../utils/typedKeys.js";var i=Object.keys(t.colors.default),a=(a=t)=>e({slots:{base:[`inline-flex justify-center items-center gap-2 font-normal align-middle`,a.rounded.small,a.focus],startIcon:`leading-[1] shrink-0`,endIcon:`leading-[1] shrink-0`},variants:{color:n(a.colors,()=>({})),variant:{...n(a.colors.default,()=>``),outlined:{base:`border`}},disabled:{true:{base:`user-event-none`},false:{base:`cursor-pointer`}},size:{small:{base:`py-[2px] px-2 text-sm min-h-6`},medium:{base:`py-1 px-3 text-sm min-h-8`},large:{base:`py-2 px-5 text-md gap-3 min-h-10`}},fullWidth:{true:{base:`w-full`},false:``}},compoundVariants:[...r(a.colors).flatMap(e=>i.map(t=>{let n=a.colors[e][t];return[{color:e,variant:t,disabled:!1,class:{base:[n.background,n.hover,n.active,n.text]}},{color:e,variant:t,disabled:!0,class:{base:[a.disabled.text,[`outlined`].includes(t)?a.disabled.border:``,[`solid`,`filled`].includes(t)?a.disabled.background:``]}}]}).flat())]}),o=a();export{a as button,o as default};
@@ -0,0 +1,10 @@
1
+ import { ComponentProps } from 'solid-js';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { default as cardDefaultStyles } from './style';
4
+ type CardVariants = VariantProps<typeof cardDefaultStyles>;
5
+ export type CardProps = {
6
+ variant?: CardVariants["variant"];
7
+ class?: string;
8
+ } & ComponentProps<"div">;
9
+ declare const Card: (props: CardProps) => import("solid-js").JSX.Element;
10
+ export default Card;
@@ -0,0 +1 @@
1
+ import e from"../utils/cn.js";import t from"./style.js";import{useThemeContext as n}from"../ThemeProvider/ThemeContext.js";import"../ThemeProvider/index.js";import{insert as r,mergeProps as i,spread as a,template as o}from"solid-js/web";import{createMemo as s,mergeProps as c,splitProps as l}from"solid-js";var u=o(`<div>`),d=o=>{let d=c({variant:`outlined`},o),[f,p]=l(d,[`children`,`class`,`variant`]),m=n(),h=s(()=>{let e={variant:f.variant};return m?m.componentsTV.card(e):t(e)});return(()=>{var t=u();return a(t,i(p,{get class(){return e(h(),f.class)}}),!1,!0),r(t,()=>f.children),t})()};export{d as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './Card';
2
+ export * from './Card';
@@ -0,0 +1 @@
1
+ import"./Card.js";
@@ -0,0 +1,46 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const card: (theme?: Theme) => import('tailwind-variants').TVReturnType<{
3
+ variant: {
4
+ filled: string[];
5
+ elevated: string[];
6
+ outlined: string[];
7
+ ghost: string[];
8
+ };
9
+ }, undefined, string[], {
10
+ variant: {
11
+ filled: string[];
12
+ elevated: string[];
13
+ outlined: string[];
14
+ ghost: string[];
15
+ };
16
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
17
+ variant: {
18
+ filled: string[];
19
+ elevated: string[];
20
+ outlined: string[];
21
+ ghost: string[];
22
+ };
23
+ }, undefined>>;
24
+ declare const _default: import('tailwind-variants').TVReturnType<{
25
+ variant: {
26
+ filled: string[];
27
+ elevated: string[];
28
+ outlined: string[];
29
+ ghost: string[];
30
+ };
31
+ }, undefined, string[], {
32
+ variant: {
33
+ filled: string[];
34
+ elevated: string[];
35
+ outlined: string[];
36
+ ghost: string[];
37
+ };
38
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
39
+ variant: {
40
+ filled: string[];
41
+ elevated: string[];
42
+ outlined: string[];
43
+ ghost: string[];
44
+ };
45
+ }, undefined>>;
46
+ export default _default;
@@ -0,0 +1 @@
1
+ import{n as e}from"../_chunks/dist-C-sN40SQ.js";import t from"../styles/theme/index.js";var n=(n=t)=>e({base:[n.rounded.small],variants:{variant:{filled:[`bg-neutral-100 dark:bg-neutral-900`,n.typography.colors.textSecondary,n.shadow.small],elevated:[`bg-white dark:bg-neutral-800`,`dark:border dark:border-white/10`,n.shadow.medium],outlined:[`bg-transparent border overflow-hidden`,n.divider],ghost:[`bg-transparent`]}}}),r=n();export{n as card,r as default};
@@ -0,0 +1,6 @@
1
+ import { ComponentProps } from 'solid-js';
2
+ export type CardContentProps = {
3
+ class?: string;
4
+ } & ComponentProps<"div">;
5
+ declare const CardContent: (props: CardContentProps) => import("solid-js").JSX.Element;
6
+ export default CardContent;
@@ -0,0 +1 @@
1
+ import e from"../utils/cn.js";import t from"./style.js";import{useThemeContext as n}from"../ThemeProvider/ThemeContext.js";import"../ThemeProvider/index.js";import{insert as r,mergeProps as i,spread as a,template as o}from"solid-js/web";import{createMemo as s,splitProps as c}from"solid-js";var l=o(`<div>`),u=o=>{let[u,d]=c(o,[`children`,`class`]),f=n(),p=s(()=>f?f.componentsTV.cardContent():t());return(()=>{var t=l();return a(t,i(d,{get class(){return e(p(),u.class)}}),!1,!0),r(t,()=>u.children),t})()};export{u as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './CardContent';
2
+ export * from './CardContent';
@@ -0,0 +1 @@
1
+ import"./CardContent.js";
@@ -0,0 +1,4 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const cardContent: (theme?: Theme) => import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
3
+ declare const _default: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
4
+ export default _default;