Skip to content

Commit

Permalink
Fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
saskliutas committed Dec 10, 2024
1 parent 3dcd620 commit ef3c3db
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/appui-react/src/appui-react/pickers/ListPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export class ExpandableSection extends React.PureComponent<
this.state = { expanded: !!this.props.expanded };
}

/** @internal */
public override async componentDidUpdate(
prevProps: Readonly<ExpandableSectionProps>
) {
Expand Down
1 change: 1 addition & 0 deletions ui/appui-react/src/appui-react/pickers/ViewSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export class ViewSelector extends React.Component<
await this.loadViews();
}

/** @internal */
public override async componentDidUpdate(prevProps: ViewSelectorProps) {
if (this.props.imodel !== prevProps.imodel) {
await this.loadViews();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export class BooleanEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class EnumButtonGroupEditor
void this.setStateFromProps();
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class EnumEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export class ImageCheckBoxEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export class NumericInputEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export class SliderEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export class TextEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export class TextareaEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class ToggleEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export class FilteringInput extends React.PureComponent<
this.setState({ searchText: e.target.value, searchStarted: false });
};

/** @internal */
public override componentDidUpdate(prevProps: FilteringInputProps) {
if (this.props.resultSelectorProps !== prevProps.resultSelectorProps) {
this.setState((state) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export class ResultSelector extends React.PureComponent<
this.props.onSelectedChanged(this.props.resultCount ? 1 : 0);
}

/** @internal */
public override componentDidUpdate(prevProps: ResultSelectorProps) {
if (this.props.resultCount !== prevProps.resultCount) {
this.props.onSelectedChanged(this.props.resultCount ? 1 : 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ export class VirtualizedPropertyGrid extends React.Component<
};
}

/** @internal */
public override componentDidUpdate(prevProps: VirtualizedPropertyGridProps) {
if (
this.props.orientation !== prevProps.orientation ||
Expand Down
1 change: 1 addition & 0 deletions ui/core-react/src/core-react/autosuggest/AutoSuggest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export class AutoSuggest extends React.PureComponent<
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: AutoSuggestProps) {
if (
this.props.value !== prevProps.value ||
Expand Down
1 change: 1 addition & 0 deletions ui/core-react/src/core-react/contextmenu/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ export class ContextMenu extends React.PureComponent<
this.setState({ selectedIndex });
};

/** @internal */
public override componentDidUpdate(prevProps: ContextMenuProps) {
if (prevProps.selectedIndex !== this.props.selectedIndex) {
this.setState((_, props) => ({ selectedIndex: props.selectedIndex! }));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export class ContextMenuItem extends React.PureComponent<
this._updateHotkey(this.props.children);
}

/** @internal */
public override componentDidUpdate(prevProps: ContextMenuItemProps) {
if (this.props.children !== prevProps.children) {
this._updateHotkey(this.props.children);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export class ContextSubMenu extends React.Component<
document.removeEventListener("click", this._handleClickGlobal);
}

/** @internal */
public override componentDidUpdate(
prevProps: ContextSubMenuProps,
prevState: ContextSubMenuState
Expand Down
1 change: 1 addition & 0 deletions ui/core-react/src/core-react/hocs/withTimeout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const withTimeout = <ComponentProps extends object>(
this.startTimer(this.props.timeout);
}

/** @internal */
public override componentDidUpdate(
_prevProps: Readonly<ComponentProps & WithTimeoutProps> // eslint-disable-line @typescript-eslint/no-deprecated
): void {
Expand Down
1 change: 1 addition & 0 deletions ui/core-react/src/core-react/popup/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export class Popup extends React.Component<PopupProps, PopupState> {
return this.state.parentDocument.defaultView ?? window;
}

/** @internal */
public override componentDidUpdate(
previousProps: PopupProps, // eslint-disable-line @typescript-eslint/no-deprecated
prevState: PopupState
Expand Down
1 change: 1 addition & 0 deletions ui/core-react/src/core-react/radialmenu/RadialMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export class RadialMenu extends React.Component<
window.removeEventListener("mouseup", this._handleClick);
}

/** @internal */
public override componentDidUpdate(prevProps: RadialMenuProps) {
if (
prevProps.innerRadius !== this.props.innerRadius ||
Expand Down
1 change: 1 addition & 0 deletions ui/core-react/src/core-react/tabs/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export class Tabs extends React.PureComponent<MainTabsProps, TabsState> {
this._itemKeyboardNavigator.orientation = this.props.orientation;
}

/** @internal */
public override componentDidUpdate(prevProps: MainTabsProps) {
if (prevProps.labels !== this.props.labels)
this._itemKeyboardNavigator.itemCount = this.props.labels.length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export class ColorEditor
void this.setStateFromProps();
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export class WeightEditor
this._isMounted = false;
}

/** @internal */
public override componentDidUpdate(prevProps: PropertyEditorProps) {
if (this.props.propertyRecord !== prevProps.propertyRecord) {
void this.setStateFromProps();
Expand Down

0 comments on commit ef3c3db

Please sign in to comment.