@instructure/ui-popover 9.0.2-snapshot-2 → 9.0.2-snapshot-4

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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [9.0.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-2) (2024-05-28)
6
+ ## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-popover
9
9
 
@@ -23,7 +23,7 @@
23
23
  */
24
24
 
25
25
  import { locator } from '@instructure/ui-test-locator';
26
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
26
+ // @ts-ignore: Cannot find module
27
27
  // eslint-disable-next-line no-restricted-imports
28
28
  import { PositionLocator } from '@instructure/ui-position/es/Position/PositionLocator';
29
29
  import { Popover } from './index';
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _dec3, _class, _class2;
1
+ var _dec, _dec2, _dec3, _class, _Popover;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -42,7 +42,7 @@ category: components
42
42
  tags: overlay, portal, dialog
43
43
  ---
44
44
  **/
45
- let Popover = (_dec = withDeterministicId(), _dec2 = textDirectionContextConsumer(), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Popover extends Component {
45
+ let Popover = (_dec = withDeterministicId(), _dec2 = textDirectionContextConsumer(), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_Popover = class Popover extends Component {
46
46
  constructor(props) {
47
47
  super(props);
48
48
  this._handleMouseOver = void 0;
@@ -447,7 +447,7 @@ let Popover = (_dec = withDeterministicId(), _dec2 = textDirectionContextConsume
447
447
  }), this.renderContent());
448
448
  }
449
449
  }
450
- }, _class2.displayName = "Popover", _class2.componentId = 'Popover', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
450
+ }, _Popover.displayName = "Popover", _Popover.componentId = 'Popover', _Popover.allowedProps = allowedProps, _Popover.propTypes = propTypes, _Popover.defaultProps = {
451
451
  defaultIsShowingContent: false,
452
452
  placement: 'bottom center',
453
453
  stacking: 'topmost',
@@ -467,6 +467,6 @@ let Popover = (_dec = withDeterministicId(), _dec2 = textDirectionContextConsume
467
467
  shouldCloseOnDocumentClick: true,
468
468
  shouldFocusContentOnTriggerBlur: false,
469
469
  shouldCloseOnEscape: true
470
- }, _class2)) || _class) || _class) || _class);
470
+ }, _Popover)) || _class) || _class) || _class);
471
471
  export default Popover;
472
472
  export { Popover };
@@ -39,7 +39,7 @@ var _PopoverTriggerLocator = require("./PopoverTriggerLocator");
39
39
  * SOFTWARE.
40
40
  */
41
41
 
42
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
42
+ // @ts-ignore: Cannot find module
43
43
  // eslint-disable-next-line no-restricted-imports
44
44
 
45
45
  const customMethods = exports.customMethods = {
@@ -29,7 +29,7 @@ var _console = require("@instructure/console");
29
29
  var _testable = require("@instructure/ui-testable/lib/testable.js");
30
30
  var _FocusRegion = require("@instructure/ui-a11y-utils/lib/FocusRegion.js");
31
31
  var _props = require("./props");
32
- var _dec, _dec2, _dec3, _class, _class2;
32
+ var _dec, _dec2, _dec3, _class, _Popover;
33
33
  /*
34
34
  * The MIT License (MIT)
35
35
  *
@@ -59,7 +59,7 @@ category: components
59
59
  tags: overlay, portal, dialog
60
60
  ---
61
61
  **/
62
- let Popover = exports.Popover = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Popover extends _react.Component {
62
+ let Popover = exports.Popover = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_Popover = class Popover extends _react.Component {
63
63
  constructor(props) {
64
64
  super(props);
65
65
  this._handleMouseOver = void 0;
@@ -464,7 +464,7 @@ let Popover = exports.Popover = (_dec = (0, _withDeterministicId.withDeterminist
464
464
  }), this.renderContent());
465
465
  }
466
466
  }
467
- }, _class2.displayName = "Popover", _class2.componentId = 'Popover', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
467
+ }, _Popover.displayName = "Popover", _Popover.componentId = 'Popover', _Popover.allowedProps = _props.allowedProps, _Popover.propTypes = _props.propTypes, _Popover.defaultProps = {
468
468
  defaultIsShowingContent: false,
469
469
  placement: 'bottom center',
470
470
  stacking: 'topmost',
@@ -484,5 +484,5 @@ let Popover = exports.Popover = (_dec = (0, _withDeterministicId.withDeterminist
484
484
  shouldCloseOnDocumentClick: true,
485
485
  shouldFocusContentOnTriggerBlur: false,
486
486
  shouldCloseOnEscape: true
487
- }, _class2)) || _class) || _class) || _class);
487
+ }, _Popover)) || _class) || _class) || _class);
488
488
  var _default = exports.default = Popover;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-popover",
