@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 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/Tooltip/index.tsx"],"sourcesContent":["'use client';\n\nimport {\n isValidElement,\n memo,\n type PointerEvent as ReactPointerEvent,\n type ReactNode,\n useCallback,\n useEffect,\n useId,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { createPortal } from 'react-dom';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport { named } from '../../helpers/component.helper';\nimport useDismissOnEscape from '../../hooks/useDismissOnEscape';\nimport usePortalSurface from '../../hooks/usePortalSurface';\nimport usePositioning from '../../hooks/usePositioning';\n\nimport styles from './index.module.scss';\nimport type { PositionSide } from '@/types/positioning.type';\n\ntype Props = {\n /** Balonda gösterilecek açıklama. */\n content: ReactNode;\n /** Açıklamanın bağlandığı öğe — düğme, ikon, etiket. */\n children: ReactNode;\n /** Tercih edilen kenar. */\n side?: PositionSide;\n /** Açılma gecikmesi (ms). */\n openDelay?: number;\n /**\n * Ad değişti çünkü davranış değişti: `position` SABİT bir kenar yazıyordu ve balon oraya\n * sığmadığında görünüm alanının dışına taşıyordu. `side`…\n * @deprecated `side` kullanın.\n */\n position?: 'top' | 'bottom';\n className?: string;\n};\n\n/** Balonun kapanmadan önce beklediği süre — imlecin balona ulaşması için. */\nconst CLOSE_DELAY = 120;\n\n/** Dokunmatikte balonu açan basma süresi. */\nconst LONG_PRESS_DELAY = 500;\n\n/** İmleç öğenin üzerinde beklemeden balon açılmaz. */\nconst OPEN_DELAY = 300;\n\n/** İpucu balonu. */\nconst Tooltip = ({\n content,\n children,\n side,\n position,\n openDelay = OPEN_DELAY,\n className,\n}: Props) => {\n const [isOpen, setIsOpen] = useState(false);\n const id = useId();\n\n /* Eski prop bir surum boyunca calisir; `side` verilmisse o kazanir. */\n const resolvedSide: PositionSide = side ?? position ?? 'top';\n\n const anchorRef = useRef<HTMLSpanElement>(null);\n const bubbleRef = useRef<HTMLSpanElement>(null);\n const timerRef = useRef(0);\n const longPressRef = useRef(0);\n\n /*\n * Cocuk kendi basina odak alabiliyor mu — capaya `tabIndex` verilip verilmeyecegini bu belirler.\n */\n const staticallyFocusableChild = useMemo(() => {\n if (!isValidElement(children)) return false;\n const type = children.type;\n const props = children.props as { href?: unknown; tabIndex?: unknown; disabled?: unknown };\n\n if (props.tabIndex !== undefined) return true;\n if (props.disabled === true) return false;\n if (typeof type !== 'string') return false;\n if (type === 'a') return props.href !== undefined;\n\n return ['button', 'input', 'select', 'textarea'].includes(type);\n }, [children]);\n\n /*\n * `typeof type!== 'string'` her BILESENI \"odaklanamaz\" sayiyor; ui'nin her bileseni bir `memo`\n * NESNESI, yani `<Tooltip><Button/></Tooltip>` icin…\n * ⚠ STATIK KONTROL TEK BASINA YANLIS CEVAP VERIYORDU.\n */\n const [hasFocusableDescendant, setHasFocusableDescendant] = useState(false);\n\n useEffect(() => {\n const node = anchorRef.current;\n if (!node) return;\n\n setHasFocusableDescendant(\n Boolean(\n node.querySelector(\n 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])',\n ),\n ),\n );\n }, [children]);\n\n const hasFocusableChild = staticallyFocusableChild || hasFocusableDescendant;\n\n const positioning = usePositioning(anchorRef, bubbleRef, {\n side: resolvedSide,\n align: 'center',\n isOpen,\n });\n\n const portal = usePortalSurface(isOpen, anchorRef, bubbleRef);\n\n const clearTimer = useCallback(() => {\n if (timerRef.current) window.clearTimeout(timerRef.current);\n timerRef.current = 0;\n }, []);\n\n const open = useCallback(\n (delay: number) => {\n clearTimer();\n timerRef.current = window.setTimeout(() => setIsOpen(true), delay);\n },\n [clearTimer],\n );\n\n const close = useCallback(\n (delay: number = CLOSE_DELAY) => {\n clearTimer();\n timerRef.current = window.setTimeout(() => setIsOpen(false), delay);\n },\n [clearTimer],\n );\n\n useEffect(() => clearTimer, [clearTimer]);\n\n /*\n * ⚠ UZUN BASMA zamanlayıcısı AYRI temizlenir. `clearTimer` yalnızca açılış/ kapanış gecikmesini\n * iptal ediyor\n */\n useEffect(\n () => () => {\n if (longPressRef.current) window.clearTimeout(longPressRef.current);\n },\n [],\n );\n\n /*\n * Escape ANINDA kapatir: gecikme, ipucunu kapatmak icin bastigi tusun islemedigi izlenimi\n * veriyordu.\n */\n const closeNow = useCallback(() => close(0), [close]);\n /* Geçici: ipucu klavyeyi almaz, açıkken ⌘K ve kısayollar çalışır (`hasOpenSurface`). */\n useDismissOnEscape(isOpen, closeNow, { isTransient: true });\n\n /*\n * Dokunmatikte ekranin herhangi bir yerine dokunmak kapatir: balonun kendi kapatma yolu yok ve\n * `pointer-events: none` oldugu icin ona da dokunulamiyor.\n */\n useEffect(() => {\n if (!isOpen) return;\n\n const handlePointerDown = (event: globalThis.PointerEvent) => {\n if (event.pointerType === 'mouse') return;\n if (anchorRef.current?.contains(event.target as Node)) return;\n close(0);\n };\n\n document.addEventListener('pointerdown', handlePointerDown);\n return () => document.removeEventListener('pointerdown', handlePointerDown);\n }, [isOpen, close]);\n\n const cancelLongPress = () => {\n if (longPressRef.current) window.clearTimeout(longPressRef.current);\n longPressRef.current = 0;\n };\n\n const handlePointerDown = (event: ReactPointerEvent) => {\n if (event.pointerType === 'mouse') return;\n longPressRef.current = window.setTimeout(() => setIsOpen(true), LONG_PRESS_DELAY);\n };\n\n return (\n <>\n <span\n ref={anchorRef}\n className={cx(styles.tooltip, className)}\n /*\n * ⚠ CAPA ODAKLANABILIR OLMAK ZORUNDA. `onFocus`/`onBlur` zaten bagli ama ` ` varsayilan\n * olarak odak almiyor: cocuk kendisi odaklanabilir…\n * ⚠ Cocuk zaten odaklanabiliyorsa (dugme, baglanti) `tabIndex` KONULMAZ: aksi halde ayni\n * ipucu icin sekmede IKI durak olusur.\n */\n tabIndex={hasFocusableChild ? undefined : 0}\n onPointerEnter={event => event.pointerType === 'mouse' && open(openDelay)}\n onPointerLeave={event => {\n cancelLongPress();\n if (event.pointerType === 'mouse') close();\n }}\n onPointerDown={handlePointerDown}\n onPointerUp={cancelLongPress}\n onPointerCancel={cancelLongPress}\n onFocus={() => open(0)}\n onBlur={() => close(0)}\n onContextMenu={event => {\n if (isOpen || longPressRef.current) event.preventDefault();\n }}\n >\n <span aria-describedby={isOpen ? id : undefined} className={styles.tooltip__trigger}>\n {children}\n </span>\n </span>\n\n {/*\n Balon DOM'da yalnizca ACIKKEN: kapaliyken de birakip gizlemek, ekran\n okuyucunun onu `aria-describedby` olmadan da bulup okumasina yol\n aciyordu.\n */}\n {isOpen &&\n portal.container &&\n createPortal(\n <span\n ref={bubbleRef}\n /* ⚠ Modal içinden açıldığında üst katman ZORUNLU — `portal.helper`. */\n {...portal.attributes}\n id={id}\n role=\"tooltip\"\n className={cx(styles.bubble, styles[`bubble--${positioning.side}`])}\n style={{\n ...positioning.style,\n ...portal.style,\n /* Olculmeden cizilen balon bir kare boyunca sol ust kosede parliyordu. */\n visibility: positioning.isPositioned ? 'visible' : 'hidden',\n }}\n >\n {content}\n </span>,\n portal.container,\n )}\n </>\n );\n};\n\nexport default /*#__PURE__*/ memo(/*#__PURE__*/ named(Tooltip, 'Tooltip')) as typeof Tooltip;\n"],"names":["CLOSE_DELAY","LONG_PRESS_DELAY","OPEN_DELAY","Tooltip","content","children","side","position","openDelay","className","isOpen","setIsOpen","useState","id","useId","resolvedSide","anchorRef","useRef","bubbleRef","timerRef","longPressRef","staticallyFocusableChild","useMemo","isValidElement","type","props","hasFocusableDescendant","setHasFocusableDescendant","useEffect","node","hasFocusableChild","positioning","usePositioning","portal","usePortalSurface","clearTimer","useCallback","open","delay","close","closeNow","useDismissOnEscape","handlePointerDown","event","_a","cancelLongPress","jsxs","Fragment","jsx","cx","styles","createPortal","index","memo","named"],"mappings":"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"}
@@ -0,0 +1,23 @@
1
+ import { ReactNode } from 'react';
2
+ import { PositionSide } from '../../types/positioning.type.cjs';
3
+ type Props = {
4
+ /** Balonda gösterilecek açıklama. */
5
+ content: ReactNode;
6
+ /** Açıklamanın bağlandığı öğe — düğme, ikon, etiket. */
7
+ children: ReactNode;
8
+ /** Tercih edilen kenar. */
9
+ side?: PositionSide;
10
+ /** Açılma gecikmesi (ms). */
11
+ openDelay?: number;
12
+ /**
13
+ * Ad değişti çünkü davranış değişti: `position` SABİT bir kenar yazıyordu ve balon oraya
14
+ * sığmadığında görünüm alanının dışına taşıyordu. `side`…
15
+ * @deprecated `side` kullanın.
16
+ */
17
+ position?: 'top' | 'bottom';
18
+ className?: string;
19
+ };
20
+ /** İpucu balonu. */
21
+ declare const Tooltip: ({ content, children, side, position, openDelay, className, }: Props) => import("react").JSX.Element;
22
+ declare const _default: typeof Tooltip;
23
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { ReactNode } from 'react';
2
+ import { PositionSide } from '../../types/positioning.type.js';
3
+ type Props = {
4
+ /** Balonda gösterilecek açıklama. */
5
+ content: ReactNode;
6
+ /** Açıklamanın bağlandığı öğe — düğme, ikon, etiket. */
7
+ children: ReactNode;
8
+ /** Tercih edilen kenar. */
9
+ side?: PositionSide;
10
+ /** Açılma gecikmesi (ms). */
11
+ openDelay?: number;
12
+ /**
13
+ * Ad değişti çünkü davranış değişti: `position` SABİT bir kenar yazıyordu ve balon oraya
14
+ * sığmadığında görünüm alanının dışına taşıyordu. `side`…
15
+ * @deprecated `side` kullanın.
16
+ */
17
+ position?: 'top' | 'bottom';
18
+ className?: string;
19
+ };
20
+ /** İpucu balonu. */
21
+ declare const Tooltip: ({ content, children, side, position, openDelay, className, }: Props) => import("react").JSX.Element;
22
+ declare const _default: typeof Tooltip;
23
+ export default _default;
@@ -0,0 +1,116 @@
1
+ "use client";
2
+ import { jsxs as Y, Fragment as j, jsx as P } from "react/jsx-runtime";
3
+ import { memo as B, useState as v, useId as M, useRef as l, useMemo as k, isValidElement as q, useEffect as d, useCallback as p } from "react";
4
+ import { createPortal as G } from "react-dom";
5
+ import { cx as g } from "../../helpers/class-name.helper.js";
6
+ import { named as H } from "../../helpers/component.helper.js";
7
+ import U from "../../hooks/useDismissOnEscape.js";
8
+ import V from "../../hooks/usePortalSurface.js";
9
+ import $ from "../../hooks/usePositioning.js";
10
+ const f = {"tooltip":"ui-tooltip-RG1g1","tooltip__trigger":"ui-tooltip__trigger-nWZtO","bubble":"ui-bubble-bcBNk","bubble--top":"ui-bubble--top-uWSZy","bubble--bottom":"ui-bubble--bottom-jKokL","bubble--left":"ui-bubble--left-WK4EM","bubble--right":"ui-bubble--right-EQjUT"};
11
+ const z = 120, J = 500, K = 300, Q = ({
12
+ content: D,
13
+ children: o,
14
+ side: L,
15
+ position: h,
16
+ openDelay: S = K,
17
+ className: C
18
+ }) => {
19
+ const [t, m] = v(!1), T = M(), F = L ?? h ?? "top", c = l(null), b = l(null), a = l(0), n = l(0), N = k(() => {
20
+ if (!q(o)) return !1;
21
+ const e = o.type, i = o.props;
22
+ return i.tabIndex !== void 0 ? !0 : i.disabled === !0 || typeof e != "string" ? !1 : e === "a" ? i.href !== void 0 : ["button", "input", "select", "textarea"].includes(e);
23
+ }, [o]), [O, R] = v(!1);
24
+ d(() => {
25
+ const e = c.current;
26
+ e && R(
27
+ !!e.querySelector(
28
+ 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'
29
+ )
30
+ );
31
+ }, [o]);
32
+ const _ = N || O, w = $(c, b, {
33
+ side: F,
34
+ align: "center",
35
+ isOpen: t
36
+ }), u = V(t, c, b), r = p(() => {
37
+ a.current && window.clearTimeout(a.current), a.current = 0;
38
+ }, []), x = p(
39
+ (e) => {
40
+ r(), a.current = window.setTimeout(() => m(!0), e);
41
+ },
42
+ [r]
43
+ ), s = p(
44
+ (e = z) => {
45
+ r(), a.current = window.setTimeout(() => m(!1), e);
46
+ },
47
+ [r]
48
+ );
49
+ d(() => r, [r]), d(
50
+ () => () => {
51
+ n.current && window.clearTimeout(n.current);
52
+ },
53
+ []
54
+ );
55
+ const I = p(() => s(0), [s]);
56
+ U(t, I, { isTransient: !0 }), d(() => {
57
+ if (!t) return;
58
+ const e = (i) => {
59
+ var E;
60
+ i.pointerType !== "mouse" && ((E = c.current) != null && E.contains(i.target) || s(0));
61
+ };
62
+ return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
63
+ }, [t, s]);
64
+ const y = () => {
65
+ n.current && window.clearTimeout(n.current), n.current = 0;
66
+ }, A = (e) => {
67
+ e.pointerType !== "mouse" && (n.current = window.setTimeout(() => m(!0), J));
68
+ };
69
+ return /* @__PURE__ */ Y(j, { children: [
70
+ /* @__PURE__ */ P(
71
+ "span",
72
+ {
73
+ ref: c,
74
+ className: g(f.tooltip, C),
75
+ tabIndex: _ ? void 0 : 0,
76
+ onPointerEnter: (e) => e.pointerType === "mouse" && x(S),
77
+ onPointerLeave: (e) => {
78
+ y(), e.pointerType === "mouse" && s();
79
+ },
80
+ onPointerDown: A,
81
+ onPointerUp: y,
82
+ onPointerCancel: y,
83
+ onFocus: () => x(0),
84
+ onBlur: () => s(0),
85
+ onContextMenu: (e) => {
86
+ (t || n.current) && e.preventDefault();
87
+ },
88
+ children: /* @__PURE__ */ P("span", { "aria-describedby": t ? T : void 0, className: f.tooltip__trigger, children: o })
89
+ }
90
+ ),
91
+ t && u.container && G(
92
+ /* @__PURE__ */ P(
93
+ "span",
94
+ {
95
+ ref: b,
96
+ ...u.attributes,
97
+ id: T,
98
+ role: "tooltip",
99
+ className: g(f.bubble, f[`bubble--${w.side}`]),
100
+ style: {
101
+ ...w.style,
102
+ ...u.style,
103
+ /* Olculmeden cizilen balon bir kare boyunca sol ust kosede parliyordu. */
104
+ visibility: w.isPositioned ? "visible" : "hidden"
105
+ },
106
+ children: D
107
+ }
108
+ ),
109
+ u.container
110
+ )
111
+ ] });
112
+ }, ie = /* @__PURE__ */ B(/* @__PURE__ */ H(Q, "Tooltip"));
113
+ export {
114
+ ie as default
115
+ };
116
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Tooltip/index.tsx"],"sourcesContent":["'use client';\n\nimport {\n isValidElement,\n memo,\n type PointerEvent as ReactPointerEvent,\n type ReactNode,\n useCallback,\n useEffect,\n useId,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { createPortal } from 'react-dom';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport { named } from '../../helpers/component.helper';\nimport useDismissOnEscape from '../../hooks/useDismissOnEscape';\nimport usePortalSurface from '../../hooks/usePortalSurface';\nimport usePositioning from '../../hooks/usePositioning';\n\nimport styles from './index.module.scss';\nimport type { PositionSide } from '@/types/positioning.type';\n\ntype Props = {\n /** Balonda gösterilecek açıklama. */\n content: ReactNode;\n /** Açıklamanın bağlandığı öğe — düğme, ikon, etiket. */\n children: ReactNode;\n /** Tercih edilen kenar. */\n side?: PositionSide;\n /** Açılma gecikmesi (ms). */\n openDelay?: number;\n /**\n * Ad değişti çünkü davranış değişti: `position` SABİT bir kenar yazıyordu ve balon oraya\n * sığmadığında görünüm alanının dışına taşıyordu. `side`…\n * @deprecated `side` kullanın.\n */\n position?: 'top' | 'bottom';\n className?: string;\n};\n\n/** Balonun kapanmadan önce beklediği süre — imlecin balona ulaşması için. */\nconst CLOSE_DELAY = 120;\n\n/** Dokunmatikte balonu açan basma süresi. */\nconst LONG_PRESS_DELAY = 500;\n\n/** İmleç öğenin üzerinde beklemeden balon açılmaz. */\nconst OPEN_DELAY = 300;\n\n/** İpucu balonu. */\nconst Tooltip = ({\n content,\n children,\n side,\n position,\n openDelay = OPEN_DELAY,\n className,\n}: Props) => {\n const [isOpen, setIsOpen] = useState(false);\n const id = useId();\n\n /* Eski prop bir surum boyunca calisir; `side` verilmisse o kazanir. */\n const resolvedSide: PositionSide = side ?? position ?? 'top';\n\n const anchorRef = useRef<HTMLSpanElement>(null);\n const bubbleRef = useRef<HTMLSpanElement>(null);\n const timerRef = useRef(0);\n const longPressRef = useRef(0);\n\n /*\n * Cocuk kendi basina odak alabiliyor mu — capaya `tabIndex` verilip verilmeyecegini bu belirler.\n */\n const staticallyFocusableChild = useMemo(() => {\n if (!isValidElement(children)) return false;\n const type = children.type;\n const props = children.props as { href?: unknown; tabIndex?: unknown; disabled?: unknown };\n\n if (props.tabIndex !== undefined) return true;\n if (props.disabled === true) return false;\n if (typeof type !== 'string') return false;\n if (type === 'a') return props.href !== undefined;\n\n return ['button', 'input', 'select', 'textarea'].includes(type);\n }, [children]);\n\n /*\n * `typeof type!== 'string'` her BILESENI \"odaklanamaz\" sayiyor; ui'nin her bileseni bir `memo`\n * NESNESI, yani `<Tooltip><Button/></Tooltip>` icin…\n * ⚠ STATIK KONTROL TEK BASINA YANLIS CEVAP VERIYORDU.\n */\n const [hasFocusableDescendant, setHasFocusableDescendant] = useState(false);\n\n useEffect(() => {\n const node = anchorRef.current;\n if (!node) return;\n\n setHasFocusableDescendant(\n Boolean(\n node.querySelector(\n 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])',\n ),\n ),\n );\n }, [children]);\n\n const hasFocusableChild = staticallyFocusableChild || hasFocusableDescendant;\n\n const positioning = usePositioning(anchorRef, bubbleRef, {\n side: resolvedSide,\n align: 'center',\n isOpen,\n });\n\n const portal = usePortalSurface(isOpen, anchorRef, bubbleRef);\n\n const clearTimer = useCallback(() => {\n if (timerRef.current) window.clearTimeout(timerRef.current);\n timerRef.current = 0;\n }, []);\n\n const open = useCallback(\n (delay: number) => {\n clearTimer();\n timerRef.current = window.setTimeout(() => setIsOpen(true), delay);\n },\n [clearTimer],\n );\n\n const close = useCallback(\n (delay: number = CLOSE_DELAY) => {\n clearTimer();\n timerRef.current = window.setTimeout(() => setIsOpen(false), delay);\n },\n [clearTimer],\n );\n\n useEffect(() => clearTimer, [clearTimer]);\n\n /*\n * ⚠ UZUN BASMA zamanlayıcısı AYRI temizlenir. `clearTimer` yalnızca açılış/ kapanış gecikmesini\n * iptal ediyor\n */\n useEffect(\n () => () => {\n if (longPressRef.current) window.clearTimeout(longPressRef.current);\n },\n [],\n );\n\n /*\n * Escape ANINDA kapatir: gecikme, ipucunu kapatmak icin bastigi tusun islemedigi izlenimi\n * veriyordu.\n */\n const closeNow = useCallback(() => close(0), [close]);\n /* Geçici: ipucu klavyeyi almaz, açıkken ⌘K ve kısayollar çalışır (`hasOpenSurface`). */\n useDismissOnEscape(isOpen, closeNow, { isTransient: true });\n\n /*\n * Dokunmatikte ekranin herhangi bir yerine dokunmak kapatir: balonun kendi kapatma yolu yok ve\n * `pointer-events: none` oldugu icin ona da dokunulamiyor.\n */\n useEffect(() => {\n if (!isOpen) return;\n\n const handlePointerDown = (event: globalThis.PointerEvent) => {\n if (event.pointerType === 'mouse') return;\n if (anchorRef.current?.contains(event.target as Node)) return;\n close(0);\n };\n\n document.addEventListener('pointerdown', handlePointerDown);\n return () => document.removeEventListener('pointerdown', handlePointerDown);\n }, [isOpen, close]);\n\n const cancelLongPress = () => {\n if (longPressRef.current) window.clearTimeout(longPressRef.current);\n longPressRef.current = 0;\n };\n\n const handlePointerDown = (event: ReactPointerEvent) => {\n if (event.pointerType === 'mouse') return;\n longPressRef.current = window.setTimeout(() => setIsOpen(true), LONG_PRESS_DELAY);\n };\n\n return (\n <>\n <span\n ref={anchorRef}\n className={cx(styles.tooltip, className)}\n /*\n * ⚠ CAPA ODAKLANABILIR OLMAK ZORUNDA. `onFocus`/`onBlur` zaten bagli ama ` ` varsayilan\n * olarak odak almiyor: cocuk kendisi odaklanabilir…\n * ⚠ Cocuk zaten odaklanabiliyorsa (dugme, baglanti) `tabIndex` KONULMAZ: aksi halde ayni\n * ipucu icin sekmede IKI durak olusur.\n */\n tabIndex={hasFocusableChild ? undefined : 0}\n onPointerEnter={event => event.pointerType === 'mouse' && open(openDelay)}\n onPointerLeave={event => {\n cancelLongPress();\n if (event.pointerType === 'mouse') close();\n }}\n onPointerDown={handlePointerDown}\n onPointerUp={cancelLongPress}\n onPointerCancel={cancelLongPress}\n onFocus={() => open(0)}\n onBlur={() => close(0)}\n onContextMenu={event => {\n if (isOpen || longPressRef.current) event.preventDefault();\n }}\n >\n <span aria-describedby={isOpen ? id : undefined} className={styles.tooltip__trigger}>\n {children}\n </span>\n </span>\n\n {/*\n Balon DOM'da yalnizca ACIKKEN: kapaliyken de birakip gizlemek, ekran\n okuyucunun onu `aria-describedby` olmadan da bulup okumasina yol\n aciyordu.\n */}\n {isOpen &&\n portal.container &&\n createPortal(\n <span\n ref={bubbleRef}\n /* ⚠ Modal içinden açıldığında üst katman ZORUNLU — `portal.helper`. */\n {...portal.attributes}\n id={id}\n role=\"tooltip\"\n className={cx(styles.bubble, styles[`bubble--${positioning.side}`])}\n style={{\n ...positioning.style,\n ...portal.style,\n /* Olculmeden cizilen balon bir kare boyunca sol ust kosede parliyordu. */\n visibility: positioning.isPositioned ? 'visible' : 'hidden',\n }}\n >\n {content}\n </span>,\n portal.container,\n )}\n </>\n );\n};\n\nexport default /*#__PURE__*/ memo(/*#__PURE__*/ named(Tooltip, 'Tooltip')) as typeof Tooltip;\n"],"names":["CLOSE_DELAY","LONG_PRESS_DELAY","OPEN_DELAY","Tooltip","content","children","side","position","openDelay","className","isOpen","setIsOpen","useState","id","useId","resolvedSide","anchorRef","useRef","bubbleRef","timerRef","longPressRef","staticallyFocusableChild","useMemo","isValidElement","type","props","hasFocusableDescendant","setHasFocusableDescendant","useEffect","node","hasFocusableChild","positioning","usePositioning","portal","usePortalSurface","clearTimer","useCallback","open","delay","close","closeNow","useDismissOnEscape","handlePointerDown","event","_a","cancelLongPress","jsxs","Fragment","jsx","cx","styles","createPortal","index","memo","named"],"mappings":"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"}
@@ -0,0 +1 @@
1
+ @layer ui{.ui-tooltip-RG1g1{display:inline-flex}.ui-tooltip__trigger-nWZtO{display:inline-flex;align-items:center}.ui-bubble-bcBNk{z-index:var(--hd-z-tooltip);pointer-events:none;width:max-content;max-width:min(280px,100vw - var(--hd-space-6));padding:var(--hd-space-2) var(--hd-space-3);border-radius:var(--hd-radius-xs);background-color:var(--hd-bg-overlay);border:1px solid var(--hd-border-strong);box-shadow:var(--hd-shadow-2);color:var(--hd-text);font-size:var(--hd-type-caption-size);font-weight:var(--hd-font-weight-regular);line-height:var(--hd-type-body-line-height);text-align:start}.ui-bubble--top-uWSZy{animation:var(--ui-anim-fade-in-up) var(--hd-duration-fast) var(--hd-ease-standard)}.ui-bubble--bottom-jKokL{animation:var(--ui-anim-fade-in-down) var(--hd-duration-fast) var(--hd-ease-standard)}.ui-bubble--left-WK4EM,.ui-bubble--right-EQjUT{animation:var(--ui-anim-fade-in) var(--hd-duration-fast) var(--hd-ease-standard)}@media (prefers-reduced-motion: reduce){.ui-bubble-bcBNk{animation:none}}@media (forced-colors: active){.ui-bubble-bcBNk{border-color:CanvasText}}}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("@handijit/design"),_=E.breakpoints.sm,A=E.breakpoints.md,T=E.breakpoints.lg,n=`(min-width: ${T+1}px)`,t=`(min-width: ${_+1}px)`,o=`(max-width: ${_}px) and (pointer: coarse)`,B="(hover: none) and (pointer: coarse)";exports.ABOVE_MOBILE_MEDIA_QUERY=t;exports.ABOVE_TABLET_MEDIA_QUERY=n;exports.MOBILE_BREAKPOINT=_;exports.SHEET_MEDIA_QUERY=o;exports.TABLET_BREAKPOINT=T;exports.TABLET_PORTRAIT_BREAKPOINT=A;exports.TOUCH_MEDIA_QUERY=B;
2
+ //# sourceMappingURL=breakpoint.constants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoint.constants.cjs","sources":["../../src/constants/breakpoint.constants.ts"],"sourcesContent":["import { breakpoints } from '@handijit/design';\n\n/** Breakpoints — the values of `@handijit/design` (`$breakpoint-*` in `styles/_variables.scss`). */\nexport const MOBILE_BREAKPOINT = breakpoints.sm;\n\nexport const TABLET_PORTRAIT_BREAKPOINT = breakpoints.md;\n\nexport const TABLET_BREAKPOINT = breakpoints.lg;\n\n/** A sidebar is on screen above this width, so a filter panel is hidden there. */\nexport const ABOVE_TABLET_MEDIA_QUERY = `(min-width: ${TABLET_BREAKPOINT + 1}px)`;\n\nexport const ABOVE_MOBILE_MEDIA_QUERY = `(min-width: ${MOBILE_BREAKPOINT + 1}px)`;\n\n/**\n * When a select-like control opens a bottom sheet instead of a dropdown: a NARROW viewport on a\n * TOUCH device. A desktop window is never a sheet, however narrow — a pointer reaches a dropdown\n * next to the trigger faster than a sheet at the bottom edge of the window.\n */\nexport const SHEET_MEDIA_QUERY = `(max-width: ${MOBILE_BREAKPOINT}px) and (pointer: coarse)`;\n\n/** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */\nexport const TOUCH_MEDIA_QUERY = '(hover: none) and (pointer: coarse)';\n"],"names":["MOBILE_BREAKPOINT","breakpoints","TABLET_PORTRAIT_BREAKPOINT","TABLET_BREAKPOINT","ABOVE_TABLET_MEDIA_QUERY","ABOVE_MOBILE_MEDIA_QUERY","SHEET_MEDIA_QUERY","TOUCH_MEDIA_QUERY"],"mappings":"oHAGaA,EAAoBC,EAAAA,YAAY,GAEhCC,EAA6BD,EAAAA,YAAY,GAEzCE,EAAoBF,EAAAA,YAAY,GAGhCG,EAA2B,eAAeD,EAAoB,CAAC,MAE/DE,EAA2B,eAAeL,EAAoB,CAAC,MAO/DM,EAAoB,eAAeN,CAAiB,4BAGpDO,EAAoB"}
@@ -0,0 +1,15 @@
1
+ /** Breakpoints — the values of `@handijit/design` (`$breakpoint-*` in `styles/_variables.scss`). */
2
+ export declare const MOBILE_BREAKPOINT: number;
3
+ export declare const TABLET_PORTRAIT_BREAKPOINT: number;
4
+ export declare const TABLET_BREAKPOINT: number;
5
+ /** A sidebar is on screen above this width, so a filter panel is hidden there. */
6
+ export declare const ABOVE_TABLET_MEDIA_QUERY: string;
7
+ export declare const ABOVE_MOBILE_MEDIA_QUERY: string;
8
+ /**
9
+ * When a select-like control opens a bottom sheet instead of a dropdown: a NARROW viewport on a
10
+ * TOUCH device. A desktop window is never a sheet, however narrow — a pointer reaches a dropdown
11
+ * next to the trigger faster than a sheet at the bottom edge of the window.
12
+ */
13
+ export declare const SHEET_MEDIA_QUERY: string;
14
+ /** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */
15
+ export declare const TOUCH_MEDIA_QUERY = "(hover: none) and (pointer: coarse)";
@@ -0,0 +1,15 @@
1
+ /** Breakpoints — the values of `@handijit/design` (`$breakpoint-*` in `styles/_variables.scss`). */
2
+ export declare const MOBILE_BREAKPOINT: number;
3
+ export declare const TABLET_PORTRAIT_BREAKPOINT: number;
4
+ export declare const TABLET_BREAKPOINT: number;
5
+ /** A sidebar is on screen above this width, so a filter panel is hidden there. */
6
+ export declare const ABOVE_TABLET_MEDIA_QUERY: string;
7
+ export declare const ABOVE_MOBILE_MEDIA_QUERY: string;
8
+ /**
9
+ * When a select-like control opens a bottom sheet instead of a dropdown: a NARROW viewport on a
10
+ * TOUCH device. A desktop window is never a sheet, however narrow — a pointer reaches a dropdown
11
+ * next to the trigger faster than a sheet at the bottom edge of the window.
12
+ */
13
+ export declare const SHEET_MEDIA_QUERY: string;
14
+ /** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */
15
+ export declare const TOUCH_MEDIA_QUERY = "(hover: none) and (pointer: coarse)";
@@ -0,0 +1,12 @@
1
+ import { breakpoints as E } from "@handijit/design";
2
+ const o = E.sm, _ = E.md, n = E.lg, A = `(min-width: ${n + 1}px)`, T = `(min-width: ${o + 1}px)`, s = `(max-width: ${o}px) and (pointer: coarse)`, B = "(hover: none) and (pointer: coarse)";
3
+ export {
4
+ T as ABOVE_MOBILE_MEDIA_QUERY,
5
+ A as ABOVE_TABLET_MEDIA_QUERY,
6
+ o as MOBILE_BREAKPOINT,
7
+ s as SHEET_MEDIA_QUERY,
8
+ n as TABLET_BREAKPOINT,
9
+ _ as TABLET_PORTRAIT_BREAKPOINT,
10
+ B as TOUCH_MEDIA_QUERY
11
+ };
12
+ //# sourceMappingURL=breakpoint.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoint.constants.js","sources":["../../src/constants/breakpoint.constants.ts"],"sourcesContent":["import { breakpoints } from '@handijit/design';\n\n/** Breakpoints — the values of `@handijit/design` (`$breakpoint-*` in `styles/_variables.scss`). */\nexport const MOBILE_BREAKPOINT = breakpoints.sm;\n\nexport const TABLET_PORTRAIT_BREAKPOINT = breakpoints.md;\n\nexport const TABLET_BREAKPOINT = breakpoints.lg;\n\n/** A sidebar is on screen above this width, so a filter panel is hidden there. */\nexport const ABOVE_TABLET_MEDIA_QUERY = `(min-width: ${TABLET_BREAKPOINT + 1}px)`;\n\nexport const ABOVE_MOBILE_MEDIA_QUERY = `(min-width: ${MOBILE_BREAKPOINT + 1}px)`;\n\n/**\n * When a select-like control opens a bottom sheet instead of a dropdown: a NARROW viewport on a\n * TOUCH device. A desktop window is never a sheet, however narrow — a pointer reaches a dropdown\n * next to the trigger faster than a sheet at the bottom edge of the window.\n */\nexport const SHEET_MEDIA_QUERY = `(max-width: ${MOBILE_BREAKPOINT}px) and (pointer: coarse)`;\n\n/** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */\nexport const TOUCH_MEDIA_QUERY = '(hover: none) and (pointer: coarse)';\n"],"names":["MOBILE_BREAKPOINT","breakpoints","TABLET_PORTRAIT_BREAKPOINT","TABLET_BREAKPOINT","ABOVE_TABLET_MEDIA_QUERY","ABOVE_MOBILE_MEDIA_QUERY","SHEET_MEDIA_QUERY","TOUCH_MEDIA_QUERY"],"mappings":";AAGO,MAAMA,IAAoBC,EAAY,IAEhCC,IAA6BD,EAAY,IAEzCE,IAAoBF,EAAY,IAGhCG,IAA2B,eAAeD,IAAoB,CAAC,OAE/DE,IAA2B,eAAeL,IAAoB,CAAC,OAO/DM,IAAoB,eAAeN,CAAiB,6BAGpDO,IAAoB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=80,H=40,t=300;exports.OPTION_HEIGHT=H;exports.SEARCH_DEBOUNCE_MS=t;exports.VIRTUAL_THRESHOLD=E;
2
+ //# sourceMappingURL=combobox.constants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.constants.cjs","sources":["../../src/constants/combobox.constants.ts"],"sourcesContent":["/** Aranabilir seçim kutusunun ölçüleri. */\n\n/** Sanallaştırmanın devreye girdiği eşik. */\nexport const VIRTUAL_THRESHOLD = 80;\n\n/** Seçenek satırının yüksekliği (`--sheet` dışında). */\nexport const OPTION_HEIGHT = 40;\n\n/**\n * Uzak arama tetiklenmeden önce beklenen süre — her tuşta istek atılmaz.\n * ⚠ `Tooltip.openDelay` da 300 ms ama İKİSİ AYNI ŞEY DEĞİL: biri ağ isteğini geciktirir, diğeri\n * balonun açılmasını.\n */\nexport const SEARCH_DEBOUNCE_MS = 300;\n"],"names":["VIRTUAL_THRESHOLD","OPTION_HEIGHT","SEARCH_DEBOUNCE_MS"],"mappings":"gFAGO,MAAMA,EAAoB,GAGpBC,EAAgB,GAOhBC,EAAqB"}
@@ -0,0 +1,11 @@
1
+ /** Aranabilir seçim kutusunun ölçüleri. */
2
+ /** Sanallaştırmanın devreye girdiği eşik. */
3
+ export declare const VIRTUAL_THRESHOLD = 80;
4
+ /** Seçenek satırının yüksekliği (`--sheet` dışında). */
5
+ export declare const OPTION_HEIGHT = 40;
6
+ /**
7
+ * Uzak arama tetiklenmeden önce beklenen süre — her tuşta istek atılmaz.
8
+ * ⚠ `Tooltip.openDelay` da 300 ms ama İKİSİ AYNI ŞEY DEĞİL: biri ağ isteğini geciktirir, diğeri
9
+ * balonun açılmasını.
10
+ */
11
+ export declare const SEARCH_DEBOUNCE_MS = 300;
@@ -0,0 +1,11 @@
1
+ /** Aranabilir seçim kutusunun ölçüleri. */
2
+ /** Sanallaştırmanın devreye girdiği eşik. */
3
+ export declare const VIRTUAL_THRESHOLD = 80;
4
+ /** Seçenek satırının yüksekliği (`--sheet` dışında). */
5
+ export declare const OPTION_HEIGHT = 40;
6
+ /**
7
+ * Uzak arama tetiklenmeden önce beklenen süre — her tuşta istek atılmaz.
8
+ * ⚠ `Tooltip.openDelay` da 300 ms ama İKİSİ AYNI ŞEY DEĞİL: biri ağ isteğini geciktirir, diğeri
9
+ * balonun açılmasını.
10
+ */
11
+ export declare const SEARCH_DEBOUNCE_MS = 300;
@@ -0,0 +1,7 @@
1
+ const E = 80, H = 40, o = 300;
2
+ export {
3
+ H as OPTION_HEIGHT,
4
+ o as SEARCH_DEBOUNCE_MS,
5
+ E as VIRTUAL_THRESHOLD
6
+ };
7
+ //# sourceMappingURL=combobox.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.constants.js","sources":["../../src/constants/combobox.constants.ts"],"sourcesContent":["/** Aranabilir seçim kutusunun ölçüleri. */\n\n/** Sanallaştırmanın devreye girdiği eşik. */\nexport const VIRTUAL_THRESHOLD = 80;\n\n/** Seçenek satırının yüksekliği (`--sheet` dışında). */\nexport const OPTION_HEIGHT = 40;\n\n/**\n * Uzak arama tetiklenmeden önce beklenen süre — her tuşta istek atılmaz.\n * ⚠ `Tooltip.openDelay` da 300 ms ama İKİSİ AYNI ŞEY DEĞİL: biri ağ isteğini geciktirir, diğeri\n * balonun açılmasını.\n */\nexport const SEARCH_DEBOUNCE_MS = 300;\n"],"names":["VIRTUAL_THRESHOLD","OPTION_HEIGHT","SEARCH_DEBOUNCE_MS"],"mappings":"AAGO,MAAMA,IAAoB,IAGpBC,IAAgB,IAOhBC,IAAqB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=4,T=6,S=2,_=4;exports.PCT2_DIGITS=S;exports.QTY4_DIGITS=I;exports.RATE6_DIGITS=T;exports.RATE_MIN_SHOWN_DIGITS=_;
2
+ //# sourceMappingURL=scale.constants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scale.constants.cjs","sources":["../../src/constants/scale.constants.ts"],"sourcesContent":["/**\n * The fixed scales of the data contract (§4.1) — the decimal places each scaled type carries.\n * The single owner of the types is `@handijit/decimal`; `ui` cannot import it (a platform package\n * under it), so the numbers are repeated here and only here. Money has no fixed scale: it is the\n * minor unit of its currency (`MoneyInput.minorDigits`).\n */\nexport const QTY4_DIGITS = 4;\nexport const RATE6_DIGITS = 6;\nexport const PCT2_DIGITS = 2;\n\n/** `formatRate` of app-kit shows at least four places (\"34,1235\"); the field matches it. */\nexport const RATE_MIN_SHOWN_DIGITS = 4;\n"],"names":["QTY4_DIGITS","RATE6_DIGITS","PCT2_DIGITS","RATE_MIN_SHOWN_DIGITS"],"mappings":"gFAMO,MAAMA,EAAc,EACdC,EAAe,EACfC,EAAc,EAGdC,EAAwB"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The fixed scales of the data contract (§4.1) — the decimal places each scaled type carries.
3
+ * The single owner of the types is `@handijit/decimal`; `ui` cannot import it (a platform package
4
+ * under it), so the numbers are repeated here and only here. Money has no fixed scale: it is the
5
+ * minor unit of its currency (`MoneyInput.minorDigits`).
6
+ */
7
+ export declare const QTY4_DIGITS = 4;
8
+ export declare const RATE6_DIGITS = 6;
9
+ export declare const PCT2_DIGITS = 2;
10
+ /** `formatRate` of app-kit shows at least four places ("34,1235"); the field matches it. */
11
+ export declare const RATE_MIN_SHOWN_DIGITS = 4;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The fixed scales of the data contract (§4.1) — the decimal places each scaled type carries.
3
+ * The single owner of the types is `@handijit/decimal`; `ui` cannot import it (a platform package
4
+ * under it), so the numbers are repeated here and only here. Money has no fixed scale: it is the
5
+ * minor unit of its currency (`MoneyInput.minorDigits`).
6
+ */
7
+ export declare const QTY4_DIGITS = 4;
8
+ export declare const RATE6_DIGITS = 6;
9
+ export declare const PCT2_DIGITS = 2;
10
+ /** `formatRate` of app-kit shows at least four places ("34,1235"); the field matches it. */
11
+ export declare const RATE_MIN_SHOWN_DIGITS = 4;
@@ -0,0 +1,8 @@
1
+ const I = 4, T = 6, _ = 2, o = 4;
2
+ export {
3
+ _ as PCT2_DIGITS,
4
+ I as QTY4_DIGITS,
5
+ T as RATE6_DIGITS,
6
+ o as RATE_MIN_SHOWN_DIGITS
7
+ };
8
+ //# sourceMappingURL=scale.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scale.constants.js","sources":["../../src/constants/scale.constants.ts"],"sourcesContent":["/**\n * The fixed scales of the data contract (§4.1) — the decimal places each scaled type carries.\n * The single owner of the types is `@handijit/decimal`; `ui` cannot import it (a platform package\n * under it), so the numbers are repeated here and only here. Money has no fixed scale: it is the\n * minor unit of its currency (`MoneyInput.minorDigits`).\n */\nexport const QTY4_DIGITS = 4;\nexport const RATE6_DIGITS = 6;\nexport const PCT2_DIGITS = 2;\n\n/** `formatRate` of app-kit shows at least four places (\"34,1235\"); the field matches it. */\nexport const RATE_MIN_SHOWN_DIGITS = 4;\n"],"names":["QTY4_DIGITS","RATE6_DIGITS","PCT2_DIGITS","RATE_MIN_SHOWN_DIGITS"],"mappings":"AAMO,MAAMA,IAAc,GACdC,IAAe,GACfC,IAAc,GAGdC,IAAwB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=80;exports.STICK_TO_END_THRESHOLD=e;
2
+ //# sourceMappingURL=scroll.constants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll.constants.cjs","sources":["../../src/constants/scroll.constants.ts"],"sourcesContent":["/**\n * Sona YAPIŞIK sayılma payı (px). Kullanıcı bu kadar yukarıdaysa akış onu aşağı çekmeye devam eder;\n * daha yukarı kaydırdıysa okuduğu yerde bırakılır.\n * ⚠ 0 değil: akan içerik her karede birkaç piksel büyüyor ve kesirli yerleşimde kutu sona tam\n * oturmuyor — sıfır pay, kullanıcı hiç kaydırmadan \"bıraktı\" sayılıyordu.\n */\nexport const STICK_TO_END_THRESHOLD = 80;\n"],"names":["STICK_TO_END_THRESHOLD"],"mappings":"gFAMO,MAAMA,EAAyB"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Sona YAPIŞIK sayılma payı (px). Kullanıcı bu kadar yukarıdaysa akış onu aşağı çekmeye devam eder;
3
+ * daha yukarı kaydırdıysa okuduğu yerde bırakılır.
4
+ * ⚠ 0 değil: akan içerik her karede birkaç piksel büyüyor ve kesirli yerleşimde kutu sona tam
5
+ * oturmuyor — sıfır pay, kullanıcı hiç kaydırmadan "bıraktı" sayılıyordu.
6
+ */
7
+ export declare const STICK_TO_END_THRESHOLD = 80;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Sona YAPIŞIK sayılma payı (px). Kullanıcı bu kadar yukarıdaysa akış onu aşağı çekmeye devam eder;
3
+ * daha yukarı kaydırdıysa okuduğu yerde bırakılır.
4
+ * ⚠ 0 değil: akan içerik her karede birkaç piksel büyüyor ve kesirli yerleşimde kutu sona tam
5
+ * oturmuyor — sıfır pay, kullanıcı hiç kaydırmadan "bıraktı" sayılıyordu.
6
+ */
7
+ export declare const STICK_TO_END_THRESHOLD = 80;
@@ -0,0 +1,5 @@
1
+ const T = 80;
2
+ export {
3
+ T as STICK_TO_END_THRESHOLD
4
+ };
5
+ //# sourceMappingURL=scroll.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll.constants.js","sources":["../../src/constants/scroll.constants.ts"],"sourcesContent":["/**\n * Sona YAPIŞIK sayılma payı (px). Kullanıcı bu kadar yukarıdaysa akış onu aşağı çekmeye devam eder;\n * daha yukarı kaydırdıysa okuduğu yerde bırakılır.\n * ⚠ 0 değil: akan içerik her karede birkaç piksel büyüyor ve kesirli yerleşimde kutu sona tam\n * oturmuyor — sıfır pay, kullanıcı hiç kaydırmadan \"bıraktı\" sayılıyordu.\n */\nexport const STICK_TO_END_THRESHOLD = 80;\n"],"names":["STICK_TO_END_THRESHOLD"],"mappings":"AAMO,MAAMA,IAAyB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var L=(e=>(e.XSMALL="XSMALL",e.SMALL="SMALL",e.MEDIUM="MEDIUM",e.LARGE="LARGE",e))(L||{});exports.default=L;
2
+ //# sourceMappingURL=ui-size.enum.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-size.enum.cjs","sources":["../../src/enums/ui-size.enum.ts"],"sourcesContent":["/** Size steps. */\nenum UISize {\n /** 28px tall — dense toolbars and the top band. The touch target stays 44px (`tap-target`). */\n XSMALL = 'XSMALL',\n /** 32px tall. */\n SMALL = 'SMALL',\n /** 40px tall. */\n MEDIUM = 'MEDIUM',\n /** 48px tall. */\n LARGE = 'LARGE',\n}\n\nexport default UISize;\n"],"names":["UISize"],"mappings":"4GACA,IAAKA,GAAAA,IAEHA,EAAA,OAAS,SAETA,EAAA,MAAQ,QAERA,EAAA,OAAS,SAETA,EAAA,MAAQ,QARLA,IAAAA,GAAA,CAAA,CAAA"}
@@ -0,0 +1,12 @@
1
+ /** Size steps. */
2
+ declare enum UISize {
3
+ /** 28px tall — dense toolbars and the top band. The touch target stays 44px (`tap-target`). */
4
+ XSMALL = "XSMALL",
5
+ /** 32px tall. */
6
+ SMALL = "SMALL",
7
+ /** 40px tall. */
8
+ MEDIUM = "MEDIUM",
9
+ /** 48px tall. */
10
+ LARGE = "LARGE"
11
+ }
12
+ export default UISize;
@@ -0,0 +1,12 @@
1
+ /** Size steps. */
2
+ declare enum UISize {
3
+ /** 28px tall — dense toolbars and the top band. The touch target stays 44px (`tap-target`). */
4
+ XSMALL = "XSMALL",
5
+ /** 32px tall. */
6
+ SMALL = "SMALL",
7
+ /** 40px tall. */
8
+ MEDIUM = "MEDIUM",
9
+ /** 48px tall. */
10
+ LARGE = "LARGE"
11
+ }
12
+ export default UISize;
@@ -0,0 +1,5 @@
1
+ var M = /* @__PURE__ */ ((L) => (L.XSMALL = "XSMALL", L.SMALL = "SMALL", L.MEDIUM = "MEDIUM", L.LARGE = "LARGE", L))(M || {});
2
+ export {
3
+ M as default
4
+ };
5
+ //# sourceMappingURL=ui-size.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-size.enum.js","sources":["../../src/enums/ui-size.enum.ts"],"sourcesContent":["/** Size steps. */\nenum UISize {\n /** 28px tall — dense toolbars and the top band. The touch target stays 44px (`tap-target`). */\n XSMALL = 'XSMALL',\n /** 32px tall. */\n SMALL = 'SMALL',\n /** 40px tall. */\n MEDIUM = 'MEDIUM',\n /** 48px tall. */\n LARGE = 'LARGE',\n}\n\nexport default UISize;\n"],"names":["UISize"],"mappings":"AACA,IAAKA,sBAAAA,OAEHA,EAAA,SAAS,UAETA,EAAA,QAAQ,SAERA,EAAA,SAAS,UAETA,EAAA,QAAQ,SARLA,IAAAA,KAAA,CAAA,CAAA;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var N=(e=>(e.PRIMARY="PRIMARY",e.ACCENT="ACCENT",e.SECONDARY="SECONDARY",e.OUTLINE="OUTLINE",e.SOFT="SOFT",e.GHOST="GHOST",e.DANGER="DANGER",e.ON_BAND="ON_BAND",e))(N||{});exports.default=N;
2
+ //# sourceMappingURL=ui-variant.enum.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-variant.enum.cjs","sources":["../../src/enums/ui-variant.enum.ts"],"sourcesContent":["/** Button variants. */\nenum UIVariant {\n /** The one expected action of the screen: cobalt fill. One per screen. */\n PRIMARY = 'PRIMARY',\n /** The conversion action (download, try, subscribe): coral fill — and only that. */\n ACCENT = 'ACCENT',\n /** Neutral secondary action: grey border, body text (\"Cancel\"). */\n SECONDARY = 'SECONDARY',\n /** Cobalt frame — an encouraged navigation that is not the primary action (\"See all\"). */\n OUTLINE = 'OUTLINE',\n /** Neutral fill; a secondary action inside a card. */\n SOFT = 'SOFT',\n /** No surface: toolbar and inline secondary actions, in the link colour. */\n GHOST = 'GHOST',\n /** Destructive action: a delete confirmation. */\n DANGER = 'DANGER',\n /** An action on the brand band (deep cobalt in both themes). */\n ON_BAND = 'ON_BAND',\n}\n\nexport default UIVariant;\n"],"names":["UIVariant"],"mappings":"4GACA,IAAKA,GAAAA,IAEHA,EAAA,QAAU,UAEVA,EAAA,OAAS,SAETA,EAAA,UAAY,YAEZA,EAAA,QAAU,UAEVA,EAAA,KAAO,OAEPA,EAAA,MAAQ,QAERA,EAAA,OAAS,SAETA,EAAA,QAAU,UAhBPA,IAAAA,GAAA,CAAA,CAAA"}
@@ -0,0 +1,20 @@
1
+ /** Button variants. */
2
+ declare enum UIVariant {
3
+ /** The one expected action of the screen: cobalt fill. One per screen. */
4
+ PRIMARY = "PRIMARY",
5
+ /** The conversion action (download, try, subscribe): coral fill — and only that. */
6
+ ACCENT = "ACCENT",
7
+ /** Neutral secondary action: grey border, body text ("Cancel"). */
8
+ SECONDARY = "SECONDARY",
9
+ /** Cobalt frame — an encouraged navigation that is not the primary action ("See all"). */
10
+ OUTLINE = "OUTLINE",
11
+ /** Neutral fill; a secondary action inside a card. */
12
+ SOFT = "SOFT",
13
+ /** No surface: toolbar and inline secondary actions, in the link colour. */
14
+ GHOST = "GHOST",
15
+ /** Destructive action: a delete confirmation. */
16
+ DANGER = "DANGER",
17
+ /** An action on the brand band (deep cobalt in both themes). */
18
+ ON_BAND = "ON_BAND"
19
+ }
20
+ export default UIVariant;
@@ -0,0 +1,20 @@
1
+ /** Button variants. */
2
+ declare enum UIVariant {
3
+ /** The one expected action of the screen: cobalt fill. One per screen. */
4
+ PRIMARY = "PRIMARY",
5
+ /** The conversion action (download, try, subscribe): coral fill — and only that. */
6
+ ACCENT = "ACCENT",
7
+ /** Neutral secondary action: grey border, body text ("Cancel"). */
8
+ SECONDARY = "SECONDARY",
9
+ /** Cobalt frame — an encouraged navigation that is not the primary action ("See all"). */
10
+ OUTLINE = "OUTLINE",
11
+ /** Neutral fill; a secondary action inside a card. */
12
+ SOFT = "SOFT",
13
+ /** No surface: toolbar and inline secondary actions, in the link colour. */
14
+ GHOST = "GHOST",
15
+ /** Destructive action: a delete confirmation. */
16
+ DANGER = "DANGER",
17
+ /** An action on the brand band (deep cobalt in both themes). */
18
+ ON_BAND = "ON_BAND"
19
+ }
20
+ export default UIVariant;
@@ -0,0 +1,5 @@
1
+ var A = /* @__PURE__ */ ((N) => (N.PRIMARY = "PRIMARY", N.ACCENT = "ACCENT", N.SECONDARY = "SECONDARY", N.OUTLINE = "OUTLINE", N.SOFT = "SOFT", N.GHOST = "GHOST", N.DANGER = "DANGER", N.ON_BAND = "ON_BAND", N))(A || {});
2
+ export {
3
+ A as default
4
+ };
5
+ //# sourceMappingURL=ui-variant.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-variant.enum.js","sources":["../../src/enums/ui-variant.enum.ts"],"sourcesContent":["/** Button variants. */\nenum UIVariant {\n /** The one expected action of the screen: cobalt fill. One per screen. */\n PRIMARY = 'PRIMARY',\n /** The conversion action (download, try, subscribe): coral fill — and only that. */\n ACCENT = 'ACCENT',\n /** Neutral secondary action: grey border, body text (\"Cancel\"). */\n SECONDARY = 'SECONDARY',\n /** Cobalt frame — an encouraged navigation that is not the primary action (\"See all\"). */\n OUTLINE = 'OUTLINE',\n /** Neutral fill; a secondary action inside a card. */\n SOFT = 'SOFT',\n /** No surface: toolbar and inline secondary actions, in the link colour. */\n GHOST = 'GHOST',\n /** Destructive action: a delete confirmation. */\n DANGER = 'DANGER',\n /** An action on the brand band (deep cobalt in both themes). */\n ON_BAND = 'ON_BAND',\n}\n\nexport default UIVariant;\n"],"names":["UIVariant"],"mappings":"AACA,IAAKA,sBAAAA,OAEHA,EAAA,UAAU,WAEVA,EAAA,SAAS,UAETA,EAAA,YAAY,aAEZA,EAAA,UAAU,WAEVA,EAAA,OAAO,QAEPA,EAAA,QAAQ,SAERA,EAAA,SAAS,UAETA,EAAA,UAAU,WAhBPA,IAAAA,KAAA,CAAA,CAAA;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=(...e)=>[...new Set(e.flatMap(t=>t?t.split(/\s+/):[]).filter(Boolean))].join(" ")||void 0;exports.idList=i;
2
+ //# sourceMappingURL=aria.helper.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aria.helper.cjs","sources":["../../src/helpers/aria.helper.ts"],"sourcesContent":["/**\n * An id reference list (`aria-describedby`, `aria-labelledby`): the given ids in order, each once,\n * empty entries dropped, `undefined` when nothing is left (an empty attribute points at nothing).\n * An entry may itself be a list (`\"a b\"`): a passed `aria-describedby` that already names the\n * control's hint does not make the hint read twice.\n */\nexport const idList = (...ids: (string | false | null | undefined)[]): string | undefined =>\n [...new Set(ids.flatMap(id => (id ? id.split(/\\s+/) : [])).filter(Boolean))].join(' ') ||\n undefined;\n"],"names":["idList","ids","id"],"mappings":"gFAMO,MAAMA,EAAS,IAAIC,IACxB,CAAC,GAAG,IAAI,IAAIA,EAAI,QAAQC,GAAOA,EAAKA,EAAG,MAAM,KAAK,EAAI,CAAA,CAAG,EAAE,OAAO,OAAO,CAAC,CAAC,EAAE,KAAK,GAAG,GACrF"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * An id reference list (`aria-describedby`, `aria-labelledby`): the given ids in order, each once,
3
+ * empty entries dropped, `undefined` when nothing is left (an empty attribute points at nothing).
4
+ * An entry may itself be a list (`"a b"`): a passed `aria-describedby` that already names the
5
+ * control's hint does not make the hint read twice.
6
+ */
7
+ export declare const idList: (...ids: (string | false | null | undefined)[]) => string | undefined;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * An id reference list (`aria-describedby`, `aria-labelledby`): the given ids in order, each once,
3
+ * empty entries dropped, `undefined` when nothing is left (an empty attribute points at nothing).
4
+ * An entry may itself be a list (`"a b"`): a passed `aria-describedby` that already names the
5
+ * control's hint does not make the hint read twice.
6
+ */
7
+ export declare const idList: (...ids: (string | false | null | undefined)[]) => string | undefined;
@@ -0,0 +1,5 @@
1
+ const e = (...o) => [...new Set(o.flatMap((t) => t ? t.split(/\s+/) : []).filter(Boolean))].join(" ") || void 0;
2
+ export {
3
+ e as idList
4
+ };
5
+ //# sourceMappingURL=aria.helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aria.helper.js","sources":["../../src/helpers/aria.helper.ts"],"sourcesContent":["/**\n * An id reference list (`aria-describedby`, `aria-labelledby`): the given ids in order, each once,\n * empty entries dropped, `undefined` when nothing is left (an empty attribute points at nothing).\n * An entry may itself be a list (`\"a b\"`): a passed `aria-describedby` that already names the\n * control's hint does not make the hint read twice.\n */\nexport const idList = (...ids: (string | false | null | undefined)[]): string | undefined =>\n [...new Set(ids.flatMap(id => (id ? id.split(/\\s+/) : [])).filter(Boolean))].join(' ') ||\n undefined;\n"],"names":["idList","ids","id"],"mappings":"AAMO,MAAMA,IAAS,IAAIC,MACxB,CAAC,GAAG,IAAI,IAAIA,EAAI,QAAQ,CAAAC,MAAOA,IAAKA,EAAG,MAAM,KAAK,IAAI,CAAA,CAAG,EAAE,OAAO,OAAO,CAAC,CAAC,EAAE,KAAK,GAAG,KACrF;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=(...o)=>{let e="";for(const t of o)t&&(e=e===""?t:`${e} ${t}`);return e};exports.cx=r;
2
+ //# sourceMappingURL=class-name.helper.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class-name.helper.cjs","sources":["../../src/helpers/class-name.helper.ts"],"sourcesContent":["import { ClassValue } from '@/types/common-element-props.type';\n\n/** Sınıf adı birleştirici. */\nexport const cx = (...values: ClassValue[]): string => {\n let result = '';\n\n for (const value of values) {\n if (!value) continue;\n result = result === '' ? value : `${result} ${value}`;\n }\n\n return result;\n};\n"],"names":["cx","values","result","value"],"mappings":"gFAGO,MAAMA,EAAK,IAAIC,IAAiC,CACrD,IAAIC,EAAS,GAEb,UAAWC,KAASF,EACbE,IACLD,EAASA,IAAW,GAAKC,EAAQ,GAAGD,CAAM,IAAIC,CAAK,IAGrD,OAAOD,CACT"}
@@ -0,0 +1,3 @@
1
+ import { ClassValue } from '../types/common-element-props.type.cjs';
2
+ /** Sınıf adı birleştirici. */
3
+ export declare const cx: (...values: ClassValue[]) => string;
@@ -0,0 +1,3 @@
1
+ import { ClassValue } from '../types/common-element-props.type.js';
2
+ /** Sınıf adı birleştirici. */
3
+ export declare const cx: (...values: ClassValue[]) => string;