Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release packages #2103

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Release packages #2103

merged 2 commits into from
Jun 26, 2024

Conversation

imodeljs-admin
Copy link
Collaborator

@imodeljs-admin imodeljs-admin commented Jun 12, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

@itwin/itwinui-react@3.12.0

Minor Changes

  • #2048: Added a new defaultValue prop to ComboBox. This is useful when you don't want to maintain your own state but still want to control the initial value.

  • #2076: Added open popover styling to Button (and IconButton). When an associated Popover or DropdownMenu is open, the button will now get a subtle visual indication.

  • #2111: Added the ability to pass arbitrary DOM props to TreeNode.

  • #2107: A new meta object is exported, containing meta information about the package.

    import { meta } from '@itwin/itwinui-react';
    
    console.log(meta.version, meta.module); // 3.12.0, ESM
  • #2048: Fixed a bug in ComboBox where the controlled state (value prop) was not given priority over the uncontrolled state. As a result:

    • Setting the default value using value={myDefaultValue} will no longer work. Instead, use the new defaultValue prop.
    • Resetting the value using value={null} will now force the ComboBox to be in controlled mode. If you want to reset the value but be in uncontrolled mode, then use value={undefined} instead.
  • #2101: Passing an IconButton to Tile.QuickAction and Tile.TypeIndicator is now deprecated. Use Tile.IconButton instead.

  • #2021: In menu-like components (DropdownMenu, SplitButton, Table's column manager), using the mouse to operate the menu will no longer move focus like it does when using the keyboard.

  • #2021: MenuItem's tabIndex now is 0 when it's selected and -1 when it's not. Additionally, MenuItem passed inside most menu type components (e.g. DropdownMenu, SplitButton, Table's column manager, etc.) have roving tabIndex.

  • Dependency changes:

    • #2116: Bumped the minimum required version of @floating-ui/react to 0.26.18.
    • #2100: Replaced dependency on tslib with @swc/helpers. This is used mainly by the CommonJS build for interop reasons.

Patch Changes

  • #2117: Fixed an error in Select caused by updating @floating-ui/react to 0.26.18.
  • #2101: Fixed a small visual bug in Tile.IconButton where the hover state wasn't working.
  • #2021: MenuItem now renders as a <button> instead of a <div>.
  • #2113: Fixed an issue where a portaled Popover was sometimes showing up in the wrong window during the first render.
  • #2048: Fixed a bug in ComboBox where the isSelected passed to itemRenderer was always false whenever multiple was true.

Build Output Changes

  • #2102: The build output is now generated using SWC and uses the new JSX transform instead of React.createElement.
  • #2118: Type declarations are now generated using TypeScript 5.5 with "module": "NodeNext".
  • #2118: The "exports" fallback for /react-table types is now handled using typesVersions.
  • #2100: The build output is now (again) formatted using prettier for easier debugging.
  • #2100: All code comments have been removed from the build output.

@imodeljs-admin imodeljs-admin requested review from a team as code owners June 12, 2024 21:21
@imodeljs-admin imodeljs-admin requested review from mayank99 and Ben-Pusey-Bentley and removed request for a team June 12, 2024 21:21
@mayank99 mayank99 marked this pull request as draft June 12, 2024 21:22
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch 5 times, most recently from 4493021 to 75a4041 Compare June 20, 2024 16:58
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch 7 times, most recently from 5be5427 to 0777f06 Compare June 26, 2024 13:52
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch from 0777f06 to c91cbe5 Compare June 26, 2024 14:14
@mayank99 mayank99 marked this pull request as ready for review June 26, 2024 14:24
@mayank99 mayank99 merged commit c700b09 into main Jun 26, 2024
13 checks passed
@mayank99 mayank99 deleted the changeset-release/main branch June 26, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants