Skip to content

Commit

Permalink
Release packages (dev)
Browse files Browse the repository at this point in the history
  • Loading branch information
imodeljs-admin committed Feb 13, 2024
1 parent d264b90 commit 96baddd
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 6 deletions.
15 changes: 15 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,40 @@
"@itwin/presentation-testing": "4.1.1"
},
"changesets": [
"angry-apples-flash",
"beige-suns-explode",
"big-weeks-refuse",
"chatty-eyes-sniff",
"cuddly-roses-lay",
"dry-scissors-rule",
"fast-ears-smoke",
"few-starfishes-sneeze",
"fluffy-bats-glow",
"funny-feet-buy",
"gentle-pumas-serve",
"gorgeous-kangaroos-serve",
"gorgeous-sloths-hang",
"green-pears-speak",
"green-tables-guess",
"happy-points-draw",
"itchy-dryers-remain",
"long-lemons-burn",
"loud-news-lick",
"metal-rocks-search",
"modern-pugs-yell",
"neat-tools-look",
"ninety-sloths-worry",
"polite-frogs-lick",
"quiet-wombats-design",
"rude-years-allow",
"serious-paws-ring",
"seven-ducks-warn",
"sharp-rockets-do",
"stale-melons-train",
"strange-shoes-cheer",
"tough-ties-talk",
"unlucky-swans-yawn",
"wet-boxes-travel",
"young-falcons-work"
]
}
47 changes: 43 additions & 4 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log - @itwin/presentation-components

## 5.0.0-dev.3

### Major Changes

- [#412](https://github.com/iTwin/presentation/pull/412): Bumped peer dependency version of all `itwinjs-core` packages to `^4.4.0`.
- [#398](https://github.com/iTwin/presentation/pull/398): Bump `iTwinUI` package dependencies to 3.x. This is entails that all components from `presentation-components` must be wrapped in `ThemeProvider` from `iTwinUI` 3.x. [See more](https://github.com/iTwin/iTwinUI/wiki/iTwinUI-react-v3-migration-guide#themeprovider)
- [#399](https://github.com/iTwin/presentation/pull/399): Bumped AppUI peer dependency to `^4.9.0`.

### Minor Changes

- [#407](https://github.com/iTwin/presentation/pull/407): Removed `GenericInstanceFilter` in favor of the one delivered in `@itwin/core-common`.
Added `PresentationInstanceFilter.fromGenericInstanceFilter` function for creating `PresentationInstanceFilter` from `GenericInstanceFilter`.
- [#399](https://github.com/iTwin/presentation/pull/399): Added validation for `Between` and `Not Between` operator values.

### Patch Changes

- [#405](https://github.com/iTwin/presentation/pull/405): Fixed unique values selector loading unique values of only the first field property.

## 5.0.0-dev.2

### Minor Changes
Expand Down Expand Up @@ -35,12 +53,23 @@ This release brings official React 18 support. Components and hooks provided by

```tsx
function Tree(props) {
const { nodeLoader } = usePresentationTreeNodeLoader({ imodel: props.imodel, ruleset: TREE_RULESET, pagingSize: PAGING_SIZE });
const { nodeLoader } = usePresentationTreeNodeLoader({
imodel: props.imodel,
ruleset: TREE_RULESET,
pagingSize: PAGING_SIZE,
});
const eventHandler = useUnifiedSelectionTreeEventHandler({ nodeLoader });
const treeModel = useTreeModel(nodeLoader.modelSource);

return (
<ControlledTree width={200} height={400} model={treeModel} nodeLoader={nodeLoader} eventsHandler={eventHandler} selectionMode={SelectionMode.Single} />
<ControlledTree
width={200}
height={400}
model={treeModel}
nodeLoader={nodeLoader}
eventsHandler={eventHandler}
selectionMode={SelectionMode.Single}
/>
);
}
```
Expand All @@ -54,15 +83,25 @@ This release brings official React 18 support. Components and hooks provided by
ruleset: TREE_RULESET,
pagingSize: PAGING_SIZE,
eventHandlerFactory: useCallback(
(handlerProps: TreeEventHandlerProps) => new UnifiedSelectionTreeEventHandler({ nodeLoader: handlerProps.nodeLoader }),
(handlerProps: TreeEventHandlerProps) =>
new UnifiedSelectionTreeEventHandler({
nodeLoader: handlerProps.nodeLoader,
}),
[],
),
});
if (!state) {
return null;
}

return <PresentationTree width={200} height={400} state={state} selectionMode={SelectionMode.Single} />;
return (
<PresentationTree
width={200}
height={400}
state={state}
selectionMode={SelectionMode.Single}
/>
);
}
```

Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itwin/presentation-components",
"version": "5.0.0-dev.2",
"version": "5.0.0-dev.3",
"description": "React components based on iTwin.js Presentation library",
"license": "MIT",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/testing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log - @itwin/presentation-testing

## 5.0.0-dev.3

### Patch Changes

- Updated dependencies:
- @itwin/presentation-components@5.0.0-dev.3

## 5.0.0-dev.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itwin/presentation-testing",
"version": "5.0.0-dev.2",
"version": "5.0.0-dev.3",
"description": "Testing utilities for iTwin.js Presentation library",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 96baddd

Please sign in to comment.