cozy-ui 126.0.0 → 126.2.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 +19 -0
- package/assets/icons/illus/only-office.svg +1 -0
- package/package.json +1 -1
- package/react/ActionsMenu/index.jsx +1 -1
- package/react/Icon/Readme.md +3 -1
- package/react/Icons/OnlyOffice.jsx +71 -0
- package/react/deprecated/Table/index.jsx +28 -36
- package/transpiled/react/ActionsMenu/index.js +1 -1
- package/transpiled/react/Icon/icons-sprite.d.ts +1 -1
- package/transpiled/react/Icon/icons-sprite.js +1 -1
- package/transpiled/react/Icons/OnlyOffice.d.ts +2 -0
- package/transpiled/react/Icons/OnlyOffice.js +67 -0
- package/transpiled/react/deprecated/Table/index.js +30 -36
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/illus/only-office.svg` to regenerate;
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function SvgOnlyOffice(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
fill: "none"
|
|
9
|
+
}, props), /*#__PURE__*/React.createElement("g", {
|
|
10
|
+
clipPath: "url(#only-office_svg__clip0_6882_51948)",
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
clipRule: "evenodd"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M7 15.172l-6.58-3.02c-.56-.264-.56-.672 0-.912l2.291-1.055 4.265 1.966c.56.264 1.463.264 1.999 0l4.265-1.966 2.29 1.055c.561.264.561.671 0 .911l-6.58 3.021c-.511.24-1.413.24-1.95 0z",
|
|
15
|
+
fill: "url(#only-office_svg__paint0_linear_6882_51948)"
|
|
16
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M7 11.456L.42 8.436c-.56-.265-.56-.672 0-.912l2.243-1.03L7 8.483c.56.263 1.462.263 1.998 0l4.338-1.99 2.242 1.03c.561.264.561.671 0 .911L9 11.456c-.56.264-1.462.264-1.998 0z",
|
|
18
|
+
fill: "url(#only-office_svg__paint1_linear_6882_51948)"
|
|
19
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
20
|
+
d: "M7 7.836L.42 4.815c-.56-.264-.56-.672 0-.911L7 .883c.561-.264 1.463-.264 2 0l6.58 3.02c.56.264.56.672 0 .912L9 7.835c-.561.24-1.463.24-2 0z",
|
|
21
|
+
fill: "url(#only-office_svg__paint2_linear_6882_51948)"
|
|
22
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
23
|
+
id: "only-office_svg__paint0_linear_6882_51948",
|
|
24
|
+
x1: 7.994,
|
|
25
|
+
y1: 18.035,
|
|
26
|
+
x2: 7.994,
|
|
27
|
+
y2: 7.007,
|
|
28
|
+
gradientUnits: "userSpaceOnUse"
|
|
29
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
30
|
+
stopColor: "#FCC2B1"
|
|
31
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
32
|
+
offset: 0.885,
|
|
33
|
+
stopColor: "#D9420B"
|
|
34
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
35
|
+
id: "only-office_svg__paint1_linear_6882_51948",
|
|
36
|
+
x1: 7.994,
|
|
37
|
+
y1: 13.26,
|
|
38
|
+
x2: 7.994,
|
|
39
|
+
y2: 6.007,
|
|
40
|
+
gradientUnits: "userSpaceOnUse"
|
|
41
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
42
|
+
stopColor: "#DEEDC9"
|
|
43
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
44
|
+
offset: 0.661,
|
|
45
|
+
stopColor: "#8BBA25"
|
|
46
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
47
|
+
id: "only-office_svg__paint2_linear_6882_51948",
|
|
48
|
+
x1: 7.994,
|
|
49
|
+
y1: 10.323,
|
|
50
|
+
x2: 7.994,
|
|
51
|
+
y2: 0.453,
|
|
52
|
+
gradientUnits: "userSpaceOnUse"
|
|
53
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
54
|
+
stopColor: "#C2EBFA"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
56
|
+
offset: 1,
|
|
57
|
+
stopColor: "#26A8DE"
|
|
58
|
+
})), /*#__PURE__*/React.createElement("clipPath", {
|
|
59
|
+
id: "only-office_svg__clip0_6882_51948"
|
|
60
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
61
|
+
fill: "#fff",
|
|
62
|
+
transform: "translate(0 .556)",
|
|
63
|
+
d: "M0 0h16v14.889H0z"
|
|
64
|
+
}))));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export default SvgOnlyOffice;
|
|
@@ -17,87 +17,81 @@ var styles = {
|
|
|
17
17
|
"TableCell": "styles__TableCell___3vgVE",
|
|
18
18
|
"TableHeader": "styles__TableHeader___ERsVK"
|
|
19
19
|
};
|
|
20
|
-
export var Table = /*#__PURE__*/React.forwardRef(function (
|
|
21
|
-
var className =
|
|
22
|
-
|
|
20
|
+
export var Table = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21
|
+
var className = _ref.className,
|
|
22
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
23
23
|
|
|
24
24
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
25
25
|
className: cx(styles.Table, className)
|
|
26
|
-
},
|
|
26
|
+
}, props, {
|
|
27
27
|
ref: ref
|
|
28
28
|
}));
|
|
29
29
|
});
|
|
30
|
-
export var TableHead = /*#__PURE__*/React.forwardRef(function (
|
|
31
|
-
var className =
|
|
32
|
-
|
|
30
|
+
export var TableHead = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
31
|
+
var className = _ref2.className,
|
|
32
|
+
props = _objectWithoutProperties(_ref2, _excluded2);
|
|
33
33
|
|
|
34
34
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
35
35
|
className: cx(styles.TableHead, className)
|
|
36
|
-
},
|
|
36
|
+
}, props, {
|
|
37
37
|
ref: ref
|
|
38
38
|
}));
|
|
39
39
|
});
|
|
40
|
-
export var TableBody = /*#__PURE__*/React.forwardRef(function (
|
|
41
|
-
var className =
|
|
42
|
-
|
|
40
|
+
export var TableBody = /*#__PURE__*/React.forwardRef(function (_ref3, ref) {
|
|
41
|
+
var className = _ref3.className,
|
|
42
|
+
props = _objectWithoutProperties(_ref3, _excluded3);
|
|
43
43
|
|
|
44
44
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
45
45
|
className: cx(styles.TableBody, className)
|
|
46
|
-
},
|
|
46
|
+
}, props, {
|
|
47
47
|
ref: ref
|
|
48
48
|
}));
|
|
49
49
|
});
|
|
50
|
-
export var TableRow = /*#__PURE__*/React.forwardRef(function (
|
|
51
|
-
var className =
|
|
52
|
-
|
|
50
|
+
export var TableRow = /*#__PURE__*/React.forwardRef(function (_ref4, ref) {
|
|
51
|
+
var className = _ref4.className,
|
|
52
|
+
props = _objectWithoutProperties(_ref4, _excluded4);
|
|
53
53
|
|
|
54
54
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
55
55
|
className: cx(styles.TableRow, className)
|
|
56
|
-
},
|
|
56
|
+
}, props, {
|
|
57
57
|
ref: ref
|
|
58
58
|
}));
|
|
59
59
|
});
|
|
60
|
-
export var TableCell = /*#__PURE__*/React.forwardRef(function (
|
|
61
|
-
var className =
|
|
62
|
-
|
|
60
|
+
export var TableCell = /*#__PURE__*/React.forwardRef(function (_ref5, ref) {
|
|
61
|
+
var className = _ref5.className,
|
|
62
|
+
props = _objectWithoutProperties(_ref5, _excluded5);
|
|
63
63
|
|
|
64
64
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
65
65
|
className: cx(styles.TableCell, className)
|
|
66
|
-
},
|
|
66
|
+
}, props, {
|
|
67
67
|
ref: ref
|
|
68
68
|
}));
|
|
69
69
|
});
|
|
70
|
-
export var TableHeader = /*#__PURE__*/React.forwardRef(function (
|
|
71
|
-
var className =
|
|
72
|
-
|
|
70
|
+
export var TableHeader = /*#__PURE__*/React.forwardRef(function (_ref6, ref) {
|
|
71
|
+
var className = _ref6.className,
|
|
72
|
+
props = _objectWithoutProperties(_ref6, _excluded6);
|
|
73
73
|
|
|
74
74
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
75
75
|
className: cx(styles.TableHeader, className)
|
|
76
|
-
},
|
|
76
|
+
}, props, {
|
|
77
77
|
ref: ref
|
|
78
78
|
}));
|
|
79
79
|
});
|
|
80
80
|
Table.propTypes = {
|
|
81
|
-
className: PropTypes.string
|
|
82
|
-
ref: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
81
|
+
className: PropTypes.string
|
|
83
82
|
};
|
|
84
83
|
TableHead.propTypes = {
|
|
85
|
-
className: PropTypes.string
|
|
86
|
-
ref: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
84
|
+
className: PropTypes.string
|
|
87
85
|
};
|
|
88
86
|
TableBody.propTypes = {
|
|
89
|
-
className: PropTypes.string
|
|
90
|
-
ref: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
87
|
+
className: PropTypes.string
|
|
91
88
|
};
|
|
92
89
|
TableRow.propTypes = {
|
|
93
|
-
className: PropTypes.string
|
|
94
|
-
ref: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
90
|
+
className: PropTypes.string
|
|
95
91
|
};
|
|
96
92
|
TableCell.propTypes = {
|
|
97
|
-
className: PropTypes.string
|
|
98
|
-
ref: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
93
|
+
className: PropTypes.string
|
|
99
94
|
};
|
|
100
95
|
TableHeader.propTypes = {
|
|
101
|
-
className: PropTypes.string
|
|
102
|
-
ref: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
96
|
+
className: PropTypes.string
|
|
103
97
|
};
|