@cerberus-design/react 1.9.0 → 2.0.0-next.1793635870652.2aab4d5

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 (925) hide show
  1. package/dist/components/AnimatingUploadIcon.cjs +1 -2
  2. package/dist/components/AnimatingUploadIcon.js +1 -2
  3. package/dist/components/accordion/item-group.cjs +1 -2
  4. package/dist/components/accordion/item-group.d.cts +1 -1
  5. package/dist/components/accordion/item-group.d.ts +1 -1
  6. package/dist/components/accordion/item-group.js +1 -2
  7. package/dist/components/accordion/item-indicator.cjs +1 -2
  8. package/dist/components/accordion/item-indicator.d.cts +1 -1
  9. package/dist/components/accordion/item-indicator.d.ts +1 -1
  10. package/dist/components/accordion/item-indicator.js +1 -2
  11. package/dist/components/accordion/parts.cjs +1 -2
  12. package/dist/components/accordion/parts.js +1 -2
  13. package/dist/components/accordion/primitives.cjs +1 -2
  14. package/dist/components/accordion/primitives.d.cts +1 -1
  15. package/dist/components/accordion/primitives.d.ts +1 -1
  16. package/dist/components/accordion/primitives.js +1 -2
  17. package/dist/components/admonition/admonition.cjs +1 -2
  18. package/dist/components/admonition/admonition.js +1 -2
  19. package/dist/components/admonition/match-avatar.cjs +1 -2
  20. package/dist/components/admonition/match-avatar.d.cts +1 -1
  21. package/dist/components/admonition/match-avatar.d.ts +1 -1
  22. package/dist/components/admonition/match-avatar.js +1 -2
  23. package/dist/components/admonition/parts.cjs +1 -2
  24. package/dist/components/admonition/parts.js +1 -2
  25. package/dist/components/admonition/primitives.cjs +1 -2
  26. package/dist/components/admonition/primitives.d.cts +1 -1
  27. package/dist/components/admonition/primitives.d.ts +1 -1
  28. package/dist/components/admonition/primitives.js +1 -2
  29. package/dist/components/avatar/avatar.cjs +1 -2
  30. package/dist/components/avatar/avatar.js +1 -2
  31. package/dist/components/avatar/parts.cjs +1 -2
  32. package/dist/components/avatar/parts.js +1 -2
  33. package/dist/components/avatar/primitives.cjs +1 -2
  34. package/dist/components/avatar/primitives.d.cts +1 -1
  35. package/dist/components/avatar/primitives.d.ts +1 -1
  36. package/dist/components/avatar/primitives.js +1 -2
  37. package/dist/components/button/button.cjs +1 -2
  38. package/dist/components/button/button.js +3 -4
  39. package/dist/components/button/parts.cjs +1 -2
  40. package/dist/components/button/parts.js +1 -2
  41. package/dist/components/button/primitives.cjs +1 -2
  42. package/dist/components/button/primitives.d.cts +1 -1
  43. package/dist/components/button/primitives.d.ts +1 -1
  44. package/dist/components/button/primitives.js +1 -2
  45. package/dist/components/carousel/carousel.cjs +1 -2
  46. package/dist/components/carousel/carousel.js +1 -2
  47. package/dist/components/carousel/parts.cjs +1 -2
  48. package/dist/components/carousel/parts.js +1 -2
  49. package/dist/components/carousel/primitives.cjs +1 -2
  50. package/dist/components/carousel/primitives.d.cts +1 -1
  51. package/dist/components/carousel/primitives.d.ts +1 -1
  52. package/dist/components/carousel/primitives.js +1 -2
  53. package/dist/components/checkbox/checkbox-icon.cjs +1 -2
  54. package/dist/components/checkbox/checkbox-icon.js +1 -2
  55. package/dist/components/checkbox/checkbox.cjs +1 -2
  56. package/dist/components/checkbox/checkbox.d.cts +1 -1
  57. package/dist/components/checkbox/checkbox.d.ts +1 -1
  58. package/dist/components/checkbox/checkbox.js +1 -2
  59. package/dist/components/checkbox/parts.cjs +1 -2
  60. package/dist/components/checkbox/parts.js +1 -2
  61. package/dist/components/checkbox/primitives.cjs +1 -2
  62. package/dist/components/checkbox/primitives.d.cts +1 -1
  63. package/dist/components/checkbox/primitives.d.ts +1 -1
  64. package/dist/components/checkbox/primitives.js +1 -2
  65. package/dist/components/circular-progress/circular-progress.cjs +1 -2
  66. package/dist/components/circular-progress/circular-progress.js +1 -2
  67. package/dist/components/circular-progress/primitives.cjs +1 -2
  68. package/dist/components/circular-progress/primitives.d.cts +1 -1
  69. package/dist/components/circular-progress/primitives.d.ts +1 -1
  70. package/dist/components/circular-progress/primitives.js +1 -2
  71. package/dist/components/clipboard/copy-indicator.cjs +1 -2
  72. package/dist/components/clipboard/copy-indicator.js +1 -2
  73. package/dist/components/clipboard/copy-text.cjs +1 -2
  74. package/dist/components/clipboard/copy-text.js +1 -2
  75. package/dist/components/clipboard/parts.cjs +1 -2
  76. package/dist/components/clipboard/parts.js +1 -2
  77. package/dist/components/clipboard/primitives.cjs +1 -2
  78. package/dist/components/clipboard/primitives.js +1 -2
  79. package/dist/components/clipboard/trigger.cjs +1 -2
  80. package/dist/components/clipboard/trigger.js +1 -2
  81. package/dist/components/collapsible/parts.cjs +1 -2
  82. package/dist/components/collapsible/parts.js +1 -2
  83. package/dist/components/collapsible/primitives.cjs +1 -2
  84. package/dist/components/collapsible/primitives.d.cts +1 -1
  85. package/dist/components/collapsible/primitives.d.ts +1 -1
  86. package/dist/components/collapsible/primitives.js +1 -2
  87. package/dist/components/combobox/combobox.cjs +1 -2
  88. package/dist/components/combobox/combobox.d.cts +1 -1
  89. package/dist/components/combobox/combobox.d.ts +1 -1
  90. package/dist/components/combobox/combobox.js +1 -2
  91. package/dist/components/combobox/item-group.cjs +1 -2
  92. package/dist/components/combobox/item-group.js +1 -2
  93. package/dist/components/combobox/item.cjs +1 -2
  94. package/dist/components/combobox/item.js +1 -2
  95. package/dist/components/combobox/parts.cjs +1 -2
  96. package/dist/components/combobox/parts.js +1 -2
  97. package/dist/components/combobox/primitives.cjs +1 -2
  98. package/dist/components/combobox/primitives.d.cts +1 -1
  99. package/dist/components/combobox/primitives.d.ts +1 -1
  100. package/dist/components/combobox/primitives.js +1 -2
  101. package/dist/components/combobox/use-stateful-collection.cjs +1 -2
  102. package/dist/components/combobox/use-stateful-collection.js +1 -2
  103. package/dist/components/cta-dialog/context.cjs +1 -2
  104. package/dist/components/cta-dialog/context.js +1 -2
  105. package/dist/components/cta-dialog/provider.cjs +1 -2
  106. package/dist/components/cta-dialog/provider.js +1 -2
  107. package/dist/components/cta-dialog/trigger-item.cjs +1 -2
  108. package/dist/components/cta-dialog/trigger-item.js +1 -2
  109. package/dist/components/cta-dialog/utils.cjs +1 -2
  110. package/dist/components/cta-dialog/utils.js +1 -2
  111. package/dist/components/date-picker/calendar.cjs +1 -2
  112. package/dist/components/date-picker/calendar.js +1 -2
  113. package/dist/components/date-picker/content.cjs +1 -2
  114. package/dist/components/date-picker/content.js +1 -2
  115. package/dist/components/date-picker/date-picker.cjs +1 -2
  116. package/dist/components/date-picker/date-picker.js +1 -2
  117. package/dist/components/date-picker/day-view.cjs +1 -2
  118. package/dist/components/date-picker/day-view.js +1 -2
  119. package/dist/components/date-picker/input.cjs +1 -2
  120. package/dist/components/date-picker/input.js +1 -2
  121. package/dist/components/date-picker/month-view.cjs +1 -2
  122. package/dist/components/date-picker/month-view.js +1 -2
  123. package/dist/components/date-picker/parts.cjs +1 -2
  124. package/dist/components/date-picker/parts.js +1 -2
  125. package/dist/components/date-picker/primitives.cjs +1 -2
  126. package/dist/components/date-picker/primitives.js +1 -2
  127. package/dist/components/date-picker/range-input.cjs +1 -2
  128. package/dist/components/date-picker/range-input.js +1 -2
  129. package/dist/components/date-picker/trigger.cjs +1 -2
  130. package/dist/components/date-picker/trigger.js +1 -2
  131. package/dist/components/date-picker/view-control-group.cjs +1 -2
  132. package/dist/components/date-picker/view-control-group.js +1 -2
  133. package/dist/components/date-picker/year-view.cjs +1 -2
  134. package/dist/components/date-picker/year-view.js +1 -2
  135. package/dist/components/dialog/close-icon-trigger.cjs +1 -2
  136. package/dist/components/dialog/close-icon-trigger.js +1 -2
  137. package/dist/components/dialog/dialog.cjs +1 -2
  138. package/dist/components/dialog/dialog.js +1 -2
  139. package/dist/components/dialog/parts.cjs +1 -2
  140. package/dist/components/dialog/parts.js +1 -2
  141. package/dist/components/dialog/primitives.cjs +1 -2
  142. package/dist/components/dialog/primitives.d.cts +1 -1
  143. package/dist/components/dialog/primitives.d.ts +1 -1
  144. package/dist/components/dialog/primitives.js +1 -2
  145. package/dist/components/feature-flag/feature-flag.cjs +1 -2
  146. package/dist/components/feature-flag/feature-flag.js +1 -2
  147. package/dist/components/field/error-text.cjs +1 -2
  148. package/dist/components/field/error-text.js +1 -2
  149. package/dist/components/field/field.cjs +1 -2
  150. package/dist/components/field/field.js +1 -2
  151. package/dist/components/field/helper-text.cjs +1 -2
  152. package/dist/components/field/helper-text.js +1 -2
  153. package/dist/components/field/input.cjs +1 -2
  154. package/dist/components/field/input.d.cts +1 -1
  155. package/dist/components/field/input.d.ts +1 -1
  156. package/dist/components/field/input.js +1 -2
  157. package/dist/components/field/parts.cjs +1 -2
  158. package/dist/components/field/parts.js +1 -2
  159. package/dist/components/field/primitives.cjs +1 -2
  160. package/dist/components/field/primitives.d.cts +1 -1
  161. package/dist/components/field/primitives.d.ts +1 -1
  162. package/dist/components/field/primitives.js +1 -2
  163. package/dist/components/field/start-indicator.cjs +1 -2
  164. package/dist/components/field/start-indicator.js +1 -2
  165. package/dist/components/field/status-indicator.cjs +1 -2
  166. package/dist/components/field/status-indicator.js +1 -2
  167. package/dist/components/fieldset/fieldset.cjs +1 -2
  168. package/dist/components/fieldset/fieldset.js +1 -2
  169. package/dist/components/fieldset/parts.cjs +1 -2
  170. package/dist/components/fieldset/parts.js +1 -2
  171. package/dist/components/fieldset/primitives.cjs +1 -2
  172. package/dist/components/fieldset/primitives.d.cts +1 -1
  173. package/dist/components/fieldset/primitives.d.ts +1 -1
  174. package/dist/components/fieldset/primitives.js +1 -2
  175. package/dist/components/file-upload/file-status.cjs +1 -2
  176. package/dist/components/file-upload/file-status.d.cts +1 -1
  177. package/dist/components/file-upload/file-status.d.ts +1 -1
  178. package/dist/components/file-upload/file-status.js +1 -2
  179. package/dist/components/file-upload/file-uploader.cjs +1 -2
  180. package/dist/components/file-upload/file-uploader.js +1 -2
  181. package/dist/components/file-upload/helpers.cjs +1 -2
  182. package/dist/components/file-upload/helpers.js +1 -2
  183. package/dist/components/file-upload/img-preview.cjs +1 -2
  184. package/dist/components/file-upload/img-preview.js +1 -2
  185. package/dist/components/file-upload/parts.cjs +1 -2
  186. package/dist/components/file-upload/parts.js +1 -2
  187. package/dist/components/file-upload/primitives.cjs +1 -2
  188. package/dist/components/file-upload/primitives.d.cts +1 -1
  189. package/dist/components/file-upload/primitives.d.ts +1 -1
  190. package/dist/components/file-upload/primitives.js +1 -2
  191. package/dist/components/file-upload/utils.cjs +1 -2
  192. package/dist/components/file-upload/utils.js +1 -2
  193. package/dist/components/for/for.cjs +1 -2
  194. package/dist/components/for/for.js +1 -2
  195. package/dist/components/group/primitives.cjs +3 -5
  196. package/dist/components/group/primitives.d.cts +6 -6
  197. package/dist/components/group/primitives.d.ts +6 -6
  198. package/dist/components/group/primitives.js +4 -5
  199. package/dist/components/icon-button/button.cjs +1 -2
  200. package/dist/components/icon-button/button.js +1 -2
  201. package/dist/components/icon-button/primitives.cjs +1 -2
  202. package/dist/components/icon-button/primitives.d.cts +1 -1
  203. package/dist/components/icon-button/primitives.d.ts +1 -1
  204. package/dist/components/icon-button/primitives.js +1 -2
  205. package/dist/components/marquee/marquee.cjs +1 -2
  206. package/dist/components/marquee/marquee.js +1 -2
  207. package/dist/components/marquee/primitives.cjs +1 -2
  208. package/dist/components/marquee/primitives.d.cts +1 -1
  209. package/dist/components/marquee/primitives.d.ts +1 -1
  210. package/dist/components/marquee/primitives.js +1 -2
  211. package/dist/components/marquee/utils.cjs +1 -2
  212. package/dist/components/marquee/utils.js +1 -2
  213. package/dist/components/menu/menu.cjs +1 -2
  214. package/dist/components/menu/menu.js +1 -2
  215. package/dist/components/menu/primitives.cjs +1 -2
  216. package/dist/components/menu/primitives.js +1 -2
  217. package/dist/components/notifications/center.cjs +1 -2
  218. package/dist/components/notifications/center.js +1 -2
  219. package/dist/components/notifications/close-trigger.cjs +1 -2
  220. package/dist/components/notifications/close-trigger.js +1 -2
  221. package/dist/components/notifications/match-icon.cjs +1 -2
  222. package/dist/components/notifications/match-icon.js +1 -2
  223. package/dist/components/notifications/parts.cjs +1 -2
  224. package/dist/components/notifications/parts.js +1 -2
  225. package/dist/components/notifications/primitives.cjs +1 -2
  226. package/dist/components/notifications/primitives.d.cts +1 -1
  227. package/dist/components/notifications/primitives.d.ts +1 -1
  228. package/dist/components/notifications/primitives.js +1 -2
  229. package/dist/components/notifications/toaster.cjs +1 -2
  230. package/dist/components/notifications/toaster.js +1 -2
  231. package/dist/components/number-input/decrement-trigger.cjs +1 -2
  232. package/dist/components/number-input/decrement-trigger.js +1 -2
  233. package/dist/components/number-input/increment-trigger.cjs +1 -2
  234. package/dist/components/number-input/increment-trigger.js +1 -2
  235. package/dist/components/number-input/input.cjs +1 -2
  236. package/dist/components/number-input/input.js +1 -2
  237. package/dist/components/number-input/parts.cjs +1 -2
  238. package/dist/components/number-input/parts.js +1 -2
  239. package/dist/components/number-input/primitives.cjs +1 -2
  240. package/dist/components/number-input/primitives.d.cts +1 -1
  241. package/dist/components/number-input/primitives.d.ts +1 -1
  242. package/dist/components/number-input/primitives.js +1 -2
  243. package/dist/components/pagination/compact.cjs +1 -2
  244. package/dist/components/pagination/compact.js +1 -2
  245. package/dist/components/pagination/item-list.cjs +1 -2
  246. package/dist/components/pagination/item-list.js +1 -2
  247. package/dist/components/pagination/item.cjs +1 -2
  248. package/dist/components/pagination/item.js +1 -2
  249. package/dist/components/pagination/pagination.cjs +1 -2
  250. package/dist/components/pagination/pagination.js +1 -2
  251. package/dist/components/pagination/parts.cjs +1 -2
  252. package/dist/components/pagination/parts.js +1 -2
  253. package/dist/components/pagination/primitives.cjs +1 -2
  254. package/dist/components/pagination/primitives.js +1 -2
  255. package/dist/components/pagination/triggers.cjs +1 -2
  256. package/dist/components/pagination/triggers.js +1 -2
  257. package/dist/components/pin-input/input.cjs +1 -2
  258. package/dist/components/pin-input/input.js +1 -2
  259. package/dist/components/pin-input/parts.cjs +1 -2
  260. package/dist/components/pin-input/parts.js +1 -2
  261. package/dist/components/pin-input/primitives.cjs +1 -2
  262. package/dist/components/pin-input/primitives.d.cts +1 -1
  263. package/dist/components/pin-input/primitives.d.ts +1 -1
  264. package/dist/components/pin-input/primitives.js +1 -2
  265. package/dist/components/popover/parts.cjs +1 -2
  266. package/dist/components/popover/parts.js +1 -2
  267. package/dist/components/popover/placement-container.cjs +1 -2
  268. package/dist/components/popover/placement-container.js +1 -2
  269. package/dist/components/popover/popover.cjs +1 -2
  270. package/dist/components/popover/popover.js +1 -2
  271. package/dist/components/popover/primitives.cjs +1 -2
  272. package/dist/components/popover/primitives.d.cts +1 -1
  273. package/dist/components/popover/primitives.d.ts +1 -1
  274. package/dist/components/popover/primitives.js +1 -2
  275. package/dist/components/portal/portal.cjs +1 -2
  276. package/dist/components/portal/portal.js +1 -2
  277. package/dist/components/progress/primitives.cjs +1 -2
  278. package/dist/components/progress/primitives.d.cts +1 -1
  279. package/dist/components/progress/primitives.d.ts +1 -1
  280. package/dist/components/progress/primitives.js +1 -2
  281. package/dist/components/progress/progress-bar.cjs +1 -2
  282. package/dist/components/progress/progress-bar.js +1 -2
  283. package/dist/components/radio/parts.cjs +1 -2
  284. package/dist/components/radio/parts.js +1 -2
  285. package/dist/components/radio/primitives.cjs +1 -2
  286. package/dist/components/radio/primitives.d.cts +1 -1
  287. package/dist/components/radio/primitives.d.ts +1 -1
  288. package/dist/components/radio/primitives.js +1 -2
  289. package/dist/components/radio/radio.cjs +1 -2
  290. package/dist/components/radio/radio.d.cts +1 -1
  291. package/dist/components/radio/radio.d.ts +1 -1
  292. package/dist/components/radio/radio.js +1 -2
  293. package/dist/components/rating/parts.cjs +1 -2
  294. package/dist/components/rating/parts.js +1 -2
  295. package/dist/components/rating/primitives.cjs +1 -2
  296. package/dist/components/rating/primitives.d.cts +1 -1
  297. package/dist/components/rating/primitives.d.ts +1 -1
  298. package/dist/components/rating/primitives.js +1 -2
  299. package/dist/components/rating/rating.cjs +1 -2
  300. package/dist/components/rating/rating.js +1 -2
  301. package/dist/components/select/option-group.cjs +1 -2
  302. package/dist/components/select/option-group.js +1 -2
  303. package/dist/components/select/option.cjs +1 -2
  304. package/dist/components/select/option.js +1 -2
  305. package/dist/components/select/parts.cjs +1 -2
  306. package/dist/components/select/parts.js +1 -2
  307. package/dist/components/select/primitives.cjs +1 -2
  308. package/dist/components/select/primitives.d.cts +1 -1
  309. package/dist/components/select/primitives.d.ts +1 -1
  310. package/dist/components/select/primitives.js +1 -2
  311. package/dist/components/select/select.cjs +1 -2
  312. package/dist/components/select/select.js +1 -2
  313. package/dist/components/show/show.cjs +1 -2
  314. package/dist/components/show/show.js +1 -2
  315. package/dist/components/slider/marks.cjs +1 -2
  316. package/dist/components/slider/marks.js +1 -2
  317. package/dist/components/slider/primitives.cjs +1 -2
  318. package/dist/components/slider/primitives.d.cts +1 -1
  319. package/dist/components/slider/primitives.d.ts +1 -1
  320. package/dist/components/slider/primitives.js +1 -2
  321. package/dist/components/slider/slider.cjs +1 -2
  322. package/dist/components/slider/slider.js +1 -2
  323. package/dist/components/slider/thumbs.cjs +1 -2
  324. package/dist/components/slider/thumbs.js +1 -2
  325. package/dist/components/spinner/spinner.cjs +1 -2
  326. package/dist/components/spinner/spinner.js +1 -2
  327. package/dist/components/split-button/button.cjs +1 -2
  328. package/dist/components/split-button/button.js +1 -2
  329. package/dist/components/switch/parts.cjs +1 -2
  330. package/dist/components/switch/parts.js +1 -2
  331. package/dist/components/switch/primitives.cjs +1 -2
  332. package/dist/components/switch/primitives.d.cts +1 -1
  333. package/dist/components/switch/primitives.d.ts +1 -1
  334. package/dist/components/switch/primitives.js +1 -2
  335. package/dist/components/switch/switch-indicator.cjs +1 -2
  336. package/dist/components/switch/switch-indicator.js +1 -2
  337. package/dist/components/switch/switch.cjs +1 -2
  338. package/dist/components/switch/switch.js +1 -2
  339. package/dist/components/table/parts.cjs +1 -2
  340. package/dist/components/table/parts.js +1 -2
  341. package/dist/components/table/primitives.cjs +1 -2
  342. package/dist/components/table/primitives.d.cts +1 -1
  343. package/dist/components/table/primitives.d.ts +1 -1
  344. package/dist/components/table/primitives.js +1 -2
  345. package/dist/components/table/table.cjs +1 -2
  346. package/dist/components/table/table.js +1 -2
  347. package/dist/components/tabs/parts.cjs +1 -2
  348. package/dist/components/tabs/parts.js +1 -2
  349. package/dist/components/tabs/primitives.cjs +1 -2
  350. package/dist/components/tabs/primitives.d.cts +1 -1
  351. package/dist/components/tabs/primitives.d.ts +1 -1
  352. package/dist/components/tabs/primitives.js +1 -2
  353. package/dist/components/tabs/tabs.cjs +1 -2
  354. package/dist/components/tabs/tabs.js +1 -2
  355. package/dist/components/tag/closable.cjs +18 -10
  356. package/dist/components/tag/closable.d.cts +1 -8
  357. package/dist/components/tag/closable.d.ts +1 -8
  358. package/dist/components/tag/closable.js +19 -11
  359. package/dist/components/tag/index.cjs +4 -1
  360. package/dist/components/tag/index.js +2 -2
  361. package/dist/components/tag/primitives.cjs +12 -7
  362. package/dist/components/tag/primitives.d.cts +25 -5
  363. package/dist/components/tag/primitives.d.ts +25 -5
  364. package/dist/components/tag/primitives.js +10 -8
  365. package/dist/components/tag/tag.cjs +16 -19
  366. package/dist/components/tag/tag.d.cts +3 -5
  367. package/dist/components/tag/tag.d.ts +3 -5
  368. package/dist/components/tag/tag.js +17 -20
  369. package/dist/components/text/text.cjs +1 -2
  370. package/dist/components/text/text.js +1 -2
  371. package/dist/components/theme/theme.cjs +3 -3
  372. package/dist/components/theme/theme.d.cts +2 -3
  373. package/dist/components/theme/theme.d.ts +2 -3
  374. package/dist/components/theme/theme.js +3 -3
  375. package/dist/components/toggle/parts.cjs +1 -2
  376. package/dist/components/toggle/parts.js +1 -2
  377. package/dist/components/toggle/primitives.cjs +1 -2
  378. package/dist/components/toggle/primitives.js +1 -2
  379. package/dist/components/tooltip/parts.cjs +1 -2
  380. package/dist/components/tooltip/parts.js +1 -2
  381. package/dist/components/tooltip/primitives.cjs +1 -2
  382. package/dist/components/tooltip/primitives.js +1 -2
  383. package/dist/components/tooltip/renderer.cjs +1 -2
  384. package/dist/components/tooltip/renderer.js +1 -2
  385. package/dist/components/tooltip/tooltip.cjs +1 -2
  386. package/dist/components/tooltip/tooltip.js +1 -2
  387. package/dist/config/defineIcons.cjs +1 -2
  388. package/dist/config/defineIcons.js +1 -2
  389. package/dist/config/icons/checkbox.icons.cjs +1 -2
  390. package/dist/config/icons/checkbox.icons.js +1 -2
  391. package/dist/config/icons/default.cjs +1 -2
  392. package/dist/config/icons/default.js +1 -2
  393. package/dist/config/icons/pinned.icons.cjs +1 -2
  394. package/dist/config/icons/pinned.icons.js +1 -2
  395. package/dist/config/icons/sort.icons.cjs +1 -2
  396. package/dist/config/icons/sort.icons.js +1 -2
  397. package/dist/config/index.cjs +1 -2
  398. package/dist/config/index.js +1 -2
  399. package/dist/context/cerberus.cjs +1 -2
  400. package/dist/context/cerberus.js +1 -2
  401. package/dist/context/confirm-modal.cjs +1 -2
  402. package/dist/context/confirm-modal.js +1 -2
  403. package/dist/context/feature-flags.cjs +1 -2
  404. package/dist/context/feature-flags.js +1 -2
  405. package/dist/context/navMenu.cjs +1 -2
  406. package/dist/context/navMenu.js +1 -2
  407. package/dist/context/prompt-modal.cjs +1 -2
  408. package/dist/context/prompt-modal.js +1 -2
  409. package/dist/context/theme.cjs +1 -2
  410. package/dist/context/theme.js +1 -2
  411. package/dist/hooks/useRootColors.cjs +1 -2
  412. package/dist/hooks/useRootColors.js +1 -2
  413. package/dist/hooks/useTheme.cjs +1 -5
  414. package/dist/hooks/useTheme.js +1 -5
  415. package/dist/index.cjs +4 -1
  416. package/dist/index.js +2 -2
  417. package/dist/panda/buildinfo.json +13983 -0
  418. package/dist/panda/lib.json +241 -0
  419. package/dist/panda/preset.mjs +42757 -0
  420. package/dist/system/factory.cjs +1 -2
  421. package/dist/system/factory.d.cts +1 -1
  422. package/dist/system/factory.d.ts +1 -1
  423. package/dist/system/factory.js +1 -2
  424. package/dist/system/index.cjs +1 -2
  425. package/dist/system/index.js +1 -2
  426. package/dist/system/primitive-factory.cjs +1 -2
  427. package/dist/system/primitive-factory.d.cts +1 -1
  428. package/dist/system/primitive-factory.d.ts +1 -1
  429. package/dist/system/primitive-factory.js +1 -2
  430. package/dist/system/types.d.cts +3 -2
  431. package/dist/system/types.d.ts +3 -2
  432. package/dist/utils/index.cjs +1 -2
  433. package/dist/utils/index.js +1 -2
  434. package/dist/utils/localStorage.cjs +1 -2
  435. package/dist/utils/localStorage.js +1 -2
  436. package/package.json +90 -38
  437. package/src/components/AnimatingUploadIcon.tsx +83 -0
  438. package/src/components/accordion/index.ts +3 -0
  439. package/src/components/accordion/item-group.tsx +70 -0
  440. package/src/components/accordion/item-indicator.tsx +27 -0
  441. package/src/components/accordion/parts.ts +53 -0
  442. package/src/components/accordion/primitives.tsx +86 -0
  443. package/src/components/admonition/admonition.tsx +62 -0
  444. package/src/components/admonition/index.ts +3 -0
  445. package/src/components/admonition/match-avatar.tsx +54 -0
  446. package/src/components/admonition/parts.ts +53 -0
  447. package/src/components/admonition/primitives.tsx +64 -0
  448. package/src/components/avatar/avatar.tsx +51 -0
  449. package/src/components/avatar/index.ts +5 -0
  450. package/src/components/avatar/parts.ts +37 -0
  451. package/src/components/avatar/primitives.tsx +38 -0
  452. package/src/components/button/button.tsx +82 -0
  453. package/src/components/button/index.ts +3 -0
  454. package/src/components/button/parts.ts +32 -0
  455. package/src/components/button/primitives.tsx +39 -0
  456. package/src/components/carousel/carousel.tsx +55 -0
  457. package/src/components/carousel/index.ts +3 -0
  458. package/src/components/carousel/parts.ts +71 -0
  459. package/src/components/carousel/primitives.ts +58 -0
  460. package/src/components/checkbox/checkbox-icon.tsx +39 -0
  461. package/src/components/checkbox/checkbox.tsx +42 -0
  462. package/src/components/checkbox/index.ts +3 -0
  463. package/src/components/checkbox/parts.ts +59 -0
  464. package/src/components/checkbox/primitives.tsx +77 -0
  465. package/src/components/circular-progress/circular-progress.tsx +49 -0
  466. package/src/components/circular-progress/index.ts +2 -0
  467. package/src/components/circular-progress/primitives.ts +71 -0
  468. package/src/components/clipboard/copy-indicator.tsx +22 -0
  469. package/src/components/clipboard/copy-text.tsx +13 -0
  470. package/src/components/clipboard/index.ts +2 -0
  471. package/src/components/clipboard/parts.ts +74 -0
  472. package/src/components/clipboard/primitives.ts +56 -0
  473. package/src/components/clipboard/trigger.tsx +14 -0
  474. package/src/components/collapsible/index.ts +2 -0
  475. package/src/components/collapsible/parts.ts +53 -0
  476. package/src/components/collapsible/primitives.tsx +48 -0
  477. package/src/components/combobox/combobox.tsx +63 -0
  478. package/src/components/combobox/index.ts +6 -0
  479. package/src/components/combobox/item-group.tsx +19 -0
  480. package/src/components/combobox/item.tsx +30 -0
  481. package/src/components/combobox/parts.ts +107 -0
  482. package/src/components/combobox/primitives.tsx +140 -0
  483. package/src/components/combobox/use-stateful-collection.ts +67 -0
  484. package/src/components/cta-dialog/context.tsx +38 -0
  485. package/src/components/cta-dialog/index.ts +2 -0
  486. package/src/components/cta-dialog/provider.tsx +182 -0
  487. package/src/components/cta-dialog/trigger-item.tsx +54 -0
  488. package/src/components/cta-dialog/utils.ts +57 -0
  489. package/src/components/date-picker/calendar.tsx +47 -0
  490. package/src/components/date-picker/content.tsx +21 -0
  491. package/src/components/date-picker/date-picker.tsx +20 -0
  492. package/src/components/date-picker/day-view.tsx +77 -0
  493. package/src/components/date-picker/index.ts +16 -0
  494. package/src/components/date-picker/input.tsx +26 -0
  495. package/src/components/date-picker/month-view.tsx +49 -0
  496. package/src/components/date-picker/parts.ts +167 -0
  497. package/src/components/date-picker/primitives.tsx +235 -0
  498. package/src/components/date-picker/range-input.tsx +38 -0
  499. package/src/components/date-picker/trigger.tsx +28 -0
  500. package/src/components/date-picker/view-control-group.tsx +54 -0
  501. package/src/components/date-picker/year-view.tsx +47 -0
  502. package/src/components/dialog/close-icon-trigger.tsx +36 -0
  503. package/src/components/dialog/dialog.tsx +42 -0
  504. package/src/components/dialog/index.ts +8 -0
  505. package/src/components/dialog/parts.ts +71 -0
  506. package/src/components/dialog/primitives.tsx +84 -0
  507. package/src/components/feature-flag/feature-flag.tsx +21 -0
  508. package/src/components/feature-flag/index.ts +1 -0
  509. package/src/components/field/error-text.tsx +19 -0
  510. package/src/components/field/field.tsx +85 -0
  511. package/src/components/field/helper-text.tsx +20 -0
  512. package/src/components/field/index.ts +7 -0
  513. package/src/components/field/input.tsx +47 -0
  514. package/src/components/field/parts.ts +77 -0
  515. package/src/components/field/primitives.tsx +135 -0
  516. package/src/components/field/start-indicator.tsx +23 -0
  517. package/src/components/field/status-indicator.tsx +58 -0
  518. package/src/components/fieldset/fieldset.tsx +54 -0
  519. package/src/components/fieldset/index.ts +3 -0
  520. package/src/components/fieldset/parts.ts +47 -0
  521. package/src/components/fieldset/primitives.tsx +48 -0
  522. package/src/components/file-upload/file-status.tsx +271 -0
  523. package/src/components/file-upload/file-uploader.tsx +60 -0
  524. package/src/components/file-upload/helpers.ts +28 -0
  525. package/src/components/file-upload/img-preview.tsx +41 -0
  526. package/src/components/file-upload/index.ts +6 -0
  527. package/src/components/file-upload/parts.tsx +132 -0
  528. package/src/components/file-upload/primitives.ts +161 -0
  529. package/src/components/file-upload/utils.ts +20 -0
  530. package/src/components/for/for.tsx +38 -0
  531. package/src/components/for/index.ts +1 -0
  532. package/src/components/group/index.ts +1 -0
  533. package/src/components/group/primitives.ts +7 -0
  534. package/src/components/icon-button/button.tsx +36 -0
  535. package/src/components/icon-button/index.tsx +2 -0
  536. package/src/components/icon-button/primitives.ts +17 -0
  537. package/src/components/marquee/Marquee.1.tsx +0 -0
  538. package/src/components/marquee/index.ts +2 -0
  539. package/src/components/marquee/marquee.tsx +55 -0
  540. package/src/components/marquee/primitives.ts +25 -0
  541. package/src/components/marquee/utils.ts +51 -0
  542. package/src/components/menu/index.ts +2 -0
  543. package/src/components/menu/menu.tsx +144 -0
  544. package/src/components/menu/primitives.ts +84 -0
  545. package/src/components/notifications/center.tsx +71 -0
  546. package/src/components/notifications/close-trigger.tsx +21 -0
  547. package/src/components/notifications/index.ts +5 -0
  548. package/src/components/notifications/match-icon.tsx +32 -0
  549. package/src/components/notifications/parts.ts +53 -0
  550. package/src/components/notifications/primitives.tsx +66 -0
  551. package/src/components/notifications/toaster.ts +9 -0
  552. package/src/components/notifications/types.ts +7 -0
  553. package/src/components/number-input/decrement-trigger.tsx +16 -0
  554. package/src/components/number-input/increment-trigger.tsx +16 -0
  555. package/src/components/number-input/index.ts +3 -0
  556. package/src/components/number-input/input.tsx +33 -0
  557. package/src/components/number-input/parts.ts +65 -0
  558. package/src/components/number-input/primitives.tsx +74 -0
  559. package/src/components/pagination/compact.tsx +25 -0
  560. package/src/components/pagination/index.ts +6 -0
  561. package/src/components/pagination/item-list.tsx +34 -0
  562. package/src/components/pagination/item.tsx +6 -0
  563. package/src/components/pagination/pagination.tsx +49 -0
  564. package/src/components/pagination/parts.ts +65 -0
  565. package/src/components/pagination/primitives.ts +46 -0
  566. package/src/components/pagination/triggers.tsx +47 -0
  567. package/src/components/pin-input/index.ts +3 -0
  568. package/src/components/pin-input/input.tsx +22 -0
  569. package/src/components/pin-input/parts.ts +53 -0
  570. package/src/components/pin-input/primitives.tsx +46 -0
  571. package/src/components/popover/index.ts +3 -0
  572. package/src/components/popover/parts.ts +96 -0
  573. package/src/components/popover/placement-container.tsx +22 -0
  574. package/src/components/popover/popover.tsx +54 -0
  575. package/src/components/popover/primitives.ts +83 -0
  576. package/src/components/portal/index.ts +1 -0
  577. package/src/components/portal/portal.tsx +28 -0
  578. package/src/components/progress/index.ts +2 -0
  579. package/src/components/progress/primitives.ts +25 -0
  580. package/src/components/progress/progress-bar.tsx +80 -0
  581. package/src/components/radio/index.ts +3 -0
  582. package/src/components/radio/parts.ts +65 -0
  583. package/src/components/radio/primitives.tsx +92 -0
  584. package/src/components/radio/radio.tsx +35 -0
  585. package/src/components/rating/index.ts +8 -0
  586. package/src/components/rating/parts.tsx +65 -0
  587. package/src/components/rating/primitives.tsx +64 -0
  588. package/src/components/rating/rating.tsx +75 -0
  589. package/src/components/select/index.ts +5 -0
  590. package/src/components/select/option-group.tsx +32 -0
  591. package/src/components/select/option.tsx +42 -0
  592. package/src/components/select/parts.ts +113 -0
  593. package/src/components/select/primitives.tsx +147 -0
  594. package/src/components/select/select.tsx +110 -0
  595. package/src/components/show/index.ts +1 -0
  596. package/src/components/show/show.tsx +48 -0
  597. package/src/components/slider/index.ts +2 -0
  598. package/src/components/slider/marks.tsx +42 -0
  599. package/src/components/slider/primitives.ts +87 -0
  600. package/src/components/slider/slider.tsx +86 -0
  601. package/src/components/slider/thumbs.tsx +31 -0
  602. package/src/components/spinner/index.ts +1 -0
  603. package/src/components/spinner/spinner.tsx +81 -0
  604. package/src/components/split-button/button.tsx +71 -0
  605. package/src/components/split-button/index.tsx +1 -0
  606. package/src/components/switch/index.ts +3 -0
  607. package/src/components/switch/parts.ts +53 -0
  608. package/src/components/switch/primitives.tsx +51 -0
  609. package/src/components/switch/switch-indicator.tsx +9 -0
  610. package/src/components/switch/switch.tsx +27 -0
  611. package/src/components/table/index.ts +3 -0
  612. package/src/components/table/parts.ts +83 -0
  613. package/src/components/table/primitives.tsx +108 -0
  614. package/src/components/table/table.tsx +73 -0
  615. package/src/components/tabs/index.ts +3 -0
  616. package/src/components/tabs/parts.ts +53 -0
  617. package/src/components/tabs/primitives.tsx +47 -0
  618. package/src/components/tabs/tabs.tsx +48 -0
  619. package/src/components/tag/closable.tsx +37 -0
  620. package/src/components/tag/index.ts +2 -0
  621. package/src/components/tag/primitives.ts +38 -0
  622. package/src/components/tag/tag.tsx +37 -0
  623. package/src/components/text/index.ts +1 -0
  624. package/src/components/text/text.tsx +55 -0
  625. package/src/components/theme/index.ts +1 -0
  626. package/src/components/theme/theme.tsx +34 -0
  627. package/src/components/toggle/index.ts +2 -0
  628. package/src/components/toggle/parts.ts +32 -0
  629. package/src/components/toggle/primitives.tsx +27 -0
  630. package/src/components/tooltip/index.ts +3 -0
  631. package/src/components/tooltip/parts.ts +59 -0
  632. package/src/components/tooltip/primitives.ts +56 -0
  633. package/src/components/tooltip/renderer.tsx +16 -0
  634. package/src/components/tooltip/tooltip.tsx +53 -0
  635. package/src/config/defineIcons.ts +24 -0
  636. package/src/config/icons/checkbox.icons.tsx +98 -0
  637. package/src/config/icons/default.ts +92 -0
  638. package/src/config/icons/pinned.icons.tsx +31 -0
  639. package/src/config/icons/sort.icons.tsx +19 -0
  640. package/src/config/index.ts +41 -0
  641. package/src/config/types.ts +65 -0
  642. package/src/context/cerberus.tsx +53 -0
  643. package/src/context/confirm-modal.tsx +276 -0
  644. package/src/context/feature-flags.tsx +63 -0
  645. package/src/context/field.tsx +70 -0
  646. package/src/context/navMenu.tsx +89 -0
  647. package/src/context/prompt-modal.tsx +287 -0
  648. package/src/context/theme.tsx +77 -0
  649. package/src/hooks/useModal.ts +63 -0
  650. package/src/hooks/useRootColors.ts +72 -0
  651. package/src/hooks/useTheme.ts +96 -0
  652. package/src/index.client.ts +133 -0
  653. package/src/index.ts +79 -0
  654. package/src/system/factory.ts +32 -0
  655. package/src/system/index.ts +47 -0
  656. package/src/system/primitive-factory.tsx +182 -0
  657. package/src/system/types.ts +92 -0
  658. package/src/types.ts +23 -0
  659. package/src/utils/index.ts +51 -0
  660. package/src/utils/localStorage.ts +28 -0
  661. package/styled-system/css/conditions.d.ts +7 -0
  662. package/styled-system/css/conditions.js +32 -0
  663. package/styled-system/css/css.d.ts +22 -0
  664. package/styled-system/css/css.js +63 -0
  665. package/styled-system/css/cva.d.ts +5 -0
  666. package/styled-system/css/cva.js +51 -0
  667. package/styled-system/css/cx.d.ts +6 -0
  668. package/styled-system/css/cx.js +16 -0
  669. package/styled-system/css/first-that-works.d.ts +22 -0
  670. package/styled-system/css/first-that-works.js +1 -0
  671. package/styled-system/css/index.d.ts +8 -0
  672. package/styled-system/css/index.js +8 -0
  673. package/styled-system/css/keyframes.d.ts +5 -0
  674. package/styled-system/css/keyframes.js +8 -0
  675. package/styled-system/css/position-try.d.ts +5 -0
  676. package/styled-system/css/position-try.js +11 -0
  677. package/styled-system/css/sva.d.ts +3 -0
  678. package/styled-system/css/sva.js +49 -0
  679. package/styled-system/css/view-transition.d.ts +7 -0
  680. package/styled-system/css/view-transition.js +18 -0
  681. package/styled-system/helpers.d.ts +67 -0
  682. package/styled-system/helpers.js +624 -0
  683. package/styled-system/jsx/animate-in.d.ts +7 -0
  684. package/styled-system/jsx/animate-in.js +11 -0
  685. package/styled-system/jsx/aspect-ratio.d.ts +7 -0
  686. package/styled-system/jsx/aspect-ratio.js +11 -0
  687. package/styled-system/jsx/bleed.d.ts +7 -0
  688. package/styled-system/jsx/bleed.js +11 -0
  689. package/styled-system/jsx/box.d.ts +7 -0
  690. package/styled-system/jsx/box.js +11 -0
  691. package/styled-system/jsx/center.d.ts +7 -0
  692. package/styled-system/jsx/center.js +11 -0
  693. package/styled-system/jsx/circle.d.ts +7 -0
  694. package/styled-system/jsx/circle.js +11 -0
  695. package/styled-system/jsx/container.d.ts +7 -0
  696. package/styled-system/jsx/container.js +11 -0
  697. package/styled-system/jsx/cq.d.ts +7 -0
  698. package/styled-system/jsx/cq.js +11 -0
  699. package/styled-system/jsx/create-recipe-context.d.ts +31 -0
  700. package/styled-system/jsx/create-recipe-context.js +38 -0
  701. package/styled-system/jsx/create-slot-recipe-context.d.ts +49 -0
  702. package/styled-system/jsx/create-slot-recipe-context.js +124 -0
  703. package/styled-system/jsx/divider.d.ts +7 -0
  704. package/styled-system/jsx/divider.js +11 -0
  705. package/styled-system/jsx/emphasized-fade-in.d.ts +7 -0
  706. package/styled-system/jsx/emphasized-fade-in.js +11 -0
  707. package/styled-system/jsx/emphasized-fade-out.d.ts +7 -0
  708. package/styled-system/jsx/emphasized-fade-out.js +11 -0
  709. package/styled-system/jsx/emphasized-slide-in.d.ts +7 -0
  710. package/styled-system/jsx/emphasized-slide-in.js +11 -0
  711. package/styled-system/jsx/emphasized-slide-out.d.ts +7 -0
  712. package/styled-system/jsx/emphasized-slide-out.js +11 -0
  713. package/styled-system/jsx/factory.d.ts +3 -0
  714. package/styled-system/jsx/factory.js +91 -0
  715. package/styled-system/jsx/flex.d.ts +7 -0
  716. package/styled-system/jsx/flex.js +11 -0
  717. package/styled-system/jsx/float.d.ts +7 -0
  718. package/styled-system/jsx/float.js +11 -0
  719. package/styled-system/jsx/grid-item.d.ts +7 -0
  720. package/styled-system/jsx/grid-item.js +11 -0
  721. package/styled-system/jsx/grid.d.ts +7 -0
  722. package/styled-system/jsx/grid.js +11 -0
  723. package/styled-system/jsx/helper.d.ts +34 -0
  724. package/styled-system/jsx/helper.js +92 -0
  725. package/styled-system/jsx/hstack.d.ts +7 -0
  726. package/styled-system/jsx/hstack.js +11 -0
  727. package/styled-system/jsx/index.d.ts +35 -0
  728. package/styled-system/jsx/index.js +34 -0
  729. package/styled-system/jsx/is-valid-prop.d.ts +6 -0
  730. package/styled-system/jsx/is-valid-prop.js +12 -0
  731. package/styled-system/jsx/link-overlay.d.ts +7 -0
  732. package/styled-system/jsx/link-overlay.js +11 -0
  733. package/styled-system/jsx/scale-fade-in.d.ts +7 -0
  734. package/styled-system/jsx/scale-fade-in.js +11 -0
  735. package/styled-system/jsx/scale-fade-out.d.ts +7 -0
  736. package/styled-system/jsx/scale-fade-out.js +11 -0
  737. package/styled-system/jsx/scrollable.d.ts +7 -0
  738. package/styled-system/jsx/scrollable.js +11 -0
  739. package/styled-system/jsx/slide-fade-in.d.ts +7 -0
  740. package/styled-system/jsx/slide-fade-in.js +11 -0
  741. package/styled-system/jsx/slide-fade-out.d.ts +7 -0
  742. package/styled-system/jsx/slide-fade-out.js +11 -0
  743. package/styled-system/jsx/spacer.d.ts +7 -0
  744. package/styled-system/jsx/spacer.js +11 -0
  745. package/styled-system/jsx/square.d.ts +7 -0
  746. package/styled-system/jsx/square.js +11 -0
  747. package/styled-system/jsx/stack.d.ts +7 -0
  748. package/styled-system/jsx/stack.js +11 -0
  749. package/styled-system/jsx/visually-hidden.d.ts +7 -0
  750. package/styled-system/jsx/visually-hidden.js +11 -0
  751. package/styled-system/jsx/vstack.d.ts +7 -0
  752. package/styled-system/jsx/vstack.js +11 -0
  753. package/styled-system/jsx/wrap.d.ts +7 -0
  754. package/styled-system/jsx/wrap.js +11 -0
  755. package/styled-system/patterns/animate-in.d.ts +19 -0
  756. package/styled-system/patterns/animate-in.js +26 -0
  757. package/styled-system/patterns/aspect-ratio.d.ts +19 -0
  758. package/styled-system/patterns/aspect-ratio.js +37 -0
  759. package/styled-system/patterns/bleed.d.ts +20 -0
  760. package/styled-system/patterns/bleed.js +30 -0
  761. package/styled-system/patterns/box.d.ts +17 -0
  762. package/styled-system/patterns/box.js +16 -0
  763. package/styled-system/patterns/center.d.ts +19 -0
  764. package/styled-system/patterns/center.js +22 -0
  765. package/styled-system/patterns/circle.d.ts +19 -0
  766. package/styled-system/patterns/circle.js +26 -0
  767. package/styled-system/patterns/container.d.ts +17 -0
  768. package/styled-system/patterns/container.js +26 -0
  769. package/styled-system/patterns/cq.d.ts +21 -0
  770. package/styled-system/patterns/cq.js +24 -0
  771. package/styled-system/patterns/divider.d.ts +22 -0
  772. package/styled-system/patterns/divider.js +31 -0
  773. package/styled-system/patterns/emphasized-fade-in.d.ts +17 -0
  774. package/styled-system/patterns/emphasized-fade-in.js +23 -0
  775. package/styled-system/patterns/emphasized-fade-out.d.ts +17 -0
  776. package/styled-system/patterns/emphasized-fade-out.js +23 -0
  777. package/styled-system/patterns/emphasized-slide-in.d.ts +17 -0
  778. package/styled-system/patterns/emphasized-slide-in.js +23 -0
  779. package/styled-system/patterns/emphasized-slide-out.d.ts +17 -0
  780. package/styled-system/patterns/emphasized-slide-out.js +23 -0
  781. package/styled-system/patterns/flex.d.ts +25 -0
  782. package/styled-system/patterns/flex.js +27 -0
  783. package/styled-system/patterns/float.d.ts +23 -0
  784. package/styled-system/patterns/float.js +84 -0
  785. package/styled-system/patterns/grid-item.d.ts +24 -0
  786. package/styled-system/patterns/grid-item.js +26 -0
  787. package/styled-system/patterns/grid.d.ts +24 -0
  788. package/styled-system/patterns/grid.js +30 -0
  789. package/styled-system/patterns/hstack.d.ts +20 -0
  790. package/styled-system/patterns/hstack.js +27 -0
  791. package/styled-system/patterns/index.d.ts +30 -0
  792. package/styled-system/patterns/index.js +30 -0
  793. package/styled-system/patterns/link-overlay.d.ts +17 -0
  794. package/styled-system/patterns/link-overlay.js +25 -0
  795. package/styled-system/patterns/runtime.js +25 -0
  796. package/styled-system/patterns/scale-fade-in.d.ts +17 -0
  797. package/styled-system/patterns/scale-fade-in.js +23 -0
  798. package/styled-system/patterns/scale-fade-out.d.ts +17 -0
  799. package/styled-system/patterns/scale-fade-out.js +23 -0
  800. package/styled-system/patterns/scrollable.d.ts +20 -0
  801. package/styled-system/patterns/scrollable.js +38 -0
  802. package/styled-system/patterns/slide-fade-in.d.ts +17 -0
  803. package/styled-system/patterns/slide-fade-in.js +23 -0
  804. package/styled-system/patterns/slide-fade-out.d.ts +17 -0
  805. package/styled-system/patterns/slide-fade-out.js +23 -0
  806. package/styled-system/patterns/spacer.d.ts +20 -0
  807. package/styled-system/patterns/spacer.js +26 -0
  808. package/styled-system/patterns/square.d.ts +19 -0
  809. package/styled-system/patterns/square.js +25 -0
  810. package/styled-system/patterns/stack.d.ts +22 -0
  811. package/styled-system/patterns/stack.js +30 -0
  812. package/styled-system/patterns/visually-hidden.d.ts +17 -0
  813. package/styled-system/patterns/visually-hidden.js +19 -0
  814. package/styled-system/patterns/vstack.d.ts +20 -0
  815. package/styled-system/patterns/vstack.js +27 -0
  816. package/styled-system/patterns/wrap.d.ts +23 -0
  817. package/styled-system/patterns/wrap.js +26 -0
  818. package/styled-system/recipes/accordion.d.ts +18 -0
  819. package/styled-system/recipes/accordion.js +5 -0
  820. package/styled-system/recipes/admonition.d.ts +18 -0
  821. package/styled-system/recipes/admonition.js +5 -0
  822. package/styled-system/recipes/avatar.d.ts +20 -0
  823. package/styled-system/recipes/avatar.js +5 -0
  824. package/styled-system/recipes/button-group.d.ts +16 -0
  825. package/styled-system/recipes/button-group.js +5 -0
  826. package/styled-system/recipes/button.d.ts +18 -0
  827. package/styled-system/recipes/button.js +5 -0
  828. package/styled-system/recipes/carousel.d.ts +16 -0
  829. package/styled-system/recipes/carousel.js +5 -0
  830. package/styled-system/recipes/checkbox.d.ts +18 -0
  831. package/styled-system/recipes/checkbox.js +5 -0
  832. package/styled-system/recipes/circular-progress.d.ts +19 -0
  833. package/styled-system/recipes/circular-progress.js +5 -0
  834. package/styled-system/recipes/closable-tag.d.ts +17 -0
  835. package/styled-system/recipes/closable-tag.js +5 -0
  836. package/styled-system/recipes/collapsible.d.ts +18 -0
  837. package/styled-system/recipes/collapsible.js +5 -0
  838. package/styled-system/recipes/combobox.d.ts +18 -0
  839. package/styled-system/recipes/combobox.js +5 -0
  840. package/styled-system/recipes/date-picker.d.ts +16 -0
  841. package/styled-system/recipes/date-picker.js +5 -0
  842. package/styled-system/recipes/dialog.d.ts +18 -0
  843. package/styled-system/recipes/dialog.js +5 -0
  844. package/styled-system/recipes/field-message.d.ts +14 -0
  845. package/styled-system/recipes/field-message.js +5 -0
  846. package/styled-system/recipes/field.d.ts +18 -0
  847. package/styled-system/recipes/field.js +5 -0
  848. package/styled-system/recipes/fieldset.d.ts +18 -0
  849. package/styled-system/recipes/fieldset.js +5 -0
  850. package/styled-system/recipes/file-status.d.ts +18 -0
  851. package/styled-system/recipes/file-status.js +5 -0
  852. package/styled-system/recipes/file-uploader.d.ts +16 -0
  853. package/styled-system/recipes/file-uploader.js +5 -0
  854. package/styled-system/recipes/gradient-tag.d.ts +17 -0
  855. package/styled-system/recipes/gradient-tag.js +5 -0
  856. package/styled-system/recipes/group.d.ts +16 -0
  857. package/styled-system/recipes/group.js +5 -0
  858. package/styled-system/recipes/icon-button.d.ts +18 -0
  859. package/styled-system/recipes/icon-button.js +5 -0
  860. package/styled-system/recipes/index.d.ts +46 -0
  861. package/styled-system/recipes/index.js +46 -0
  862. package/styled-system/recipes/input.d.ts +18 -0
  863. package/styled-system/recipes/input.js +5 -0
  864. package/styled-system/recipes/label.d.ts +17 -0
  865. package/styled-system/recipes/label.js +5 -0
  866. package/styled-system/recipes/marquee.d.ts +16 -0
  867. package/styled-system/recipes/marquee.js +5 -0
  868. package/styled-system/recipes/menu.d.ts +16 -0
  869. package/styled-system/recipes/menu.js +5 -0
  870. package/styled-system/recipes/modal.d.ts +16 -0
  871. package/styled-system/recipes/modal.js +5 -0
  872. package/styled-system/recipes/notification.d.ts +18 -0
  873. package/styled-system/recipes/notification.js +5 -0
  874. package/styled-system/recipes/number-input.d.ts +18 -0
  875. package/styled-system/recipes/number-input.js +5 -0
  876. package/styled-system/recipes/pin-input.d.ts +18 -0
  877. package/styled-system/recipes/pin-input.js +5 -0
  878. package/styled-system/recipes/popover.d.ts +18 -0
  879. package/styled-system/recipes/popover.js +5 -0
  880. package/styled-system/recipes/progress-bar.d.ts +19 -0
  881. package/styled-system/recipes/progress-bar.js +5 -0
  882. package/styled-system/recipes/radio-group.d.ts +19 -0
  883. package/styled-system/recipes/radio-group.js +5 -0
  884. package/styled-system/recipes/rating-group.d.ts +20 -0
  885. package/styled-system/recipes/rating-group.js +5 -0
  886. package/styled-system/recipes/runtime.js +133 -0
  887. package/styled-system/recipes/select.d.ts +18 -0
  888. package/styled-system/recipes/select.js +5 -0
  889. package/styled-system/recipes/slider.d.ts +21 -0
  890. package/styled-system/recipes/slider.js +5 -0
  891. package/styled-system/recipes/switch-recipe.d.ts +18 -0
  892. package/styled-system/recipes/switch-recipe.js +5 -0
  893. package/styled-system/recipes/table.d.ts +19 -0
  894. package/styled-system/recipes/table.js +5 -0
  895. package/styled-system/recipes/tabs.d.ts +19 -0
  896. package/styled-system/recipes/tabs.js +5 -0
  897. package/styled-system/recipes/tag.d.ts +18 -0
  898. package/styled-system/recipes/tag.js +5 -0
  899. package/styled-system/recipes/tbody.d.ts +16 -0
  900. package/styled-system/recipes/tbody.js +5 -0
  901. package/styled-system/recipes/td.d.ts +16 -0
  902. package/styled-system/recipes/td.js +5 -0
  903. package/styled-system/recipes/th.d.ts +16 -0
  904. package/styled-system/recipes/th.js +5 -0
  905. package/styled-system/recipes/thead.d.ts +14 -0
  906. package/styled-system/recipes/thead.js +5 -0
  907. package/styled-system/recipes/toast.d.ts +16 -0
  908. package/styled-system/recipes/toast.js +5 -0
  909. package/styled-system/recipes/toggle.d.ts +18 -0
  910. package/styled-system/recipes/toggle.js +5 -0
  911. package/styled-system/recipes/tooltip.d.ts +16 -0
  912. package/styled-system/recipes/tooltip.js +5 -0
  913. package/styled-system/themes/index.d.ts +20 -0
  914. package/styled-system/themes/index.js +24 -0
  915. package/styled-system/themes/theme-cerberus.json +5 -0
  916. package/styled-system/tokens/index.d.ts +8 -0
  917. package/styled-system/tokens/index.js +18 -0
  918. package/styled-system/types/index.d.ts +6 -0
  919. package/styled-system/types/jsx.d.ts +78 -0
  920. package/styled-system/types/pattern.d.ts +26 -0
  921. package/styled-system/types/recipe.d.ts +89 -0
  922. package/styled-system/types/register.d.ts +40 -0
  923. package/styled-system/types/system.d.ts +1935 -0
  924. package/styled-system/types/tokens.d.ts +72 -0
  925. package/dist/panda.buildinfo.json +0 -401
