kigumi 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (582) hide show
  1. package/README.md +407 -0
  2. package/dist/chunk-FG4CIVPT.js +52 -0
  3. package/dist/chunk-IRCCX2A2.js +72 -0
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.js +6119 -0
  6. package/dist/path-aliases-3OJ2RKTE.js +95 -0
  7. package/dist/path-aliases-44XMTAAA.js +89 -0
  8. package/dist/path-aliases-CNBMGBKE.js +98 -0
  9. package/dist/path-aliases-L6USUZ4R.js +91 -0
  10. package/dist/path-aliases-NX2TDEHO.js +92 -0
  11. package/dist/path-aliases-ZRNAAXX2.js +94 -0
  12. package/dist/project-config-3XEQHIUM.js +115 -0
  13. package/dist/project-config-4YGWM3KJ.js +92 -0
  14. package/dist/project-config-YLUSQM7U.js +108 -0
  15. package/dist/templates/AGENTS.md +214 -0
  16. package/dist/templates/react/AnimatedImage/AnimatedImage.css.hbs +19 -0
  17. package/dist/templates/react/AnimatedImage/AnimatedImage.jsx.hbs +64 -0
  18. package/dist/templates/react/AnimatedImage/AnimatedImage.test.jsx.hbs +29 -0
  19. package/dist/templates/react/AnimatedImage/AnimatedImage.test.tsx.hbs +14 -0
  20. package/dist/templates/react/AnimatedImage/AnimatedImage.tsx.hbs +68 -0
  21. package/dist/templates/react/Animation/Animation.css.hbs +18 -0
  22. package/dist/templates/react/Animation/Animation.jsx.hbs +100 -0
  23. package/dist/templates/react/Animation/Animation.test.jsx.hbs +37 -0
  24. package/dist/templates/react/Animation/Animation.test.tsx.hbs +14 -0
  25. package/dist/templates/react/Animation/Animation.tsx.hbs +127 -0
  26. package/dist/templates/react/Avatar/Avatar.css.hbs +20 -0
  27. package/dist/templates/react/Avatar/Avatar.jsx.hbs +65 -0
  28. package/dist/templates/react/Avatar/Avatar.test.jsx.hbs +33 -0
  29. package/dist/templates/react/Avatar/Avatar.test.tsx.hbs +14 -0
  30. package/dist/templates/react/Avatar/Avatar.tsx.hbs +71 -0
  31. package/dist/templates/react/Badge/Badge.css.hbs +18 -0
  32. package/dist/templates/react/Badge/Badge.jsx.hbs +46 -0
  33. package/dist/templates/react/Badge/Badge.test.jsx.hbs +28 -0
  34. package/dist/templates/react/Badge/Badge.test.tsx.hbs +14 -0
  35. package/dist/templates/react/Badge/Badge.tsx.hbs +50 -0
  36. package/dist/templates/react/Breadcrumb/Breadcrumb.css.hbs +18 -0
  37. package/dist/templates/react/Breadcrumb/Breadcrumb.jsx.hbs +48 -0
  38. package/dist/templates/react/Breadcrumb/Breadcrumb.test.jsx.hbs +34 -0
  39. package/dist/templates/react/Breadcrumb/Breadcrumb.test.tsx.hbs +14 -0
  40. package/dist/templates/react/Breadcrumb/Breadcrumb.tsx.hbs +49 -0
  41. package/dist/templates/react/BreadcrumbItem/BreadcrumbItem.css.hbs +21 -0
  42. package/dist/templates/react/BreadcrumbItem/BreadcrumbItem.jsx.hbs +55 -0
  43. package/dist/templates/react/BreadcrumbItem/BreadcrumbItem.test.jsx.hbs +36 -0
  44. package/dist/templates/react/BreadcrumbItem/BreadcrumbItem.test.tsx.hbs +14 -0
  45. package/dist/templates/react/BreadcrumbItem/BreadcrumbItem.tsx.hbs +58 -0
  46. package/dist/templates/react/Button/Button.css.hbs +23 -0
  47. package/dist/templates/react/Button/Button.jsx.hbs +106 -0
  48. package/dist/templates/react/Button/Button.test.jsx.hbs +23 -0
  49. package/dist/templates/react/Button/Button.test.tsx.hbs +14 -0
  50. package/dist/templates/react/Button/Button.tsx.hbs +131 -0
  51. package/dist/templates/react/Card/Card.css.hbs +21 -0
  52. package/dist/templates/react/Card/Card.jsx.hbs +33 -0
  53. package/dist/templates/react/Card/Card.test.jsx.hbs +23 -0
  54. package/dist/templates/react/Card/Card.test.tsx.hbs +14 -0
  55. package/dist/templates/react/Card/Card.tsx.hbs +41 -0
  56. package/dist/templates/react/Carousel/Carousel.css.hbs +28 -0
  57. package/dist/templates/react/Carousel/Carousel.jsx.hbs +81 -0
  58. package/dist/templates/react/Carousel/Carousel.test.jsx.hbs +25 -0
  59. package/dist/templates/react/Carousel/Carousel.test.tsx.hbs +14 -0
  60. package/dist/templates/react/Carousel/Carousel.tsx.hbs +108 -0
  61. package/dist/templates/react/CarouselItem/CarouselItem.css.hbs +18 -0
  62. package/dist/templates/react/CarouselItem/CarouselItem.jsx.hbs +28 -0
  63. package/dist/templates/react/CarouselItem/CarouselItem.test.jsx.hbs +21 -0
  64. package/dist/templates/react/CarouselItem/CarouselItem.test.tsx.hbs +14 -0
  65. package/dist/templates/react/CarouselItem/CarouselItem.tsx.hbs +33 -0
  66. package/dist/templates/react/Checkbox/Checkbox.css.hbs +24 -0
  67. package/dist/templates/react/Checkbox/Checkbox.jsx.hbs +80 -0
  68. package/dist/templates/react/Checkbox/Checkbox.test.jsx.hbs +25 -0
  69. package/dist/templates/react/Checkbox/Checkbox.test.tsx.hbs +14 -0
  70. package/dist/templates/react/Checkbox/Checkbox.tsx.hbs +113 -0
  71. package/dist/templates/react/ColorPicker/ColorPicker.css.hbs +37 -0
  72. package/dist/templates/react/ColorPicker/ColorPicker.jsx.hbs +72 -0
  73. package/dist/templates/react/ColorPicker/ColorPicker.test.jsx.hbs +25 -0
  74. package/dist/templates/react/ColorPicker/ColorPicker.test.tsx.hbs +14 -0
  75. package/dist/templates/react/ColorPicker/ColorPicker.tsx.hbs +157 -0
  76. package/dist/templates/react/Combobox/Combobox.css.hbs +32 -0
  77. package/dist/templates/react/Combobox/Combobox.jsx.hbs +67 -0
  78. package/dist/templates/react/Combobox/Combobox.test.jsx.hbs +19 -0
  79. package/dist/templates/react/Combobox/Combobox.test.tsx.hbs +14 -0
  80. package/dist/templates/react/Combobox/Combobox.tsx.hbs +154 -0
  81. package/dist/templates/react/Comparison/Comparison.css.hbs +23 -0
  82. package/dist/templates/react/Comparison/Comparison.jsx.hbs +27 -0
  83. package/dist/templates/react/Comparison/Comparison.test.jsx.hbs +27 -0
  84. package/dist/templates/react/Comparison/Comparison.test.tsx.hbs +14 -0
  85. package/dist/templates/react/Comparison/Comparison.tsx.hbs +32 -0
  86. package/dist/templates/react/CopyButton/CopyButton.css.hbs +25 -0
  87. package/dist/templates/react/CopyButton/CopyButton.jsx.hbs +49 -0
  88. package/dist/templates/react/CopyButton/CopyButton.test.jsx.hbs +16 -0
  89. package/dist/templates/react/CopyButton/CopyButton.test.tsx.hbs +14 -0
  90. package/dist/templates/react/CopyButton/CopyButton.tsx.hbs +71 -0
  91. package/dist/templates/react/Details/Details.css.hbs +24 -0
  92. package/dist/templates/react/Details/Details.jsx.hbs +66 -0
  93. package/dist/templates/react/Details/Details.test.jsx.hbs +27 -0
  94. package/dist/templates/react/Details/Details.test.tsx.hbs +14 -0
  95. package/dist/templates/react/Details/Details.tsx.hbs +111 -0
  96. package/dist/templates/react/Dialog/Dialog.css.hbs +28 -0
  97. package/dist/templates/react/Dialog/Dialog.jsx.hbs +115 -0
  98. package/dist/templates/react/Dialog/Dialog.test.jsx.hbs +29 -0
  99. package/dist/templates/react/Dialog/Dialog.test.tsx.hbs +14 -0
  100. package/dist/templates/react/Dialog/Dialog.tsx.hbs +165 -0
  101. package/dist/templates/react/Divider/Divider.css.hbs +21 -0
  102. package/dist/templates/react/Divider/Divider.jsx.hbs +24 -0
  103. package/dist/templates/react/Divider/Divider.test.jsx.hbs +16 -0
  104. package/dist/templates/react/Divider/Divider.test.tsx.hbs +14 -0
  105. package/dist/templates/react/Divider/Divider.tsx.hbs +24 -0
  106. package/dist/templates/react/Drawer/Drawer.css.hbs +28 -0
  107. package/dist/templates/react/Drawer/Drawer.jsx.hbs +75 -0
  108. package/dist/templates/react/Drawer/Drawer.test.jsx.hbs +27 -0
  109. package/dist/templates/react/Drawer/Drawer.test.tsx.hbs +14 -0
  110. package/dist/templates/react/Drawer/Drawer.tsx.hbs +99 -0
  111. package/dist/templates/react/Dropdown/Dropdown.css.hbs +20 -0
  112. package/dist/templates/react/Dropdown/Dropdown.jsx.hbs +78 -0
  113. package/dist/templates/react/Dropdown/Dropdown.test.jsx.hbs +18 -0
  114. package/dist/templates/react/Dropdown/Dropdown.test.tsx.hbs +14 -0
  115. package/dist/templates/react/Dropdown/Dropdown.tsx.hbs +104 -0
  116. package/dist/templates/react/DropdownItem/DropdownItem.css.hbs +23 -0
  117. package/dist/templates/react/DropdownItem/DropdownItem.jsx.hbs +41 -0
  118. package/dist/templates/react/DropdownItem/DropdownItem.test.jsx.hbs +18 -0
  119. package/dist/templates/react/DropdownItem/DropdownItem.test.tsx.hbs +14 -0
  120. package/dist/templates/react/DropdownItem/DropdownItem.tsx.hbs +56 -0
  121. package/dist/templates/react/FormatBytes/FormatBytes.css.hbs +18 -0
  122. package/dist/templates/react/FormatBytes/FormatBytes.jsx.hbs +25 -0
  123. package/dist/templates/react/FormatBytes/FormatBytes.test.jsx.hbs +16 -0
  124. package/dist/templates/react/FormatBytes/FormatBytes.test.tsx.hbs +14 -0
  125. package/dist/templates/react/FormatBytes/FormatBytes.tsx.hbs +27 -0
  126. package/dist/templates/react/FormatDate/FormatDate.css.hbs +18 -0
  127. package/dist/templates/react/FormatDate/FormatDate.jsx.hbs +18 -0
  128. package/dist/templates/react/FormatDate/FormatDate.test.jsx.hbs +11 -0
  129. package/dist/templates/react/FormatDate/FormatDate.test.tsx.hbs +14 -0
  130. package/dist/templates/react/FormatDate/FormatDate.tsx.hbs +45 -0
  131. package/dist/templates/react/FormatNumber/FormatNumber.css.hbs +18 -0
  132. package/dist/templates/react/FormatNumber/FormatNumber.jsx.hbs +18 -0
  133. package/dist/templates/react/FormatNumber/FormatNumber.test.jsx.hbs +16 -0
  134. package/dist/templates/react/FormatNumber/FormatNumber.test.tsx.hbs +14 -0
  135. package/dist/templates/react/FormatNumber/FormatNumber.tsx.hbs +41 -0
  136. package/dist/templates/react/Icon/Icon.css.hbs +22 -0
  137. package/dist/templates/react/Icon/Icon.jsx.hbs +83 -0
  138. package/dist/templates/react/Icon/Icon.test.jsx.hbs +35 -0
  139. package/dist/templates/react/Icon/Icon.test.tsx.hbs +14 -0
  140. package/dist/templates/react/Icon/Icon.tsx.hbs +93 -0
  141. package/dist/templates/react/Include/Include.css.hbs +18 -0
  142. package/dist/templates/react/Include/Include.jsx.hbs +40 -0
  143. package/dist/templates/react/Include/Include.test.jsx.hbs +16 -0
  144. package/dist/templates/react/Include/Include.test.tsx.hbs +14 -0
  145. package/dist/templates/react/Include/Include.tsx.hbs +53 -0
  146. package/dist/templates/react/Input/Input.css.hbs +25 -0
  147. package/dist/templates/react/Input/Input.jsx.hbs +126 -0
  148. package/dist/templates/react/Input/Input.test.jsx.hbs +23 -0
  149. package/dist/templates/react/Input/Input.test.tsx.hbs +14 -0
  150. package/dist/templates/react/Input/Input.tsx.hbs +154 -0
  151. package/dist/templates/react/IntersectionObserver/IntersectionObserver.css.hbs +18 -0
  152. package/dist/templates/react/IntersectionObserver/IntersectionObserver.jsx.hbs +38 -0
  153. package/dist/templates/react/IntersectionObserver/IntersectionObserver.test.jsx.hbs +15 -0
  154. package/dist/templates/react/IntersectionObserver/IntersectionObserver.test.tsx.hbs +14 -0
  155. package/dist/templates/react/IntersectionObserver/IntersectionObserver.tsx.hbs +55 -0
  156. package/dist/templates/react/KIGUMI_SETUP.md.hbs +52 -0
  157. package/dist/templates/react/MutationObserver/MutationObserver.css.hbs +18 -0
  158. package/dist/templates/react/MutationObserver/MutationObserver.jsx.hbs +38 -0
  159. package/dist/templates/react/MutationObserver/MutationObserver.test.jsx.hbs +15 -0
  160. package/dist/templates/react/MutationObserver/MutationObserver.test.tsx.hbs +14 -0
  161. package/dist/templates/react/MutationObserver/MutationObserver.tsx.hbs +55 -0
  162. package/dist/templates/react/Option/Option.css.hbs +21 -0
  163. package/dist/templates/react/Option/Option.jsx.hbs +20 -0
  164. package/dist/templates/react/Option/Option.test.jsx.hbs +11 -0
  165. package/dist/templates/react/Option/Option.test.tsx.hbs +14 -0
  166. package/dist/templates/react/Option/Option.tsx.hbs +27 -0
  167. package/dist/templates/react/Popover/Popover.css.hbs +25 -0
  168. package/dist/templates/react/Popover/Popover.jsx.hbs +68 -0
  169. package/dist/templates/react/Popover/Popover.test.jsx.hbs +18 -0
  170. package/dist/templates/react/Popover/Popover.test.tsx.hbs +14 -0
  171. package/dist/templates/react/Popover/Popover.tsx.hbs +101 -0
  172. package/dist/templates/react/Popup/Popup.css.hbs +25 -0
  173. package/dist/templates/react/Popup/Popup.jsx.hbs +45 -0
  174. package/dist/templates/react/Popup/Popup.test.jsx.hbs +17 -0
  175. package/dist/templates/react/Popup/Popup.test.tsx.hbs +14 -0
  176. package/dist/templates/react/Popup/Popup.tsx.hbs +83 -0
  177. package/dist/templates/react/ProgressBar/ProgressBar.css.hbs +22 -0
  178. package/dist/templates/react/ProgressBar/ProgressBar.jsx.hbs +20 -0
  179. package/dist/templates/react/ProgressBar/ProgressBar.test.jsx.hbs +16 -0
  180. package/dist/templates/react/ProgressBar/ProgressBar.test.tsx.hbs +14 -0
  181. package/dist/templates/react/ProgressBar/ProgressBar.tsx.hbs +29 -0
  182. package/dist/templates/react/ProgressRing/ProgressRing.css.hbs +26 -0
  183. package/dist/templates/react/ProgressRing/ProgressRing.jsx.hbs +20 -0
  184. package/dist/templates/react/ProgressRing/ProgressRing.test.jsx.hbs +16 -0
  185. package/dist/templates/react/ProgressRing/ProgressRing.test.tsx.hbs +14 -0
  186. package/dist/templates/react/ProgressRing/ProgressRing.tsx.hbs +27 -0
  187. package/dist/templates/react/QrCode/QrCode.css.hbs +18 -0
  188. package/dist/templates/react/QrCode/QrCode.jsx.hbs +18 -0
  189. package/dist/templates/react/QrCode/QrCode.test.jsx.hbs +11 -0
  190. package/dist/templates/react/QrCode/QrCode.test.tsx.hbs +14 -0
  191. package/dist/templates/react/QrCode/QrCode.tsx.hbs +35 -0
  192. package/dist/templates/react/Radio/Radio.css.hbs +21 -0
  193. package/dist/templates/react/Radio/Radio.jsx.hbs +20 -0
  194. package/dist/templates/react/Radio/Radio.test.jsx.hbs +11 -0
  195. package/dist/templates/react/Radio/Radio.test.tsx.hbs +14 -0
  196. package/dist/templates/react/Radio/Radio.tsx.hbs +31 -0
  197. package/dist/templates/react/RadioGroup/RadioGroup.css.hbs +22 -0
  198. package/dist/templates/react/RadioGroup/RadioGroup.jsx.hbs +49 -0
  199. package/dist/templates/react/RadioGroup/RadioGroup.test.jsx.hbs +17 -0
  200. package/dist/templates/react/RadioGroup/RadioGroup.test.tsx.hbs +14 -0
  201. package/dist/templates/react/RadioGroup/RadioGroup.tsx.hbs +79 -0
  202. package/dist/templates/react/Rating/Rating.css.hbs +20 -0
  203. package/dist/templates/react/Rating/Rating.jsx.hbs +48 -0
  204. package/dist/templates/react/Rating/Rating.test.jsx.hbs +18 -0
  205. package/dist/templates/react/Rating/Rating.test.tsx.hbs +14 -0
  206. package/dist/templates/react/Rating/Rating.tsx.hbs +78 -0
  207. package/dist/templates/react/RelativeTime/RelativeTime.css.hbs +18 -0
  208. package/dist/templates/react/RelativeTime/RelativeTime.jsx.hbs +18 -0
  209. package/dist/templates/react/RelativeTime/RelativeTime.test.jsx.hbs +11 -0
  210. package/dist/templates/react/RelativeTime/RelativeTime.test.tsx.hbs +14 -0
  211. package/dist/templates/react/RelativeTime/RelativeTime.tsx.hbs +29 -0
  212. package/dist/templates/react/ResizeObserver/ResizeObserver.css.hbs +18 -0
  213. package/dist/templates/react/ResizeObserver/ResizeObserver.jsx.hbs +38 -0
  214. package/dist/templates/react/ResizeObserver/ResizeObserver.test.jsx.hbs +15 -0
  215. package/dist/templates/react/ResizeObserver/ResizeObserver.test.tsx.hbs +14 -0
  216. package/dist/templates/react/ResizeObserver/ResizeObserver.tsx.hbs +45 -0
  217. package/dist/templates/react/Scroller/Scroller.css.hbs +19 -0
  218. package/dist/templates/react/Scroller/Scroller.jsx.hbs +20 -0
  219. package/dist/templates/react/Scroller/Scroller.test.jsx.hbs +11 -0
  220. package/dist/templates/react/Scroller/Scroller.test.tsx.hbs +14 -0
  221. package/dist/templates/react/Scroller/Scroller.tsx.hbs +29 -0
  222. package/dist/templates/react/Select/Select.css.hbs +32 -0
  223. package/dist/templates/react/Select/Select.jsx.hbs +79 -0
  224. package/dist/templates/react/Select/Select.test.jsx.hbs +20 -0
  225. package/dist/templates/react/Select/Select.test.tsx.hbs +14 -0
  226. package/dist/templates/react/Select/Select.tsx.hbs +140 -0
  227. package/dist/templates/react/Skeleton/Skeleton.css.hbs +19 -0
  228. package/dist/templates/react/Skeleton/Skeleton.jsx.hbs +18 -0
  229. package/dist/templates/react/Skeleton/Skeleton.test.jsx.hbs +11 -0
  230. package/dist/templates/react/Skeleton/Skeleton.test.tsx.hbs +14 -0
  231. package/dist/templates/react/Skeleton/Skeleton.tsx.hbs +23 -0
  232. package/dist/templates/react/Slider/Slider.css.hbs +26 -0
  233. package/dist/templates/react/Slider/Slider.jsx.hbs +50 -0
  234. package/dist/templates/react/Slider/Slider.test.jsx.hbs +19 -0
  235. package/dist/templates/react/Slider/Slider.test.tsx.hbs +14 -0
  236. package/dist/templates/react/Slider/Slider.tsx.hbs +100 -0
  237. package/dist/templates/react/Spinner/Spinner.css.hbs +21 -0
  238. package/dist/templates/react/Spinner/Spinner.jsx.hbs +18 -0
  239. package/dist/templates/react/Spinner/Spinner.test.jsx.hbs +11 -0
  240. package/dist/templates/react/Spinner/Spinner.test.tsx.hbs +14 -0
  241. package/dist/templates/react/Spinner/Spinner.tsx.hbs +20 -0
  242. package/dist/templates/react/SplitPanel/SplitPanel.css.hbs +24 -0
  243. package/dist/templates/react/SplitPanel/SplitPanel.jsx.hbs +38 -0
  244. package/dist/templates/react/SplitPanel/SplitPanel.test.jsx.hbs +16 -0
  245. package/dist/templates/react/SplitPanel/SplitPanel.test.tsx.hbs +14 -0
  246. package/dist/templates/react/SplitPanel/SplitPanel.tsx.hbs +55 -0
  247. package/dist/templates/react/Switch/Switch.css.hbs +24 -0
  248. package/dist/templates/react/Switch/Switch.jsx.hbs +51 -0
  249. package/dist/templates/react/Switch/Switch.test.jsx.hbs +19 -0
  250. package/dist/templates/react/Switch/Switch.test.tsx.hbs +14 -0
  251. package/dist/templates/react/Switch/Switch.tsx.hbs +83 -0
  252. package/dist/templates/react/Tab/Tab.css.hbs +18 -0
  253. package/dist/templates/react/Tab/Tab.jsx.hbs +20 -0
  254. package/dist/templates/react/Tab/Tab.test.jsx.hbs +11 -0
  255. package/dist/templates/react/Tab/Tab.test.tsx.hbs +14 -0
  256. package/dist/templates/react/Tab/Tab.tsx.hbs +27 -0
  257. package/dist/templates/react/TabGroup/TabGroup.css.hbs +27 -0
  258. package/dist/templates/react/TabGroup/TabGroup.jsx.hbs +42 -0
  259. package/dist/templates/react/TabGroup/TabGroup.test.jsx.hbs +11 -0
  260. package/dist/templates/react/TabGroup/TabGroup.test.tsx.hbs +14 -0
  261. package/dist/templates/react/TabGroup/TabGroup.tsx.hbs +57 -0
  262. package/dist/templates/react/TabPanel/TabPanel.css.hbs +18 -0
  263. package/dist/templates/react/TabPanel/TabPanel.jsx.hbs +20 -0
  264. package/dist/templates/react/TabPanel/TabPanel.test.jsx.hbs +11 -0
  265. package/dist/templates/react/TabPanel/TabPanel.test.tsx.hbs +14 -0
  266. package/dist/templates/react/TabPanel/TabPanel.tsx.hbs +27 -0
  267. package/dist/templates/react/Tag/Tag.css.hbs +21 -0
  268. package/dist/templates/react/Tag/Tag.jsx.hbs +41 -0
  269. package/dist/templates/react/Tag/Tag.test.jsx.hbs +11 -0
  270. package/dist/templates/react/Tag/Tag.test.tsx.hbs +14 -0
  271. package/dist/templates/react/Tag/Tag.tsx.hbs +60 -0
  272. package/dist/templates/react/Textarea/Textarea.css.hbs +22 -0
  273. package/dist/templates/react/Textarea/Textarea.jsx.hbs +58 -0
  274. package/dist/templates/react/Textarea/Textarea.test.jsx.hbs +11 -0
  275. package/dist/templates/react/Textarea/Textarea.test.tsx.hbs +14 -0
  276. package/dist/templates/react/Textarea/Textarea.tsx.hbs +114 -0
  277. package/dist/templates/react/Tooltip/Tooltip.css.hbs +21 -0
  278. package/dist/templates/react/Tooltip/Tooltip.jsx.hbs +63 -0
  279. package/dist/templates/react/Tooltip/Tooltip.test.jsx.hbs +15 -0
  280. package/dist/templates/react/Tooltip/Tooltip.test.tsx.hbs +14 -0
  281. package/dist/templates/react/Tooltip/Tooltip.tsx.hbs +104 -0
  282. package/dist/templates/react/Tree/Tree.css.hbs +22 -0
  283. package/dist/templates/react/Tree/Tree.jsx.hbs +41 -0
  284. package/dist/templates/react/Tree/Tree.test.jsx.hbs +11 -0
  285. package/dist/templates/react/Tree/Tree.test.tsx.hbs +14 -0
  286. package/dist/templates/react/Tree/Tree.tsx.hbs +52 -0
  287. package/dist/templates/react/TreeItem/TreeItem.css.hbs +32 -0
  288. package/dist/templates/react/TreeItem/TreeItem.jsx.hbs +57 -0
  289. package/dist/templates/react/TreeItem/TreeItem.test.jsx.hbs +11 -0
  290. package/dist/templates/react/TreeItem/TreeItem.test.tsx.hbs +14 -0
  291. package/dist/templates/react/TreeItem/TreeItem.tsx.hbs +87 -0
  292. package/dist/templates/react/ZoomableFrame/ZoomableFrame.css.hbs +21 -0
  293. package/dist/templates/react/ZoomableFrame/ZoomableFrame.jsx.hbs +52 -0
  294. package/dist/templates/react/ZoomableFrame/ZoomableFrame.test.jsx.hbs +11 -0
  295. package/dist/templates/react/ZoomableFrame/ZoomableFrame.test.tsx.hbs +14 -0
  296. package/dist/templates/react/ZoomableFrame/ZoomableFrame.tsx.hbs +92 -0
  297. package/dist/templates/react/vite-env.d.ts.hbs +21 -0
  298. package/dist/tier-2ZEZT6E3.js +12 -0
  299. package/dist/tier-GFXZQZUI.js +12 -0
  300. package/package.json +82 -0
  301. package/templates/AGENTS.md +214 -0
  302. package/templates/react/AnimatedImage/AnimatedImage.css.hbs +19 -0
  303. package/templates/react/AnimatedImage/AnimatedImage.jsx.hbs +64 -0
  304. package/templates/react/AnimatedImage/AnimatedImage.test.jsx.hbs +29 -0
  305. package/templates/react/AnimatedImage/AnimatedImage.test.tsx.hbs +14 -0
  306. package/templates/react/AnimatedImage/AnimatedImage.tsx.hbs +68 -0
  307. package/templates/react/Animation/Animation.css.hbs +18 -0
  308. package/templates/react/Animation/Animation.jsx.hbs +100 -0
  309. package/templates/react/Animation/Animation.test.jsx.hbs +37 -0
  310. package/templates/react/Animation/Animation.test.tsx.hbs +14 -0
  311. package/templates/react/Animation/Animation.tsx.hbs +127 -0
  312. package/templates/react/Avatar/Avatar.css.hbs +20 -0
  313. package/templates/react/Avatar/Avatar.jsx.hbs +65 -0
  314. package/templates/react/Avatar/Avatar.test.jsx.hbs +33 -0
  315. package/templates/react/Avatar/Avatar.test.tsx.hbs +14 -0
  316. package/templates/react/Avatar/Avatar.tsx.hbs +71 -0
  317. package/templates/react/Badge/Badge.css.hbs +18 -0
  318. package/templates/react/Badge/Badge.jsx.hbs +46 -0
  319. package/templates/react/Badge/Badge.test.jsx.hbs +28 -0
  320. package/templates/react/Badge/Badge.test.tsx.hbs +14 -0
  321. package/templates/react/Badge/Badge.tsx.hbs +50 -0
  322. package/templates/react/Breadcrumb/Breadcrumb.css.hbs +18 -0
  323. package/templates/react/Breadcrumb/Breadcrumb.jsx.hbs +48 -0
  324. package/templates/react/Breadcrumb/Breadcrumb.test.jsx.hbs +34 -0
  325. package/templates/react/Breadcrumb/Breadcrumb.test.tsx.hbs +14 -0
  326. package/templates/react/Breadcrumb/Breadcrumb.tsx.hbs +49 -0
  327. package/templates/react/BreadcrumbItem/BreadcrumbItem.css.hbs +21 -0
  328. package/templates/react/BreadcrumbItem/BreadcrumbItem.jsx.hbs +55 -0
  329. package/templates/react/BreadcrumbItem/BreadcrumbItem.test.jsx.hbs +36 -0
  330. package/templates/react/BreadcrumbItem/BreadcrumbItem.test.tsx.hbs +14 -0
  331. package/templates/react/BreadcrumbItem/BreadcrumbItem.tsx.hbs +58 -0
  332. package/templates/react/Button/Button.css.hbs +23 -0
  333. package/templates/react/Button/Button.jsx.hbs +106 -0
  334. package/templates/react/Button/Button.test.jsx.hbs +23 -0
  335. package/templates/react/Button/Button.test.tsx.hbs +14 -0
  336. package/templates/react/Button/Button.tsx.hbs +131 -0
  337. package/templates/react/Card/Card.css.hbs +21 -0
  338. package/templates/react/Card/Card.jsx.hbs +33 -0
  339. package/templates/react/Card/Card.test.jsx.hbs +23 -0
  340. package/templates/react/Card/Card.test.tsx.hbs +14 -0
  341. package/templates/react/Card/Card.tsx.hbs +41 -0
  342. package/templates/react/Carousel/Carousel.css.hbs +28 -0
  343. package/templates/react/Carousel/Carousel.jsx.hbs +81 -0
  344. package/templates/react/Carousel/Carousel.test.jsx.hbs +25 -0
  345. package/templates/react/Carousel/Carousel.test.tsx.hbs +14 -0
  346. package/templates/react/Carousel/Carousel.tsx.hbs +108 -0
  347. package/templates/react/CarouselItem/CarouselItem.css.hbs +18 -0
  348. package/templates/react/CarouselItem/CarouselItem.jsx.hbs +28 -0
  349. package/templates/react/CarouselItem/CarouselItem.test.jsx.hbs +21 -0
  350. package/templates/react/CarouselItem/CarouselItem.test.tsx.hbs +14 -0
  351. package/templates/react/CarouselItem/CarouselItem.tsx.hbs +33 -0
  352. package/templates/react/Checkbox/Checkbox.css.hbs +24 -0
  353. package/templates/react/Checkbox/Checkbox.jsx.hbs +80 -0
  354. package/templates/react/Checkbox/Checkbox.test.jsx.hbs +25 -0
  355. package/templates/react/Checkbox/Checkbox.test.tsx.hbs +14 -0
  356. package/templates/react/Checkbox/Checkbox.tsx.hbs +113 -0
  357. package/templates/react/ColorPicker/ColorPicker.css.hbs +37 -0
  358. package/templates/react/ColorPicker/ColorPicker.jsx.hbs +72 -0
  359. package/templates/react/ColorPicker/ColorPicker.test.jsx.hbs +25 -0
  360. package/templates/react/ColorPicker/ColorPicker.test.tsx.hbs +14 -0
  361. package/templates/react/ColorPicker/ColorPicker.tsx.hbs +157 -0
  362. package/templates/react/Combobox/Combobox.css.hbs +32 -0
  363. package/templates/react/Combobox/Combobox.jsx.hbs +67 -0
  364. package/templates/react/Combobox/Combobox.test.jsx.hbs +19 -0
  365. package/templates/react/Combobox/Combobox.test.tsx.hbs +14 -0
  366. package/templates/react/Combobox/Combobox.tsx.hbs +154 -0
  367. package/templates/react/Comparison/Comparison.css.hbs +23 -0
  368. package/templates/react/Comparison/Comparison.jsx.hbs +27 -0
  369. package/templates/react/Comparison/Comparison.test.jsx.hbs +27 -0
  370. package/templates/react/Comparison/Comparison.test.tsx.hbs +14 -0
  371. package/templates/react/Comparison/Comparison.tsx.hbs +32 -0
  372. package/templates/react/CopyButton/CopyButton.css.hbs +25 -0
  373. package/templates/react/CopyButton/CopyButton.jsx.hbs +49 -0
  374. package/templates/react/CopyButton/CopyButton.test.jsx.hbs +16 -0
  375. package/templates/react/CopyButton/CopyButton.test.tsx.hbs +14 -0
  376. package/templates/react/CopyButton/CopyButton.tsx.hbs +71 -0
  377. package/templates/react/Details/Details.css.hbs +24 -0
  378. package/templates/react/Details/Details.jsx.hbs +66 -0
  379. package/templates/react/Details/Details.test.jsx.hbs +27 -0
  380. package/templates/react/Details/Details.test.tsx.hbs +14 -0
  381. package/templates/react/Details/Details.tsx.hbs +111 -0
  382. package/templates/react/Dialog/Dialog.css.hbs +28 -0
  383. package/templates/react/Dialog/Dialog.jsx.hbs +115 -0
  384. package/templates/react/Dialog/Dialog.test.jsx.hbs +29 -0
  385. package/templates/react/Dialog/Dialog.test.tsx.hbs +14 -0
  386. package/templates/react/Dialog/Dialog.tsx.hbs +165 -0
  387. package/templates/react/Divider/Divider.css.hbs +21 -0
  388. package/templates/react/Divider/Divider.jsx.hbs +24 -0
  389. package/templates/react/Divider/Divider.test.jsx.hbs +16 -0
  390. package/templates/react/Divider/Divider.test.tsx.hbs +14 -0
  391. package/templates/react/Divider/Divider.tsx.hbs +24 -0
  392. package/templates/react/Drawer/Drawer.css.hbs +28 -0
  393. package/templates/react/Drawer/Drawer.jsx.hbs +75 -0
  394. package/templates/react/Drawer/Drawer.test.jsx.hbs +27 -0
  395. package/templates/react/Drawer/Drawer.test.tsx.hbs +14 -0
  396. package/templates/react/Drawer/Drawer.tsx.hbs +99 -0
  397. package/templates/react/Dropdown/Dropdown.css.hbs +20 -0
  398. package/templates/react/Dropdown/Dropdown.jsx.hbs +78 -0
  399. package/templates/react/Dropdown/Dropdown.test.jsx.hbs +18 -0
  400. package/templates/react/Dropdown/Dropdown.test.tsx.hbs +14 -0
  401. package/templates/react/Dropdown/Dropdown.tsx.hbs +104 -0
  402. package/templates/react/DropdownItem/DropdownItem.css.hbs +23 -0
  403. package/templates/react/DropdownItem/DropdownItem.jsx.hbs +41 -0
  404. package/templates/react/DropdownItem/DropdownItem.test.jsx.hbs +18 -0
  405. package/templates/react/DropdownItem/DropdownItem.test.tsx.hbs +14 -0
  406. package/templates/react/DropdownItem/DropdownItem.tsx.hbs +56 -0
  407. package/templates/react/FormatBytes/FormatBytes.css.hbs +18 -0
  408. package/templates/react/FormatBytes/FormatBytes.jsx.hbs +25 -0
  409. package/templates/react/FormatBytes/FormatBytes.test.jsx.hbs +16 -0
  410. package/templates/react/FormatBytes/FormatBytes.test.tsx.hbs +14 -0
  411. package/templates/react/FormatBytes/FormatBytes.tsx.hbs +27 -0
  412. package/templates/react/FormatDate/FormatDate.css.hbs +18 -0
  413. package/templates/react/FormatDate/FormatDate.jsx.hbs +18 -0
  414. package/templates/react/FormatDate/FormatDate.test.jsx.hbs +11 -0
  415. package/templates/react/FormatDate/FormatDate.test.tsx.hbs +14 -0
  416. package/templates/react/FormatDate/FormatDate.tsx.hbs +45 -0
  417. package/templates/react/FormatNumber/FormatNumber.css.hbs +18 -0
  418. package/templates/react/FormatNumber/FormatNumber.jsx.hbs +18 -0
  419. package/templates/react/FormatNumber/FormatNumber.test.jsx.hbs +16 -0
  420. package/templates/react/FormatNumber/FormatNumber.test.tsx.hbs +14 -0
  421. package/templates/react/FormatNumber/FormatNumber.tsx.hbs +41 -0
  422. package/templates/react/Icon/Icon.css.hbs +22 -0
  423. package/templates/react/Icon/Icon.jsx.hbs +83 -0
  424. package/templates/react/Icon/Icon.test.jsx.hbs +35 -0
  425. package/templates/react/Icon/Icon.test.tsx.hbs +14 -0
  426. package/templates/react/Icon/Icon.tsx.hbs +93 -0
  427. package/templates/react/Include/Include.css.hbs +18 -0
  428. package/templates/react/Include/Include.jsx.hbs +40 -0
  429. package/templates/react/Include/Include.test.jsx.hbs +16 -0
  430. package/templates/react/Include/Include.test.tsx.hbs +14 -0
  431. package/templates/react/Include/Include.tsx.hbs +53 -0
  432. package/templates/react/Input/Input.css.hbs +25 -0
  433. package/templates/react/Input/Input.jsx.hbs +126 -0
  434. package/templates/react/Input/Input.test.jsx.hbs +23 -0
  435. package/templates/react/Input/Input.test.tsx.hbs +14 -0
  436. package/templates/react/Input/Input.tsx.hbs +154 -0
  437. package/templates/react/IntersectionObserver/IntersectionObserver.css.hbs +18 -0
  438. package/templates/react/IntersectionObserver/IntersectionObserver.jsx.hbs +38 -0
  439. package/templates/react/IntersectionObserver/IntersectionObserver.test.jsx.hbs +15 -0
  440. package/templates/react/IntersectionObserver/IntersectionObserver.test.tsx.hbs +14 -0
  441. package/templates/react/IntersectionObserver/IntersectionObserver.tsx.hbs +55 -0
  442. package/templates/react/MutationObserver/MutationObserver.css.hbs +18 -0
  443. package/templates/react/MutationObserver/MutationObserver.jsx.hbs +38 -0
  444. package/templates/react/MutationObserver/MutationObserver.test.jsx.hbs +15 -0
  445. package/templates/react/MutationObserver/MutationObserver.test.tsx.hbs +14 -0
  446. package/templates/react/MutationObserver/MutationObserver.tsx.hbs +55 -0
  447. package/templates/react/Option/Option.css.hbs +21 -0
  448. package/templates/react/Option/Option.jsx.hbs +20 -0
  449. package/templates/react/Option/Option.test.jsx.hbs +11 -0
  450. package/templates/react/Option/Option.test.tsx.hbs +14 -0
  451. package/templates/react/Option/Option.tsx.hbs +27 -0
  452. package/templates/react/Popover/Popover.css.hbs +25 -0
  453. package/templates/react/Popover/Popover.jsx.hbs +68 -0
  454. package/templates/react/Popover/Popover.test.jsx.hbs +18 -0
  455. package/templates/react/Popover/Popover.test.tsx.hbs +14 -0
  456. package/templates/react/Popover/Popover.tsx.hbs +101 -0
  457. package/templates/react/Popup/Popup.css.hbs +25 -0
  458. package/templates/react/Popup/Popup.jsx.hbs +45 -0
  459. package/templates/react/Popup/Popup.test.jsx.hbs +17 -0
  460. package/templates/react/Popup/Popup.test.tsx.hbs +14 -0
  461. package/templates/react/Popup/Popup.tsx.hbs +83 -0
  462. package/templates/react/ProgressBar/ProgressBar.css.hbs +22 -0
  463. package/templates/react/ProgressBar/ProgressBar.jsx.hbs +20 -0
  464. package/templates/react/ProgressBar/ProgressBar.test.jsx.hbs +16 -0
  465. package/templates/react/ProgressBar/ProgressBar.test.tsx.hbs +14 -0
  466. package/templates/react/ProgressBar/ProgressBar.tsx.hbs +29 -0
  467. package/templates/react/ProgressRing/ProgressRing.css.hbs +26 -0
  468. package/templates/react/ProgressRing/ProgressRing.jsx.hbs +20 -0
  469. package/templates/react/ProgressRing/ProgressRing.test.jsx.hbs +16 -0
  470. package/templates/react/ProgressRing/ProgressRing.test.tsx.hbs +14 -0
  471. package/templates/react/ProgressRing/ProgressRing.tsx.hbs +27 -0
  472. package/templates/react/QrCode/QrCode.css.hbs +18 -0
  473. package/templates/react/QrCode/QrCode.jsx.hbs +18 -0
  474. package/templates/react/QrCode/QrCode.test.jsx.hbs +11 -0
  475. package/templates/react/QrCode/QrCode.test.tsx.hbs +14 -0
  476. package/templates/react/QrCode/QrCode.tsx.hbs +35 -0
  477. package/templates/react/Radio/Radio.css.hbs +21 -0
  478. package/templates/react/Radio/Radio.jsx.hbs +20 -0
  479. package/templates/react/Radio/Radio.test.jsx.hbs +11 -0
  480. package/templates/react/Radio/Radio.test.tsx.hbs +14 -0
  481. package/templates/react/Radio/Radio.tsx.hbs +31 -0
  482. package/templates/react/RadioGroup/RadioGroup.css.hbs +22 -0
  483. package/templates/react/RadioGroup/RadioGroup.jsx.hbs +49 -0
  484. package/templates/react/RadioGroup/RadioGroup.test.jsx.hbs +17 -0
  485. package/templates/react/RadioGroup/RadioGroup.test.tsx.hbs +14 -0
  486. package/templates/react/RadioGroup/RadioGroup.tsx.hbs +79 -0
  487. package/templates/react/Rating/Rating.css.hbs +20 -0
  488. package/templates/react/Rating/Rating.jsx.hbs +48 -0
  489. package/templates/react/Rating/Rating.test.jsx.hbs +18 -0
  490. package/templates/react/Rating/Rating.test.tsx.hbs +14 -0
  491. package/templates/react/Rating/Rating.tsx.hbs +78 -0
  492. package/templates/react/RelativeTime/RelativeTime.css.hbs +18 -0
  493. package/templates/react/RelativeTime/RelativeTime.jsx.hbs +18 -0
  494. package/templates/react/RelativeTime/RelativeTime.test.jsx.hbs +11 -0
  495. package/templates/react/RelativeTime/RelativeTime.test.tsx.hbs +14 -0
  496. package/templates/react/RelativeTime/RelativeTime.tsx.hbs +29 -0
  497. package/templates/react/ResizeObserver/ResizeObserver.css.hbs +18 -0
  498. package/templates/react/ResizeObserver/ResizeObserver.jsx.hbs +38 -0
  499. package/templates/react/ResizeObserver/ResizeObserver.test.jsx.hbs +15 -0
  500. package/templates/react/ResizeObserver/ResizeObserver.test.tsx.hbs +14 -0
  501. package/templates/react/ResizeObserver/ResizeObserver.tsx.hbs +45 -0
  502. package/templates/react/Scroller/Scroller.css.hbs +19 -0
  503. package/templates/react/Scroller/Scroller.jsx.hbs +20 -0
  504. package/templates/react/Scroller/Scroller.test.jsx.hbs +11 -0
  505. package/templates/react/Scroller/Scroller.test.tsx.hbs +14 -0
  506. package/templates/react/Scroller/Scroller.tsx.hbs +29 -0
  507. package/templates/react/Select/Select.css.hbs +32 -0
  508. package/templates/react/Select/Select.jsx.hbs +79 -0
  509. package/templates/react/Select/Select.test.jsx.hbs +20 -0
  510. package/templates/react/Select/Select.test.tsx.hbs +14 -0
  511. package/templates/react/Select/Select.tsx.hbs +140 -0
  512. package/templates/react/Skeleton/Skeleton.css.hbs +19 -0
  513. package/templates/react/Skeleton/Skeleton.jsx.hbs +18 -0
  514. package/templates/react/Skeleton/Skeleton.test.jsx.hbs +11 -0
  515. package/templates/react/Skeleton/Skeleton.test.tsx.hbs +14 -0
  516. package/templates/react/Skeleton/Skeleton.tsx.hbs +23 -0
  517. package/templates/react/Slider/Slider.css.hbs +26 -0
  518. package/templates/react/Slider/Slider.jsx.hbs +50 -0
  519. package/templates/react/Slider/Slider.test.jsx.hbs +19 -0
  520. package/templates/react/Slider/Slider.test.tsx.hbs +14 -0
  521. package/templates/react/Slider/Slider.tsx.hbs +100 -0
  522. package/templates/react/Spinner/Spinner.css.hbs +21 -0
  523. package/templates/react/Spinner/Spinner.jsx.hbs +18 -0
  524. package/templates/react/Spinner/Spinner.test.jsx.hbs +11 -0
  525. package/templates/react/Spinner/Spinner.test.tsx.hbs +14 -0
  526. package/templates/react/Spinner/Spinner.tsx.hbs +20 -0
  527. package/templates/react/SplitPanel/SplitPanel.css.hbs +24 -0
  528. package/templates/react/SplitPanel/SplitPanel.jsx.hbs +38 -0
  529. package/templates/react/SplitPanel/SplitPanel.test.jsx.hbs +16 -0
  530. package/templates/react/SplitPanel/SplitPanel.test.tsx.hbs +14 -0
  531. package/templates/react/SplitPanel/SplitPanel.tsx.hbs +55 -0
  532. package/templates/react/Switch/Switch.css.hbs +24 -0
  533. package/templates/react/Switch/Switch.jsx.hbs +51 -0
  534. package/templates/react/Switch/Switch.test.jsx.hbs +19 -0
  535. package/templates/react/Switch/Switch.test.tsx.hbs +14 -0
  536. package/templates/react/Switch/Switch.tsx.hbs +83 -0
  537. package/templates/react/Tab/Tab.css.hbs +18 -0
  538. package/templates/react/Tab/Tab.jsx.hbs +20 -0
  539. package/templates/react/Tab/Tab.test.jsx.hbs +11 -0
  540. package/templates/react/Tab/Tab.test.tsx.hbs +14 -0
  541. package/templates/react/Tab/Tab.tsx.hbs +27 -0
  542. package/templates/react/TabGroup/TabGroup.css.hbs +27 -0
  543. package/templates/react/TabGroup/TabGroup.jsx.hbs +42 -0
  544. package/templates/react/TabGroup/TabGroup.test.jsx.hbs +11 -0
  545. package/templates/react/TabGroup/TabGroup.test.tsx.hbs +14 -0
  546. package/templates/react/TabGroup/TabGroup.tsx.hbs +57 -0
  547. package/templates/react/TabPanel/TabPanel.css.hbs +18 -0
  548. package/templates/react/TabPanel/TabPanel.jsx.hbs +20 -0
  549. package/templates/react/TabPanel/TabPanel.test.jsx.hbs +11 -0
  550. package/templates/react/TabPanel/TabPanel.test.tsx.hbs +14 -0
  551. package/templates/react/TabPanel/TabPanel.tsx.hbs +27 -0
  552. package/templates/react/Tag/Tag.css.hbs +21 -0
  553. package/templates/react/Tag/Tag.jsx.hbs +41 -0
  554. package/templates/react/Tag/Tag.test.jsx.hbs +11 -0
  555. package/templates/react/Tag/Tag.test.tsx.hbs +14 -0
  556. package/templates/react/Tag/Tag.tsx.hbs +60 -0
  557. package/templates/react/Textarea/Textarea.css.hbs +22 -0
  558. package/templates/react/Textarea/Textarea.jsx.hbs +58 -0
  559. package/templates/react/Textarea/Textarea.test.jsx.hbs +11 -0
  560. package/templates/react/Textarea/Textarea.test.tsx.hbs +14 -0
  561. package/templates/react/Textarea/Textarea.tsx.hbs +114 -0
  562. package/templates/react/Tooltip/Tooltip.css.hbs +21 -0
  563. package/templates/react/Tooltip/Tooltip.jsx.hbs +63 -0
  564. package/templates/react/Tooltip/Tooltip.test.jsx.hbs +15 -0
  565. package/templates/react/Tooltip/Tooltip.test.tsx.hbs +14 -0
  566. package/templates/react/Tooltip/Tooltip.tsx.hbs +104 -0
  567. package/templates/react/Tree/Tree.css.hbs +22 -0
  568. package/templates/react/Tree/Tree.jsx.hbs +41 -0
  569. package/templates/react/Tree/Tree.test.jsx.hbs +11 -0
  570. package/templates/react/Tree/Tree.test.tsx.hbs +14 -0
  571. package/templates/react/Tree/Tree.tsx.hbs +52 -0
  572. package/templates/react/TreeItem/TreeItem.css.hbs +32 -0
  573. package/templates/react/TreeItem/TreeItem.jsx.hbs +57 -0
  574. package/templates/react/TreeItem/TreeItem.test.jsx.hbs +11 -0
  575. package/templates/react/TreeItem/TreeItem.test.tsx.hbs +14 -0
  576. package/templates/react/TreeItem/TreeItem.tsx.hbs +87 -0
  577. package/templates/react/ZoomableFrame/ZoomableFrame.css.hbs +21 -0
  578. package/templates/react/ZoomableFrame/ZoomableFrame.jsx.hbs +52 -0
  579. package/templates/react/ZoomableFrame/ZoomableFrame.test.jsx.hbs +11 -0
  580. package/templates/react/ZoomableFrame/ZoomableFrame.test.tsx.hbs +14 -0
  581. package/templates/react/ZoomableFrame/ZoomableFrame.tsx.hbs +92 -0
  582. package/templates/react/vite-env.d.ts.hbs +21 -0
