diff --git a/packages/eui/changelogs/upcoming/8134.md b/packages/eui/changelogs/upcoming/8134.md new file mode 100644 index 00000000000..2e5c8af863d --- /dev/null +++ b/packages/eui/changelogs/upcoming/8134.md @@ -0,0 +1,19 @@ + +## [Unreleased] + +### Added +- **Wrapper Container for Disabled Items:** + - Introduced a higher-level wrapper with `cursor: not-allowed` to properly indicate the disabled status of items. + - Added the `default_item_action.styles.ts` file to house additional styles for this and potential future enhancements. + +### Removed +- **Native `title` Option for Disabled Items:** + - Removed condition to show tooltip when action item is disabled. + - Removed the display of the native `title` attribute when an item is disabled. + +### Fixed +- **`not-allowed` Cursor Behavior:** + - Addressed an issue where the `user-select: none` property was overriding the `not-allowed` status. The solution involved applying the cursor style to the wrapper container, ensuring the correct cursor is displayed. + +### Visual Improvements +- Enhanced the disabled state representation with clear visual feedback, including the proper cursor icon and simplified styles. diff --git a/packages/eui/src/components/basic_table/__snapshots__/basic_table.test.tsx.snap b/packages/eui/src/components/basic_table/__snapshots__/basic_table.test.tsx.snap index 8f693343da0..7e5fda4ff04 100644 --- a/packages/eui/src/components/basic_table/__snapshots__/basic_table.test.tsx.snap +++ b/packages/eui/src/components/basic_table/__snapshots__/basic_table.test.tsx.snap @@ -485,42 +485,50 @@ exports[`EuiBasicTable renders (kitchen sink) with pagination, selection, sortin
- - - - + +
+
- - + + +