@pingux/astro 2.179.0-alpha.0 → 2.181.3-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.
@@ -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 occured with ThemeUI refactor.
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'
@@ -118,44 +118,44 @@ var Sizes = exports.Sizes = function Sizes() {
118
118
  borderBottom: 'unset'
119
119
  }
120
120
  }, (0, _react2.jsx)(_index.TableRow, {
121
- height: "45px",
121
+ height: "auto",
122
122
  bg: "transparent !important"
123
123
  }, (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, null, "XXS | 9px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
124
124
  fontFamily: "monospace"
125
- }, '<Icon icon={SearchIcon}/> size="xxs"/>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Icon, {
125
+ }, '<Icon icon={SearchIcon} size="xxs"/>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Icon, {
126
126
  icon: _SearchIcon["default"],
127
127
  size: "xxs",
128
128
  title: {
129
129
  name: 'Search Icon'
130
130
  }
131
131
  }))), (0, _react2.jsx)(_index.TableRow, {
132
- height: "45px",
132
+ height: "auto",
133
133
  bg: "transparent !important"
134
134
  }, (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, null, "XS | 15px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
135
135
  fontFamily: "monospace"
136
- }, '<Icon icon={SearchIcon}/> size="xs"/>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Icon, {
136
+ }, '<Icon icon={SearchIcon} size="xs"/>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Icon, {
137
137
  icon: _SearchIcon["default"],
138
138
  size: "xs",
139
139
  title: {
140
140
  name: 'Search Icon'
141
141
  }
142
142
  }))), (0, _react2.jsx)(_index.TableRow, {
143
- height: "45px",
143
+ height: "auto",
144
144
  bg: "transparent !important"
145
145
  }, (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, null, "SM | 20px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
146
146
  fontFamily: "monospace"
147
- }, '<Icon icon={SearchIcon}/> size="sm"/>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Icon, {
147
+ }, '<Icon icon={SearchIcon} size="sm"/>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Icon, {
148
148
  icon: _SearchIcon["default"],
149
149
  size: "sm",
150
150
  title: {
151
151
  name: 'Search Icon'
152
152
  }
153
153
  }))), (0, _react2.jsx)(_index.TableRow, {
154
- height: "45px",
154
+ height: "auto",
155
155
  bg: "transparent !important"
156
156
  }, (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, null, "MD | 25px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
157
157
  fontFamily: "monospace"
158
- }, '<Icon icon={SearchIcon}/> size="md"/>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Icon, {
158
+ }, '<Icon icon={SearchIcon} size="md"/>')), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Icon, {
159
159
  icon: _SearchIcon["default"],
160
160
  size: "md",
161
161
  title: {
@@ -67,7 +67,7 @@ describe('useLoadPrev', function () {
67
67
  }
68
68
  });
69
69
  expect(onLoadPrev).toHaveBeenCalledTimes(1);
70
- // will call becuase props have changed.
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 occuring. */
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. */