@prom-ui/core 1.3.1 → 1.4.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 +99 -67
- package/Avatar/cjs/index.development.v2.js +99 -67
- package/Avatar/cjs/index.production.js +1 -1
- package/Avatar/cjs/index.production.v2.js +1 -1
- package/Avatar/index.d.ts +14 -14
- package/Avatar/package.json +1 -1
- package/Avatar/utils.d.ts +2 -2
- package/Backdrop/cjs/index.development.js +131 -77
- package/Backdrop/cjs/index.development.v2.js +131 -77
- package/Backdrop/cjs/index.production.js +1 -1
- package/Backdrop/cjs/index.production.v2.js +1 -1
- package/Backdrop/index.d.ts +25 -25
- package/Backdrop/package.json +1 -1
- package/Body/cjs/index.development.js +2 -0
- package/Body/cjs/index.development.v2.js +2 -0
- package/Body/index.d.ts +36 -36
- package/Body/package.json +1 -1
- package/BodyContext/cjs/index.development.js +6 -7
- package/BodyContext/cjs/index.development.v2.js +6 -7
- package/BodyContext/cjs/index.production.js +1 -1
- package/BodyContext/cjs/index.production.v2.js +1 -1
- package/BodyContext/index.d.ts +12 -12
- package/BodyContext/package.json +1 -1
- package/BodyProvider/cjs/index.development.js +7 -6
- package/BodyProvider/cjs/index.development.v2.js +7 -6
- package/BodyProvider/index.d.ts +10 -10
- package/BodyProvider/package.json +1 -1
- package/Box/cjs/index.development.js +4 -4
- package/Box/cjs/index.development.v2.js +4 -4
- package/Box/index.d.ts +106 -106
- package/Box/package.json +1 -1
- package/Button/cjs/index.development.js +67 -62
- package/Button/cjs/index.development.v2.js +67 -62
- package/Button/cjs/index.production.js +1 -1
- package/Button/cjs/index.production.v2.js +1 -1
- package/Button/index.d.ts +45 -45
- package/Button/package.json +1 -1
- package/ButtonPageUp/cjs/index.development.js +195 -85
- package/ButtonPageUp/cjs/index.development.v2.js +195 -85
- package/ButtonPageUp/cjs/index.production.js +1 -1
- package/ButtonPageUp/cjs/index.production.v2.js +1 -1
- package/ButtonPageUp/index.d.ts +18 -18
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/cjs/index.development.js +99 -67
- package/Checkbox/cjs/index.development.v2.js +99 -67
- package/Checkbox/cjs/index.production.js +1 -1
- package/Checkbox/cjs/index.production.v2.js +1 -1
- package/Checkbox/index.d.ts +8 -8
- package/Checkbox/package.json +1 -1
- package/Flex/index.d.ts +34 -34
- package/Flex/package.json +1 -1
- package/Grid/index.d.ts +46 -46
- package/Grid/package.json +1 -1
- package/Icon/index.d.ts +9 -9
- package/Icon/package.json +1 -1
- package/Image/index.d.ts +42 -42
- package/Image/package.json +1 -1
- package/ImageEmoji/cjs/index.development.js +70 -63
- package/ImageEmoji/cjs/index.development.v2.js +70 -63
- package/ImageEmoji/cjs/index.production.js +1 -1
- package/ImageEmoji/cjs/index.production.v2.js +1 -1
- package/ImageEmoji/index.d.ts +9 -9
- package/ImageEmoji/package.json +1 -1
- package/Input/index.d.ts +18 -18
- package/Input/package.json +1 -1
- package/InputField/addons/AfterClearValue.d.ts +3 -3
- package/InputField/addons/AfterCorrectValue.d.ts +2 -2
- package/InputField/addons/AfterLoading.d.ts +2 -2
- package/InputField/addons/AfterTogglePassword.d.ts +6 -6
- package/InputField/addons/ErrorText.d.ts +6 -6
- package/InputField/cjs/index.development.js +237 -173
- package/InputField/cjs/index.development.v2.js +237 -173
- package/InputField/cjs/index.production.js +1 -1
- package/InputField/cjs/index.production.v2.js +1 -1
- package/InputField/index.d.ts +18 -18
- package/InputField/package.json +1 -1
- package/InputField/utils.d.ts +10 -10
- package/KeyPress/cjs/index.development.js +13 -13
- package/KeyPress/cjs/index.development.v2.js +13 -13
- package/KeyPress/index.d.ts +14 -14
- package/KeyPress/package.json +1 -1
- package/Line/index.d.ts +13 -13
- package/Line/package.json +1 -1
- package/Link/cjs/index.development.js +5 -5
- package/Link/cjs/index.development.v2.js +5 -5
- package/Link/index.d.ts +28 -28
- package/Link/package.json +1 -1
- package/List/index.d.ts +23 -23
- package/List/package.json +1 -1
- package/Media/MediaProvider.d.ts +8 -8
- package/Media/cjs/index.development.js +70 -19
- package/Media/cjs/index.development.v2.js +70 -19
- package/Media/cjs/index.production.js +1 -1
- package/Media/cjs/index.production.v2.js +1 -1
- package/Media/index.d.ts +20 -20
- package/Media/package.json +1 -1
- package/OutsideClick/cjs/index.development.js +117 -61
- package/OutsideClick/cjs/index.development.v2.js +117 -61
- package/OutsideClick/cjs/index.production.js +1 -1
- package/OutsideClick/cjs/index.production.v2.js +1 -1
- package/OutsideClick/index.d.ts +12 -12
- package/OutsideClick/package.json +1 -1
- package/Overlay/cjs/index.development.js +197 -183
- package/Overlay/cjs/index.development.v2.js +197 -183
- package/Overlay/cjs/index.production.js +1 -1
- package/Overlay/cjs/index.production.v2.js +1 -1
- package/Overlay/components/OverlayHeader.d.ts +11 -11
- package/Overlay/components/SwipeClose.d.ts +11 -11
- package/Overlay/components/TouchScrollable.d.ts +8 -8
- package/Overlay/index.d.ts +76 -76
- package/Overlay/package.json +1 -1
- package/Overlay/utils.d.ts +10 -10
- package/Picture/index.d.ts +70 -70
- package/Picture/package.json +1 -1
- package/Portal/cjs/index.development.js +11 -11
- package/Portal/cjs/index.development.v2.js +11 -11
- package/Portal/index.d.ts +10 -10
- package/Portal/package.json +1 -1
- package/QRCode/cjs/index.development.js +11 -11
- package/QRCode/cjs/index.development.v2.js +11 -11
- package/QRCode/index.d.ts +17 -17
- package/QRCode/package.json +1 -1
- package/Rating/cjs/index.development.js +75 -69
- package/Rating/cjs/index.development.v2.js +75 -69
- package/Rating/cjs/index.production.js +1 -1
- package/Rating/cjs/index.production.v2.js +1 -1
- package/Rating/index.d.ts +17 -17
- package/Rating/package.json +1 -1
- package/RatingSelect/cjs/index.development.js +148 -68
- package/RatingSelect/cjs/index.development.v2.js +148 -68
- package/RatingSelect/cjs/index.production.js +1 -1
- package/RatingSelect/cjs/index.production.v2.js +1 -1
- package/RatingSelect/index.d.ts +22 -18
- package/RatingSelect/package.json +1 -1
- package/SafeQuery/cjs/index.development.js +158 -110
- package/SafeQuery/cjs/index.development.v2.js +158 -110
- package/SafeQuery/cjs/index.production.js +1 -1
- package/SafeQuery/cjs/index.production.v2.js +1 -1
- package/SafeQuery/components/Error.d.ts +7 -7
- package/SafeQuery/index.d.ts +10 -10
- package/SafeQuery/package.json +1 -1
- package/Scroll/index.d.ts +25 -25
- package/Scroll/package.json +1 -1
- package/ScrollControls/ScrollControlsButton.d.ts +11 -11
- package/ScrollControls/cjs/index.development.js +201 -113
- package/ScrollControls/cjs/index.development.v2.js +201 -113
- package/ScrollControls/cjs/index.production.js +1 -1
- package/ScrollControls/cjs/index.production.v2.js +1 -1
- package/ScrollControls/index.d.ts +16 -16
- package/ScrollControls/package.json +1 -1
- package/SimpleSlider/cjs/index.development.js +270 -158
- package/SimpleSlider/cjs/index.development.v2.js +270 -158
- package/SimpleSlider/cjs/index.production.js +1 -1
- package/SimpleSlider/cjs/index.production.v2.js +1 -1
- package/SimpleSlider/index.d.ts +41 -41
- package/SimpleSlider/package.json +1 -1
- package/SimpleSlider/useAutoPlay.d.ts +3 -3
- package/SimpleSlider/utils.d.ts +19 -19
- package/Skeleton/cjs/index.development.js +118 -64
- package/Skeleton/cjs/index.development.v2.js +118 -64
- package/Skeleton/cjs/index.production.js +1 -1
- package/Skeleton/cjs/index.production.v2.js +1 -1
- package/Skeleton/index.d.ts +37 -37
- package/Skeleton/package.json +1 -1
- package/Spinner/cjs/index.development.js +66 -61
- package/Spinner/cjs/index.development.v2.js +66 -61
- package/Spinner/cjs/index.production.js +1 -1
- package/Spinner/cjs/index.production.v2.js +1 -1
- package/Spinner/index.d.ts +29 -29
- package/Spinner/package.json +1 -1
- package/Text/index.d.ts +25 -25
- package/Text/package.json +1 -1
- package/TextEmoji/cjs/index.development.js +65 -60
- package/TextEmoji/cjs/index.development.v2.js +65 -60
- package/TextEmoji/cjs/index.production.js +1 -1
- package/TextEmoji/cjs/index.production.v2.js +1 -1
- package/TextEmoji/index.d.ts +9 -9
- package/TextEmoji/package.json +1 -1
- package/Tooltip/cjs/index.development.js +80 -91
- package/Tooltip/cjs/index.development.v2.js +80 -91
- package/Tooltip/cjs/index.production.js +1 -1
- package/Tooltip/cjs/index.production.v2.js +1 -1
- package/Tooltip/index.d.ts +87 -87
- package/Tooltip/package.json +1 -1
- package/Tumbler/cjs/index.development.js +98 -66
- package/Tumbler/cjs/index.development.v2.js +98 -66
- package/Tumbler/cjs/index.production.js +1 -1
- package/Tumbler/cjs/index.production.v2.js +1 -1
- package/Tumbler/index.d.ts +8 -8
- package/Tumbler/package.json +1 -1
- package/package.json +7 -5
- package/useBodyTTag/cjs/index.development.js +1 -1
- package/useBodyTTag/cjs/index.development.v2.js +1 -1
- package/useBodyTTag/index.d.ts +2 -2
- package/useBodyTTag/package.json +1 -1
- package/useDebounce/cjs/index.development.js +58 -6
- package/useDebounce/cjs/index.development.v2.js +58 -6
- package/useDebounce/cjs/index.production.js +1 -1
- package/useDebounce/cjs/index.production.v2.js +1 -1
- package/useDebounce/index.d.ts +4 -4
- package/useDebounce/package.json +1 -1
- package/useId/cjs/index.development.js +6 -7
- package/useId/cjs/index.development.v2.js +6 -7
- package/useId/cjs/index.production.js +1 -1
- package/useId/cjs/index.production.v2.js +1 -1
- package/useId/index.d.ts +4 -4
- package/useId/package.json +1 -1
- package/useIsMounted/cjs/index.development.js +3 -3
- package/useIsMounted/cjs/index.development.v2.js +3 -3
- package/useIsMounted/index.d.ts +4 -4
- package/useIsMounted/package.json +1 -1
- package/useKeyPress/cjs/index.development.js +76 -22
- package/useKeyPress/cjs/index.development.v2.js +76 -22
- package/useKeyPress/cjs/index.production.js +1 -1
- package/useKeyPress/cjs/index.production.v2.js +1 -1
- package/useKeyPress/index.d.ts +6 -6
- package/useKeyPress/package.json +1 -1
- package/useMedia/cjs/index.development.js +5 -5
- package/useMedia/cjs/index.development.v2.js +5 -5
- package/useMedia/index.d.ts +21 -21
- package/useMedia/package.json +1 -1
- package/useOutsideClick/cjs/index.development.js +2 -2
- package/useOutsideClick/cjs/index.development.v2.js +2 -2
- package/useOutsideClick/index.d.ts +5 -5
- package/useOutsideClick/package.json +1 -1
- package/usePortal/cjs/index.development.js +32 -27
- package/usePortal/cjs/index.development.v2.js +32 -27
- package/usePortal/index.d.ts +12 -12
- package/usePortal/package.json +1 -1
- package/useScrollPosition/cjs/index.development.js +2 -2
- package/useScrollPosition/cjs/index.development.v2.js +2 -2
- package/useScrollPosition/index.d.ts +5 -5
- package/useScrollPosition/package.json +1 -1
|
@@ -10,103 +10,157 @@ var Portal = require('@prom-ui/core/Portal');
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
12
12
|
function _interopNamespaceCompat(e) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
});
|
|
23
|
-
}
|
|
13
|
+
if (e && typeof e === 'object' && 'default' in e) 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]; }
|
|
24
22
|
});
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
n.default = e;
|
|
27
|
+
return Object.freeze(n);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
31
31
|
var classNames__default = /*#__PURE__*/_interopDefaultCompat(classNames);
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
33
|
+
function ownKeys(object, enumerableOnly) {
|
|
34
|
+
var keys = Object.keys(object);
|
|
35
|
+
if (Object.getOwnPropertySymbols) {
|
|
36
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
37
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
38
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
39
|
+
})), keys.push.apply(keys, symbols);
|
|
40
|
+
}
|
|
41
|
+
return keys;
|
|
42
|
+
}
|
|
43
|
+
function _objectSpread2(target) {
|
|
44
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
45
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
46
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
47
|
+
_defineProperty(target, key, source[key]);
|
|
48
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
49
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return target;
|
|
53
|
+
}
|
|
54
|
+
function _defineProperty(obj, key, value) {
|
|
55
|
+
key = _toPropertyKey(key);
|
|
56
|
+
if (key in obj) {
|
|
57
|
+
Object.defineProperty(obj, key, {
|
|
58
|
+
value: value,
|
|
59
|
+
enumerable: true,
|
|
60
|
+
configurable: true,
|
|
61
|
+
writable: true
|
|
62
|
+
});
|
|
63
|
+
} else {
|
|
64
|
+
obj[key] = value;
|
|
65
|
+
}
|
|
66
|
+
return obj;
|
|
67
|
+
}
|
|
68
|
+
function _extends() {
|
|
69
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
70
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
71
|
+
var source = arguments[i];
|
|
72
|
+
for (var key in source) {
|
|
73
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
74
|
+
target[key] = source[key];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return target;
|
|
79
|
+
};
|
|
80
|
+
return _extends.apply(this, arguments);
|
|
81
|
+
}
|
|
82
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
83
|
+
if (source == null) return {};
|
|
84
|
+
var target = {};
|
|
85
|
+
var sourceKeys = Object.keys(source);
|
|
86
|
+
var key, i;
|
|
87
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
88
|
+
key = sourceKeys[i];
|
|
89
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
90
|
+
target[key] = source[key];
|
|
91
|
+
}
|
|
92
|
+
return target;
|
|
93
|
+
}
|
|
94
|
+
function _objectWithoutProperties(source, excluded) {
|
|
95
|
+
if (source == null) return {};
|
|
96
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
97
|
+
var key, i;
|
|
98
|
+
if (Object.getOwnPropertySymbols) {
|
|
99
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
100
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
101
|
+
key = sourceSymbolKeys[i];
|
|
102
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
103
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
104
|
+
target[key] = source[key];
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return target;
|
|
108
|
+
}
|
|
109
|
+
function _toPrimitive(input, hint) {
|
|
110
|
+
if (typeof input !== "object" || input === null) return input;
|
|
111
|
+
var prim = input[Symbol.toPrimitive];
|
|
112
|
+
if (prim !== undefined) {
|
|
113
|
+
var res = prim.call(input, hint || "default");
|
|
114
|
+
if (typeof res !== "object") return res;
|
|
115
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
116
|
+
}
|
|
117
|
+
return (hint === "string" ? String : Number)(input);
|
|
118
|
+
}
|
|
119
|
+
function _toPropertyKey(arg) {
|
|
120
|
+
var key = _toPrimitive(arg, "string");
|
|
121
|
+
return typeof key === "symbol" ? key : String(key);
|
|
69
122
|
}
|
|
70
123
|
|
|
71
124
|
var css = {"root":"Backdrop__root___mZ7dv","backdrop":"Backdrop__backdrop___AJyr0","enterActive":"Backdrop__enterActive___aDdF3","exitActive":"Backdrop__exitActive___rC-Zl","enter":"Backdrop__enter___NgQBr","exit":"Backdrop__exit___9LKEC"};
|
|
72
125
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
*
|
|
76
|
-
*
|
|
126
|
+
var _excluded = ["isOpen", "isRenderPortal", "isAnimated", "style", "zIndex", "children", "className", "onClick"];
|
|
127
|
+
/**
|
|
128
|
+
* Компонент служит для создания темного фона, который может использоваться в качестве
|
|
129
|
+
* подложки для модальных окон или других всплывающих элементов интерфейса.
|
|
130
|
+
* Он занимает всю доступную область экрана.
|
|
77
131
|
*/
|
|
78
|
-
var Backdrop = React__namespace.forwardRef(function (
|
|
79
|
-
var
|
|
80
|
-
isOpen =
|
|
81
|
-
|
|
82
|
-
isRenderPortal =
|
|
83
|
-
|
|
84
|
-
isAnimated =
|
|
85
|
-
|
|
86
|
-
style =
|
|
87
|
-
|
|
88
|
-
zIndex =
|
|
89
|
-
children =
|
|
90
|
-
className =
|
|
91
|
-
onClick =
|
|
92
|
-
props =
|
|
93
|
-
return React__namespace.createElement(reactTransitionGroup.CSSTransition, {
|
|
94
|
-
in: isOpen,
|
|
132
|
+
var Backdrop = /*#__PURE__*/React__namespace.forwardRef(function (_ref, ref) {
|
|
133
|
+
var _ref$isOpen = _ref.isOpen,
|
|
134
|
+
isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen,
|
|
135
|
+
_ref$isRenderPortal = _ref.isRenderPortal,
|
|
136
|
+
isRenderPortal = _ref$isRenderPortal === void 0 ? true : _ref$isRenderPortal,
|
|
137
|
+
_ref$isAnimated = _ref.isAnimated,
|
|
138
|
+
isAnimated = _ref$isAnimated === void 0 ? true : _ref$isAnimated,
|
|
139
|
+
_ref$style = _ref.style,
|
|
140
|
+
style = _ref$style === void 0 ? {} : _ref$style,
|
|
141
|
+
_ref$zIndex = _ref.zIndex,
|
|
142
|
+
zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
|
|
143
|
+
children = _ref.children,
|
|
144
|
+
className = _ref.className,
|
|
145
|
+
onClick = _ref.onClick,
|
|
146
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
147
|
+
return /*#__PURE__*/React__namespace.createElement(reactTransitionGroup.CSSTransition, {
|
|
148
|
+
"in": isOpen,
|
|
95
149
|
timeout: isAnimated ? 225 : 0,
|
|
96
150
|
classNames: css,
|
|
97
151
|
unmountOnExit: true
|
|
98
|
-
}, React__namespace.createElement(Portal.Portal, {
|
|
152
|
+
}, /*#__PURE__*/React__namespace.createElement(Portal.Portal, {
|
|
99
153
|
isActive: isRenderPortal
|
|
100
|
-
}, React__namespace.createElement("div",
|
|
154
|
+
}, /*#__PURE__*/React__namespace.createElement("div", _extends({
|
|
101
155
|
ref: ref,
|
|
102
156
|
className: classNames__default.default(css.root, className),
|
|
103
|
-
style:
|
|
157
|
+
style: _objectSpread2({
|
|
104
158
|
zIndex: zIndex
|
|
105
159
|
}, style),
|
|
106
160
|
"aria-hidden": true,
|
|
107
|
-
"data-testid":
|
|
108
|
-
"data-qaid":
|
|
109
|
-
}, props), React__namespace.createElement("div", {
|
|
161
|
+
"data-testid": "backdrop",
|
|
162
|
+
"data-qaid": "backdrop"
|
|
163
|
+
}, props), /*#__PURE__*/React__namespace.createElement("div", {
|
|
110
164
|
className: css.backdrop,
|
|
111
165
|
onClick: onClick
|
|
112
166
|
}), children)));
|
|
@@ -10,103 +10,157 @@ var Portal = require('@prom-ui/core/Portal');
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
12
12
|
function _interopNamespaceCompat(e) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
});
|
|
23
|
-
}
|
|
13
|
+
if (e && typeof e === 'object' && 'default' in e) 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]; }
|
|
24
22
|
});
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
n.default = e;
|
|
27
|
+
return Object.freeze(n);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
31
31
|
var classNames__default = /*#__PURE__*/_interopDefaultCompat(classNames);
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
33
|
+
function ownKeys(object, enumerableOnly) {
|
|
34
|
+
var keys = Object.keys(object);
|
|
35
|
+
if (Object.getOwnPropertySymbols) {
|
|
36
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
37
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
38
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
39
|
+
})), keys.push.apply(keys, symbols);
|
|
40
|
+
}
|
|
41
|
+
return keys;
|
|
42
|
+
}
|
|
43
|
+
function _objectSpread2(target) {
|
|
44
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
45
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
46
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
47
|
+
_defineProperty(target, key, source[key]);
|
|
48
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
49
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return target;
|
|
53
|
+
}
|
|
54
|
+
function _defineProperty(obj, key, value) {
|
|
55
|
+
key = _toPropertyKey(key);
|
|
56
|
+
if (key in obj) {
|
|
57
|
+
Object.defineProperty(obj, key, {
|
|
58
|
+
value: value,
|
|
59
|
+
enumerable: true,
|
|
60
|
+
configurable: true,
|
|
61
|
+
writable: true
|
|
62
|
+
});
|
|
63
|
+
} else {
|
|
64
|
+
obj[key] = value;
|
|
65
|
+
}
|
|
66
|
+
return obj;
|
|
67
|
+
}
|
|
68
|
+
function _extends() {
|
|
69
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
70
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
71
|
+
var source = arguments[i];
|
|
72
|
+
for (var key in source) {
|
|
73
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
74
|
+
target[key] = source[key];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return target;
|
|
79
|
+
};
|
|
80
|
+
return _extends.apply(this, arguments);
|
|
81
|
+
}
|
|
82
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
83
|
+
if (source == null) return {};
|
|
84
|
+
var target = {};
|
|
85
|
+
var sourceKeys = Object.keys(source);
|
|
86
|
+
var key, i;
|
|
87
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
88
|
+
key = sourceKeys[i];
|
|
89
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
90
|
+
target[key] = source[key];
|
|
91
|
+
}
|
|
92
|
+
return target;
|
|
93
|
+
}
|
|
94
|
+
function _objectWithoutProperties(source, excluded) {
|
|
95
|
+
if (source == null) return {};
|
|
96
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
97
|
+
var key, i;
|
|
98
|
+
if (Object.getOwnPropertySymbols) {
|
|
99
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
100
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
101
|
+
key = sourceSymbolKeys[i];
|
|
102
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
103
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
104
|
+
target[key] = source[key];
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return target;
|
|
108
|
+
}
|
|
109
|
+
function _toPrimitive(input, hint) {
|
|
110
|
+
if (typeof input !== "object" || input === null) return input;
|
|
111
|
+
var prim = input[Symbol.toPrimitive];
|
|
112
|
+
if (prim !== undefined) {
|
|
113
|
+
var res = prim.call(input, hint || "default");
|
|
114
|
+
if (typeof res !== "object") return res;
|
|
115
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
116
|
+
}
|
|
117
|
+
return (hint === "string" ? String : Number)(input);
|
|
118
|
+
}
|
|
119
|
+
function _toPropertyKey(arg) {
|
|
120
|
+
var key = _toPrimitive(arg, "string");
|
|
121
|
+
return typeof key === "symbol" ? key : String(key);
|
|
69
122
|
}
|
|
70
123
|
|
|
71
124
|
var css = {"root":"Backdrop__root___p-RA9","backdrop":"Backdrop__backdrop___XNSpt","enterActive":"Backdrop__enterActive___ATDSq","exitActive":"Backdrop__exitActive___bnta5","enter":"Backdrop__enter___NmGm7","exit":"Backdrop__exit___sD9v-"};
|
|
72
125
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
*
|
|
76
|
-
*
|
|
126
|
+
var _excluded = ["isOpen", "isRenderPortal", "isAnimated", "style", "zIndex", "children", "className", "onClick"];
|
|
127
|
+
/**
|
|
128
|
+
* Компонент служит для создания темного фона, который может использоваться в качестве
|
|
129
|
+
* подложки для модальных окон или других всплывающих элементов интерфейса.
|
|
130
|
+
* Он занимает всю доступную область экрана.
|
|
77
131
|
*/
|
|
78
|
-
var Backdrop = React__namespace.forwardRef(function (
|
|
79
|
-
var
|
|
80
|
-
isOpen =
|
|
81
|
-
|
|
82
|
-
isRenderPortal =
|
|
83
|
-
|
|
84
|
-
isAnimated =
|
|
85
|
-
|
|
86
|
-
style =
|
|
87
|
-
|
|
88
|
-
zIndex =
|
|
89
|
-
children =
|
|
90
|
-
className =
|
|
91
|
-
onClick =
|
|
92
|
-
props =
|
|
93
|
-
return React__namespace.createElement(reactTransitionGroup.CSSTransition, {
|
|
94
|
-
in: isOpen,
|
|
132
|
+
var Backdrop = /*#__PURE__*/React__namespace.forwardRef(function (_ref, ref) {
|
|
133
|
+
var _ref$isOpen = _ref.isOpen,
|
|
134
|
+
isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen,
|
|
135
|
+
_ref$isRenderPortal = _ref.isRenderPortal,
|
|
136
|
+
isRenderPortal = _ref$isRenderPortal === void 0 ? true : _ref$isRenderPortal,
|
|
137
|
+
_ref$isAnimated = _ref.isAnimated,
|
|
138
|
+
isAnimated = _ref$isAnimated === void 0 ? true : _ref$isAnimated,
|
|
139
|
+
_ref$style = _ref.style,
|
|
140
|
+
style = _ref$style === void 0 ? {} : _ref$style,
|
|
141
|
+
_ref$zIndex = _ref.zIndex,
|
|
142
|
+
zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
|
|
143
|
+
children = _ref.children,
|
|
144
|
+
className = _ref.className,
|
|
145
|
+
onClick = _ref.onClick,
|
|
146
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
147
|
+
return /*#__PURE__*/React__namespace.createElement(reactTransitionGroup.CSSTransition, {
|
|
148
|
+
"in": isOpen,
|
|
95
149
|
timeout: isAnimated ? 225 : 0,
|
|
96
150
|
classNames: css,
|
|
97
151
|
unmountOnExit: true
|
|
98
|
-
}, React__namespace.createElement(Portal.Portal, {
|
|
152
|
+
}, /*#__PURE__*/React__namespace.createElement(Portal.Portal, {
|
|
99
153
|
isActive: isRenderPortal
|
|
100
|
-
}, React__namespace.createElement("div",
|
|
154
|
+
}, /*#__PURE__*/React__namespace.createElement("div", _extends({
|
|
101
155
|
ref: ref,
|
|
102
156
|
className: classNames__default.default(css.root, className),
|
|
103
|
-
style:
|
|
157
|
+
style: _objectSpread2({
|
|
104
158
|
zIndex: zIndex
|
|
105
159
|
}, style),
|
|
106
160
|
"aria-hidden": true,
|
|
107
|
-
"data-testid":
|
|
108
|
-
"data-qaid":
|
|
109
|
-
}, props), React__namespace.createElement("div", {
|
|
161
|
+
"data-testid": "backdrop",
|
|
162
|
+
"data-qaid": "backdrop"
|
|
163
|
+
}, props), /*#__PURE__*/React__namespace.createElement("div", {
|
|
110
164
|
className: css.backdrop,
|
|
111
165
|
onClick: onClick
|
|
112
166
|
}), children)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("react-transition-group"),t=require("classnames"),n=require("@prom-ui/core/Portal");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function o(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 a=o(e),c=i(t);function u(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?u(Object(t),!0).forEach((function(r){s(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function s(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||null===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:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},f.apply(this,arguments)}function p(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var d={root:"mZ7dv",backdrop:"AJyr0",enterActive:"aDdF3",exitActive:"rC-Zl",enter:"NgQBr",exit:"_9LKEC"},b=["isOpen","isRenderPortal","isAnimated","style","zIndex","children","className","onClick"],O=a.forwardRef((function(e,t){var i=e.isOpen,o=void 0!==i&&i,u=e.isRenderPortal,s=void 0===u||u,O=e.isAnimated,y=void 0===O||O,v=e.style,m=void 0===v?{}:v,j=e.zIndex,g=void 0===j?1e3:j,P=e.children,h=e.className,w=e.onClick,k=p(e,b);return a.createElement(r.CSSTransition,{in:o,timeout:y?225:0,classNames:d,unmountOnExit:!0},a.createElement(n.Portal,{isActive:s},a.createElement("div",f({ref:t,className:c.default(d.root,h),style:l({zIndex:g},m),"aria-hidden":!0,"data-testid":"backdrop","data-qaid":"backdrop"},k),a.createElement("div",{className:d.backdrop,onClick:w}),P)))}));exports.Backdrop=O,require("./style.production.css");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("react-transition-group"),r=require("classnames"),n=require("@prom-ui/core/Portal");function
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("react-transition-group"),r=require("classnames"),n=require("@prom-ui/core/Portal");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function o(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=o(e),c=i(r);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}function p(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var b={root:"p-RA9",backdrop:"XNSpt",enterActive:"ATDSq",exitActive:"bnta5",enter:"NmGm7",exit:"sD9v-"},d=["isOpen","isRenderPortal","isAnimated","style","zIndex","children","className","onClick"],O=a.forwardRef((function(e,r){var i=e.isOpen,o=void 0!==i&&i,u=e.isRenderPortal,s=void 0===u||u,O=e.isAnimated,v=void 0===O||O,y=e.style,m=void 0===y?{}:y,j=e.zIndex,g=void 0===j?1e3:j,P=e.children,h=e.className,w=e.onClick,k=p(e,d);return a.createElement(t.CSSTransition,{in:o,timeout:v?225:0,classNames:b,unmountOnExit:!0},a.createElement(n.Portal,{isActive:s},a.createElement("div",f({ref:r,className:c.default(b.root,h),style:l({zIndex:g},m),"aria-hidden":!0,"data-testid":"backdrop","data-qaid":"backdrop"},k),a.createElement("div",{className:b.backdrop,onClick:w}),P)))}));exports.Backdrop=O,require("./style.production.v2.css");
|
package/Backdrop/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export type BackdropProps = React.ComponentPropsWithRef<'div'> & {
|
|
3
|
-
/** Позволяет передавать дочерние элементы в компонент. */
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
/** Определяет, должен ли компонент отображаться `true` или скрыться `false`. */
|
|
6
|
-
isOpen?: boolean;
|
|
7
|
-
/** Рендер в конец `<body>` */
|
|
8
|
-
isRenderPortal?: boolean;
|
|
9
|
-
/** Включает/отключает анимацию */
|
|
10
|
-
isAnimated?: boolean;
|
|
11
|
-
/** Cвойство CSS, которое устанавливает уровень вложенности элемента. */
|
|
12
|
-
zIndex?: number;
|
|
13
|
-
/** @ignore */
|
|
14
|
-
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
15
|
-
/** @ignore */
|
|
16
|
-
className?: string;
|
|
17
|
-
/** @ignore */
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Компонент служит для создания темного фона, который может использоваться в качестве
|
|
22
|
-
* подложки для модальных окон или других всплывающих элементов интерфейса.
|
|
23
|
-
* Он занимает всю доступную область экрана.
|
|
24
|
-
*/
|
|
25
|
-
export declare const Backdrop: React.ForwardRefExoticComponent<Omit<BackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type BackdropProps = React.ComponentPropsWithRef<'div'> & {
|
|
3
|
+
/** Позволяет передавать дочерние элементы в компонент. */
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/** Определяет, должен ли компонент отображаться `true` или скрыться `false`. */
|
|
6
|
+
isOpen?: boolean;
|
|
7
|
+
/** Рендер в конец `<body>` */
|
|
8
|
+
isRenderPortal?: boolean;
|
|
9
|
+
/** Включает/отключает анимацию */
|
|
10
|
+
isAnimated?: boolean;
|
|
11
|
+
/** Cвойство CSS, которое устанавливает уровень вложенности элемента. */
|
|
12
|
+
zIndex?: number;
|
|
13
|
+
/** @ignore */
|
|
14
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
15
|
+
/** @ignore */
|
|
16
|
+
className?: string;
|
|
17
|
+
/** @ignore */
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Компонент служит для создания темного фона, который может использоваться в качестве
|
|
22
|
+
* подложки для модальных окон или других всплывающих элементов интерфейса.
|
|
23
|
+
* Он занимает всю доступную область экрана.
|
|
24
|
+
*/
|
|
25
|
+
export declare const Backdrop: React.ForwardRefExoticComponent<Omit<BackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/Backdrop/package.json
CHANGED
|
@@ -7,9 +7,11 @@ var evokitBody = require('evokit-body');
|
|
|
7
7
|
var BodySection = evokitBody.Body.Section;
|
|
8
8
|
var Body = evokitBody.Body;
|
|
9
9
|
Body.Section = BodySection;
|
|
10
|
+
|
|
10
11
|
// Body.defaultProps = {
|
|
11
12
|
// 'flex-preset': { css },
|
|
12
13
|
// };
|
|
14
|
+
|
|
13
15
|
// BodySection.defaultProps = {
|
|
14
16
|
// 'flex-item-preset': { css },
|
|
15
17
|
// };
|
|
@@ -7,9 +7,11 @@ var evokitBody = require('evokit-body');
|
|
|
7
7
|
var BodySection = evokitBody.Body.Section;
|
|
8
8
|
var Body = evokitBody.Body;
|
|
9
9
|
Body.Section = BodySection;
|
|
10
|
+
|
|
10
11
|
// Body.defaultProps = {
|
|
11
12
|
// 'flex-preset': { css },
|
|
12
13
|
// };
|
|
14
|
+
|
|
13
15
|
// BodySection.defaultProps = {
|
|
14
16
|
// 'flex-item-preset': { css },
|
|
15
17
|
// };
|