@importcsv/react 0.4.6 → 0.4.8
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.
- package/README.md +47 -84
- package/build/preact/index.esm.js +2461 -2500
- package/build/preact/index.esm.js.map +1 -1
- package/build/preact/index.js +21 -119
- package/build/preact/index.js.map +1 -1
- package/build/react/index.esm.js +2350 -2370
- package/build/react/index.esm.js.map +1 -1
- package/build/react/index.js +21 -119
- package/build/react/index.js.map +1 -1
- package/package.json +11 -10
- package/build/App.d.ts +0 -2
- package/build/bundled/index.esm.js +0 -11531
- package/build/bundled/index.esm.js.map +0 -1
- package/build/bundled/index.js +0 -139
- package/build/bundled/index.js.map +0 -1
- package/build/bundled/index.umd.js +0 -139
- package/build/bundled/index.umd.js.map +0 -1
- package/build/bundled-styles.d.ts +0 -1
- package/build/components/CSVImporter/index.d.ts +0 -55
- package/build/components/CSVImporter/index.test.d.ts +0 -1
- package/build/components/CSVImporterHeadless.d.ts +0 -46
- package/build/components/ColumnMapper.d.ts +0 -28
- package/build/components/Modal/index.d.ts +0 -12
- package/build/components/Uploader.d.ts +0 -27
- package/build/components/Validator.d.ts +0 -28
- package/build/components/__tests__/CSVImporterHeadless.test.d.ts +0 -1
- package/build/components/__tests__/ColumnMapper.test.d.ts +0 -1
- package/build/components/__tests__/Uploader.test.d.ts +0 -1
- package/build/components/__tests__/Validator.test.d.ts +0 -1
- package/build/components/index.d.ts +0 -3
- package/build/config/index.d.ts +0 -5
- package/build/headless/__tests__/integration.test.d.ts +0 -10
- package/build/headless/__tests__/root.test.d.ts +0 -1
- package/build/headless/__tests__/root.types.test-d.d.ts +0 -1
- package/build/headless/__tests__/slot-components.test.d.ts +0 -1
- package/build/headless/__tests__/validator.test.d.ts +0 -1
- package/build/headless/back-button.d.ts +0 -29
- package/build/headless/index.d.ts +0 -45
- package/build/headless/next-button.d.ts +0 -29
- package/build/headless/root.d.ts +0 -40
- package/build/headless/submit-button.d.ts +0 -29
- package/build/headless/types.d.ts +0 -52
- package/build/headless/upload-trigger.d.ts +0 -29
- package/build/headless/utils/slot.d.ts +0 -20
- package/build/headless/utils/zodSchemaToColumns.d.ts +0 -25
- package/build/headless/utils/zodSchemaToColumns.test.d.ts +0 -1
- package/build/headless/validator.d.ts +0 -28
- package/build/i18n/de.d.ts +0 -32
- package/build/i18n/es.d.ts +0 -32
- package/build/i18n/fr.d.ts +0 -32
- package/build/i18n/i18n.d.ts +0 -6
- package/build/i18n/it.d.ts +0 -32
- package/build/i18n/useTranslation.d.ts +0 -9
- package/build/importer/components/Box/index.d.ts +0 -2
- package/build/importer/components/Box/index.test.d.ts +0 -1
- package/build/importer/components/Box/types/index.d.ts +0 -6
- package/build/importer/components/Checkbox/index.d.ts +0 -3
- package/build/importer/components/Checkbox/index.test.d.ts +0 -1
- package/build/importer/components/Checkbox/types/index.d.ts +0 -8
- package/build/importer/components/Errors/index.d.ts +0 -4
- package/build/importer/components/Input/index.d.ts +0 -2
- package/build/importer/components/Input/index.test.d.ts +0 -1
- package/build/importer/components/Input/types/index.d.ts +0 -24
- package/build/importer/components/Root/index.d.ts +0 -2
- package/build/importer/components/StepLayout/index.d.ts +0 -19
- package/build/importer/components/Stepper/hooks/useStepper.d.ts +0 -4
- package/build/importer/components/Stepper/hooks/useStepper.test.d.ts +0 -1
- package/build/importer/components/Stepper/index.d.ts +0 -2
- package/build/importer/components/Stepper/index.test.d.ts +0 -1
- package/build/importer/components/Stepper/types/index.d.ts +0 -14
- package/build/importer/components/Table/index.d.ts +0 -9
- package/build/importer/components/Table/types/index.d.ts +0 -43
- package/build/importer/components/ToggleFilter/index.d.ts +0 -3
- package/build/importer/components/ToggleFilter/types/index.d.ts +0 -11
- package/build/importer/components/Tooltip/index.d.ts +0 -2
- package/build/importer/components/Tooltip/types/index.d.ts +0 -11
- package/build/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -12
- package/build/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
- package/build/importer/components/UploaderWrapper/types/index.d.ts +0 -2
- package/build/importer/components/VirtualTable/index.d.ts +0 -17
- package/build/importer/components/VirtualTable/index.test.d.ts +0 -1
- package/build/importer/components/ui/alert.d.ts +0 -15
- package/build/importer/components/ui/button.d.ts +0 -15
- package/build/importer/components/ui/card.d.ts +0 -20
- package/build/importer/components/ui/checkbox.d.ts +0 -10
- package/build/importer/components/ui/dialog.d.ts +0 -39
- package/build/importer/components/ui/flex.d.ts +0 -24
- package/build/importer/components/ui/input.d.ts +0 -8
- package/build/importer/components/ui/select.d.ts +0 -17
- package/build/importer/components/ui/switch.d.ts +0 -11
- package/build/importer/components/ui/toast.d.ts +0 -22
- package/build/importer/components/ui/toaster.d.ts +0 -2
- package/build/importer/components/ui/tooltip.d.ts +0 -25
- package/build/importer/components/ui/use-toast.d.ts +0 -46
- package/build/importer/features/complete/index.d.ts +0 -2
- package/build/importer/features/complete/types/index.d.ts +0 -5
- package/build/importer/features/configure-import/index.d.ts +0 -14
- package/build/importer/features/configure-import/types/index.d.ts +0 -13
- package/build/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
- package/build/importer/features/main/hooks/useMutableLocalStorage.test.d.ts +0 -1
- package/build/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
- package/build/importer/features/main/hooks/useStepNavigation.test.d.ts +0 -1
- package/build/importer/features/main/index.d.ts +0 -2
- package/build/importer/features/main/types/index.d.ts +0 -16
- package/build/importer/features/map-columns/components/DropDownFields.d.ts +0 -22
- package/build/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -17
- package/build/importer/features/map-columns/index.d.ts +0 -3
- package/build/importer/features/map-columns/types/index.d.ts +0 -16
- package/build/importer/features/row-selection/index.d.ts +0 -3
- package/build/importer/features/row-selection/types/index.d.ts +0 -8
- package/build/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
- package/build/importer/features/uploader/index.d.ts +0 -2
- package/build/importer/features/uploader/types/index.d.ts +0 -9
- package/build/importer/features/validation/Validation.d.ts +0 -3
- package/build/importer/features/validation/__tests__/Validation.zod.test.d.ts +0 -1
- package/build/importer/features/validation/components/TransformModal.d.ts +0 -19
- package/build/importer/features/validation/components/TransformPanel.d.ts +0 -19
- package/build/importer/features/validation/index.d.ts +0 -1
- package/build/importer/features/validation/types.d.ts +0 -34
- package/build/importer/hooks/useClickOutside.d.ts +0 -1
- package/build/importer/hooks/useClickOutside.test.d.ts +0 -1
- package/build/importer/hooks/useCustomStyles.d.ts +0 -1
- package/build/importer/hooks/useCustomStyles.test.d.ts +0 -1
- package/build/importer/hooks/useEventListener.d.ts +0 -4
- package/build/importer/hooks/useEventListener.test.d.ts +0 -1
- package/build/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
- package/build/importer/hooks/useIsomorphicLayoutEffect.test.d.ts +0 -1
- package/build/importer/hooks/useRect.d.ts +0 -12
- package/build/importer/hooks/useRect.test.d.ts +0 -1
- package/build/importer/hooks/useWindowSize.d.ts +0 -1
- package/build/importer/hooks/useWindowSize.test.d.ts +0 -1
- package/build/importer/providers/Theme.d.ts +0 -10
- package/build/importer/providers/index.d.ts +0 -5
- package/build/importer/providers/types/index.d.ts +0 -10
- package/build/importer/services/api.d.ts +0 -1
- package/build/importer/services/mapping.d.ts +0 -31
- package/build/importer/services/mapping.test.d.ts +0 -1
- package/build/importer/services/transformation.d.ts +0 -70
- package/build/importer/services/transformation.test.d.ts +0 -1
- package/build/importer/settings/theme/colors.d.ts +0 -4
- package/build/importer/settings/theme/index.d.ts +0 -2
- package/build/importer/settings/theme/sizes.d.ts +0 -7
- package/build/importer/stores/theme.d.ts +0 -17
- package/build/importer/theme/index.d.ts +0 -8
- package/build/importer/theme/presets.d.ts +0 -314
- package/build/importer/theme/runtime.d.ts +0 -66
- package/build/importer/theme/styles.d.ts +0 -120
- package/build/importer/types/index.d.ts +0 -9
- package/build/importer/utils/colorUtils.d.ts +0 -48
- package/build/importer/utils/colorUtils.test.d.ts +0 -1
- package/build/importer/utils/errorAnalysis.d.ts +0 -25
- package/build/importer/utils/errorAnalysis.test.d.ts +0 -1
- package/build/importer/utils/getStringLengthOfChildren.d.ts +0 -2
- package/build/importer/utils/getStringLengthOfChildren.test.d.ts +0 -1
- package/build/importer/utils/stringSimilarity.d.ts +0 -1
- package/build/importer/utils/stringSimilarity.test.d.ts +0 -1
- package/build/importer/utils/template.d.ts +0 -2
- package/build/importer/utils/template.test.d.ts +0 -1
- package/build/importer/utils/themeUtils.d.ts +0 -24
- package/build/importer/utils/themeUtils.test.d.ts +0 -1
- package/build/importer/utils/utils.d.ts +0 -19
- package/build/importer/utils/utils.test.d.ts +0 -1
- package/build/index.d.ts +0 -10
- package/build/index.dev.d.ts +0 -1
- package/build/js.d.ts +0 -57
- package/build/services/api.d.ts +0 -50
- package/build/services/apiClient.d.ts +0 -55
- package/build/settings/defaults.d.ts +0 -3
- package/build/shims/react-compat-shim.d.ts +0 -43
- package/build/shims/react-hooks-shim.d.ts +0 -2
- package/build/styles.d.ts +0 -1
- package/build/test/helpers.d.ts +0 -28
- package/build/test/mocks/api.d.ts +0 -8
- package/build/test/mocks/localStorage.d.ts +0 -6
- package/build/test/setup.d.ts +0 -1
- package/build/types/index.d.ts +0 -137
- package/build/types/theme.d.ts +0 -153
- package/build/utils/cn.d.ts +0 -6
- package/build/utils/cn.test.d.ts +0 -1
- package/build/validation/transformationStages.d.ts +0 -26
- package/build/validation/transformer.d.ts +0 -17
- package/build/validation/validator.d.ts +0 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@importcsv/react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"description": "AI-powered CSV importer for React. Smart column mapping with OpenAI, natural language transformations. Self-hosted.",
|
|
5
5
|
"main": "build/react/index.js",
|
|
6
6
|
"module": "build/react/index.esm.js",
|
|
@@ -107,20 +107,19 @@
|
|
|
107
107
|
"@babel/preset-typescript": "^7.21.5",
|
|
108
108
|
"@preact/compat": "^18.3.1",
|
|
109
109
|
"@preact/preset-vite": "^2.10.2",
|
|
110
|
+
"@testing-library/dom": "^10.4.1",
|
|
110
111
|
"@testing-library/jest-dom": "^6.9.0",
|
|
111
112
|
"@testing-library/preact": "^3.2.4",
|
|
112
113
|
"@testing-library/user-event": "^14.6.1",
|
|
113
114
|
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
|
|
114
115
|
"@types/babel__core": "^7.20.1",
|
|
115
|
-
"@types/jest": "^24.9.1",
|
|
116
116
|
"@types/papaparse": "^5.3.14",
|
|
117
117
|
"@types/react": "^18.0.0",
|
|
118
118
|
"@types/react-dom": "^18.0.0",
|
|
119
119
|
"@types/use-sync-external-store": "0.0.3",
|
|
120
|
-
"@types/xlsx": "^0.0.36",
|
|
121
120
|
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
122
121
|
"@typescript-eslint/parser": "^5.56.0",
|
|
123
|
-
"@vitejs/plugin-react": "^5.0
|
|
122
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
124
123
|
"@vitest/coverage-v8": "^3.2.4",
|
|
125
124
|
"@vitest/ui": "^3.2.4",
|
|
126
125
|
"autoprefixer": "^10.4.21",
|
|
@@ -129,26 +128,24 @@
|
|
|
129
128
|
"eslint-config-prettier": "^8.8.0",
|
|
130
129
|
"eslint-plugin-prettier": "^4.2.1",
|
|
131
130
|
"eslint-plugin-react": "^7.32.2",
|
|
132
|
-
"happy-dom": "^
|
|
133
|
-
"identity-obj-proxy": "^3.0.0",
|
|
134
|
-
"jest": "^26.6.3",
|
|
131
|
+
"happy-dom": "^20.0.11",
|
|
135
132
|
"jsdom": "^27.0.0",
|
|
136
133
|
"npm-run-all": "^4.1.5",
|
|
137
134
|
"postcss": "^8.5.3",
|
|
138
135
|
"postcss-import": "^16.1.1",
|
|
139
136
|
"postcss-prefix-selector": "^2.1.1",
|
|
137
|
+
"preact": "^10.28.1",
|
|
140
138
|
"prettier": "^2.8.6",
|
|
141
139
|
"prop-types": "^15.8.1",
|
|
142
140
|
"react": "^19.2.3",
|
|
143
141
|
"react-dom": "^19.2.3",
|
|
144
142
|
"style-loader": "^3.3.3",
|
|
145
143
|
"tailwindcss": "^3.4.0",
|
|
146
|
-
"ts-jest": "^26.5.6",
|
|
147
144
|
"tsd": "^0.33.0",
|
|
148
145
|
"typescript": "^4.5.5",
|
|
149
146
|
"typescript-plugin-css-modules": "^3.4.0",
|
|
150
147
|
"use-sync-external-store": "^1.2.0",
|
|
151
|
-
"vite": "^7.
|
|
148
|
+
"vite": "^7.3.0",
|
|
152
149
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
153
150
|
"vite-plugin-dts": "^4.5.4",
|
|
154
151
|
"vitest": "^3.2.4",
|
|
@@ -166,5 +163,9 @@
|
|
|
166
163
|
"tailwind-merge": "^3.2.0",
|
|
167
164
|
"zustand": "^4.4.7"
|
|
168
165
|
},
|
|
169
|
-
"type": "module"
|
|
166
|
+
"type": "module",
|
|
167
|
+
"overrides": {
|
|
168
|
+
"glob": "^11.0.0",
|
|
169
|
+
"js-yaml": "^4.1.1"
|
|
170
|
+
}
|
|
170
171
|
}
|
package/build/App.d.ts
DELETED