@importcsv/react 0.2.1 → 0.2.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 (413) hide show
  1. package/README.md +100 -427
  2. package/build/App.d.ts +2 -0
  3. package/build/bundled/bundled-styles.d.ts +1 -0
  4. package/build/bundled/components/CSVImporter/index.d.ts +5 -0
  5. package/build/bundled/i18n/de.d.ts +32 -0
  6. package/build/bundled/i18n/es.d.ts +32 -0
  7. package/build/bundled/i18n/fr.d.ts +32 -0
  8. package/build/bundled/i18n/i18n.d.ts +6 -0
  9. package/build/bundled/i18n/it.d.ts +32 -0
  10. package/build/bundled/i18n/useTranslation.d.ts +9 -0
  11. package/build/bundled/importer/components/Box/index.d.ts +2 -0
  12. package/build/bundled/importer/components/Box/types/index.d.ts +5 -0
  13. package/build/bundled/importer/components/Checkbox/index.d.ts +2 -0
  14. package/build/bundled/importer/components/Checkbox/types/index.d.ts +4 -0
  15. package/build/bundled/importer/components/Errors/index.d.ts +4 -0
  16. package/build/bundled/importer/components/Input/index.d.ts +2 -0
  17. package/build/bundled/importer/components/Input/types/index.d.ts +18 -0
  18. package/build/bundled/importer/components/Root/index.d.ts +10 -0
  19. package/build/bundled/importer/components/StepLayout/index.d.ts +18 -0
  20. package/build/bundled/importer/components/Stepper/hooks/useStepper.d.ts +2 -0
  21. package/build/bundled/importer/components/Stepper/index.d.ts +2 -0
  22. package/build/bundled/importer/components/Stepper/types/index.d.ts +14 -0
  23. package/build/bundled/importer/components/Table/index.d.ts +9 -0
  24. package/build/bundled/importer/components/ToggleFilter/index.d.ts +3 -0
  25. package/build/bundled/importer/components/ToggleFilter/types/index.d.ts +11 -0
  26. package/build/bundled/importer/components/Tooltip/index.d.ts +2 -0
  27. package/build/bundled/importer/components/Tooltip/types/index.d.ts +11 -0
  28. package/build/bundled/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
  29. package/build/bundled/importer/components/UploaderWrapper/UploaderWrapper.d.ts +2 -0
  30. package/build/bundled/importer/components/UploaderWrapper/types/index.d.ts +2 -0
  31. package/build/bundled/importer/components/VirtualTable/index.d.ts +17 -0
  32. package/build/bundled/importer/components/ui/alert.d.ts +10 -0
  33. package/build/bundled/importer/components/ui/button.d.ts +12 -0
  34. package/build/bundled/importer/components/ui/card.d.ts +19 -0
  35. package/build/bundled/importer/components/ui/checkbox.d.ts +7 -0
  36. package/build/bundled/importer/components/ui/dialog.d.ts +38 -0
  37. package/build/bundled/importer/components/ui/flex.d.ts +23 -0
  38. package/build/bundled/importer/components/ui/input.d.ts +6 -0
  39. package/build/bundled/importer/components/ui/select.d.ts +13 -0
  40. package/build/bundled/importer/components/ui/switch.d.ts +7 -0
  41. package/build/bundled/importer/components/ui/toast.d.ts +22 -0
  42. package/build/bundled/importer/components/ui/toaster.d.ts +1 -0
  43. package/build/bundled/importer/components/ui/tooltip.d.ts +20 -0
  44. package/build/bundled/importer/components/ui/use-toast.d.ts +46 -0
  45. package/build/bundled/importer/features/complete/index.d.ts +2 -0
  46. package/build/bundled/importer/features/complete/types/index.d.ts +5 -0
  47. package/build/bundled/importer/features/configure-import/index.d.ts +13 -0
  48. package/build/bundled/importer/features/configure-import/types/index.d.ts +13 -0
  49. package/build/bundled/importer/features/main/hooks/useMutableLocalStorage.d.ts +1 -0
  50. package/build/bundled/importer/features/main/hooks/useStepNavigation.d.ts +17 -0
  51. package/build/bundled/importer/features/main/index.d.ts +2 -0
  52. package/build/bundled/importer/features/main/types/index.d.ts +16 -0
  53. package/build/bundled/importer/features/map-columns/components/DropDownFields.d.ts +21 -0
  54. package/build/bundled/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +16 -0
  55. package/build/bundled/importer/features/map-columns/index.d.ts +2 -0
  56. package/build/bundled/importer/features/map-columns/types/index.d.ts +16 -0
  57. package/build/bundled/importer/features/row-selection/index.d.ts +2 -0
  58. package/build/bundled/importer/features/row-selection/types/index.d.ts +8 -0
  59. package/build/bundled/importer/features/uploader/hooks/useTemplateTable.d.ts +10 -0
  60. package/build/bundled/importer/features/uploader/index.d.ts +2 -0
  61. package/build/bundled/importer/features/uploader/types/index.d.ts +9 -0
  62. package/build/bundled/importer/features/validation/Validation.d.ts +2 -0
  63. package/build/bundled/importer/features/validation/components/TransformModal.d.ts +18 -0
  64. package/build/bundled/importer/features/validation/components/TransformPanel.d.ts +18 -0
  65. package/build/bundled/importer/features/validation/index.d.ts +1 -0
  66. package/build/bundled/importer/features/validation/types.d.ts +32 -0
  67. package/build/bundled/importer/hooks/useClickOutside.d.ts +1 -0
  68. package/build/bundled/importer/hooks/useCustomStyles.d.ts +1 -0
  69. package/build/bundled/importer/hooks/useEventListener.d.ts +4 -0
  70. package/build/bundled/importer/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  71. package/build/bundled/importer/hooks/useRect.d.ts +12 -0
  72. package/build/bundled/importer/hooks/useWindowSize.d.ts +1 -0
  73. package/build/bundled/importer/providers/Theme.d.ts +10 -0
  74. package/build/bundled/importer/providers/index.d.ts +5 -0
  75. package/build/bundled/importer/providers/types/index.d.ts +10 -0
  76. package/build/bundled/importer/services/api.d.ts +1 -0
  77. package/build/bundled/importer/services/mapping.d.ts +31 -0
  78. package/build/bundled/importer/services/transformation.d.ts +70 -0
  79. package/build/bundled/importer/settings/theme/colors.d.ts +4 -0
  80. package/build/bundled/importer/settings/theme/index.d.ts +2 -0
  81. package/build/bundled/importer/settings/theme/sizes.d.ts +7 -0
  82. package/build/bundled/importer/stores/theme.d.ts +17 -0
  83. package/build/bundled/importer/theme/index.d.ts +8 -0
  84. package/build/bundled/importer/theme/presets.d.ts +314 -0
  85. package/build/bundled/importer/theme/runtime.d.ts +62 -0
  86. package/build/bundled/importer/theme/styles.d.ts +120 -0
  87. package/build/bundled/importer/types/index.d.ts +9 -0
  88. package/build/bundled/importer/utils/colorUtils.d.ts +48 -0
  89. package/build/bundled/importer/utils/errorAnalysis.d.ts +25 -0
  90. package/build/bundled/importer/utils/getStringLengthOfChildren.d.ts +2 -0
  91. package/build/bundled/importer/utils/stringSimilarity.d.ts +1 -0
  92. package/build/bundled/importer/utils/template.d.ts +2 -0
  93. package/build/bundled/importer/utils/themeUtils.d.ts +21 -0
  94. package/build/bundled/importer/utils/utils.d.ts +19 -0
  95. package/build/bundled/index.d.ts +4 -0
  96. package/build/bundled/index.esm.js +8189 -0
  97. package/build/bundled/index.esm.js.map +1 -0
  98. package/build/bundled/index.js +112 -0
  99. package/build/bundled/index.js.map +1 -0
  100. package/build/bundled/index.umd.js +112 -0
  101. package/build/bundled/index.umd.js.map +1 -0
  102. package/build/bundled/js.d.ts +12 -0
  103. package/build/bundled/settings/defaults.d.ts +3 -0
  104. package/build/bundled/styles.d.ts +1 -0
  105. package/build/bundled/types/index.d.ts +132 -0
  106. package/build/bundled/types/theme.d.ts +153 -0
  107. package/build/bundled/utils/cn.d.ts +6 -0
  108. package/build/bundled/utils/injectStyles.d.ts +14 -0
  109. package/build/bundled/validation/transformationStages.d.ts +26 -0
  110. package/build/bundled/validation/transformer.d.ts +17 -0
  111. package/build/bundled/validation/validator.d.ts +23 -0
  112. package/build/bundled-styles.d.ts +1 -1
  113. package/build/components/CSVImporter/index.d.ts +8 -31
  114. package/build/components/Modal/index.d.ts +12 -0
  115. package/build/config/index.d.ts +5 -0
  116. package/build/importer/components/Box/index.d.ts +1 -1
  117. package/build/importer/components/Box/types/index.d.ts +1 -2
  118. package/build/importer/components/Checkbox/index.d.ts +1 -1
  119. package/build/importer/components/Checkbox/types/index.d.ts +1 -1
  120. package/build/importer/components/Input/index.d.ts +1 -1
  121. package/build/importer/components/Input/types/index.d.ts +1 -1
  122. package/build/importer/components/Root/index.d.ts +10 -0
  123. package/build/importer/components/StepLayout/index.d.ts +18 -0
  124. package/build/importer/components/Stepper/hooks/useStepper.d.ts +1 -1
  125. package/build/importer/components/Stepper/index.d.ts +1 -1
  126. package/build/importer/components/Table/index.d.ts +3 -3
  127. package/build/importer/components/ToggleFilter/index.d.ts +1 -1
  128. package/build/importer/components/Tooltip/index.d.ts +1 -1
  129. package/build/importer/components/Tooltip/types/index.d.ts +4 -4
  130. package/build/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
  131. package/build/importer/components/UploaderWrapper/UploaderWrapper.d.ts +1 -1
  132. package/build/importer/components/UploaderWrapper/types/index.d.ts +1 -1
  133. package/build/importer/components/VirtualTable/index.d.ts +17 -0
  134. package/build/importer/components/ui/alert.d.ts +9 -7
  135. package/build/importer/components/ui/button.d.ts +6 -6
  136. package/build/importer/components/ui/card.d.ts +18 -7
  137. package/build/importer/components/ui/checkbox.d.ts +6 -3
  138. package/build/importer/components/ui/dialog.d.ts +32 -12
  139. package/build/importer/components/ui/flex.d.ts +16 -7
  140. package/build/importer/components/ui/input.d.ts +4 -3
  141. package/build/importer/components/ui/select.d.ts +13 -13
  142. package/build/importer/components/ui/switch.d.ts +6 -3
  143. package/build/importer/components/ui/toast.d.ts +23 -15
  144. package/build/importer/components/ui/tooltip.d.ts +16 -9
  145. package/build/importer/components/ui/use-toast.d.ts +7 -5
  146. package/build/importer/features/complete/index.d.ts +1 -1
  147. package/build/importer/features/main/hooks/useStepNavigation.d.ts +1 -1
  148. package/build/importer/features/main/index.d.ts +1 -1
  149. package/build/importer/features/map-columns/components/DropDownFields.d.ts +1 -1
  150. package/build/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +4 -4
  151. package/build/importer/features/map-columns/index.d.ts +1 -1
  152. package/build/importer/features/map-columns/types/index.d.ts +2 -2
  153. package/build/importer/features/row-selection/index.d.ts +1 -1
  154. package/build/importer/features/row-selection/types/index.d.ts +1 -1
  155. package/build/importer/features/uploader/hooks/useTemplateTable.d.ts +1 -1
  156. package/build/importer/features/uploader/index.d.ts +1 -1
  157. package/build/importer/features/uploader/types/index.d.ts +2 -2
  158. package/build/importer/features/validation/components/TransformPanel.d.ts +18 -0
  159. package/build/importer/features/validation/types.d.ts +3 -3
  160. package/build/importer/hooks/useEventListener.d.ts +1 -1
  161. package/build/importer/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
  162. package/build/importer/providers/Theme.d.ts +7 -2
  163. package/build/importer/providers/index.d.ts +4 -4
  164. package/build/importer/providers/types/index.d.ts +10 -4
  165. package/build/importer/settings/theme/index.d.ts +2 -2
  166. package/build/importer/stores/theme.d.ts +3 -3
  167. package/build/importer/theme/index.d.ts +8 -0
  168. package/build/importer/theme/presets.d.ts +314 -0
  169. package/build/importer/theme/runtime.d.ts +66 -0
  170. package/build/importer/theme/styles.d.ts +120 -0
  171. package/build/importer/utils/errorAnalysis.d.ts +25 -0
  172. package/build/importer/utils/getStringLengthOfChildren.d.ts +2 -2
  173. package/build/importer/utils/template.d.ts +1 -1
  174. package/build/importer/utils/themeUtils.d.ts +24 -0
  175. package/build/index.d.ts +5 -3
  176. package/build/index.dev.d.ts +1 -0
  177. package/build/js.d.ts +4 -31
  178. package/build/preact/bundled-styles.d.ts +1 -0
  179. package/build/preact/components/CSVImporter/index.d.ts +5 -0
  180. package/build/preact/i18n/de.d.ts +32 -0
  181. package/build/preact/i18n/es.d.ts +32 -0
  182. package/build/preact/i18n/fr.d.ts +32 -0
  183. package/build/preact/i18n/i18n.d.ts +6 -0
  184. package/build/preact/i18n/it.d.ts +32 -0
  185. package/build/preact/i18n/useTranslation.d.ts +9 -0
  186. package/build/preact/importer/components/Box/index.d.ts +2 -0
  187. package/build/preact/importer/components/Box/types/index.d.ts +5 -0
  188. package/build/preact/importer/components/Checkbox/index.d.ts +2 -0
  189. package/build/preact/importer/components/Checkbox/types/index.d.ts +4 -0
  190. package/build/preact/importer/components/Errors/index.d.ts +4 -0
  191. package/build/preact/importer/components/Input/index.d.ts +2 -0
  192. package/build/preact/importer/components/Input/types/index.d.ts +18 -0
  193. package/build/preact/importer/components/Root/index.d.ts +10 -0
  194. package/build/preact/importer/components/StepLayout/index.d.ts +18 -0
  195. package/build/preact/importer/components/Stepper/hooks/useStepper.d.ts +2 -0
  196. package/build/preact/importer/components/Stepper/index.d.ts +2 -0
  197. package/build/preact/importer/components/Stepper/types/index.d.ts +14 -0
  198. package/build/preact/importer/components/Table/index.d.ts +9 -0
  199. package/build/preact/importer/components/ToggleFilter/index.d.ts +3 -0
  200. package/build/preact/importer/components/ToggleFilter/types/index.d.ts +11 -0
  201. package/build/preact/importer/components/Tooltip/index.d.ts +2 -0
  202. package/build/preact/importer/components/Tooltip/types/index.d.ts +11 -0
  203. package/build/preact/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
  204. package/build/preact/importer/components/UploaderWrapper/UploaderWrapper.d.ts +2 -0
  205. package/build/preact/importer/components/UploaderWrapper/types/index.d.ts +2 -0
  206. package/build/preact/importer/components/VirtualTable/index.d.ts +17 -0
  207. package/build/preact/importer/components/ui/alert.d.ts +10 -0
  208. package/build/preact/importer/components/ui/button.d.ts +12 -0
  209. package/build/preact/importer/components/ui/card.d.ts +19 -0
  210. package/build/preact/importer/components/ui/checkbox.d.ts +7 -0
  211. package/build/preact/importer/components/ui/dialog.d.ts +38 -0
  212. package/build/preact/importer/components/ui/flex.d.ts +23 -0
  213. package/build/preact/importer/components/ui/input.d.ts +6 -0
  214. package/build/preact/importer/components/ui/select.d.ts +13 -0
  215. package/build/preact/importer/components/ui/switch.d.ts +7 -0
  216. package/build/preact/importer/components/ui/toast.d.ts +22 -0
  217. package/build/preact/importer/components/ui/toaster.d.ts +1 -0
  218. package/build/preact/importer/components/ui/tooltip.d.ts +20 -0
  219. package/build/preact/importer/components/ui/use-toast.d.ts +46 -0
  220. package/build/preact/importer/features/complete/index.d.ts +2 -0
  221. package/build/preact/importer/features/complete/types/index.d.ts +5 -0
  222. package/build/preact/importer/features/configure-import/index.d.ts +13 -0
  223. package/build/preact/importer/features/configure-import/types/index.d.ts +13 -0
  224. package/build/preact/importer/features/main/hooks/useMutableLocalStorage.d.ts +1 -0
  225. package/build/preact/importer/features/main/hooks/useStepNavigation.d.ts +17 -0
  226. package/build/preact/importer/features/main/index.d.ts +2 -0
  227. package/build/preact/importer/features/main/types/index.d.ts +16 -0
  228. package/build/preact/importer/features/map-columns/components/DropDownFields.d.ts +21 -0
  229. package/build/preact/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +16 -0
  230. package/build/preact/importer/features/map-columns/index.d.ts +2 -0
  231. package/build/preact/importer/features/map-columns/types/index.d.ts +16 -0
  232. package/build/preact/importer/features/row-selection/index.d.ts +2 -0
  233. package/build/preact/importer/features/row-selection/types/index.d.ts +8 -0
  234. package/build/preact/importer/features/uploader/hooks/useTemplateTable.d.ts +10 -0
  235. package/build/preact/importer/features/uploader/index.d.ts +2 -0
  236. package/build/preact/importer/features/uploader/types/index.d.ts +9 -0
  237. package/build/preact/importer/features/validation/Validation.d.ts +2 -0
  238. package/build/preact/importer/features/validation/components/TransformModal.d.ts +18 -0
  239. package/build/preact/importer/features/validation/components/TransformPanel.d.ts +18 -0
  240. package/build/preact/importer/features/validation/index.d.ts +1 -0
  241. package/build/preact/importer/features/validation/types.d.ts +32 -0
  242. package/build/preact/importer/hooks/useClickOutside.d.ts +1 -0
  243. package/build/preact/importer/hooks/useCustomStyles.d.ts +1 -0
  244. package/build/preact/importer/hooks/useEventListener.d.ts +4 -0
  245. package/build/preact/importer/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  246. package/build/preact/importer/hooks/useRect.d.ts +12 -0
  247. package/build/preact/importer/hooks/useWindowSize.d.ts +1 -0
  248. package/build/preact/importer/providers/Theme.d.ts +10 -0
  249. package/build/preact/importer/providers/index.d.ts +5 -0
  250. package/build/preact/importer/providers/types/index.d.ts +10 -0
  251. package/build/preact/importer/services/api.d.ts +1 -0
  252. package/build/preact/importer/services/mapping.d.ts +31 -0
  253. package/build/preact/importer/services/transformation.d.ts +70 -0
  254. package/build/preact/importer/settings/theme/colors.d.ts +4 -0
  255. package/build/preact/importer/settings/theme/index.d.ts +2 -0
  256. package/build/preact/importer/settings/theme/sizes.d.ts +7 -0
  257. package/build/preact/importer/stores/theme.d.ts +17 -0
  258. package/build/preact/importer/theme/index.d.ts +8 -0
  259. package/build/preact/importer/theme/presets.d.ts +314 -0
  260. package/build/preact/importer/theme/runtime.d.ts +62 -0
  261. package/build/preact/importer/theme/styles.d.ts +120 -0
  262. package/build/preact/importer/types/index.d.ts +9 -0
  263. package/build/preact/importer/utils/colorUtils.d.ts +48 -0
  264. package/build/preact/importer/utils/errorAnalysis.d.ts +25 -0
  265. package/build/preact/importer/utils/getStringLengthOfChildren.d.ts +2 -0
  266. package/build/preact/importer/utils/stringSimilarity.d.ts +1 -0
  267. package/build/preact/importer/utils/template.d.ts +2 -0
  268. package/build/preact/importer/utils/themeUtils.d.ts +21 -0
  269. package/build/preact/importer/utils/utils.d.ts +19 -0
  270. package/build/preact/index.d.ts +4 -0
  271. package/build/preact/index.esm.js +7370 -0
  272. package/build/preact/index.esm.js.map +1 -0
  273. package/build/preact/index.js +112 -0
  274. package/build/preact/index.js.map +1 -0
  275. package/build/preact/js.d.ts +12 -0
  276. package/build/preact/settings/defaults.d.ts +3 -0
  277. package/build/preact/styles.d.ts +1 -0
  278. package/build/preact/types/index.d.ts +132 -0
  279. package/build/preact/types/theme.d.ts +153 -0
  280. package/build/preact/utils/cn.d.ts +6 -0
  281. package/build/preact/utils/injectStyles.d.ts +14 -0
  282. package/build/preact/validation/transformationStages.d.ts +26 -0
  283. package/build/preact/validation/transformer.d.ts +17 -0
  284. package/build/preact/validation/validator.d.ts +23 -0
  285. package/build/react/bundled-styles.d.ts +1 -0
  286. package/build/react/components/CSVImporter/index.d.ts +5 -0
  287. package/build/react/components/Modal/index.d.ts +12 -0
  288. package/build/react/i18n/de.d.ts +32 -0
  289. package/build/react/i18n/es.d.ts +32 -0
  290. package/build/react/i18n/fr.d.ts +32 -0
  291. package/build/react/i18n/i18n.d.ts +6 -0
  292. package/build/react/i18n/it.d.ts +32 -0
  293. package/build/react/i18n/useTranslation.d.ts +9 -0
  294. package/build/react/importer/components/Box/index.d.ts +2 -0
  295. package/build/react/importer/components/Box/types/index.d.ts +5 -0
  296. package/build/react/importer/components/Checkbox/index.d.ts +2 -0
  297. package/build/react/importer/components/Checkbox/types/index.d.ts +4 -0
  298. package/build/react/importer/components/Errors/index.d.ts +4 -0
  299. package/build/react/importer/components/Input/index.d.ts +2 -0
  300. package/build/react/importer/components/Input/types/index.d.ts +18 -0
  301. package/build/react/importer/components/Root/index.d.ts +10 -0
  302. package/build/react/importer/components/StepLayout/index.d.ts +18 -0
  303. package/build/react/importer/components/Stepper/hooks/useStepper.d.ts +2 -0
  304. package/build/react/importer/components/Stepper/index.d.ts +2 -0
  305. package/build/react/importer/components/Stepper/types/index.d.ts +14 -0
  306. package/build/react/importer/components/Table/index.d.ts +9 -0
  307. package/build/{importer → react/importer}/components/Table/types/index.d.ts +2 -2
  308. package/build/react/importer/components/ToggleFilter/index.d.ts +3 -0
  309. package/build/react/importer/components/ToggleFilter/types/index.d.ts +11 -0
  310. package/build/react/importer/components/Tooltip/index.d.ts +2 -0
  311. package/build/react/importer/components/Tooltip/types/index.d.ts +11 -0
  312. package/build/react/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
  313. package/build/react/importer/components/UploaderWrapper/UploaderWrapper.d.ts +2 -0
  314. package/build/react/importer/components/UploaderWrapper/types/index.d.ts +2 -0
  315. package/build/react/importer/components/VirtualTable/index.d.ts +17 -0
  316. package/build/react/importer/components/ui/alert.d.ts +13 -0
  317. package/build/react/importer/components/ui/button.d.ts +12 -0
  318. package/build/react/importer/components/ui/card.d.ts +19 -0
  319. package/build/react/importer/components/ui/checkbox.d.ts +7 -0
  320. package/build/react/importer/components/ui/dialog.d.ts +38 -0
  321. package/build/react/importer/components/ui/flex.d.ts +23 -0
  322. package/build/react/importer/components/ui/input.d.ts +6 -0
  323. package/build/react/importer/components/ui/select.d.ts +13 -0
  324. package/build/react/importer/components/ui/switch.d.ts +7 -0
  325. package/build/react/importer/components/ui/toast.d.ts +22 -0
  326. package/build/react/importer/components/ui/toaster.d.ts +1 -0
  327. package/build/react/importer/components/ui/tooltip.d.ts +24 -0
  328. package/build/react/importer/components/ui/use-toast.d.ts +46 -0
  329. package/build/react/importer/features/complete/index.d.ts +2 -0
  330. package/build/react/importer/features/complete/types/index.d.ts +5 -0
  331. package/build/react/importer/features/configure-import/index.d.ts +13 -0
  332. package/build/react/importer/features/configure-import/types/index.d.ts +13 -0
  333. package/build/react/importer/features/main/hooks/useMutableLocalStorage.d.ts +1 -0
  334. package/build/react/importer/features/main/hooks/useStepNavigation.d.ts +17 -0
  335. package/build/react/importer/features/main/index.d.ts +2 -0
  336. package/build/react/importer/features/main/types/index.d.ts +16 -0
  337. package/build/react/importer/features/map-columns/components/DropDownFields.d.ts +21 -0
  338. package/build/react/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +16 -0
  339. package/build/react/importer/features/map-columns/index.d.ts +2 -0
  340. package/build/react/importer/features/map-columns/types/index.d.ts +16 -0
  341. package/build/react/importer/features/row-selection/index.d.ts +2 -0
  342. package/build/react/importer/features/row-selection/types/index.d.ts +8 -0
  343. package/build/react/importer/features/uploader/hooks/useTemplateTable.d.ts +10 -0
  344. package/build/react/importer/features/uploader/index.d.ts +2 -0
  345. package/build/react/importer/features/uploader/types/index.d.ts +9 -0
  346. package/build/react/importer/features/validation/Validation.d.ts +2 -0
  347. package/build/react/importer/features/validation/components/TransformModal.d.ts +18 -0
  348. package/build/react/importer/features/validation/components/TransformPanel.d.ts +18 -0
  349. package/build/react/importer/features/validation/index.d.ts +1 -0
  350. package/build/react/importer/features/validation/types.d.ts +32 -0
  351. package/build/react/importer/hooks/useClickOutside.d.ts +1 -0
  352. package/build/react/importer/hooks/useCustomStyles.d.ts +1 -0
  353. package/build/react/importer/hooks/useEventListener.d.ts +4 -0
  354. package/build/react/importer/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  355. package/build/react/importer/hooks/useRect.d.ts +12 -0
  356. package/build/react/importer/hooks/useWindowSize.d.ts +1 -0
  357. package/build/react/importer/providers/Theme.d.ts +10 -0
  358. package/build/react/importer/providers/index.d.ts +5 -0
  359. package/build/react/importer/providers/types/index.d.ts +10 -0
  360. package/build/react/importer/services/api.d.ts +1 -0
  361. package/build/react/importer/services/mapping.d.ts +31 -0
  362. package/build/react/importer/services/transformation.d.ts +70 -0
  363. package/build/react/importer/settings/theme/colors.d.ts +4 -0
  364. package/build/react/importer/settings/theme/index.d.ts +2 -0
  365. package/build/react/importer/settings/theme/sizes.d.ts +7 -0
  366. package/build/react/importer/stores/theme.d.ts +17 -0
  367. package/build/react/importer/theme/index.d.ts +8 -0
  368. package/build/react/importer/theme/presets.d.ts +314 -0
  369. package/build/react/importer/theme/runtime.d.ts +62 -0
  370. package/build/react/importer/theme/styles.d.ts +120 -0
  371. package/build/react/importer/types/index.d.ts +9 -0
  372. package/build/react/importer/utils/colorUtils.d.ts +48 -0
  373. package/build/react/importer/utils/errorAnalysis.d.ts +25 -0
  374. package/build/react/importer/utils/getStringLengthOfChildren.d.ts +2 -0
  375. package/build/react/importer/utils/stringSimilarity.d.ts +1 -0
  376. package/build/react/importer/utils/template.d.ts +2 -0
  377. package/build/react/importer/utils/themeUtils.d.ts +21 -0
  378. package/build/react/importer/utils/utils.d.ts +19 -0
  379. package/build/react/index.d.ts +5 -0
  380. package/build/react/index.esm.js +7541 -0
  381. package/build/react/index.esm.js.map +1 -0
  382. package/build/react/index.js +112 -0
  383. package/build/react/index.js.map +1 -0
  384. package/build/react/js.d.ts +12 -0
  385. package/build/react/settings/defaults.d.ts +3 -0
  386. package/build/react/styles.d.ts +1 -0
  387. package/build/react/types/index.d.ts +132 -0
  388. package/build/react/types/theme.d.ts +153 -0
  389. package/build/react/utils/cn.d.ts +6 -0
  390. package/build/react/validation/transformationStages.d.ts +26 -0
  391. package/build/react/validation/transformer.d.ts +17 -0
  392. package/build/react/validation/validator.d.ts +23 -0
  393. package/build/services/api.d.ts +50 -0
  394. package/build/services/apiClient.d.ts +55 -0
  395. package/build/settings/defaults.d.ts +1 -1
  396. package/build/shims/react-compat-shim.d.ts +2 -0
  397. package/build/shims/react-hooks-shim.d.ts +2 -0
  398. package/build/types/index.d.ts +27 -0
  399. package/build/types/theme.d.ts +153 -0
  400. package/build/utils/cn.d.ts +1 -1
  401. package/build/validation/transformationStages.d.ts +26 -0
  402. package/build/validation/transformer.d.ts +10 -26
  403. package/package.json +64 -32
  404. package/build/bundle.css +0 -1
  405. package/build/importer/components/IframeWrapper/index.d.ts +0 -25
  406. package/build/importer/components/ImporterLayout.d.ts +0 -15
  407. package/build/importer/hooks/useDemoData.d.ts +0 -16
  408. package/build/importer/hooks/useImporterSchema.d.ts +0 -21
  409. package/build/importer/services/dataProcessor.d.ts +0 -38
  410. package/build/index.esm.js +0 -14394
  411. package/build/index.esm.js.map +0 -1
  412. package/build/index.js +0 -327
  413. package/build/index.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import { MapColumnsProps } from './types';
