@inntechcorp/it-design 3.1.2 → 3.1.4

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 (601) hide show
  1. package/dist/alert/index.d.ts +1 -3
  2. package/dist/alert/styled.d.ts +7 -3
  3. package/dist/alink/styled.d.ts +1 -1
  4. package/dist/button/button.style.SVG.d.ts +4 -0
  5. package/dist/button/index.d.ts +1 -1
  6. package/dist/card/index.d.ts +1 -1
  7. package/dist/card/styles.d.ts +1 -2
  8. package/dist/checkbox/styled.d.ts +2 -3
  9. package/dist/cropper/index.d.ts +38 -0
  10. package/dist/datepicker/styled.d.ts +2 -2
  11. package/dist/enums/enum.d.ts +5 -16
  12. package/dist/form/context/FormContext.d.ts +0 -3
  13. package/dist/form/context/FormStore.d.ts +1 -4
  14. package/dist/form/item/Item.d.ts +1 -0
  15. package/dist/global.css +113 -333
  16. package/dist/helpers/index.d.ts +0 -4
  17. package/dist/index.cjs.js +5480 -0
  18. package/dist/index.d.mts +25 -65
  19. package/dist/index.d.ts +184 -731
  20. package/dist/index.esm.js +5480 -0
  21. package/dist/input/styled.d.ts +17 -15
  22. package/dist/locales/en/itd.json +10 -30
  23. package/dist/locales/itd.json +10 -30
  24. package/dist/locales/tr/itd.json +10 -30
  25. package/dist/radio/button/RadioButton.d.ts +1 -1
  26. package/dist/result/index.d.ts +1 -1
  27. package/dist/select/menu/Menu.d.ts +14 -0
  28. package/dist/select/menu/styled.d.ts +8 -0
  29. package/dist/select/option/Option.d.ts +3 -10
  30. package/dist/select/style.settings.d.ts +26 -83
  31. package/dist/select/styled.d.ts +2 -4
  32. package/dist/select/toggle/Toggle.d.ts +1 -1
  33. package/dist/select/toggle/label/floating/FloatingLabel.d.ts +12 -0
  34. package/dist/select/toggle/label/floating/styled.d.ts +8 -0
  35. package/dist/select/toggle/label/{Label.d.ts → single/SingleLabel.d.ts} +5 -5
  36. package/dist/select/toggle/styled.d.ts +4 -4
  37. package/dist/stories/Accordion.d.ts +1 -0
  38. package/dist/stories/Alert.stories.d.ts +1 -15
  39. package/dist/stories/Button.d.ts +1 -0
  40. package/dist/stories/Button.stories.d.ts +1 -8
  41. package/dist/stories/ButtonIcon.d.ts +2 -0
  42. package/dist/stories/Card.stories.d.ts +0 -1
  43. package/dist/stories/DatePicker.d.ts +1 -0
  44. package/dist/stories/Form.stories.d.ts +1 -11
  45. package/dist/stories/Header.d.ts +1 -0
  46. package/dist/stories/Input.d.ts +1 -0
  47. package/dist/stories/Input.stories.d.ts +2 -89
  48. package/dist/stories/ModalManager.d.ts +1 -0
  49. package/dist/stories/Page.d.ts +1 -0
  50. package/dist/stories/Select.d.ts +1 -0
  51. package/dist/stories/Select.stories.d.ts +3 -13
  52. package/dist/stories/Switch.stories.d.ts +1 -8
  53. package/dist/stories/TextArea.d.ts +1 -0
  54. package/dist/stories/TextArea.stories.d.ts +1 -8
  55. package/dist/stories/Upload.stories.d.ts +2 -0
  56. package/dist/stories/root/index.d.ts +1 -0
  57. package/dist/switch/styled.d.ts +1 -1
  58. package/dist/textarea/styled.d.ts +4 -2
  59. package/dist/types/AlertProps.d.ts +4 -5
  60. package/dist/types/ButtonProps.d.ts +2 -2
  61. package/dist/types/CalendarProps.d.ts +1 -0
  62. package/dist/types/CardProps.d.ts +0 -4
  63. package/dist/types/CheckboxProps.d.ts +1 -5
  64. package/dist/types/DatePickerProps.d.ts +3 -2
  65. package/dist/types/FormProps.d.ts +0 -3
  66. package/dist/types/ITDProps.d.ts +2 -4
  67. package/dist/types/InputProps.d.ts +2 -1
  68. package/dist/types/RadioProps.d.ts +0 -1
  69. package/dist/types/ResultProps.d.ts +0 -1
  70. package/dist/types/SelectProps.d.ts +13 -5
  71. package/dist/types/SwitchProps.d.ts +1 -4
  72. package/dist/types/TableProps.d.ts +0 -1
  73. package/dist/types/UploadProps.d.ts +12 -2
  74. package/dist/upload/index.d.ts +1 -1
  75. package/dist/upload/styled.d.ts +2 -5
  76. package/package.json +4 -14
  77. package/dist/alert/Description.d.ts +0 -7
  78. package/dist/alert/Title.d.ts +0 -7
  79. package/dist/alert/alert.style.neutral.d.ts +0 -4
  80. package/dist/cjs/_virtual/_commonjsHelpers.js +0 -1
  81. package/dist/cjs/_virtual/customParseFormat.js +0 -1
  82. package/dist/cjs/_virtual/customParseFormat2.js +0 -1
  83. package/dist/cjs/_virtual/dayjs.min.js +0 -1
  84. package/dist/cjs/_virtual/dayjs.min2.js +0 -1
  85. package/dist/cjs/_virtual/localizedFormat.js +0 -1
  86. package/dist/cjs/_virtual/localizedFormat2.js +0 -1
  87. package/dist/cjs/_virtual/react.js +0 -1
  88. package/dist/cjs/accordion/index.js +0 -1
  89. package/dist/cjs/accordion/item/Item.js +0 -1
  90. package/dist/cjs/accordion/item/styled.js +0 -20
  91. package/dist/cjs/accordion/styled.js +0 -15
  92. package/dist/cjs/accordion/submenu/SubMenu.js +0 -1
  93. package/dist/cjs/accordion/submenu/styled.js +0 -214
  94. package/dist/cjs/alert/Description.js +0 -1
  95. package/dist/cjs/alert/Title.js +0 -1
  96. package/dist/cjs/alert/alert.style.error.js +0 -32
  97. package/dist/cjs/alert/alert.style.info.js +0 -32
  98. package/dist/cjs/alert/alert.style.neutral.js +0 -32
  99. package/dist/cjs/alert/alert.style.success.js +0 -32
  100. package/dist/cjs/alert/alert.style.warning.js +0 -32
  101. package/dist/cjs/alert/index.js +0 -1
  102. package/dist/cjs/alert/styled.js +0 -68
  103. package/dist/cjs/alink/index.js +0 -1
  104. package/dist/cjs/alink/styled.js +0 -5
  105. package/dist/cjs/back-top/index.js +0 -1
  106. package/dist/cjs/back-top/styled.js +0 -25
  107. package/dist/cjs/button/button.style.circle.js +0 -38
  108. package/dist/cjs/button/button.style.default.js +0 -44
  109. package/dist/cjs/button/button.style.filled.js +0 -49
  110. package/dist/cjs/button/button.style.ghost.js +0 -47
  111. package/dist/cjs/button/button.style.icon.js +0 -33
  112. package/dist/cjs/button/button.style.link.js +0 -45
  113. package/dist/cjs/button/button.style.outline.js +0 -49
  114. package/dist/cjs/button/button.style.size.js +0 -187
  115. package/dist/cjs/button/button.style.solid.js +0 -50
  116. package/dist/cjs/button/button.style.strecth.js +0 -8
  117. package/dist/cjs/button/index.js +0 -1
  118. package/dist/cjs/button/styled.js +0 -415
  119. package/dist/cjs/calendar/dates.js +0 -1
  120. package/dist/cjs/calendar/day/Day.js +0 -1
  121. package/dist/cjs/calendar/day/styled.js +0 -91
  122. package/dist/cjs/calendar/header/Header.js +0 -1
  123. package/dist/cjs/calendar/header/styled.js +0 -196
  124. package/dist/cjs/calendar/index.js +0 -1
  125. package/dist/cjs/calendar/styled.js +0 -82
  126. package/dist/cjs/card/index.js +0 -1
  127. package/dist/cjs/card/styles.js +0 -66
  128. package/dist/cjs/checkbox/group/index.js +0 -1
  129. package/dist/cjs/checkbox/group/styled.js +0 -9
  130. package/dist/cjs/checkbox/index.js +0 -1
  131. package/dist/cjs/checkbox/styled.js +0 -340
  132. package/dist/cjs/context/ITDContext.js +0 -1
  133. package/dist/cjs/context/ITDThemeProvider.js +0 -1
  134. package/dist/cjs/context/styled.js +0 -15
  135. package/dist/cjs/datepicker/index.js +0 -1
  136. package/dist/cjs/datepicker/styled.js +0 -60
  137. package/dist/cjs/enums/enum.js +0 -1
  138. package/dist/cjs/flex/index.js +0 -1
  139. package/dist/cjs/flex/styled.js +0 -35
  140. package/dist/cjs/form/context/FormContext.js +0 -1
  141. package/dist/cjs/form/context/FormStore.js +0 -1
  142. package/dist/cjs/form/control/Control.js +0 -1
  143. package/dist/cjs/form/control/styled.js +0 -8
  144. package/dist/cjs/form/group/Group.js +0 -1
  145. package/dist/cjs/form/group/styled.js +0 -7
  146. package/dist/cjs/form/index.js +0 -1
  147. package/dist/cjs/form/item/Item.js +0 -1
  148. package/dist/cjs/form/validation/TCIdentity.js +0 -1
  149. package/dist/cjs/form/validation/Validator.js +0 -1
  150. package/dist/cjs/form/wrapper/FormWrapper.js +0 -1
  151. package/dist/cjs/helpers/array/ChunkArray.js +0 -1
  152. package/dist/cjs/helpers/aspectratio/DetermineNewHeight.js +0 -1
  153. package/dist/cjs/helpers/aspectratio/DetermineNewWidth.js +0 -1
  154. package/dist/cjs/helpers/base64/Base64Decode.js +0 -1
  155. package/dist/cjs/helpers/base64/Base64Encode.js +0 -1
  156. package/dist/cjs/helpers/binary/FormatBytes.js +0 -1
  157. package/dist/cjs/helpers/binary/GetTypeByFileType.js +0 -1
  158. package/dist/cjs/helpers/checker/CheckFileURL.js +0 -1
  159. package/dist/cjs/helpers/checker/FileChecker.js +0 -1
  160. package/dist/cjs/helpers/country/GetCountryCodeByCurrencyCode.js +0 -1
  161. package/dist/cjs/helpers/country/GetCountryCodeByLanguage.js +0 -1
  162. package/dist/cjs/helpers/css/FindSelector.js +0 -1
  163. package/dist/cjs/helpers/currency/ConvertCurrency.js +0 -1
  164. package/dist/cjs/helpers/currency/GetByCurrency.js +0 -1
  165. package/dist/cjs/helpers/currency/GetCurrencyFormat.js +0 -1
  166. package/dist/cjs/helpers/currency/GetCurrencySymbol.js +0 -1
  167. package/dist/cjs/helpers/currency/GetDecimalByCurrency.js +0 -1
  168. package/dist/cjs/helpers/datetime/FormatDate.js +0 -1
  169. package/dist/cjs/helpers/datetime/FormatDateTime.js +0 -1
  170. package/dist/cjs/helpers/datetime/FormatSimpleDate.js +0 -1
  171. package/dist/cjs/helpers/datetime/FormatSimpleDateTime.js +0 -1
  172. package/dist/cjs/helpers/datetime/FormatTime.js +0 -1
  173. package/dist/cjs/helpers/datetime/dayjsSetup.js +0 -1
  174. package/dist/cjs/helpers/format/ToKebabCase.js +0 -1
  175. package/dist/cjs/helpers/json/IsValidJSON.js +0 -1
  176. package/dist/cjs/helpers/math/AddZero.js +0 -1
  177. package/dist/cjs/helpers/promise/Wait.js +0 -1
  178. package/dist/cjs/helpers/remover/RemoveUnits.js +0 -1
  179. package/dist/cjs/helpers/string/UniUpperCase.js +0 -1
  180. package/dist/cjs/helpers/svg/SVGLoader.js +0 -1
  181. package/dist/cjs/helpers/svg/styles.js +0 -22
  182. package/dist/cjs/helpers/theme/AddDefaultThemeStyle.js +0 -1
  183. package/dist/cjs/helpers/theme/Color.js +0 -1
  184. package/dist/cjs/helpers/theme/GenerateColorScale.js +0 -1
  185. package/dist/cjs/helpers/theme/UpdateThemeStyle.js +0 -1
  186. package/dist/cjs/helpers/theme/cssVariables.js +0 -1
  187. package/dist/cjs/helpers/theme/dark.js +0 -1
  188. package/dist/cjs/helpers/theme/light.js +0 -1
  189. package/dist/cjs/helpers/theme/tokens.js +0 -1
  190. package/dist/cjs/helpers/unit/AddDefaultUnit.js +0 -1
  191. package/dist/cjs/helpers/url/ValidURL.js +0 -1
  192. package/dist/cjs/hooks/useAddExternalCSS.js +0 -1
  193. package/dist/cjs/hooks/useAvoidCollision.js +0 -1
  194. package/dist/cjs/hooks/useComponentSize.js +0 -1
  195. package/dist/cjs/hooks/useConnectionStatus.js +0 -1
  196. package/dist/cjs/hooks/useConstructor.js +0 -1
  197. package/dist/cjs/hooks/useContextBridge.js +0 -1
  198. package/dist/cjs/hooks/useCoreFetch.js +0 -1
  199. package/dist/cjs/hooks/useKeyboardShortcut.js +0 -1
  200. package/dist/cjs/hooks/useMultiQuery.js +0 -1
  201. package/dist/cjs/hooks/useOnClickOutside.js +0 -1
  202. package/dist/cjs/hooks/useOnESCKeyDown.js +0 -1
  203. package/dist/cjs/hooks/useOnResize.js +0 -1
  204. package/dist/cjs/hooks/useOrientation.js +0 -1
  205. package/dist/cjs/hooks/useReCaptcha.js +0 -1
  206. package/dist/cjs/hooks/useSingleQuery.js +0 -1
  207. package/dist/cjs/html/header/H1.js +0 -1
  208. package/dist/cjs/html/header/H2.js +0 -1
  209. package/dist/cjs/html/header/H3.js +0 -1
  210. package/dist/cjs/html/header/H4.js +0 -1
  211. package/dist/cjs/html/header/styled.js +0 -33
  212. package/dist/cjs/icons/Arrow.js +0 -1
  213. package/dist/cjs/icons/BackToTop.js +0 -1
  214. package/dist/cjs/icons/Checkmark.js +0 -1
  215. package/dist/cjs/icons/InlineSelectArrow.js +0 -1
  216. package/dist/cjs/icons/Lock.js +0 -1
  217. package/dist/cjs/icons/NoData.js +0 -1
  218. package/dist/cjs/icons/Picture.js +0 -1
  219. package/dist/cjs/icons/Trash.js +0 -1
  220. package/dist/cjs/icons/Upload.js +0 -1
  221. package/dist/cjs/icons/ZoomIn.js +0 -1
  222. package/dist/cjs/icons/ZoomOut.js +0 -1
  223. package/dist/cjs/image/index.js +0 -1
  224. package/dist/cjs/image/styled.js +0 -4
  225. package/dist/cjs/index.js +0 -1
  226. package/dist/cjs/input/index.js +0 -1
  227. package/dist/cjs/input/style.settings.js +0 -1
  228. package/dist/cjs/input/styled.js +0 -430
  229. package/dist/cjs/locales/en/calendar.json.js +0 -1
  230. package/dist/cjs/locales/en/itd.json.js +0 -1
  231. package/dist/cjs/locales/tr/calendar.json.js +0 -1
  232. package/dist/cjs/locales/tr/itd.json.js +0 -1
  233. package/dist/cjs/logger/index.js +0 -1
  234. package/dist/cjs/modal/container/ModalContainer.js +0 -1
  235. package/dist/cjs/modal/container/styled.js +0 -27
  236. package/dist/cjs/modal/context/ModalContext.js +0 -1
  237. package/dist/cjs/modal/index.js +0 -1
  238. package/dist/cjs/modal/modal/Modal.js +0 -1
  239. package/dist/cjs/modal/modal/closeicon.svg.js +0 -1
  240. package/dist/cjs/modal/modal/styled.js +0 -128
  241. package/dist/cjs/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +0 -1
  242. package/dist/cjs/node_modules/@react-spring/core/dist/react-spring_core.modern.js +0 -1
  243. package/dist/cjs/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +0 -1
  244. package/dist/cjs/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +0 -1
  245. package/dist/cjs/node_modules/@react-spring/web/dist/react-spring_web.modern.js +0 -1
  246. package/dist/cjs/node_modules/dayjs/dayjs.min.js +0 -1
  247. package/dist/cjs/node_modules/dayjs/plugin/customParseFormat.js +0 -1
  248. package/dist/cjs/node_modules/dayjs/plugin/localizedFormat.js +0 -1
  249. package/dist/cjs/node_modules/fast-deep-equal/react.js +0 -1
  250. package/dist/cjs/node_modules/lodash-es/_Symbol.js +0 -1
  251. package/dist/cjs/node_modules/lodash-es/_arrayMap.js +0 -1
  252. package/dist/cjs/node_modules/lodash-es/_baseGetTag.js +0 -1
  253. package/dist/cjs/node_modules/lodash-es/_baseToString.js +0 -1
  254. package/dist/cjs/node_modules/lodash-es/_freeGlobal.js +0 -1
  255. package/dist/cjs/node_modules/lodash-es/_getRawTag.js +0 -1
  256. package/dist/cjs/node_modules/lodash-es/_objectToString.js +0 -1
  257. package/dist/cjs/node_modules/lodash-es/_root.js +0 -1
  258. package/dist/cjs/node_modules/lodash-es/isArray.js +0 -1
  259. package/dist/cjs/node_modules/lodash-es/isObject.js +0 -1
  260. package/dist/cjs/node_modules/lodash-es/isObjectLike.js +0 -1
  261. package/dist/cjs/node_modules/lodash-es/isSymbol.js +0 -1
  262. package/dist/cjs/node_modules/lodash-es/toString.js +0 -1
  263. package/dist/cjs/node_modules/lodash-es/uniqueId.js +0 -1
  264. package/dist/cjs/node_modules/lucide-react/dist/esm/Icon.js +0 -8
  265. package/dist/cjs/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -1
  266. package/dist/cjs/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -1
  267. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/calendar-1.js +0 -8
  268. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -8
  269. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/circle-x.js +0 -8
  270. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/eye.js +0 -8
  271. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/info.js +0 -8
  272. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/trash.js +0 -8
  273. package/dist/cjs/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -7
  274. package/dist/cjs/node_modules/overlayscrollbars/overlayscrollbars.js +0 -10
  275. package/dist/cjs/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +0 -1
  276. package/dist/cjs/node_modules/react-number-format/dist/react-number-format.es.js +0 -1
  277. package/dist/cjs/node_modules/rollup-plugin-node-globals/src/global.js +0 -1
  278. package/dist/cjs/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +0 -1
  279. package/dist/cjs/node_modules/uuid/dist/esm-browser/native.js +0 -1
  280. package/dist/cjs/node_modules/uuid/dist/esm-browser/rng.js +0 -1
  281. package/dist/cjs/node_modules/uuid/dist/esm-browser/stringify.js +0 -1
  282. package/dist/cjs/node_modules/uuid/dist/esm-browser/v4.js +0 -1
  283. package/dist/cjs/notification/container/Container.js +0 -1
  284. package/dist/cjs/notification/container/styled.js +0 -26
  285. package/dist/cjs/notification/context/NotificationsContext.js +0 -1
  286. package/dist/cjs/notification/index.js +0 -1
  287. package/dist/cjs/notification/item/Item.js +0 -1
  288. package/dist/cjs/notification/item/styled.js +0 -42
  289. package/dist/cjs/progress/index.js +0 -1
  290. package/dist/cjs/progress/styled.js +0 -59
  291. package/dist/cjs/radio/button/RadioButton.js +0 -1
  292. package/dist/cjs/radio/button/styled.js +0 -133
  293. package/dist/cjs/radio/group/Group.js +0 -1
  294. package/dist/cjs/radio/group/styled.js +0 -7
  295. package/dist/cjs/radio/index.js +0 -1
  296. package/dist/cjs/result/index.js +0 -1
  297. package/dist/cjs/result/styled.js +0 -109
  298. package/dist/cjs/select/dropdown/Dropdown.js +0 -1
  299. package/dist/cjs/select/dropdown/styled.js +0 -239
  300. package/dist/cjs/select/index.js +0 -1
  301. package/dist/cjs/select/option/Option.js +0 -1
  302. package/dist/cjs/select/option/styled.js +0 -36
  303. package/dist/cjs/select/style.settings.js +0 -1
  304. package/dist/cjs/select/styled.js +0 -331
  305. package/dist/cjs/select/toggle/Toggle.js +0 -1
  306. package/dist/cjs/select/toggle/label/Label.js +0 -1
  307. package/dist/cjs/select/toggle/label/styled.js +0 -5
  308. package/dist/cjs/select/toggle/styled.js +0 -88
  309. package/dist/cjs/spin/index.js +0 -1
  310. package/dist/cjs/spin/styled.js +0 -74
  311. package/dist/cjs/status/index.js +0 -1
  312. package/dist/cjs/status/styled.js +0 -75
  313. package/dist/cjs/switch/index.js +0 -1
  314. package/dist/cjs/switch/styled.js +0 -209
  315. package/dist/cjs/table/index.js +0 -1
  316. package/dist/cjs/table/styled.js +0 -458
  317. package/dist/cjs/tabs/index.js +0 -1
  318. package/dist/cjs/tabs/styles.js +0 -96
  319. package/dist/cjs/textarea/index.js +0 -1
  320. package/dist/cjs/textarea/styled.js +0 -220
  321. package/dist/cjs/tinyscrollbar/index.js +0 -1
  322. package/dist/cjs/tinyscrollbar/scroll.styled.js +0 -21
  323. package/dist/cjs/types/InputProps.js +0 -1
  324. package/dist/cjs/upload/index.js +0 -1
  325. package/dist/cjs/upload/styled.js +0 -228
  326. package/dist/cjs/utils/CommonStyledComponents.js +0 -61
  327. package/dist/cjs/utils/GetIconSizeBySize.js +0 -1
  328. package/dist/cjs/utils/GetSizeSlugBySize.js +0 -1
  329. package/dist/cjs/utils/InlineSVGCached.js +0 -1
  330. package/dist/context/ITDThemeProvider.d.ts +0 -8
  331. package/dist/es/_virtual/_commonjsHelpers.js +0 -1
  332. package/dist/es/_virtual/customParseFormat.js +0 -1
  333. package/dist/es/_virtual/customParseFormat2.js +0 -1
  334. package/dist/es/_virtual/dayjs.min.js +0 -1
  335. package/dist/es/_virtual/dayjs.min2.js +0 -1
  336. package/dist/es/_virtual/localizedFormat.js +0 -1
  337. package/dist/es/_virtual/localizedFormat2.js +0 -1
  338. package/dist/es/_virtual/react.js +0 -1
  339. package/dist/es/accordion/index.js +0 -1
  340. package/dist/es/accordion/item/Item.js +0 -1
  341. package/dist/es/accordion/item/styled.js +0 -20
  342. package/dist/es/accordion/styled.js +0 -15
  343. package/dist/es/accordion/submenu/SubMenu.js +0 -1
  344. package/dist/es/accordion/submenu/styled.js +0 -214
  345. package/dist/es/alert/Description.js +0 -1
  346. package/dist/es/alert/Title.js +0 -1
  347. package/dist/es/alert/alert.style.error.js +0 -32
  348. package/dist/es/alert/alert.style.info.js +0 -32
  349. package/dist/es/alert/alert.style.neutral.js +0 -32
  350. package/dist/es/alert/alert.style.success.js +0 -32
  351. package/dist/es/alert/alert.style.warning.js +0 -32
  352. package/dist/es/alert/index.js +0 -1
  353. package/dist/es/alert/styled.js +0 -68
  354. package/dist/es/alink/index.js +0 -1
  355. package/dist/es/alink/styled.js +0 -5
  356. package/dist/es/back-top/index.js +0 -1
  357. package/dist/es/back-top/styled.js +0 -25
  358. package/dist/es/button/button.style.circle.js +0 -38
  359. package/dist/es/button/button.style.default.js +0 -44
  360. package/dist/es/button/button.style.filled.js +0 -49
  361. package/dist/es/button/button.style.ghost.js +0 -47
  362. package/dist/es/button/button.style.icon.js +0 -33
  363. package/dist/es/button/button.style.link.js +0 -45
  364. package/dist/es/button/button.style.outline.js +0 -49
  365. package/dist/es/button/button.style.size.js +0 -187
  366. package/dist/es/button/button.style.solid.js +0 -50
  367. package/dist/es/button/button.style.strecth.js +0 -8
  368. package/dist/es/button/index.js +0 -1
  369. package/dist/es/button/styled.js +0 -415
  370. package/dist/es/calendar/dates.js +0 -1
  371. package/dist/es/calendar/day/Day.js +0 -1
  372. package/dist/es/calendar/day/styled.js +0 -91
  373. package/dist/es/calendar/header/Header.js +0 -1
  374. package/dist/es/calendar/header/styled.js +0 -196
  375. package/dist/es/calendar/index.js +0 -1
  376. package/dist/es/calendar/styled.js +0 -82
  377. package/dist/es/card/index.js +0 -1
  378. package/dist/es/card/styles.js +0 -66
  379. package/dist/es/checkbox/group/index.js +0 -1
  380. package/dist/es/checkbox/group/styled.js +0 -9
  381. package/dist/es/checkbox/index.js +0 -1
  382. package/dist/es/checkbox/styled.js +0 -340
  383. package/dist/es/context/ITDContext.js +0 -1
  384. package/dist/es/context/ITDThemeProvider.js +0 -1
  385. package/dist/es/context/styled.js +0 -15
  386. package/dist/es/datepicker/index.js +0 -1
  387. package/dist/es/datepicker/styled.js +0 -60
  388. package/dist/es/enums/enum.js +0 -1
  389. package/dist/es/flex/index.js +0 -1
  390. package/dist/es/flex/styled.js +0 -35
  391. package/dist/es/form/context/FormContext.js +0 -1
  392. package/dist/es/form/context/FormStore.js +0 -1
  393. package/dist/es/form/control/Control.js +0 -1
  394. package/dist/es/form/control/styled.js +0 -8
  395. package/dist/es/form/group/Group.js +0 -1
  396. package/dist/es/form/group/styled.js +0 -7
  397. package/dist/es/form/index.js +0 -1
  398. package/dist/es/form/item/Item.js +0 -1
  399. package/dist/es/form/validation/TCIdentity.js +0 -1
  400. package/dist/es/form/validation/Validator.js +0 -1
  401. package/dist/es/form/wrapper/FormWrapper.js +0 -1
  402. package/dist/es/helpers/array/ChunkArray.js +0 -1
  403. package/dist/es/helpers/aspectratio/DetermineNewHeight.js +0 -1
  404. package/dist/es/helpers/aspectratio/DetermineNewWidth.js +0 -1
  405. package/dist/es/helpers/base64/Base64Decode.js +0 -1
  406. package/dist/es/helpers/base64/Base64Encode.js +0 -1
  407. package/dist/es/helpers/binary/FormatBytes.js +0 -1
  408. package/dist/es/helpers/binary/GetTypeByFileType.js +0 -1
  409. package/dist/es/helpers/checker/CheckFileURL.js +0 -1
  410. package/dist/es/helpers/checker/FileChecker.js +0 -1
  411. package/dist/es/helpers/country/GetCountryCodeByCurrencyCode.js +0 -1
  412. package/dist/es/helpers/country/GetCountryCodeByLanguage.js +0 -1
  413. package/dist/es/helpers/css/FindSelector.js +0 -1
  414. package/dist/es/helpers/currency/ConvertCurrency.js +0 -1
  415. package/dist/es/helpers/currency/GetByCurrency.js +0 -1
  416. package/dist/es/helpers/currency/GetCurrencyFormat.js +0 -1
  417. package/dist/es/helpers/currency/GetCurrencySymbol.js +0 -1
  418. package/dist/es/helpers/currency/GetDecimalByCurrency.js +0 -1
  419. package/dist/es/helpers/datetime/FormatDate.js +0 -1
  420. package/dist/es/helpers/datetime/FormatDateTime.js +0 -1
  421. package/dist/es/helpers/datetime/FormatSimpleDate.js +0 -1
  422. package/dist/es/helpers/datetime/FormatSimpleDateTime.js +0 -1
  423. package/dist/es/helpers/datetime/FormatTime.js +0 -1
  424. package/dist/es/helpers/datetime/dayjsSetup.js +0 -1
  425. package/dist/es/helpers/format/ToKebabCase.js +0 -1
  426. package/dist/es/helpers/json/IsValidJSON.js +0 -1
  427. package/dist/es/helpers/math/AddZero.js +0 -1
  428. package/dist/es/helpers/promise/Wait.js +0 -1
  429. package/dist/es/helpers/remover/RemoveUnits.js +0 -1
  430. package/dist/es/helpers/string/UniUpperCase.js +0 -1
  431. package/dist/es/helpers/svg/SVGLoader.js +0 -1
  432. package/dist/es/helpers/svg/styles.js +0 -22
  433. package/dist/es/helpers/theme/AddDefaultThemeStyle.js +0 -1
  434. package/dist/es/helpers/theme/Color.js +0 -1
  435. package/dist/es/helpers/theme/GenerateColorScale.js +0 -1
  436. package/dist/es/helpers/theme/UpdateThemeStyle.js +0 -1
  437. package/dist/es/helpers/theme/cssVariables.js +0 -1
  438. package/dist/es/helpers/theme/dark.js +0 -1
  439. package/dist/es/helpers/theme/light.js +0 -1
  440. package/dist/es/helpers/theme/tokens.js +0 -1
  441. package/dist/es/helpers/unit/AddDefaultUnit.js +0 -1
  442. package/dist/es/helpers/url/ValidURL.js +0 -1
  443. package/dist/es/hooks/useAddExternalCSS.js +0 -1
  444. package/dist/es/hooks/useAvoidCollision.js +0 -1
  445. package/dist/es/hooks/useComponentSize.js +0 -1
  446. package/dist/es/hooks/useConnectionStatus.js +0 -1
  447. package/dist/es/hooks/useConstructor.js +0 -1
  448. package/dist/es/hooks/useContextBridge.js +0 -1
  449. package/dist/es/hooks/useCoreFetch.js +0 -1
  450. package/dist/es/hooks/useKeyboardShortcut.js +0 -1
  451. package/dist/es/hooks/useMultiQuery.js +0 -1
  452. package/dist/es/hooks/useOnClickOutside.js +0 -1
  453. package/dist/es/hooks/useOnESCKeyDown.js +0 -1
  454. package/dist/es/hooks/useOnResize.js +0 -1
  455. package/dist/es/hooks/useOrientation.js +0 -1
  456. package/dist/es/hooks/useReCaptcha.js +0 -1
  457. package/dist/es/hooks/useSingleQuery.js +0 -1
  458. package/dist/es/html/header/H1.js +0 -1
  459. package/dist/es/html/header/H2.js +0 -1
  460. package/dist/es/html/header/H3.js +0 -1
  461. package/dist/es/html/header/H4.js +0 -1
  462. package/dist/es/html/header/styled.js +0 -33
  463. package/dist/es/icons/Arrow.js +0 -1
  464. package/dist/es/icons/BackToTop.js +0 -1
  465. package/dist/es/icons/Checkmark.js +0 -1
  466. package/dist/es/icons/InlineSelectArrow.js +0 -1
  467. package/dist/es/icons/Lock.js +0 -1
  468. package/dist/es/icons/NoData.js +0 -1
  469. package/dist/es/icons/Picture.js +0 -1
  470. package/dist/es/icons/Trash.js +0 -1
  471. package/dist/es/icons/Upload.js +0 -1
  472. package/dist/es/icons/ZoomIn.js +0 -1
  473. package/dist/es/icons/ZoomOut.js +0 -1
  474. package/dist/es/image/index.js +0 -1
  475. package/dist/es/image/styled.js +0 -4
  476. package/dist/es/index.js +0 -1
  477. package/dist/es/input/index.js +0 -1
  478. package/dist/es/input/style.settings.js +0 -1
  479. package/dist/es/input/styled.js +0 -430
  480. package/dist/es/locales/en/calendar.json.js +0 -1
  481. package/dist/es/locales/en/itd.json.js +0 -1
  482. package/dist/es/locales/tr/calendar.json.js +0 -1
  483. package/dist/es/locales/tr/itd.json.js +0 -1
  484. package/dist/es/logger/index.js +0 -1
  485. package/dist/es/modal/container/ModalContainer.js +0 -1
  486. package/dist/es/modal/container/styled.js +0 -27
  487. package/dist/es/modal/context/ModalContext.js +0 -1
  488. package/dist/es/modal/index.js +0 -1
  489. package/dist/es/modal/modal/Modal.js +0 -1
  490. package/dist/es/modal/modal/closeicon.svg.js +0 -1
  491. package/dist/es/modal/modal/styled.js +0 -128
  492. package/dist/es/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +0 -1
  493. package/dist/es/node_modules/@react-spring/core/dist/react-spring_core.modern.js +0 -1
  494. package/dist/es/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +0 -1
  495. package/dist/es/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +0 -1
  496. package/dist/es/node_modules/@react-spring/web/dist/react-spring_web.modern.js +0 -1
  497. package/dist/es/node_modules/dayjs/dayjs.min.js +0 -1
  498. package/dist/es/node_modules/dayjs/plugin/customParseFormat.js +0 -1
  499. package/dist/es/node_modules/dayjs/plugin/localizedFormat.js +0 -1
  500. package/dist/es/node_modules/fast-deep-equal/react.js +0 -1
  501. package/dist/es/node_modules/lodash-es/_Symbol.js +0 -1
  502. package/dist/es/node_modules/lodash-es/_arrayMap.js +0 -1
  503. package/dist/es/node_modules/lodash-es/_baseGetTag.js +0 -1
  504. package/dist/es/node_modules/lodash-es/_baseToString.js +0 -1
  505. package/dist/es/node_modules/lodash-es/_freeGlobal.js +0 -1
  506. package/dist/es/node_modules/lodash-es/_getRawTag.js +0 -1
  507. package/dist/es/node_modules/lodash-es/_objectToString.js +0 -1
  508. package/dist/es/node_modules/lodash-es/_root.js +0 -1
  509. package/dist/es/node_modules/lodash-es/isArray.js +0 -1
  510. package/dist/es/node_modules/lodash-es/isObject.js +0 -1
  511. package/dist/es/node_modules/lodash-es/isObjectLike.js +0 -1
  512. package/dist/es/node_modules/lodash-es/isSymbol.js +0 -1
  513. package/dist/es/node_modules/lodash-es/toString.js +0 -1
  514. package/dist/es/node_modules/lodash-es/uniqueId.js +0 -1
  515. package/dist/es/node_modules/lucide-react/dist/esm/Icon.js +0 -7
  516. package/dist/es/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -7
  517. package/dist/es/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -7
  518. package/dist/es/node_modules/lucide-react/dist/esm/icons/calendar-1.js +0 -7
  519. package/dist/es/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -7
  520. package/dist/es/node_modules/lucide-react/dist/esm/icons/circle-x.js +0 -7
  521. package/dist/es/node_modules/lucide-react/dist/esm/icons/eye.js +0 -7
  522. package/dist/es/node_modules/lucide-react/dist/esm/icons/info.js +0 -7
  523. package/dist/es/node_modules/lucide-react/dist/esm/icons/trash.js +0 -7
  524. package/dist/es/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -7
  525. package/dist/es/node_modules/overlayscrollbars/overlayscrollbars.js +0 -10
  526. package/dist/es/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +0 -1
  527. package/dist/es/node_modules/react-number-format/dist/react-number-format.es.js +0 -1
  528. package/dist/es/node_modules/rollup-plugin-node-globals/src/global.js +0 -1
  529. package/dist/es/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +0 -1
  530. package/dist/es/node_modules/uuid/dist/esm-browser/native.js +0 -1
  531. package/dist/es/node_modules/uuid/dist/esm-browser/rng.js +0 -1
  532. package/dist/es/node_modules/uuid/dist/esm-browser/stringify.js +0 -1
  533. package/dist/es/node_modules/uuid/dist/esm-browser/v4.js +0 -1
  534. package/dist/es/notification/container/Container.js +0 -1
  535. package/dist/es/notification/container/styled.js +0 -26
  536. package/dist/es/notification/context/NotificationsContext.js +0 -1
  537. package/dist/es/notification/index.js +0 -1
  538. package/dist/es/notification/item/Item.js +0 -1
  539. package/dist/es/notification/item/styled.js +0 -42
  540. package/dist/es/progress/index.js +0 -1
  541. package/dist/es/progress/styled.js +0 -59
  542. package/dist/es/radio/button/RadioButton.js +0 -1
  543. package/dist/es/radio/button/styled.js +0 -133
  544. package/dist/es/radio/group/Group.js +0 -1
  545. package/dist/es/radio/group/styled.js +0 -7
  546. package/dist/es/radio/index.js +0 -1
  547. package/dist/es/result/index.js +0 -1
  548. package/dist/es/result/styled.js +0 -109
  549. package/dist/es/select/dropdown/Dropdown.js +0 -1
  550. package/dist/es/select/dropdown/styled.js +0 -239
  551. package/dist/es/select/index.js +0 -1
  552. package/dist/es/select/option/Option.js +0 -1
  553. package/dist/es/select/option/styled.js +0 -36
  554. package/dist/es/select/style.settings.js +0 -1
  555. package/dist/es/select/styled.js +0 -331
  556. package/dist/es/select/toggle/Toggle.js +0 -1
  557. package/dist/es/select/toggle/label/Label.js +0 -1
  558. package/dist/es/select/toggle/label/styled.js +0 -5
  559. package/dist/es/select/toggle/styled.js +0 -88
  560. package/dist/es/spin/index.js +0 -1
  561. package/dist/es/spin/styled.js +0 -74
  562. package/dist/es/status/index.js +0 -1
  563. package/dist/es/status/styled.js +0 -75
  564. package/dist/es/switch/index.js +0 -1
  565. package/dist/es/switch/styled.js +0 -209
  566. package/dist/es/table/index.js +0 -1
  567. package/dist/es/table/styled.js +0 -458
  568. package/dist/es/tabs/index.js +0 -1
  569. package/dist/es/tabs/styles.js +0 -96
  570. package/dist/es/textarea/index.js +0 -1
  571. package/dist/es/textarea/styled.js +0 -220
  572. package/dist/es/tinyscrollbar/index.js +0 -1
  573. package/dist/es/tinyscrollbar/scroll.styled.js +0 -21
  574. package/dist/es/types/InputProps.js +0 -1
  575. package/dist/es/upload/index.js +0 -1
  576. package/dist/es/upload/styled.js +0 -228
  577. package/dist/es/utils/CommonStyledComponents.js +0 -61
  578. package/dist/es/utils/GetIconSizeBySize.js +0 -1
  579. package/dist/es/utils/GetSizeSlugBySize.js +0 -1
  580. package/dist/es/utils/InlineSVGCached.js +0 -1
  581. package/dist/helpers/theme/Color.d.ts +0 -19
  582. package/dist/helpers/theme/GenerateColorScale.d.ts +0 -16
  583. package/dist/helpers/theme/cssVariables.d.ts +0 -30
  584. package/dist/helpers/theme/dark.d.ts +0 -3
  585. package/dist/helpers/theme/index.d.ts +0 -9
  586. package/dist/helpers/theme/light.d.ts +0 -3
  587. package/dist/helpers/theme/themes.d.ts +0 -5
  588. package/dist/helpers/theme/tokens.d.ts +0 -392
  589. package/dist/input/style.settings.d.ts +0 -9
  590. package/dist/select/dropdown/Dropdown.d.ts +0 -19
  591. package/dist/select/dropdown/styled.d.ts +0 -14
  592. package/dist/stats.html +0 -4949
  593. package/dist/stories/AlertComposition.d.ts +0 -2
  594. package/dist/stories/AlertComposition.stories.d.ts +0 -17
  595. package/dist/stories/ColorScale.d.ts +0 -10
  596. package/dist/stories/ColorScale.stories.d.ts +0 -24
  597. package/dist/stories/ColorScaleCompare.d.ts +0 -8
  598. package/dist/stories/ColorScaleCompare.stories.d.ts +0 -47
  599. package/dist/types/Theme.d.ts +0 -100
  600. package/dist/utils/CommonStyledComponents.d.ts +0 -17
  601. /package/dist/select/toggle/label/{styled.d.ts → single/styled.d.ts} +0 -0
