@importcsv/react 0.2.7 → 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 (332) hide show
  1. package/build/react/index.esm.js +388 -386
  2. package/build/react/index.esm.js.map +1 -1
  3. package/build/react/index.js +23 -23
  4. package/build/react/index.js.map +1 -1
  5. package/package.json +4 -2
  6. package/build/App.d.ts +0 -2
  7. package/build/bundled/bundled-styles.d.ts +0 -1
  8. package/build/bundled/components/CSVImporter/index.d.ts +0 -5
  9. package/build/bundled/i18n/de.d.ts +0 -32
  10. package/build/bundled/i18n/es.d.ts +0 -32
  11. package/build/bundled/i18n/fr.d.ts +0 -32
  12. package/build/bundled/i18n/i18n.d.ts +0 -6
  13. package/build/bundled/i18n/it.d.ts +0 -32
  14. package/build/bundled/i18n/useTranslation.d.ts +0 -9
  15. package/build/bundled/importer/components/Box/index.d.ts +0 -2
  16. package/build/bundled/importer/components/Box/types/index.d.ts +0 -5
  17. package/build/bundled/importer/components/Checkbox/index.d.ts +0 -2
  18. package/build/bundled/importer/components/Checkbox/types/index.d.ts +0 -4
  19. package/build/bundled/importer/components/Errors/index.d.ts +0 -4
  20. package/build/bundled/importer/components/Input/index.d.ts +0 -2
  21. package/build/bundled/importer/components/Input/types/index.d.ts +0 -18
  22. package/build/bundled/importer/components/Root/index.d.ts +0 -10
  23. package/build/bundled/importer/components/StepLayout/index.d.ts +0 -18
  24. package/build/bundled/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  25. package/build/bundled/importer/components/Stepper/index.d.ts +0 -2
  26. package/build/bundled/importer/components/Stepper/types/index.d.ts +0 -14
  27. package/build/bundled/importer/components/Table/index.d.ts +0 -9
  28. package/build/bundled/importer/components/ToggleFilter/index.d.ts +0 -3
  29. package/build/bundled/importer/components/ToggleFilter/types/index.d.ts +0 -11
  30. package/build/bundled/importer/components/Tooltip/index.d.ts +0 -2
  31. package/build/bundled/importer/components/Tooltip/types/index.d.ts +0 -11
  32. package/build/bundled/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  33. package/build/bundled/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  34. package/build/bundled/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  35. package/build/bundled/importer/components/VirtualTable/index.d.ts +0 -17
  36. package/build/bundled/importer/components/ui/alert.d.ts +0 -10
  37. package/build/bundled/importer/components/ui/button.d.ts +0 -12
  38. package/build/bundled/importer/components/ui/card.d.ts +0 -19
  39. package/build/bundled/importer/components/ui/checkbox.d.ts +0 -7
  40. package/build/bundled/importer/components/ui/dialog.d.ts +0 -38
  41. package/build/bundled/importer/components/ui/flex.d.ts +0 -23
  42. package/build/bundled/importer/components/ui/input.d.ts +0 -6
  43. package/build/bundled/importer/components/ui/select.d.ts +0 -13
  44. package/build/bundled/importer/components/ui/switch.d.ts +0 -7
  45. package/build/bundled/importer/components/ui/toast.d.ts +0 -22
  46. package/build/bundled/importer/components/ui/toaster.d.ts +0 -1
  47. package/build/bundled/importer/components/ui/tooltip.d.ts +0 -20
  48. package/build/bundled/importer/components/ui/use-toast.d.ts +0 -46
  49. package/build/bundled/importer/features/complete/index.d.ts +0 -2
  50. package/build/bundled/importer/features/complete/types/index.d.ts +0 -5
  51. package/build/bundled/importer/features/configure-import/index.d.ts +0 -13
  52. package/build/bundled/importer/features/configure-import/types/index.d.ts +0 -13
  53. package/build/bundled/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  54. package/build/bundled/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  55. package/build/bundled/importer/features/main/index.d.ts +0 -2
  56. package/build/bundled/importer/features/main/types/index.d.ts +0 -16
  57. package/build/bundled/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  58. package/build/bundled/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  59. package/build/bundled/importer/features/map-columns/index.d.ts +0 -2
  60. package/build/bundled/importer/features/map-columns/types/index.d.ts +0 -16
  61. package/build/bundled/importer/features/row-selection/index.d.ts +0 -2
  62. package/build/bundled/importer/features/row-selection/types/index.d.ts +0 -8
  63. package/build/bundled/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  64. package/build/bundled/importer/features/uploader/index.d.ts +0 -2
  65. package/build/bundled/importer/features/uploader/types/index.d.ts +0 -9
  66. package/build/bundled/importer/features/validation/Validation.d.ts +0 -2
  67. package/build/bundled/importer/features/validation/components/TransformModal.d.ts +0 -18
  68. package/build/bundled/importer/features/validation/components/TransformPanel.d.ts +0 -18
  69. package/build/bundled/importer/features/validation/index.d.ts +0 -1
  70. package/build/bundled/importer/features/validation/types.d.ts +0 -32
  71. package/build/bundled/importer/hooks/useClickOutside.d.ts +0 -1
  72. package/build/bundled/importer/hooks/useCustomStyles.d.ts +0 -1
  73. package/build/bundled/importer/hooks/useEventListener.d.ts +0 -4
  74. package/build/bundled/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  75. package/build/bundled/importer/hooks/useRect.d.ts +0 -12
  76. package/build/bundled/importer/hooks/useWindowSize.d.ts +0 -1
  77. package/build/bundled/importer/providers/Theme.d.ts +0 -10
  78. package/build/bundled/importer/providers/index.d.ts +0 -5
  79. package/build/bundled/importer/providers/types/index.d.ts +0 -10
  80. package/build/bundled/importer/services/api.d.ts +0 -1
  81. package/build/bundled/importer/services/mapping.d.ts +0 -31
  82. package/build/bundled/importer/services/transformation.d.ts +0 -70
  83. package/build/bundled/importer/settings/theme/colors.d.ts +0 -4
  84. package/build/bundled/importer/settings/theme/index.d.ts +0 -2
  85. package/build/bundled/importer/settings/theme/sizes.d.ts +0 -7
  86. package/build/bundled/importer/stores/theme.d.ts +0 -17
  87. package/build/bundled/importer/theme/index.d.ts +0 -8
  88. package/build/bundled/importer/theme/presets.d.ts +0 -314
  89. package/build/bundled/importer/theme/runtime.d.ts +0 -62
  90. package/build/bundled/importer/theme/styles.d.ts +0 -120
  91. package/build/bundled/importer/types/index.d.ts +0 -9
  92. package/build/bundled/importer/utils/colorUtils.d.ts +0 -48
  93. package/build/bundled/importer/utils/errorAnalysis.d.ts +0 -25
  94. package/build/bundled/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  95. package/build/bundled/importer/utils/stringSimilarity.d.ts +0 -1
  96. package/build/bundled/importer/utils/template.d.ts +0 -2
  97. package/build/bundled/importer/utils/themeUtils.d.ts +0 -21
  98. package/build/bundled/importer/utils/utils.d.ts +0 -19
  99. package/build/bundled/index.d.ts +0 -4
  100. package/build/bundled/index.esm.js +0 -8189
  101. package/build/bundled/index.esm.js.map +0 -1
  102. package/build/bundled/index.js +0 -112
  103. package/build/bundled/index.js.map +0 -1
  104. package/build/bundled/index.umd.js +0 -112
  105. package/build/bundled/index.umd.js.map +0 -1
  106. package/build/bundled/js.d.ts +0 -12
  107. package/build/bundled/settings/defaults.d.ts +0 -3
  108. package/build/bundled/styles.d.ts +0 -1
  109. package/build/bundled/types/index.d.ts +0 -132
  110. package/build/bundled/types/theme.d.ts +0 -153
  111. package/build/bundled/utils/cn.d.ts +0 -6
  112. package/build/bundled/utils/injectStyles.d.ts +0 -14
  113. package/build/bundled/validation/transformationStages.d.ts +0 -26
  114. package/build/bundled/validation/transformer.d.ts +0 -17
  115. package/build/bundled/validation/validator.d.ts +0 -23
  116. package/build/bundled-styles.d.ts +0 -1
  117. package/build/components/CSVImporter/index.d.ts +0 -9
  118. package/build/components/Modal/index.d.ts +0 -12
  119. package/build/config/index.d.ts +0 -5
  120. package/build/i18n/de.d.ts +0 -32
  121. package/build/i18n/es.d.ts +0 -32
  122. package/build/i18n/fr.d.ts +0 -32
  123. package/build/i18n/i18n.d.ts +0 -6
  124. package/build/i18n/it.d.ts +0 -32
  125. package/build/i18n/useTranslation.d.ts +0 -9
  126. package/build/importer/components/Box/index.d.ts +0 -2
  127. package/build/importer/components/Box/types/index.d.ts +0 -5
  128. package/build/importer/components/Checkbox/index.d.ts +0 -2
  129. package/build/importer/components/Checkbox/types/index.d.ts +0 -4
  130. package/build/importer/components/Errors/index.d.ts +0 -4
  131. package/build/importer/components/Input/index.d.ts +0 -2
  132. package/build/importer/components/Input/types/index.d.ts +0 -18
  133. package/build/importer/components/Root/index.d.ts +0 -10
  134. package/build/importer/components/StepLayout/index.d.ts +0 -18
  135. package/build/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  136. package/build/importer/components/Stepper/index.d.ts +0 -2
  137. package/build/importer/components/Stepper/types/index.d.ts +0 -14
  138. package/build/importer/components/Table/index.d.ts +0 -9
  139. package/build/importer/components/ToggleFilter/index.d.ts +0 -3
  140. package/build/importer/components/ToggleFilter/types/index.d.ts +0 -11
  141. package/build/importer/components/Tooltip/index.d.ts +0 -2
  142. package/build/importer/components/Tooltip/types/index.d.ts +0 -11
  143. package/build/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  144. package/build/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  145. package/build/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  146. package/build/importer/components/VirtualTable/index.d.ts +0 -17
  147. package/build/importer/components/ui/alert.d.ts +0 -10
  148. package/build/importer/components/ui/button.d.ts +0 -12
  149. package/build/importer/components/ui/card.d.ts +0 -19
  150. package/build/importer/components/ui/checkbox.d.ts +0 -7
  151. package/build/importer/components/ui/dialog.d.ts +0 -39
  152. package/build/importer/components/ui/flex.d.ts +0 -23
  153. package/build/importer/components/ui/input.d.ts +0 -6
  154. package/build/importer/components/ui/select.d.ts +0 -13
  155. package/build/importer/components/ui/switch.d.ts +0 -7
  156. package/build/importer/components/ui/toast.d.ts +0 -23
  157. package/build/importer/components/ui/toaster.d.ts +0 -1
  158. package/build/importer/components/ui/tooltip.d.ts +0 -20
  159. package/build/importer/components/ui/use-toast.d.ts +0 -46
  160. package/build/importer/features/complete/index.d.ts +0 -2
  161. package/build/importer/features/complete/types/index.d.ts +0 -5
  162. package/build/importer/features/configure-import/index.d.ts +0 -13
  163. package/build/importer/features/configure-import/types/index.d.ts +0 -13
  164. package/build/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  165. package/build/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  166. package/build/importer/features/main/index.d.ts +0 -2
  167. package/build/importer/features/main/types/index.d.ts +0 -16
  168. package/build/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  169. package/build/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  170. package/build/importer/features/map-columns/index.d.ts +0 -2
  171. package/build/importer/features/map-columns/types/index.d.ts +0 -16
  172. package/build/importer/features/row-selection/index.d.ts +0 -2
  173. package/build/importer/features/row-selection/types/index.d.ts +0 -8
  174. package/build/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  175. package/build/importer/features/uploader/index.d.ts +0 -2
  176. package/build/importer/features/uploader/types/index.d.ts +0 -9
  177. package/build/importer/features/validation/Validation.d.ts +0 -2
  178. package/build/importer/features/validation/components/TransformModal.d.ts +0 -18
  179. package/build/importer/features/validation/components/TransformPanel.d.ts +0 -18
  180. package/build/importer/features/validation/index.d.ts +0 -1
  181. package/build/importer/features/validation/types.d.ts +0 -32
  182. package/build/importer/hooks/useClickOutside.d.ts +0 -1
  183. package/build/importer/hooks/useCustomStyles.d.ts +0 -1
  184. package/build/importer/hooks/useEventListener.d.ts +0 -4
  185. package/build/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  186. package/build/importer/hooks/useRect.d.ts +0 -12
  187. package/build/importer/hooks/useWindowSize.d.ts +0 -1
  188. package/build/importer/providers/Theme.d.ts +0 -10
  189. package/build/importer/providers/index.d.ts +0 -5
  190. package/build/importer/providers/types/index.d.ts +0 -10
  191. package/build/importer/services/api.d.ts +0 -1
  192. package/build/importer/services/mapping.d.ts +0 -31
  193. package/build/importer/services/transformation.d.ts +0 -70
  194. package/build/importer/settings/theme/colors.d.ts +0 -4
  195. package/build/importer/settings/theme/index.d.ts +0 -2
  196. package/build/importer/settings/theme/sizes.d.ts +0 -7
  197. package/build/importer/stores/theme.d.ts +0 -17
  198. package/build/importer/theme/index.d.ts +0 -8
  199. package/build/importer/theme/presets.d.ts +0 -314
  200. package/build/importer/theme/runtime.d.ts +0 -66
  201. package/build/importer/theme/styles.d.ts +0 -120
  202. package/build/importer/types/index.d.ts +0 -9
  203. package/build/importer/utils/colorUtils.d.ts +0 -48
  204. package/build/importer/utils/errorAnalysis.d.ts +0 -25
  205. package/build/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  206. package/build/importer/utils/stringSimilarity.d.ts +0 -1
  207. package/build/importer/utils/template.d.ts +0 -2
  208. package/build/importer/utils/themeUtils.d.ts +0 -24
  209. package/build/importer/utils/utils.d.ts +0 -19
  210. package/build/index.d.ts +0 -6
  211. package/build/index.dev.d.ts +0 -1
  212. package/build/js.d.ts +0 -12
  213. package/build/preact/bundled-styles.d.ts +0 -1
  214. package/build/preact/components/CSVImporter/index.d.ts +0 -5
  215. package/build/preact/components/Modal/index.d.ts +0 -12
  216. package/build/preact/i18n/de.d.ts +0 -32
  217. package/build/preact/i18n/es.d.ts +0 -32
  218. package/build/preact/i18n/fr.d.ts +0 -32
  219. package/build/preact/i18n/i18n.d.ts +0 -6
  220. package/build/preact/i18n/it.d.ts +0 -32
  221. package/build/preact/i18n/useTranslation.d.ts +0 -9
  222. package/build/preact/importer/components/Box/index.d.ts +0 -2
  223. package/build/preact/importer/components/Box/types/index.d.ts +0 -5
  224. package/build/preact/importer/components/Checkbox/index.d.ts +0 -2
  225. package/build/preact/importer/components/Checkbox/types/index.d.ts +0 -4
  226. package/build/preact/importer/components/Errors/index.d.ts +0 -4
  227. package/build/preact/importer/components/Input/index.d.ts +0 -2
  228. package/build/preact/importer/components/Input/types/index.d.ts +0 -18
  229. package/build/preact/importer/components/Root/index.d.ts +0 -10
  230. package/build/preact/importer/components/StepLayout/index.d.ts +0 -18
  231. package/build/preact/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
  232. package/build/preact/importer/components/Stepper/index.d.ts +0 -2
  233. package/build/preact/importer/components/Stepper/types/index.d.ts +0 -14
  234. package/build/preact/importer/components/Table/index.d.ts +0 -9
  235. package/build/preact/importer/components/Table/types/index.d.ts +0 -42
  236. package/build/preact/importer/components/ToggleFilter/index.d.ts +0 -3
  237. package/build/preact/importer/components/ToggleFilter/types/index.d.ts +0 -11
  238. package/build/preact/importer/components/Tooltip/index.d.ts +0 -2
  239. package/build/preact/importer/components/Tooltip/types/index.d.ts +0 -11
  240. package/build/preact/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
  241. package/build/preact/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
  242. package/build/preact/importer/components/UploaderWrapper/types/index.d.ts +0 -2
  243. package/build/preact/importer/components/VirtualTable/index.d.ts +0 -17
  244. package/build/preact/importer/components/ui/alert.d.ts +0 -13
  245. package/build/preact/importer/components/ui/button.d.ts +0 -12
  246. package/build/preact/importer/components/ui/card.d.ts +0 -19
  247. package/build/preact/importer/components/ui/checkbox.d.ts +0 -7
  248. package/build/preact/importer/components/ui/dialog.d.ts +0 -38
  249. package/build/preact/importer/components/ui/flex.d.ts +0 -23
  250. package/build/preact/importer/components/ui/input.d.ts +0 -6
  251. package/build/preact/importer/components/ui/select.d.ts +0 -13
  252. package/build/preact/importer/components/ui/switch.d.ts +0 -7
  253. package/build/preact/importer/components/ui/toast.d.ts +0 -22
  254. package/build/preact/importer/components/ui/toaster.d.ts +0 -1
  255. package/build/preact/importer/components/ui/tooltip.d.ts +0 -24
  256. package/build/preact/importer/components/ui/use-toast.d.ts +0 -46
  257. package/build/preact/importer/features/complete/index.d.ts +0 -2
  258. package/build/preact/importer/features/complete/types/index.d.ts +0 -5
  259. package/build/preact/importer/features/configure-import/index.d.ts +0 -13
  260. package/build/preact/importer/features/configure-import/types/index.d.ts +0 -13
  261. package/build/preact/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
  262. package/build/preact/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
  263. package/build/preact/importer/features/main/index.d.ts +0 -2
  264. package/build/preact/importer/features/main/types/index.d.ts +0 -16
  265. package/build/preact/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
  266. package/build/preact/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
  267. package/build/preact/importer/features/map-columns/index.d.ts +0 -2
  268. package/build/preact/importer/features/map-columns/types/index.d.ts +0 -16
  269. package/build/preact/importer/features/row-selection/index.d.ts +0 -2
  270. package/build/preact/importer/features/row-selection/types/index.d.ts +0 -8
  271. package/build/preact/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
  272. package/build/preact/importer/features/uploader/index.d.ts +0 -2
  273. package/build/preact/importer/features/uploader/types/index.d.ts +0 -9
  274. package/build/preact/importer/features/validation/Validation.d.ts +0 -2
  275. package/build/preact/importer/features/validation/components/TransformModal.d.ts +0 -18
  276. package/build/preact/importer/features/validation/components/TransformPanel.d.ts +0 -18
  277. package/build/preact/importer/features/validation/index.d.ts +0 -1
  278. package/build/preact/importer/features/validation/types.d.ts +0 -32
  279. package/build/preact/importer/hooks/useClickOutside.d.ts +0 -1
  280. package/build/preact/importer/hooks/useCustomStyles.d.ts +0 -1
  281. package/build/preact/importer/hooks/useEventListener.d.ts +0 -4
  282. package/build/preact/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  283. package/build/preact/importer/hooks/useRect.d.ts +0 -12
  284. package/build/preact/importer/hooks/useWindowSize.d.ts +0 -1
  285. package/build/preact/importer/providers/Theme.d.ts +0 -10
  286. package/build/preact/importer/providers/index.d.ts +0 -5
  287. package/build/preact/importer/providers/types/index.d.ts +0 -10
  288. package/build/preact/importer/services/api.d.ts +0 -1
  289. package/build/preact/importer/services/mapping.d.ts +0 -31
  290. package/build/preact/importer/services/transformation.d.ts +0 -70
  291. package/build/preact/importer/settings/theme/colors.d.ts +0 -4
  292. package/build/preact/importer/settings/theme/index.d.ts +0 -2
  293. package/build/preact/importer/settings/theme/sizes.d.ts +0 -7
  294. package/build/preact/importer/stores/theme.d.ts +0 -17
  295. package/build/preact/importer/theme/index.d.ts +0 -8
  296. package/build/preact/importer/theme/presets.d.ts +0 -314
  297. package/build/preact/importer/theme/runtime.d.ts +0 -62
  298. package/build/preact/importer/theme/styles.d.ts +0 -120
  299. package/build/preact/importer/types/index.d.ts +0 -9
  300. package/build/preact/importer/utils/colorUtils.d.ts +0 -48
  301. package/build/preact/importer/utils/errorAnalysis.d.ts +0 -25
  302. package/build/preact/importer/utils/getStringLengthOfChildren.d.ts +0 -2
  303. package/build/preact/importer/utils/stringSimilarity.d.ts +0 -1
  304. package/build/preact/importer/utils/template.d.ts +0 -2
  305. package/build/preact/importer/utils/themeUtils.d.ts +0 -21
  306. package/build/preact/importer/utils/utils.d.ts +0 -19
  307. package/build/preact/index.d.ts +0 -5
  308. package/build/preact/index.esm.js +0 -7541
  309. package/build/preact/index.esm.js.map +0 -1
  310. package/build/preact/index.js +0 -112
  311. package/build/preact/index.js.map +0 -1
  312. package/build/preact/js.d.ts +0 -12
  313. package/build/preact/settings/defaults.d.ts +0 -3
  314. package/build/preact/styles.d.ts +0 -1
  315. package/build/preact/types/index.d.ts +0 -132
  316. package/build/preact/types/theme.d.ts +0 -153
  317. package/build/preact/utils/cn.d.ts +0 -6
  318. package/build/preact/validation/transformationStages.d.ts +0 -26
  319. package/build/preact/validation/transformer.d.ts +0 -17
  320. package/build/preact/validation/validator.d.ts +0 -23
  321. package/build/services/api.d.ts +0 -50
  322. package/build/services/apiClient.d.ts +0 -55
  323. package/build/settings/defaults.d.ts +0 -3
  324. package/build/shims/react-compat-shim.d.ts +0 -2
  325. package/build/shims/react-hooks-shim.d.ts +0 -2
  326. package/build/styles.d.ts +0 -1
  327. package/build/types/index.d.ts +0 -132
  328. package/build/types/theme.d.ts +0 -153
  329. package/build/utils/cn.d.ts +0 -6
  330. package/build/validation/transformationStages.d.ts +0 -26
  331. package/build/validation/transformer.d.ts +0 -17
  332. package/build/validation/validator.d.ts +0 -23
