Skip to content

Commit 1e72125

Browse files
Analyzer adjustments for 6.0 (#1704)
* chore(analyzer): suppress file for now; minor adjustments * chore(analyzer): mark internal files producing extra types --------- Co-authored-by: Radoslav Karaivanov <[email protected]>
1 parent 2466780 commit 1e72125

File tree

6 files changed

+16
-3
lines changed

6 files changed

+16
-3
lines changed

src/components/common/controllers/gestures.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const defaultState: GestureState = Object.freeze({ x: 0, y: 0, time: 0 });
1111

1212
/**
1313
* Configuration object for a {@link GesturesController} instance.
14+
* @ignore
1415
*/
1516
export interface GesturesOptions {
1617
/**

src/components/common/controllers/resize-observer.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ type ResizeObserverControllerCallback = (
88
...args: Parameters<ResizeObserverCallback>
99
) => unknown;
1010

11-
/** Configuration for initializing a resize controller. */
11+
/**
12+
* Configuration for initializing a resize controller.
13+
* @ignore
14+
*/
1215
export interface ResizeObserverControllerConfig {
1316
/** The callback function to run when a resize mutation is triggered. */
1417
callback: ResizeObserverControllerCallback;

src/components/file-input/file-input.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { styles } from './themes/file-input.base.css.js';
1717
import { all } from './themes/themes.js';
1818
import { fileValidators } from './validators.js';
1919

20+
/* blazorSuppress */
2021
/**
2122
* @element igc-file-input
2223
*
@@ -122,7 +123,7 @@ export default class IgcFileInputComponent extends IgcInputBaseComponent {
122123
@property({ type: Boolean, attribute: false, noAccessor: true })
123124
public override readonly readOnly = false;
124125

125-
/** Returns the selected files when input type is 'file', otherwise returns null. */
126+
/** Returns the selected files, if any; otherwise returns null. */
126127
public get files(): FileList | null {
127128
return this.input?.files ?? null;
128129
}

src/components/tabs/tabs.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,10 @@ export default class IgcTabsComponent extends EventEmitterMixin<
389389
//#region Public API methods
390390

391391
/** Selects the specified tab and displays the corresponding panel. */
392+
public select(id: string): void;
393+
/* blazorSuppress (ref is reserved) */
394+
public select(ref: IgcTabComponent): void;
395+
/* blazorSuppress (ref is reserved) */
392396
public select(ref: IgcTabComponent | string): void {
393397
const tab = isString(ref) ? this._tabs.find((t) => t.id === ref) : ref;
394398

src/components/tooltip/tooltip.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ import { all } from './themes/themes.js';
2121
import { styles } from './themes/tooltip.base.css.js';
2222

2323
export interface IgcTooltipComponentEventMap {
24+
/* blazorAlternateType: CustomEvent<void> */
2425
igcOpening: CustomEvent<Element | null>;
26+
/* blazorAlternateType: CustomEvent<void> */
2527
igcOpened: CustomEvent<Element | null>;
28+
/* blazorAlternateType: CustomEvent<void> */
2629
igcClosing: CustomEvent<Element | null>;
30+
/* blazorAlternateType: CustomEvent<void> */
2731
igcClosed: CustomEvent<Element | null>;
2832
}
2933

src/components/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ export type DividerType = 'solid' | 'dashed';
2929
export type ExpansionPanelIndicatorPosition = 'start' | 'end' | 'none';
3030
export type IconButtonVariant = 'contained' | 'flat' | 'outlined';
3131
export type InputType =
32+
| 'text'
3233
| 'email'
3334
| 'number'
3435
| 'password'
3536
| 'search'
3637
| 'tel'
37-
| 'text'
3838
| 'url';
3939
export type LinearProgressLabelAlign =
4040
| 'top-start'

0 commit comments

Comments
 (0)