1
+ import { MapColumnsProps } from "./types";
2
2
  export default function MapColumns({ columns, data, columnMapping, selectedHeaderRow, skipHeaderRowSelection, onSuccess, onCancel, isSubmitting, importerKey, backendUrl, }: MapColumnsProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,5 +1,5 @@
1
- import { Column, ColumnMapping, ColumnMappingDictionary } from '../../../../types';
2
- import { FileData } from '../../main/types';
1
+ import { Column, ColumnMapping, ColumnMappingDictionary } from "../../../../types";
2
+ import { FileData } from "../../main/types";
3
3
  export type { ColumnMapping, ColumnMappingDictionary };
4
4
  export type TemplateColumnMapping = ColumnMapping;
5
5
  export type MapColumnsProps = {
@@ -1,2 +1,2 @@
1
- import { RowSelectionProps } from './types';
1
+ import { RowSelectionProps } from "./types";
2
2
  export default function RowSelection({ data, onSuccess, onCancel, selectedHeaderRow, setSelectedHeaderRow }: RowSelectionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { FileData } from '../../main/types';
1
+ import { FileData } from "../../main/types";
2
2
  export type RowSelectionProps = {
3
3
  data: FileData;
4
4
  onSuccess: () => void;
@@ -1,4 +1,4 @@
1
- import { Column } from '../../../../types';
1
+ import { Column } from "../../../../types";
2
2
  export default function useTemplateTable(fields?: Column[]): {
3
3
  [x: string]: string | {
4
4
  raw: string;
@@ -1,2 +1,2 @@
1
- import { UploaderProps } from './types';
1
+ import { UploaderProps } from "./types";
2
2
  export default function Uploader({ columns, skipHeaderRowSelection, onSuccess, showDownloadTemplateButton, setDataError }: UploaderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { Column } from '../../../../types';
2
- import { Dispatch, SetStateAction } from 'react';
1
+ import { Column } from "../../../../types";
2
+ import { Dispatch, SetStateAction } from 'preact/hooks';
3
3
  export type UploaderProps = {
4
4
  columns?: Column[];
5
5
  skipHeaderRowSelection: boolean;
@@ -0,0 +1,18 @@
1
+ import { TransformationChange } from '../../../services/transformation';
2
+ interface TransformPanelProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ data: any[];
6
+ columnMapping: Record<string, any>;
7
+ backendUrl: string;
8
+ importerKey: string;
9
+ validationErrors?: Array<{
10
+ rowIndex: number;
11
+ columnKey: string;
12
+ message: string;
13
+ value?: any;
14
+ }>;
15
+ onApplyTransformations: (changes: TransformationChange[]) => void;
16
+ }
17
+ export default function TransformPanel({ isOpen, onClose, data, columnMapping, backendUrl, importerKey, validationErrors, onApplyTransformations }: TransformPanelProps): import("react/jsx-runtime").JSX.Element | null;
18
+ export {};
@@ -1,6 +1,6 @@
1
- import { FileData } from '../main/types';
2
- import { TemplateColumnMapping } from '../map-columns/types';
3
- import { Column } from '../../../types';
1
+ import { FileData } from "../main/types";
2
+ import { TemplateColumnMapping } from "../map-columns/types";
3
+ import { Column } from "../../../types";
4
4
  export interface ValidationError {
5
5
  rowIndex: number;
6
6
  columnIndex: number;
@@ -1,4 +1,4 @@
1
- import { RefObject } from 'react';
1
+ import { RefObject } from "preact/hooks";
2
2
  declare function useEventListener<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void): void;
3
3
  declare function useEventListener<K extends keyof HTMLElementEventMap, T extends HTMLElement = HTMLDivElement>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, element: RefObject<T>): void;
4
4
  export default useEventListener;
@@ -1,3 +1,3 @@
1
- import { useEffect } from 'react';
1
+ import { useEffect } from "preact/hooks";
2
2
  declare const useIsomorphicLayoutEffect: typeof useEffect;
3
3
  export default useIsomorphicLayoutEffect;
@@ -1,5 +1,10 @@
1
- import { ThemeProps } from './types';
1
+ import type { JSX } from 'preact';
2
+ import { ThemeProps } from "./types";
3
+ import { ThemeConfig, presetThemes } from "../../types/theme";
2
4
  export interface ThemeProviderProps extends ThemeProps {
5
+ theme?: ThemeConfig | keyof typeof presetThemes;
3
6
  primaryColor?: string;
7
+ customStyles?: Record<string, string> | string;
8
+ targetElement?: HTMLElement;
4
9
  }
5
- export default function ThemeProvider({ children, primaryColor }: ThemeProviderProps): React.ReactElement;
10
+ export default function ThemeProvider({ children, theme, primaryColor, customStyles, targetElement }: ThemeProviderProps): JSX.Element;
@@ -1,5 +1,5 @@
1
- import { ProvidersProps } from './types';
2
- export interface ProvidersWithThemeProps extends ProvidersProps {
3
- primaryColor?: string;
1
+ import { ProvidersProps } from "./types";
2
+ import { ThemeProviderProps } from "./Theme";
3
+ export interface ProvidersWithThemeProps extends ProvidersProps, ThemeProviderProps {
4
4
  }
5
- export default function Providers({ children, primaryColor }: ProvidersWithThemeProps): import("react/jsx-runtime").JSX.Element;
5
+ export default function Providers({ children, theme, primaryColor, customStyles, targetElement }: ProvidersWithThemeProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,10 @@
1
- import { default as React } from 'react';
2
- export type ProvidersProps = React.PropsWithChildren<{}>;
3
- export type QueriesProps = React.PropsWithChildren<{}>;
4
- export type ThemeProps = React.PropsWithChildren<{}>;
1
+ import type { ComponentChildren } from 'preact';
2
+ export type ProvidersProps = {
3
+ children: ComponentChildren;
4
+ };
5
+ export type QueriesProps = {
6
+ children: ComponentChildren;
7
+ };
8
+ export type ThemeProps = {
9
+ children: ComponentChildren;
10
+ };
@@ -1,2 +1,2 @@
1
- export * from './colors';
2
- export * from './sizes';
1
+ export * from "./colors";
2
+ export * from "./sizes";
@@ -3,15 +3,15 @@ type themeStoreType = {
3
3
  theme: Theme;
4
4
  setTheme: (theme?: Theme) => void;
5
5
  };
6
- declare const useThemeStore: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<themeStoreType>, "persist"> & {
6
+ declare const useThemeStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<themeStoreType>, "persist"> & {
7
7
  persist: {
8
- setOptions: (options: Partial<import('zustand/middleware').PersistOptions<themeStoreType, themeStoreType>>) => void;
8
+ setOptions: (options: Partial<import("zustand/middleware").PersistOptions<themeStoreType, themeStoreType>>) => void;
9
9
  clearStorage: () => void;
10
10
  rehydrate: () => void | Promise<void>;
11
11
  hasHydrated: () => boolean;
12
12
  onHydrate: (fn: (state: themeStoreType) => void) => () => void;
13
13
  onFinishHydration: (fn: (state: themeStoreType) => void) => () => void;
14
- getOptions: () => Partial<import('zustand/middleware').PersistOptions<themeStoreType, themeStoreType>>;
14
+ getOptions: () => Partial<import("zustand/middleware").PersistOptions<themeStoreType, themeStoreType>>;
15
15
  };
16
16
  }>;
17
17
  export default useThemeStore;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Theme module exports
3
+ * Central export point for all theme-related functionality
4
+ */
5
+ export { styles, designTokens, cssVariables } from './styles';
6
+ export { presets } from './presets';
7
+ export { applyTheme, getCurrentTheme, resetTheme, createThemeFromColor, type SimpleTheme } from './runtime';
8
+ export { styles as default } from './styles';
@@ -0,0 +1,314 @@
1
+ /**
2
+ * Pre-built theme presets for the CSV Importer
3
+ * Use these as starting points or use them directly
4
+ */
5
+ export declare const presets: {
6
+ default: {
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
+ minimal: {
51
+ typography: {
52
+ title: string;
53
+ subtitle: string;
54
+ label: string;
55
+ body: string;
56
+ caption: string;
57
+ };
58
+ colors: {
59
+ borderDefault: string;
60
+ bgPrimary: string;
61
+ bgSecondary: string;
62
+ bgHover: string;
63
+ textPrimary: string;
64
+ textSecondary: string;
65
+ textMuted: string;
66
+ };
67
+ buttons: {
68
+ primary: string;
69
+ secondary: string;
70
+ outline: string;
71
+ };
72
+ spacing: {
73
+ page: string;
74
+ header: string;
75
+ content: string;
76
+ footer: string;
77
+ section: string;
78
+ };
79
+ layout: {
80
+ header: string;
81
+ subHeader: string;
82
+ content: string;
83
+ footer: string;
84
+ container: string;
85
+ };
86
+ components: {
87
+ card: string;
88
+ input: string;
89
+ table: string;
90
+ tableHeader: string;
91
+ tableRow: string;
92
+ };
93
+ };
94
+ modern: {
95
+ typography: {
96
+ title: string;
97
+ subtitle: string;
98
+ label: string;
99
+ body: string;
100
+ caption: string;
101
+ };
102
+ components: {
103
+ card: string;
104
+ input: string;
105
+ table: string;
106
+ tableHeader: string;
107
+ tableRow: string;
108
+ };
109
+ buttons: {
110
+ primary: string;
111
+ secondary: string;
112
+ outline: string;
113
+ };
114
+ spacing: {
115
+ page: string;
116
+ header: string;
117
+ content: string;
118
+ footer: string;
119
+ section: string;
120
+ };
121
+ layout: {
122
+ header: string;
123
+ subHeader: string;
124
+ content: string;
125
+ footer: string;
126
+ container: string;
127
+ };
128
+ colors: {
129
+ borderDefault: string;
130
+ bgPrimary: string;
131
+ bgSecondary: string;
132
+ bgHover: string;
133
+ textPrimary: string;
134
+ textSecondary: string;
135
+ textMuted: string;
136
+ };
137
+ };
138
+ compact: {
139
+ spacing: {
140
+ page: string;
141
+ header: string;
142
+ content: string;
143
+ footer: string;
144
+ section: string;
145
+ };
146
+ typography: {
147
+ title: string;
148
+ subtitle: string;
149
+ label: string;
150
+ body: string;
151
+ caption: string;
152
+ };
153
+ components: {
154
+ input: string;
155
+ card: string;
156
+ table: string;
157
+ tableHeader: string;
158
+ tableRow: string;
159
+ };
160
+ layout: {
161
+ header: string;
162
+ subHeader: string;
163
+ content: string;
164
+ footer: string;
165
+ container: string;
166
+ };
167
+ colors: {
168
+ borderDefault: string;
169
+ bgPrimary: string;
170
+ bgSecondary: string;
171
+ bgHover: string;
172
+ textPrimary: string;
173
+ textSecondary: string;
174
+ textMuted: string;
175
+ };
176
+ buttons: {
177
+ primary: string;
178
+ secondary: string;
179
+ outline: string;
180
+ };
181
+ };
182
+ dark: {
183
+ typography: {
184
+ title: string;
185
+ subtitle: string;
186
+ label: string;
187
+ body: string;
188
+ caption: string;
189
+ };
190
+ spacing: {
191
+ page: string;
192
+ header: string;
193
+ content: string;
194
+ footer: string;
195
+ section: string;
196
+ };
197
+ layout: {
198
+ header: string;
199
+ subHeader: string;
200
+ content: string;
201
+ footer: string;
202
+ container: string;
203
+ };
204
+ colors: {
205
+ borderDefault: string;
206
+ bgPrimary: string;
207
+ bgSecondary: string;
208
+ bgHover: string;
209
+ textPrimary: string;
210
+ textSecondary: string;
211
+ textMuted: string;
212
+ };
213
+ components: {
214
+ card: string;
215
+ input: string;
216
+ table: string;
217
+ tableHeader: string;
218
+ tableRow: string;
219
+ };
220
+ buttons: {
221
+ primary: string;
222
+ secondary: string;
223
+ outline: string;
224
+ };
225
+ };
226
+ corporate: {
227
+ typography: {
228
+ title: string;
229
+ subtitle: string;
230
+ label: string;
231
+ body: string;
232
+ caption: string;
233
+ };
234
+ colors: {
235
+ borderDefault: string;
236
+ bgPrimary: string;
237
+ bgSecondary: string;
238
+ bgHover: string;
239
+ textPrimary: string;
240
+ textSecondary: string;
241
+ textMuted: string;
242
+ };
243
+ buttons: {
244
+ primary: string;
245
+ secondary: string;
246
+ outline: string;
247
+ };
248
+ spacing: {
249
+ page: string;
250
+ header: string;
251
+ content: string;
252
+ footer: string;
253
+ section: string;
254
+ };
255
+ layout: {
256
+ header: string;
257
+ subHeader: string;
258
+ content: string;
259
+ footer: string;
260
+ container: string;
261
+ };
262
+ components: {
263
+ card: string;
264
+ input: string;
265
+ table: string;
266
+ tableHeader: string;
267
+ tableRow: string;
268
+ };
269
+ };
270
+ playful: {
271
+ typography: {
272
+ title: string;
273
+ subtitle: string;
274
+ label: string;
275
+ body: string;
276
+ caption: string;
277
+ };
278
+ components: {
279
+ card: string;
280
+ input: string;
281
+ table: string;
282
+ tableHeader: string;
283
+ tableRow: string;
284
+ };
285
+ buttons: {
286
+ primary: string;
287
+ secondary: string;
288
+ outline: string;
289
+ };
290
+ spacing: {
291
+ page: string;
292
+ header: string;
293
+ content: string;
294
+ footer: string;
295
+ section: string;
296
+ };
297
+ layout: {
298
+ header: string;
299
+ subHeader: string;
300
+ content: string;
301
+ footer: string;
302
+ container: string;
303
+ };
304
+ colors: {
305
+ borderDefault: string;
306
+ bgPrimary: string;
307
+ bgSecondary: string;
308
+ bgHover: string;
309
+ textPrimary: string;
310
+ textSecondary: string;
311
+ textMuted: string;
312
+ };
313
+ };
314
+ };
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Runtime theme utilities for dynamic styling
3
+ * Allows changing themes without re-rendering components
4
+ */
5
+ import { styles } from './styles';
6
+ export interface SimpleTheme {
7
+ colors?: {
8
+ primary?: string;
9
+ primaryHover?: string;
10
+ background?: string;
11
+ foreground?: string;
12
+ border?: string;
13
+ error?: string;
14
+ success?: string;
15
+ warning?: string;
16
+ };
17
+ typography?: {
18
+ fontFamily?: string;
19
+ fontSize?: {
20
+ base?: string;
21
+ small?: string;
22
+ large?: string;
23
+ };
24
+ };
25
+ spacing?: {
26
+ compact?: boolean;
27
+ scale?: number;
28
+ };
29
+ components?: {
30
+ button?: {
31
+ variant?: 'solid' | 'outline' | 'ghost';
32
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
33
+ };
34
+ table?: {
35
+ striped?: boolean;
36
+ bordered?: boolean;
37
+ compact?: boolean;
38
+ };
39
+ modal?: {
40
+ blur?: boolean;
41
+ shadow?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
42
+ };
43
+ input?: {
44
+ variant?: 'outline' | 'filled' | 'underline';
45
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
46
+ };
47
+ };
48
+ }
49
+ /**
50
+ * Apply a theme to the importer
51
+ * Can accept preset name, theme object, or partial overrides
52
+ */
53
+ export declare function applyTheme(container: HTMLElement, theme: string | SimpleTheme | typeof styles): void;
54
+ /**
55
+ * Get the current theme from a container
56
+ */
57
+ export declare function getCurrentTheme(container: HTMLElement): string | null;
58
+ /**
59
+ * Reset theme to default
60
+ */
61
+ export declare function resetTheme(container: HTMLElement): void;
62
+ /**
63
+ * Create a theme from a primary color
64
+ * Generates a full theme based on a single color
65
+ */
66
+ export declare function createThemeFromColor(primaryColor: string): SimpleTheme;
@@ -0,0 +1,120 @@
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
+ };