@g4rcez/components 4.0.2 → 4.1.1

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 (384) hide show
  1. package/ai/SKILL.md +120 -153
  2. package/ai/docs/Alert.md +47 -48
  3. package/ai/docs/AnimatedList.md +88 -87
  4. package/ai/docs/Autocomplete.md +102 -106
  5. package/ai/docs/Button.md +33 -33
  6. package/ai/docs/Calendar.md +67 -101
  7. package/ai/docs/Card.md +59 -55
  8. package/ai/docs/Checkbox.md +77 -82
  9. package/ai/docs/CommandPalette.md +154 -172
  10. package/ai/docs/DatePicker.md +45 -64
  11. package/ai/docs/Dropdown.md +98 -126
  12. package/ai/docs/Empty.md +41 -44
  13. package/ai/docs/Expand.md +40 -54
  14. package/ai/docs/FileUpload.md +102 -109
  15. package/ai/docs/Form.md +35 -29
  16. package/ai/docs/FormReset.md +37 -37
  17. package/ai/docs/Heading.md +4 -6
  18. package/ai/docs/Input.md +73 -98
  19. package/ai/docs/InputField.md +67 -67
  20. package/ai/docs/List.md +88 -85
  21. package/ai/docs/Menu.md +62 -60
  22. package/ai/docs/Modal.md +129 -136
  23. package/ai/docs/MultiSelect.md +65 -84
  24. package/ai/docs/Notifications.md +96 -96
  25. package/ai/docs/PageCalendar.md +88 -97
  26. package/ai/docs/Polymorph.md +25 -41
  27. package/ai/docs/Progress.md +55 -51
  28. package/ai/docs/Radiobox.md +49 -41
  29. package/ai/docs/RenderOnView.md +26 -32
  30. package/ai/docs/Resizable.md +60 -65
  31. package/ai/docs/Select.md +158 -158
  32. package/ai/docs/Shortcut.md +14 -14
  33. package/ai/docs/Skeleton.md +56 -60
  34. package/ai/docs/Slider.md +26 -49
  35. package/ai/docs/Slot.md +15 -17
  36. package/ai/docs/Spinner.md +17 -15
  37. package/ai/docs/Stats.md +44 -42
  38. package/ai/docs/Step.md +60 -60
  39. package/ai/docs/Switch.md +44 -54
  40. package/ai/docs/Table.md +124 -136
  41. package/ai/docs/Tabs.md +90 -90
  42. package/ai/docs/Tag.md +63 -65
  43. package/ai/docs/TaskList.md +40 -50
  44. package/ai/docs/Textarea.md +47 -70
  45. package/ai/docs/Timeline.md +98 -96
  46. package/ai/docs/Toolbar.md +46 -46
  47. package/ai/docs/Tooltip.md +103 -103
  48. package/ai/docs/Typography.md +55 -55
  49. package/ai/docs/Wizard.md +104 -109
  50. package/ai/docs/index.md +116 -116
  51. package/dist/autocomplete-DcTNOwyg.js +393 -0
  52. package/dist/autocomplete-DcTNOwyg.js.map +1 -0
  53. package/dist/{calendar-B5lSd0ID.js → calendar-BJMHRoy2.js} +104 -105
  54. package/dist/calendar-BJMHRoy2.js.map +1 -0
  55. package/dist/components/core/button.js +10 -10
  56. package/dist/components/core/button.js.map +1 -1
  57. package/dist/components/core/tag.js +4 -4
  58. package/dist/components/core/tag.js.map +1 -1
  59. package/dist/components/display/alert.js +48 -46
  60. package/dist/components/display/alert.js.map +1 -1
  61. package/dist/components/display/calendar.js +6 -6
  62. package/dist/components/display/card.js +2 -2
  63. package/dist/components/display/card.js.map +1 -1
  64. package/dist/components/display/list.js +1 -1
  65. package/dist/components/display/list.js.map +1 -1
  66. package/dist/components/display/notifications.js +3 -3
  67. package/dist/components/display/stats.js +1 -1
  68. package/dist/components/display/tabs.js +2 -2
  69. package/dist/components/display/timeline.js +1 -1
  70. package/dist/components/floating/dropdown.js +25 -17
  71. package/dist/components/floating/dropdown.js.map +1 -1
  72. package/dist/components/floating/expand.js +7 -7
  73. package/dist/components/floating/expand.js.map +1 -1
  74. package/dist/components/floating/menu.js +10 -10
  75. package/dist/components/floating/menu.js.map +1 -1
  76. package/dist/components/floating/modal.js +106 -102
  77. package/dist/components/floating/modal.js.map +1 -1
  78. package/dist/components/floating/tooltip.js +14 -14
  79. package/dist/components/floating/tooltip.js.map +1 -1
  80. package/dist/components/form/autocomplete.js +6 -6
  81. package/dist/components/form/checkbox.js +1 -1
  82. package/dist/components/form/date-picker.js +5 -5
  83. package/dist/components/form/file-upload.js +2 -2
  84. package/dist/components/form/form.js.map +1 -1
  85. package/dist/components/form/input.js +1 -1
  86. package/dist/components/form/radiobox.js +1 -1
  87. package/dist/components/form/select.js +3 -3
  88. package/dist/components/form/switch.js +2 -2
  89. package/dist/components/form/switch.js.map +1 -1
  90. package/dist/components/table/table.js +3 -3
  91. package/dist/{date-picker-DwNo22lx.js → date-picker-Bnl07nd8.js} +8 -6
  92. package/dist/date-picker-Bnl07nd8.js.map +1 -0
  93. package/dist/{dom-Dl8XH0CK.js → dom-CyQHY7ID.js} +66 -61
  94. package/dist/dom-CyQHY7ID.js.map +1 -0
  95. package/dist/{file-upload-Brf2NkLr.js → file-upload-93d5DR4q.js} +139 -129
  96. package/dist/file-upload-93d5DR4q.js.map +1 -0
  97. package/dist/{floating-ui.react-QNHG9W4N.js → floating-ui.react-M2PGXLDp.js} +8 -8
  98. package/dist/floating-ui.react-M2PGXLDp.js.map +1 -0
  99. package/dist/{fns-D2eyJKd5.js → fns-C7Dt27Qd.js} +2 -2
  100. package/dist/fns-C7Dt27Qd.js.map +1 -0
  101. package/dist/index-BJ1ayTam.js +126 -0
  102. package/dist/index-BJ1ayTam.js.map +1 -0
  103. package/dist/index-C-PuFUZi.js.map +1 -1
  104. package/dist/{index-BelDtX5M.js → index-DDeQW0JW.js} +399 -404
  105. package/dist/index-DDeQW0JW.js.map +1 -0
  106. package/dist/index-DE4shK8D.js +215 -0
  107. package/dist/index-DE4shK8D.js.map +1 -0
  108. package/dist/{index-DJSMaZR4.js → index-DlJ_2RBL.js} +2 -2
  109. package/dist/index-DlJ_2RBL.js.map +1 -0
  110. package/dist/index.css +1 -1
  111. package/dist/index.esm-BaIwleSE.js.map +1 -1
  112. package/dist/index.js +2810 -2756
  113. package/dist/index.js.map +1 -1
  114. package/dist/{input-CrGrSnUt.js → input-_MVxmIpu.js} +116 -114
  115. package/dist/input-_MVxmIpu.js.map +1 -0
  116. package/dist/{input-field-5vYcz5tT.js → input-field-CDCOODOl.js} +63 -47
  117. package/dist/input-field-CDCOODOl.js.map +1 -0
  118. package/dist/notifications-Dp0ydKJS.js +2576 -0
  119. package/dist/notifications-Dp0ydKJS.js.map +1 -0
  120. package/dist/polymorph-B5n9fs_K.js.map +1 -1
  121. package/dist/preset/plugin.tailwind.d.ts.map +1 -1
  122. package/dist/preset/plugin.tailwind.js +20 -18
  123. package/dist/preset/preset.tailwind.js +24 -25
  124. package/dist/preset/src/styles/common.js +6 -3
  125. package/dist/preset/src/styles/dark.d.ts.map +1 -1
  126. package/dist/preset/src/styles/dark.js +9 -5
  127. package/dist/preset/src/styles/design-tokens.js +68 -89
  128. package/dist/preset/src/styles/light.d.ts.map +1 -1
  129. package/dist/preset/src/styles/light.js +9 -5
  130. package/dist/preset/src/styles/theme.js +7 -4
  131. package/dist/preset/src/styles/theme.types.d.ts +2 -1
  132. package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
  133. package/dist/preset/src/styles/theme.types.js +2 -1
  134. package/dist/skeleton-BjJobYYf.js +24 -0
  135. package/dist/skeleton-BjJobYYf.js.map +1 -0
  136. package/dist/slot-CRyweuj0.js.map +1 -1
  137. package/dist/styles/common.js +6 -3
  138. package/dist/styles/dark.d.ts.map +1 -1
  139. package/dist/styles/dark.js +9 -5
  140. package/dist/styles/design-tokens.js +68 -89
  141. package/dist/styles/light.d.ts.map +1 -1
  142. package/dist/styles/light.js +9 -5
  143. package/dist/styles/theme.js +7 -4
  144. package/dist/styles/theme.types.d.ts +2 -1
  145. package/dist/styles/theme.types.d.ts.map +1 -1
  146. package/dist/styles/theme.types.js +2 -1
  147. package/dist/tabs-B0g7YtQv.js +123 -0
  148. package/dist/tabs-B0g7YtQv.js.map +1 -0
  149. package/dist/tsconfig.lib.tsbuildinfo +1 -0
  150. package/dist/{context-BFXNJVn2.js → use-translations-DSltA7H_.js} +38 -30
  151. package/dist/use-translations-DSltA7H_.js.map +1 -0
  152. package/package.json +99 -86
  153. package/ai/docs/TransferList.md +0 -142
  154. package/dist/autocomplete-Cn9Z2hLq.js +0 -375
  155. package/dist/autocomplete-Cn9Z2hLq.js.map +0 -1
  156. package/dist/calendar-B5lSd0ID.js.map +0 -1
  157. package/dist/components/core/button.d.ts +0 -77
  158. package/dist/components/core/button.d.ts.map +0 -1
  159. package/dist/components/core/heading.d.ts +0 -3
  160. package/dist/components/core/heading.d.ts.map +0 -1
  161. package/dist/components/core/polymorph.d.ts +0 -10
  162. package/dist/components/core/polymorph.d.ts.map +0 -1
  163. package/dist/components/core/render-on-view.d.ts +0 -7
  164. package/dist/components/core/render-on-view.d.ts.map +0 -1
  165. package/dist/components/core/resizable.d.ts +0 -3
  166. package/dist/components/core/resizable.d.ts.map +0 -1
  167. package/dist/components/core/slot.d.ts +0 -16
  168. package/dist/components/core/slot.d.ts.map +0 -1
  169. package/dist/components/core/tag.d.ts +0 -35
  170. package/dist/components/core/tag.d.ts.map +0 -1
  171. package/dist/components/core/typography.d.ts +0 -25
  172. package/dist/components/core/typography.d.ts.map +0 -1
  173. package/dist/components/display/alert.d.ts +0 -28
  174. package/dist/components/display/alert.d.ts.map +0 -1
  175. package/dist/components/display/calendar.d.ts +0 -42
  176. package/dist/components/display/calendar.d.ts.map +0 -1
  177. package/dist/components/display/card.d.ts +0 -29
  178. package/dist/components/display/card.d.ts.map +0 -1
  179. package/dist/components/display/empty.d.ts +0 -8
  180. package/dist/components/display/empty.d.ts.map +0 -1
  181. package/dist/components/display/list.d.ts +0 -16
  182. package/dist/components/display/list.d.ts.map +0 -1
  183. package/dist/components/display/notifications.d.ts +0 -27
  184. package/dist/components/display/notifications.d.ts.map +0 -1
  185. package/dist/components/display/progress.d.ts +0 -13
  186. package/dist/components/display/progress.d.ts.map +0 -1
  187. package/dist/components/display/shortcut.d.ts +0 -4
  188. package/dist/components/display/shortcut.d.ts.map +0 -1
  189. package/dist/components/display/skeleton.d.ts +0 -12
  190. package/dist/components/display/skeleton.d.ts.map +0 -1
  191. package/dist/components/display/spinner.d.ts +0 -5
  192. package/dist/components/display/spinner.d.ts.map +0 -1
  193. package/dist/components/display/stats.d.ts +0 -12
  194. package/dist/components/display/stats.d.ts.map +0 -1
  195. package/dist/components/display/step.d.ts +0 -24
  196. package/dist/components/display/step.d.ts.map +0 -1
  197. package/dist/components/display/tabs.d.ts +0 -24
  198. package/dist/components/display/tabs.d.ts.map +0 -1
  199. package/dist/components/display/timeline.d.ts +0 -10
  200. package/dist/components/display/timeline.d.ts.map +0 -1
  201. package/dist/components/floating/command-palette.d.ts +0 -49
  202. package/dist/components/floating/command-palette.d.ts.map +0 -1
  203. package/dist/components/floating/dropdown.d.ts +0 -15
  204. package/dist/components/floating/dropdown.d.ts.map +0 -1
  205. package/dist/components/floating/expand.d.ts +0 -11
  206. package/dist/components/floating/expand.d.ts.map +0 -1
  207. package/dist/components/floating/menu.d.ts +0 -52
  208. package/dist/components/floating/menu.d.ts.map +0 -1
  209. package/dist/components/floating/modal.d.ts +0 -60
  210. package/dist/components/floating/modal.d.ts.map +0 -1
  211. package/dist/components/floating/toolbar.d.ts +0 -6
  212. package/dist/components/floating/toolbar.d.ts.map +0 -1
  213. package/dist/components/floating/tooltip.d.ts +0 -17
  214. package/dist/components/floating/tooltip.d.ts.map +0 -1
  215. package/dist/components/floating/wizard.d.ts +0 -26
  216. package/dist/components/floating/wizard.d.ts.map +0 -1
  217. package/dist/components/form/autocomplete.d.ts +0 -16
  218. package/dist/components/form/autocomplete.d.ts.map +0 -1
  219. package/dist/components/form/checkbox.d.ts +0 -12
  220. package/dist/components/form/checkbox.d.ts.map +0 -1
  221. package/dist/components/form/date-picker.d.ts +0 -10
  222. package/dist/components/form/date-picker.d.ts.map +0 -1
  223. package/dist/components/form/file-upload.d.ts +0 -15
  224. package/dist/components/form/file-upload.d.ts.map +0 -1
  225. package/dist/components/form/form.d.ts +0 -3
  226. package/dist/components/form/form.d.ts.map +0 -1
  227. package/dist/components/form/formReset.d.ts +0 -2
  228. package/dist/components/form/formReset.d.ts.map +0 -1
  229. package/dist/components/form/free-text.d.ts +0 -11
  230. package/dist/components/form/free-text.d.ts.map +0 -1
  231. package/dist/components/form/input-field.d.ts +0 -34
  232. package/dist/components/form/input-field.d.ts.map +0 -1
  233. package/dist/components/form/input.d.ts +0 -52
  234. package/dist/components/form/input.d.ts.map +0 -1
  235. package/dist/components/form/multi-select.d.ts +0 -19
  236. package/dist/components/form/multi-select.d.ts.map +0 -1
  237. package/dist/components/form/radiobox.d.ts +0 -7
  238. package/dist/components/form/radiobox.d.ts.map +0 -1
  239. package/dist/components/form/select.d.ts +0 -13
  240. package/dist/components/form/select.d.ts.map +0 -1
  241. package/dist/components/form/slider.d.ts +0 -7
  242. package/dist/components/form/slider.d.ts.map +0 -1
  243. package/dist/components/form/switch.d.ts +0 -9
  244. package/dist/components/form/switch.d.ts.map +0 -1
  245. package/dist/components/form/task-list.d.ts +0 -3
  246. package/dist/components/form/task-list.d.ts.map +0 -1
  247. package/dist/components/form/textarea.d.ts +0 -6
  248. package/dist/components/form/textarea.d.ts.map +0 -1
  249. package/dist/components/form/transfer-list.d.ts +0 -14
  250. package/dist/components/form/transfer-list.d.ts.map +0 -1
  251. package/dist/components/form/transfer-list.js +0 -55
  252. package/dist/components/form/transfer-list.js.map +0 -1
  253. package/dist/components/index.d.ts +0 -46
  254. package/dist/components/index.d.ts.map +0 -1
  255. package/dist/components/page-calendar/calendar-header.d.ts +0 -16
  256. package/dist/components/page-calendar/calendar-header.d.ts.map +0 -1
  257. package/dist/components/page-calendar/day-view.d.ts +0 -12
  258. package/dist/components/page-calendar/day-view.d.ts.map +0 -1
  259. package/dist/components/page-calendar/event-pill.d.ts +0 -9
  260. package/dist/components/page-calendar/event-pill.d.ts.map +0 -1
  261. package/dist/components/page-calendar/index.d.ts +0 -4
  262. package/dist/components/page-calendar/index.d.ts.map +0 -1
  263. package/dist/components/page-calendar/month-view.d.ts +0 -11
  264. package/dist/components/page-calendar/month-view.d.ts.map +0 -1
  265. package/dist/components/page-calendar/page-calendar.d.ts +0 -18
  266. package/dist/components/page-calendar/page-calendar.d.ts.map +0 -1
  267. package/dist/components/page-calendar/page-calendar.types.d.ts +0 -18
  268. package/dist/components/page-calendar/page-calendar.types.d.ts.map +0 -1
  269. package/dist/components/page-calendar/page-calendar.utils.d.ts +0 -24
  270. package/dist/components/page-calendar/page-calendar.utils.d.ts.map +0 -1
  271. package/dist/components/page-calendar/week-view.d.ts +0 -11
  272. package/dist/components/page-calendar/week-view.d.ts.map +0 -1
  273. package/dist/components/table/filter.d.ts +0 -42
  274. package/dist/components/table/filter.d.ts.map +0 -1
  275. package/dist/components/table/group.d.ts +0 -17
  276. package/dist/components/table/group.d.ts.map +0 -1
  277. package/dist/components/table/index.d.ts +0 -20
  278. package/dist/components/table/index.d.ts.map +0 -1
  279. package/dist/components/table/inner-table.d.ts +0 -29
  280. package/dist/components/table/inner-table.d.ts.map +0 -1
  281. package/dist/components/table/metadata.d.ts +0 -4
  282. package/dist/components/table/metadata.d.ts.map +0 -1
  283. package/dist/components/table/pagination.d.ts +0 -3
  284. package/dist/components/table/pagination.d.ts.map +0 -1
  285. package/dist/components/table/row.d.ts +0 -12
  286. package/dist/components/table/row.d.ts.map +0 -1
  287. package/dist/components/table/sort.d.ts +0 -28
  288. package/dist/components/table/sort.d.ts.map +0 -1
  289. package/dist/components/table/table-lib.d.ts +0 -135
  290. package/dist/components/table/table-lib.d.ts.map +0 -1
  291. package/dist/components/table/table.context.d.ts +0 -10
  292. package/dist/components/table/table.context.d.ts.map +0 -1
  293. package/dist/components/table/thead.d.ts +0 -9
  294. package/dist/components/table/thead.d.ts.map +0 -1
  295. package/dist/config/context.d.ts +0 -21
  296. package/dist/config/context.d.ts.map +0 -1
  297. package/dist/config/default-translations.d.ts +0 -90
  298. package/dist/config/default-translations.d.ts.map +0 -1
  299. package/dist/config/default-tweaks.d.ts +0 -13
  300. package/dist/config/default-tweaks.d.ts.map +0 -1
  301. package/dist/constants.d.ts +0 -3
  302. package/dist/constants.d.ts.map +0 -1
  303. package/dist/context-BFXNJVn2.js.map +0 -1
  304. package/dist/date-picker-DwNo22lx.js.map +0 -1
  305. package/dist/dom-Dl8XH0CK.js.map +0 -1
  306. package/dist/file-upload-Brf2NkLr.js.map +0 -1
  307. package/dist/floating-ui.react-QNHG9W4N.js.map +0 -1
  308. package/dist/fns-D2eyJKd5.js.map +0 -1
  309. package/dist/hooks/use-click-outside.d.ts +0 -3
  310. package/dist/hooks/use-click-outside.d.ts.map +0 -1
  311. package/dist/hooks/use-color-parser.d.ts +0 -2
  312. package/dist/hooks/use-color-parser.d.ts.map +0 -1
  313. package/dist/hooks/use-components-provider.d.ts +0 -15
  314. package/dist/hooks/use-components-provider.d.ts.map +0 -1
  315. package/dist/hooks/use-debounce.d.ts +0 -5
  316. package/dist/hooks/use-debounce.d.ts.map +0 -1
  317. package/dist/hooks/use-floating-ref.d.ts +0 -2
  318. package/dist/hooks/use-floating-ref.d.ts.map +0 -1
  319. package/dist/hooks/use-form.d.ts +0 -394
  320. package/dist/hooks/use-form.d.ts.map +0 -1
  321. package/dist/hooks/use-hover.d.ts +0 -3
  322. package/dist/hooks/use-hover.d.ts.map +0 -1
  323. package/dist/hooks/use-input-id.d.ts +0 -4
  324. package/dist/hooks/use-input-id.d.ts.map +0 -1
  325. package/dist/hooks/use-is-coarse-device.d.ts +0 -2
  326. package/dist/hooks/use-is-coarse-device.d.ts.map +0 -1
  327. package/dist/hooks/use-locale.d.ts +0 -3
  328. package/dist/hooks/use-locale.d.ts.map +0 -1
  329. package/dist/hooks/use-media-query.d.ts +0 -2
  330. package/dist/hooks/use-media-query.d.ts.map +0 -1
  331. package/dist/hooks/use-on-event.d.ts +0 -4
  332. package/dist/hooks/use-on-event.d.ts.map +0 -1
  333. package/dist/hooks/use-parent.d.ts +0 -3
  334. package/dist/hooks/use-parent.d.ts.map +0 -1
  335. package/dist/hooks/use-preferences.d.ts +0 -2
  336. package/dist/hooks/use-preferences.d.ts.map +0 -1
  337. package/dist/hooks/use-previous.d.ts +0 -2
  338. package/dist/hooks/use-previous.d.ts.map +0 -1
  339. package/dist/hooks/use-reactive.d.ts +0 -2
  340. package/dist/hooks/use-reactive.d.ts.map +0 -1
  341. package/dist/hooks/use-remove-scroll.d.ts +0 -4
  342. package/dist/hooks/use-remove-scroll.d.ts.map +0 -1
  343. package/dist/hooks/use-resize-observer.d.ts +0 -2
  344. package/dist/hooks/use-resize-observer.d.ts.map +0 -1
  345. package/dist/hooks/use-stable-ref.d.ts +0 -2
  346. package/dist/hooks/use-stable-ref.d.ts.map +0 -1
  347. package/dist/hooks/use-swipe.d.ts +0 -8
  348. package/dist/hooks/use-swipe.d.ts.map +0 -1
  349. package/dist/hooks/use-translations.d.ts +0 -88
  350. package/dist/hooks/use-translations.d.ts.map +0 -1
  351. package/dist/hooks/use-tweaks.d.ts +0 -3
  352. package/dist/hooks/use-tweaks.d.ts.map +0 -1
  353. package/dist/hooks/use-window-size.d.ts +0 -5
  354. package/dist/hooks/use-window-size.d.ts.map +0 -1
  355. package/dist/index-BelDtX5M.js.map +0 -1
  356. package/dist/index-DJSMaZR4.js.map +0 -1
  357. package/dist/index-Z-fZHxfJ.js +0 -335
  358. package/dist/index-Z-fZHxfJ.js.map +0 -1
  359. package/dist/index.d.ts +0 -22
  360. package/dist/index.d.ts.map +0 -1
  361. package/dist/input-CrGrSnUt.js.map +0 -1
  362. package/dist/input-field-5vYcz5tT.js.map +0 -1
  363. package/dist/lib/combi-keys.d.ts +0 -15
  364. package/dist/lib/combi-keys.d.ts.map +0 -1
  365. package/dist/lib/dict.d.ts +0 -12
  366. package/dist/lib/dict.d.ts.map +0 -1
  367. package/dist/lib/dom.d.ts +0 -19
  368. package/dist/lib/dom.d.ts.map +0 -1
  369. package/dist/lib/fns.d.ts +0 -11
  370. package/dist/lib/fns.d.ts.map +0 -1
  371. package/dist/lib/fzf.d.ts +0 -16
  372. package/dist/lib/fzf.d.ts.map +0 -1
  373. package/dist/lib/keyboard-area.d.ts +0 -16
  374. package/dist/lib/keyboard-area.d.ts.map +0 -1
  375. package/dist/notifications-cUdVPs-B.js +0 -2786
  376. package/dist/notifications-cUdVPs-B.js.map +0 -1
  377. package/dist/skeleton-D75GFBV6.js +0 -10
  378. package/dist/skeleton-D75GFBV6.js.map +0 -1
  379. package/dist/tabs-S00a8qq8.js +0 -106
  380. package/dist/tabs-S00a8qq8.js.map +0 -1
  381. package/dist/types.d.ts +0 -26
  382. package/dist/types.d.ts.map +0 -1
  383. package/dist/use-translations-BwLKTrZv.js +0 -10
  384. package/dist/use-translations-BwLKTrZv.js.map +0 -1
