@inntechcorp/it-design 4.0.0-beta.1 → 4.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (757) hide show
  1. package/dist/accordion/index.d.ts +2 -2
  2. package/dist/accordion/item/styled.d.ts +2 -2
  3. package/dist/accordion/submenu/styled.d.ts +5 -5
  4. package/dist/alert/index.d.ts +3 -3
  5. package/dist/alink/index.d.ts +1 -1
  6. package/dist/alink/styled.d.ts +1 -1
  7. package/dist/back-top/styled.d.ts +2 -2
  8. package/dist/button/index.d.ts +2 -2
  9. package/dist/calendar/day/Day.d.ts +2 -2
  10. package/dist/calendar/day/styled.d.ts +1 -1
  11. package/dist/calendar/header/styled.d.ts +6 -6
  12. package/dist/calendar/index.d.ts +2 -2
  13. package/dist/calendar/styled.d.ts +6 -6
  14. package/dist/card/CardFooter.d.ts +0 -1
  15. package/dist/card/index.d.ts +8 -8
  16. package/dist/checkbox/group/index.d.ts +1 -1
  17. package/dist/checkbox/index.d.ts +1 -1
  18. package/dist/cjs/_virtual/_commonjsHelpers.js +1 -0
  19. package/dist/cjs/_virtual/customParseFormat.js +1 -0
  20. package/dist/cjs/_virtual/customParseFormat2.js +1 -0
  21. package/dist/cjs/_virtual/dayjs.min.js +1 -0
  22. package/dist/cjs/_virtual/dayjs.min2.js +1 -0
  23. package/dist/cjs/_virtual/localizedFormat.js +1 -0
  24. package/dist/cjs/_virtual/localizedFormat2.js +1 -0
  25. package/dist/cjs/_virtual/react.js +1 -0
  26. package/dist/cjs/accordion/index.js +1 -0
  27. package/dist/cjs/accordion/item/Item.js +1 -0
  28. package/dist/cjs/accordion/item/styled.js +20 -0
  29. package/dist/cjs/accordion/styled.js +15 -0
  30. package/dist/cjs/accordion/submenu/SubMenu.js +1 -0
  31. package/dist/cjs/accordion/submenu/styled.js +214 -0
  32. package/dist/cjs/alert/Description.js +1 -0
  33. package/dist/cjs/alert/Title.js +1 -0
  34. package/dist/cjs/alert/index.js +1 -0
  35. package/dist/cjs/alink/index.js +1 -0
  36. package/dist/cjs/alink/styled.js +5 -0
  37. package/dist/cjs/back-top/index.js +1 -0
  38. package/dist/cjs/back-top/styled.js +25 -0
  39. package/dist/cjs/button/index.js +1 -0
  40. package/dist/cjs/calendar/dates.js +1 -0
  41. package/dist/cjs/calendar/day/Day.js +1 -0
  42. package/dist/cjs/calendar/day/styled.js +91 -0
  43. package/dist/cjs/calendar/header/Header.js +1 -0
  44. package/dist/cjs/calendar/header/styled.js +196 -0
  45. package/dist/cjs/calendar/index.js +1 -0
  46. package/dist/cjs/calendar/styled.js +82 -0
  47. package/dist/cjs/card/Card.js +1 -0
  48. package/dist/cjs/card/CardAction.js +1 -0
  49. package/dist/cjs/card/CardContent.js +1 -0
  50. package/dist/cjs/card/CardDescription.js +1 -0
  51. package/dist/cjs/card/CardFooter.js +1 -0
  52. package/dist/cjs/card/CardHeader.js +1 -0
  53. package/dist/cjs/card/CardTabs.js +1 -0
  54. package/dist/cjs/card/CardTitle.js +1 -0
  55. package/dist/cjs/checkbox/group/index.js +1 -0
  56. package/dist/cjs/checkbox/index.js +1 -0
  57. package/dist/cjs/context/ITDContext.js +1 -0
  58. package/dist/cjs/context/ITDThemeProvider.js +1 -0
  59. package/dist/cjs/context/styled.js +15 -0
  60. package/dist/cjs/datepicker/index.js +1 -0
  61. package/dist/cjs/enums/enum.js +1 -0
  62. package/dist/cjs/flex/index.js +1 -0
  63. package/dist/cjs/flex/styled.js +35 -0
  64. package/dist/cjs/floating/Arrow.js +108 -0
  65. package/dist/cjs/floating/FloatingContent.js +38 -0
  66. package/dist/cjs/form/context/FormContext.js +1 -0
  67. package/dist/cjs/form/context/FormRegistry.js +1 -0
  68. package/dist/cjs/form/context/FormStore.js +1 -0
  69. package/dist/cjs/form/control/Control.js +1 -0
  70. package/dist/cjs/form/group/Group.js +1 -0
  71. package/dist/cjs/form/index.js +1 -0
  72. package/dist/cjs/form/item/Item.js +1 -0
  73. package/dist/cjs/form/validation/TCIdentity.js +1 -0
  74. package/dist/cjs/form/validation/Validator.js +1 -0
  75. package/dist/cjs/form/wrapper/FormWrapper.js +1 -0
  76. package/dist/cjs/helpers/array/ChunkArray.js +1 -0
  77. package/dist/cjs/helpers/aspectratio/DetermineNewHeight.js +1 -0
  78. package/dist/cjs/helpers/aspectratio/DetermineNewWidth.js +1 -0
  79. package/dist/cjs/helpers/base64/Base64Decode.js +1 -0
  80. package/dist/cjs/helpers/base64/Base64Encode.js +1 -0
  81. package/dist/cjs/helpers/binary/FormatBytes.js +1 -0
  82. package/dist/cjs/helpers/binary/GetTypeByFileType.js +1 -0
  83. package/dist/cjs/helpers/checker/CheckFileURL.js +1 -0
  84. package/dist/cjs/helpers/checker/FileChecker.js +1 -0
  85. package/dist/cjs/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
  86. package/dist/cjs/helpers/country/GetCountryCodeByLanguage.js +1 -0
  87. package/dist/cjs/helpers/css/FindSelector.js +1 -0
  88. package/dist/cjs/helpers/currency/ConvertCurrency.js +1 -0
  89. package/dist/cjs/helpers/currency/GetByCurrency.js +1 -0
  90. package/dist/cjs/helpers/currency/GetCurrencyFormat.js +1 -0
  91. package/dist/cjs/helpers/currency/GetCurrencySymbol.js +1 -0
  92. package/dist/cjs/helpers/currency/GetDecimalByCurrency.js +1 -0
  93. package/dist/cjs/helpers/datetime/FormatDate.js +1 -0
  94. package/dist/cjs/helpers/datetime/FormatDateTime.js +1 -0
  95. package/dist/cjs/helpers/datetime/FormatSimpleDate.js +1 -0
  96. package/dist/cjs/helpers/datetime/FormatSimpleDateTime.js +1 -0
  97. package/dist/cjs/helpers/datetime/FormatTime.js +1 -0
  98. package/dist/cjs/helpers/datetime/dayjsSetup.js +1 -0
  99. package/dist/cjs/helpers/format/ToKebabCase.js +1 -0
  100. package/dist/cjs/helpers/json/IsValidJSON.js +1 -0
  101. package/dist/cjs/helpers/math/AddZero.js +1 -0
  102. package/dist/cjs/helpers/promise/Wait.js +1 -0
  103. package/dist/cjs/helpers/remover/RemoveUnits.js +1 -0
  104. package/dist/cjs/helpers/string/UniUpperCase.js +1 -0
  105. package/dist/cjs/helpers/svg/SVGLoader.js +1 -0
  106. package/dist/cjs/helpers/svg/styles.js +22 -0
  107. package/dist/cjs/helpers/theme/AddDefaultThemeStyle.js +1 -0
  108. package/dist/cjs/helpers/theme/Color.js +1 -0
  109. package/dist/cjs/helpers/theme/GenerateColorScale.js +1 -0
  110. package/dist/cjs/helpers/theme/createTheme.js +1 -0
  111. package/dist/cjs/helpers/theme/cssVariables.js +1 -0
  112. package/dist/cjs/helpers/theme/dark.js +1 -0
  113. package/dist/cjs/helpers/theme/light.js +1 -0
  114. package/dist/cjs/helpers/theme/presets.js +1 -0
  115. package/dist/cjs/helpers/theme/tokens.js +1 -0
  116. package/dist/cjs/helpers/unit/AddDefaultUnit.js +1 -0
  117. package/dist/cjs/hooks/useAddExternalCSS.js +1 -0
  118. package/dist/cjs/hooks/useAvoidCollision.js +1 -0
  119. package/dist/cjs/hooks/useComponentSize.js +1 -0
  120. package/dist/cjs/hooks/useConnectionStatus.js +1 -0
  121. package/dist/cjs/hooks/useConstructor.js +1 -0
  122. package/dist/cjs/hooks/useContextBridge.js +1 -0
  123. package/dist/cjs/hooks/useCoreFetch.js +1 -0
  124. package/dist/cjs/hooks/useFloatingPosition.js +1 -0
  125. package/dist/cjs/hooks/useFloatingTrigger.js +1 -0
  126. package/dist/cjs/hooks/useFocusTrap.js +1 -0
  127. package/dist/cjs/hooks/useKeyboardShortcut.js +1 -0
  128. package/dist/cjs/hooks/useMultiQuery.js +1 -0
  129. package/dist/cjs/hooks/useOnClickOutside.js +1 -0
  130. package/dist/cjs/hooks/useOnESCKeyDown.js +1 -0
  131. package/dist/cjs/hooks/useOnResize.js +1 -0
  132. package/dist/cjs/hooks/useOrientation.js +1 -0
  133. package/dist/cjs/hooks/useReCaptcha.js +1 -0
  134. package/dist/cjs/hooks/useSingleQuery.js +1 -0
  135. package/dist/cjs/hovercard/HoverCard.js +1 -0
  136. package/dist/cjs/hovercard/HoverCardContent.js +1 -0
  137. package/dist/cjs/hovercard/HoverCardTrigger.js +1 -0
  138. package/dist/cjs/hovercard/hoverCardContext.js +1 -0
  139. package/dist/cjs/html/header/H1.js +1 -0
  140. package/dist/cjs/html/header/H2.js +1 -0
  141. package/dist/cjs/html/header/H3.js +1 -0
  142. package/dist/cjs/html/header/H4.js +1 -0
  143. package/dist/cjs/html/header/styled.js +33 -0
  144. package/dist/cjs/icons/Arrow.js +1 -0
  145. package/dist/cjs/icons/BackToTop.js +1 -0
  146. package/dist/cjs/icons/Checkmark.js +1 -0
  147. package/dist/cjs/icons/InlineSelectArrow.js +1 -0
  148. package/dist/cjs/icons/Lock.js +1 -0
  149. package/dist/cjs/icons/NoData.js +1 -0
  150. package/dist/cjs/icons/Picture.js +1 -0
  151. package/dist/cjs/icons/Trash.js +1 -0
  152. package/dist/cjs/icons/Upload.js +1 -0
  153. package/dist/cjs/icons/ZoomIn.js +1 -0
  154. package/dist/cjs/icons/ZoomOut.js +1 -0
  155. package/dist/cjs/image/index.js +1 -0
  156. package/dist/cjs/image/styled.js +4 -0
  157. package/dist/cjs/index.js +1 -0
  158. package/dist/cjs/input/index.js +1 -0
  159. package/dist/cjs/label/index.js +1 -0
  160. package/dist/cjs/locales/en/calendar.json.js +1 -0
  161. package/dist/cjs/locales/en/itd.json.js +1 -0
  162. package/dist/cjs/locales/tr/calendar.json.js +1 -0
  163. package/dist/cjs/locales/tr/itd.json.js +1 -0
  164. package/dist/cjs/logger/index.js +1 -0
  165. package/dist/cjs/modal/container/ModalContainer.js +1 -0
  166. package/dist/cjs/modal/container/styled.js +18 -0
  167. package/dist/cjs/modal/context/ModalContext.js +1 -0
  168. package/dist/cjs/modal/index.js +1 -0
  169. package/dist/cjs/modal/modal/Modal.js +1 -0
  170. package/dist/cjs/modal/modal/styled.js +128 -0
  171. package/dist/cjs/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +1 -0
  172. package/dist/cjs/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -0
  173. package/dist/cjs/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +1 -0
  174. package/dist/cjs/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +1 -0
  175. package/dist/cjs/node_modules/@react-spring/web/dist/react-spring_web.modern.js +1 -0
  176. package/dist/cjs/node_modules/clsx/dist/clsx.js +1 -0
  177. package/dist/cjs/node_modules/dayjs/dayjs.min.js +1 -0
  178. package/dist/cjs/node_modules/dayjs/plugin/customParseFormat.js +1 -0
  179. package/dist/cjs/node_modules/dayjs/plugin/localizedFormat.js +1 -0
  180. package/dist/cjs/node_modules/fast-deep-equal/react.js +1 -0
  181. package/dist/cjs/node_modules/lodash-es/_Symbol.js +1 -0
  182. package/dist/cjs/node_modules/lodash-es/_arrayMap.js +1 -0
  183. package/dist/cjs/node_modules/lodash-es/_baseGetTag.js +1 -0
  184. package/dist/cjs/node_modules/lodash-es/_baseToString.js +1 -0
  185. package/dist/cjs/node_modules/lodash-es/_freeGlobal.js +1 -0
  186. package/dist/cjs/node_modules/lodash-es/_getRawTag.js +1 -0
  187. package/dist/cjs/node_modules/lodash-es/_objectToString.js +1 -0
  188. package/dist/cjs/node_modules/lodash-es/_root.js +1 -0
  189. package/dist/cjs/node_modules/lodash-es/isArray.js +1 -0
  190. package/dist/cjs/node_modules/lodash-es/isObject.js +1 -0
  191. package/dist/cjs/node_modules/lodash-es/isObjectLike.js +1 -0
  192. package/dist/cjs/node_modules/lodash-es/isSymbol.js +1 -0
  193. package/dist/cjs/node_modules/lodash-es/toString.js +1 -0
  194. package/dist/cjs/node_modules/lodash-es/uniqueId.js +1 -0
  195. package/dist/cjs/node_modules/lucide-react/dist/esm/Icon.js +8 -0
  196. package/dist/cjs/node_modules/lucide-react/dist/esm/createLucideIcon.js +1 -0
  197. package/dist/cjs/node_modules/lucide-react/dist/esm/defaultAttributes.js +1 -0
  198. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/calendar-1.js +8 -0
  199. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/chevron-down.js +8 -0
  200. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/circle-x.js +8 -0
  201. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/eye-off.js +8 -0
  202. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/eye.js +8 -0
  203. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/image-off.js +8 -0
  204. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/info.js +8 -0
  205. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/lock.js +8 -0
  206. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/minus.js +8 -0
  207. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/plus.js +8 -0
  208. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/trash.js +8 -0
  209. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/upload.js +8 -0
  210. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/x.js +8 -0
  211. package/dist/cjs/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
  212. package/dist/cjs/node_modules/overlayscrollbars/overlayscrollbars.js +10 -0
  213. package/dist/cjs/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +1 -0
  214. package/dist/cjs/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
  215. package/dist/cjs/node_modules/rollup-plugin-node-globals/src/global.js +1 -0
  216. package/dist/cjs/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
  217. package/dist/cjs/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -0
  218. package/dist/cjs/notification/container/Container.js +1 -0
  219. package/dist/cjs/notification/container/styled.js +26 -0
  220. package/dist/cjs/notification/context/NotificationsContext.js +1 -0
  221. package/dist/cjs/notification/index.js +1 -0
  222. package/dist/cjs/notification/item/Item.js +1 -0
  223. package/dist/cjs/notification/item/styled.js +42 -0
  224. package/dist/cjs/popover/Popover.js +1 -0
  225. package/dist/cjs/popover/PopoverContent.js +1 -0
  226. package/dist/cjs/popover/PopoverTrigger.js +1 -0
  227. package/dist/cjs/primitives/Slot.js +1 -0
  228. package/dist/cjs/progress/index.js +1 -0
  229. package/dist/cjs/progress/styled.js +59 -0
  230. package/dist/cjs/radio/button/RadioButton.js +1 -0
  231. package/dist/cjs/radio/button/styled.js +133 -0
  232. package/dist/cjs/radio/group/Group.js +1 -0
  233. package/dist/cjs/radio/group/styled.js +7 -0
  234. package/dist/cjs/radio/index.js +1 -0
  235. package/dist/cjs/result/index.js +1 -0
  236. package/dist/cjs/result/styled.js +109 -0
  237. package/dist/cjs/select/dropdown/Dropdown.js +1 -0
  238. package/dist/cjs/select/index.js +1 -0
  239. package/dist/cjs/select/option/Option.js +1 -0
  240. package/dist/cjs/select/selector/Selector.js +1 -0
  241. package/dist/cjs/select/selector/selectorinput/SelectorInput.js +1 -0
  242. package/dist/cjs/spin/index.js +1 -0
  243. package/dist/cjs/status/index.js +1 -0
  244. package/dist/cjs/switch/index.js +1 -0
  245. package/dist/cjs/table/index.js +1 -0
  246. package/dist/cjs/table/styled.js +458 -0
  247. package/dist/cjs/tabs/index.js +1 -0
  248. package/dist/cjs/textarea/index.js +1 -0
  249. package/dist/cjs/tinyscrollbar/index.js +1 -0
  250. package/dist/cjs/tinyscrollbar/scroll.styled.js +21 -0
  251. package/dist/cjs/tooltip/Tooltip.js +1 -0
  252. package/dist/cjs/tooltip/TooltipContent.js +1 -0
  253. package/dist/cjs/tooltip/TooltipTrigger.js +1 -0
  254. package/dist/cjs/tooltip/tooltipContext.js +1 -0
  255. package/dist/cjs/types/InputProps.js +1 -0
  256. package/dist/cjs/upload/index.js +1 -0
  257. package/dist/cjs/utils/CommonStyledComponents.js +1 -0
  258. package/dist/cjs/utils/ErrorAnnouncement.js +1 -0
  259. package/dist/cjs/utils/GetButtonSizeSlug.js +1 -0
  260. package/dist/cjs/utils/GetSizeSlugBySize.js +1 -0
  261. package/dist/cjs/utils/InlineSVGCached.js +1 -0
  262. package/dist/cjs/utils/cn.js +1 -0
  263. package/dist/context/ITDContext.d.ts +4 -2
  264. package/dist/context/ITDThemeProvider.d.ts +6 -3
  265. package/dist/context/styled.d.ts +1 -1
  266. package/dist/css/alert.css +122 -0
  267. package/dist/css/base.css +392 -0
  268. package/dist/css/button.css +380 -0
  269. package/dist/css/card.css +58 -0
  270. package/dist/css/checkbox.css +251 -0
  271. package/dist/css/common.css +116 -0
  272. package/dist/css/components.css +92 -0
  273. package/dist/css/datepicker.css +75 -0
  274. package/dist/css/form.css +28 -0
  275. package/dist/css/hovercard.css +11 -0
  276. package/dist/css/input.css +421 -0
  277. package/dist/css/popover.css +10 -0
  278. package/dist/css/properties.css +299 -0
  279. package/dist/css/reset.css +310 -0
  280. package/dist/css/select.css +624 -0
  281. package/dist/css/spin.css +31 -0
  282. package/dist/css/status.css +74 -0
  283. package/dist/css/switch.css +178 -0
  284. package/dist/css/tabs.css +167 -0
  285. package/dist/css/textarea.css +208 -0
  286. package/dist/css/tooltip.css +22 -0
  287. package/dist/css/upload.css +335 -0
  288. package/dist/css/utilities.css +565 -0
  289. package/dist/datepicker/index.d.ts +2 -2
  290. package/dist/es/_virtual/_commonjsHelpers.js +1 -0
  291. package/dist/es/_virtual/customParseFormat.js +1 -0
  292. package/dist/es/_virtual/customParseFormat2.js +1 -0
  293. package/dist/es/_virtual/dayjs.min.js +1 -0
  294. package/dist/es/_virtual/dayjs.min2.js +1 -0
  295. package/dist/es/_virtual/localizedFormat.js +1 -0
  296. package/dist/es/_virtual/localizedFormat2.js +1 -0
  297. package/dist/es/_virtual/react.js +1 -0
  298. package/dist/es/accordion/index.js +1 -0
  299. package/dist/es/accordion/item/Item.js +1 -0
  300. package/dist/es/accordion/item/styled.js +20 -0
  301. package/dist/es/accordion/styled.js +15 -0
  302. package/dist/es/accordion/submenu/SubMenu.js +1 -0
  303. package/dist/es/accordion/submenu/styled.js +214 -0
  304. package/dist/es/alert/Description.js +1 -0
  305. package/dist/es/alert/Title.js +1 -0
  306. package/dist/es/alert/index.js +1 -0
  307. package/dist/es/alink/index.js +1 -0
  308. package/dist/es/alink/styled.js +5 -0
  309. package/dist/es/back-top/index.js +1 -0
  310. package/dist/es/back-top/styled.js +25 -0
  311. package/dist/es/button/index.js +1 -0
  312. package/dist/es/calendar/dates.js +1 -0
  313. package/dist/es/calendar/day/Day.js +1 -0
  314. package/dist/es/calendar/day/styled.js +91 -0
  315. package/dist/es/calendar/header/Header.js +1 -0
  316. package/dist/es/calendar/header/styled.js +196 -0
  317. package/dist/es/calendar/index.js +1 -0
  318. package/dist/es/calendar/styled.js +82 -0
  319. package/dist/es/card/Card.js +1 -0
  320. package/dist/es/card/CardAction.js +1 -0
  321. package/dist/es/card/CardContent.js +1 -0
  322. package/dist/es/card/CardDescription.js +1 -0
  323. package/dist/es/card/CardFooter.js +1 -0
  324. package/dist/es/card/CardHeader.js +1 -0
  325. package/dist/es/card/CardTabs.js +1 -0
  326. package/dist/es/card/CardTitle.js +1 -0
  327. package/dist/es/checkbox/group/index.js +1 -0
  328. package/dist/es/checkbox/index.js +1 -0
  329. package/dist/es/context/ITDContext.js +1 -0
  330. package/dist/es/context/ITDThemeProvider.js +1 -0
  331. package/dist/es/context/styled.js +15 -0
  332. package/dist/es/datepicker/index.js +1 -0
  333. package/dist/es/enums/enum.js +1 -0
  334. package/dist/es/flex/index.js +1 -0
  335. package/dist/es/flex/styled.js +35 -0
  336. package/dist/es/floating/Arrow.js +108 -0
  337. package/dist/es/floating/FloatingContent.js +38 -0
  338. package/dist/es/form/context/FormContext.js +1 -0
  339. package/dist/es/form/context/FormRegistry.js +1 -0
  340. package/dist/es/form/context/FormStore.js +1 -0
  341. package/dist/es/form/control/Control.js +1 -0
  342. package/dist/es/form/group/Group.js +1 -0
  343. package/dist/es/form/index.js +1 -0
  344. package/dist/es/form/item/Item.js +1 -0
  345. package/dist/es/form/validation/TCIdentity.js +1 -0
  346. package/dist/es/form/validation/Validator.js +1 -0
  347. package/dist/es/form/wrapper/FormWrapper.js +1 -0
  348. package/dist/es/helpers/array/ChunkArray.js +1 -0
  349. package/dist/es/helpers/aspectratio/DetermineNewHeight.js +1 -0
  350. package/dist/es/helpers/aspectratio/DetermineNewWidth.js +1 -0
  351. package/dist/es/helpers/base64/Base64Decode.js +1 -0
  352. package/dist/es/helpers/base64/Base64Encode.js +1 -0
  353. package/dist/es/helpers/binary/FormatBytes.js +1 -0
  354. package/dist/es/helpers/binary/GetTypeByFileType.js +1 -0
  355. package/dist/es/helpers/checker/CheckFileURL.js +1 -0
  356. package/dist/es/helpers/checker/FileChecker.js +1 -0
  357. package/dist/es/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
  358. package/dist/es/helpers/country/GetCountryCodeByLanguage.js +1 -0
  359. package/dist/es/helpers/css/FindSelector.js +1 -0
  360. package/dist/es/helpers/currency/ConvertCurrency.js +1 -0
  361. package/dist/es/helpers/currency/GetByCurrency.js +1 -0
  362. package/dist/es/helpers/currency/GetCurrencyFormat.js +1 -0
  363. package/dist/es/helpers/currency/GetCurrencySymbol.js +1 -0
  364. package/dist/es/helpers/currency/GetDecimalByCurrency.js +1 -0
  365. package/dist/es/helpers/datetime/FormatDate.js +1 -0
  366. package/dist/es/helpers/datetime/FormatDateTime.js +1 -0
  367. package/dist/es/helpers/datetime/FormatSimpleDate.js +1 -0
  368. package/dist/es/helpers/datetime/FormatSimpleDateTime.js +1 -0
  369. package/dist/es/helpers/datetime/FormatTime.js +1 -0
  370. package/dist/es/helpers/datetime/dayjsSetup.js +1 -0
  371. package/dist/es/helpers/format/ToKebabCase.js +1 -0
  372. package/dist/es/helpers/json/IsValidJSON.js +1 -0
  373. package/dist/es/helpers/math/AddZero.js +1 -0
  374. package/dist/es/helpers/promise/Wait.js +1 -0
  375. package/dist/es/helpers/remover/RemoveUnits.js +1 -0
  376. package/dist/es/helpers/string/UniUpperCase.js +1 -0
  377. package/dist/es/helpers/svg/SVGLoader.js +1 -0
  378. package/dist/es/helpers/svg/styles.js +22 -0
  379. package/dist/es/helpers/theme/AddDefaultThemeStyle.js +1 -0
  380. package/dist/es/helpers/theme/Color.js +1 -0
  381. package/dist/es/helpers/theme/GenerateColorScale.js +1 -0
  382. package/dist/es/helpers/theme/createTheme.js +1 -0
  383. package/dist/es/helpers/theme/cssVariables.js +1 -0
  384. package/dist/es/helpers/theme/dark.js +1 -0
  385. package/dist/es/helpers/theme/light.js +1 -0
  386. package/dist/es/helpers/theme/presets.js +1 -0
  387. package/dist/es/helpers/theme/tokens.js +1 -0
  388. package/dist/es/helpers/unit/AddDefaultUnit.js +1 -0
  389. package/dist/es/hooks/useAddExternalCSS.js +1 -0
  390. package/dist/es/hooks/useAvoidCollision.js +1 -0
  391. package/dist/es/hooks/useComponentSize.js +1 -0
  392. package/dist/es/hooks/useConnectionStatus.js +1 -0
  393. package/dist/es/hooks/useConstructor.js +1 -0
  394. package/dist/es/hooks/useContextBridge.js +1 -0
  395. package/dist/es/hooks/useCoreFetch.js +1 -0
  396. package/dist/es/hooks/useFloatingPosition.js +1 -0
  397. package/dist/es/hooks/useFloatingTrigger.js +1 -0
  398. package/dist/es/hooks/useFocusTrap.js +1 -0
  399. package/dist/es/hooks/useKeyboardShortcut.js +1 -0
  400. package/dist/es/hooks/useMultiQuery.js +1 -0
  401. package/dist/es/hooks/useOnClickOutside.js +1 -0
  402. package/dist/es/hooks/useOnESCKeyDown.js +1 -0
  403. package/dist/es/hooks/useOnResize.js +1 -0
  404. package/dist/es/hooks/useOrientation.js +1 -0
  405. package/dist/es/hooks/useReCaptcha.js +1 -0
  406. package/dist/es/hooks/useSingleQuery.js +1 -0
  407. package/dist/es/hovercard/HoverCard.js +1 -0
  408. package/dist/es/hovercard/HoverCardContent.js +1 -0
  409. package/dist/es/hovercard/HoverCardTrigger.js +1 -0
  410. package/dist/es/hovercard/hoverCardContext.js +1 -0
  411. package/dist/es/html/header/H1.js +1 -0
  412. package/dist/es/html/header/H2.js +1 -0
  413. package/dist/es/html/header/H3.js +1 -0
  414. package/dist/es/html/header/H4.js +1 -0
  415. package/dist/es/html/header/styled.js +33 -0
  416. package/dist/es/icons/Arrow.js +1 -0
  417. package/dist/es/icons/BackToTop.js +1 -0
  418. package/dist/es/icons/Checkmark.js +1 -0
  419. package/dist/es/icons/InlineSelectArrow.js +1 -0
  420. package/dist/es/icons/Lock.js +1 -0
  421. package/dist/es/icons/NoData.js +1 -0
  422. package/dist/es/icons/Picture.js +1 -0
  423. package/dist/es/icons/Trash.js +1 -0
  424. package/dist/es/icons/Upload.js +1 -0
  425. package/dist/es/icons/ZoomIn.js +1 -0
  426. package/dist/es/icons/ZoomOut.js +1 -0
  427. package/dist/es/image/index.js +1 -0
  428. package/dist/es/image/styled.js +4 -0
  429. package/dist/es/index.js +1 -0
  430. package/dist/es/input/index.js +1 -0
  431. package/dist/es/label/index.js +1 -0
  432. package/dist/es/locales/en/calendar.json.js +1 -0
  433. package/dist/es/locales/en/itd.json.js +1 -0
  434. package/dist/es/locales/tr/calendar.json.js +1 -0
  435. package/dist/es/locales/tr/itd.json.js +1 -0
  436. package/dist/es/logger/index.js +1 -0
  437. package/dist/es/modal/container/ModalContainer.js +1 -0
  438. package/dist/es/modal/container/styled.js +18 -0
  439. package/dist/es/modal/context/ModalContext.js +1 -0
  440. package/dist/es/modal/index.js +1 -0
  441. package/dist/es/modal/modal/Modal.js +1 -0
  442. package/dist/es/modal/modal/styled.js +128 -0
  443. package/dist/es/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +1 -0
  444. package/dist/es/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -0
  445. package/dist/es/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +1 -0
  446. package/dist/es/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +1 -0
  447. package/dist/es/node_modules/@react-spring/web/dist/react-spring_web.modern.js +1 -0
  448. package/dist/es/node_modules/clsx/dist/clsx.js +1 -0
  449. package/dist/es/node_modules/dayjs/dayjs.min.js +1 -0
  450. package/dist/es/node_modules/dayjs/plugin/customParseFormat.js +1 -0
  451. package/dist/es/node_modules/dayjs/plugin/localizedFormat.js +1 -0
  452. package/dist/es/node_modules/fast-deep-equal/react.js +1 -0
  453. package/dist/es/node_modules/lodash-es/_Symbol.js +1 -0
  454. package/dist/es/node_modules/lodash-es/_arrayMap.js +1 -0
  455. package/dist/es/node_modules/lodash-es/_baseGetTag.js +1 -0
  456. package/dist/es/node_modules/lodash-es/_baseToString.js +1 -0
  457. package/dist/es/node_modules/lodash-es/_freeGlobal.js +1 -0
  458. package/dist/es/node_modules/lodash-es/_getRawTag.js +1 -0
  459. package/dist/es/node_modules/lodash-es/_objectToString.js +1 -0
  460. package/dist/es/node_modules/lodash-es/_root.js +1 -0
  461. package/dist/es/node_modules/lodash-es/isArray.js +1 -0
  462. package/dist/es/node_modules/lodash-es/isObject.js +1 -0
  463. package/dist/es/node_modules/lodash-es/isObjectLike.js +1 -0
  464. package/dist/es/node_modules/lodash-es/isSymbol.js +1 -0
  465. package/dist/es/node_modules/lodash-es/toString.js +1 -0
  466. package/dist/es/node_modules/lodash-es/uniqueId.js +1 -0
  467. package/dist/es/node_modules/lucide-react/dist/esm/Icon.js +7 -0
  468. package/dist/es/node_modules/lucide-react/dist/esm/createLucideIcon.js +7 -0
  469. package/dist/es/node_modules/lucide-react/dist/esm/defaultAttributes.js +7 -0
  470. package/dist/es/node_modules/lucide-react/dist/esm/icons/calendar-1.js +7 -0
  471. package/dist/es/node_modules/lucide-react/dist/esm/icons/chevron-down.js +7 -0
  472. package/dist/es/node_modules/lucide-react/dist/esm/icons/circle-x.js +7 -0
  473. package/dist/es/node_modules/lucide-react/dist/esm/icons/eye-off.js +7 -0
  474. package/dist/es/node_modules/lucide-react/dist/esm/icons/eye.js +7 -0
  475. package/dist/es/node_modules/lucide-react/dist/esm/icons/image-off.js +7 -0
  476. package/dist/es/node_modules/lucide-react/dist/esm/icons/info.js +7 -0
  477. package/dist/es/node_modules/lucide-react/dist/esm/icons/lock.js +7 -0
  478. package/dist/es/node_modules/lucide-react/dist/esm/icons/minus.js +7 -0
  479. package/dist/es/node_modules/lucide-react/dist/esm/icons/plus.js +7 -0
  480. package/dist/es/node_modules/lucide-react/dist/esm/icons/trash.js +7 -0
  481. package/dist/es/node_modules/lucide-react/dist/esm/icons/upload.js +7 -0
  482. package/dist/es/node_modules/lucide-react/dist/esm/icons/x.js +7 -0
  483. package/dist/es/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
  484. package/dist/es/node_modules/overlayscrollbars/overlayscrollbars.js +10 -0
  485. package/dist/es/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +1 -0
  486. package/dist/es/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
  487. package/dist/es/node_modules/rollup-plugin-node-globals/src/global.js +1 -0
  488. package/dist/es/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
  489. package/dist/es/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -0
  490. package/dist/es/notification/container/Container.js +1 -0
  491. package/dist/es/notification/container/styled.js +26 -0
  492. package/dist/es/notification/context/NotificationsContext.js +1 -0
  493. package/dist/es/notification/index.js +1 -0
  494. package/dist/es/notification/item/Item.js +1 -0
  495. package/dist/es/notification/item/styled.js +42 -0
  496. package/dist/es/popover/Popover.js +1 -0
  497. package/dist/es/popover/PopoverContent.js +1 -0
  498. package/dist/es/popover/PopoverTrigger.js +1 -0
  499. package/dist/es/primitives/Slot.js +1 -0
  500. package/dist/es/progress/index.js +1 -0
  501. package/dist/es/progress/styled.js +59 -0
  502. package/dist/es/radio/button/RadioButton.js +1 -0
  503. package/dist/es/radio/button/styled.js +133 -0
  504. package/dist/es/radio/group/Group.js +1 -0
  505. package/dist/es/radio/group/styled.js +7 -0
  506. package/dist/es/radio/index.js +1 -0
  507. package/dist/es/result/index.js +1 -0
  508. package/dist/es/result/styled.js +109 -0
  509. package/dist/es/select/dropdown/Dropdown.js +1 -0
  510. package/dist/es/select/index.js +1 -0
  511. package/dist/es/select/option/Option.js +1 -0
  512. package/dist/es/select/selector/Selector.js +1 -0
  513. package/dist/es/select/selector/selectorinput/SelectorInput.js +1 -0
  514. package/dist/es/spin/index.js +1 -0
  515. package/dist/es/status/index.js +1 -0
  516. package/dist/es/switch/index.js +1 -0
  517. package/dist/es/table/index.js +1 -0
  518. package/dist/es/table/styled.js +458 -0
  519. package/dist/es/tabs/index.js +1 -0
  520. package/dist/es/textarea/index.js +1 -0
  521. package/dist/es/tinyscrollbar/index.js +1 -0
  522. package/dist/es/tinyscrollbar/scroll.styled.js +21 -0
  523. package/dist/es/tooltip/Tooltip.js +1 -0
  524. package/dist/es/tooltip/TooltipContent.js +1 -0
  525. package/dist/es/tooltip/TooltipTrigger.js +1 -0
  526. package/dist/es/tooltip/tooltipContext.js +1 -0
  527. package/dist/es/types/InputProps.js +1 -0
  528. package/dist/es/upload/index.js +1 -0
  529. package/dist/es/utils/CommonStyledComponents.js +1 -0
  530. package/dist/es/utils/ErrorAnnouncement.js +1 -0
  531. package/dist/es/utils/GetButtonSizeSlug.js +1 -0
  532. package/dist/es/utils/GetSizeSlugBySize.js +1 -0
  533. package/dist/es/utils/InlineSVGCached.js +1 -0
  534. package/dist/es/utils/cn.js +1 -0
  535. package/dist/flex/index.d.ts +1 -1
  536. package/dist/flex/styled.d.ts +2 -2
  537. package/dist/floating/Arrow.d.ts +1 -1
  538. package/dist/floating/FloatingContent.d.ts +1 -1
  539. package/dist/floating/mergeTriggerProps.d.ts +1 -1
  540. package/dist/form/context/FormContext.d.ts +4 -3
  541. package/dist/form/context/FormRegistry.d.ts +13 -0
  542. package/dist/form/context/FormStore.d.ts +5 -4
  543. package/dist/form/control/Control.d.ts +3 -2
  544. package/dist/form/group/Group.d.ts +1 -1
  545. package/dist/form/index.d.ts +5 -5
  546. package/dist/form/item/Item.d.ts +2 -2
  547. package/dist/form/validation/Validator.d.ts +2 -2
  548. package/dist/form/wrapper/FormWrapper.d.ts +2 -2
  549. package/dist/global.css +48 -0
  550. package/dist/helpers/binary/GetTypeByFileType.d.ts +2 -2
  551. package/dist/helpers/currency/GetCurrencySymbol.d.ts +1 -1
  552. package/dist/helpers/datetime/FormatTime.d.ts +1 -1
  553. package/dist/helpers/datetime/dayjsSetup.d.ts +1 -1
  554. package/dist/helpers/index.d.ts +35 -36
  555. package/dist/helpers/svg/styles.d.ts +1 -1
  556. package/dist/helpers/theme/createTheme.d.ts +8 -0
  557. package/dist/helpers/theme/cssVariables.d.ts +17 -6
  558. package/dist/helpers/theme/dark.d.ts +1 -1
  559. package/dist/helpers/theme/index.d.ts +12 -9
  560. package/dist/helpers/theme/light.d.ts +1 -1
  561. package/dist/helpers/theme/presets.d.ts +12 -0
  562. package/dist/helpers/theme/themes.d.ts +2 -2
  563. package/dist/hooks/index.d.ts +15 -15
  564. package/dist/hooks/useComponentSize.d.ts +1 -1
  565. package/dist/hooks/useConnectionStatus.d.ts +1 -1
  566. package/dist/hooks/useFloatingPosition.d.ts +2 -2
  567. package/dist/hooks/useFloatingTrigger.d.ts +2 -2
  568. package/dist/hooks/useFocusTrap.d.ts +1 -1
  569. package/dist/hooks/useOnClickOutside.d.ts +1 -1
  570. package/dist/hooks/useSingleQuery.d.ts +1 -1
  571. package/dist/hovercard/HoverCardContent.d.ts +1 -1
  572. package/dist/hovercard/hoverCardContext.d.ts +1 -1
  573. package/dist/hovercard/index.d.ts +3 -3
  574. package/dist/html/header/H1.d.ts +1 -1
  575. package/dist/html/header/H2.d.ts +1 -1
  576. package/dist/html/header/H3.d.ts +1 -1
  577. package/dist/html/header/H4.d.ts +1 -1
  578. package/dist/html/header/index.d.ts +4 -4
  579. package/dist/html/header/styled.d.ts +4 -4
  580. package/dist/icons/index.d.ts +11 -11
  581. package/dist/image/index.d.ts +1 -1
  582. package/dist/image/styled.d.ts +4 -6
  583. package/dist/index.d.mts +759 -0
  584. package/dist/index.d.ts +2708 -112
  585. package/dist/input/index.d.ts +14 -13
  586. package/dist/input/style.settings.d.ts +1 -1
  587. package/dist/label/index.d.ts +1 -1
  588. package/dist/label/style.settings.d.ts +1 -1
  589. package/dist/label/styled.d.ts +14 -14
  590. package/dist/locales/{tr/calendar.json.d.ts → calendar.json} +2 -4
  591. package/dist/locales/en/{calendar.json.d.ts → calendar.json} +2 -4
  592. package/dist/locales/en/{itd.json.d.ts → itd.json} +1 -4
  593. package/dist/locales/{tr/itd.json.d.ts → itd.json} +2 -4
  594. package/dist/locales/tr/calendar.json +30 -0
  595. package/dist/locales/tr/itd.json +337 -0
  596. package/dist/modal/container/ModalContainer.d.ts +4 -4
  597. package/dist/modal/container/styled.d.ts +2 -4
  598. package/dist/modal/context/ModalContext.d.ts +3 -3
  599. package/dist/modal/index.d.ts +1 -1
  600. package/dist/modal/modal/Modal.d.ts +2 -2
  601. package/dist/modal/modal/styled.d.ts +11 -11
  602. package/dist/notification/context/NotificationsContext.d.ts +2 -2
  603. package/dist/notification/index.d.ts +1 -1
  604. package/dist/popover/Popover.d.ts +1 -1
  605. package/dist/popover/PopoverContent.d.ts +1 -1
  606. package/dist/popover/index.d.ts +3 -3
  607. package/dist/primitives/Slot.d.ts +2 -2
  608. package/dist/progress/styled.d.ts +1 -1
  609. package/dist/radio/button/RadioButton.d.ts +1 -1
  610. package/dist/radio/button/styled.d.ts +8 -8
  611. package/dist/radio/group/Group.d.ts +3 -3
  612. package/dist/radio/group/styled.d.ts +1 -1
  613. package/dist/radio/index.d.ts +2 -2
  614. package/dist/result/index.d.ts +1 -1
  615. package/dist/result/styled.d.ts +9 -9
  616. package/dist/select/dropdown/Dropdown.d.ts +3 -3
  617. package/dist/select/index.d.ts +1 -1
  618. package/dist/select/option/Option.d.ts +4 -4
  619. package/dist/select/selector/selectorinput/SelectorInput.d.ts +2 -2
  620. package/dist/select/style.settings.d.ts +1 -1
  621. package/dist/stats.html +4949 -0
  622. package/dist/stories/Accordion.stories.d.ts +3 -3
  623. package/dist/stories/Alert.stories.d.ts +3 -3
  624. package/dist/stories/AlertComposition.d.ts +1 -0
  625. package/dist/stories/AlertComposition.stories.d.ts +2 -1
  626. package/dist/stories/Button.stories.d.ts +9 -3
  627. package/dist/stories/Card.d.ts +9 -2
  628. package/dist/stories/Card.stories.d.ts +6 -4
  629. package/dist/stories/Checkbox.stories.d.ts +3 -3
  630. package/dist/stories/CheckboxGroup.stories.d.ts +3 -3
  631. package/dist/stories/CheckboxGroupControl.stories.d.ts +3 -3
  632. package/dist/stories/ColorScale.stories.d.ts +2 -2
  633. package/dist/stories/ColorScaleCompare.stories.d.ts +2 -2
  634. package/dist/stories/DatePicker.stories.d.ts +3 -3
  635. package/dist/stories/Form.d.ts +1 -1
  636. package/dist/stories/Form.stories.d.ts +3 -2
  637. package/dist/stories/Header.stories.d.ts +5 -5
  638. package/dist/stories/HoverCard.stories.d.ts +1 -1
  639. package/dist/stories/Input.stories.d.ts +2 -2
  640. package/dist/stories/ModalManager.stories.d.ts +2 -2
  641. package/dist/stories/Page.stories.d.ts +2 -2
  642. package/dist/stories/Popover.stories.d.ts +2 -2
  643. package/dist/stories/Progress.stories.d.ts +3 -3
  644. package/dist/stories/RadioGroup.stories.d.ts +2 -2
  645. package/dist/stories/Result.stories.d.ts +3 -3
  646. package/dist/stories/Select.stories.d.ts +3 -3
  647. package/dist/stories/Status.stories.d.ts +3 -3
  648. package/dist/stories/Switch.stories.d.ts +4 -4
  649. package/dist/stories/Table.stories.d.ts +2 -2
  650. package/dist/stories/Tabs.stories.d.ts +7 -7
  651. package/dist/stories/TextArea.stories.d.ts +3 -3
  652. package/dist/stories/Tooltip.stories.d.ts +2 -2
  653. package/dist/stories/Upload.stories.d.ts +3 -3
  654. package/dist/stories/root/index.d.ts +1 -1
  655. package/dist/stories/select.styled.d.ts +1 -1
  656. package/dist/switch/index.d.ts +3 -2
  657. package/dist/table/index.d.ts +2 -2
  658. package/dist/table/styled.d.ts +5 -5
  659. package/dist/tabs/index.d.ts +2 -2
  660. package/dist/textarea/index.d.ts +1 -1
  661. package/dist/tinyscrollbar/index.d.ts +2 -1
  662. package/dist/tinyscrollbar/scroll.styled.d.ts +1 -1
  663. package/dist/tinyscrollbar/styled.d.ts +1 -1
  664. package/dist/tooltip/TooltipContent.d.ts +1 -4
  665. package/dist/tooltip/index.d.ts +3 -3
  666. package/dist/tooltip/tooltipContext.d.ts +1 -1
  667. package/dist/types/AccordionItemProps.d.ts +1 -1
  668. package/dist/types/AccordionProps.d.ts +1 -1
  669. package/dist/types/AccordionSubMenuProps.d.ts +1 -1
  670. package/dist/types/AlertProps.d.ts +4 -3
  671. package/dist/types/ButtonProps.d.ts +5 -6
  672. package/dist/types/CalendarProps.d.ts +4 -4
  673. package/dist/types/CardProps.d.ts +2 -2
  674. package/dist/types/CheckboxProps.d.ts +3 -3
  675. package/dist/types/ChildrenProps.d.ts +2 -1
  676. package/dist/types/DatePickerProps.d.ts +7 -6
  677. package/dist/types/FlexProps.d.ts +2 -2
  678. package/dist/types/FormProps.d.ts +9 -8
  679. package/dist/types/ITDProps.d.ts +1 -1
  680. package/dist/types/InputProps.d.ts +5 -4
  681. package/dist/types/LabelProps.d.ts +1 -1
  682. package/dist/types/ModalProps.d.ts +2 -2
  683. package/dist/types/PopoverProps.d.ts +2 -2
  684. package/dist/types/RadioProps.d.ts +2 -2
  685. package/dist/types/ResultProps.d.ts +1 -1
  686. package/dist/types/SelectProps.d.ts +4 -4
  687. package/dist/types/SingleQueryProps.d.ts +1 -1
  688. package/dist/types/StatusProps.d.ts +2 -2
  689. package/dist/types/SwitchProps.d.ts +2 -2
  690. package/dist/types/TableProps.d.ts +2 -2
  691. package/dist/types/TabsProps.d.ts +9 -2
  692. package/dist/types/TextAreaProps.d.ts +4 -3
  693. package/dist/types/Theme.d.ts +26 -1
  694. package/dist/types/UploadProps.d.ts +3 -2
  695. package/dist/upload/index.d.ts +2 -2
  696. package/dist/utils/CommonStyledComponents.d.ts +13 -10
  697. package/dist/utils/GetButtonSizeSlug.d.ts +1 -1
  698. package/dist/utils/GetIconSizeBySize.d.ts +1 -1
  699. package/dist/utils/GetSizeBySizeSlug.d.ts +2 -2
  700. package/dist/utils/GetSizeSlugBySize.d.ts +2 -2
  701. package/dist/utils/InlineSVGCached.d.ts +1 -1
  702. package/dist/utils/cn.d.ts +2 -0
  703. package/dist/utils/index.d.ts +6 -6
  704. package/package.json +20 -11
  705. package/dist/accordion/styled.d.ts +0 -1
  706. package/dist/alert/alert.style.error.d.ts +0 -4
  707. package/dist/alert/alert.style.info.d.ts +0 -4
  708. package/dist/alert/alert.style.neutral.d.ts +0 -4
  709. package/dist/alert/alert.style.success.d.ts +0 -4
  710. package/dist/alert/alert.style.warning.d.ts +0 -4
  711. package/dist/alert/styled.d.ts +0 -4
  712. package/dist/button/button.style.default.d.ts +0 -4
  713. package/dist/button/button.style.filled.d.ts +0 -4
  714. package/dist/button/button.style.ghost.d.ts +0 -4
  715. package/dist/button/button.style.icon.d.ts +0 -5
  716. package/dist/button/button.style.link.d.ts +0 -4
  717. package/dist/button/button.style.outline.d.ts +0 -4
  718. package/dist/button/button.style.size.d.ts +0 -7
  719. package/dist/button/button.style.solid.d.ts +0 -4
  720. package/dist/button/styled.d.ts +0 -3
  721. package/dist/card/styles.d.ts +0 -15
  722. package/dist/checkbox/group/styled.d.ts +0 -2
  723. package/dist/checkbox/styled.d.ts +0 -10
  724. package/dist/datepicker/styled.d.ts +0 -9
  725. package/dist/form/control/styled.d.ts +0 -4
  726. package/dist/form/group/styled.d.ts +0 -5
  727. package/dist/helpers/locale/getLocaleDateByString.d.ts +0 -1
  728. package/dist/helpers/theme/UpdateThemeStyle.d.ts +0 -5
  729. package/dist/index.cjs.js +0 -5727
  730. package/dist/index.cjs.js.map +0 -1
  731. package/dist/index.css +0 -1
  732. package/dist/index.es.js +0 -22339
  733. package/dist/index.es.js.map +0 -1
  734. package/dist/index.iife.js +0 -5728
  735. package/dist/index.iife.js.map +0 -1
  736. package/dist/index.umd.js +0 -5728
  737. package/dist/index.umd.js.map +0 -1
  738. package/dist/input/styled.d.ts +0 -27
  739. package/dist/link/index.d.ts +0 -2
  740. package/dist/logger/index.d.ts +0 -9
  741. package/dist/notification/container/Container.d.ts +0 -5
  742. package/dist/notification/container/styled.d.ts +0 -1
  743. package/dist/notification/item/Item.d.ts +0 -12
  744. package/dist/notification/item/styled.d.ts +0 -1166
  745. package/dist/reportWebVitals.d.ts +0 -2
  746. package/dist/select/dropdown/styled.d.ts +0 -14
  747. package/dist/select/option/styled.d.ts +0 -5
  748. package/dist/select/selector/selectorinput/styled.d.ts +0 -2
  749. package/dist/select/selector/styled.d.ts +0 -16
  750. package/dist/select/styled.d.ts +0 -9
  751. package/dist/setupTests.d.ts +0 -1
  752. package/dist/spin/styled.d.ts +0 -10
  753. package/dist/status/styled.d.ts +0 -6
  754. package/dist/switch/styled.d.ts +0 -5
  755. package/dist/tabs/styles.d.ts +0 -8
  756. package/dist/textarea/styled.d.ts +0 -6
  757. package/dist/upload/styled.d.ts +0 -12
