@handijitcom/ui 0.0.0-stage → 1.0.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 (878) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1023 -2
  3. package/build/base.css +1 -0
  4. package/build/calendar.cjs +2 -0
  5. package/build/calendar.cjs.map +1 -0
  6. package/build/calendar.css +1 -0
  7. package/build/calendar.js +741 -0
  8. package/build/calendar.js.map +1 -0
  9. package/build/charts.cjs +2 -0
  10. package/build/charts.cjs.map +1 -0
  11. package/build/charts.css +1 -0
  12. package/build/charts.js +1866 -0
  13. package/build/charts.js.map +1 -0
  14. package/build/chat.cjs +4 -0
  15. package/build/chat.cjs.map +1 -0
  16. package/build/chat.css +1 -0
  17. package/build/chat.js +1126 -0
  18. package/build/chat.js.map +1 -0
  19. package/build/components/Accordion/index.cjs +2 -0
  20. package/build/components/Accordion/index.cjs.map +1 -0
  21. package/build/components/Accordion/index.d.cts +29 -0
  22. package/build/components/Accordion/index.d.ts +29 -0
  23. package/build/components/Accordion/index.js +42 -0
  24. package/build/components/Accordion/index.js.map +1 -0
  25. package/build/components/Accordion/style.css +1 -0
  26. package/build/components/Alert/index.cjs +2 -0
  27. package/build/components/Alert/index.cjs.map +1 -0
  28. package/build/components/Alert/index.d.cts +15 -0
  29. package/build/components/Alert/index.d.ts +15 -0
  30. package/build/components/Alert/index.js +32 -0
  31. package/build/components/Alert/index.js.map +1 -0
  32. package/build/components/Alert/style.css +1 -0
  33. package/build/components/Avatar/index.cjs +2 -0
  34. package/build/components/Avatar/index.cjs.map +1 -0
  35. package/build/components/Avatar/index.d.cts +26 -0
  36. package/build/components/Avatar/index.d.ts +26 -0
  37. package/build/components/Avatar/index.js +57 -0
  38. package/build/components/Avatar/index.js.map +1 -0
  39. package/build/components/Avatar/style.css +1 -0
  40. package/build/components/Badge/index.cjs +2 -0
  41. package/build/components/Badge/index.cjs.map +1 -0
  42. package/build/components/Badge/index.d.cts +21 -0
  43. package/build/components/Badge/index.d.ts +21 -0
  44. package/build/components/Badge/index.js +26 -0
  45. package/build/components/Badge/index.js.map +1 -0
  46. package/build/components/Badge/style.css +1 -0
  47. package/build/components/BottomSheet/index.cjs +2 -0
  48. package/build/components/BottomSheet/index.cjs.map +1 -0
  49. package/build/components/BottomSheet/index.d.cts +21 -0
  50. package/build/components/BottomSheet/index.d.ts +21 -0
  51. package/build/components/BottomSheet/index.js +85 -0
  52. package/build/components/BottomSheet/index.js.map +1 -0
  53. package/build/components/BottomSheet/style.css +1 -0
  54. package/build/components/Breadcrumb/index.cjs +2 -0
  55. package/build/components/Breadcrumb/index.cjs.map +1 -0
  56. package/build/components/Breadcrumb/index.d.cts +20 -0
  57. package/build/components/Breadcrumb/index.d.ts +20 -0
  58. package/build/components/Breadcrumb/index.js +31 -0
  59. package/build/components/Breadcrumb/index.js.map +1 -0
  60. package/build/components/Breadcrumb/style.css +1 -0
  61. package/build/components/Button/index.cjs +2 -0
  62. package/build/components/Button/index.cjs.map +1 -0
  63. package/build/components/Button/index.d.cts +32 -0
  64. package/build/components/Button/index.d.ts +32 -0
  65. package/build/components/Button/index.js +88 -0
  66. package/build/components/Button/index.js.map +1 -0
  67. package/build/components/Button/style.css +1 -0
  68. package/build/components/Card/index.cjs +2 -0
  69. package/build/components/Card/index.cjs.map +1 -0
  70. package/build/components/Card/index.d.cts +51 -0
  71. package/build/components/Card/index.d.ts +51 -0
  72. package/build/components/Card/index.js +58 -0
  73. package/build/components/Card/index.js.map +1 -0
  74. package/build/components/Card/style.css +1 -0
  75. package/build/components/Carousel/index.cjs +2 -0
  76. package/build/components/Carousel/index.cjs.map +1 -0
  77. package/build/components/Carousel/index.d.cts +24 -0
  78. package/build/components/Carousel/index.d.ts +24 -0
  79. package/build/components/Carousel/index.js +111 -0
  80. package/build/components/Carousel/index.js.map +1 -0
  81. package/build/components/Carousel/style.css +1 -0
  82. package/build/components/Checkbox/index.cjs +2 -0
  83. package/build/components/Checkbox/index.cjs.map +1 -0
  84. package/build/components/Checkbox/index.d.cts +15 -0
  85. package/build/components/Checkbox/index.d.ts +15 -0
  86. package/build/components/Checkbox/index.js +50 -0
  87. package/build/components/Checkbox/index.js.map +1 -0
  88. package/build/components/Checkbox/style.css +1 -0
  89. package/build/components/Chip/index.cjs +2 -0
  90. package/build/components/Chip/index.cjs.map +1 -0
  91. package/build/components/Chip/index.d.cts +27 -0
  92. package/build/components/Chip/index.d.ts +27 -0
  93. package/build/components/Chip/index.js +67 -0
  94. package/build/components/Chip/index.js.map +1 -0
  95. package/build/components/Chip/style.css +1 -0
  96. package/build/components/ChipGroup/index.cjs +2 -0
  97. package/build/components/ChipGroup/index.cjs.map +1 -0
  98. package/build/components/ChipGroup/index.d.cts +53 -0
  99. package/build/components/ChipGroup/index.d.ts +53 -0
  100. package/build/components/ChipGroup/index.js +81 -0
  101. package/build/components/ChipGroup/index.js.map +1 -0
  102. package/build/components/ChipGroup/style.css +1 -0
  103. package/build/components/CodeBadge/index.cjs +2 -0
  104. package/build/components/CodeBadge/index.cjs.map +1 -0
  105. package/build/components/CodeBadge/index.d.cts +36 -0
  106. package/build/components/CodeBadge/index.d.ts +36 -0
  107. package/build/components/CodeBadge/index.js +62 -0
  108. package/build/components/CodeBadge/index.js.map +1 -0
  109. package/build/components/CodeBadge/style.css +1 -0
  110. package/build/components/Combobox/index.cjs +2 -0
  111. package/build/components/Combobox/index.cjs.map +1 -0
  112. package/build/components/Combobox/index.d.cts +8 -0
  113. package/build/components/Combobox/index.d.ts +8 -0
  114. package/build/components/Combobox/index.js +332 -0
  115. package/build/components/Combobox/index.js.map +1 -0
  116. package/build/components/Combobox/style.css +1 -0
  117. package/build/components/CommandPalette/index.cjs +2 -0
  118. package/build/components/CommandPalette/index.cjs.map +1 -0
  119. package/build/components/CommandPalette/index.d.cts +37 -0
  120. package/build/components/CommandPalette/index.d.ts +37 -0
  121. package/build/components/CommandPalette/index.js +181 -0
  122. package/build/components/CommandPalette/index.js.map +1 -0
  123. package/build/components/CommandPalette/style.css +1 -0
  124. package/build/components/ConfirmDialog/index.cjs +2 -0
  125. package/build/components/ConfirmDialog/index.cjs.map +1 -0
  126. package/build/components/ConfirmDialog/index.d.cts +34 -0
  127. package/build/components/ConfirmDialog/index.d.ts +34 -0
  128. package/build/components/ConfirmDialog/index.js +85 -0
  129. package/build/components/ConfirmDialog/index.js.map +1 -0
  130. package/build/components/CopyField/index.cjs +2 -0
  131. package/build/components/CopyField/index.cjs.map +1 -0
  132. package/build/components/CopyField/index.d.cts +20 -0
  133. package/build/components/CopyField/index.d.ts +20 -0
  134. package/build/components/CopyField/index.js +44 -0
  135. package/build/components/CopyField/index.js.map +1 -0
  136. package/build/components/CopyField/style.css +1 -0
  137. package/build/components/DataTable/index.cjs +2 -0
  138. package/build/components/DataTable/index.cjs.map +1 -0
  139. package/build/components/DataTable/index.d.cts +60 -0
  140. package/build/components/DataTable/index.d.ts +60 -0
  141. package/build/components/DataTable/index.js +109 -0
  142. package/build/components/DataTable/index.js.map +1 -0
  143. package/build/components/DataTable/style.css +1 -0
  144. package/build/components/DateField/index.cjs +2 -0
  145. package/build/components/DateField/index.cjs.map +1 -0
  146. package/build/components/DateField/index.d.cts +57 -0
  147. package/build/components/DateField/index.d.ts +57 -0
  148. package/build/components/DateField/index.js +90 -0
  149. package/build/components/DateField/index.js.map +1 -0
  150. package/build/components/DateField/style.css +1 -0
  151. package/build/components/Directory/index.cjs +2 -0
  152. package/build/components/Directory/index.cjs.map +1 -0
  153. package/build/components/Directory/index.d.cts +51 -0
  154. package/build/components/Directory/index.d.ts +51 -0
  155. package/build/components/Directory/index.js +46 -0
  156. package/build/components/Directory/index.js.map +1 -0
  157. package/build/components/Directory/style.css +1 -0
  158. package/build/components/Disclosure/index.cjs +2 -0
  159. package/build/components/Disclosure/index.cjs.map +1 -0
  160. package/build/components/Disclosure/index.d.cts +34 -0
  161. package/build/components/Disclosure/index.d.ts +34 -0
  162. package/build/components/Disclosure/index.js +64 -0
  163. package/build/components/Disclosure/index.js.map +1 -0
  164. package/build/components/Disclosure/style.css +1 -0
  165. package/build/components/Divider/index.cjs +2 -0
  166. package/build/components/Divider/index.cjs.map +1 -0
  167. package/build/components/Divider/index.d.cts +10 -0
  168. package/build/components/Divider/index.d.ts +10 -0
  169. package/build/components/Divider/index.js +24 -0
  170. package/build/components/Divider/index.js.map +1 -0
  171. package/build/components/Divider/style.css +1 -0
  172. package/build/components/Drawer/index.cjs +2 -0
  173. package/build/components/Drawer/index.cjs.map +1 -0
  174. package/build/components/Drawer/index.d.cts +29 -0
  175. package/build/components/Drawer/index.d.ts +29 -0
  176. package/build/components/Drawer/index.js +91 -0
  177. package/build/components/Drawer/index.js.map +1 -0
  178. package/build/components/Drawer/style.css +1 -0
  179. package/build/components/EmptyState/index.cjs +2 -0
  180. package/build/components/EmptyState/index.cjs.map +1 -0
  181. package/build/components/EmptyState/index.d.cts +19 -0
  182. package/build/components/EmptyState/index.d.ts +19 -0
  183. package/build/components/EmptyState/index.js +35 -0
  184. package/build/components/EmptyState/index.js.map +1 -0
  185. package/build/components/EmptyState/style.css +1 -0
  186. package/build/components/Field/index.cjs +2 -0
  187. package/build/components/Field/index.cjs.map +1 -0
  188. package/build/components/Field/index.d.cts +37 -0
  189. package/build/components/Field/index.d.ts +37 -0
  190. package/build/components/Field/index.js +54 -0
  191. package/build/components/Field/index.js.map +1 -0
  192. package/build/components/Field/style.css +1 -0
  193. package/build/components/FileUpload/index.cjs +2 -0
  194. package/build/components/FileUpload/index.cjs.map +1 -0
  195. package/build/components/FileUpload/index.d.cts +42 -0
  196. package/build/components/FileUpload/index.d.ts +42 -0
  197. package/build/components/FileUpload/index.js +145 -0
  198. package/build/components/FileUpload/index.js.map +1 -0
  199. package/build/components/FileUpload/style.css +1 -0
  200. package/build/components/FilterBar/index.cjs +2 -0
  201. package/build/components/FilterBar/index.cjs.map +1 -0
  202. package/build/components/FilterBar/index.d.cts +28 -0
  203. package/build/components/FilterBar/index.d.ts +28 -0
  204. package/build/components/FilterBar/index.js +35 -0
  205. package/build/components/FilterBar/index.js.map +1 -0
  206. package/build/components/FilterBar/style.css +1 -0
  207. package/build/components/IconButton/index.cjs +2 -0
  208. package/build/components/IconButton/index.cjs.map +1 -0
  209. package/build/components/IconButton/index.d.cts +26 -0
  210. package/build/components/IconButton/index.d.ts +26 -0
  211. package/build/components/IconButton/index.js +61 -0
  212. package/build/components/IconButton/index.js.map +1 -0
  213. package/build/components/IconButton/style.css +1 -0
  214. package/build/components/Input/index.cjs +2 -0
  215. package/build/components/Input/index.cjs.map +1 -0
  216. package/build/components/Input/index.d.cts +15 -0
  217. package/build/components/Input/index.d.ts +15 -0
  218. package/build/components/Input/index.js +52 -0
  219. package/build/components/Input/index.js.map +1 -0
  220. package/build/components/Input/style.css +1 -0
  221. package/build/components/Kbd/index.cjs +2 -0
  222. package/build/components/Kbd/index.cjs.map +1 -0
  223. package/build/components/Kbd/index.d.cts +12 -0
  224. package/build/components/Kbd/index.d.ts +12 -0
  225. package/build/components/Kbd/index.js +13 -0
  226. package/build/components/Kbd/index.js.map +1 -0
  227. package/build/components/Kbd/style.css +1 -0
  228. package/build/components/Link/index.cjs +2 -0
  229. package/build/components/Link/index.cjs.map +1 -0
  230. package/build/components/Link/index.d.cts +5 -0
  231. package/build/components/Link/index.d.ts +5 -0
  232. package/build/components/Link/index.js +11 -0
  233. package/build/components/Link/index.js.map +1 -0
  234. package/build/components/Menu/index.cjs +2 -0
  235. package/build/components/Menu/index.cjs.map +1 -0
  236. package/build/components/Menu/index.d.cts +46 -0
  237. package/build/components/Menu/index.d.ts +46 -0
  238. package/build/components/Menu/index.js +241 -0
  239. package/build/components/Menu/index.js.map +1 -0
  240. package/build/components/Menu/style.css +1 -0
  241. package/build/components/Modal/index.cjs +2 -0
  242. package/build/components/Modal/index.cjs.map +1 -0
  243. package/build/components/Modal/index.d.cts +35 -0
  244. package/build/components/Modal/index.d.ts +35 -0
  245. package/build/components/Modal/index.js +95 -0
  246. package/build/components/Modal/index.js.map +1 -0
  247. package/build/components/Modal/style.css +1 -0
  248. package/build/components/MoneyInput/index.cjs +2 -0
  249. package/build/components/MoneyInput/index.cjs.map +1 -0
  250. package/build/components/MoneyInput/index.d.cts +17 -0
  251. package/build/components/MoneyInput/index.d.ts +17 -0
  252. package/build/components/MoneyInput/index.js +22 -0
  253. package/build/components/MoneyInput/index.js.map +1 -0
  254. package/build/components/PageHeader/index.cjs +2 -0
  255. package/build/components/PageHeader/index.cjs.map +1 -0
  256. package/build/components/PageHeader/index.d.cts +24 -0
  257. package/build/components/PageHeader/index.d.ts +24 -0
  258. package/build/components/PageHeader/index.js +34 -0
  259. package/build/components/PageHeader/index.js.map +1 -0
  260. package/build/components/PageHeader/style.css +1 -0
  261. package/build/components/Pagination/index.cjs +2 -0
  262. package/build/components/Pagination/index.cjs.map +1 -0
  263. package/build/components/Pagination/index.d.cts +39 -0
  264. package/build/components/Pagination/index.d.ts +39 -0
  265. package/build/components/Pagination/index.js +128 -0
  266. package/build/components/Pagination/index.js.map +1 -0
  267. package/build/components/Pagination/style.css +1 -0
  268. package/build/components/Panel/index.cjs +2 -0
  269. package/build/components/Panel/index.cjs.map +1 -0
  270. package/build/components/Panel/index.d.cts +43 -0
  271. package/build/components/Panel/index.d.ts +43 -0
  272. package/build/components/Panel/index.js +55 -0
  273. package/build/components/Panel/index.js.map +1 -0
  274. package/build/components/Panel/style.css +1 -0
  275. package/build/components/PasswordInput/index.cjs +2 -0
  276. package/build/components/PasswordInput/index.cjs.map +1 -0
  277. package/build/components/PasswordInput/index.d.cts +14 -0
  278. package/build/components/PasswordInput/index.d.ts +14 -0
  279. package/build/components/PasswordInput/index.js +40 -0
  280. package/build/components/PasswordInput/index.js.map +1 -0
  281. package/build/components/PasswordInput/style.css +1 -0
  282. package/build/components/PercentInput/index.cjs +2 -0
  283. package/build/components/PercentInput/index.cjs.map +1 -0
  284. package/build/components/PercentInput/index.d.cts +10 -0
  285. package/build/components/PercentInput/index.d.ts +10 -0
  286. package/build/components/PercentInput/index.js +14 -0
  287. package/build/components/PercentInput/index.js.map +1 -0
  288. package/build/components/Popover/index.cjs +2 -0
  289. package/build/components/Popover/index.cjs.map +1 -0
  290. package/build/components/Popover/index.d.cts +26 -0
  291. package/build/components/Popover/index.d.ts +26 -0
  292. package/build/components/Popover/index.js +106 -0
  293. package/build/components/Popover/index.js.map +1 -0
  294. package/build/components/Popover/style.css +1 -0
  295. package/build/components/Price/index.cjs +2 -0
  296. package/build/components/Price/index.cjs.map +1 -0
  297. package/build/components/Price/index.d.cts +22 -0
  298. package/build/components/Price/index.d.ts +22 -0
  299. package/build/components/Price/index.js +46 -0
  300. package/build/components/Price/index.js.map +1 -0
  301. package/build/components/Price/style.css +1 -0
  302. package/build/components/Progress/index.cjs +2 -0
  303. package/build/components/Progress/index.cjs.map +1 -0
  304. package/build/components/Progress/index.d.cts +59 -0
  305. package/build/components/Progress/index.d.ts +59 -0
  306. package/build/components/Progress/index.js +124 -0
  307. package/build/components/Progress/index.js.map +1 -0
  308. package/build/components/Progress/style.css +1 -0
  309. package/build/components/PromptDialog/index.cjs +2 -0
  310. package/build/components/PromptDialog/index.cjs.map +1 -0
  311. package/build/components/PromptDialog/index.d.cts +36 -0
  312. package/build/components/PromptDialog/index.d.ts +36 -0
  313. package/build/components/PromptDialog/index.js +119 -0
  314. package/build/components/PromptDialog/index.js.map +1 -0
  315. package/build/components/PromptDialog/style.css +1 -0
  316. package/build/components/QuantityInput/index.cjs +2 -0
  317. package/build/components/QuantityInput/index.cjs.map +1 -0
  318. package/build/components/QuantityInput/index.d.cts +17 -0
  319. package/build/components/QuantityInput/index.d.ts +17 -0
  320. package/build/components/QuantityInput/index.js +23 -0
  321. package/build/components/QuantityInput/index.js.map +1 -0
  322. package/build/components/QuantityStepper/index.cjs +2 -0
  323. package/build/components/QuantityStepper/index.cjs.map +1 -0
  324. package/build/components/QuantityStepper/index.d.cts +37 -0
  325. package/build/components/QuantityStepper/index.d.ts +37 -0
  326. package/build/components/QuantityStepper/index.js +118 -0
  327. package/build/components/QuantityStepper/index.js.map +1 -0
  328. package/build/components/QuantityStepper/style.css +1 -0
  329. package/build/components/Radio/index.cjs +2 -0
  330. package/build/components/Radio/index.cjs.map +1 -0
  331. package/build/components/Radio/index.d.cts +18 -0
  332. package/build/components/Radio/index.d.ts +18 -0
  333. package/build/components/Radio/index.js +53 -0
  334. package/build/components/Radio/index.js.map +1 -0
  335. package/build/components/Radio/style.css +1 -0
  336. package/build/components/RadioCard/index.cjs +2 -0
  337. package/build/components/RadioCard/index.cjs.map +1 -0
  338. package/build/components/RadioCard/index.d.cts +16 -0
  339. package/build/components/RadioCard/index.d.ts +16 -0
  340. package/build/components/RadioCard/index.js +48 -0
  341. package/build/components/RadioCard/index.js.map +1 -0
  342. package/build/components/RadioCard/style.css +1 -0
  343. package/build/components/RangeSlider/index.cjs +2 -0
  344. package/build/components/RangeSlider/index.cjs.map +1 -0
  345. package/build/components/RangeSlider/index.d.cts +45 -0
  346. package/build/components/RangeSlider/index.d.ts +45 -0
  347. package/build/components/RangeSlider/index.js +121 -0
  348. package/build/components/RangeSlider/index.js.map +1 -0
  349. package/build/components/RangeSlider/style.css +1 -0
  350. package/build/components/RateInput/index.cjs +2 -0
  351. package/build/components/RateInput/index.cjs.map +1 -0
  352. package/build/components/RateInput/index.d.cts +9 -0
  353. package/build/components/RateInput/index.d.ts +9 -0
  354. package/build/components/RateInput/index.js +18 -0
  355. package/build/components/RateInput/index.js.map +1 -0
  356. package/build/components/Rating/index.cjs +2 -0
  357. package/build/components/Rating/index.cjs.map +1 -0
  358. package/build/components/Rating/index.d.cts +16 -0
  359. package/build/components/Rating/index.d.ts +16 -0
  360. package/build/components/Rating/index.js +29 -0
  361. package/build/components/Rating/index.js.map +1 -0
  362. package/build/components/Rating/style.css +1 -0
  363. package/build/components/RatingInput/index.cjs +2 -0
  364. package/build/components/RatingInput/index.cjs.map +1 -0
  365. package/build/components/RatingInput/index.d.cts +34 -0
  366. package/build/components/RatingInput/index.d.ts +34 -0
  367. package/build/components/RatingInput/index.js +89 -0
  368. package/build/components/RatingInput/index.js.map +1 -0
  369. package/build/components/RatingInput/style.css +1 -0
  370. package/build/components/ScaledInput/index.cjs +2 -0
  371. package/build/components/ScaledInput/index.cjs.map +1 -0
  372. package/build/components/ScaledInput/index.d.cts +77 -0
  373. package/build/components/ScaledInput/index.d.ts +77 -0
  374. package/build/components/ScaledInput/index.js +77 -0
  375. package/build/components/ScaledInput/index.js.map +1 -0
  376. package/build/components/ScaledInput/style.css +1 -0
  377. package/build/components/ScrollArea/index.cjs +2 -0
  378. package/build/components/ScrollArea/index.cjs.map +1 -0
  379. package/build/components/ScrollArea/index.d.cts +23 -0
  380. package/build/components/ScrollArea/index.d.ts +23 -0
  381. package/build/components/ScrollArea/index.js +65 -0
  382. package/build/components/ScrollArea/index.js.map +1 -0
  383. package/build/components/ScrollArea/style.css +1 -0
  384. package/build/components/SectionHeader/index.cjs +2 -0
  385. package/build/components/SectionHeader/index.cjs.map +1 -0
  386. package/build/components/SectionHeader/index.d.cts +17 -0
  387. package/build/components/SectionHeader/index.d.ts +17 -0
  388. package/build/components/SectionHeader/index.js +25 -0
  389. package/build/components/SectionHeader/index.js.map +1 -0
  390. package/build/components/SectionHeader/style.css +1 -0
  391. package/build/components/SegmentedControl/index.cjs +2 -0
  392. package/build/components/SegmentedControl/index.cjs.map +1 -0
  393. package/build/components/SegmentedControl/index.d.cts +39 -0
  394. package/build/components/SegmentedControl/index.d.ts +39 -0
  395. package/build/components/SegmentedControl/index.js +84 -0
  396. package/build/components/SegmentedControl/index.js.map +1 -0
  397. package/build/components/SegmentedControl/style.css +1 -0
  398. package/build/components/Select/index.cjs +2 -0
  399. package/build/components/Select/index.cjs.map +1 -0
  400. package/build/components/Select/index.d.cts +52 -0
  401. package/build/components/Select/index.d.ts +52 -0
  402. package/build/components/Select/index.js +206 -0
  403. package/build/components/Select/index.js.map +1 -0
  404. package/build/components/Select/style.css +1 -0
  405. package/build/components/Skeleton/index.cjs +2 -0
  406. package/build/components/Skeleton/index.cjs.map +1 -0
  407. package/build/components/Skeleton/index.d.cts +25 -0
  408. package/build/components/Skeleton/index.d.ts +25 -0
  409. package/build/components/Skeleton/index.js +50 -0
  410. package/build/components/Skeleton/index.js.map +1 -0
  411. package/build/components/Skeleton/style.css +1 -0
  412. package/build/components/Spinner/index.cjs +2 -0
  413. package/build/components/Spinner/index.cjs.map +1 -0
  414. package/build/components/Spinner/index.d.cts +16 -0
  415. package/build/components/Spinner/index.d.ts +16 -0
  416. package/build/components/Spinner/index.js +15 -0
  417. package/build/components/Spinner/index.js.map +1 -0
  418. package/build/components/Spinner/style.css +1 -0
  419. package/build/components/Stat/index.cjs +2 -0
  420. package/build/components/Stat/index.cjs.map +1 -0
  421. package/build/components/Stat/index.d.cts +34 -0
  422. package/build/components/Stat/index.d.ts +34 -0
  423. package/build/components/Stat/index.js +72 -0
  424. package/build/components/Stat/index.js.map +1 -0
  425. package/build/components/Stat/style.css +1 -0
  426. package/build/components/StatusDot/index.cjs +2 -0
  427. package/build/components/StatusDot/index.cjs.map +1 -0
  428. package/build/components/StatusDot/index.d.cts +23 -0
  429. package/build/components/StatusDot/index.d.ts +23 -0
  430. package/build/components/StatusDot/index.js +23 -0
  431. package/build/components/StatusDot/index.js.map +1 -0
  432. package/build/components/StatusDot/style.css +1 -0
  433. package/build/components/Steps/index.cjs +2 -0
  434. package/build/components/Steps/index.cjs.map +1 -0
  435. package/build/components/Steps/index.d.cts +23 -0
  436. package/build/components/Steps/index.d.ts +23 -0
  437. package/build/components/Steps/index.js +69 -0
  438. package/build/components/Steps/index.js.map +1 -0
  439. package/build/components/Steps/style.css +1 -0
  440. package/build/components/SummaryCard/index.cjs +2 -0
  441. package/build/components/SummaryCard/index.cjs.map +1 -0
  442. package/build/components/SummaryCard/index.d.cts +24 -0
  443. package/build/components/SummaryCard/index.d.ts +24 -0
  444. package/build/components/SummaryCard/index.js +33 -0
  445. package/build/components/SummaryCard/index.js.map +1 -0
  446. package/build/components/SummaryCard/style.css +1 -0
  447. package/build/components/Switch/index.cjs +2 -0
  448. package/build/components/Switch/index.cjs.map +1 -0
  449. package/build/components/Switch/index.d.cts +21 -0
  450. package/build/components/Switch/index.d.ts +21 -0
  451. package/build/components/Switch/index.js +60 -0
  452. package/build/components/Switch/index.js.map +1 -0
  453. package/build/components/Switch/style.css +1 -0
  454. package/build/components/Table/index.cjs +2 -0
  455. package/build/components/Table/index.cjs.map +1 -0
  456. package/build/components/Table/index.d.cts +28 -0
  457. package/build/components/Table/index.d.ts +28 -0
  458. package/build/components/Table/index.js +58 -0
  459. package/build/components/Table/index.js.map +1 -0
  460. package/build/components/Table/style.css +1 -0
  461. package/build/components/TableCheckbox/index.cjs +2 -0
  462. package/build/components/TableCheckbox/index.cjs.map +1 -0
  463. package/build/components/TableCheckbox/index.d.cts +15 -0
  464. package/build/components/TableCheckbox/index.d.ts +15 -0
  465. package/build/components/TableCheckbox/index.js +31 -0
  466. package/build/components/TableCheckbox/index.js.map +1 -0
  467. package/build/components/TableCheckbox/style.css +1 -0
  468. package/build/components/Tabs/index.cjs +2 -0
  469. package/build/components/Tabs/index.cjs.map +1 -0
  470. package/build/components/Tabs/index.d.cts +27 -0
  471. package/build/components/Tabs/index.d.ts +27 -0
  472. package/build/components/Tabs/index.js +102 -0
  473. package/build/components/Tabs/index.js.map +1 -0
  474. package/build/components/Tabs/style.css +1 -0
  475. package/build/components/TagInput/index.cjs +2 -0
  476. package/build/components/TagInput/index.cjs.map +1 -0
  477. package/build/components/TagInput/index.d.cts +43 -0
  478. package/build/components/TagInput/index.d.ts +43 -0
  479. package/build/components/TagInput/index.js +134 -0
  480. package/build/components/TagInput/index.js.map +1 -0
  481. package/build/components/TagInput/style.css +1 -0
  482. package/build/components/TextLink/index.cjs +2 -0
  483. package/build/components/TextLink/index.cjs.map +1 -0
  484. package/build/components/TextLink/index.d.cts +16 -0
  485. package/build/components/TextLink/index.d.ts +16 -0
  486. package/build/components/TextLink/index.js +32 -0
  487. package/build/components/TextLink/index.js.map +1 -0
  488. package/build/components/TextLink/style.css +1 -0
  489. package/build/components/Textarea/index.cjs +2 -0
  490. package/build/components/Textarea/index.cjs.map +1 -0
  491. package/build/components/Textarea/index.d.cts +20 -0
  492. package/build/components/Textarea/index.d.ts +20 -0
  493. package/build/components/Textarea/index.js +68 -0
  494. package/build/components/Textarea/index.js.map +1 -0
  495. package/build/components/Textarea/style.css +1 -0
  496. package/build/components/Tile/index.cjs +2 -0
  497. package/build/components/Tile/index.cjs.map +1 -0
  498. package/build/components/Tile/index.d.cts +19 -0
  499. package/build/components/Tile/index.d.ts +19 -0
  500. package/build/components/Tile/index.js +24 -0
  501. package/build/components/Tile/index.js.map +1 -0
  502. package/build/components/Tile/style.css +1 -0
  503. package/build/components/Timeline/index.cjs +2 -0
  504. package/build/components/Timeline/index.cjs.map +1 -0
  505. package/build/components/Timeline/index.d.cts +24 -0
  506. package/build/components/Timeline/index.d.ts +24 -0
  507. package/build/components/Timeline/index.js +56 -0
  508. package/build/components/Timeline/index.js.map +1 -0
  509. package/build/components/Timeline/style.css +1 -0
  510. package/build/components/Toast/index.cjs +2 -0
  511. package/build/components/Toast/index.cjs.map +1 -0
  512. package/build/components/Toast/index.d.cts +63 -0
  513. package/build/components/Toast/index.d.ts +63 -0
  514. package/build/components/Toast/index.js +159 -0
  515. package/build/components/Toast/index.js.map +1 -0
  516. package/build/components/Toast/style.css +1 -0
  517. package/build/components/ToastPortal/index.cjs +2 -0
  518. package/build/components/ToastPortal/index.cjs.map +1 -0
  519. package/build/components/ToastPortal/index.d.cts +10 -0
  520. package/build/components/ToastPortal/index.d.ts +10 -0
  521. package/build/components/ToastPortal/index.js +15 -0
  522. package/build/components/ToastPortal/index.js.map +1 -0
  523. package/build/components/Tooltip/index.cjs +2 -0
  524. package/build/components/Tooltip/index.cjs.map +1 -0
  525. package/build/components/Tooltip/index.d.cts +23 -0
  526. package/build/components/Tooltip/index.d.ts +23 -0
  527. package/build/components/Tooltip/index.js +116 -0
  528. package/build/components/Tooltip/index.js.map +1 -0
  529. package/build/components/Tooltip/style.css +1 -0
  530. package/build/constants/breakpoint.constants.cjs +2 -0
  531. package/build/constants/breakpoint.constants.cjs.map +1 -0
  532. package/build/constants/breakpoint.constants.d.cts +15 -0
  533. package/build/constants/breakpoint.constants.d.ts +15 -0
  534. package/build/constants/breakpoint.constants.js +12 -0
  535. package/build/constants/breakpoint.constants.js.map +1 -0
  536. package/build/constants/combobox.constants.cjs +2 -0
  537. package/build/constants/combobox.constants.cjs.map +1 -0
  538. package/build/constants/combobox.constants.d.cts +11 -0
  539. package/build/constants/combobox.constants.d.ts +11 -0
  540. package/build/constants/combobox.constants.js +7 -0
  541. package/build/constants/combobox.constants.js.map +1 -0
  542. package/build/constants/scale.constants.cjs +2 -0
  543. package/build/constants/scale.constants.cjs.map +1 -0
  544. package/build/constants/scale.constants.d.cts +11 -0
  545. package/build/constants/scale.constants.d.ts +11 -0
  546. package/build/constants/scale.constants.js +8 -0
  547. package/build/constants/scale.constants.js.map +1 -0
  548. package/build/constants/scroll.constants.cjs +2 -0
  549. package/build/constants/scroll.constants.cjs.map +1 -0
  550. package/build/constants/scroll.constants.d.cts +7 -0
  551. package/build/constants/scroll.constants.d.ts +7 -0
  552. package/build/constants/scroll.constants.js +5 -0
  553. package/build/constants/scroll.constants.js.map +1 -0
  554. package/build/enums/ui-size.enum.cjs +2 -0
  555. package/build/enums/ui-size.enum.cjs.map +1 -0
  556. package/build/enums/ui-size.enum.d.cts +12 -0
  557. package/build/enums/ui-size.enum.d.ts +12 -0
  558. package/build/enums/ui-size.enum.js +5 -0
  559. package/build/enums/ui-size.enum.js.map +1 -0
  560. package/build/enums/ui-variant.enum.cjs +2 -0
  561. package/build/enums/ui-variant.enum.cjs.map +1 -0
  562. package/build/enums/ui-variant.enum.d.cts +20 -0
  563. package/build/enums/ui-variant.enum.d.ts +20 -0
  564. package/build/enums/ui-variant.enum.js +5 -0
  565. package/build/enums/ui-variant.enum.js.map +1 -0
  566. package/build/helpers/aria.helper.cjs +2 -0
  567. package/build/helpers/aria.helper.cjs.map +1 -0
  568. package/build/helpers/aria.helper.d.cts +7 -0
  569. package/build/helpers/aria.helper.d.ts +7 -0
  570. package/build/helpers/aria.helper.js +5 -0
  571. package/build/helpers/aria.helper.js.map +1 -0
  572. package/build/helpers/class-name.helper.cjs +2 -0
  573. package/build/helpers/class-name.helper.cjs.map +1 -0
  574. package/build/helpers/class-name.helper.d.cts +3 -0
  575. package/build/helpers/class-name.helper.d.ts +3 -0
  576. package/build/helpers/class-name.helper.js +10 -0
  577. package/build/helpers/class-name.helper.js.map +1 -0
  578. package/build/helpers/component.helper.cjs +2 -0
  579. package/build/helpers/component.helper.cjs.map +1 -0
  580. package/build/helpers/component.helper.d.cts +13 -0
  581. package/build/helpers/component.helper.d.ts +13 -0
  582. package/build/helpers/component.helper.js +5 -0
  583. package/build/helpers/component.helper.js.map +1 -0
  584. package/build/helpers/focus.helper.cjs +2 -0
  585. package/build/helpers/focus.helper.cjs.map +1 -0
  586. package/build/helpers/focus.helper.d.cts +90 -0
  587. package/build/helpers/focus.helper.d.ts +90 -0
  588. package/build/helpers/focus.helper.js +83 -0
  589. package/build/helpers/focus.helper.js.map +1 -0
  590. package/build/helpers/label.helper.cjs +2 -0
  591. package/build/helpers/label.helper.cjs.map +1 -0
  592. package/build/helpers/label.helper.d.cts +11 -0
  593. package/build/helpers/label.helper.d.ts +11 -0
  594. package/build/helpers/label.helper.js +11 -0
  595. package/build/helpers/label.helper.js.map +1 -0
  596. package/build/helpers/portal.helper.cjs +2 -0
  597. package/build/helpers/portal.helper.cjs.map +1 -0
  598. package/build/helpers/portal.helper.d.cts +28 -0
  599. package/build/helpers/portal.helper.d.ts +28 -0
  600. package/build/helpers/portal.helper.js +36 -0
  601. package/build/helpers/portal.helper.js.map +1 -0
  602. package/build/helpers/ref.helper.cjs +2 -0
  603. package/build/helpers/ref.helper.cjs.map +1 -0
  604. package/build/helpers/ref.helper.d.cts +3 -0
  605. package/build/helpers/ref.helper.d.ts +3 -0
  606. package/build/helpers/ref.helper.js +7 -0
  607. package/build/helpers/ref.helper.js.map +1 -0
  608. package/build/helpers/scaled-number.helper.cjs +2 -0
  609. package/build/helpers/scaled-number.helper.cjs.map +1 -0
  610. package/build/helpers/scaled-number.helper.d.cts +55 -0
  611. package/build/helpers/scaled-number.helper.d.ts +55 -0
  612. package/build/helpers/scaled-number.helper.js +34 -0
  613. package/build/helpers/scaled-number.helper.js.map +1 -0
  614. package/build/helpers/scroll.helper.cjs +2 -0
  615. package/build/helpers/scroll.helper.cjs.map +1 -0
  616. package/build/helpers/scroll.helper.d.cts +8 -0
  617. package/build/helpers/scroll.helper.d.ts +8 -0
  618. package/build/helpers/scroll.helper.js +11 -0
  619. package/build/helpers/scroll.helper.js.map +1 -0
  620. package/build/helpers/text.helper.cjs +2 -0
  621. package/build/helpers/text.helper.cjs.map +1 -0
  622. package/build/helpers/text.helper.d.cts +5 -0
  623. package/build/helpers/text.helper.d.ts +5 -0
  624. package/build/helpers/text.helper.js +6 -0
  625. package/build/helpers/text.helper.js.map +1 -0
  626. package/build/helpers/theme.helper.cjs +2 -0
  627. package/build/helpers/theme.helper.cjs.map +1 -0
  628. package/build/helpers/theme.helper.d.cts +18 -0
  629. package/build/helpers/theme.helper.d.ts +18 -0
  630. package/build/helpers/theme.helper.js +37 -0
  631. package/build/helpers/theme.helper.js.map +1 -0
  632. package/build/hooks/useAnnounce.cjs +2 -0
  633. package/build/hooks/useAnnounce.cjs.map +1 -0
  634. package/build/hooks/useAnnounce.d.cts +4 -0
  635. package/build/hooks/useAnnounce.d.ts +4 -0
  636. package/build/hooks/useAnnounce.js +23 -0
  637. package/build/hooks/useAnnounce.js.map +1 -0
  638. package/build/hooks/useAsyncSearch.cjs +2 -0
  639. package/build/hooks/useAsyncSearch.cjs.map +1 -0
  640. package/build/hooks/useAsyncSearch.d.cts +11 -0
  641. package/build/hooks/useAsyncSearch.d.ts +11 -0
  642. package/build/hooks/useAsyncSearch.js +17 -0
  643. package/build/hooks/useAsyncSearch.js.map +1 -0
  644. package/build/hooks/useCopyFeedback.cjs +2 -0
  645. package/build/hooks/useCopyFeedback.cjs.map +1 -0
  646. package/build/hooks/useCopyFeedback.d.cts +10 -0
  647. package/build/hooks/useCopyFeedback.d.ts +10 -0
  648. package/build/hooks/useCopyFeedback.js +25 -0
  649. package/build/hooks/useCopyFeedback.js.map +1 -0
  650. package/build/hooks/useDismissOnEscape.cjs +2 -0
  651. package/build/hooks/useDismissOnEscape.cjs.map +1 -0
  652. package/build/hooks/useDismissOnEscape.d.cts +16 -0
  653. package/build/hooks/useDismissOnEscape.d.ts +16 -0
  654. package/build/hooks/useDismissOnEscape.js +18 -0
  655. package/build/hooks/useDismissOnEscape.js.map +1 -0
  656. package/build/hooks/useListboxNavigation.cjs +2 -0
  657. package/build/hooks/useListboxNavigation.cjs.map +1 -0
  658. package/build/hooks/useListboxNavigation.d.cts +7 -0
  659. package/build/hooks/useListboxNavigation.d.ts +7 -0
  660. package/build/hooks/useListboxNavigation.js +53 -0
  661. package/build/hooks/useListboxNavigation.js.map +1 -0
  662. package/build/hooks/usePortalSurface.cjs +2 -0
  663. package/build/hooks/usePortalSurface.cjs.map +1 -0
  664. package/build/hooks/usePortalSurface.d.cts +25 -0
  665. package/build/hooks/usePortalSurface.d.ts +25 -0
  666. package/build/hooks/usePortalSurface.js +19 -0
  667. package/build/hooks/usePortalSurface.js.map +1 -0
  668. package/build/hooks/usePositioning.cjs +2 -0
  669. package/build/hooks/usePositioning.cjs.map +1 -0
  670. package/build/hooks/usePositioning.d.cts +13 -0
  671. package/build/hooks/usePositioning.d.ts +13 -0
  672. package/build/hooks/usePositioning.js +74 -0
  673. package/build/hooks/usePositioning.js.map +1 -0
  674. package/build/hooks/useScrollLock.cjs +2 -0
  675. package/build/hooks/useScrollLock.cjs.map +1 -0
  676. package/build/hooks/useScrollLock.d.cts +2 -0
  677. package/build/hooks/useScrollLock.d.ts +2 -0
  678. package/build/hooks/useScrollLock.js +34 -0
  679. package/build/hooks/useScrollLock.js.map +1 -0
  680. package/build/hooks/useSheetViewport.cjs +2 -0
  681. package/build/hooks/useSheetViewport.cjs.map +1 -0
  682. package/build/hooks/useSheetViewport.d.cts +6 -0
  683. package/build/hooks/useSheetViewport.d.ts +6 -0
  684. package/build/hooks/useSheetViewport.js +29 -0
  685. package/build/hooks/useSheetViewport.js.map +1 -0
  686. package/build/hooks/useStickToBottom.cjs +2 -0
  687. package/build/hooks/useStickToBottom.cjs.map +1 -0
  688. package/build/hooks/useStickToBottom.d.cts +12 -0
  689. package/build/hooks/useStickToBottom.d.ts +12 -0
  690. package/build/hooks/useStickToBottom.js +39 -0
  691. package/build/hooks/useStickToBottom.js.map +1 -0
  692. package/build/hooks/useUiTheme.cjs +2 -0
  693. package/build/hooks/useUiTheme.cjs.map +1 -0
  694. package/build/hooks/useUiTheme.d.cts +10 -0
  695. package/build/hooks/useUiTheme.d.ts +10 -0
  696. package/build/hooks/useUiTheme.js +42 -0
  697. package/build/hooks/useUiTheme.js.map +1 -0
  698. package/build/hooks/useUiTokens.cjs +2 -0
  699. package/build/hooks/useUiTokens.cjs.map +1 -0
  700. package/build/hooks/useUiTokens.d.cts +11 -0
  701. package/build/hooks/useUiTokens.d.ts +11 -0
  702. package/build/hooks/useUiTokens.js +36 -0
  703. package/build/hooks/useUiTokens.js.map +1 -0
  704. package/build/hooks/useVirtualList.cjs +2 -0
  705. package/build/hooks/useVirtualList.cjs.map +1 -0
  706. package/build/hooks/useVirtualList.d.cts +13 -0
  707. package/build/hooks/useVirtualList.d.ts +13 -0
  708. package/build/hooks/useVirtualList.js +41 -0
  709. package/build/hooks/useVirtualList.js.map +1 -0
  710. package/build/index.cjs +2 -0
  711. package/build/index.cjs.map +1 -0
  712. package/build/index.d.cts +98 -0
  713. package/build/index.d.ts +98 -0
  714. package/build/index.js +209 -0
  715. package/build/index.js.map +1 -0
  716. package/build/scss/_index.scss +7 -0
  717. package/build/scss/_mixins.scss +861 -0
  718. package/build/scss/_variables.scss +245 -0
  719. package/build/styles/base.d.cts +0 -0
  720. package/build/styles/base.d.ts +0 -0
  721. package/build/styles.css +135 -0
  722. package/build/theme/UiProvider.cjs +2 -0
  723. package/build/theme/UiProvider.cjs.map +1 -0
  724. package/build/theme/UiProvider.d.cts +23 -0
  725. package/build/theme/UiProvider.d.ts +23 -0
  726. package/build/theme/UiProvider.js +12 -0
  727. package/build/theme/UiProvider.js.map +1 -0
  728. package/build/theme/UiThemeScript.cjs +2 -0
  729. package/build/theme/UiThemeScript.cjs.map +1 -0
  730. package/build/theme/UiThemeScript.d.cts +22 -0
  731. package/build/theme/UiThemeScript.d.ts +22 -0
  732. package/build/theme/UiThemeScript.js +8 -0
  733. package/build/theme/UiThemeScript.js.map +1 -0
  734. package/build/theme/context.cjs +2 -0
  735. package/build/theme/context.cjs.map +1 -0
  736. package/build/theme/context.d.cts +5 -0
  737. package/build/theme/context.d.ts +5 -0
  738. package/build/theme/context.js +8 -0
  739. package/build/theme/context.js.map +1 -0
  740. package/build/types/calendar/Calendar/EventBlock.d.cts +29 -0
  741. package/build/types/calendar/Calendar/EventBlock.d.ts +29 -0
  742. package/build/types/calendar/Calendar/MonthGrid.d.cts +28 -0
  743. package/build/types/calendar/Calendar/MonthGrid.d.ts +28 -0
  744. package/build/types/calendar/Calendar/TimeGrid.d.cts +37 -0
  745. package/build/types/calendar/Calendar/TimeGrid.d.ts +37 -0
  746. package/build/types/calendar/Calendar/index.d.cts +72 -0
  747. package/build/types/calendar/Calendar/index.d.ts +72 -0
  748. package/build/types/calendar/core/layout.d.cts +43 -0
  749. package/build/types/calendar/core/layout.d.ts +43 -0
  750. package/build/types/calendar/core/moves.d.cts +37 -0
  751. package/build/types/calendar/core/moves.d.ts +37 -0
  752. package/build/types/calendar/core/time.d.cts +19 -0
  753. package/build/types/calendar/core/time.d.ts +19 -0
  754. package/build/types/calendar/core/types.d.cts +75 -0
  755. package/build/types/calendar/core/types.d.ts +75 -0
  756. package/build/types/calendar/core/useCalendarDrag.d.cts +32 -0
  757. package/build/types/calendar/core/useCalendarDrag.d.ts +32 -0
  758. package/build/types/calendar/index.d.cts +13 -0
  759. package/build/types/calendar/index.d.ts +13 -0
  760. package/build/types/charts/AreaChart/index.d.cts +14 -0
  761. package/build/types/charts/AreaChart/index.d.ts +14 -0
  762. package/build/types/charts/BarChart/index.d.cts +16 -0
  763. package/build/types/charts/BarChart/index.d.ts +16 -0
  764. package/build/types/charts/BoxPlot/index.d.cts +43 -0
  765. package/build/types/charts/BoxPlot/index.d.ts +43 -0
  766. package/build/types/charts/ComposedChart/index.d.cts +16 -0
  767. package/build/types/charts/ComposedChart/index.d.ts +16 -0
  768. package/build/types/charts/Heatmap/index.d.cts +30 -0
  769. package/build/types/charts/Heatmap/index.d.ts +30 -0
  770. package/build/types/charts/Histogram/index.d.cts +29 -0
  771. package/build/types/charts/Histogram/index.d.ts +29 -0
  772. package/build/types/charts/LineChart/index.d.cts +14 -0
  773. package/build/types/charts/LineChart/index.d.ts +14 -0
  774. package/build/types/charts/PieChart/index.d.cts +36 -0
  775. package/build/types/charts/PieChart/index.d.ts +36 -0
  776. package/build/types/charts/RadarChart/index.d.cts +40 -0
  777. package/build/types/charts/RadarChart/index.d.ts +40 -0
  778. package/build/types/charts/ScatterPlot/index.d.cts +41 -0
  779. package/build/types/charts/ScatterPlot/index.d.ts +41 -0
  780. package/build/types/charts/core/CartesianChart.d.cts +43 -0
  781. package/build/types/charts/core/CartesianChart.d.ts +43 -0
  782. package/build/types/charts/core/ChartFrame.d.cts +55 -0
  783. package/build/types/charts/core/ChartFrame.d.ts +55 -0
  784. package/build/types/charts/core/axes.d.cts +37 -0
  785. package/build/types/charts/core/axes.d.ts +37 -0
  786. package/build/types/charts/core/cartesian.d.cts +80 -0
  787. package/build/types/charts/core/cartesian.d.ts +80 -0
  788. package/build/types/charts/core/format.d.cts +19 -0
  789. package/build/types/charts/core/format.d.ts +19 -0
  790. package/build/types/charts/core/margins.d.cts +9 -0
  791. package/build/types/charts/core/margins.d.ts +9 -0
  792. package/build/types/charts/core/palette.d.cts +11 -0
  793. package/build/types/charts/core/palette.d.ts +11 -0
  794. package/build/types/charts/core/path.d.cts +24 -0
  795. package/build/types/charts/core/path.d.ts +24 -0
  796. package/build/types/charts/core/scale.d.cts +40 -0
  797. package/build/types/charts/core/scale.d.ts +40 -0
  798. package/build/types/charts/core/series.d.cts +11 -0
  799. package/build/types/charts/core/series.d.ts +11 -0
  800. package/build/types/charts/core/spatial.d.cts +12 -0
  801. package/build/types/charts/core/spatial.d.ts +12 -0
  802. package/build/types/charts/core/stats.d.cts +34 -0
  803. package/build/types/charts/core/stats.d.ts +34 -0
  804. package/build/types/charts/core/types.d.cts +31 -0
  805. package/build/types/charts/core/types.d.ts +31 -0
  806. package/build/types/charts/core/useChartWidth.d.cts +7 -0
  807. package/build/types/charts/core/useChartWidth.d.ts +7 -0
  808. package/build/types/charts/index.d.cts +21 -0
  809. package/build/types/charts/index.d.ts +21 -0
  810. package/build/types/chat/ActionList/index.d.cts +46 -0
  811. package/build/types/chat/ActionList/index.d.ts +46 -0
  812. package/build/types/chat/AppBar/index.d.cts +21 -0
  813. package/build/types/chat/AppBar/index.d.ts +21 -0
  814. package/build/types/chat/ChatMessage/index.d.cts +24 -0
  815. package/build/types/chat/ChatMessage/index.d.ts +24 -0
  816. package/build/types/chat/ChatThread/index.d.cts +24 -0
  817. package/build/types/chat/ChatThread/index.d.ts +24 -0
  818. package/build/types/chat/Citation/index.d.cts +15 -0
  819. package/build/types/chat/Citation/index.d.ts +15 -0
  820. package/build/types/chat/CodeBlock/format.d.cts +7 -0
  821. package/build/types/chat/CodeBlock/format.d.ts +7 -0
  822. package/build/types/chat/CodeBlock/grammars.d.cts +44 -0
  823. package/build/types/chat/CodeBlock/grammars.d.ts +44 -0
  824. package/build/types/chat/CodeBlock/highlight.d.cts +22 -0
  825. package/build/types/chat/CodeBlock/highlight.d.ts +22 -0
  826. package/build/types/chat/CodeBlock/index.d.cts +33 -0
  827. package/build/types/chat/CodeBlock/index.d.ts +33 -0
  828. package/build/types/chat/DescriptionList/index.d.cts +16 -0
  829. package/build/types/chat/DescriptionList/index.d.ts +16 -0
  830. package/build/types/chat/Legend/index.d.cts +21 -0
  831. package/build/types/chat/Legend/index.d.ts +21 -0
  832. package/build/types/chat/MessageActions/index.d.cts +21 -0
  833. package/build/types/chat/MessageActions/index.d.ts +21 -0
  834. package/build/types/chat/PromptInput/index.d.cts +47 -0
  835. package/build/types/chat/PromptInput/index.d.ts +47 -0
  836. package/build/types/chat/PromptSuggestions/index.d.cts +25 -0
  837. package/build/types/chat/PromptSuggestions/index.d.ts +25 -0
  838. package/build/types/chat/Prose/index.d.cts +15 -0
  839. package/build/types/chat/Prose/index.d.ts +15 -0
  840. package/build/types/chat/ReasoningBlock/index.d.cts +24 -0
  841. package/build/types/chat/ReasoningBlock/index.d.ts +24 -0
  842. package/build/types/chat/ReasoningText/index.d.cts +14 -0
  843. package/build/types/chat/ReasoningText/index.d.ts +14 -0
  844. package/build/types/chat/SegmentBar/index.d.cts +46 -0
  845. package/build/types/chat/SegmentBar/index.d.ts +46 -0
  846. package/build/types/chat/SourceList/index.d.cts +25 -0
  847. package/build/types/chat/SourceList/index.d.ts +25 -0
  848. package/build/types/chat/TerminalOutput/index.d.cts +25 -0
  849. package/build/types/chat/TerminalOutput/index.d.ts +25 -0
  850. package/build/types/chat/ToolCall/index.d.cts +41 -0
  851. package/build/types/chat/ToolCall/index.d.ts +41 -0
  852. package/build/types/chat/index.d.cts +26 -0
  853. package/build/types/chat/index.d.ts +26 -0
  854. package/build/types/combobox.type.d.cts +65 -0
  855. package/build/types/combobox.type.d.ts +65 -0
  856. package/build/types/common-element-props.type.d.cts +8 -0
  857. package/build/types/common-element-props.type.d.ts +8 -0
  858. package/build/types/helpers/class-name.helper.d.cts +3 -0
  859. package/build/types/helpers/class-name.helper.d.ts +3 -0
  860. package/build/types/helpers/component.helper.d.cts +13 -0
  861. package/build/types/helpers/component.helper.d.ts +13 -0
  862. package/build/types/helpers/label.helper.d.cts +12 -0
  863. package/build/types/helpers/label.helper.d.ts +12 -0
  864. package/build/types/hook.type.d.cts +36 -0
  865. package/build/types/hook.type.d.ts +36 -0
  866. package/build/types/link.type.d.cts +14 -0
  867. package/build/types/link.type.d.ts +14 -0
  868. package/build/types/positioning.type.d.cts +38 -0
  869. package/build/types/positioning.type.d.ts +38 -0
  870. package/build/types/theme.type.d.cts +197 -0
  871. package/build/types/theme.type.d.ts +197 -0
  872. package/build/types/types/common-element-props.type.d.cts +8 -0
  873. package/build/types/types/common-element-props.type.d.ts +8 -0
  874. package/build/types/types/link.type.d.cts +14 -0
  875. package/build/types/types/link.type.d.ts +14 -0
  876. package/build/types/types/theme.type.d.cts +197 -0
  877. package/build/types/types/theme.type.d.ts +197 -0
  878. package/package.json +905 -4
