-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into navigation-embeddable
- Loading branch information
Showing
398 changed files
with
8,292 additions
and
4,394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
.buildkite/pipelines/pull_request/type_check_selective.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2951,6 +2951,9 @@ | |
}, | ||
"updatedBy": { | ||
"type": "text" | ||
}, | ||
"savedSearchId": { | ||
"type": "text" | ||
} | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
packages/kbn-management/settings/components/field_category/README.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: management/settings/components/fieldCategory | ||
slug: /management/settings/components/field-category | ||
title: Management Settings Field Category Component | ||
description: A package containing components for rendering field rows in collections organized by their category. | ||
tags: ['management', 'settings'] | ||
date: 2023-10-25 | ||
--- | ||
|
||
## Description | ||
|
||
This package contains a component for rendering field rows of `UiSetting` objects in collections organized by their category. It's used primarily by the `Form` component. |
56 changes: 56 additions & 0 deletions
56
...ages/kbn-management/settings/components/field_category/__stories__/categories.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
import React from 'react'; | ||
import type { ComponentMeta, Story } from '@storybook/react'; | ||
import { action } from '@storybook/addon-actions'; | ||
import { FieldCategories as Component } from '../categories'; | ||
import { Params, useCategoryStory } from './use_category_story'; | ||
import { FieldCategoryProvider } from '../services'; | ||
|
||
export default { | ||
title: 'Settings/Field Category/Categories', | ||
description: '', | ||
args: { | ||
isFiltered: false, | ||
isSavingEnabled: true, | ||
}, | ||
argTypes: { | ||
isFiltered: { | ||
control: { | ||
type: 'boolean', | ||
}, | ||
}, | ||
isSavingEnabled: { | ||
control: { | ||
type: 'boolean', | ||
}, | ||
}, | ||
}, | ||
parameters: { | ||
backgrounds: { | ||
default: 'ghost', | ||
}, | ||
}, | ||
} as ComponentMeta<typeof Component>; | ||
|
||
export const Categories: Story<Params> = (params) => { | ||
const { onClearQuery, isSavingEnabled, onFieldChange, unsavedChanges, categorizedFields } = | ||
useCategoryStory(params); | ||
|
||
return ( | ||
<FieldCategoryProvider | ||
showDanger={action('showDanger')} | ||
links={{ deprecationKey: 'link/to/deprecation/docs' }} | ||
> | ||
<Component | ||
{...{ categorizedFields, onFieldChange, unsavedChanges, onClearQuery, isSavingEnabled }} | ||
/> | ||
</FieldCategoryProvider> | ||
); | ||
}; |
Oops, something went wrong.