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 #2241

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Release packages #2241

merged 2 commits into from
Sep 24, 2024

Conversation

imodeljs-admin
Copy link
Collaborator

@imodeljs-admin imodeljs-admin commented Sep 16, 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.

Releases

@itwin/[email protected]

Minor Changes

  • #2233: Added a new dropdownMenuProps prop to SplitButton for additional control over the menu (e.g. disable the hide middleware).

  • #2259: ComboBox and Select now allow customizing the portal behavior of the floating listbox.

    • To customize ComboBox portaling behavior, use dropdownMenuProps.portal.
    • To customize Select portaling behavior, use popoverProps.portal.
    Example

    To turn off the default portaling behavior, use portal: false.

    <ComboBox
      options={[]}
      dropdownMenuProps={{ portal: false }}
    />
    <Select
      options={[]}
      popoverProps={{ portal: false }}
    />
  • #2233: Popover now enables the hide middleware to hide the floating content when the trigger is hidden.

    • This also affects other popover-like components (e.g. Select, ComboBox, DropdownMenu, SplitButton).
    • If the floating content gets hidden even when it shouldn't (e.g. due to some custom styles interfering with the trigger's hide detection), consider disabling the hide middleware.
  • #2238: Passing styleType="borderless" to SearchBox.ExpandButton now works as expected. This is because collapsed SearchBox will now hide its border and background in favor of the ones from SearchBox.ExpandButton.

    Example
    <SearchBox expandable>
      <SearchBox.CollapsedState>
    -     <SearchBox.ExpandButton/>
    +     <SearchBox.ExpandButton styleType="borderless"/>
      </SearchBox.CollapsedState>
      <SearchBox.ExpandedState>…</SearchBox.ExpandedState>
    </SearchBox>
  • #2211: Added the ability to have custom props for each sub-component of ColorPicker.
    New props added associated with each sub-component are:

    • ColorBuilder: colorFieldProps, colorDotProps, opacitySliderProps, and hueSliderProps.
    • ColorInputPanel: panelLabelProps, colorInputContainerProps, inputFieldsGroupProps and swapColorFormatButtonProps.
    • ColorPalette: labelProps, and paletteContainerProps.

Patch Changes

  • #2239: Fixed scrollToRow in un-virtualized Table. In virtualized Table, scrollToRow now scrolls to the top for consistent behavior.
  • #2233: Popover's middleware.hide prop is now respected.
  • #2208: Fixed broken subComponent when enabling virtualization in Table.
  • #2208: Table's animation to show and hide its subComponent is now removed.
  • #2252: Fixed an issue where some components (e.g. VisuallyHidden inside ProgressRadial) were losing their styles when reparented into a different window.

@imodeljs-admin imodeljs-admin requested a review from a team as a code owner September 16, 2024 17:32
@imodeljs-admin imodeljs-admin requested review from mayank99 and smmr-dn and removed request for a team September 16, 2024 17:32
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch 2 times, most recently from 425bdc8 to 1780c21 Compare September 16, 2024 19:54
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch 16 times, most recently from dd0f797 to e1cf5d4 Compare September 23, 2024 21:11
@mayank99 mayank99 merged commit 521ec80 into main Sep 24, 2024
14 of 15 checks passed
@mayank99 mayank99 deleted the changeset-release/main branch September 24, 2024 15:00
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