Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/learning-snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"rimraf": "^6.1.3",
"sass-embedded": "1.98.0",
"test-utilities": "workspace:*",
"typescript": "~5.9.3",
"@typescript/native": "npm:typescript@~7.0.2",
"typescript": "npm:@typescript/typescript6@~6.0.2",
Comment thread
saskliutas marked this conversation as resolved.
Resolved
"vite": "^8.0.11",
"vitest": "^4.1.5"
},
Expand Down
562 changes: 396 additions & 166 deletions apps/learning-snippets/pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions apps/learning-snippets/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"noImplicitOverride": false,
"resolveJsonModule": true,
"noUnusedParameters": false,
"rootDir": "./src",
"lib": ["DOM", "ES2023"],
"outDir": "lib"
},
Expand Down
3 changes: 2 additions & 1 deletion apps/performance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"rxjs": "^7.8.2",
"sass-embedded": "1.98.0",
"test-utilities": "workspace:*",
"typescript": "~5.9.3",
"@typescript/native": "npm:typescript@~7.0.2",
"typescript": "npm:@typescript/typescript6@~6.0.2",
Comment thread
saskliutas marked this conversation as resolved.
Resolved
"vite": "^8.0.11",
"vitest": "^4.1.5"
}
Expand Down
558 changes: 394 additions & 164 deletions apps/performance-tests/pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions apps/performance-tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"noImplicitOverride": false,
"resolveJsonModule": true,
"noUnusedParameters": false,
"rootDir": "./src",
"lib": ["DOM", "ESNext"],
"outDir": "lib"
},
Expand Down
3 changes: 2 additions & 1 deletion apps/test-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
"npm-run-all": "^4.1.5",
"rimraf": "^6.1.3",
"sass": "^1.99.0",
"typescript": "~5.9.3",
"@typescript/native": "npm:typescript@~7.0.2",
"typescript": "npm:@typescript/typescript6@~6.0.2",
Comment thread
saskliutas marked this conversation as resolved.
Resolved
"vite": "^8.0.11",
"vite-plugin-static-copy": "^4.1.0"
},
Expand Down
481 changes: 353 additions & 128 deletions apps/test-viewer/pnpm-lock.yaml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/property-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@
"sass-embedded": "^1.100.0",
"stylelint": "^17.12.0",
"stylelint-config-standard-scss": "^17.0.0",
"typescript": "~5.8.3",
"@typescript/native": "npm:typescript@~7.0.2",
"typescript": "npm:@typescript/typescript6@~6.0.2",
Comment thread
saskliutas marked this conversation as resolved.
Resolved
"vite": "^8.0.14",
"vitest": "^4.1.7",
"xmlhttprequest": "^1.8.0"
Expand Down
539 changes: 382 additions & 157 deletions packages/property-grid/pnpm-lock.yaml

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions packages/property-grid/src/styles.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
declare module "*.scss" {
const content: { [className: string]: string };
export = content;
}
1 change: 1 addition & 0 deletions packages/property-grid/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"esModuleInterop": true,
"noImplicitOverride": false,
"resolveJsonModule": true,
"types": ["node"],
"lib": ["DOM", "ESNext"]
},
"include": ["src"]
Expand Down
1 change: 1 addition & 0 deletions packages/property-grid/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"rootDir": "./src",
"outDir": "lib"
},
"exclude": ["src/e2e-tests/**/*"]
Expand Down
75 changes: 46 additions & 29 deletions packages/tree-widget/api/tree-widget-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import type { IDisposable } from '@itwin/core-bentley';
import type { IModelConnection } from '@itwin/core-frontend';
import type { InstanceKey } from '@itwin/presentation-shared';
import { JSX as JSX_2 } from 'react/jsx-runtime';
import type { JSX as JSX_3 } from 'react';
import type { Localization } from '@itwin/core-common';
import type { PresentationHierarchyNode } from '@itwin/presentation-hierarchies-react';
import type { PresentationTreeNode } from '@itwin/presentation-hierarchies-react';
Expand All @@ -37,14 +38,7 @@ import type { Viewport } from '@itwin/core-frontend';
import type { Widget } from '@itwin/appui-react';

// @public
export const CategoriesTreeComponent: {
(props: CategoriesTreeComponentProps): JSX_2.Element | null;
ShowAllButton: CategoriesTreeHeaderButtonType;
HideAllButton: CategoriesTreeHeaderButtonType;
InvertAllButton: CategoriesTreeHeaderButtonType;
id: string;
getLabel(): string;
};
export const CategoriesTreeComponent: CategoriesTreeComponentType;

// @public (undocumented)
interface CategoriesTreeComponentProps extends Pick<CategoriesTreeProps, "getSchemaContext" | "selectionStorage" | "density" | "hierarchyLevelConfig" | "selectionMode" | "hierarchyConfig"> {
Expand All @@ -55,6 +49,17 @@ interface CategoriesTreeComponentProps extends Pick<CategoriesTreeProps, "getSch
onPerformanceMeasured?: (featureId: string, duration: number) => void;
}

// @public (undocumented)
interface CategoriesTreeComponentType {
// (undocumented)
(props: CategoriesTreeComponentProps): JSX_3.Element | null;
getLabel(): string;
HideAllButton: CategoriesTreeHeaderButtonType;
id: string;
InvertAllButton: CategoriesTreeHeaderButtonType;
ShowAllButton: CategoriesTreeHeaderButtonType;
}

// @public
interface CategoriesTreeHeaderButtonProps extends TreeHeaderButtonProps {
categories: CategoryInfo[];
Expand Down Expand Up @@ -133,11 +138,7 @@ interface ElementsGroupInfo {
}

// @beta
export const ExternalSourcesTreeComponent: {
(input: ExternalSourcesTreeComponentProps): JSX_2.Element | null;
id: string;
getLabel(): string;
};
export const ExternalSourcesTreeComponent: ExternalSourcesTreeComponentType;

// @beta (undocumented)
interface ExternalSourcesTreeComponentProps extends Pick<ExternalSourcesTreeProps, "getSchemaContext" | "selectionStorage" | "selectionMode" | "density" | "hierarchyLevelConfig" | "selectionMode"> {
Expand All @@ -147,6 +148,14 @@ interface ExternalSourcesTreeComponentProps extends Pick<ExternalSourcesTreeProp
onPerformanceMeasured?: (featureId: string, duration: number) => void;
}

// @beta (undocumented)
interface ExternalSourcesTreeComponentType {
// (undocumented)
(input: ExternalSourcesTreeComponentProps): JSX_3.Element | null;
getLabel(): string;
id: string;
}

// @beta (undocumented)
type ExternalSourcesTreeProps = Pick<TreeProps, "imodel" | "getSchemaContext" | "selectionStorage" | "density" | "selectionMode"> & {
hierarchyLevelConfig?: {
Expand Down Expand Up @@ -218,11 +227,7 @@ interface HighlightInfo {
}

// @beta
export const IModelContentTreeComponent: {
(input: IModelContentTreeComponentProps): JSX_2.Element | null;
id: string;
getLabel(): string;
};
export const IModelContentTreeComponent: IModelContentTreeComponentType;

// @beta (undocumented)
interface IModelContentTreeComponentProps extends Pick<IModelContentTreeProps, "getSchemaContext" | "selectionStorage" | "density" | "hierarchyConfig" | "hierarchyLevelConfig" | "selectionMode"> {
Expand All @@ -232,6 +237,14 @@ interface IModelContentTreeComponentProps extends Pick<IModelContentTreeProps, "
onPerformanceMeasured?: (featureId: string, duration: number) => void;
}

// @beta (undocumented)
interface IModelContentTreeComponentType {
// (undocumented)
(input: IModelContentTreeComponentProps): JSX_3.Element | null;
getLabel(): string;
id: string;
}

// @beta
interface IModelContentTreeHierarchyConfiguration {
hideRootSubject: boolean;
Expand All @@ -254,17 +267,7 @@ interface ModelInfo {
}

// @public
export const ModelsTreeComponent: {
(props: ModelsTreeComponentProps): JSX_2.Element | null;
ShowAllButton: ModelsTreeHeaderButtonType;
HideAllButton: ModelsTreeHeaderButtonType;
InvertButton: ModelsTreeHeaderButtonType;
View2DButton: ModelsTreeHeaderButtonType;
View3DButton: ModelsTreeHeaderButtonType;
ToggleInstancesFocusButton: ModelsTreeHeaderButtonType;
id: string;
getLabel(): string;
};
export const ModelsTreeComponent: ModelsTreeComponentType;

// @public (undocumented)
interface ModelsTreeComponentProps extends Pick<ModelsTreeProps, "getSchemaContext" | "selectionStorage" | "density" | "hierarchyLevelConfig" | "selectionMode" | "selectionPredicate" | "hierarchyConfig" | "visibilityHandlerOverrides" | "getFilteredPaths" | "getSubTreePaths"> {
Expand All @@ -275,6 +278,20 @@ interface ModelsTreeComponentProps extends Pick<ModelsTreeProps, "getSchemaConte
onPerformanceMeasured?: (featureId: string, duration: number) => void;
}

// @public (undocumented)
interface ModelsTreeComponentType {
// (undocumented)
(props: ModelsTreeComponentProps): JSX_3.Element | null;
getLabel(): string;
HideAllButton: ModelsTreeHeaderButtonType;
id: string;
InvertButton: ModelsTreeHeaderButtonType;
ShowAllButton: ModelsTreeHeaderButtonType;
ToggleInstancesFocusButton: ModelsTreeHeaderButtonType;
View2DButton: ModelsTreeHeaderButtonType;
View3DButton: ModelsTreeHeaderButtonType;
}

// @public
interface ModelsTreeHeaderButtonProps extends TreeHeaderButtonProps {
models: ModelInfo[];
Expand Down
3 changes: 2 additions & 1 deletion packages/tree-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"stylelint-config-standard-scss": "^17.0.0",
"test-utilities": "workspace:*",
"typemoq": "^2.1.0",
"typescript": "~5.8.3"
"@typescript/native": "npm:typescript@~7.0.2",
"typescript": "npm:@typescript/typescript6@~6.0.2"
Comment thread
saskliutas marked this conversation as resolved.
Resolved
}
}
Loading
Loading