package/dist/index.d.ts CHANGED
@@ -1,6 +1,2708 @@
1
- import { default as trCalendar } from './locales/tr/calendar.json';
2
- import { default as enCalendar } from './locales/en/calendar.json';
3
- export declare const locales: {
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as react from 'react';
3
+ import react__default, { RefObject, ReactNode, Context, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, MutableRefObject, FocusEvent, KeyboardEvent, FC, Ref, MouseEvent, ReactElement, CSSProperties } from 'react';
4
+ import { ChildrenProps as ChildrenProps$1 } from 'types/ChildrenProps';
5
+ import dayjs from 'dayjs';
6
+ import { ConnectionStatus as ConnectionStatus$1, ModalState as ModalState$1, ComponentYPositions as ComponentYPositions$1, ComponentXPositions as ComponentXPositions$1, TriggerTypes as TriggerTypes$1, ComponentVariants as ComponentVariants$1, ButtonTypes as ButtonTypes$1, ButtonSizes as ButtonSizes$1, FormValidationTypes as FormValidationTypes$1 } from 'enums/enum';
7
+ import { Cancel, AxiosProgressEvent } from 'axios';
8
+ import { ClassValue } from 'clsx';
9
+ import { SelectValue as SelectValue$1 } from 'types/SelectProps';
10
+ import { ITDVariant as ITDVariant$1, ITDSizeSlug as ITDSizeSlug$1 } from 'types/ITDProps';
11
+ import { ModalProps as ModalProps$1 } from 'types/ModalProps';
12
+ import { RadioButtonProps as RadioButtonProps$1, RadioGroupProps as RadioGroupProps$1 } from 'types/RadioProps';
13
+ import { ITDImperativeFuncProps as ITDImperativeFuncProps$1 } from 'types/ITDImperativeFuncProps';
14
+ import { ButtonProps as ButtonProps$1 } from 'types/ButtonProps';
15
+ import { ResultProps as ResultProps$1 } from 'types/ResultProps';
16
+
17
+ declare let weekdaysLong$1: string[];
18
+ declare let weekdaysShort$1: string[];
19
+ declare let months$1: string[];
20
+ declare let firstDay$1: number;
21
+ declare let format$1: string;
22
+
23
+
24
+ declare const export_default$1: {
25
+ weekdaysLong: typeof weekdaysLong$1;
26
+ weekdaysShort: typeof weekdaysShort$1;
27
+ months: typeof months$1;
28
+ firstDay: typeof firstDay$1;
29
+ format: typeof format$1;
30
+ };
31
+
32
+ declare let weekdaysLong: string[];
33
+ declare let weekdaysShort: string[];
34
+ declare let months: string[];
35
+ declare let firstDay: number;
36
+ declare let format: string;
37
+
38
+
39
+ declare const export_default: {
40
+ weekdaysLong: typeof weekdaysLong;
41
+ weekdaysShort: typeof weekdaysShort;
42
+ months: typeof months;
43
+ firstDay: typeof firstDay;
44
+ format: typeof format;
45
+ };
46
+
47
+ type ITDContextType = {
48
+ theme: string;
49
+ brokenImage: string;
50
+ dateFormat: string;
51
+ language: string;
52
+ locale: string;
53
+ changeTheme: (value: string) => void;
54
+ changeBrokenImage: (value: string) => void;
55
+ changeDateFormat: (value: string) => void;
56
+ changeLocale: (value: string) => void;
57
+ changeLanguage: (value: string) => void;
58
+ };
59
+ type ITDProviderProps = {
60
+ theme?: string;
61
+ surfaceBase?: string;
62
+ primaryBase?: string;
63
+ language?: string;
64
+ dateFormat?: string;
65
+ children: ChildrenProps$1;
66
+ };
67
+ declare const ITDContext: react.Context<ITDContextType>;
68
+ declare const ITDProvider: (props: ITDProviderProps) => react_jsx_runtime.JSX.Element;
69
+
70
+ declare const useITD: () => ITDContextType;
71
+
72
+ /**
73
+ * Generate a 50-950 color scale from a single base color (base is 600).
74
+ * Supports both HEX (#rrggbb) and OKLCH (oklch(L C H)) formats.
75
+ *
76
+ * The algorithm uses Tailwind CSS OKLCH color scales as reference,
77
+ * with specific lightness/chroma/hue curves per color band.
78
+ */
79
+ type Shade = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
80
+ type ColorScale = Record<Shade, string>;
81
+ declare function generateColorScaleFromBase(baseColor: string, options?: {
82
+ clampLightness?: {
83
+ min?: number;
84
+ max?: number;
85
+ };
86
+ }): ColorScale;
87
+
88
+ type ITDTheme = {
89
+ appearance: 'light' | 'dark';
90
+ transitionDuration: string;
91
+ transitionTimingFunction: string;
92
+ fontSans?: string;
93
+ fontMono?: string;
94
+ boxShadow: string;
95
+ cardShadow: string;
96
+ floatingShadow: string;
97
+ borderRadius: string;
98
+ ringOffset: string;
99
+ ringWidth: string;
100
+ background: string;
101
+ foreground: string;
102
+ input: string;
103
+ primary: string;
104
+ primaryHover: string;
105
+ primaryForeground: string;
106
+ primaryScale: ColorScale;
107
+ secondary: string;
108
+ secondaryHover: string;
109
+ secondaryForeground: string;
110
+ secondaryForegroundHover: string;
111
+ accent: string;
112
+ accentForeground: string;
113
+ muted: string;
114
+ mutedForeground: string;
115
+ selection: string;
116
+ selectionForeground: string;
117
+ popover: string;
118
+ popoverForeground: string;
119
+ card: string;
120
+ cardForeground: string;
121
+ colorBackgroundFooter: string;
122
+ colorText: string;
123
+ colorTextMuted: string;
124
+ colorTextMutedForeground: string;
125
+ colorPlaceholder: string;
126
+ colorTextNeutral: string;
127
+ colorControlLabel: string;
128
+ colorModalShadow: string;
129
+ colorBorder: string;
130
+ colorBorderHover: string;
131
+ colorBorderFocus: string;
132
+ colorBorderFocusRing: string;
133
+ colorBorderTransparent: string;
134
+ colorBackgroundAlt: string;
135
+ colorBackgroundAltHover: string;
136
+ colorBackgroundBordered: string;
137
+ colorBackgroundTransparent: string;
138
+ colorBackgroundModal: string;
139
+ colorForegroundItemSelected: string;
140
+ colorForegroundItemSelectedText: string;
141
+ colorBackgroundSelect: string;
142
+ colorBackgroundSelectFilled: string;
143
+ colorBackgroundSelectFilledItem: string;
144
+ colorBackgroundSelectItem: string;
145
+ colorBackgroundSelectItemHover: string;
146
+ colorBackgroundSelectItemSelected: string;
147
+ colorDisabledBg: string;
148
+ colorDisabledBorder: string;
149
+ colorDisabledText: string;
150
+ colorIcon: string;
151
+ colorIconMuted: string;
152
+ colorError: string;
153
+ colorErrorText: string;
154
+ colorErrorBorder: string;
155
+ colorErrorOutline: string;
156
+ colorFocusPrimary: string;
157
+ colorFocusPrimaryRing: string;
158
+ colorTextAlpha50: string;
159
+ colorSwitchThumb: string;
160
+ colorSwitchFilledThumb: string;
161
+ colorTextNeutralAlpha10: string;
162
+ colorTextNeutralAlpha15: string;
163
+ colorTextNeutralAlpha25: string;
164
+ colorTextNeutralAlpha50: string;
165
+ colorBackgroundAltAlpha75: string;
166
+ colorBackgroundAltAlpha85: string;
167
+ colorUploadTextAlpha50: string;
168
+ colorCardOverlay: string;
169
+ colorTabActiveBg: string;
170
+ colorTabHoverBg: string;
171
+ colorTabFilledActiveBg: string;
172
+ colorButtonOutlineBg: string;
173
+ colorButtonOutlineHoverBg: string;
174
+ colorButtonGhostHoverBg: string;
175
+ colorButtonFilledBg: string;
176
+ scrollbarThumb: string;
177
+ scrollbarThumbHover: string;
178
+ primaryGradientStart: string;
179
+ primaryGradientEnd: string;
180
+ primaryHoverStart: string;
181
+ primaryHoverEnd: string;
182
+ primaryContrastText: string;
183
+ buttonGenericBg: string;
184
+ buttonGenericHoverBg: string;
185
+ buttonSelectedBorder: string;
186
+ buttonSelectedBg: string;
187
+ buttonDisabledBg: string;
188
+ buttonDisabledText: string;
189
+ colorUploadOverlay: string;
190
+ colorUploadText: string;
191
+ colorUploadOverlayError: string;
192
+ colorUploadErrorText: string;
193
+ colorUploadOverlayCompleted: string;
194
+ colorUploadCompletedText: string;
195
+ colorUploadOverlayUploading: string;
196
+ colorUploadOverlayUploadingBar: string;
197
+ colorUploadingText: string;
198
+ colorAlertInfoBackground: string;
199
+ colorAlertInfoBorder: string;
200
+ colorAlertInfoTitle: string;
201
+ colorAlertInfoText: string;
202
+ colorAlertSuccessBackground: string;
203
+ colorAlertSuccessBorder: string;
204
+ colorAlertSuccessTitle: string;
205
+ colorAlertSuccessText: string;
206
+ colorAlertWarningBackground: string;
207
+ colorAlertWarningBorder: string;
208
+ colorAlertWarningTitle: string;
209
+ colorAlertWarningText: string;
210
+ colorAlertErrorBackground: string;
211
+ colorAlertErrorBorder: string;
212
+ colorAlertErrorTitle: string;
213
+ colorAlertErrorText: string;
214
+ };
215
+
216
+ type ITDThemeProviderProps = {
217
+ themeName?: 'light' | 'dark';
218
+ surfaceBase?: string;
219
+ primaryBase?: string;
220
+ customTheme?: Partial<ITDTheme>;
221
+ containerRef?: RefObject<HTMLElement | null>;
222
+ children: ReactNode;
223
+ };
224
+ declare function ITDThemeProvider({ themeName, surfaceBase, primaryBase, customTheme, containerRef, children }: ITDThemeProviderProps): react_jsx_runtime.JSX.Element;
225
+
226
+ declare const lightTheme: ITDTheme;
227
+
228
+ declare const darkTheme: ITDTheme;
229
+
230
+ declare function DetermineNewHeight(originalHeight: number, originalWidth: number, newWidth: number): number;
231
+
232
+ declare function DetermineNewWidth(originalHeight: number, originalWidth: number, newHeight: number): number;
233
+
234
+ /**
235
+ *
236
+ * FIND SELECTOR
237
+ *
238
+ * Find the style tag containing the specified class name and return true/false.
239
+ *
240
+ * @param searchClassName string
241
+ * @returns boolean
242
+ *
243
+ */
244
+ declare function FindSelector(searchClassName: string): boolean;
245
+
246
+ declare function GetCountryCodeByCurrencyCode(currency?: string): "en-US" | "de-DE" | "tr-TR" | "en-GB" | "ja-JP" | "fr-CH" | "en-CA" | "en-AU" | "en-NZ" | "ru-RU" | "en-IN" | "pt-BR" | "es-MX" | "es-AR" | "es-CL" | "es-CO" | "es-PE" | "en-ZA" | "zh-CN" | "sv-SE" | "no-NO" | "da-DK" | "en-SG" | "en-HK";
247
+
248
+ declare function GetCountryCodeByLanguage(language: string): "usa" | "tur" | "deu" | "fra" | "esp" | "ita" | "jpn" | "kor" | "nld" | "pol" | "por" | "rus" | "san" | "snd" | "sin" | "slk" | "slv" | "alb" | "srb" | "swe" | "tam" | "tel" | "tha" | "tgl" | "ukr" | "urd" | "uzb" | "vie" | "chi" | "zul" | "gre" | "ara" | "language_not_found";
249
+
250
+ declare function ConvertCurrency(balance: number, currency: string): string | undefined;
251
+
252
+ declare function GetByCurrency(value: number, symbol?: boolean, currency?: string, decimal?: number): string;
253
+
254
+ /**
255
+ *
256
+ * Get the currency format of the value.
257
+ *
258
+ * @param value string
259
+ * @param currency string
260
+ * @returns string
261
+ *
262
+ */
263
+ declare function GetCurrencyFormat(value: string, currency?: string): string;
264
+
265
+ declare function GetCurrencySymbol(currency?: string): "$" | "€" | "₺" | "?";
266
+
267
+ declare function GetDecimalByCurrency(currency?: string): "," | ".";
268
+
269
+ /**
270
+ *
271
+ */
272
+ declare function AddDefaultThemeStyle(): void;
273
+
274
+ /**
275
+ * HEX to RGBA converter
276
+ * @param hex - The hex color string
277
+ * @param alpha - The alpha value (0-1)
278
+ * @returns The RGBA color string
279
+ */
280
+ declare function hexToRgba(hex: string, alpha?: number): string;
281
+ /**
282
+ * With opacity helper
283
+ * @param color - The color string
284
+ * @param alpha - The alpha value (0-1)
285
+ * @returns The color string with opacity
286
+ */
287
+ declare function withOpacity(color: string, alpha?: number): string;
288
+ /**
289
+ * Returns the contrast text color for a given color (light/dark)
290
+ * Supports OKLCH and HEX formats
291
+ */
292
+ declare function getContrastText(color: string): string;
293
+
294
+ /**
295
+ * Design Tokens - Merkezi tasarım değerleri
296
+ * Tüm componentler bu token'ları kullanmalı
297
+ */
298
+ declare const TYPOGRAPHY_TOKENS: {
299
+ readonly fontSize: {
300
+ readonly xs: "0.725rem";
301
+ readonly sm: "0.75rem";
302
+ readonly md: "0.825rem";
303
+ readonly df: "0.875rem";
304
+ readonly lg: "0.875rem";
305
+ readonly xl: "0.875rem";
306
+ };
307
+ readonly lineHeight: {
308
+ readonly xs: "0.725rem";
309
+ readonly sm: "0.75rem";
310
+ readonly md: "0.825rem";
311
+ readonly df: "0.875rem";
312
+ readonly lg: "0.875rem";
313
+ readonly xl: "0.875rem";
314
+ };
315
+ readonly fontWeight: {
316
+ readonly normal: 400;
317
+ readonly medium: 500;
318
+ readonly semibold: 600;
319
+ readonly bold: 700;
320
+ };
321
+ };
322
+ declare const SPACING_TOKENS: {
323
+ readonly paddingX: {
324
+ readonly xs: "0.625rem";
325
+ readonly sm: "0.625rem";
326
+ readonly md: "0.75rem";
327
+ readonly df: "0.75rem";
328
+ readonly lg: "0.9375rem";
329
+ readonly xl: "0.9375rem";
330
+ };
331
+ readonly height: {
332
+ readonly xs: "1.75rem";
333
+ readonly sm: "2rem";
334
+ readonly md: "2.125rem";
335
+ readonly df: "2.25rem";
336
+ readonly lg: "2.5rem";
337
+ readonly xl: "2.75rem";
338
+ };
339
+ readonly gap: {
340
+ readonly xs: "0.25rem";
341
+ readonly sm: "0.5rem";
342
+ readonly md: "0.75rem";
343
+ readonly df: "0.875rem";
344
+ readonly lg: "1rem";
345
+ readonly xl: "1.25rem";
346
+ };
347
+ };
348
+ /**
349
+ * Icon ve Image size tokenları
350
+ * Select, Button gibi componentlerde kullanılan icon boyutları
351
+ */
352
+ declare const ICON_TOKENS: {
353
+ readonly image: {
354
+ readonly xs: {
355
+ readonly width: "0.875rem";
356
+ readonly height: "0.875rem";
357
+ };
358
+ readonly sm: {
359
+ readonly width: "1rem";
360
+ readonly height: "1rem";
361
+ };
362
+ readonly md: {
363
+ readonly width: "1.125rem";
364
+ readonly height: "1.125rem";
365
+ };
366
+ readonly df: {
367
+ readonly width: "1.25rem";
368
+ readonly height: "1.25rem";
369
+ };
370
+ readonly lg: {
371
+ readonly width: "1.25rem";
372
+ readonly height: "1.25rem";
373
+ };
374
+ readonly xl: {
375
+ readonly width: "1.375rem";
376
+ readonly height: "1.375rem";
377
+ };
378
+ };
379
+ readonly arrow: {
380
+ readonly xs: {
381
+ readonly width: "0.825rem";
382
+ readonly height: "0.825rem";
383
+ };
384
+ readonly sm: {
385
+ readonly width: "0.825rem";
386
+ readonly height: "0.825rem";
387
+ };
388
+ readonly md: {
389
+ readonly width: "1rem";
390
+ readonly height: "1rem";
391
+ };
392
+ readonly df: {
393
+ readonly width: "1rem";
394
+ readonly height: "1rem";
395
+ };
396
+ readonly lg: {
397
+ readonly width: "1.125rem";
398
+ readonly height: "1.125rem";
399
+ };
400
+ readonly xl: {
401
+ readonly width: "1.125rem";
402
+ readonly height: "1.125rem";
403
+ };
404
+ };
405
+ readonly button: {
406
+ readonly xs: {
407
+ readonly width: "0.75rem";
408
+ readonly height: "0.75rem";
409
+ };
410
+ readonly sm: {
411
+ readonly width: "0.875rem";
412
+ readonly height: "0.875rem";
413
+ };
414
+ readonly md: {
415
+ readonly width: "1rem";
416
+ readonly height: "1rem";
417
+ };
418
+ readonly df: {
419
+ readonly width: "1rem";
420
+ readonly height: "1rem";
421
+ };
422
+ readonly lg: {
423
+ readonly width: "1.125rem";
424
+ readonly height: "1.125rem";
425
+ };
426
+ readonly xl: {
427
+ readonly width: "1.25rem";
428
+ readonly height: "1.25rem";
429
+ };
430
+ };
431
+ readonly default: {
432
+ readonly xs: "0.75rem";
433
+ readonly sm: "0.875rem";
434
+ readonly md: "1rem";
435
+ readonly df: "1rem";
436
+ readonly lg: "1.25rem";
437
+ readonly xl: "1.5rem";
438
+ };
439
+ };
440
+ /**
441
+ * Input componentleri için ortak size mapping
442
+ * Input, Textarea gibi text input elementleri
443
+ */
444
+ declare const INPUT_SIZE_MAP: {
445
+ readonly xs: {
446
+ readonly height: "1.75rem";
447
+ readonly paddingX: "0.625rem";
448
+ readonly fontSize: "0.725rem";
449
+ readonly lineHeight: "0.725rem";
450
+ readonly fontWeight: 400;
451
+ };
452
+ readonly sm: {
453
+ readonly height: "2rem";
454
+ readonly paddingX: "0.625rem";
455
+ readonly fontSize: "0.75rem";
456
+ readonly lineHeight: "0.75rem";
457
+ readonly fontWeight: 400;
458
+ };
459
+ readonly md: {
460
+ readonly height: "2.125rem";
461
+ readonly paddingX: "0.75rem";
462
+ readonly fontSize: "0.825rem";
463
+ readonly lineHeight: "0.825rem";
464
+ readonly fontWeight: 400;
465
+ };
466
+ readonly df: {
467
+ readonly height: "2.25rem";
468
+ readonly paddingX: "0.75rem";
469
+ readonly fontSize: "0.875rem";
470
+ readonly lineHeight: "0.875rem";
471
+ readonly fontWeight: 400;
472
+ };
473
+ readonly lg: {
474
+ readonly height: "2.5rem";
475
+ readonly paddingX: "0.9375rem";
476
+ readonly fontSize: "0.875rem";
477
+ readonly lineHeight: "0.875rem";
478
+ readonly fontWeight: 500;
479
+ };
480
+ readonly xlg: {
481
+ readonly height: "2.75rem";
482
+ readonly paddingX: "0.9375rem";
483
+ readonly fontSize: "0.875rem";
484
+ readonly lineHeight: "0.875rem";
485
+ readonly fontWeight: 500;
486
+ };
487
+ };
488
+ /**
489
+ * Select componentleri için ortak size mapping
490
+ * Select, Dropdown gibi seçim elementleri
491
+ * NOT: Input ile tamamen aynı değerleri kullanır
492
+ */
493
+ declare const SELECT_SIZE_MAP: {
494
+ readonly xs: {
495
+ readonly height: "1.75rem";
496
+ readonly paddingX: "0.625rem";
497
+ readonly fontSize: "0.725rem";
498
+ readonly lineHeight: "0.725rem";
499
+ readonly fontWeight: 400;
500
+ };
501
+ readonly sm: {
502
+ readonly height: "2rem";
503
+ readonly paddingX: "0.625rem";
504
+ readonly fontSize: "0.75rem";
505
+ readonly lineHeight: "0.75rem";
506
+ readonly fontWeight: 400;
507
+ };
508
+ readonly md: {
509
+ readonly height: "2.125rem";
510
+ readonly paddingX: "0.75rem";
511
+ readonly fontSize: "0.825rem";
512
+ readonly lineHeight: "0.825rem";
513
+ readonly fontWeight: 400;
514
+ };
515
+ readonly df: {
516
+ readonly height: "2.25rem";
517
+ readonly paddingX: "0.75rem";
518
+ readonly fontSize: "0.875rem";
519
+ readonly lineHeight: "0.875rem";
520
+ readonly fontWeight: 400;
521
+ };
522
+ readonly lg: {
523
+ readonly height: "2.5rem";
524
+ readonly paddingX: "0.9375rem";
525
+ readonly fontSize: "0.875rem";
526
+ readonly lineHeight: "0.875rem";
527
+ readonly fontWeight: 500;
528
+ };
529
+ readonly xlg: {
530
+ readonly height: "2.75rem";
531
+ readonly paddingX: "0.9375rem";
532
+ readonly fontSize: "0.875rem";
533
+ readonly lineHeight: "0.875rem";
534
+ readonly fontWeight: 500;
535
+ };
536
+ };
537
+ /**
538
+ * Button componentleri için size mapping
539
+ * Regular button ve icon-only button boyutları
540
+ */
541
+ declare const BUTTON_SIZE_MAP: {
542
+ readonly xs: {
543
+ readonly minWidth: "1.75rem";
544
+ readonly minHeight: "1.75rem";
545
+ readonly padding: "0 0.625rem";
546
+ readonly fontSize: "0.725rem";
547
+ readonly lineHeight: "0.725rem";
548
+ readonly fontWeight: 500;
549
+ readonly iconSize: {
550
+ readonly width: "0.75rem";
551
+ readonly height: "0.75rem";
552
+ };
553
+ readonly spinnerSize: "0.75rem";
554
+ readonly spinnerBorder: "1px";
555
+ };
556
+ readonly sm: {
557
+ readonly minWidth: "2rem";
558
+ readonly minHeight: "2rem";
559
+ readonly padding: "0 0.9375rem";
560
+ readonly fontSize: "0.75rem";
561
+ readonly lineHeight: "0.75rem";
562
+ readonly fontWeight: 500;
563
+ readonly iconSize: {
564
+ readonly width: "0.875rem";
565
+ readonly height: "0.875rem";
566
+ };
567
+ readonly spinnerSize: "1rem";
568
+ readonly spinnerBorder: "2px";
569
+ };
570
+ readonly md: {
571
+ readonly minWidth: "2.125rem";
572
+ readonly minHeight: "2.125rem";
573
+ readonly padding: "0 0.9375rem";
574
+ readonly fontSize: "0.825rem";
575
+ readonly lineHeight: "0.825rem";
576
+ readonly fontWeight: 500;
577
+ readonly iconSize: {
578
+ readonly width: "1rem";
579
+ readonly height: "1rem";
580
+ };
581
+ readonly spinnerSize: "1rem";
582
+ readonly spinnerBorder: "2px";
583
+ };
584
+ readonly df: {
585
+ readonly minWidth: "2.25rem";
586
+ readonly minHeight: "2.25rem";
587
+ readonly padding: "0 0.9375rem";
588
+ readonly fontSize: "0.875rem";
589
+ readonly lineHeight: "0.875rem";
590
+ readonly fontWeight: 500;
591
+ readonly iconSize: {
592
+ readonly width: "1rem";
593
+ readonly height: "1rem";
594
+ };
595
+ readonly spinnerSize: "1rem";
596
+ readonly spinnerBorder: "2px";
597
+ };
598
+ readonly lg: {
599
+ readonly minWidth: "2.5rem";
600
+ readonly minHeight: "2.5rem";
601
+ readonly padding: "0 1.25rem";
602
+ readonly fontSize: "0.875rem";
603
+ readonly lineHeight: "0.875rem";
604
+ readonly fontWeight: 500;
605
+ readonly iconSize: {
606
+ readonly width: "1.125rem";
607
+ readonly height: "1.125rem";
608
+ };
609
+ readonly spinnerSize: "1.125rem";
610
+ readonly spinnerBorder: "2px";
611
+ };
612
+ readonly xlg: {
613
+ readonly minWidth: "2.75rem";
614
+ readonly minHeight: "2.75rem";
615
+ readonly padding: "0 1.25rem";
616
+ readonly fontSize: "0.875rem";
617
+ readonly lineHeight: "0.875rem";
618
+ readonly fontWeight: 500;
619
+ readonly iconSize: {
620
+ readonly width: "1.25rem";
621
+ readonly height: "1.25rem";
622
+ };
623
+ readonly spinnerSize: "1.25rem";
624
+ readonly spinnerBorder: "3px";
625
+ };
626
+ };
627
+ /**
628
+ * Alert component için özel token'lar
629
+ */
630
+ declare const ALERT_TOKENS: {
631
+ readonly title: {
632
+ readonly fontSize: "0.875rem";
633
+ readonly lineHeight: "1rem";
634
+ readonly fontWeight: 500;
635
+ };
636
+ readonly description: {
637
+ readonly fontSize: "0.8125rem";
638
+ readonly lineHeight: "1rem";
639
+ readonly fontWeight: 400;
640
+ };
641
+ readonly icon: {
642
+ readonly size: "1rem";
643
+ readonly marginTop: "0.125rem";
644
+ };
645
+ readonly spacing: {
646
+ readonly gap: "0.875rem";
647
+ readonly padding: "0.875rem";
648
+ };
649
+ };
650
+ /**
651
+ * Card component için özel token'lar
652
+ */
653
+ declare const CARD_TOKENS: {
654
+ readonly padding: {
655
+ readonly xs: "0.5rem";
656
+ readonly sm: "0.75rem";
657
+ readonly md: "1rem";
658
+ readonly lg: "1.25rem";
659
+ };
660
+ readonly borderRadius: {
661
+ readonly sm: "0.375rem";
662
+ readonly md: "0.5rem";
663
+ readonly lg: "0.75rem";
664
+ };
665
+ };
666
+ /**
667
+ * Modal component için özel token'lar
668
+ */
669
+ declare const MODAL_TOKENS: {
670
+ readonly title: {
671
+ readonly fontSize: "0.9375rem";
672
+ readonly lineHeight: "1.375rem";
673
+ readonly fontWeight: 600;
674
+ };
675
+ readonly description: {
676
+ readonly fontSize: "0.8125rem";
677
+ readonly lineHeight: "1.25rem";
678
+ readonly fontWeight: 400;
679
+ };
680
+ readonly padding: {
681
+ readonly sm: "1rem";
682
+ readonly md: "1.25rem";
683
+ readonly lg: "1.5rem";
684
+ };
685
+ };
686
+
687
+ /**
688
+ * CSS Variables Generator
689
+ * ITDTheme token'larını CSS custom properties olarak
690
+ * verilen container elemente (veya fallback olarak :root'a) yazar.
691
+ * styled-components'taki ${({ theme }) => theme.x} yerine
692
+ * var(--itd-x) kullanılmasını sağlar → tema değişiminde
693
+ * React re-render yerine native CSS repaint olur.
694
+ */
695
+
696
+ /**
697
+ * Design token'larını (typography, spacing) CSS variables olarak inject eder
698
+ */
699
+ declare function injectDesignTokens(): void;
700
+ /**
701
+ * CSS variables'ları export et (dokümantasyon için)
702
+ */
703
+ declare const CSS_VARIABLES_MAP: {
704
+ readonly '--itd-text-xs': "0.725rem";
705
+ readonly '--itd-text-sm': "0.75rem";
706
+ readonly '--itd-text-md': "0.825rem";
707
+ readonly '--itd-text-df': "0.875rem";
708
+ readonly '--itd-text-lg': "0.875rem";
709
+ readonly '--itd-text-xl': "0.875rem";
710
+ readonly '--itd-font-weight-normal': 400;
711
+ readonly '--itd-font-weight-medium': 500;
712
+ readonly '--itd-font-weight-semibold': 600;
713
+ readonly '--itd-font-weight-bold': 700;
714
+ readonly '--itd-spacing': "0.25rem";
715
+ };
716
+ /**
717
+ * ITDTheme objesindeki TÜM string token'ları CSS custom properties olarak yazar.
718
+ * Naming: camelCase key → --itd-kebab-case
719
+ *
720
+ * @param theme - ITDTheme objesi
721
+ * @param targetEl - ITDProvider wrapper elementi. Verilirse hem bu elemente
722
+ * hem de document.documentElement'e yazılır.
723
+ * Wrapper'a yazılması: [data-theme] CSS fallback'lerini override eder.
724
+ * Root'a yazılması: portal content'in (select, modal) inherit edebilmesi için.
725
+ */
726
+ declare function injectThemeVars(theme: ITDTheme, targetEl?: HTMLElement | null): void;
727
+ declare const injectThemeColors: typeof injectThemeVars;
728
+
729
+ declare function IsValidJSON(item: string | {}): boolean;
730
+
731
+ declare function AddZero(num: string): string;
732
+
733
+ declare function RemoveUnits(value: string): number;
734
+
735
+ /**
736
+ * Returns an array with arrays of the given size.
737
+ *
738
+ * @param array {Array} array to split
739
+ * @param chunk_size {Integer} Size of every group
740
+ */
741
+ declare function ChunkArray(array: [], chunk_size: number): never[];
742
+
743
+ /**
744
+ *
745
+ * @param text
746
+ * @param entryType
747
+ * @returns
748
+ */
749
+ declare function FileChecker(text?: string, entryType?: string): boolean;
750
+
751
+ declare function CheckFileURL(url: string): false | Promise<boolean>;
752
+
753
+ /**
754
+ *
755
+ *
756
+ *
757
+ */
758
+ declare function UniUpperCase(value?: string, lang?: string): string;
759
+
760
+ declare function FormatBytes(bytes: number, decimals?: number): string;
761
+
762
+ declare function GetTypeByFileType(type: FileTypes): "" | FileExtensions;
763
+
764
+ declare function Wait(milliseconds: number): Promise<unknown>;
765
+
766
+ declare const SVGLoader: (src: string, width?: string | number, height?: string | number) => react_jsx_runtime.JSX.Element;
767
+
768
+ declare function FormatDate(date: Date, locale?: string, format?: string): string;
769
+
770
+ declare function FormatDateTime(date: Date, locale?: string, format?: string): string;
771
+
772
+ declare function FormatSimpleDate(date: Date, locale?: string, format?: string): string;
773
+
774
+ declare function FormatSimpleDateTime(date: Date, locale?: string, format?: string): string;
775
+
776
+ declare function FormatTime(time: dayjs.ConfigType, locale?: string, format?: string): string;
777
+
778
+ declare function AddDefaultUnit(value: string | number): string;
779
+
780
+ declare function Base64Encode(input: string): string;
781
+
782
+ declare function Base64Decode(encoded: string): string;
783
+
784
+ /**
785
+ * What are SEO stop words?
786
+ *
787
+ * SEO stop words (Google stop words, stopwords) are generic common words
788
+ * (and, or, besides, in, a, the, do, they, etc.) that Google may omit in
789
+ * search query processing because they don’t usually affect the meaning of the query.
790
+ * These words are actually used for grammatical purposes and don’t communicate a message on their own.
791
+ *
792
+ * For example, if you google something like “best carrot cake recipe” and “the best carrot cake recipe”,
793
+ * the SERP will anyway feature links to pages with carrot cake recipes. In this case, the does not
794
+ * add any meaning to the query.
795
+ *
796
+ */
797
+ /**
798
+ *
799
+ * ### toKebabCase
800
+ *
801
+ * First, removes special characters from the provided string value and converts it to lowercase.
802
+ *
803
+ * @param value The input string.
804
+ * @param removeStopWords Removes stop words if true.
805
+ * @param removeNumbers Removes numbers if true.
806
+ *
807
+ * @returns If `toKebabCase("bu 123 bir örnek 456 cümle", true, true)` is provided, it will return `"ornek-cumle"`.
808
+ *
809
+ */
810
+ declare function toKebabCase(value: string, removeStopWords?: boolean, removeNumbers?: boolean): string;
811
+
812
+ type Nullable<T> = T | null;
813
+ type THandler = Nullable<(value: string | null) => void>;
814
+ declare const useReCaptcha: (handler: THandler) => {
815
+ loadReCaptcha: (key: string) => void;
816
+ executeReCaptcha: () => void;
817
+ };
818
+
819
+ /**
820
+ *
821
+ * This hook acting like a class constructor.
822
+ *
823
+ * @param {*} callBack
824
+ *
825
+ * @returns
826
+ *
827
+ */
828
+ declare const useConstructor: (callBack?: () => void) => void;
829
+
830
+ /**
831
+ *
832
+ * ADD EXTERNAL CSS
833
+ *
834
+ * Load dynamic css files. If the css file to be loaded has already been added, it will not be loaded again.
835
+ * If the component that loads it is removed from the screen, the css it loads will also be removed.
836
+ *
837
+ * @param link string (the css file to be loaded)
838
+ * @param temporary boolean (if true, the css file will be removed when the component that loads it is removed from the screen)
839
+ *
840
+ */
841
+ declare const useAddExternalCSS: (link: string, temporary?: boolean) => void;
842
+
843
+ /**
844
+ *
845
+ * document objesine event listener ekler ve ref dışarısında
846
+ * herhangi bir alana tıklanıldığında ref'in kapatılmasını sağlar.
847
+ *
848
+ * @param ref
849
+ * @param handler
850
+ *
851
+ */
852
+ declare const useOnClickOutside: (ref: RefObject<HTMLDivElement | null>, handler: (event: PointerEvent) => void) => void;
853
+
854
+ /**
855
+ *
856
+ * document objesine event listener ekler ve ESC tuşuna basıldığında
857
+ * çağrılır.
858
+ *
859
+ * @param {*} handler
860
+ *
861
+ */
862
+ declare const useOnESCKeyDown: (handler: (event: Event) => void) => void;
863
+
864
+ /**
865
+ *
866
+ * #### useSingleQuery
867
+ *
868
+ * Tarayıcılardaki Query String yapısına ekleme/çıkarma veya kontrolünü yapar.
869
+ * Aynı anda sadece tek bir değer değiştirebilir, çoklu işlemler için useMultiQuery
870
+ * sınıfı kullanılmalıdır.
871
+ *
872
+ * Type guard sistemine sahiptir ve istenilen query string değeri, istenilen bir
873
+ * tipte döndürülebilir. Desteklediği tipler, string, number, boolean ve array'dir.
874
+ * Obje tipi desteklenmemektedir.
875
+ *
876
+ * @returns
877
+ *
878
+ */
879
+ declare const useSingleQuery: () => SingleQueryProps;
880
+
881
+ declare const useMultiQuery: () => {
882
+ set: (queries?: {
883
+ type: string;
884
+ value: string;
885
+ }[]) => void;
886
+ };
887
+
888
+ /**
889
+ *
890
+ * window objesine event listener ekler ve
891
+ * sayfa resize olduğunda çağrılır.
892
+ *
893
+ * @param {*} handler
894
+ *
895
+ */
896
+ declare const useOnResize: (handler: (event: Event) => void) => void;
897
+
898
+ /**
899
+ *
900
+ * window objesine event listener ekler ve
901
+ * kullanıcı online ve offline olduğunda çağrılır.
902
+ *
903
+ * @param handler
904
+ *
905
+ */
906
+ declare const useConnectionStatus: (handler: (status: ConnectionStatus$1, event: Event) => void) => void;
907
+
908
+ declare const useComponentSize: (comRef: RefObject<any>) => {
909
+ width: number;
910
+ height: number;
911
+ }[];
912
+
913
+ /**
914
+ *
915
+ * useCoreFetch
916
+ * --
917
+ *
918
+ * All API routes within the application pass through this class. It filters all
919
+ * responses returned from the API and processes them to their expected state.
920
+ * Then, it returns the success or failure status.
921
+ *
922
+ * Additionally, it retrieves and adds additional information such as language,
923
+ * token, currency, etc., from the user's cookie to API calls.
924
+ *
925
+ * @param changeLogout The function used to log out the user when called from places where
926
+ * context data such as React.Portal cannot be accessed needs to be passed.
927
+ * @param isUserLoggedOut User's logout information.
928
+ *
929
+ * @returns
930
+ *
931
+ */
932
+ declare const useCoreFetch: () => {
933
+ fetch: ({ action, requestMethod, addOrigin, params, queries, headers, cancelable, onFetched, onError, onCanceled, onProgress, }: {
934
+ action: string;
935
+ requestMethod?: string;
936
+ addOrigin?: boolean;
937
+ params?: {};
938
+ queries?: {};
939
+ headers?: {};
940
+ cancelable?: boolean;
941
+ onFetched?: (result: any) => void;
942
+ onError?: (err: string, code: number) => void;
943
+ onCanceled?: (message: Cancel) => void;
944
+ onProgress?: (event: AxiosProgressEvent) => void;
945
+ }) => Promise<void>;
946
+ cancel: () => void;
947
+ };
948
+
949
+ declare const useContextBridge: (...contexts: Context<any>[] | []) => (({ children }: {
950
+ children: ReactNode;
951
+ }) => react_jsx_runtime.JSX.Element) | (({ children }: {
952
+ children: ReactNode;
953
+ }) => ReactNode);
954
+
955
+ interface UseKeyboardShortcutProps {
956
+ key: string;
957
+ onKeyPressed: () => void;
958
+ }
959
+ declare const useKeyboardShortcut: ({ key, onKeyPressed }: UseKeyboardShortcutProps) => void;
960
+
961
+ type OrientationType = "portrait" | "landscape";
962
+ declare const useOrientation: () => OrientationType;
963
+
964
+ type UseAvoidCollisionOpts = {
965
+ /** ".chat-bubble", ".whatsapp-button", ".cookie-consent", "[data-fixed-obstacle='true']" gibi engellerin CSS seçicileri */
966
+ obstacles?: string[];
967
+ /** Sağa/sola yerleşim - şu an sağ-alt odaklı, gerekirse geliştirilebilir */
968
+ corner?: "bottom-right" | "bottom-left" | "bottom-center";
969
+ /** Otomatik algılama açılsın mı? */
970
+ autoAvoid?: boolean;
971
+ /** Panelden gelen manuel ekstra boşluk */
972
+ extraBottom?: number;
973
+ /** Otomatik algıda en az kaç px boşluk bırakalım */
974
+ minGap?: number;
975
+ };
976
+ /**
977
+ * Use avoid collision
978
+ *
979
+ * Avoid collision with obstacles.
980
+ */
981
+ declare const useAvoidCollision: ({ obstacles, corner, autoAvoid, extraBottom, minGap, }?: UseAvoidCollisionOpts) => {
982
+ bottomOffset: number;
983
+ };
984
+
985
+ declare const H1: ({ children }: {
986
+ children: ChildrenProps$1;
987
+ }) => react_jsx_runtime.JSX.Element;
988
+
989
+ declare const H2: ({ children }: {
990
+ children: ChildrenProps$1;
991
+ }) => react_jsx_runtime.JSX.Element;
992
+
993
+ declare const H3: ({ children }: {
994
+ children: ChildrenProps$1;
995
+ }) => react_jsx_runtime.JSX.Element;
996
+
997
+ declare const H4: ({ children }: {
998
+ children: ChildrenProps$1;
999
+ }) => react_jsx_runtime.JSX.Element;
1000
+
1001
+ declare const Lock: ({ className, height, width }: {
1002
+ className: any;
1003
+ height: any;
1004
+ width: any;
1005
+ }) => react_jsx_runtime.JSX.Element;
1006
+
1007
+ declare const Arrow: ({ className, height, width }: {
1008
+ className?: string | undefined;
1009
+ height?: number | undefined;
1010
+ width?: number | undefined;
1011
+ }) => react_jsx_runtime.JSX.Element;
1012
+
1013
+ declare const Upload$1: ({ className, height, width }: {
1014
+ className?: string | undefined;
1015
+ height?: number | undefined;
1016
+ width?: number | undefined;
1017
+ }) => react_jsx_runtime.JSX.Element;
1018
+
1019
+ declare const BackToTop: ({ className, height, width }: {
1020
+ className?: string | undefined;
1021
+ height: any;
1022
+ width: any;
1023
+ }) => react_jsx_runtime.JSX.Element;
1024
+
1025
+ declare const Checkmark: ({ className, height, width }: {
1026
+ className: any;
1027
+ height: any;
1028
+ width: any;
1029
+ }) => react_jsx_runtime.JSX.Element;
1030
+
1031
+ declare const InlineSelectArrow: ({ className, height, width }: {
1032
+ className: any;
1033
+ height: any;
1034
+ width: any;
1035
+ }) => react_jsx_runtime.JSX.Element;
1036
+
1037
+ declare const Trash: ({ className, height, width }: {
1038
+ className?: string | undefined;
1039
+ height?: number | undefined;
1040
+ width?: number | undefined;
1041
+ }) => react_jsx_runtime.JSX.Element;
1042
+
1043
+ declare const ZoomIn: ({ className, height, width }: {
1044
+ className?: string | undefined;
1045
+ height?: number | undefined;
1046
+ width?: number | undefined;
1047
+ }) => react_jsx_runtime.JSX.Element;
1048
+
1049
+ declare const ZoomOut: ({ className, height, width }: {
1050
+ className?: string | undefined;
1051
+ height?: number | undefined;
1052
+ width?: number | undefined;
1053
+ }) => react_jsx_runtime.JSX.Element;
1054
+
1055
+ declare const Picture: ({ className, height, width }: {
1056
+ className?: string | undefined;
1057
+ height?: number | undefined;
1058
+ width?: number | undefined;
1059
+ }) => react_jsx_runtime.JSX.Element;
1060
+
1061
+ type IconProps = {
1062
+ className?: string;
1063
+ width?: number;
1064
+ height?: number;
1065
+ };
1066
+ declare const NoData: ({ className, height, width }: IconProps) => react_jsx_runtime.JSX.Element;
1067
+
1068
+ declare function cn(...inputs: ClassValue[]): string;
1069
+
1070
+ type InlineSVGCachedProps = {
1071
+ src: string;
1072
+ className?: string;
1073
+ style?: React.CSSProperties;
1074
+ title?: string;
1075
+ role?: string;
1076
+ onLoaded?: () => void;
1077
+ onError?: (error: unknown) => void;
1078
+ };
1079
+ declare const _default$4: react.MemoExoticComponent<({ src, className, style, title, role, onLoaded, onError }: InlineSVGCachedProps) => react_jsx_runtime.JSX.Element>;
1080
+
1081
+ type OptionsTypeProps = {
1082
+ id?: string;
1083
+ customKey?: string;
1084
+ label: ChildrenProps$1;
1085
+ disabled: boolean;
1086
+ value: SelectValue$1;
1087
+ variant: ITDVariant$1;
1088
+ size: ITDSizeSlug$1;
1089
+ icon?: ChildrenProps$1;
1090
+ image?: string;
1091
+ multi?: boolean;
1092
+ checked?: boolean;
1093
+ isActive?: boolean;
1094
+ index?: number;
1095
+ onHover?: (index: number) => void;
1096
+ onChange?: (value: SelectValue$1, checked: boolean, label: ChildrenProps$1) => null;
1097
+ };
1098
+ declare const _default$3: react.MemoExoticComponent<{
1099
+ ({ id, multi, checked, variant, size, icon, image, value, customKey, disabled, isActive, index, onHover, onChange, label }: OptionsTypeProps): react_jsx_runtime.JSX.Element;
1100
+ displayName: string;
1101
+ }>;
1102
+
1103
+ type SelectSubComponentProps = {
1104
+ Option: typeof _default$3;
1105
+ };
1106
+ type SelectComponentProps = ForwardRefExoticComponent<PropsWithoutRef<SelectProps> & RefAttributes<ITDImperativeFuncProps>> & SelectSubComponentProps;
1107
+ declare const Select: SelectComponentProps;
1108
+
1109
+ /**
1110
+ *
1111
+ * FORM FIELD GROUP
1112
+ *
1113
+ * @param className
1114
+ * @param children
1115
+ * @returns
1116
+ *
1117
+ */
1118
+ type GroupProps = {
1119
+ className?: string;
1120
+ gap?: number;
1121
+ horizontal?: boolean;
1122
+ children?: ChildrenProps$1;
1123
+ };
1124
+ declare function Group({ gap, horizontal, className, children }: GroupProps): react_jsx_runtime.JSX.Element;
1125
+
1126
+ type ControlProps = {
1127
+ className?: string;
1128
+ position?: "start" | "end" | "center";
1129
+ form?: string;
1130
+ children?: ChildrenProps$1;
1131
+ };
1132
+ declare function Control({ position, className, form, children }: ControlProps): react_jsx_runtime.JSX.Element;
1133
+
1134
+ type ItemProps = {
1135
+ name: string;
1136
+ id?: string;
1137
+ label?: string;
1138
+ error?: string;
1139
+ rules?: FormRuleProps[];
1140
+ mask?: string | null;
1141
+ locked?: boolean;
1142
+ dependency?: string;
1143
+ reset?: any[];
1144
+ query?: string;
1145
+ children: ChildrenProps$1;
1146
+ };
1147
+ declare const Item$1: react.ForwardRefExoticComponent<ItemProps & react.RefAttributes<ITDImperativeFuncProps>>;
1148
+
1149
+ /**
1150
+ * Modal states
1151
+ *
1152
+ * Modal states for the modal component.
1153
+ */
1154
+ declare enum ModalState {
1155
+ NOT_SHOW = "modal-not-show",
1156
+ BEGIN = "modal-begin",
1157
+ ENTERING = "modal-entering",
1158
+ ENTERED = "modal-entered",
1159
+ EXITING = "modal-exiting",
1160
+ EXITED = "modal-exited",
1161
+ REMOVED = "modal-removed",
1162
+ OK_CLICK = "modal-ok-button-click",
1163
+ CANCEL_CLICK = "modal-cancel-button-click",
1164
+ CLOSE_CLICK = "modal-close-button-click",
1165
+ OUTSIDE_CLICK = "modal-outside-click",
1166
+ ESC_CLICK = "modal-esc-click",
1167
+ ALL_REMOVED = "modal-all-removed"
1168
+ }
1169
+ /**
1170
+ * File types
1171
+ *
1172
+ * File types for the file component.
1173
+ */
1174
+ declare enum FileTypes {
1175
+ SVG = "image/svg+xml",
1176
+ PNG = "image/png",
1177
+ JPG = "image/jpg",
1178
+ JPEG = "image/jpeg",
1179
+ GIF = "image/gif",
1180
+ PDF = "application/pdf",
1181
+ OTF = "font/otf"
1182
+ }
1183
+ /**
1184
+ * File extensions
1185
+ *
1186
+ * File extensions for the file component.
1187
+ */
1188
+ declare enum FileExtensions {
1189
+ SVG = ".svg",
1190
+ PNG = ".png",
1191
+ JPG = ".jpg",
1192
+ GIF = ".gif",
1193
+ PDF = ".pdf",
1194
+ OTF = ".otf"
1195
+ }
1196
+ /**
1197
+ * Form validations
1198
+ *
1199
+ * Form validations for the form component.
1200
+ */
1201
+ declare enum FormValidations {
1202
+ REQUIRED = "required",
1203
+ TYPE = "type"
1204
+ }
1205
+ /**
1206
+ * Form validation types
1207
+ *
1208
+ * Form validation types for the form component.
1209
+ */
1210
+ declare enum FormValidationTypes {
1211
+ MIN_LENGTH = "minLength",
1212
+ MAX_LENGTH = "maxLength",
1213
+ EXACT_LENGTH = "exactLength",
1214
+ SAME = "same",
1215
+ NOT_SAME = "notSame",
1216
+ TC_IDENTITY = "TCIdentity",
1217
+ PASSWORD = "password",
1218
+ EMAIL = "email",
1219
+ USERNAME = "username",
1220
+ SITE_USERNAME = "siteUsername",
1221
+ ADMIN_USERNAME = "adminUsername",
1222
+ URL = "url",
1223
+ FORBIDDEN_WORDS = "forbiddenWords"
1224
+ }
1225
+ /**
1226
+ * Connection status
1227
+ *
1228
+ * Connection status for the connection component.
1229
+ */
1230
+ declare enum ConnectionStatus {
1231
+ ONLINE = "online",
1232
+ OFFLINE = "offline"
1233
+ }
1234
+ /**
1235
+ * Component sizes
1236
+ *
1237
+ * Component sizes for the component.
1238
+ */
1239
+ declare enum ComponentSizes {
1240
+ X_SMALL = "x-small",
1241
+ SMALL = "small",
1242
+ MEDIUM = "medium",
1243
+ DEFAULT = "default",
1244
+ LARGE = "large",
1245
+ X_LARGE = "x-large"
1246
+ }
1247
+ /**
1248
+ * Component sizes slug
1249
+ *
1250
+ * Component sizes slug for the component.
1251
+ */
1252
+ declare enum ComponentSizesSlug {
1253
+ X_SMALL = "xs",
1254
+ SMALL = "sm",
1255
+ MEDIUM = "md",
1256
+ DEFAULT = "df",
1257
+ LARGE = "lg",
1258
+ X_LARGE = "xlg"
1259
+ }
1260
+ /**
1261
+ * Button sizes
1262
+ *
1263
+ * Button-specific sizes including icon-only variants.
1264
+ * Extends ComponentSizes with icon variants.
1265
+ */
1266
+ declare enum ButtonSizes {
1267
+ X_SMALL = "x-small",
1268
+ SMALL = "small",
1269
+ MEDIUM = "medium",
1270
+ DEFAULT = "default",
1271
+ LARGE = "large",
1272
+ X_LARGE = "x-large",
1273
+ ICON = "icon",
1274
+ ICON_SM = "icon-sm",
1275
+ ICON_LG = "icon-lg"
1276
+ }
1277
+ /**
1278
+ * Button sizes slug
1279
+ *
1280
+ * Button sizes slug for the component.
1281
+ * Extends ComponentSizesSlug with icon variants.
1282
+ */
1283
+ declare enum ButtonSizesSlug {
1284
+ X_SMALL = "xs",
1285
+ SMALL = "sm",
1286
+ MEDIUM = "md",
1287
+ DEFAULT = "df",
1288
+ LARGE = "lg",
1289
+ X_LARGE = "xlg",
1290
+ ICON = "icon",
1291
+ ICON_SM = "icon-sm",
1292
+ ICON_LG = "icon-lg"
1293
+ }
1294
+ /**
1295
+ * Component x positions
1296
+ *
1297
+ * Component x positions for the component.
1298
+ */
1299
+ declare enum ComponentXPositions {
1300
+ LEFT = "left",
1301
+ RIGHT = "right"
1302
+ }
1303
+ /**
1304
+ * Component y positions
1305
+ *
1306
+ * Component y positions for the component.
1307
+ */
1308
+ declare enum ComponentYPositions {
1309
+ TOP = "top",
1310
+ BOTTOM = "bottom"
1311
+ }
1312
+ /**
1313
+ * Component variants
1314
+ *
1315
+ * Component variants for the component.
1316
+ */
1317
+ declare enum ComponentVariants {
1318
+ DEFAULT = "default",
1319
+ FILLED = "filled",
1320
+ CUSTOM = "custom"
1321
+ }
1322
+ declare enum ButtonTypes {
1323
+ BUTTON = "button",
1324
+ SUBMIT = "submit",
1325
+ RESET = "reset"
1326
+ }
1327
+ /**
1328
+ * Tooltip positions
1329
+ *
1330
+ * Tooltip positions for the tooltip component.
1331
+ */
1332
+ declare enum TooltipPositions {
1333
+ TOP_LEFT = "top-left",
1334
+ TOP_RIGHT = "top-right",
1335
+ BOTTOM_LEFT = "bottom-left",
1336
+ BOTTOM_RIGHT = "bottom-right"
1337
+ }
1338
+ /**
1339
+ * Trigger types
1340
+ *
1341
+ * Trigger types for the useFloatingTrigger hook.
1342
+ */
1343
+ declare enum TriggerTypes {
1344
+ HOVER = "hover",
1345
+ CLICK = "click",
1346
+ FOCUS = "focus",
1347
+ MANUAL = "manual"
1348
+ }
1349
+ /**
1350
+ * Theme appearances
1351
+ *
1352
+ * Theme appearances for the theme component.
1353
+ */
1354
+ declare enum ThemeAppearances {
1355
+ LIGHT = "light",
1356
+ DARK = "dark"
1357
+ }
1358
+
1359
+ type ITDSize = ComponentSizes | "x-small" | "small" | "medium" | "default" | "large" | "x-large";
1360
+ type ITDSizeSlug = ComponentSizesSlug | "xs" | "sm" | "md" | "df" | "lg" | "xlg";
1361
+ type ITDVariant = ComponentVariants | "default" | "filled" | "custom";
1362
+ type ITDHorizontalPosition = ComponentXPositions | "left" | "right";
1363
+ type ITDVerticalPosition = ComponentYPositions | "top" | "bottom";
1364
+
1365
+ type FormContextType = {
1366
+ register: (item: FormItemProps) => void;
1367
+ unregister: (name: string) => void;
1368
+ hasField: (name: string) => boolean;
1369
+ scrollTo: (name: string, options?: ScrollIntoViewOptions | boolean) => boolean;
1370
+ checkFormIsValid: () => boolean;
1371
+ getValues: () => {};
1372
+ getFieldValue: (name: string) => FormValueProps;
1373
+ getFieldValueByName: (name: string) => FormValueProps;
1374
+ getFieldInstance: (name: string) => ITDImperativeFuncProps | null;
1375
+ getFields: () => {
1376
+ [key: string]: FormItemProps;
1377
+ };
1378
+ getFieldsInstance: () => {};
1379
+ setName: (name: string) => void;
1380
+ setInitialValues: (initialFields: {}, update?: boolean, validation?: boolean) => {};
1381
+ setInvalidField: (name: string, message: string) => void;
1382
+ setInvalidFields: (names: string[], message: string) => void;
1383
+ setFieldValue: (name: string, value: FormValueProps) => void;
1384
+ setFieldValueByName: (name: string, value: FormValueProps, update: boolean, validation: boolean) => void;
1385
+ setFieldError: (name: string, message: string, validation?: boolean) => void;
1386
+ removeFieldError: (name: string) => void;
1387
+ updateField: (name: string, value: FormValueProps, update: boolean, valid: boolean) => void;
1388
+ isFormValid: () => boolean;
1389
+ isFieldsValid: (names: string[]) => boolean;
1390
+ isFieldValid: (name: string) => boolean;
1391
+ resetFields: (update?: boolean, validation?: boolean) => void;
1392
+ removeFields: () => void;
1393
+ formId: string;
1394
+ updated: {};
1395
+ variant?: ITDVariant;
1396
+ disabled?: boolean;
1397
+ locked?: boolean;
1398
+ };
1399
+
1400
+ type FormStoreProps = {
1401
+ name: string;
1402
+ onUpdate?: (values: {}) => void;
1403
+ onFieldUpdate?: (update: FieldUpdateProps) => void;
1404
+ onReset?: () => void;
1405
+ useQueryString?: boolean;
1406
+ variant?: ITDVariant;
1407
+ disabled?: boolean;
1408
+ locked?: boolean;
1409
+ };
1410
+
1411
+ type FormSubComponentProps$1 = {
1412
+ Item: typeof Item$1;
1413
+ Group: typeof Group;
1414
+ Control: typeof Control;
1415
+ useForm: () => FormContextType;
1416
+ useFormAPI: FormStoreProps;
1417
+ };
1418
+ type FormComponentProps = ForwardRefExoticComponent<PropsWithoutRef<FormProps> & RefAttributes<FormContextType>> & FormSubComponentProps$1;
1419
+ declare const Form: FormComponentProps;
1420
+
1421
+ declare const CheckboxGroup: react.ForwardRefExoticComponent<CheckboxGroupProps & react.RefAttributes<ITDImperativeFuncProps>>;
1422
+
1423
+ type CheckboxSubComponentProps = {
1424
+ Group: typeof CheckboxGroup;
1425
+ };
1426
+ type CheckboxComponentProps = ForwardRefExoticComponent<PropsWithoutRef<CheckboxProps> & RefAttributes<ITDImperativeFuncProps>> & CheckboxSubComponentProps;
1427
+ declare const Checkbox: CheckboxComponentProps;
1428
+
1429
+ declare function SubMenu({ id, link, icon, title, isSelected, useLink, onlyOne, subMenuLinkArrow, end, subMenuHeight, itemHeight, iconSize, arrowSize, onChange, children }: AccordionSubMenuProps): react_jsx_runtime.JSX.Element;
1430
+
1431
+ declare const Item: ({ link, itemHeight, arrowSize, active, end, children }: AccordionItemProps) => react_jsx_runtime.JSX.Element;
1432
+
1433
+ type AccordionMenuSubComponents = {
1434
+ SubMenu: typeof SubMenu;
1435
+ Item: typeof Item;
1436
+ };
1437
+ type AccordionMenuProps = AccordionProps & {
1438
+ className?: string;
1439
+ };
1440
+ declare const Accordion: FunctionComponent<AccordionMenuProps> & AccordionMenuSubComponents;
1441
+
1442
+ type CalendarLocale = {
1443
+ weekdaysLong: string[];
1444
+ weekdaysShort: string[];
1445
+ months: string[];
1446
+ firstDay: number;
1447
+ format: string;
1448
+ };
1449
+ declare const Calendar: ({ value, defaultValue, className, onChange, disabledDate, locale }: {
1450
+ value?: string;
1451
+ defaultValue?: string;
1452
+ className?: string;
1453
+ onChange?: ((value: CalendarValueProps) => void) | null;
1454
+ disabledDate?: (date: dayjs.Dayjs) => boolean;
1455
+ locale?: CalendarLocale;
1456
+ }) => react_jsx_runtime.JSX.Element | null;
1457
+
1458
+ declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<ITDImperativeFuncProps>>;
1459
+
1460
+ type Element = string | number | ReactNode | undefined;
1461
+ type ChildrenProps = Element | Element[] | null;
1462
+
1463
+ declare enum InputTypes {
1464
+ TEXT = "text",
1465
+ NUMBER = "number",
1466
+ CURRENCY = "currency",
1467
+ PASSWORD = "password"
1468
+ }
1469
+ type InputType = `${InputTypes}`;
1470
+ type InputVariant = "default" | "filled" | "dashed";
1471
+ /**
1472
+ * Input component props extending native HTML input attributes
1473
+ * Omits conflicting props that have custom implementations
1474
+ */
1475
+ type InputProps = Omit<react__default.InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix' | 'onChange' | 'onFocus' | 'onBlur' | 'onKeyDown' | 'type' | 'children' | 'style'> & {
1476
+ style?: react__default.CSSProperties;
1477
+ type?: InputType;
1478
+ size?: ITDSize;
1479
+ variant?: InputVariant;
1480
+ prefix?: ChildrenProps;
1481
+ suffix?: ChildrenProps;
1482
+ addonBefore?: ChildrenProps;
1483
+ addonAfter?: ChildrenProps;
1484
+ locked?: ChildrenProps | boolean;
1485
+ minValue?: number;
1486
+ maxValue?: number;
1487
+ keepFocus?: boolean;
1488
+ mask?: null | string;
1489
+ allowEmptyFormatting?: null | boolean;
1490
+ allowLeadingZeros?: boolean;
1491
+ decimalSeparator?: string;
1492
+ thousandSeparator?: string;
1493
+ decimalScale?: number;
1494
+ focusRef?: null | MutableRefObject<HTMLDivElement>;
1495
+ onChange?: ((value: string | number) => void) | null;
1496
+ onUpdate?: ((value: string | number, update: boolean, validation: boolean) => void) | null;
1497
+ onFocus?: ((event: FocusEvent<HTMLInputElement>) => void) | null;
1498
+ onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | null;
1499
+ onPressEnter?: ((event: KeyboardEvent) => void) | null;
1500
+ onKeyDown?: ((event: KeyboardEvent) => void) | null;
1501
+ children?: ChildrenProps;
1502
+ };
1503
+
1504
+ type ITDImperativeFuncProps = {
1505
+ reset: (update?: boolean, validation?: boolean) => void;
1506
+ setValue: (value: any, update?: boolean, validation?: boolean) => void;
1507
+ getValue: () => any;
1508
+ setError?: (message: string) => void;
1509
+ setFocus?: () => void;
1510
+ setDisabled?: (value: boolean) => void;
1511
+ forceUpdate?: () => void;
1512
+ clear?: () => void;
1513
+ scrollIntoView?: (options?: ScrollIntoViewOptions | boolean) => void;
1514
+ };
1515
+
1516
+ /**
1517
+ * https://github.com/sanniassin/react-input-mask
1518
+ * http://sanniassin.github.io/react-input-mask/demo.html
1519
+ * https://dev.to/adrianbdesigns/let-s-create-a-floating-label-input-with-html-and-css-only-4mo8
1520
+ */
1521
+ declare const Input: react.ForwardRefExoticComponent<Omit<react.InputHTMLAttributes<HTMLInputElement>, "children" | "style" | "onChange" | "size" | "prefix" | "onFocus" | "onBlur" | "onKeyDown" | "type"> & {
1522
+ style?: React.CSSProperties;
1523
+ type?: InputType;
1524
+ size?: undefined;
1525
+ variant?: undefined;
1526
+ prefix?: ChildrenProps;
1527
+ suffix?: ChildrenProps;
1528
+ addonBefore?: ChildrenProps;
1529
+ addonAfter?: ChildrenProps;
1530
+ locked?: ChildrenProps | boolean;
1531
+ minValue?: number;
1532
+ maxValue?: number;
1533
+ keepFocus?: boolean;
1534
+ mask?: null | string;
1535
+ allowEmptyFormatting?: null | boolean;
1536
+ allowLeadingZeros?: boolean;
1537
+ decimalSeparator?: string;
1538
+ thousandSeparator?: string;
1539
+ decimalScale?: number;
1540
+ focusRef?: null | react.MutableRefObject<HTMLDivElement>;
1541
+ onChange?: ((value: string | number) => void) | null;
1542
+ onUpdate?: ((value: string | number, update: boolean, validation: boolean) => void) | null;
1543
+ onFocus?: ((event: FocusEvent<HTMLInputElement>) => void) | null;
1544
+ onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | null;
1545
+ onPressEnter?: ((event: KeyboardEvent) => void) | null;
1546
+ onKeyDown?: ((event: KeyboardEvent) => void) | null;
1547
+ children?: ChildrenProps;
1548
+ } & react.RefAttributes<ITDImperativeFuncProps>>;
1549
+
1550
+ declare const TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<ITDImperativeFuncProps>>;
1551
+
1552
+ type SwitchProps = {
1553
+ id?: string;
1554
+ children?: ChildrenProps;
1555
+ checked?: boolean;
1556
+ defaultChecked?: boolean;
1557
+ loading?: boolean;
1558
+ disabled?: boolean;
1559
+ variant?: ITDVariant;
1560
+ onChange?: ((value: any) => void) | null;
1561
+ onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
1562
+ };
1563
+
1564
+ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<ITDImperativeFuncProps>>;
1565
+
1566
+ /**
1567
+ *
1568
+ * UPLOAD
1569
+ * --
1570
+ *
1571
+ *
1572
+ *
1573
+ * @returns
1574
+ *
1575
+ */
1576
+ declare const Upload: react.ForwardRefExoticComponent<UploadProps & react.RefAttributes<ITDImperativeFuncProps>>;
1577
+
1578
+ type ModalContextType = {
1579
+ /**
1580
+ * Opens a new modal with the provided information of the modal to be opened.
1581
+ *
1582
+ * @param data Contains the desired parameters for opening a new modal `ModalProps`.
1583
+ * @returns
1584
+ */
1585
+ showModal: (data: ModalProps$1) => void;
1586
+ /**
1587
+ * Dismisses the currently open modal with the ID of the modal to be hidden.
1588
+ *
1589
+ * @param id ID of the modal to be hide.
1590
+ * @returns
1591
+ */
1592
+ hideModal: (id: string) => void;
1593
+ /**
1594
+ * Dismisses the currently open modal with the ID of the modal to be closed.
1595
+ *
1596
+ * @param id ID of the modal to be dismissed.
1597
+ * @returns
1598
+ */
1599
+ removeModal: (id: string) => void;
1600
+ /**
1601
+ *
1602
+ * @returns
1603
+ */
1604
+ removeAllModals: () => void;
1605
+ /**
1606
+ * Triggered whenever any event related to modals occurs.
1607
+ */
1608
+ modalEvent: {
1609
+ event: ModalState$1;
1610
+ id: string;
1611
+ };
1612
+ /**
1613
+ * Returns whether a modal is visible or not.
1614
+ *
1615
+ * @param id The visibility information of the desired modal with its ID.
1616
+ * @returns
1617
+ */
1618
+ isVisible: (id: string) => boolean;
1619
+ };
1620
+
1621
+ declare const ModalManager: {
1622
+ useModal: () => ModalContextType;
1623
+ };
1624
+
1625
+ type NotificationContextType = {
1626
+ addNotification: (notification: NotificationsProps) => void;
1627
+ removeNotification: (id: string) => void;
1628
+ };
1629
+
1630
+ declare const Notification: {
1631
+ useNotifications: () => NotificationContextType;
1632
+ };
1633
+
1634
+ declare function RadioButton({ id, name, value, type, buttonProps, checked, hasError, className, children, icon, image, component, onChange }: RadioButtonProps$1): react_jsx_runtime.JSX.Element;
1635
+
1636
+ declare const _default$2: react__default.NamedExoticComponent<RadioGroupProps$1 & react__default.RefAttributes<ITDImperativeFuncProps$1>>;
1637
+
1638
+ interface RadioComponent extends React.FC {
1639
+ Group: typeof _default$2;
1640
+ Button: typeof RadioButton;
1641
+ }
1642
+ declare const Radio: RadioComponent;
1643
+
1644
+ interface ImageProps extends react__default.ImgHTMLAttributes<HTMLImageElement> {
1645
+ src: string;
1646
+ source?: string;
1647
+ brokenWidth?: number | string;
1648
+ brokenHeight?: number | string;
1649
+ onLoad?: () => void;
1650
+ onError?: () => void;
1651
+ }
1652
+ declare const _default$1: react__default.NamedExoticComponent<ImageProps>;
1653
+
1654
+ declare namespace ConsoleLog {
1655
+ export { single };
1656
+ export { double };
1657
+ export { table };
1658
+ }
1659
+ declare function single(message: any, type?: string): void;
1660
+ declare function double(title: any, message: any, type?: string): void;
1661
+ declare function table(data: any): void;
1662
+
1663
+ declare const Button: react__default.ForwardRefExoticComponent<ButtonProps$1 & {
1664
+ as?: any;
1665
+ asChild?: boolean;
1666
+ } & react__default.RefAttributes<any>>;
1667
+
1668
+ type AlertTitleProps = {
1669
+ children?: ReactNode;
1670
+ className?: string;
1671
+ };
1672
+ declare const AlertTitle: FC<AlertTitleProps>;
1673
+
1674
+ type AlertDescriptionProps = {
1675
+ children?: ReactNode;
1676
+ className?: string;
1677
+ };
1678
+ declare const AlertDescription: FC<AlertDescriptionProps>;
1679
+
1680
+ declare const Alert: {
1681
+ ({ type, size, variant, title, className, children, icon, }: AlertProps): react_jsx_runtime.JSX.Element;
1682
+ displayName: string;
1683
+ };
1684
+
1685
+ declare const Result: {
1686
+ ({ image, title, description, className, extra, footer, type, fill, autoCenter, background, animation }: ResultProps$1): react_jsx_runtime.JSX.Element;
1687
+ displayName: string;
1688
+ };
1689
+
1690
+ declare const _default: react.MemoExoticComponent<(props: any) => react_jsx_runtime.JSX.Element>;
1691
+
1692
+ interface ISpin {
1693
+ updating?: boolean;
1694
+ opacity?: boolean;
1695
+ size?: number;
1696
+ className?: string;
1697
+ children?: any;
1698
+ }
1699
+ declare const Spin: ({ updating, opacity, size, className, children }: ISpin) => react_jsx_runtime.JSX.Element | null;
1700
+
1701
+ declare function BackTop(props: any): react_jsx_runtime.JSX.Element;
1702
+
1703
+ declare function Status({ variant, size, stretch, bold, children, className, }: StatusProps): react_jsx_runtime.JSX.Element;
1704
+
1705
+ declare function Progress({ status, percent, alwaysShowPercent, showInfo, className, }: ProgressProps): react_jsx_runtime.JSX.Element;
1706
+
1707
+ type TinyScrollbarProps = {
1708
+ className: string;
1709
+ children: ChildrenProps$1;
1710
+ style?: React.CSSProperties;
1711
+ };
1712
+ declare function TinyScrollbar({ className, children, style }: TinyScrollbarProps): react_jsx_runtime.JSX.Element;
1713
+
1714
+ type TabsItemProps = {
1715
+ key: string;
1716
+ tab: string;
1717
+ icon?: ReactNode;
1718
+ disabled?: boolean;
1719
+ children?: ChildrenProps;
1720
+ link?: string;
1721
+ };
1722
+ type TabsVariant = "default" | "filled" | "line";
1723
+ type TabsOrientation = "horizontal" | "vertical";
1724
+ type TabsProps = {
1725
+ activeTabKey?: string;
1726
+ tabs?: TabsItemProps[];
1727
+ onTabChange?: (key: string) => void;
1728
+ variant?: TabsVariant;
1729
+ orientation?: TabsOrientation;
1730
+ height?: number;
1731
+ fill?: boolean;
1732
+ className?: string;
1733
+ };
1734
+
1735
+ declare const Tabs: ({ tabs, activeTabKey, className, variant, orientation, height, fill, onTabChange }: TabsProps) => react_jsx_runtime.JSX.Element;
1736
+
1737
+ type LabelProps = {
1738
+ id?: string;
1739
+ htmlFor?: string;
1740
+ children?: ChildrenProps;
1741
+ className?: string;
1742
+ };
1743
+
1744
+ declare const Label: {
1745
+ ({ id, htmlFor, children, className }: LabelProps): react_jsx_runtime.JSX.Element;
1746
+ displayName: string;
1747
+ };
1748
+
1749
+ interface CardProps$1 {
1750
+ children: ReactNode;
1751
+ className?: string;
1752
+ variant?: string;
1753
+ updating?: boolean;
1754
+ }
1755
+ declare const Card: FC<CardProps$1>;
1756
+
1757
+ interface CardHeaderProps {
1758
+ children: ReactNode;
1759
+ className?: string;
1760
+ separator?: boolean;
1761
+ }
1762
+ declare const CardHeader: FC<CardHeaderProps>;
1763
+
1764
+ interface CardTitleProps {
1765
+ children: ReactNode;
1766
+ className?: string;
1767
+ }
1768
+ declare const CardTitle: FC<CardTitleProps>;
1769
+
1770
+ interface CardDescriptionProps {
1771
+ children: ReactNode;
1772
+ className?: string;
1773
+ }
1774
+ declare const CardDescription: FC<CardDescriptionProps>;
1775
+
1776
+ interface CardActionProps {
1777
+ children: ReactNode;
1778
+ className?: string;
1779
+ }
1780
+ declare const CardAction: FC<CardActionProps>;
1781
+
1782
+ interface CardTabsProps extends Omit<TabsProps, 'children'> {
1783
+ className?: string;
1784
+ }
1785
+ declare const CardTabs: FC<CardTabsProps>;
1786
+
1787
+ interface CardContentProps {
1788
+ children: ReactNode;
1789
+ className?: string;
1790
+ }
1791
+ declare const CardContent: FC<CardContentProps>;
1792
+
1793
+ interface CardFooterProps {
1794
+ children: ReactNode;
1795
+ className?: string;
1796
+ }
1797
+ declare const CardFooter: FC<CardFooterProps>;
1798
+
1799
+ type Placement = ComponentYPositions$1 | ComponentXPositions$1;
1800
+ /**
1801
+ * PopoverContent props
1802
+ */
1803
+ type PopoverContentProps = {
1804
+ /** Content */
1805
+ children: ReactNode;
1806
+ /** Placement */
1807
+ placement?: Placement;
1808
+ /** Show arrow */
1809
+ showArrow?: boolean;
1810
+ /** Max width */
1811
+ maxWidth?: string | number;
1812
+ /** Offset */
1813
+ offset?: number;
1814
+ /** A11y: id of the heading element in the content */
1815
+ ariaLabelledby?: string;
1816
+ /** A11y: id of the description element in the content */
1817
+ ariaDescribedby?: string;
1818
+ };
1819
+ /**
1820
+ * PopoverContent
1821
+ *
1822
+ * - Calculates the position (useFloatingPosition)
1823
+ * - Provides portal + animation + trapFocus with FloatingContent
1824
+ * - Supports A11y (role, aria-labelledby, aria-describedby)
1825
+ */
1826
+ declare const PopoverContent: {
1827
+ ({ children, placement, showArrow, maxWidth, offset, ariaLabelledby, ariaDescribedby, }: PopoverContentProps): react_jsx_runtime.JSX.Element;
1828
+ displayName: string;
1829
+ };
1830
+
1831
+ /**
1832
+ * Popover props
1833
+ */
1834
+ type PopoverProps$1 = {
1835
+ /** Children */
1836
+ children: ReactNode;
1837
+ /** Default: CLICK */
1838
+ triggerType?: `${TriggerTypes$1}`;
1839
+ /** Close on click outside */
1840
+ closeOnClickOutside?: boolean;
1841
+ /** Uncontrolled initial state */
1842
+ defaultOpen?: boolean;
1843
+ /** Controlled mode */
1844
+ open?: boolean;
1845
+ /** Controlled mode change callback */
1846
+ onOpenChange?: (open: boolean) => void;
1847
+ };
1848
+ /**
1849
+ * Popover
1850
+ *
1851
+ * - Manages the state and trigger behavior
1852
+ * - Provides the id + trigger information to the children with context
1853
+ */
1854
+ declare const Popover: {
1855
+ ({ children, triggerType, closeOnClickOutside, defaultOpen, open, onOpenChange, }: PopoverProps$1): react_jsx_runtime.JSX.Element;
1856
+ displayName: string;
1857
+ };
1858
+
1859
+ /**
1860
+ * PopoverTrigger props
1861
+ *
1862
+ */
1863
+ type PopoverTriggerProps = {
1864
+ /**
1865
+ * The children to be used as the trigger element
1866
+ */
1867
+ children: ReactNode;
1868
+ /**
1869
+ * - When `asChild` is true, children are wrapped with Slot and used as the trigger element
1870
+ * - When `asChild` is false, a native `<button type="button">` is used
1871
+ */
1872
+ asChild?: boolean;
1873
+ };
1874
+ /**
1875
+ * PopoverTrigger
1876
+ *
1877
+ * - Trigger element (button, icon, etc.) is not wrapped with Slot, direct behavior is injected
1878
+ * - ARIA bindings are set (aria-haspopup, aria-expanded, aria-controls)
1879
+ */
1880
+ declare const PopoverTrigger: {
1881
+ ({ children, asChild, }: PopoverTriggerProps): react_jsx_runtime.JSX.Element | null;
1882
+ displayName: string;
1883
+ };
1884
+
1885
+ type TooltipProps = {
1886
+ children: ReactNode;
1887
+ /** Açılma gecikmesi (ms) */
1888
+ openDelay?: number;
1889
+ /** Kapanma gecikmesi (ms) */
1890
+ closeDelay?: number;
1891
+ };
1892
+ declare const Tooltip: {
1893
+ ({ children, openDelay, closeDelay, }: TooltipProps): react_jsx_runtime.JSX.Element;
1894
+ displayName: string;
1895
+ };
1896
+
1897
+ /**
1898
+ * TooltipTrigger props
1899
+ */
1900
+ type TooltipTriggerProps = {
1901
+ /**
1902
+ * The children to be used as the trigger element
1903
+ */
1904
+ children: ReactNode;
1905
+ /**
1906
+ * - When `asChild` is true, children are wrapped with Slot and used as the trigger element
1907
+ * - When `asChild` is false, a native `<span>` is used as the trigger element
1908
+ */
1909
+ asChild?: boolean;
1910
+ };
1911
+ declare const TooltipTrigger: {
1912
+ ({ children, asChild, }: TooltipTriggerProps): react_jsx_runtime.JSX.Element | null;
1913
+ displayName: string;
1914
+ };
1915
+
1916
+ type TooltipContentProps = {
1917
+ children: ReactNode;
1918
+ placement?: ComponentYPositions$1;
1919
+ variant?: `${ComponentVariants$1}`;
1920
+ offset?: number;
1921
+ };
1922
+ declare const TooltipContent: {
1923
+ ({ children, placement, variant, offset, }: TooltipContentProps): react_jsx_runtime.JSX.Element;
1924
+ displayName: string;
1925
+ };
1926
+
1927
+ type HoverCardProps = {
1928
+ children: ReactNode;
1929
+ /** Açılma gecikmesi (ms) */
1930
+ openDelay?: number;
1931
+ /** Kapanma gecikmesi (ms) */
1932
+ closeDelay?: number;
1933
+ };
1934
+ declare const HoverCard: {
1935
+ ({ children, openDelay, closeDelay, }: HoverCardProps): react_jsx_runtime.JSX.Element;
1936
+ displayName: string;
1937
+ };
1938
+
1939
+ /**
1940
+ * HoverCardTrigger props
1941
+ */
1942
+ type HoverCardTriggerProps = {
1943
+ /** Trigger olarak kullanılacak element */
1944
+ children: ReactNode;
1945
+ /**
1946
+ * - `asChild = true` → children Slot ile wrap'lenir, DOM'u child üretir
1947
+ * - `asChild = false` → native `<span>` trigger olarak kullanılır
1948
+ */
1949
+ asChild?: boolean;
1950
+ };
1951
+ declare const HoverCardTrigger: {
1952
+ ({ children, asChild, }: HoverCardTriggerProps): react_jsx_runtime.JSX.Element | null;
1953
+ displayName: string;
1954
+ };
1955
+
1956
+ type HoverCardContentProps = {
1957
+ /** Card içeriği (rich content) */
1958
+ children: ReactNode;
1959
+ /** Placement */
1960
+ placement?: ComponentYPositions$1;
1961
+ /** Ok göster */
1962
+ showArrow?: boolean;
1963
+ /** Max genişlik */
1964
+ maxWidth?: string | number;
1965
+ /** Offset (piksel) */
1966
+ offset?: number;
1967
+ /** A11y: içerikteki başlığın id'si */
1968
+ ariaLabelledby?: string;
1969
+ /** A11y: açıklama elementinin id'si */
1970
+ ariaDescribedby?: string;
1971
+ };
1972
+ declare const HoverCardContent: {
1973
+ ({ children, placement, showArrow, maxWidth, offset, ariaLabelledby, ariaDescribedby, }: HoverCardContentProps): react_jsx_runtime.JSX.Element;
1974
+ displayName: string;
1975
+ };
1976
+
1977
+ declare const Table: <T extends TableRow>(props: TableProps<T> & {
1978
+ ref?: Ref<TableRefProps>;
1979
+ }) => react__default.ReactElement;
1980
+
1981
+ declare const Flex: ({ gap, justify, align, vertical, wrap, stretch, style, className, children }: FlexProps) => react_jsx_runtime.JSX.Element;
1982
+
1983
+ type QueryValueProps = string | number | boolean | string[] | number[];
1984
+
1985
+ type AccordionProps = {
1986
+ useLink?: boolean;
1987
+ onlyOne?: boolean;
1988
+ subMenuLinkArrow?: boolean;
1989
+ subMenuHeight?: number;
1990
+ itemHeight?: number;
1991
+ iconSize?: number;
1992
+ arrowSize?: number;
1993
+ onChange?: null | ((id: string) => void);
1994
+ children?: ChildrenProps;
1995
+ };
1996
+
1997
+ type AccordionSubMenuProps = {
1998
+ id: string;
1999
+ link: string;
2000
+ title: string;
2001
+ icon?: string | React.ReactElement;
2002
+ isSelected?: boolean;
2003
+ useLink?: boolean;
2004
+ onlyOne?: boolean;
2005
+ subMenuLinkArrow?: boolean;
2006
+ subMenuHeight?: number;
2007
+ itemHeight?: number;
2008
+ iconSize?: number;
2009
+ arrowSize?: number;
2010
+ end?: boolean;
2011
+ onChange?: (id: string) => void;
2012
+ children?: ChildrenProps;
2013
+ };
2014
+
2015
+ type AccordionItemProps = {
2016
+ link?: string;
2017
+ itemHeight?: number;
2018
+ arrowSize?: number;
2019
+ active?: boolean;
2020
+ end?: boolean;
2021
+ children?: null | ChildrenProps;
2022
+ };
2023
+
2024
+ type CalendarProps = {
2025
+ id?: string;
2026
+ placeholder?: string;
2027
+ defaultValue: CalendarValueProps;
2028
+ className?: string;
2029
+ mask?: null | string;
2030
+ size?: ITDSize;
2031
+ variant?: InputVariant;
2032
+ disabled?: boolean;
2033
+ suffix?: ChildrenProps;
2034
+ onChange?: ((value: CalendarValueProps) => void) | null;
2035
+ onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
2036
+ disabledDate: (date: dayjs.Dayjs) => boolean;
2037
+ };
2038
+ type CalendarValueProps = {
2039
+ localizated: string;
2040
+ global: string;
2041
+ };
2042
+ type CalendarDayProps = {
2043
+ date: dayjs.Dayjs;
2044
+ today?: boolean;
2045
+ selected?: boolean;
2046
+ current?: boolean;
2047
+ disabled?: boolean;
2048
+ handleClick: (date: dayjs.Dayjs) => void;
2049
+ };
2050
+
2051
+ type DatePickerProps = {
2052
+ id?: string;
2053
+ placeholder?: string;
2054
+ defaultValue?: string;
2055
+ value?: string;
2056
+ className?: string;
2057
+ mask?: null | string;
2058
+ size?: ITDSize;
2059
+ variant?: InputVariant;
2060
+ disabled?: boolean;
2061
+ locked?: boolean;
2062
+ position?: ITDHorizontalPosition;
2063
+ suffix?: ChildrenProps;
2064
+ onChange?: ((value: CalendarValueProps) => void) | null;
2065
+ onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
2066
+ disabledDate?: (date: dayjs.Dayjs) => boolean;
2067
+ calendarLocale?: CalendarLocale;
2068
+ };
2069
+
2070
+ type TextAreaProps = {
2071
+ id?: string;
2072
+ placeholder?: string;
2073
+ value?: string;
2074
+ defaultValue?: string;
2075
+ className?: string;
2076
+ size?: ITDSize;
2077
+ variant?: TextAreaVariant;
2078
+ rows?: number;
2079
+ maxLength?: number;
2080
+ disabled?: boolean;
2081
+ locked?: boolean;
2082
+ showCount?: boolean;
2083
+ onChange?: ((event: TextAreaEvent) => void);
2084
+ onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
2085
+ children?: ChildrenProps;
2086
+ };
2087
+ type TextAreaEvent = {
2088
+ value?: string | number | boolean;
2089
+ className: string;
2090
+ disabled: boolean;
2091
+ target: RefObject<HTMLTextAreaElement>;
2092
+ stopPropagation: () => void;
2093
+ preventDefault: () => void;
2094
+ };
2095
+ type TextAreaVariant = "default" | "filled" | "dashed";
2096
+
2097
+ type ButtonProps = {
2098
+ id?: string;
2099
+ form?: string;
2100
+ disabled?: boolean;
2101
+ loading?: boolean;
2102
+ type?: ButtonType;
2103
+ variant?: ButtonVariants;
2104
+ state?: ButtonStates;
2105
+ size?: ButtonSize;
2106
+ href?: string;
2107
+ target?: string;
2108
+ className?: string;
2109
+ children?: ChildrenProps;
2110
+ onClick?: null | ((event: MouseEvent<any>) => void);
2111
+ };
2112
+ type ButtonType = `${ButtonTypes$1}`;
2113
+ type ButtonSize = `${ButtonSizes$1}`;
2114
+ type ButtonVariants = `${ComponentVariants$1}` | "solid" | "outline" | "ghost" | "link" | "statable";
2115
+ type ButtonStates = "primary" | "secondary" | "request" | "approve" | "reject" | "pending" | "requested" | string | null;
2116
+
2117
+ type RadioType = "default" | "primary";
2118
+ type Direction = "column" | "row";
2119
+ type RadioGroupProps = {
2120
+ id?: string;
2121
+ name?: string;
2122
+ message?: string;
2123
+ type?: RadioType;
2124
+ defaultValue?: string;
2125
+ value?: string;
2126
+ className?: string;
2127
+ direction?: Direction;
2128
+ gap?: string;
2129
+ length?: number;
2130
+ onlyFlow?: boolean;
2131
+ autoSize?: boolean;
2132
+ buttonProps?: ButtonProps;
2133
+ onChange?: (value: string) => void;
2134
+ onUpdate?: (value: string, update: boolean, validation: boolean) => void;
2135
+ children?: React.ReactNode;
2136
+ };
2137
+ type RadioButtonProps = {
2138
+ id?: string;
2139
+ name?: string;
2140
+ value?: string;
2141
+ type?: RadioType;
2142
+ checked?: boolean;
2143
+ hasError?: boolean;
2144
+ className?: string;
2145
+ children?: React.ReactNode;
2146
+ buttonProps?: ButtonProps;
2147
+ icon?: string | null;
2148
+ image?: string | null;
2149
+ onChange?: (value: string) => void;
2150
+ component?: ReactElement<any> | null;
2151
+ };
2152
+
2153
+ type SelectProps = {
2154
+ id?: string;
2155
+ defaultValue?: SelectValue;
2156
+ value?: SelectValue;
2157
+ label?: string | number;
2158
+ position?: ITDVerticalPosition;
2159
+ direction?: ITDHorizontalPosition;
2160
+ multi?: boolean;
2161
+ size?: ITDSize;
2162
+ variant?: ITDVariant;
2163
+ className?: string;
2164
+ placeholder?: string;
2165
+ prefix?: ChildrenProps;
2166
+ icon?: string;
2167
+ image?: string;
2168
+ disabled?: boolean;
2169
+ showSearch?: boolean;
2170
+ locked?: boolean;
2171
+ style?: CSSProperties;
2172
+ options?: SelectOptionProps[];
2173
+ onChange?: ((value: SelectValue) => void) | null;
2174
+ onUpdate?: ((value: SelectValue | undefined, update?: boolean, validation?: boolean) => void) | null;
2175
+ };
2176
+ type SelectToggleProps = {
2177
+ id?: string;
2178
+ label?: string | number | ChildrenProps;
2179
+ errorMessage: string;
2180
+ multi: boolean;
2181
+ isOpen: boolean;
2182
+ showSearch: boolean;
2183
+ locked: boolean;
2184
+ disabled: boolean;
2185
+ placeholder: string;
2186
+ icon?: string;
2187
+ prefix?: ChildrenProps;
2188
+ image?: string;
2189
+ size: ITDSize;
2190
+ onFocus: () => void;
2191
+ onShow: (value: boolean, trigger?: 'pointer' | 'keyboard') => void;
2192
+ onFilter: (value: string) => void;
2193
+ onChange: (open: boolean) => void;
2194
+ };
2195
+ type SelectOptionProps = {
2196
+ key?: string;
2197
+ label: string | number | ChildrenProps;
2198
+ value: SelectValue;
2199
+ icon?: ChildrenProps;
2200
+ image?: string;
2201
+ disabled?: boolean;
2202
+ searchText?: string;
2203
+ };
2204
+ type SelectValue = string | number | (string | number)[];
2205
+
2206
+ type CheckboxProps = {
2207
+ id?: string;
2208
+ value?: string | number | boolean;
2209
+ checked?: boolean;
2210
+ disabled?: boolean;
2211
+ readOnly?: boolean;
2212
+ variant?: ITDVariant;
2213
+ indeterminate?: boolean;
2214
+ animated?: boolean;
2215
+ className?: string;
2216
+ children?: ChildrenProps;
2217
+ onChange?: ((event: CheckboxEvent) => void);
2218
+ onUpdate?: ((value: any, update: any, validation: boolean) => void);
2219
+ };
2220
+ type CheckboxGroupProps = {
2221
+ id?: string;
2222
+ value?: (string | number | boolean)[];
2223
+ defaultValue?: (string | number | boolean)[];
2224
+ options?: GroupCheckboxOptionType[];
2225
+ disabled?: boolean;
2226
+ variant?: ITDVariant;
2227
+ className?: string;
2228
+ children?: ChildrenProps | ReactElement<CheckboxProps> | Array<ReactElement<CheckboxProps>>;
2229
+ selectAll?: (value: boolean) => void;
2230
+ onChange?: ((values: (string | number | boolean)[]) => void);
2231
+ onUpdate?: ((value: (string | number | boolean)[], update: any, validation: boolean) => void);
2232
+ };
2233
+ type GroupCheckboxOptionType = {
2234
+ label: string;
2235
+ value: string | number | boolean;
2236
+ disabled?: boolean;
2237
+ };
2238
+ type CheckboxEvent = {
2239
+ checked: boolean;
2240
+ value?: string | number | boolean;
2241
+ className: string;
2242
+ disabled: boolean;
2243
+ target: RefObject<HTMLInputElement>;
2244
+ stopPropagation: () => void;
2245
+ preventDefault: () => void;
2246
+ };
2247
+
2248
+ type SingleQueryProps = {
2249
+ set: (type: string, value: QueryValueProps) => void;
2250
+ get: <T>(paramName: string, defaultValue: T, minLength?: number) => T;
2251
+ remove: (type: string) => void;
2252
+ isEmpty: () => boolean;
2253
+ };
2254
+
2255
+ type FormProps = {
2256
+ initialValues?: {};
2257
+ children: ChildrenProps;
2258
+ onReset?: () => void;
2259
+ onUpdate?: (values: {}) => void;
2260
+ onFinish?: (values: {}) => void;
2261
+ onFinishFailed?: (values: {}) => void;
2262
+ onValidated?: (validate: boolean) => void;
2263
+ onFieldUpdate?: (update: FieldUpdateProps) => void;
2264
+ useQueryString?: boolean;
2265
+ variant?: ITDVariant;
2266
+ disabled?: boolean;
2267
+ locked?: boolean;
2268
+ className?: string;
2269
+ ref?: RefObject<FormContextType>;
2270
+ name: string;
2271
+ };
2272
+ type FormValueProps = string | number | object | boolean;
2273
+ type FieldUpdateProps = {
2274
+ name: string;
2275
+ value: FormValueProps;
2276
+ valid: boolean;
2277
+ };
2278
+ type FormRuleProps = {
2279
+ required?: boolean;
2280
+ type?: FormValidationTypes$1;
2281
+ field?: string;
2282
+ value?: string | number | (string | number)[];
2283
+ message?: string;
2284
+ };
2285
+ type FormItemProps = {
2286
+ name: string;
2287
+ field: RefObject<ITDImperativeFuncProps>;
2288
+ valid: boolean;
2289
+ value?: FormValueProps;
2290
+ query: string;
2291
+ reset: any[];
2292
+ error: string;
2293
+ };
2294
+ type FormSubComponentProps = {
2295
+ Item: typeof Item$1;
2296
+ Group: typeof Group;
2297
+ Control: typeof Control;
2298
+ useForm: FormContextType;
2299
+ useFormAPI: FormStoreProps;
2300
+ };
2301
+
2302
+ type NotificationsProps = {
2303
+ id?: string;
2304
+ title: string;
2305
+ description: string;
2306
+ placement?: string;
2307
+ autoHide?: boolean;
2308
+ delay?: number;
2309
+ type: string;
2310
+ };
2311
+
2312
+ type AlertProps = {
2313
+ type?: AlertType;
2314
+ size?: ITDSize;
2315
+ icon?: string | react__default.ReactNode;
2316
+ title?: string;
2317
+ variant?: ITDVariant;
2318
+ className?: string;
2319
+ children?: ChildrenProps;
2320
+ };
2321
+ type AlertType = "neutral" | "success" | "info" | "warning" | "error";
2322
+
2323
+ /**
2324
+ * #### ModalProps
2325
+ *
2326
+ * The properties passed when opening a new modal. The `showModal`
2327
+ * function requires certain properties to open a new modal.
2328
+ */
2329
+ type ModalProps = {
2330
+ /**
2331
+ * Modal ID. Used for listening to modal events.
2332
+ */
2333
+ id?: string;
2334
+ /**
2335
+ * Modal Classname.
2336
+ */
2337
+ className?: string;
2338
+ /**
2339
+ * Modal Title.
2340
+ */
2341
+ title?: ChildrenProps;
2342
+ /**
2343
+ * Modal Width.
2344
+ */
2345
+ width?: string | number;
2346
+ /**
2347
+ * Close modal when overlay is clicked.
2348
+ */
2349
+ closeOnClickOutside?: boolean;
2350
+ /**
2351
+ * Prevents modal from closing when ESC key is pressed.
2352
+ */
2353
+ preventESC?: boolean;
2354
+ /**
2355
+ * Remove other open modals.
2356
+ */
2357
+ removeOthers?: boolean;
2358
+ /**
2359
+ * Show/hide OK button.
2360
+ */
2361
+ showOkButton?: boolean;
2362
+ /**
2363
+ * Show/hide Cancel button.
2364
+ */
2365
+ showCancelButton?: boolean;
2366
+ /**
2367
+ * Show/hide close button on the top right corner of the modal.
2368
+ */
2369
+ showCloseButton?: boolean;
2370
+ /**
2371
+ * Text for the OK button.
2372
+ */
2373
+ okButtonText?: string;
2374
+ /**
2375
+ * The cancel button props.
2376
+ */
2377
+ cancelButtonText?: string;
2378
+ /**
2379
+ * The ok button props.
2380
+ */
2381
+ okButtonProps?: ButtonProps | null;
2382
+ /**
2383
+ * ModalProps for the Cancel button.
2384
+ */
2385
+ cancelButtonProps?: ButtonProps | null;
2386
+ /**
2387
+ * Custom properties to be passed to the modal.
2388
+ */
2389
+ customProps?: {} | any;
2390
+ /**
2391
+ * Custom context to be passed to the modal.
2392
+ */
2393
+ context?: {} | any;
2394
+ /**
2395
+ * Called when the OK button is clicked. If this
2396
+ * function is defined, a ModalEvent is triggered,
2397
+ * but the modal does not automatically close.
2398
+ * @returns
2399
+ */
2400
+ onOk?: (() => boolean | null) | null;
2401
+ /**
2402
+ * Called when the Cancel button is clicked. If this
2403
+ * function is defined, a ModalEvent is triggered,
2404
+ * but the modal does not automatically close.
2405
+ * @returns
2406
+ */
2407
+ onCancel?: (() => boolean | null) | null;
2408
+ /**
2409
+ * Called when the modal is shown. If this
2410
+ * function is defined, a ModalEvent is triggered.
2411
+ * @returns
2412
+ */
2413
+ onShow?: (() => void) | null;
2414
+ /**
2415
+ * Called when the modal is closed. If this
2416
+ * function is defined, a ModalEvent is triggered.
2417
+ * @returns
2418
+ */
2419
+ onExit?: (() => void) | null;
2420
+ /**
2421
+ * ModalManager can find its own ref, but some libraries
2422
+ * (@loadable, React.lazy, etc.) may have their own ref values,
2423
+ * which can prevent ModalManager from passing parameters and
2424
+ * accessing the actual ref. In such cases, if you want the modal
2425
+ * to use a ref, meaning you'll use forwardRef with ModalRefProps
2426
+ * inside the modal, you should pass "true".
2427
+ */
2428
+ useRef?: boolean;
2429
+ /**
2430
+ * ModalManager can find its own ref, but some libraries
2431
+ * (@loadable, React.lazy, etc.) may have their own ref
2432
+ * values, which can prevent ModalManager from passing
2433
+ * parameters and accessing the actual ref. In such cases,
2434
+ * this value should remain false. You can only set it to
2435
+ * "true" in projects where you are sure that all modals
2436
+ * are passed as Function Components.
2437
+ */
2438
+ checkAutoRef?: boolean;
2439
+ /**
2440
+ * Content of the modal. Any content you want to display in the modal.
2441
+ */
2442
+ content: ChildrenProps;
2443
+ /**
2444
+ * Adds content before the modal's content data.
2445
+ */
2446
+ addContentBefore?: ChildrenProps;
2447
+ /**
2448
+ * Adds content after the modal's content data.
2449
+ */
2450
+ addContentAfter?: ChildrenProps;
2451
+ /**
2452
+ * The padding of the modal content. The default value is "30px 20px".
2453
+ */
2454
+ contentPadding?: string;
2455
+ /**
2456
+ * The padding of the outer modal overlay. The default value is "50px".
2457
+ */
2458
+ outerPadding?: string;
2459
+ /**
2460
+ * The padding before the modal content. The default value is "30px 20px 0".
2461
+ */
2462
+ beforeContentPadding?: string;
2463
+ /**
2464
+ * The padding after the modal content. The default value is "0 20px 30px".
2465
+ */
2466
+ afterContentPadding?: string;
2467
+ };
2468
+ /**
2469
+ * #### Modal Content Props
2470
+ *
2471
+ * These properties can only be accessed from the content data defined within the modal.
2472
+ * When the content data is defined as an external class, these properties become accessible.
2473
+ */
2474
+ type ModalContentProps = {
2475
+ /**
2476
+ * Allows another modal to be opened from within the modal content.
2477
+ * @param data Values for the new modal to be opened.
2478
+ * @returns
2479
+ */
2480
+ showAnotherModal?: (data: ModalProps) => void;
2481
+ /**
2482
+ * Closes itself from within the modal content.
2483
+ * @returns
2484
+ */
2485
+ hideCurrentModal?: () => void;
2486
+ /**
2487
+ * Destroy itself from within the modal content.
2488
+ * @returns
2489
+ */
2490
+ removeCurrentModal?: () => void;
2491
+ /**
2492
+ * Changes the buttons disabling state.
2493
+ * @param value `true` for regular, `false` for disabled.
2494
+ * @returns
2495
+ */
2496
+ changeButtonsState?: (value: boolean) => void;
2497
+ /**
2498
+ * Changes the loading screen state that covers the entire modal.
2499
+ * @param value `true` indicates loading, `false` indicates stable state.
2500
+ * @returns
2501
+ */
2502
+ changeLoadingState?: (value: boolean) => void;
2503
+ /**
2504
+ * Changes the state that shows only the modal content is loading.
2505
+ * @param value `true` indicates loading, `false` indicates stable state.
2506
+ * @returns
2507
+ */
2508
+ changeInnerLoadingState?: (value: boolean) => void;
2509
+ /**
2510
+ * Extra parameters passed when the modal is opened.
2511
+ */
2512
+ modalProps?: any;
2513
+ /**
2514
+ * Context data to be used for access within the modal, functioning like `modalProps`.
2515
+ */
2516
+ context?: any;
2517
+ };
2518
+ /**
2519
+ * #### Modal Ref Props
2520
+ *
2521
+ * It can only be used within the modal content data that utilizes `forwardRef`
2522
+ * along with `useImperativeHandle`.
2523
+ */
2524
+ type ModalRefProps = {
2525
+ /**
2526
+ * If defined, it is triggered when the **OK** button inside the modal is clicked.
2527
+ * If you return `false`, it prevents the modal from closing. If you return `true`,
2528
+ * the process continues and the modal closes.
2529
+ * @returns
2530
+ */
2531
+ onClickOK?: () => void;
2532
+ /**
2533
+ * If defined, it is triggered when the **Cancel** button inside the modal is clicked.
2534
+ * If you return `false`, it prevents the modal from closing. If you return `true`,
2535
+ * the process continues and the modal closes.
2536
+ * @returns
2537
+ */
2538
+ onClickCancel?: () => void;
2539
+ };
2540
+
2541
+ type UploadProps = {
2542
+ id?: string;
2543
+ variant?: ITDVariant;
2544
+ action?: string;
2545
+ filePath?: string | null;
2546
+ removeAction?: string;
2547
+ removeExtraFormData?: {};
2548
+ removeExtraQueryString?: {};
2549
+ removeExtraHeader?: {};
2550
+ binaryName?: string;
2551
+ resultFileName?: string | null;
2552
+ showDeleteIcon?: boolean;
2553
+ showPreviewIcon?: boolean;
2554
+ buttonsPosition?: "default" | "corners";
2555
+ containerWidth?: number | string;
2556
+ containerHeight?: number | string;
2557
+ maxFileWidth?: number | string;
2558
+ maxFileHeight?: number | string;
2559
+ fileWidth?: number | string;
2560
+ fileHeight?: number | string;
2561
+ padding?: number;
2562
+ fluid?: boolean;
2563
+ previewFileWidth?: number | string;
2564
+ previewFileHeight?: number | string;
2565
+ previewFilePadding?: number | string;
2566
+ fileTypes?: FileTypes[];
2567
+ maxFileSize?: number;
2568
+ requestMethod?: "put" | "post";
2569
+ extraFormData?: {};
2570
+ extraQueryString?: {};
2571
+ extraHeader?: {};
2572
+ disabled?: boolean;
2573
+ locked?: boolean;
2574
+ onChange?: ((value: any) => void) | null;
2575
+ onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
2576
+ onUploadSuccess?: (path: string) => void;
2577
+ onUploadFailed?: (message: string, code: number) => void;
2578
+ onRemoveFileSuccess?: (data?: any) => void;
2579
+ onRemoveFileFailed?: () => void;
2580
+ };
2581
+ type UploadProgressProps = {
2582
+ estimated: string;
2583
+ progress: number;
2584
+ bytes: string;
2585
+ total: string;
2586
+ };
2587
+ type UploadResultMessageProps = {
2588
+ message: string;
2589
+ status: "success" | "error" | "";
2590
+ };
2591
+
2592
+ type ResultProps = {
2593
+ image: string | ChildrenProps;
2594
+ title: string;
2595
+ description: string;
2596
+ className?: string;
2597
+ type?: string;
2598
+ extra?: ChildrenProps | null;
2599
+ footer?: ChildrenProps | null;
2600
+ fill?: boolean;
2601
+ autoCenter?: boolean;
2602
+ background?: boolean;
2603
+ animation?: boolean;
2604
+ };
2605
+
2606
+ type TableColumnType<T> = {
2607
+ key: keyof T | string;
2608
+ title: ChildrenProps;
2609
+ dataIndex?: keyof T;
2610
+ overflow?: boolean;
2611
+ width?: number | string;
2612
+ maxWidth?: number | string;
2613
+ minWidth?: number | string;
2614
+ render?: (value: any, record: T, index: number, level?: number) => React.ReactNode;
2615
+ };
2616
+ type TableProps<T extends TableRow> = {
2617
+ columns: TableColumnType<T>[];
2618
+ data: T[] | null;
2619
+ cellHeight?: number | string;
2620
+ className?: string;
2621
+ size?: ITDSize;
2622
+ headless?: boolean;
2623
+ bordered?: boolean;
2624
+ dashed?: boolean;
2625
+ noGaps?: boolean;
2626
+ hideGroupButtons?: boolean;
2627
+ getTRProps?: (row: T, rowIndex: number, level: number) => TableTRProps;
2628
+ };
2629
+ type TableTRProps = {
2630
+ style?: React.CSSProperties;
2631
+ classNames?: string;
2632
+ };
2633
+ type TableRow = {
2634
+ key: string;
2635
+ children?: TableRow[];
2636
+ };
2637
+ type TableRefProps = {
2638
+ toggleRow: (key: string) => void;
2639
+ expandedRows: Set<string>;
2640
+ };
2641
+
2642
+ type CardProps = {
2643
+ title?: ChildrenProps;
2644
+ variant?: ITDVariant;
2645
+ description?: ChildrenProps;
2646
+ titleSeparator?: boolean;
2647
+ extra?: ChildrenProps;
2648
+ tabs?: {
2649
+ key: string;
2650
+ tab: string;
2651
+ }[];
2652
+ activeTabKey?: string;
2653
+ onTabChange?: (key: string) => void;
2654
+ updating?: boolean;
2655
+ minWidth?: string;
2656
+ minHeight?: string;
2657
+ contentPadding?: string;
2658
+ children: ChildrenProps;
2659
+ className?: string;
2660
+ };
2661
+
2662
+ type ProgressProps = {
2663
+ status?: ProgressStatus;
2664
+ showInfo?: boolean;
2665
+ alwaysShowPercent?: boolean;
2666
+ percent?: number;
2667
+ className?: string;
2668
+ };
2669
+ type ProgressStatus = "normal" | "active" | "success" | "exception";
2670
+
2671
+ type StatusProps = {
2672
+ variant?: StatusVariant;
2673
+ size?: ITDSize;
2674
+ stretch?: boolean;
2675
+ bold?: boolean;
2676
+ children?: ChildrenProps;
2677
+ className?: string;
2678
+ };
2679
+ type StatusVariant = "gray-1" | "gray-2" | "gray-3" | "green" | "yellow" | "red" | "brown" | "lavender" | "pink" | "violet" | "blue" | "black" | "purple" | "orange" | "teal" | "indigo" | "lime" | "filled-brown" | "filled-violet" | "filled-red" | "filled-yellow" | "filled-pink" | "filled-blue" | "filled-green" | "filled-purple" | "filled-black" | "filled-lavender" | "filled-gray-1" | "filled-gray-2" | "filled-gray-3" | "filled-orange" | "filled-teal" | "filled-indigo" | "filled-lime";
2680
+
2681
+ type FlexProps = {
2682
+ gap?: FlexGapProps;
2683
+ justify?: FlexJustifyProps;
2684
+ align?: FlexAlignProps;
2685
+ vertical?: boolean;
2686
+ wrap?: boolean;
2687
+ stretch?: boolean;
2688
+ style?: CSSProperties;
2689
+ className?: string;
2690
+ children?: ChildrenProps;
2691
+ };
2692
+ type FlexGapProps = "small" | "medium" | "large" | string | number;
2693
+ type FlexJustifyProps = "unset" | "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
2694
+ type FlexAlignProps = "unset" | "flex-start" | "center" | "flex-end";
2695
+
2696
+ type PopoverProps = {
2697
+ children: ChildrenProps;
2698
+ content: ChildrenProps | ((placement: ComponentYPositions$1 | ComponentXPositions$1) => ChildrenProps);
2699
+ offset?: number;
2700
+ placement?: ComponentYPositions$1 | ComponentXPositions$1;
2701
+ maxWidth?: number;
2702
+ showArrow?: boolean;
2703
+ };
2704
+
2705
+ declare const locales: {
4
2706
  tr: {
5
2707
  itd: {
6
2708
  success: string;
@@ -647,112 +3349,6 @@ export declare const locales: {
647
3349
  };
648
3350
  };
649
3351
  };
650
- export { trCalendar as trCalendarLocale, enCalendar as enCalendarLocale };
651
- /**
652
- * CONTEXT PROVIDER
653
- */
654
- export { ITDProvider, useITD } from './context/ITDContext';
655
- /**
656
- * CONTEXT
657
- */
658
- export { default as ITDContext } from './context/ITDContext';
659
- export { default as ITDThemeProvider } from './context/ITDThemeProvider';
660
- export type { ITDTheme } from './types/Theme';
661
- export { default as lightTheme } from './helpers/theme/light';
662
- export { default as darkTheme } from './helpers/theme/dark';
663
- /**
664
- * HELPERS
665
- */
666
- export * from './helpers';
667
- /**
668
- * HOOKS
669
- */
670
- export * from './hooks';
671
- /**
672
- * HTML
673
- */
674
- export * from './html/header';
675
- /**
676
- * ICONS
677
- */
678
- export * from './icons';
679
- /**
680
- * UTILS
681
- */
682
- export { default as InlineSVGCached } from './utils/InlineSVGCached';
683
- /**
684
- * FORWARDED REF COMPONENTS
685
- */
686
- export { default as Select } from './select';
687
- export { default as Form } from './form';
688
- export { default as Checkbox } from './checkbox';
689
- export { default as Accordion } from './accordion/index';
690
- export { default as Calendar } from './calendar';
691
- export { default as DatePicker } from './datepicker';
692
- export { default as Input } from './input';
693
- export { default as TextArea } from './textarea';
694
- export { default as Switch } from './switch';
695
- export { default as Upload } from './upload';
696
- /**
697
- * COMPONENTS (HAS SUB COMPONENTS)
698
- */
699
- export { default as ModalManager } from './modal';
700
- export { default as Notification } from './notification';
701
- export { default as Radio } from './radio';
702
- /**
703
- * COMPONENTS
704
- */
705
- export { default as Image } from './image';
706
- export { default as ConsoleLog } from './logger';
707
- export { default as Button } from './button';
708
- export { default as Alert, AlertTitle, AlertDescription } from './alert/index';
709
- export { default as Result } from './result';
710
- export { default as ALink } from './alink';
711
- export { default as Spin } from './spin';
712
- export { default as BackTop } from './back-top';
713
- export { default as Status } from './status';
714
- export { default as Progress } from './progress';
715
- export { default as TinyScrollbar } from './tinyscrollbar';
716
- export { default as Tabs } from './tabs';
717
- export { default as Label } from './label';
718
- export { Card, CardHeader, CardTitle, CardDescription, CardAction, CardTabs, CardContent, CardFooter } from './card';
719
- export { Popover, PopoverTrigger, PopoverContent } from './popover';
720
- export { Tooltip, TooltipTrigger, TooltipContent } from './tooltip';
721
- export { HoverCard, HoverCardTrigger, HoverCardContent } from './hovercard';
722
- export { default as Table } from './table';
723
- export { default as Flex } from './flex';
724
- export type { FormContextType } from './form/context/FormContext';
725
- export type { NotificationContextType } from './notification/context/NotificationsContext';
726
- export type { ITDContextType, ITDProviderProps } from './context/ITDContext';
727
- export type { QueryValueProps } from './types/QueryValueProps';
728
- export type { AccordionProps } from './types/AccordionProps';
729
- export type { AccordionSubMenuProps } from './types/AccordionSubMenuProps';
730
- export type { AccordionItemProps } from './types/AccordionItemProps';
731
- export type { InputProps, InputVariant } from './types/InputProps';
732
- export type { LabelProps } from './types/LabelProps';
733
- export type { DatePickerProps } from './types/DatePickerProps';
734
- export type { CalendarProps, CalendarValueProps, CalendarDayProps } from './types/CalendarProps';
735
- export type { CalendarLocale } from './calendar';
736
- export type { TextAreaProps, TextAreaVariant, TextAreaEvent } from './types/TextAreaProps';
737
- export type { RadioGroupProps, RadioButtonProps, RadioType, Direction } from './types/RadioProps';
738
- export type { SelectProps, SelectToggleProps, SelectOptionProps, SelectValue } from './types/SelectProps';
739
- export type { CheckboxProps, CheckboxGroupProps, GroupCheckboxOptionType, CheckboxEvent } from './types/CheckboxProps';
740
- export type { ITDImperativeFuncProps } from './types/ITDImperativeFuncProps';
741
- export type { SingleQueryProps } from './types/SingleQueryProps';
742
- export type { ButtonProps, ButtonVariants, ButtonStates, ButtonSize } from './types/ButtonProps';
743
- export type { FormProps, FormRuleProps, FormValueProps, FormItemProps, FormSubComponentProps, FieldUpdateProps } from './types/FormProps';
744
- export type { NotificationsProps } from './types/NotificationsProps';
745
- export type { AlertProps, AlertType } from './types/AlertProps';
746
- export type { SwitchProps } from './types/SwitchProps';
747
- export type { ModalProps, ModalContentProps, ModalRefProps } from './types/ModalProps';
748
- export type { UploadProps, UploadProgressProps, UploadResultMessageProps } from './types/UploadProps';
749
- export type { ResultProps } from './types/ResultProps';
750
- export type { TabsItemProps, TabsProps } from './types/TabsProps';
751
- export type { TableColumnType, TableProps, TableTRProps, TableRow, TableRefProps } from './types/TableProps';
752
- export type { CardProps } from './types/CardProps';
753
- export type { ProgressProps, ProgressStatus } from './types/ProgressProps';
754
- export type { StatusProps, StatusVariant } from './types/StatusProps';
755
- export type { ITDSize, ITDSizeSlug, ITDVariant, ITDHorizontalPosition, ITDVerticalPosition } from './types/ITDProps';
756
- export type { FlexProps, FlexAlignProps, FlexGapProps, FlexJustifyProps } from './types/FlexProps';
757
- export type { PopoverProps } from './types/PopoverProps';
758
- export { ModalState, FileExtensions, FileTypes, FormValidationTypes, ConnectionStatus, ComponentSizes, ComponentXPositions, ComponentYPositions, ComponentSizesSlug, ButtonTypes, ButtonSizes, ButtonSizesSlug, ComponentVariants, TriggerTypes, ThemeAppearances, TooltipPositions, FormValidations } from './enums/enum';
3352
+
3353
+ export { ALERT_TOKENS, _default as ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, AlertDescription, AlertTitle, Arrow as ArrowIcon, BUTTON_SIZE_MAP, BackToTop, BackTop, Base64Decode, Base64Encode, Button, ButtonSizes, ButtonSizesSlug, ButtonTypes, CARD_TOKENS, CSS_VARIABLES_MAP, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTabs, CardTitle, CheckFileURL, Checkbox, Checkmark, ChunkArray, ComponentSizes, ComponentSizesSlug, ComponentVariants, ComponentXPositions, ComponentYPositions, ConnectionStatus, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, FileChecker, FileExtensions, FileTypes, FindSelector, Flex, Form, FormValidationTypes, FormValidations, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, generateColorScaleFromBase as GenerateColorScale, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, H1, H2, H3, H4, HoverCard, HoverCardContent, HoverCardTrigger, ICON_TOKENS, INPUT_SIZE_MAP, ITDContext, ITDProvider, ITDThemeProvider, _default$1 as Image, _default$4 as InlineSVGCached, InlineSelectArrow, Input, IsValidJSON, Label, Lock as LockIcon, MODAL_TOKENS, ModalManager, ModalState, NoData, Notification, Picture, Popover, PopoverContent, PopoverTrigger, Progress, Radio, RemoveUnits, Result, SELECT_SIZE_MAP, SPACING_TOKENS, SVGLoader, Select, Spin, Status, Switch, TYPOGRAPHY_TOKENS, Table, Tabs, TextArea, ThemeAppearances, TinyScrollbar, Tooltip, TooltipContent, TooltipPositions, TooltipTrigger, Trash, TriggerTypes, UniUpperCase, Upload, Upload$1 as UploadIcon, Wait, ZoomIn, ZoomOut, cn, darkTheme, export_default as enCalendarLocale, generateColorScaleFromBase, getContrastText, hexToRgba, injectDesignTokens, injectThemeColors, lightTheme, locales, toKebabCase, export_default$1 as trCalendarLocale, useAddExternalCSS, useAvoidCollision, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useITD, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery, withOpacity };
3354
+ export type { AccordionItemProps, AccordionProps, AccordionSubMenuProps, AlertProps, AlertType, ButtonProps, ButtonSize, ButtonStates, ButtonVariants, CalendarDayProps, CalendarLocale, CalendarProps, CalendarValueProps, CardProps, CheckboxEvent, CheckboxGroupProps, CheckboxProps, DatePickerProps, Direction, FieldUpdateProps, FlexAlignProps, FlexGapProps, FlexJustifyProps, FlexProps, FormContextType, FormItemProps, FormProps, FormRuleProps, FormSubComponentProps, FormValueProps, GroupCheckboxOptionType, ITDContextType, ITDHorizontalPosition, ITDImperativeFuncProps, ITDProviderProps, ITDSize, ITDSizeSlug, ITDTheme, ITDVariant, ITDVerticalPosition, InputProps, InputVariant, LabelProps, ModalContentProps, ModalProps, ModalRefProps, NotificationContextType, NotificationsProps, PopoverProps, ProgressProps, ProgressStatus, QueryValueProps, RadioButtonProps, RadioGroupProps, RadioType, ResultProps, SelectOptionProps, SelectProps, SelectToggleProps, SelectValue, SingleQueryProps, StatusProps, StatusVariant, SwitchProps, TableColumnType, TableProps, TableRefProps, TableRow, TableTRProps, TabsItemProps, TabsOrientation, TabsProps, TabsVariant, TextAreaEvent, TextAreaProps, TextAreaVariant, UploadProgressProps, UploadProps, UploadResultMessageProps };