@panneau/action-duplicate 3.0.295 → 3.0.299
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/es/index.js +1 -3
- package/package.json +5 -7
- package/assets/css/styles.css +0 -0
package/es/index.js
CHANGED
|
@@ -10,8 +10,6 @@ import { useModalsComponentsManager } from '@panneau/core/contexts';
|
|
|
10
10
|
import { useActionProps } from '@panneau/core/hooks';
|
|
11
11
|
import Button from '@panneau/element-button';
|
|
12
12
|
|
|
13
|
-
var styles = {};
|
|
14
|
-
|
|
15
13
|
var _excluded = ["id", "title", "description", "endpoint", "action", "label", "icon", "value", "theme", "disabled", "onChange", "onConfirmed", "valueLabelPath", "modalComponent", "withConfirmation", "className"];
|
|
16
14
|
var propTypes = {
|
|
17
15
|
id: PropTypes.string.isRequired,
|
|
@@ -112,7 +110,7 @@ var DuplicateAction = function DuplicateAction(_ref) {
|
|
|
112
110
|
});
|
|
113
111
|
}, [ids, endpoint, action, onChange, onClose, setError]);
|
|
114
112
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, Object.assign({
|
|
115
|
-
className: classNames([
|
|
113
|
+
className: classNames([_defineProperty({}, className, className !== null)]),
|
|
116
114
|
label: label,
|
|
117
115
|
icon: icon,
|
|
118
116
|
onClick: withConfirmation ? onOpen : null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/action-duplicate",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.299",
|
|
4
4
|
"description": "Duplicate action",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -28,9 +28,7 @@
|
|
|
28
28
|
"type": "module",
|
|
29
29
|
"module": "es/index.js",
|
|
30
30
|
"exports": {
|
|
31
|
-
".": "./es/index.js"
|
|
32
|
-
"./assets/css/styles": "./assets/css/styles.css",
|
|
33
|
-
"./assets/css/styles.css": "./assets/css/styles.css"
|
|
31
|
+
".": "./es/index.js"
|
|
34
32
|
},
|
|
35
33
|
"files": [
|
|
36
34
|
"lib",
|
|
@@ -53,8 +51,8 @@
|
|
|
53
51
|
"@babel/runtime": "^7.12.5",
|
|
54
52
|
"@folklore/fetch": "^0.1.17",
|
|
55
53
|
"@panneau/core": "^3.0.295",
|
|
56
|
-
"@panneau/element-button": "^3.0.
|
|
57
|
-
"@panneau/themes": "^3.0.
|
|
54
|
+
"@panneau/element-button": "^3.0.299",
|
|
55
|
+
"@panneau/themes": "^3.0.299",
|
|
58
56
|
"classnames": "^2.5.1",
|
|
59
57
|
"prop-types": "^15.7.2",
|
|
60
58
|
"react-intl": "^5.15.8||^6.0.0"
|
|
@@ -62,5 +60,5 @@
|
|
|
62
60
|
"publishConfig": {
|
|
63
61
|
"access": "public"
|
|
64
62
|
},
|
|
65
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "265c38d01fe6da4ef49ff2792cf07a496424d985"
|
|
66
64
|
}
|
package/assets/css/styles.css
DELETED
|
File without changes
|