3
- "version": "9.0.2-snapshot-2",
3
+ "version": "9.0.2-snapshot-4",
4
4
  "description": "A component for hiding or showing content based on user interaction.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,32 +23,32 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@babel/runtime": "^7.23.2",
27
- "@instructure/console": "9.0.2-snapshot-2",
28
- "@instructure/emotion": "9.0.2-snapshot-2",
29
- "@instructure/ui-a11y-utils": "9.0.2-snapshot-2",
30
- "@instructure/ui-dialog": "9.0.2-snapshot-2",
31
- "@instructure/ui-dom-utils": "9.0.2-snapshot-2",
32
- "@instructure/ui-i18n": "9.0.2-snapshot-2",
33
- "@instructure/ui-position": "9.0.2-snapshot-2",
34
- "@instructure/ui-prop-types": "9.0.2-snapshot-2",
35
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
36
- "@instructure/ui-testable": "9.0.2-snapshot-2",
37
- "@instructure/ui-utils": "9.0.2-snapshot-2",
38
- "@instructure/ui-view": "9.0.2-snapshot-2",
39
- "@instructure/uid": "9.0.2-snapshot-2",
26
+ "@babel/runtime": "^7.24.5",
27
+ "@instructure/console": "9.0.2-snapshot-4",
28
+ "@instructure/emotion": "9.0.2-snapshot-4",
29
+ "@instructure/ui-a11y-utils": "9.0.2-snapshot-4",
30
+ "@instructure/ui-dialog": "9.0.2-snapshot-4",
31
+ "@instructure/ui-dom-utils": "9.0.2-snapshot-4",
32
+ "@instructure/ui-i18n": "9.0.2-snapshot-4",
33
+ "@instructure/ui-position": "9.0.2-snapshot-4",
34
+ "@instructure/ui-prop-types": "9.0.2-snapshot-4",
35
+ "@instructure/ui-react-utils": "9.0.2-snapshot-4",
36
+ "@instructure/ui-testable": "9.0.2-snapshot-4",
37
+ "@instructure/ui-utils": "9.0.2-snapshot-4",
38
+ "@instructure/ui-view": "9.0.2-snapshot-4",
39
+ "@instructure/uid": "9.0.2-snapshot-4",
40
40
  "keycode": "^2.2.1",
41
41
  "prop-types": "^15.8.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
45
- "@instructure/ui-color-utils": "9.0.2-snapshot-2",
46
- "@instructure/ui-test-locator": "9.0.2-snapshot-2",
47
- "@instructure/ui-test-queries": "9.0.2-snapshot-2",
48
- "@instructure/ui-test-utils": "9.0.2-snapshot-2",
49
- "@testing-library/jest-dom": "^6.1.4",
50
- "@testing-library/react": "^14.1.2",
51
- "@testing-library/user-event": "^14.5.1"
44
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-4",
45
+ "@instructure/ui-color-utils": "9.0.2-snapshot-4",
46
+ "@instructure/ui-test-locator": "9.0.2-snapshot-4",
47
+ "@instructure/ui-test-queries": "9.0.2-snapshot-4",
48
+ "@instructure/ui-test-utils": "9.0.2-snapshot-4",
49
+ "@testing-library/jest-dom": "^6.4.5",
50
+ "@testing-library/react": "^15.0.7",
51
+ "@testing-library/user-event": "^14.5.2"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": ">=16.8 <=18"
@@ -23,7 +23,7 @@
23
23
  */
24
24
 
25
25
  import { locator } from '@instructure/ui-test-locator'
26
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
26
+ // @ts-ignore: Cannot find module
27
27
  // eslint-disable-next-line no-restricted-imports
28
28
  import { PositionLocator } from '@instructure/ui-position/es/Position/PositionLocator'
29
29