@inntechcorp/it-design 3.1.3 → 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,415 +0,0 @@
1
- import e,{css as o}from"styled-components";import{getDefaultButton as t}from"./button.style.default.js";import{getSolidButton as n}from"./button.style.solid.js";import{getOutlineButton as r}from"./button.style.outline.js";import{getSize as i}from"./button.style.size.js";import{getIcon as d}from"./button.style.icon.js";import{getCircle as s}from"./button.style.circle.js";import{getStrecth as a}from"./button.style.strecth.js";import{getGhostButton as c}from"./button.style.ghost.js";import{getLinkButton as l}from"./button.style.link.js";import{getFilledButton as g}from"./button.style.filled.js";import{ThemeAppearances as f}from"../enums/enum.js";import{withOpacity as b}from"../helpers/theme/Color.js";import"../helpers/theme/tokens.js";import"../helpers/theme/cssVariables.js";import"../index.js";import"react/jsx-runtime";import"../utils/InlineSVGCached.js";import"../helpers/svg/styles.js";import"../helpers/datetime/dayjsSetup.js";const u=(e,t)=>"space-between"===t?o`
2
- margin-right: ${"-7px"};
3
- `:"left"===e?o`
4
- margin-right: ${"7px"};
5
- `:o`
6
- margin-left: ${"7px"};
7
- `,p=e.div`
8
-
9
- color: #ffffff;
10
-
11
- ${({$useIconPadding:e,$contentPosition:o,$justify:t})=>{if(e)return u(o,t)}}
12
-
13
- `,m=e(p)`
14
- display : flex;
15
- align-items : center;
16
- justify-content : center;
17
-
18
- div {
19
- display : flex;
20
- align-items : center;
21
- justify-content : center;
22
- }
23
- `,v=e.div`
24
-
25
- ${({$singleIcon:e,$contentPosition:o,$justify:t})=>{if(!e)return u(o,t)}}
26
-
27
- `,$=e.div`
28
-
29
- width : 20px;
30
- height : 20px;
31
-
32
- ${({$contentPosition:e,$justify:o})=>u(e,o)}
33
-
34
- `,h=e.span`
35
-
36
- display: flex;
37
- align-items: center;
38
- gap: 0.3125rem; /* 5px - Icon ve text arası gap */
39
-
40
- ${({$loading:e})=>"true"===e&&o`
41
- opacity: 0;
42
- `}
43
-
44
- `,y=o`
45
-
46
- display : flex;
47
- align-items : center;
48
- position : relative;
49
- cursor : pointer;
50
- justify-content : ${({$justify:e})=>e};
51
- box-sizing : border-box;
52
-
53
- border-radius : calc( ${({theme:e})=>e.borderRadius} - 2px);
54
- border : 1px solid transparent;
55
- outline : 0 solid transparent;
56
- outline-offset : ${({theme:e})=>e.ringOffset};
57
-
58
- transition : outline 100ms linear,
59
- border ${({theme:e})=>e.transitionDuration} ${({theme:e})=>e.transitionTimingFunction},
60
- background-color ${({theme:e})=>e.transitionDuration} ${({theme:e})=>e.transitionTimingFunction};
61
-
62
- span, div.icon svg {
63
-
64
- transition-property : color;
65
- transition-duration : ${({theme:e})=>e.transitionDuration};
66
- transition-timing-function : ${({theme:e})=>e.transitionTimingFunction};
67
-
68
- }
69
-
70
- /* ------------------------ */
71
- // STRECTH
72
- /* ------------------------ */
73
- ${()=>a()}
74
-
75
- /* ------------------------ */
76
- // SIZE
77
- /* ------------------------ */
78
- ${()=>i()}
79
-
80
- /* ------------------------ */
81
- // CIRCLE
82
- /* ------------------------ */
83
- ${()=>s()}
84
-
85
- /* ------------------------ */
86
- // ICON
87
- /* ------------------------ */
88
- ${()=>d(p)}
89
-
90
- /* ------------------------ */
91
- // DEFAULT
92
- /* ------------------------ */
93
- ${()=>t()}
94
-
95
- /* ------------------------ */
96
- // GHOST
97
- /* ------------------------ */
98
- ${()=>c()}
99
-
100
- /* ------------------------ */
101
- // SOLID
102
- /* ------------------------ */
103
- ${()=>n()}
104
-
105
- /* ------------------------ */
106
- // FILLED
107
- /* ------------------------ */
108
- ${()=>g()}
109
-
110
- /* ------------------------ */
111
- // OUTLINE
112
- /* ------------------------ */
113
- ${()=>r()}
114
-
115
- /* ------------------------ */
116
- // LINK
117
- /* ------------------------ */
118
- ${()=>l()}
119
-
120
- /* ------------------------ */
121
- // PRIMARY
122
- /* ------------------------ */
123
- ${()=>o`
124
- &.itd-button-primary {
125
- background: linear-gradient(-45deg,${({theme:e})=>e.primaryGradientStart},${({theme:e})=>e.primaryGradientEnd});
126
- span, div.icon svg {
127
- color: #ffffff;
128
- }
129
- &:hover {
130
- background: linear-gradient(-45deg,${({theme:e})=>e.primaryHoverStart},${({theme:e})=>e.primaryHoverEnd});
131
- span, div.icon svg {
132
- color: #ffffff;
133
- }
134
- }
135
- &.itd-button-selected {
136
- background: linear-gradient(-45deg,${({theme:e})=>e.primaryHoverEnd},${({theme:e})=>e.primaryHoverStart});
137
- border: 2px solid ${({theme:e})=>e.buttonSelectedBorder};
138
- span, div.icon svg {
139
- color: #ffffff;
140
- }
141
- }
142
- &[disabled] {
143
- background: linear-gradient(-45deg,#477db4,#215283);
144
- span, div.icon svg {
145
- color: ${({theme:e})=>e.buttonDisabledText};
146
- }
147
- }
148
- }
149
- `}
150
-
151
- /* ------------------------ */
152
- // SECONDARY
153
- /* ------------------------ */
154
- ${()=>o`
155
- &.itd-button-secondary {
156
- background: linear-gradient(-45deg,#ebebeb,#ffffff);
157
- span, div.icon svg {
158
- color: #000000;
159
- }
160
- &:hover {
161
- background: linear-gradient(-45deg,#CDCDCD,#ebebeb);
162
- span, div.icon svg {
163
- color: #000000;
164
- }
165
- }
166
- &.itd-button-selected {
167
- background: linear-gradient(-45deg,#d8d8d8,#e2e2e2);
168
- border: 2px solid #6CB5FF;
169
- span, div.icon svg {
170
- color: #000000;
171
- }
172
- }
173
- &[disabled] {
174
- background: linear-gradient(-45deg,#CDCDCD,#A7A7A7);
175
- span, div.icon svg {
176
- color: rgb(0, 0, 0, 30);
177
- }
178
- }
179
- }
180
- `}
181
-
182
- /* ------------------------ */
183
- // GENERIC
184
- /* ------------------------ */
185
- ${()=>o`
186
- &.itd-button-generic {
187
- background-color: ${({theme:e})=>e.buttonGenericBg};
188
- span, div.icon svg {
189
- color: #ffffff;
190
- }
191
- &:hover {
192
- background: ${({theme:e})=>e.buttonGenericHoverBg};
193
- span, div.icon svg {
194
- color: #ffffff;
195
- }
196
- }
197
- &.itd-button-selected {
198
- background: ${({theme:e})=>e.buttonSelectedBg};
199
- border: 2px solid ${({theme:e})=>e.buttonSelectedBorder};
200
- span, div.icon svg {
201
- color: #ffffff;
202
- }
203
- }
204
- &[disabled] {
205
- background: ${({theme:e})=>e.buttonDisabledBg};
206
- span, div.icon svg {
207
- color: rgb(255, 255, 255, 30);
208
- }
209
- }
210
- }
211
- `}
212
-
213
- /* ------------------------ */
214
- // REQUEST
215
- /* ------------------------ */
216
- ${()=>o`
217
- &.itd-button-request {
218
- background: linear-gradient(90deg, #0BE881 0%, #02B964 99%);
219
- span, div.icon svg {
220
- color: ${({theme:e})=>e.colorText};
221
- }
222
- &:hover {
223
- background: linear-gradient(90deg, #16E886 0%, #0DD578 99%);
224
- span, div.icon svg {
225
- color: ${({theme:e})=>e.colorText};
226
- }
227
- }
228
- &.itd-button-selected {
229
- background: linear-gradient(90deg, #02B964 0%, #0BE881 99%);
230
- border: 2px solid #0AE37E;
231
- span, div.icon svg {
232
- color: ${({theme:e})=>e.colorText};
233
- }
234
- }
235
- &[disabled] {
236
- background: linear-gradient(90deg, #05B663 0%, #028246 97%);
237
- span, div.icon svg {
238
- color: rgb(29, 38, 73, 30);
239
- }
240
- }
241
- }
242
- `}
243
-
244
- /* ------------------------ */
245
- // APPROVE
246
- /* ------------------------ */
247
- ${()=>o`
248
- &.itd-button-approve {
249
- background: linear-gradient(90deg, #FFB142 0%, #D88A1C 100%);
250
- span, div.icon svg {
251
- color: ${({theme:e})=>e.colorText};
252
- }
253
- &:hover {
254
- background: linear-gradient(90deg, #FFC067 0%, #FFB346 100%);
255
- span, div.icon svg {
256
- color: ${({theme:e})=>e.colorText};
257
- }
258
- }
259
- &.itd-button-selected {
260
- background: linear-gradient(90deg, #D88A1C 0%, #FFB142 100%);
261
- border: 2px solid #FAAC3D;
262
- span, div.icon svg {
263
- color: ${({theme:e})=>e.colorText};
264
- }
265
- }
266
- &[disabled] {
267
- background: linear-gradient(90deg, #C88930 0%, #A86A13 98%);
268
- span, div.icon svg {
269
- color: rgb(29, 38, 73, 30);
270
- }
271
- }
272
- }
273
- `}
274
-
275
- /* ------------------------ */
276
- // REJECT
277
- /* ------------------------ */
278
- ${()=>o`
279
- &.itd-button-reject {
280
- background: linear-gradient(90deg, #B33939 0%, #971B1B 100%);
281
- span, div.icon svg {
282
- color: #ffffff;
283
- }
284
- &:hover {
285
- background: linear-gradient(90deg, #DC5050 0%, #C52D2D 100%);
286
- span, div.icon svg {
287
- color: #ffffff;
288
- }
289
- }
290
- &.itd-button-selected {
291
- background: linear-gradient(90deg, #971B1B 0%, #B33939 100%);
292
- border: 2px solid #AD3232;
293
- span, div.icon svg {
294
- color: #ffffff;
295
- }
296
- }
297
- &[disabled] {
298
- background: linear-gradient(90deg, #872626 0%, #731010 100%);
299
- span, div.icon svg {
300
- color: rgb(29, 38, 73, 30);
301
- }
302
- }
303
- }
304
- `}
305
-
306
- /* ------------------------ */
307
- // PENDING
308
- /* ------------------------ */
309
- ${()=>o`
310
- &.itd-button-pending {
311
- cursor: default;
312
- background-color: #1F2952;
313
- span, div.icon svg {
314
- color: #ffffff99;
315
- }
316
- &:hover {
317
- background-color: #1F2952;
318
- span, div.icon svg {
319
- color: #ffffff99;
320
- }
321
- }
322
- &.itd-button-selected {
323
- background-color: #1F2952;
324
- span, div.icon svg {
325
- color: #ffffff99;
326
- }
327
- }
328
- &[disabled] {
329
- background-color: #1F2952;
330
- span, div.icon svg {
331
- color: rgb(29, 38, 73, 30);
332
- }
333
- }
334
- }
335
- `}
336
-
337
- /* ------------------------ */
338
- // REQUESTED
339
- /* ------------------------ */
340
- ${()=>o`
341
- &.itd-button-requested {
342
- cursor: default;
343
- background-color: #1F295280;
344
- span, div.icon svg {
345
- color: ${({theme:e})=>e.buttonDisabledText};
346
- }
347
- &:hover {
348
- background-color: #1F295280;
349
- span, div.icon svg {
350
- color: ${({theme:e})=>e.buttonDisabledText};
351
- }
352
- }
353
- &.itd-button-selected {
354
- background-color: #1F295280;
355
- span, div.icon svg {
356
- color: ${({theme:e})=>e.buttonDisabledText};
357
- }
358
- }
359
- &[disabled] {
360
- background-color: #1F295280;
361
- span, div.icon svg {
362
- color: rgb(29, 38, 73, 30);
363
- }
364
- }
365
- }
366
- `}
367
-
368
- /* ------------------------ */
369
- // SELECTED
370
- /* ------------------------ */
371
- ${()=>o`
372
- &.itd-button-selected {
373
-
374
- }
375
- `}
376
-
377
- /* ------------------------ */
378
- // DISABLED
379
- /* ------------------------ */
380
- ${()=>o`
381
- &[disabled] {
382
- pointer-events: none;
383
- filter: grayscale(100%);
384
- opacity: .5;
385
- }
386
- `}
387
-
388
- /* ------------------------ */
389
- // LOADING
390
- /* ------------------------ */
391
- ${()=>o`
392
- &.itd-button-loading {
393
- pointer-events: none;
394
- }
395
- `}
396
-
397
- /* ------------------------ */
398
- // FOCUS VISIBLE
399
- /* ------------------------ */
400
- ${()=>o`
401
- &:focus-visible {
402
- outline: ${({theme:e})=>e.ringWidth} solid ${({theme:e})=>b(e.primaryScale[e.appearance===f.LIGHT?400:900],.5)};
403
- }
404
- `}
405
-
406
- `,k=e.button`
407
- ${y}
408
- border: none;
409
- background: none;
410
- padding: 0;
411
- `,x=e.a`
412
- ${y}
413
- `,D=e.a`
414
- ${y}
415
- `;export{D as A,k as ClickButton,m as Element,h as Hide,p as Icon,$ as ImageWrapper,x as Link,v as SVG};
@@ -1 +0,0 @@
1
- import"../helpers/datetime/dayjsSetup.js";import t from"../_virtual/dayjs.min.js";const e=(e,r,a)=>{const s=Number.isInteger(a)&&a>=0&&a<=6?a:0;let n=t();Number.isInteger(e)&&Number.isInteger(r)&&(n=n.month(e-1).year(r));const o=n.startOf("month"),m=n.endOf("month"),d=[],u=[],Y=[];let h=null;h=o;let l=0;for(;h.day()!==s&&l<7;)h=h.subtract(1,"day"),d.push(h.format("MM/DD/YYYY")),l++;for(h=o;h.month()===e-1;)u.push(h.format("MM/DD/YYYY")),h=h.add(1,"day");for(h=m;d.length+u.length+Y.length<42;)h=h.add(1,"day"),Y.push(h.format("MM/DD/YYYY"));return[...d.reverse(),...u,...Y]};export{e as default};
@@ -1 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Wrapper as d}from"./styled.js";import{useMemo as a}from"react";function t({date:t,today:r,current:c,disabled:l,selected:n,handleClick:i,children:s}){const o=a(()=>{let e="itd-calendar-day";return r&&(e+=" itd-calendar-day-today"),n&&(e+=" itd-calendar-day-selected"),l&&(e+=" itd-calendar-day-disabled"),c&&(e+=" itd-calendar-day-current"),e},[r,n,l,c]);return e(d,{className:o,$today:r,$selected:n,$disabled:l,$current:c,onClick:()=>i(t),children:e("span",{children:s})})}export{t as default};
@@ -1,91 +0,0 @@
1
- import o,{css as e}from"styled-components";const t=o.div`
2
-
3
- position: relative;
4
- cursor: pointer;
5
- border-radius: 4px;
6
-
7
- display: flex;
8
- justify-content: center;
9
- align-items: center;
10
-
11
- &::before {
12
-
13
- position: absolute;
14
- top: 50%;
15
- right: 0;
16
- left: 0;
17
- //z-index: 1;
18
- height: 30px;
19
- -webkit-transform: translateY(-50%);
20
- transform: translateY(-50%);
21
- content: "";
22
-
23
- }
24
-
25
- span {
26
-
27
- font-size: 13px;
28
- letter-spacing: -.5;
29
- font-weight: 500;
30
-
31
- display: flex;
32
- justify-content: center;
33
- align-items: center;
34
-
35
- position: relative;
36
- min-width: 30px;
37
- height: 30px;
38
- line-height: 30px;
39
- border-radius: 50px;
40
-
41
- transition: background-color 0.15s ease-out;
42
-
43
- }
44
-
45
- &:hover {
46
-
47
- span {
48
- color: #3598FE;
49
- background-color: #0E1531;
50
- }
51
-
52
- }
53
-
54
- ${({$today:o})=>o&&e`
55
- span {
56
- border: 1px solid #3598FE80;
57
- }
58
- `}
59
-
60
- ${({$selected:o})=>o&&e`
61
- span {
62
- color: #3598FE;
63
- background-color: #0E1531;
64
- }
65
- `}
66
-
67
- ${({$current:o})=>o?e`
68
- span {
69
- color: #ffffff;
70
- }
71
- `:e`
72
- span {
73
- color: #ffffff80;
74
- }
75
- `}
76
-
77
- ${({$disabled:o})=>o&&e`
78
- pointer-events: none;
79
-
80
- &::before {
81
- background-color: none;
82
- background-color: #0E153180;
83
- }
84
-
85
- span {
86
- background: 0 0;
87
- color: #ffffff40;
88
- }
89
- `}
90
-
91
- `;export{t as Wrapper};
@@ -1 +0,0 @@
1
- import{jsxs as e,jsx as a,Fragment as l}from"react/jsx-runtime";import{useEffect as n}from"react";import{Wrapper as d,PrevYear as r,PrevMonth as c,Middle as i,NextMonth as s,NextYear as t}from"./styled.js";function o(o){const{month:m="",year:h="",onPrevYear:N=null,onPrevMonth:y=null,onNextMonth:p=null,onNextYear:u=null,onClickMonth:k=null,onClickYear:v=null,viewMode:C="days",decadeLabel:x=""}=o;n(()=>{},[]);return e(d,{className:"itd-calendar-header",children:[a(r,{className:"itd-calendar-prev-year",onClick:N,children:a("span",{})}),"days"===C&&a(c,{className:"itd-calendar-prev-month",onClick:y,children:a("span",{})}),e(i,{className:"itd-calendar-middle",children:["days"===C&&e(l,{children:[a("div",{className:"itd-calendar-middle-month",onClick:k,children:m}),a("div",{className:"itd-calendar-middle-year",onClick:v,children:h})]}),"months"===C&&a("div",{className:"itd-calendar-middle-year",onClick:v,children:h}),"years"===C&&a("div",{className:"itd-calendar-middle-decade",children:x||h})]}),"days"===C&&a(s,{className:"itd-calendar-next-month",onClick:p,children:a("span",{})}),a(t,{className:"itd-calendar-next-year",onClick:u,children:a("span",{})})]})}export{o as default};
@@ -1,196 +0,0 @@
1
- import e from"styled-components";const t=e.div`
2
-
3
- display: flex;
4
- height: 40px;
5
-
6
- `,o=e.div`
7
-
8
- flex: auto;
9
- display: flex;
10
- flex-direction: row;
11
- justify-content: center;
12
- align-items: center;
13
-
14
- div {
15
-
16
- font-size: 14px;
17
- font-weight: 600;
18
- cursor: pointer;
19
-
20
- transition: color .15s ease-out;
21
- color: #ffffff;
22
-
23
- &:nth-child(2) {
24
- margin-left: 5px;
25
- }
26
-
27
- &:hover {
28
- color: #3598FE;
29
- }
30
- }
31
-
32
- `,i=e.a`
33
-
34
- span {
35
- transform: rotate(135deg);
36
- position: relative;
37
- display: inline-block;
38
- width: 7px;
39
- height: 7px;
40
- }
41
-
42
- display: flex;
43
- justify-content: center;
44
- align-items: center;
45
- cursor: pointer;
46
- flex: none;
47
- min-width: 22px;
48
-
49
- transition: color .15s ease-out;
50
- color: #ffffff80;
51
-
52
- &:hover {
53
- color: #ffffff;
54
- }
55
-
56
- span::before, span::after {
57
-
58
- position: absolute;
59
- top: 0;
60
- left: 0;
61
- display: inline-block;
62
- width: 7px;
63
- height: 7px;
64
- border: 0 solid;
65
- border-width: 2px 0 0 2px;
66
- content: "";
67
-
68
- }
69
-
70
-
71
- `,n=e.a`
72
-
73
- span {
74
- transform: rotate(-45deg);
75
- position: relative;
76
- display: inline-block;
77
- width: 7px;
78
- height: 7px;
79
- }
80
-
81
- display: flex;
82
- justify-content: center;
83
- align-items: center;
84
- cursor: pointer;
85
- flex: none;
86
- min-width: 22px;
87
-
88
- transition: color .15s ease-out;
89
- color: #ffffff80;
90
-
91
- &:hover {
92
- color: #ffffff;
93
- }
94
-
95
- span::before, span::after {
96
-
97
- position: absolute;
98
- top: 0;
99
- left: 0;
100
- display: inline-block;
101
- width: 7px;
102
- height: 7px;
103
- border: 0 solid;
104
- border-width: 2px 0 0 2px;
105
- content: "";
106
-
107
- }
108
-
109
-
110
- `,r=e.a`
111
-
112
- span {
113
- transform: rotate(135deg);
114
- position: relative;
115
- display: inline-block;
116
- width: 7px;
117
- height: 7px;
118
- }
119
-
120
- display: flex;
121
- justify-content: center;
122
- align-items: center;
123
- cursor: pointer;
124
- flex: none;
125
- min-width: 22px;
126
-
127
- transition: color .15s ease-out;
128
- color: #ffffff80;
129
-
130
- &:hover {
131
- color: #ffffff;
132
- }
133
-
134
- span::before, span::after {
135
-
136
- position: absolute;
137
- top: 0;
138
- left: 0;
139
- display: inline-block;
140
- width: 7px;
141
- height: 7px;
142
- border: 0 solid;
143
- border-width: 2px 0 0 2px;
144
- content: "";
145
-
146
- }
147
-
148
- span::after {
149
- top: 4px;
150
- left: 4px;
151
- }
152
-
153
- `,f=e.a`
154
-
155
- span {
156
- transform: rotate(-45deg);
157
- position: relative;
158
- display: inline-block;
159
- width: 7px;
160
- height: 7px;
161
- }
162
-
163
- display: flex;
164
- justify-content: center;
165
- align-items: center;
166
- cursor: pointer;
167
- flex: none;
168
- min-width: 22px;
169
-
170
- transition: color .15s ease-out;
171
- color: #ffffff80;
172
-
173
- &:hover {
174
- color: #ffffff;
175
- }
176
-
177
- span::before, span::after {
178
-
179
- position: absolute;
180
- top: 0;
181
- left: 0;
182
- display: inline-block;
183
- width: 7px;
184
- height: 7px;
185
- border: 0 solid;
186
- border-width: 2px 0 0 2px;
187
- content: "";
188
-
189
- }
190
-
191
- span::after {
192
- top: 4px;
193
- left: 4px;
194
- }
195
-
196
- `;export{o as Middle,i as NextMonth,r as NextYear,n as PrevMonth,f as PrevYear,t as Wrapper};