@importcsv/react 0.2.8 → 0.2.9

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 (346) hide show
  1. package/build/react/components/CSVImporter/index.d.ts +1 -1
  2. package/build/react/importer/components/Root/index.d.ts +1 -1
  3. package/build/react/importer/components/ui/alert.d.ts +3 -3
  4. package/build/react/importer/components/ui/button.d.ts +1 -1
  5. package/build/react/importer/components/ui/card.d.ts +6 -6
  6. package/build/react/importer/components/ui/checkbox.d.ts +1 -1
  7. package/build/react/importer/components/ui/dialog.d.ts +5 -5
  8. package/build/react/importer/components/ui/flex.d.ts +5 -5
  9. package/build/react/importer/components/ui/input.d.ts +1 -1
  10. package/build/react/importer/components/ui/select.d.ts +1 -1
  11. package/build/react/importer/components/ui/switch.d.ts +1 -1
  12. package/build/react/importer/components/ui/toast.d.ts +5 -5
  13. package/build/react/importer/components/ui/tooltip.d.ts +2 -2
  14. package/build/react/index.esm.js +386 -384
  15. package/build/react/index.esm.js.map +1 -1
  16. package/build/react/index.js +22 -22
  17. package/build/react/index.js.map +1 -1
  18. package/build/react/js.d.ts +1 -1
  19. package/package.json +4 -2
  20. package/build/App.d.ts +0 -2
  21. package/build/bundled/bundled-styles.d.ts +0 -1
  22. package/build/bundled/components/CSVImporter/index.d.ts +0 -5
  23. package/build/bundled/i18n/de.d.ts +0 -32
  24. package/build/bundled/i18n/es.d.ts +0 -32
  25. package/build/bundled/i18n/fr.d.ts +0 -32
  26. package/build/bundled/i18n/i18n.d.ts +0 -6
  27. package/build/bundled/i18n/it.d.ts +0 -32
  28. package/build/bundled/i18n/useTranslation.d.ts +0 -9
  29. package/build/bundled/importer/components/Box/index.d.ts +0 -2
  30. package/build/bundled/importer/components/Box/types/index.d.ts +0 -5
  31. package/build/bundled/importer/components/Checkbox/index.d.ts +0 -2
  32. package/build/bundled/importer/components/Checkbox/types/index.d.ts +0 -4
  33. package/build/bundled/importer/components/Errors/index.d.ts +0 -4
  34. package/build/bundled/importer/components/Input/index.d.ts +0 -2
  35. package/build/bundled/importer/components/Input/types/index.d.ts +0 -18
  36. package/build/bundled/importer/components/Root/index.d.ts +0 -10
  37. package/build/bundled/importer/components/StepLayout/index.d.ts +0 -18
  38. package/build/bundled/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  39. package/build/bundled/importer/components/Stepper/index.d.ts +0 -2
  40. package/build/bundled/importer/components/Stepper/types/index.d.ts +0 -14
  41. package/build/bundled/importer/components/Table/index.d.ts +0 -9
  42. package/build/bundled/importer/components/ToggleFilter/index.d.ts +0 -3
  43. package/build/bundled/importer/components/ToggleFilter/types/index.d.ts +0 -11
  44. package/build/bundled/importer/components/Tooltip/index.d.ts +0 -2
  45. package/build/bundled/importer/components/Tooltip/types/index.d.ts +0 -11
  46. package/build/bundled/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  47. package/build/bundled/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  48. package/build/bundled/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  49. package/build/bundled/importer/components/VirtualTable/index.d.ts +0 -17
  50. package/build/bundled/importer/components/ui/alert.d.ts +0 -10
  51. package/build/bundled/importer/components/ui/button.d.ts +0 -12
  52. package/build/bundled/importer/components/ui/card.d.ts +0 -19
  53. package/build/bundled/importer/components/ui/checkbox.d.ts +0 -7
  54. package/build/bundled/importer/components/ui/dialog.d.ts +0 -38
  55. package/build/bundled/importer/components/ui/flex.d.ts +0 -23
  56. package/build/bundled/importer/components/ui/input.d.ts +0 -6
  57. package/build/bundled/importer/components/ui/select.d.ts +0 -13
  58. package/build/bundled/importer/components/ui/switch.d.ts +0 -7
  59. package/build/bundled/importer/components/ui/toast.d.ts +0 -22
  60. package/build/bundled/importer/components/ui/toaster.d.ts +0 -1
  61. package/build/bundled/importer/components/ui/tooltip.d.ts +0 -20
  62. package/build/bundled/importer/components/ui/use-toast.d.ts +0 -46
  63. package/build/bundled/importer/features/complete/index.d.ts +0 -2
  64. package/build/bundled/importer/features/complete/types/index.d.ts +0 -5
  65. package/build/bundled/importer/features/configure-import/index.d.ts +0 -13
  66. package/build/bundled/importer/features/configure-import/types/index.d.ts +0 -13
  67. package/build/bundled/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  68. package/build/bundled/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  69. package/build/bundled/importer/features/main/index.d.ts +0 -2
  70. package/build/bundled/importer/features/main/types/index.d.ts +0 -16
  71. package/build/bundled/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  72. package/build/bundled/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  73. package/build/bundled/importer/features/map-columns/index.d.ts +0 -2
  74. package/build/bundled/importer/features/map-columns/types/index.d.ts +0 -16
  75. package/build/bundled/importer/features/row-selection/index.d.ts +0 -2
  76. package/build/bundled/importer/features/row-selection/types/index.d.ts +0 -8
  77. package/build/bundled/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  78. package/build/bundled/importer/features/uploader/index.d.ts +0 -2
  79. package/build/bundled/importer/features/uploader/types/index.d.ts +0 -9
  80. package/build/bundled/importer/features/validation/Validation.d.ts +0 -2
  81. package/build/bundled/importer/features/validation/components/TransformModal.d.ts +0 -18
  82. package/build/bundled/importer/features/validation/components/TransformPanel.d.ts +0 -18
  83. package/build/bundled/importer/features/validation/index.d.ts +0 -1
  84. package/build/bundled/importer/features/validation/types.d.ts +0 -32
  85. package/build/bundled/importer/hooks/useClickOutside.d.ts +0 -1
  86. package/build/bundled/importer/hooks/useCustomStyles.d.ts +0 -1
  87. package/build/bundled/importer/hooks/useEventListener.d.ts +0 -4
  88. package/build/bundled/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  89. package/build/bundled/importer/hooks/useRect.d.ts +0 -12
  90. package/build/bundled/importer/hooks/useWindowSize.d.ts +0 -1
  91. package/build/bundled/importer/providers/Theme.d.ts +0 -10
  92. package/build/bundled/importer/providers/index.d.ts +0 -5
  93. package/build/bundled/importer/providers/types/index.d.ts +0 -10
  94. package/build/bundled/importer/services/api.d.ts +0 -1
  95. package/build/bundled/importer/services/mapping.d.ts +0 -31
  96. package/build/bundled/importer/services/transformation.d.ts +0 -70
  97. package/build/bundled/importer/settings/theme/colors.d.ts +0 -4
  98. package/build/bundled/importer/settings/theme/index.d.ts +0 -2
  99. package/build/bundled/importer/settings/theme/sizes.d.ts +0 -7
  100. package/build/bundled/importer/stores/theme.d.ts +0 -17
  101. package/build/bundled/importer/theme/index.d.ts +0 -8
  102. package/build/bundled/importer/theme/presets.d.ts +0 -314
  103. package/build/bundled/importer/theme/runtime.d.ts +0 -62
  104. package/build/bundled/importer/theme/styles.d.ts +0 -120
  105. package/build/bundled/importer/types/index.d.ts +0 -9
  106. package/build/bundled/importer/utils/colorUtils.d.ts +0 -48
  107. package/build/bundled/importer/utils/errorAnalysis.d.ts +0 -25
  108. package/build/bundled/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  109. package/build/bundled/importer/utils/stringSimilarity.d.ts +0 -1
  110. package/build/bundled/importer/utils/template.d.ts +0 -2
  111. package/build/bundled/importer/utils/themeUtils.d.ts +0 -21
  112. package/build/bundled/importer/utils/utils.d.ts +0 -19
  113. package/build/bundled/index.d.ts +0 -4
  114. package/build/bundled/index.esm.js +0 -8189
  115. package/build/bundled/index.esm.js.map +0 -1
  116. package/build/bundled/index.js +0 -112
  117. package/build/bundled/index.js.map +0 -1
  118. package/build/bundled/index.umd.js +0 -112
  119. package/build/bundled/index.umd.js.map +0 -1
  120. package/build/bundled/js.d.ts +0 -12
  121. package/build/bundled/settings/defaults.d.ts +0 -3
  122. package/build/bundled/styles.d.ts +0 -1
  123. package/build/bundled/types/index.d.ts +0 -132
  124. package/build/bundled/types/theme.d.ts +0 -153
  125. package/build/bundled/utils/cn.d.ts +0 -6
  126. package/build/bundled/utils/injectStyles.d.ts +0 -14
  127. package/build/bundled/validation/transformationStages.d.ts +0 -26
  128. package/build/bundled/validation/transformer.d.ts +0 -17
  129. package/build/bundled/validation/validator.d.ts +0 -23
  130. package/build/bundled-styles.d.ts +0 -1
  131. package/build/components/CSVImporter/index.d.ts +0 -9
  132. package/build/components/Modal/index.d.ts +0 -12
  133. package/build/config/index.d.ts +0 -5
  134. package/build/i18n/de.d.ts +0 -32
  135. package/build/i18n/es.d.ts +0 -32
  136. package/build/i18n/fr.d.ts +0 -32
  137. package/build/i18n/i18n.d.ts +0 -6
  138. package/build/i18n/it.d.ts +0 -32
  139. package/build/i18n/useTranslation.d.ts +0 -9
  140. package/build/importer/components/Box/index.d.ts +0 -2
  141. package/build/importer/components/Box/types/index.d.ts +0 -5
  142. package/build/importer/components/Checkbox/index.d.ts +0 -2
  143. package/build/importer/components/Checkbox/types/index.d.ts +0 -4
  144. package/build/importer/components/Errors/index.d.ts +0 -4
  145. package/build/importer/components/Input/index.d.ts +0 -2
  146. package/build/importer/components/Input/types/index.d.ts +0 -18
  147. package/build/importer/components/Root/index.d.ts +0 -10
  148. package/build/importer/components/StepLayout/index.d.ts +0 -18
  149. package/build/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  150. package/build/importer/components/Stepper/index.d.ts +0 -2
  151. package/build/importer/components/Stepper/types/index.d.ts +0 -14
  152. package/build/importer/components/Table/index.d.ts +0 -9
  153. package/build/importer/components/ToggleFilter/index.d.ts +0 -3
  154. package/build/importer/components/ToggleFilter/types/index.d.ts +0 -11
  155. package/build/importer/components/Tooltip/index.d.ts +0 -2
  156. package/build/importer/components/Tooltip/types/index.d.ts +0 -11
  157. package/build/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  158. package/build/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  159. package/build/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  160. package/build/importer/components/VirtualTable/index.d.ts +0 -17
  161. package/build/importer/components/ui/alert.d.ts +0 -10
  162. package/build/importer/components/ui/button.d.ts +0 -12
  163. package/build/importer/components/ui/card.d.ts +0 -19
  164. package/build/importer/components/ui/checkbox.d.ts +0 -7
  165. package/build/importer/components/ui/dialog.d.ts +0 -39
  166. package/build/importer/components/ui/flex.d.ts +0 -23
  167. package/build/importer/components/ui/input.d.ts +0 -6
  168. package/build/importer/components/ui/select.d.ts +0 -13
  169. package/build/importer/components/ui/switch.d.ts +0 -7
  170. package/build/importer/components/ui/toast.d.ts +0 -23
  171. package/build/importer/components/ui/toaster.d.ts +0 -1
  172. package/build/importer/components/ui/tooltip.d.ts +0 -20
  173. package/build/importer/components/ui/use-toast.d.ts +0 -46
  174. package/build/importer/features/complete/index.d.ts +0 -2
  175. package/build/importer/features/complete/types/index.d.ts +0 -5
  176. package/build/importer/features/configure-import/index.d.ts +0 -13
  177. package/build/importer/features/configure-import/types/index.d.ts +0 -13
  178. package/build/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  179. package/build/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  180. package/build/importer/features/main/index.d.ts +0 -2
  181. package/build/importer/features/main/types/index.d.ts +0 -16
  182. package/build/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  183. package/build/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  184. package/build/importer/features/map-columns/index.d.ts +0 -2
  185. package/build/importer/features/map-columns/types/index.d.ts +0 -16
  186. package/build/importer/features/row-selection/index.d.ts +0 -2
  187. package/build/importer/features/row-selection/types/index.d.ts +0 -8
  188. package/build/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  189. package/build/importer/features/uploader/index.d.ts +0 -2
  190. package/build/importer/features/uploader/types/index.d.ts +0 -9
  191. package/build/importer/features/validation/Validation.d.ts +0 -2
  192. package/build/importer/features/validation/components/TransformModal.d.ts +0 -18
  193. package/build/importer/features/validation/components/TransformPanel.d.ts +0 -18
  194. package/build/importer/features/validation/index.d.ts +0 -1
  195. package/build/importer/features/validation/types.d.ts +0 -32
  196. package/build/importer/hooks/useClickOutside.d.ts +0 -1
  197. package/build/importer/hooks/useCustomStyles.d.ts +0 -1
  198. package/build/importer/hooks/useEventListener.d.ts +0 -4
  199. package/build/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  200. package/build/importer/hooks/useRect.d.ts +0 -12
  201. package/build/importer/hooks/useWindowSize.d.ts +0 -1
  202. package/build/importer/providers/Theme.d.ts +0 -10
  203. package/build/importer/providers/index.d.ts +0 -5
  204. package/build/importer/providers/types/index.d.ts +0 -10
  205. package/build/importer/services/api.d.ts +0 -1
  206. package/build/importer/services/mapping.d.ts +0 -31
  207. package/build/importer/services/transformation.d.ts +0 -70
  208. package/build/importer/settings/theme/colors.d.ts +0 -4
  209. package/build/importer/settings/theme/index.d.ts +0 -2
  210. package/build/importer/settings/theme/sizes.d.ts +0 -7
  211. package/build/importer/stores/theme.d.ts +0 -17
  212. package/build/importer/theme/index.d.ts +0 -8
  213. package/build/importer/theme/presets.d.ts +0 -314
  214. package/build/importer/theme/runtime.d.ts +0 -66
  215. package/build/importer/theme/styles.d.ts +0 -120
  216. package/build/importer/types/index.d.ts +0 -9
  217. package/build/importer/utils/colorUtils.d.ts +0 -48
  218. package/build/importer/utils/errorAnalysis.d.ts +0 -25
  219. package/build/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  220. package/build/importer/utils/stringSimilarity.d.ts +0 -1
  221. package/build/importer/utils/template.d.ts +0 -2
  222. package/build/importer/utils/themeUtils.d.ts +0 -24
  223. package/build/importer/utils/utils.d.ts +0 -19
  224. package/build/index.d.ts +0 -6
  225. package/build/index.dev.d.ts +0 -1
  226. package/build/js.d.ts +0 -12
  227. package/build/preact/bundled-styles.d.ts +0 -1
  228. package/build/preact/components/CSVImporter/index.d.ts +0 -5
  229. package/build/preact/components/Modal/index.d.ts +0 -12
  230. package/build/preact/i18n/de.d.ts +0 -32
  231. package/build/preact/i18n/es.d.ts +0 -32
  232. package/build/preact/i18n/fr.d.ts +0 -32
  233. package/build/preact/i18n/i18n.d.ts +0 -6
  234. package/build/preact/i18n/it.d.ts +0 -32
  235. package/build/preact/i18n/useTranslation.d.ts +0 -9
  236. package/build/preact/importer/components/Box/index.d.ts +0 -2
  237. package/build/preact/importer/components/Box/types/index.d.ts +0 -5
  238. package/build/preact/importer/components/Checkbox/index.d.ts +0 -2
  239. package/build/preact/importer/components/Checkbox/types/index.d.ts +0 -4
  240. package/build/preact/importer/components/Errors/index.d.ts +0 -4
  241. package/build/preact/importer/components/Input/index.d.ts +0 -2
  242. package/build/preact/importer/components/Input/types/index.d.ts +0 -18
  243. package/build/preact/importer/components/Root/index.d.ts +0 -10
  244. package/build/preact/importer/components/StepLayout/index.d.ts +0 -18
  245. package/build/preact/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  246. package/build/preact/importer/components/Stepper/index.d.ts +0 -2
  247. package/build/preact/importer/components/Stepper/types/index.d.ts +0 -14
  248. package/build/preact/importer/components/Table/index.d.ts +0 -9
  249. package/build/preact/importer/components/Table/types/index.d.ts +0 -42
  250. package/build/preact/importer/components/ToggleFilter/index.d.ts +0 -3
  251. package/build/preact/importer/components/ToggleFilter/types/index.d.ts +0 -11
  252. package/build/preact/importer/components/Tooltip/index.d.ts +0 -2
  253. package/build/preact/importer/components/Tooltip/types/index.d.ts +0 -11
  254. package/build/preact/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  255. package/build/preact/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  256. package/build/preact/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  257. package/build/preact/importer/components/VirtualTable/index.d.ts +0 -17
  258. package/build/preact/importer/components/ui/alert.d.ts +0 -13
  259. package/build/preact/importer/components/ui/button.d.ts +0 -12
  260. package/build/preact/importer/components/ui/card.d.ts +0 -19
  261. package/build/preact/importer/components/ui/checkbox.d.ts +0 -7
  262. package/build/preact/importer/components/ui/dialog.d.ts +0 -38
  263. package/build/preact/importer/components/ui/flex.d.ts +0 -23
  264. package/build/preact/importer/components/ui/input.d.ts +0 -6
  265. package/build/preact/importer/components/ui/select.d.ts +0 -13
  266. package/build/preact/importer/components/ui/switch.d.ts +0 -7
  267. package/build/preact/importer/components/ui/toast.d.ts +0 -22
  268. package/build/preact/importer/components/ui/toaster.d.ts +0 -1
  269. package/build/preact/importer/components/ui/tooltip.d.ts +0 -24
  270. package/build/preact/importer/components/ui/use-toast.d.ts +0 -46
  271. package/build/preact/importer/features/complete/index.d.ts +0 -2
  272. package/build/preact/importer/features/complete/types/index.d.ts +0 -5
  273. package/build/preact/importer/features/configure-import/index.d.ts +0 -13
  274. package/build/preact/importer/features/configure-import/types/index.d.ts +0 -13
  275. package/build/preact/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  276. package/build/preact/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  277. package/build/preact/importer/features/main/index.d.ts +0 -2
  278. package/build/preact/importer/features/main/types/index.d.ts +0 -16
  279. package/build/preact/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  280. package/build/preact/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  281. package/build/preact/importer/features/map-columns/index.d.ts +0 -2
  282. package/build/preact/importer/features/map-columns/types/index.d.ts +0 -16
  283. package/build/preact/importer/features/row-selection/index.d.ts +0 -2
  284. package/build/preact/importer/features/row-selection/types/index.d.ts +0 -8
  285. package/build/preact/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  286. package/build/preact/importer/features/uploader/index.d.ts +0 -2
  287. package/build/preact/importer/features/uploader/types/index.d.ts +0 -9
  288. package/build/preact/importer/features/validation/Validation.d.ts +0 -2
  289. package/build/preact/importer/features/validation/components/TransformModal.d.ts +0 -18
  290. package/build/preact/importer/features/validation/components/TransformPanel.d.ts +0 -18
  291. package/build/preact/importer/features/validation/index.d.ts +0 -1
  292. package/build/preact/importer/features/validation/types.d.ts +0 -32
  293. package/build/preact/importer/hooks/useClickOutside.d.ts +0 -1
  294. package/build/preact/importer/hooks/useCustomStyles.d.ts +0 -1
  295. package/build/preact/importer/hooks/useEventListener.d.ts +0 -4
  296. package/build/preact/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  297. package/build/preact/importer/hooks/useRect.d.ts +0 -12
  298. package/build/preact/importer/hooks/useWindowSize.d.ts +0 -1
  299. package/build/preact/importer/providers/Theme.d.ts +0 -10
  300. package/build/preact/importer/providers/index.d.ts +0 -5
  301. package/build/preact/importer/providers/types/index.d.ts +0 -10
  302. package/build/preact/importer/services/api.d.ts +0 -1
  303. package/build/preact/importer/services/mapping.d.ts +0 -31
  304. package/build/preact/importer/services/transformation.d.ts +0 -70
  305. package/build/preact/importer/settings/theme/colors.d.ts +0 -4
  306. package/build/preact/importer/settings/theme/index.d.ts +0 -2
  307. package/build/preact/importer/settings/theme/sizes.d.ts +0 -7
  308. package/build/preact/importer/stores/theme.d.ts +0 -17
  309. package/build/preact/importer/theme/index.d.ts +0 -8
  310. package/build/preact/importer/theme/presets.d.ts +0 -314
  311. package/build/preact/importer/theme/runtime.d.ts +0 -62
  312. package/build/preact/importer/theme/styles.d.ts +0 -120
  313. package/build/preact/importer/types/index.d.ts +0 -9
  314. package/build/preact/importer/utils/colorUtils.d.ts +0 -48
  315. package/build/preact/importer/utils/errorAnalysis.d.ts +0 -25
  316. package/build/preact/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  317. package/build/preact/importer/utils/stringSimilarity.d.ts +0 -1
  318. package/build/preact/importer/utils/template.d.ts +0 -2
  319. package/build/preact/importer/utils/themeUtils.d.ts +0 -21
  320. package/build/preact/importer/utils/utils.d.ts +0 -19
  321. package/build/preact/index.d.ts +0 -5
  322. package/build/preact/index.esm.js +0 -7541
  323. package/build/preact/index.esm.js.map +0 -1
  324. package/build/preact/index.js +0 -112
  325. package/build/preact/index.js.map +0 -1
  326. package/build/preact/js.d.ts +0 -12
  327. package/build/preact/settings/defaults.d.ts +0 -3
  328. package/build/preact/styles.d.ts +0 -1
  329. package/build/preact/types/index.d.ts +0 -132
  330. package/build/preact/types/theme.d.ts +0 -153
  331. package/build/preact/utils/cn.d.ts +0 -6
  332. package/build/preact/validation/transformationStages.d.ts +0 -26
  333. package/build/preact/validation/transformer.d.ts +0 -17
  334. package/build/preact/validation/validator.d.ts +0 -23
  335. package/build/services/api.d.ts +0 -50
  336. package/build/services/apiClient.d.ts +0 -55
  337. package/build/settings/defaults.d.ts +0 -3
  338. package/build/shims/react-compat-shim.d.ts +0 -2
  339. package/build/shims/react-hooks-shim.d.ts +0 -2
  340. package/build/styles.d.ts +0 -1
  341. package/build/types/index.d.ts +0 -132
  342. package/build/types/theme.d.ts +0 -153
  343. package/build/utils/cn.d.ts +0 -6
  344. package/build/validation/transformationStages.d.ts +0 -26
  345. package/build/validation/transformer.d.ts +0 -17
  346. package/build/validation/validator.d.ts +0 -23
