cozy-ui 135.4.0 → 135.6.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/assets/icons/illus/assistant-color.svg +1 -0
  3. package/assets/icons/ui/expand.svg +1 -0
  4. package/assets/icons/ui/export.svg +1 -0
  5. package/assets/icons/ui/narrow.svg +1 -0
  6. package/package.json +1 -1
  7. package/react/ActionsMenu/Actions/exportToText.js +54 -0
  8. package/react/ActionsMenu/Actions/helpers.js +20 -0
  9. package/react/ActionsMenu/Actions/index.js +1 -0
  10. package/react/ActionsMenu/Actions/locales/en.json +2 -1
  11. package/react/ActionsMenu/Actions/locales/fr.json +2 -1
  12. package/react/ActionsMenu/Actions/locales/ru.json +3 -2
  13. package/react/ActionsMenu/Actions/locales/vi.json +3 -2
  14. package/react/ActionsMenu/Actions/pdfHelpers.js +187 -0
  15. package/react/Icon/Readme.md +10 -2
  16. package/react/Icons/AssistantColor.jsx +79 -0
  17. package/react/Icons/Expand.jsx +12 -0
  18. package/react/Icons/Export.jsx +13 -0
  19. package/react/Icons/Narrow.jsx +16 -0
  20. package/transpiled/react/ActionsMenu/Actions/exportToText.d.ts +13 -0
  21. package/transpiled/react/ActionsMenu/Actions/exportToText.js +84 -0
  22. package/transpiled/react/ActionsMenu/Actions/helpers.d.ts +1 -0
  23. package/transpiled/react/ActionsMenu/Actions/helpers.js +20 -1
  24. package/transpiled/react/ActionsMenu/Actions/index.d.ts +1 -0
  25. package/transpiled/react/ActionsMenu/Actions/index.js +2 -1
  26. package/transpiled/react/ActionsMenu/Actions/locales/withActionsLocales.js +8 -4
  27. package/transpiled/react/ActionsMenu/Actions/pdfHelpers.d.ts +34 -0
  28. package/transpiled/react/ActionsMenu/Actions/pdfHelpers.js +242 -0
  29. package/transpiled/react/Icon/icons-sprite.d.ts +1 -1
  30. package/transpiled/react/Icon/icons-sprite.js +1 -1
  31. package/transpiled/react/Icons/AssistantColor.d.ts +2 -0
  32. package/transpiled/react/Icons/AssistantColor.js +85 -0
  33. package/transpiled/react/Icons/Expand.d.ts +2 -0
  34. package/transpiled/react/Icons/Expand.js +14 -0
  35. package/transpiled/react/Icons/Export.d.ts +2 -0
  36. package/transpiled/react/Icons/Export.js +16 -0
  37. package/transpiled/react/Icons/Narrow.d.ts +2 -0
  38. package/transpiled/react/Icons/Narrow.js +16 -0
