Skip to content

Commit 913ad1b

Browse files
mirkaciampopeterwilsoncctyxlaaaronjorbin
authored
Make @wordpress/nux a no-op compatibility package (#77773)
* Remove @wordpress/nux package * Rename test file * Fix changelog * Make nux a no-op compatibility package * Fix up * Remove reference guide * More cleanup * Remove noise from docs * Update changelog Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: ciampo <mciampini@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org> Co-authored-by: tyxla <tyxla@git.wordpress.org> Co-authored-by: aaronjorbin <jorbin@git.wordpress.org>
1 parent 1c3143d commit 913ad1b

26 files changed

Lines changed: 99 additions & 929 deletions

File tree

docs/contributors/code/scripts.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ The editor includes a number of packages to enable various pieces of functionali
3131
| [Is Shallow Equal](/packages/is-shallow-equal/README.md) | wp-is-shallow-equal | A function for performing a shallow comparison between two objects or arrays |
3232
| [Keycodes](/packages/keycodes/README.md) | wp-keycodes | Keycodes utilities for WordPress, used to check the key pressed in events like `onKeyDown` |
3333
| [List Reusable blocks](/packages/list-reusable-blocks/README.md) | wp-list-reusable-blocks | Package used to add import/export links to the listing page of the reusable blocks |
34-
| [NUX](/packages/nux/README.md) | wp-nux | Components, and wp.data methods useful for onboarding a new user to the WordPress admin interface |
3534
| [Plugins](/packages/plugins/README.md) | wp-plugins | Plugins module for WordPress |
3635
| [Redux Routine](/packages/redux-routine/README.md) | wp-redux-routine | Redux middleware for generator coroutines |
3736
| [Rich Text](/packages/rich-text/README.md) | wp-rich-text | Helper functions to convert HTML or a DOM tree into a rich text value and back |

docs/manifest.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,12 +2237,6 @@
22372237
"markdown_source": "../docs/reference-guides/data/data-core-notices.md",
22382238
"parent": "data"
22392239
},
2240-
{
2241-
"title": "The NUX (New User Experience) Data",
2242-
"slug": "data-core-nux",
2243-
"markdown_source": "../docs/reference-guides/data/data-core-nux.md",
2244-
"parent": "data"
2245-
},
22462240
{
22472241
"title": "Preferences",
22482242
"slug": "data-core-preferences",

docs/reference-guides/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
- [**core/editor**: The Post Editor’s Data](/docs/reference-guides/data/data-core-editor.md)
6565
- [**core/keyboard-shortcuts**: The Keyboard Shortcuts Data](/docs/reference-guides/data/data-core-keyboard-shortcuts.md)
6666
- [**core/notices**: Notices Data](/docs/reference-guides/data/data-core-notices.md)
67-
- [**core/nux**: The NUX (New User Experience) Data](/docs/reference-guides/data/data-core-nux.md)
6867
- [**core/preferences**: Preferences](/docs/reference-guides/data/data-core-preferences.md)
6968
- [**core/reusable-blocks**: Reusable blocks](/docs/reference-guides/data/data-core-reusable-blocks.md)
7069
- [**core/rich-text**: Rich Text](/docs/reference-guides/data/data-core-rich-text.md)

docs/reference-guides/data/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
- [**core/editor**: The Post Editor’s Data](/docs/reference-guides/data/data-core-editor.md)
1414
- [**core/keyboard-shortcuts**: The Keyboard Shortcuts Data](/docs/reference-guides/data/data-core-keyboard-shortcuts.md)
1515
- [**core/notices**: Notices Data](/docs/reference-guides/data/data-core-notices.md)
16-
- [**core/nux**: The NUX (New User Experience) Data](/docs/reference-guides/data/data-core-nux.md)
1716
- [**core/preferences**: Preferences](/docs/reference-guides/data/data-core-preferences.md)
1817
- [**core/reusable-blocks**: Reusable blocks](/docs/reference-guides/data/data-core-reusable-blocks.md)
1918
- [**core/rich-text**: Rich Text](/docs/reference-guides/data/data-core-rich-text.md)

docs/reference-guides/data/data-core-nux.md

Lines changed: 0 additions & 93 deletions
This file was deleted.

docs/toc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@
327327
"docs/reference-guides/data/data-core-keyboard-shortcuts.md": []
328328
},
329329
{ "docs/reference-guides/data/data-core-notices.md": [] },
330-
{ "docs/reference-guides/data/data-core-nux.md": [] },
331330
{
332331
"docs/reference-guides/data/data-core-preferences.md": []
333332
},

package-lock.json

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/base-styles/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Unreleased
44

5+
### Breaking Changes
6+
7+
- Remove the following entries from the `z-index()` helper ([#77773](https://github.com/WordPress/gutenberg/pull/77773)):
8+
- `.nux-dot-tip`
9+
510
## 9.0.0 (2026-05-27)
611

712
### Breaking Changes

packages/base-styles/_z-index.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,7 @@ $z-layers: (
112112
// The focus styles of the region navigation containers should be above their content.
113113
".is-focusing-regions {region} :focus::after": 1000000,
114114

115-
// Show NUX tips above popovers, wp-admin menus, submenus, and sidebar:
116-
".nux-dot-tip": 1000001,
117-
118-
// Show tooltips above NUX tips, wp-admin menus, submenus, and sidebar:
115+
// Show tooltips above popovers, wp-admin menus, submenus, and sidebar:
119116
".components-tooltip": 1000002,
120117

121118
// Appear under the customizer heading UI, but over anything else.

packages/nux/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Breaking Changes
6+
7+
- Turn `@wordpress/nux` into a deprecated no-op compatibility package. `DotTip` renders nothing, selectors return empty disabled values, and actions no longer have runtime effects ([#77773](https://github.com/WordPress/gutenberg/pull/77773)).
8+
59
## 9.47.0 (2026-05-27)
610

711
## 9.46.0 (2026-05-14)

0 commit comments

Comments
 (0)