@ultraviolet/plus 0.5.9 → 0.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.
- package/dist/index.d.ts +32 -2
- package/dist/src/components/CustomerSatisfaction/assets/1-5.svg.js +41 -0
- package/dist/src/components/CustomerSatisfaction/assets/1-5NB.svg.js +36 -0
- package/dist/src/components/CustomerSatisfaction/assets/2-5.svg.js +35 -0
- package/dist/src/components/CustomerSatisfaction/assets/2-5NB.svg.js +29 -0
- package/dist/src/components/CustomerSatisfaction/assets/3-5.svg.js +46 -0
- package/dist/src/components/CustomerSatisfaction/assets/3-5NB.svg.js +46 -0
- package/dist/src/components/CustomerSatisfaction/assets/4-5.svg.js +46 -0
- package/dist/src/components/CustomerSatisfaction/assets/4-5NB.svg.js +52 -0
- package/dist/src/components/CustomerSatisfaction/assets/5-5.svg.js +40 -0
- package/dist/src/components/CustomerSatisfaction/assets/5-5NB.svg.js +40 -0
- package/dist/src/components/CustomerSatisfaction/index.js +130 -0
- package/dist/src/components/EstimateCost/EstimateCostContent.js +12 -5
- package/dist/src/index.js +1 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -234,7 +234,7 @@ declare const EstimateCost: {
|
|
|
234
234
|
isPrimaryBackground?: boolean | undefined;
|
|
235
235
|
iteration?: Iteration | undefined;
|
|
236
236
|
label?: ReactNode;
|
|
237
|
-
labelTextVariant?: "body" | "caption" | "code" | "heading" | "bodySmall" | "bodySmallStrong" | "bodySmallStronger" | "bodyStrong" | "bodyStronger" | "captionSmall" | "captionSmallStrong" | "captionSmallStronger" | "captionStrong" | "captionStronger" | "headingLarge" | "headingSmall" | undefined;
|
|
237
|
+
labelTextVariant?: "body" | "caption" | "code" | "heading" | "bodySmall" | "bodySmallStrong" | "bodySmallStronger" | "bodyStrong" | "bodyStronger" | "captionSmall" | "captionSmallStrong" | "captionSmallStronger" | "captionStrong" | "captionStronger" | "codeStrong" | "codeStronger" | "headingLarge" | "headingLargeStrong" | "headingLargeStronger" | "headingSmall" | "headingSmallStrong" | "headingSmallStronger" | "headingStrong" | "headingStronger" | undefined;
|
|
238
238
|
labelTextProminence?: "strong" | "weak" | "default" | "stronger" | undefined;
|
|
239
239
|
longFractionDigits?: boolean | undefined;
|
|
240
240
|
maxAmount?: number | undefined;
|
|
@@ -327,4 +327,34 @@ declare const EstimateCost: {
|
|
|
327
327
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
328
328
|
};
|
|
329
329
|
|
|
330
|
-
|
|
330
|
+
declare const ratings: readonly [{
|
|
331
|
+
readonly value: 1;
|
|
332
|
+
readonly imgSelected: keyof JSX.IntrinsicElements;
|
|
333
|
+
readonly imgNotSelected: keyof JSX.IntrinsicElements;
|
|
334
|
+
}, {
|
|
335
|
+
readonly value: 2;
|
|
336
|
+
readonly imgSelected: keyof JSX.IntrinsicElements;
|
|
337
|
+
readonly imgNotSelected: keyof JSX.IntrinsicElements;
|
|
338
|
+
}, {
|
|
339
|
+
readonly value: 3;
|
|
340
|
+
readonly imgSelected: keyof JSX.IntrinsicElements;
|
|
341
|
+
readonly imgNotSelected: keyof JSX.IntrinsicElements;
|
|
342
|
+
}, {
|
|
343
|
+
readonly value: 4;
|
|
344
|
+
readonly imgSelected: keyof JSX.IntrinsicElements;
|
|
345
|
+
readonly imgNotSelected: keyof JSX.IntrinsicElements;
|
|
346
|
+
}, {
|
|
347
|
+
readonly value: 5;
|
|
348
|
+
readonly imgSelected: keyof JSX.IntrinsicElements;
|
|
349
|
+
readonly imgNotSelected: keyof JSX.IntrinsicElements;
|
|
350
|
+
}];
|
|
351
|
+
type Value = (typeof ratings)[number]['value'];
|
|
352
|
+
type CustomerSatisfactionProps = {
|
|
353
|
+
value: Value;
|
|
354
|
+
onChange: (rating: Value) => void;
|
|
355
|
+
'data-testid'?: string;
|
|
356
|
+
className?: string;
|
|
357
|
+
};
|
|
358
|
+
declare const CustomerSatisfaction: ({ value, onChange, "data-testid": dataTestId, className, }: CustomerSatisfactionProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
359
|
+
|
|
360
|
+
export { CodeEditor, ContentCard, ContentCardGroup, CustomerSatisfaction, EstimateCost, _default as estimateCostDefaultLocales };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _path, _path2, _path3, _path4, _path5;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg15 = function Svg15(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fill: "#eef",
|
|
12
|
+
fillRule: "evenodd",
|
|
13
|
+
d: "M36.1 0c-4.3 0-8.6.4-12.9 1.1C11.5 3.1 4 9.6 1.5 21.4c-1.9 9.3-2.1 18.7-.2 28 2.3 12 9.6 19.3 21.6 21.4 4.3.8 8.7 1.1 13 1.1 4.3 0 8.6-.4 12.9-1.1 11.6-2 19.3-9.2 21.8-20.9 1.8-9.2 1.8-18.6 0-27.8-2.3-12-9.5-18.9-21.6-21C44.8.4 40.4 0 36.1 0",
|
|
14
|
+
clipRule: "evenodd"
|
|
15
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
fill: "#2e3192",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
d: "M70.7 22.2c-2.3-12-9.5-18.9-21.6-21-.6-.1-1.2-.2-1.9-.3C50.2 3 58.7 9.8 62 22c.3 1 5.2 20.2-7 34-10.9 12.3-30.9 15.4-48.1 6.2 3.7 4.5 9.1 7.5 16 8.7 4.3.8 8.7 1.1 13 1.1 4.3 0 8.6-.4 12.9-1.1 11.6-2 19.3-9.2 21.8-20.9 1.9-9.2 1.8-18.6.1-27.8z",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
opacity: 0.06
|
|
21
|
+
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fill: "#1b1464",
|
|
23
|
+
d: "M37.6 47.7c-.1 0-.3 0-.4-.1-2.4-.9-5-.9-7.4 0-.6.2-1.4-.1-1.6-.7-.2-.6.1-1.4.7-1.6 3-1.1 6.2-1.1 9.2 0 .6.2 1 1 .7 1.6-.2.5-.7.8-1.2.8z",
|
|
24
|
+
opacity: 0.31
|
|
25
|
+
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
fill: "#4f0599",
|
|
27
|
+
d: "M33.9 36.2c-7 0-13.6 2.7-18.5 7.7-.5.5-.5 1.3 0 1.7.5.5 1.3.5 1.7 0 4.5-4.5 10.4-6.9 16.8-6.9s12.3 2.5 16.8 6.9c.2.2.6.4.9.4.3 0 .6-.1.9-.4.5-.5.5-1.3 0-1.7-5-5-11.6-7.7-18.6-7.7m-20-6.7c0 2.5 2.1 4.6 4.6 4.6s4.6-2.1 4.6-4.6c0-.5-.1-1-.3-1.5.5.1 1 .1 1.6.1 1.4 0 3-.2 4.8-.7.7-.2 1-.9.9-1.5-.2-.7-.9-1-1.5-.9-8.8 2.4-12.6-3.2-12.7-3.4-.4-.6-1.1-.7-1.7-.4-.6.4-.7 1.1-.4 1.7 0 .1.9 1.3 2.6 2.6-1.5.8-2.5 2.3-2.5 4zm38.5-8.3c-.6-.4-1.3-.2-1.7.4 0 .1-3.9 5.8-12.7 3.4-.7-.2-1.3.2-1.5.9-.2.7.2 1.3.9 1.5 1.8.5 3.4.7 4.8.7.5 0 1.1 0 1.6-.1-.2.5-.3 1-.3 1.5 0 2.5 2.1 4.6 4.6 4.6s4.6-2.1 4.6-4.6c0-1.7-.9-3.2-2.3-4 1.7-1.3 2.5-2.5 2.6-2.6.2-.6 0-1.3-.6-1.7z"
|
|
28
|
+
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
29
|
+
fill: "none",
|
|
30
|
+
stroke: "#f954a2",
|
|
31
|
+
strokeLinecap: "round",
|
|
32
|
+
strokeLinejoin: "round",
|
|
33
|
+
strokeMiterlimit: 10,
|
|
34
|
+
strokeWidth: 1.5,
|
|
35
|
+
d: "m46 9.5-2.3 2.3-2.3-2.3m6.5 6.6-2.3-2.3 2.3-2.3m-6.3 6.3 2.3-2.3 2.3 2.3m-6.6-6.5 2.4 2.3-2.4 2.3"
|
|
36
|
+
})));
|
|
37
|
+
};
|
|
38
|
+
var Memo = /*#__PURE__*/memo(Svg15);
|
|
39
|
+
var rating1 = Memo;
|
|
40
|
+
|
|
41
|
+
export { rating1 as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _path, _path2, _path3, _path4, _path5;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg15Nb = function Svg15Nb(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fill: "#f0f0f0",
|
|
12
|
+
d: "M36.1 0c-4.3 0-8.6.4-12.9 1.1C11.5 3.1 4 9.6 1.5 21.4c-2 9.2-2.1 18.8-.2 28 2.3 12 9.6 19.2 21.6 21.4 4.3.8 8.6 1.1 13 1.1 4.3 0 8.6-.4 12.9-1.1 11.6-2 19.3-9.2 21.8-20.9 1.8-9.2 1.8-18.6 0-27.8-2.3-12-9.5-18.9-21.6-21C44.8.4 40.4 0 36.1 0"
|
|
13
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
fill: "#3b3b3b",
|
|
15
|
+
d: "M70.7 22.2c-2.3-12-9.5-18.9-21.6-21-.6-.2-1.3-.2-1.9-.3C54.4 6.1 59.6 13.5 62 22c.3 1 5.2 20.2-7 34-10.9 12.3-30.9 15.4-48 6.2 3.7 4.5 9.1 7.5 16 8.7 4.3.8 8.6 1.1 13 1.1 4.3 0 8.6-.4 12.9-1.1 11.6-2 19.3-9.2 21.8-20.9 1.8-9.2 1.8-18.6 0-27.8z",
|
|
16
|
+
opacity: 0.06
|
|
17
|
+
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
fill: "#1f1f1f",
|
|
19
|
+
d: "M37.6 47.7c-.2 0-.3 0-.4-.1-2.4-.9-5-.9-7.4 0-.6.2-1.4-.1-1.6-.7-.2-.6.1-1.4.7-1.6 3-1.2 6.2-1.2 9.2 0 .6.2 1 1 .7 1.6-.2.5-.7.8-1.2.8z",
|
|
20
|
+
opacity: 0.31
|
|
21
|
+
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fill: "#2b2b2b",
|
|
23
|
+
d: "M33.9 36.2c-6.9 0-13.6 2.7-18.5 7.7-.5.5-.4 1.3.1 1.8.5.4 1.2.4 1.6 0 9.3-9.3 24.3-9.3 33.5 0 .5.5 1.3.4 1.8-.1.4-.5.4-1.2 0-1.6-4.9-5.1-11.5-7.8-18.5-7.8zm-20-6.7c-.1 2.5 1.8 4.7 4.4 4.8 2.5.1 4.7-1.8 4.8-4.4v-.4c0-.5-.1-1-.3-1.5.5.1 1 .1 1.5.1 1.6 0 3.2-.2 4.8-.7.7-.2 1-.9.9-1.5-.2-.7-.8-1-1.5-.9-8.8 2.4-12.6-3.2-12.7-3.4-.4-.6-1.1-.7-1.7-.4s-.7 1.1-.4 1.7c.7 1 1.6 1.9 2.6 2.6-1.5.8-2.4 2.3-2.4 4zm38.5-8.3c-.6-.4-1.3-.2-1.7.4 0 .1-3.9 5.8-12.7 3.4-.7-.2-1.3.2-1.5.9s.2 1.3.9 1.5c1.6.4 3.2.7 4.8.7.5 0 1 0 1.5-.1-.2.5-.3 1-.3 1.5 0 2.5 2 4.6 4.6 4.6 2.5 0 4.6-2 4.6-4.6 0-1.7-.9-3.2-2.4-4 1-.7 1.9-1.6 2.6-2.6.4-.5.2-1.3-.4-1.7z"
|
|
24
|
+
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
fill: "none",
|
|
26
|
+
stroke: "#8e8e8e",
|
|
27
|
+
strokeLinecap: "round",
|
|
28
|
+
strokeLinejoin: "round",
|
|
29
|
+
strokeWidth: 1.5,
|
|
30
|
+
d: "m46 9.5-2.3 2.3-2.3-2.3m6.5 6.6-2.3-2.3 2.3-2.3m-6.3 6.3 2.3-2.3 2.3 2.3m-6.5-6.5 2.3 2.3-2.3 2.3"
|
|
31
|
+
})));
|
|
32
|
+
};
|
|
33
|
+
var Memo = /*#__PURE__*/memo(Svg15Nb);
|
|
34
|
+
var rating1NS = Memo;
|
|
35
|
+
|
|
36
|
+
export { rating1NS as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _g;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg25 = function Svg25(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
"data-name": "Calque 2"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
"data-name": "Calque 1"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
fill: "#eef",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
d: "M36.08 0a77.07 77.07 0 0 0-12.91 1.1C11.48 3.08 4 9.65 1.55 21.43a69.74 69.74 0 0 0-.24 28.05c2.31 12 9.57 19.25 21.61 21.38a75 75 0 0 0 13 1.14 77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0 0-27.82c-2.31-12-9.54-18.91-21.58-21A75 75 0 0 0 36.08 0"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
fill: "#2e3192",
|
|
20
|
+
fillRule: "evenodd",
|
|
21
|
+
d: "M70.66 22.18c-2.31-12-9.54-18.91-21.58-21C48.46 1 47.84 1 47.22.85A39.73 39.73 0 0 1 62 22c.28 1 5.22 20.18-7 34-10.87 12.29-30.91 15.38-48 6.17 3.73 4.53 9.06 7.47 16 8.69A75 75 0 0 0 36 72a77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0-.05-27.82z",
|
|
22
|
+
opacity: 0.06
|
|
23
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
24
|
+
fill: "#4f0599",
|
|
25
|
+
d: "M44.7 40.9a23.75 23.75 0 0 0-26.47 0 1.11 1.11 0 0 0-.31 1.55 1.14 1.14 0 0 0 1.56.31 21.5 21.5 0 0 1 24 0 1.18 1.18 0 0 0 .62.19 1.15 1.15 0 0 0 .94-.5 1.12 1.12 0 0 0-.34-1.55zM22.22 25.15a4.15 4.15 0 1 0-4.15 4.15 4.15 4.15 0 0 0 4.15-4.15M44.85 21A4.15 4.15 0 1 0 49 25.15 4.16 4.16 0 0 0 44.85 21"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: "#1b1464",
|
|
28
|
+
d: "M35.19 44.84a1.1 1.1 0 0 1-.4-.08 9.19 9.19 0 0 0-6.65 0 1.12 1.12 0 1 1-.8-2.09 11.4 11.4 0 0 1 8.25 0 1.12 1.12 0 0 1-.4 2.17z",
|
|
29
|
+
opacity: 0.31
|
|
30
|
+
})))));
|
|
31
|
+
};
|
|
32
|
+
var Memo = /*#__PURE__*/memo(Svg25);
|
|
33
|
+
var rating2 = Memo;
|
|
34
|
+
|
|
35
|
+
export { rating2 as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _path, _path2, _path3, _path4;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg25Nb = function Svg25Nb(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fill: "#f0f0f0",
|
|
12
|
+
d: "M36.1 0c-4.3 0-8.6.4-12.9 1.1C11.5 3.1 4 9.6 1.5 21.4c-2 9.2-2.1 18.8-.2 28 2.3 12 9.6 19.2 21.6 21.4 4.3.8 8.6 1.1 13 1.1 4.3 0 8.6-.4 12.9-1.1 11.6-2 19.3-9.2 21.8-20.9 1.8-9.2 1.8-18.6 0-27.8-2.3-12-9.5-18.9-21.6-21C44.8.4 40.4 0 36.1 0"
|
|
13
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
fill: "#3b3b3b",
|
|
15
|
+
d: "M70.7 22.2c-2.3-12-9.5-18.9-21.6-21-.6-.2-1.3-.2-1.9-.3C54.4 6.1 59.6 13.5 62 22c.3 1 5.2 20.2-7 34-10.9 12.3-30.9 15.4-48 6.2 3.7 4.5 9.1 7.5 16 8.7 4.3.8 8.6 1.1 13 1.1 4.3 0 8.6-.4 12.9-1.1 11.6-2 19.3-9.2 21.8-20.9 1.8-9.2 1.8-18.6 0-27.8z",
|
|
16
|
+
opacity: 0.06
|
|
17
|
+
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
fill: "#2b2b2b",
|
|
19
|
+
d: "M44.7 40.9c-8-5.4-18.5-5.4-26.5 0-.5.3-.7 1-.3 1.5.4.5 1 .6 1.6.3 7.3-4.9 16.7-4.9 24 0 .2.1.4.2.6.2.4 0 .7-.2.9-.5.4-.5.2-1.2-.3-1.5M22.2 25.1c0-2.3-1.9-4.1-4.1-4.1-2.3 0-4.2 1.9-4.2 4.1s1.9 4.1 4.2 4.1c2.3.1 4.1-1.8 4.1-4.1zM44.8 21c-2.3 0-4.1 1.9-4.1 4.2s1.9 4.1 4.2 4.1c2.3 0 4.1-1.9 4.1-4.1 0-2.3-1.9-4.2-4.2-4.2z"
|
|
20
|
+
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
fill: "#1f1f1f",
|
|
22
|
+
d: "M35.2 44.8c-.1 0-.3 0-.4-.1-2.1-.8-4.5-.8-6.6 0-.6.2-1.2 0-1.5-.6-.2-.6 0-1.2.6-1.5h.1c2.7-1 5.6-1 8.2 0 .6.2.9.9.7 1.4-.2.6-.6.8-1.1.8z",
|
|
23
|
+
opacity: 0.31
|
|
24
|
+
})));
|
|
25
|
+
};
|
|
26
|
+
var Memo = /*#__PURE__*/memo(Svg25Nb);
|
|
27
|
+
var rating2NS = Memo;
|
|
28
|
+
|
|
29
|
+
export { rating2NS as default };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _g;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg35 = function Svg35(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
"data-name": "Calque 2"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
"data-name": "Calque 1"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
fill: "#eef",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
d: "M36.08 0a77.07 77.07 0 0 0-12.91 1.1C11.48 3.08 4 9.65 1.55 21.43a69.74 69.74 0 0 0-.24 28.05c2.31 12 9.57 19.25 21.61 21.38a75 75 0 0 0 13 1.14 77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0 0-27.82c-2.31-12-9.54-18.91-21.58-21A75 75 0 0 0 36.08 0"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
fill: "#2e3192",
|
|
20
|
+
fillRule: "evenodd",
|
|
21
|
+
d: "M70.66 22.18c-2.31-12-9.54-18.91-21.58-21C48.46 1 47.84 1 47.22.85A39.73 39.73 0 0 1 62 22c.28 1 5.22 20.18-7 34-10.87 12.29-30.91 15.38-48 6.17 3.73 4.53 9.06 7.47 16 8.69A75 75 0 0 0 36 72a77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0-.05-27.82z",
|
|
22
|
+
opacity: 0.06
|
|
23
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
24
|
+
fill: "#4f0599",
|
|
25
|
+
d: "M23.64 25.86a4.86 4.86 0 1 0-4.86 4.85 4.87 4.87 0 0 0 4.86-4.85M50.14 21A4.86 4.86 0 1 0 55 25.86 4.86 4.86 0 0 0 50.14 21"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: "none",
|
|
28
|
+
stroke: "#4f0599",
|
|
29
|
+
strokeLinecap: "round",
|
|
30
|
+
strokeMiterlimit: 10,
|
|
31
|
+
strokeWidth: 2.51,
|
|
32
|
+
d: "M24 44h22"
|
|
33
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
|
+
fill: "none",
|
|
35
|
+
stroke: "#1b1464",
|
|
36
|
+
strokeLinecap: "round",
|
|
37
|
+
strokeMiterlimit: 10,
|
|
38
|
+
strokeWidth: 2,
|
|
39
|
+
d: "M32 50h6",
|
|
40
|
+
opacity: 0.31
|
|
41
|
+
})))));
|
|
42
|
+
};
|
|
43
|
+
var Memo = /*#__PURE__*/memo(Svg35);
|
|
44
|
+
var rating3 = Memo;
|
|
45
|
+
|
|
46
|
+
export { rating3 as default };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _g;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg35Nb = function Svg35Nb(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
"data-name": "Calque 2"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
"data-name": "Calque 1"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
fill: "#f0f0f0",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
d: "M36.08 0a77.07 77.07 0 0 0-12.91 1.1C11.48 3.08 4 9.65 1.55 21.43a69.74 69.74 0 0 0-.24 28.05c2.31 12 9.57 19.25 21.61 21.38a75 75 0 0 0 13 1.14 77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0 0-27.82c-2.31-12-9.54-18.91-21.58-21A75 75 0 0 0 36.08 0"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
fill: "#3b3b3b",
|
|
20
|
+
fillRule: "evenodd",
|
|
21
|
+
d: "M70.66 22.18c-2.31-12-9.54-18.91-21.58-21C48.46 1 47.84 1 47.22.85A39.73 39.73 0 0 1 62 22c.28 1 5.22 20.18-7 34-10.87 12.29-30.91 15.38-48 6.17 3.73 4.53 9.06 7.47 16 8.69A75 75 0 0 0 36 72a77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0-.05-27.82z",
|
|
22
|
+
opacity: 0.06
|
|
23
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
24
|
+
fill: "#2b2b2b",
|
|
25
|
+
d: "M23.64 25.86a4.86 4.86 0 1 0-4.86 4.85 4.87 4.87 0 0 0 4.86-4.85M50.14 21A4.86 4.86 0 1 0 55 25.86 4.86 4.86 0 0 0 50.14 21"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: "none",
|
|
28
|
+
stroke: "#2b2b2b",
|
|
29
|
+
strokeLinecap: "round",
|
|
30
|
+
strokeMiterlimit: 10,
|
|
31
|
+
strokeWidth: 2.51,
|
|
32
|
+
d: "M24 44h22"
|
|
33
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
|
+
fill: "none",
|
|
35
|
+
stroke: "#1f1f1f",
|
|
36
|
+
strokeLinecap: "round",
|
|
37
|
+
strokeMiterlimit: 10,
|
|
38
|
+
strokeWidth: 2,
|
|
39
|
+
d: "M32 50h6",
|
|
40
|
+
opacity: 0.31
|
|
41
|
+
})))));
|
|
42
|
+
};
|
|
43
|
+
var Memo = /*#__PURE__*/memo(Svg35Nb);
|
|
44
|
+
var rating3NS = Memo;
|
|
45
|
+
|
|
46
|
+
export { rating3NS as default };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _path, _path2, _path3, _path4, _ellipse, _ellipse2, _path5;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg45 = function Svg45(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fill: "#eef",
|
|
12
|
+
fillRule: "evenodd",
|
|
13
|
+
d: "M36.08 0a77.07 77.07 0 0 0-12.91 1.1C11.48 3.08 4 9.65 1.55 21.43a69.74 69.74 0 0 0-.24 28.05c2.31 12 9.57 19.25 21.61 21.38a75 75 0 0 0 13 1.14 77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0 0-27.82c-2.31-12-9.54-18.91-21.58-21A75 75 0 0 0 36.08 0"
|
|
14
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
fill: "#4f0599",
|
|
16
|
+
d: "M31.5 46.28a17.85 17.85 0 0 1-13.09-5.81 1.18 1.18 0 0 1 0-1.59 1 1 0 0 1 1.48 0 15.66 15.66 0 0 0 23.22 0 1 1 0 0 1 1.48 0 1.2 1.2 0 0 1 0 1.59 17.85 17.85 0 0 1-13.09 5.81z"
|
|
17
|
+
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
fill: "#1b1464",
|
|
19
|
+
d: "M31.5 51.14a17.47 17.47 0 0 1-5-.74 1.13 1.13 0 0 1-.73-1.4 1 1 0 0 1 1.29-.78 15.26 15.26 0 0 0 8.88 0 1 1 0 0 1 1.29.78 1.13 1.13 0 0 1-.72 1.38 17.52 17.52 0 0 1-5.01.76",
|
|
20
|
+
opacity: 0.31
|
|
21
|
+
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fill: "#4f0599",
|
|
23
|
+
d: "M24.32 28.58a1.08 1.08 0 0 1-1-1.12A5.3 5.3 0 0 0 18.19 22a5.3 5.3 0 0 0-5.09 5.46 1 1 0 1 1-2.09 0 7.46 7.46 0 0 1 7.18-7.7 7.45 7.45 0 0 1 7.17 7.7 1.08 1.08 0 0 1-1.04 1.12zm26.62 0a1.09 1.09 0 0 1-1-1.12 5.1 5.1 0 1 0-10.17 0 1 1 0 1 1-2.09 0 7.46 7.46 0 0 1 7.18-7.7 7.46 7.46 0 0 1 7.14 7.7 1.08 1.08 0 0 1-1.06 1.12z"
|
|
24
|
+
})), _ellipse || (_ellipse = /*#__PURE__*/React.createElement("ellipse", {
|
|
25
|
+
cx: 13.75,
|
|
26
|
+
cy: 37.62,
|
|
27
|
+
fill: "#f270a8",
|
|
28
|
+
rx: 2.75,
|
|
29
|
+
ry: 2.96
|
|
30
|
+
})), _ellipse2 || (_ellipse2 = /*#__PURE__*/React.createElement("ellipse", {
|
|
31
|
+
cx: 49.25,
|
|
32
|
+
cy: 37.62,
|
|
33
|
+
fill: "#f270a8",
|
|
34
|
+
rx: 2.75,
|
|
35
|
+
ry: 2.96
|
|
36
|
+
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
fill: "#2e3192",
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
d: "M70.66 22.18c-2.31-12-9.54-18.91-21.58-21C48.46 1 47.84 1 47.22.85A39.73 39.73 0 0 1 62 22c.28 1 5.22 20.18-7 34-10.87 12.29-30.91 15.38-48 6.17 3.73 4.53 9.06 7.47 16 8.69A75 75 0 0 0 36 72a77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0-.05-27.82z",
|
|
40
|
+
opacity: 0.06
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
var Memo = /*#__PURE__*/memo(Svg45);
|
|
44
|
+
var rating4 = Memo;
|
|
45
|
+
|
|
46
|
+
export { rating4 as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _defs, _g;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg45Nb = function Svg45Nb(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("style", null, "\n .cls-2{fill:#2b2b2b}.cls-4{fill:#9d9d9d}\n "))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
id: "Calque_2",
|
|
12
|
+
"data-name": "Calque 2"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
14
|
+
id: "Calque_1-2",
|
|
15
|
+
"data-name": "Calque 1"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
fill: "#f0f0f0",
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
d: "M36.08 0a77.07 77.07 0 0 0-12.91 1.1C11.48 3.08 4 9.65 1.55 21.43a69.74 69.74 0 0 0-.24 28.05c2.31 12 9.57 19.25 21.61 21.38a75 75 0 0 0 13 1.14 77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0 0-27.82c-2.31-12-9.54-18.91-21.58-21A75 75 0 0 0 36.08 0"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
d: "M31.5 46.28a17.85 17.85 0 0 1-13.09-5.81 1.18 1.18 0 0 1 0-1.59 1 1 0 0 1 1.48 0 15.66 15.66 0 0 0 23.22 0 1 1 0 0 1 1.48 0 1.2 1.2 0 0 1 0 1.59 17.85 17.85 0 0 1-13.09 5.81z",
|
|
22
|
+
className: "cls-2"
|
|
23
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
24
|
+
fill: "#1f1f1f",
|
|
25
|
+
d: "M31.5 51.14a17.47 17.47 0 0 1-5-.74 1.13 1.13 0 0 1-.73-1.4 1 1 0 0 1 1.29-.78 15.26 15.26 0 0 0 8.88 0 1 1 0 0 1 1.29.78 1.13 1.13 0 0 1-.72 1.38 17.52 17.52 0 0 1-5.01.76",
|
|
26
|
+
opacity: 0.31
|
|
27
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
|
+
d: "M24.32 28.58a1.08 1.08 0 0 1-1-1.12A5.3 5.3 0 0 0 18.19 22a5.3 5.3 0 0 0-5.09 5.46 1 1 0 1 1-2.09 0 7.46 7.46 0 0 1 7.18-7.7 7.45 7.45 0 0 1 7.17 7.7 1.08 1.08 0 0 1-1.04 1.12zm26.62 0a1.09 1.09 0 0 1-1-1.12 5.1 5.1 0 1 0-10.17 0 1 1 0 1 1-2.09 0 7.46 7.46 0 0 1 7.18-7.7 7.46 7.46 0 0 1 7.14 7.7 1.08 1.08 0 0 1-1.06 1.12z",
|
|
29
|
+
className: "cls-2"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
31
|
+
cx: 13.75,
|
|
32
|
+
cy: 37.62,
|
|
33
|
+
className: "cls-4",
|
|
34
|
+
rx: 2.75,
|
|
35
|
+
ry: 2.96
|
|
36
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
37
|
+
cx: 49.25,
|
|
38
|
+
cy: 37.62,
|
|
39
|
+
className: "cls-4",
|
|
40
|
+
rx: 2.75,
|
|
41
|
+
ry: 2.96
|
|
42
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
43
|
+
fill: "#3b3b3b",
|
|
44
|
+
fillRule: "evenodd",
|
|
45
|
+
d: "M70.66 22.18c-2.31-12-9.54-18.91-21.58-21C48.46 1 47.84 1 47.22.85A39.73 39.73 0 0 1 62 22c.28 1 5.22 20.18-7 34-10.87 12.29-30.91 15.38-48 6.17 3.73 4.53 9.06 7.47 16 8.69A75 75 0 0 0 36 72a77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0-.05-27.82z",
|
|
46
|
+
opacity: 0.06
|
|
47
|
+
})))));
|
|
48
|
+
};
|
|
49
|
+
var Memo = /*#__PURE__*/memo(Svg45Nb);
|
|
50
|
+
var rating4NS = Memo;
|
|
51
|
+
|
|
52
|
+
export { rating4NS as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _g;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg55 = function Svg55(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
"data-name": "Calque 2"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
"data-name": "Calque 1"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
fill: "#eef",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
d: "M36.08 0a77.07 77.07 0 0 0-12.91 1.1C11.48 3.08 4 9.65 1.55 21.43a69.74 69.74 0 0 0-.24 28.05c2.31 12 9.57 19.25 21.61 21.38a75 75 0 0 0 13 1.14 77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0 0-27.82c-2.31-12-9.54-18.91-21.58-21A75 75 0 0 0 36.08 0"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
fill: "#4f0599",
|
|
20
|
+
d: "M24.32 28.58a1.08 1.08 0 0 1-1-1.12A5.3 5.3 0 0 0 18.19 22a5.3 5.3 0 0 0-5.09 5.46 1 1 0 1 1-2.09 0 7.46 7.46 0 0 1 7.18-7.7 7.45 7.45 0 0 1 7.17 7.7 1.08 1.08 0 0 1-1.04 1.12zm26.62 0a1.09 1.09 0 0 1-1-1.12 5.1 5.1 0 1 0-10.17 0 1 1 0 1 1-2.09 0 7.46 7.46 0 0 1 7.18-7.7 7.46 7.46 0 0 1 7.14 7.7 1.08 1.08 0 0 1-1.06 1.12z"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fill: "#2e3192",
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
d: "M70.66 22.18c-2.31-12-9.54-18.91-21.58-21C48.46 1 47.84 1 47.22.85A39.73 39.73 0 0 1 62 22c.28 1 5.22 20.18-7 34-10.87 12.29-30.91 15.38-48 6.17 3.73 4.53 9.06 7.47 16 8.69A75 75 0 0 0 36 72a77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0-.05-27.82z",
|
|
25
|
+
opacity: 0.06
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: "#fff",
|
|
28
|
+
d: "M46 32.9v5.47a21.22 21.22 0 0 1-30 0V32.9a21.22 21.22 0 0 0 30 0"
|
|
29
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
30
|
+
fill: "#f954a2",
|
|
31
|
+
d: "M34.82 48.44a6.4 6.4 0 0 1 5.63 3.36 15 15 0 0 1-18.9 0A6.39 6.39 0 0 1 31 49.71a6.31 6.31 0 0 1 3.82-1.27"
|
|
32
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
33
|
+
fill: "#971096",
|
|
34
|
+
d: "M46 38.37v1.78a15 15 0 0 1-4.39 10.61c-.37.37-.76.71-1.16 1a6.4 6.4 0 0 0-5.63-3.36A6.31 6.31 0 0 0 31 49.71a6.39 6.39 0 0 0-9.45 2.09A15 15 0 0 1 16 40.15v-1.78a21.22 21.22 0 0 0 30 0"
|
|
35
|
+
})))));
|
|
36
|
+
};
|
|
37
|
+
var Memo = /*#__PURE__*/memo(Svg55);
|
|
38
|
+
var rating5 = Memo;
|
|
39
|
+
|
|
40
|
+
export { rating5 as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _g;
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
var Svg55Nb = function Svg55Nb(props) {
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 72 72"
|
|
10
|
+
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
"data-name": "Calque 2"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
"data-name": "Calque 1"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
fill: "#f0f0f0",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
d: "M36.08 0a77.07 77.07 0 0 0-12.91 1.1C11.48 3.08 4 9.65 1.55 21.43a69.74 69.74 0 0 0-.24 28.05c2.31 12 9.57 19.25 21.61 21.38a75 75 0 0 0 13 1.14 77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0 0-27.82c-2.31-12-9.54-18.91-21.58-21A75 75 0 0 0 36.08 0"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
fill: "#2b2b2b",
|
|
20
|
+
d: "M24.32 28.58a1.08 1.08 0 0 1-1-1.12A5.3 5.3 0 0 0 18.19 22a5.3 5.3 0 0 0-5.09 5.46 1 1 0 1 1-2.09 0 7.46 7.46 0 0 1 7.18-7.7 7.45 7.45 0 0 1 7.17 7.7 1.08 1.08 0 0 1-1.04 1.12zm26.62 0a1.09 1.09 0 0 1-1-1.12 5.1 5.1 0 1 0-10.17 0 1 1 0 1 1-2.09 0 7.46 7.46 0 0 1 7.18-7.7 7.46 7.46 0 0 1 7.14 7.7 1.08 1.08 0 0 1-1.06 1.12z"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fill: "#3b3b3b",
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
d: "M70.66 22.18c-2.31-12-9.54-18.91-21.58-21C48.46 1 47.84 1 47.22.85A39.73 39.73 0 0 1 62 22c.28 1 5.22 20.18-7 34-10.87 12.29-30.91 15.38-48 6.17 3.73 4.53 9.06 7.47 16 8.69A75 75 0 0 0 36 72a77.07 77.07 0 0 0 12.91-1.1c11.65-2 19.34-9.2 21.8-20.9a72 72 0 0 0-.05-27.82z",
|
|
25
|
+
opacity: 0.06
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: "#fff",
|
|
28
|
+
d: "M46 32.9v5.47a21.22 21.22 0 0 1-30 0V32.9a21.22 21.22 0 0 0 30 0"
|
|
29
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
30
|
+
fill: "#8e8e8e",
|
|
31
|
+
d: "M34.82 48.44a6.4 6.4 0 0 1 5.63 3.36 15 15 0 0 1-18.9 0A6.39 6.39 0 0 1 31 49.71a6.31 6.31 0 0 1 3.82-1.27"
|
|
32
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
33
|
+
fill: "#474747",
|
|
34
|
+
d: "M46 38.37v1.78a15 15 0 0 1-4.39 10.61c-.37.37-.76.71-1.16 1a6.4 6.4 0 0 0-5.63-3.36A6.31 6.31 0 0 0 31 49.71a6.39 6.39 0 0 0-9.45 2.09A15 15 0 0 1 16 40.15v-1.78a21.22 21.22 0 0 0 30 0"
|
|
35
|
+
})))));
|
|
36
|
+
};
|
|
37
|
+
var Memo = /*#__PURE__*/memo(Svg55Nb);
|
|
38
|
+
var rating5NS = Memo;
|
|
39
|
+
|
|
40
|
+
export { rating5NS as default };
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
2
|
+
import { keyframes, css } from '@emotion/react';
|
|
3
|
+
import { Stack } from '@ultraviolet/ui';
|
|
4
|
+
import { useState, useMemo } from 'react';
|
|
5
|
+
import rating1 from './assets/1-5.svg.js';
|
|
6
|
+
import rating1NS from './assets/1-5NB.svg.js';
|
|
7
|
+
import rating2 from './assets/2-5.svg.js';
|
|
8
|
+
import rating2NS from './assets/2-5NB.svg.js';
|
|
9
|
+
import rating3 from './assets/3-5.svg.js';
|
|
10
|
+
import rating3NS from './assets/3-5NB.svg.js';
|
|
11
|
+
import rating4 from './assets/4-5.svg.js';
|
|
12
|
+
import rating4NS from './assets/4-5NB.svg.js';
|
|
13
|
+
import rating5 from './assets/5-5.svg.js';
|
|
14
|
+
import rating5NS from './assets/5-5NB.svg.js';
|
|
15
|
+
import { jsx } from '@emotion/react/jsx-runtime';
|
|
16
|
+
|
|
17
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
18
|
+
const ratings = [{
|
|
19
|
+
value: 1,
|
|
20
|
+
imgSelected: rating1,
|
|
21
|
+
imgNotSelected: rating1NS
|
|
22
|
+
}, {
|
|
23
|
+
value: 2,
|
|
24
|
+
imgSelected: rating2,
|
|
25
|
+
imgNotSelected: rating2NS
|
|
26
|
+
}, {
|
|
27
|
+
value: 3,
|
|
28
|
+
imgSelected: rating3,
|
|
29
|
+
imgNotSelected: rating3NS
|
|
30
|
+
}, {
|
|
31
|
+
value: 4,
|
|
32
|
+
imgSelected: rating4,
|
|
33
|
+
imgNotSelected: rating4NS
|
|
34
|
+
}, {
|
|
35
|
+
value: 5,
|
|
36
|
+
imgSelected: rating5,
|
|
37
|
+
imgNotSelected: rating5NS
|
|
38
|
+
}];
|
|
39
|
+
const angryAnim = keyframes`
|
|
40
|
+
from, 10%, 40%, 80%, to {
|
|
41
|
+
transform: translate3d(0, 0, 0);
|
|
42
|
+
transform: rotate(0deg);
|
|
43
|
+
}
|
|
44
|
+
30% {
|
|
45
|
+
transform: translate3d(-5px, 0, 0);
|
|
46
|
+
transform: rotate(5deg);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
60% {
|
|
50
|
+
transform: translate3d(-4px, 0, 0);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
90% {
|
|
54
|
+
transform: translate3d(-1px, 0, 0);
|
|
55
|
+
transform: rotate(-5deg);
|
|
56
|
+
}
|
|
57
|
+
`;
|
|
58
|
+
const happyAnim = keyframes`
|
|
59
|
+
from, 10%, 40%, 80%, to {
|
|
60
|
+
transform: translate3d(0, 0, 0);
|
|
61
|
+
transform: rotate(0deg);
|
|
62
|
+
}
|
|
63
|
+
30% {
|
|
64
|
+
transform: translate3d(0, 5px, 0);
|
|
65
|
+
transform: rotate(5deg);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
60% {
|
|
69
|
+
transform: translate3d(0, -6px, 0);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
90% {
|
|
73
|
+
transform: translate3d(0, -2px, 0);
|
|
74
|
+
}
|
|
75
|
+
`;
|
|
76
|
+
const scaled = process.env.NODE_ENV === "production" ? {
|
|
77
|
+
name: "1wbgrkf",
|
|
78
|
+
styles: "transform:scale(1.2)"
|
|
79
|
+
} : {
|
|
80
|
+
name: "1wbgrkf",
|
|
81
|
+
styles: "transform:scale(1.2)",
|
|
82
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
83
|
+
};
|
|
84
|
+
const StyledImage = component => /*#__PURE__*/_styled(component, {
|
|
85
|
+
target: "epmg9lb0"
|
|
86
|
+
})("height:88px;width:88px;cursor:pointer;transition:transform 1s cubic-bezier(0.19, 1, 0.22, 1);&:hover,&:focus{", scaled, ";}", ({
|
|
87
|
+
isHovered,
|
|
88
|
+
isSelected
|
|
89
|
+
}) => isHovered && isSelected && scaled, " ", ({
|
|
90
|
+
isSelected,
|
|
91
|
+
isHappy
|
|
92
|
+
}) => isSelected && /*#__PURE__*/css("animation:", isHappy ? happyAnim : angryAnim, " 1s ease infinite;"), ";");
|
|
93
|
+
const CustomerSatisfaction = ({
|
|
94
|
+
value,
|
|
95
|
+
onChange,
|
|
96
|
+
'data-testid': dataTestId,
|
|
97
|
+
className
|
|
98
|
+
}) => {
|
|
99
|
+
const [hoveredValue, setHoveredValue] = useState(0);
|
|
100
|
+
const isHappy = useMemo(() => value > ratings.length / 2, [value]);
|
|
101
|
+
return jsx(Stack, {
|
|
102
|
+
direction: "row",
|
|
103
|
+
justifyContent: "space-between",
|
|
104
|
+
className: className,
|
|
105
|
+
"data-testid": dataTestId,
|
|
106
|
+
children: ratings.map(rating => {
|
|
107
|
+
const isSelected = rating.value === value;
|
|
108
|
+
const isHovered = rating.value === hoveredValue;
|
|
109
|
+
const isOverfly = rating.value <= hoveredValue;
|
|
110
|
+
const Image = StyledImage(isSelected || isOverfly || rating.value <= value ? rating.imgSelected : rating.imgNotSelected);
|
|
111
|
+
return jsx(Image, {
|
|
112
|
+
isHappy: isHappy,
|
|
113
|
+
isHovered: isHovered,
|
|
114
|
+
isSelected: isSelected,
|
|
115
|
+
onClick: () => {
|
|
116
|
+
onChange(rating.value);
|
|
117
|
+
},
|
|
118
|
+
onMouseEnter: () => {
|
|
119
|
+
setHoveredValue(rating.value);
|
|
120
|
+
},
|
|
121
|
+
onMouseLeave: () => {
|
|
122
|
+
setHoveredValue(0);
|
|
123
|
+
},
|
|
124
|
+
"data-testid": `${dataTestId}-${rating.value}`
|
|
125
|
+
}, rating.value);
|
|
126
|
+
})
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export { CustomerSatisfaction };
|
|
@@ -50,6 +50,14 @@ const StyledPriceCell = /*#__PURE__*/_styled(Cell.withComponent('th', {
|
|
|
50
50
|
theme
|
|
51
51
|
}) => PriceCell(theme), " padding:0;");
|
|
52
52
|
const DEFAULT_UNIT_LIST = ['hours', 'days', 'months'];
|
|
53
|
+
const DescriptionComponent = ({
|
|
54
|
+
description,
|
|
55
|
+
locales
|
|
56
|
+
}) => description === undefined || typeof description === 'string' ? jsx(Text, {
|
|
57
|
+
as: "span",
|
|
58
|
+
variant: "body",
|
|
59
|
+
children: description || locales['estimate.cost.description']
|
|
60
|
+
}) : description;
|
|
53
61
|
const EstimateCostContent = ({
|
|
54
62
|
description,
|
|
55
63
|
alert,
|
|
@@ -162,11 +170,10 @@ const EstimateCostContent = ({
|
|
|
162
170
|
discount: discount,
|
|
163
171
|
unit: overlayUnit ?? 'hours',
|
|
164
172
|
children: children
|
|
165
|
-
}) : null,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}) : description, alert ? jsx(Alert, {
|
|
173
|
+
}) : null, description === false ? null : jsx(DescriptionComponent, {
|
|
174
|
+
description: description,
|
|
175
|
+
locales: locales
|
|
176
|
+
}), alert ? jsx(Alert, {
|
|
170
177
|
sentiment: alertVariant,
|
|
171
178
|
title: alertTitle,
|
|
172
179
|
children: alert
|
package/dist/src/index.js
CHANGED
|
@@ -3,3 +3,4 @@ export { ContentCardGroup } from './components/ContentCardGroup/index.js';
|
|
|
3
3
|
export { CodeEditor } from './components/CodeEditor/CodeEditor.js';
|
|
4
4
|
export { EstimateCost } from './components/EstimateCost/EstimateCost.js';
|
|
5
5
|
export { default as estimateCostDefaultLocales } from './components/EstimateCost/locales/en.js';
|
|
6
|
+
export { CustomerSatisfaction } from './components/CustomerSatisfaction/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/plus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Ultraviolet Plus",
|
|
5
5
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
6
6
|
"repository": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@types/react-dom": "18.2.18",
|
|
48
48
|
"react": "18.2.0",
|
|
49
49
|
"react-dom": "18.2.0",
|
|
50
|
-
"@ultraviolet/icons": "2.7.
|
|
50
|
+
"@ultraviolet/icons": "2.7.6"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@uiw/codemirror-extensions-langs": "4.21.21",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@uiw/react-codemirror": "4.21.21",
|
|
56
56
|
"react-flatten-children": "1.1.2",
|
|
57
57
|
"react-intersection-observer": "9.5.3",
|
|
58
|
-
"@ultraviolet/themes": "1.
|
|
59
|
-
"@ultraviolet/ui": "1.
|
|
58
|
+
"@ultraviolet/themes": "1.7.0",
|
|
59
|
+
"@ultraviolet/ui": "1.30.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "rollup -c ../../rollup.config.mjs",
|