@@ -0,0 +1,2 @@
1
+ export default SvgAssistantColor;
2
+ declare function SvgAssistantColor(props: any): JSX.Element;
@@ -0,0 +1,85 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ // Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/illus/assistant-color.svg` to regenerate;
3
+ import React from 'react';
4
+
5
+ function SvgAssistantColor(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(#assistant-color_svg__clip0_19251_33606)"
11
+ }, /*#__PURE__*/React.createElement("path", {
12
+ d: "M6.626 10.332a1.333 1.333 0 00-.958-.958L1.578 8.32a.333.333 0 010-.642l4.09-1.055a1.333 1.333 0 00.958-.957l1.055-4.09a.333.333 0 01.642 0l1.054 4.09a1.333 1.333 0 00.958.958l4.09 1.054a.333.333 0 010 .642l-4.09 1.054a1.333 1.333 0 00-.958.958l-1.055 4.09a.333.333 0 01-.642 0l-1.054-4.09z",
13
+ stroke: "#868687",
14
+ strokeWidth: 1.333,
15
+ strokeLinecap: "round",
16
+ strokeLinejoin: "round"
17
+ }), /*#__PURE__*/React.createElement("path", {
18
+ d: "M6.626 10.332a1.333 1.333 0 00-.958-.958L1.578 8.32a.333.333 0 010-.642l4.09-1.055a1.333 1.333 0 00.958-.957l1.055-4.09a.333.333 0 01.642 0l1.054 4.09a1.333 1.333 0 00.958.958l4.09 1.054a.333.333 0 010 .642l-4.09 1.054a1.333 1.333 0 00-.958.958l-1.055 4.09a.333.333 0 01-.642 0l-1.054-4.09z",
19
+ stroke: "url(#assistant-color_svg__paint0_linear_19251_33606)",
20
+ strokeOpacity: 0.9,
21
+ strokeWidth: 1.333,
22
+ strokeLinecap: "round",
23
+ strokeLinejoin: "round"
24
+ }), /*#__PURE__*/React.createElement("path", {
25
+ d: "M13.335 1.334c.368 0 .667.3.667.667v.666h.668a.667.667 0 010 1.334h-.668v.667a.667.667 0 01-1.334 0v-.667h-.665a.667.667 0 010-1.334h.665v-.666c0-.368.299-.667.667-.667z",
26
+ fill: "url(#assistant-color_svg__paint1_linear_19251_33606)",
27
+ fillOpacity: 0.9
28
+ }), /*#__PURE__*/React.createElement("path", {
29
+ d: "M2.667 10.667c.368 0 .665.298.666.665a.667.667 0 01.001 1.333v.002a.667.667 0 01-1.334 0v-.001h-.001a.667.667 0 010-1.334H2a.667.667 0 01.667-.665z",
30
+ fill: "url(#assistant-color_svg__paint2_linear_19251_33606)",
31
+ fillOpacity: 0.9
32
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
33
+ id: "assistant-color_svg__paint0_linear_19251_33606",
34
+ x1: 1.336,
35
+ y1: 7.999,
36
+ x2: 19.625,
37
+ y2: 7.999,
38
+ gradientUnits: "userSpaceOnUse"
39
+ }, /*#__PURE__*/React.createElement("stop", {
40
+ stopColor: "#00B7FF"
41
+ }), /*#__PURE__*/React.createElement("stop", {
42
+ offset: 0.567,
43
+ stopColor: "#E06DD1"
44
+ }), /*#__PURE__*/React.createElement("stop", {
45
+ offset: 1,
46
+ stopColor: "#FF0"
47
+ })), /*#__PURE__*/React.createElement("linearGradient", {
48
+ id: "assistant-color_svg__paint1_linear_19251_33606",
49
+ x1: 11.336,
50
+ y1: 3.334,
51
+ x2: 16.822,
52
+ y2: 3.334,
53
+ gradientUnits: "userSpaceOnUse"
54
+ }, /*#__PURE__*/React.createElement("stop", {
55
+ stopColor: "#00B7FF"
56
+ }), /*#__PURE__*/React.createElement("stop", {
57
+ offset: 0.567,
58
+ stopColor: "#E06DD1"
59
+ }), /*#__PURE__*/React.createElement("stop", {
60
+ offset: 1,
61
+ stopColor: "#FF0"
62
+ })), /*#__PURE__*/React.createElement("linearGradient", {
63
+ id: "assistant-color_svg__paint2_linear_19251_33606",
64
+ x1: 1.332,
65
+ y1: 12.001,
66
+ x2: 4.99,
67
+ y2: 12.001,
68
+ gradientUnits: "userSpaceOnUse"
69
+ }, /*#__PURE__*/React.createElement("stop", {
70
+ stopColor: "#00B7FF"
71
+ }), /*#__PURE__*/React.createElement("stop", {
72
+ offset: 0.567,
73
+ stopColor: "#E06DD1"
74
+ }), /*#__PURE__*/React.createElement("stop", {
75
+ offset: 1,
76
+ stopColor: "#FF0"
77
+ })), /*#__PURE__*/React.createElement("clipPath", {
78
+ id: "assistant-color_svg__clip0_19251_33606"
79
+ }, /*#__PURE__*/React.createElement("path", {
80
+ fill: "#fff",
81
+ d: "M0 0h16v16H0z"
82
+ }))));
83
+ }
84
+
85
+ export default SvgAssistantColor;
@@ -0,0 +1,2 @@
1
+ export default SvgExpand;
2
+ declare function SvgExpand(props: any): JSX.Element;
@@ -0,0 +1,14 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ // Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/expand.svg` to regenerate;
3
+ import React from 'react';
4
+
5
+ function SvgExpand(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ viewBox: "0 0 16 16",
8
+ fill: "none"
9
+ }, props), /*#__PURE__*/React.createElement("path", {
10
+ d: "M14.8 15.2a.8.8 0 00-.8-.8H2.8a.8.8 0 000 1.6H14a.8.8 0 00.8-.8zm0-14.4A.8.8 0 0014 0H2.8a.8.8 0 100 1.6H14a.8.8 0 00.8-.8zM6.893 9.833a.799.799 0 00-1.128 1.132l1.928 1.928a1 1 0 001.414 0l1.928-1.928a.799.799 0 00-1.128-1.132l-.707.703V5.464l.707.703a.799.799 0 001.128-1.132L9.107 3.107a1 1 0 00-1.414 0L5.765 5.035a.799.799 0 001.128 1.132l.707-.703v5.072l-.707-.703z"
11
+ }));
12
+ }
13
+
14
+ export default SvgExpand;
@@ -0,0 +1,2 @@
1
+ export default SvgExport;
2
+ declare function SvgExport(props: any): JSX.Element;
@@ -0,0 +1,16 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ // Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/export.svg` to regenerate;
3
+ import React from 'react';
4
+
5
+ function SvgExport(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ viewBox: "0 0 16 16",
8
+ fill: "none"
9
+ }, props), /*#__PURE__*/React.createElement("path", {
10
+ d: "M14.8 4v10.4l-.008.159A1.6 1.6 0 0113.2 16H3.6a1.6 1.6 0 01-1.014-.362l-.117-.107a1.6 1.6 0 01-.461-.972L2 14.4V1.6c0-.372.13-.73.362-1.014L2.47.469A1.6 1.6 0 013.599 0h7.2l4 4zM3.6 14.4h9.6V5.6h-1.598a2.4 2.4 0 01-2.4-2.4V1.6H3.6v12.8zm7.202-11.2a.8.8 0 00.8.8h.935l-1.736-1.736V3.2z"
11
+ }), /*#__PURE__*/React.createElement("path", {
12
+ d: "M8.401 7.2a.8.8 0 01.8.799v2.867l1.034-1.032a.8.8 0 111.131 1.13l-2.4 2.401a.794.794 0 01-.436.222.817.817 0 01-.13.013.793.793 0 01-.127-.013.794.794 0 01-.438-.222l-2.4-2.4a.8.8 0 111.131-1.131l1.035 1.034V8a.8.8 0 01.8-.8z"
13
+ }));
14
+ }
15
+
16
+ export default SvgExport;
@@ -0,0 +1,2 @@
1
+ export default SvgNarrow;
2
+ declare function SvgNarrow(props: any): JSX.Element;
@@ -0,0 +1,16 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ // Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/narrow.svg` to regenerate;
3
+ import React from 'react';
4
+
5
+ function SvgNarrow(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ viewBox: "0 0 16 16",
8
+ fill: "none"
9
+ }, props), /*#__PURE__*/React.createElement("path", {
10
+ fillRule: "evenodd",
11
+ clipRule: "evenodd",
12
+ d: "M15.736.264a.9.9 0 010 1.274L12.07 5.204h2.027a.9.9 0 110 1.802H9.896a.9.9 0 01-.901-.9V1.901a.9.9 0 111.802 0V3.93L14.462.264a.9.9 0 011.274 0zM1 9.895a.9.9 0 01.902-.901h4.203a.9.9 0 01.901.9v4.204a.9.9 0 01-1.802 0V12.07l-3.666 3.667a.9.9 0 01-1.274-1.274l3.667-3.666H1.9a.9.9 0 01-.9-.901z"
13
+ }));
14
+ }
15
+
16
+ export default SvgNarrow;