Skip to content

Commit 7368726

Browse files
Merge branch 'master' into removal-delay
2 parents 1ab5e67 + 7c9bc47 commit 7368726

File tree

1,710 files changed

+89124
-470269
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,710 files changed

+89124
-470269
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,5 @@ snapshots.js
4141
/packages/kbn-test/src/functional_test_runner/__tests__/fixtures/
4242
/packages/kbn-test/src/functional_test_runner/lib/config/__tests__/fixtures/
4343
/packages/kbn-ui-framework/dist
44-
/packages/kbn-ui-framework/doc_site/build
45-
/packages/kbn-ui-framework/generator-kui/*/templates/
4644
/packages/kbn-ui-shared-deps/flot_charts
4745
/packages/kbn-monaco/src/painless/antlr

.eslintrc.js

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ module.exports = {
8585
/**
8686
* Temporarily disable some react rules for specific plugins, remove in separate PRs
8787
*/
88-
{
89-
files: ['packages/kbn-ui-framework/**/*.{js,mjs,ts,tsx}'],
90-
rules: {
91-
'jsx-a11y/no-onchange': 'off',
92-
},
93-
},
9488
{
9589
files: ['src/plugins/kibana_react/**/*.{js,mjs,ts,tsx}'],
9690
rules: {
@@ -413,7 +407,6 @@ module.exports = {
413407
{
414408
files: [
415409
'**/public/**/*.js',
416-
'packages/kbn-ui-framework/doc_site/src/**/*.js',
417410
'src/fixtures/**/*.js', // TODO: this directory needs to be more obviously "public" (or go away)
418411
],
419412
settings: {
@@ -436,11 +429,7 @@ module.exports = {
436429
* Files that ARE NOT allowed to use devDependencies
437430
*/
438431
{
439-
files: [
440-
'packages/kbn-ui-framework/**/*.js',
441-
'x-pack/**/*.js',
442-
'packages/kbn-interpreter/**/*.js',
443-
],
432+
files: ['x-pack/**/*.js', 'packages/kbn-interpreter/**/*.js'],
444433
rules: {
445434
'import/no-extraneous-dependencies': [
446435
'error',
@@ -458,10 +447,6 @@ module.exports = {
458447
*/
459448
{
460449
files: [
461-
'packages/kbn-ui-framework/**/*.test.js',
462-
'packages/kbn-ui-framework/doc_site/**/*.js',
463-
'packages/kbn-ui-framework/generator-kui/**/*.js',
464-
'packages/kbn-ui-framework/Gruntfile.js',
465450
'packages/kbn-es/src/**/*.js',
466451
'packages/kbn-interpreter/tasks/**/*.js',
467452
'packages/kbn-interpreter/src/plugin/**/*.js',
@@ -1073,20 +1058,6 @@ module.exports = {
10731058
},
10741059
},
10751060

1076-
/**
1077-
* disable jsx-a11y for kbn-ui-framework
1078-
*/
1079-
{
1080-
files: ['packages/kbn-ui-framework/**/*.js'],
1081-
rules: {
1082-
'jsx-a11y/click-events-have-key-events': 'off',
1083-
'jsx-a11y/anchor-has-content': 'off',
1084-
'jsx-a11y/tabindex-no-positive': 'off',
1085-
'jsx-a11y/label-has-associated-control': 'off',
1086-
'jsx-a11y/aria-role': 'off',
1087-
},
1088-
},
1089-
10901061
/**
10911062
* Canvas overrides
10921063
*/

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ selenium
4949
*.swp
5050
*.swo
5151
*.out
52-
/packages/kbn-ui-framework/doc_site/build/*
53-
!/packages/kbn-ui-framework/doc_site/build/index.html
5452
package-lock.json
5553
.yo-rc.json
5654
.vscode
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [ChromeHelpExtensionLinkBase](./kibana-plugin-core-public.chromehelpextensionlinkbase.md)
4+
5+
## ChromeHelpExtensionLinkBase type
6+
7+
8+
<b>Signature:</b>
9+
10+
```typescript
11+
export declare type ChromeHelpExtensionLinkBase = Pick<EuiButtonEmptyProps, 'iconType' | 'target' | 'rel' | 'data-test-subj'>;
12+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [ChromeHelpExtensionMenuCustomLink](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.md) &gt; [content](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.content.md)
4+
5+
## ChromeHelpExtensionMenuCustomLink.content property
6+
7+
Content of the button (in lieu of `children`<!-- -->)
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
content: React.ReactNode;
13+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [ChromeHelpExtensionMenuCustomLink](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.md) &gt; [href](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.href.md)
4+
5+
## ChromeHelpExtensionMenuCustomLink.href property
6+
7+
URL of the link
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
href: string;
13+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [ChromeHelpExtensionMenuCustomLink](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.md) &gt; [linkType](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.linktype.md)
4+
5+
## ChromeHelpExtensionMenuCustomLink.linkType property
6+
7+
Extend EuiButtonEmpty to provide extra functionality
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
linkType: 'custom';
13+
```

docs/development/core/public/kibana-plugin-core-public.chromehelpextensionmenucustomlink.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,20 @@
22

33
[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [ChromeHelpExtensionMenuCustomLink](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.md)
44

5-
## ChromeHelpExtensionMenuCustomLink type
5+
## ChromeHelpExtensionMenuCustomLink interface
66

77

88
<b>Signature:</b>
99

1010
```typescript
11-
export declare type ChromeHelpExtensionMenuCustomLink = EuiButtonEmptyProps & {
12-
linkType: 'custom';
13-
content: React.ReactNode;
14-
};
11+
export interface ChromeHelpExtensionMenuCustomLink extends ChromeHelpExtensionLinkBase
1512
```
13+
14+
## Properties
15+
16+
| Property | Type | Description |
17+
| --- | --- | --- |
18+
| [content](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.content.md) | <code>React.ReactNode</code> | Content of the button (in lieu of <code>children</code>) |
19+
| [href](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.href.md) | <code>string</code> | URL of the link |
20+
| [linkType](./kibana-plugin-core-public.chromehelpextensionmenucustomlink.linktype.md) | <code>'custom'</code> | Extend EuiButtonEmpty to provide extra functionality |
21+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [ChromeHelpExtensionMenuDiscussLink](./kibana-plugin-core-public.chromehelpextensionmenudiscusslink.md) &gt; [href](./kibana-plugin-core-public.chromehelpextensionmenudiscusslink.href.md)
4+
5+
## ChromeHelpExtensionMenuDiscussLink.href property
6+
7+
URL to discuss page. i.e. `https://discuss.elastic.co/c/${appName}`
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
href: string;
13+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [ChromeHelpExtensionMenuDiscussLink](./kibana-plugin-core-public.chromehelpextensionmenudiscusslink.md) &gt; [linkType](./kibana-plugin-core-public.chromehelpextensionmenudiscusslink.linktype.md)
4+
5+
## ChromeHelpExtensionMenuDiscussLink.linkType property
6+
7+
Creates a generic give feedback link with comment icon
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
linkType: 'discuss';
13+
```

0 commit comments

Comments
 (0)