@@ -1,153 +0,0 @@
1
- /**
2
- * Theme configuration types for CSV Importer
3
- */
4
- export interface ThemeConfig {
5
- colors?: {
6
- primary?: string;
7
- primaryHover?: string;
8
- primaryForeground?: string;
9
- secondary?: string;
10
- secondaryHover?: string;
11
- secondaryForeground?: string;
12
- background?: string;
13
- foreground?: string;
14
- card?: string;
15
- cardForeground?: string;
16
- border?: string;
17
- input?: string;
18
- ring?: string;
19
- muted?: string;
20
- mutedForeground?: string;
21
- accent?: string;
22
- accentForeground?: string;
23
- destructive?: string;
24
- destructiveForeground?: string;
25
- success?: string;
26
- successForeground?: string;
27
- warning?: string;
28
- warningForeground?: string;
29
- info?: string;
30
- infoForeground?: string;
31
- };
32
- typography?: {
33
- fontFamily?: string;
34
- fontFamilyMono?: string;
35
- fontSize?: {
36
- xs?: string;
37
- sm?: string;
38
- base?: string;
39
- lg?: string;
40
- xl?: string;
41
- '2xl'?: string;
42
- '3xl'?: string;
43
- };
44
- fontWeight?: {
45
- light?: number;
46
- normal?: number;
47
- medium?: number;
48
- semibold?: number;
49
- bold?: number;
50
- };
51
- lineHeight?: {
52
- tight?: string;
53
- normal?: string;
54
- relaxed?: string;
55
- };
56
- };
57
- spacing?: {
58
- xs?: string;
59
- sm?: string;
60
- md?: string;
61
- lg?: string;
62
- xl?: string;
63
- '2xl'?: string;
64
- '3xl'?: string;
65
- };
66
- borders?: {
67
- radius?: {
68
- none?: string;
69
- sm?: string;
70
- md?: string;
71
- lg?: string;
72
- xl?: string;
73
- full?: string;
74
- };
75
- width?: {
76
- none?: string;
77
- thin?: string;
78
- medium?: string;
79
- thick?: string;
80
- };
81
- };
82
- components?: {
83
- button?: {
84
- padding?: string;
85
- fontSize?: string;
86
- fontWeight?: string;
87
- borderRadius?: string;
88
- height?: string;
89
- minWidth?: string;
90
- };
91
- input?: {
92
- padding?: string;
93
- fontSize?: string;
94
- borderRadius?: string;
95
- borderWidth?: string;
96
- height?: string;
97
- background?: string;
98
- };
99
- modal?: {
100
- width?: string;
101
- maxWidth?: string;
102
- maxHeight?: string;
103
- padding?: string;
104
- borderRadius?: string;
105
- backdropOpacity?: string;
106
- };
107
- table?: {
108
- headerBackground?: string;
109
- headerForeground?: string;
110
- rowHoverBackground?: string;
111
- borderColor?: string;
112
- cellPadding?: string;
113
- };
114
- stepper?: {
115
- activeColor?: string;
116
- inactiveColor?: string;
117
- completedColor?: string;
118
- lineColor?: string;
119
- dotSize?: string;
120
- };
121
- dropzone?: {
122
- borderStyle?: string;
123
- borderColor?: string;
124
- borderColorHover?: string;
125
- backgroundColor?: string;
126
- backgroundColorHover?: string;
127
- padding?: string;
128
- borderRadius?: string;
129
- };
130
- };
131
- shadows?: {
132
- sm?: string;
133
- md?: string;
134
- lg?: string;
135
- xl?: string;
136
- };
137
- animations?: {
138
- duration?: {
139
- fast?: string;
140
- normal?: string;
141
- slow?: string;
142
- };
143
- easing?: string;
144
- };
145
- }
146
- export declare const defaultTheme: ThemeConfig;
147
- export declare const presetThemes: {
148
- default: ThemeConfig;
149
- minimal: ThemeConfig;
150
- modern: ThemeConfig;
151
- compact: ThemeConfig;
152
- dark: ThemeConfig;
153
- };
@@ -1,6 +0,0 @@
1
- import { type ClassValue } from 'clsx';
2
- /**
3
- * Utility function to merge Tailwind CSS classes with proper precedence
4
- * Combines clsx for conditional classes and tailwind-merge for deduplication
5
- */
6
- export declare function cn(...inputs: ClassValue[]): string;
@@ -1,26 +0,0 @@
1
- /**
2
- * Transformation stage definitions for smart auto-detection
3
- *
4
- * Pre-validation transformations clean and normalize data before validation rules are applied.
5
- * Post-validation transformations enrich and format data after validation passes.
6
- */
7
- /**
8
- * Transformations that should run BEFORE validation
9
- * These typically clean or normalize input to prepare it for validation
10
- */
11
- export declare const PRE_VALIDATION_TRANSFORMS: readonly ["trim", "uppercase", "lowercase", "remove_special_chars", "normalize_phone", "normalize_date"];
12
- /**
13
- * Transformations that should run AFTER validation
14
- * These typically format, enrich, or provide defaults for valid data
15
- */
16
- export declare const POST_VALIDATION_TRANSFORMS: readonly ["default", "capitalize", "replace", "custom"];
17
- export type PreValidationTransform = typeof PRE_VALIDATION_TRANSFORMS[number];
18
- export type PostValidationTransform = typeof POST_VALIDATION_TRANSFORMS[number];
19
- /**
20
- * Check if a transformation type should run before validation
21
- */
22
- export declare function isPreValidationTransform(type: string): boolean;
23
- /**
24
- * Check if a transformation type should run after validation
25
- */
26
- export declare function isPostValidationTransform(type: string): boolean;
@@ -1,17 +0,0 @@
1
- import { Transformer } from '../types';
2
- /**
3
- * Apply transformations to a value
4
- * @param value The value to transform
5
- * @param transformations Array of transformations to apply
6
- * @returns Transformed value
7
- */
8
- export declare function applyTransformations(value: any, transformations?: Transformer[]): any;
9
- /**
10
- * Categorize transformations into pre-validation and post-validation stages
11
- * @param transformations Array of transformations to categorize
12
- * @returns Object with pre and post transformation arrays
13
- */
14
- export declare function categorizeTransformations(transformations?: Transformer[]): {
15
- pre: Transformer[];
16
- post: Transformer[];
17
- };
@@ -1,23 +0,0 @@
1
- import { Column } from '../types';
2
- /**
3
- * Validates a single value against a column's validators
4
- * @param value The value to validate
5
- * @param column The column definition with validators
6
- * @returns Error message if validation fails, null if valid
7
- */
8
- export declare function validateColumn(value: any, column: Column): string | null;
9
- /**
10
- * Validates uniqueness across all rows for a column
11
- * @param rows All data rows
12
- * @param columnIndex The column index to check
13
- * @param column The column definition
14
- * @returns Array of row indices that have duplicate values
15
- */
16
- export declare function validateUniqueness(rows: any[][], columnIndex: number, column: Column): number[];
17
- /**
18
- * Batch validation for all rows
19
- * @param rows Data rows to validate
20
- * @param columns Column definitions
21
- * @returns Validation results with errors per cell
22
- */
23
- export declare function validateBatch(rows: any[][], columns: Column[]): Map<string, string>;