@@ -0,0 +1,126 @@
1
+ import React from 'react';
2
+ import clsx from 'clsx';
3
+ import '{{{importPath}}}';
4
+ import './Input.css';
5
+
6
+ /**
7
+ * {{description}}
8
+ *
9
+ * @example
10
+ * ```jsx
11
+ * // Basic usage
12
+ * <Input label="Email" type="email" placeholder="Enter email" />
13
+ * <Input type="password" password-toggle />
14
+ * <Input with-clear hint="Help text" />
15
+ *
16
+ * // With event handlers
17
+ * <Input
18
+ * label="Name"
19
+ * onInput={(e) => console.log(e.detail.value)}
20
+ * onChange={(e) => console.log('Changed:', e.detail.value)}
21
+ * />
22
+ *
23
+ * // With ref methods
24
+ * const inputRef = React.useRef(null);
25
+ * <button onClick={() => inputRef.current?.focus()}>Focus Input</button>
26
+ * <Input ref={inputRef} label="Focusable" />
27
+ * ```
28
+ *
29
+ * @typedef {Object} InputProps
30
+ * @property {string} [type] - Input type
31
+ * @property {string} [label] - Accessible label
32
+ * @property {string} [hint] - Descriptive hint text
33
+ * @property {string} [placeholder] - Placeholder text
34
+ * @property {string} [value] - Input value
35
+ * @property {string} [appearance] - Visual appearance style
36
+ * @property {string} [size] - Input size
37
+ * @property {boolean} [pill] - Rounded edges
38
+ * @property {boolean} [disabled] - Disables the input
39
+ * @property {boolean} [with-clear] - Adds clear button
40
+ * @property {boolean} [password-toggle] - Adds password toggle
41
+ * @property {function} [onBlur] - Event fired when input loses focus
42
+ * @property {function} [onFocus] - Event fired when input gains focus
43
+ * @property {function} [onInput] - Event fired when value changes
44
+ * @property {function} [onChange] - Event fired when value changes and loses focus
45
+ */
46
+
47
+ export const Input = React.forwardRef(
48
+ ({ children, className, onBlur, onFocus, onInput, onChange, ...props }, ref) => {
49
+ const inputRef = React.useRef(null);
50
+
51
+ React.useImperativeHandle(
52
+ ref,
53
+ () => ({
54
+ focus: () => {
55
+ if (inputRef.current && typeof inputRef.current.focus === 'function') {
56
+ inputRef.current.focus();
57
+ }
58
+ },
59
+ blur: () => {
60
+ if (inputRef.current && typeof inputRef.current.blur === 'function') {
61
+ inputRef.current.blur();
62
+ }
63
+ },
64
+ select: () => {
65
+ if (inputRef.current && typeof inputRef.current.select === 'function') {
66
+ inputRef.current.select();
67
+ }
68
+ },
69
+ setSelectionRange: (start, end) => {
70
+ if (inputRef.current && typeof inputRef.current.setSelectionRange === 'function') {
71
+ inputRef.current.setSelectionRange(start, end);
72
+ }
73
+ },
74
+ get element() {
75
+ return inputRef.current;
76
+ },
77
+ }),
78
+ []
79
+ );
80
+
81
+ React.useEffect(() => {
82
+ const el = inputRef.current;
83
+ if (!el) return;
84
+
85
+ const handleBlur = (e) => {
86
+ if (onBlur) onBlur(e);
87
+ };
88
+
89
+ const handleFocus = (e) => {
90
+ if (onFocus) onFocus(e);
91
+ };
92
+
93
+ const handleInput = (e) => {
94
+ if (onInput) onInput(e);
95
+ };
96
+
97
+ const handleChange = (e) => {
98
+ if (onChange) onChange(e);
99
+ };
100
+
101
+ el.addEventListener('wa-blur', handleBlur);
102
+ el.addEventListener('wa-focus', handleFocus);
103
+ el.addEventListener('wa-input', handleInput);
104
+ el.addEventListener('wa-change', handleChange);
105
+
106
+ return () => {
107
+ el.removeEventListener('wa-blur', handleBlur);
108
+ el.removeEventListener('wa-focus', handleFocus);
109
+ el.removeEventListener('wa-input', handleInput);
110
+ el.removeEventListener('wa-change', handleChange);
111
+ };
112
+ }, [onBlur, onFocus, onInput, onChange]);
113
+
114
+ return (
115
+ <wa-input
116
+ ref={inputRef}
117
+ class={clsx('Input', className)}
118
+ {...props}
119
+ >
120
+ {children}
121
+ </wa-input>
122
+ );
123
+ }
124
+ );
125
+
126
+ Input.displayName = 'Input';
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { render, screen } from '@testing-library/react';
3
+ import { Input } from './Input';
4
+
5
+ describe('Input', () => {
6
+ it('renders without crashing', () => {
7
+ render(<Input label="Test Input" />);
8
+ const input = screen.getByLabelText('Test Input');
9
+ expect(input).toBeInTheDocument();
10
+ });
11
+
12
+ it('applies custom className', () => {
13
+ const { container } = render(<Input className="custom-class" />);
14
+ const input = container.querySelector('wa-input');
15
+ expect(input?.className).toContain('custom-class');
16
+ });
17
+
18
+ it('forwards ref correctly', () => {
19
+ const ref = React.createRef();
20
+ render(<Input ref={ref} />);
21
+ expect(ref.current).toBeInstanceOf(HTMLElement);
22
+ });
23
+ });
@@ -0,0 +1,14 @@
1
+ import { render } from '@testing-library/react';
2
+ import { Input } from './Input';
3
+
4
+ describe('Input', () => {
5
+ it('renders without crashing', () => {
6
+ const { container } = render(<Input />);
7
+ expect(container.querySelector('wa-input')).toBeInTheDocument();
8
+ });
9
+
10
+ it('applies custom className', () => {
11
+ const { container } = render(<Input className="custom-class" />);
12
+ expect(container.querySelector('.custom-class')).toBeInTheDocument();
13
+ });
14
+ });
@@ -0,0 +1,154 @@
1
+ import { forwardRef, useRef, useImperativeHandle, useEffect, type HTMLAttributes } from 'react';
2
+ import clsx from 'clsx';
3
+ import '{{{importPath}}}';
4
+ import './Input.css';
5
+
6
+ /**
7
+ * {{description}}
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * // Basic usage
12
+ * <Input label="Email" type="email" placeholder="Enter email" />
13
+ * <Input type="password" password-toggle />
14
+ * <Input with-clear hint="Help text" />
15
+ *
16
+ * // With event handlers
17
+ * <Input
18
+ * label="Name"
19
+ * onInput={(e) => console.log(e.detail.value)}
20
+ * onChange={(e) => console.log('Changed:', e.detail.value)}
21
+ * />
22
+ *
23
+ * // With ref methods
24
+ * const inputRef = useRef<InputRef>(null);
25
+ * <button onClick={() => inputRef.current?.focus()}>Focus Input</button>
26
+ * <Input ref={inputRef} label="Focusable" />
27
+ * ```
28
+ */
29
+ export interface InputProps extends Omit<HTMLAttributes<HTMLElement>, 'onInput' | 'onChange' | 'onBlur' | 'onFocus' | 'dir'> {
30
+ /** Input type */
31
+ type?: 'text' | 'email' | 'password' | 'number' | 'date' | 'tel' | 'url' | 'search';
32
+ /** Accessible label for the input */
33
+ label?: string;
34
+ /** Descriptive hint text */
35
+ hint?: string;
36
+ /** Placeholder text */
37
+ placeholder?: string;
38
+ /** Input value */
39
+ value?: string;
40
+ /** Visual appearance style */
41
+ appearance?: 'filled' | 'filled-outlined' | 'outlined';
42
+ /** Input size */
43
+ size?: 'small' | 'medium' | 'large';
44
+ /** Gives the input rounded edges */
45
+ pill?: boolean;
46
+ /** Disables the input */
47
+ disabled?: boolean;
48
+ /** Adds a clear button when input has content */
49
+ 'with-clear'?: boolean;
50
+ /** Adds a toggle button for password visibility */
51
+ 'password-toggle'?: boolean;
52
+ /** Event fired when the input loses focus */
53
+ onBlur?: (event: FocusEvent) => void;
54
+ /** Event fired when the input gains focus */
55
+ onFocus?: (event: FocusEvent) => void;
56
+ /** Event fired when the input value changes */
57
+ onInput?: (event: CustomEvent) => void;
58
+ /** Event fired when the input value changes and loses focus */
59
+ onChange?: (event: CustomEvent) => void;
60
+ }
61
+
62
+ export interface InputRef {
63
+ focus: () => void;
64
+ blur: () => void;
65
+ select: () => void;
66
+ setSelectionRange: (start: number, end: number) => void;
67
+ element: HTMLElement | null;
68
+ }
69
+
70
+ export const Input = forwardRef<InputRef, InputProps>(
71
+ ({ children, className, onBlur, onFocus, onInput, onChange, ...props }, ref) => {
72
+ const inputRef = useRef<HTMLElement & {
73
+ focus?: () => void;
74
+ blur?: () => void;
75
+ select?: () => void;
76
+ setSelectionRange?: (start: number, end: number) => void;
77
+ }>(null);
78
+
79
+ useImperativeHandle(
80
+ ref,
81
+ () => ({
82
+ focus: () => {
83
+ if (inputRef.current && typeof inputRef.current.focus === 'function') {
84
+ inputRef.current.focus();
85
+ }
86
+ },
87
+ blur: () => {
88
+ if (inputRef.current && typeof inputRef.current.blur === 'function') {
89
+ inputRef.current.blur();
90
+ }
91
+ },
92
+ select: () => {
93
+ if (inputRef.current && typeof inputRef.current.select === 'function') {
94
+ inputRef.current.select();
95
+ }
96
+ },
97
+ setSelectionRange: (start: number, end: number) => {
98
+ if (inputRef.current && typeof inputRef.current.setSelectionRange === 'function') {
99
+ inputRef.current.setSelectionRange(start, end);
100
+ }
101
+ },
102
+ get element() {
103
+ return inputRef.current;
104
+ },
105
+ }),
106
+ []
107
+ );
108
+
109
+ useEffect(() => {
110
+ const el = inputRef.current;
111
+ if (!el) return;
112
+
113
+ const handleBlur = (e: Event) => {
114
+ if (onBlur) onBlur(e as FocusEvent);
115
+ };
116
+
117
+ const handleFocus = (e: Event) => {
118
+ if (onFocus) onFocus(e as FocusEvent);
119
+ };
120
+
121
+ const handleInput = (e: Event) => {
122
+ if (onInput) onInput(e as CustomEvent);
123
+ };
124
+
125
+ const handleChange = (e: Event) => {
126
+ if (onChange) onChange(e as CustomEvent);
127
+ };
128
+
129
+ el.addEventListener('wa-blur', handleBlur);
130
+ el.addEventListener('wa-focus', handleFocus);
131
+ el.addEventListener('wa-input', handleInput);
132
+ el.addEventListener('wa-change', handleChange);
133
+
134
+ return () => {
135
+ el.removeEventListener('wa-blur', handleBlur);
136
+ el.removeEventListener('wa-focus', handleFocus);
137
+ el.removeEventListener('wa-input', handleInput);
138
+ el.removeEventListener('wa-change', handleChange);
139
+ };
140
+ }, [onBlur, onFocus, onInput, onChange]);
141
+
142
+ return (
143
+ <wa-input
144
+ ref={inputRef}
145
+ class={clsx('Input', className)}
146
+ {...(props as Record<string, unknown>)}
147
+ >
148
+ {children}
149
+ </wa-input>
150
+ );
151
+ }
152
+ );
153
+
154
+ Input.displayName = 'Input';
@@ -0,0 +1,18 @@
1
+ /**
2
+ * IntersectionObserver Component Styles
3
+ * Documentation: https://webawesome.com/docs/components/intersection-observer
4
+ *
5
+ * CSS Custom Properties:
6
+ * (No custom properties defined for this component)
7
+ *
8
+ * CSS Parts:
9
+ * (No CSS parts defined for this component)
10
+ *
11
+ * @example
12
+ * .IntersectionObserver {
13
+ * // Custom styles
14
+ * }
15
+ */
16
+ .IntersectionObserver {
17
+ /* Add your custom styles here */
18
+ }
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ import clsx from 'clsx';
3
+ import '{{{importPath}}}';
4
+ import './IntersectionObserver.css';
5
+
6
+ export const IntersectionObserver = React.forwardRef(
7
+ ({ children, className, onIntersect, ...props }, ref) => {
8
+ const observerRef = React.useRef(null);
9
+
10
+ React.useEffect(() => {
11
+ const el = observerRef.current;
12
+ if (!el) return;
13
+
14
+ const handleIntersect = (e) => onIntersect?.(e);
15
+ el.addEventListener('wa-intersect', handleIntersect);
16
+
17
+ return () => {
18
+ el.removeEventListener('wa-intersect', handleIntersect);
19
+ };
20
+ }, [onIntersect]);
21
+
22
+ return (
23
+ <wa-intersection-observer
24
+ ref={(node) => {
25
+ observerRef.current = node;
26
+ if (typeof ref === 'function') ref(node);
27
+ else if (ref) ref.current = node;
28
+ }}
29
+ class={clsx('IntersectionObserver', className)}
30
+ {...props}
31
+ >
32
+ {children}
33
+ </wa-intersection-observer>
34
+ );
35
+ }
36
+ );
37
+
38
+ IntersectionObserver.displayName = 'IntersectionObserver';
@@ -0,0 +1,15 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { render } from '@testing-library/react';
3
+ import React from 'react';
4
+ import { IntersectionObserver } from './IntersectionObserver';
5
+
6
+ describe('IntersectionObserver', () => {
7
+ it('renders without crashing', () => {
8
+ const { container } = render(
9
+ <IntersectionObserver>
10
+ <div>Content</div>
11
+ </IntersectionObserver>
12
+ );
13
+ expect(container.querySelector('wa-intersection-observer')).toBeInTheDocument();
14
+ });
15
+ });
@@ -0,0 +1,14 @@
1
+ import { render, screen } from '@testing-library/react';
2
+ import { IntersectionObserver } from './IntersectionObserver';
3
+
4
+ describe('IntersectionObserver', () => {
5
+ it('renders children', () => {
6
+ render(<IntersectionObserver>Test</IntersectionObserver>);
7
+ expect(screen.getByText('Test')).toBeInTheDocument();
8
+ });
9
+
10
+ it('applies custom className', () => {
11
+ const { container } = render(<IntersectionObserver className="custom-class">Test</IntersectionObserver>);
12
+ expect(container.querySelector('.custom-class')).toBeInTheDocument();
13
+ });
14
+ });
@@ -0,0 +1,55 @@
1
+ import { forwardRef, useRef, useEffect, type HTMLAttributes } from 'react';
2
+ import clsx from 'clsx';
3
+ import '{{{importPath}}}';
4
+ import './IntersectionObserver.css';
5
+
6
+ export interface IntersectionObserverProps extends Omit<HTMLAttributes<HTMLElement>, 'dir'> {
7
+ /** Deactivates the intersection observer functionality */
8
+ disabled?: boolean;
9
+ /** CSS class applied to elements during intersection */
10
+ 'intersect-class'?: string;
11
+ /** If enabled, observation ceases after initial intersection */
12
+ once?: boolean;
13
+ /** Element ID to define the viewport boundaries */
14
+ root?: string | null;
15
+ /** Offset space around the root boundary */
16
+ 'root-margin'?: string;
17
+ /** Space-separated visibility percentages triggering the observer */
18
+ threshold?: string;
19
+ /** Event fired when a tracked element begins or ceases intersecting */
20
+ onIntersect?: (event: CustomEvent) => void;
21
+ }
22
+
23
+ export const IntersectionObserver = forwardRef<HTMLElement, IntersectionObserverProps>(
24
+ ({ children, className, onIntersect, ...props }, ref) => {
25
+ const observerRef = useRef<HTMLElement>(null);
26
+
27
+ useEffect(() => {
28
+ const el = observerRef.current;
29
+ if (!el) return;
30
+
31
+ const handleIntersect = (e: Event) => onIntersect?.(e as CustomEvent);
32
+ el.addEventListener('wa-intersect', handleIntersect);
33
+
34
+ return () => {
35
+ el.removeEventListener('wa-intersect', handleIntersect);
36
+ };
37
+ }, [onIntersect]);
38
+
39
+ return (
40
+ <wa-intersection-observer
41
+ ref={(node: HTMLElement | null) => {
42
+ (observerRef as React.MutableRefObject<HTMLElement | null>).current = node;
43
+ if (typeof ref === 'function') ref(node);
44
+ else if (ref) ref.current = node;
45
+ }}
46
+ class={clsx('IntersectionObserver', className)}
47
+ {...(props as Record<string, unknown>)}
48
+ >
49
+ {children}
50
+ </wa-intersection-observer>
51
+ );
52
+ }
53
+ );
54
+
55
+ IntersectionObserver.displayName = 'IntersectionObserver';
@@ -0,0 +1,18 @@
1
+ /**
2
+ * MutationObserver Component Styles
3
+ * Documentation: https://webawesome.com/docs/components/mutation-observer
4
+ *
5
+ * CSS Custom Properties:
6
+ * (No custom properties defined for this component)
7
+ *
8
+ * CSS Parts:
9
+ * (No CSS parts defined for this component)
10
+ *
11
+ * @example
12
+ * .MutationObserver {
13
+ * // Custom styles
14
+ * }
15
+ */
16
+ .MutationObserver {
17
+ /* Add your custom styles here */
18
+ }
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ import clsx from 'clsx';
3
+ import '{{{importPath}}}';
4
+ import './MutationObserver.css';
5
+
6
+ export const MutationObserver = React.forwardRef(
7
+ ({ children, className, onMutation, ...props }, ref) => {
8
+ const observerRef = React.useRef(null);
9
+
10
+ React.useEffect(() => {
11
+ const el = observerRef.current;
12
+ if (!el) return;
13
+
14
+ const handleMutation = (e) => onMutation?.(e);
15
+ el.addEventListener('wa-mutation', handleMutation);
16
+
17
+ return () => {
18
+ el.removeEventListener('wa-mutation', handleMutation);
19
+ };
20
+ }, [onMutation]);
21
+
22
+ return (
23
+ <wa-mutation-observer
24
+ ref={(node) => {
25
+ observerRef.current = node;
26
+ if (typeof ref === 'function') ref(node);
27
+ else if (ref) ref.current = node;
28
+ }}
29
+ class={clsx('MutationObserver', className)}
30
+ {...props}
31
+ >
32
+ {children}
33
+ </wa-mutation-observer>
34
+ );
35
+ }
36
+ );
37
+
38
+ MutationObserver.displayName = 'MutationObserver';
@@ -0,0 +1,15 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { render } from '@testing-library/react';
3
+ import React from 'react';
4
+ import { MutationObserver } from './MutationObserver';
5
+
6
+ describe('MutationObserver', () => {
7
+ it('renders without crashing', () => {
8
+ const { container } = render(
9
+ <MutationObserver child-list>
10
+ <div>Content</div>
11
+ </MutationObserver>
12
+ );
13
+ expect(container.querySelector('wa-mutation-observer')).toBeInTheDocument();
14
+ });
15
+ });
@@ -0,0 +1,14 @@
1
+ import { render, screen } from '@testing-library/react';
2
+ import { MutationObserver } from './MutationObserver';
3
+
4
+ describe('MutationObserver', () => {
5
+ it('renders children', () => {
6
+ render(<MutationObserver>Test</MutationObserver>);
7
+ expect(screen.getByText('Test')).toBeInTheDocument();
8
+ });
9
+
10
+ it('applies custom className', () => {
11
+ const { container } = render(<MutationObserver className="custom-class">Test</MutationObserver>);
12
+ expect(container.querySelector('.custom-class')).toBeInTheDocument();
13
+ });
14
+ });
@@ -0,0 +1,55 @@
1
+ import { forwardRef, useRef, useEffect, type HTMLAttributes } from 'react';
2
+ import clsx from 'clsx';
3
+ import '{{{importPath}}}';
4
+ import './MutationObserver.css';
5
+
6
+ export interface MutationObserverProps extends Omit<HTMLAttributes<HTMLElement>, 'dir'> {
7
+ /** Watches for changes to attributes. Use '*' to watch all */
8
+ attr?: string;
9
+ /** Records attribute's previous value */
10
+ 'attr-old-value'?: boolean;
11
+ /** Watches for changes to character data */
12
+ 'char-data'?: boolean;
13
+ /** Records previous text value */
14
+ 'char-data-old-value'?: boolean;
15
+ /** Watches for addition or removal of child nodes */
16
+ 'child-list'?: boolean;
17
+ /** Disables the observer */
18
+ disabled?: boolean;
19
+ /** Event fired when a mutation occurs */
20
+ onMutation?: (event: CustomEvent) => void;
21
+ }
22
+
23
+ export const MutationObserver = forwardRef<HTMLElement, MutationObserverProps>(
24
+ ({ children, className, onMutation, ...props }, ref) => {
25
+ const observerRef = useRef<HTMLElement>(null);
26
+
27
+ useEffect(() => {
28
+ const el = observerRef.current;
29
+ if (!el) return;
30
+
31
+ const handleMutation = (e: Event) => onMutation?.(e as CustomEvent);
32
+ el.addEventListener('wa-mutation', handleMutation);
33
+
34
+ return () => {
35
+ el.removeEventListener('wa-mutation', handleMutation);
36
+ };
37
+ }, [onMutation]);
38
+
39
+ return (
40
+ <wa-mutation-observer
41
+ ref={(node: HTMLElement | null) => {
42
+ (observerRef as React.MutableRefObject<HTMLElement | null>).current = node;
43
+ if (typeof ref === 'function') ref(node);
44
+ else if (ref) ref.current = node;
45
+ }}
46
+ class={clsx('MutationObserver', className)}
47
+ {...(props as Record<string, unknown>)}
48
+ >
49
+ {children}
50
+ </wa-mutation-observer>
51
+ );
52
+ }
53
+ );
54
+
55
+ MutationObserver.displayName = 'MutationObserver';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Option Component Styles
3
+ * Documentation: https://webawesome.com/docs/components/option
4
+ *
5
+ * CSS Custom Properties:
6
+ * (No custom properties defined for this component)
7
+ *
8
+ * CSS Parts:
9
+ * - checked-icon: The checked icon, a <wa-icon> element
10
+ * - label: The option's label
11
+ * - start: The container that wraps the start slot
12
+ * - end: The container that wraps the end slot
13
+ *
14
+ * @example
15
+ * .Option::part(label) {
16
+ * // Custom styles
17
+ * }
18
+ */
19
+ .Option {
20
+ /* Add your custom styles here */
21
+ }
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import clsx from 'clsx';
3
+ import '{{{importPath}}}';
4
+ import './Option.css';
5
+
6
+ export const Option = React.forwardRef(
7
+ ({ children, className, ...props }, ref) => {
8
+ return (
9
+ <wa-option
10
+ ref={ref}
11
+ class={clsx('Option', className)}
12
+ {...props}
13
+ >
14
+ {children}
15
+ </wa-option>
16
+ );
17
+ }
18
+ );
19
+
20
+ Option.displayName = 'Option';
@@ -0,0 +1,11 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { render } from '@testing-library/react';
3
+ import React from 'react';
4
+ import { Option } from './Option';
5
+
6
+ describe('Option', () => {
7
+ it('renders without crashing', () => {
8
+ const { container } = render(<Option value="1">Option 1</Option>);
9
+ expect(container.querySelector('wa-option')).toBeInTheDocument();
10
+ });
11
+ });
@@ -0,0 +1,14 @@
1
+ import { render, screen } from '@testing-library/react';
2
+ import { Option } from './Option';
3
+
4
+ describe('Option', () => {
5
+ it('renders children', () => {
6
+ render(<Option value="1">Test</Option>);
7
+ expect(screen.getByText('Test')).toBeInTheDocument();
8
+ });
9
+
10
+ it('applies custom className', () => {
11
+ const { container } = render(<Option value="1" className="custom-class">Test</Option>);
12
+ expect(container.querySelector('.custom-class')).toBeInTheDocument();
13
+ });
14
+ });