Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/data_view_field_editor_example/public/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const DataViewFieldEditorExample = ({ dataView, dataViewFieldEditor }: Props) =>
);

return (
<EuiProvider>
<EuiProvider highContrastMode={false}>
<EuiPageTemplate offset={0}>
<EuiPageTemplate.Header pageTitle="Data view field editor demo" />
<EuiPageTemplate.Section>{content}</EuiPageTemplate.Section>
Expand Down
2 changes: 1 addition & 1 deletion examples/error_boundary/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class ErrorBoundaryExamplePlugin implements Plugin<void, void, SetupDeps>
// Using the "EuiProvider" here rather than KibanaRenderContextProvider, because KibanaRenderContextProvider
// wraps KibanaErrorBoundaryProvider and KibanaErrorBoundary and we want to test it directly, not a wrapper.
ReactDOM.render(
<EuiProvider>
<EuiProvider highContrastMode={false}>
<KibanaErrorBoundaryProvider analytics={core.analytics}>
<KibanaErrorBoundary>
<KibanaPageTemplate>
Expand Down
2 changes: 1 addition & 1 deletion examples/esql_ast_inspector/public/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { EsqlInspector } from './components/esql_inspector';

export const App = () => {
return (
<EuiProvider>
<EuiProvider highContrastMode={false}>
<EuiPage>
<EuiPageBody style={{ maxWidth: 1200, margin: '0 auto' }}>
<EuiPageHeader paddingSize="s" bottomBorder={true} pageTitle="ES|QL AST Inspector" />
Expand Down
2 changes: 1 addition & 1 deletion examples/field_formats_example/public/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const CreatingCustomFieldFormatEditor: React.FC<{ deps: Deps }> = (props) => {

export const App: React.FC<{ deps: Deps }> = (props) => {
return (
<EuiProvider>
<EuiProvider highContrastMode={false}>
<EuiPageTemplate offset={0}>
<EuiPageTemplate.Header pageTitle="Field formats examples" />
<EuiPageTemplate.Section grow={false}>
Expand Down
2 changes: 1 addition & 1 deletion examples/files_example/public/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const FilesExampleApp = ({ files, notifications }: FilesExampleAppDeps) =
];

return (
<EuiProvider>
<EuiProvider highContrastMode={false}>
<EuiPageTemplate restrictWidth>
<EuiPageTemplate.Header pageTitle="Files example" />
<EuiPageTemplate.Section>
Expand Down
2 changes: 1 addition & 1 deletion examples/partial_results_example/public/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function App() {
}, [expressions]);

return (
<EuiProvider>
<EuiProvider highContrastMode={false}>
<EuiPageTemplate offset={0}>
<EuiPageTemplate.Header pageTitle="Partial Results Demo" />
<EuiPageTemplate.Section>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
"@elastic/ecs": "^8.11.5",
"@elastic/elasticsearch": "^8.17.0",
"@elastic/ems-client": "8.6.3",
"@elastic/eui": "100.0.0",
"@elastic/eui-theme-borealis": "0.0.11",
"@elastic/eui": "101.0.1",
"@elastic/eui-theme-borealis": "0.1.0",
"@elastic/filesaver": "1.1.2",
"@elastic/node-crypto": "^1.2.3",
"@elastic/numeral": "^2.5.1",
Expand Down
4 changes: 2 additions & 2 deletions src/dev/license_checker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export const LICENSE_OVERRIDES = {
'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
'@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
'@elastic/ems-client@8.6.3': ['Elastic License 2.0'],
'@elastic/eui@100.0.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'@elastic/eui-theme-borealis@0.0.11': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'@elastic/eui@101.0.1': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'@elastic/eui-theme-borealis@0.1.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry
'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary
'@bufbuild/protobuf@1.2.1': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause)
Expand Down
2 changes: 1 addition & 1 deletion src/platform/packages/private/kbn-panel-loader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const PanelLoader = (props: {
hasBorder={props.showBorder}
data-test-subj={props.dataTestSubj}
>
<EuiLoadingChart size="l" mono />
<EuiLoadingChart size="l" />
</EuiPanel>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { DataTableRecord, buildDataTableRecord } from '@kbn/discover-utils';
const renderCell = (logLevelField: string, record: DataTableRecord) => {
const LogLevelBadgeCell = getLogLevelBadgeCell(logLevelField);
render(
<EuiProvider>
<EuiProvider highContrastMode={false}>
<LogLevelBadgeCell
rowIndex={0}
colIndex={0}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { LogLevelBadge } from './log_level_badge';

const renderBadge = (logLevel: string) => {
render(
<EuiProvider>
<EuiProvider highContrastMode={false}>
<LogLevelBadge
logLevel={logLevel}
fallback={<span data-test-subj="logLevelBadge-unknown">{logLevel}</span>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const mockTheme: UseEuiTheme = {
colorMode: 'DARK',
euiTheme: { colors: {} } as unknown as UseEuiTheme['euiTheme'],
modifications: {},
highContrastMode: false,
};

describe('ESQL Theme', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export const KibanaEuiProvider: FC<PropsWithChildren<KibanaEuiProviderProps>> =
globalStyles,
utilityClasses: globalStyles,
theme: _theme,
highContrastMode: false,
}}
>
{children}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class DefaultEditorController implements IEditorController {
alignItems: 'center',
}}
>
<EuiLoadingChart size="xl" mono />
<EuiLoadingChart size="xl" />
</div>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const Item = React.forwardRef<HTMLDivElement, Props>(
</>
) : (
<div>
<EuiLoadingChart size="l" mono />
<EuiLoadingChart size="l" />
</div>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('ContextAppContent test', () => {

const component = mountWithIntl(
<KibanaContextProvider services={discoverServiceMock}>
<EuiProvider>
<EuiProvider highContrastMode={false}>
<ContextAppContent {...props} />
</EuiProvider>
</KibanaContextProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function mountComponent(fetchStatus: FetchStatus, hits: EsHitRecord[]) {
<KibanaContextProvider services={services}>
<DiscoverCustomizationProvider value={customisationService}>
<DiscoverMainProvider value={stateContainer}>
<EuiProvider>
<EuiProvider highContrastMode={false}>
<DiscoverDocuments {...props} />
</EuiProvider>
</DiscoverMainProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async function mountComponent(
const component = mountWithIntl(
<KibanaContextProvider services={services}>
<DiscoverMainProvider value={stateContainer}>
<EuiProvider>
<EuiProvider highContrastMode={false}>
<DiscoverLayout {...props} />
</EuiProvider>
</DiscoverMainProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,14 @@ setUnifiedDocViewerServices(

const renderLogsOverview = (props: Partial<DocViewRenderProps> = {}) => {
const { rerender: baseRerender, ...tools } = render(
<EuiProvider>
<EuiProvider highContrastMode={false}>
<LogsOverview dataView={dataView} hit={fullHit} {...props} />
</EuiProvider>
);

const rerender = (rerenderProps: Partial<DocViewRenderProps>) =>
baseRerender(
<EuiProvider>
<EuiProvider highContrastMode={false}>
<LogsOverview dataView={dataView} hit={fullHit} {...props} {...rerenderProps} />
</EuiProvider>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ describe('<FilterEditor />', () => {
euiTheme: {} as unknown as EuiThemeComputed<{}>,
colorMode: 'DARK',
modifications: [],
highContrastMode: false,
} as UseEuiTheme<{}>,
filter: {
meta: {
Expand Down Expand Up @@ -91,6 +92,7 @@ describe('<FilterEditor />', () => {
euiTheme: {} as unknown as EuiThemeComputed<{}>,
colorMode: 'DARK',
modifications: [],
highContrastMode: false,
} as UseEuiTheme<{}>,
filter: {
meta: {
Expand Down Expand Up @@ -126,6 +128,7 @@ describe('<FilterEditor />', () => {
euiTheme: {} as unknown as EuiThemeComputed<{}>,
colorMode: 'DARK',
modifications: [],
highContrastMode: false,
} as UseEuiTheme<{}>,
filter: {
meta: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ import { EuiLoadingChart } from '@elastic/eui';

export const TimeseriesLoading = () => (
<div className="visChart__spinner">
<EuiLoadingChart mono size="l" />
<EuiLoadingChart size="l" />
</div>
);
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function TimeseriesVisualization({
<Suspense
fallback={
<div className="visChart__spinner">
<EuiLoadingChart mono size="l" />
<EuiLoadingChart size="l" />
</div>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const VisualizationContainer = ({

const fallBack = (
<div className="visChart__spinner">
<EuiLoadingChart mono size="l" />
<EuiLoadingChart size="l" />
</div>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export const getVisualizeEmbeddableFactory: (deps: {
>
{/* Replicate the loading state for the expression renderer to avoid FOUC */}
<EuiFlexGroup css={{ height: '100%' }} justifyContent="center" alignItems="center">
{isLoading && <EuiLoadingChart size="l" mono />}
{isLoading && <EuiLoadingChart size="l" />}
{!isLoading && error && (
<EuiEmptyPrompt
iconType="error"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ export class VisualizeEmbeddable extends Embeddable<VisualizeInput, VisualizeOut
render(
<KibanaRenderContextProvider {...core}>
<div className="visChart__spinner">
<EuiLoadingChart mono size="l" />
<EuiLoadingChart size="l" />
</div>
</KibanaRenderContextProvider>,
this.domNode
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading