@pretto/picto 3.2.0 → 3.5.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,55 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var core = require('./core');
5
+
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
9
+
10
+ function _extends() {
11
+ _extends = Object.assign || function (target) {
12
+ for (var i = 1; i < arguments.length; i++) {
13
+ var source = arguments[i];
14
+
15
+ for (var key in source) {
16
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
17
+ target[key] = source[key];
18
+ }
19
+ }
20
+ }
21
+
22
+ return target;
23
+ };
24
+
25
+ return _extends.apply(this, arguments);
26
+ }
27
+
28
+ var BubbleDouble = (({
29
+ as: Component = "svg",
30
+ children = /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("path", {
31
+ d: "M20,15a1,1,0,1,1-1-1A1,1,0,0,1,20,15Zm-3,0a1,1,0,1,1-1-1A1,1,0,0,1,17,15Zm-3,0a1,1,0,1,1-1-1A1,1,0,0,1,14,15ZM19.42,20a12.75,12.75,0,0,1-3.33.48C12.63,20.43,9,18.36,9,15c0-3.13,3.14-5.68,7-5.68s7,2.55,7,5.68a5.07,5.07,0,0,1-1.48,3.52l.84,2.69ZM6,16.57l-4.39,1.9,1.26-4A6.82,6.82,0,0,1,1,9.76C1,5.48,5.26,2,10.5,2c5,0,9.13,3.19,9.47,7.22a9.35,9.35,0,0,0-4-.89c-4.2,0-8,2.8-8,6.68a5.42,5.42,0,0,0,.41,2A17.1,17.1,0,0,1,6,16.57ZM24,15A6.25,6.25,0,0,0,21,9.8v0C21,4.67,16,1,10.5,1S0,4.7,0,9.76a7.75,7.75,0,0,0,1.79,4.92L.05,20.25l6.07-2.63A17,17,0,0,0,9,18.11a8.35,8.35,0,0,0,7.11,3.32A13.08,13.08,0,0,0,19.33,21L24,23l-1.32-4.25A5.87,5.87,0,0,0,24,15Z",
32
+ fillRule: "evenodd"
33
+ })),
34
+ ...props
35
+ }) => /*#__PURE__*/React__default['default'].createElement(Component, _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: "24",
38
+ height: "24",
39
+ viewBox: "0 0 24 24",
40
+ fill: "currentColor"
41
+ }, props), children));
42
+
43
+ function WrappedPicto(props) {
44
+ const {
45
+ optimise,
46
+ refresh
47
+ } = React.useContext(core.PictoContext);
48
+ React.useEffect(() => {
49
+ refresh();
50
+ }, []);
51
+ return optimise('p_2qOs6B', /*#__PURE__*/React__default['default'].createElement(BubbleDouble, props));
52
+ }
53
+
54
+ module.exports = WrappedPicto;
55
+ //# sourceMappingURL=BubbleDouble.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BubbleDouble.js","sources":["../svg/BubbleDouble.svg","../modules/BubbleDouble.js"],"sourcesContent":["import React from \"react\";\nexport default (({\n as: Component = \"svg\",\n children = <><path d=\"M20,15a1,1,0,1,1-1-1A1,1,0,0,1,20,15Zm-3,0a1,1,0,1,1-1-1A1,1,0,0,1,17,15Zm-3,0a1,1,0,1,1-1-1A1,1,0,0,1,14,15ZM19.42,20a12.75,12.75,0,0,1-3.33.48C12.63,20.43,9,18.36,9,15c0-3.13,3.14-5.68,7-5.68s7,2.55,7,5.68a5.07,5.07,0,0,1-1.48,3.52l.84,2.69ZM6,16.57l-4.39,1.9,1.26-4A6.82,6.82,0,0,1,1,9.76C1,5.48,5.26,2,10.5,2c5,0,9.13,3.19,9.47,7.22a9.35,9.35,0,0,0-4-.89c-4.2,0-8,2.8-8,6.68a5.42,5.42,0,0,0,.41,2A17.1,17.1,0,0,1,6,16.57ZM24,15A6.25,6.25,0,0,0,21,9.8v0C21,4.67,16,1,10.5,1S0,4.7,0,9.76a7.75,7.75,0,0,0,1.79,4.92L.05,20.25l6.07-2.63A17,17,0,0,0,9,18.11a8.35,8.35,0,0,0,7.11,3.32A13.08,13.08,0,0,0,19.33,21L24,23l-1.32-4.25A5.87,5.87,0,0,0,24,15Z\" fillRule=\"evenodd\" /></>,\n ...props\n}) => <Component xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"currentColor\" {...props}>{\n children\n }</Component>);","import React, { useContext, useEffect } from 'react'\n\nimport { PictoContext } from '../core'\nimport BubbleDouble from '../svg/BubbleDouble.svg'\n\nexport default function WrappedPicto(props) {\n const { optimise, refresh } = useContext(PictoContext)\n\n useEffect(() => {\n refresh()\n }, [])\n\n return optimise('p_2qOs6B', <BubbleDouble {...props} />)\n}\n"],"names":["as","Component","children","React","props","WrappedPicto","optimise","refresh","useContext","PictoContext","useEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,oBAAgB,CAAC;AACfA,EAAAA,EAAE,EAAEC,SAAS,GAAG,KADD;AAEfC,EAAAA,QAAQ,gBAAGC,+FAAEA;AAAM,IAAA,CAAC,EAAC,0oBAAR;AAAmpB,IAAA,QAAQ,EAAC;AAA5pB,IAAF,CAFI;AAGf,KAAGC;AAHY,CAAD,kBAIVD,wCAAC,SAAD;AAAW,EAAA,KAAK,EAAC,4BAAjB;AAA8C,EAAA,KAAK,EAAC,IAApD;AAAyD,EAAA,MAAM,EAAC,IAAhE;AAAqE,EAAA,OAAO,EAAC,WAA7E;AAAyF,EAAA,IAAI,EAAC;AAA9F,GAAiHC,KAAjH,GACFF,QADE,CAJN;;ACIe,SAASG,YAAT,CAAsBD,KAAtB,EAA6B;AAC1C,QAAM;AAAEE,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,MAAwBC,gBAAU,CAACC,iBAAD,CAAxC;AAEAC,EAAAA,eAAS,CAAC,MAAM;AACdH,IAAAA,OAAO;AACR,GAFQ,EAEN,EAFM,CAAT;AAIA,SAAOD,QAAQ,CAAC,UAAD,eAAaH,wCAAC,YAAD,EAAkBC,KAAlB,CAAb,CAAf;AACD;;;;"}
@@ -0,0 +1,55 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var core = require('./core');
5
+
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
9
+
10
+ function _extends() {
11
+ _extends = Object.assign || function (target) {
12
+ for (var i = 1; i < arguments.length; i++) {
13
+ var source = arguments[i];
14
+
15
+ for (var key in source) {
16
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
17
+ target[key] = source[key];
18
+ }
19
+ }
20
+ }
21
+
22
+ return target;
23
+ };
24
+
25
+ return _extends.apply(this, arguments);
26
+ }
27
+
28
+ var CheckBold = (({
29
+ as: Component = "svg",
30
+ children = /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("path", {
31
+ d: "M5.8,11.6l8-8.29,1.44,1.38L5.88,14.4.32,9.23,1.68,7.77Z",
32
+ fillRule: "evenodd"
33
+ })),
34
+ ...props
35
+ }) => /*#__PURE__*/React__default['default'].createElement(Component, _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: "16",
38
+ height: "16",
39
+ viewBox: "0 0 16 16",
40
+ fill: "currentColor"
41
+ }, props), children));
42
+
43
+ function WrappedPicto(props) {
44
+ const {
45
+ optimise,
46
+ refresh
47
+ } = React.useContext(core.PictoContext);
48
+ React.useEffect(() => {
49
+ refresh();
50
+ }, []);
51
+ return optimise('p_Z2eHEHd', /*#__PURE__*/React__default['default'].createElement(CheckBold, props));
52
+ }
53
+
54
+ module.exports = WrappedPicto;
55
+ //# sourceMappingURL=CheckBold.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckBold.js","sources":["../svg/CheckBold.svg","../modules/CheckBold.js"],"sourcesContent":["import React from \"react\";\nexport default (({\n as: Component = \"svg\",\n children = <><path d=\"M5.8,11.6l8-8.29,1.44,1.38L5.88,14.4.32,9.23,1.68,7.77Z\" fillRule=\"evenodd\" /></>,\n ...props\n}) => <Component xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\" {...props}>{\n children\n }</Component>);","import React, { useContext, useEffect } from 'react'\n\nimport { PictoContext } from '../core'\nimport CheckBold from '../svg/CheckBold.svg'\n\nexport default function WrappedPicto(props) {\n const { optimise, refresh } = useContext(PictoContext)\n\n useEffect(() => {\n refresh()\n }, [])\n\n return optimise('p_Z2eHEHd', <CheckBold {...props} />)\n}\n"],"names":["as","Component","children","React","props","WrappedPicto","optimise","refresh","useContext","PictoContext","useEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iBAAgB,CAAC;AACfA,EAAAA,EAAE,EAAEC,SAAS,GAAG,KADD;AAEfC,EAAAA,QAAQ,gBAAGC,+FAAEA;AAAM,IAAA,CAAC,EAAC,yDAAR;AAAkE,IAAA,QAAQ,EAAC;AAA3E,IAAF,CAFI;AAGf,KAAGC;AAHY,CAAD,kBAIVD,wCAAC,SAAD;AAAW,EAAA,KAAK,EAAC,4BAAjB;AAA8C,EAAA,KAAK,EAAC,IAApD;AAAyD,EAAA,MAAM,EAAC,IAAhE;AAAqE,EAAA,OAAO,EAAC,WAA7E;AAAyF,EAAA,IAAI,EAAC;AAA9F,GAAiHC,KAAjH,GACFF,QADE,CAJN;;ACIe,SAASG,YAAT,CAAsBD,KAAtB,EAA6B;AAC1C,QAAM;AAAEE,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,MAAwBC,gBAAU,CAACC,iBAAD,CAAxC;AAEAC,EAAAA,eAAS,CAAC,MAAM;AACdH,IAAAA,OAAO;AACR,GAFQ,EAEN,EAFM,CAAT;AAIA,SAAOD,QAAQ,CAAC,WAAD,eAAcH,wCAAC,SAAD,EAAeC,KAAf,CAAd,CAAf;AACD;;;;"}
@@ -0,0 +1,54 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var core = require('./core');
5
+
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
9
+
10
+ function _extends() {
11
+ _extends = Object.assign || function (target) {
12
+ for (var i = 1; i < arguments.length; i++) {
13
+ var source = arguments[i];
14
+
15
+ for (var key in source) {
16
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
17
+ target[key] = source[key];
18
+ }
19
+ }
20
+ }
21
+
22
+ return target;
23
+ };
24
+
25
+ return _extends.apply(this, arguments);
26
+ }
27
+
28
+ var HouseMagnifier = (({
29
+ as: Component = "svg",
30
+ children = /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("path", {
31
+ d: "M20.27,14.69l.73.69L18,18.5l-2-1.78.66-.75L18,17.12Zm3.64,8.52-.82.58-2.21-3.1a5,5,0,0,1-2.57.71H0V8.65L9,.32l9,8.33v2.76h.31a5,5,0,0,1,3.37,8.69ZM10.5,15.5h-3v4.9h3Zm4.81,4.9A5,5,0,0,1,17,11.57V9.09L9,1.68,1,9.09V20.4H6.5V14.5h5v5.9Zm7-4a4,4,0,1,0-4,4A4,4,0,0,0,22.31,16.4Z"
32
+ })),
33
+ ...props
34
+ }) => /*#__PURE__*/React__default['default'].createElement(Component, _extends({
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ width: "24",
37
+ height: "24",
38
+ viewBox: "0 0 24 24",
39
+ fill: "currentColor"
40
+ }, props), children));
41
+
42
+ function WrappedPicto(props) {
43
+ const {
44
+ optimise,
45
+ refresh
46
+ } = React.useContext(core.PictoContext);
47
+ React.useEffect(() => {
48
+ refresh();
49
+ }, []);
50
+ return optimise('p_Z1pRCUl', /*#__PURE__*/React__default['default'].createElement(HouseMagnifier, props));
51
+ }
52
+
53
+ module.exports = WrappedPicto;
54
+ //# sourceMappingURL=HouseMagnifier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HouseMagnifier.js","sources":["../svg/HouseMagnifier.svg","../modules/HouseMagnifier.js"],"sourcesContent":["import React from \"react\";\nexport default (({\n as: Component = \"svg\",\n children = <><path d=\"M20.27,14.69l.73.69L18,18.5l-2-1.78.66-.75L18,17.12Zm3.64,8.52-.82.58-2.21-3.1a5,5,0,0,1-2.57.71H0V8.65L9,.32l9,8.33v2.76h.31a5,5,0,0,1,3.37,8.69ZM10.5,15.5h-3v4.9h3Zm4.81,4.9A5,5,0,0,1,17,11.57V9.09L9,1.68,1,9.09V20.4H6.5V14.5h5v5.9Zm7-4a4,4,0,1,0-4,4A4,4,0,0,0,22.31,16.4Z\" /></>,\n ...props\n}) => <Component xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"currentColor\" {...props}>{\n children\n }</Component>);","import React, { useContext, useEffect } from 'react'\n\nimport { PictoContext } from '../core'\nimport HouseMagnifier from '../svg/HouseMagnifier.svg'\n\nexport default function WrappedPicto(props) {\n const { optimise, refresh } = useContext(PictoContext)\n\n useEffect(() => {\n refresh()\n }, [])\n\n return optimise('p_Z1pRCUl', <HouseMagnifier {...props} />)\n}\n"],"names":["as","Component","children","React","props","WrappedPicto","optimise","refresh","useContext","PictoContext","useEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,sBAAgB,CAAC;AACfA,EAAAA,EAAE,EAAEC,SAAS,GAAG,KADD;AAEfC,EAAAA,QAAQ,gBAAGC,+FAAEA;AAAM,IAAA,CAAC,EAAC;AAAR,IAAF,CAFI;AAGf,KAAGC;AAHY,CAAD,kBAIVD,wCAAC,SAAD;AAAW,EAAA,KAAK,EAAC,4BAAjB;AAA8C,EAAA,KAAK,EAAC,IAApD;AAAyD,EAAA,MAAM,EAAC,IAAhE;AAAqE,EAAA,OAAO,EAAC,WAA7E;AAAyF,EAAA,IAAI,EAAC;AAA9F,GAAiHC,KAAjH,GACFF,QADE,CAJN;;ACIe,SAASG,YAAT,CAAsBD,KAAtB,EAA6B;AAC1C,QAAM;AAAEE,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,MAAwBC,gBAAU,CAACC,iBAAD,CAAxC;AAEAC,EAAAA,eAAS,CAAC,MAAM;AACdH,IAAAA,OAAO;AACR,GAFQ,EAEN,EAFM,CAAT;AAIA,SAAOD,QAAQ,CAAC,WAAD,eAAcH,wCAAC,cAAD,EAAoBC,KAApB,CAAd,CAAf;AACD;;;;"}
package/cjs/Plane.js ADDED
@@ -0,0 +1,54 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var core = require('./core');
5
+
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
9
+
10
+ function _extends() {
11
+ _extends = Object.assign || function (target) {
12
+ for (var i = 1; i < arguments.length; i++) {
13
+ var source = arguments[i];
14
+
15
+ for (var key in source) {
16
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
17
+ target[key] = source[key];
18
+ }
19
+ }
20
+ }
21
+
22
+ return target;
23
+ };
24
+
25
+ return _extends.apply(this, arguments);
26
+ }
27
+
28
+ var Plane = (({
29
+ as: Component = "svg",
30
+ children = /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("path", {
31
+ d: "M10.57,21.5a.45.45,0,0,1-.2,0,.51.51,0,0,1-.3-.46V15.29L.85,12.36a.5.5,0,0,1,0-.94l22-8.88.06,0,.1,0h.14l.15.05h0l.07.06a.52.52,0,0,1,.1.11.38.38,0,0,1,.06.13.36.36,0,0,1,0,.1.61.61,0,0,1,0,.14h0l-3.83,18a.51.51,0,0,1-.3.37.49.49,0,0,1-.47-.06l-4.63-3.27-3.35,3.22A.49.49,0,0,1,10.57,21.5Zm3.93-4.41,4.34,3.06L22.17,4.49,11.35,14.86l3.14,2.22Zm-3.43-1.2v3.93l2.35-2.27Zm-8.6-4.06,8,2.53L20.78,4.44Z"
32
+ })),
33
+ ...props
34
+ }) => /*#__PURE__*/React__default['default'].createElement(Component, _extends({
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ width: "24",
37
+ height: "24",
38
+ viewBox: "0 0 24 24",
39
+ fill: "currentColor"
40
+ }, props), children));
41
+
42
+ function WrappedPicto(props) {
43
+ const {
44
+ optimise,
45
+ refresh
46
+ } = React.useContext(core.PictoContext);
47
+ React.useEffect(() => {
48
+ refresh();
49
+ }, []);
50
+ return optimise('p_5z5Yv', /*#__PURE__*/React__default['default'].createElement(Plane, props));
51
+ }
52
+
53
+ module.exports = WrappedPicto;
54
+ //# sourceMappingURL=Plane.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plane.js","sources":["../svg/Plane.svg","../modules/Plane.js"],"sourcesContent":["import React from \"react\";\nexport default (({\n as: Component = \"svg\",\n children = <><path d=\"M10.57,21.5a.45.45,0,0,1-.2,0,.51.51,0,0,1-.3-.46V15.29L.85,12.36a.5.5,0,0,1,0-.94l22-8.88.06,0,.1,0h.14l.15.05h0l.07.06a.52.52,0,0,1,.1.11.38.38,0,0,1,.06.13.36.36,0,0,1,0,.1.61.61,0,0,1,0,.14h0l-3.83,18a.51.51,0,0,1-.3.37.49.49,0,0,1-.47-.06l-4.63-3.27-3.35,3.22A.49.49,0,0,1,10.57,21.5Zm3.93-4.41,4.34,3.06L22.17,4.49,11.35,14.86l3.14,2.22Zm-3.43-1.2v3.93l2.35-2.27Zm-8.6-4.06,8,2.53L20.78,4.44Z\" /></>,\n ...props\n}) => <Component xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"currentColor\" {...props}>{\n children\n }</Component>);","import React, { useContext, useEffect } from 'react'\n\nimport { PictoContext } from '../core'\nimport Plane from '../svg/Plane.svg'\n\nexport default function WrappedPicto(props) {\n const { optimise, refresh } = useContext(PictoContext)\n\n useEffect(() => {\n refresh()\n }, [])\n\n return optimise('p_5z5Yv', <Plane {...props} />)\n}\n"],"names":["as","Component","children","React","props","WrappedPicto","optimise","refresh","useContext","PictoContext","useEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,aAAgB,CAAC;AACfA,EAAAA,EAAE,EAAEC,SAAS,GAAG,KADD;AAEfC,EAAAA,QAAQ,gBAAGC,+FAAEA;AAAM,IAAA,CAAC,EAAC;AAAR,IAAF,CAFI;AAGf,KAAGC;AAHY,CAAD,kBAIVD,wCAAC,SAAD;AAAW,EAAA,KAAK,EAAC,4BAAjB;AAA8C,EAAA,KAAK,EAAC,IAApD;AAAyD,EAAA,MAAM,EAAC,IAAhE;AAAqE,EAAA,OAAO,EAAC,WAA7E;AAAyF,EAAA,IAAI,EAAC;AAA9F,GAAiHC,KAAjH,GACFF,QADE,CAJN;;ACIe,SAASG,YAAT,CAAsBD,KAAtB,EAA6B;AAC1C,QAAM;AAAEE,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,MAAwBC,gBAAU,CAACC,iBAAD,CAAxC;AAEAC,EAAAA,eAAS,CAAC,MAAM;AACdH,IAAAA,OAAO;AACR,GAFQ,EAEN,EAFM,CAAT;AAIA,SAAOD,QAAQ,CAAC,SAAD,eAAYH,wCAAC,KAAD,EAAWC,KAAX,CAAZ,CAAf;AACD;;;;"}
package/cjs/Play.js ADDED
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var core = require('./core');
5
+
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
9
+
10
+ function _extends() {
11
+ _extends = Object.assign || function (target) {
12
+ for (var i = 1; i < arguments.length; i++) {
13
+ var source = arguments[i];
14
+
15
+ for (var key in source) {
16
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
17
+ target[key] = source[key];
18
+ }
19
+ }
20
+ }
21
+
22
+ return target;
23
+ };
24
+
25
+ return _extends.apply(this, arguments);
26
+ }
27
+
28
+ var Play = (({
29
+ as: Component = "svg",
30
+ children = /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("path", {
31
+ d: "M12,24A12,12,0,1,0,0,12,12,12,0,0,0,12,24ZM9.79,6.76a.67.67,0,0,0-1,.57v9.34a.67.67,0,0,0,1,.57l7.71-4.67a.66.66,0,0,0,0-1.14Z",
32
+ fillRule: "evenodd"
33
+ })),
34
+ ...props
35
+ }) => /*#__PURE__*/React__default['default'].createElement(Component, _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ viewBox: "0 0 24 24",
38
+ fill: "currentColor"
39
+ }, props), children));
40
+
41
+ function WrappedPicto(props) {
42
+ const {
43
+ optimise,
44
+ refresh
45
+ } = React.useContext(core.PictoContext);
46
+ React.useEffect(() => {
47
+ refresh();
48
+ }, []);
49
+ return optimise('p_aXdS', /*#__PURE__*/React__default['default'].createElement(Play, props));
50
+ }
51
+
52
+ module.exports = WrappedPicto;
53
+ //# sourceMappingURL=Play.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Play.js","sources":["../svg/Play.svg","../modules/Play.js"],"sourcesContent":["import React from \"react\";\nexport default (({\n as: Component = \"svg\",\n children = <><path d=\"M12,24A12,12,0,1,0,0,12,12,12,0,0,0,12,24ZM9.79,6.76a.67.67,0,0,0-1,.57v9.34a.67.67,0,0,0,1,.57l7.71-4.67a.66.66,0,0,0,0-1.14Z\" fillRule=\"evenodd\" /></>,\n ...props\n}) => <Component xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" {...props}>{\n children\n }</Component>);","import React, { useContext, useEffect } from 'react'\n\nimport { PictoContext } from '../core'\nimport Play from '../svg/Play.svg'\n\nexport default function WrappedPicto(props) {\n const { optimise, refresh } = useContext(PictoContext)\n\n useEffect(() => {\n refresh()\n }, [])\n\n return optimise('p_aXdS', <Play {...props} />)\n}\n"],"names":["as","Component","children","React","props","WrappedPicto","optimise","refresh","useContext","PictoContext","useEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,YAAgB,CAAC;AACfA,EAAAA,EAAE,EAAEC,SAAS,GAAG,KADD;AAEfC,EAAAA,QAAQ,gBAAGC,+FAAEA;AAAM,IAAA,CAAC,EAAC,gIAAR;AAAyI,IAAA,QAAQ,EAAC;AAAlJ,IAAF,CAFI;AAGf,KAAGC;AAHY,CAAD,kBAIVD,wCAAC,SAAD;AAAW,EAAA,KAAK,EAAC,4BAAjB;AAA8C,EAAA,OAAO,EAAC,WAAtD;AAAkE,EAAA,IAAI,EAAC;AAAvE,GAA0FC,KAA1F,GACFF,QADE,CAJN;;ACIe,SAASG,YAAT,CAAsBD,KAAtB,EAA6B;AAC1C,QAAM;AAAEE,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,MAAwBC,gBAAU,CAACC,iBAAD,CAAxC;AAEAC,EAAAA,eAAS,CAAC,MAAM;AACdH,IAAAA,OAAO;AACR,GAFQ,EAEN,EAFM,CAAT;AAIA,SAAOD,QAAQ,CAAC,QAAD,eAAWH,wCAAC,IAAD,EAAUC,KAAV,CAAX,CAAf;AACD;;;;"}