siam-ui-utils 2.0.6 → 2.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "2.0.6",
3
+ "version": "2.0.11",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -57,14 +57,5 @@
57
57
  "vite": "^5.3.4",
58
58
  "vite-plugin-eslint": "^1.8.1",
59
59
  "vitest": "^2.0.5"
60
- },
61
- "resolutions": {
62
- "@babel/core": "7.19.6",
63
- "@babel/generator": "7.19.6",
64
- "@babel/compat-data": "7.19.4",
65
- "@babel/helper-compilation-targets": "7.19.3",
66
- "@babel/helper-create-class-features-plugin": "7.19.0",
67
- "@babel/helper-module-transforms": "7.19.6",
68
- "babel-loader": "8.2.5"
69
60
  }
70
61
  }
@@ -1,3 +1,4 @@
1
+ /* eslint-disable react/prop-types */
1
2
  import React, { useEffect, useState } from 'react'
2
3
  import { getDroppedOrSelectedFiles } from 'html5-file-selector'
3
4
  import Dropzone from 'react-dropzone-uploader'
package/tsconfig.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
- "compilerOptions": {
3
- "target": "es6",
4
- "lib": [
5
- "dom",
6
- "dom.iterable",
7
- "esnext"
8
- ],
9
- "allowJs": true,
10
- "esModuleInterop": true,
11
- "skipLibCheck": true,
12
- "strict": true,
13
- "forceConsistentCasingInFileNames": true,
14
- "module": "ESNext",
15
- "moduleResolution": "node",
16
- "noImplicitReturns": true,
17
- "resolveJsonModule": true,
18
- "isolatedModules": true,
19
- "noEmit": true,
20
- "jsx": "preserve",
21
- },
22
- "include": [
23
- "src",
24
- "index.d.ts"
25
- ]
2
+ "compilerOptions": {
3
+ "target": "es6",
4
+ "lib": [
5
+ "dom",
6
+ "dom.iterable",
7
+ "esnext"
8
+ ],
9
+ "allowJs": true,
10
+ "esModuleInterop": true,
11
+ "skipLibCheck": true,
12
+ "strict": true,
13
+ "forceConsistentCasingInFileNames": true,
14
+ "module": "commonjs",
15
+ "moduleResolution": "node",
16
+ "noImplicitReturns": true,
17
+ "resolveJsonModule": true,
18
+ "isolatedModules": true,
19
+ "noEmit": true,
20
+ "jsx": "preserve",
21
+ },
22
+ "include": [
23
+ "src",
24
+ "index.d.ts"
25
+ ]
26
26
  }
package/vite.config.ts CHANGED
@@ -1,10 +1,10 @@
1
- import react from "@vitejs/plugin-react";
2
- import { defineConfig } from "vitest/config";
3
- import eslint from 'vite-plugin-eslint';
4
-
5
- export default defineConfig({
6
- plugins: [react(), eslint()],
7
- test: {
8
- globals: true,
9
- },
10
- });
1
+ import react from "@vitejs/plugin-react";
2
+ import { defineConfig } from "vitest/config";
3
+ import eslint from 'vite-plugin-eslint';
4
+
5
+ export default defineConfig({
6
+ plugins: [react(), eslint()],
7
+ test: {
8
+ globals: true,
9
+ },
10
+ });