@@ -19,24 +19,24 @@ import { Progress } from "@g4rcez/components";
19
19
 
20
20
  ## Props
21
21
 
22
- | Prop | Type | Default | Description |
23
- |------|------|---------|-------------|
24
- | `percent` | `number` | — | Current progress value (0–100) |
25
- | `max` | `number` | — | Maximum value (forwarded to Base UI `Progress.Root`) |
26
- | `label` | `Label` | — | Custom text overlay; overrides the default `{percent} %` |
27
- | `container` | `string` | — | Additional classes for the track element |
28
- | `className` | `string` | — | Additional classes for the indicator (fill) element |
29
- | `textClassName` | `string` | — | Additional classes for the label text overlay |
22
+ | Prop | Type | Default | Description |
23
+ | --------------- | -------- | ------- | -------------------------------------------------------- |
24
+ | `percent` | `number` | — | Current progress value (0–100) |
25
+ | `max` | `number` | — | Maximum value (forwarded to Base UI `Progress.Root`) |
26
+ | `label` | `Label` | — | Custom text overlay; overrides the default `{percent} %` |
27
+ | `container` | `string` | — | Additional classes for the track element |
28
+ | `className` | `string` | — | Additional classes for the indicator (fill) element |
29
+ | `textClassName` | `string` | — | Additional classes for the label text overlay |
30
30
 
