cozy-ui 136.2.2 → 136.3.0
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 +8 -0
- package/assets/icons/illus/ai-text.svg +1 -0
- package/package.json +1 -1
- package/react/AppTitle/index.jsx +5 -0
- package/react/Icon/Readme.md +3 -1
- package/react/Icons/AiText.jsx +15 -0
- package/react/MuiCozyTheme/overrides/makeLightNormalOverrides.js +3 -0
- package/react/Table/Virtualized/Dnd/TableRow.jsx +3 -2
- package/transpiled/react/AppTitle/index.js +5 -0
- package/transpiled/react/Icon/icons-sprite.d.ts +1 -1
- package/transpiled/react/Icon/icons-sprite.js +1 -1
- package/transpiled/react/Icons/AiText.d.ts +2 -0
- package/transpiled/react/Icons/AiText.js +15 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeDarkInvertedOverrides.d.ts +3 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeDarkNormalOverrides.d.ts +3 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeLightInvertedOverrides.d.ts +3 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.d.ts +3 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.js +3 -0
- package/transpiled/react/Table/Virtualized/Dnd/TableRow.js +4 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/illus/ai-text.svg` to regenerate;
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function SvgAiText(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
viewBox: "0 0 27 22",
|
|
8
|
+
fill: "none"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M4.169 21.561h-4.17L7.592 0h4.821l7.602 21.561h-4.17l-5.758-17.14h-.169L4.17 21.562zm.137-8.454h11.37v3.138H4.306v-3.138zM26.759 0v21.561h-3.905V0h3.905z",
|
|
11
|
+
fill: "#97A3B7"
|
|
12
|
+
}));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default SvgAiText;
|
|
@@ -511,6 +511,9 @@ export var makeLightNormalOverrides = function makeLightNormalOverrides(theme) {
|
|
|
511
511
|
},
|
|
512
512
|
MuiTableRow: {
|
|
513
513
|
root: {
|
|
514
|
+
'&.new': {
|
|
515
|
+
backgroundColor: theme.palette.action.hover
|
|
516
|
+
},
|
|
514
517
|
'&.disabled': {
|
|
515
518
|
cursor: 'pointer',
|
|
516
519
|
pointerEvents: 'none',
|
|
@@ -127,8 +127,10 @@ var TableRow = function TableRow(_ref) {
|
|
|
127
127
|
ref: function ref(node) {
|
|
128
128
|
return dragRef(dropRef(node));
|
|
129
129
|
},
|
|
130
|
-
selected: isSelected || dropCollect.isOver
|
|
131
|
-
className: cx(dragCollect.isDragging ? 'virtualized u-o-50' : 'virtualized'
|
|
130
|
+
selected: isSelected || dropCollect.isOver,
|
|
131
|
+
className: cx(dragCollect.isDragging ? 'virtualized u-o-50' : 'virtualized', {
|
|
132
|
+
new: isNew
|
|
133
|
+
}),
|
|
132
134
|
disabled: isDisabled,
|
|
133
135
|
hover: true
|
|
134
136
|
}));
|