@panneau/display-link 4.0.11 → 4.0.14

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.
@@ -1,4 +1,5 @@
1
- import { type ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
+
2
3
  interface LinkProps {
3
4
  item?: {
4
5
  id: string | number;
@@ -11,4 +12,5 @@ interface LinkProps {
11
12
  placeholder?: ReactNode | null;
12
13
  }
13
14
  declare function Link({ item, label, labelPath, value, external, target, placeholder, }: LinkProps): any;
14
- export default Link;
15
+
16
+ export { Link as default };
@@ -1,5 +1,5 @@
1
- import get from 'lodash-es/get';
2
- import isString from 'lodash-es/isString';
1
+ import get from 'lodash/get';
2
+ import isString from 'lodash/isString';
3
3
  import { FormattedMessage } from 'react-intl';
4
4
  import { Link as Link$1 } from 'wouter';
5
5
  import { jsx } from 'react/jsx-runtime';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/display-link",
3
- "version": "4.0.11",
3
+ "version": "4.0.14",
4
4
  "description": "Link item value in list",
5
5
  "keywords": [
6
6
  "javascript"
@@ -26,21 +26,17 @@
26
26
  ],
27
27
  "license": "ISC",
28
28
  "type": "module",
29
- "module": "es/index.js",
30
- "types": "types/index.d.ts",
29
+ "module": "dist/index.js",
30
+ "types": "dist/index.d.ts",
31
31
  "exports": {
32
32
  ".": {
33
- "import": {
34
- "default": "./es/index.js",
35
- "types": "./types/index.d.ts"
36
- }
33
+ "default": "./dist/index.js",
34
+ "types": "./dist/index.d.ts"
37
35
  }
38
36
  },
39
37
  "files": [
40
- "lib",
41
- "es",
42
- "assets",
43
- "types"
38
+ "dist",
39
+ "assets"
44
40
  ],
45
41
  "scripts": {
46
42
  "prepublishOnly": "npm run build",
@@ -56,15 +52,14 @@
56
52
  },
57
53
  "dependencies": {
58
54
  "@babel/runtime": "^7.12.5",
59
- "@panneau/core": "^4.0.11",
60
- "@panneau/themes": "^4.0.11",
61
- "lodash-es": "^4.17.21",
62
- "prop-types": "^15.7.2",
55
+ "@panneau/core": "^4.0.14",
56
+ "@panneau/themes": "^4.0.14",
57
+ "lodash": "^4.17.21",
63
58
  "react-intl": "^5.15.8 || ^6.0.0 || ^7.0.0",
64
59
  "wouter": "^3.1.2"
65
60
  },
66
61
  "publishConfig": {
67
62
  "access": "public"
68
63
  },
69
- "gitHead": "fe8264ed2815da0b5a40339dec99999c6fe70751"
64
+ "gitHead": "ce35c2ddb30a7be2efe951882d9826dca577f5d4"
70
65
  }
package/types/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export default Link;
2
- import Link from './Link';