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,85 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Layout } from 'ui-lab-components';
4
- const layoutControls = [
5
- {
6
- name: 'spacing',
7
- label: 'Spacing',
8
- type: 'select',
9
- options: [
10
- { label: 'None', value: 'none' },
11
- { label: 'Small', value: 'sm' },
12
- { label: 'Medium', value: 'md' },
13
- { label: 'Large', value: 'lg' },
14
- ],
15
- defaultValue: 'md',
16
- },
17
- {
18
- name: 'variant',
19
- label: 'Variant',
20
- type: 'select',
21
- options: [
22
- { label: 'Default', value: 'default' },
23
- { label: 'Compact', value: 'compact' },
24
- ],
25
- defaultValue: 'default',
26
- },
27
- {
28
- name: 'sticky',
29
- label: 'Sticky Header',
30
- type: 'toggle',
31
- defaultValue: true,
32
- },
33
- ];
34
- const layoutBasicCode = `import { Layout } from "ui-lab-components";
35
-
36
- export function Example() {
37
- return (
38
- <Layout spacing="md">
39
- <Layout.Header sticky>
40
- <div className="p-4">Header</div>
41
- </Layout.Header>
42
- <Layout.Content>
43
- <div className="p-4">Content area</div>
44
- </Layout.Content>
45
- <Layout.Footer>
46
- <div className="p-4">Footer</div>
47
- </Layout.Footer>
48
- </Layout>
49
- );
50
- }`;
51
- export const layoutDetail = {
52
- id: 'layout',
53
- name: 'Layout',
54
- description: 'A flexible region coordinator that manages header, footer, and content areas with responsive stacking.',
55
- overview: (_jsxs("div", { className: "space-y-4 text-foreground-300", children: [_jsx("p", { children: "The Layout component coordinates multiple page regions (header, content, footer) with unified spacing, responsive behavior, and sticky/fixed positioning support." }), _jsx("p", { children: "Perfect for building page structures that need header, content, and footer regions. Provides context about responsive state so child components know when to collapse or reorganize." }), _jsx("p", { children: "Use Layout.Header, Layout.Content, and Layout.Footer sub-components to organize your page regions." })] })),
56
- examples: [
57
- {
58
- id: 'preview',
59
- title: 'Preview',
60
- description: 'Adjust props to customize the layout',
61
- code: layoutBasicCode,
62
- preview: (_jsx("div", { style: { height: '300px', border: '1px solid var(--color-border)', borderRadius: '4px', overflow: 'hidden' }, children: _jsxs(Layout, { spacing: "md", children: [_jsx(Layout.Header, { sticky: true, children: _jsx("div", { style: {
63
- padding: '1rem',
64
- backgroundColor: 'var(--color-surface-secondary)',
65
- borderBottom: '1px solid var(--color-border)',
66
- }, children: "Header" }) }), _jsx(Layout.Content, { children: _jsx("div", { style: { padding: '1rem' }, children: "Content area" }) }), _jsx(Layout.Footer, { children: _jsx("div", { style: {
67
- padding: '1rem',
68
- backgroundColor: 'var(--color-surface-secondary)',
69
- borderTop: '1px solid var(--color-border)',
70
- }, children: "Footer" }) })] }) })),
71
- controls: layoutControls,
72
- renderPreview: (props) => (_jsx("div", { style: { height: '300px', border: '1px solid var(--color-border)', borderRadius: '4px', overflow: 'hidden' }, children: _jsxs(Layout, { spacing: props.spacing, variant: props.variant, children: [_jsx(Layout.Header, { sticky: props.sticky, children: _jsx("div", { style: {
73
- padding: '1rem',
74
- backgroundColor: 'var(--color-surface-secondary)',
75
- borderBottom: '1px solid var(--color-border)',
76
- }, children: "Header" }) }), _jsx(Layout.Content, { children: _jsx("div", { style: { padding: '1rem' }, children: "Content area" }) }), _jsx(Layout.Footer, { children: _jsx("div", { style: {
77
- padding: '1rem',
78
- backgroundColor: 'var(--color-surface-secondary)',
79
- borderTop: '1px solid var(--color-border)',
80
- }, children: "Footer" }) })] }) })),
81
- },
82
- ],
83
- };
84
- export { layoutControls };
85
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Layout/index.tsx"],"names":[],"mappings":"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"}
@@ -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-destructive-toast.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"03-destructive-toast.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/examples/03-destructive-toast.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CAkB9B"}
@@ -1,15 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Button, toast, Toaster } from 'ui-lab-components';
4
- export const metadata = {
5
- title: 'Destructive Toast',
6
- description: 'Toast notification for errors or destructive operations.'
7
- };
8
- export default function Example() {
9
- return (_jsxs(_Fragment, { children: [_jsx(Button, { size: "sm", onClick: () => toast({
10
- title: 'Error',
11
- description: 'Something went wrong',
12
- variant: 'destructive',
13
- }), children: "Show Error" }), _jsx(Toaster, {})] }));
14
- }
15
- //# sourceMappingURL=03-destructive-toast.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"03-destructive-toast.js","sourceRoot":"","sources":["../../../../src/components/Toast/examples/03-destructive-toast.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE3D,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,0DAA0D;CACxE,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,OAAO,CACL,8BACE,KAAC,MAAM,IACL,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,GAAG,EAAE,CACZ,KAAK,CAAC;oBACJ,KAAK,EAAE,OAAO;oBACd,WAAW,EAAE,sBAAsB;oBACnC,OAAO,EAAE,aAAa;iBACvB,CAAC,2BAIG,EACT,KAAC,OAAO,KAAG,IACV,CACJ,CAAC;AACJ,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- name: string;
3
- description: string;
4
- };
5
- export default function FeatureGrid(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=example.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/content/feature-grid/example.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAmCF,MAAM,CAAC,OAAO,UAAU,WAAW,4CAkClC"}
@@ -1,44 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Grid, Card, Flex } from 'ui-lab-components';
4
- import { Zap, Shield, Palette, Layers, Code, Globe } from 'lucide-react';
5
- export const metadata = {
6
- name: 'Feature Grid',
7
- description: 'Responsive grid of feature cards with icons and descriptions',
8
- };
9
- const features = [
10
- {
11
- icon: Zap,
12
- title: 'Lightning Fast',
13
- description: 'Optimized for performance with minimal bundle size and zero runtime overhead.',
14
- },
15
- {
16
- icon: Shield,
17
- title: 'Accessible',
18
- description: 'Built on React Aria with full keyboard navigation and screen reader support.',
19
- },
20
- {
21
- icon: Palette,
22
- title: 'Themeable',
23
- description: 'Semantic color system with automatic light and dark mode support.',
24
- },
25
- {
26
- icon: Layers,
27
- title: 'Composable',
28
- description: 'Compound component patterns that snap together like building blocks.',
29
- },
30
- {
31
- icon: Code,
32
- title: 'TypeScript First',
33
- description: 'Full type safety with autocompletion and inline documentation.',
34
- },
35
- {
36
- icon: Globe,
37
- title: 'Framework Agnostic',
38
- description: 'Works with Next.js, Vite, Remix, and any React framework.',
39
- },
40
- ];
41
- export default function FeatureGrid() {
42
- return (_jsx("section", { className: "w-full px-6 py-20 bg-background-950", children: _jsxs("div", { className: "max-w-5xl mx-auto", children: [_jsxs("div", { className: "text-center mb-12", children: [_jsx("h2", { className: "text-3xl font-bold text-foreground-50 mb-3", children: "Everything you need" }), _jsx("p", { className: "text-foreground-300 text-lg max-w-2xl mx-auto", children: "A complete toolkit for building modern user interfaces." })] }), _jsx(Grid, { columns: { sm: '1', md: '2', lg: '3' }, gap: "md", children: features.map((feature) => (_jsx(Card, { children: _jsx(Card.Body, { children: _jsxs(Flex, { direction: "column", gap: "sm", children: [_jsx("div", { className: "w-10 h-10 rounded-lg bg-accent-500/10 flex items-center justify-center", children: _jsx(feature.icon, { className: "w-5 h-5 text-accent-400" }) }), _jsx("h3", { className: "text-lg font-semibold text-foreground-50", children: feature.title }), _jsx("p", { className: "text-sm text-foreground-300", children: feature.description })] }) }) }, feature.title))) })] }) }));
43
- }
44
- //# sourceMappingURL=example.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/content/feature-grid/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAEzE,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,8DAA8D;CAC5E,CAAC;AAEF,MAAM,QAAQ,GAAG;IACf;QACE,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,+EAA+E;KAC7F;IACD;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,8EAA8E;KAC5F;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,mEAAmE;KACjF;IACD;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,sEAAsE;KACpF;IACD;QACE,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,gEAAgE;KAC9E;IACD;QACE,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,2DAA2D;KACzE;CACF,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW;IACjC,OAAO,CACL,kBAAS,SAAS,EAAC,qCAAqC,YACtD,eAAK,SAAS,EAAC,mBAAmB,aAChC,eAAK,SAAS,EAAC,mBAAmB,aAChC,aAAI,SAAS,EAAC,4CAA4C,oCAErD,EACL,YAAG,SAAS,EAAC,+CAA+C,wEAExD,IACA,EACN,KAAC,IAAI,IAAC,OAAO,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,EAAC,IAAI,YACnD,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACzB,KAAC,IAAI,cACH,KAAC,IAAI,CAAC,IAAI,cACR,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,cAAK,SAAS,EAAC,wEAAwE,YACrF,KAAC,OAAO,CAAC,IAAI,IAAC,SAAS,EAAC,yBAAyB,GAAG,GAChD,EACN,aAAI,SAAS,EAAC,0CAA0C,YACrD,OAAO,CAAC,KAAK,GACX,EACL,YAAG,SAAS,EAAC,6BAA6B,YACvC,OAAO,CAAC,WAAW,GAClB,IACC,GACG,IAbH,OAAO,CAAC,KAAK,CAcjB,CACR,CAAC,GACG,IACH,GACE,CACX,CAAC;AACJ,CAAC"}
@@ -1,17 +0,0 @@
1
- {
2
- "id": "feature-grid",
3
- "name": "Feature Grid",
4
- "description": "Responsive grid of feature cards with icons, titles, and descriptions. Ideal for showcasing product capabilities or service offerings.",
5
- "category": "content",
6
- "tags": ["features", "grid", "cards", "icons", "showcase", "capabilities"],
7
- "useCases": [
8
- "Product features section",
9
- "Service offerings page",
10
- "Benefits overview",
11
- "Technology stack display"
12
- ],
13
- "components": ["Grid", "Card", "Flex"],
14
- "complexity": "simple",
15
- "relatedPatterns": ["hero-with-cta", "pricing-cards"],
16
- "notes": "Grid uses responsive columns (1 on mobile, 2 on medium, 3 on large). Cards use subtle border styling with hover states. Icons are passed as children for flexibility."
17
- }
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- name: string;
3
- description: string;
4
- };
5
- export default function PricingCards(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=example.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/content/pricing-cards/example.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAsDF,MAAM,CAAC,OAAO,UAAU,YAAY,4CAiEnC"}
@@ -1,65 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Card, Badge, Button, Grid, Flex } from 'ui-lab-components';
4
- import { Check } from 'lucide-react';
5
- export const metadata = {
6
- name: 'Pricing Cards',
7
- description: 'Side-by-side pricing plan cards with feature lists and CTAs',
8
- };
9
- const plans = [
10
- {
11
- name: 'Starter',
12
- price: '$0',
13
- period: '/month',
14
- description: 'For individuals and side projects',
15
- features: [
16
- '5 projects',
17
- '1 GB storage',
18
- 'Community support',
19
- 'Basic analytics',
20
- ],
21
- buttonVariant: 'outline',
22
- buttonLabel: 'Get Started',
23
- highlighted: false,
24
- },
25
- {
26
- name: 'Pro',
27
- price: '$29',
28
- period: '/month',
29
- description: 'For growing teams and businesses',
30
- features: [
31
- 'Unlimited projects',
32
- '100 GB storage',
33
- 'Priority support',
34
- 'Advanced analytics',
35
- 'Custom domains',
36
- 'Team collaboration',
37
- ],
38
- buttonVariant: 'primary',
39
- buttonLabel: 'Start Free Trial',
40
- highlighted: true,
41
- },
42
- {
43
- name: 'Enterprise',
44
- price: '$99',
45
- period: '/month',
46
- description: 'For large organizations',
47
- features: [
48
- 'Everything in Pro',
49
- '1 TB storage',
50
- 'Dedicated support',
51
- 'SSO & SAML',
52
- 'Audit logs',
53
- 'Custom contracts',
54
- ],
55
- buttonVariant: 'outline',
56
- buttonLabel: 'Contact Sales',
57
- highlighted: false,
58
- },
59
- ];
60
- export default function PricingCards() {
61
- return (_jsx("section", { className: "w-full px-6 py-20 bg-background-950", children: _jsxs("div", { className: "max-w-5xl mx-auto", children: [_jsxs("div", { className: "text-center mb-12", children: [_jsx("h2", { className: "text-3xl font-bold text-foreground-50 mb-3", children: "Simple, transparent pricing" }), _jsx("p", { className: "text-foreground-300 text-lg", children: "Choose the plan that fits your needs." })] }), _jsx(Grid, { columns: { sm: '1', md: '3' }, gap: "md", children: plans.map((plan) => (_jsx(Card, { className: plan.highlighted
62
- ? 'border-accent-500 ring-1 ring-accent-500/20'
63
- : '', children: _jsx(Card.Body, { children: _jsxs(Flex, { direction: "column", gap: "md", children: [_jsxs(Flex, { direction: "column", gap: "xs", children: [_jsxs(Flex, { align: "center", gap: "sm", children: [_jsx("h3", { className: "text-lg font-semibold text-foreground-50", children: plan.name }), plan.highlighted && (_jsx(Badge, { variant: "default", children: "Popular" }))] }), _jsx("p", { className: "text-sm text-foreground-400", children: plan.description })] }), _jsxs("div", { children: [_jsx("span", { className: "text-4xl font-bold text-foreground-50", children: plan.price }), _jsx("span", { className: "text-foreground-400", children: plan.period })] }), _jsx("ul", { className: "space-y-2", children: plan.features.map((feature) => (_jsxs("li", { className: "flex items-center gap-2 text-sm text-foreground-200", children: [_jsx(Check, { className: "w-4 h-4 text-accent-400 shrink-0" }), feature] }, feature))) }), _jsx(Button, { variant: plan.buttonVariant, className: "w-full", children: plan.buttonLabel })] }) }) }, plan.name))) })] }) }));
64
- }
65
- //# sourceMappingURL=example.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/content/pricing-cards/example.tsx"],"names":[],"mappings":"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"}
@@ -1,17 +0,0 @@
1
- {
2
- "id": "pricing-cards",
3
- "name": "Pricing Cards",
4
- "description": "Side-by-side pricing plan cards with feature lists, badges for plan tiers, and call-to-action buttons. Standard pattern for SaaS and product pricing pages.",
5
- "category": "content",
6
- "tags": ["pricing", "cards", "plans", "badge", "saas", "subscription", "tiers"],
7
- "useCases": [
8
- "SaaS pricing page",
9
- "Subscription plan selection",
10
- "Service tier comparison",
11
- "Product plan overview"
12
- ],
13
- "components": ["Card", "Badge", "Button", "Grid", "Flex"],
14
- "complexity": "moderate",
15
- "relatedPatterns": ["hero-with-cta", "feature-grid"],
16
- "notes": "Highlighted plan uses accent border for visual emphasis. Badge indicates recommended tier. Feature lists use simple check marks. Grid is responsive: stacks on mobile, side-by-side on larger screens."
17
- }
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- name: string;
3
- description: string;
4
- };
5
- export default function SettingsFormLayout(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=example.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/forms/settings-form-layout/example.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,kBAAkB,4CAuDzC"}
@@ -1,11 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Input, Label, Switch, Button, Flex, Card } from 'ui-lab-components';
4
- export const metadata = {
5
- name: 'Settings Form Layout',
6
- description: 'Structured settings form with labeled inputs, toggles, and submit action',
7
- };
8
- export default function SettingsFormLayout() {
9
- return (_jsxs("section", { className: "w-full max-w-2xl mx-auto px-6 py-12", children: [_jsx("h2", { className: "text-2xl font-bold text-foreground-50 mb-8", children: "Account Settings" }), _jsx(Card, { children: _jsx(Card.Body, { children: _jsxs(Flex, { direction: "column", gap: "lg", children: [_jsxs(Flex, { direction: "column", gap: "sm", children: [_jsx(Label, { htmlFor: "display-name", children: "Display Name" }), _jsx(Input, { id: "display-name", placeholder: "Your display name" })] }), _jsxs(Flex, { direction: "column", gap: "sm", children: [_jsx(Label, { htmlFor: "email", children: "Email Address" }), _jsx(Input, { id: "email", type: "email", placeholder: "you@example.com" })] }), _jsx("div", { className: "border-t border-background-800 my-2" }), _jsxs(Flex, { justify: "space-between", align: "center", children: [_jsxs(Flex, { direction: "column", gap: "xs", children: [_jsx("span", { className: "text-sm font-medium text-foreground-100", children: "Email Notifications" }), _jsx("span", { className: "text-xs text-foreground-400", children: "Receive email updates about your account activity" })] }), _jsx(Switch, { defaultSelected: true })] }), _jsxs(Flex, { justify: "space-between", align: "center", children: [_jsxs(Flex, { direction: "column", gap: "xs", children: [_jsx("span", { className: "text-sm font-medium text-foreground-100", children: "Marketing Emails" }), _jsx("span", { className: "text-xs text-foreground-400", children: "Receive tips, product updates, and announcements" })] }), _jsx(Switch, {})] }), _jsx("div", { className: "border-t border-background-800 my-2" }), _jsx(Flex, { justify: "flex-end", children: _jsx(Button, { variant: "primary", children: "Save Changes" }) })] }) }) })] }));
10
- }
11
- //# sourceMappingURL=example.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/forms/settings-form-layout/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE7E,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,0EAA0E;CACxF,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,kBAAkB;IACxC,OAAO,CACL,mBAAS,SAAS,EAAC,qCAAqC,aACtD,aAAI,SAAS,EAAC,4CAA4C,iCAErD,EACL,KAAC,IAAI,cACH,KAAC,IAAI,CAAC,IAAI,cACR,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,KAAC,KAAK,IAAC,OAAO,EAAC,cAAc,6BAAqB,EAClD,KAAC,KAAK,IAAC,EAAE,EAAC,cAAc,EAAC,WAAW,EAAC,mBAAmB,GAAG,IACtD,EAEP,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,KAAC,KAAK,IAAC,OAAO,EAAC,OAAO,8BAAsB,EAC5C,KAAC,KAAK,IAAC,EAAE,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,iBAAiB,GAAG,IAC1D,EAEP,cAAK,SAAS,EAAC,qCAAqC,GAAG,EAEvD,MAAC,IAAI,IAAC,OAAO,EAAC,eAAe,EAAC,KAAK,EAAC,QAAQ,aAC1C,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,eAAM,SAAS,EAAC,yCAAyC,oCAElD,EACP,eAAM,SAAS,EAAC,6BAA6B,kEAEtC,IACF,EACP,KAAC,MAAM,IAAC,eAAe,SAAG,IACrB,EAEP,MAAC,IAAI,IAAC,OAAO,EAAC,eAAe,EAAC,KAAK,EAAC,QAAQ,aAC1C,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,eAAM,SAAS,EAAC,yCAAyC,iCAElD,EACP,eAAM,SAAS,EAAC,6BAA6B,iEAEtC,IACF,EACP,KAAC,MAAM,KAAG,IACL,EAEP,cAAK,SAAS,EAAC,qCAAqC,GAAG,EAEvD,KAAC,IAAI,IAAC,OAAO,EAAC,UAAU,YACtB,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,6BAAsB,GAC1C,IACF,GACG,GACP,IACC,CACX,CAAC;AACJ,CAAC"}
@@ -1,17 +0,0 @@
1
- {
2
- "id": "settings-form-layout",
3
- "name": "Settings Form Layout",
4
- "description": "Structured settings form with labeled inputs, toggle switches, and a submit button. Common pattern for account settings and preference pages.",
5
- "category": "forms",
6
- "tags": ["form", "settings", "input", "switch", "toggle", "preferences", "account"],
7
- "useCases": [
8
- "Account settings page",
9
- "Notification preferences",
10
- "Profile editing form",
11
- "Application configuration"
12
- ],
13
- "components": ["Input", "Label", "Switch", "Button", "Flex", "Card"],
14
- "complexity": "moderate",
15
- "relatedPatterns": ["sticky-header"],
16
- "notes": "Form sections are separated by dividers. Labels are associated with inputs for accessibility. Switch toggles use descriptive labels. Submit button is placed at the bottom with right alignment."
17
- }
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- name: string;
3
- description: string;
4
- };
5
- export default function HeroWithCTA(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=example.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/hero-landing/hero-with-cta/example.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW,4CAwBlC"}
@@ -1,11 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Button, Group, Flex } from 'ui-lab-components';
4
- export const metadata = {
5
- name: 'Hero with CTA',
6
- description: 'Hero section with headline, subheadline, and call-to-action button group',
7
- };
8
- export default function HeroWithCTA() {
9
- return (_jsx("section", { className: "w-full min-h-[70vh] flex items-center justify-center px-6 py-20 bg-background-950", children: _jsxs(Flex, { direction: "column", align: "center", gap: "lg", children: [_jsxs("div", { className: "text-center max-w-3xl", children: [_jsx("h1", { className: "text-5xl md:text-6xl font-bold text-foreground-50 mb-4 tracking-tight", children: "Build beautiful interfaces" }), _jsx("p", { className: "text-lg md:text-xl text-foreground-300 max-w-2xl mx-auto", children: "A composable component library for modern React applications. Ship faster with accessible, themeable components." })] }), _jsxs(Group, { spacing: "sm", children: [_jsx(Button, { variant: "primary", size: "lg", children: "Get Started" }), _jsx(Button, { variant: "ghost", size: "lg", children: "View Documentation" })] })] }) }));
10
- }
11
- //# sourceMappingURL=example.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/hero-landing/hero-with-cta/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,0EAA0E;CACxF,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW;IACjC,OAAO,CACL,kBAAS,SAAS,EAAC,mFAAmF,YACpG,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC9C,eAAK,SAAS,EAAC,uBAAuB,aACpC,aAAI,SAAS,EAAC,uEAAuE,2CAEhF,EACL,YAAG,SAAS,EAAC,0DAA0D,iIAGnE,IACA,EACN,MAAC,KAAK,IAAC,OAAO,EAAC,IAAI,aACjB,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,4BAE1B,EACT,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,mCAExB,IACH,IACH,GACC,CACX,CAAC;AACJ,CAAC"}
@@ -1,17 +0,0 @@
1
- {
2
- "id": "hero-with-cta",
3
- "name": "Hero with CTA",
4
- "description": "Hero section with headline, subheadline, and primary action button group. Perfect for landing pages and product launches.",
5
- "category": "hero-landing",
6
- "tags": ["hero", "cta", "call-to-action", "landing", "button-group", "headline"],
7
- "useCases": [
8
- "Product landing page",
9
- "Feature announcement",
10
- "Pricing page hero",
11
- "Marketing homepage"
12
- ],
13
- "components": ["Button", "Group", "Flex"],
14
- "complexity": "simple",
15
- "relatedPatterns": ["feature-grid", "pricing-cards"],
16
- "notes": "Button Group uses ghost variant for secondary actions. Hero container uses flex with center alignment. Text hierarchy established through font size scaling."
17
- }
@@ -1,6 +0,0 @@
1
- export declare const metadata: {
2
- name: string;
3
- description: string;
4
- };
5
- export default function StickyHeader(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=example.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/navigation/sticky-header/example.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,YAAY,4CAiCnC"}
@@ -1,12 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Button, Group, Flex } from 'ui-lab-components';
4
- export const metadata = {
5
- name: 'Sticky Header',
6
- description: 'Fixed navigation header with logo, links, and action buttons',
7
- };
8
- const navLinks = ['Features', 'Pricing', 'Docs', 'Blog'];
9
- export default function StickyHeader() {
10
- return (_jsx("header", { className: "sticky top-0 z-50 w-full border-b border-background-800 bg-background-950/80 backdrop-blur-md", children: _jsxs(Flex, { align: "center", justify: "space-between", className: "max-w-6xl mx-auto h-16 px-6", children: [_jsxs(Flex, { align: "center", gap: "lg", children: [_jsx("span", { className: "text-lg font-bold text-foreground-50", children: "Acme" }), _jsx("nav", { children: _jsx(Group, { spacing: "sm", children: navLinks.map((link) => (_jsx(Button, { variant: "ghost", size: "sm", children: link }, link))) }) })] }), _jsxs(Group, { spacing: "sm", children: [_jsx(Button, { variant: "ghost", size: "sm", children: "Sign In" }), _jsx(Button, { variant: "primary", size: "sm", children: "Get Started" })] })] }) }));
11
- }
12
- //# sourceMappingURL=example.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/navigation/sticky-header/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,8DAA8D;CAC5E,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEzD,MAAM,CAAC,OAAO,UAAU,YAAY;IAClC,OAAO,CACL,iBAAQ,SAAS,EAAC,+FAA+F,YAC/G,MAAC,IAAI,IACH,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,eAAe,EACvB,SAAS,EAAC,6BAA6B,aAEvC,MAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC3B,eAAM,SAAS,EAAC,sCAAsC,qBAE/C,EACP,wBACE,KAAC,KAAK,IAAC,OAAO,EAAC,IAAI,YAChB,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACtB,KAAC,MAAM,IAAY,OAAO,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,YACzC,IAAI,IADM,IAAI,CAER,CACV,CAAC,GACI,GACJ,IACD,EACP,MAAC,KAAK,IAAC,OAAO,EAAC,IAAI,aACjB,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,wBAExB,EACT,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,4BAE1B,IACH,IACH,GACA,CACV,CAAC;AACJ,CAAC"}
@@ -1,17 +0,0 @@
1
- {
2
- "id": "sticky-header",
3
- "name": "Sticky Header",
4
- "description": "Fixed-position header with logo, navigation links, and action buttons. Stays visible while scrolling for persistent access to navigation.",
5
- "category": "navigation",
6
- "tags": ["header", "navigation", "sticky", "fixed", "navbar", "menu", "responsive"],
7
- "useCases": [
8
- "Marketing website navigation",
9
- "Application top bar",
10
- "Documentation site header",
11
- "Portfolio navigation"
12
- ],
13
- "components": ["Button", "Group", "Flex"],
14
- "complexity": "simple",
15
- "relatedPatterns": ["hero-with-cta", "settings-form-layout"],
16
- "notes": "Uses sticky positioning with backdrop blur for visual depth. Navigation links use ghost button styling for consistency. Logo area and nav actions are separated with space-between layout."
17
- }