@prom-ui/core 1.19.1 → 2.0.0-alpha.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/Avatar/cjs/index.development.js +40 -59
- package/Avatar/cjs/index.development.v2.js +40 -59
- package/Avatar/cjs/index.production.js +1 -1
- package/Avatar/cjs/index.production.v2.js +1 -1
- package/Avatar/package.json +1 -1
- package/Backdrop/cjs/index.development.js +62 -77
- package/Backdrop/cjs/index.development.v2.js +62 -77
- package/Backdrop/cjs/index.production.js +1 -1
- package/Backdrop/cjs/index.production.v2.js +1 -1
- package/Backdrop/package.json +1 -1
- package/Badge/cjs/index.development.js +39 -57
- package/Badge/cjs/index.development.v2.js +39 -57
- package/Badge/cjs/index.production.js +1 -1
- package/Badge/cjs/index.production.v2.js +1 -1
- package/Badge/index.d.ts +5 -5
- package/Badge/package.json +1 -1
- package/Body/package.json +1 -1
- package/BodyContext/cjs/index.development.js +0 -21
- package/BodyContext/cjs/index.development.v2.js +0 -21
- package/BodyContext/cjs/index.production.js +1 -1
- package/BodyContext/cjs/index.production.v2.js +1 -1
- package/BodyContext/index.d.ts +0 -7
- package/BodyContext/package.json +1 -1
- package/BodyProvider/cjs/index.development.js +3 -6
- package/BodyProvider/cjs/index.development.v2.js +3 -6
- package/BodyProvider/cjs/index.production.js +1 -1
- package/BodyProvider/cjs/index.production.v2.js +1 -1
- package/BodyProvider/index.d.ts +0 -3
- package/BodyProvider/package.json +1 -1
- package/BodyScrollLock/cjs/index.development.js +1 -0
- package/BodyScrollLock/cjs/index.development.v2.js +1 -0
- package/BodyScrollLock/package.json +1 -1
- package/Box/package.json +1 -1
- package/Button/cjs/index.development.js +23 -34
- package/Button/cjs/index.development.v2.js +23 -34
- package/Button/cjs/index.production.js +1 -1
- package/Button/cjs/index.production.v2.js +1 -1
- package/Button/package.json +1 -1
- package/ButtonPageUp/cjs/index.development.js +100 -122
- package/ButtonPageUp/cjs/index.development.v2.js +100 -122
- package/ButtonPageUp/cjs/index.production.js +1 -1
- package/ButtonPageUp/cjs/index.production.v2.js +1 -1
- package/ButtonPageUp/index.d.ts +1 -1
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/cjs/index.development.js +43 -59
- package/Checkbox/cjs/index.development.v2.js +43 -59
- package/Checkbox/cjs/index.production.js +1 -1
- package/Checkbox/cjs/index.production.v2.js +1 -1
- package/Checkbox/package.json +1 -1
- package/ContextMenu/cjs/index.development.js +72 -86
- package/ContextMenu/cjs/index.development.v2.js +72 -86
- package/ContextMenu/cjs/index.production.js +1 -1
- package/ContextMenu/cjs/index.production.v2.js +1 -1
- package/ContextMenu/package.json +1 -1
- package/ErrorCatch/cjs/index.development.js +115 -160
- package/ErrorCatch/cjs/index.development.v2.js +115 -160
- package/ErrorCatch/cjs/index.production.js +1 -1
- package/ErrorCatch/cjs/index.production.v2.js +1 -1
- package/ErrorCatch/package.json +1 -1
- package/ErrorCatch/utils.d.ts +0 -2
- package/ErrorCatch/withErrorCatch.d.ts +1 -1
- package/Flex/package.json +1 -1
- package/Grid/package.json +1 -1
- package/Icon/package.json +1 -1
- package/Image/package.json +1 -1
- package/ImageEmoji/cjs/index.development.js +24 -34
- package/ImageEmoji/cjs/index.development.v2.js +24 -34
- package/ImageEmoji/cjs/index.production.js +1 -1
- package/ImageEmoji/cjs/index.production.v2.js +1 -1
- package/ImageEmoji/package.json +1 -1
- package/Input/package.json +1 -1
- package/InputField/cjs/index.development.js +71 -101
- package/InputField/cjs/index.development.v2.js +71 -101
- package/InputField/cjs/index.production.js +1 -1
- package/InputField/cjs/index.production.v2.js +1 -1
- package/InputField/package.json +1 -1
- package/InputField/utils.d.ts +0 -1
- package/KeyPress/package.json +1 -1
- package/Label/cjs/index.development.js +2 -0
- package/Label/cjs/index.development.v2.js +2 -0
- package/Label/package.json +1 -1
- package/Line/package.json +1 -1
- package/Link/package.json +1 -1
- package/List/package.json +1 -1
- package/Media/cjs/index.development.js +37 -38
- package/Media/cjs/index.development.v2.js +37 -38
- package/Media/cjs/index.production.js +1 -1
- package/Media/cjs/index.production.v2.js +1 -1
- package/Media/index.d.ts +1 -1
- package/Media/package.json +1 -1
- package/Modal/cjs/index.development.js +64 -82
- package/Modal/cjs/index.development.v2.js +64 -82
- package/Modal/cjs/index.production.js +1 -1
- package/Modal/cjs/index.production.v2.js +1 -1
- package/Modal/package.json +1 -1
- package/OutsideClick/cjs/index.development.js +62 -75
- package/OutsideClick/cjs/index.development.v2.js +62 -75
- package/OutsideClick/cjs/index.production.js +1 -1
- package/OutsideClick/cjs/index.production.v2.js +1 -1
- package/OutsideClick/package.json +1 -1
- package/Overlay/cjs/index.development.js +94 -110
- package/Overlay/cjs/index.development.v2.js +94 -110
- package/Overlay/cjs/index.production.js +1 -1
- package/Overlay/cjs/index.production.v2.js +1 -1
- package/Overlay/components/OverlayErrCatch.d.ts +1 -1
- package/Overlay/components/SwipeClose.d.ts +3 -3
- package/Overlay/index.d.ts +1 -1
- package/Overlay/package.json +1 -1
- package/PhotoGallery/cjs/index.development.js +78 -75
- package/PhotoGallery/cjs/index.development.v2.js +78 -75
- package/PhotoGallery/cjs/index.production.js +1 -1
- package/PhotoGallery/cjs/index.production.v2.js +1 -1
- package/PhotoGallery/package.json +1 -1
- package/PhotoGallery/utils.d.ts +1 -1
- package/Picture/package.json +1 -1
- package/Portal/index.d.ts +1 -1
- package/Portal/package.json +1 -1
- package/Progress/cjs/index.development.js +58 -76
- package/Progress/cjs/index.development.v2.js +58 -76
- package/Progress/cjs/index.production.js +1 -1
- package/Progress/cjs/index.production.v2.js +1 -1
- package/Progress/package.json +1 -1
- package/QRCode/package.json +1 -1
- package/Rating/cjs/index.development.js +23 -36
- package/Rating/cjs/index.development.v2.js +23 -36
- package/Rating/cjs/index.production.js +1 -1
- package/Rating/cjs/index.production.v2.js +1 -1
- package/Rating/package.json +1 -1
- package/RatingSelect/cjs/index.development.js +74 -89
- package/RatingSelect/cjs/index.development.v2.js +74 -89
- package/RatingSelect/cjs/index.production.js +1 -1
- package/RatingSelect/cjs/index.production.v2.js +1 -1
- package/RatingSelect/package.json +1 -1
- package/Scroll/package.json +1 -1
- package/ScrollControls/ScrollControlsButton.d.ts +1 -1
- package/ScrollControls/cjs/index.development.js +86 -108
- package/ScrollControls/cjs/index.development.v2.js +86 -108
- package/ScrollControls/cjs/index.production.js +1 -1
- package/ScrollControls/cjs/index.production.v2.js +1 -1
- package/ScrollControls/index.d.ts +1 -1
- package/ScrollControls/package.json +1 -1
- package/SimpleSlider/cjs/index.development.js +112 -133
- package/SimpleSlider/cjs/index.development.v2.js +112 -133
- package/SimpleSlider/cjs/index.production.js +1 -1
- package/SimpleSlider/cjs/index.production.v2.js +1 -1
- package/SimpleSlider/index.d.ts +0 -1
- package/SimpleSlider/package.json +1 -2
- package/SimpleSlider/utils.d.ts +1 -1
- package/Skeleton/cjs/index.development.js +58 -76
- package/Skeleton/cjs/index.development.v2.js +58 -76
- package/Skeleton/cjs/index.production.js +1 -1
- package/Skeleton/cjs/index.production.v2.js +1 -1
- package/Skeleton/index.d.ts +6 -6
- package/Skeleton/package.json +1 -1
- package/SnackBar/cjs/index.development.js +62 -77
- package/SnackBar/cjs/index.development.v2.js +62 -77
- package/SnackBar/cjs/index.production.js +1 -1
- package/SnackBar/cjs/index.production.v2.js +1 -1
- package/SnackBar/index.d.ts +8 -8
- package/SnackBar/package.json +1 -1
- package/SnackBarManager/cjs/index.development.js +81 -93
- package/SnackBarManager/cjs/index.development.v2.js +81 -93
- package/SnackBarManager/cjs/index.production.js +1 -1
- package/SnackBarManager/cjs/index.production.v2.js +1 -1
- package/SnackBarManager/package.json +1 -1
- package/Spinner/cjs/index.development.js +22 -34
- package/Spinner/cjs/index.development.v2.js +22 -34
- package/Spinner/cjs/index.production.js +1 -1
- package/Spinner/cjs/index.production.v2.js +1 -1
- package/Spinner/index.d.ts +3 -3
- package/Spinner/package.json +1 -1
- package/Text/package.json +1 -1
- package/TextEmoji/cjs/index.development.js +22 -34
- package/TextEmoji/cjs/index.development.v2.js +22 -34
- package/TextEmoji/cjs/index.production.js +1 -1
- package/TextEmoji/cjs/index.production.v2.js +1 -1
- package/TextEmoji/package.json +1 -1
- package/Tooltip/cjs/index.development.js +12 -12
- package/Tooltip/cjs/index.development.v2.js +12 -12
- package/Tooltip/cjs/index.production.js +1 -1
- package/Tooltip/cjs/index.production.v2.js +1 -1
- package/Tooltip/package.json +1 -1
- package/Tumbler/cjs/index.development.js +42 -57
- package/Tumbler/cjs/index.development.v2.js +42 -57
- package/Tumbler/cjs/index.production.js +1 -1
- package/Tumbler/cjs/index.production.v2.js +1 -1
- package/Tumbler/package.json +1 -1
- package/Viewport/cjs/index.development.js +22 -34
- package/Viewport/cjs/index.development.v2.js +22 -34
- package/Viewport/cjs/index.production.js +1 -1
- package/Viewport/cjs/index.production.v2.js +1 -1
- package/Viewport/package.json +1 -1
- package/base/types.d.ts +1 -1
- package/package.json +6 -15
- package/useBodyTTag/package.json +1 -1
- package/useBrowserLayoutEffect/package.json +1 -1
- package/useDebounce/cjs/index.development.js +37 -39
- package/useDebounce/cjs/index.development.v2.js +37 -39
- package/useDebounce/cjs/index.production.js +1 -1
- package/useDebounce/cjs/index.production.v2.js +1 -1
- package/useDebounce/index.d.ts +1 -1
- package/useDebounce/package.json +1 -1
- package/useForwardRef/index.d.ts +1 -1
- package/useForwardRef/package.json +1 -1
- package/useInView/cjs/index.development.js +0 -1
- package/useInView/cjs/index.development.v2.js +0 -1
- package/useInView/cjs/index.production.js +1 -1
- package/useInView/cjs/index.production.v2.js +1 -1
- package/useInView/index.d.ts +0 -1
- package/useInView/package.json +1 -2
- package/useIsMounted/package.json +1 -1
- package/useKeyPress/cjs/index.development.js +47 -40
- package/useKeyPress/cjs/index.development.v2.js +47 -40
- package/useKeyPress/cjs/index.production.js +1 -1
- package/useKeyPress/cjs/index.production.v2.js +1 -1
- package/useKeyPress/package.json +1 -1
- package/useMedia/package.json +1 -1
- package/useOutsideClick/package.json +1 -1
- package/usePortal/cjs/index.development.js +1 -1
- package/usePortal/cjs/index.development.v2.js +1 -1
- package/usePortal/cjs/index.production.js +1 -1
- package/usePortal/cjs/index.production.v2.js +1 -1
- package/usePortal/package.json +1 -1
- package/useScrollPosition/package.json +1 -1
- package/useSnackBar/package.json +1 -1
- package/SafeQuery/cjs/index.development.js +0 -73
- package/SafeQuery/cjs/index.development.v2.js +0 -73
- package/SafeQuery/cjs/index.production.js +0 -1
- package/SafeQuery/cjs/index.production.v2.js +0 -1
- package/SafeQuery/index.d.ts +0 -10
- package/SafeQuery/index.js +0 -7
- package/SafeQuery/index.v2.js +0 -7
- package/SafeQuery/package.json +0 -9
- package/useId/cjs/index.development.js +0 -43
- package/useId/cjs/index.development.v2.js +0 -43
- package/useId/cjs/index.production.js +0 -1
- package/useId/cjs/index.production.v2.js +0 -1
- package/useId/index.d.ts +0 -4
- package/useId/index.js +0 -7
- package/useId/index.v2.js +0 -7
- package/useId/package.json +0 -9
|
@@ -28,95 +28,77 @@ function _interopNamespaceCompat(e) {
|
|
|
28
28
|
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
29
29
|
var classNames__default = /*#__PURE__*/_interopDefaultCompat(classNames);
|
|
30
30
|
|
|
31
|
-
function
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
return keys;
|
|
31
|
+
function _defineProperty(e, r, t) {
|
|
32
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
33
|
+
value: t,
|
|
34
|
+
enumerable: !0,
|
|
35
|
+
configurable: !0,
|
|
36
|
+
writable: !0
|
|
37
|
+
}) : e[r] = t, e;
|
|
40
38
|
}
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
function _extends() {
|
|
40
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
41
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
42
|
+
var t = arguments[e];
|
|
43
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
44
|
+
}
|
|
45
|
+
return n;
|
|
46
|
+
}, _extends.apply(null, arguments);
|
|
47
|
+
}
|
|
48
|
+
function ownKeys(e, r) {
|
|
49
|
+
var t = Object.keys(e);
|
|
50
|
+
if (Object.getOwnPropertySymbols) {
|
|
51
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
52
|
+
r && (o = o.filter(function (r) {
|
|
53
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
54
|
+
})), t.push.apply(t, o);
|
|
49
55
|
}
|
|
50
|
-
return
|
|
56
|
+
return t;
|
|
51
57
|
}
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Object
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
writable: true
|
|
58
|
+
function _objectSpread2(e) {
|
|
59
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
60
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
61
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
|
62
|
+
_defineProperty(e, r, t[r]);
|
|
63
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
64
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
60
65
|
});
|
|
61
|
-
} else {
|
|
62
|
-
obj[key] = value;
|
|
63
66
|
}
|
|
64
|
-
return
|
|
67
|
+
return e;
|
|
65
68
|
}
|
|
66
|
-
function
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return target;
|
|
77
|
-
};
|
|
78
|
-
return _extends.apply(this, arguments);
|
|
79
|
-
}
|
|
80
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
81
|
-
if (source == null) return {};
|
|
82
|
-
var target = {};
|
|
83
|
-
var sourceKeys = Object.keys(source);
|
|
84
|
-
var key, i;
|
|
85
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
86
|
-
key = sourceKeys[i];
|
|
87
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
88
|
-
target[key] = source[key];
|
|
69
|
+
function _objectWithoutProperties(e, t) {
|
|
70
|
+
if (null == e) return {};
|
|
71
|
+
var o,
|
|
72
|
+
r,
|
|
73
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
74
|
+
if (Object.getOwnPropertySymbols) {
|
|
75
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
76
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
89
77
|
}
|
|
90
|
-
return
|
|
78
|
+
return i;
|
|
91
79
|
}
|
|
92
|
-
function
|
|
93
|
-
if (
|
|
94
|
-
var
|
|
95
|
-
var
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
99
|
-
key = sourceSymbolKeys[i];
|
|
100
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
101
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
102
|
-
target[key] = source[key];
|
|
103
|
-
}
|
|
80
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
81
|
+
if (null == r) return {};
|
|
82
|
+
var t = {};
|
|
83
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
84
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
85
|
+
t[n] = r[n];
|
|
104
86
|
}
|
|
105
|
-
return
|
|
87
|
+
return t;
|
|
106
88
|
}
|
|
107
|
-
function _toPrimitive(
|
|
108
|
-
if (
|
|
109
|
-
var
|
|
110
|
-
if (
|
|
111
|
-
var
|
|
112
|
-
if (
|
|
89
|
+
function _toPrimitive(t, r) {
|
|
90
|
+
if ("object" != typeof t || !t) return t;
|
|
91
|
+
var e = t[Symbol.toPrimitive];
|
|
92
|
+
if (void 0 !== e) {
|
|
93
|
+
var i = e.call(t, r || "default");
|
|
94
|
+
if ("object" != typeof i) return i;
|
|
113
95
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
114
96
|
}
|
|
115
|
-
return (
|
|
97
|
+
return ("string" === r ? String : Number)(t);
|
|
116
98
|
}
|
|
117
|
-
function _toPropertyKey(
|
|
118
|
-
var
|
|
119
|
-
return
|
|
99
|
+
function _toPropertyKey(t) {
|
|
100
|
+
var i = _toPrimitive(t, "string");
|
|
101
|
+
return "symbol" == typeof i ? i : i + "";
|
|
120
102
|
}
|
|
121
103
|
|
|
122
104
|
var css = {"root":"Progress__root___DYWod","root_theme_yellow-500":"Progress__root_theme_yellow-500___GlEJ3","root_theme_violet-500":"Progress__root_theme_violet-500___QPb6V","root_theme_green-700":"Progress__root_theme_green-700___FVrHZ"};
|
|
@@ -28,95 +28,77 @@ function _interopNamespaceCompat(e) {
|
|
|
28
28
|
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
29
29
|
var classNames__default = /*#__PURE__*/_interopDefaultCompat(classNames);
|
|
30
30
|
|
|
31
|
-
function
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
return keys;
|
|
31
|
+
function _defineProperty(e, r, t) {
|
|
32
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
33
|
+
value: t,
|
|
34
|
+
enumerable: !0,
|
|
35
|
+
configurable: !0,
|
|
36
|
+
writable: !0
|
|
37
|
+
}) : e[r] = t, e;
|
|
40
38
|
}
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
function _extends() {
|
|
40
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
41
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
42
|
+
var t = arguments[e];
|
|
43
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
44
|
+
}
|
|
45
|
+
return n;
|
|
46
|
+
}, _extends.apply(null, arguments);
|
|
47
|
+
}
|
|
48
|
+
function ownKeys(e, r) {
|
|
49
|
+
var t = Object.keys(e);
|
|
50
|
+
if (Object.getOwnPropertySymbols) {
|
|
51
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
52
|
+
r && (o = o.filter(function (r) {
|
|
53
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
54
|
+
})), t.push.apply(t, o);
|
|
49
55
|
}
|
|
50
|
-
return
|
|
56
|
+
return t;
|
|
51
57
|
}
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Object
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
writable: true
|
|
58
|
+
function _objectSpread2(e) {
|
|
59
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
60
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
61
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
|
62
|
+
_defineProperty(e, r, t[r]);
|
|
63
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
64
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
60
65
|
});
|
|
61
|
-
} else {
|
|
62
|
-
obj[key] = value;
|
|
63
66
|
}
|
|
64
|
-
return
|
|
67
|
+
return e;
|
|
65
68
|
}
|
|
66
|
-
function
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return target;
|
|
77
|
-
};
|
|
78
|
-
return _extends.apply(this, arguments);
|
|
79
|
-
}
|
|
80
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
81
|
-
if (source == null) return {};
|
|
82
|
-
var target = {};
|
|
83
|
-
var sourceKeys = Object.keys(source);
|
|
84
|
-
var key, i;
|
|
85
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
86
|
-
key = sourceKeys[i];
|
|
87
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
88
|
-
target[key] = source[key];
|
|
69
|
+
function _objectWithoutProperties(e, t) {
|
|
70
|
+
if (null == e) return {};
|
|
71
|
+
var o,
|
|
72
|
+
r,
|
|
73
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
74
|
+
if (Object.getOwnPropertySymbols) {
|
|
75
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
76
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
89
77
|
}
|
|
90
|
-
return
|
|
78
|
+
return i;
|
|
91
79
|
}
|
|
92
|
-
function
|
|
93
|
-
if (
|
|
94
|
-
var
|
|
95
|
-
var
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
99
|
-
key = sourceSymbolKeys[i];
|
|
100
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
101
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
102
|
-
target[key] = source[key];
|
|
103
|
-
}
|
|
80
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
81
|
+
if (null == r) return {};
|
|
82
|
+
var t = {};
|
|
83
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
84
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
85
|
+
t[n] = r[n];
|
|
104
86
|
}
|
|
105
|
-
return
|
|
87
|
+
return t;
|
|
106
88
|
}
|
|
107
|
-
function _toPrimitive(
|
|
108
|
-
if (
|
|
109
|
-
var
|
|
110
|
-
if (
|
|
111
|
-
var
|
|
112
|
-
if (
|
|
89
|
+
function _toPrimitive(t, r) {
|
|
90
|
+
if ("object" != typeof t || !t) return t;
|
|
91
|
+
var e = t[Symbol.toPrimitive];
|
|
92
|
+
if (void 0 !== e) {
|
|
93
|
+
var i = e.call(t, r || "default");
|
|
94
|
+
if ("object" != typeof i) return i;
|
|
113
95
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
114
96
|
}
|
|
115
|
-
return (
|
|
97
|
+
return ("string" === r ? String : Number)(t);
|
|
116
98
|
}
|
|
117
|
-
function _toPropertyKey(
|
|
118
|
-
var
|
|
119
|
-
return
|
|
99
|
+
function _toPropertyKey(t) {
|
|
100
|
+
var i = _toPrimitive(t, "string");
|
|
101
|
+
return "symbol" == typeof i ? i : i + "";
|
|
120
102
|
}
|
|
121
103
|
|
|
122
104
|
var css = {"root":"Progress__root___Qt61w","root_theme_yellow-500":"Progress__root_theme_yellow-500___Q--6y","root_theme_violet-500":"Progress__root_theme_violet-500___ZJtv2","root_theme_green-700":"Progress__root_theme_green-700___qpHWh"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("clsx");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var o=n(e),i=t(r);function a(e,r
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("clsx");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var o=n(e),i=t(r);function a(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},u.apply(null,arguments)}function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var f={root:"DYWod","root_theme_yellow-500":"GlEJ3","root_theme_violet-500":"QPb6V","root_theme_green-700":"FVrHZ"},s=["value","min","max","theme","style","className"],p=o.forwardRef((function(e,r){var t=e.value,n=void 0===t?0:t,a=e.min,c=void 0===a?0:a,p=e.max,b=void 0===p?100:p,y=e.theme,v=void 0===y?"yellow-500":y,O=e.style,m=e.className,d=function(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,s),g=100-Math.min(Math.max((n-c)/(b-c)*100,0),100);return o.createElement("div",u({ref:r,className:i.default(f.root,f["root_theme_".concat(v)],m),role:"progressbar","aria-valuenow":n,"aria-valuemin":c,"aria-valuemax":b,"data-testid":"progress","data-qaid":"progress",style:l(l({},O),{},{"--pds-progress-width":"-".concat(g,"%")})},d))}));p.displayName="Progress",exports.Progress=p,require("./style.production.css");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("clsx");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var o=n(e),i=t(r);function a(e,r
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("clsx");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var o=n(e),i=t(r);function a(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},u.apply(null,arguments)}function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var f={root:"Qt61w","root_theme_yellow-500":"Q--6y","root_theme_violet-500":"ZJtv2","root_theme_green-700":"qpHWh"},s=["value","min","max","theme","style","className"],p=o.forwardRef((function(e,r){var t=e.value,n=void 0===t?0:t,a=e.min,c=void 0===a?0:a,p=e.max,b=void 0===p?100:p,v=e.theme,y=void 0===v?"yellow-500":v,O=e.style,m=e.className,d=function(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,s),g=100-Math.min(Math.max((n-c)/(b-c)*100,0),100);return o.createElement("div",u({ref:r,className:i.default(f.root,f["root_theme_".concat(y)],m),role:"progressbar","aria-valuenow":n,"aria-valuemin":c,"aria-valuemax":b,"data-testid":"progress","data-qaid":"progress",style:l(l({},O),{},{"--pds-progress-width":"-".concat(g,"%")})},d))}));p.displayName="Progress",exports.Progress=p,require("./style.production.v2.css");
|
package/Progress/package.json
CHANGED
package/QRCode/package.json
CHANGED
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var classNames = require('clsx');
|
|
7
|
-
var useId = require('@prom-ui/core/useId');
|
|
8
7
|
|
|
9
8
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
9
|
|
|
@@ -30,45 +29,33 @@ var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
|
30
29
|
var classNames__default = /*#__PURE__*/_interopDefaultCompat(classNames);
|
|
31
30
|
|
|
32
31
|
function _extends() {
|
|
33
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
34
|
-
for (var
|
|
35
|
-
var
|
|
36
|
-
for (var
|
|
37
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
38
|
-
target[key] = source[key];
|
|
39
|
-
}
|
|
40
|
-
}
|
|
32
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
33
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
34
|
+
var t = arguments[e];
|
|
35
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
41
36
|
}
|
|
42
|
-
return
|
|
43
|
-
};
|
|
44
|
-
return _extends.apply(this, arguments);
|
|
37
|
+
return n;
|
|
38
|
+
}, _extends.apply(null, arguments);
|
|
45
39
|
}
|
|
46
|
-
function
|
|
47
|
-
if (
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
target[key] = source[key];
|
|
40
|
+
function _objectWithoutProperties(e, t) {
|
|
41
|
+
if (null == e) return {};
|
|
42
|
+
var o,
|
|
43
|
+
r,
|
|
44
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
45
|
+
if (Object.getOwnPropertySymbols) {
|
|
46
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
47
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
55
48
|
}
|
|
56
|
-
return
|
|
49
|
+
return i;
|
|
57
50
|
}
|
|
58
|
-
function
|
|
59
|
-
if (
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
65
|
-
key = sourceSymbolKeys[i];
|
|
66
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
67
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
68
|
-
target[key] = source[key];
|
|
69
|
-
}
|
|
51
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
52
|
+
if (null == r) return {};
|
|
53
|
+
var t = {};
|
|
54
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
55
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
56
|
+
t[n] = r[n];
|
|
70
57
|
}
|
|
71
|
-
return
|
|
58
|
+
return t;
|
|
72
59
|
}
|
|
73
60
|
|
|
74
61
|
var css = {"root":"Rating__root___AYAsy"};
|
|
@@ -86,7 +73,7 @@ var Rating = /*#__PURE__*/React__namespace.forwardRef(function (_ref, ref) {
|
|
|
86
73
|
className = _ref.className,
|
|
87
74
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
88
75
|
var gradientOffset = Math.round(percent > 0 ? percent : value / 5 * 100);
|
|
89
|
-
var gradientId =
|
|
76
|
+
var gradientId = React__namespace.useId();
|
|
90
77
|
var currentSize = size;
|
|
91
78
|
|
|
92
79
|
// DEPRECATED
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var classNames = require('clsx');
|
|
7
|
-
var useId = require('@prom-ui/core/useId');
|
|
8
7
|
|
|
9
8
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
9
|
|
|
@@ -30,45 +29,33 @@ var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
|
30
29
|
var classNames__default = /*#__PURE__*/_interopDefaultCompat(classNames);
|
|
31
30
|
|
|
32
31
|
function _extends() {
|
|
33
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
34
|
-
for (var
|
|
35
|
-
var
|
|
36
|
-
for (var
|
|
37
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
38
|
-
target[key] = source[key];
|
|
39
|
-
}
|
|
40
|
-
}
|
|
32
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
33
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
34
|
+
var t = arguments[e];
|
|
35
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
41
36
|
}
|
|
42
|
-
return
|
|
43
|
-
};
|
|
44
|
-
return _extends.apply(this, arguments);
|
|
37
|
+
return n;
|
|
38
|
+
}, _extends.apply(null, arguments);
|
|
45
39
|
}
|
|
46
|
-
function
|
|
47
|
-
if (
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
target[key] = source[key];
|
|
40
|
+
function _objectWithoutProperties(e, t) {
|
|
41
|
+
if (null == e) return {};
|
|
42
|
+
var o,
|
|
43
|
+
r,
|
|
44
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
45
|
+
if (Object.getOwnPropertySymbols) {
|
|
46
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
47
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
55
48
|
}
|
|
56
|
-
return
|
|
49
|
+
return i;
|
|
57
50
|
}
|
|
58
|
-
function
|
|
59
|
-
if (
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
65
|
-
key = sourceSymbolKeys[i];
|
|
66
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
67
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
68
|
-
target[key] = source[key];
|
|
69
|
-
}
|
|
51
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
52
|
+
if (null == r) return {};
|
|
53
|
+
var t = {};
|
|
54
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
55
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
56
|
+
t[n] = r[n];
|
|
70
57
|
}
|
|
71
|
-
return
|
|
58
|
+
return t;
|
|
72
59
|
}
|
|
73
60
|
|
|
74
61
|
var css = {"root":"Rating__root___aJlm0"};
|
|
@@ -86,7 +73,7 @@ var Rating = /*#__PURE__*/React__namespace.forwardRef(function (_ref, ref) {
|
|
|
86
73
|
className = _ref.className,
|
|
87
74
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
88
75
|
var gradientOffset = Math.round(percent > 0 ? percent : value / 5 * 100);
|
|
89
|
-
var gradientId =
|
|
76
|
+
var gradientId = React__namespace.useId();
|
|
90
77
|
var currentSize = size;
|
|
91
78
|
|
|
92
79
|
// DEPRECATED
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("clsx")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("clsx");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=n(e),o=r(t);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(null,arguments)}var C="AYAsy",c=["value","percent","size","theme","className"],i=a.forwardRef((function(e,t){var r=e.value,n=void 0===r?0:r,i=e.percent,L=void 0===i?0:i,u=e.size,f=void 0===u?18:u,s=e.theme,d=void 0===s?"violet-500":s,p=e.className,v=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,c),b=Math.round(L>0?L:n/5*100),m=a.useId(),y=f;return"small"===f?y=14:"default"===f?y=18:"big"===f&&(y=22),a.createElement("svg",l({className:o.default(C,p),height:y},v,{ref:t,viewBox:"0 0 120 24",tabIndex:-1,focusable:!1}),a.createElement("defs",null,a.createElement("linearGradient",{id:m},a.createElement("stop",{offset:"".concat(b,"%"),stopColor:"var(--".concat(d,")")}),a.createElement("stop",{offset:"".concat(b,"%"),stopColor:"var(--black-400)"}))),a.createElement("path",{fill:"url(#".concat(m,")"),d:"M 17.138 22 C 16.863 22 16.588 21.931 16.335 21.792 L 12 19.405 L 7.665 21.792 C 7.102 22.1 6.428 22.063 5.902 21.692 C 5.359 21.308 5.09 20.658 5.199 19.994 L 6.037 14.877 L 2.4939999999999998 11.26 C 2.036 10.792 1.883 10.113 2.092 9.488 C 2.2960000000000003 8.878 2.8120000000000003 8.438 3.439 8.343 L 8.297 7.604 L 10.479 2.974 C 10.763 2.374 11.345 2 12 2 C 12.654 2 13.237 2.374 13.52 2.974 L 15.703 7.604 L 20.561 8.343 C 21.187 8.438 21.704 8.878 21.908 9.488 C 22.117 10.113 21.964 10.792 21.508 11.258 L 17.963 14.877 L 18.802 19.995 C 18.91 20.658 18.641 21.308 18.098 21.692 C 17.809 21.896 17.475 22 17.138 22 Z M 41.138 22 C 40.863 22 40.588 21.931 40.335 21.792 L 36 19.405 L 31.665 21.792 C 31.102 22.1 30.428 22.063 29.902 21.692 C 29.359 21.308 29.09 20.658 29.199 19.994 L 30.037 14.877 L 26.494 11.26 C 26.036 10.792 25.883 10.113 26.092 9.488 C 26.296 8.878 26.812 8.438 27.439 8.343 L 32.297 7.604 L 34.479 2.974 C 34.763 2.374 35.345 2 36 2 C 36.654 2 37.237 2.374 37.52 2.974 L 39.703 7.604 L 44.561 8.343 C 45.187 8.438 45.704 8.878 45.908 9.488 C 46.117 10.113 45.964 10.792 45.508 11.258 L 41.963 14.877 L 42.802 19.995 C 42.91 20.658 42.641 21.308 42.098 21.692 C 41.809 21.896 41.475 22 41.138 22 Z M 65.138 22 C 64.863 22 64.588 21.931 64.335 21.792 L 60 19.405 L 55.665 21.792 C 55.102 22.1 54.428 22.063 53.902 21.692 C 53.359 21.308 53.09 20.658 53.199 19.994 L 54.037 14.877 L 50.494 11.26 C 50.036 10.792 49.883 10.113 50.092 9.488 C 50.296 8.878 50.812 8.438 51.439 8.343 L 56.297 7.604 L 58.479 2.974 C 58.763 2.374 59.345 2 60 2 C 60.654 2 61.237 2.374 61.52 2.974 L 63.703 7.604 L 68.561 8.343 C 69.187 8.438 69.704 8.878 69.908 9.488 C 70.117 10.113 69.964 10.792 69.508 11.258 L 65.963 14.877 L 66.802 19.995 C 66.91 20.658 66.641 21.308 66.098 21.692 C 65.809 21.896 65.475 22 65.138 22 Z M 89.138 22 C 88.863 22 88.588 21.931 88.335 21.792 L 84 19.405 L 79.665 21.792 C 79.102 22.1 78.428 22.063 77.902 21.692 C 77.359 21.308 77.09 20.658 77.199 19.994 L 78.037 14.877 L 74.494 11.26 C 74.036 10.792 73.883 10.113 74.092 9.488 C 74.296 8.878 74.812 8.438 75.439 8.343 L 80.297 7.604 L 82.479 2.974 C 82.763 2.374 83.345 2 84 2 C 84.654 2 85.237 2.374 85.52 2.974 L 87.703 7.604 L 92.561 8.343 C 93.187 8.438 93.704 8.878 93.908 9.488 C 94.117 10.113 93.964 10.792 93.508 11.258 L 89.963 14.877 L 90.802 19.995 C 90.91 20.658 90.641 21.308 90.098 21.692 C 89.809 21.896 89.475 22 89.138 22 Z M 113.138 22 C 112.863 22 112.588 21.931 112.335 21.792 L 108 19.405 L 103.665 21.792 C 103.102 22.1 102.428 22.063 101.902 21.692 C 101.359 21.308 101.09 20.658 101.199 19.994 L 102.037 14.877 L 98.494 11.26 C 98.036 10.792 97.883 10.113 98.092 9.488 C 98.296 8.878 98.812 8.438 99.439 8.343 L 104.297 7.604 L 106.479 2.974 C 106.763 2.374 107.345 2 108 2 C 108.654 2 109.237 2.374 109.52 2.974 L 111.703 7.604 L 116.561 8.343 C 117.187 8.438 117.704 8.878 117.908 9.488 C 118.117 10.113 117.964 10.792 117.508 11.258 L 113.963 14.877 L 114.802 19.995 C 114.91 20.658 114.641 21.308 114.098 21.692 C 113.809 21.896 113.475 22 113.138 22 Z"}))}));i.displayName="Rating",exports.Rating=i,require("./style.production.css");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("clsx")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("clsx");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=n(e),l=r(t);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o.apply(null,arguments)}var C="aJlm0",c=["value","percent","size","theme","className"],i=a.forwardRef((function(e,t){var r=e.value,n=void 0===r?0:r,i=e.percent,L=void 0===i?0:i,u=e.size,f=void 0===u?18:u,s=e.theme,d=void 0===s?"violet-500":s,v=e.className,p=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,c),b=Math.round(L>0?L:n/5*100),m=a.useId(),O=f;return"small"===f?O=14:"default"===f?O=18:"big"===f&&(O=22),a.createElement("svg",o({className:l.default(C,v),height:O},p,{ref:t,viewBox:"0 0 120 24",tabIndex:-1,focusable:!1}),a.createElement("defs",null,a.createElement("linearGradient",{id:m},a.createElement("stop",{offset:"".concat(b,"%"),stopColor:"var(--".concat(d,")")}),a.createElement("stop",{offset:"".concat(b,"%"),stopColor:"var(--black-400)"}))),a.createElement("path",{fill:"url(#".concat(m,")"),d:"M 17.138 22 C 16.863 22 16.588 21.931 16.335 21.792 L 12 19.405 L 7.665 21.792 C 7.102 22.1 6.428 22.063 5.902 21.692 C 5.359 21.308 5.09 20.658 5.199 19.994 L 6.037 14.877 L 2.4939999999999998 11.26 C 2.036 10.792 1.883 10.113 2.092 9.488 C 2.2960000000000003 8.878 2.8120000000000003 8.438 3.439 8.343 L 8.297 7.604 L 10.479 2.974 C 10.763 2.374 11.345 2 12 2 C 12.654 2 13.237 2.374 13.52 2.974 L 15.703 7.604 L 20.561 8.343 C 21.187 8.438 21.704 8.878 21.908 9.488 C 22.117 10.113 21.964 10.792 21.508 11.258 L 17.963 14.877 L 18.802 19.995 C 18.91 20.658 18.641 21.308 18.098 21.692 C 17.809 21.896 17.475 22 17.138 22 Z M 41.138 22 C 40.863 22 40.588 21.931 40.335 21.792 L 36 19.405 L 31.665 21.792 C 31.102 22.1 30.428 22.063 29.902 21.692 C 29.359 21.308 29.09 20.658 29.199 19.994 L 30.037 14.877 L 26.494 11.26 C 26.036 10.792 25.883 10.113 26.092 9.488 C 26.296 8.878 26.812 8.438 27.439 8.343 L 32.297 7.604 L 34.479 2.974 C 34.763 2.374 35.345 2 36 2 C 36.654 2 37.237 2.374 37.52 2.974 L 39.703 7.604 L 44.561 8.343 C 45.187 8.438 45.704 8.878 45.908 9.488 C 46.117 10.113 45.964 10.792 45.508 11.258 L 41.963 14.877 L 42.802 19.995 C 42.91 20.658 42.641 21.308 42.098 21.692 C 41.809 21.896 41.475 22 41.138 22 Z M 65.138 22 C 64.863 22 64.588 21.931 64.335 21.792 L 60 19.405 L 55.665 21.792 C 55.102 22.1 54.428 22.063 53.902 21.692 C 53.359 21.308 53.09 20.658 53.199 19.994 L 54.037 14.877 L 50.494 11.26 C 50.036 10.792 49.883 10.113 50.092 9.488 C 50.296 8.878 50.812 8.438 51.439 8.343 L 56.297 7.604 L 58.479 2.974 C 58.763 2.374 59.345 2 60 2 C 60.654 2 61.237 2.374 61.52 2.974 L 63.703 7.604 L 68.561 8.343 C 69.187 8.438 69.704 8.878 69.908 9.488 C 70.117 10.113 69.964 10.792 69.508 11.258 L 65.963 14.877 L 66.802 19.995 C 66.91 20.658 66.641 21.308 66.098 21.692 C 65.809 21.896 65.475 22 65.138 22 Z M 89.138 22 C 88.863 22 88.588 21.931 88.335 21.792 L 84 19.405 L 79.665 21.792 C 79.102 22.1 78.428 22.063 77.902 21.692 C 77.359 21.308 77.09 20.658 77.199 19.994 L 78.037 14.877 L 74.494 11.26 C 74.036 10.792 73.883 10.113 74.092 9.488 C 74.296 8.878 74.812 8.438 75.439 8.343 L 80.297 7.604 L 82.479 2.974 C 82.763 2.374 83.345 2 84 2 C 84.654 2 85.237 2.374 85.52 2.974 L 87.703 7.604 L 92.561 8.343 C 93.187 8.438 93.704 8.878 93.908 9.488 C 94.117 10.113 93.964 10.792 93.508 11.258 L 89.963 14.877 L 90.802 19.995 C 90.91 20.658 90.641 21.308 90.098 21.692 C 89.809 21.896 89.475 22 89.138 22 Z M 113.138 22 C 112.863 22 112.588 21.931 112.335 21.792 L 108 19.405 L 103.665 21.792 C 103.102 22.1 102.428 22.063 101.902 21.692 C 101.359 21.308 101.09 20.658 101.199 19.994 L 102.037 14.877 L 98.494 11.26 C 98.036 10.792 97.883 10.113 98.092 9.488 C 98.296 8.878 98.812 8.438 99.439 8.343 L 104.297 7.604 L 106.479 2.974 C 106.763 2.374 107.345 2 108 2 C 108.654 2 109.237 2.374 109.52 2.974 L 111.703 7.604 L 116.561 8.343 C 117.187 8.438 117.704 8.878 117.908 9.488 C 118.117 10.113 117.964 10.792 117.508 11.258 L 113.963 14.877 L 114.802 19.995 C 114.91 20.658 114.641 21.308 114.098 21.692 C 113.809 21.896 113.475 22 113.138 22 Z"}))}));i.displayName="Rating",exports.Rating=i,require("./style.production.v2.css");
|