From 29d01ebc90464a4349cd3466f28389936aed182b Mon Sep 17 00:00:00 2001 From: Damyan Petev Date: Wed, 7 Aug 2024 16:36:16 +0300 Subject: [PATCH] refactor: analyzer meta adjustments (#1345) --- src/components/checkbox/checkbox-base.ts | 2 +- src/components/common/controllers/key-bindings.ts | 1 + src/components/common/controllers/mutation-observer.ts | 1 + src/components/divider/divider.ts | 1 + src/components/icon/registry/types.ts | 1 + src/components/radio-group/radio-group.ts | 1 + src/components/radio/radio.ts | 2 +- 7 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/checkbox/checkbox-base.ts b/src/components/checkbox/checkbox-base.ts index 612318b62..1fe67cd70 100644 --- a/src/components/checkbox/checkbox-base.ts +++ b/src/components/checkbox/checkbox-base.ts @@ -57,7 +57,7 @@ export class IgcCheckboxBaseComponent extends FormAssociatedRequiredMixin( return this._value; } - /* @tsTwoWayProperty(true, "igcChange", "detail", false) */ + /* @tsTwoWayProperty(true, "igcChange", "detail.checked", false) */ /** * The checked state of the control. * @attr diff --git a/src/components/common/controllers/key-bindings.ts b/src/components/common/controllers/key-bindings.ts index ae45925a8..9d9f17b4d 100644 --- a/src/components/common/controllers/key-bindings.ts +++ b/src/components/common/controllers/key-bindings.ts @@ -52,6 +52,7 @@ export type KeyBindingTrigger = 'keydown' | 'keyup' | 'keydownRepeat'; /** * Configuration object for the controller. + * @ignore */ export interface KeyBindingControllerOptions { /** diff --git a/src/components/common/controllers/mutation-observer.ts b/src/components/common/controllers/mutation-observer.ts index ed2ab6a90..ed48a52af 100644 --- a/src/components/common/controllers/mutation-observer.ts +++ b/src/components/common/controllers/mutation-observer.ts @@ -2,6 +2,7 @@ import type { ReactiveController, ReactiveControllerHost } from 'lit'; import { isElement } from '../util.js'; +/** @ignore */ export interface MutationControllerConfig { /** The callback function to run when a mutation occurs. */ callback: MutationControllerCallback; diff --git a/src/components/divider/divider.ts b/src/components/divider/divider.ts index 0e817d1b7..8a8e3ae31 100644 --- a/src/components/divider/divider.ts +++ b/src/components/divider/divider.ts @@ -53,6 +53,7 @@ export default class IgcDividerComponent extends LitElement { @property({ type: Boolean, reflect: true }) public middle = false; + /* alternateName: lineType */ /** * Whether to render a solid or a dashed divider line. * @attr diff --git a/src/components/icon/registry/types.ts b/src/components/icon/registry/types.ts index 695c9911d..99234251a 100644 --- a/src/components/icon/registry/types.ts +++ b/src/components/icon/registry/types.ts @@ -30,6 +30,7 @@ export enum ActionType { UpdateIconReference = 2, } +/** @ignore */ export interface BroadcastIconsChangeMessage { actionType: ActionType; collections?: Map>; diff --git a/src/components/radio-group/radio-group.ts b/src/components/radio-group/radio-group.ts index e32c27f44..efe6e3d5b 100644 --- a/src/components/radio-group/radio-group.ts +++ b/src/components/radio-group/radio-group.ts @@ -57,6 +57,7 @@ export default class IgcRadioGroupComponent extends LitElement { return this._name; } + /* @tsTwoWayProperty(true, "igcChange", "detail.value", false) */ /** * Gets/Sets the checked igc-radio element that matches `value` * @attr diff --git a/src/components/radio/radio.ts b/src/components/radio/radio.ts index e3d654400..2e76538b3 100644 --- a/src/components/radio/radio.ts +++ b/src/components/radio/radio.ts @@ -124,7 +124,7 @@ export default class IgcRadioComponent extends FormAssociatedRequiredMixin( return this._value; } - /* @tsTwoWayProperty(true, "igcChange", "detail", false) */ + /* @tsTwoWayProperty(true, "igcChange", "detail.checked", false) */ /** * The checked state of the control. * @attr