@entur/form 8.3.2-beta.0 → 8.3.2-beta.10

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.
@@ -0,0 +1,2 @@
1
+ export declare function hasValue(value: any): boolean;
2
+ export declare function isFilled(obj: any, SSR?: boolean): boolean;
@@ -0,0 +1,7 @@
1
+ /** Denne filen er deprecated. Bruk VariantType fra @entur/utils istedenfor */
2
+ /** @deprecated use variant="information" instead */
3
+ declare const info = "info";
4
+ /** @deprecated use variant="negative" instead */
5
+ declare const error = "error";
6
+ export type VariantType = 'success' | 'negative' | 'warning' | 'information' | typeof error | typeof info;
7
+ export {};
package/package.json CHANGED
@@ -1,18 +1,10 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "8.3.2-beta.0",
3
+ "version": "8.3.2-beta.10",
4
4
  "license": "EUPL-1.2",
5
- "main": "dist/form.cjs.js",
5
+ "main": "dist/index.js",
6
6
  "module": "dist/form.esm.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/form.esm.js",
12
- "require": "./dist/form.cjs.js"
13
- },
14
- "./dist/*": "./dist/*"
15
- },
7
+ "typings": "dist/index.d.ts",
16
8
  "files": [
17
9
  "dist"
18
10
  ],
@@ -25,36 +17,26 @@
25
17
  "access": "public"
26
18
  },
27
19
  "scripts": {
28
- "start": "vite build --watch",
29
- "build": "vite build",
30
- "test": "jest",
31
- "lint": "eslint src"
20
+ "start": "dts watch --noClean",
21
+ "build": "dts build",
22
+ "test": "dts test",
23
+ "lint": "dts lint src"
32
24
  },
33
25
  "peerDependencies": {
34
26
  "react": ">=16.8.0",
35
27
  "react-dom": ">=16.8.0"
36
28
  },
37
29
  "dependencies": {
38
- "@entur/button": "^3.3.13-beta.0",
39
- "@entur/icons": "^8.0.1-beta.0",
40
- "@entur/tokens": "^3.19.2-beta.0",
41
- "@entur/tooltip": "^5.2.13-beta.0",
42
- "@entur/typography": "^1.9.13-beta.0",
43
- "@entur/utils": "^0.12.4-beta.0",
44
- "classnames": "^2.5.1"
30
+ "@entur/button": "^3.3.13-beta.10",
31
+ "@entur/icons": "^8.0.0",
32
+ "@entur/tokens": "^3.19.1",
33
+ "@entur/tooltip": "^5.2.13-beta.10",
34
+ "@entur/typography": "^1.10.0-beta.10",
35
+ "@entur/utils": "^0.12.3",
36
+ "classnames": "^2.3.1"
45
37
  },
46
38
  "devDependencies": {
47
- "@testing-library/jest-dom": "^5.17.0",
48
- "@testing-library/react": "^10.4.9",
49
- "@testing-library/user-event": "14.6.1",
50
- "@vitejs/plugin-react": "^5.0.1",
51
- "eslint": "^7.32.0",
52
- "jest": "^29.0.0",
53
- "jest-environment-jsdom": "^29.0.0",
54
- "ts-jest": "^29.0.0",
55
- "typescript": "^5.9.2",
56
- "vite": "^7.1.3",
57
- "vite-plugin-dts": "^4.5.4"
39
+ "dts-cli": "2.0.5"
58
40
  },
59
- "gitHead": "414181fa2084722438238256a9aa32e304896b9d"
41
+ "gitHead": "180506f42d45f01bf4129fa538e414379735a4b4"
60
42
  }