cozy-ui-plus 3.1.0 → 3.1.2
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.1.2](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@3.1.1...cozy-ui-plus@3.1.2) (2025-12-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package cozy-ui-plus
|
|
9
|
+
|
|
10
|
+
## [3.1.1](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@3.1.0...cozy-ui-plus@3.1.1) (2025-12-04)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **cozy-ui-plus:** Import ListItem from transpiled cozy-ui ([997f4e2](https://github.com/cozy/cozy-libs/commit/997f4e27fd3bc7d54e02637a45180c908cbc39d5))
|
|
15
|
+
|
|
6
16
|
# [3.1.0](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@3.0.0...cozy-ui-plus@3.1.0) (2025-12-04)
|
|
7
17
|
|
|
8
18
|
### Features
|
|
@@ -441,6 +441,7 @@ var makeInitialCustomValue = function makeInitialCustomValue(name, value) {
|
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
443
|
/**
|
|
444
|
+
* Merge custom fields and default fields
|
|
444
445
|
* @param {(import('../types').Field)[]|undefined} customFields
|
|
445
446
|
* @param {(import('../types').Field)[]} defaultFields
|
|
446
447
|
* @returns {(import('../types').Field)[]}
|
|
@@ -25,14 +25,14 @@ var _IconButton = _interopRequireDefault(require("cozy-ui/transpiled/react/IconB
|
|
|
25
25
|
|
|
26
26
|
var _Dots = _interopRequireDefault(require("cozy-ui/transpiled/react/Icons/Dots"));
|
|
27
27
|
|
|
28
|
+
var _ListItem = _interopRequireDefault(require("cozy-ui/transpiled/react/ListItem"));
|
|
29
|
+
|
|
28
30
|
var _ListItemIcon = _interopRequireDefault(require("cozy-ui/transpiled/react/ListItemIcon"));
|
|
29
31
|
|
|
30
32
|
var _ListItemSecondaryAction = _interopRequireDefault(require("cozy-ui/transpiled/react/ListItemSecondaryAction"));
|
|
31
33
|
|
|
32
34
|
var _ListItemText = _interopRequireDefault(require("cozy-ui/transpiled/react/ListItemText"));
|
|
33
35
|
|
|
34
|
-
var _ = _interopRequireDefault(require(".."));
|
|
35
|
-
|
|
36
36
|
var _ExpandedAttributes = _interopRequireDefault(require("../ExpandedAttributes"));
|
|
37
37
|
|
|
38
38
|
var _RenameInput = _interopRequireDefault(require("./Renaming/RenameInput"));
|
|
@@ -80,7 +80,7 @@ var ListItemBase = function ListItemBase(_ref) {
|
|
|
80
80
|
var showActionMenuHeader = actionMenuComp === null || actionMenuComp === void 0 ? void 0 : actionMenuComp.Header;
|
|
81
81
|
var isButton = !isRenaming && !!onClick;
|
|
82
82
|
var handleClick = !isRenaming && !isSelected && onClick ? onClick : undefined;
|
|
83
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(
|
|
83
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_ListItem.default, {
|
|
84
84
|
button: isButton,
|
|
85
85
|
disabled: isSelected,
|
|
86
86
|
onClick: handleClick
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-ui-plus",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Cozy-ui-plus is an extension of cozy-ui and provides components based on cozy-client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"react": "^16 || ^17 || ^18",
|
|
73
73
|
"react-dom": "^16 || ^17 || ^18"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "7ec62d8445c373a3cb8de5234eee52d388ff274d"
|
|
76
76
|
}
|
|
@@ -372,6 +372,7 @@ export const makeInitialCustomValue = (name, value) => {
|
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
|
+
* Merge custom fields and default fields
|
|
375
376
|
* @param {(import('../types').Field)[]|undefined} customFields
|
|
376
377
|
* @param {(import('../types').Field)[]} defaultFields
|
|
377
378
|
* @returns {(import('../types').Field)[]}
|
|
@@ -7,11 +7,11 @@ import Checkbox from 'cozy-ui/transpiled/react/Checkbox'
|
|
|
7
7
|
import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
8
8
|
import IconButton from 'cozy-ui/transpiled/react/IconButton'
|
|
9
9
|
import DotsIcon from 'cozy-ui/transpiled/react/Icons/Dots'
|
|
10
|
+
import ListItem from 'cozy-ui/transpiled/react/ListItem'
|
|
10
11
|
import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon'
|
|
11
12
|
import ListItemSecondaryAction from 'cozy-ui/transpiled/react/ListItemSecondaryAction'
|
|
12
13
|
import ListItemText from 'cozy-ui/transpiled/react/ListItemText'
|
|
13
14
|
|
|
14
|
-
import ListItem from '..'
|
|
15
15
|
import ExpandedAttributes from '../ExpandedAttributes'
|
|
16
16
|
import RenameInput from './Renaming/RenameInput'
|
|
17
17
|
import withListItemLocales from '../hoc/withListItemLocales'
|