31
31
  ## Design Tokens
32
32
 
33
33
  Tokens this component reads. Customize by overriding these CSS variables in your theme.
34
34
 
35
- | Token | CSS Variable | Purpose |
36
- |-------|-------------|---------|
37
- | `bg-background` | `--background` | Track (unfilled) background |
38
- | `bg-primary` | `--primary` | Indicator (fill) color |
39
- | `text-primary-foreground` | `--primary-foreground` | Default label text color |
35
+ | Token | CSS Variable | Purpose |
36
+ | ------------------------- | ---------------------- | --------------------------- |
37
+ | `bg-background` | `--background` | Track (unfilled) background |
38
+ | `bg-primary` | `--primary` | Indicator (fill) color |
39
+ | `text-primary-foreground` | `--primary-foreground` | Default label text color |
40
40
 
41
41
  ## Examples
42
42
 
@@ -50,16 +50,16 @@ Tokens this component reads. Customize by overriding these CSS variables in your
50
50
 
51
51
  ```tsx
52
52
  function AnimatedProgress() {
53
- const [progress, setProgress] = useState(0);
53
+ const [progress, setProgress] = useState(0);
54
54
 
55
- useEffect(() => {
56
- const timer = setInterval(() => {
57
- setProgress((prev) => (prev >= 100 ? 0 : prev + 10));
58
- }, 500);
59
- return () => clearInterval(timer);
60
- }, []);
55
+ useEffect(() => {
56
+ const timer = setInterval(() => {
57
+ setProgress((prev) => (prev >= 100 ? 0 : prev + 10));
58
+ }, 500);
59
+ return () => clearInterval(timer);
60
+ }, []);
61
61
 
62
- return <Progress percent={progress} />;
62
+ return <Progress percent={progress} />;
63
63
  }
64
64
  ```
