@startlibs/components 1.0.0-alpha-8d4 → 1.0.0-alpha-8b.2

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.
Files changed (2) hide show
  1. package/lib/index.js +62 -320
  2. package/package.json +4 -3
package/lib/index.js CHANGED
@@ -18,7 +18,7 @@ var _createClass = _interopDefault(require('@babel/runtime/helpers/createClass')
18
18
  var _possibleConstructorReturn = _interopDefault(require('@babel/runtime/helpers/possibleConstructorReturn'));
19
19
  var _getPrototypeOf = _interopDefault(require('@babel/runtime/helpers/getPrototypeOf'));
20
20
  var _inherits = _interopDefault(require('@babel/runtime/helpers/inherits'));
21
- var reactRouterDom = require('react-router-dom');
21
+ var router = require('@reach/router');
22
22
  var _assign = _interopDefault(require('lodash/fp/assign'));
23
23
  var core = require('@startlibs/core');
24
24
  var _slicedToArray = _interopDefault(require('@babel/runtime/helpers/slicedToArray'));
@@ -30,20 +30,18 @@ var _identity = _interopDefault(require('lodash/fp/identity'));
30
30
  var _isString = _interopDefault(require('lodash/fp/isString'));
31
31
  var _toConsumableArray = _interopDefault(require('@babel/runtime/helpers/toConsumableArray'));
32
32
  var _isObject = _interopDefault(require('lodash/fp/isObject'));
33
- var _without = _interopDefault(require('lodash/fp/without'));
34
- require('@startlibs/components');
35
33
  var _defineProperty = _interopDefault(require('@babel/runtime/helpers/defineProperty'));
36
34
  var _assertThisInitialized = _interopDefault(require('@babel/runtime/helpers/assertThisInitialized'));
37
35
  var _set = _interopDefault(require('lodash/fp/set'));
38
36
  var _pullAt = _interopDefault(require('lodash/fp/pullAt'));
39
37
  var _map = _interopDefault(require('lodash/fp/map'));
40
38
  var ReactDOM = _interopDefault(require('react-dom'));
39
+ var reactHotLoader = require('react-hot-loader');
41
40
  var _isFunction = _interopDefault(require('lodash/fp/isFunction'));
42
41
  var reactIs = require('react-is');
43
42
  var mitt = _interopDefault(require('mitt'));
44
- require('lodash/fp');
45
43
  var _typeof = _interopDefault(require('@babel/runtime/helpers/typeof'));
46
- var createEmotion = _interopDefault(require('create-emotion'));
44
+ var _without = _interopDefault(require('lodash/fp/without'));
47
45
 
48
46
  var IconComponent =
49
47
  /*#__PURE__*/
@@ -113,14 +111,13 @@ var Icon = styled__default(styled.withTheme(IconComponent)).withConfig({
113
111
  displayName: "Icon",
114
112
  componentId: "wsq54u-0"
115
113
  })(["font-family:'", "' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;", ""], function (props) {
116
- var _props$theme;
117
-
118
- return (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.iconFont;
114
+ return props.theme.iconFont;
119
115
  }, function (props) {
120
116
  return props.clickable && "\n cursor: pointer;\n &:hover {\n opacity: 0.85;\n }\n ";
121
117
  });
122
118
 
123
- var Link = reactRouterDom.Link;
119
+ // import {Link as RouterLink} from 'react-router-dom'
120
+ var Link = router.Link;
124
121
 
125
122
  var Loading = styled__default.div.withConfig({
126
123
  displayName: "Loading",
@@ -231,7 +228,7 @@ var Button = styled__default(React__default.forwardRef(function (_ref, ref) {
231
228
  })).withConfig({
232
229
  displayName: "Button",
233
230
  componentId: "qe54pl-1"
234
- })(["vertical-align:top;border:0;font-size:12px;border-radius:", ";background:", ";color:white;min-width:8rem;font-weight:500;display:inline-block;line-height:16px;text-align:center;padding:10px 1.25rem;outline:none;cursor:pointer;position:relative;text-decoration:none;user-select:none;flex-shrink:0;:hover{background:", ";}:active{background:", ";}", " ", " + .styled-button{margin-left:1rem;}", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], function (props) {
231
+ })(["vertical-align:top;border:0;font-size:12px;border-radius:", ";background:", ";color:white;min-width:8rem;font-weight:500;display:inline-block;line-height:16px;text-align:center;padding:10px 1.25rem;outline:none;cursor:pointer;position:relative;text-decoration:none;user-select:none;flex-shrink:0;:hover{background:", ";}:active{background:", ";}", " ", " + .styled-button{margin-left:1rem;}", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], function (props) {
235
232
  return props.rounded ? '100px' : '6px';
236
233
  }, utils.getColor, function (props) {
237
234
  return polished.darken(0.05, utils.getColor(props, true));
@@ -259,14 +256,6 @@ var Button = styled__default(React__default.forwardRef(function (_ref, ref) {
259
256
  }, function (props) {
260
257
  return polished.darken(0.08, utils.getColor('bluishGray')(props));
261
258
  });
262
- }, function (props) {
263
- return props.lightAlert && styled.css(["background:", ";color:", ";:hover{background:", ";}:active{background:", ";}"], function (props) {
264
- return polished.transparentize(0.88, utils.getColor("alert")(props));
265
- }, utils.getColor('alert'), function (props) {
266
- return polished.transparentize(0.85, utils.getColor("alert")(props));
267
- }, function (props) {
268
- return polished.transparentize(0.82, utils.getColor("alert")(props));
269
- });
270
259
  }, function (props) {
271
260
  return (props.outline || props.dashed || props.textOnly) && styled.css(["color:", ";background:none;", ",", "{color:", ";}:before{content:'';border:1px ", " ", ";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:", ";pointer-events:none;}:hover{background-color:rgba(0,0,0,0.05);}:active{background-color:rgba(0,0,0,0.08);}:focus{:before{box-shadow:0 0 0 2px rgba(0,0,0,0.1);", "}:after{content:none;}}"], props.white ? 'white' : props.highlight ? utils.getColor('main') : 'rgba(0,0,0,0.6)', Icon, DropdownIcon, props.white ? 'white' : props.highlight ? utils.getColor('main') : 'rgba(0,0,0,0.5)', props.outline ? 'solid' : props.dashed ? 'dashed' : '', props.white ? 'white' : props.highlight ? utils.getColor('main') : 'rgba(0,0,0,0.35)', props.rounded ? '100px' : '6px', props.textOnly && 'content: none;');
272
261
  }, function (props) {
@@ -698,8 +687,7 @@ var hasClientRectChanged = function hasClientRectChanged(oldSnap, newSnap) {
698
687
 
699
688
  var getClientRectAnimation = function getClientRectAnimation(oldSnap, newSnap) {
700
689
  var _ref5 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
701
- skipTransform = _ref5.skipTransform,
702
- smallJumpFix = _ref5.smallJumpFix;
690
+ skipTransform = _ref5.skipTransform;
703
691
 
704
692
  if (hasClientRectChanged(oldSnap, newSnap)) {
705
693
  var _oldSnap$parentStyle, _newSnap$parentStyle, _oldSnap$parentStyle2, _newSnap$parentStyle2;
@@ -724,17 +712,17 @@ var getClientRectAnimation = function getClientRectAnimation(oldSnap, newSnap) {
724
712
  paddingBottom = _window$getComputedSt4.paddingBottom;
725
713
 
726
714
  finalPadding = 'padding-bottom:' + paddingBottom + ';';
727
- heightFix = "padding-bottom: ".concat(sumWithPx(deltaHeight, paddingBottom) + (smallJumpFix || 0), ";");
715
+ heightFix = "padding-bottom: ".concat(sumWithPx(deltaHeight, paddingBottom));
728
716
  }
729
717
 
730
- var overflowFix = scrollHeight > clientHeight || scrollWidth > clientWidth ? "overflow: hidden;" : "";
718
+ var overflowFix = scrollHeight > clientHeight || scrollWidth > clientWidth ? "overflow: hidden" : "";
731
719
  var transform = (left !== 0 || top !== 0) && !skipTransform ? "transform: translate(".concat(left, "px,").concat(top, "px);") : '';
732
720
  var parentPaddingTopDelta = (parseInt((_oldSnap$parentStyle = oldSnap.parentStyle) === null || _oldSnap$parentStyle === void 0 ? void 0 : _oldSnap$parentStyle.paddingTop) || 0) - (parseInt((_newSnap$parentStyle = newSnap.parentStyle) === null || _newSnap$parentStyle === void 0 ? void 0 : _newSnap$parentStyle.paddingTop) || 0);
733
721
  var parentPaddingBottomDelta = (parseInt((_oldSnap$parentStyle2 = oldSnap.parentStyle) === null || _oldSnap$parentStyle2 === void 0 ? void 0 : _oldSnap$parentStyle2.paddingBottom) || 0) - (parseInt((_newSnap$parentStyle2 = newSnap.parentStyle) === null || _newSnap$parentStyle2 === void 0 ? void 0 : _newSnap$parentStyle2.paddingBottom) || 0);
734
722
  var oldMarginTop = (parseInt(oldSnap.marginTop) || 0) + parentPaddingTopDelta;
735
723
  var oldMarginBottom = (parseInt(oldSnap.marginBottom) || 0) + parentPaddingBottomDelta;
736
724
  var oldTransform = node.style.transform;
737
- return [utils.oneWayAnimation("\n ".concat(transform, "\n ").concat(heightFix, "\n ").concat(overflowFix, "\n margin-top: ").concat(oldMarginTop, "px;\n margin-bottom: ").concat(oldMarginBottom, "px;\n width: ").concat(oldSnap.width, "px;\n height: ").concat(Math.max(0, oldSnap.height + (smallJumpFix || 0)), "px;\n "), "\n ".concat(finalPadding, "\n ").concat(oldTransform ? "transform:".concat(oldTransform, ";") : '', "\n ").concat(overflowFix, "\n margin-top:").concat(parseInt(newSnap.marginTop) || 0, "px;\n margin-bottom:").concat(parseInt(newSnap.marginBottom) || 0, "px;\n width: ").concat(newSnap.width, "px;\n height: ").concat(Math.max(0, newSnap.height + (smallJumpFix || 0)), "px;\n "))];
725
+ return [utils.oneWayAnimation("\n ".concat(transform, "\n ").concat(heightFix, "\n ").concat(overflowFix, "\n margin-top: ").concat(oldMarginTop, "px;\n margin-bottom: ").concat(oldMarginBottom, "px;\n width: ").concat(oldSnap.width, "px;\n height: ").concat(oldSnap.height, "px;\n "), "\n ".concat(finalPadding, "\n ").concat(oldTransform ? "transform:".concat(oldTransform) : '', "\n ").concat(overflowFix, "\n margin-top:").concat(newSnap.marginTop || 0, "px;\n margin-bottom:").concat(newSnap.marginBottom || 0, "px;\n width: ").concat(newSnap.width, "px;\n height: ").concat(newSnap.height, "px;\n "))];
738
726
  } else {
739
727
  return [];
740
728
  }
@@ -1923,17 +1911,15 @@ var DialogContent = styled__default(function (props) {
1923
1911
  }).withConfig({
1924
1912
  displayName: "Dialog__DialogContent",
1925
1913
  componentId: "gai4ey-3"
1926
- })(["outline:none;width:100%;position:relative;min-height:5rem;", " ", " p{font-size:14px;}"], function (props) {
1914
+ })(["outline:none;width:100%;position:relative;min-height:5rem;", " ", " p{font-size:13px;}.expired-date{font-size:12px;color:", ";}"], function (props) {
1927
1915
  return props.icon && styled.css(["padding-right:8rem;min-height:6rem;"]);
1928
1916
  }, function (props) {
1929
1917
  return props.illustration && styled.css(["padding-right:15rem;", ""], utils.media.mobile(_templateObject3$1()));
1930
- });
1918
+ }, utils.getColor('alert'));
1931
1919
  var DialogTitle = styled__default.h2.withConfig({
1932
1920
  displayName: "Dialog__DialogTitle",
1933
1921
  componentId: "gai4ey-4"
1934
- })(["margin-bottom:1rem;padding-bottom:1rem;", " ", ""], function (props) {
1935
- return props.fixTitleMargin && "\n padding-bottom: 0;\n ";
1936
- }, utils.media.mobile(_templateObject4()));
1922
+ })(["margin-bottom:1rem;padding-bottom:1rem;", ""], utils.media.mobile(_templateObject4()));
1937
1923
  var DialogFooter = styled__default.div.withConfig({
1938
1924
  displayName: "Dialog__DialogFooter",
1939
1925
  componentId: "gai4ey-5"
@@ -1955,7 +1941,6 @@ var DialogAlwaysVisibleDiv = styled__default.div.withConfig({
1955
1941
  var Dialog = styled__default(React__default.forwardRef(function (_ref, outerRef) {
1956
1942
  var className = _ref.className,
1957
1943
  skipWrap = _ref.skipWrap,
1958
- fixTitleMargin = _ref.fixTitleMargin,
1959
1944
  skipCloseIcon = _ref.skipCloseIcon,
1960
1945
  isLoading = _ref.isLoading,
1961
1946
  footer = _ref.footer,
@@ -1967,7 +1952,7 @@ var Dialog = styled__default(React__default.forwardRef(function (_ref, outerRef)
1967
1952
  auxiliarActions = _ref.auxiliarActions,
1968
1953
  _ref$container = _ref.container,
1969
1954
  container = _ref$container === void 0 ? true : _ref$container,
1970
- props = _objectWithoutProperties(_ref, ["className", "skipWrap", "fixTitleMargin", "skipCloseIcon", "isLoading", "footer", "Content", "children", "title", "illustration", "icon", "auxiliarActions", "container"]);
1955
+ props = _objectWithoutProperties(_ref, ["className", "skipWrap", "skipCloseIcon", "isLoading", "footer", "Content", "children", "title", "illustration", "icon", "auxiliarActions", "container"]);
1971
1956
 
1972
1957
  var ref = core.useEnsureRef(outerRef);
1973
1958
 
@@ -1975,9 +1960,7 @@ var Dialog = styled__default(React__default.forwardRef(function (_ref, outerRef)
1975
1960
  return React__default.createElement(React__default.Fragment, null, props.closeDialog && !skipCloseIcon && React__default.createElement(CloseIcon, {
1976
1961
  className: "JS-dialog-close",
1977
1962
  onClick: confirmCloseDialog
1978
- }), title && React__default.createElement(DialogTitle, {
1979
- fixTitleMargin: true
1980
- }, utils.callIfFunction(title)));
1963
+ }), title && React__default.createElement(DialogTitle, null, utils.callIfFunction(title)));
1981
1964
  };
1982
1965
 
1983
1966
  var content = React__default.createElement(React__default.Fragment, null, Content && React__default.createElement(DialogContent, {
@@ -2050,7 +2033,7 @@ var DialogErrorContent = function DialogErrorContent(_ref4) {
2050
2033
  return React__default.createElement(Dialog, {
2051
2034
  as: "div"
2052
2035
  }, closeDialog && React__default.createElement(CloseIcon, {
2053
- onClick: closeDialog
2036
+ onClick: confirmCloseDialog
2054
2037
  }), title && React__default.createElement(DialogTitle, null, title), React__default.createElement(DialogContent, {
2055
2038
  icon: "warning"
2056
2039
  }, content), React__default.createElement(DialogFooter, null, React__default.createElement(Button, {
@@ -2091,10 +2074,6 @@ var useDialogWithToggle = function useDialogWithToggle(dialog) {
2091
2074
  var WarningDialog = styled__default(function (_ref) {
2092
2075
  var content = _ref.content,
2093
2076
  closeDialog = _ref.closeDialog,
2094
- leftButton = _ref.leftButton,
2095
- additionalContent = _ref.additionalContent,
2096
- title = _ref.title,
2097
- rightButton = _ref.rightButton,
2098
2077
  className = _ref.className,
2099
2078
  _ref$icon = _ref.icon,
2100
2079
  icon = _ref$icon === void 0 ? "warning" : _ref$icon,
@@ -2104,33 +2083,17 @@ var WarningDialog = styled__default(function (_ref) {
2104
2083
  className: className
2105
2084
  }, React__default.createElement(MainIcon, {
2106
2085
  icon: icon
2107
- }), title && React__default.createElement(Title, {
2108
- color: icon
2109
- }, title), content && React__default.createElement(Content, {
2110
- noTitle: !title
2111
- }, content), additionalContent, utils.callIfFunction(leftButton, closeDialog), confirmLabel !== false && React__default.createElement(Button, {
2086
+ }), React__default.createElement("p", null, content), React__default.createElement(Button, {
2112
2087
  highlight: true,
2113
2088
  onClick: closeDialog
2114
- }, confirmLabel), utils.callIfFunction(rightButton, closeDialog));
2089
+ }, confirmLabel));
2115
2090
  }).withConfig({
2116
2091
  displayName: "WarningDialog",
2117
2092
  componentId: "sc-1jw779e-0"
2118
- })(["text-align:center;max-width:36rem;padding:2.5rem;", "{margin:0.5rem !important;}"], Button);
2119
- var Title = styled__default.h3.withConfig({
2120
- displayName: "WarningDialog__Title",
2121
- componentId: "sc-1jw779e-1"
2122
- })(["color:", ";font-weight:500;font-size:20px;"], function (props) {
2123
- return props.color === 'warning' ? utils.getColor('alert') : props.color === 'success' ? utils.getColor('success') : utils.getColor('main');
2124
- });
2125
- var Content = styled__default.div.withConfig({
2126
- displayName: "WarningDialog__Content",
2127
- componentId: "sc-1jw779e-2"
2128
- })(["font-size:15px;max-width:27rem;margin:0 auto 1.5rem;line-height:130%;", ""], function (props) {
2129
- return props.noTitle && "\n font-weight: 500;\n font-size: 16px;\n ";
2130
- });
2093
+ })(["text-align:center;max-width:36rem;padding:2.5rem;p{font-size:16px;font-weight:500;max-width:27rem;margin:0 auto 2rem;}"]);
2131
2094
  var MainIcon = styled__default(Icon).withConfig({
2132
2095
  displayName: "WarningDialog__MainIcon",
2133
- componentId: "sc-1jw779e-3"
2096
+ componentId: "sc-1jw779e-1"
2134
2097
  })(["color:", ";font-size:46px;display:block;margin-bottom:1.25rem;"], function (props) {
2135
2098
  return props.icon === 'warning' ? utils.getColor('alert') : props.icon === 'success' ? utils.getColor('success') : utils.getColor('main');
2136
2099
  });
@@ -2240,87 +2203,6 @@ var FlipNotification = function FlipNotification(props) {
2240
2203
  }, props)));
2241
2204
  };
2242
2205
 
2243
- var _willUseSharedState$2 = core.willUseSharedState([]),
2244
- _willUseSharedState2$2 = _slicedToArray(_willUseSharedState$2, 3),
2245
- useNotifications = _willUseSharedState2$2[0],
2246
- setNotifications = _willUseSharedState2$2[2];
2247
-
2248
- var openPersistentNotification = function openPersistentNotification(notification) {
2249
- var newNotification = _objectSpread({
2250
- priority: 0,
2251
- type: "success"
2252
- }, _isObject(notification) ? notification : {
2253
- content: notification
2254
- });
2255
-
2256
- setNotifications(function (list) {
2257
- var nextIndex = list.findIndex(function (n) {
2258
- return n.priority < newNotification.priority;
2259
- });
2260
- return nextIndex < 0 ? _toConsumableArray(list).concat([newNotification]) : _toConsumableArray(list.slice(0, nextIndex)).concat([newNotification], _toConsumableArray(list.slice(nextIndex)));
2261
- });
2262
- return function () {
2263
- return setNotifications(_without([newNotification]));
2264
- };
2265
- };
2266
- var animation$1 = utils.oneWayAnimation('opacity:0; transform:translateY(-20px)', 'opacity:1;transform:translate(0)');
2267
- var NotificationContainer$1 = styled__default.div.withConfig({
2268
- displayName: "PersistentNotifications__NotificationContainer",
2269
- componentId: "sc-1t7i0dh-0"
2270
- })(["position:fixed;top:0;height:0;right:0;z-index:20;"]);
2271
- var Notification$1 = styled__default.div.withConfig({
2272
- displayName: "PersistentNotifications__Notification",
2273
- componentId: "sc-1t7i0dh-1"
2274
- })(["background:", ";position:relative;border-radius:7px;"], function (props) {
2275
- return polished.transparentize(0.9, utils.getColor(props.type)(props));
2276
- });
2277
- var NotificationWrapper = styled__default.div.withConfig({
2278
- displayName: "PersistentNotifications__NotificationWrapper",
2279
- componentId: "sc-1t7i0dh-2"
2280
- })(["background:white;margin-top:", ";margin-right:0.75rem;margin-left:0.75rem;padding:5px;border-radius:10px;box-shadow:0 0 10px 0 rgba(0,0,0,0.1),0 1px 2px 1px rgba(0,0,0,0.15);max-width:360px;"], function (props) {
2281
- return props.marginTop || "4rem";
2282
- });
2283
- var PersistentNotifications = function PersistentNotifications() {
2284
- var _useNotifications = useNotifications(),
2285
- _useNotifications2 = _slicedToArray(_useNotifications, 2),
2286
- notifications = _useNotifications2[0],
2287
- setNotifications = _useNotifications2[1];
2288
-
2289
- if (!notifications.length) {
2290
- return null;
2291
- }
2292
-
2293
- var closeMessage = function closeMessage() {
2294
- return setNotifications(function (list) {
2295
- return list.slice(1);
2296
- });
2297
- };
2298
-
2299
- var _notifications$ = notifications[0],
2300
- content = _notifications$.content,
2301
- type = _notifications$.type,
2302
- marginTop = _notifications$.marginTop;
2303
- return React__default.createElement(core.Fill, {
2304
- name: "PersistentNotifications"
2305
- }, React__default.createElement(FlipNotification$1, {
2306
- type: type,
2307
- marginTop: marginTop
2308
- }, utils.callIfFunction(content, closeMessage)));
2309
- };
2310
-
2311
- var FlipNotification$1 = function FlipNotification(props) {
2312
- var ref = React.useRef();
2313
- useFlipAnimation(ref, animation$1);
2314
- return React__default.createElement(NotificationContainer$1, {
2315
- className: "JS-fix-dialog-scroll",
2316
- ref: ref
2317
- }, React__default.createElement(NotificationWrapper, {
2318
- marginTop: props.marginTop
2319
- }, React__default.createElement(Notification$1, _extends({
2320
- id: "js-share-notification"
2321
- }, props))));
2322
- };
2323
-
2324
2206
  var Placeholder = styled__default.span.withConfig({
2325
2207
  displayName: "usePositioning__Placeholder",
2326
2208
  componentId: "sc-1m4912o-0"
@@ -2426,8 +2308,7 @@ var usePositioning = function usePositioning(element, _ref, arrowRefOpt) {
2426
2308
  keepWidth = _ref$keepWidth === void 0 ? true : _ref$keepWidth,
2427
2309
  _ref$boundMargin = _ref.boundMargin,
2428
2310
  boundMargin = _ref$boundMargin === void 0 ? 6 : _ref$boundMargin,
2429
- respectBounds = _ref.respectBounds,
2430
- respectOffsetScroll = _ref.respectOffsetScroll;
2311
+ respectBounds = _ref.respectBounds;
2431
2312
  var placeholder = React.useRef();
2432
2313
  var arrowRef = core.useEnsureRef(arrowRefOpt);
2433
2314
 
@@ -2452,7 +2333,13 @@ var usePositioning = function usePositioning(element, _ref, arrowRefOpt) {
2452
2333
  return;
2453
2334
  }
2454
2335
 
2455
- var usingLayer = respectOffsetScroll || useLayers && getDialogLayersSize() > 0;
2336
+ if (keepWidth) {
2337
+ element.current.style.width = '';
2338
+ } else {
2339
+ element.current.style.maxWidth = '';
2340
+ }
2341
+
2342
+ var usingLayer = useLayers && getDialogLayersSize() > 0;
2456
2343
  var scrollOwner = usingLayer ? utils.getClosestOffsetScroll(element.current.offsetParent) : {
2457
2344
  scrollTop: window.pageYOffset,
2458
2345
  scrollLeft: window.pageXOffset // console.log({scrollOwner,scrollTop:scrollOwner.scrollTop,pageYOffset:window.pageYOffset})
@@ -2461,12 +2348,9 @@ var usePositioning = function usePositioning(element, _ref, arrowRefOpt) {
2461
2348
  var scrollY = !isNaN(scrollOwner.scrollTop) ? scrollOwner.scrollTop : window.pageYOffset;
2462
2349
  var scrollX = !isNaN(scrollOwner.scrollLeft) ? scrollOwner.scrollLeft : window.pageXOffset;
2463
2350
 
2464
- var _ref2 = respectOffsetScroll ? {
2465
- top: placeholder.current.offsetParent.offsetTop,
2466
- left: placeholder.current.offsetParent.offsetLeft
2467
- } : placeholder.current.getBoundingClientRect(),
2468
- leftPlusBorder = _ref2.left,
2469
- topPlusBorder = _ref2.top;
2351
+ var _placeholder$current$ = placeholder.current.getBoundingClientRect(),
2352
+ leftPlusBorder = _placeholder$current$.left,
2353
+ topPlusBorder = _placeholder$current$.top;
2470
2354
 
2471
2355
  var _window$getComputedSt = window.getComputedStyle(placeholder.current.offsetParent),
2472
2356
  borderLeftWidth = _window$getComputedSt.borderLeftWidth,
@@ -2474,9 +2358,9 @@ var usePositioning = function usePositioning(element, _ref, arrowRefOpt) {
2474
2358
 
2475
2359
  var left = leftPlusBorder - parseInt(borderLeftWidth, 10);
2476
2360
  var top = topPlusBorder - parseInt(borderTopWidth, 10);
2477
- var _placeholder$current$ = placeholder.current.offsetParent,
2478
- parentOffsetWidth = _placeholder$current$.offsetWidth,
2479
- parentOffsetHeight = _placeholder$current$.offsetHeight;
2361
+ var _placeholder$current$2 = placeholder.current.offsetParent,
2362
+ parentOffsetWidth = _placeholder$current$2.offsetWidth,
2363
+ parentOffsetHeight = _placeholder$current$2.offsetHeight;
2480
2364
  var _element$current = element.current,
2481
2365
  popupOffsetWidth = _element$current.offsetWidth,
2482
2366
  popupOffsetHeight = _element$current.offsetHeight;
@@ -2533,10 +2417,10 @@ var usePositioning = function usePositioning(element, _ref, arrowRefOpt) {
2533
2417
  var arrowOnVerticalSide = arrowSide === 'left' || arrowSide === 'right';
2534
2418
  var arrowSize = arrowElement ? arrowElement.getBoundingClientRect()[arrowOnVerticalSide ? 'height' : 'width'] : ARROW_DEFAULT_SIZE * Math.sqrt(2);
2535
2419
 
2536
- var _ref3 = arrowOnVerticalSide ? processArrow(ARROW_KEY_POSITIONS[arrow] || arrow, arrowSize, arrowOnVerticalSide, parentOffsetHeight, popupOffsetHeight, processedTop - top, flippedV) : processArrow(ARROW_KEY_POSITIONS[arrow] || arrow, arrowSize, arrowOnVerticalSide, parentOffsetWidth, popupOffsetWidth, processedLeft - left, flippedV),
2537
- _ref4 = _slicedToArray(_ref3, 2),
2538
- arrowOffset = _ref4[0],
2539
- popupArrowOffset = _ref4[1];
2420
+ var _ref2 = arrowOnVerticalSide ? processArrow(ARROW_KEY_POSITIONS[arrow] || arrow, arrowSize, arrowOnVerticalSide, parentOffsetHeight, popupOffsetHeight, processedTop - top, flippedV) : processArrow(ARROW_KEY_POSITIONS[arrow] || arrow, arrowSize, arrowOnVerticalSide, parentOffsetWidth, popupOffsetWidth, processedLeft - left, flippedV),
2421
+ _ref3 = _slicedToArray(_ref2, 2),
2422
+ arrowOffset = _ref3[0],
2423
+ popupArrowOffset = _ref3[1];
2540
2424
 
2541
2425
  var maxHeight = window.innerHeight - (POSITIONING_BOUNDS.top + POSITIONING_BOUNDS.bottom) - (respectBounds ? boundMargin * 2 : 0);
2542
2426
  var maxWidth = window.innerWidth - (POSITIONING_BOUNDS.left + POSITIONING_BOUNDS.right) - (respectBounds ? boundMargin * 2 : 0);
@@ -2745,8 +2629,7 @@ function (_React$Component) {
2745
2629
  }
2746
2630
 
2747
2631
  var rectAnimation = getClientRectAnimation(oldSnap.parent, newSnap.parent, {
2748
- skipTransform: true,
2749
- smallJumpFix: _this.props.smallJumpFix
2632
+ skipTransform: true
2750
2633
  });
2751
2634
  var endEffect = utils.callIfFunction(effect, newSnap.parent.domNode, {
2752
2635
  newSnap: newSnap,
@@ -3039,7 +2922,7 @@ function (_React$Component2) {
3039
2922
 
3040
2923
  _this2.addProps = function (children, eventHandlers, activeIndex, extraProps) {
3041
2924
  return children.map(function (c, index) {
3042
- return c.type === DraggableItem ? React__default.cloneElement(c, {
2925
+ return reactHotLoader.areComponentsEqual(c.type, DraggableItem) ? React__default.cloneElement(c, {
3043
2926
  isDragging: activeIndex === index,
3044
2927
  dragIndex: index,
3045
2928
  droppable: _assertThisInitialized(_assertThisInitialized(_this2)),
@@ -3982,7 +3865,7 @@ var recentlyClosed = false;
3982
3865
  var openRef = {
3983
3866
  current: null
3984
3867
  };
3985
- var Tooltip = function Tooltip(_ref) {
3868
+ var Tooltip = React__default.forwardRef(function (_ref, ref) {
3986
3869
  var children = _ref.children,
3987
3870
  _ref$delay = _ref.delay,
3988
3871
  delay = _ref$delay === void 0 ? 400 : _ref$delay,
@@ -3991,6 +3874,7 @@ var Tooltip = function Tooltip(_ref) {
3991
3874
  content = _ref.content,
3992
3875
  rest = _objectWithoutProperties(_ref, ["children", "delay", "instant", "whenEllipsis", "content"]);
3993
3876
 
3877
+ var ensuredRef = useEnsureRef(ref);
3994
3878
  var tooltip = core.useToggle();
3995
3879
  var timeout = core.useRefState(-1);
3996
3880
 
@@ -4039,9 +3923,10 @@ var Tooltip = function Tooltip(_ref) {
4039
3923
  animationOptions: {
4040
3924
  ref: openRef
4041
3925
  },
3926
+ ref: ensuredRef,
4042
3927
  top: !(rest.bottom || rest.left || rest.right || rest.at || rest.my)
4043
3928
  }, rest), content), children);
4044
- };
3929
+ });
4045
3930
 
4046
3931
  function _templateObject4$1() {
4047
3932
  var data = _taggedTemplateLiteral(["\n font-size: 13px;\n position: absolute;\n right: 0;\n top: 50%;\n transform: translateY(-50%);\n width: 3rem;\n text-align: center;\n"]);
@@ -4088,11 +3973,6 @@ var slideUpOnTop = utils.oneWayAnimation('transform: translateY(10px); pointer-e
4088
3973
  var slideRight = utils.oneWayAnimation('transform: translateX(-10px)', 'transform: none;');
4089
3974
  var slideLeftOnLeft = utils.oneWayAnimation('transform: translateX(10px); pointer-events: none', 'transform: translateX(0px); pointer-events: none');
4090
3975
  var popupAnimation = utils.animationTiming('0.2s ease-out');
4091
-
4092
- var areComponentsEqual = function areComponentsEqual(a, b) {
4093
- return a === b;
4094
- };
4095
-
4096
3976
  var ListItem = styled__default.li.withConfig({
4097
3977
  displayName: "ContextMenu__ListItem",
4098
3978
  componentId: "sc-13y1vvt-0"
@@ -4420,9 +4300,9 @@ var _willUseLayers$1 = core.willUseLayers(),
4420
4300
 
4421
4301
  var contextMenuLayersQuantity = contextMenuLayersSize;
4422
4302
 
4423
- var _willUseSharedState$3 = core.willUseSharedState(),
4424
- _willUseSharedState2$3 = _slicedToArray(_willUseSharedState$3, 1),
4425
- useContextMenuSharedState = _willUseSharedState2$3[0];
4303
+ var _willUseSharedState$2 = core.willUseSharedState(),
4304
+ _willUseSharedState2$2 = _slicedToArray(_willUseSharedState$2, 1),
4305
+ useContextMenuSharedState = _willUseSharedState2$2[0];
4426
4306
 
4427
4307
  var ContextMenuComponent = React.forwardRef(function (_ref2, unesuredRef) {
4428
4308
  var children = _ref2.children,
@@ -4511,7 +4391,7 @@ var ContextMenuComponent = React.forwardRef(function (_ref2, unesuredRef) {
4511
4391
  var getTotalKeyboardItems = function getTotalKeyboardItems(children) {
4512
4392
  var max = 0;
4513
4393
  React__default.Children.forEach(children, function (e) {
4514
- return max += e && (!styled.isStyledComponent(e.type) && e.type === Li || e.type.isKeyboardNavigable || (areComponentsEqual(e.type, StickyContainer) ? getTotalKeyboardItems(e.props.children) : 0));
4394
+ return max += e && (!styled.isStyledComponent(e.type) && reactHotLoader.areComponentsEqual(e.type, Li) || e.type.isKeyboardNavigable || (reactHotLoader.areComponentsEqual(e.type, StickyContainer) ? getTotalKeyboardItems(e.props.children) : 0));
4515
4395
  });
4516
4396
  return max;
4517
4397
  };
@@ -4526,14 +4406,14 @@ var ContextMenuComponent = React.forwardRef(function (_ref2, unesuredRef) {
4526
4406
  var indexOffset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
4527
4407
  var i = 0;
4528
4408
  return React__default.Children.map(children, function (child, j) {
4529
- return child ? !styled.isStyledComponent(child.type) && !reactIs.isMemo(child.type) && areComponentsEqual(child.type, Li) || child.type.isKeyboardNavigable ? React__default.cloneElement(child, {
4409
+ return child ? !styled.isStyledComponent(child.type) && !reactIs.isMemo(child.type) && reactHotLoader.areComponentsEqual(child.type, Li) || child.type.isKeyboardNavigable ? React__default.cloneElement(child, {
4530
4410
  hover: hoverCursor === i + indexOffset && layerIndex === layerCursor,
4531
4411
  hoverCursor: hoverCursor,
4532
4412
  index: indexOffset + i++,
4533
4413
  setCursorOnHover: setCursorOnHover,
4534
4414
  emitter: itemsEmitter,
4535
4415
  layerIndex: layerIndex
4536
- }) : areComponentsEqual(child.type, StickyContainer) ? React__default.cloneElement(child, _objectSpread({}, child.props, {
4416
+ }) : reactHotLoader.areComponentsEqual(child.type, StickyContainer) ? React__default.cloneElement(child, _objectSpread({}, child.props, {
4537
4417
  children: formatChildren(child.props.children, i + indexOffset)
4538
4418
  })) : child : child;
4539
4419
  });
@@ -4608,126 +4488,10 @@ var ContextMenu = React.forwardRef(function (_ref3, ref) {
4608
4488
  });
4609
4489
  ContextMenu.ListItem = ListItem;
4610
4490
 
4611
- var scrollWidth = function () {
4612
- if (!window.document) return 0;
4613
- var html = document.documentElement;
4614
- var oldOverflow = html.style.overflowY;
4615
- html.style.overflowY = 'scroll';
4616
- var width = window.innerWidth - html.clientWidth;
4617
- html.style.overflowY = oldOverflow;
4618
- return width;
4619
- }();
4620
-
4621
- var callIfFunction = function callIfFunction(prop) {
4622
- for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {
4623
- args[_key6 - 1] = arguments[_key6];
4624
- }
4625
-
4626
- return typeof prop === "function" ? prop.apply(void 0, args) : prop;
4627
- };
4628
-
4629
- function _templateObject$6() {
4630
- var data = _taggedTemplateLiteral(["\n ", ""]);
4631
-
4632
- _templateObject$6 = function _templateObject() {
4633
- return data;
4634
- };
4635
-
4636
- return data;
4637
- }
4638
-
4639
- var checkCustomScreenWidth = function checkCustomScreenWidth(sizeParis, customWidth) {
4640
- var currentWidth = callIfFunction(customWidth);
4641
- return !sizeParis.find(function (_ref4) {
4642
- var _ref5 = _slicedToArray(_ref4, 2),
4643
- size = _ref5[0],
4644
- type = _ref5[1];
4645
-
4646
- if (type === "min-width") {
4647
- return currentWidth < size;
4648
- }
4649
-
4650
- if (type === "max-width") {
4651
- return currentWidth > size;
4652
- }
4653
- });
4654
- };
4655
-
4656
- var media = function media() {
4657
- for (var _len3 = arguments.length, sizePairs = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
4658
- sizePairs[_key3] = arguments[_key3];
4659
- }
4660
-
4661
- return function () {
4662
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
4663
- args[_key4] = arguments[_key4];
4664
- }
4665
-
4666
- return styled.css(["", ""], function (props) {
4667
- var _props$theme, _props$theme2;
4668
-
4669
- return ((_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.overrideMediaWidth) ? checkCustomScreenWidth(sizePairs, (_props$theme2 = props.theme) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.overrideMediaWidth) ? styled.css.apply(void 0, args) : "" : styled.css(["@media ", "{", "}"], sizePairs.map(function (_ref6) {
4670
- var _ref7 = _slicedToArray(_ref6, 2),
4671
- size = _ref7[0],
4672
- type = _ref7[1];
4673
-
4674
- return "(".concat(type, ": ").concat(size + scrollWidth, "px)");
4675
- }).join(' and '), styled.css.apply(void 0, args));
4676
- });
4677
- };
4678
- };
4679
- media.mobile = media([600, 'max-width']);
4680
-
4681
- media.between = function (min, max) {
4682
- return media([min, 'min-width'], [max, 'max-width']);
4683
- };
4684
-
4685
- media.max = function (n) {
4686
- return media([n, 'max-width']);
4687
- };
4688
-
4689
- media.min = function (n) {
4690
- return media([n, 'min-width']);
4691
- };
4692
-
4693
- media.desktop = media([601, 'min-width']);
4694
-
4695
- var getFrameOffset = function getFrameOffset(i, total) {
4696
- return Math.round(i * 100 / (total - 1));
4697
- };
4698
-
4699
- var emotion = createEmotion({
4700
- nonce: __webpack_nonce__
4701
- });
4702
- var oneWayAnimation = function oneWayAnimation() {
4703
- for (var _len5 = arguments.length, frames = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
4704
- frames[_key5] = arguments[_key5];
4705
- }
4706
-
4707
- return emotion.keyframes(_templateObject$6(), frames.map(function (frame, i) {
4708
- return !frame ? '' : "".concat(getFrameOffset(i, frames.length), "% {\n ").concat(frame, "\n }");
4709
- }));
4710
- };
4711
- var animationTiming = function animationTiming(props) {
4712
- return function () {
4713
- for (var _len7 = arguments.length, animations = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
4714
- animations[_key7] = arguments[_key7];
4715
- }
4716
-
4717
- return animations.filter(function (_) {
4718
- return _;
4719
- }).map(function (_) {
4720
- return _ + ' ' + props;
4721
- }).join(',');
4722
- };
4723
- };
4724
- var identityTranslateFrames = oneWayAnimation('transform: translateY(0);', 'transform: translateY(0);');
4725
- var identityOpacityFrames = oneWayAnimation('opacity: 1;', 'opacity:1;');
4726
-
4727
4491
  var LoadingBar = styled__default.div.withConfig({
4728
4492
  displayName: "PageLoader__LoadingBar",
4729
4493
  componentId: "sc-96jeob-0"
4730
- })(["width:0%;height:3px;position:fixed;background:#84D359;top:0;left:0;z-index:99999;box-shadow:0 0 6px 0 rgba(0,0,0,0.5);", " ", ""], function (props) {
4494
+ })(["width:0%;height:3px;position:fixed;background:#84D359;top:0;left:0;z-index:99999;box-shadow:0 0 6px 0 rgba(0,0,0,0.5);", " ", " "], function (props) {
4731
4495
  return props.loading && "\n width: 70%;\n transition: 1.5s width linear;\n ";
4732
4496
  }, function (props) {
4733
4497
  return props.closing && "\n width: 100%;\n transition: 0.3s ease-in;\n ";
@@ -4747,18 +4511,6 @@ var PageLoader = function PageLoader(_ref) {
4747
4511
  closing: loader.closing
4748
4512
  });
4749
4513
  };
4750
- var animation$2 = utils.oneWayAnimation('width: 70%;', 'width: 100%');
4751
- var SuspenseLoadingBar = function SuspenseLoadingBar() {
4752
- var ref = React__default.useRef();
4753
- useFlipLeave(ref, animation$2, {
4754
- reverse: false,
4755
- timing: animationTiming('0.3s ease-in')
4756
- });
4757
- return React__default.createElement(LoadingBar, {
4758
- ref: ref,
4759
- loading: true
4760
- });
4761
- };
4762
4514
 
4763
4515
  var isNodeJunction = function isNodeJunction(nextNode) {
4764
4516
  return nextNode && !nextNode.hasChangedLine && nextNode.words[0] !== '';
@@ -5061,17 +4813,14 @@ var DEFAULT_ANIMATION = utils.oneWayAnimation("opacity: 1;", "opacity: 0;");
5061
4813
  var BlockContainer$1 = styled__default.div.withConfig({
5062
4814
  displayName: "TransitionDiv__BlockContainer",
5063
4815
  componentId: "sc-1sh2xah-0"
5064
- })(["", " position:relative;"], function (props) {
5065
- return props.inline ? 'display: inline-block; ' : '';
5066
- });
4816
+ })(["position:relative;"]);
5067
4817
  var TransitionDiv = function TransitionDiv(_ref) {
5068
4818
  var children = _ref.children,
5069
4819
  animation = _ref.animation,
5070
4820
  skipChromeFix = _ref.skipChromeFix,
5071
4821
  className = _ref.className,
5072
4822
  block = _ref.block,
5073
- inline = _ref.inline,
5074
- rest = _objectWithoutProperties(_ref, ["children", "animation", "skipChromeFix", "className", "block", "inline"]);
4823
+ rest = _objectWithoutProperties(_ref, ["children", "animation", "skipChromeFix", "className", "block"]);
5075
4824
 
5076
4825
  var blockRef = React.useRef();
5077
4826
 
@@ -5086,21 +4835,18 @@ var TransitionDiv = function TransitionDiv(_ref) {
5086
4835
  };
5087
4836
 
5088
4837
  var content = children ? React__default.createElement(FlipList, _extends({
5089
- smallJumpFix: inline && -3,
5090
4838
  effect: overflowEffect,
5091
4839
  skipChromeFix: skipChromeFix,
5092
4840
  animation: animation || DEFAULT_ANIMATION
5093
4841
  }, rest), [React__default.createElement("div", {
5094
- className: block || inline ? "" : className,
4842
+ className: block ? "" : className,
5095
4843
  key: "first"
5096
4844
  }, children)]) : React__default.createElement(FlipList, _extends({
5097
- smallJumpFix: inline && -3,
5098
4845
  effect: overflowEffect,
5099
4846
  skipChromeFix: skipChromeFix,
5100
4847
  animation: animation || DEFAULT_ANIMATION
5101
4848
  }, rest), []);
5102
- return block || inline ? React__default.createElement(BlockContainer$1, {
5103
- inline: inline,
4849
+ return block ? React__default.createElement(BlockContainer$1, {
5104
4850
  ref: blockRef,
5105
4851
  className: className
5106
4852
  }, content) : content;
@@ -5367,10 +5113,10 @@ var Image = React.forwardRef(function (_ref, ref) {
5367
5113
  }));
5368
5114
  });
5369
5115
 
5370
- function _templateObject$7() {
5116
+ function _templateObject$6() {
5371
5117
  var data = _taggedTemplateLiteral(["\n @supports (position: sticky) {\n top: 0;\n margin-right: -0.75rem;\n }\n "]);
5372
5118
 
5373
- _templateObject$7 = function _templateObject() {
5119
+ _templateObject$6 = function _templateObject() {
5374
5120
  return data;
5375
5121
  };
5376
5122
 
@@ -5379,7 +5125,7 @@ function _templateObject$7() {
5379
5125
  var DialogWithImageHeader = styled__default(Dialog).withConfig({
5380
5126
  displayName: "DialogWithImageHeader",
5381
5127
  componentId: "sc-1f1ry4g-0"
5382
- })(["max-width:51rem;", "{background:", ";text-shadow:none;color:rgba(120,120,120,1);font-size:20px;box-shadow:rgba(0,0,0,0.2) 0px 1px 3px 0px,rgba(0,0,0,0.05) 0px 0px 0px 1px;width:36px;height:36px;line-height:36px;transition:0.1s ease-out;:hover{background-color:rgb(230,230,230);}:active{background-color:rgb(220,220,220);transition:0s ease-out;}@supports (position:sticky){position:sticky;top:-2.5rem;right:0rem;float:right;margin-right:-1.25rem;margin-top:0.75rem;}", "}"], CloseIcon, utils.getColor('gray240'), utils.media.mobile(_templateObject$7()));
5128
+ })(["max-width:51rem;", "{background:", ";text-shadow:none;color:rgba(120,120,120,1);font-size:20px;box-shadow:rgba(0,0,0,0.2) 0px 1px 3px 0px,rgba(0,0,0,0.05) 0px 0px 0px 1px;width:36px;height:36px;line-height:36px;transition:0.1s ease-out;:hover{background-color:rgb(230,230,230);}:active{background-color:rgb(220,220,220);transition:0s ease-out;}@supports (position:sticky){position:sticky;top:-2.5rem;right:0rem;float:right;margin-right:-1.25rem;margin-top:0.75rem;}", "}"], CloseIcon, utils.getColor('gray240'), utils.media.mobile(_templateObject$6()));
5383
5129
 
5384
5130
  function _templateObject2$5() {
5385
5131
  var data = _taggedTemplateLiteral(["\n min-height: 100%;\n overflow: hidden;\n "]);
@@ -5391,10 +5137,10 @@ function _templateObject2$5() {
5391
5137
  return data;
5392
5138
  }
5393
5139
 
5394
- function _templateObject$8() {
5140
+ function _templateObject$7() {
5395
5141
  var data = _taggedTemplateLiteral(["\n display:block;\n position:fixed;\n top:0;\n left:0;\n bottom:0;\n z-index:1000;\n transition: 0.25s transform ease-out;\n background-color: ", ";\n box-shadow: -5px 0 20px 5px rgba(0,0,0,0.4);\n border-radius: 0;\n ", "\n "]);
5396
5142
 
5397
- _templateObject$8 = function _templateObject() {
5143
+ _templateObject$7 = function _templateObject() {
5398
5144
  return data;
5399
5145
  };
5400
5146
 
@@ -5405,7 +5151,7 @@ var SideMenu = styled__default.div.withConfig({
5405
5151
  componentId: "suvg9r-0"
5406
5152
  })(["background-color:", ";border-top-left-radius:10px;border-bottom-left-radius:10px;width:19rem;flex-shrink:0;padding:1.25rem 0;", " ", ""], utils.getColor('gray240'), function (props) {
5407
5153
  return !props.visibleOnDesktop && 'display:none;';
5408
- }, utils.media.mobile(_templateObject$8(), utils.getColor('gray240'), function (props) {
5154
+ }, utils.media.mobile(_templateObject$7(), utils.getColor('gray240'), function (props) {
5409
5155
  return !props.isOpen && "\n transform: translateX(-100%);\n box-shadow: none;\n ";
5410
5156
  }));
5411
5157
  var DialogTabMenu = styled__default.ul.withConfig({
@@ -5576,7 +5322,6 @@ exports.ListItem = ListItem;
5576
5322
  exports.ListMenu = ListMenu;
5577
5323
  exports.ListSeparator = ListSeparator;
5578
5324
  exports.Loading = Loading;
5579
- exports.LoadingBar = LoadingBar;
5580
5325
  exports.LoadingDiv = LoadingDiv;
5581
5326
  exports.MENU_TAB = MENU_TAB;
5582
5327
  exports.MobileBubbleDialog = MobileBubbleDialog;
@@ -5584,14 +5329,12 @@ exports.Modal = Modal;
5584
5329
  exports.ModalContainer = ModalContainer;
5585
5330
  exports.Notifications = Notifications;
5586
5331
  exports.PageLoader = PageLoader;
5587
- exports.PersistentNotifications = PersistentNotifications;
5588
5332
  exports.Popup = Popup;
5589
5333
  exports.Reposition = Reposition;
5590
5334
  exports.SideMenu = SideMenu;
5591
5335
  exports.SimpleLi = SimpleLi;
5592
5336
  exports.SplitColumnsContainer = SplitColumnsContainer;
5593
5337
  exports.StickyContainer = StickyContainer;
5594
- exports.SuspenseLoadingBar = SuspenseLoadingBar;
5595
5338
  exports.SwitchDiv = SwitchDiv;
5596
5339
  exports.TextButton = TextButton;
5597
5340
  exports.Tooltip = Tooltip;
@@ -5608,7 +5351,6 @@ exports.formatAnimation = formatAnimation;
5608
5351
  exports.getClientRectAnimation = getClientRectAnimation;
5609
5352
  exports.getDialogLayersSize = getDialogLayersSize;
5610
5353
  exports.morph = morph;
5611
- exports.openPersistentNotification = openPersistentNotification;
5612
5354
  exports.preventDialogPop = preventDialogPop;
5613
5355
  exports.removeWindowScroll = removeWindowScroll;
5614
5356
  exports.setNotification = setNotification;
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@startlibs/components",
3
- "version": "1.0.0-alpha-8d4",
3
+ "version": "1.0.0-alpha-8b.2",
4
4
  "description": "Startlibs Components",
5
5
  "main": "lib/index.js",
6
6
  "sideEffects": false,
7
7
  "source": true,
8
8
  "peerDependencies": {
9
9
  "lodash": "^4.17.11",
10
- "react": "^18.2",
11
- "react-dom": "^18.2",
10
+ "react": "^16.8",
11
+ "react-dom": "^16.8",
12
+ "react-hot-loader": "^4.3.5",
12
13
  "styled-components": "^5.2.0"
13
14
  },
14
15
  "devDependencies": {