@prom-ui/core 0.0.20 → 0.0.23
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/Body/index.js +2 -2
- package/Body/package.json +1 -1
- package/Box/index.js +2 -2
- package/Box/package.json +1 -1
- package/Button/index.js +2 -2
- package/Button/package.json +1 -1
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/index.js +2 -2
- package/Checkbox/package.json +1 -1
- package/Flex/index.js +2 -2
- package/Flex/package.json +1 -1
- package/Grid/index.js +2 -2
- package/Grid/package.json +1 -1
- package/Icon/index.js +2 -2
- package/Icon/package.json +1 -1
- package/Image/index.js +2 -2
- package/Image/package.json +1 -1
- package/ImageEmoji/package.json +1 -1
- package/Input/index.js +2 -2
- package/Input/package.json +1 -1
- package/KeyPress/package.json +1 -1
- package/Line/index.js +2 -2
- package/Line/package.json +1 -1
- package/Link/index.js +2 -2
- package/Link/package.json +1 -1
- package/List/index.js +2 -2
- package/List/package.json +1 -1
- package/OutsideClick/package.json +1 -1
- package/Picture/index.js +2 -2
- package/Picture/package.json +1 -1
- package/PortableOverlay/index.js +2 -2
- package/PortableOverlay/package.json +1 -1
- package/Portal/package.json +1 -1
- package/Rating/index.js +2 -2
- package/Rating/package.json +1 -1
- package/SafeQuery/components/Error.d.ts +7 -0
- package/SafeQuery/index.d.ts +7 -0
- package/SafeQuery/index.js +176 -0
- package/SafeQuery/package.json +12 -0
- package/SafeQuery/style.css +4 -0
- package/Scroll/index.js +2 -2
- package/Scroll/package.json +1 -1
- package/ScrollControls/index.js +2 -2
- package/ScrollControls/package.json +1 -1
- package/SideOverlay/index.js +2 -2
- package/SideOverlay/package.json +1 -1
- package/SimpleSlider/index.js +2 -2
- package/SimpleSlider/package.json +1 -1
- package/Skeleton/index.js +2 -2
- package/Skeleton/package.json +1 -1
- package/Spinner/index.js +2 -2
- package/Spinner/package.json +1 -1
- package/Text/index.js +2 -2
- package/Text/package.json +1 -1
- package/TextEmoji/package.json +1 -1
- package/Tumbler/index.js +2 -2
- package/Tumbler/package.json +1 -1
- package/package.json +11 -2
package/Body/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitBody = require('evokit-body');
|
|
@@ -12,3 +10,5 @@ Object.defineProperty(exports, 'Body', {
|
|
|
12
10
|
enumerable: true,
|
|
13
11
|
get: function () { return evokitBody.Body; }
|
|
14
12
|
});
|
|
13
|
+
|
|
14
|
+
require('./style.css');
|
package/Body/package.json
CHANGED
package/Box/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitBox = require('evokit-box');
|
|
@@ -18,3 +16,5 @@ Object.defineProperty(exports, 'Box', {
|
|
|
18
16
|
enumerable: true,
|
|
19
17
|
get: function () { return evokitBox.Box; }
|
|
20
18
|
});
|
|
19
|
+
|
|
20
|
+
require('./style.css');
|
package/Box/package.json
CHANGED
package/Button/index.js
CHANGED
package/Button/package.json
CHANGED
package/Checkbox/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var React = require('react');
|
|
@@ -97,3 +95,5 @@ Checkbox.defaultProps = {
|
|
|
97
95
|
};
|
|
98
96
|
|
|
99
97
|
exports.Checkbox = Checkbox;
|
|
98
|
+
|
|
99
|
+
require('./style.css');
|
package/Checkbox/package.json
CHANGED
package/Flex/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitFlex = require('evokit-flex');
|
|
@@ -23,3 +21,5 @@ Object.defineProperty(exports, 'Flex', {
|
|
|
23
21
|
enumerable: true,
|
|
24
22
|
get: function () { return evokitFlex.Flex; }
|
|
25
23
|
});
|
|
24
|
+
|
|
25
|
+
require('./style.css');
|
package/Flex/package.json
CHANGED
package/Grid/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitGrid = require('evokit-grid');
|
|
@@ -23,3 +21,5 @@ Object.defineProperty(exports, 'Grid', {
|
|
|
23
21
|
enumerable: true,
|
|
24
22
|
get: function () { return evokitGrid.Grid; }
|
|
25
23
|
});
|
|
24
|
+
|
|
25
|
+
require('./style.css');
|
package/Grid/package.json
CHANGED
package/Icon/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var react = require('react');
|
|
@@ -77,3 +75,5 @@ function (_super) {
|
|
|
77
75
|
|
|
78
76
|
exports.Icon = Icon;
|
|
79
77
|
exports.StyleGuide = StyleGuide;
|
|
78
|
+
|
|
79
|
+
require('./style.css');
|
package/Icon/package.json
CHANGED
package/Image/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitImage = require('evokit-image');
|
|
@@ -18,3 +16,5 @@ Object.defineProperty(exports, 'Image', {
|
|
|
18
16
|
enumerable: true,
|
|
19
17
|
get: function () { return evokitImage.Image; }
|
|
20
18
|
});
|
|
19
|
+
|
|
20
|
+
require('./style.css');
|
package/Image/package.json
CHANGED
package/ImageEmoji/package.json
CHANGED
package/Input/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var react = require('react');
|
|
@@ -82,3 +80,5 @@ function (_super) {
|
|
|
82
80
|
|
|
83
81
|
exports.Input = Input;
|
|
84
82
|
exports.StyleGuide = StyleGuide;
|
|
83
|
+
|
|
84
|
+
require('./style.css');
|
package/Input/package.json
CHANGED
package/KeyPress/package.json
CHANGED
package/Line/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitLine = require('evokit-line');
|
|
@@ -18,3 +16,5 @@ Object.defineProperty(exports, 'Line', {
|
|
|
18
16
|
enumerable: true,
|
|
19
17
|
get: function () { return evokitLine.Line; }
|
|
20
18
|
});
|
|
19
|
+
|
|
20
|
+
require('./style.css');
|
package/Line/package.json
CHANGED
package/Link/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitLink = require('evokit-link');
|
|
@@ -20,3 +18,5 @@ Object.defineProperty(exports, 'Link', {
|
|
|
20
18
|
enumerable: true,
|
|
21
19
|
get: function () { return evokitLink.Link; }
|
|
22
20
|
});
|
|
21
|
+
|
|
22
|
+
require('./style.css');
|
package/Link/package.json
CHANGED
package/List/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitList = require('evokit-list');
|
|
@@ -23,3 +21,5 @@ Object.defineProperty(exports, 'List', {
|
|
|
23
21
|
enumerable: true,
|
|
24
22
|
get: function () { return evokitList.List; }
|
|
25
23
|
});
|
|
24
|
+
|
|
25
|
+
require('./style.css');
|
package/List/package.json
CHANGED
package/Picture/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitPicture = require('evokit-picture');
|
|
@@ -23,3 +21,5 @@ Object.defineProperty(exports, 'Picture', {
|
|
|
23
21
|
enumerable: true,
|
|
24
22
|
get: function () { return evokitPicture.Picture; }
|
|
25
23
|
});
|
|
24
|
+
|
|
25
|
+
require('./style.css');
|
package/Picture/package.json
CHANGED
package/PortableOverlay/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var React = require('react');
|
|
@@ -112,3 +110,5 @@ PortableOverlay.propTypes = {
|
|
|
112
110
|
};
|
|
113
111
|
|
|
114
112
|
exports.PortableOverlay = PortableOverlay;
|
|
113
|
+
|
|
114
|
+
require('./style.css');
|
package/Portal/package.json
CHANGED
package/Rating/index.js
CHANGED
package/Rating/package.json
CHANGED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var PropTypes = require('prop-types');
|
|
7
|
+
var components = require('@apollo/client/react/components');
|
|
8
|
+
var errcatch = require('@evo/errcatch');
|
|
9
|
+
var Box = require('@prom-ui/core/Box');
|
|
10
|
+
var Button = require('@prom-ui/core/Button');
|
|
11
|
+
var Text = require('@prom-ui/core/Text');
|
|
12
|
+
|
|
13
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
|
+
|
|
15
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
|
+
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
17
|
+
|
|
18
|
+
/******************************************************************************
|
|
19
|
+
Copyright (c) Microsoft Corporation.
|
|
20
|
+
|
|
21
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
22
|
+
purpose with or without fee is hereby granted.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
25
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
26
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
27
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
28
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
29
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
30
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
31
|
+
***************************************************************************** */
|
|
32
|
+
|
|
33
|
+
var __assign = function() {
|
|
34
|
+
__assign = Object.assign || function __assign(t) {
|
|
35
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
36
|
+
s = arguments[i];
|
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
38
|
+
}
|
|
39
|
+
return t;
|
|
40
|
+
};
|
|
41
|
+
return __assign.apply(this, arguments);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
function __rest(s, e) {
|
|
45
|
+
var t = {};
|
|
46
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
47
|
+
t[p] = s[p];
|
|
48
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
49
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
50
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
51
|
+
t[p[i]] = s[p[i]];
|
|
52
|
+
}
|
|
53
|
+
return t;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
var css = {"root":"SafeQuery__root___RWb3q"};
|
|
57
|
+
|
|
58
|
+
var SafeQueryError = function (_a) {
|
|
59
|
+
var componentErrorName = _a.componentErrorName,
|
|
60
|
+
onReload = _a.onReload;
|
|
61
|
+
|
|
62
|
+
var _b = React.useState(false),
|
|
63
|
+
isHidden = _b[0],
|
|
64
|
+
setHidden = _b[1];
|
|
65
|
+
|
|
66
|
+
if (isHidden) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
71
|
+
if (typeof window === 'undefined') return null;
|
|
72
|
+
return React__default["default"].createElement(Box.Box, {
|
|
73
|
+
className: css.root,
|
|
74
|
+
"box-background": 'red-500',
|
|
75
|
+
"box-padding": ['s m', 'm@large l@large'],
|
|
76
|
+
"box-position": 'relative',
|
|
77
|
+
"box-round": 'm',
|
|
78
|
+
"data-qaid": 'err_catch_trace'
|
|
79
|
+
}, React__default["default"].createElement(Box.Box, {
|
|
80
|
+
"box-margin-right": '5xl'
|
|
81
|
+
}, React__default["default"].createElement(Text.Text, {
|
|
82
|
+
"text-color": 'white'
|
|
83
|
+
}, "\u0412\u043E\u0437\u043D\u0438\u043A\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430:", ' ', React__default["default"].createElement(Text.Text, {
|
|
84
|
+
"text-weight": 'bold',
|
|
85
|
+
style: {
|
|
86
|
+
fontFamily: 'Consolas, "Liberation Mono", Menlo, monospace',
|
|
87
|
+
userSelect: 'all'
|
|
88
|
+
}
|
|
89
|
+
}, componentErrorName))), React__default["default"].createElement(Box.Box, {
|
|
90
|
+
"box-position": 'absolute center-right',
|
|
91
|
+
"box-margin-right": 's'
|
|
92
|
+
}, React__default["default"].createElement(Button.Button, {
|
|
93
|
+
"button-padding": 'xxs',
|
|
94
|
+
"button-theme": 'white-inherit',
|
|
95
|
+
onClick: onReload,
|
|
96
|
+
title: '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C'
|
|
97
|
+
}, React__default["default"].createElement("svg", {
|
|
98
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
99
|
+
viewBox: '0 0 18 18',
|
|
100
|
+
width: 18,
|
|
101
|
+
height: 18
|
|
102
|
+
}, React__default["default"].createElement("path", {
|
|
103
|
+
fill: '#fff',
|
|
104
|
+
d: 'M9 13.5c-2.49 0-4.5-2.01-4.5-4.5S6.51 4.5 9 4.5c1.24\n 0 2.36.52 3.17 1.33L10 8h5V3l-1.76 1.76C12.15 3.68 10.66\n 3 9 3 5.69 3 3.01 5.69 3.01 9S5.69 15 9 15c2.97 0\n 5.43-2.16 5.9-5h-1.52c-.46 2-2.24 3.5-4.38 3.5z'
|
|
105
|
+
}))), React__default["default"].createElement(Button.Button, {
|
|
106
|
+
"button-padding": 'xxs',
|
|
107
|
+
"button-theme": 'white-inherit',
|
|
108
|
+
onClick: function () {
|
|
109
|
+
return setHidden(true);
|
|
110
|
+
},
|
|
111
|
+
title: '\u0421\u043A\u0440\u044B\u0442\u044C'
|
|
112
|
+
}, React__default["default"].createElement("svg", {
|
|
113
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
114
|
+
viewBox: '0 0 24 24',
|
|
115
|
+
width: 18,
|
|
116
|
+
height: 18
|
|
117
|
+
}, React__default["default"].createElement("path", {
|
|
118
|
+
fill: '#fff',
|
|
119
|
+
d: 'M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5\n 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'
|
|
120
|
+
})))));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return null;
|
|
124
|
+
};
|
|
125
|
+
SafeQueryError.propTypes = {
|
|
126
|
+
componentErrorName: PropTypes__default["default"].string.isRequired,
|
|
127
|
+
onReload: PropTypes__default["default"].func.isRequired
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
var SafeQuery = function (_a) {
|
|
131
|
+
var _b = _a.componentErrorName,
|
|
132
|
+
componentErrorName = _b === void 0 ? 'SafeQuery' : _b,
|
|
133
|
+
children = _a.children,
|
|
134
|
+
props = __rest(_a, ["componentErrorName", "children"]);
|
|
135
|
+
|
|
136
|
+
var _c = React.useState(false),
|
|
137
|
+
isReload = _c[0],
|
|
138
|
+
setReload = _c[1];
|
|
139
|
+
|
|
140
|
+
React.useEffect(function () {
|
|
141
|
+
if (isReload) {
|
|
142
|
+
setReload(false);
|
|
143
|
+
}
|
|
144
|
+
}, [isReload]);
|
|
145
|
+
|
|
146
|
+
if (isReload) {
|
|
147
|
+
return null;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
var errorComponent = React__default["default"].createElement(SafeQueryError, {
|
|
151
|
+
componentErrorName: componentErrorName,
|
|
152
|
+
onReload: function () {
|
|
153
|
+
return setReload(true);
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
return React__default["default"].createElement(errcatch.ErrCatch, {
|
|
157
|
+
name: componentErrorName,
|
|
158
|
+
errorComponent: errorComponent
|
|
159
|
+
}, React__default["default"].createElement(components.Query, __assign({}, props), function (queryResult) {
|
|
160
|
+
var error = queryResult.error;
|
|
161
|
+
if (error) throw error;
|
|
162
|
+
return children(queryResult);
|
|
163
|
+
}));
|
|
164
|
+
}; // SafeQuery.defaultProps = {
|
|
165
|
+
// componentErrorName: 'SafeQuery',
|
|
166
|
+
// };
|
|
167
|
+
|
|
168
|
+
SafeQuery.propTypes = {
|
|
169
|
+
/** Название компонента в тексте с ошибкой */
|
|
170
|
+
componentErrorName: PropTypes__default["default"].string // children: PropTypes.func.isRequired,
|
|
171
|
+
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
exports.SafeQuery = SafeQuery;
|
|
175
|
+
|
|
176
|
+
require('./style.css');
|
package/Scroll/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var react = require('react');
|
|
@@ -77,3 +75,5 @@ function (_super) {
|
|
|
77
75
|
|
|
78
76
|
exports.Scroll = Scroll;
|
|
79
77
|
exports.StyleGuide = StyleGuide;
|
|
78
|
+
|
|
79
|
+
require('./style.css');
|
package/Scroll/package.json
CHANGED
package/ScrollControls/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var React = require('react');
|
|
@@ -245,3 +243,5 @@ ScrollControls.propTypes = {
|
|
|
245
243
|
};
|
|
246
244
|
|
|
247
245
|
exports.ScrollControls = ScrollControls;
|
|
246
|
+
|
|
247
|
+
require('./style.css');
|
package/SideOverlay/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var React = require('react');
|
|
@@ -252,3 +250,5 @@ SideOverlay.propTypes = {
|
|
|
252
250
|
var templateObject_1;
|
|
253
251
|
|
|
254
252
|
exports.SideOverlay = SideOverlay;
|
|
253
|
+
|
|
254
|
+
require('./style.css');
|
package/SideOverlay/package.json
CHANGED
package/SimpleSlider/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var React = require('react');
|
|
@@ -478,3 +476,5 @@ SimpleSlider.propTypes = {
|
|
|
478
476
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
479
477
|
|
|
480
478
|
exports.SimpleSlider = SimpleSlider;
|
|
479
|
+
|
|
480
|
+
require('./style.css');
|
package/Skeleton/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var React = require('react');
|
|
@@ -111,3 +109,5 @@ Skeleton.propTypes = {
|
|
|
111
109
|
};
|
|
112
110
|
|
|
113
111
|
exports.Skeleton = Skeleton;
|
|
112
|
+
|
|
113
|
+
require('./style.css');
|
package/Skeleton/package.json
CHANGED
package/Spinner/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var React = require('react');
|
|
@@ -76,3 +74,5 @@ _b.width = PropTypes__default["default"].oneOfType([PropTypes__default["default"
|
|
|
76
74
|
_b.height = PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]), _b);
|
|
77
75
|
|
|
78
76
|
exports.Spinner = Spinner;
|
|
77
|
+
|
|
78
|
+
require('./style.css');
|
package/Spinner/package.json
CHANGED
package/Text/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./style.css');
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
4
|
|
|
7
5
|
var evokitText = require('evokit-text');
|
|
@@ -18,3 +16,5 @@ Object.defineProperty(exports, 'Text', {
|
|
|
18
16
|
enumerable: true,
|
|
19
17
|
get: function () { return evokitText.Text; }
|
|
20
18
|
});
|
|
19
|
+
|
|
20
|
+
require('./style.css');
|
package/Text/package.json
CHANGED
package/TextEmoji/package.json
CHANGED
package/Tumbler/index.js
CHANGED
package/Tumbler/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prom-ui/core",
|
|
3
3
|
"author": "e.marchenko",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.23",
|
|
5
5
|
"description": "core ui blocks",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prebuild": "node ./preBuild.js",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"directory": "dist"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
+
"@apollo/client": "^3.6.5",
|
|
23
24
|
"@prom-ui/core": "file:../core/src",
|
|
24
25
|
"@prom-ui/hooks": "file:../hooks/src",
|
|
25
26
|
"@prom-ui/icons": "file:../icons/src"
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
"dependencies": {
|
|
28
29
|
"@evo/emoji": "^0.2.0",
|
|
29
30
|
"@evo/emoji-text": "^0.1.1",
|
|
31
|
+
"@evo/errcatch": "^1.0.2",
|
|
30
32
|
"@prom-ui/hooks": "^0.0.3",
|
|
31
33
|
"@prom-ui/icons": "^0.0.5",
|
|
32
34
|
"classnames": "^2.3.1",
|
|
@@ -44,15 +46,22 @@
|
|
|
44
46
|
"evokit-text": "^3.2.0",
|
|
45
47
|
"intersection-observer": "^0.12.0",
|
|
46
48
|
"react-easy-swipe": "^0.0.22",
|
|
49
|
+
"react-popper-tooltip": "2.10.1",
|
|
47
50
|
"react-scrolllock": "^5.0.1",
|
|
48
51
|
"react-transition-group": "^4.4.2",
|
|
49
52
|
"ts-debounce": "^4.0.0",
|
|
50
53
|
"ttag": "^1.7.24"
|
|
51
54
|
},
|
|
52
55
|
"peerDependencies": {
|
|
56
|
+
"@apollo/client": "*",
|
|
53
57
|
"prop-types": "*",
|
|
54
58
|
"react": "*",
|
|
55
59
|
"react-dom": "*"
|
|
56
60
|
},
|
|
57
|
-
"
|
|
61
|
+
"peerDependenciesMeta": {
|
|
62
|
+
"@apollo/client": {
|
|
63
|
+
"optional": true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"gitHead": "0f474f29fb44db937145e449d9f75292721e938b"
|
|
58
67
|
}
|