ui-lab-registry 0.3.0 → 0.3.2

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 (569) hide show
  1. package/dist/component-dependencies.d.ts +0 -11
  2. package/dist/component-dependencies.d.ts.map +1 -1
  3. package/dist/component-dependencies.js +4 -4
  4. package/dist/component-dependencies.js.map +1 -1
  5. package/dist/component-order.js +3 -3
  6. package/dist/component-order.js.map +1 -1
  7. package/dist/components/Anchor/index.d.ts +1 -1
  8. package/dist/components/Anchor/index.d.ts.map +1 -1
  9. package/dist/components/Anchor/index.js.map +1 -1
  10. package/dist/components/Badge/index.d.ts +1 -1
  11. package/dist/components/Badge/index.d.ts.map +1 -1
  12. package/dist/components/Badge/index.js.map +1 -1
  13. package/dist/components/Banner/index.d.ts +1 -1
  14. package/dist/components/Banner/index.d.ts.map +1 -1
  15. package/dist/components/Banner/index.js.map +1 -1
  16. package/dist/components/Button/index.d.ts +1 -1
  17. package/dist/components/Button/index.d.ts.map +1 -1
  18. package/dist/components/Button/index.js.map +1 -1
  19. package/dist/components/Card/index.d.ts +1 -1
  20. package/dist/components/Card/index.d.ts.map +1 -1
  21. package/dist/components/Card/index.js.map +1 -1
  22. package/dist/components/Checkbox/examples/index.d.ts +4 -4
  23. package/dist/components/Checkbox/examples/index.d.ts.map +1 -1
  24. package/dist/components/Checkbox/examples/index.js.map +1 -1
  25. package/dist/components/Checkbox/index.d.ts +1 -1
  26. package/dist/components/Checkbox/index.d.ts.map +1 -1
  27. package/dist/components/Checkbox/index.js.map +1 -1
  28. package/dist/components/Color/examples/03-format-switching.d.ts +0 -4
  29. package/dist/components/Color/examples/03-format-switching.d.ts.map +1 -1
  30. package/dist/components/Color/examples/03-format-switching.js +2 -2
  31. package/dist/components/Color/examples/03-format-switching.js.map +1 -1
  32. package/dist/components/Color/examples/index.d.ts +3 -3
  33. package/dist/components/Color/examples/index.d.ts.map +1 -1
  34. package/dist/components/Color/examples/index.js.map +1 -1
  35. package/dist/components/Color/examples.json +0 -5
  36. package/dist/components/Color/index.d.ts +1 -1
  37. package/dist/components/Color/index.d.ts.map +1 -1
  38. package/dist/components/Color/index.js.map +1 -1
  39. package/dist/components/Command/examples/01-basic-command.js +1 -1
  40. package/dist/components/Command/examples/01-basic-command.js.map +1 -1
  41. package/dist/components/Command/examples/index.d.ts +2 -2
  42. package/dist/components/Command/examples/index.d.ts.map +1 -1
  43. package/dist/components/Command/examples/index.js.map +1 -1
  44. package/dist/components/Command/examples.json +1 -1
  45. package/dist/components/Command/index.d.ts +1 -1
  46. package/dist/components/Command/index.d.ts.map +1 -1
  47. package/dist/components/Command/index.js +3 -3
  48. package/dist/components/Command/index.js.map +1 -1
  49. package/dist/components/Confirm/examples/index.d.ts +2 -2
  50. package/dist/components/Confirm/examples/index.d.ts.map +1 -1
  51. package/dist/components/Confirm/examples/index.js.map +1 -1
  52. package/dist/components/Confirm/index.d.ts +1 -1
  53. package/dist/components/Confirm/index.d.ts.map +1 -1
  54. package/dist/components/Confirm/index.js.map +1 -1
  55. package/dist/components/Date/index.js.map +1 -1
  56. package/dist/components/Divider/examples/02-pattern-variants.js +1 -1
  57. package/dist/components/Divider/examples.json +1 -1
  58. package/dist/components/Divider/index.d.ts +1 -1
  59. package/dist/components/Divider/index.d.ts.map +1 -1
  60. package/dist/components/Divider/index.js.map +1 -1
  61. package/dist/components/Expand/index.d.ts +1 -1
  62. package/dist/components/Expand/index.d.ts.map +1 -1
  63. package/dist/components/Expand/index.js.map +1 -1
  64. package/dist/components/Flex/index.d.ts +1 -1
  65. package/dist/components/Flex/index.d.ts.map +1 -1
  66. package/dist/components/Flex/index.js.map +1 -1
  67. package/dist/components/Frame/index.d.ts +1 -1
  68. package/dist/components/Frame/index.d.ts.map +1 -1
  69. package/dist/components/Frame/index.js.map +1 -1
  70. package/dist/components/Gallery/index.d.ts +1 -1
  71. package/dist/components/Gallery/index.d.ts.map +1 -1
  72. package/dist/components/Gallery/index.js.map +1 -1
  73. package/dist/components/Grid/examples/01-basic-grid.js +1 -1
  74. package/dist/components/Grid/examples/01-basic-grid.js.map +1 -1
  75. package/dist/components/Grid/examples.json +1 -1
  76. package/dist/components/Grid/index.d.ts +1 -1
  77. package/dist/components/Grid/index.d.ts.map +1 -1
  78. package/dist/components/Grid/index.js +2 -2
  79. package/dist/components/Grid/index.js.map +1 -1
  80. package/dist/components/Group/index.d.ts +1 -1
  81. package/dist/components/Group/index.d.ts.map +1 -1
  82. package/dist/components/Group/index.js.map +1 -1
  83. package/dist/components/Input/examples/02-validation.js +1 -1
  84. package/dist/components/Input/examples/02-validation.js.map +1 -1
  85. package/dist/components/Input/examples.json +1 -1
  86. package/dist/components/Input/index.d.ts +1 -1
  87. package/dist/components/Input/index.d.ts.map +1 -1
  88. package/dist/components/Input/index.js.map +1 -1
  89. package/dist/components/Label/index.d.ts +1 -1
  90. package/dist/components/Label/index.d.ts.map +1 -1
  91. package/dist/components/Label/index.js.map +1 -1
  92. package/dist/components/List/index.d.ts +1 -1
  93. package/dist/components/List/index.d.ts.map +1 -1
  94. package/dist/components/List/index.js.map +1 -1
  95. package/dist/components/Mask/index.d.ts +1 -1
  96. package/dist/components/Mask/index.d.ts.map +1 -1
  97. package/dist/components/Mask/index.js.map +1 -1
  98. package/dist/components/Menu/index.d.ts +1 -1
  99. package/dist/components/Menu/index.d.ts.map +1 -1
  100. package/dist/components/Menu/index.js.map +1 -1
  101. package/dist/components/Modal/index.d.ts +1 -1
  102. package/dist/components/Modal/index.d.ts.map +1 -1
  103. package/dist/components/Modal/index.js.map +1 -1
  104. package/dist/components/Path/examples.json +0 -5
  105. package/dist/components/Path/index.d.ts +1 -1
  106. package/dist/components/Path/index.d.ts.map +1 -1
  107. package/dist/components/Path/index.js.map +1 -1
  108. package/dist/components/Popover/index.d.ts +1 -1
  109. package/dist/components/Popover/index.d.ts.map +1 -1
  110. package/dist/components/Popover/index.js.map +1 -1
  111. package/dist/components/Progress/index.d.ts +1 -1
  112. package/dist/components/Progress/index.d.ts.map +1 -1
  113. package/dist/components/Progress/index.js.map +1 -1
  114. package/dist/components/Radio/index.d.ts +1 -1
  115. package/dist/components/Radio/index.d.ts.map +1 -1
  116. package/dist/components/Radio/index.js +1 -1
  117. package/dist/components/Radio/index.js.map +1 -1
  118. package/dist/components/Scroll/index.d.ts +1 -1
  119. package/dist/components/Scroll/index.d.ts.map +1 -1
  120. package/dist/components/Scroll/index.js.map +1 -1
  121. package/dist/components/Select/examples/02-searchable-select.js +1 -1
  122. package/dist/components/Select/examples/02-searchable-select.js.map +1 -1
  123. package/dist/components/Select/examples.json +1 -1
  124. package/dist/components/Select/index.d.ts +1 -1
  125. package/dist/components/Select/index.d.ts.map +1 -1
  126. package/dist/components/Select/index.js.map +1 -1
  127. package/dist/components/Slider/index.d.ts +1 -1
  128. package/dist/components/Slider/index.d.ts.map +1 -1
  129. package/dist/components/Slider/index.js.map +1 -1
  130. package/dist/components/Switch/index.d.ts +1 -1
  131. package/dist/components/Switch/index.d.ts.map +1 -1
  132. package/dist/components/Switch/index.js.map +1 -1
  133. package/dist/components/Table/index.d.ts +1 -1
  134. package/dist/components/Table/index.d.ts.map +1 -1
  135. package/dist/components/Table/index.js.map +1 -1
  136. package/dist/components/Tabs/examples/01-basic-tabs.js +2 -2
  137. package/dist/components/Tabs/examples/01-basic-tabs.js.map +1 -1
  138. package/dist/components/Tabs/examples/02-vertical-tabs.js +2 -2
  139. package/dist/components/Tabs/examples/02-vertical-tabs.js.map +1 -1
  140. package/dist/components/Tabs/examples.json +2 -2
  141. package/dist/components/Tabs/index.d.ts +1 -1
  142. package/dist/components/Tabs/index.d.ts.map +1 -1
  143. package/dist/components/Tabs/index.js +11 -11
  144. package/dist/components/Tabs/index.js.map +1 -1
  145. package/dist/components/Textarea/index.d.ts +1 -1
  146. package/dist/components/Textarea/index.d.ts.map +1 -1
  147. package/dist/components/Textarea/index.js.map +1 -1
  148. package/dist/components/Toast/index.d.ts +1 -1
  149. package/dist/components/Toast/index.d.ts.map +1 -1
  150. package/dist/components/Toast/index.js.map +1 -1
  151. package/dist/components/Tooltip/index.d.ts +1 -1
  152. package/dist/components/Tooltip/index.d.ts.map +1 -1
  153. package/dist/components/Tooltip/index.js.map +1 -1
  154. package/dist/elements/AI/AIChatInput/index.d.ts +1 -1
  155. package/dist/elements/AI/AIChatInput/index.d.ts.map +1 -1
  156. package/dist/elements/AI/AIChatInput/index.js +1 -1
  157. package/dist/elements/AI/AIChatInput/variations/01-basic/index.js.map +1 -1
  158. package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/index.js +1 -1
  159. package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/index.js.map +1 -1
  160. package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.js +1 -1
  161. package/dist/elements/AI/AIChatInput/variations.json +3 -3
  162. package/dist/elements/AI/ChainOfThought/index.d.ts +1 -1
  163. package/dist/elements/AI/ChainOfThought/index.d.ts.map +1 -1
  164. package/dist/elements/AI/ChainOfThought/index.js +1 -1
  165. package/dist/elements/AI/ChainOfThought/variations/01-basic/index.js.map +1 -1
  166. package/dist/elements/AI/ChainOfThought/variations/02-with-details/index.js.map +1 -1
  167. package/dist/elements/AI/ChainOfThought/variations.json +2 -2
  168. package/dist/elements/AI/Chat/index.d.ts +1 -1
  169. package/dist/elements/AI/Chat/index.d.ts.map +1 -1
  170. package/dist/elements/AI/Chat/index.js +1 -1
  171. package/dist/elements/AI/Chat/variations/01-basic/index.js.map +1 -1
  172. package/dist/elements/AI/Chat/variations/02-with-actions/index.js +1 -1
  173. package/dist/elements/AI/Chat/variations/02-with-actions/index.js.map +1 -1
  174. package/dist/elements/AI/Chat/variations.json +2 -2
  175. package/dist/elements/Documentation/CopyPage/index.d.ts +1 -1
  176. package/dist/elements/Documentation/CopyPage/index.d.ts.map +1 -1
  177. package/dist/elements/Documentation/CopyPage/index.js +1 -1
  178. package/dist/elements/Documentation/CopyPage/variations/01-basic/index.js.map +1 -1
  179. package/dist/elements/Documentation/CopyPage/variations/02-with-success/index.js.map +1 -1
  180. package/dist/elements/Documentation/CopyPage/variations.json +2 -2
  181. package/dist/elements/Documentation/NextArticle/index.d.ts +1 -1
  182. package/dist/elements/Documentation/NextArticle/index.d.ts.map +1 -1
  183. package/dist/elements/Documentation/NextArticle/index.js +1 -1
  184. package/dist/elements/Documentation/NextArticle/variations/01-basic/index.js.map +1 -1
  185. package/dist/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.js +1 -1
  186. package/dist/elements/Documentation/NextArticle/variations/02-with-icon/index.js.map +1 -1
  187. package/dist/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.js +1 -1
  188. package/dist/elements/Documentation/NextArticle/variations.json +4 -4
  189. package/dist/elements/Documentation/TOC/index.d.ts +1 -1
  190. package/dist/elements/Documentation/TOC/index.d.ts.map +1 -1
  191. package/dist/elements/Documentation/TOC/index.js +1 -1
  192. package/dist/elements/Documentation/TOC/variations/01-basic/index.js.map +1 -1
  193. package/dist/elements/Documentation/TOC/variations/02-expanded/index.js.map +1 -1
  194. package/dist/elements/Documentation/TOC/variations.json +2 -2
  195. package/dist/elements/Elements/Carousel/index.d.ts +1 -1
  196. package/dist/elements/Elements/Carousel/index.d.ts.map +1 -1
  197. package/dist/elements/Elements/Rating/index.d.ts +1 -1
  198. package/dist/elements/Elements/Rating/index.d.ts.map +1 -1
  199. package/dist/elements/Elements/Timeline/index.d.ts +1 -1
  200. package/dist/elements/Elements/Timeline/index.d.ts.map +1 -1
  201. package/dist/elements/Elements/TreeView/index.d.ts +1 -1
  202. package/dist/elements/Elements/TreeView/index.d.ts.map +1 -1
  203. package/dist/elements/categories.d.ts +1 -1
  204. package/dist/elements/categories.d.ts.map +1 -1
  205. package/dist/elements/foundation/Header/index.d.ts +1 -1
  206. package/dist/elements/foundation/Header/index.d.ts.map +1 -1
  207. package/dist/elements/foundation/Header/variations/01-basic/index.js.map +1 -1
  208. package/dist/elements/foundation/Header/variations.json +1 -1
  209. package/dist/elements/foundation/Page/index.d.ts +1 -1
  210. package/dist/elements/foundation/Page/index.d.ts.map +1 -1
  211. package/dist/elements/foundation/Page/variations/01-basic/index.js.map +1 -1
  212. package/dist/elements/foundation/Page/variations.json +1 -1
  213. package/dist/elements/foundation/Sidebar/index.d.ts +1 -1
  214. package/dist/elements/foundation/Sidebar/index.d.ts.map +1 -1
  215. package/dist/elements/foundation/Sidebar/variations/01-basic/index.js.map +1 -1
  216. package/dist/elements/foundation/Sidebar/variations.json +1 -1
  217. package/dist/generated-controls.d.ts +3 -0
  218. package/dist/generated-controls.d.ts.map +1 -0
  219. package/dist/generated-controls.js +161 -0
  220. package/dist/generated-controls.js.map +1 -0
  221. package/dist/generated-data.d.ts.map +1 -1
  222. package/dist/generated-data.js +214 -948
  223. package/dist/generated-data.js.map +1 -1
  224. package/dist/generated-styles.d.ts.map +1 -1
  225. package/dist/generated-styles.js +177 -69
  226. package/dist/generated-styles.js.map +1 -1
  227. package/dist/generated-styles.json +177 -69
  228. package/dist/index.d.ts +1 -0
  229. package/dist/index.d.ts.map +1 -1
  230. package/dist/index.js +1 -0
  231. package/dist/index.js.map +1 -1
  232. package/dist/patterns/data/data-table-row/metadata.json +3 -3
  233. package/dist/patterns/data/data-table-row/variations/expandable/index.js +1 -1
  234. package/dist/patterns/data/data-table-row/variations/main/index.js +1 -1
  235. package/dist/patterns/data/data-table-row/variations/selectable/index.js +1 -1
  236. package/dist/patterns/data/progress-metric/metadata.json +3 -3
  237. package/dist/patterns/data/progress-metric/variations/colored/index.js +1 -1
  238. package/dist/patterns/data/progress-metric/variations/main/index.js +1 -1
  239. package/dist/patterns/data/progress-metric/variations/stacked/index.js +1 -1
  240. package/dist/patterns/form/labeled-field/metadata.json +4 -4
  241. package/dist/patterns/form/labeled-field/variations/main/index.js +1 -1
  242. package/dist/patterns/form/labeled-field/variations/with-error/index.js +1 -1
  243. package/dist/patterns/form/labeled-field/variations/with-hint/index.js +1 -1
  244. package/dist/patterns/form/select-row/metadata.json +2 -2
  245. package/dist/patterns/form/select-row/variations/main/index.js +1 -1
  246. package/dist/patterns/form/select-row/variations/with-icon/index.js +1 -1
  247. package/dist/patterns/form/toggle-setting-row/metadata.json +2 -2
  248. package/dist/patterns/form/toggle-setting-row/variations/destructive/index.js +1 -1
  249. package/dist/patterns/form/toggle-setting-row/variations/main/index.js +1 -1
  250. package/dist/patterns/interaction/icon-action-bar/variations/compact/index.js +1 -1
  251. package/dist/patterns/layout/media-object/metadata.json +1 -1
  252. package/dist/patterns/layout/media-object/variations/sm/index.js +1 -1
  253. package/dist/patterns/layout/split-row/metadata.json +3 -3
  254. package/dist/patterns/layout/split-row/variations/actions/index.js +1 -1
  255. package/dist/patterns/layout/split-row/variations/main/index.js +1 -1
  256. package/dist/patterns/layout/split-row/variations/meta/index.js +1 -1
  257. package/dist/patterns/layout/stat-block/metadata.json +3 -3
  258. package/dist/patterns/layout/stat-block/variations/compact/index.js +1 -1
  259. package/dist/patterns/layout/stat-block/variations/main/index.js +1 -1
  260. package/dist/patterns/layout/stat-block/variations/with-icon/index.js +1 -1
  261. package/dist/providers/Theme/examples/01-provider-setup.d.ts +1 -1
  262. package/dist/providers/Theme/examples/index.d.ts +3 -3
  263. package/dist/providers/Theme/examples/index.d.ts.map +1 -1
  264. package/dist/providers/Theme/examples/index.js.map +1 -1
  265. package/dist/registry.d.ts.map +1 -1
  266. package/dist/registry.js +18 -28
  267. package/dist/registry.js.map +1 -1
  268. package/dist/sections/CTA/index.d.ts +1 -1
  269. package/dist/sections/CTA/index.d.ts.map +1 -1
  270. package/dist/sections/CTA/variations/02-split/index.js +1 -1
  271. package/dist/sections/CTA/variations.json +1 -1
  272. package/dist/sections/Features/index.d.ts +1 -1
  273. package/dist/sections/Features/index.d.ts.map +1 -1
  274. package/dist/sections/Hero/index.d.ts +1 -1
  275. package/dist/sections/Hero/index.d.ts.map +1 -1
  276. package/dist/sections/Pricing/index.d.ts +1 -1
  277. package/dist/sections/Pricing/index.d.ts.map +1 -1
  278. package/dist/sections/Pricing/variations/01-cards/index.js +1 -1
  279. package/dist/sections/Pricing/variations/02-comparison/index.js +1 -1
  280. package/dist/sections/Pricing/variations.json +2 -2
  281. package/dist/sections/Testimonials/index.d.ts +1 -1
  282. package/dist/sections/Testimonials/index.d.ts.map +1 -1
  283. package/dist/sections/categories.d.ts +0 -11
  284. package/dist/sections/categories.d.ts.map +1 -1
  285. package/dist/sections/categories.js +2 -2
  286. package/dist/sections/categories.js.map +1 -1
  287. package/dist/starters/Astro/index.d.ts +1 -1
  288. package/dist/starters/Astro/index.d.ts.map +1 -1
  289. package/dist/starters/Blog/index.d.ts +1 -1
  290. package/dist/starters/Blog/index.d.ts.map +1 -1
  291. package/dist/starters/CRM/index.d.ts +1 -1
  292. package/dist/starters/CRM/index.d.ts.map +1 -1
  293. package/dist/starters/Documentation/index.d.ts +1 -1
  294. package/dist/starters/Documentation/index.d.ts.map +1 -1
  295. package/dist/starters/NextJS/index.d.ts +1 -1
  296. package/dist/starters/NextJS/index.d.ts.map +1 -1
  297. package/dist/starters/NextJS/index.js +1 -1
  298. package/dist/starters/Productivity/index.d.ts +1 -1
  299. package/dist/starters/Productivity/index.d.ts.map +1 -1
  300. package/dist/starters/Tauri/index.d.ts +1 -1
  301. package/dist/starters/Tauri/index.d.ts.map +1 -1
  302. package/dist/starters/Vite/index.d.ts +1 -1
  303. package/dist/starters/Vite/index.d.ts.map +1 -1
  304. package/dist/types.d.ts +0 -6
  305. package/dist/types.d.ts.map +1 -1
  306. package/dist/utils/get-category-icon.d.ts +1 -1
  307. package/dist/utils/get-category-icon.d.ts.map +1 -1
  308. package/dist/utils/load-component-examples.d.ts +3 -2
  309. package/dist/utils/load-component-examples.d.ts.map +1 -1
  310. package/package.json +3 -7
  311. package/src/component-dependencies.ts +4 -4
  312. package/src/component-order.ts +3 -3
  313. package/src/components/Anchor/index.tsx +2 -2
  314. package/src/components/Anchor/metadata.json +1 -1
  315. package/src/components/Badge/index.tsx +2 -2
  316. package/src/components/Banner/index.tsx +2 -2
  317. package/src/components/Banner/metadata.json +1 -1
  318. package/src/components/Button/index.tsx +2 -2
  319. package/src/components/Card/index.tsx +2 -2
  320. package/src/components/Card/metadata.json +1 -1
  321. package/src/components/Checkbox/examples/index.ts +4 -4
  322. package/src/components/Checkbox/index.tsx +2 -2
  323. package/src/components/Code/metadata.json +1 -1
  324. package/src/components/Color/examples/03-format-switching.tsx +3 -3
  325. package/src/components/Color/examples/index.ts +3 -3
  326. package/src/components/Color/examples.json +0 -5
  327. package/src/components/Color/index.tsx +2 -2
  328. package/src/components/Command/examples/01-basic-command.tsx +1 -1
  329. package/src/components/Command/examples/index.ts +2 -2
  330. package/src/components/Command/examples.json +1 -1
  331. package/src/components/Command/index.tsx +5 -5
  332. package/src/components/Confirm/examples/index.ts +2 -2
  333. package/src/components/Confirm/index.tsx +2 -2
  334. package/src/components/Date/index.tsx +1 -1
  335. package/src/components/Date/metadata.json +1 -1
  336. package/src/components/Divider/examples/02-pattern-variants.tsx +3 -3
  337. package/src/components/Divider/examples.json +1 -1
  338. package/src/components/Divider/index.tsx +2 -2
  339. package/src/components/Expand/index.tsx +2 -2
  340. package/src/components/Flex/index.tsx +2 -2
  341. package/src/components/Flex/metadata.json +1 -1
  342. package/src/components/Frame/index.tsx +2 -2
  343. package/src/components/Gallery/index.tsx +2 -2
  344. package/src/components/Gallery/metadata.json +1 -1
  345. package/src/components/Grid/examples/01-basic-grid.tsx +1 -1
  346. package/src/components/Grid/examples.json +1 -1
  347. package/src/components/Grid/index.tsx +5 -5
  348. package/src/components/Group/index.tsx +2 -2
  349. package/src/components/Group/metadata.json +1 -1
  350. package/src/components/Input/examples/02-validation.tsx +2 -2
  351. package/src/components/Input/examples.json +1 -1
  352. package/src/components/Input/index.tsx +2 -2
  353. package/src/components/Label/index.tsx +2 -2
  354. package/src/components/List/index.tsx +2 -2
  355. package/src/components/List/metadata.json +1 -1
  356. package/src/components/Mask/index.tsx +2 -2
  357. package/src/components/Menu/index.tsx +2 -2
  358. package/src/components/Modal/index.tsx +2 -2
  359. package/src/components/Page/metadata.json +1 -1
  360. package/src/components/Panel/metadata.json +2 -2
  361. package/src/components/Path/examples.json +0 -5
  362. package/src/components/Path/index.tsx +2 -2
  363. package/src/components/Popover/index.tsx +2 -2
  364. package/src/components/Progress/index.tsx +3 -3
  365. package/src/components/Radio/index.tsx +5 -5
  366. package/src/components/Scroll/index.tsx +2 -2
  367. package/src/components/Select/examples/02-searchable-select.tsx +1 -1
  368. package/src/components/Select/examples.json +1 -1
  369. package/src/components/Select/index.tsx +2 -2
  370. package/src/components/Slider/index.tsx +2 -2
  371. package/src/components/Switch/index.tsx +2 -2
  372. package/src/components/Table/index.tsx +2 -2
  373. package/src/components/Tabs/examples/01-basic-tabs.tsx +12 -12
  374. package/src/components/Tabs/examples/02-vertical-tabs.tsx +19 -19
  375. package/src/components/Tabs/examples.json +2 -2
  376. package/src/components/Tabs/index.tsx +47 -47
  377. package/src/components/Textarea/index.tsx +2 -2
  378. package/src/components/Toast/index.tsx +2 -2
  379. package/src/components/Tooltip/index.tsx +2 -2
  380. package/src/elements/AI/AIChatInput/index.tsx +3 -3
  381. package/src/elements/AI/AIChatInput/variations/01-basic/index.tsx +1 -1
  382. package/src/elements/AI/AIChatInput/variations/02-with-suggestions/index.tsx +2 -2
  383. package/src/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.tsx +1 -1
  384. package/src/elements/AI/AIChatInput/variations.json +3 -3
  385. package/src/elements/AI/ChainOfThought/index.tsx +2 -2
  386. package/src/elements/AI/ChainOfThought/variations/01-basic/index.tsx +1 -1
  387. package/src/elements/AI/ChainOfThought/variations/02-with-details/index.tsx +1 -1
  388. package/src/elements/AI/ChainOfThought/variations.json +2 -2
  389. package/src/elements/AI/Chat/index.tsx +5 -5
  390. package/src/elements/AI/Chat/variations/01-basic/index.tsx +3 -3
  391. package/src/elements/AI/Chat/variations/02-with-actions/index.tsx +6 -6
  392. package/src/elements/AI/Chat/variations.json +2 -2
  393. package/src/elements/Documentation/CopyPage/index.tsx +2 -2
  394. package/src/elements/Documentation/CopyPage/variations/01-basic/index.tsx +1 -1
  395. package/src/elements/Documentation/CopyPage/variations/02-with-success/index.tsx +1 -1
  396. package/src/elements/Documentation/CopyPage/variations.json +2 -2
  397. package/src/elements/Documentation/NextArticle/index.tsx +2 -2
  398. package/src/elements/Documentation/NextArticle/variations/01-basic/index.tsx +1 -1
  399. package/src/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.tsx +1 -1
  400. package/src/elements/Documentation/NextArticle/variations/02-with-icon/index.tsx +1 -1
  401. package/src/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.tsx +1 -1
  402. package/src/elements/Documentation/NextArticle/variations.json +4 -4
  403. package/src/elements/Documentation/TOC/index.tsx +5 -5
  404. package/src/elements/Documentation/TOC/variations/01-basic/index.tsx +1 -1
  405. package/src/elements/Documentation/TOC/variations/02-expanded/index.tsx +1 -1
  406. package/src/elements/Documentation/TOC/variations.json +2 -2
  407. package/src/elements/Elements/Carousel/index.tsx +1 -1
  408. package/src/elements/Elements/Rating/index.tsx +1 -1
  409. package/src/elements/Elements/Timeline/index.tsx +1 -1
  410. package/src/elements/Elements/TreeView/index.tsx +1 -1
  411. package/src/elements/categories.ts +1 -1
  412. package/src/elements/foundation/Header/index.tsx +1 -1
  413. package/src/elements/foundation/Header/variations/01-basic/index.tsx +1 -1
  414. package/src/elements/foundation/Header/variations.json +1 -1
  415. package/src/elements/foundation/Page/index.tsx +1 -1
  416. package/src/elements/foundation/Page/variations/01-basic/index.tsx +1 -1
  417. package/src/elements/foundation/Page/variations.json +1 -1
  418. package/src/elements/foundation/Sidebar/index.tsx +1 -1
  419. package/src/elements/foundation/Sidebar/variations/01-basic/index.tsx +1 -1
  420. package/src/elements/foundation/Sidebar/variations.json +1 -1
  421. package/src/generated-controls.ts +194 -0
  422. package/src/generated-data.ts +214 -948
  423. package/src/generated-styles.ts +177 -69
  424. package/src/index.ts +1 -0
  425. package/src/patterns/data/data-table-row/metadata.json +4 -4
  426. package/src/patterns/data/data-table-row/variations/expandable/index.tsx +3 -3
  427. package/src/patterns/data/data-table-row/variations/main/index.tsx +2 -2
  428. package/src/patterns/data/data-table-row/variations/selectable/index.tsx +2 -2
  429. package/src/patterns/data/progress-metric/metadata.json +4 -4
  430. package/src/patterns/data/progress-metric/variations/colored/index.tsx +2 -2
  431. package/src/patterns/data/progress-metric/variations/main/index.tsx +2 -2
  432. package/src/patterns/data/progress-metric/variations/stacked/index.tsx +2 -2
  433. package/src/patterns/form/labeled-field/metadata.json +5 -5
  434. package/src/patterns/form/labeled-field/variations/main/index.tsx +1 -1
  435. package/src/patterns/form/labeled-field/variations/with-error/index.tsx +1 -1
  436. package/src/patterns/form/labeled-field/variations/with-hint/index.tsx +1 -1
  437. package/src/patterns/form/select-row/metadata.json +3 -3
  438. package/src/patterns/form/select-row/variations/main/index.tsx +1 -1
  439. package/src/patterns/form/select-row/variations/with-icon/index.tsx +1 -1
  440. package/src/patterns/form/toggle-setting-row/metadata.json +3 -3
  441. package/src/patterns/form/toggle-setting-row/variations/destructive/index.tsx +1 -1
  442. package/src/patterns/form/toggle-setting-row/variations/main/index.tsx +1 -1
  443. package/src/patterns/interaction/icon-action-bar/variations/compact/index.tsx +1 -1
  444. package/src/patterns/layout/media-object/metadata.json +2 -2
  445. package/src/patterns/layout/media-object/variations/sm/index.tsx +2 -2
  446. package/src/patterns/layout/split-row/metadata.json +4 -4
  447. package/src/patterns/layout/split-row/variations/actions/index.tsx +1 -1
  448. package/src/patterns/layout/split-row/variations/main/index.tsx +2 -2
  449. package/src/patterns/layout/split-row/variations/meta/index.tsx +3 -3
  450. package/src/patterns/layout/stat-block/metadata.json +4 -4
  451. package/src/patterns/layout/stat-block/variations/compact/index.tsx +1 -1
  452. package/src/patterns/layout/stat-block/variations/main/index.tsx +1 -1
  453. package/src/patterns/layout/stat-block/variations/with-icon/index.tsx +1 -1
  454. package/src/registry.ts +18 -28
  455. package/src/sections/CTA/index.tsx +1 -1
  456. package/src/sections/CTA/variations/02-split/index.tsx +1 -1
  457. package/src/sections/CTA/variations.json +1 -1
  458. package/src/sections/Features/index.tsx +1 -1
  459. package/src/sections/Hero/index.tsx +1 -1
  460. package/src/sections/Pricing/index.tsx +1 -1
  461. package/src/sections/Pricing/variations/01-cards/index.tsx +1 -1
  462. package/src/sections/Pricing/variations/02-comparison/index.tsx +1 -1
  463. package/src/sections/Pricing/variations.json +2 -2
  464. package/src/sections/Testimonials/index.tsx +1 -1
  465. package/src/sections/categories.ts +2 -2
  466. package/src/starters/Astro/index.tsx +1 -1
  467. package/src/starters/Blog/index.tsx +1 -1
  468. package/src/starters/CRM/index.tsx +1 -1
  469. package/src/starters/Documentation/index.tsx +1 -1
  470. package/src/starters/NextJS/index.tsx +3 -3
  471. package/src/starters/Productivity/index.tsx +1 -1
  472. package/src/starters/Tauri/index.tsx +1 -1
  473. package/src/starters/Vite/index.tsx +1 -1
  474. package/src/types.ts +1 -2
  475. package/src/utils/get-category-icon.tsx +1 -1
  476. package/src/utils/load-component-examples.ts +2 -2
  477. package/dist/components/Button/examples/02-joined-toggle-buttons.d.ts +0 -6
  478. package/dist/components/Button/examples/02-joined-toggle-buttons.d.ts.map +0 -1
  479. package/dist/components/Button/examples/02-joined-toggle-buttons.js +0 -15
  480. package/dist/components/Button/examples/02-joined-toggle-buttons.js.map +0 -1
  481. package/dist/components/Button/examples/03-split-action-button.d.ts +0 -6
  482. package/dist/components/Button/examples/03-split-action-button.d.ts.map +0 -1
  483. package/dist/components/Button/examples/03-split-action-button.js +0 -11
  484. package/dist/components/Button/examples/03-split-action-button.js.map +0 -1
  485. package/dist/components/Button/examples/04-toolbar-buttons.d.ts +0 -6
  486. package/dist/components/Button/examples/04-toolbar-buttons.d.ts.map +0 -1
  487. package/dist/components/Button/examples/04-toolbar-buttons.js +0 -11
  488. package/dist/components/Button/examples/04-toolbar-buttons.js.map +0 -1
  489. package/dist/components/Button/examples/05-pagination-controls.d.ts +0 -6
  490. package/dist/components/Button/examples/05-pagination-controls.d.ts.map +0 -1
  491. package/dist/components/Button/examples/05-pagination-controls.js +0 -16
  492. package/dist/components/Button/examples/05-pagination-controls.js.map +0 -1
  493. package/dist/components/Card/examples/02-user-profile-card.d.ts +0 -6
  494. package/dist/components/Card/examples/02-user-profile-card.d.ts.map +0 -1
  495. package/dist/components/Card/examples/02-user-profile-card.js +0 -12
  496. package/dist/components/Card/examples/02-user-profile-card.js.map +0 -1
  497. package/dist/components/Card/examples/03-settings-panel-card.d.ts +0 -6
  498. package/dist/components/Card/examples/03-settings-panel-card.d.ts.map +0 -1
  499. package/dist/components/Card/examples/03-settings-panel-card.js +0 -17
  500. package/dist/components/Card/examples/03-settings-panel-card.js.map +0 -1
  501. package/dist/components/Card/examples/04-task-progress-card.d.ts +0 -6
  502. package/dist/components/Card/examples/04-task-progress-card.d.ts.map +0 -1
  503. package/dist/components/Card/examples/04-task-progress-card.js +0 -12
  504. package/dist/components/Card/examples/04-task-progress-card.js.map +0 -1
  505. package/dist/components/Card/examples/05-data-summary-card.d.ts +0 -6
  506. package/dist/components/Card/examples/05-data-summary-card.d.ts.map +0 -1
  507. package/dist/components/Card/examples/05-data-summary-card.js +0 -12
  508. package/dist/components/Card/examples/05-data-summary-card.js.map +0 -1
  509. package/dist/components/CodeBlock/index.d.ts +0 -3
  510. package/dist/components/CodeBlock/index.d.ts.map +0 -1
  511. package/dist/components/CodeBlock/index.js +0 -58
  512. package/dist/components/CodeBlock/index.js.map +0 -1
  513. package/dist/components/Fold/examples/01-basic-fold.d.ts +0 -6
  514. package/dist/components/Fold/examples/01-basic-fold.d.ts.map +0 -1
  515. package/dist/components/Fold/examples/01-basic-fold.js +0 -11
  516. package/dist/components/Fold/examples/01-basic-fold.js.map +0 -1
  517. package/dist/components/Fold/examples/index.d.ts +0 -3
  518. package/dist/components/Fold/examples/index.d.ts.map +0 -1
  519. package/dist/components/Fold/examples/index.js +0 -4
  520. package/dist/components/Fold/examples/index.js.map +0 -1
  521. package/dist/components/Fold/examples.json +0 -7
  522. package/dist/components/Fold/index.d.ts +0 -6
  523. package/dist/components/Fold/index.d.ts.map +0 -1
  524. package/dist/components/Fold/index.js +0 -68
  525. package/dist/components/Fold/index.js.map +0 -1
  526. package/dist/components/Group/examples/02-active-buttons.d.ts +0 -6
  527. package/dist/components/Group/examples/02-active-buttons.d.ts.map +0 -1
  528. package/dist/components/Group/examples/02-active-buttons.js +0 -13
  529. package/dist/components/Group/examples/02-active-buttons.js.map +0 -1
  530. package/dist/components/Layout/index.d.ts +0 -5
  531. package/dist/components/Layout/index.d.ts.map +0 -1
  532. package/dist/components/Layout/index.js +0 -85
  533. package/dist/components/Layout/index.js.map +0 -1
  534. package/dist/components/Toast/examples/03-destructive-toast.d.ts +0 -6
  535. package/dist/components/Toast/examples/03-destructive-toast.d.ts.map +0 -1
  536. package/dist/components/Toast/examples/03-destructive-toast.js +0 -15
  537. package/dist/components/Toast/examples/03-destructive-toast.js.map +0 -1
  538. package/dist/patterns/content/feature-grid/example.d.ts +0 -6
  539. package/dist/patterns/content/feature-grid/example.d.ts.map +0 -1
  540. package/dist/patterns/content/feature-grid/example.js +0 -44
  541. package/dist/patterns/content/feature-grid/example.js.map +0 -1
  542. package/dist/patterns/content/feature-grid/metadata.json +0 -17
  543. package/dist/patterns/content/pricing-cards/example.d.ts +0 -6
  544. package/dist/patterns/content/pricing-cards/example.d.ts.map +0 -1
  545. package/dist/patterns/content/pricing-cards/example.js +0 -65
  546. package/dist/patterns/content/pricing-cards/example.js.map +0 -1
  547. package/dist/patterns/content/pricing-cards/metadata.json +0 -17
  548. package/dist/patterns/forms/settings-form-layout/example.d.ts +0 -6
  549. package/dist/patterns/forms/settings-form-layout/example.d.ts.map +0 -1
  550. package/dist/patterns/forms/settings-form-layout/example.js +0 -11
  551. package/dist/patterns/forms/settings-form-layout/example.js.map +0 -1
  552. package/dist/patterns/forms/settings-form-layout/metadata.json +0 -17
  553. package/dist/patterns/hero-landing/hero-with-cta/example.d.ts +0 -6
  554. package/dist/patterns/hero-landing/hero-with-cta/example.d.ts.map +0 -1
  555. package/dist/patterns/hero-landing/hero-with-cta/example.js +0 -11
  556. package/dist/patterns/hero-landing/hero-with-cta/example.js.map +0 -1
  557. package/dist/patterns/hero-landing/hero-with-cta/metadata.json +0 -17
  558. package/dist/patterns/navigation/sticky-header/example.d.ts +0 -6
  559. package/dist/patterns/navigation/sticky-header/example.d.ts.map +0 -1
  560. package/dist/patterns/navigation/sticky-header/example.js +0 -12
  561. package/dist/patterns/navigation/sticky-header/example.js.map +0 -1
  562. package/dist/patterns/navigation/sticky-header/metadata.json +0 -17
  563. package/dist/styles.css +0 -2042
  564. package/src/components/Path/examples/01-basic-breadcrumbs.tsx +0 -17
  565. package/src/providers/Theme/examples/01-provider-setup.tsx +0 -37
  566. package/src/providers/Theme/examples/02-toggle-component.tsx +0 -52
  567. package/src/providers/Theme/examples/03-advanced-patterns.tsx +0 -138
  568. package/src/providers/Theme/examples/index.ts +0 -3
  569. package/src/src/generated-styles.ts +0 -1359
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=03-split-action-button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"03-split-action-button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/examples/03-split-action-button.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,4CAa9B"}
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Group } from 'ui-lab-components';
3
- import { ChevronDown } from 'lucide-react';
4
- export const metadata = {
5
- title: 'Split Action Button',
6
- description: 'Primary action with dropdown trigger. Combines main action with secondary options menu.'
7
- };
8
- export default function Example() {
9
- return (_jsx("div", { className: "p-4 space-y-4", children: _jsx("div", { className: "space-y-2", children: _jsxs(Group, { orientation: "horizontal", spacing: "none", children: [_jsx(Group.Button, { size: "md", children: "Run Pipeline" }), _jsx(Group.Button, { size: "md", className: "px-2", children: _jsx(ChevronDown, { size: 16 }) })] }) }) }));
10
- }
11
- //# sourceMappingURL=03-split-action-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"03-split-action-button.js","sourceRoot":"","sources":["../../../../src/components/Button/examples/03-split-action-button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,yFAAyF;CACvG,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,OAAO,CACL,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,WAAW,YACxB,MAAC,KAAK,IAAC,WAAW,EAAC,YAAY,EAAC,OAAO,EAAC,MAAM,aAC5C,KAAC,KAAK,CAAC,MAAM,IAAC,IAAI,EAAC,IAAI,6BAA4B,EACnD,KAAC,KAAK,CAAC,MAAM,IAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,YACtC,KAAC,WAAW,IAAC,IAAI,EAAE,EAAE,GAAI,GACZ,IACT,GACJ,GACF,CACP,CAAA;AACH,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=04-toolbar-buttons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"04-toolbar-buttons.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/examples/04-toolbar-buttons.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,4CAiC9B"}
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Group, Divider } from 'ui-lab-components';
3
- import { Bold, Italic, Underline, Link as LinkIcon, List, Type } from 'lucide-react';
4
- export const metadata = {
5
- title: 'Editor Toolbar',
6
- description: 'Icon buttons grouped by function with dividers for visual separation. Common pattern in text editors and content creation tools.'
7
- };
8
- export default function Example() {
9
- return (_jsx("div", { className: "p-4 space-y-4", children: _jsxs("div", { className: "flex flex-row", children: [_jsxs(Group, { orientation: "horizontal", spacing: "none", children: [_jsx(Group.Button, { variant: "ghost", title: "Bold", children: _jsx(Bold, { size: 16 }) }), _jsx(Group.Button, { variant: "ghost", title: "Italic", children: _jsx(Italic, { size: 16 }) }), _jsx(Group.Button, { variant: "ghost", title: "Underline", children: _jsx(Underline, { size: 16 }) })] }), _jsx(Divider, { orientation: "vertical", spacing: "sm", className: "mx-1" }), _jsxs(Group, { orientation: "horizontal", spacing: "none", children: [_jsx(Group.Button, { variant: "ghost", title: "Link", children: _jsx(LinkIcon, { size: 16 }) }), _jsx(Group.Button, { variant: "ghost", title: "List", children: _jsx(List, { size: 16 }) })] }), _jsx(Divider, { orientation: "vertical", spacing: "sm", className: "mx-1" }), _jsx(Group, { orientation: "horizontal", spacing: "none", children: _jsx(Group.Button, { variant: "ghost", title: "Format", children: _jsx(Type, { size: 16 }) }) })] }) }));
10
- }
11
- //# sourceMappingURL=04-toolbar-buttons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"04-toolbar-buttons.js","sourceRoot":"","sources":["../../../../src/components/Button/examples/04-toolbar-buttons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,IAAI,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,M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C,KAAK,IAAC,WAAW,EAAC,YAAY,EAAC,OAAO,EAAC,MAAM,YAC5C,KAAC,KAAK,CAAC,MAAM,IAAC,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,QAAQ,YAC1C,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,GAAI,GACL,GACT,IACJ,GACF,CACP,CAAA;AACH,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=05-pagination-controls.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"05-pagination-controls.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/examples/05-pagination-controls.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ;;;CAGpB,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,4CAoD9B"}
@@ -1,16 +0,0 @@
1
- "use client";
2
- 'use client';
3
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
- import { useState } from 'react';
5
- import { Group } from 'ui-lab-components';
6
- import { ChevronLeft, ChevronRight } from 'lucide-react';
7
- export const metadata = {
8
- title: 'Pagination Controls',
9
- description: 'Previous/Next navigation with page indicators. Demonstrates button sizing and state management for data pagination.'
10
- };
11
- export default function Example() {
12
- const [currentPage, setCurrentPage] = useState(2);
13
- const totalPages = 8;
14
- return (_jsx("div", { className: "p-4 space-y-4", children: _jsx("div", { className: "space-y-2", children: _jsxs(Group, { orientation: "horizontal", spacing: "none", children: [_jsx(Group.Button, { variant: "ghost", onClick: () => setCurrentPage(Math.max(1, currentPage - 1)), isDisabled: currentPage === 1, title: "Previous page", children: _jsx(ChevronLeft, { size: 16 }) }), [1, 2, 3].map((page) => (_jsx(Group.Button, { variant: currentPage === page ? 'default' : 'outline', onClick: () => setCurrentPage(page), children: page }, page))), currentPage > 5 && (_jsx("span", { className: "text-foreground-400 text-xs px-2 flex items-center", children: "\u2026" })), totalPages > 3 && (_jsx(Group.Button, { variant: currentPage === totalPages ? 'default' : 'outline', onClick: () => setCurrentPage(totalPages), children: totalPages })), _jsx(Group.Button, { variant: "ghost", onClick: () => setCurrentPage(Math.min(totalPages, currentPage + 1)), isDisabled: currentPage === totalPages, title: "Next page", children: _jsx(ChevronRight, { size: 16 }) })] }) }) }));
15
- }
16
- //# sourceMappingURL=05-pagination-controls.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"05-pagination-controls.js","sourceRoot":"","sources":["../../../../src/components/Button/examples/05-pagination-controls.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAExD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,qHAAqH;CACnI,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;IACjD,MAAM,UAAU,GAAG,CAAC,CAAA;IAEpB,OAAO,CACL,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,WAAW,YACxB,MAAC,KAAK,IAAC,WAAW,EAAC,YAAY,EAAC,OAAO,EAAC,MAAM,aAC5C,KAAC,KAAK,CAAC,MAAM,IACX,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,CAAC,CAAC,EAC3D,UAAU,EAAE,WAAW,KAAK,CAAC,EAC7B,KAAK,EAAC,eAAe,YAErB,KAAC,WAAW,IAAC,IAAI,EAAE,EAAE,GAAI,GACZ,EAEd,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACvB,KAAC,KAAK,CAAC,MAAM,IAEX,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EACrD,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,YAElC,IAAI,IAJA,IAAI,CAKI,CAChB,CAAC,EAED,WAAW,GAAG,CAAC,IAAI,CAClB,eAAM,SAAS,EAAC,oDAAoD,uBAAS,CAC9E,EAEA,UAAU,GAAG,CAAC,IAAI,CACjB,KAAC,KAAK,CAAC,MAAM,IACX,OAAO,EAAE,WAAW,KAAK,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAC3D,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,YAExC,UAAU,GACE,CAChB,EAED,KAAC,KAAK,CAAC,MAAM,IACX,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,WAAW,GAAG,CAAC,CAAC,CAAC,EACpE,UAAU,EAAE,WAAW,KAAK,UAAU,EACtC,KAAK,EAAC,WAAW,YAEjB,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,GACb,IACT,GACJ,GACF,CACP,CAAA;AACH,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=02-user-profile-card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"02-user-profile-card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/examples/02-user-profile-card.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CAiD9B"}
@@ -1,12 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Card, Badge, Group } from 'ui-lab-components';
4
- import { Mail, MapPin, MessageSquare } from 'lucide-react';
5
- export const metadata = {
6
- title: 'User Profile Card',
7
- description: 'A practical user profile card combining header with avatar, status badge, content details, and action buttons. Demonstrates rich composition with user information display.'
8
- };
9
- export default function Example() {
10
- return (_jsx("div", { className: "flex items-center justify-center bg-background-950 p-4", children: _jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(Card.Header, { className: "flex items-start justify-between gap-4", children: [_jsxs("div", { className: "flex items-start gap-3 flex-1", children: [_jsx("div", { className: "h-12 w-12 rounded-full bg-background-700 flex-shrink-0" }), _jsxs("div", { className: "flex-1", children: [_jsx("h3", { className: "font-semibold text-foreground-100", children: "Alex Johnson" }), _jsx("p", { className: "text-sm text-foreground-400", children: "Product Designer" })] })] }), _jsx(Badge, { variant: "success", size: "sm", children: "Active" })] }), _jsxs(Card.Body, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "flex items-center gap-3 text-sm text-foreground-300", children: [_jsx(Mail, { className: "w-4 h-4 text-foreground-400" }), _jsx("span", { children: "alex.johnson@company.com" })] }), _jsxs("div", { className: "flex items-center gap-3 text-sm text-foreground-300", children: [_jsx(MapPin, { className: "w-4 h-4 text-foreground-400" }), _jsx("span", { children: "San Francisco, CA" })] })] }), _jsx("p", { className: "text-sm text-foreground-300 leading-relaxed", children: "Passionate about creating intuitive user experiences and mentoring design teams. Always exploring new design patterns." })] }), _jsx(Card.Footer, { className: "border-t border-background-700 pt-4", children: _jsxs(Group, { variant: "ghost", spacing: "sm", children: [_jsxs(Group.Button, { variant: "outline", size: "md", className: "flex-1", children: [_jsx(MessageSquare, { className: "w-4 h-4" }), _jsx("span", { children: "Message" })] }), _jsx(Group.Button, { variant: "primary", size: "md", className: "flex-1", children: "View Profile" })] }) })] }) }));
11
- }
12
- //# sourceMappingURL=02-user-profile-card.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"02-user-profile-card.js","sourceRoot":"","sources":["../../../../src/components/Card/examples/02-user-profile-card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,6KAA6K;CAC3L,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,OAAO,CACL,cAAK,SAAS,EAAC,wDAAwD,YACrE,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAE/B,MAAC,IAAI,CAAC,MAAM,IAAC,SAAS,EAAC,wCAAwC,aAC7D,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,wDAAwD,GAAG,EAC1E,eAAK,SAAS,EAAC,QAAQ,aACrB,aAAI,SAAS,EAAC,mCAAmC,6BAAkB,EACnE,YAAG,SAAS,EAAC,6BAA6B,iCAAqB,IAC3D,IACF,EACN,KAAC,KAAK,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,uBAAe,IACrC,EAGd,MAAC,IAAI,CAAC,IAAI,IAAC,SAAS,EAAC,WAAW,aAC9B,eAAK,SAAS,EAAC,WAAW,aACxB,eAAK,SAAS,EAAC,qDAAqD,aAClE,KAAC,IAAI,IAAC,SAAS,EAAC,6BAA6B,GAAG,EAChD,sDAAqC,IACjC,EACN,eAAK,SAAS,EAAC,qDAAqD,aAClE,KAAC,MAAM,IAAC,SAAS,EAAC,6BAA6B,GAAG,EAClD,+CAA8B,IAC1B,IACF,EAEN,YAAG,SAAS,EAAC,6CAA6C,uIAEtD,IACM,EAGZ,KAAC,IAAI,CAAC,MAAM,IAAC,SAAS,EAAC,qCAAqC,YAC1D,MAAC,KAAK,IAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAC,IAAI,aACjC,MAAC,KAAK,CAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,aAC1D,KAAC,aAAa,IAAC,SAAS,EAAC,SAAS,GAAG,EACrC,qCAAoB,IACP,EACf,KAAC,KAAK,CAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,6BAE7C,IACT,GACI,IACT,GACH,CACP,CAAC;AACJ,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=03-settings-panel-card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"03-settings-panel-card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/examples/03-settings-panel-card.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CA+E9B"}
@@ -1,17 +0,0 @@
1
- "use client";
2
- 'use client';
3
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
- import { useState } from 'react';
5
- import { Card, Group, Badge, Checkbox } from 'ui-lab-components';
6
- import { Bell, Eye, Lock } from 'lucide-react';
7
- export const metadata = {
8
- title: 'Settings Panel Card',
9
- description: 'A card-based settings panel with grouped toggle controls and action buttons. Shows how cards structure configuration options with clear labeling and actions.'
10
- };
11
- export default function Example() {
12
- const [notificationsEnabled, setNotificationsEnabled] = useState(true);
13
- const [previewMode, setPreviewMode] = useState(false);
14
- const [privateMode, setPrivateMode] = useState(false);
15
- return (_jsx("div", { className: "flex items-center justify-center bg-background-950 p-4", children: _jsxs(Card, { className: "w-full max-w-md", children: [_jsxs(Card.Header, { className: "flex items-center justify-between gap-3", children: [_jsx("h3", { className: "font-semibold text-foreground-100", children: "Preferences" }), _jsx(Badge, { variant: "info", size: "sm", children: "3 settings" })] }), _jsxs(Card.Body, { className: "space-y-3", children: [_jsxs("div", { className: "flex items-start gap-3 py-2 px-2 rounded hover:bg-background-900 transition-colors", children: [_jsx(Bell, { className: "w-4 h-4 text-foreground-400 mt-1 flex-shrink-0" }), _jsx(Checkbox, { id: "notifications", checked: notificationsEnabled, onChange: (e) => setNotificationsEnabled(e.target.checked), label: _jsxs("div", { className: "ml-1", children: [_jsx("p", { className: "text-sm font-medium text-foreground-100", children: "Notifications" }), _jsx("p", { className: "text-xs text-foreground-400", children: "Stay updated with alerts" })] }), size: "md" })] }), _jsxs("div", { className: "flex items-start gap-3 py-2 px-2 rounded hover:bg-background-900 transition-colors", children: [_jsx(Eye, { className: "w-4 h-4 text-foreground-400 mt-1 flex-shrink-0" }), _jsx(Checkbox, { id: "preview", checked: previewMode, onChange: (e) => setPreviewMode(e.target.checked), label: _jsxs("div", { className: "ml-1", children: [_jsx("p", { className: "text-sm font-medium text-foreground-100", children: "Preview Mode" }), _jsx("p", { className: "text-xs text-foreground-400", children: "See changes in real-time" })] }), size: "md" })] }), _jsxs("div", { className: "flex items-start gap-3 py-2 px-2 rounded hover:bg-background-900 transition-colors", children: [_jsx(Lock, { className: "w-4 h-4 text-foreground-400 mt-1 flex-shrink-0" }), _jsx(Checkbox, { id: "privacy", checked: privateMode, onChange: (e) => setPrivateMode(e.target.checked), label: _jsxs("div", { className: "ml-1", children: [_jsx("p", { className: "text-sm font-medium text-foreground-100", children: "Privacy Mode" }), _jsx("p", { className: "text-xs text-foreground-400", children: "Hide sensitive data" })] }), size: "md" })] })] }), _jsx(Card.Footer, { className: "border-t border-background-700 pt-4", children: _jsxs(Group, { children: [_jsx(Group.Button, { variant: "ghost", size: "md", className: "flex-1", children: "Reset to Defaults" }), _jsx(Group.Button, { variant: "primary", size: "md", className: "flex-1", children: "Save Changes" })] }) })] }) }));
16
- }
17
- //# sourceMappingURL=03-settings-panel-card.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"03-settings-panel-card.js","sourceRoot":"","sources":["../../../../src/components/Card/examples/03-settings-panel-card.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAU,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,+JAA+J;CAC7K,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,MAAM,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEtD,OAAO,CACL,cAAK,SAAS,EAAC,wDAAwD,YACrE,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAC/B,MAAC,IAAI,CAAC,MAAM,IAAC,SAAS,EAAC,yCAAyC,aAC9D,aAAI,SAAS,EAAC,mCAAmC,4BAAiB,EAClE,KAAC,KAAK,IAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,2BAAmB,IACtC,EAEd,MAAC,IAAI,CAAC,IAAI,IAAC,SAAS,EAAC,WAAW,aAE9B,eAAK,SAAS,EAAC,oFAAoF,aACjG,KAAC,IAAI,IAAC,SAAS,EAAC,gDAAgD,GAAG,EACnE,KAAC,QAAQ,IACP,E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AM,IAAC,OAAO,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,kCAE3C,EACf,KAAC,KAAK,CAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,6BAE7C,IACT,GACI,IACT,GACH,CACP,CAAC;AACJ,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=04-task-progress-card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"04-task-progress-card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/examples/04-task-progress-card.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CAoE9B"}
@@ -1,12 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Card, Badge, Group, Progress } from 'ui-lab-components';
4
- import { Calendar, CheckCircle2 } from 'lucide-react';
5
- export const metadata = {
6
- title: 'Task Progress Card',
7
- description: 'A project task card with progress tracking, team assignments, due dates, and status. Shows how cards organize complex project information with clear visual hierarchy.'
8
- };
9
- export default function Example() {
10
- return (_jsx("div", { className: "flex items-center justify-center bg-background-950 p-4", children: _jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(Card.Header, { className: "flex items-start justify-between gap-3", children: [_jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("h3", { className: "font-semibold text-foreground-100", children: "Design System Audit" }), _jsx("p", { className: "text-xs text-foreground-400 mt-1", children: "Component documentation" })] }), _jsx(Badge, { variant: "info", size: "sm", children: "In Progress" })] }), _jsxs(Card.Body, { className: "space-y-4", children: [_jsx("p", { className: "text-sm text-foreground-300", children: "Complete comprehensive audit of existing design system components and document best practices." }), _jsx(Progress, { value: 65, max: 100, label: "Progress", showValue: true, size: "sm", variant: "default" }), _jsxs("div", { className: "grid grid-cols-2 gap-3 pt-2 border-t border-background-800", children: [_jsxs("div", { children: [_jsx("p", { className: "text-xs text-foreground-400mb-2", children: "Assigned To" }), _jsxs("div", { className: "flex -space-x-2", children: [_jsx("div", { className: "w-6 h-6 rounded-full bg-background-700 border border-background-800 flex items-center justify-center text-[10px] font-semibold text-foreground-300", children: "SA" }), _jsx("div", { className: "w-6 h-6 rounded-full bg-background-700 border border-background-800 flex items-center justify-center text-[10px] font-semibold text-foreground-300", children: "JD" })] })] }), _jsxs("div", { children: [_jsx("p", { className: "text-xs text-foreground-400mb-2", children: "Due Date" }), _jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx(Calendar, { className: "w-4 h-4 text-foreground-400" }), _jsx("span", { className: "text-sm font-medium text-foreground-300", children: "Mar 15" })] })] })] })] }), _jsx(Card.Footer, { className: "border-t border-background-700 pt-4", children: _jsxs(Group, { children: [_jsx(Group.Button, { variant: "ghost", size: "md", className: "flex-1", children: "View Details" }), _jsxs(Group.Button, { variant: "primary", size: "md", className: "flex-1 gap-2", children: [_jsx(CheckCircle2, { className: "w-4 h-4" }), "Complete"] })] }) })] }) }));
11
- }
12
- //# sourceMappingURL=04-task-progress-card.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"04-task-progress-card.js","sourceRoot":"","sources":["../../../../src/components/Card/examples/04-task-progress-card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,wKAAwK;CACtL,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,OAAO,CACL,cAAK,SAAS,EAAC,wDAAw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EAAC,cAAc,aAChE,KAAC,YAAY,IAAC,SAAS,EAAC,SAAS,GAAG,gBAEvB,IACT,GACI,IACT,GACH,CACP,CAAC;AACJ,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=05-data-summary-card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"05-data-summary-card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/examples/05-data-summary-card.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CA8D9B"}
@@ -1,12 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Card, Badge, Group, Button } from 'ui-lab-components';
4
- import { TrendingUp, MoreVertical } from 'lucide-react';
5
- export const metadata = {
6
- title: 'Data Summary Card',
7
- description: 'A dashboard card displaying key metrics with header, summary values, and comparison info. Shows how cards present quantitative data with visual hierarchy.'
8
- };
9
- export default function Example() {
10
- return (_jsx("div", { className: "flex items-center justify-center bg-background-950 p-4", children: _jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(Card.Header, { className: "flex items-center justify-between", children: [_jsxs("div", { children: [_jsx("h3", { className: "font-semibold text-foreground-100", children: "Revenue" }), _jsx("p", { className: "text-xs text-foreground-400 mt-1", children: "Last 30 days" })] }), _jsx(Button, { variant: "ghost", size: "sm", className: "h-8 w-8 p-0", children: _jsx(MoreVertical, { className: "w-4 h-4" }) })] }), _jsxs(Card.Body, { className: "space-y-4", children: [_jsxs("div", { children: [_jsx("p", { className: "text-xs text-foreground-400mb-1", children: "Total Revenue" }), _jsx("p", { className: "text-3xl font-bold text-foreground-100", children: "$24,580" })] }), _jsxs("div", { className: "grid grid-cols-3 gap-3 pt-3 border-t border-background-700", children: [_jsxs("div", { children: [_jsx("p", { className: "text-xs text-foreground-400mb-2", children: "Orders" }), _jsx("p", { className: "text-lg font-semibold text-foreground-100", children: "342" })] }), _jsxs("div", { children: [_jsx("p", { className: "text-xs text-foreground-400mb-2", children: "Average" }), _jsx("p", { className: "text-lg font-semibold text-foreground-100", children: "$72" })] }), _jsxs("div", { children: [_jsx("p", { className: "text-xs text-foreground-400mb-2", children: "Growth" }), _jsxs("div", { className: "flex items-center gap-1", children: [_jsx(TrendingUp, { className: "w-4 h-4 text-green-500" }), _jsx("p", { className: "text-lg font-semibold text-green-500", children: "12%" })] })] })] }), _jsxs("div", { className: "flex gap-2 flex-wrap pt-2", children: [_jsx(Badge, { variant: "success", size: "sm", children: "On Track" }), _jsx(Badge, { variant: "info", size: "sm", children: "Updated Today" })] })] }), _jsx(Card.Footer, { className: "border-t border-background-700 pt-4", children: _jsxs(Group, { children: [_jsx(Group.Button, { variant: "ghost", size: "md", className: "flex-1", children: "Export" }), _jsx(Group.Button, { variant: "outline", size: "md", className: "flex-1", children: "View Details" })] }) })] }) }));
11
- }
12
- //# sourceMappingURL=05-data-summary-card.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"05-data-summary-card.js","sourceRoot":"","sources":["../../../../src/components/Card/examples/05-data-summary-card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,4JAA4J;CAC1K,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,OAAO,CACL,cAAK,SAAS,EAAC,wDAAwD,YACrE,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAE/B,MAAC,IAAI,CAAC,MAAM,IAAC,SAAS,EAAC,mCAAmC,aACxD,0BACE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,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,6BAE7C,IACT,GACI,IACT,GACH,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { ComponentDetail } from '@/types';
2
- export declare const codeBlockDetail: ComponentDetail;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CodeBlock/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAqC/C,eAAO,MAAM,eAAe,EAAE,eAsC7B,CAAC"}
@@ -1,58 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { CodeBlock } from "ui-lab-components";
4
- const basicCode = `import { CodeBlock } from 'ui-lab-components';
5
-
6
- export function Example() {
7
- return (
8
- <CodeBlock language="tsx">
9
- {code}
10
- </CodeBlock>
11
- );
12
- }`;
13
- const withFilenameCode = `import { CodeBlock } from 'ui-lab-components';
14
-
15
- export function Example() {
16
- return (
17
- <CodeBlock
18
- language="tsx"
19
- filename="Button.tsx"
20
- theme={{ light: 'github-light', dark: 'github-dark' }}
21
- >
22
- {code}
23
- </CodeBlock>
24
- );
25
- }`;
26
- const sampleCode = `export function Button({ children, onClick }: ButtonProps) {
27
- return (
28
- <button
29
- onClick={onClick}
30
- className="px-4 py-2 rounded bg-blue-500 text-white"
31
- >
32
- {children}
33
- </button>
34
- );
35
- }`;
36
- export const codeBlockDetail = {
37
- id: "code-block",
38
- name: "CodeBlock",
39
- description: "Syntax-highlighted code display with horizontal scroll, line expand, and copy button.",
40
- overview: (_jsxs("div", { className: "space-y-4 text-foreground-300", children: [_jsx("p", { children: "CodeBlock renders syntax-highlighted code using Shiki. It adapts to light and dark mode automatically, supports horizontal scrolling for wide code, collapses long files with an expand toggle, and provides a one-click copy button." }), _jsxs("p", { children: ["Pass a named Shiki theme string or a ", _jsx("code", { children: `{ light, dark }` }), " object for automatic mode-aware theming. For SSR, pass pre-rendered HTML via ", _jsx("code", { children: "preHighlightedLight" }), " / ", _jsx("code", { children: "preHighlightedDark" }), " to avoid client-side flash."] })] })),
41
- examples: [
42
- {
43
- id: "preview",
44
- title: "Preview",
45
- description: "Syntax-highlighted code with copy button",
46
- code: basicCode,
47
- preview: (_jsx("div", { className: "w-full max-w-lg", children: _jsx(CodeBlock, { language: "tsx", children: sampleCode }) })),
48
- },
49
- {
50
- id: "with-filename",
51
- title: "With Filename",
52
- description: "Shows a header bar with the filename and language",
53
- code: withFilenameCode,
54
- preview: (_jsx("div", { className: "w-full max-w-lg", children: _jsx(CodeBlock, { language: "tsx", filename: "Button.tsx", children: sampleCode }) })),
55
- },
56
- ],
57
- };
58
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CodeBlock/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,SAAS,GAAG;;;;;;;;EAQhB,CAAC;AAEH,MAAM,gBAAgB,GAAG;;;;;;;;;;;;EAYvB,CAAC;AAEH,MAAM,UAAU,GAAG;;;;;;;;;EASjB,CAAC;AAEH,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,uFAAuF;IACpG,QAAQ,EAAE,CACR,eAAK,SAAS,EAAC,+BAA+B,aAC5C,gQAEI,EACJ,iEACuC,yBAAO,iBAAiB,GAAQ,oFAA8E,iDAAgC,SAAG,gDAA+B,oCACnN,IACA,CACP;IACD,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,CACP,cAAK,SAAS,EAAC,iBAAiB,YAC9B,KAAC,SAAS,IAAC,QAAQ,EAAC,KAAK,YAAE,UAAU,GAAa,GAC9C,CACP;SACF;QACD;YACE,EAAE,EAAE,eAAe;YACnB,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,CACP,cAAK,SAAS,EAAC,iBAAiB,YAC9B,KAAC,SAAS,IAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,YAAY,YAAE,UAAU,GAAa,GACpE,CACP;SACF;KACF;CACF,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=01-basic-fold.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"01-basic-fold.d.ts","sourceRoot":"","sources":["../../../../src/components/Fold/examples/01-basic-fold.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CAS9B"}
@@ -1,11 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Fold } from 'ui-lab-components';
4
- export const metadata = {
5
- title: 'Basic Fold',
6
- description: 'An expandable/collapsible disclosure component. Use this to show and hide content sections while maintaining accessibility and keyboard support.'
7
- };
8
- export default function Example() {
9
- return (_jsx(Fold, { title: "What is a Fold component?", children: _jsx("p", { className: "text-foreground-300", children: "A Fold component is a disclosure widget that expands and collapses content. It's built with React Aria for full accessibility support." }) }));
10
- }
11
- //# sourceMappingURL=01-basic-fold.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"01-basic-fold.js","sourceRoot":"","sources":["../../../../src/components/Fold/examples/01-basic-fold.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,kJAAkJ;CAChK,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,OAAO,CACL,KAAC,IAAI,IAAC,KAAK,EAAC,2BAA2B,YACrC,YAAG,SAAS,EAAC,qBAAqB,uJAG9B,GACC,CACR,CAAC;AACJ,CAAC"}
@@ -1,3 +0,0 @@
1
- export { default as Example1 } from './01-basic-fold.js';
2
- export { metadata as metadata1 } from './01-basic-fold.js';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Fold/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,4 +0,0 @@
1
- "use client";
2
- export { default as Example1 } from './01-basic-fold.js';
3
- export { metadata as metadata1 } from './01-basic-fold.js';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Fold/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,7 +0,0 @@
1
- {
2
- "01-basic-fold": {
3
- "title": "Basic Fold",
4
- "description": "An expandable/collapsible disclosure component. Use this to show and hide content sections while maintaining accessibility and keyboard support.",
5
- "code": "import React from 'react';\nimport { Fold } from 'ui-lab-components';\n\nexport default function Example() {\n return (\n <Fold title=\"What is a Fold component?\">\n <p className=\"text-foreground-300\">\n A Fold component is a disclosure widget that expands and collapses content.\n It's built with React Aria for full accessibility support.\n </p>\n </Fold>\n );\n}"
6
- }
7
- }
@@ -1,6 +0,0 @@
1
- import { ControlDef, ComponentDetail } from '@/types';
2
- declare const foldControls: ControlDef[];
3
- export declare const foldDetail: ComponentDetail;
4
- export { foldControls };
5
- export * from './examples/index';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Fold/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAWtD,QAAA,MAAM,YAAY,EAAE,UAAU,EAO7B,CAAC;AAcF,eAAO,MAAM,UAAU,EAAE,eAgExB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,cAAc,kBAAkB,CAAC"}
@@ -1,68 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Fold } from 'ui-lab-components';
4
- import Example1, { metadata as metadata1 } from './examples/01-basic-fold.js';
5
- import examplesJson from './examples.json' with { type: 'json' };
6
- import { loadComponentExamples } from '../../utils/load-component-examples.js';
7
- // Define examplesData locally
8
- const examplesData = [
9
- { id: '01-basic-fold', Component: Example1, metadata: metadata1 },
10
- ];
11
- const foldControls = [
12
- {
13
- name: 'expanded',
14
- label: 'Default Expanded',
15
- type: 'toggle',
16
- defaultValue: false,
17
- },
18
- ];
19
- const basicFoldCode = `import { Fold } from "ui-lab-components";
20
-
21
- export function Example() {
22
- return (
23
- <Fold title="What is a Fold component?">
24
- <p>
25
- A Fold component is a disclosure widget that expands and collapses content.
26
- </p>
27
- </Fold>
28
- );
29
- }`;
30
- export const foldDetail = {
31
- id: 'fold',
32
- name: 'Fold',
33
- description: 'A disclosure component that expands and collapses content sections with full keyboard support and ARIA compliance.',
34
- overview: (_jsx("div", { className: "space-y-4 text-foreground-300", children: _jsx("p", { children: "The Fold component provides a lightweight, accessible way to organize collapsible content. Built with React Aria, it supports keyboard navigation, proper ARIA roles and attributes, and smooth animations." }) })),
35
- examples: [
36
- {
37
- id: 'preview',
38
- title: 'Preview',
39
- description: 'Adjust props to customize the component',
40
- code: basicFoldCode,
41
- preview: (_jsx(Fold, { title: "What is a Fold component?", children: _jsx("p", { className: "text-foreground-300", children: "A Fold component is a disclosure widget that expands and collapses content." }) })),
42
- controls: foldControls,
43
- renderPreview: (props) => (_jsx(Fold, { title: "What is a Fold component?", defaultExpanded: props.expanded, children: _jsx("p", { className: "text-foreground-300", children: "A Fold component is a disclosure widget that expands and collapses content. It's built with React Aria for full accessibility support." }) })),
44
- },
45
- ...loadComponentExamples(examplesData, examplesJson),
46
- ],
47
- variants: [
48
- {
49
- id: 'default',
50
- name: 'Default',
51
- description: 'Standard fold component in collapsed state.',
52
- code: basicFoldCode,
53
- preview: (_jsx(Fold, { title: "What is a Fold component?", children: _jsx("p", { className: "text-foreground-300", children: "Content goes here" }) })),
54
- },
55
- {
56
- id: 'expanded',
57
- name: 'Expanded',
58
- description: 'Fold component in expanded state showing content.',
59
- code: `<Fold title="Title" defaultExpanded>
60
- <p>Content goes here</p>
61
- </Fold>`,
62
- preview: (_jsx(Fold, { title: "Expanded Fold", defaultExpanded: true, children: _jsx("p", { className: "text-foreground-300", children: "Content is visible by default" }) })),
63
- },
64
- ],
65
- };
66
- export { foldControls };
67
- export * from './examples/index.js';
68
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Fold/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAG5E,8BAA8B;AAC9B,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,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IAAI,EAAE;;QAEJ;YACF,OAAO,EAAE,CACP,KAAC,IAAI,IAAC,KAAK,EAAC,eAAe,EAAC,eAAe,kBACzC,YAAG,SAAS,EAAC,qBAAqB,8CAAkC,GAC/D,CACR;SACF;KACF;CACF,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,cAAc,kBAAkB,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- title: string;
3
- description: string;
4
- };
5
- export default function Example(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=02-active-buttons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"02-active-buttons.d.ts","sourceRoot":"","sources":["../../../../src/components/Group/examples/02-active-buttons.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CAyD9B"}
@@ -1,13 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import React from 'react';
4
- import { Group } from 'ui-lab-components';
5
- export const metadata = {
6
- title: 'Active Buttons',
7
- description: 'Ghost variant automatically applies default styling with full border radius to active buttons, while inactive buttons remain ghost. Perfect for tabs and pagination.'
8
- };
9
- export default function Example() {
10
- const [activeTab, setActiveTab] = React.useState('overview');
11
- return (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-sm text-foreground-300", children: "Ghost variant (tabs & pagination)" }), _jsxs(Group, { variant: "ghost", children: [_jsx(Group.Button, { active: activeTab === 'overview', onClick: () => setActiveTab('overview'), children: "Overview" }), _jsx(Group.Button, { active: activeTab === 'details', onClick: () => setActiveTab('details'), children: "Details" }), _jsx(Group.Button, { active: activeTab === 'settings', onClick: () => setActiveTab('settings'), children: "Settings" })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-sm text-foreground-300", children: "Ghost variant pagination" }), _jsx(Group, { variant: "ghost", spacing: "none", children: [1, 2, 3, 4, 5].map((page) => (_jsx(Group.Button, { active: page === 2, onClick: () => { }, children: page }, page))) })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-sm text-foreground-300", children: "Primary variant with active" }), _jsxs(Group, { variant: "primary", children: [_jsx(Group.Button, { active: true, children: "Active" }), _jsx(Group.Button, { children: "Inactive" }), _jsx(Group.Button, { children: "Inactive" })] })] })] }));
12
- }
13
- //# sourceMappingURL=02-active-buttons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"02-active-buttons.js","sourceRoot":"","sources":["../../../../src/components/Group/examples/02-active-buttons.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,sKAAsK;CACpL,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IAE7D,OAAO,CACL,eAAK,SAAS,EAAC,WAAW,aAExB,eAAK,SAAS,EAAC,WAAW,aACxB,gBAAO,SAAS,EAAC,6BAA6B,kDAA0C,EACxF,MAAC,KAAK,IAAC,OAAO,EAAC,OAAO,aACpB,KAAC,KAAK,CAAC,MAAM,IACX,MAAM,EAAE,SAAS,KAAK,UAAU,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,yBAG1B,EACf,KAAC,KAAK,CAAC,MAAM,IACX,MAAM,EAAE,SAAS,KAAK,SAAS,EAC/B,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,wBAGzB,EACf,KAAC,KAAK,CAAC,MAAM,IACX,MAAM,EAAE,SAAS,KAAK,UAAU,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,yBAG1B,IACT,IACJ,EAGN,eAAK,SAAS,EAAC,WAAW,aACxB,gBAAO,SAAS,EAAC,6BAA6B,yCAAiC,EAC/E,KAAC,KAAK,IAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAC,MAAM,YAClC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC7B,KAAC,KAAK,CAAC,MAAM,IAEX,MAAM,EAAE,IAAI,KAAK,CAAC,EAClB,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,YAEhB,IAAI,IAJA,IAAI,CAKI,CAChB,CAAC,GACI,IACJ,EAGN,eAAK,SAAS,EAAC,WAAW,aACxB,gBAAO,SAAS,EAAC,6BAA6B,4CAAoC,EAClF,MAAC,KAAK,IAAC,OAAO,EAAC,SAAS,aACtB,KAAC,KAAK,CAAC,MAAM,IAAC,MAAM,6BAAsB,EAC1C,KAAC,KAAK,CAAC,MAAM,2BAAwB,EACrC,KAAC,KAAK,CAAC,MAAM,2BAAwB,IAC/B,IACJ,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ControlDef, ComponentDetail } from '@/types';
2
- declare const layoutControls: ControlDef[];
3
- export declare const layoutDetail: ComponentDetail;
4
- export { layoutControls };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAErD,QAAA,MAAM,cAAc,EAAE,UAAU,EA6B/B,CAAA;AAoBD,eAAO,MAAM,YAAY,EAAE,eA0F1B,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}