@@ -0,0 +1,43 @@
1
+ import { Formatter } from '../../types/theme.type.cjs';
2
+ type Props = {
3
+ /** The tags (2.2), the name every other field uses. Wins over `values` when both are given. */
4
+ value?: string[];
5
+ /**
6
+ * @deprecated 2.2: use `value`, the name every other field uses. Removed in 3.0.
7
+ */
8
+ values?: string[];
9
+ onChange: (values: string[]) => void;
10
+ /** Alanın erişilebilir adı. */
11
+ label: string;
12
+ placeholder?: string;
13
+ /** Her etiketin kaldırma düğmesinin ad öneki ("Kaldır"). */
14
+ removeLabel: string;
15
+ /** Etiketi bitiren tuşlar. */
16
+ separators?: string[];
17
+ /** En fazla kaç etiket. */
18
+ maxTags?: number;
19
+ /**
20
+ * What a screen reader hears when the typed tag is already in the list (2.2). Falls back to
21
+ * `labels.tagInput.duplicate` of `UiProvider`, then to the Turkish text of 2.0
22
+ * (`"<value> zaten ekli"`) so that an update stays silent; 3.0 drops that fallback and asks for
23
+ * the label like every other text.
24
+ */
25
+ duplicateLabel?: Formatter<[value: string]>;
26
+ isDisabled?: boolean;
27
+ /**
28
+ * Read-only (2.2): the tags are shown and the box stays focusable (native `readOnly`), but
29
+ * nothing can be typed or removed; the remove buttons are not drawn.
30
+ */
31
+ isReadOnly?: boolean;
32
+ id?: string;
33
+ /** Zorunluluk — `Field`in `FieldChildProps` sözleşmesi. */
34
+ required?: boolean;
35
+ 'aria-describedby'?: string;
36
+ 'aria-invalid'?: boolean;
37
+ className?: string;
38
+ testId?: string;
39
+ };
40
+ /** Etiket girdisi — yazılan metni kaldırılabilir çiplere çevirir. */
41
+ declare const TagInput: ({ value: tags, values: legacyTags, onChange, label, placeholder, removeLabel, separators, maxTags, duplicateLabel, isDisabled, isReadOnly, id, required, className, testId, "aria-describedby": describedBy, "aria-invalid": isInvalid, }: Props) => import("react").JSX.Element;
42
+ declare const _default: typeof TagInput;
43
+ export default _default;
@@ -0,0 +1,43 @@
1
+ import { Formatter } from '../../types/theme.type.js';
2
+ type Props = {
3
+ /** The tags (2.2), the name every other field uses. Wins over `values` when both are given. */
4
+ value?: string[];
5
+ /**
6
+ * @deprecated 2.2: use `value`, the name every other field uses. Removed in 3.0.
7
+ */
8
+ values?: string[];
9
+ onChange: (values: string[]) => void;
10
+ /** Alanın erişilebilir adı. */
11
+ label: string;
12
+ placeholder?: string;
13
+ /** Her etiketin kaldırma düğmesinin ad öneki ("Kaldır"). */
14
+ removeLabel: string;
15
+ /** Etiketi bitiren tuşlar. */
16
+ separators?: string[];
17
+ /** En fazla kaç etiket. */
18
+ maxTags?: number;
19
+ /**
20
+ * What a screen reader hears when the typed tag is already in the list (2.2). Falls back to
21
+ * `labels.tagInput.duplicate` of `UiProvider`, then to the Turkish text of 2.0
22
+ * (`"<value> zaten ekli"`) so that an update stays silent; 3.0 drops that fallback and asks for
23
+ * the label like every other text.
24
+ */
25
+ duplicateLabel?: Formatter<[value: string]>;
26
+ isDisabled?: boolean;
27
+ /**
28
+ * Read-only (2.2): the tags are shown and the box stays focusable (native `readOnly`), but
29
+ * nothing can be typed or removed; the remove buttons are not drawn.
30
+ */
31
+ isReadOnly?: boolean;
32
+ id?: string;
33
+ /** Zorunluluk — `Field`in `FieldChildProps` sözleşmesi. */
34
+ required?: boolean;
35
+ 'aria-describedby'?: string;
36
+ 'aria-invalid'?: boolean;
37
+ className?: string;
38
+ testId?: string;
39
+ };
40
+ /** Etiket girdisi — yazılan metni kaldırılabilir çiplere çevirir. */
41
+ declare const TagInput: ({ value: tags, values: legacyTags, onChange, label, placeholder, removeLabel, separators, maxTags, duplicateLabel, isDisabled, isReadOnly, id, required, className, testId, "aria-describedby": describedBy, "aria-invalid": isInvalid, }: Props) => import("react").JSX.Element;
42
+ declare const _default: typeof TagInput;
43
+ export default _default;
@@ -0,0 +1,134 @@
1
+ "use client";
2
+ import { jsxs as y, jsx as m } from "react/jsx-runtime";
3
+ import { memo as X, useId as G, useRef as x, useEffect as H, useState as D } from "react";
4
+ import { XLg as J } from "react-bootstrap-icons";
5
+ import { cx as E } from "../../helpers/class-name.helper.js";
6
+ import { named as M } from "../../helpers/component.helper.js";
7
+ import { resolveFormatter as L } from "../../helpers/label.helper.js";
8
+ import Q from "../../hooks/useAnnounce.js";
9
+ import { useUi as W } from "../../theme/context.js";
10
+ const n = {"tagInput":"ui-tagInput-QraZR","tagInput__field":"ui-tagInput__field-HeWrC","tagInput--invalid":"ui-tagInput--invalid-NQogL","tagInput--disabled":"ui-tagInput--disabled--AJFF","tagInput--readOnly":"ui-tagInput--readOnly-dek3-","tagInput__tag":"ui-tagInput__tag-D-ZWB","tagInput__tag--duplicate":"ui-tagInput__tag--duplicate-3-FMF","tagInput__remove":"ui-tagInput__remove-bpjGG"};
11
+ const Y = (d) => `${d} zaten ekli`, Z = ({
12
+ value: d,
13
+ values: b,
14
+ onChange: f,
15
+ label: A,
16
+ placeholder: N,
17
+ removeLabel: B,
18
+ separators: C = ["Enter", ","],
19
+ maxTags: g,
20
+ duplicateLabel: F,
21
+ isDisabled: s,
22
+ isReadOnly: o,
23
+ id: U,
24
+ required: $,
25
+ className: j,
26
+ testId: K,
27
+ "aria-describedby": P,
28
+ "aria-invalid": I
29
+ }) => {
30
+ const a = d ?? b ?? [], q = G(), z = U ?? q, v = x(null), i = x(0);
31
+ H(
32
+ () => () => {
33
+ i.current && window.clearTimeout(i.current);
34
+ },
35
+ []
36
+ );
37
+ const { labels: r } = W(), p = Q(), [u, l] = D(""), [S, _] = D(null), T = g !== void 0 && a.length >= g, h = (t) => {
38
+ var c, k;
39
+ const e = t.trim();
40
+ if (!(e === "" || o)) {
41
+ if (a.includes(e)) {
42
+ _(e), i.current && window.clearTimeout(i.current), i.current = window.setTimeout(() => _(null), 1e3), p(
43
+ (F ?? ((c = r == null ? void 0 : r.tagInput) == null ? void 0 : c.duplicate) ?? Y)(e),
44
+ "assertive"
45
+ ), l("");
46
+ return;
47
+ }
48
+ T || (f([...a, e]), l(""), p(L("TagInput.added", (k = r == null ? void 0 : r.tagInput) == null ? void 0 : k.added, e)));
49
+ }
50
+ }, w = (t) => {
51
+ var e;
52
+ f(a.filter((c) => c !== t)), p(L("TagInput.removed", (e = r == null ? void 0 : r.tagInput) == null ? void 0 : e.removed, t));
53
+ }, V = (t) => {
54
+ if (!o) {
55
+ if (C.includes(t.key)) {
56
+ t.preventDefault(), h(u);
57
+ return;
58
+ }
59
+ if (t.key === "Backspace" && u === "") {
60
+ const e = a.at(-1);
61
+ e !== void 0 && w(e);
62
+ }
63
+ }
64
+ };
65
+ return /* @__PURE__ */ y(
66
+ "div",
67
+ {
68
+ className: E(
69
+ n.tagInput,
70
+ s && n["tagInput--disabled"],
71
+ I && n["tagInput--invalid"],
72
+ o && n["tagInput--readOnly"],
73
+ j
74
+ ),
75
+ "data-testid": K,
76
+ onClick: () => {
77
+ var t;
78
+ return (t = v.current) == null ? void 0 : t.focus();
79
+ },
80
+ children: [
81
+ a.map((t) => /* @__PURE__ */ y(
82
+ "span",
83
+ {
84
+ className: E(
85
+ n.tagInput__tag,
86
+ S === t && n["tagInput__tag--duplicate"]
87
+ ),
88
+ children: [
89
+ t,
90
+ !o && /* @__PURE__ */ m(
91
+ "button",
92
+ {
93
+ type: "button",
94
+ className: n.tagInput__remove,
95
+ "aria-label": `${t} — ${B}`,
96
+ disabled: s,
97
+ onClick: (e) => {
98
+ e.stopPropagation(), w(t);
99
+ },
100
+ children: /* @__PURE__ */ m(J, { "aria-hidden": !0 })
101
+ }
102
+ )
103
+ ]
104
+ },
105
+ t
106
+ )),
107
+ /* @__PURE__ */ m(
108
+ "input",
109
+ {
110
+ ref: v,
111
+ id: z,
112
+ type: "text",
113
+ className: n.tagInput__field,
114
+ value: u,
115
+ placeholder: a.length === 0 && !o ? N : void 0,
116
+ "aria-label": A,
117
+ "aria-describedby": P,
118
+ "aria-invalid": I,
119
+ "aria-required": $ || void 0,
120
+ disabled: s || T,
121
+ readOnly: o,
122
+ onChange: (t) => l(t.target.value),
123
+ onKeyDown: V,
124
+ onBlur: () => h(u)
125
+ }
126
+ )
127
+ ]
128
+ }
129
+ );
130
+ }, ut = /* @__PURE__ */ X(/* @__PURE__ */ M(Z, "TagInput"));
131
+ export {
132
+ ut as default
133
+ };
134
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/TagInput/index.tsx"],"sourcesContent":["'use client';\n\nimport { type KeyboardEvent, memo, useEffect, useId, useRef, useState } from 'react';\n\nimport { XLg } from 'react-bootstrap-icons';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport { named } from '../../helpers/component.helper';\nimport { resolveFormatter } from '../../helpers/label.helper';\nimport type { Formatter } from '../../types/theme.type';\nimport useAnnounce from '../../hooks/useAnnounce';\n\nimport { useUi } from '../../theme/context';\n\nimport styles from './index.module.scss';\n\n/** What a tag already in the list announces (2.2); the 2.0 text when nothing is given. */\nconst DEFAULT_DUPLICATE_LABEL: Formatter<[value: string]> = value => `${value} zaten ekli`;\n\ntype Props = {\n /** The tags (2.2), the name every other field uses. Wins over `values` when both are given. */\n value?: string[];\n /**\n * @deprecated 2.2: use `value`, the name every other field uses. Removed in 3.0.\n */\n values?: string[];\n onChange: (values: string[]) => void;\n /** Alanın erişilebilir adı. */\n label: string;\n placeholder?: string;\n /** Her etiketin kaldırma düğmesinin ad öneki (\"Kaldır\"). */\n removeLabel: string;\n /** Etiketi bitiren tuşlar. */\n separators?: string[];\n /** En fazla kaç etiket. */\n maxTags?: number;\n /**\n * What a screen reader hears when the typed tag is already in the list (2.2). Falls back to\n * `labels.tagInput.duplicate` of `UiProvider`, then to the Turkish text of 2.0\n * (`\"<value> zaten ekli\"`) so that an update stays silent; 3.0 drops that fallback and asks for\n * the label like every other text.\n */\n duplicateLabel?: Formatter<[value: string]>;\n isDisabled?: boolean;\n /**\n * Read-only (2.2): the tags are shown and the box stays focusable (native `readOnly`), but\n * nothing can be typed or removed; the remove buttons are not drawn.\n */\n isReadOnly?: boolean;\n id?: string;\n /** Zorunluluk — `Field`in `FieldChildProps` sözleşmesi. */\n required?: boolean;\n 'aria-describedby'?: string;\n 'aria-invalid'?: boolean;\n className?: string;\n testId?: string;\n};\n\n/** Etiket girdisi — yazılan metni kaldırılabilir çiplere çevirir. */\nconst TagInput = ({\n value: tags,\n values: legacyTags,\n onChange,\n label,\n placeholder,\n removeLabel,\n separators = ['Enter', ','],\n maxTags,\n duplicateLabel,\n isDisabled,\n isReadOnly,\n id,\n required,\n className,\n testId,\n 'aria-describedby': describedBy,\n 'aria-invalid': isInvalid,\n}: Props) => {\n const values = tags ?? legacyTags ?? [];\n const generatedId = useId();\n const inputId = id ?? generatedId;\n const inputRef = useRef<HTMLInputElement>(null);\n\n /* ⚠ Yinelenen etiket uyarısının zamanlayıcısı REF'te tutulur ve unmount'ta temizlenir. */\n const duplicateTimerRef = useRef(0);\n\n useEffect(\n () => () => {\n if (duplicateTimerRef.current) window.clearTimeout(duplicateTimerRef.current);\n },\n [],\n );\n const { labels } = useUi();\n const announce = useAnnounce();\n\n const [draft, setDraft] = useState('');\n /* Yinelenen deger: var olan cip bir kare vurgulanir. */\n const [duplicate, setDuplicate] = useState<string | null>(null);\n\n const isFull = maxTags !== undefined && values.length >= maxTags;\n\n const commit = (raw: string) => {\n const value = raw.trim();\n if (value === '' || isReadOnly) return;\n\n if (values.includes(value)) {\n /* Sessizce yutmak yerine GOSTER: kullanici \"yazdim, kayboldu\" diyordu. */\n setDuplicate(value);\n if (duplicateTimerRef.current) window.clearTimeout(duplicateTimerRef.current);\n duplicateTimerRef.current = window.setTimeout(() => setDuplicate(null), 1_000);\n announce(\n (duplicateLabel ?? labels?.tagInput?.duplicate ?? DEFAULT_DUPLICATE_LABEL)(value),\n 'assertive',\n );\n setDraft('');\n return;\n }\n\n if (isFull) return;\n\n onChange([...values, value]);\n setDraft('');\n announce(resolveFormatter('TagInput.added', labels?.tagInput?.added, value));\n };\n\n const remove = (value: string) => {\n onChange(values.filter(item => item !== value));\n announce(resolveFormatter('TagInput.removed', labels?.tagInput?.removed, value));\n };\n\n const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {\n if (isReadOnly) return;\n\n if (separators.includes(event.key)) {\n event.preventDefault();\n commit(draft);\n return;\n }\n\n /* BOS girdide Backspace SON etiketi kaldirir — metin varken kaldirmaz. */\n if (event.key === 'Backspace' && draft === '') {\n const lastValue = values.at(-1);\n if (lastValue !== undefined) remove(lastValue);\n }\n };\n\n return (\n <div\n className={cx(\n styles.tagInput,\n isDisabled && styles['tagInput--disabled'],\n isInvalid && styles['tagInput--invalid'],\n isReadOnly && styles['tagInput--readOnly'],\n className,\n )}\n data-testid={testId}\n /*\n * Kutunun herhangi bir yerine tiklamak girdiyi odaklar: cipler arasindaki bosluga tiklayan\n * kullanici hicbir sey olmadigini saniyordu.\n */\n onClick={() => inputRef.current?.focus()}\n >\n {values.map(value => (\n <span\n key={value}\n className={cx(\n styles.tagInput__tag,\n duplicate === value && styles['tagInput__tag--duplicate'],\n )}\n >\n {value}\n\n {!isReadOnly && (\n <button\n type=\"button\"\n className={styles.tagInput__remove}\n /*\n * Ad degeri ICERIR: on bes cipin hepsi \"Kaldir\" diye okundugunda hangisi oldugu belli\n * olmuyordu.\n */\n aria-label={`${value} — ${removeLabel}`}\n disabled={isDisabled}\n onClick={event => {\n event.stopPropagation();\n remove(value);\n }}\n >\n <XLg aria-hidden />\n </button>\n )}\n </span>\n ))}\n\n <input\n ref={inputRef}\n id={inputId}\n type=\"text\"\n className={styles.tagInput__field}\n value={draft}\n placeholder={values.length === 0 && !isReadOnly ? placeholder : undefined}\n aria-label={label}\n aria-describedby={describedBy}\n aria-invalid={isInvalid}\n /*\n * ⚠ Yerel `required` YAZILMAZ: alanin degeri etiket listesidir, girdi kutusu ise commit'ten\n * sonra BOSALIR.\n */\n aria-required={required || undefined}\n disabled={isDisabled || isFull}\n readOnly={isReadOnly}\n onChange={event => setDraft(event.target.value)}\n onKeyDown={handleKeyDown}\n /*\n * Alan terk edildiginde yazilan metin ETIKETE DONER: yarim kalmis bir metin kayboluyor ve\n * kullanici bunu ancak gonderdikten sonra fark ediyordu.\n */\n onBlur={() => commit(draft)}\n />\n </div>\n );\n};\n\nexport default /*#__PURE__*/ memo(/*#__PURE__*/ named(TagInput, 'TagInput')) as typeof TagInput;\n"],"names":["DEFAULT_DUPLICATE_LABEL","value","TagInput","tags","legacyTags","onChange","label","placeholder","removeLabel","separators","maxTags","duplicateLabel","isDisabled","isReadOnly","id","required","className","testId","describedBy","isInvalid","values","generatedId","useId","inputId","inputRef","useRef","duplicateTimerRef","useEffect","labels","useUi","announce","useAnnounce","draft","setDraft","useState","duplicate","setDuplicate","isFull","commit","raw","_a","resolveFormatter","_b","remove","item","handleKeyDown","event","lastValue","jsxs","cx","styles","jsx","XLg","index","memo","named"],"mappings":";;;;;;;;;;AAgBA,MAAMA,IAAsD,CAAAC,MAAS,GAAGA,CAAK,eA0CvEC,IAAW,CAAC;AAAA,EAChB,OAAOC;AAAA,EACP,QAAQC;AAAA,EACR,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,YAAAC,IAAa,CAAC,SAAS,GAAG;AAAA,EAC1B,SAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,IAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,QAAAC;AAAA,EACA,oBAAoBC;AAAA,EACpB,gBAAgBC;AAClB,MAAa;AACX,QAAMC,IAASjB,KAAQC,KAAc,CAAA,GAC/BiB,IAAcC,EAAA,GACdC,IAAUT,KAAMO,GAChBG,IAAWC,EAAyB,IAAI,GAGxCC,IAAoBD,EAAO,CAAC;AAElC,EAAAE;AAAA,IACE,MAAM,MAAM;AACV,MAAID,EAAkB,WAAS,OAAO,aAAaA,EAAkB,OAAO;AAAA,IAC9E;AAAA,IACA,CAAA;AAAA,EAAC;AAEH,QAAM,EAAE,QAAAE,EAAA,IAAWC,EAAA,GACbC,IAAWC,EAAA,GAEX,CAACC,GAAOC,CAAQ,IAAIC,EAAS,EAAE,GAE/B,CAACC,GAAWC,CAAY,IAAIF,EAAwB,IAAI,GAExDG,IAAS3B,MAAY,UAAaU,EAAO,UAAUV,GAEnD4B,IAAS,CAACC,MAAgB;;AAC9B,UAAMtC,IAAQsC,EAAI,KAAA;AAClB,QAAI,EAAAtC,MAAU,MAAMY,IAEpB;AAAA,UAAIO,EAAO,SAASnB,CAAK,GAAG;AAE1B,QAAAmC,EAAanC,CAAK,GACdyB,EAAkB,WAAS,OAAO,aAAaA,EAAkB,OAAO,GAC5EA,EAAkB,UAAU,OAAO,WAAW,MAAMU,EAAa,IAAI,GAAG,GAAK,GAC7EN;AAAA,WACGnB,OAAkB6B,IAAAZ,KAAA,gBAAAA,EAAQ,aAAR,gBAAAY,EAAkB,cAAaxC,GAAyBC,CAAK;AAAA,UAChF;AAAA,QAAA,GAEFgC,EAAS,EAAE;AACX;AAAA,MACF;AAEA,MAAII,MAEJhC,EAAS,CAAC,GAAGe,GAAQnB,CAAK,CAAC,GAC3BgC,EAAS,EAAE,GACXH,EAASW,EAAiB,mBAAkBC,IAAAd,KAAA,gBAAAA,EAAQ,aAAR,gBAAAc,EAAkB,OAAOzC,CAAK,CAAC;AAAA;AAAA,EAC7E,GAEM0C,IAAS,CAAC1C,MAAkB;;AAChC,IAAAI,EAASe,EAAO,OAAO,CAAAwB,MAAQA,MAAS3C,CAAK,CAAC,GAC9C6B,EAASW,EAAiB,qBAAoBD,IAAAZ,KAAA,gBAAAA,EAAQ,aAAR,gBAAAY,EAAkB,SAASvC,CAAK,CAAC;AAAA,EACjF,GAEM4C,IAAgB,CAACC,MAA2C;AAChE,QAAI,CAAAjC,GAEJ;AAAA,UAAIJ,EAAW,SAASqC,EAAM,GAAG,GAAG;AAClC,QAAAA,EAAM,eAAA,GACNR,EAAON,CAAK;AACZ;AAAA,MACF;AAGA,UAAIc,EAAM,QAAQ,eAAed,MAAU,IAAI;AAC7C,cAAMe,IAAY3B,EAAO,GAAG,EAAE;AAC9B,QAAI2B,MAAc,UAAWJ,EAAOI,CAAS;AAAA,MAC/C;AAAA;AAAA,EACF;AAEA,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACTC,EAAO;AAAA,QACPtC,KAAcsC,EAAO,oBAAoB;AAAA,QACzC/B,KAAa+B,EAAO,mBAAmB;AAAA,QACvCrC,KAAcqC,EAAO,oBAAoB;AAAA,QACzClC;AAAA,MAAA;AAAA,MAEF,eAAaC;AAAA,MAKb,SAAS,MAAA;;AAAM,gBAAAuB,IAAAhB,EAAS,YAAT,gBAAAgB,EAAkB;AAAA;AAAA,MAEhC,UAAA;AAAA,QAAApB,EAAO,IAAI,CAAAnB,MACV,gBAAA+C;AAAA,UAAC;AAAA,UAAA;AAAA,YAEC,WAAWC;AAAA,cACTC,EAAO;AAAA,cACPf,MAAclC,KAASiD,EAAO,0BAA0B;AAAA,YAAA;AAAA,YAGzD,UAAA;AAAA,cAAAjD;AAAA,cAEA,CAACY,KACA,gBAAAsC;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC,MAAK;AAAA,kBACL,WAAWD,EAAO;AAAA,kBAKlB,cAAY,GAAGjD,CAAK,MAAMO,CAAW;AAAA,kBACrC,UAAUI;AAAA,kBACV,SAAS,CAAAkC,MAAS;AAChB,oBAAAA,EAAM,gBAAA,GACNH,EAAO1C,CAAK;AAAA,kBACd;AAAA,kBAEA,UAAA,gBAAAkD,EAACC,GAAA,EAAI,eAAW,GAAA,CAAC;AAAA,gBAAA;AAAA,cAAA;AAAA,YACnB;AAAA,UAAA;AAAA,UAxBGnD;AAAA,QAAA,CA2BR;AAAA,QAED,gBAAAkD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,KAAK3B;AAAA,YACL,IAAID;AAAA,YACJ,MAAK;AAAA,YACL,WAAW2B,EAAO;AAAA,YAClB,OAAOlB;AAAA,YACP,aAAaZ,EAAO,WAAW,KAAK,CAACP,IAAaN,IAAc;AAAA,YAChE,cAAYD;AAAA,YACZ,oBAAkBY;AAAA,YAClB,gBAAcC;AAAA,YAKd,iBAAeJ,KAAY;AAAA,YAC3B,UAAUH,KAAcyB;AAAA,YACxB,UAAUxB;AAAA,YACV,UAAU,CAAAiC,MAASb,EAASa,EAAM,OAAO,KAAK;AAAA,YAC9C,WAAWD;AAAA,YAKX,QAAQ,MAAMP,EAAON,CAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MAC5B;AAAA,IAAA;AAAA,EAAA;AAGN,GAEAqB,KAA6B,gBAAAC,EAAmB,gBAAAC,EAAMrD,GAAU,UAAU,CAAC;"}
@@ -0,0 +1 @@
1
+ @layer ui{.ui-tagInput-QraZR{width:100%;font-family:var(--hd-font-body);font-size:var(--hd-type-body-size);line-height:var(--hd-type-h4-line-height);color:var(--hd-text);background-color:var(--hd-bg-surface);border:1px solid var(--hd-border-control);border-radius:var(--hd-radius-sm);padding:var(--hd-space-2) var(--hd-space-3);min-height:40px}@media (max-width: 640px){.ui-tagInput-QraZR{min-height:44px;font-size:max(16px,var(--hd-type-body-size))}}@media (hover: none) and (pointer: coarse){.ui-tagInput-QraZR{min-height:44px;font-size:max(16px,var(--hd-type-body-size))}}.ui-tagInput-QraZR{transition:border-color var(--hd-duration-fast) var(--hd-ease-standard),box-shadow var(--hd-duration-fast) var(--hd-ease-standard)}.ui-tagInput-QraZR::placeholder{color:var(--ui-placeholder, var(--hd-text-3))}.ui-tagInput-QraZR:hover:not(:disabled):not([aria-invalid=true]){border-color:color-mix(in oklab,var(--hd-border-control),var(--hd-text) 40%)}.ui-tagInput-QraZR:focus{outline:none;border-color:var(--hd-focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--hd-focus) 32%,transparent)}.ui-tagInput-QraZR:disabled{background-color:var(--hd-bg-raised);border-color:var(--hd-border);cursor:not-allowed;color:var(--hd-text-3)}@media (forced-colors: active){.ui-tagInput-QraZR:disabled{color:GrayText;border-color:GrayText}}.ui-tagInput-QraZR[aria-invalid=true]{border-color:var(--hd-danger-solid)}.ui-tagInput-QraZR[aria-invalid=true]:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--hd-danger-solid) 28%,transparent)}@media (prefers-reduced-motion: reduce){.ui-tagInput-QraZR{transition:none}}.ui-tagInput-QraZR{display:flex;flex-wrap:wrap;align-items:center;gap:var(--hd-space-1);padding:var(--hd-space-1) var(--hd-space-2);cursor:text}.ui-tagInput-QraZR:has(.ui-tagInput__field-HeWrC:focus-visible){border-color:var(--hd-focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--hd-focus) 32%,transparent)}.ui-tagInput--invalid-NQogL{border-color:var(--hd-danger-solid)}.ui-tagInput--disabled--AJFF{background-color:var(--hd-bg-raised);cursor:not-allowed}.ui-tagInput--readOnly-dek3-{cursor:default}.ui-tagInput--readOnly-dek3- .ui-tagInput__tag-D-ZWB{padding-inline-end:var(--hd-space-2)}.ui-tagInput__tag-D-ZWB{display:flex;align-items:center;gap:var(--hd-space-1);flex-shrink:0;padding:2px var(--hd-space-1) 2px var(--hd-space-2);border-radius:var(--hd-radius-xs);background-color:var(--hd-bg-raised);border:1px solid var(--hd-border);font-size:var(--hd-type-caption-size);color:var(--hd-text);transition:background-color var(--hd-duration-fast) var(--hd-ease-standard),border-color var(--hd-duration-fast) var(--hd-ease-standard)}.ui-tagInput__tag--duplicate-3-FMF{background-color:var(--hd-warning-bg);border-color:var(--hd-warning-line)}@media (prefers-reduced-motion: reduce){.ui-tagInput__tag-D-ZWB{transition:none}}.ui-tagInput__remove-bpjGG{position:relative}.ui-tagInput__remove-bpjGG:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:max(100%,28px);height:max(100%,28px)}.ui-tagInput__remove-bpjGG{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;border-radius:var(--hd-radius-xs);background:none;cursor:pointer;color:var(--hd-text-2);font-size:var(--hd-type-caption-size)}.ui-tagInput__remove-bpjGG:hover:not(:disabled){background-color:var(--hd-bg-inset);color:var(--hd-text)}.ui-tagInput__remove-bpjGG:disabled{cursor:not-allowed}.ui-tagInput__remove-bpjGG:focus-visible{outline:var(--ui-ring-width, 2px) solid var(--hd-focus);outline-offset:var(--ui-ring-offset, 1px)}.ui-tagInput__field-HeWrC{flex:1;min-width:100px;border:none;background:none;padding:var(--hd-space-1) 0;font-family:var(--hd-font-body);font-size:var(--hd-type-small-size);color:var(--hd-text)}@media (hover: none) and (pointer: coarse){.ui-tagInput__field-HeWrC{font-size:max(16px,var(--hd-type-body-size))}}.ui-tagInput__field-HeWrC::placeholder{color:var(--hd-text-3)}.ui-tagInput__field-HeWrC:focus{outline:none}.ui-tagInput__field-HeWrC:disabled{cursor:not-allowed}}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),c=require("react"),d=require("react-bootstrap-icons"),m=require("../../helpers/class-name.helper.cjs"),x=require("../Link/index.cjs"),e={default:{"link":"ui-link-WBmXY","link__label":"ui-link__label--OEu-","link__arrow":"ui-link__arrow-JKXm-","link--sm":"ui-link--sm-a-3Dz","link--md":"ui-link--md-lZdYP","link--brand":"ui-link--brand-vr8sW","link--muted":"ui-link--muted-EeN6l"}},f=({href:r,children:s,hasArrow:a,tone:l="brand",size:n="md",className:i,linkProps:u,...o})=>t.jsxs(x.default,{href:r,className:m.cx(e.default.link,e.default[`link--${l}`],e.default[`link--${n}`],i),...u,...o,children:[t.jsx("span",{className:e.default.link__label,children:s}),a&&t.jsx(d.ArrowRight,{"aria-hidden":!0,className:e.default.link__arrow})]}),_=c.memo(f);exports.default=_;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/TextLink/index.tsx"],"sourcesContent":["import { type AnchorHTMLAttributes, memo, type ReactNode } from 'react';\n\nimport { ArrowRight } from 'react-bootstrap-icons';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport type { UiLinkExtraProps } from '../../types/link.type';\nimport UiLink from '../Link';\n\nimport styles from './index.module.scss';\n\ntype Props = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> & {\n href: string;\n children: ReactNode;\n /** Sonda ok gösterilir — \"devam et\" anlamı taşıyan bağlantılarda. */\n hasArrow?: boolean;\n tone?: 'brand' | 'muted';\n size?: 'sm' | 'md';\n /** Yönlendiriciye geçirilecek ek props. */\n linkProps?: UiLinkExtraProps;\n};\n\n/** Metin bağlantısı. */\nconst TextLink = ({\n href,\n children,\n hasArrow,\n tone = 'brand',\n size = 'md',\n className,\n linkProps,\n ...rest\n}: Props) => (\n <UiLink\n href={href}\n className={cx(styles.link, styles[`link--${tone}`], styles[`link--${size}`], className)}\n {...linkProps}\n {...rest}\n >\n <span className={styles.link__label}>{children}</span>\n {/*\n * Ok DOLU DEĞİL: Bootstrap Icons'ta uzun okun dolu bir eşi yok ve dolu\n * caret bir \"devam\" oku değil, bir açılır menü işareti okunuyor.\n */}\n {hasArrow && <ArrowRight aria-hidden className={styles.link__arrow} />}\n </UiLink>\n);\n\nexport default /*#__PURE__*/ memo(TextLink) as typeof TextLink;\n"],"names":["TextLink","href","children","hasArrow","tone","size","className","linkProps","rest","jsxs","UiLink","cx","styles","jsx","ArrowRight","index"],"mappings":"4TAsBMA,EAAW,CAAC,CAChB,KAAAC,EACA,SAAAC,EACA,SAAAC,EACA,KAAAC,EAAO,QACP,KAAAC,EAAO,KACP,UAAAC,EACA,UAAAC,EACA,GAAGC,CACL,IACEC,EAAAA,KAACC,EAAAA,QAAA,CACC,KAAAT,EACA,UAAWU,EAAAA,GAAGC,EAAAA,QAAO,KAAMA,EAAAA,QAAO,SAASR,CAAI,EAAE,EAAGQ,EAAAA,QAAO,SAASP,CAAI,EAAE,EAAGC,CAAS,EACrF,GAAGC,EACH,GAAGC,EAEJ,SAAA,CAAAK,EAAAA,IAAC,OAAA,CAAK,UAAWD,EAAAA,QAAO,YAAc,SAAAV,EAAS,EAK9CC,GAAYU,EAAAA,IAACC,EAAAA,WAAA,CAAW,cAAW,GAAC,UAAWF,EAAAA,QAAO,WAAA,CAAa,CAAA,CAAA,CACtE,EAGFG,SAAkCf,CAAQ"}
@@ -0,0 +1,16 @@
1
+ import { AnchorHTMLAttributes, ReactNode } from 'react';
2
+ import { UiLinkExtraProps } from '../../types/link.type.cjs';
3
+ type Props = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> & {
4
+ href: string;
5
+ children: ReactNode;
6
+ /** Sonda ok gösterilir — "devam et" anlamı taşıyan bağlantılarda. */
7
+ hasArrow?: boolean;
8
+ tone?: 'brand' | 'muted';
9
+ size?: 'sm' | 'md';
10
+ /** Yönlendiriciye geçirilecek ek props. */
11
+ linkProps?: UiLinkExtraProps;
12
+ };
13
+ /** Metin bağlantısı. */
14
+ declare const TextLink: ({ href, children, hasArrow, tone, size, className, linkProps, ...rest }: Props) => import("react").JSX.Element;
15
+ declare const _default: typeof TextLink;
16
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { AnchorHTMLAttributes, ReactNode } from 'react';
2
+ import { UiLinkExtraProps } from '../../types/link.type.js';
3
+ type Props = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> & {
4
+ href: string;
5
+ children: ReactNode;
6
+ /** Sonda ok gösterilir — "devam et" anlamı taşıyan bağlantılarda. */
7
+ hasArrow?: boolean;
8
+ tone?: 'brand' | 'muted';
9
+ size?: 'sm' | 'md';
10
+ /** Yönlendiriciye geçirilecek ek props. */
11
+ linkProps?: UiLinkExtraProps;
12
+ };
13
+ /** Metin bağlantısı. */
14
+ declare const TextLink: ({ href, children, hasArrow, tone, size, className, linkProps, ...rest }: Props) => import("react").JSX.Element;
15
+ declare const _default: typeof TextLink;
16
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
+ import { memo as c } from "react";
3
+ import { ArrowRight as d } from "react-bootstrap-icons";
4
+ import { cx as f } from "../../helpers/class-name.helper.js";
5
+ import k from "../Link/index.js";
6
+ const r = {"link":"ui-link-WBmXY","link__label":"ui-link__label--OEu-","link__arrow":"ui-link__arrow-JKXm-","link--sm":"ui-link--sm-a-3Dz","link--md":"ui-link--md-lZdYP","link--brand":"ui-link--brand-vr8sW","link--muted":"ui-link--muted-EeN6l"};
7
+ const x = ({
8
+ href: m,
9
+ children: o,
10
+ hasArrow: s,
11
+ tone: a = "brand",
12
+ size: n = "md",
13
+ className: t,
14
+ linkProps: e,
15
+ ...l
16
+ }) => /* @__PURE__ */ p(
17
+ k,
18
+ {
19
+ href: m,
20
+ className: f(r.link, r[`link--${a}`], r[`link--${n}`], t),
21
+ ...e,
22
+ ...l,
23
+ children: [
24
+ /* @__PURE__ */ i("span", { className: r.link__label, children: o }),
25
+ s && /* @__PURE__ */ i(d, { "aria-hidden": !0, className: r.link__arrow })
26
+ ]
27
+ }
28
+ ), w = /* @__PURE__ */ c(x);
29
+ export {
30
+ w as default
31
+ };
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/TextLink/index.tsx"],"sourcesContent":["import { type AnchorHTMLAttributes, memo, type ReactNode } from 'react';\n\nimport { ArrowRight } from 'react-bootstrap-icons';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport type { UiLinkExtraProps } from '../../types/link.type';\nimport UiLink from '../Link';\n\nimport styles from './index.module.scss';\n\ntype Props = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> & {\n href: string;\n children: ReactNode;\n /** Sonda ok gösterilir — \"devam et\" anlamı taşıyan bağlantılarda. */\n hasArrow?: boolean;\n tone?: 'brand' | 'muted';\n size?: 'sm' | 'md';\n /** Yönlendiriciye geçirilecek ek props. */\n linkProps?: UiLinkExtraProps;\n};\n\n/** Metin bağlantısı. */\nconst TextLink = ({\n href,\n children,\n hasArrow,\n tone = 'brand',\n size = 'md',\n className,\n linkProps,\n ...rest\n}: Props) => (\n <UiLink\n href={href}\n className={cx(styles.link, styles[`link--${tone}`], styles[`link--${size}`], className)}\n {...linkProps}\n {...rest}\n >\n <span className={styles.link__label}>{children}</span>\n {/*\n * Ok DOLU DEĞİL: Bootstrap Icons'ta uzun okun dolu bir eşi yok ve dolu\n * caret bir \"devam\" oku değil, bir açılır menü işareti okunuyor.\n */}\n {hasArrow && <ArrowRight aria-hidden className={styles.link__arrow} />}\n </UiLink>\n);\n\nexport default /*#__PURE__*/ memo(TextLink) as typeof TextLink;\n"],"names":["TextLink","href","children","hasArrow","tone","size","className","linkProps","rest","jsxs","UiLink","cx","styles","jsx","ArrowRight","index"],"mappings":";;;;;;AAsBA,MAAMA,IAAW,CAAC;AAAA,EAChB,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,MAAAC,IAAO;AAAA,EACP,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,MACE,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,MAAAT;AAAA,IACA,WAAWU,EAAGC,EAAO,MAAMA,EAAO,SAASR,CAAI,EAAE,GAAGQ,EAAO,SAASP,CAAI,EAAE,GAAGC,CAAS;AAAA,IACrF,GAAGC;AAAA,IACH,GAAGC;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAK,EAAC,QAAA,EAAK,WAAWD,EAAO,aAAc,UAAAV,GAAS;AAAA,MAK9CC,KAAY,gBAAAU,EAACC,GAAA,EAAW,eAAW,IAAC,WAAWF,EAAO,YAAA,CAAa;AAAA,IAAA;AAAA,EAAA;AACtE,GAGFG,sBAAkCf,CAAQ;"}
@@ -0,0 +1 @@
1
+ @layer ui{.ui-link-WBmXY{display:inline-flex;align-items:center;gap:var(--hd-space-2);font-weight:var(--hd-font-weight-medium);text-decoration:none;border-radius:var(--hd-radius-xs);transition:color var(--hd-duration-fast) var(--hd-ease-standard)}.ui-link-WBmXY:focus-visible{outline:var(--ui-ring-width, 2px) solid var(--hd-focus);outline-offset:var(--ui-ring-offset, 3px)}@media (prefers-reduced-motion: reduce){.ui-link-WBmXY{transition:none}}.ui-link__label--OEu-{text-underline-offset:3px}[dir=rtl] .ui-link__arrow-JKXm-{transform:scaleX(-1)}.ui-link__arrow-JKXm-{font-size:1em;flex-shrink:0;transition:transform var(--hd-duration-fast) var(--hd-ease-standard)}@media (prefers-reduced-motion: reduce){.ui-link__arrow-JKXm-{transition:none}}.ui-link-WBmXY:hover .ui-link__label--OEu-{text-decoration:underline}.ui-link-WBmXY:hover .ui-link__arrow-JKXm-{transform:translate(3px)}[dir=rtl] .ui-link-WBmXY:hover .ui-link__arrow-JKXm-{transform:scaleX(-1) translate(3px)}.ui-link--sm-a-3Dz{font-size:var(--hd-type-caption-size)}.ui-link--md-lZdYP{font-size:var(--hd-type-small-size)}.ui-link--brand-vr8sW,.ui-link--brand-vr8sW:hover{color:var(--hd-primary-text)}.ui-link--muted-EeN6l{color:var(--hd-text-2)}.ui-link--muted-EeN6l:hover{color:var(--hd-text)}}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("react/jsx-runtime"),r=require("react"),o=require("../../helpers/class-name.helper.cjs"),_=require("../../helpers/component.helper.cjs"),t={default:{"textarea":"ui-textarea-zwJcB","wrapper":"ui-wrapper-O8aJA","textarea--bare":"ui-textarea--bare-IjCIn","textarea--autoSize":"ui-textarea--autoSize--F8yj","counter":"ui-counter-bHVh3","counter--near":"ui-counter--near-AZAQm"}},v=r.forwardRef(({className:x,variant:m="default",rows:p=4,isAutoSize:i,maxRows:d=12,hasCounter:y,maxLength:s,value:n,defaultValue:f,onChange:l,testId:b,...N},a)=>{const h=r.useRef(null),[j,q]=r.useState(String(f??"").length),c=n===void 0?j:String(n).length,H=r.useCallback(e=>{h.current=e,typeof a=="function"?a(e):a&&(a.current=e)},[a]);r.useLayoutEffect(()=>{const e=h.current;if(!i||!e)return;e.style.height="auto";const g=(Number.parseFloat(getComputedStyle(e).lineHeight)||20)*d;e.style.height=`${Math.min(e.scrollHeight,g)}px`,e.style.overflowY=e.scrollHeight>g?"auto":"hidden"},[i,d,n,c]);const S=s!==void 0&&c>=s*.9;return u.jsxs("div",{className:o.cx(t.default.wrapper,x),"data-testid":b,children:[u.jsx("textarea",{ref:H,rows:p,className:o.cx(t.default.textarea,m==="bare"&&t.default["textarea--bare"],i&&t.default["textarea--autoSize"]),maxLength:s,value:n,defaultValue:f,onChange:e=>{q(e.target.value.length),l==null||l(e)},...N}),y&&s!==void 0&&u.jsxs("span",{className:o.cx(t.default.counter,S&&t.default["counter--near"]),"aria-hidden":!0,children:[c," / ",s]})]})}),R=r.memo(_.named(v,"Textarea"));exports.default=R;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/Textarea/index.tsx"],"sourcesContent":["'use client';\n\nimport {\n forwardRef,\n memo,\n type TextareaHTMLAttributes,\n useCallback,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport { named } from '../../helpers/component.helper';\n\nimport styles from './index.module.scss';\n\n/**\n * `bare`: kenarlık, zemin, dolgu ve gölge YOK — çerçeveyi kapsayıcı çizer (sohbet girdisi).\n * ⚠ Odak göstergesi de kapsayıcının işi (`:focus-within`); `bare` alanı çerçevesiz bir kutuya\n * konursa odak görünmez olur.\n */\nexport type TextareaVariant = 'default' | 'bare';\n\ntype Props = TextareaHTMLAttributes<HTMLTextAreaElement> & {\n variant?: TextareaVariant;\n /** Alan içeriğiyle birlikte BÜYÜR — kaydırma çubuğu yerine yükseklik. */\n isAutoSize?: boolean;\n /** Otomatik büyümenin tavanı (satır). */\n maxRows?: number;\n /** Kalan karakter sayacını gösterir. `maxLength` ile birlikte anlamlı. */\n hasCounter?: boolean;\n testId?: string;\n};\n\n/** Çok satırlı metin girdisi. */\nconst Textarea = /*#__PURE__*/ forwardRef<HTMLTextAreaElement, Props>(\n (\n {\n className,\n variant = 'default',\n rows = 4,\n isAutoSize,\n maxRows = 12,\n hasCounter,\n maxLength,\n value,\n defaultValue,\n onChange,\n testId,\n ...rest\n },\n ref,\n ) => {\n const innerRef = useRef<HTMLTextAreaElement | null>(null);\n /* KONTROLLU kipte uzunluk `value`dan OKUNUR, ic durumdan degil. */\n const [innerLength, setLength] = useState(String(defaultValue ?? '').length);\n const length = value === undefined ? innerLength : String(value).length;\n\n /*\n * Cagiranin `ref`i ile ic olcum referansini birlikte tut: `useImperativeHandle` yalnizca bir\n * nesne dondurur ve DOM dugumunun kendisini gizlerdi.\n */\n const setRefs = useCallback(\n (node: HTMLTextAreaElement | null) => {\n innerRef.current = node;\n if (typeof ref === 'function') ref(node);\n else if (ref) ref.current = node;\n },\n [ref],\n );\n\n /*\n * OLCUM BOYAMADAN ONCE: `useEffect` ile alan bir kare boyunca eski yuksekligiyle cizilip sonra\n * ziplyordu.\n */\n useLayoutEffect(() => {\n const node = innerRef.current;\n if (!isAutoSize || !node) return;\n\n node.style.height = 'auto';\n\n const lineHeight = Number.parseFloat(getComputedStyle(node).lineHeight) || 20;\n const max = lineHeight * maxRows;\n\n node.style.height = `${Math.min(node.scrollHeight, max)}px`;\n node.style.overflowY = node.scrollHeight > max ? 'auto' : 'hidden';\n }, [isAutoSize, maxRows, value, length]);\n\n const isNearLimit = maxLength !== undefined && length >= maxLength * 0.9;\n\n return (\n <div className={cx(styles.wrapper, className)} data-testid={testId}>\n <textarea\n ref={setRefs}\n rows={rows}\n className={cx(\n styles.textarea,\n variant === 'bare' && styles['textarea--bare'],\n isAutoSize && styles['textarea--autoSize'],\n )}\n maxLength={maxLength}\n value={value}\n defaultValue={defaultValue}\n onChange={event => {\n setLength(event.target.value.length);\n onChange?.(event);\n }}\n {...rest}\n />\n\n {hasCounter && maxLength !== undefined && (\n /* `aria-hidden`: ayni bilgi her tusta duyurulsaydi yazma kesintiye ugrardi. */\n <span className={cx(styles.counter, isNearLimit && styles['counter--near'])} aria-hidden>\n {length} / {maxLength}\n </span>\n )}\n </div>\n );\n },\n);\n\nexport default /*#__PURE__*/ memo(/*#__PURE__*/ named(Textarea, 'Textarea')) as typeof Textarea;\n"],"names":["Textarea","forwardRef","className","variant","rows","isAutoSize","maxRows","hasCounter","maxLength","value","defaultValue","onChange","testId","rest","ref","innerRef","useRef","innerLength","setLength","useState","length","setRefs","useCallback","node","useLayoutEffect","max","isNearLimit","jsxs","cx","styles","jsx","event","memo","named"],"mappings":"uTAmCMA,EAAyBC,EAAAA,WAC7B,CACE,CACE,UAAAC,EACA,QAAAC,EAAU,UACV,KAAAC,EAAO,EACP,WAAAC,EACA,QAAAC,EAAU,GACV,WAAAC,EACA,UAAAC,EACA,MAAAC,EACA,aAAAC,EACA,SAAAC,EACA,OAAAC,EACA,GAAGC,CAAA,EAELC,IACG,CACH,MAAMC,EAAWC,EAAAA,OAAmC,IAAI,EAElD,CAACC,EAAaC,CAAS,EAAIC,EAAAA,SAAS,OAAOT,GAAgB,EAAE,EAAE,MAAM,EACrEU,EAASX,IAAU,OAAYQ,EAAc,OAAOR,CAAK,EAAE,OAM3DY,EAAUC,EAAAA,YACbC,GAAqC,CACpCR,EAAS,QAAUQ,EACf,OAAOT,GAAQ,WAAYA,EAAIS,CAAI,EAC9BT,MAAS,QAAUS,EAC9B,EACA,CAACT,CAAG,CAAA,EAONU,EAAAA,gBAAgB,IAAM,CACpB,MAAMD,EAAOR,EAAS,QACtB,GAAI,CAACV,GAAc,CAACkB,EAAM,OAE1BA,EAAK,MAAM,OAAS,OAGpB,MAAME,GADa,OAAO,WAAW,iBAAiBF,CAAI,EAAE,UAAU,GAAK,IAClDjB,EAEzBiB,EAAK,MAAM,OAAS,GAAG,KAAK,IAAIA,EAAK,aAAcE,CAAG,CAAC,KACvDF,EAAK,MAAM,UAAYA,EAAK,aAAeE,EAAM,OAAS,QAC5D,EAAG,CAACpB,EAAYC,EAASG,EAAOW,CAAM,CAAC,EAEvC,MAAMM,EAAclB,IAAc,QAAaY,GAAUZ,EAAY,GAErE,OACEmB,OAAC,OAAI,UAAWC,EAAAA,GAAGC,EAAAA,QAAO,QAAS3B,CAAS,EAAG,cAAaU,EAC1D,SAAA,CAAAkB,EAAAA,IAAC,WAAA,CACC,IAAKT,EACL,KAAAjB,EACA,UAAWwB,EAAAA,GACTC,EAAAA,QAAO,SACP1B,IAAY,QAAU0B,EAAAA,QAAO,gBAAgB,EAC7CxB,GAAcwB,EAAAA,QAAO,oBAAoB,CAAA,EAE3C,UAAArB,EACA,MAAAC,EACA,aAAAC,EACA,SAAUqB,GAAS,CACjBb,EAAUa,EAAM,OAAO,MAAM,MAAM,EACnCpB,GAAA,MAAAA,EAAWoB,EACb,EACC,GAAGlB,CAAA,CAAA,EAGLN,GAAcC,IAAc,QAE3BmB,EAAAA,KAAC,OAAA,CAAK,UAAWC,EAAAA,GAAGC,EAAAA,QAAO,QAASH,GAAeG,EAAAA,QAAO,eAAe,CAAC,EAAG,cAAW,GACrF,SAAA,CAAAT,EAAO,MAAIZ,CAAA,CAAA,CACd,CAAA,EAEJ,CAEJ,CACF,EAEAR,EAA6BgC,OAAmBC,EAAAA,MAAMjC,EAAU,UAAU,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { TextareaHTMLAttributes } from 'react';
2
+ /**
3
+ * `bare`: kenarlık, zemin, dolgu ve gölge YOK — çerçeveyi kapsayıcı çizer (sohbet girdisi).
4
+ * ⚠ Odak göstergesi de kapsayıcının işi (`:focus-within`); `bare` alanı çerçevesiz bir kutuya
5
+ * konursa odak görünmez olur.
6
+ */
7
+ export type TextareaVariant = 'default' | 'bare';
8
+ /** Çok satırlı metin girdisi. */
9
+ declare const Textarea: import('react').ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
10
+ variant?: TextareaVariant;
11
+ /** Alan içeriğiyle birlikte BÜYÜR — kaydırma çubuğu yerine yükseklik. */
12
+ isAutoSize?: boolean;
13
+ /** Otomatik büyümenin tavanı (satır). */
14
+ maxRows?: number;
15
+ /** Kalan karakter sayacını gösterir. `maxLength` ile birlikte anlamlı. */
16
+ hasCounter?: boolean;
17
+ testId?: string;
18
+ } & import('react').RefAttributes<HTMLTextAreaElement>>;
19
+ declare const _default: typeof Textarea;
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { TextareaHTMLAttributes } from 'react';
2
+ /**
3
+ * `bare`: kenarlık, zemin, dolgu ve gölge YOK — çerçeveyi kapsayıcı çizer (sohbet girdisi).
4
+ * ⚠ Odak göstergesi de kapsayıcının işi (`:focus-within`); `bare` alanı çerçevesiz bir kutuya
5
+ * konursa odak görünmez olur.
6
+ */
7
+ export type TextareaVariant = 'default' | 'bare';
8
+ /** Çok satırlı metin girdisi. */
9
+ declare const Textarea: import('react').ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
10
+ variant?: TextareaVariant;
11
+ /** Alan içeriğiyle birlikte BÜYÜR — kaydırma çubuğu yerine yükseklik. */
12
+ isAutoSize?: boolean;
13
+ /** Otomatik büyümenin tavanı (satır). */
14
+ maxRows?: number;
15
+ /** Kalan karakter sayacını gösterir. `maxLength` ile birlikte anlamlı. */
16
+ hasCounter?: boolean;
17
+ testId?: string;
18
+ } & import('react').RefAttributes<HTMLTextAreaElement>>;
19
+ declare const _default: typeof Textarea;
20
+ export default _default;
@@ -0,0 +1,68 @@
1
+ "use client";
2
+ import { jsxs as d, jsx as T } from "react/jsx-runtime";
3
+ import { memo as j, forwardRef as v, useRef as w, useState as $, useCallback as k, useLayoutEffect as E } from "react";
4
+ import { cx as c } from "../../helpers/class-name.helper.js";
5
+ import { named as F } from "../../helpers/component.helper.js";
6
+ const e = {"textarea":"ui-textarea-zwJcB","wrapper":"ui-wrapper-O8aJA","textarea--bare":"ui-textarea--bare-IjCIn","textarea--autoSize":"ui-textarea--autoSize--F8yj","counter":"ui-counter-bHVh3","counter--near":"ui-counter--near-AZAQm"};
7
+ const M = /* @__PURE__ */ v(
8
+ ({
9
+ className: h,
10
+ variant: p = "default",
11
+ rows: g = 4,
12
+ isAutoSize: i,
13
+ maxRows: l = 12,
14
+ hasCounter: x,
15
+ maxLength: r,
16
+ value: a,
17
+ defaultValue: u,
18
+ onChange: o,
19
+ testId: y,
20
+ ...H
21
+ }, s) => {
22
+ const f = w(null), [N, b] = $(String(u ?? "").length), n = a === void 0 ? N : String(a).length, R = k(
23
+ (t) => {
24
+ f.current = t, typeof s == "function" ? s(t) : s && (s.current = t);
25
+ },
26
+ [s]
27
+ );
28
+ E(() => {
29
+ const t = f.current;
30
+ if (!i || !t) return;
31
+ t.style.height = "auto";
32
+ const m = (Number.parseFloat(getComputedStyle(t).lineHeight) || 20) * l;
33
+ t.style.height = `${Math.min(t.scrollHeight, m)}px`, t.style.overflowY = t.scrollHeight > m ? "auto" : "hidden";
34
+ }, [i, l, a, n]);
35
+ const S = r !== void 0 && n >= r * 0.9;
36
+ return /* @__PURE__ */ d("div", { className: c(e.wrapper, h), "data-testid": y, children: [
37
+ /* @__PURE__ */ T(
38
+ "textarea",
39
+ {
40
+ ref: R,
41
+ rows: g,
42
+ className: c(
43
+ e.textarea,
44
+ p === "bare" && e["textarea--bare"],
45
+ i && e["textarea--autoSize"]
46
+ ),
47
+ maxLength: r,
48
+ value: a,
49
+ defaultValue: u,
50
+ onChange: (t) => {
51
+ b(t.target.value.length), o == null || o(t);
52
+ },
53
+ ...H
54
+ }
55
+ ),
56
+ x && r !== void 0 && /* `aria-hidden`: ayni bilgi her tusta duyurulsaydi yazma kesintiye ugrardi. */
57
+ /* @__PURE__ */ d("span", { className: c(e.counter, S && e["counter--near"]), "aria-hidden": !0, children: [
58
+ n,
59
+ " / ",
60
+ r
61
+ ] })
62
+ ] });
63
+ }
64
+ ), J = /* @__PURE__ */ j(/* @__PURE__ */ F(M, "Textarea"));
65
+ export {
66
+ J as default
67
+ };
68
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Textarea/index.tsx"],"sourcesContent":["'use client';\n\nimport {\n forwardRef,\n memo,\n type TextareaHTMLAttributes,\n useCallback,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport { named } from '../../helpers/component.helper';\n\nimport styles from './index.module.scss';\n\n/**\n * `bare`: kenarlık, zemin, dolgu ve gölge YOK — çerçeveyi kapsayıcı çizer (sohbet girdisi).\n * ⚠ Odak göstergesi de kapsayıcının işi (`:focus-within`); `bare` alanı çerçevesiz bir kutuya\n * konursa odak görünmez olur.\n */\nexport type TextareaVariant = 'default' | 'bare';\n\ntype Props = TextareaHTMLAttributes<HTMLTextAreaElement> & {\n variant?: TextareaVariant;\n /** Alan içeriğiyle birlikte BÜYÜR — kaydırma çubuğu yerine yükseklik. */\n isAutoSize?: boolean;\n /** Otomatik büyümenin tavanı (satır). */\n maxRows?: number;\n /** Kalan karakter sayacını gösterir. `maxLength` ile birlikte anlamlı. */\n hasCounter?: boolean;\n testId?: string;\n};\n\n/** Çok satırlı metin girdisi. */\nconst Textarea = /*#__PURE__*/ forwardRef<HTMLTextAreaElement, Props>(\n (\n {\n className,\n variant = 'default',\n rows = 4,\n isAutoSize,\n maxRows = 12,\n hasCounter,\n maxLength,\n value,\n defaultValue,\n onChange,\n testId,\n ...rest\n },\n ref,\n ) => {\n const innerRef = useRef<HTMLTextAreaElement | null>(null);\n /* KONTROLLU kipte uzunluk `value`dan OKUNUR, ic durumdan degil. */\n const [innerLength, setLength] = useState(String(defaultValue ?? '').length);\n const length = value === undefined ? innerLength : String(value).length;\n\n /*\n * Cagiranin `ref`i ile ic olcum referansini birlikte tut: `useImperativeHandle` yalnizca bir\n * nesne dondurur ve DOM dugumunun kendisini gizlerdi.\n */\n const setRefs = useCallback(\n (node: HTMLTextAreaElement | null) => {\n innerRef.current = node;\n if (typeof ref === 'function') ref(node);\n else if (ref) ref.current = node;\n },\n [ref],\n );\n\n /*\n * OLCUM BOYAMADAN ONCE: `useEffect` ile alan bir kare boyunca eski yuksekligiyle cizilip sonra\n * ziplyordu.\n */\n useLayoutEffect(() => {\n const node = innerRef.current;\n if (!isAutoSize || !node) return;\n\n node.style.height = 'auto';\n\n const lineHeight = Number.parseFloat(getComputedStyle(node).lineHeight) || 20;\n const max = lineHeight * maxRows;\n\n node.style.height = `${Math.min(node.scrollHeight, max)}px`;\n node.style.overflowY = node.scrollHeight > max ? 'auto' : 'hidden';\n }, [isAutoSize, maxRows, value, length]);\n\n const isNearLimit = maxLength !== undefined && length >= maxLength * 0.9;\n\n return (\n <div className={cx(styles.wrapper, className)} data-testid={testId}>\n <textarea\n ref={setRefs}\n rows={rows}\n className={cx(\n styles.textarea,\n variant === 'bare' && styles['textarea--bare'],\n isAutoSize && styles['textarea--autoSize'],\n )}\n maxLength={maxLength}\n value={value}\n defaultValue={defaultValue}\n onChange={event => {\n setLength(event.target.value.length);\n onChange?.(event);\n }}\n {...rest}\n />\n\n {hasCounter && maxLength !== undefined && (\n /* `aria-hidden`: ayni bilgi her tusta duyurulsaydi yazma kesintiye ugrardi. */\n <span className={cx(styles.counter, isNearLimit && styles['counter--near'])} aria-hidden>\n {length} / {maxLength}\n </span>\n )}\n </div>\n );\n },\n);\n\nexport default /*#__PURE__*/ memo(/*#__PURE__*/ named(Textarea, 'Textarea')) as typeof Textarea;\n"],"names":["Textarea","forwardRef","className","variant","rows","isAutoSize","maxRows","hasCounter","maxLength","value","defaultValue","onChange","testId","rest","ref","innerRef","useRef","innerLength","setLength","useState","length","setRefs","useCallback","node","useLayoutEffect","max","isNearLimit","jsxs","cx","styles","jsx","event","Textarea$1","memo","named"],"mappings":";;;;;;AAmCA,MAAMA,IAAyB,gBAAAC;AAAA,EAC7B,CACE;AAAA,IACE,WAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,MAAAC,IAAO;AAAA,IACP,YAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,YAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,cAAAC;AAAA,IACA,UAAAC;AAAA,IACA,QAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,MACG;AACH,UAAMC,IAAWC,EAAmC,IAAI,GAElD,CAACC,GAAaC,CAAS,IAAIC,EAAS,OAAOT,KAAgB,EAAE,EAAE,MAAM,GACrEU,IAASX,MAAU,SAAYQ,IAAc,OAAOR,CAAK,EAAE,QAM3DY,IAAUC;AAAA,MACd,CAACC,MAAqC;AACpC,QAAAR,EAAS,UAAUQ,GACf,OAAOT,KAAQ,aAAYA,EAAIS,CAAI,IAC9BT,QAAS,UAAUS;AAAA,MAC9B;AAAA,MACA,CAACT,CAAG;AAAA,IAAA;AAON,IAAAU,EAAgB,MAAM;AACpB,YAAMD,IAAOR,EAAS;AACtB,UAAI,CAACV,KAAc,CAACkB,EAAM;AAE1B,MAAAA,EAAK,MAAM,SAAS;AAGpB,YAAME,KADa,OAAO,WAAW,iBAAiBF,CAAI,EAAE,UAAU,KAAK,MAClDjB;AAEzB,MAAAiB,EAAK,MAAM,SAAS,GAAG,KAAK,IAAIA,EAAK,cAAcE,CAAG,CAAC,MACvDF,EAAK,MAAM,YAAYA,EAAK,eAAeE,IAAM,SAAS;AAAA,IAC5D,GAAG,CAACpB,GAAYC,GAASG,GAAOW,CAAM,CAAC;AAEvC,UAAMM,IAAclB,MAAc,UAAaY,KAAUZ,IAAY;AAErE,WACE,gBAAAmB,EAAC,SAAI,WAAWC,EAAGC,EAAO,SAAS3B,CAAS,GAAG,eAAaU,GAC1D,UAAA;AAAA,MAAA,gBAAAkB;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,KAAKT;AAAA,UACL,MAAAjB;AAAA,UACA,WAAWwB;AAAA,YACTC,EAAO;AAAA,YACP1B,MAAY,UAAU0B,EAAO,gBAAgB;AAAA,YAC7CxB,KAAcwB,EAAO,oBAAoB;AAAA,UAAA;AAAA,UAE3C,WAAArB;AAAA,UACA,OAAAC;AAAA,UACA,cAAAC;AAAA,UACA,UAAU,CAAAqB,MAAS;AACjB,YAAAb,EAAUa,EAAM,OAAO,MAAM,MAAM,GACnCpB,KAAA,QAAAA,EAAWoB;AAAA,UACb;AAAA,UACC,GAAGlB;AAAA,QAAA;AAAA,MAAA;AAAA,MAGLN,KAAcC,MAAc;AAAA,MAE3B,gBAAAmB,EAAC,QAAA,EAAK,WAAWC,EAAGC,EAAO,SAASH,KAAeG,EAAO,eAAe,CAAC,GAAG,eAAW,IACrF,UAAA;AAAA,QAAAT;AAAA,QAAO;AAAA,QAAIZ;AAAA,MAAA,EAAA,CACd;AAAA,IAAA,GAEJ;AAAA,EAEJ;AACF,GAEAwB,IAA6B,gBAAAC,EAAmB,gBAAAC,EAAMlC,GAAU,UAAU,CAAC;"}
@@ -0,0 +1 @@
1
+ @layer ui{.ui-textarea-zwJcB{width:100%;font-family:var(--hd-font-body);font-size:var(--hd-type-body-size);line-height:var(--hd-type-h4-line-height);color:var(--hd-text);background-color:var(--hd-bg-surface);border:1px solid var(--hd-border-control);border-radius:var(--hd-radius-sm);padding:var(--hd-space-2) var(--hd-space-3);min-height:40px}@media (max-width: 640px){.ui-textarea-zwJcB{min-height:44px;font-size:max(16px,var(--hd-type-body-size))}}@media (hover: none) and (pointer: coarse){.ui-textarea-zwJcB{min-height:44px;font-size:max(16px,var(--hd-type-body-size))}}.ui-textarea-zwJcB{transition:border-color var(--hd-duration-fast) var(--hd-ease-standard),box-shadow var(--hd-duration-fast) var(--hd-ease-standard)}.ui-textarea-zwJcB::placeholder{color:var(--ui-placeholder, var(--hd-text-3))}.ui-textarea-zwJcB:hover:not(:disabled):not([aria-invalid=true]){border-color:color-mix(in oklab,var(--hd-border-control),var(--hd-text) 40%)}.ui-textarea-zwJcB:focus{outline:none;border-color:var(--hd-focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--hd-focus) 32%,transparent)}.ui-textarea-zwJcB:disabled{background-color:var(--hd-bg-raised);border-color:var(--hd-border);cursor:not-allowed;color:var(--hd-text-3)}@media (forced-colors: active){.ui-textarea-zwJcB:disabled{color:GrayText;border-color:GrayText}}.ui-textarea-zwJcB[aria-invalid=true]{border-color:var(--hd-danger-solid)}.ui-textarea-zwJcB[aria-invalid=true]:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--hd-danger-solid) 28%,transparent)}@media (prefers-reduced-motion: reduce){.ui-textarea-zwJcB{transition:none}}.ui-textarea-zwJcB{resize:vertical;min-height:96px;line-height:var(--hd-type-body-line-height)}.ui-wrapper-O8aJA{display:flex;flex-direction:column;gap:var(--hd-space-1);width:100%}.ui-textarea--bare-IjCIn{min-height:0;padding:0;border:0;border-radius:0;background-color:transparent;box-shadow:none}.ui-textarea--bare-IjCIn:hover:not(:disabled):not([aria-invalid=true]),.ui-textarea--bare-IjCIn:focus,.ui-textarea--bare-IjCIn:disabled{border:0;background-color:transparent;box-shadow:none}.ui-textarea--autoSize--F8yj{resize:none;overflow-y:hidden}.ui-counter-bHVh3{align-self:flex-end;font-size:var(--hd-type-caption-size);color:var(--hd-text-3);font-variant-numeric:tabular-nums}.ui-counter--near-AZAQm{color:var(--hd-warning-fg);font-weight:var(--hd-font-weight-semibold)}}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react/jsx-runtime"),c=require("react"),o=require("../../helpers/class-name.helper.cjs"),m=require("../Link/index.cjs"),e={default:{"tile":"ui-tile-TGur-","tile__medallion":"ui-tile__medallion--Y0pz","tile__label":"ui-tile__label-mI1OQ","tile__meta":"ui-tile__meta-22qnR","tile--active":"ui-tile--active-z0F2M"}},_=({label:s,icon:i,href:r,meta:l,isActive:t,linkProps:d,className:n,testId:u})=>a.jsxs(m.default,{href:r,className:o.cx(e.default.tile,t&&e.default["tile--active"],n),"aria-current":t?"page":void 0,"data-testid":u,...d,children:[a.jsx("span",{className:e.default.tile__medallion,"aria-hidden":!0,children:i}),a.jsx("span",{className:e.default.tile__label,children:s}),l&&a.jsx("span",{className:e.default.tile__meta,children:l})]}),x=c.memo(_);exports.default=x;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/Tile/index.tsx"],"sourcesContent":["import { memo, type ReactNode } from 'react';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport type { UiLinkExtraProps } from '../../types/link.type';\nimport UiLink from '../Link';\n\nimport styles from './index.module.scss';\n\ntype Props = {\n label: string;\n /** İkon DIŞARIDAN gelir: hangi ikonun hangi konuya ait olduğu uygulamanın bilgisi. */\n icon: ReactNode;\n href: string;\n /** Etiketin altında gösterilen ikincil satır (\"1.248 kayıt\"). */\n meta?: ReactNode;\n isActive?: boolean;\n /** Yönlendiriciye geçirilecek ek props. */\n linkProps?: UiLinkExtraProps;\n className?: string;\n testId?: string;\n};\n\n/** Karo — ikon madalyonu + etiket. */\nconst Tile = ({ label, icon, href, meta, isActive, linkProps, className, testId }: Props) => (\n <UiLink\n href={href}\n className={cx(styles.tile, isActive && styles['tile--active'], className)}\n aria-current={isActive ? 'page' : undefined}\n data-testid={testId}\n {...linkProps}\n >\n <span className={styles.tile__medallion} aria-hidden>\n {icon}\n </span>\n\n <span className={styles.tile__label}>{label}</span>\n\n {meta && <span className={styles.tile__meta}>{meta}</span>}\n </UiLink>\n);\n\nexport default /*#__PURE__*/ memo(Tile) as typeof Tile;\n"],"names":["Tile","label","icon","href","meta","isActive","linkProps","className","testId","jsxs","UiLink","cx","styles","jsx","index"],"mappings":"yRAuBMA,EAAO,CAAC,CAAE,MAAAC,EAAO,KAAAC,EAAM,KAAAC,EAAM,KAAAC,EAAM,SAAAC,EAAU,UAAAC,EAAW,UAAAC,EAAW,OAAAC,CAAA,IACvEC,EAAAA,KAACC,EAAAA,QAAA,CACC,KAAAP,EACA,UAAWQ,EAAAA,GAAGC,EAAAA,QAAO,KAAMP,GAAYO,UAAO,cAAc,EAAGL,CAAS,EACxE,eAAcF,EAAW,OAAS,OAClC,cAAaG,EACZ,GAAGF,EAEJ,SAAA,CAAAO,MAAC,QAAK,UAAWD,EAAAA,QAAO,gBAAiB,cAAW,GACjD,SAAAV,EACH,EAEAW,EAAAA,IAAC,OAAA,CAAK,UAAWD,EAAAA,QAAO,YAAc,SAAAX,EAAM,EAE3CG,GAAQS,EAAAA,IAAC,OAAA,CAAK,UAAWD,EAAAA,QAAO,WAAa,SAAAR,CAAA,CAAK,CAAA,CAAA,CACrD,EAGFU,SAAkCd,CAAI"}
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+ import { UiLinkExtraProps } from '../../types/link.type.cjs';
3
+ type Props = {
4
+ label: string;
5
+ /** İkon DIŞARIDAN gelir: hangi ikonun hangi konuya ait olduğu uygulamanın bilgisi. */
6
+ icon: ReactNode;
7
+ href: string;
8
+ /** Etiketin altında gösterilen ikincil satır ("1.248 kayıt"). */
9
+ meta?: ReactNode;
10
+ isActive?: boolean;
11
+ /** Yönlendiriciye geçirilecek ek props. */
12
+ linkProps?: UiLinkExtraProps;
13
+ className?: string;
14
+ testId?: string;
15
+ };
16
+ /** Karo — ikon madalyonu + etiket. */
17
+ declare const Tile: ({ label, icon, href, meta, isActive, linkProps, className, testId }: Props) => import("react").JSX.Element;
18
+ declare const _default: typeof Tile;
19
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+ import { UiLinkExtraProps } from '../../types/link.type.js';
3
+ type Props = {
4
+ label: string;
5
+ /** İkon DIŞARIDAN gelir: hangi ikonun hangi konuya ait olduğu uygulamanın bilgisi. */
6
+ icon: ReactNode;
7
+ href: string;
8
+ /** Etiketin altında gösterilen ikincil satır ("1.248 kayıt"). */
9
+ meta?: ReactNode;
10
+ isActive?: boolean;
11
+ /** Yönlendiriciye geçirilecek ek props. */
12
+ linkProps?: UiLinkExtraProps;
13
+ className?: string;
14
+ testId?: string;
15
+ };
16
+ /** Karo — ikon madalyonu + etiket. */
17
+ declare const Tile: ({ label, icon, href, meta, isActive, linkProps, className, testId }: Props) => import("react").JSX.Element;
18
+ declare const _default: typeof Tile;
19
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
+ import { memo as d } from "react";
3
+ import { cx as p } from "../../helpers/class-name.helper.js";
4
+ import f from "../Link/index.js";
5
+ const e = {"tile":"ui-tile-TGur-","tile__medallion":"ui-tile__medallion--Y0pz","tile__label":"ui-tile__label-mI1OQ","tile__meta":"ui-tile__meta-22qnR","tile--active":"ui-tile--active-z0F2M"};
6
+ const _ = ({ label: r, icon: t, href: s, meta: i, isActive: l, linkProps: m, className: o, testId: n }) => /* @__PURE__ */ c(
7
+ f,
8
+ {
9
+ href: s,
10
+ className: p(e.tile, l && e["tile--active"], o),
11
+ "aria-current": l ? "page" : void 0,
12
+ "data-testid": n,
13
+ ...m,
14
+ children: [
15
+ /* @__PURE__ */ a("span", { className: e.tile__medallion, "aria-hidden": !0, children: t }),
16
+ /* @__PURE__ */ a("span", { className: e.tile__label, children: r }),
17
+ i && /* @__PURE__ */ a("span", { className: e.tile__meta, children: i })
18
+ ]
19
+ }
20
+ ), b = /* @__PURE__ */ d(_);
21
+ export {
22
+ b as default
23
+ };
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Tile/index.tsx"],"sourcesContent":["import { memo, type ReactNode } from 'react';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport type { UiLinkExtraProps } from '../../types/link.type';\nimport UiLink from '../Link';\n\nimport styles from './index.module.scss';\n\ntype Props = {\n label: string;\n /** İkon DIŞARIDAN gelir: hangi ikonun hangi konuya ait olduğu uygulamanın bilgisi. */\n icon: ReactNode;\n href: string;\n /** Etiketin altında gösterilen ikincil satır (\"1.248 kayıt\"). */\n meta?: ReactNode;\n isActive?: boolean;\n /** Yönlendiriciye geçirilecek ek props. */\n linkProps?: UiLinkExtraProps;\n className?: string;\n testId?: string;\n};\n\n/** Karo — ikon madalyonu + etiket. */\nconst Tile = ({ label, icon, href, meta, isActive, linkProps, className, testId }: Props) => (\n <UiLink\n href={href}\n className={cx(styles.tile, isActive && styles['tile--active'], className)}\n aria-current={isActive ? 'page' : undefined}\n data-testid={testId}\n {...linkProps}\n >\n <span className={styles.tile__medallion} aria-hidden>\n {icon}\n </span>\n\n <span className={styles.tile__label}>{label}</span>\n\n {meta && <span className={styles.tile__meta}>{meta}</span>}\n </UiLink>\n);\n\nexport default /*#__PURE__*/ memo(Tile) as typeof Tile;\n"],"names":["Tile","label","icon","href","meta","isActive","linkProps","className","testId","jsxs","UiLink","cx","styles","jsx","index"],"mappings":";;;;;AAuBA,MAAMA,IAAO,CAAC,EAAE,OAAAC,GAAO,MAAAC,GAAM,MAAAC,GAAM,MAAAC,GAAM,UAAAC,GAAU,WAAAC,GAAW,WAAAC,GAAW,QAAAC,EAAA,MACvE,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,MAAAP;AAAA,IACA,WAAWQ,EAAGC,EAAO,MAAMP,KAAYO,EAAO,cAAc,GAAGL,CAAS;AAAA,IACxE,gBAAcF,IAAW,SAAS;AAAA,IAClC,eAAaG;AAAA,IACZ,GAAGF;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAO,EAAC,UAAK,WAAWD,EAAO,iBAAiB,eAAW,IACjD,UAAAV,GACH;AAAA,MAEA,gBAAAW,EAAC,QAAA,EAAK,WAAWD,EAAO,aAAc,UAAAX,GAAM;AAAA,MAE3CG,KAAQ,gBAAAS,EAAC,QAAA,EAAK,WAAWD,EAAO,YAAa,UAAAR,EAAA,CAAK;AAAA,IAAA;AAAA,EAAA;AACrD,GAGFU,sBAAkCd,CAAI;"}
@@ -0,0 +1 @@
1
+ @layer ui{.ui-tile-TGur-{background-color:var(--hd-bg-surface);border:1px solid var(--hd-border);border-radius:var(--hd-radius-md)}@media (max-width: 640px){.ui-tile-TGur-{border-radius:var(--hd-radius-sm)}}.ui-tile-TGur-{transition:border-color var(--hd-duration-fast) var(--hd-ease-standard),box-shadow var(--hd-duration-fast) var(--hd-ease-standard),transform var(--hd-duration-fast) var(--hd-ease-standard)}.ui-tile-TGur-:hover{border-color:var(--hd-border-strong);box-shadow:var(--hd-shadow-2);transform:translateY(-2px)}.ui-tile-TGur-:active{transform:translateY(0);box-shadow:var(--hd-shadow-1)}@media (prefers-reduced-motion: reduce){.ui-tile-TGur-{transition:none}.ui-tile-TGur-:hover,.ui-tile-TGur-:active{transform:none}}.ui-tile-TGur-{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--hd-space-2);padding:var(--hd-space-5) var(--hd-space-3);text-align:center;text-decoration:none;color:inherit;height:100%}.ui-tile-TGur-:focus-visible{outline:var(--ui-ring-width, 2px) solid var(--hd-focus);outline-offset:var(--ui-ring-offset, 2px)}.ui-tile__medallion--Y0pz{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:var(--hd-radius-pill);background-color:var(--hd-bg-raised);color:var(--hd-text-2);font-size:var(--hd-type-h3-size);flex-shrink:0;transition:background-color var(--hd-duration-fast) var(--hd-ease-standard),color var(--hd-duration-fast) var(--hd-ease-standard)}@media (prefers-reduced-motion: reduce){.ui-tile__medallion--Y0pz{transition:none}}.ui-tile__label-mI1OQ{font-family:var(--hd-font-display);font-size:var(--hd-type-small-size);font-weight:var(--hd-font-weight-semibold);line-height:var(--hd-type-h4-line-height);color:var(--hd-text)}.ui-tile__meta-22qnR{font-size:var(--hd-type-caption-size);color:var(--hd-text-2);font-variant-numeric:tabular-nums}.ui-tile-TGur-:hover .ui-tile__medallion--Y0pz{background-color:var(--hd-primary-soft);color:var(--hd-text)}.ui-tile--active-z0F2M{border-color:var(--hd-primary-line)}.ui-tile--active-z0F2M .ui-tile__medallion--Y0pz{background-color:var(--hd-primary);color:var(--hd-on-primary)}.ui-tile--active-z0F2M .ui-tile__label-mI1OQ{color:var(--hd-text)}}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),_=require("react"),a=require("react-bootstrap-icons"),c=require("../../helpers/class-name.helper.cjs"),p=require("../../helpers/component.helper.cjs"),x=require("../../helpers/label.helper.cjs"),f=require("../../theme/context.cjs"),i={default:{"timeline":"ui-timeline-GxubZ","timeline__item":"ui-timeline__item-qMpF2","timeline__marker":"ui-timeline__marker-MDk07","timeline__item--done":"ui-timeline__item--done-dqiOQ","timeline__item--current":"ui-timeline__item--current-TGV5f","timeline__item--pending":"ui-timeline__item--pending-VMZTS","timeline__item--failed":"ui-timeline__item--failed-2BbfX","timeline__body":"ui-timeline__body-xJi7t","timeline__title":"ui-timeline__title-pKxZJ","timeline__time":"ui-timeline__time-ITWYy","timeline__description":"ui-timeline__description-4vrEy","timeline__srOnly":"ui-timeline__srOnly-7K2We"}},h={done:e.jsx(a.CheckLg,{}),failed:e.jsx(a.XLg,{}),current:null,pending:null},s={done:"completed",current:"current",pending:null,failed:"failed"},j=({events:d,label:u,className:o,testId:m})=>{const{labels:n}=f.useUi();return e.jsx("ol",{className:c.cx(i.default.timeline,o),"aria-label":u,"data-testid":m,children:d.map(l=>{var r;const t=l.status??"done";return e.jsxs("li",{className:c.cx(i.default.timeline__item,i.default[`timeline__item--${t}`]),"aria-current":t==="current"?"step":void 0,children:[e.jsx("span",{className:i.default.timeline__marker,"aria-hidden":!0,children:l.icon??h[t]}),e.jsxs("div",{className:i.default.timeline__body,children:[e.jsxs("span",{className:i.default.timeline__title,children:[l.title,e.jsx("span",{className:i.default.timeline__srOnly,children:s[t]===null?null:x.resolveLabel(`Timeline.${s[t]}`,(r=n==null?void 0:n.timeline)==null?void 0:r[s[t]])})]}),l.time&&e.jsx("span",{className:i.default.timeline__time,children:l.time}),l.description&&e.jsx("span",{className:i.default.timeline__description,children:l.description})]})]},l.id)})})},N=_.memo(p.named(j,"Timeline"));exports.default=N;
2
+ //# sourceMappingURL=index.cjs.map