@importcsv/react 0.2.4 → 0.2.6

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 (28) hide show
  1. package/build/preact/components/Modal/index.d.ts +12 -0
  2. package/build/preact/importer/components/Table/types/index.d.ts +42 -0
  3. package/build/preact/importer/components/ui/alert.d.ts +4 -1
  4. package/build/preact/importer/components/ui/tooltip.d.ts +6 -2
  5. package/build/preact/index.d.ts +1 -0
  6. package/build/preact/index.esm.js +3994 -3823
  7. package/build/preact/index.esm.js.map +1 -1
  8. package/build/preact/index.js +31 -31
  9. package/build/preact/index.js.map +1 -1
  10. package/build/react/components/CSVImporter/index.d.ts +1 -1
  11. package/build/react/importer/components/Root/index.d.ts +1 -1
  12. package/build/react/importer/components/ui/alert.d.ts +3 -3
  13. package/build/react/importer/components/ui/button.d.ts +1 -1
  14. package/build/react/importer/components/ui/card.d.ts +6 -6
  15. package/build/react/importer/components/ui/checkbox.d.ts +1 -1
  16. package/build/react/importer/components/ui/dialog.d.ts +5 -5
  17. package/build/react/importer/components/ui/flex.d.ts +5 -5
  18. package/build/react/importer/components/ui/input.d.ts +1 -1
  19. package/build/react/importer/components/ui/select.d.ts +1 -1
  20. package/build/react/importer/components/ui/switch.d.ts +1 -1
  21. package/build/react/importer/components/ui/toast.d.ts +5 -5
  22. package/build/react/importer/components/ui/tooltip.d.ts +2 -2
  23. package/build/react/index.esm.js +4 -4
  24. package/build/react/index.js +10 -10
  25. package/build/react/index.js.map +1 -1
  26. package/build/react/js.d.ts +1 -1
  27. package/package.json +1 -1
  28. package/build/preact/utils/injectStyles.d.ts +0 -14
@@ -3,7 +3,7 @@ type CreateImporterProps = CSVImporterProps & {
3
3
  domElement?: Element;
4
4
  };
5
5
  export declare function createCSVImporter(props: CreateImporterProps): {
6
- instance: (import('../react').FunctionalComponent<import('../react').PropsWithoutRef<CSVImporterProps> & {
6
+ instance: (import('../react').FunctionalComponent<import('./shims/react-compat-shim.js').PropsWithoutRef<CSVImporterProps> & {
7
7
  ref?: import('../react').Ref<unknown> | undefined;
8
8
  }> & HTMLDialogElement) | null;
9
9
  showModal: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@importcsv/react",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
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",
@@ -1,14 +0,0 @@
1
- /**
2
- * Injects ImportCSV styles into the document head
3
- * Uses a singleton pattern to prevent duplicate injection
4
- */
5
- export declare function injectImportCSVStyles(): void;
6
- /**
7
- * Removes ImportCSV styles from the DOM
8
- * Useful for cleanup in certain scenarios
9
- */
10
- export declare function removeImportCSVStyles(): void;
11
- /**
12
- * Checks if ImportCSV styles are currently injected
13
- */
14
- export declare function areStylesInjected(): boolean;