* Creates packages for shared types: core-deprecations-common and core-deprecations-common-internal, moves types accordingly, updates src/core/public|server imports
* Moves more internal types to package
* Changes widely used internal deprecations-related types to public types, moves these to publically accessible packages
* Updates import, updates bazel build file
* Creates package core-deprecations-browser-internal and moves implementation and tests into package
* Updates imports of public deprecations implementations
* Creates package core-deprecations-browser-mocks, moves mock and deletes core-deprecations-common-internal
* Updates types in src/core
* Updates README's and build bazel files for core's client-side deprecations service
* Updates imports
* exports shared DeprecationsDetails from core/server
* Adds deprecations to i18n rc
* replace targetted core packages with top level packages for core in i18nrc file, cleans up tsconfig and bazel build files, addresses prefered style in core
* Remove fast-glob
This is not used.
* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* Bumping EUI to v60.1.0.
* Bumping to bugfixed v60.1.1.
* Updating snapshots for EUI Emotion changes.
* Updating a theme icon size declaration.
* Updating tests for Emotion and new EUI theme objects.
* Updating Lens drag and drop to account for Emotion wrapper.
* Updating icon size in EUI theme object for test.
* Updating Lens Editor Frame test to assert 1 click instead of 2.
* Updating two Jest tests for Emotion extra wrapper.
* Changing a Cypress selector for Emotion classnames.
* Update removed EuiIcon classes
-isLoaded was deprecated in favor of data-attrs - hook should still work
* Remove static EuiIcon classes from static SVG
- these classNames no longer output meaningful CSS and should not be used
* Fix theme JSON imports not to rely on any iconSizes keys
- (which will soon be deprecated by Emotion conversion)
- use the generic euiSizes instead, which will likely be the last to be deprecated
* Fix one more euiIcon-isLoaded className change
- we should be using the `data-is-loaded` attribute that it was switched to
* Bumping EUI to 60.1.2 patch release.
* Updating Storyshots for EUI 60.1.2.
* Removing two assertions from instances_table.spec to match localhost instance UI.
Co-authored-by: Constance Chen <constance.chen@elastic.co>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [type-summarizer] reimplement for broader support
* Enable sourceMaps in all packages
* include naming collision in summarizePackage test
* fix readmes
* remove unnecessary transient dependency
* remove code that was commented out
* remove outdated todo comment
* ensure errors triggered by untyped-exports are ligible
* remove unused import
* break out snippet generation from AstIndexer
* refactor several massive files into smaller pieces and add more inline docs
* fix typos
* update jest snapshots
* add sections to readme that points people to the useful parts of the source code along with a high-level overview of how the type-summarizer works
* remove --dump flag, it doesn't work
* use decName instead of calling names.get a second time
* include `export` as invalid name
Adds the code for the dual brush component for users to be able select log rate spikes in histogram charts.
For this PR a new package @kbn/aiops-components was created that also includes ProgressControls from @kbn/aiops-utils now. The reason for this is: The brush component includes code from d3 that cannot be imported on the server side which aiops-utils was also used for.
* Update Search UI dependencies
* Fix type errors after the upgrade
* Fix documents search being broken after recent backend changes
* Ignore TS error caused by bug in Search UI
View passed to Paging component should accept any additional props (for example for data- or area- attributes).
* Fix test - we don't expect snippet for number field
* Bazel config maintenance
- Removes node.js s390x - not a supported platform
- Updates the list of ignored bazel folders
- Updates yarn to 1.22.19, we're on a 2.5 year old version
* bump yarn in package.json
* add LGPL-3.0+ to list of allowed licenses
* Add openpgp (LGPLv3 license)to kibana
* Add jsdom TextEncoder and TextDecoder polyfills
* Use opengpg to read gpg key
* add basic verification function
* add lgpl to license overrides for now
* Revert "add lgpl to license overrides for now"
This reverts commit 3730eb07540d8b537712267a5430085f54c088c0.
* collect verification result
* use Key ID of the verification key
* add @openpgp/web-stream-tools as a dev dependency
* verified -> isVerified
* only allow LGPL-v3 for openpgp
* fix: use @ as separator when checking license overrides
* fix isValidIndexName test
* create the empty packages
* move src/core/server/environment into the new packages
* adapt some imports
* fix more imports
* export dep type
* restore delete packages or idk
* update READMEs
* address review comments
* Upgrade EUI to v60.0.0
* reorganize style tag injection using EuiProvider.cache options
* Convert Jest snapshots for EUI Emotion classNames to a static `emotion-` prefix instead of a dynamic hash
- The goal of this is to reduce thrashing on downstream Kibana snapshots whenever EUI CSS changes
+ Add serializer to Canvas' storyshots tests as well
+ Switch several .html() snapshots to .render() - render uses the new serializer logic, but .html() does not and will still output CSS hashes, plus is more difficult to read
* Update downstream tests for EuiStat Emotion/className changes
* Fix WithEuiTheme(EuiAccordionClass) references
* Rename mounted snapshots of EuiButtonContent to EuiButtonContentDeprecated
* add emotion/cache to kbn-ui-shared-deps
* Fix non-rendering server-side Emotion CSS
* Fix failing Security Cypress test
- the Cypress query/command being used wasn't working correctly
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
When we created the `aiops-utils` package originally, we were not aware that packages could also live within `x-pack`. Since `aiops` is a platinum feature and maintained by the ML team, this moves the package from `/packages` to `/x-pack/packages/ml`. The license header of the package files now match the `aiops` plugin again.
Moves some ML utility code to packages.
- @kbn/ml-agg-utils contains multiple utilities used in combination related to building aggregations.
- @kbn/ml-is-populated-object contains the isPopulatedObject() utility function used across several plugins.
- @kbn/ml-string-hash contains the stringHash() utility function used across several plugins.