@panneau/field-display 4.0.11 → 4.0.15

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,16 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface DisplayFieldProps {
4
+ value?: unknown;
5
+ display?: string | null;
6
+ className?: string | null;
7
+ [key: string]: unknown;
8
+ }
9
+ declare function DisplayField({ value, display, className, ...props }: DisplayFieldProps): react_jsx_runtime.JSX.Element;
10
+
11
+ declare namespace _default {
12
+ let id: string;
13
+ let component: string;
14
+ }
15
+
16
+ export { DisplayField as default, _default as definition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/field-display",
3
- "version": "4.0.11",
3
+ "version": "4.0.15",
4
4
  "description": "A field rendering a display",
5
5
  "keywords": [
6
6
  "javascript"
@@ -26,18 +26,21 @@
26
26
  ],
27
27
  "license": "ISC",
28
28
  "type": "module",
29
- "module": "es/index.js",
29
+ "module": "dist/index.js",
30
+ "types": "dist/index.d.ts",
30
31
  "exports": {
31
- ".": "./es/index.js"
32
+ ".": {
33
+ "default": "./dist/index.js",
34
+ "types": "./dist/index.d.ts"
35
+ }
32
36
  },
33
37
  "files": [
34
- "lib",
35
- "es",
38
+ "dist",
36
39
  "assets"
37
40
  ],
38
41
  "scripts": {
39
42
  "prepublishOnly": "npm run build",
40
- "build": "../../scripts/prepare-package.sh"
43
+ "build": "../../scripts/prepare-package.sh --types"
41
44
  },
42
45
  "devDependencies": {
43
46
  "react": "^19.0.0",
@@ -49,13 +52,12 @@
49
52
  },
50
53
  "dependencies": {
51
54
  "@babel/runtime": "^7.12.5",
52
- "@panneau/core": "^4.0.11",
53
- "@panneau/themes": "^4.0.11",
54
- "classnames": "^2.5.1",
55
- "prop-types": "^15.7.2"
55
+ "@panneau/core": "^4.0.15",
56
+ "@panneau/themes": "^4.0.15",
57
+ "classnames": "^2.5.1"
56
58
  },
57
59
  "publishConfig": {
58
60
  "access": "public"
59
61
  },
60
- "gitHead": "fe8264ed2815da0b5a40339dec99999c6fe70751"
62
+ "gitHead": "83c02ca2f26e02383ef452ffcafda984d0b211cd"
61
63
  }
File without changes