65
65
 
@@ -74,26 +74,30 @@ function AnimatedProgress() {
74
74
  When `percent` is `undefined` the indicator is not rendered and the label is hidden, leaving only the track. Combine with a separate `Spinner` for unknown-duration operations.
75
75
 
76
76
  ```tsx
77
- {isLoading ? <Spinner /> : <Progress percent={uploadPercent} />}
77
+ {
78
+ isLoading ? <Spinner /> : <Progress percent={uploadPercent} />;
79
+ }
78
80
  ```
79
81
 
80
82
  ### Multi-Step Form Progress
81
83
 
82
84
  ```tsx
83
85
  function MultiStepForm() {
84
- const [currentStep, setCurrentStep] = useState(1);
85
- const totalSteps = 4;
86
- const progress = (currentStep / totalSteps) * 100;
87
-
88
- return (
89
- <div className="space-y-4">
90
- <div className="flex justify-between items-center text-sm text-muted-foreground">
91
- <span>Step {currentStep} of {totalSteps}</span>
92
- <span>{Math.round(progress)}% complete</span>
93
- </div>
94
- <Progress percent={progress} />
95
- </div>
96
- );
86
+ const [currentStep, setCurrentStep] = useState(1);
87
+ const totalSteps = 4;
88
+ const progress = (currentStep / totalSteps) * 100;
89
+
90
+ return (
91
+ <div className="space-y-4">
92
+ <div className="flex justify-between items-center text-sm text-muted-foreground">
93
+ <span>
94
+ Step {currentStep} of {totalSteps}
95
+ </span>
96
+ <span>{Math.round(progress)}% complete</span>
97
+ </div>
98
+ <Progress percent={progress} />
99
+ </div>
100
+ );
97
101
  }
98
102
  ```
99
103
 
@@ -101,22 +105,22 @@ function MultiStepForm() {
101
105
 
102
106
  ```tsx
103
107
  function FileUploadProgress({ fileName, percent }: { fileName: string; percent: number }) {
104
- const isDone = percent >= 100;
105
-
106
- return (
107
- <div className="space-y-1">
108
- <div className="flex justify-between text-sm">
109
- <span className="text-foreground">{fileName}</span>
110
- <span className="text-muted-foreground">{percent}%</span>
111
- </div>
112
- <Progress
113
- percent={percent}
114
- label={isDone ? "Complete" : undefined}
115
- container={isDone ? "bg-success/20" : undefined}
116
- className={isDone ? "bg-success" : undefined}
117
- />
118
- </div>
119
- );
108
+ const isDone = percent >= 100;
109
+
110
+ return (
111
+ <div className="space-y-1">
112
+ <div className="flex justify-between text-sm">
113
+ <span className="text-foreground">{fileName}</span>
114
+ <span className="text-muted-foreground">{percent}%</span>
115
+ </div>
116
+ <Progress
117
+ percent={percent}
118
+ label={isDone ? "Complete" : undefined}
119
+ container={isDone ? "bg-success/20" : undefined}
120
+ className={isDone ? "bg-success" : undefined}
121
+ />
122
+ </div>
123
+ );
120
124
  }
121
125
  ```
122
126
 
@@ -21,22 +21,22 @@ import { Radiobox } from "@g4rcez/components/radiobox";
21
21
 
22
22
  Accepts all standard HTML `input[type="radio"]` attributes, plus:
23
23
 
24
- | Prop | Type | Default | Description |
25
- |------|------|---------|-------------|
26
- | `children` | `React.ReactNode` | — | Label text or element displayed next to the radio button. |
27
- | `size` | `"medium" \| "large"` | `"medium"` | Visual size of the radio button. |
28
- | `className` | `string` | — | Additional CSS classes for the `<input>` element. |
24
+ | Prop | Type | Default | Description |
25
+ | ----------- | --------------------- | ---------- | --------------------------------------------------------- |
26
+ | `children` | `React.ReactNode` | — | Label text or element displayed next to the radio button. |
27
+ | `size` | `"medium" \| "large"` | `"medium"` | Visual size of the radio button. |
28
+ | `className` | `string` | — | Additional CSS classes for the `<input>` element. |
29
29
 
30
30
  ## Design Tokens
31
31
 
32
32
  Tokens this component reads. Customize by overriding these CSS variables in your theme.
33
33
 
34
- | Token | CSS Variable | Purpose |
35
- |-------|-------------|---------|
36
- | `border-card-border` | `--card-border` | Default border color of the radio circle |
37
- | `text-primary` | `--primary` | Checked fill color (via `accent-color`) |
38
- | `focus:ring-primary` | `--primary` | Focus ring color |
39
- | `disabled:opacity-70` | — | Reduced opacity for disabled state |
34
+ | Token | CSS Variable | Purpose |
35
+ | --------------------- | --------------- | ---------------------------------------- |
36
+ | `border-card-border` | `--card-border` | Default border color of the radio circle |
37
+ | `text-primary` | `--primary` | Checked fill color (via `accent-color`) |
38
+ | `focus:ring-primary` | `--primary` | Focus ring color |
39
+ | `disabled:opacity-70` | — | Reduced opacity for disabled state |
40
40
 
41
41
  ## Examples
42
42
 
@@ -46,19 +46,19 @@ Tokens this component reads. Customize by overriding these CSS variables in your
46
46
  import { Radiobox } from "@g4rcez/components/radiobox";
47
47
 
48
48
  export default function PlanSelector() {
49
- return (
50
- <div className="flex flex-col gap-sm">
51
- <Radiobox name="plan" value="basic" defaultChecked>
52
- Basic Plan
53
- </Radiobox>
54
- <Radiobox name="plan" value="pro">
55
- Pro Plan
56
- </Radiobox>
57
- <Radiobox name="plan" value="enterprise">
58
- Enterprise Plan
59
- </Radiobox>
60
- </div>
61
- );
49
+ return (
50
+ <div className="flex flex-col gap-sm">
51
+ <Radiobox name="plan" value="basic" defaultChecked>
52
+ Basic Plan
53
+ </Radiobox>
54
+ <Radiobox name="plan" value="pro">
55
+ Pro Plan
56
+ </Radiobox>
57
+ <Radiobox name="plan" value="enterprise">
58
+ Enterprise Plan
59
+ </Radiobox>
60
+ </div>
61
+ );
62
62
  }
63
63
  ```
64
64
 
@@ -68,11 +68,11 @@ export default function PlanSelector() {
68
68
  import { Radiobox } from "@g4rcez/components/radiobox";
69
69
 
70
70
  export default function DisabledOption() {
71
- return (
72
- <Radiobox disabled name="option" value="legacy">
73
- Legacy (unavailable)
74
- </Radiobox>
75
- );
71
+ return (
72
+ <Radiobox disabled name="option" value="legacy">
73
+ Legacy (unavailable)
74
+ </Radiobox>
75
+ );
76
76
  }
77
77
  ```
78
78
 
@@ -82,14 +82,22 @@ export default function DisabledOption() {
82
82
  import { Radiobox } from "@g4rcez/components/radiobox";
83
83
 
84
84
  export default function GenderSelector() {
85
- return (
86
- <div className="grid grid-cols-2 gap-base">
87
- <Radiobox name="gender" value="male">Male</Radiobox>
88
- <Radiobox name="gender" value="female">Female</Radiobox>
89
- <Radiobox name="gender" value="non-binary">Non-binary</Radiobox>
90
- <Radiobox name="gender" value="prefer-not">Prefer not to say</Radiobox>
91
- </div>
92
- );
85
+ return (
86
+ <div className="grid grid-cols-2 gap-base">
87
+ <Radiobox name="gender" value="male">
88
+ Male
89
+ </Radiobox>
90
+ <Radiobox name="gender" value="female">
91
+ Female
92
+ </Radiobox>
93
+ <Radiobox name="gender" value="non-binary">
94
+ Non-binary
95
+ </Radiobox>
96
+ <Radiobox name="gender" value="prefer-not">
97
+ Prefer not to say
98
+ </Radiobox>
99
+ </div>
100
+ );
93
101
  }
94
102
  ```
95
103
 
@@ -116,10 +124,10 @@ export default function GenderSelector() {
116
124
 
117
125
  ## Data Attributes
118
126
 
119
- | Attribute | Element | Value | Description |
120
- |-----------|---------|-------|-------------|
121
- | `data-component` | `label` | `"radiobox"` | Identifies the component. |
122
- | `data-disabled` | `label` | `true \| undefined` | Set when the radio is disabled. |
127
+ | Attribute | Element | Value | Description |
128
+ | ---------------- | ------- | ------------------- | ------------------------------- |
129
+ | `data-component` | `label` | `"radiobox"` | Identifies the component. |
130
+ | `data-disabled` | `label` | `true \| undefined` | Set when the radio is disabled. |
123
131
 
124
132
  ## Notes
125
133
 
@@ -19,12 +19,12 @@ import { RenderOnView } from "@g4rcez/components";
19
19
 
20
20
  ## Props
21
21
 
22
- | Prop | Type | Default | Description |
23
- |------|------|---------|-------------|
24
- | `onIntersection` | `() => void` | - | Callback fired once when the container first enters the viewport |
25
- | `children` | `React.ReactNode` | - | Content to render when the container is visible |
26
- | `as` | `React.ElementType` | `"div"` | HTML element to render the container as |
27
- | `...props` | `React.ComponentPropsWithoutRef<T>` | - | All props valid for the chosen element type |
22
+ | Prop | Type | Default | Description |
23
+ | ---------------- | ----------------------------------- | ------- | ---------------------------------------------------------------- |
24
+ | `onIntersection` | `() => void` | - | Callback fired once when the container first enters the viewport |
25
+ | `children` | `React.ReactNode` | - | Content to render when the container is visible |
26
+ | `as` | `React.ElementType` | `"div"` | HTML element to render the container as |
27
+ | `...props` | `React.ComponentPropsWithoutRef<T>` | - | All props valid for the chosen element type |
28
28
 
29
29
  ## Design Tokens
30
30
 
@@ -44,13 +44,11 @@ None — `RenderOnView` is a layout/performance primitive that applies no styles
44
44
 
45
45
  ```tsx
46
46
  <div>
47
- <div className="h-screen flex items-center justify-center text-foreground">
48
- Scroll down to see lazy content
49
- </div>
47
+ <div className="h-screen flex items-center justify-center text-foreground">Scroll down to see lazy content</div>
50
48
 
51
- <RenderOnView>
52
- <ExpensiveChart data={largeDataset} />
53
- </RenderOnView>
49
+ <RenderOnView>
50
+ <ExpensiveChart data={largeDataset} />
51
+ </RenderOnView>
54
52
  </div>
55
53
  ```
56
54
 
@@ -58,11 +56,7 @@ None — `RenderOnView` is a layout/performance primitive that applies no styles
58
56
 
59
57
  ```tsx
60
58
  const TrackableSection = ({ sectionName, children }: { sectionName: string; children: React.ReactNode }) => (
61
- <RenderOnView
62
- onIntersection={() => analytics.track("Section Viewed", { section: sectionName })}
63
- >
64
- {children}
65
- </RenderOnView>
59
+ <RenderOnView onIntersection={() => analytics.track("Section Viewed", { section: sectionName })}>{children}</RenderOnView>
66
60
  );
67
61
  ```
68
62
 
@@ -70,19 +64,19 @@ const TrackableSection = ({ sectionName, children }: { sectionName: string; chil
70
64
 
71
65
  ```tsx
72
66
  <main>
73
- <HeroSection />
67
+ <HeroSection />
74
68
 
75
- <RenderOnView>
76
- <FeaturesSection />
77
- </RenderOnView>
69
+ <RenderOnView>
70
+ <FeaturesSection />
71
+ </RenderOnView>
78
72
 
79
- <RenderOnView>
80
- <TestimonialsSection />
81
- </RenderOnView>
73
+ <RenderOnView>
74
+ <TestimonialsSection />
75
+ </RenderOnView>
82
76
 
83
- <RenderOnView>
84
- <ContactForm />
85
- </RenderOnView>
77
+ <RenderOnView>
78
+ <ContactForm />
79
+ </RenderOnView>
86
80
  </main>
87
81
  ```
88
82
 
@@ -90,7 +84,7 @@ const TrackableSection = ({ sectionName, children }: { sectionName: string; chil
90
84
 
91
85
  ```tsx
92
86
  <RenderOnView as="section" aria-label="Analytics charts">
93
- <RevenueChart />
87
+ <RevenueChart />
94
88
  </RenderOnView>
95
89
  ```
96
90
 
@@ -103,10 +97,10 @@ import { Spinner } from "@g4rcez/components";
103
97
  const HeavyComponent = lazy(() => import("./HeavyComponent"));
104
98
 
105
99
  <RenderOnView>
106
- <Suspense fallback={<Spinner />}>
107
- <HeavyComponent />
108
- </Suspense>
109
- </RenderOnView>
100
+ <Suspense fallback={<Spinner />}>
101
+ <HeavyComponent />
102
+ </Suspense>
103
+ </RenderOnView>;
110
104
  ```
111
105
 
112
106
  ## Do
@@ -19,9 +19,9 @@ import { Resizable } from "@g4rcez/components";
19
19
 
20
20
  ## Props
21
21
 
22
- | Prop | Type | Default | Description |
23
- |------|------|---------|-------------|
24
- | `children` | `React.ReactNode` | - | Content rendered inside the animated container |
22
+ | Prop | Type | Default | Description |
23
+ | ---------- | ----------------- | ------- | ---------------------------------------------- |
24
+ | `children` | `React.ReactNode` | - | Content rendered inside the animated container |
25
25
 
26
26
  ## Design Tokens
27
27
 
@@ -42,27 +42,23 @@ None — `Resizable` is a layout animation primitive that applies no color or sp
42
42
  import { useState } from "react";
43
43
 
44
44
  const CollapsiblePanel = () => {
45
- const [isOpen, setIsOpen] = useState(false);
46
-
47
- return (
48
- <div className="border border-border rounded-card">
49
- <button
50
- type="button"
51
- className="w-full px-4 py-3 text-left font-medium text-foreground"
52
- onClick={() => setIsOpen((v) => !v)}
53
- >
54
- Toggle Details
55
- </button>
56
- <Resizable>
57
- {isOpen ? (
58
- <div className="px-4 pb-4 text-foreground">
59
- <p>This content expands and collapses with a smooth height animation.</p>
60
- <p>Additional paragraphs will also animate smoothly.</p>
61
- </div>
62
- ) : null}
63
- </Resizable>
64
- </div>
65
- );
45
+ const [isOpen, setIsOpen] = useState(false);
46
+
47
+ return (
48
+ <div className="border border-border rounded-card">
49
+ <button type="button" className="w-full px-4 py-3 text-left font-medium text-foreground" onClick={() => setIsOpen((v) => !v)}>
50
+ Toggle Details
51
+ </button>
52
+ <Resizable>
53
+ {isOpen ? (
54
+ <div className="px-4 pb-4 text-foreground">
55
+ <p>This content expands and collapses with a smooth height animation.</p>
56
+ <p>Additional paragraphs will also animate smoothly.</p>
57
+ </div>
58
+ ) : null}
59
+ </Resizable>
60
+ </div>
61
+ );
66
62
  };
67
63
  ```
68
64
 
@@ -73,27 +69,24 @@ import { useState } from "react";
73
69
  import { Button } from "@g4rcez/components/button";
74
70
 
75
71
  const GrowingList = () => {
76
- const [items, setItems] = useState(["Item 1"]);
77
-
78
- return (
79
- <div className="flex flex-col gap-base">
80
- <Button
81
- theme="primary"
82
- onClick={() => setItems((prev) => [...prev, `Item ${prev.length + 1}`])}
83
- >
84
- Add Item
85
- </Button>
86
- <Resizable>
87
- <ul className="flex flex-col gap-sm">
88
- {items.map((item) => (
89
- <li key={item} className="text-foreground">
90
- {item}
91
- </li>
92
- ))}
93
- </ul>
94
- </Resizable>
95
- </div>
96
- );
72
+ const [items, setItems] = useState(["Item 1"]);
73
+
74
+ return (
75
+ <div className="flex flex-col gap-base">
76
+ <Button theme="primary" onClick={() => setItems((prev) => [...prev, `Item ${prev.length + 1}`])}>
77
+ Add Item
78
+ </Button>
79
+ <Resizable>
80
+ <ul className="flex flex-col gap-sm">
81
+ {items.map((item) => (
82
+ <li key={item} className="text-foreground">
83
+ {item}
84
+ </li>
85
+ ))}
86
+ </ul>
87
+ </Resizable>
88
+ </div>
89
+ );
97
90
  };
98
91
  ```
99
92
 
@@ -101,13 +94,13 @@ const GrowingList = () => {
101
94
 
102
95
  ```tsx
103
96
  const TabbedContent = ({ activeTab }: { activeTab: string }) => (
104
- <Resizable>
105
- <div className="p-4 text-foreground">
106
- {activeTab === "overview" && <OverviewPanel />}
107
- {activeTab === "settings" && <SettingsPanel />}
108
- {activeTab === "history" && <HistoryPanel />}
109
- </div>
110
- </Resizable>
97
+ <Resizable>
98
+ <div className="p-4 text-foreground">
99
+ {activeTab === "overview" && <OverviewPanel />}
100
+ {activeTab === "settings" && <SettingsPanel />}
101
+ {activeTab === "history" && <HistoryPanel />}
102
+ </div>
103
+ </Resizable>
111
104
  );
112
105
  ```
113
106
 
@@ -115,19 +108,21 @@ const TabbedContent = ({ activeTab }: { activeTab: string }) => (
115
108
 
116
109
  ```tsx
117
110
  const AsyncCard = ({ data }: { data: string[] | null }) => (
118
- <div className="rounded-card border border-border bg-card-background shadow-shadow-card">
119
- <Resizable>
120
- {data === null ? (
121
- <div className="p-4 text-muted-foreground">Loading…</div>
122
- ) : (
123
- <ul className="p-4 flex flex-col gap-sm">
124
- {data.map((item) => (
125
- <li key={item} className="text-foreground">{item}</li>
126
- ))}
127
- </ul>
128
- )}
129
- </Resizable>
130
- </div>
111
+ <div className="rounded-card border border-border bg-card-background shadow-shadow-card">
112
+ <Resizable>
113
+ {data === null ? (
114
+ <div className="p-4 text-muted-foreground">Loading…</div>
115
+ ) : (
116
+ <ul className="p-4 flex flex-col gap-sm">
117
+ {data.map((item) => (
118
+ <li key={item} className="text-foreground">
119
+ {item}
120
+ </li>
121
+ ))}
122
+ </ul>
123
+ )}
124
+ </Resizable>
125
+ </div>
131
126
  );
132
127
  ```
133
128