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.
@@ -0,0 +1,2 @@
1
+ export default SvgAiText;
2
+ declare function SvgAiText(props: any): JSX.Element;
@@ -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;
@@ -609,6 +609,9 @@ export function makeDarkInvertedOverrides(theme: any): {
609
609
  };
610
610
  MuiTableRow: {
611
611
  root: {
612
+ '&.new': {
613
+ backgroundColor: any;
614
+ };
612
615
  '&.disabled': {
613
616
  cursor: string;
614
617
  pointerEvents: string;
@@ -609,6 +609,9 @@ export function makeDarkNormalOverrides(theme: any): {
609
609
  };
610
610
  MuiTableRow: {
611
611
  root: {
612
+ '&.new': {
613
+ backgroundColor: any;
614
+ };
612
615
  '&.disabled': {
613
616
  cursor: string;
614
617
  pointerEvents: string;
@@ -609,6 +609,9 @@ export function makeLightInvertedOverrides(theme: any): {
609
609
  };
610
610
  MuiTableRow: {
611
611
  root: {
612
+ '&.new': {
613
+ backgroundColor: any;
614
+ };
612
615
  '&.disabled': {
613
616
  cursor: string;
614
617
  pointerEvents: string;
@@ -609,6 +609,9 @@ export function makeLightNormalOverrides(theme: any): {
609
609
  };
610
610
  MuiTableRow: {
611
611
  root: {
612
+ '&.new': {
613
+ backgroundColor: any;
614
+ };
612
615
  '&.disabled': {
613
616
  cursor: string;
614
617
  pointerEvents: string;
@@ -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 || isNew,
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
  }));