* chore(NA): downgrade rules nodejs into v4.0.0
* chore(NA): include windows patch
* chore(NA): polish downgrade code
* chore(NA): include yarn.lock
(cherry picked from commit 0b2da10a7d)
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
* chore(NA): upgrades rules_node_js to v5.4.0
* chore(NA): include expunge on bootstrap --force-install
(cherry picked from commit fb761dca4c)
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
* chore(NA): upgrade bazel into v5
* chore(NA): initial work to upgrade to rules v5
* chore(NA): remove @elastic/datemath jest unit test for eslint plugin imports
* chore(NA): removed packager tsc_wrapped added my mistake
(cherry picked from commit eb0ef19583)
# Conflicts:
# .github/CODEOWNERS
# packages/kbn-eslint-plugin-imports/src/integration_tests/resolve_kibana_import.test.ts
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Upgrade EUI to v53.0.1
* Update i18n EUI mappings with new super date picker tokens
* Update deprecated prettyDuration usage
* Fix misc tests/type updates caused by EuiSuperDatePicker i18n release
- Fix mock typeof: this changed because the exported EuiSuperDatePicker is no longer a class, but a functional component wrapper around a class
- CI test: update now-capitalized datepicker select copy
- Jest tests: update snapshots, find()s (`Memo()` selector change is due to the exported EuiSuperDatePicker change)
* [kibana-app-services feedback] use renderToString
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6a44f1f725)
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Adds support for users to upload their own SVG icons for styling geo_points or clusters in Elastic Maps.
Because Elastic Maps uses WebGL, dynamic styling requires rendering SVG icons as monochromatic PNGs using a Signed Distance Function algorithm. As a result, highly detailed designs and any color definitions in SVGs uploaded to Maps are not retained. Monochromatic SVG icons work best.
Custom icons are appended to the map saved object and are not accessible in other maps. Using the custom icon in another map requires creating a copy of the existing map or uploading the icon to the new map. Custom icons can be added, edited, or deleted in Map Settings. Custom icons can also be added from within the Icon select menu.
* Updgraded EUI packages in package.json and src/dev/license_checker/config.js
* Resolved Jest test failures for Jest test suites 1 and 2. Updated snapshots, and updated equality conditions for specific test cases
* Resolve Jest test cases for Jest test suite 3. Updated snapshots for required tests
* Resolved failing Jest test cases in Jest suite 3. Updated tests checking for strict text equality to account for text coming from the EuiScreenReaderOnly component. Also updated tests to account for EuiIcon text that is now rendered when the icon is imported from .testenv (PR 5709 - https://github.com/elastic/eui/pull/5709/).
* type fixes
* eui to 52.2.0
* Resolved test cases for Jest test suites 1 and 2. Updated required snapshots.
Updated tests using getAllByLabelText and getByLabelText to getAllByText and getByText respectively as the former have been deprecated
* Updated Jest tests for Jest test suites 5 and 6. Updated required snapshots. Updated instances of getByLabelText and getAllByLabelText to getByText and getAllByText as the former are now deprecated.
* Updated Jest tests for Jest test suite 7. Updated required snapshots.
* Completed test case revisions for Jest test suites 1, 3, 6, 7, and 8. Updated required snapshots. Updated various tests to account for text rendering of the EuiIcon text.
* removed unused test utils
* use .contains for euiicon content
* storyshots updates
* linting
* Fix failing a11y violations tests
* Fix Jest failures caused by #eui/5709
- these changes should be reverted if we opt to revert the above PR
Co-authored-by: Bree Hall <briannajdhall@gmail.com>
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
* Updgraded EUI packages in package.json and src/dev/license_checker/config.js
* Resolved Jest test failures for Jest test suites 1 and 2. Updated snapshots, and updated equality conditions for specific test cases
* Resolve Jest test cases for Jest test suite 3. Updated snapshots for required tests
* type fixes
* Resolved failing Jest test cases in Jest suite 3. Updated tests checking for strict text equality to account for text coming from the EuiScreenReaderOnly component. Also updated tests to account for EuiIcon text that is now rendered when the icon is imported from .testenv (PR 5709 - https://github.com/elastic/eui/pull/5709/).
* eui to 52.2.0
* Resolved test cases for Jest test suites 1 and 2. Updated required snapshots.
Updated tests using getAllByLabelText and getByLabelText to getAllByText and getByText respectively as the former have been deprecated
* Updated Jest tests for Jest test suites 5 and 6. Updated required snapshots. Updated instances of getByLabelText and getAllByLabelText to getByText and getAllByText as the former are now deprecated.
* Updated Jest tests for Jest test suite 7. Updated required snapshots.
* Completed test case revisions for Jest test suites 1, 3, 6, 7, and 8. Updated required snapshots. Updated various tests to account for text rendering of the EuiIcon text.
* eui back to v52.2.0
* removed unused test utils
* use .contains for euiicon content
* storyshots updates
* linting
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
* [A11y] Added axe testing to testBed to be used in jest tests (CITs)
* [A11y] Refactored axe helpers to be outside of testBed for better separation of concerns. Also added tests for indices tab in Index Management.
* [A11y] Switched `axe_helpers` to use a Kibana wide axe config and rules that are now in kbn-test package
* [A11y] Switched `axe_helpers` to use a Kibana wide axe config and rules that are now in kbn-test package
* [A11y] Completed a11y tests in Index Management Indices tab. Also refactored http requests helper file.
* Removed import comment
* Reverted yarn.lock change
* Correct yarn.lock changes
* [IM] Updated the branch after merging main
* [IM] Reverted unrelated ResponseError interface changes
* [IM] Fixed eslint issue with kbn/test import
* eui to v50.0.0
* i18n tokens
* Deprecate EuiDataGrid's `popoverContents` prop for `renderCellPopover`
* [optional ML refactor] Use `renderCellValue.isDetails` to customize numeric popover content instead of `renderCellPopover`
- since no especially custom popover rendering is occuring, just conditional content
* onChangeItemsPerPage update
* storyshots updates
* snapshot updates
* snapshot updates
* snapshot updates
* snapshot updates
* EuiComboBox listbox -> combobox
* remove invalid combobox aria attr
* Revert "onChangeItemsPerPage update"
This reverts commit 127c9e5840.
* eui to v51.0.0
* WIP: schema
* WIP: schema
* EuiSelectable API changes
* WIP: schema
* hidePerPageOptions -> showPerpageOptions
* WIP: schema
* hidePerPageOptions -> showPerpageOptions
* WIP: schema
* breadcrumbs type
* clean up
* snapshot updates
* Fix E2E datagrid cell filter action test
- This changed in 50.0.0 because of https://github.com/elastic/eui/pull/5681
- `await testSubjects.click('filterForButton')` applies to both the cell action button icon and the cell popover button
- The test was trying to click the cell action button icon and not the popover button, which closed the popover and caused nothing to actually get clicked
- the solution I went with was to simply avoid opening the cell popover but instead click the cell action icon directly
* WIP: selectable search
* clean up
* eui to v51.1.0
* i18n tokens
* resolve SharedRenderCellElementProps.schema optionality
* i18n, snapshot updates
* shapshot update
* consolidate url-parse
Co-authored-by: Constance Chen <constance.chen@elastic.co>
* Fix chart breaking changes in Heatmap and small stylistic fixes
* Ping every team with non EUI themed chart
* Update charts to 45.0.1
* Updated donut chart snapshot
* Fix swimlane functional tests
* Fix new swimlane height and test x offset
* Add link to EUI theme README.md
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>