@@ -0,0 +1,32 @@
1
+ import { withoutSpace } from '../helpers';
2
+
3
+ const conditions = /* @__PURE__ */ new Set(/* @__PURE__ */ "2xl,2xlDown,2xlOnly,@/2xl,@/2xlDown,@/2xlOnly,@/2xlTo3xl,@/2xlTo4xl,@/2xlTo5xl,@/2xlTo6xl,@/2xlTo7xl,@/2xlTo8xl,@/2xs,@/2xsDown,@/2xsOnly,@/2xsTo2xl,@/2xsTo3xl,@/2xsTo4xl,@/2xsTo5xl,@/2xsTo6xl,@/2xsTo7xl,@/2xsTo8xl,@/2xsToLg,@/2xsToMd,@/2xsToSm,@/2xsToXl,@/2xsToXs,@/3xl,@/3xlDown,@/3xlOnly,@/3xlTo4xl,@/3xlTo5xl,@/3xlTo6xl,@/3xlTo7xl,@/3xlTo8xl,@/3xs,@/3xsDown,@/3xsOnly,@/3xsTo2xl,@/3xsTo2xs,@/3xsTo3xl,@/3xsTo4xl,@/3xsTo5xl,@/3xsTo6xl,@/3xsTo7xl,@/3xsTo8xl,@/3xsToLg,@/3xsToMd,@/3xsToSm,@/3xsToXl,@/3xsToXs,@/4xl,@/4xlDown,@/4xlOnly,@/4xlTo5xl,@/4xlTo6xl,@/4xlTo7xl,@/4xlTo8xl,@/5xl,@/5xlDown,@/5xlOnly,@/5xlTo6xl,@/5xlTo7xl,@/5xlTo8xl,@/6xl,@/6xlDown,@/6xlOnly,@/6xlTo7xl,@/6xlTo8xl,@/7xl,@/7xlDown,@/7xlOnly,@/7xlTo8xl,@/8xl,@/8xlDown,@/8xlOnly,@/lg,@/lgDown,@/lgOnly,@/lgTo2xl,@/lgTo3xl,@/lgTo4xl,@/lgTo5xl,@/lgTo6xl,@/lgTo7xl,@/lgTo8xl,@/lgToXl,@/md,@/mdDown,@/mdOnly,@/mdTo2xl,@/mdTo3xl,@/mdTo4xl,@/mdTo5xl,@/mdTo6xl,@/mdTo7xl,@/mdTo8xl,@/mdToLg,@/mdToXl,@/sm,@/smDown,@/smOnly,@/smTo2xl,@/smTo3xl,@/smTo4xl,@/smTo5xl,@/smTo6xl,@/smTo7xl,@/smTo8xl,@/smToLg,@/smToMd,@/smToXl,@/xl,@/xlDown,@/xlOnly,@/xlTo2xl,@/xlTo3xl,@/xlTo4xl,@/xlTo5xl,@/xlTo6xl,@/xlTo7xl,@/xlTo8xl,@/xs,@/xsDown,@/xsOnly,@/xsTo2xl,@/xsTo3xl,@/xsTo4xl,@/xsTo5xl,@/xsTo6xl,@/xsTo7xl,@/xsTo8xl,@/xsToLg,@/xsToMd,@/xsToSm,@/xsToXl,_action,_actionPalette,_active,_admin,_after,_anyPointerCoarse,_anyPointerFine,_anyPointerNone,_atValue,_autoComplete,_autofill,_backdrop,_before,_button,_checked,_closed,_complete,_current,_currentPage,_currentStep,_danger,_dangerPalette,_dark,_dataReadOnly,_default,_disabled,_dragging,_empty,_enabled,_endIndicator,_endRange,_even,_expanded,_file,_first,_firstLetter,_firstLine,_firstOfType,_focus,_focusVisible,_focusWithin,_fullscreen,_grabbed,_grammarError,_groupActive,_groupChecked,_groupDisabled,_groupExpanded,_groupFocus,_groupFocusVisible,_groupFocusWithin,_groupHover,_groupInvalid,_hidden,_highContrast,_highEmphasis,_highlight,_highlighted,_horizontal,_hover,_icon,_iconButton,_inRange,_incomplete,_indeterminate,_inert,_info,_infoPalette,_invalid,_invertedColors,_isComplete,_isDropped,_isOver,_label,_landscape,_last,_lastOfType,_leftPinned,_lessContrast,_lgSize,_light,_loading,_lowEmphasis,_ltr,_marker,_mdSize,_menuTrigger,_modalOpen,_moreContrast,_motionReduce,_motionSafe,_noscript,_notDisabled,_notify,_now,_odd,_only,_onlyOfType,_open,_optional,_osDark,_osLight,_outOfRange,_overValue,_page,_pagePalette,_pastDay,_paused,_peerActive,_peerChecked,_peerDisabled,_peerExpanded,_peerFocus,_peerFocusVisible,_peerFocusWithin,_peerHover,_peerInvalid,_peerPlaceholderShown,_pinned,_placeholder,_placeholderShown,_pointerCoarse,_pointerFine,_pointerNone,_portrait,_positionBottom,_positionLeft,_positionRight,_positionTop,_pressed,_print,_rangeEnd,_rangeStart,_readOnly,_readWrite,_required,_reverse,_rightPinned,_rtl,_screenReaderOnly,_scrollbar,_scrollbarThumb,_scrollbarTrack,_secondaryAction,_secondaryActionPalette,_selected,_selection,_sideBottom,_sideEnd,_sideStart,_sideTop,_smSize,_spellingError,_startIcon,_startIndicator,_startRange,_starting,_student,_subtleEmphasis,_success,_successPalette,_system,_target,_themeCerberus,_today,_tooltip,_topmost,_unavailable,_underValue,_user,_userInvalid,_userValid,_valid,_vertical,_visited,_warning,_warningPalette,_xlSize,_xsSize,base,lg,lgDown,lgOnly,lgTo2xl,lgToXl,md,mdDown,mdOnly,mdTo2xl,mdToLg,mdToXl,sm,smDown,smOnly,smTo2xl,smToLg,smToMd,smToXl,xl,xlDown,xlOnly,xlTo2xl".split(','))
4
+ const conditionRe = /^@|&/
5
+ const underscoreRe = /^_/
6
+ const selectorRe = /&|@/
7
+
8
+ export const breakpointKeys = ["base","sm","md","lg","xl","2xl"]
9
+
10
+ export function isCondition(v) {
11
+ return conditions.has(v) || conditionRe.test(v)
12
+ }
13
+
14
+ export function finalizeConditions(paths) {
15
+ return paths.map((p) => {
16
+ if (conditions.has(p)) {
17
+ return p.replace(underscoreRe, '')
18
+ }
19
+ if (selectorRe.test(p)) {
20
+ return `[${withoutSpace(p.trim())}]`
21
+ }
22
+ return p
23
+ })
24
+ }
25
+
26
+ export function sortConditions(paths) {
27
+ return [...paths].sort((a, b) => {
28
+ const aa = isCondition(a)
29
+ const bb = isCondition(b)
30
+ return aa && !bb ? 1 : !aa && bb ? -1 : 0
31
+ })
32
+ }
@@ -0,0 +1,22 @@
1
+ import type { SystemStyleObject } from '../types/system';
2
+
3
+ type Styles = SystemStyleObject | undefined | null | false
4
+ type StyleList = Styles | StyleList[]
5
+
6
+ interface CssRawFunction {
7
+ (styles: Styles): SystemStyleObject
8
+ (styles: StyleList[]): SystemStyleObject
9
+ (...styles: StyleList[]): SystemStyleObject
10
+ (styles: Styles): SystemStyleObject
11
+ }
12
+
13
+ interface CssFunction {
14
+ (styles: Styles): string
15
+ (styles: StyleList[]): string
16
+ (...styles: StyleList[]): string
17
+ (styles: Styles): string
18
+
19
+ raw: CssRawFunction
20
+ }
21
+
22
+ export declare const css: CssFunction;
@@ -0,0 +1,63 @@
1
+ import { createAssignCss, createMergeCss, createSerializeCss, createSerializeCssArgs, hypenateProperty, isObject, withoutSpace } from '../helpers';
2
+ import { breakpointKeys, finalizeConditions, sortConditions } from './conditions';
3
+
4
+ const utilities = "WebkitTextFillColor:wktf-c,accentColor:ac-c,alignContent:ac,alignItems:ai,alignSelf:as,animation:anim,animationComposition:anim-comp,animationDelay:anim-dly,animationDirection:anim-dir,animationDuration:anim-dur,animationFillMode:anim-fm,animationIterationCount:anim-ic,animationName:anim-n,animationPlayState:anim-ps,animationRange:anim-r,animationRangeEnd:anim-re,animationRangeStart:anim-rs,animationState:anim-s,animationStyle:animationStyle,animationTimeline:anim-tl,animationTimingFunction:anim-tmf,appearance:ap,aspectRatio:asp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropFilter:bkdp,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,backfaceVisibility:bfv,background:bg/1,backgroundAttachment:bg-a/bgAttachment,backgroundBlendMode:bg-bm/bgBlendMode,backgroundClip:bg-cp/bgClip,backgroundColor:bg-c/bgColor,backgroundConic:bg-conic/bgConic,backgroundGradient:bg-grad/bgGradient,backgroundImage:bg-i/bgImage,backgroundLinear:bg-linear/bgLinear,backgroundOrigin:bg-o/bgOrigin,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundRadial:bg-radial/bgRadial,backgroundRepeat:bg-r/bgRepeat,backgroundSize:bg-s/bgSize,blockSize:h-bs,border:bd,borderBlock:bd-y/borderY,borderBlockColor:bd-y-c/borderYColor,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockEndWidth:bd-be-w,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,borderBlockStartWidth:bd-bs-w,borderBlockWidth:bd-y-w/borderYWidth,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderBottomRadius:bdr-b/roundedBottom,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomWidth:bd-b-w,borderCollapse:bd-cl,borderColor:bd-c,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,borderEndStartRadius:bdr-es/roundedEndStart,borderGradient:/borderGrad,borderInline:bd-x/borderX,borderInlineColor:bd-x-c/borderXColor,borderInlineEnd:bd-e/borderEnd,borderInlineEndColor:bd-e-c/borderEndColor,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineStart:bd-s/borderStart,borderInlineStartColor:bd-s-c/borderStartColor,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineWidth:bd-x-w/borderXWidth,borderLeft:bd-l,borderLeftColor:bd-l-c,borderLeftRadius:bdr-l/roundedLeft,borderLeftWidth:bd-l-w,borderRadius:bdr/rounded,borderRight:bd-r,borderRightColor:bd-r-c,borderRightRadius:bdr-r/roundedRight,borderRightWidth:bd-r-w,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderStartStartRadius:bdr-ss/roundedStartStart,borderTop:bd-t,borderTopColor:bd-t-c,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRadius:bdr-t/roundedTop,borderTopRightRadius:bdr-tr/roundedTopRight,borderTopWidth:bd-t-w,borderWidth:bd-w,boxDecorationBreak:bx-db,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,boxSize:size,boxSizing:bx-s,caretColor:ca-c,clipPath:cp-path,color:c,columnGap:cg,container:cq,containerName:cq-n,containerType:cq-t,display:d,divideColor:dvd-c,divideStyle:dvd-s,divideX:dvd-x,divideY:dvd-y,flexBasis:flex-b,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,focusRingColor:focus-ring-c,focusRingOffset:focus-ring-o,focusRingStyle:focus-ring-s,focusRingWidth:focus-ring-w,focusVisibleRing:focus-v-ring,fontFamily:ff,fontFeatureSettings:ff-s,fontKerning:fk,fontPalette:fp,fontSize:fs,fontSizeAdjust:fs-a,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariantNumeric:fv-num,fontVariationSettings:fv-s,fontWeight:fw,gradient:/grad,gradientFrom:grad-from,gradientFromPosition:grad-from-pos,gradientTo:grad-to,gradientToPosition:grad-to-pos,gradientVia:grad-via,gradientViaPosition:grad-via-pos,gridAutoColumns:grid-ac,gridAutoFlow:grid-af,gridAutoRows:grid-ar,gridColumn:grid-c,gridColumnEnd:grid-ce,gridColumnGap:grid-cg,gridColumnStart:grid-cs,gridGap:grid-g,gridRow:grid-r,gridRowGap:grid-rg,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,height:h/1,hideBelow:show,hideFrom:hide,hyphens:hy,inlineSize:w-is,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInline:inset-x/insetX,insetInlineEnd:inset-e/end/insetEnd,insetInlineStart:inset-s/insetStart/start,justifyContent:jc,layerStyle:layerStyle,letterSpacing:ls,lineClamp:lc,lineHeight:lh,listStyle:li-s,listStyleImage:li-img,listStylePosition:li-pos,listStyleType:li-t,margin:m/1,marginBlock:my/marginY/1,marginBlockEnd:mbe,marginBlockStart:mbs,marginBottom:mb/1,marginInline:mx/marginX/1,marginInlineEnd:me/marginEnd/1,marginInlineStart:ms/marginStart/1,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,mask:msk,maskBottomFrom:msk-b-from,maskBottomFromColor:msk-b-from-c,maskBottomTo:msk-b-to,maskBottomToColor:msk-b-to-c,maskClip:msk-cp,maskComposite:msk-cmp,maskConic:msk-conic,maskConicFrom:msk-conic-from,maskConicFromColor:msk-conic-from-c,maskConicTo:msk-conic-to,maskConicToColor:msk-conic-to-c,maskImage:msk-i,maskLeftFrom:msk-l-from,maskLeftFromColor:msk-l-from-c,maskLeftTo:msk-l-to,maskLeftToColor:msk-l-to-c,maskLinear:msk-linear,maskLinearFrom:msk-linear-from,maskLinearFromColor:msk-linear-from-c,maskLinearTo:msk-linear-to,maskLinearToColor:msk-linear-to-c,maskMode:msk-md,maskOrigin:msk-o,maskPosition:msk-p,maskRadial:msk-radial,maskRadialAt:msk-radial-at,maskRadialFrom:msk-radial-from,maskRadialFromColor:msk-radial-from-c,maskRadialShape:msk-radial-shape,maskRadialSize:msk-radial-sz,maskRadialTo:msk-radial-to,maskRadialToColor:msk-radial-to-c,maskRepeat:msk-r,maskRightFrom:msk-r-from,maskRightFromColor:msk-r-from-c,maskRightTo:msk-r-to,maskRightToColor:msk-r-to-c,maskSize:msk-s,maskTopFrom:msk-t-from,maskTopFromColor:msk-t-from-c,maskTopTo:msk-t-to,maskTopToColor:msk-t-to-c,maskType:msk-t,maskXFrom:msk-x-from,maskXFromColor:msk-x-from-c,maskXTo:msk-x-to,maskXToColor:msk-x-to-c,maskYFrom:msk-y-from,maskYFromColor:msk-y-from-c,maskYTo:msk-y-to,maskYToColor:msk-y-to-c,maxBlockSize:max-b,maxHeight:max-h/maxH,maxInlineSize:max-w-is,maxWidth:max-w/maxW,minBlockSize:min-h-bs,minHeight:min-h/minH,minInlineSize:min-w-is,minWidth:min-w/minW,mixBlendMode:mix-bm,objectFit:obj-f,objectPosition:obj-p,opacity:op,outline:ring/1,outlineColor:ring-c/ringColor,outlineOffset:ring-o/ringOffset,outlineWidth:ring-w/ringWidth,overflow:ov,overflowAnchor:ov-a,overflowBlock:ov-b,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overflowInline:ov-i,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overscrollBehavior:ovs-b,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,padding:p/1,paddingBlock:py/paddingY/1,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingBottom:pb/1,paddingInline:px/paddingX/1,paddingInlineEnd:pe/paddingEnd/1,paddingInlineStart:ps/paddingStart/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,position:pos/1,rowGap:rg,scrollBehavior:scr-bhv,scrollMargin:scr-m,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginBottom:scr-mb,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockEnd:scr-pbe,scrollPaddingBlockStart:scr-pbs,scrollPaddingBottom:scr-pb,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollSnapAlign:scr-sa,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapMargin:scrs-m,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapMarginTop:scrs-mt,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapStop:scrs-s,scrollSnapStrictness:scrs-strt,scrollSnapType:scrs-t,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarThumb:scr-bar-th,scrollbarTrack:scr-bar-tk,scrollbarWidth:scr-bar-w,spaceX:sx,spaceY:sy,srOnly:sr,stroke:stk,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,strokeWidth:stk-w,tableLayout:tbl,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textEmphasisColor:te-c,textGradient:txt-grad,textIndent:ti,textOverflow:tov,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,textSizeAdjust:txt-adj,textStyle:textStyle,textTransform:tt,textUnderlineOffset:tu-o,textWrap:tw,touchAction:tch-a,transform:trf,transformBox:trf-b,transformOrigin:trf-o,transformStyle:trf-s,transition:trs,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transitionTimingFunction:trs-tmf,translateX:/x,translateY:/y,translateZ:/z,truncate:trunc,userSelect:us,verticalAlign:va,visibility:vis,width:w/1,wordBreak:wb,zIndex:z"
5
+
6
+ function createCssContext() {
7
+ const classNameByProp = new Map()
8
+ const shorthands = new Map()
9
+ if (utilities) {
10
+ utilities.split(",").forEach((utility) => {
11
+ const [prop, meta] = utility.split(":")
12
+ const [className, ...shorthandList] = meta.split("/")
13
+ if (className) classNameByProp.set(prop, className)
14
+ shorthandList.forEach((shorthand) => {
15
+ const key = shorthand === "1" ? className : shorthand
16
+ shorthands.set(key, prop)
17
+ })
18
+ })
19
+ }
20
+
21
+ const resolveShorthand = (prop) => shorthands.get(prop) || prop
22
+
23
+ return {
24
+ hash: false,
25
+ conditions: {
26
+ shift: sortConditions,
27
+ finalize: finalizeConditions,
28
+ breakpoints: { keys: breakpointKeys },
29
+ },
30
+ utility: {
31
+ prefix: "cerberus",
32
+ hasShorthand: true,
33
+ toHash(path, hashFn) {
34
+ return hashFn(path.join(":"))
35
+ },
36
+ transform(prop, value) {
37
+ const key = resolveShorthand(prop)
38
+ const propKey = classNameByProp.get(key) || hypenateProperty(key)
39
+ return { className: `${propKey}_${withoutSpace(value)}` }
40
+ },
41
+ resolveShorthand,
42
+ },
43
+ }
44
+ }
45
+
46
+ const cssContext = /* @__PURE__ */ createCssContext()
47
+ const serializeCss = /* @__PURE__ */ createSerializeCss(cssContext)
48
+ export const mergeCss = /* @__PURE__ */ createMergeCss(cssContext)
49
+ const serializeCssArgs = /* @__PURE__ */ createSerializeCssArgs(serializeCss, mergeCss)
50
+
51
+ export const css = /* @__PURE__ */ Object.assign(
52
+ function css(...styles) {
53
+ if (styles.length === 1 && isObject(styles[0])) return serializeCss(styles[0])
54
+ return serializeCssArgs(...styles)
55
+ },
56
+ {
57
+ raw: function cssRaw(...styles) {
58
+ return mergeCss(...styles)
59
+ },
60
+ },
61
+ )
62
+
63
+ export const assignCss = /* @__PURE__ */ createAssignCss(cssContext)
@@ -0,0 +1,5 @@
1
+ import type { RecipeCreatorFn } from '../types/recipe';
2
+
3
+ export declare const cva: RecipeCreatorFn;
4
+
5
+ export { RecipeVariant, RecipeVariantProps } from '../types/recipe';
@@ -0,0 +1,51 @@
1
+ import { getCompoundVariantCss, memo, mergeProps, splitProps, toVariantMap, uniq, withDefaults } from '../helpers';
2
+ import { css, mergeCss } from './css';
3
+
4
+ export const cva = (config) => {
5
+ const defaults = (c) => ({ base: {}, variants: {}, defaultVariants: {}, compoundVariants: [], ...c })
6
+ const { base, variants, defaultVariants, compoundVariants } = defaults(config)
7
+
8
+ const getVariantProps = (props) => withDefaults(defaultVariants, props)
9
+
10
+ const resolve = (props = {}) => {
11
+ const computed = getVariantProps(props)
12
+ const styles = [base]
13
+ for (const key in computed) {
14
+ const value = computed[key]
15
+ if (variants[key]?.[value]) styles.push(variants[key][value])
16
+ }
17
+ styles.push(getCompoundVariantCss(compoundVariants, computed))
18
+ return mergeCss(...styles)
19
+ }
20
+
21
+ const variantKeys = Object.keys(variants)
22
+ const variantMap = toVariantMap(variants)
23
+ const resolveMemo = memo(resolve)
24
+
25
+ const merge = (other) => {
26
+ const override = defaults(other.config)
27
+ const keys = uniq(other.variantKeys, variantKeys)
28
+ return cva({
29
+ base: mergeCss(base, override.base),
30
+ variants: Object.fromEntries(keys.map((key) => [key, mergeCss(variants[key], override.variants[key])])),
31
+ defaultVariants: mergeProps(defaultVariants, override.defaultVariants),
32
+ compoundVariants: [...compoundVariants, ...override.compoundVariants],
33
+ })
34
+ }
35
+
36
+ return Object.assign(memo(function cvaFn(props) {
37
+ return css(resolve(props))
38
+ }), {
39
+ __cva__: true,
40
+ variantMap,
41
+ variantKeys,
42
+ raw: resolve,
43
+ __memoizedRaw__: resolveMemo,
44
+ config,
45
+ merge,
46
+ splitVariantProps(props) {
47
+ return splitProps(props, variantKeys)
48
+ },
49
+ getVariantProps,
50
+ })
51
+ }
@@ -0,0 +1,6 @@
1
+ type Argument = string | boolean | null | undefined;
2
+
3
+ /**
4
+ * Conditionally join classNames into a single string
5
+ */
6
+ export declare function cx(...args: Argument[]): string;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Conditionally join classNames into a single string
3
+ */
4
+ export function cx(...args) {
5
+ let str = '',
6
+ i = 0,
7
+ arg
8
+
9
+ for (; i < arguments.length; ) {
10
+ if ((arg = arguments[i++]) && typeof arg === 'string') {
11
+ str && (str += ' ')
12
+ str += arg
13
+ }
14
+ }
15
+ return str
16
+ }
@@ -0,0 +1,22 @@
1
+ export type FirstThatWorksMember = string | number;
2
+
3
+ export type FirstThatWorksMemberOf<T> = Extract<T, FirstThatWorksMember>;
4
+
5
+ export type FirstThatWorksFn = <
6
+ T = FirstThatWorksMember,
7
+ A extends FirstThatWorksMemberOf<T> = FirstThatWorksMemberOf<T>,
8
+ B extends FirstThatWorksMemberOf<T> = FirstThatWorksMemberOf<T>,
9
+ C extends FirstThatWorksMemberOf<T> = never,
10
+ D extends FirstThatWorksMemberOf<T> = never,
11
+ E extends FirstThatWorksMemberOf<T> = never,
12
+ F extends FirstThatWorksMemberOf<T> = never,
13
+ >(
14
+ first: A,
15
+ second: B,
16
+ third?: C,
17
+ fourth?: D,
18
+ fifth?: E,
19
+ sixth?: F,
20
+ ) => T extends FirstThatWorksMember ? A | B | C | D | E | F : FirstThatWorksMemberOf<T>;
21
+
22
+ export declare const firstThatWorks: FirstThatWorksFn;
@@ -0,0 +1 @@
1
+ export const firstThatWorks = (...values) => `firstThatWorks(${values.join(', ')})`
@@ -0,0 +1,8 @@
1
+ export * from './css';
2
+ export * from './cva';
3
+ export * from './cx';
4
+ export * from './sva';
5
+ export * from './view-transition';
6
+ export * from './position-try';
7
+ export * from './keyframes';
8
+ export * from './first-that-works';
@@ -0,0 +1,8 @@
1
+ export * from './css';
2
+ export * from './cva';
3
+ export * from './cx';
4
+ export * from './sva';
5
+ export * from './view-transition';
6
+ export * from './position-try';
7
+ export * from './keyframes';
8
+ export * from './first-that-works';
@@ -0,0 +1,5 @@
1
+ import type { CssKeyframes } from '../types/system';
2
+
3
+ export type KeyframesFn = (keyframe: CssKeyframes[string]) => string;
4
+
5
+ export declare const keyframes: KeyframesFn;
@@ -0,0 +1,8 @@
1
+ import { stableStringify, toHash } from '../helpers';
2
+
3
+ export const keyframes = (keyframe) => {
4
+ const prefix = "cerberus"
5
+ const wrap = (base) => (prefix ? prefix + '-' + base : base)
6
+ const block = keyframe && typeof keyframe === 'object' ? keyframe : {}
7
+ return wrap('kf_' + toHash(stableStringify(block)))
8
+ }
@@ -0,0 +1,5 @@
1
+ import type { SystemStyleObject } from '../types/system';
2
+
3
+ export type PositionTryFn = (options: SystemStyleObject) => string;
4
+
5
+ export declare const positionTry: PositionTryFn;
@@ -0,0 +1,11 @@
1
+ import { stableStringify, toHash } from '../helpers';
2
+
3
+ export const positionTry = (options) => {
4
+ const prefix = "cerberus"
5
+ const wrap = (base) => '--' + (prefix ? prefix + '-' + base : base)
6
+ if (typeof options === 'string') {
7
+ return wrap('pt_' + options)
8
+ }
9
+ const block = options && typeof options === 'object' ? options : {}
10
+ return wrap('pt_' + toHash(stableStringify(block)))
11
+ }
@@ -0,0 +1,3 @@
1
+ import type { SlotRecipeCreatorFn } from '../types/recipe';
2
+
3
+ export declare const sva: SlotRecipeCreatorFn;
@@ -0,0 +1,49 @@
1
+ import { getSlotRecipes, memo, splitProps, toVariantMap, withDefaults } from '../helpers';
2
+ import { cva } from './cva';
3
+ import { cx } from './cx';
4
+
5
+ export const sva = (config) => {
6
+ const slotRecipes = getSlotRecipes(config)
7
+ const slots = []
8
+ for (const slot in slotRecipes) slots.push([slot, cva(slotRecipes[slot])])
9
+
10
+ const defaultVariants = config.defaultVariants ?? {}
11
+
12
+ const classNameMap = {}
13
+ if (config.className) {
14
+ for (const [slot, slotFn] of slots) classNameMap[slot] = slotFn.config.className
15
+ }
16
+
17
+ const variants = config.variants ?? {}
18
+ const variantKeys = Object.keys(variants)
19
+ const variantMap = toVariantMap(variants)
20
+
21
+ const svaFn = (props) => {
22
+ const result = {}
23
+ for (const [slot, slotFn] of slots) result[slot] = cx(slotFn(props), classNameMap[slot])
24
+ return result
25
+ }
26
+
27
+ const raw = (props) => {
28
+ const result = {}
29
+ for (const [slot, slotFn] of slots) result[slot] = slotFn.raw(props)
30
+ return result
31
+ }
32
+ const rawMemo = memo(raw)
33
+
34
+ return Object.assign(memo(svaFn), {
35
+ __cva__: false,
36
+ raw,
37
+ __memoizedRaw__: rawMemo,
38
+ config,
39
+ variantMap,
40
+ variantKeys,
41
+ classNameMap,
42
+ splitVariantProps(props) {
43
+ return splitProps(props, variantKeys)
44
+ },
45
+ getVariantProps(props) {
46
+ return withDefaults(defaultVariants, props)
47
+ },
48
+ })
49
+ }
@@ -0,0 +1,7 @@
1
+ import type { SystemStyleObject } from '../types/system';
2
+
3
+ export type ViewTransitionStyleObject = { group?: SystemStyleObject; imagePair?: SystemStyleObject; old?: SystemStyleObject; new?: SystemStyleObject };
4
+
5
+ export type ViewTransitionFn = (options: ViewTransitionStyleObject) => string;
6
+
7
+ export declare const viewTransition: ViewTransitionFn;
@@ -0,0 +1,18 @@
1
+ import { stableStringify, toHash } from '../helpers';
2
+
3
+ export const viewTransition = (options) => {
4
+ const prefix = "cerberus"
5
+ if (typeof options === 'string') {
6
+ const base = 'vt_' + options
7
+ return prefix ? prefix + '-' + base : base
8
+ }
9
+ const slots = ['group', 'imagePair', 'old', 'new']
10
+ const filtered = {}
11
+ if (options && typeof options === 'object') {
12
+ for (const key of slots) {
13
+ if (key in options) filtered[key] = options[key]
14
+ }
15
+ }
16
+ const base = 'vt_' + toHash(stableStringify(filtered))
17
+ return prefix ? prefix + '-' + base : base
18
+ }
@@ -0,0 +1,67 @@
1
+ export declare function isObject(v: unknown): v is Record<string, unknown>;
2
+
3
+ export declare function isBaseCondition(v: string): boolean;
4
+
5
+ export declare function filterBaseConditions(c: string[]): string[];
6
+
7
+ export declare function toHash(v: string): string;
8
+
9
+ export declare function stableStringify(value: any): string;
10
+
11
+ export declare function toCssVar(path: string): string;
12
+
13
+ export declare function colorMix(tokens: Record<string, string>, path: string, resolveVar?: (path: string) => string): string | undefined;
14
+
15
+ export declare function compact<T extends Record<string, unknown>>(v: T): Partial<T>;
16
+
17
+ export declare function withDefaults(defaults: Record<string, any>, props: Record<string, any>): Record<string, any>;
18
+
19
+ export declare function toVariantMap(variants: Record<string, any>): Record<string, any>;
20
+
21
+ export declare function getCompoundVariantClassNames(compoundVariants: Array<Record<string, any>>, variants: Record<string, any>, formatClassName?: (className: string) => string): string;
22
+
23
+ export declare function getCompoundVariantCss(compoundVariants: Array<Record<string, any>>, variants: Record<string, any>): Record<string, any>;
24
+
25
+ export declare function getSlotCompoundVariant(compoundVariants: Array<Record<string, any>>, slot: string): Array<Record<string, any>>;
26
+
27
+ export declare function getSlotRecipes(recipe: Record<string, any>): Record<string, any>;
28
+
29
+ export declare function toResponsiveObject(values: any[], breakpoints: string[]): Record<string, any>;
30
+
31
+ export declare function walkObject(target: unknown, fn: (value: any, path: string[]) => any, options?: Record<string, any>): any;
32
+
33
+ export declare function mapObject(obj: unknown, fn: (value: any) => any): any;
34
+
35
+ export declare function normalizeStyleObject(styles: Record<string, any>, context: Record<string, any>, shorthand?: boolean): Record<string, any>;
36
+
37
+ export declare function memo<T extends (...args: any[]) => any>(fn: T): T;
38
+
39
+ export declare function weakMemo<T extends (arg: any) => any>(fn: T): T;
40
+
41
+ export declare function mergeProps(...src: Array<Record<string, any> | undefined>): Record<string, any>;
42
+
43
+ export declare function resolveStyleArgs(styles: Array<any> | IArguments, context: Record<string, any>): any[];
44
+
45
+ export declare function createSerializeCss(context: Record<string, any>): (...styles: any[]) => string;
46
+
47
+ export declare function createMergeCss(context: Record<string, any>): (...styles: any[]) => any;
48
+
49
+ export declare function createSerializeCssArgs(serializeCss: (...styles: any[]) => string, mergeCss: (...styles: any[]) => any): (...styles: any[]) => string;
50
+
51
+ export declare function createAssignCss(context: Record<string, any>): (...styles: any[]) => any;
52
+
53
+ export declare function hypenateProperty(property: string): string;
54
+
55
+ export declare function splitProps<T extends Record<string, any>>(props: T, ...keys: Array<Array<keyof T> | ((key: keyof T) => boolean)>): any[];
56
+
57
+ export declare const normalizeHTMLProps: ((props: Record<string, any>) => Record<string, any>) & {
58
+ keys: string[];
59
+ };
60
+
61
+ export declare function uniq<T>(...items: Array<T[] | undefined>): T[];
62
+
63
+ export declare function withoutSpace<T extends string | number | boolean>(str: T): T;
64
+
65
+ export declare function isImportant(value: unknown): boolean;
66
+
67
+ export declare function withoutImportant<T extends string | number | boolean>(value: T): T;