@wordpress/nux 6.0.0 → 7.0.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/CHANGELOG.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- ## 6.0.0 (2022-12-14)
6
-
7
5
  ### Breaking Changes
8
6
 
9
7
  - Updated dependencies to require React 18 ([45235](https://github.com/WordPress/gutenberg/pull/45235))
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2022 by the contributors
3
+ Copyright 2016-2023 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
@@ -58,15 +58,15 @@
58
58
  * @param {string} hex - the hexadecimal value to convert
59
59
  * @return {string} comma separated rgb values
60
60
  */
61
- /**
62
- * Breakpoint mixins
63
- */
64
61
  /**
65
62
  * Long content fade mixin
66
63
  *
67
64
  * Creates a fading overlay to signify that the content is longer
68
65
  * than the space allows.
69
66
  */
67
+ /**
68
+ * Breakpoint mixins
69
+ */
70
70
  /**
71
71
  * Focus styles.
72
72
  */
@@ -58,15 +58,15 @@
58
58
  * @param {string} hex - the hexadecimal value to convert
59
59
  * @return {string} comma separated rgb values
60
60
  */
61
- /**
62
- * Breakpoint mixins
63
- */
64
61
  /**
65
62
  * Long content fade mixin
66
63
  *
67
64
  * Creates a fading overlay to signify that the content is longer
68
65
  * than the space allows.
69
66
  */
67
+ /**
68
+ * Breakpoint mixins
69
+ */
70
70
  /**
71
71
  * Focus styles.
72
72
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/nux",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "NUX (New User eXperience) module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -31,13 +31,13 @@
31
31
  ],
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.16.0",
34
- "@wordpress/components": "^23.0.0",
35
- "@wordpress/compose": "^6.0.0",
36
- "@wordpress/data": "^8.0.0",
37
- "@wordpress/deprecated": "^3.23.0",
38
- "@wordpress/element": "^5.0.0",
39
- "@wordpress/i18n": "^4.23.0",
40
- "@wordpress/icons": "^9.14.0",
34
+ "@wordpress/components": "^23.3.7",
35
+ "@wordpress/compose": "^6.3.3",
36
+ "@wordpress/data": "^8.3.3",
37
+ "@wordpress/deprecated": "^3.26.1",
38
+ "@wordpress/element": "^5.3.2",
39
+ "@wordpress/i18n": "^4.26.1",
40
+ "@wordpress/icons": "^9.17.2",
41
41
  "rememo": "^4.0.0"
42
42
  },
43
43
  "peerDependencies": {
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "1eb65aabe6738097f4c062e78f69ae8f05879848"
50
+ "gitHead": "e086b2b595618a5f4c9491119695be3e074d736b"
51
51
  }
@@ -12,6 +12,14 @@ import { DotTip } from '..';
12
12
  const noop = () => {};
13
13
 
14
14
  describe( 'DotTip', () => {
15
+ beforeEach( () => {
16
+ jest.useFakeTimers();
17
+ } );
18
+
19
+ afterEach( () => {
20
+ jest.useRealTimers();
21
+ } );
22
+
15
23
  it( 'should not render anything if invisible', async () => {
16
24
  render(
17
25
  <DotTip>