eui
eui copied to clipboard
Elastic UI Framework 🙌
In EuiSuperDatePicker, there is no option to allow user to select certain range of dates for example, if I want to select date range of the last seven days only?...
When diagnosing https://github.com/elastic/kibana/issues/121403 with @gavinwye we saw lots of `EuiFlexGroup` components in Security were set to `direction="column"`. Along with the default `responsive={true}` this can cause items to grow inside containers...
EUI has had the long-term goal to increase modularity, and recent efforts related to styling (#3912; moving away from Sass) have opened the door to beginning the process in earnest....
## Summary The `gap` property in flexbox has been supported by all major browsers (and all supported Elastic browsers) as of April 2021. We should move away from it instead...
It wasn't called out in the docs, but I was able to leverage the `renderOptions` function in `[EuiComboBox]` to achieve an effect similar to the [Custom content example of EuiSelectable](https://elastic.github.io/eui/#/forms/selectable#rendering-the-options)....
As we can see from the screenshot (https://codesandbox.io/s/datagrid-header-forked-svk7y?file=/index.js:2560-2571) when no data is available the **EuiDataGrid** only show the header cells, toolbar and pagination. This behavior can look like a bug....
Hi, I'm using react 18.1.0, and found that popover and context menu cannot show at react 18. when I back to react 17.0.2, it works.
> I also noticed that the line-height no longer matches the step number itself. I'll create a follow-up ticket. _Originally posted by @cchaos in https://github.com/elastic/eui/pull/5842#discussion_r860014186_ ---- Once #5842 merges, and...
https://github.com/elastic/eui/blob/58b9ca3/src/components/icon/icon.tsx#L627-L633 Here the module paths is constructed by string concatation to satisfy webpack. But vite/rollup has an opposite limitation that module paths [must be constructed with template strings](https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations), otherwise there'll...
To reproduce: - Create an `` - Add an `EuiFieldText` or `EuiFieldNumber` to the `startControl` or `endControl` - Observe that the field doesn't fill the form control vertically Workaround: Set...