@@ -1,214 +0,0 @@
1
- import o from"styled-components";const e=o.div`
2
-
3
- &.itd-accordion-menu-sub-menu {
4
-
5
- &:not(:last-child) {
6
- .itd-accordion-menu-header {
7
- margin-bottom: 1px;
8
- }
9
- }
10
-
11
- /**
12
- * SINGLE
13
- */
14
- &.itd-accordion-menu-sub-menu-single {
15
- .itd-accordion-menu-header svg.itd-accordion-menu-header-arrow-icon.itd-svg svg {
16
- transform: rotate(-90deg);
17
- }
18
- }
19
-
20
- /**
21
- * MULTIPLE
22
- */
23
- &.itd-accordion-menu-sub-menu-multiple.itd-accordion-menu-sub-menu-open {
24
- .itd-accordion-menu-header {
25
- background-color: #f1f1f4;
26
- }
27
- .itd-accordion-menu-header svg.itd-accordion-menu-header-arrow-icon.itd-svg svg {
28
- transform: rotate(-180deg);
29
- }
30
- }
31
-
32
- /**
33
- * SINGLE AND MULTIPLE
34
- */
35
- &.itd-accordion-menu-sub-menu-single, &.itd-accordion-menu-sub-menu-multiple {
36
-
37
- /**
38
- * DEFAULT
39
- */
40
- .itd-accordion-menu-header {
41
-
42
- background-color: #f9f9f9;
43
- transition: all 0.25s ease-out;
44
- text-decoration: none;
45
-
46
- span.itd-accordion-menu-header-text {
47
- font-size: 14px;
48
- font-weight: 500;
49
- color: #071437;
50
- transition: all 0.25s ease-out;
51
- }
52
-
53
- .itd-icon {
54
- margin-right: 8px;
55
- color: #071437;
56
- transition: all 0.25s ease-out;
57
- }
58
-
59
- svg.itd-accordion-menu-header-arrow-icon.itd-svg svg {
60
- fill: #071437;
61
- transition: all 0.25s ease-out;
62
- }
63
-
64
- /* HOVER */
65
- &:hover {
66
-
67
- background-color: #f1f1f4;
68
-
69
- span.itd-accordion-menu-header-text {
70
- color: #071437;
71
- }
72
-
73
- .itd-icon {
74
- color: #071437;
75
- }
76
-
77
- svg.itd-accordion-menu-header-arrow-icon.itd-svg svg {
78
- fill: #071437;
79
- }
80
-
81
- }
82
-
83
- }
84
-
85
- ul.itd-accordion-menu-collapse {
86
-
87
- li.itd-accordion-menu-content-item {
88
-
89
- .itd-accordion-menu-content {
90
-
91
- background-color: #f9f9f950;
92
- transition: all 0.25s ease-out;
93
-
94
- span.itd-accordion-menu-content-header-text {
95
- font-size: 13px;
96
- font-weight: 500;
97
- color: #071437;
98
- transition: all 0.25s ease-out;
99
- }
100
-
101
- .itd-svg svg {
102
- transition: all 0.25s ease-out;
103
- fill: #071437;
104
- }
105
-
106
- /* HOVER */
107
- &:hover {
108
- background-color: #f1f1f4;
109
- }
110
-
111
- }
112
-
113
- }
114
-
115
- }
116
-
117
- /**
118
- * ACTIVE
119
- */
120
- &.itd-accordion-menu-sub-menu-active {
121
-
122
- .itd-accordion-menu-header {
123
-
124
- transition-duration: 0ms;
125
- background-color: #071437;
126
-
127
- span.itd-accordion-menu-header-text {
128
- color: #ffffff;
129
- }
130
-
131
- .itd-icon {
132
- color: #ffffff;
133
- }
134
-
135
- .itd-svg svg {
136
- fill: #ffffff;
137
- }
138
-
139
- }
140
-
141
- ul.itd-accordion-menu-collapse li.itd-accordion-menu-content-item {
142
-
143
- .itd-accordion-menu-content {
144
-
145
- &.active {
146
-
147
- background-color: #E9F3FF;
148
-
149
- span.itd-accordion-menu-content-header-text {
150
- color: #1b84ff;
151
- }
152
-
153
- .itd-svg svg {
154
- fill: #1b84ff;
155
- }
156
-
157
- }
158
-
159
-
160
- }
161
-
162
- }
163
-
164
- }
165
-
166
- }
167
-
168
- }
169
-
170
- `,t=o.div`
171
-
172
- font-size: ${o=>`${o.$size}px`};
173
- width: ${o=>`${o.$size}px`};
174
- height: ${o=>`${o.$size}px`};
175
-
176
- display: flex;
177
- align-items: center;
178
-
179
- `,i=o.ul`
180
-
181
- overflow: hidden;
182
- transition: max-height 0.25s ease-out;
183
- margin: 0px;
184
- padding: 0px;
185
- list-style-type: none;
186
-
187
- `,n=o.div`
188
-
189
- transition : all 0.25s ease-out;
190
- margin-left : auto;
191
- transform : ${o=>o.$isSingle?"rotate(-90deg)":o.$isOpen?"rotate(-180deg)":"rotate(0deg)"};
192
-
193
- width: ${o=>o.$width+"px"};
194
- height: ${o=>o.$height+"px"};
195
-
196
- svg {
197
- width: ${o=>o.$width+"px"};
198
- height: ${o=>o.$height+"px"};
199
- }
200
-
201
- `,a=o.div`
202
-
203
- display: flex;
204
- justify-content: flex-start;
205
- align-items: center;
206
- height: ${o=>`${o.$height}px`};
207
- padding: 0 20px 0 0;
208
- cursor: pointer;
209
-
210
- span {
211
- user-select: none;
212
- }
213
-
214
- `;export{n as Arrow,i as Content,t as Icon,a as Title,e as Wrapper};
@@ -1 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Description as r}from"./styled.js";const t=({children:t,className:s})=>e(r,{className:`itd-alert-description ${s||""}`,children:t});t.displayName="ITD-Alert-Description";export{t as AlertDescription,t as default};
@@ -1 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Title as t}from"./styled.js";const l=({children:l,className:r})=>e(t,{className:`itd-alert-title ${r||""}`,children:l});l.displayName="ITD-Alert-Title";export{l as AlertTitle,l as default};
@@ -1,32 +0,0 @@
1
- import{css as r}from"styled-components";const e=()=>r`
2
-
3
- &.itd-alert-error {
4
-
5
- &.itd-alert-default {
6
- border: 1px solid ${({theme:r})=>r.colorAlertErrorBorder};
7
- }
8
-
9
- &.itd-alert-filled {
10
- border: 1px solid transparent;
11
- }
12
-
13
- &.itd-alert-default, &.itd-alert-filled {
14
-
15
- background: ${({theme:r})=>r.colorAlertErrorBackground};
16
-
17
- .itd-alert-title {
18
- color: ${({theme:r})=>r.colorAlertErrorTitle};
19
- }
20
-
21
- .itd-alert-description {
22
- color: ${({theme:r})=>r.colorAlertErrorText};
23
- }
24
-
25
- svg {
26
- color: ${({theme:r})=>r.colorAlertErrorText};
27
- }
28
-
29
- }
30
-
31
- }
32
- `;export{e as getErrorAlert};
@@ -1,32 +0,0 @@
1
- import{css as t}from"styled-components";const e=()=>t`
2
-
3
- &.itd-alert-info {
4
-
5
- &.itd-alert-default {
6
- border: 1px solid ${({theme:t})=>t.colorAlertInfoBorder};
7
- }
8
-
9
- &.itd-alert-filled {
10
- border: 1px solid transparent;
11
- }
12
-
13
- &.itd-alert-default, &.itd-alert-filled {
14
-
15
- background: ${({theme:t})=>t.colorAlertInfoBackground};
16
-
17
- .itd-alert-title {
18
- color: ${({theme:t})=>t.colorAlertInfoTitle};
19
- }
20
-
21
- .itd-alert-description {
22
- color: ${({theme:t})=>t.colorAlertInfoText};
23
- }
24
-
25
- svg {
26
- color: ${({theme:t})=>t.colorAlertInfoText};
27
- }
28
-
29
- }
30
-
31
- }
32
- `;export{e as getInfoAlert};
@@ -1,32 +0,0 @@
1
- import{css as t}from"styled-components";const e=()=>t`
2
-
3
- &.itd-alert-neutral {
4
-
5
- &.itd-alert-default {
6
- background: ${({theme:t})=>t.card};
7
- border: 1px solid ${({theme:t})=>t.colorBorder};
8
- }
9
-
10
- &.itd-alert-filled {
11
- background: ${({theme:t})=>t.colorBackgroundAlt};
12
- border: 1px solid transparent;
13
- }
14
-
15
- &.itd-alert-default, &.itd-alert-filled {
16
-
17
- .itd-alert-title {
18
- color: ${({theme:t})=>t.colorText};
19
- }
20
-
21
- .itd-alert-description {
22
- color: ${({theme:t})=>t.colorTextMuted};
23
- }
24
-
25
- svg {
26
- color: ${({theme:t})=>t.colorText};
27
- }
28
-
29
- }
30
-
31
- }
32
- `;export{e as getNeutralAlert};
@@ -1,32 +0,0 @@
1
- import{css as e}from"styled-components";const t=()=>e`
2
-
3
- &.itd-alert-success {
4
-
5
- &.itd-alert-default {
6
- border: 1px solid ${({theme:e})=>e.colorAlertSuccessBorder};
7
- }
8
-
9
- &.itd-alert-filled {
10
- border: 1px solid transparent;
11
- }
12
-
13
- &.itd-alert-default, &.itd-alert-filled {
14
-
15
- background: ${({theme:e})=>e.colorAlertSuccessBackground};
16
-
17
- .itd-alert-title {
18
- color: ${({theme:e})=>e.colorAlertSuccessTitle};
19
- }
20
-
21
- .itd-alert-description {
22
- color: ${({theme:e})=>e.colorAlertSuccessText};
23
- }
24
-
25
- svg {
26
- color: ${({theme:e})=>e.colorAlertSuccessText};
27
- }
28
-
29
- }
30
-
31
- }
32
- `;export{t as getSuccessAlert};
@@ -1,32 +0,0 @@
1
- import{css as r}from"styled-components";const t=()=>r`
2
-
3
- &.itd-alert-warning {
4
-
5
- &.itd-alert-default {
6
- border: 1px solid ${({theme:r})=>r.colorAlertWarningBorder};
7
- }
8
-
9
- &.itd-alert-filled {
10
- border: 1px solid transparent;
11
- }
12
-
13
- &.itd-alert-default, &.itd-alert-filled {
14
-
15
- background: ${({theme:r})=>r.colorAlertWarningBackground};
16
-
17
- .itd-alert-title {
18
- color: ${({theme:r})=>r.colorAlertWarningTitle};
19
- }
20
-
21
- .itd-alert-description {
22
- color: ${({theme:r})=>r.colorAlertWarningText};
23
- }
24
-
25
- svg {
26
- color: ${({theme:r})=>r.colorAlertWarningText};
27
- }
28
-
29
- }
30
-
31
- }
32
- `;export{t as getWarningAlert};
@@ -1 +0,0 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{ComponentVariants as r,ComponentSizes as i,ComponentSizesSlug as s}from"../enums/enum.js";import l from"../utils/InlineSVGCached.js";import{Wrapper as o}from"./styled.js";import{useMemo as n,Children as a,isValidElement as c}from"react";import{AlertTitle as m}from"./Title.js";import{AlertDescription as d}from"./Description.js";import p from"../node_modules/lucide-react/dist/esm/icons/info.js";const L=({type:L="info",size:f=i.SMALL,variant:u=r.DEFAULT,title:A,className:D,children:E,icon:h})=>{const y=n(()=>{let e="itd-alert";return e+=" itd-alert-"+L,e+=" itd-alert-"+(f===i.X_SMALL?s.X_SMALL:f===i.SMALL?s.SMALL:f===i.MEDIUM?s.MEDIUM:f===i.DEFAULT?s.DEFAULT:f===i.LARGE?s.LARGE:f===i.X_LARGE?s.X_LARGE:s.DEFAULT),e+=" itd-alert-"+u,""!==D&&(e+=" "+D),e},[L,f,u,D]),M=a.toArray(E);let T=h,j=null,I=null,S=[];M.forEach(t=>{if(c(t)){const e=t.type?.displayName||t.type?.name;"ITD-Alert-Title"===e?j=t:"ITD-Alert-Description"===e?I=t:!T&&(e?.includes("Icon")||e?.includes("Lucide")||t.type?.$$typeof?.toString().includes("react.forward_ref")||!j&&!I)?T=t:S.push(t)}else t&&!I&&(I=e(d,{children:t}))}),A&&!j&&(j=e(m,{children:A})),S.length>0&&!I&&(I=e(d,{children:S}));const U=!!T;return t(o,{className:y,"data-has-icon":U?"true":"false",children:[U&&(T?"string"==typeof T?e(l,{src:T}):T:e(p,{size:16})),j,I]})};L.displayName="ITD-Alert";export{d as AlertDescription,m as AlertTitle,L as default};
@@ -1,68 +0,0 @@
1
- import t from"styled-components";import{ALERT_TOKENS as i}from"../helpers/theme/tokens.js";import{getNeutralAlert as e}from"./alert.style.neutral.js";import{getSuccessAlert as r}from"./alert.style.success.js";import{getErrorAlert as a}from"./alert.style.error.js";import{getInfoAlert as o}from"./alert.style.info.js";import{getWarningAlert as l}from"./alert.style.warning.js";const s=t.div`
2
-
3
- display : grid;
4
- align-items : flex-start;
5
- width : 100%;
6
- position : relative;
7
-
8
- row-gap : calc(var(--itd-spacing) * .5);
9
- padding-block : calc(var(--itd-spacing) * 3);
10
- padding-inline : calc(var(--itd-spacing) * 4);
11
- border-radius : calc( ${({theme:t})=>t.borderRadius});
12
-
13
- &:has(>svg) {
14
- grid-template-columns : calc(var(--itd-spacing) * 4) 1fr;
15
- column-gap : calc(var(--itd-spacing) * 3);
16
- }
17
-
18
- &:not(:has(>svg)) {
19
- grid-template-columns : 0 1fr;
20
- column-gap : 0;
21
- }
22
-
23
- /* Icon varsa ilk kolonda */
24
- >svg {
25
- width : calc(var(--itd-spacing) * 4);
26
- height : calc(var(--itd-spacing) * 4);
27
- --itd-translate-y : calc(var(--itd-spacing) * .5);
28
- translate : var(--itd-translate-x) var(--itd-translate-y);
29
- }
30
-
31
- /* ------------------------ */
32
- // NEUTRAL
33
- /* ------------------------ */
34
- ${()=>e()}
35
-
36
- /* ------------------------ */
37
- // SUCCESS
38
- /* ------------------------ */
39
- ${()=>r()}
40
-
41
- /* ------------------------ */
42
- // INFO
43
- /* ------------------------ */
44
- ${()=>o()}
45
-
46
- /* ------------------------ */
47
- // WARNING
48
- /* ------------------------ */
49
- ${()=>l()}
50
-
51
- /* ------------------------ */
52
- // ERROR
53
- /* ------------------------ */
54
- ${()=>a()}
55
-
56
- `,n=t.div`
57
- font-size : ${i.title.fontSize};
58
- line-height : ${i.title.lineHeight};
59
- font-weight : ${i.title.fontWeight};
60
- color : ${({theme:t})=>t.colorText};
61
- grid-column-start : 2;
62
- `,c=t.div`
63
- font-size : ${i.description.fontSize};
64
- line-height : ${i.description.lineHeight};
65
- font-weight : ${i.description.fontWeight};
66
- color : ${({theme:t})=>t.colorTextMuted};
67
- grid-column-start : 2;
68
- `;export{c as Description,n as Title,s as Wrapper};
@@ -1 +0,0 @@
1
- import{jsx as r}from"react/jsx-runtime";import{memo as t}from"react";import{NavigationLink as e}from"./styled.js";var o=t(t=>(()=>{const{to:o,children:s,...l}=t;return r(e,{...l,to:o,children:s})})(),(r,t)=>r.to===t.to&&r.className===t.className&&r.style===t.style&&r.children===t.children);export{o as default};
@@ -1,5 +0,0 @@
1
- import{NavLink as o}from"react-router-dom";import t from"styled-components";const r=t(o)`
2
-
3
- text-decoration: none;
4
-
5
- `;export{r as NavigationLink};
@@ -1 +0,0 @@
1
- import{jsx as o}from"react/jsx-runtime";import{useState as t,useEffect as e}from"react";import{Wrapper as r,Show as n}from"./styled.js";import i from"../icons/BackToTop.js";function c(c){const{children:s=null}=c,[l,d]=t(!1);e(()=>(document.addEventListener("scroll",m),()=>{document.removeEventListener("scroll",m)}),[]);const m=()=>{d(document.body.scrollTop>window.innerHeight)};return o(r,{className:"itd-back-to-top",children:o(n,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},$show:l,children:s||o(i,{width:30,height:30})})})}export{c as default};
@@ -1,25 +0,0 @@
1
- import i,{keyframes as o}from"styled-components";const s=i.div`
2
- position: fixed;
3
- bottom: 80px;
4
- right: 30px;
5
- visibility: hidden;
6
- `,t=i.a`
7
-
8
- visibility: ${i=>i.$show?"visible":"hidden"};
9
- animation: ${i=>i.$show?n:"none"} 0.5s;
10
-
11
- display: block;
12
- transition: fill .3s ease-out;
13
- cursor: pointer;
14
- fill: #ffffff80;
15
-
16
- &:hover {
17
- fill: #3396fb;
18
- }
19
-
20
- `,n=o`
21
- 0% { transform: scale(.2) }
22
- 50% { transform: scale(1.1) }
23
- 75% { transform: scale(0.9) }
24
- 100% { transform: scale(1) }
25
- `;export{t as Show,s as Wrapper};
@@ -1,38 +0,0 @@
1
- import{css as t}from"styled-components";const o=()=>t`
2
- &.itd-button-circle {
3
-
4
- border-radius: 100%;
5
-
6
- /* X-SMALL */
7
- &.itd-button-xs {
8
- width: 24px;
9
- }
10
-
11
- /* SMALL */
12
- &.itd-button-sm {
13
- width: 28px;
14
- }
15
-
16
- /* MEDIUM */
17
- &.itd-button-md {
18
- width: 32px;
19
- }
20
-
21
- /* LARGE */
22
- &.itd-button-lg {
23
- width: 44px;
24
- }
25
-
26
- /* X-LARGE */
27
- &.itd-button-xlg {
28
- width: 46px;
29
- }
30
-
31
- /* DEFAULT */
32
- &:not(&.itd-button-xs):not(&.itd-button-sm):not(&.itd-button-md):not(&.itd-button-lg):not(&.itd-button-xlg)
33
- {
34
- width: 40px;
35
- }
36
-
37
- }
38
- `;export{o as getCircle};
@@ -1,44 +0,0 @@
1
- import{css as r}from"styled-components";const o=()=>r`
2
-
3
- &.itd-button-default {
4
-
5
- box-shadow : ${({theme:r})=>r.boxShadow};
6
- background-color : ${({theme:r})=>r.primary};
7
- border : 1px solid transparent;
8
-
9
- span, div.icon svg{
10
- color : ${({theme:r})=>r.primaryForeground};
11
- }
12
-
13
- &:hover, &.active {
14
- background-color: ${({theme:r})=>r.primaryHover};
15
- }
16
-
17
- &.itd-button-selected {
18
-
19
- border: 2px solid #3598FE;
20
-
21
- span {
22
- color: #3598FE;
23
- font-weight: 600;
24
- margin: -1px;
25
- }
26
-
27
- }
28
-
29
- &[disabled] {
30
-
31
- span, div.icon svg {
32
- color: ${({theme:r})=>r.primaryForeground};
33
- }
34
-
35
- }
36
-
37
- .itd-spin-spinner {
38
- >div>div {
39
- border-color: ${({theme:r})=>r.primaryForeground} transparent transparent;
40
- }
41
- }
42
-
43
- }
44
- `;export{o as getDefaultButton};
@@ -1,49 +0,0 @@
1
- import{css as o}from"styled-components";const r=()=>o`
2
-
3
- &.itd-button-filled {
4
-
5
- background-color: #e9f3ff;
6
- border: transparent;
7
-
8
- span, div.icon svg {
9
- color: #1b84ff;
10
- }
11
-
12
- &:hover, &.active {
13
- background-color: #1b84ff;
14
- span, div.icon svg {
15
- color: #ffffff;
16
- }
17
- }
18
-
19
- &.itd-button-selected {
20
-
21
- border: transparent;
22
-
23
- span, div.icon svg {
24
- color: #3598FE;
25
- font-weight: 600;
26
- margin: -1px;
27
- }
28
-
29
- }
30
-
31
- &[disabled] {
32
-
33
- background-color: #f9f9f9;
34
- border: transparent;
35
-
36
- span, div.icon svg {
37
- color: #07143790;
38
- }
39
-
40
- }
41
-
42
- .itd-spin-spinner {
43
- >div>div {
44
- border-color: #1b84ff transparent transparent;
45
- }
46
- }
47
-
48
- }
49
- `;export{r as getFilledButton};
@@ -1,47 +0,0 @@
1
- import{css as o}from"styled-components";const r=()=>o`
2
-
3
- &.itd-button-ghost {
4
-
5
- background-color: transparent;
6
- border: 1px solid transparent;
7
-
8
- span, div.icon svg {
9
- color: #252f4a;
10
- }
11
-
12
- &:hover, &.active {
13
-
14
- background-color: #f9f9f9;
15
-
16
- span, div.icon svg {
17
- color: #1b84ff;
18
- }
19
-
20
- }
21
-
22
- &.itd-button-selected {
23
-
24
- border: 2px solid #3598FE;
25
-
26
- span {
27
- color: #3598FE;
28
- font-weight: 600;
29
- margin: -1px;
30
- }
31
-
32
- }
33
-
34
- &[disabled] {
35
- span, div.icon svg {
36
- color: #0000004D;
37
- }
38
- }
39
-
40
- .itd-spin-spinner {
41
- >div>div {
42
- border-color: #071437 transparent transparent;
43
- }
44
- }
45
-
46
- }
47
- `;export{r as getGhostButton};