kibana/packages
Gergő Ábrahám 46d87da2c1
[Security Solution][Endpoint][Guided onboarding] New extension point with the endpoint UI (#142395)
* Add new UI for extension for onboarding

* Remove unnecessary props

* Improve layout for mobile browsers

* use Kibana Docs service for documentation url

* use styled components instead of inline style

* move small components above/in the main component

* use Eui components and tokens instead of custom ones

* use Eui sizing tokens for logo size

* open documentation link on new tab

* use padding instead of margin

* update texts

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-06 11:12:07 +02:00
..
analytics add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
content-management [TableListView] Group title description and tags (#140947) 2022-09-23 05:21:41 -07:00
core Migrate server-side http_resources service to packages (#142537) 2022-10-04 09:51:06 -07:00
home add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ace add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-alerts add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ambient-storybook-types Update Storybook to 6.5 (#139334) 2022-09-22 19:23:21 -07:00
kbn-ambient-ui-types add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-analytics add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-apm-config-loader [pkgs/manifest] allow owner to be an array of users/teams (#140740) 2022-09-14 09:39:01 -07:00
kbn-apm-synthtrace [APM] Generate Service metrics with synthrace (#141739) 2022-09-27 15:20:19 +02:00
kbn-apm-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-axe-config add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-babel-plugin-synthetic-packages add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-babel-preset Update dependency core-js to ^3.25.1 (main) (#140776) 2022-09-16 07:28:22 +09:30
kbn-bazel-packages [Table list view] Improve UX (phase 1) (#135892) 2022-09-19 12:29:23 +02:00
kbn-bazel-runner add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-chart-icons add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ci-stats-core add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ci-stats-performance-metrics add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ci-stats-reporter add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-cli-dev-mode add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-coloring add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-config add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-config-mocks Fix another static version snapshot in tests (#141345) 2022-09-23 00:19:27 -07:00
kbn-config-schema add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-crypto add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-crypto-browser add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-datemath add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-dev-cli-errors add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-dev-cli-runner [ftr] add first-class support for playwrite journeys (#140680) 2022-09-22 01:06:46 -07:00
kbn-dev-proc-runner [ftr] support redirecting server logs to a file (#140334) 2022-09-09 10:44:00 -07:00
kbn-dev-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-doc-links [Security Solution][Endpoint][Guided onboarding] New extension point with the endpoint UI (#142395) 2022-10-06 11:12:07 +02:00
kbn-docs-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ebt-tools add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-es [ftr] support redirecting server logs to a file (#140334) 2022-09-09 10:44:00 -07:00
kbn-es-archiver add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-es-errors add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-es-query [kbn-es-query] Add support for OR filters (#142417) 2022-10-05 10:18:26 +02:00
kbn-es-types Move src/core/types/elasticsearch to @kbn/es-types (#140522) 2022-09-20 10:32:13 +02:00
kbn-eslint-config add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-eslint-plugin-disable add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-eslint-plugin-eslint add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-eslint-plugin-imports [eslint/imports/no-boundary-crossing] don't allow package tests to import outside of packages (#142166) 2022-09-29 09:48:49 -07:00
kbn-expect add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-failed-test-reporter-cli [journeys] restart ES for each journey, fix flakiness (#141530) 2022-09-26 08:56:31 -07:00
kbn-field-types add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-find-used-node-modules add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-flot-charts add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ftr-common-functional-services [stack_functional_integration] remove esArchiver service (#141842) 2022-09-26 12:50:28 -07:00
kbn-ftr-screenshot-filename [ftr] add first-class support for playwrite journeys (#140680) 2022-09-22 01:06:46 -07:00
kbn-generate [pkgs/manifest] allow owner to be an array of users/teams (#140740) 2022-09-14 09:39:01 -07:00
kbn-get-repo-files add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-handlebars add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-hapi-mocks add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-i18n add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-i18n-react add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-import-resolver add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-interpreter add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-io-ts-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-jest-serializers add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-journeys [journeys] restart ES for each journey, fix flakiness (#141530) 2022-09-26 08:56:31 -07:00
kbn-kibana-manifest-schema [pkgs/manifest] allow owner to be an array of users/teams (#140740) 2022-09-14 09:39:01 -07:00
kbn-logging add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-logging-mocks add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-managed-vscode-config add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-managed-vscode-config-cli add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-mapbox-gl add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-monaco add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-optimizer Move Cloud Integrations out of the cloud plugin (#141103) 2022-10-04 12:25:25 +02:00
kbn-optimizer-webpack-helpers add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-osquery-io-ts-types [Osquery] Response Actions fixes (#141041) 2022-09-23 21:13:26 +02:00
kbn-performance-testing-dataset-extractor [ftr] add first-class support for playwrite journeys (#140680) 2022-09-22 01:06:46 -07:00
kbn-plugin-discovery add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-plugin-generator add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-plugin-helpers add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-react-field add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-repo-source-classifier [eslint/imports/no-boundary-crossing] don't allow package tests to import outside of packages (#142166) 2022-09-29 09:48:49 -07:00
kbn-repo-source-classifier-cli add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-rule-data-utils [ResponseOps] Add kibana.alert.time_range field to Alert-As-Data mappings and populate it (#141309) 2022-10-04 13:53:59 -06:00
kbn-safer-lodash-set add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-securitysolution-autocomplete [Security Solution] Value list exceptions (#133254) 2022-09-19 22:41:28 +02:00
kbn-securitysolution-es-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-securitysolution-exception-list-components [eslint/imports/no-boundary-crossing] don't allow package tests to import outside of packages (#142166) 2022-09-29 09:48:49 -07:00
kbn-securitysolution-hook-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-securitysolution-io-ts-alerting-types [Security Solution] Don't mute rules when bulk editing rule actions (#140626) 2022-09-27 18:29:34 +02:00
kbn-securitysolution-io-ts-list-types [Security Solution] Value list exceptions (#133254) 2022-09-19 22:41:28 +02:00
kbn-securitysolution-io-ts-types [Security Solution] Don't mute rules when bulk editing rule actions (#140626) 2022-09-27 18:29:34 +02:00
kbn-securitysolution-io-ts-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-securitysolution-list-api [Security Solution] Value list exceptions (#133254) 2022-09-19 22:41:28 +02:00
kbn-securitysolution-list-constants [Security Solution] Value list exceptions (#133254) 2022-09-19 22:41:28 +02:00
kbn-securitysolution-list-hooks [Security Solution] Value list exceptions (#133254) 2022-09-19 22:41:28 +02:00
kbn-securitysolution-list-utils [Security Solution][Exceptions] - Common flyout components (#142054) 2022-10-05 11:38:33 -07:00
kbn-securitysolution-rules add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-securitysolution-t-grid add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-securitysolution-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-server-http-tools add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-server-route-repository add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-shared-svg add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-shared-ux-utility add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-some-dev-log add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-sort-package-json add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-spec-to-console add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-std add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-stdio-dev-helpers add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-storybook Update Storybook to 6.5 (#139334) 2022-09-22 19:23:21 -07:00
kbn-synthetic-package-map add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-telemetry-tools @kbn/telemetry-tools ensures alphabetical order (#140970) 2022-09-19 09:32:23 -07:00
kbn-test [Security Solution][Endpoint] Move all endpoint responder jest tests for response actions to (jest) integration tests (#142006) 2022-09-29 09:40:41 -04:00
kbn-test-jest-helpers [Table list view] Improve UX (phase 1) (#135892) 2022-09-19 12:29:23 +02:00
kbn-test-subj-selector modernize test-subj-selector (#140847) 2022-09-15 22:08:51 -07:00
kbn-timelion-grammar add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-tinymath [Lens] [@kbn/tinymath] Add new defaults function (#142087) 2022-10-05 11:31:43 +02:00
kbn-tooling-log add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-type-summarizer add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-type-summarizer-cli add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-type-summarizer-core add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-typed-react-router-config [Profiling] Add Profiling application (#140722) 2022-09-15 19:24:41 +02:00
kbn-ui-framework add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ui-shared-deps-npm add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ui-shared-deps-src add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-ui-theme add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-user-profile-components Added user avatar tooltip (#142162) 2022-10-03 15:30:04 +01:00
kbn-utility-types add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-utility-types-jest add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-utils add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
kbn-yarn-lock-validator add kibana.jsonc files to existing packages (#138965) 2022-09-08 13:31:57 -07:00
shared-ux [SharedUX] Removing TODOs from KibanaPageTemplate (#141043) 2022-09-22 14:39:53 +02:00
BUILD.bazel Migrate server-side http_resources service to packages (#142537) 2022-10-04 09:51:06 -07:00
README.md [kbn/pm] rewrite to avoid needing a build process (#136207) 2022-07-18 08:46:13 -07:00

Kibana-related packages

This folder contains packages that are intended for use in Kibana and Kibana plugins.

tl;dr:

  • Don't publish to npm registry
  • Always use the @kbn namespace
  • Always set "private": true in package.json

Using these packages

We no longer publish these packages to the npm registry. Now, instead of specifying a version when including these packages, we rely on yarn workspaces, which sets up a symlink to the package.

For example if you want to use the @kbn/i18n package in Kibana itself, you can specify the dependency like this:

"@kbn/i18n": "1.0.0"

However, if you want to use this from a Kibana plugin, you need to use a link: dependency and account for the relative location of the Kibana repo, so it would instead be:

"@kbn/i18n": "link:../../kibana/packages/kbn-i18n"

Creating a new package

Create a new sub-folder. The name of the folder should mirror the name in the package's package.json. E.g. if the name is @kbn/i18n the folder name should be kbn-i18n.

All new packages should use the @kbn namespace, and should be marked with "private": true.

Unit tests for a package

Currently there is only one tool being used in order to test packages which is Jest. Below we will explain how it should be done.

Jest

A package should follow the pattern of having .test.js files as siblings of the source code files, and these run by Jest.

A package using the .test.js naming convention will have those tests automatically picked up by Jest and run by the unit test runner, currently mapped to the Kibana test script in the root package.json.

  • yarn test runs all unit tests.
  • yarn jest runs all Jest tests in Kibana.

In order for the plugin or package to use Jest, a jest.config.js file must be present in it's root. However, there are safeguards for this in CI should a test file be added without a corresponding config file.


Each package can also specify its own test script in the package's package.json, for cases where you'd prefer to run the tests from the local package directory.