@@ -1,62 +0,0 @@
1
- import { styles } from './styles';
2
- export interface SimpleTheme {
3
- colors?: {
4
- primary?: string;
5
- primaryHover?: string;
6
- background?: string;
7
- foreground?: string;
8
- border?: string;
9
- error?: string;
10
- success?: string;
11
- warning?: string;
12
- };
13
- typography?: {
14
- fontFamily?: string;
15
- fontSize?: {
16
- base?: string;
17
- small?: string;
18
- large?: string;
19
- };
20
- };
21
- spacing?: {
22
- compact?: boolean;
23
- scale?: number;
24
- };
25
- components?: {
26
- button?: {
27
- variant?: 'solid' | 'outline' | 'ghost';
28
- rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
29
- };
30
- table?: {
31
- striped?: boolean;
32
- bordered?: boolean;
33
- compact?: boolean;
34
- };
35
- modal?: {
36
- blur?: boolean;
37
- shadow?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
38
- };
39
- input?: {
40
- variant?: 'outline' | 'filled' | 'underline';
41
- rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
42
- };
43
- };
44
- }
45
- /**
46
- * Apply a theme to the importer
47
- * Can accept preset name, theme object, or partial overrides
48
- */
49
- export declare function applyTheme(container: HTMLElement, theme: string | SimpleTheme | typeof styles): void;
50
- /**
51
- * Get the current theme from a container
52
- */
53
- export declare function getCurrentTheme(container: HTMLElement): string | null;
54
- /**
55
- * Reset theme to default
56
- */
57
- export declare function resetTheme(container: HTMLElement): void;
58
- /**
59
- * Create a theme from a primary color
60
- * Generates a full theme based on a single color
61
- */
62
- export declare function createThemeFromColor(primaryColor: string): SimpleTheme;
@@ -1,120 +0,0 @@
1
- /**
2
- * Core styles for the CSV Importer
3
- * These styles ensure consistent appearance across all screens
4
- * Can be overridden via the theme prop
5
- */
6
- export declare const styles: {
7
- typography: {
8
- title: string;
9
- subtitle: string;
10
- label: string;
11
- body: string;
12
- caption: string;
13
- };
14
- spacing: {
15
- page: string;
16
- header: string;
17
- content: string;
18
- footer: string;
19
- section: string;
20
- };
21
- layout: {
22
- header: string;
23
- subHeader: string;
24
- content: string;
25
- footer: string;
26
- container: string;
27
- };
28
- colors: {
29
- borderDefault: string;
30
- bgPrimary: string;
31
- bgSecondary: string;
32
- bgHover: string;
33
- textPrimary: string;
34
- textSecondary: string;
35
- textMuted: string;
36
- };
37
- components: {
38
- card: string;
39
- input: string;
40
- table: string;
41
- tableHeader: string;
42
- tableRow: string;
43
- };
44
- buttons: {
45
- primary: string;
46
- secondary: string;
47
- outline: string;
48
- };
49
- };
50
- export declare const cssVariables: {
51
- '--csv-color-primary': string;
52
- '--csv-color-primary-hover': string;
53
- '--csv-color-primary-foreground': string;
54
- '--csv-color-secondary': string;
55
- '--csv-color-secondary-foreground': string;
56
- '--csv-color-background': string;
57
- '--csv-color-foreground': string;
58
- '--csv-color-border': string;
59
- '--csv-color-muted': string;
60
- '--csv-color-muted-foreground': string;
61
- '--csv-font-family': string;
62
- '--csv-font-size-xs': string;
63
- '--csv-font-size-sm': string;
64
- '--csv-font-size-base': string;
65
- '--csv-font-size-lg': string;
66
- '--csv-font-size-xl': string;
67
- '--csv-spacing-xs': string;
68
- '--csv-spacing-sm': string;
69
- '--csv-spacing-md': string;
70
- '--csv-spacing-lg': string;
71
- '--csv-spacing-xl': string;
72
- '--csv-radius-sm': string;
73
- '--csv-radius-md': string;
74
- '--csv-radius-lg': string;
75
- '--csv-radius-xl': string;
76
- };
77
- export declare const designTokens: {
78
- typography: {
79
- title: string;
80
- subtitle: string;
81
- label: string;
82
- body: string;
83
- caption: string;
84
- };
85
- spacing: {
86
- page: string;
87
- header: string;
88
- content: string;
89
- footer: string;
90
- section: string;
91
- };
92
- layout: {
93
- header: string;
94
- subHeader: string;
95
- content: string;
96
- footer: string;
97
- container: string;
98
- };
99
- colors: {
100
- borderDefault: string;
101
- bgPrimary: string;
102
- bgSecondary: string;
103
- bgHover: string;
104
- textPrimary: string;
105
- textSecondary: string;
106
- textMuted: string;
107
- };
108
- components: {
109
- card: string;
110
- input: string;
111
- table: string;
112
- tableHeader: string;
113
- tableRow: string;
114
- };
115
- buttons: {
116
- primary: string;
117
- secondary: string;
118
- outline: string;
119
- };
120
- };
@@ -1,9 +0,0 @@
1
- import { Column } from '../../types';
2
- export type Template = {
3
- columns: Column[];
4
- };
5
- export type UploadColumn = {
6
- index: number;
7
- name: string;
8
- sample_data: string[];
9
- };
@@ -1,48 +0,0 @@
1
- /**
2
- * Color utility functions for theme customization
3
- */
4
- /**
5
- * Validate hex color format
6
- */
7
- export declare function isValidColor(color: string): boolean;
8
- /**
9
- * Convert hex color to RGB
10
- */
11
- export declare function hexToRgb(hex: string): {
12
- r: number;
13
- g: number;
14
- b: number;
15
- } | null;
16
- /**
17
- * Convert RGB to hex color
18
- */
19
- export declare function rgbToHex(r: number, g: number, b: number): string;
20
- /**
21
- * Lighten a color by a percentage
22
- */
23
- export declare function lightenColor(hex: string, percent: number): string;
24
- /**
25
- * Darken a color by a percentage
26
- */
27
- export declare function darkenColor(hex: string, percent: number): string;
28
- /**
29
- * Generate color palette from a base color
30
- */
31
- export declare function generateColorPalette(baseColor: string): {
32
- 50: string;
33
- 100: string;
34
- 200: string;
35
- 300: string;
36
- 400: string;
37
- 500: string;
38
- 600: string;
39
- 700: string;
40
- 800: string;
41
- 900: string;
42
- };
43
- /**
44
- * Apply color palette to CSS variables
45
- * @param primaryColor - The primary color to generate palette from
46
- * @param targetElement - The element to apply styles to (defaults to a scoped container, not document root)
47
- */
48
- export declare function applyColorPalette(primaryColor: string, targetElement?: HTMLElement): void;
@@ -1,25 +0,0 @@
1
- export interface ValidationError {
2
- rowIndex: number;
3
- columnKey: string;
4
- message: string;
5
- value?: any;
6
- }
7
- export interface ErrorGroup {
8
- type: string;
9
- title: string;
10
- description: string;
11
- count: number;
12
- columns: string[];
13
- errors: ValidationError[];
14
- example?: {
15
- before: string;
16
- after: string;
17
- };
18
- selected: boolean;
19
- }
20
- export declare function analyzeValidationErrors(errors: ValidationError[]): ErrorGroup[];
21
- export declare function getErrorSummary(groups: ErrorGroup[]): string;
22
- export declare function getSelectedErrors(groups: ErrorGroup[]): ValidationError[];
23
- export declare function toggleErrorGroup(groups: ErrorGroup[], type: string): ErrorGroup[];
24
- export declare function setAllErrorGroups(groups: ErrorGroup[], selected: boolean): ErrorGroup[];
25
- export declare function countSelectedErrors(groups: ErrorGroup[]): number;
@@ -1,2 +0,0 @@
1
- import { ComponentChildren } from 'preact';
2
- export default function getStringLengthOfChildren(children: ComponentChildren): number;
@@ -1 +0,0 @@
1
- export default function stringsSimilarity(s1: string, s2: string): number;
@@ -1,2 +0,0 @@
1
- import { Template } from '../types';
2
- export declare function convertRawTemplate(rawTemplate?: Record<string, unknown> | string): [Template | null, string | null];
@@ -1,21 +0,0 @@
1
- import { ThemeConfig } from '../../types/theme';
2
- /**
3
- * Deep merge two theme configurations
4
- */
5
- export declare function mergeThemes(base: ThemeConfig, override: ThemeConfig): ThemeConfig;
6
- /**
7
- * Generate CSS variables from theme configuration
8
- */
9
- export declare function generateThemeVariables(theme: ThemeConfig): Record<string, string>;
10
- /**
11
- * Apply CSS variables to an HTML element
12
- */
13
- export declare function applyThemeToElement(element: HTMLElement, variables: Record<string, string>): void;
14
- /**
15
- * Get computed theme value with fallback
16
- */
17
- export declare function getThemeValue(element: HTMLElement, variable: string, fallback?: string): string;
18
- /**
19
- * Create a theme from partial configuration
20
- */
21
- export declare function createTheme(partial: Partial<ThemeConfig>): ThemeConfig;
@@ -1,19 +0,0 @@
1
- /**
2
- * Parse JSON input that can be either an object or a string
3
- * @param param - The parameter to parse (object or JSON string)
4
- * @param options - Options for parsing
5
- * @returns Parsed object or stringified JSON based on options
6
- */
7
- export declare function parseJSON<T extends 'object' | 'string' = 'object'>(param?: Record<string, unknown> | string, options?: {
8
- returnType?: T;
9
- escapePercent?: boolean;
10
- }): T extends 'string' ? string : Record<string, unknown>;
11
- export declare const parseObjectOrStringJSON: (name: string, param?: Record<string, unknown> | string) => string;
12
- export declare const parseObjectOrStringJSONToRecord: (name: string, param?: Record<string, unknown> | string) => Record<string, unknown>;
13
- export declare const validateJSON: (str: string, paramName: string) => string;
14
- export declare const sanitizeKey: (input: string) => string;
15
- export declare const parseOptionalBoolean: (val?: boolean) => "true" | "false" | "";
16
- export declare const strToBoolean: (str: string) => boolean;
17
- export declare const strToOptionalBoolean: (str: string) => boolean | undefined;
18
- export declare const strToDefaultBoolean: (str: string, defaultValue: boolean) => boolean;
19
- export { isValidColor, darkenColor } from './colorUtils';
@@ -1,4 +0,0 @@
1
- import { default as CSVImporter } from './components/CSVImporter';
2
- export { CSVImporter };
3
- export { importcsvStyles } from './styles';
4
- export type { Column, Validator, Transformer } from './types';