@panneau/display-text-description 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,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
2
4
|
interface TextDescriptionProps {
|
|
3
5
|
value?: string | Record<string, unknown> | null;
|
|
4
6
|
placeholder?: ReactNode | null;
|
|
@@ -11,5 +13,6 @@ interface TextDescriptionProps {
|
|
|
11
13
|
selected?: boolean;
|
|
12
14
|
className?: string | null;
|
|
13
15
|
}
|
|
14
|
-
declare function TextDescription({ value: initialValue, placeholder, locale: parentLocale, item, descriptionPath, descriptionValues, selected, className, }: TextDescriptionProps):
|
|
15
|
-
|
|
16
|
+
declare function TextDescription({ value: initialValue, placeholder, locale: parentLocale, item, descriptionPath, descriptionValues, selected, className, }: TextDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { TextDescription as default };
|
package/{es → dist}/index.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import get from 'lodash
|
|
4
|
-
import isObject from 'lodash
|
|
3
|
+
import get from 'lodash/get';
|
|
4
|
+
import isObject from 'lodash/isObject';
|
|
5
5
|
import { useMemo } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
7
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/display-text-description",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.14",
|
|
4
4
|
"description": "Text with description in list",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -26,21 +26,17 @@
|
|
|
26
26
|
],
|
|
27
27
|
"license": "ISC",
|
|
28
28
|
"type": "module",
|
|
29
|
-
"module": "
|
|
30
|
-
"types": "
|
|
29
|
+
"module": "dist/index.js",
|
|
30
|
+
"types": "dist/index.d.ts",
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|
|
33
|
-
"
|
|
34
|
-
|
|
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
|
-
"
|
|
41
|
-
"
|
|
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.
|
|
60
|
-
"@panneau/themes": "^4.0.
|
|
55
|
+
"@panneau/core": "^4.0.14",
|
|
56
|
+
"@panneau/themes": "^4.0.14",
|
|
61
57
|
"classnames": "^2.5.1",
|
|
62
|
-
"lodash
|
|
63
|
-
"prop-types": "^15.7.2",
|
|
58
|
+
"lodash": "^4.17.21",
|
|
64
59
|
"react-intl": "^5.15.8 || ^6.0.0 || ^7.0.0"
|
|
65
60
|
},
|
|
66
61
|
"publishConfig": {
|
|
67
62
|
"access": "public"
|
|
68
63
|
},
|
|
69
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "ce35c2ddb30a7be2efe951882d9826dca577f5d4"
|
|
70
65
|
}
|
package/types/index.d.ts
DELETED