mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* chore(NA): splits types from code on @kbn/i18n (#119256) * chore(NA): auto creation of the package.json for the new types pkg rule * chore(NA): first alpha api extractor working version * chore(NA): support kbn-analytics * chore(NA): correctly read tsconfig files and deps from ts_config rule * chore(NA): layed out pkg_npm_types tree artifact custom rule * chore(NA): missing todos * chore(NA): node modules link mapping * chore(NA): fully working pkg_npm_types rule * chore(NA): fix changes on new packages using elastic datemath pkgs * docs(NA): remove todo * docs(NA): last todo text correction * chore(NA): removed commented lines * fix(NA): include missing package version * chore(NA): include license keys * chore(NA): change mock types package into private * chore(NA): disable validator on ts_project rule * chore(NA): use the wrapper for ts_project * commit using @elastic.co * chore(NA): commit using @elastic.co * chore(NA): split types from code on @kbn/i18n * chore(NA): update yarn.lock file * chore(NA): split @kbn/i18n and @kbn/i18n-react * chore(NA): missing import fix * chore(NA): fix jest project configs * chore(NA): change imports on kbn i18n * chore(NA): change imports on kbn i18n * chore(NA): correct loader imports * chore(NA): missnig i18nLoader export key * chore(NA): fix type exports * chore(NA): export type only * chore(NA): export type only * fix(NA): type exports * chore(NA): missing @Kbn/i18n/react imports * chore(NA): missing skip path for kbn-i18n-react Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # package.json # packages/BUILD.bazel # packages/kbn-monaco/BUILD.bazel # src/core/public/core_app/status/components/server_status.tsx # src/core/public/core_app/status/components/status_table.tsx # src/core/public/core_app/status/components/version_header.tsx # src/core/public/core_app/status/status_app.tsx # src/plugins/console/public/application/components/storage_quota_error.tsx # src/plugins/dashboard/public/application/listing/dashboard_listing.tsx # src/plugins/data_view_field_editor/public/components/field_editor/form_fields/script_field.tsx # src/plugins/dev_tools/public/application.tsx # src/plugins/discover/public/application/apps/context/context_app_route.tsx # src/plugins/discover/public/application/apps/doc/single_doc_route.tsx # src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row_details.tsx # src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx # src/plugins/discover/public/application/components/table/table_columns.tsx # src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx # src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx # src/plugins/index_pattern_editor/public/open_editor.tsx # src/plugins/interactive_setup/public/plugin.tsx # src/plugins/kibana_overview/public/application.tsx # src/plugins/kibana_react/public/util/to_mount_point.tsx # src/plugins/presentation_util/public/components/field_picker/field_search.tsx # src/plugins/vis_types/timeseries/public/timeseries_vis_renderer.tsx # src/plugins/vis_types/xy/public/vis_renderer.tsx # src/plugins/visualizations/public/wizard/show_new_vis.tsx # x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/error_display.tsx # x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/instructions.tsx # x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/main.tsx # x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx # x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_preview.tsx # x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/empty_list.tsx # x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx # x-pack/plugins/lens/public/indexpattern_datasource/utils.tsx # x-pack/plugins/lens/public/metric_visualization/visualization.tsx # x-pack/plugins/lens/public/pie_visualization/render_function.tsx # x-pack/plugins/maps/public/classes/sources/ems_tms_source/update_source_editor.js # x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx # x-pack/plugins/security/public/authentication/access_agreement/access_agreement_page.tsx # x-pack/plugins/security/public/authentication/logged_out/logged_out_page.tsx # x-pack/plugins/security/public/authentication/login/login_page.tsx # x-pack/plugins/security/public/authentication/overwritten_session/overwritten_session_page.tsx # x-pack/plugins/security/public/management/users/users_management_app.tsx # x-pack/plugins/security_solution/public/management/pages/event_filters/view/components/form/index.tsx # x-pack/plugins/spaces/public/space_selector/space_selector.tsx # yarn.lock * chore(NA): missing @kbn/i18n/react imports
This commit is contained in:
parent
d862acfdaa
commit
beb041b24f
2054 changed files with 2330 additions and 2082 deletions
|
@ -9,7 +9,7 @@ import React from 'react';
|
|||
|
||||
import { EuiCallOut } from '@elastic/eui';
|
||||
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
export function ConfiguredByNodeWarning() {
|
||||
return (
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React, { FunctionComponent, useState } from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { EuiLink, EuiPopover, EuiPopoverTitle, EuiText } from '@elastic/eui';
|
||||
import { useAppContext } from '../../../../app_context';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React, { FunctionComponent } from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import { EuiDescribedFormGroup, EuiTitle, EuiFormRow, EuiSwitch, EuiSpacer } from '@elastic/eui';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React, { FunctionComponent } from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { EuiFieldNumber, EuiFieldText, EuiFormRow, EuiLink } from '@elastic/eui';
|
||||
import { useAppContext } from '../../../../app_context';
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React, { FunctionComponent, useState } from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import {
|
||||
EuiComboBox,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import React, { Component, Fragment } from 'react';
|
||||
import { merge } from 'lodash';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import {
|
||||
EuiButton,
|
||||
EuiButtonEmpty,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React, { PureComponent } from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import {
|
||||
EuiButtonEmpty,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { Cluster } from '../../../../../../common/lib';
|
||||
import { isAddressValid } from './validate_address';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
export function validateName(name?: string | null): null | JSX.Element {
|
||||
if (!name || !name.trim()) {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import { isAddressValid, isPortValid } from './validate_address';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { isAddressValid, isPortValid } from './validate_address';
|
||||
|
||||
export function validateSeed(seed?: string): JSX.Element[] {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
export function validateSeeds(seeds: string[], seedInput?: string) {
|
||||
const seedsHaveBeenCreated = seeds.some((seed) => Boolean(seed.trim()));
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
export function validateServerName(serverName?: string) {
|
||||
if (!serverName || !serverName.trim()) {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { remoteClustersUrl } from '../../../services/documentation';
|
||||
|
||||
import { EuiPageHeader, EuiButtonEmpty, EuiSpacer } from '@elastic/eui';
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import React, { PureComponent } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import { extractQueryParams } from '../../../shared_imports';
|
||||
import { getRouter, redirect } from '../../services';
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import { EuiButton, EuiCallOut, EuiEmptyPrompt, EuiPageContent, EuiSpacer } from '@elastic/eui';
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import React, { Component, Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import { EuiConfirmModal } from '@elastic/eui';
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
import {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import {
|
||||
EuiButton,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import {
|
||||
EuiButton,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue