@pingux/astro 2.180.1-alpha.0 → 2.181.4-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/lib/cjs/components/Box/Box.test.js +1 -1
- package/lib/cjs/hooks/useLoadPrev/useLoadPrev.test.js +1 -1
- package/lib/cjs/libs/astro/src/types/overlayPanel.d.ts +1 -1
- package/lib/cjs/libs/astro/tsconfig.lib.tsbuildinfo +1 -1
- package/lib/components/Box/Box.test.js +1 -1
- package/lib/hooks/useLoadPrev/useLoadPrev.test.js +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ var _react3 = require("@testing-library/react");
|
|
|
9
9
|
var _universalComponentTest = require("../../utils/testUtils/universalComponentTest");
|
|
10
10
|
var _ = _interopRequireDefault(require("."));
|
|
11
11
|
// Emotion Cache added as test fails otherwise, root cause of this failure is unknown.
|
|
12
|
-
// Failure
|
|
12
|
+
// Failure occurred with ThemeUI refactor.
|
|
13
13
|
// https://github.com/emotion-js/emotion/issues/1105#issuecomment-557726922
|
|
14
14
|
var emotionCache = (0, _cache["default"])({
|
|
15
15
|
key: 'box-test'
|
|
@@ -67,7 +67,7 @@ describe('useLoadPrev', function () {
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
expect(onLoadPrev).toHaveBeenCalledTimes(1);
|
|
70
|
-
// will call
|
|
70
|
+
// will call because props have changed.
|
|
71
71
|
rerender((0, _react3.jsx)(TestComponent, {
|
|
72
72
|
items: [1, 2, 3, 4, 5]
|
|
73
73
|
}));
|
|
@@ -14,7 +14,7 @@ export interface OverlayPanelProps extends BoxProps, TestingAttributes {
|
|
|
14
14
|
size?: PanelSize;
|
|
15
15
|
/** Callback function that runs when the esc key is used to close the OverlayPanel. */
|
|
16
16
|
onClose?: UseOverlayPanelStateReturnOnClose;
|
|
17
|
-
/** Boolean that determines whether or not the css transition is
|
|
17
|
+
/** Boolean that determines whether or not the css transition is occurring. */
|
|
18
18
|
isTransitioning?: boolean;
|
|
19
19
|
/** Ref that is connected to the button that triggers the overlay state.
|
|
20
20
|
Focus will return to this ref when the keyboard is used to close the OverlayPanel. */
|