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 @@
1
+ import{n as e}from"../_chunks/dist-C-sN40SQ.js";import t from"../styles/theme/index.js";var n=(n=t)=>e({base:[`fixed min-w-xs shadow-sm z-2`,`bg-white dark:bg-neutral-900`,`dark:border`,n.divider],variants:{fullscreen:{true:`w-full h-full`,false:[`top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2`,`[max-width:calc(100%_-_2rem)] [max-height:calc(100%_-_2rem)]`,n.rounded.small]}}}),r=n();export{r as default,n as dialog};
@@ -0,0 +1,7 @@
1
+ import { ComponentProps, JSXElement } from 'solid-js';
2
+ export type DialogActionsProps = {
3
+ class?: string;
4
+ children?: JSXElement;
5
+ } & ComponentProps<"div">;
6
+ declare const DialogActions: (props: DialogActionsProps) => import("solid-js").JSX.Element;
7
+ export default DialogActions;
@@ -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,[`class`,`children`]),f=n(),p=s(()=>f?f.componentsTV.dialogActions():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 './DialogActions';
2
+ export * from './DialogActions';
@@ -0,0 +1 @@
1
+ import"./DialogActions.js";
@@ -0,0 +1,4 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const dialogActions: (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;
@@ -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:[`flex items-center justify-end gap-3`,`border-t py-2.5 px-3`,n.divider]}),r=n();export{r as default,n as dialogActions};
@@ -0,0 +1,7 @@
1
+ import { ComponentProps, JSXElement } from 'solid-js';
2
+ export type DialogContentProps = {
3
+ class?: string;
4
+ children?: JSXElement;
5
+ } & ComponentProps<"div">;
6
+ declare const DialogContent: (props: DialogContentProps) => import("solid-js").JSX.Element;
7
+ export default DialogContent;
@@ -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,[`class`,`children`]),f=n(),p=s(()=>f?f.componentsTV.dialogContent():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 './DialogContent';
2
+ export * from './DialogContent';
@@ -0,0 +1 @@
1
+ import"./DialogContent.js";
@@ -0,0 +1,4 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const dialogContent: (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;
@@ -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:[`px-3 py-5`,n.typography.variants.body2,n.typography.colors.textSecondary]}),r=n();export{r as default,n as dialogContent};
@@ -0,0 +1,8 @@
1
+ import { JSXElement } from 'solid-js';
2
+ import { TypographyProps } from '../Typography/Typography';
3
+ export type DialogTitleProps = {
4
+ class?: string;
5
+ children?: JSXElement;
6
+ } & TypographyProps;
7
+ declare const DialogTitle: (props: DialogTitleProps) => import("solid-js").JSX.Element;
8
+ export default DialogTitle;
@@ -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 r from"../Typography/Typography.js";import{createComponent as i,mergeProps as a}from"solid-js/web";import{createMemo as o,splitProps as s}from"solid-js";var c=c=>{let[l,u]=s(c,[`class`,`children`]),d=n(),f=o(()=>d?d.componentsTV.dialogTitle():t());return i(r,a({as:`h3`,color:`textPrimary`},u,{get class(){return e(f(),l.class)},get children(){return l.children}}))};export{c as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './DialogTitle';
2
+ export * from './DialogTitle';
@@ -0,0 +1 @@
1
+ import"./DialogTitle.js";
@@ -0,0 +1,4 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const dialogTitle: (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;
@@ -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:[`p-3 text-md font-semibold`,`border-b`,n.divider,n.typography.colors.textPrimary]}),r=n();export{r as default,n as dialogTitle};
@@ -0,0 +1,11 @@
1
+ import { ComponentProps, ValidComponent } from 'solid-js';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { default as dividerDefaultStyles } from './style';
4
+ type DividerVariants = VariantProps<typeof dividerDefaultStyles>;
5
+ export type DividerProps<T extends ValidComponent = "div"> = {
6
+ as?: T;
7
+ class?: string;
8
+ orientation?: DividerVariants["orientation"];
9
+ } & ComponentProps<T>;
10
+ declare const Divider: <T extends ValidComponent = "div">(props: DividerProps<T>) => import("solid-js").JSX.Element;
11
+ export default Divider;
@@ -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,mergeProps as a}from"solid-js/web";import{createMemo as o,mergeProps as s,splitProps as c}from"solid-js";var l=l=>{let u=s({orientation:`horizontal`},l),[d,f]=c(u,[`as`,`class`,`orientation`]),p=n(),m=o(()=>{let e={orientation:d.orientation};return p?p.componentsTV.divider(e):t(e)});return i(r,a({role:`separator`,get"aria-orientation"(){return d.orientation===`horizontal`?`horizontal`:`vertical`}},f,{get component(){return d.as||`div`},get class(){return e(m(),d.class)}}))};export{l as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './Divider';
2
+ export * from './Divider';
@@ -0,0 +1 @@
1
+ import"./Divider.js";
@@ -0,0 +1,34 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const divider: (theme?: Theme) => import('tailwind-variants').TVReturnType<{
3
+ orientation: {
4
+ horizontal: "border-t w-full";
5
+ vertical: "border-l h-auto self-stretch";
6
+ };
7
+ }, undefined, string[], {
8
+ orientation: {
9
+ horizontal: "border-t w-full";
10
+ vertical: "border-l h-auto self-stretch";
11
+ };
12
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
13
+ orientation: {
14
+ horizontal: "border-t w-full";
15
+ vertical: "border-l h-auto self-stretch";
16
+ };
17
+ }, undefined>>;
18
+ declare const _default: import('tailwind-variants').TVReturnType<{
19
+ orientation: {
20
+ horizontal: "border-t w-full";
21
+ vertical: "border-l h-auto self-stretch";
22
+ };
23
+ }, undefined, string[], {
24
+ orientation: {
25
+ horizontal: "border-t w-full";
26
+ vertical: "border-l h-auto self-stretch";
27
+ };
28
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
29
+ orientation: {
30
+ horizontal: "border-t w-full";
31
+ vertical: "border-l h-auto self-stretch";
32
+ };
33
+ }, undefined>>;
34
+ 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:[`border-thin`,n.divider],variants:{orientation:{horizontal:`border-t w-full`,vertical:`border-l h-auto self-stretch`}}}),r=n();export{r as default,n as divider};
@@ -0,0 +1,6 @@
1
+ import { ButtonProps } from '../Button';
2
+ export type IconButtonProps = {
3
+ class?: string;
4
+ } & Omit<ButtonProps, "startIcon" | "endIcon" | "variant" | "slotProps">;
5
+ declare const IconButton: (props: IconButtonProps) => import("solid-js").JSX.Element;
6
+ export default IconButton;
@@ -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 r from"../Button/Button.js";import"../Button/index.js";import{createComponent as i,mergeProps as a}from"solid-js/web";import{createMemo as o,mergeProps as s,splitProps as c}from"solid-js";var l=l=>{let u=s({size:`medium`},l),[d,f]=c(u,[`children`,`class`,`size`,`fullWidth`,`startIcon`,`endIcon`,`variant`,`slotProps`]),p=n(),m=o(()=>{let e={size:d.size};return p?p.componentsTV.iconButton(e):t(e)});return i(r,a(f,{get class(){return e(m(),d.class)},fullWidth:!1,variant:`ghost`,get children(){return d.children}}))};export{l as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './IconButton';
2
+ export * from './IconButton';
@@ -0,0 +1 @@
1
+ import"./IconButton.js";
@@ -0,0 +1,40 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const iconButton: (theme?: Theme) => import('tailwind-variants').TVReturnType<{
3
+ size: {
4
+ small: "size-6 text-lg";
5
+ medium: "size-8 text-2xl";
6
+ large: "size-10 text-3xl";
7
+ };
8
+ }, undefined, string[], {
9
+ size: {
10
+ small: "size-6 text-lg";
11
+ medium: "size-8 text-2xl";
12
+ large: "size-10 text-3xl";
13
+ };
14
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
15
+ size: {
16
+ small: "size-6 text-lg";
17
+ medium: "size-8 text-2xl";
18
+ large: "size-10 text-3xl";
19
+ };
20
+ }, undefined>>;
21
+ declare const _default: import('tailwind-variants').TVReturnType<{
22
+ size: {
23
+ small: "size-6 text-lg";
24
+ medium: "size-8 text-2xl";
25
+ large: "size-10 text-3xl";
26
+ };
27
+ }, undefined, string[], {
28
+ size: {
29
+ small: "size-6 text-lg";
30
+ medium: "size-8 text-2xl";
31
+ large: "size-10 text-3xl";
32
+ };
33
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
34
+ size: {
35
+ small: "size-6 text-lg";
36
+ medium: "size-8 text-2xl";
37
+ large: "size-10 text-3xl";
38
+ };
39
+ }, undefined>>;
40
+ 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:[`px-0 py-0 min-h-[initial]`,`flex justify-center items-center shrink-0`,n.rounded.full],variants:{size:{small:`size-6 text-lg`,medium:`size-8 text-2xl`,large:`size-10 text-3xl`}}}),r=n();export{r as default,n as iconButton};
@@ -0,0 +1,27 @@
1
+ import { ComponentProps, JSX } from 'solid-js';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { ThemeColors } from '../styles/theme/colors';
4
+ import { default as inputDefaultStyles } from './style';
5
+ type InputVariants = VariantProps<typeof inputDefaultStyles>;
6
+ type InputSlotProps = {
7
+ base?: ComponentProps<"div">;
8
+ prefix?: ComponentProps<"span">;
9
+ suffix?: ComponentProps<"span">;
10
+ };
11
+ type InputTypes = "number" | "search" | "time" | "image" | "text" | "color" | "date" | "datetime-local" | "email" | "file" | "month" | "password" | "tel" | "url" | "week";
12
+ export type InputProps = {
13
+ class?: string;
14
+ color?: keyof ThemeColors;
15
+ disabled?: boolean;
16
+ fullWidth?: boolean;
17
+ inputSize?: number;
18
+ onInput?: JSX.EventHandler<HTMLInputElement, InputEvent>;
19
+ prefix?: JSX.Element;
20
+ size?: InputVariants["size"];
21
+ slotProps?: InputSlotProps;
22
+ suffix?: JSX.Element;
23
+ type?: InputTypes;
24
+ variant?: InputVariants["variant"];
25
+ } & Omit<ComponentProps<"input">, "type" | "onInput" | "prefix" | "size">;
26
+ declare const Input: (props: InputProps) => JSX.Element;
27
+ export default Input;
@@ -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,memo as i,mergeProps as a,spread as o,template as s}from"solid-js/web";import{createMemo as c,mergeProps as l,splitProps as u}from"solid-js";var d=s(`<div><input>`),f=s(`<span>`),p=s=>{let p=l({color:`default`,disabled:!1,variant:`outlined`,size:`medium`,type:`text`},s),[m,h]=u(p,[`class`,`color`,`disabled`,`fullWidth`,`inputSize`,`prefix`,`size`,`slotProps`,`suffix`,`type`,`variant`,`children`]),g=n(),_=c(()=>{let e={color:m.color,disabled:m.disabled,variant:m.variant,size:m.size,fullWidth:m.fullWidth};return g?g.componentsTV.input(e):t(e)});return(()=>{var t=d(),n=t.firstChild;return o(t,a(()=>m.slotProps?.base,{get class(){return e(_().base(),m.slotProps?.base?.class)}}),!1,!0),r(t,(()=>{var t=i(()=>!!m.prefix);return()=>t()?(()=>{var t=f();return o(t,a(()=>m.slotProps?.prefix,{get class(){return e(_().prefix(),m.slotProps?.prefix?.class)}}),!1,!0),r(t,()=>m.prefix),t})():null})(),n),o(n,a(h,{get type(){return m.type},get disabled(){return m.disabled},get size(){return m.inputSize},get class(){return e(_().input(),m.class)}}),!1,!1),r(t,(()=>{var t=i(()=>!!m.suffix);return()=>t()?(()=>{var t=f();return o(t,a(()=>m.slotProps?.suffix,{get class(){return e(_().suffix(),m.slotProps?.suffix?.class)}}),!1,!0),r(t,()=>m.suffix),t})():null})(),null),t})()};export{p as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './Input';
2
+ export * from './Input';
@@ -0,0 +1 @@
1
+ import"./Input.js";
@@ -0,0 +1,232 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const input: (theme?: Theme) => import('tailwind-variants').TVReturnType<{
3
+ color: Record<"default" | "success" | "warning" | "info" | "error", string>;
4
+ disabled: {
5
+ true: {};
6
+ false: {};
7
+ };
8
+ fullWidth: {
9
+ true: {
10
+ base: string;
11
+ };
12
+ false: {};
13
+ };
14
+ size: {
15
+ small: {
16
+ base: string;
17
+ input: string;
18
+ };
19
+ medium: {
20
+ base: string;
21
+ input: string;
22
+ };
23
+ large: {
24
+ base: string;
25
+ input: string;
26
+ };
27
+ };
28
+ variant: {
29
+ filled: {};
30
+ ghost: {};
31
+ outlined: {
32
+ base: string;
33
+ };
34
+ };
35
+ }, {
36
+ base: string[];
37
+ input: string[];
38
+ prefix: string;
39
+ suffix: string;
40
+ }, undefined, {
41
+ color: Record<"default" | "success" | "warning" | "info" | "error", string>;
42
+ disabled: {
43
+ true: {};
44
+ false: {};
45
+ };
46
+ fullWidth: {
47
+ true: {
48
+ base: string;
49
+ };
50
+ false: {};
51
+ };
52
+ size: {
53
+ small: {
54
+ base: string;
55
+ input: string;
56
+ };
57
+ medium: {
58
+ base: string;
59
+ input: string;
60
+ };
61
+ large: {
62
+ base: string;
63
+ input: string;
64
+ };
65
+ };
66
+ variant: {
67
+ filled: {};
68
+ ghost: {};
69
+ outlined: {
70
+ base: string;
71
+ };
72
+ };
73
+ }, {
74
+ base: string[];
75
+ input: string[];
76
+ prefix: string;
77
+ suffix: string;
78
+ }, import('tailwind-variants').TVReturnTypeLike<{
79
+ color: Record<"default" | "success" | "warning" | "info" | "error", string>;
80
+ disabled: {
81
+ true: {};
82
+ false: {};
83
+ };
84
+ fullWidth: {
85
+ true: {
86
+ base: string;
87
+ };
88
+ false: {};
89
+ };
90
+ size: {
91
+ small: {
92
+ base: string;
93
+ input: string;
94
+ };
95
+ medium: {
96
+ base: string;
97
+ input: string;
98
+ };
99
+ large: {
100
+ base: string;
101
+ input: string;
102
+ };
103
+ };
104
+ variant: {
105
+ filled: {};
106
+ ghost: {};
107
+ outlined: {
108
+ base: string;
109
+ };
110
+ };
111
+ }, {
112
+ base: string[];
113
+ input: string[];
114
+ prefix: string;
115
+ suffix: string;
116
+ }>>;
117
+ declare const _default: import('tailwind-variants').TVReturnType<{
118
+ color: Record<"default" | "success" | "warning" | "info" | "error", string>;
119
+ disabled: {
120
+ true: {};
121
+ false: {};
122
+ };
123
+ fullWidth: {
124
+ true: {
125
+ base: string;
126
+ };
127
+ false: {};
128
+ };
129
+ size: {
130
+ small: {
131
+ base: string;
132
+ input: string;
133
+ };
134
+ medium: {
135
+ base: string;
136
+ input: string;
137
+ };
138
+ large: {
139
+ base: string;
140
+ input: string;
141
+ };
142
+ };
143
+ variant: {
144
+ filled: {};
145
+ ghost: {};
146
+ outlined: {
147
+ base: string;
148
+ };
149
+ };
150
+ }, {
151
+ base: string[];
152
+ input: string[];
153
+ prefix: string;
154
+ suffix: string;
155
+ }, undefined, {
156
+ color: Record<"default" | "success" | "warning" | "info" | "error", string>;
157
+ disabled: {
158
+ true: {};
159
+ false: {};
160
+ };
161
+ fullWidth: {
162
+ true: {
163
+ base: string;
164
+ };
165
+ false: {};
166
+ };
167
+ size: {
168
+ small: {
169
+ base: string;
170
+ input: string;
171
+ };
172
+ medium: {
173
+ base: string;
174
+ input: string;
175
+ };
176
+ large: {
177
+ base: string;
178
+ input: string;
179
+ };
180
+ };
181
+ variant: {
182
+ filled: {};
183
+ ghost: {};
184
+ outlined: {
185
+ base: string;
186
+ };
187
+ };
188
+ }, {
189
+ base: string[];
190
+ input: string[];
191
+ prefix: string;
192
+ suffix: string;
193
+ }, import('tailwind-variants').TVReturnTypeLike<{
194
+ color: Record<"default" | "success" | "warning" | "info" | "error", string>;
195
+ disabled: {
196
+ true: {};
197
+ false: {};
198
+ };
199
+ fullWidth: {
200
+ true: {
201
+ base: string;
202
+ };
203
+ false: {};
204
+ };
205
+ size: {
206
+ small: {
207
+ base: string;
208
+ input: string;
209
+ };
210
+ medium: {
211
+ base: string;
212
+ input: string;
213
+ };
214
+ large: {
215
+ base: string;
216
+ input: string;
217
+ };
218
+ };
219
+ variant: {
220
+ filled: {};
221
+ ghost: {};
222
+ outlined: {
223
+ base: string;
224
+ };
225
+ };
226
+ }, {
227
+ base: string[];
228
+ input: string[];
229
+ prefix: string;
230
+ suffix: string;
231
+ }>>;
232
+ 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=[`filled`,`outlined`,`ghost`],a=(a=t)=>e({slots:{base:[`inline-flex items-center overflow-hidden`,a.rounded.small,a.focusWithin],input:[`w-full h-full border-0 outline-0`],prefix:`leading-1 shrink-0 ps-1.5 pe-1`,suffix:`leading-1 shrink-0 ps-1 pe-1.5`},variants:{color:n(a.colors,()=>``),disabled:{true:{},false:{}},fullWidth:{true:{base:`w-full`},false:{}},size:{small:{base:`h-6 text-sm`,input:`py-1 px-1.5`},medium:{base:`h-8 text-sm`,input:`py-1 px-1.5`},large:{base:`h-10 text-md`,input:`py-1.5 px-2`}},variant:{filled:{},ghost:{},outlined:{base:`border border-1`}}},compoundVariants:[...r(a.colors).flatMap(e=>i.flatMap(t=>{let n=a.colors[e][t];return[{color:e,disabled:!1,variant:t,class:{base:[n.background,n.border,n.text],prefix:[n.text],suffix:[n.text]}},{color:e,disabled:!0,variant:t,class:{base:[t===`filled`?a.disabled.background:``,t===`outlined`?a.disabled.border:``,a.disabled.text],prefix:[a.disabled.text],suffix:[a.disabled.text]}}]}))]}),o=a();export{o as default,a as input};
@@ -0,0 +1,16 @@
1
+ import { ComponentProps } from 'solid-js';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { ThemeColors } from '../styles/theme/colors';
4
+ import { default as labelDefaultStyles } from './style';
5
+ type LabelVariants = VariantProps<typeof labelDefaultStyles>;
6
+ export type LabelProps = {
7
+ class?: string;
8
+ color?: keyof ThemeColors;
9
+ disabled?: LabelVariants["disabled"];
10
+ for?: string;
11
+ required?: boolean;
12
+ size?: LabelVariants["size"];
13
+ truncate?: boolean;
14
+ } & ComponentProps<"label">;
15
+ declare const Label: (props: LabelProps) => import("solid-js").JSX.Element;
16
+ export default Label;
@@ -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{mergeProps as r,spread as i,template as a}from"solid-js/web";import{createMemo as o,mergeProps as s,splitProps as c}from"solid-js";var l=a(`<label>`),u=a=>{let u=s({color:`default`,disabled:!1,size:`medium`,truncate:!1},a),[d,f]=c(u,[`class`,`color`,`disabled`,`required`,`size`,`truncate`]),p=n(),m=o(()=>{let e={color:d.color,disabled:d.disabled,required:d.required,size:d.size,truncate:d.truncate};return p?p.componentsTV.label(e):t(e)});return(()=>{var t=l();return i(t,r(f,{get class(){return e(m(),d.class)}}),!1,!1),t})()};export{u as default};
@@ -0,0 +1,2 @@
1
+ export { default } from './Label';
2
+ export * from './Label';
@@ -0,0 +1 @@
1
+ import"./Label.js";
@@ -0,0 +1,118 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare const label: (theme?: Theme) => import('tailwind-variants').TVReturnType<{
3
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
4
+ disabled: {
5
+ true: "";
6
+ false: "";
7
+ };
8
+ required: {
9
+ true: string[];
10
+ false: "";
11
+ };
12
+ size: {
13
+ small: "text-sm";
14
+ medium: "text-sm";
15
+ large: "text-md";
16
+ };
17
+ truncate: {
18
+ true: "truncate";
19
+ false: "";
20
+ };
21
+ }, undefined, string[], {
22
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
23
+ disabled: {
24
+ true: "";
25
+ false: "";
26
+ };
27
+ required: {
28
+ true: string[];
29
+ false: "";
30
+ };
31
+ size: {
32
+ small: "text-sm";
33
+ medium: "text-sm";
34
+ large: "text-md";
35
+ };
36
+ truncate: {
37
+ true: "truncate";
38
+ false: "";
39
+ };
40
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
41
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
42
+ disabled: {
43
+ true: "";
44
+ false: "";
45
+ };
46
+ required: {
47
+ true: string[];
48
+ false: "";
49
+ };
50
+ size: {
51
+ small: "text-sm";
52
+ medium: "text-sm";
53
+ large: "text-md";
54
+ };
55
+ truncate: {
56
+ true: "truncate";
57
+ false: "";
58
+ };
59
+ }, undefined>>;
60
+ declare const _default: import('tailwind-variants').TVReturnType<{
61
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
62
+ disabled: {
63
+ true: "";
64
+ false: "";
65
+ };
66
+ required: {
67
+ true: string[];
68
+ false: "";
69
+ };
70
+ size: {
71
+ small: "text-sm";
72
+ medium: "text-sm";
73
+ large: "text-md";
74
+ };
75
+ truncate: {
76
+ true: "truncate";
77
+ false: "";
78
+ };
79
+ }, undefined, string[], {
80
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
81
+ disabled: {
82
+ true: "";
83
+ false: "";
84
+ };
85
+ required: {
86
+ true: string[];
87
+ false: "";
88
+ };
89
+ size: {
90
+ small: "text-sm";
91
+ medium: "text-sm";
92
+ large: "text-md";
93
+ };
94
+ truncate: {
95
+ true: "truncate";
96
+ false: "";
97
+ };
98
+ }, undefined, import('tailwind-variants').TVReturnTypeLike<{
99
+ color: Record<"default" | "success" | "warning" | "info" | "error", {}>;
100
+ disabled: {
101
+ true: "";
102
+ false: "";
103
+ };
104
+ required: {
105
+ true: string[];
106
+ false: "";
107
+ };
108
+ size: {
109
+ small: "text-sm";
110
+ medium: "text-sm";
111
+ large: "text-md";
112
+ };
113
+ truncate: {
114
+ true: "truncate";
115
+ false: "";
116
+ };
117
+ }, undefined>>;
118
+ 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=(i=t)=>e({base:[`block`,i.colors.default.ghost.text],variants:{color:n(i.colors,()=>({})),disabled:{true:``,false:``},required:{true:[`before:content-['*'] before:inline-block before:text-sm`,`before:pr-1 rtl:before:pl-1`,`before:text-red-800 dark:before:text-red-400`],false:``},size:{small:`text-sm`,medium:`text-sm`,large:`text-md`},truncate:{true:`truncate`,false:``}},compoundVariants:[...r(i.colors).flatMap(e=>[{color:e,disabled:!1,class:[i.colors[e].ghost.text]},{color:e,disabled:!0,class:[i.disabled.text]}])]}),a=i();export{a as default,i as label};