@blaze-cms/plugin-media-ui 0.139.0-core-styles.2 → 0.139.0-core-styles.4
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,14 @@
|
|
|
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
|
+
# [0.139.0-core-styles.4](https://github.com/thebyte9/blaze/compare/v0.139.0-core-styles.3...v0.139.0-core-styles.4) (2024-01-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @blaze-cms/plugin-media-ui
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [0.139.0-core-styles.2](https://github.com/thebyte9/blaze/compare/v0.139.0-core-styles.1...v0.139.0-core-styles.2) (2024-01-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @blaze-cms/plugin-media-ui
|
|
@@ -12,78 +12,69 @@ function MediaLibraryIcon(_ref) {
|
|
|
12
12
|
var _ref$width = _ref.width,
|
|
13
13
|
width = _ref$width === void 0 ? _constants.ICON_SIZE.WIDTH : _ref$width,
|
|
14
14
|
_ref$height = _ref.height,
|
|
15
|
-
height = _ref$height === void 0 ? _constants.ICON_SIZE.HEIGHT : _ref$height
|
|
15
|
+
height = _ref$height === void 0 ? _constants.ICON_SIZE.HEIGHT : _ref$height,
|
|
16
|
+
_ref$stroke = _ref.stroke,
|
|
17
|
+
stroke = _ref$stroke === void 0 ? _constants.ICON_COLOR.STROKE : _ref$stroke;
|
|
16
18
|
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
17
19
|
width: width,
|
|
18
20
|
height: height,
|
|
19
|
-
viewBox: "0 0 23
|
|
21
|
+
viewBox: "0 0 23 22",
|
|
20
22
|
version: "1.1",
|
|
21
23
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22
24
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
23
|
-
}, /*#__PURE__*/_react["default"].createElement("title", null, "
|
|
24
|
-
id: "
|
|
25
|
+
}, /*#__PURE__*/_react["default"].createElement("title", null, "media-library"), /*#__PURE__*/_react["default"].createElement("g", {
|
|
26
|
+
id: "Page-1",
|
|
25
27
|
stroke: "none",
|
|
26
|
-
strokeWidth: 1,
|
|
28
|
+
strokeWidth: "1",
|
|
27
29
|
fill: "none",
|
|
28
30
|
fillRule: "evenodd"
|
|
29
31
|
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
30
|
-
id: "
|
|
31
|
-
transform: "translate(
|
|
32
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
33
|
-
id: "Group-4",
|
|
34
|
-
transform: "translate(9, 19)"
|
|
35
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
36
|
-
id: "Group-11",
|
|
37
|
-
transform: "translate(0, 260)"
|
|
38
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
39
|
-
id: "icons/media-library",
|
|
40
|
-
transform: "translate(6, 6.8852)"
|
|
41
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
42
|
-
id: "photograph",
|
|
43
|
-
transform: "translate(0, 0.1148)"
|
|
32
|
+
id: "media-library",
|
|
33
|
+
transform: "translate(1, 1.5)"
|
|
44
34
|
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
45
35
|
id: "Group",
|
|
46
|
-
transform: "translate(11.
|
|
36
|
+
transform: "translate(11.2707, 9.5) rotate(10) translate(-11.2707, -9.5)translate(2.7864, 1.3495)"
|
|
47
37
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
48
|
-
d: "
|
|
38
|
+
d: "M6.97432089e-17,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 6.97432089e-17,0.912280592 6.97432089e-17,2.03763573 L6.97432089e-17,14.2634501 C6.97432089e-17,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z",
|
|
49
39
|
id: "Shape",
|
|
50
|
-
stroke:
|
|
51
|
-
strokeWidth: "1.5",
|
|
40
|
+
stroke: stroke,
|
|
52
41
|
strokeLinecap: "round",
|
|
53
42
|
strokeLinejoin: "round"
|
|
54
43
|
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
55
44
|
id: "Oval",
|
|
56
45
|
fill: "#899BBC",
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
46
|
+
fillRule: "nonzero",
|
|
47
|
+
cx: "10.6975876",
|
|
48
|
+
cy: "4.41487742",
|
|
49
|
+
rx: "1.106647",
|
|
50
|
+
ry: "1.01881787"
|
|
61
51
|
})), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
62
52
|
id: "Rectangle",
|
|
63
53
|
fill: "#FFFFFF",
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
54
|
+
fillRule: "nonzero",
|
|
55
|
+
x: "0",
|
|
56
|
+
y: "2.52861778",
|
|
57
|
+
width: "16.9685872",
|
|
58
|
+
height: "16.3010859",
|
|
59
|
+
rx: "3"
|
|
69
60
|
}), /*#__PURE__*/_react["default"].createElement("g", {
|
|
70
61
|
id: "Group",
|
|
71
|
-
transform: "translate(0,
|
|
62
|
+
transform: "translate(0, 2.5286)"
|
|
72
63
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
73
|
-
d: "M0,12 L4.
|
|
64
|
+
d: "M0,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 0,0.912280592 0,2.03763573 L0,14.2634501 C0,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z",
|
|
74
65
|
id: "Shape",
|
|
75
66
|
stroke: "#63779C",
|
|
76
|
-
strokeWidth: "1.5",
|
|
77
67
|
strokeLinecap: "round",
|
|
78
68
|
strokeLinejoin: "round"
|
|
79
69
|
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
80
70
|
id: "Oval",
|
|
81
71
|
fill: "#63779C",
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
72
|
+
fillRule: "nonzero",
|
|
73
|
+
cx: "10.6975876",
|
|
74
|
+
cy: "4.41487742",
|
|
75
|
+
rx: "1.106647",
|
|
76
|
+
ry: "1.01881787"
|
|
77
|
+
})))));
|
|
87
78
|
}
|
|
88
79
|
var _default = MediaLibraryIcon;
|
|
89
80
|
exports["default"] = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaLibraryIcon.js","names":["_react","_interopRequireDefault","require","_constants","MediaLibraryIcon","_ref","_ref$width","width","ICON_SIZE","WIDTH","_ref$height","height","HEIGHT","createElement","viewBox","version","xmlns","xmlnsXlink","id","
|
|
1
|
+
{"version":3,"file":"MediaLibraryIcon.js","names":["_react","_interopRequireDefault","require","_constants","MediaLibraryIcon","_ref","_ref$width","width","ICON_SIZE","WIDTH","_ref$height","height","HEIGHT","_ref$stroke","stroke","ICON_COLOR","STROKE","createElement","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fill","fillRule","transform","d","strokeLinecap","strokeLinejoin","cx","cy","rx","ry","x","y","_default","exports"],"sources":["../../src/icons/MediaLibraryIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_SIZE, ICON_COLOR } from '../constants';\n\nfunction MediaLibraryIcon({\n width = ICON_SIZE.WIDTH,\n height = ICON_SIZE.HEIGHT,\n stroke = ICON_COLOR.STROKE\n}) {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 23 22\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>media-library</title>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n <g id=\"media-library\" transform=\"translate(1, 1.5)\">\n <g\n id=\"Group\"\n transform=\"translate(11.2707, 9.5) rotate(10) translate(-11.2707, -9.5)translate(2.7864, 1.3495)\">\n <path\n d=\"M6.97432089e-17,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 6.97432089e-17,0.912280592 6.97432089e-17,2.03763573 L6.97432089e-17,14.2634501 C6.97432089e-17,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z\"\n id=\"Shape\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <ellipse\n id=\"Oval\"\n fill=\"#899BBC\"\n fillRule=\"nonzero\"\n cx=\"10.6975876\"\n cy=\"4.41487742\"\n rx=\"1.106647\"\n ry=\"1.01881787\"\n />\n </g>\n <rect\n id=\"Rectangle\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n x=\"0\"\n y=\"2.52861778\"\n width=\"16.9685872\"\n height=\"16.3010859\"\n rx=\"3\"\n />\n <g id=\"Group\" transform=\"translate(0, 2.5286)\">\n <path\n d=\"M0,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 0,0.912280592 0,2.03763573 L0,14.2634501 C0,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z\"\n id=\"Shape\"\n stroke=\"#63779C\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <ellipse\n id=\"Oval\"\n fill=\"#63779C\"\n fillRule=\"nonzero\"\n cx=\"10.6975876\"\n cy=\"4.41487742\"\n rx=\"1.106647\"\n ry=\"1.01881787\"\n />\n </g>\n </g>\n </g>\n </svg>\n );\n}\n\nexport default MediaLibraryIcon;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,SAASE,gBAAgBA,CAAAC,IAAA,EAItB;EAAA,IAAAC,UAAA,GAAAD,IAAA,CAHDE,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAGE,oBAAS,CAACC,KAAK,GAAAH,UAAA;IAAAI,WAAA,GAAAL,IAAA,CACvBM,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAGF,oBAAS,CAACI,MAAM,GAAAF,WAAA;IAAAG,WAAA,GAAAR,I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AAE,EAAC;EAAG,CACP,CAAC,eACFhC,MAAA,YAAAiB,aAAA;IAAGK,EAAE,EAAC,OAAO;IAACI,SAAS,EAAC;EAAsB,gBAC5C1B,MAAA,YAAAiB,aAAA;IACEU,CAAC,EAAC,ikBAAikB;IACnkBL,EAAE,EAAC,OAAO;IACVR,MAAM,EAAC,SAAS;IAChBc,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC;EAAO,CACvB,CAAC,eACF7B,MAAA,YAAAiB,aAAA;IACEK,EAAE,EAAC,MAAM;IACTE,IAAI,EAAC,SAAS;IACdC,QAAQ,EAAC,SAAS;IAClBK,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,UAAU;IACbC,EAAE,EAAC;EAAY,CAChB,CACA,CACF,CACF,CACA,CAAC;AAEV;AAAC,IAAAG,QAAA,GAEchC,gBAAgB;AAAAiC,OAAA,cAAAD,QAAA"}
|
|
@@ -1,80 +1,70 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ICON_SIZE } from '../constants';
|
|
2
|
+
import { ICON_SIZE, ICON_COLOR } from '../constants';
|
|
3
3
|
function MediaLibraryIcon({
|
|
4
4
|
width = ICON_SIZE.WIDTH,
|
|
5
|
-
height = ICON_SIZE.HEIGHT
|
|
5
|
+
height = ICON_SIZE.HEIGHT,
|
|
6
|
+
stroke = ICON_COLOR.STROKE
|
|
6
7
|
}) {
|
|
7
8
|
return /*#__PURE__*/React.createElement("svg", {
|
|
8
9
|
width: width,
|
|
9
10
|
height: height,
|
|
10
|
-
viewBox: "0 0 23
|
|
11
|
+
viewBox: "0 0 23 22",
|
|
11
12
|
version: "1.1",
|
|
12
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13
14
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
14
|
-
}, /*#__PURE__*/React.createElement("title", null, "
|
|
15
|
-
id: "
|
|
15
|
+
}, /*#__PURE__*/React.createElement("title", null, "media-library"), /*#__PURE__*/React.createElement("g", {
|
|
16
|
+
id: "Page-1",
|
|
16
17
|
stroke: "none",
|
|
17
|
-
strokeWidth: 1,
|
|
18
|
+
strokeWidth: "1",
|
|
18
19
|
fill: "none",
|
|
19
20
|
fillRule: "evenodd"
|
|
20
21
|
}, /*#__PURE__*/React.createElement("g", {
|
|
21
|
-
id: "
|
|
22
|
-
transform: "translate(
|
|
23
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
24
|
-
id: "Group-4",
|
|
25
|
-
transform: "translate(9, 19)"
|
|
26
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
27
|
-
id: "Group-11",
|
|
28
|
-
transform: "translate(0, 260)"
|
|
29
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
30
|
-
id: "icons/media-library",
|
|
31
|
-
transform: "translate(6, 6.8852)"
|
|
32
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
33
|
-
id: "photograph",
|
|
34
|
-
transform: "translate(0, 0.1148)"
|
|
22
|
+
id: "media-library",
|
|
23
|
+
transform: "translate(1, 1.5)"
|
|
35
24
|
}, /*#__PURE__*/React.createElement("g", {
|
|
36
25
|
id: "Group",
|
|
37
|
-
transform: "translate(11.
|
|
26
|
+
transform: "translate(11.2707, 9.5) rotate(10) translate(-11.2707, -9.5)translate(2.7864, 1.3495)"
|
|
38
27
|
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
d: "
|
|
28
|
+
d: "M6.97432089e-17,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 6.97432089e-17,0.912280592 6.97432089e-17,2.03763573 L6.97432089e-17,14.2634501 C6.97432089e-17,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z",
|
|
40
29
|
id: "Shape",
|
|
41
|
-
stroke:
|
|
42
|
-
strokeWidth: "1.5",
|
|
30
|
+
stroke: stroke,
|
|
43
31
|
strokeLinecap: "round",
|
|
44
32
|
strokeLinejoin: "round"
|
|
45
33
|
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
46
34
|
id: "Oval",
|
|
47
35
|
fill: "#899BBC",
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
36
|
+
fillRule: "nonzero",
|
|
37
|
+
cx: "10.6975876",
|
|
38
|
+
cy: "4.41487742",
|
|
39
|
+
rx: "1.106647",
|
|
40
|
+
ry: "1.01881787"
|
|
52
41
|
})), /*#__PURE__*/React.createElement("rect", {
|
|
53
42
|
id: "Rectangle",
|
|
54
43
|
fill: "#FFFFFF",
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
44
|
+
fillRule: "nonzero",
|
|
45
|
+
x: "0",
|
|
46
|
+
y: "2.52861778",
|
|
47
|
+
width: "16.9685872",
|
|
48
|
+
height: "16.3010859",
|
|
49
|
+
rx: "3"
|
|
60
50
|
}), /*#__PURE__*/React.createElement("g", {
|
|
61
51
|
id: "Group",
|
|
62
|
-
transform: "translate(0,
|
|
52
|
+
transform: "translate(0, 2.5286)"
|
|
63
53
|
}, /*#__PURE__*/React.createElement("path", {
|
|
64
|
-
d: "M0,12 L4.
|
|
54
|
+
d: "M0,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 0,0.912280592 0,2.03763573 L0,14.2634501 C0,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z",
|
|
65
55
|
id: "Shape",
|
|
66
56
|
stroke: "#63779C",
|
|
67
|
-
strokeWidth: "1.5",
|
|
68
57
|
strokeLinecap: "round",
|
|
69
58
|
strokeLinejoin: "round"
|
|
70
59
|
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
71
60
|
id: "Oval",
|
|
72
61
|
fill: "#63779C",
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
62
|
+
fillRule: "nonzero",
|
|
63
|
+
cx: "10.6975876",
|
|
64
|
+
cy: "4.41487742",
|
|
65
|
+
rx: "1.106647",
|
|
66
|
+
ry: "1.01881787"
|
|
67
|
+
})))));
|
|
78
68
|
}
|
|
79
69
|
export default MediaLibraryIcon;
|
|
80
70
|
//# sourceMappingURL=MediaLibraryIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaLibraryIcon.js","names":["React","ICON_SIZE","MediaLibraryIcon","width","WIDTH","height","HEIGHT","createElement","viewBox","version","xmlns","xmlnsXlink","id","
|
|
1
|
+
{"version":3,"file":"MediaLibraryIcon.js","names":["React","ICON_SIZE","ICON_COLOR","MediaLibraryIcon","width","WIDTH","height","HEIGHT","stroke","STROKE","createElement","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fill","fillRule","transform","d","strokeLinecap","strokeLinejoin","cx","cy","rx","ry","x","y"],"sources":["../../src/icons/MediaLibraryIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_SIZE, ICON_COLOR } from '../constants';\n\nfunction MediaLibraryIcon({\n width = ICON_SIZE.WIDTH,\n height = ICON_SIZE.HEIGHT,\n stroke = ICON_COLOR.STROKE\n}) {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 23 22\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>media-library</title>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n <g id=\"media-library\" transform=\"translate(1, 1.5)\">\n <g\n id=\"Group\"\n transform=\"translate(11.2707, 9.5) rotate(10) translate(-11.2707, -9.5)translate(2.7864, 1.3495)\">\n <path\n d=\"M6.97432089e-17,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 6.97432089e-17,0.912280592 6.97432089e-17,2.03763573 L6.97432089e-17,14.2634501 C6.97432089e-17,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z\"\n id=\"Shape\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <ellipse\n id=\"Oval\"\n fill=\"#899BBC\"\n fillRule=\"nonzero\"\n cx=\"10.6975876\"\n cy=\"4.41487742\"\n rx=\"1.106647\"\n ry=\"1.01881787\"\n />\n </g>\n <rect\n id=\"Rectangle\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n x=\"0\"\n y=\"2.52861778\"\n width=\"16.9685872\"\n height=\"16.3010859\"\n rx=\"3\"\n />\n <g id=\"Group\" transform=\"translate(0, 2.5286)\">\n <path\n d=\"M0,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 0,0.912280592 0,2.03763573 L0,14.2634501 C0,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z\"\n id=\"Shape\"\n stroke=\"#63779C\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <ellipse\n id=\"Oval\"\n fill=\"#63779C\"\n fillRule=\"nonzero\"\n cx=\"10.6975876\"\n cy=\"4.41487742\"\n rx=\"1.106647\"\n ry=\"1.01881787\"\n />\n </g>\n </g>\n </g>\n </svg>\n );\n}\n\nexport default MediaLibraryIcon;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AAEpD,SAASC,gBAAgBA,CAAC;EACxBC,KAAK,GAAGH,SAAS,CAACI,KAAK;EACvBC,MAAM,GAAGL,SAAS,CAACM,MAAM;EACzBC,MAAM,GAAGN,UAAU,CAACO;AACtB,CAAC,EAAE;EACD,oBACET,KAAA,CAAAU,aAAA;IACEN,KAAK,EAAEA,KAAM;IACbE,MAAM,EAAEA,MAAO;IACfK,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAC,KAAK;IACbC,KAAK,EAAC,4BAA4B;IAClCC,UAAU,EAAC;EAA8B,gBACzCd,KAAA,CAAAU,aAAA,gBAAO,eAAoB,CAAC,eAC5BV,KAAA,CAAAU,aAAA;IAAGK,EAAE,EAAC,QAAQ;IAACP,MAAM,EAAC,MAAM;IAACQ,WAAW,EAAC,GAAG;IAACC,IAAI,EAAC,MAAM;IAACC,QAAQ,EAAC;EAAS,gBACzElB,KAAA,CAAAU,aAAA;IAAGK,EAAE,EAAC,eAAe;IA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package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blaze-cms/plugin-media-ui",
|
|
3
|
-
"version": "0.139.0-core-styles.
|
|
3
|
+
"version": "0.139.0-core-styles.4",
|
|
4
4
|
"description": "Blaze plugin media ui",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-es/index.js",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"lib/*",
|
|
58
58
|
"lib-es/*"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "ceeece3bb9a727b2aebccddcb8c94175666e3cf6"
|
|
61
61
|
}
|
|
@@ -1,72 +1,69 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ICON_SIZE } from '../constants';
|
|
2
|
+
import { ICON_SIZE, ICON_COLOR } from '../constants';
|
|
3
3
|
|
|
4
|
-
function MediaLibraryIcon({
|
|
4
|
+
function MediaLibraryIcon({
|
|
5
|
+
width = ICON_SIZE.WIDTH,
|
|
6
|
+
height = ICON_SIZE.HEIGHT,
|
|
7
|
+
stroke = ICON_COLOR.STROKE
|
|
8
|
+
}) {
|
|
5
9
|
return (
|
|
6
10
|
<svg
|
|
7
11
|
width={width}
|
|
8
12
|
height={height}
|
|
9
|
-
viewBox="0 0 23
|
|
13
|
+
viewBox="0 0 23 22"
|
|
10
14
|
version="1.1"
|
|
11
15
|
xmlns="http://www.w3.org/2000/svg"
|
|
12
16
|
xmlnsXlink="http://www.w3.org/1999/xlink">
|
|
13
|
-
<title>
|
|
14
|
-
<g id="
|
|
15
|
-
<g id="
|
|
16
|
-
<g
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
rx="1.0862069"
|
|
64
|
-
ry={1}
|
|
65
|
-
/>
|
|
66
|
-
</g>
|
|
67
|
-
</g>
|
|
68
|
-
</g>
|
|
69
|
-
</g>
|
|
17
|
+
<title>media-library</title>
|
|
18
|
+
<g id="Page-1" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
|
|
19
|
+
<g id="media-library" transform="translate(1, 1.5)">
|
|
20
|
+
<g
|
|
21
|
+
id="Group"
|
|
22
|
+
transform="translate(11.2707, 9.5) rotate(10) translate(-11.2707, -9.5)translate(2.7864, 1.3495)">
|
|
23
|
+
<path
|
|
24
|
+
d="M6.97432089e-17,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 6.97432089e-17,0.912280592 6.97432089e-17,2.03763573 L6.97432089e-17,14.2634501 C6.97432089e-17,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z"
|
|
25
|
+
id="Shape"
|
|
26
|
+
stroke={stroke}
|
|
27
|
+
strokeLinecap="round"
|
|
28
|
+
strokeLinejoin="round"
|
|
29
|
+
/>
|
|
30
|
+
<ellipse
|
|
31
|
+
id="Oval"
|
|
32
|
+
fill="#899BBC"
|
|
33
|
+
fillRule="nonzero"
|
|
34
|
+
cx="10.6975876"
|
|
35
|
+
cy="4.41487742"
|
|
36
|
+
rx="1.106647"
|
|
37
|
+
ry="1.01881787"
|
|
38
|
+
/>
|
|
39
|
+
</g>
|
|
40
|
+
<rect
|
|
41
|
+
id="Rectangle"
|
|
42
|
+
fill="#FFFFFF"
|
|
43
|
+
fillRule="nonzero"
|
|
44
|
+
x="0"
|
|
45
|
+
y="2.52861778"
|
|
46
|
+
width="16.9685872"
|
|
47
|
+
height="16.3010859"
|
|
48
|
+
rx="3"
|
|
49
|
+
/>
|
|
50
|
+
<g id="Group" transform="translate(0, 2.5286)">
|
|
51
|
+
<path
|
|
52
|
+
d="M0,12.2258144 L4.86362131,7.55351567 C5.69190017,6.75805948 7.03454026,6.75805948 7.86281911,7.55351567 L12.7264404,12.2258144 M10.6053671,10.1881787 L12.2873782,8.57233353 C13.1156571,7.77687734 14.4582972,7.77687734 15.286576,8.57233353 L16.9685872,10.1881787 M2.1210734,16.3010859 L14.8475139,16.3010859 C16.0189503,16.3010859 16.9685872,15.3888053 16.9685872,14.2634501 L16.9685872,2.03763573 C16.9685872,0.912280592 16.0189503,0 14.8475139,0 L2.1210734,0 C0.949636909,0 0,0.912280592 0,2.03763573 L0,14.2634501 C0,15.3888053 0.949636909,16.3010859 2.1210734,16.3010859 Z"
|
|
53
|
+
id="Shape"
|
|
54
|
+
stroke="#63779C"
|
|
55
|
+
strokeLinecap="round"
|
|
56
|
+
strokeLinejoin="round"
|
|
57
|
+
/>
|
|
58
|
+
<ellipse
|
|
59
|
+
id="Oval"
|
|
60
|
+
fill="#63779C"
|
|
61
|
+
fillRule="nonzero"
|
|
62
|
+
cx="10.6975876"
|
|
63
|
+
cy="4.41487742"
|
|
64
|
+
rx="1.106647"
|
|
65
|
+
ry="1.01881787"
|
|
66
|
+
/>
|
|
70
67
|
</g>
|
|
71
68
|
</g>
|
|
72
69
|
</g>
|