@prom-ui/core 0.0.101 → 0.0.103-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 +0 -2
- package/Avatar/cjs/index.development.v2.js +151 -0
- package/Avatar/cjs/index.production.js +1 -1
- package/Avatar/cjs/index.production.v2.js +1 -0
- package/Avatar/cjs/style.development.v2.css +1 -0
- package/Avatar/cjs/style.production.v2.css +1 -0
- package/Avatar/index.js +14 -2
- package/Avatar/package.json +1 -1
- package/Body/cjs/index.development.js +0 -2
- package/Body/cjs/index.development.v2.js +12 -0
- package/Body/cjs/index.production.js +1 -1
- package/Body/cjs/index.production.v2.js +1 -0
- package/Body/cjs/style.development.v2.css +1 -0
- package/Body/cjs/style.production.v2.css +1 -0
- package/Body/index.js +14 -2
- package/Body/package.json +1 -1
- package/Box/cjs/index.development.js +0 -2
- package/Box/cjs/index.development.v2.js +18 -0
- package/Box/cjs/index.production.js +1 -1
- package/Box/cjs/index.production.v2.js +1 -0
- package/Box/cjs/style.development.v2.css +1 -0
- package/Box/cjs/style.production.v2.css +1 -0
- package/Box/index.js +14 -2
- package/Box/package.json +1 -1
- package/Button/cjs/index.development.js +0 -2
- package/Button/cjs/index.development.v2.js +93 -0
- package/Button/cjs/index.production.js +1 -1
- package/Button/cjs/index.production.v2.js +1 -0
- package/Button/cjs/style.development.v2.css +1 -0
- package/Button/cjs/style.production.v2.css +1 -0
- package/Button/index.js +14 -2
- package/Button/package.json +1 -1
- package/ButtonPageUp/cjs/index.development.v2.js +174 -0
- package/ButtonPageUp/cjs/index.production.v2.js +1 -0
- package/ButtonPageUp/index.js +2 -2
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/cjs/index.development.js +0 -2
- package/Checkbox/cjs/index.development.v2.js +109 -0
- package/Checkbox/cjs/index.production.js +1 -1
- package/Checkbox/cjs/index.production.v2.js +1 -0
- package/Checkbox/cjs/style.development.v2.css +1 -0
- package/Checkbox/cjs/style.production.v2.css +1 -0
- package/Checkbox/index.js +14 -2
- package/Checkbox/package.json +1 -1
- package/Flex/cjs/index.development.js +0 -2
- package/Flex/cjs/index.development.v2.js +23 -0
- package/Flex/cjs/index.production.js +1 -1
- package/Flex/cjs/index.production.v2.js +1 -0
- package/Flex/cjs/style.development.v2.css +1 -0
- package/Flex/cjs/style.production.v2.css +1 -0
- package/Flex/index.js +14 -2
- package/Flex/package.json +1 -1
- package/Grid/cjs/index.development.js +0 -2
- package/Grid/cjs/index.development.v2.js +23 -0
- package/Grid/cjs/index.production.js +1 -1
- package/Grid/cjs/index.production.v2.js +1 -0
- package/Grid/cjs/style.development.v2.css +1 -0
- package/Grid/cjs/style.production.v2.css +1 -0
- package/Grid/index.js +14 -2
- package/Grid/package.json +1 -1
- package/Icon/cjs/index.development.js +0 -2
- package/Icon/cjs/index.development.v2.js +39 -0
- package/Icon/cjs/index.production.js +1 -1
- package/Icon/cjs/index.production.v2.js +1 -0
- package/Icon/cjs/style.development.v2.css +1 -0
- package/Icon/cjs/style.production.v2.css +1 -0
- package/Icon/index.js +14 -2
- package/Icon/package.json +1 -1
- package/Image/cjs/index.development.js +0 -2
- package/Image/cjs/index.development.v2.js +18 -0
- package/Image/cjs/index.production.js +1 -1
- package/Image/cjs/index.production.v2.js +1 -0
- package/Image/cjs/style.development.v2.css +1 -0
- package/Image/cjs/style.production.v2.css +1 -0
- package/Image/index.js +14 -2
- package/Image/package.json +1 -1
- package/ImageEmoji/cjs/index.development.v2.js +90 -0
- package/ImageEmoji/cjs/index.production.v2.js +1 -0
- package/ImageEmoji/index.js +2 -2
- package/ImageEmoji/package.json +1 -1
- package/Input/cjs/index.development.js +0 -2
- package/Input/cjs/index.development.v2.js +37 -0
- package/Input/cjs/index.production.js +1 -1
- package/Input/cjs/index.production.v2.js +1 -0
- package/Input/cjs/style.development.v2.css +1 -0
- package/Input/cjs/style.production.v2.css +1 -0
- package/Input/index.js +14 -2
- package/Input/package.json +1 -1
- package/KeyPress/cjs/index.development.v2.js +56 -0
- package/KeyPress/cjs/index.production.v2.js +1 -0
- package/KeyPress/index.js +2 -2
- package/KeyPress/package.json +1 -1
- package/Line/cjs/index.development.js +0 -2
- package/Line/cjs/index.development.v2.js +18 -0
- package/Line/cjs/index.production.js +1 -1
- package/Line/cjs/index.production.v2.js +1 -0
- package/Line/cjs/style.development.v2.css +1 -0
- package/Line/cjs/style.production.v2.css +1 -0
- package/Line/index.js +14 -2
- package/Line/package.json +1 -1
- package/Link/cjs/index.development.js +0 -2
- package/Link/cjs/index.development.v2.js +20 -0
- package/Link/cjs/index.production.js +1 -1
- package/Link/cjs/index.production.v2.js +1 -0
- package/Link/cjs/style.development.v2.css +1 -0
- package/Link/cjs/style.production.v2.css +1 -0
- package/Link/index.js +14 -2
- package/Link/package.json +1 -1
- package/List/cjs/index.development.js +0 -2
- package/List/cjs/index.development.v2.js +23 -0
- package/List/cjs/index.production.js +1 -1
- package/List/cjs/index.production.v2.js +1 -0
- package/List/cjs/style.development.v2.css +1 -0
- package/List/cjs/style.production.v2.css +1 -0
- package/List/index.js +14 -2
- package/List/package.json +1 -1
- package/Media/cjs/index.development.v2.js +98 -0
- package/Media/cjs/index.production.v2.js +1 -0
- package/Media/index.js +2 -2
- package/Media/package.json +1 -1
- package/OutsideClick/cjs/index.development.v2.js +84 -0
- package/OutsideClick/cjs/index.production.v2.js +1 -0
- package/OutsideClick/index.js +2 -2
- package/OutsideClick/package.json +1 -1
- package/Overlay/cjs/index.development.js +0 -2
- package/Overlay/cjs/index.development.v2.js +473 -0
- package/Overlay/cjs/index.production.js +1 -1
- package/Overlay/cjs/index.production.v2.js +1 -0
- package/Overlay/cjs/style.development.v2.css +1 -0
- package/Overlay/cjs/style.production.v2.css +1 -0
- package/Overlay/index.js +14 -2
- package/Overlay/package.json +1 -1
- package/Picture/cjs/index.development.js +0 -2
- package/Picture/cjs/index.development.v2.js +23 -0
- package/Picture/cjs/index.production.js +1 -1
- package/Picture/cjs/index.production.v2.js +1 -0
- package/Picture/cjs/style.development.v2.css +1 -0
- package/Picture/cjs/style.production.v2.css +1 -0
- package/Picture/index.js +14 -2
- package/Picture/package.json +1 -1
- package/PortableOverlay/cjs/index.development.js +0 -2
- package/PortableOverlay/cjs/index.development.v2.js +109 -0
- package/PortableOverlay/cjs/index.production.js +1 -1
- package/PortableOverlay/cjs/index.production.v2.js +1 -0
- package/PortableOverlay/cjs/style.development.v2.css +1 -0
- package/PortableOverlay/cjs/style.production.v2.css +1 -0
- package/PortableOverlay/index.js +14 -2
- package/PortableOverlay/package.json +1 -1
- package/Portal/cjs/index.development.v2.js +57 -0
- package/Portal/cjs/index.production.v2.js +1 -0
- package/Portal/index.js +2 -2
- package/Portal/package.json +1 -1
- package/QRCode/cjs/index.development.js +0 -2
- package/QRCode/cjs/index.development.v2.js +50 -0
- package/QRCode/cjs/index.production.js +1 -1
- package/QRCode/cjs/index.production.v2.js +1 -0
- package/QRCode/cjs/style.development.v2.css +1 -0
- package/QRCode/cjs/style.production.v2.css +1 -0
- package/QRCode/index.js +14 -2
- package/QRCode/package.json +1 -1
- package/Rating/cjs/index.development.js +0 -2
- package/Rating/cjs/index.development.v2.js +105 -0
- package/Rating/cjs/index.production.js +1 -1
- package/Rating/cjs/index.production.v2.js +1 -0
- package/Rating/cjs/style.development.v2.css +1 -0
- package/Rating/cjs/style.production.v2.css +1 -0
- package/Rating/index.js +14 -2
- package/Rating/package.json +1 -1
- package/SafeQuery/cjs/index.development.js +0 -2
- package/SafeQuery/cjs/index.development.v2.js +179 -0
- package/SafeQuery/cjs/index.production.js +1 -1
- package/SafeQuery/cjs/index.production.v2.js +1 -0
- package/SafeQuery/cjs/style.development.v2.css +1 -0
- package/SafeQuery/cjs/style.production.v2.css +1 -0
- package/SafeQuery/index.js +14 -2
- package/SafeQuery/package.json +1 -1
- package/Scroll/cjs/index.development.js +0 -2
- package/Scroll/cjs/index.development.v2.js +38 -0
- package/Scroll/cjs/index.production.js +1 -1
- package/Scroll/cjs/index.production.v2.js +1 -0
- package/Scroll/cjs/style.development.v2.css +1 -0
- package/Scroll/cjs/style.production.v2.css +1 -0
- package/Scroll/index.js +14 -2
- package/Scroll/package.json +1 -1
- package/ScrollControls/cjs/index.development.js +0 -2
- package/ScrollControls/cjs/index.development.v2.js +241 -0
- package/ScrollControls/cjs/index.production.js +1 -1
- package/ScrollControls/cjs/index.production.v2.js +1 -0
- package/ScrollControls/cjs/style.development.v2.css +1 -0
- package/ScrollControls/cjs/style.production.v2.css +1 -0
- package/ScrollControls/index.js +14 -2
- package/ScrollControls/package.json +1 -1
- package/SideOverlay/cjs/index.development.js +0 -2
- package/SideOverlay/cjs/index.development.v2.js +208 -0
- package/SideOverlay/cjs/index.production.js +1 -1
- package/SideOverlay/cjs/index.production.v2.js +1 -0
- package/SideOverlay/cjs/style.development.v2.css +1 -0
- package/SideOverlay/cjs/style.production.v2.css +1 -0
- package/SideOverlay/index.js +14 -2
- package/SideOverlay/package.json +1 -1
- package/SimpleSlider/cjs/index.development.js +0 -2
- package/SimpleSlider/cjs/index.development.v2.js +433 -0
- package/SimpleSlider/cjs/index.production.js +1 -1
- package/SimpleSlider/cjs/index.production.v2.js +1 -0
- package/SimpleSlider/cjs/style.development.v2.css +1 -0
- package/SimpleSlider/cjs/style.production.v2.css +1 -0
- package/SimpleSlider/index.js +14 -2
- package/SimpleSlider/package.json +1 -1
- package/Skeleton/cjs/index.development.js +0 -2
- package/Skeleton/cjs/index.development.v2.js +101 -0
- package/Skeleton/cjs/index.production.js +1 -1
- package/Skeleton/cjs/index.production.v2.js +1 -0
- package/Skeleton/cjs/style.development.v2.css +1 -0
- package/Skeleton/cjs/style.production.v2.css +1 -0
- package/Skeleton/index.js +14 -2
- package/Skeleton/package.json +1 -1
- package/Spinner/cjs/index.development.js +0 -2
- package/Spinner/cjs/index.development.v2.js +83 -0
- package/Spinner/cjs/index.production.js +1 -1
- package/Spinner/cjs/index.production.v2.js +1 -0
- package/Spinner/cjs/style.development.v2.css +1 -0
- package/Spinner/cjs/style.production.v2.css +1 -0
- package/Spinner/index.js +14 -2
- package/Spinner/package.json +1 -1
- package/Text/cjs/index.development.js +0 -2
- package/Text/cjs/index.development.v2.js +18 -0
- package/Text/cjs/index.production.js +1 -1
- package/Text/cjs/index.production.v2.js +1 -0
- package/Text/cjs/style.development.v2.css +1 -0
- package/Text/cjs/style.production.v2.css +1 -0
- package/Text/index.js +14 -2
- package/Text/package.json +1 -1
- package/TextEmoji/cjs/index.development.v2.js +94 -0
- package/TextEmoji/cjs/index.production.v2.js +1 -0
- package/TextEmoji/index.js +2 -2
- package/TextEmoji/package.json +1 -1
- package/Tooltip/cjs/index.development.js +0 -2
- package/Tooltip/cjs/index.development.v2.js +149 -0
- package/Tooltip/cjs/index.production.js +1 -1
- package/Tooltip/cjs/index.production.v2.js +1 -0
- package/Tooltip/cjs/style.development.v2.css +1 -0
- package/Tooltip/cjs/style.production.v2.css +1 -0
- package/Tooltip/index.js +14 -2
- package/Tooltip/package.json +1 -1
- package/Tumbler/cjs/index.development.js +0 -2
- package/Tumbler/cjs/index.development.v2.js +108 -0
- package/Tumbler/cjs/index.production.js +1 -1
- package/Tumbler/cjs/index.production.v2.js +1 -0
- package/Tumbler/cjs/style.development.v2.css +1 -0
- package/Tumbler/cjs/style.production.v2.css +1 -0
- package/Tumbler/index.js +14 -2
- package/Tumbler/package.json +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var classNames = require('classnames');
|
|
7
|
+
var Icon = require('@prom-ui/core/Icon');
|
|
8
|
+
var User = require('@prom-ui/icons/User');
|
|
9
|
+
|
|
10
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
+
|
|
12
|
+
function _interopNamespace(e) {
|
|
13
|
+
if (e && e.__esModule) return e;
|
|
14
|
+
var n = Object.create(null);
|
|
15
|
+
if (e) {
|
|
16
|
+
Object.keys(e).forEach(function (k) {
|
|
17
|
+
if (k !== 'default') {
|
|
18
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
19
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return e[k]; }
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
n["default"] = e;
|
|
27
|
+
return Object.freeze(n);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
31
|
+
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
32
|
+
|
|
33
|
+
/******************************************************************************
|
|
34
|
+
Copyright (c) Microsoft Corporation.
|
|
35
|
+
|
|
36
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
37
|
+
purpose with or without fee is hereby granted.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
40
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
41
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
42
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
43
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
44
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
45
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
46
|
+
***************************************************************************** */
|
|
47
|
+
|
|
48
|
+
var __assign = function() {
|
|
49
|
+
__assign = Object.assign || function __assign(t) {
|
|
50
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
51
|
+
s = arguments[i];
|
|
52
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
56
|
+
return __assign.apply(this, arguments);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
function __rest(s, e) {
|
|
60
|
+
var t = {};
|
|
61
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
62
|
+
t[p] = s[p];
|
|
63
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
64
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
65
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
66
|
+
t[p[i]] = s[p[i]];
|
|
67
|
+
}
|
|
68
|
+
return t;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function stringToColor(string) {
|
|
72
|
+
var hash = 0;
|
|
73
|
+
var i;
|
|
74
|
+
|
|
75
|
+
for (i = 0; i < string.length; i += 1) {
|
|
76
|
+
hash = string.charCodeAt(i) + ((hash << 5) - hash);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
var color = '#';
|
|
80
|
+
|
|
81
|
+
for (i = 0; i < 3; i += 1) {
|
|
82
|
+
var value = hash >> i * 8 & 0xff;
|
|
83
|
+
color += "00".concat(value.toString(16)).slice(-2);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return color;
|
|
87
|
+
}
|
|
88
|
+
function stringAvatar(name) {
|
|
89
|
+
var splitName = name.split(' ');
|
|
90
|
+
return splitName.slice(0, 2).map(function (value) {
|
|
91
|
+
return value[0];
|
|
92
|
+
}).join('');
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
var css = {"root":"Avatar__root___G2c2y","image":"Avatar__image___A7F5c","text":"Avatar__text___ZWoLT","icon":"Avatar__icon___sQ5M9","theme_white":"Avatar__theme_white___alKXP","theme_black-100":"Avatar__theme_black-100___mN0Ch","theme_violet-300":"Avatar__theme_violet-300___MEUSj","theme_yellow-500":"Avatar__theme_yellow-500___lfsbh","theme_multicolor":"Avatar__theme_multicolor___zMJTY"};
|
|
96
|
+
|
|
97
|
+
var Avatar = React__namespace.forwardRef(function (_a, ref) {
|
|
98
|
+
var _b;
|
|
99
|
+
|
|
100
|
+
var image = _a.image,
|
|
101
|
+
name = _a.name,
|
|
102
|
+
_c = _a.size,
|
|
103
|
+
size = _c === void 0 ? 40 : _c,
|
|
104
|
+
_d = _a.loading,
|
|
105
|
+
loading = _d === void 0 ? 'eager' : _d,
|
|
106
|
+
_e = _a.theme,
|
|
107
|
+
theme = _e === void 0 ? 'violet-300' : _e,
|
|
108
|
+
className = _a.className,
|
|
109
|
+
props = __rest(_a, ["image", "name", "size", "loading", "theme", "className"]);
|
|
110
|
+
|
|
111
|
+
var isImage = !!image;
|
|
112
|
+
var bgColor = undefined;
|
|
113
|
+
var shortName = null;
|
|
114
|
+
|
|
115
|
+
if (!isImage) {
|
|
116
|
+
var trimName = !!name ? name.trim() : '';
|
|
117
|
+
|
|
118
|
+
if (theme === 'multicolor') {
|
|
119
|
+
bgColor = stringToColor(trimName);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
shortName = stringAvatar(trimName);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
return React__namespace.createElement("div", __assign({
|
|
126
|
+
className: classNames__default["default"](css.root, className, (_b = {}, _b[css["theme_".concat(theme)]] = !isImage, _b))
|
|
127
|
+
}, props, {
|
|
128
|
+
style: {
|
|
129
|
+
background: bgColor,
|
|
130
|
+
width: size,
|
|
131
|
+
height: size,
|
|
132
|
+
fontSize: size / 2.2
|
|
133
|
+
},
|
|
134
|
+
ref: ref
|
|
135
|
+
}), isImage ? React__namespace.createElement("img", {
|
|
136
|
+
className: css.image,
|
|
137
|
+
src: image,
|
|
138
|
+
alt: name,
|
|
139
|
+
width: size,
|
|
140
|
+
height: size,
|
|
141
|
+
loading: loading
|
|
142
|
+
}) : React__namespace.createElement(React__namespace.Fragment, null, !!shortName ? React__namespace.createElement("span", {
|
|
143
|
+
className: css.text
|
|
144
|
+
}, shortName) : React__namespace.createElement(Icon.Icon, {
|
|
145
|
+
className: css.icon,
|
|
146
|
+
"icon-as": User.SvgUser
|
|
147
|
+
})));
|
|
148
|
+
});
|
|
149
|
+
Avatar.displayName = 'Avatar';
|
|
150
|
+
|
|
151
|
+
exports.Avatar = Avatar;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("classnames"),r=require("@prom-ui/core/Icon"),n=require("@prom-ui/icons/User");function
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("classnames"),r=require("@prom-ui/core/Icon"),n=require("@prom-ui/icons/User");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function o(e){if(e&&e.__esModule)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 i=o(e),c=a(t),l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)};var u={root:"ap8QD",image:"_52SeG",text:"-Fg0p",icon:"-JCN2",theme_white:"VDWp7","theme_black-100":"AQ1tT","theme_violet-300":"yK-3d","theme_yellow-500":"O2My9",theme_multicolor:"xV5U3"},s=i.forwardRef((function(e,t){var a,o=e.image,s=e.name,f=e.size,m=void 0===f?40:f,p=e.loading,d=void 0===p?"eager":p,g=e.theme,v=void 0===g?"violet-300":g,h=e.className,y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(e,["image","name","size","loading","theme","className"]),O=!!o,b=void 0,j=null;if(!O){var _=s?s.trim():"";"multicolor"===v&&(b=function(e){var t,r=0;for(t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r);var n="#";for(t=0;t<3;t+=1)n+="00".concat((r>>8*t&255).toString(16)).slice(-2);return n}(_)),j=function(e){return e.split(" ").slice(0,2).map((function(e){return e[0]})).join("")}(_)}return i.createElement("div",l({className:c.default(u.root,h,(a={},a[u["theme_".concat(v)]]=!O,a))},y,{style:{background:b,width:m,height:m,fontSize:m/2.2},ref:t}),O?i.createElement("img",{className:u.image,src:o,alt:s,width:m,height:m,loading:d}):i.createElement(i.Fragment,null,j?i.createElement("span",{className:u.text},j):i.createElement(r.Icon,{className:u.icon,"icon-as":n.SvgUser})))}));s.displayName="Avatar",exports.Avatar=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("classnames"),r=require("@prom-ui/core/Icon"),n=require("@prom-ui/icons/User");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function o(e){if(e&&e.__esModule)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 i=o(e),c=a(t),l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)};var u={root:"G2c2y",image:"A7F5c",text:"ZWoLT",icon:"sQ5M9",theme_white:"alKXP","theme_black-100":"mN0Ch","theme_violet-300":"MEUSj","theme_yellow-500":"lfsbh",theme_multicolor:"zMJTY"},s=i.forwardRef((function(e,t){var a,o=e.image,s=e.name,f=e.size,m=void 0===f?40:f,p=e.loading,d=void 0===p?"eager":p,h=e.theme,v=void 0===h?"violet-300":h,g=e.className,y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(e,["image","name","size","loading","theme","className"]),b=!!o,O=void 0,j=null;if(!b){var w=s?s.trim():"";"multicolor"===v&&(O=function(e){var t,r=0;for(t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r);var n="#";for(t=0;t<3;t+=1)n+="00".concat((r>>8*t&255).toString(16)).slice(-2);return n}(w)),j=function(e){return e.split(" ").slice(0,2).map((function(e){return e[0]})).join("")}(w)}return i.createElement("div",l({className:c.default(u.root,g,(a={},a[u["theme_".concat(v)]]=!b,a))},y,{style:{background:O,width:m,height:m,fontSize:m/2.2},ref:t}),b?i.createElement("img",{className:u.image,src:o,alt:s,width:m,height:m,loading:d}):i.createElement(i.Fragment,null,j?i.createElement("span",{className:u.text},j):i.createElement(r.Icon,{className:u.icon,"icon-as":n.SvgUser})))}));s.displayName="Avatar",exports.Avatar=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Avatar__root___G2c2y{display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:700;text-transform:uppercase;box-sizing:border-box;font-size:14px}.Avatar__image___A7F5c{display:block;font-size:0;-o-object-fit:cover;object-fit:cover;background:var(--black-100)}.Avatar__text___ZWoLT{font-size:max(8px,min(1em,14px))}.Avatar__icon___sQ5M9{width:60%;height:60%;max-width:24px;max-height:24px}.Avatar__theme_white___alKXP{background:var(--white);color:var(--black-800)}.Avatar__theme_black-100___mN0Ch{background:var(--black-100);color:var(--black-800)}.Avatar__theme_violet-300___MEUSj{background:var(--violet-300);color:var(--white)}.Avatar__theme_yellow-500___lfsbh{background:var(--yellow-500);color:var(--black-900)}.Avatar__theme_multicolor___zMJTY{color:#fff}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.G2c2y{display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:700;text-transform:uppercase;box-sizing:border-box;font-size:14px}.A7F5c{display:block;font-size:0;-o-object-fit:cover;object-fit:cover;background:var(--black-100)}.ZWoLT{font-size:max(8px,min(1em,14px))}.sQ5M9{width:60%;height:60%;max-width:24px;max-height:24px}.alKXP{background:var(--white);color:var(--black-800)}.mN0Ch{background:var(--black-100);color:var(--black-800)}.MEUSj{background:var(--violet-300);color:var(--white)}.lfsbh{background:var(--yellow-500);color:var(--black-900)}.zMJTY{color:#fff}
|
package/Avatar/index.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
if (process.env.NODE_ENV === 'production') {
|
|
4
|
-
|
|
4
|
+
if (process.env.PROM_UI_CSS_HASH === 'v2') {
|
|
5
|
+
module.exports = require('./cjs/index.production.v2.js');
|
|
6
|
+
require('./cjs/style.production.v2.css');
|
|
7
|
+
} else {
|
|
8
|
+
module.exports = require('./cjs/index.production.js');
|
|
9
|
+
require('./cjs/style.production.css');
|
|
10
|
+
}
|
|
5
11
|
} else {
|
|
6
|
-
|
|
12
|
+
if (process.env.PROM_UI_CSS_HASH === 'v2') {
|
|
13
|
+
module.exports = require('./cjs/index.development.v2.js');
|
|
14
|
+
require('./cjs/style.development.v2.css');
|
|
15
|
+
} else {
|
|
16
|
+
module.exports = require('./cjs/index.development.js');
|
|
17
|
+
require('./cjs/style.development.css');
|
|
18
|
+
}
|
|
7
19
|
}
|
package/Avatar/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("evokit-body");Object.defineProperty(exports,"Body",{enumerable:!0,get:function(){return e.Body}})
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("evokit-body");Object.defineProperty(exports,"Body",{enumerable:!0,get:function(){return e.Body}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("evokit-body");Object.defineProperty(exports,"Body",{enumerable:!0,get:function(){return e.Body}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ek-body{display:block;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;font-size:var(--pds-font-size-default);line-height:var(--pds-line-height);font-weight:400;min-width:1000px;margin:0;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-font-smoothing:subpixel-antialiased}.ek-body__section{display:block;box-sizing:border-box;margin-left:auto;margin-right:auto;min-width:1000px;max-width:1260px}.ek-body_display_block{display:block}.ek-body_display_none{display:none}.ek-body_size_xl .ek-body__section{max-width:1502px}.ek-body_size_xxl .ek-body__section{max-width:1640px}.ek-body_size_xxxl .ek-body__section{max-width:1840px}.ek-body_width_none{min-width:0}.ek-body_width_none .ek-body__section{min-width:0;max-width:none}.ek-body_width-min_none{min-width:0}.ek-body_width-min_none .ek-body__section{min-width:0}.ek-body_width-max_none .ek-body__section{max-width:none}.ek-body_width_xxs{min-width:320px}.ek-body_width_xxs .ek-body__section{min-width:320px;max-width:320px}.ek-body_width-min_xxs{min-width:320px}.ek-body_width-min_xxs .ek-body__section{min-width:320px}.ek-body_width-max_xxs .ek-body__section{max-width:320px}.ek-body_width_xs{min-width:480px}.ek-body_width_xs .ek-body__section{min-width:480px;max-width:480px}.ek-body_width-min_xs{min-width:480px}.ek-body_width-min_xs .ek-body__section{min-width:480px}.ek-body_width-max_xs .ek-body__section{max-width:480px}.ek-body_width_s{min-width:768px}.ek-body_width_s .ek-body__section{min-width:768px;max-width:768px}.ek-body_width-min_s{min-width:768px}.ek-body_width-min_s .ek-body__section{min-width:768px}.ek-body_width-max_s .ek-body__section{max-width:768px}.ek-body_width_m{min-width:900px}.ek-body_width_m .ek-body__section{min-width:900px;max-width:900px}.ek-body_width-min_m{min-width:900px}.ek-body_width-min_m .ek-body__section{min-width:900px}.ek-body_width-max_m .ek-body__section{max-width:900px}.ek-body_width_l{min-width:1024px}.ek-body_width_l .ek-body__section{min-width:1024px;max-width:1024px}.ek-body_width-min_l{min-width:1024px}.ek-body_width-min_l .ek-body__section{min-width:1024px}.ek-body_width-max_l .ek-body__section{max-width:1024px}.ek-body_width_xl{min-width:1280px}.ek-body_width_xl .ek-body__section{min-width:1280px;max-width:1280px}.ek-body_width-min_xl{min-width:1280px}.ek-body_width-min_xl .ek-body__section{min-width:1280px}.ek-body_width-max_xl .ek-body__section{max-width:1280px}.ek-body_width_xxl{min-width:1366px}.ek-body_width_xxl .ek-body__section{min-width:1366px;max-width:1366px}.ek-body_width-min_xxl{min-width:1366px}.ek-body_width-min_xxl .ek-body__section{min-width:1366px}.ek-body_width-max_xxl .ek-body__section{max-width:1366px}.ek-body_width_3xl{min-width:1460px}.ek-body_width_3xl .ek-body__section{min-width:1460px;max-width:1460px}.ek-body_width-min_3xl{min-width:1460px}.ek-body_width-min_3xl .ek-body__section{min-width:1460px}.ek-body_width-max_3xl .ek-body__section{max-width:1460px}.ek-body_width_4xl{min-width:1600px}.ek-body_width_4xl .ek-body__section{min-width:1600px;max-width:1600px}.ek-body_width-min_4xl{min-width:1600px}.ek-body_width-min_4xl .ek-body__section{min-width:1600px}.ek-body_width-max_4xl .ek-body__section{max-width:1600px}.ek-body_width_5xl{min-width:1920px}.ek-body_width_5xl .ek-body__section{min-width:1920px;max-width:1920px}.ek-body_width-min_5xl{min-width:1920px}.ek-body_width-min_5xl .ek-body__section{min-width:1920px}.ek-body_width-max_5xl .ek-body__section{max-width:1920px}.ek-body_indent_none .ek-body__section{padding-left:0;padding-right:0}.ek-body_indent_xxs .ek-body__section{padding-left:var(--pds-spacing-xxs);padding-right:var(--pds-spacing-xxs)}.ek-body_indent_xs .ek-body__section{padding-left:var(--pds-spacing-xs);padding-right:var(--pds-spacing-xs)}.ek-body_indent_s .ek-body__section{padding-left:var(--pds-spacing-s);padding-right:var(--pds-spacing-s)}.ek-body_indent_m .ek-body__section{padding-left:var(--pds-spacing-m);padding-right:var(--pds-spacing-m)}.ek-body_indent_l .ek-body__section{padding-left:var(--pds-spacing-l);padding-right:var(--pds-spacing-l)}.ek-body_indent_xl .ek-body__section{padding-left:var(--pds-spacing-xl);padding-right:var(--pds-spacing-xl)}.ek-body_indent_xxl .ek-body__section{padding-left:var(--pds-spacing-xxl);padding-right:var(--pds-spacing-xxl)}.ek-body_indent_3xl .ek-body__section{padding-left:var(--pds-spacing-3xl);padding-right:var(--pds-spacing-3xl)}.ek-body_indent_4xl .ek-body__section{padding-left:var(--pds-spacing-4xl);padding-right:var(--pds-spacing-4xl)}.ek-body_indent_5xl .ek-body__section{padding-left:var(--pds-spacing-5xl);padding-right:var(--pds-spacing-5xl)}.ek-body_overflow_auto{overflow:auto}.ek-body_overflow-x_auto{overflow-x:auto}.ek-body_overflow-y_auto{overflow-y:auto}.ek-body_overflow_hidden{overflow:hidden}.ek-body_overflow-x_hidden{overflow-x:hidden}.ek-body_overflow-y_hidden{overflow-y:hidden}.ek-body_overflow_scroll{overflow:scroll}.ek-body_overflow-x_scroll{overflow-x:scroll}.ek-body_overflow-y_scroll{overflow-y:scroll}.ek-body_overflow_visible{overflow:visible}.ek-body_overflow-x_visible{overflow-x:visible}.ek-body_overflow-y_visible{overflow-y:visible}.ek-body_overflow-anchor_none{overflow-anchor:none}.ek-body_overflow-anchor_auto{overflow-anchor:auto}.ek-body__section_display_block{display:block}.ek-body__section_display_none{display:none}.ek-body__section_height_auto{height:auto}.ek-body__section_height_inherit{height:inherit}.ek-body__section_height_1-1{height:100%}.ek-body_background_black-100{background:var(--black-100)}.ek-body_color_black-100{color:var(--black-100)}.ek-body_background_black-900{background:var(--black-900)}.ek-body_color_black-900{color:var(--black-900)}.ek-body_background_white{background:var(--white)}.ek-body_color_white{color:var(--white)}@media only screen and (min-width:480px){.ek-body_background_black-100\@small{background:var(--black-100)}.ek-body_color_black-100\@small{color:var(--black-100)}.ek-body_background_black-900\@small{background:var(--black-900)}.ek-body_color_black-900\@small{color:var(--black-900)}.ek-body_background_white\@small{background:var(--white)}.ek-body_color_white\@small{color:var(--white)}}@media only screen and (min-width:768px){.ek-body_background_black-100\@medium{background:var(--black-100)}.ek-body_color_black-100\@medium{color:var(--black-100)}.ek-body_background_black-900\@medium{background:var(--black-900)}.ek-body_color_black-900\@medium{color:var(--black-900)}.ek-body_background_white\@medium{background:var(--white)}.ek-body_color_white\@medium{color:var(--white)}}@media only screen and (min-width:960px){.ek-body_display_block\@large{display:block}.ek-body_display_none\@large{display:none}.ek-body_size_xl\@large .ek-body__section{max-width:1502px}.ek-body_size_xxl\@large .ek-body__section{max-width:1640px}.ek-body_size_xxxl\@large .ek-body__section{max-width:1840px}.ek-body_width_none\@large{min-width:0}.ek-body_width_none\@large .ek-body__section{min-width:0;max-width:none}.ek-body_width-min_none\@large{min-width:0}.ek-body_width-min_none\@large .ek-body__section{min-width:0}.ek-body_width-max_none\@large .ek-body__section{max-width:none}.ek-body_width_xxs\@large{min-width:320px}.ek-body_width_xxs\@large .ek-body__section{min-width:320px;max-width:320px}.ek-body_width-min_xxs\@large{min-width:320px}.ek-body_width-min_xxs\@large .ek-body__section{min-width:320px}.ek-body_width-max_xxs\@large .ek-body__section{max-width:320px}.ek-body_width_xs\@large{min-width:480px}.ek-body_width_xs\@large .ek-body__section{min-width:480px;max-width:480px}.ek-body_width-min_xs\@large{min-width:480px}.ek-body_width-min_xs\@large .ek-body__section{min-width:480px}.ek-body_width-max_xs\@large .ek-body__section{max-width:480px}.ek-body_width_s\@large{min-width:768px}.ek-body_width_s\@large .ek-body__section{min-width:768px;max-width:768px}.ek-body_width-min_s\@large{min-width:768px}.ek-body_width-min_s\@large .ek-body__section{min-width:768px}.ek-body_width-max_s\@large .ek-body__section{max-width:768px}.ek-body_width_m\@large{min-width:900px}.ek-body_width_m\@large .ek-body__section{min-width:900px;max-width:900px}.ek-body_width-min_m\@large{min-width:900px}.ek-body_width-min_m\@large .ek-body__section{min-width:900px}.ek-body_width-max_m\@large .ek-body__section{max-width:900px}.ek-body_width_l\@large{min-width:1024px}.ek-body_width_l\@large .ek-body__section{min-width:1024px;max-width:1024px}.ek-body_width-min_l\@large{min-width:1024px}.ek-body_width-min_l\@large .ek-body__section{min-width:1024px}.ek-body_width-max_l\@large .ek-body__section{max-width:1024px}.ek-body_width_xl\@large{min-width:1280px}.ek-body_width_xl\@large .ek-body__section{min-width:1280px;max-width:1280px}.ek-body_width-min_xl\@large{min-width:1280px}.ek-body_width-min_xl\@large .ek-body__section{min-width:1280px}.ek-body_width-max_xl\@large .ek-body__section{max-width:1280px}.ek-body_width_xxl\@large{min-width:1366px}.ek-body_width_xxl\@large .ek-body__section{min-width:1366px;max-width:1366px}.ek-body_width-min_xxl\@large{min-width:1366px}.ek-body_width-min_xxl\@large .ek-body__section{min-width:1366px}.ek-body_width-max_xxl\@large .ek-body__section{max-width:1366px}.ek-body_width_3xl\@large{min-width:1460px}.ek-body_width_3xl\@large .ek-body__section{min-width:1460px;max-width:1460px}.ek-body_width-min_3xl\@large{min-width:1460px}.ek-body_width-min_3xl\@large .ek-body__section{min-width:1460px}.ek-body_width-max_3xl\@large .ek-body__section{max-width:1460px}.ek-body_width_4xl\@large{min-width:1600px}.ek-body_width_4xl\@large .ek-body__section{min-width:1600px;max-width:1600px}.ek-body_width-min_4xl\@large{min-width:1600px}.ek-body_width-min_4xl\@large .ek-body__section{min-width:1600px}.ek-body_width-max_4xl\@large .ek-body__section{max-width:1600px}.ek-body_width_5xl\@large{min-width:1920px}.ek-body_width_5xl\@large .ek-body__section{min-width:1920px;max-width:1920px}.ek-body_width-min_5xl\@large{min-width:1920px}.ek-body_width-min_5xl\@large .ek-body__section{min-width:1920px}.ek-body_width-max_5xl\@large .ek-body__section{max-width:1920px}.ek-body_indent_none\@large .ek-body__section{padding-left:0;padding-right:0}.ek-body_indent_xxs\@large .ek-body__section{padding-left:var(--pds-spacing-xxs);padding-right:var(--pds-spacing-xxs)}.ek-body_indent_xs\@large .ek-body__section{padding-left:var(--pds-spacing-xs);padding-right:var(--pds-spacing-xs)}.ek-body_indent_s\@large .ek-body__section{padding-left:var(--pds-spacing-s);padding-right:var(--pds-spacing-s)}.ek-body_indent_m\@large .ek-body__section{padding-left:var(--pds-spacing-m);padding-right:var(--pds-spacing-m)}.ek-body_indent_l\@large .ek-body__section{padding-left:var(--pds-spacing-l);padding-right:var(--pds-spacing-l)}.ek-body_indent_xl\@large .ek-body__section{padding-left:var(--pds-spacing-xl);padding-right:var(--pds-spacing-xl)}.ek-body_indent_xxl\@large .ek-body__section{padding-left:var(--pds-spacing-xxl);padding-right:var(--pds-spacing-xxl)}.ek-body_indent_3xl\@large .ek-body__section{padding-left:var(--pds-spacing-3xl);padding-right:var(--pds-spacing-3xl)}.ek-body_indent_4xl\@large .ek-body__section{padding-left:var(--pds-spacing-4xl);padding-right:var(--pds-spacing-4xl)}.ek-body_indent_5xl\@large .ek-body__section{padding-left:var(--pds-spacing-5xl);padding-right:var(--pds-spacing-5xl)}.ek-body_overflow_auto\@large{overflow:auto}.ek-body_overflow-x_auto\@large{overflow-x:auto}.ek-body_overflow-y_auto\@large{overflow-y:auto}.ek-body_overflow_hidden\@large{overflow:hidden}.ek-body_overflow-x_hidden\@large{overflow-x:hidden}.ek-body_overflow-y_hidden\@large{overflow-y:hidden}.ek-body_overflow_scroll\@large{overflow:scroll}.ek-body_overflow-x_scroll\@large{overflow-x:scroll}.ek-body_overflow-y_scroll\@large{overflow-y:scroll}.ek-body_overflow_visible\@large{overflow:visible}.ek-body_overflow-x_visible\@large{overflow-x:visible}.ek-body_overflow-y_visible\@large{overflow-y:visible}.ek-body_overflow-anchor_none\@large{overflow-anchor:none}.ek-body_overflow-anchor_auto\@large{overflow-anchor:auto}.ek-body__section_display_block\@large{display:block}.ek-body__section_display_none\@large{display:none}.ek-body__section_height_auto\@large{height:auto}.ek-body__section_height_inherit\@large{height:inherit}.ek-body__section_height_1-1\@large{height:100%}.ek-body_background_black-100\@large{background:var(--black-100)}.ek-body_color_black-100\@large{color:var(--black-100)}.ek-body_background_black-900\@large{background:var(--black-900)}.ek-body_color_black-900\@large{color:var(--black-900)}.ek-body_background_white\@large{background:var(--white)}.ek-body_color_white\@large{color:var(--white)}}@media only screen and (min-width:1200px){.ek-body_background_black-100\@wide{background:var(--black-100)}.ek-body_color_black-100\@wide{color:var(--black-100)}.ek-body_background_black-900\@wide{background:var(--black-900)}.ek-body_color_black-900\@wide{color:var(--black-900)}.ek-body_background_white\@wide{background:var(--white)}.ek-body_color_white\@wide{color:var(--white)}}@media only screen and (min-width:1400px){.ek-body_background_black-100\@huge{background:var(--black-100)}.ek-body_color_black-100\@huge{color:var(--black-100)}.ek-body_background_black-900\@huge{background:var(--black-900)}.ek-body_color_black-900\@huge{color:var(--black-900)}.ek-body_background_white\@huge{background:var(--white)}.ek-body_color_white\@huge{color:var(--white)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ek-body{display:block;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;font-size:var(--pds-font-size-default);line-height:var(--pds-line-height);font-weight:400;min-width:1000px;margin:0;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-font-smoothing:subpixel-antialiased}.ek-body__section{display:block;box-sizing:border-box;margin-left:auto;margin-right:auto;min-width:1000px;max-width:1260px}.ek-body_display_block{display:block}.ek-body_display_none{display:none}.ek-body_size_xl .ek-body__section{max-width:1502px}.ek-body_size_xxl .ek-body__section{max-width:1640px}.ek-body_size_xxxl .ek-body__section{max-width:1840px}.ek-body_width_none{min-width:0}.ek-body_width_none .ek-body__section{min-width:0;max-width:none}.ek-body_width-min_none{min-width:0}.ek-body_width-min_none .ek-body__section{min-width:0}.ek-body_width-max_none .ek-body__section{max-width:none}.ek-body_width_xxs{min-width:320px}.ek-body_width_xxs .ek-body__section{min-width:320px;max-width:320px}.ek-body_width-min_xxs{min-width:320px}.ek-body_width-min_xxs .ek-body__section{min-width:320px}.ek-body_width-max_xxs .ek-body__section{max-width:320px}.ek-body_width_xs{min-width:480px}.ek-body_width_xs .ek-body__section{min-width:480px;max-width:480px}.ek-body_width-min_xs{min-width:480px}.ek-body_width-min_xs .ek-body__section{min-width:480px}.ek-body_width-max_xs .ek-body__section{max-width:480px}.ek-body_width_s{min-width:768px}.ek-body_width_s .ek-body__section{min-width:768px;max-width:768px}.ek-body_width-min_s{min-width:768px}.ek-body_width-min_s .ek-body__section{min-width:768px}.ek-body_width-max_s .ek-body__section{max-width:768px}.ek-body_width_m{min-width:900px}.ek-body_width_m .ek-body__section{min-width:900px;max-width:900px}.ek-body_width-min_m{min-width:900px}.ek-body_width-min_m .ek-body__section{min-width:900px}.ek-body_width-max_m .ek-body__section{max-width:900px}.ek-body_width_l{min-width:1024px}.ek-body_width_l .ek-body__section{min-width:1024px;max-width:1024px}.ek-body_width-min_l{min-width:1024px}.ek-body_width-min_l .ek-body__section{min-width:1024px}.ek-body_width-max_l .ek-body__section{max-width:1024px}.ek-body_width_xl{min-width:1280px}.ek-body_width_xl .ek-body__section{min-width:1280px;max-width:1280px}.ek-body_width-min_xl{min-width:1280px}.ek-body_width-min_xl .ek-body__section{min-width:1280px}.ek-body_width-max_xl .ek-body__section{max-width:1280px}.ek-body_width_xxl{min-width:1366px}.ek-body_width_xxl .ek-body__section{min-width:1366px;max-width:1366px}.ek-body_width-min_xxl{min-width:1366px}.ek-body_width-min_xxl .ek-body__section{min-width:1366px}.ek-body_width-max_xxl .ek-body__section{max-width:1366px}.ek-body_width_3xl{min-width:1460px}.ek-body_width_3xl .ek-body__section{min-width:1460px;max-width:1460px}.ek-body_width-min_3xl{min-width:1460px}.ek-body_width-min_3xl .ek-body__section{min-width:1460px}.ek-body_width-max_3xl .ek-body__section{max-width:1460px}.ek-body_width_4xl{min-width:1600px}.ek-body_width_4xl .ek-body__section{min-width:1600px;max-width:1600px}.ek-body_width-min_4xl{min-width:1600px}.ek-body_width-min_4xl .ek-body__section{min-width:1600px}.ek-body_width-max_4xl .ek-body__section{max-width:1600px}.ek-body_width_5xl{min-width:1920px}.ek-body_width_5xl .ek-body__section{min-width:1920px;max-width:1920px}.ek-body_width-min_5xl{min-width:1920px}.ek-body_width-min_5xl .ek-body__section{min-width:1920px}.ek-body_width-max_5xl .ek-body__section{max-width:1920px}.ek-body_indent_none .ek-body__section{padding-left:0;padding-right:0}.ek-body_indent_xxs .ek-body__section{padding-left:var(--pds-spacing-xxs);padding-right:var(--pds-spacing-xxs)}.ek-body_indent_xs .ek-body__section{padding-left:var(--pds-spacing-xs);padding-right:var(--pds-spacing-xs)}.ek-body_indent_s .ek-body__section{padding-left:var(--pds-spacing-s);padding-right:var(--pds-spacing-s)}.ek-body_indent_m .ek-body__section{padding-left:var(--pds-spacing-m);padding-right:var(--pds-spacing-m)}.ek-body_indent_l .ek-body__section{padding-left:var(--pds-spacing-l);padding-right:var(--pds-spacing-l)}.ek-body_indent_xl .ek-body__section{padding-left:var(--pds-spacing-xl);padding-right:var(--pds-spacing-xl)}.ek-body_indent_xxl .ek-body__section{padding-left:var(--pds-spacing-xxl);padding-right:var(--pds-spacing-xxl)}.ek-body_indent_3xl .ek-body__section{padding-left:var(--pds-spacing-3xl);padding-right:var(--pds-spacing-3xl)}.ek-body_indent_4xl .ek-body__section{padding-left:var(--pds-spacing-4xl);padding-right:var(--pds-spacing-4xl)}.ek-body_indent_5xl .ek-body__section{padding-left:var(--pds-spacing-5xl);padding-right:var(--pds-spacing-5xl)}.ek-body_overflow_auto{overflow:auto}.ek-body_overflow-x_auto{overflow-x:auto}.ek-body_overflow-y_auto{overflow-y:auto}.ek-body_overflow_hidden{overflow:hidden}.ek-body_overflow-x_hidden{overflow-x:hidden}.ek-body_overflow-y_hidden{overflow-y:hidden}.ek-body_overflow_scroll{overflow:scroll}.ek-body_overflow-x_scroll{overflow-x:scroll}.ek-body_overflow-y_scroll{overflow-y:scroll}.ek-body_overflow_visible{overflow:visible}.ek-body_overflow-x_visible{overflow-x:visible}.ek-body_overflow-y_visible{overflow-y:visible}.ek-body_overflow-anchor_none{overflow-anchor:none}.ek-body_overflow-anchor_auto{overflow-anchor:auto}.ek-body__section_display_block{display:block}.ek-body__section_display_none{display:none}.ek-body__section_height_auto{height:auto}.ek-body__section_height_inherit{height:inherit}.ek-body__section_height_1-1{height:100%}.ek-body_background_black-100{background:var(--black-100)}.ek-body_color_black-100{color:var(--black-100)}.ek-body_background_black-900{background:var(--black-900)}.ek-body_color_black-900{color:var(--black-900)}.ek-body_background_white{background:var(--white)}.ek-body_color_white{color:var(--white)}@media only screen and (min-width:480px){.ek-body_background_black-100\@small{background:var(--black-100)}.ek-body_color_black-100\@small{color:var(--black-100)}.ek-body_background_black-900\@small{background:var(--black-900)}.ek-body_color_black-900\@small{color:var(--black-900)}.ek-body_background_white\@small{background:var(--white)}.ek-body_color_white\@small{color:var(--white)}}@media only screen and (min-width:768px){.ek-body_background_black-100\@medium{background:var(--black-100)}.ek-body_color_black-100\@medium{color:var(--black-100)}.ek-body_background_black-900\@medium{background:var(--black-900)}.ek-body_color_black-900\@medium{color:var(--black-900)}.ek-body_background_white\@medium{background:var(--white)}.ek-body_color_white\@medium{color:var(--white)}}@media only screen and (min-width:960px){.ek-body_display_block\@large{display:block}.ek-body_display_none\@large{display:none}.ek-body_size_xl\@large .ek-body__section{max-width:1502px}.ek-body_size_xxl\@large .ek-body__section{max-width:1640px}.ek-body_size_xxxl\@large .ek-body__section{max-width:1840px}.ek-body_width_none\@large{min-width:0}.ek-body_width_none\@large .ek-body__section{min-width:0;max-width:none}.ek-body_width-min_none\@large{min-width:0}.ek-body_width-min_none\@large .ek-body__section{min-width:0}.ek-body_width-max_none\@large .ek-body__section{max-width:none}.ek-body_width_xxs\@large{min-width:320px}.ek-body_width_xxs\@large .ek-body__section{min-width:320px;max-width:320px}.ek-body_width-min_xxs\@large{min-width:320px}.ek-body_width-min_xxs\@large .ek-body__section{min-width:320px}.ek-body_width-max_xxs\@large .ek-body__section{max-width:320px}.ek-body_width_xs\@large{min-width:480px}.ek-body_width_xs\@large .ek-body__section{min-width:480px;max-width:480px}.ek-body_width-min_xs\@large{min-width:480px}.ek-body_width-min_xs\@large .ek-body__section{min-width:480px}.ek-body_width-max_xs\@large .ek-body__section{max-width:480px}.ek-body_width_s\@large{min-width:768px}.ek-body_width_s\@large .ek-body__section{min-width:768px;max-width:768px}.ek-body_width-min_s\@large{min-width:768px}.ek-body_width-min_s\@large .ek-body__section{min-width:768px}.ek-body_width-max_s\@large .ek-body__section{max-width:768px}.ek-body_width_m\@large{min-width:900px}.ek-body_width_m\@large .ek-body__section{min-width:900px;max-width:900px}.ek-body_width-min_m\@large{min-width:900px}.ek-body_width-min_m\@large .ek-body__section{min-width:900px}.ek-body_width-max_m\@large .ek-body__section{max-width:900px}.ek-body_width_l\@large{min-width:1024px}.ek-body_width_l\@large .ek-body__section{min-width:1024px;max-width:1024px}.ek-body_width-min_l\@large{min-width:1024px}.ek-body_width-min_l\@large .ek-body__section{min-width:1024px}.ek-body_width-max_l\@large .ek-body__section{max-width:1024px}.ek-body_width_xl\@large{min-width:1280px}.ek-body_width_xl\@large .ek-body__section{min-width:1280px;max-width:1280px}.ek-body_width-min_xl\@large{min-width:1280px}.ek-body_width-min_xl\@large .ek-body__section{min-width:1280px}.ek-body_width-max_xl\@large .ek-body__section{max-width:1280px}.ek-body_width_xxl\@large{min-width:1366px}.ek-body_width_xxl\@large .ek-body__section{min-width:1366px;max-width:1366px}.ek-body_width-min_xxl\@large{min-width:1366px}.ek-body_width-min_xxl\@large .ek-body__section{min-width:1366px}.ek-body_width-max_xxl\@large .ek-body__section{max-width:1366px}.ek-body_width_3xl\@large{min-width:1460px}.ek-body_width_3xl\@large .ek-body__section{min-width:1460px;max-width:1460px}.ek-body_width-min_3xl\@large{min-width:1460px}.ek-body_width-min_3xl\@large .ek-body__section{min-width:1460px}.ek-body_width-max_3xl\@large .ek-body__section{max-width:1460px}.ek-body_width_4xl\@large{min-width:1600px}.ek-body_width_4xl\@large .ek-body__section{min-width:1600px;max-width:1600px}.ek-body_width-min_4xl\@large{min-width:1600px}.ek-body_width-min_4xl\@large .ek-body__section{min-width:1600px}.ek-body_width-max_4xl\@large .ek-body__section{max-width:1600px}.ek-body_width_5xl\@large{min-width:1920px}.ek-body_width_5xl\@large .ek-body__section{min-width:1920px;max-width:1920px}.ek-body_width-min_5xl\@large{min-width:1920px}.ek-body_width-min_5xl\@large .ek-body__section{min-width:1920px}.ek-body_width-max_5xl\@large .ek-body__section{max-width:1920px}.ek-body_indent_none\@large .ek-body__section{padding-left:0;padding-right:0}.ek-body_indent_xxs\@large .ek-body__section{padding-left:var(--pds-spacing-xxs);padding-right:var(--pds-spacing-xxs)}.ek-body_indent_xs\@large .ek-body__section{padding-left:var(--pds-spacing-xs);padding-right:var(--pds-spacing-xs)}.ek-body_indent_s\@large .ek-body__section{padding-left:var(--pds-spacing-s);padding-right:var(--pds-spacing-s)}.ek-body_indent_m\@large .ek-body__section{padding-left:var(--pds-spacing-m);padding-right:var(--pds-spacing-m)}.ek-body_indent_l\@large .ek-body__section{padding-left:var(--pds-spacing-l);padding-right:var(--pds-spacing-l)}.ek-body_indent_xl\@large .ek-body__section{padding-left:var(--pds-spacing-xl);padding-right:var(--pds-spacing-xl)}.ek-body_indent_xxl\@large .ek-body__section{padding-left:var(--pds-spacing-xxl);padding-right:var(--pds-spacing-xxl)}.ek-body_indent_3xl\@large .ek-body__section{padding-left:var(--pds-spacing-3xl);padding-right:var(--pds-spacing-3xl)}.ek-body_indent_4xl\@large .ek-body__section{padding-left:var(--pds-spacing-4xl);padding-right:var(--pds-spacing-4xl)}.ek-body_indent_5xl\@large .ek-body__section{padding-left:var(--pds-spacing-5xl);padding-right:var(--pds-spacing-5xl)}.ek-body_overflow_auto\@large{overflow:auto}.ek-body_overflow-x_auto\@large{overflow-x:auto}.ek-body_overflow-y_auto\@large{overflow-y:auto}.ek-body_overflow_hidden\@large{overflow:hidden}.ek-body_overflow-x_hidden\@large{overflow-x:hidden}.ek-body_overflow-y_hidden\@large{overflow-y:hidden}.ek-body_overflow_scroll\@large{overflow:scroll}.ek-body_overflow-x_scroll\@large{overflow-x:scroll}.ek-body_overflow-y_scroll\@large{overflow-y:scroll}.ek-body_overflow_visible\@large{overflow:visible}.ek-body_overflow-x_visible\@large{overflow-x:visible}.ek-body_overflow-y_visible\@large{overflow-y:visible}.ek-body_overflow-anchor_none\@large{overflow-anchor:none}.ek-body_overflow-anchor_auto\@large{overflow-anchor:auto}.ek-body__section_display_block\@large{display:block}.ek-body__section_display_none\@large{display:none}.ek-body__section_height_auto\@large{height:auto}.ek-body__section_height_inherit\@large{height:inherit}.ek-body__section_height_1-1\@large{height:100%}.ek-body_background_black-100\@large{background:var(--black-100)}.ek-body_color_black-100\@large{color:var(--black-100)}.ek-body_background_black-900\@large{background:var(--black-900)}.ek-body_color_black-900\@large{color:var(--black-900)}.ek-body_background_white\@large{background:var(--white)}.ek-body_color_white\@large{color:var(--white)}}@media only screen and (min-width:1200px){.ek-body_background_black-100\@wide{background:var(--black-100)}.ek-body_color_black-100\@wide{color:var(--black-100)}.ek-body_background_black-900\@wide{background:var(--black-900)}.ek-body_color_black-900\@wide{color:var(--black-900)}.ek-body_background_white\@wide{background:var(--white)}.ek-body_color_white\@wide{color:var(--white)}}@media only screen and (min-width:1400px){.ek-body_background_black-100\@huge{background:var(--black-100)}.ek-body_color_black-100\@huge{color:var(--black-100)}.ek-body_background_black-900\@huge{background:var(--black-900)}.ek-body_color_black-900\@huge{color:var(--black-900)}.ek-body_background_white\@huge{background:var(--white)}.ek-body_color_white\@huge{color:var(--white)}}
|
package/Body/index.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
if (process.env.NODE_ENV === 'production') {
|
|
4
|
-
|
|
4
|
+
if (process.env.PROM_UI_CSS_HASH === 'v2') {
|
|
5
|
+
module.exports = require('./cjs/index.production.v2.js');
|
|
6
|
+
require('./cjs/style.production.v2.css');
|
|
7
|
+
} else {
|
|
8
|
+
module.exports = require('./cjs/index.production.js');
|
|
9
|
+
require('./cjs/style.production.css');
|
|
10
|
+
}
|
|
5
11
|
} else {
|
|
6
|
-
|
|
12
|
+
if (process.env.PROM_UI_CSS_HASH === 'v2') {
|
|
13
|
+
module.exports = require('./cjs/index.development.v2.js');
|
|
14
|
+
require('./cjs/style.development.v2.css');
|
|
15
|
+
} else {
|
|
16
|
+
module.exports = require('./cjs/index.development.js');
|
|
17
|
+
require('./cjs/style.development.css');
|
|
18
|
+
}
|
|
7
19
|
}
|
package/Body/package.json
CHANGED