@qui/react
2.6.3
May 25th, 2025
{"@qui/base": "^2.39.2","@qui/react": "^2.6.3","@qui/styles": "^2.14.0"}
Highlights
- fix (QCombobox): click events on a filterable combobox input now adjust the cursor position as expected.
2.6.2
May 22nd, 2025
{"@qui/base": "^2.39.1","@qui/react": "^2.6.2","@qui/styles": "^2.14.0"}
Highlights
- fix (QCombobox): the
Home
andEnd
keys move the cursor to the beginning/end of the input field.
2.6.1
February 7th, 2025
{"@qui/base": "^2.37.0","@qui/react": "^2.6.1","@qui/styles": "^2.14.0"}
Highlights
- fix (QPagination): fixed the type of the QRowsPerPageChangeDetails
event
.
2.6.0
January 23rd, 2025
{"@qui/base": "^2.36.0","@qui/react": "^2.6.0","@qui/styles": "^2.14.0"}
Highlights
- feat: updated utility imports from
@qui/base
for readability.
2.5.2
January 12th, 2025
{"@qui/base": "^2.34.2","@qui/react": "^2.5.2","@qui/styles": "^2.14.0"}
Highlights
- fix (QBadge):
border-radius
adjusted to 1px for text and icon variants.
2.5.1
January 12th, 2025
{"@qui/base": "^2.34.1","@qui/react": "^2.5.1","@qui/styles": "^2.14.0"}
Highlights
- fix (QCheckbox): adjusted checkbox border-radius to 1px.
2.5.0
January 10th, 2025
{"@qui/base": "^2.34.0","@qui/react": "^2.5.0","@qui/styles": "^2.14.0"}
Highlights
- feat (QDialog): added
closeOnOutsideClick
prop, defaults totrue
. Set tofalse
to prevent the dialog from closing when the user clicks the content behind it.
2.4.0
January 8th, 2025
{"@qui/base": "^2.33.0","@qui/react": "^2.4.0","@qui/styles": "^2.14.0"}
Highlights
- feat (QStepper): the active step is now indicated to screen readers by
aria-current="step"
. - feat (QStepper): each QStep component is now associated with its label (if present) by
aria-labelledby
. - feat (QStepper): each QStep component is now associated with its description (if present) by
aria-describedby
. - feat (QCollapse): added
innerWrapperProps
to customize props for the element that wraps the children. - feat (QSideNavigationItem): improved accessibility by associating items with labels and descriptions using
aria-label
,aria-labelledby
, andaria-describedby
. - feat (InternalStepContext): introduced internal context for managing stepper step IDs.
- feat (QStepDescription): integrated
descriptionId
management withInternalStepContext
. - feat (QStepLabel): integrated
labelId
management withInternalStepContext
. - fix (QSideNavigation): removed incorrect
role="menu"
from the root element. - fix (QSideNavigationItem): added
div
wrapper element withrole="listitem"
to fix accessibility issues. - fix (QStep): added
role
prop with default value "region" and applied necessary ARIA attributes. - dev: updated test assertions related to changes in
QSideNavigation
component. - dev: removed unnecessary
role="menu"
fromQSideNavigation
component.
2.3.5
January 3rd, 2025
{"@qui/base": "^2.33.0","@qui/react": "^2.3.5","@qui/styles": "^2.14.0"}
Highlights
- fix (QListItem): the label, if provided, is now associated with the root element for improved accessibility.
- fix (QTabs): when a tab preceding the active one is closed, the active tab's index now correctly decreases by one to maintain the proper order.
2.3.4
December 29th, 2024
{"@qui/base": "^2.33.0","@qui/react": "^2.3.4","@qui/styles": "^2.14.0"}
Highlights
- chore (LazyMode): moved internal utilities to
@qui/base
package.
2.3.3
December 27th, 2024
{"@qui/base": "^2.32.2","@qui/react": "^2.3.3","@qui/styles": "^2.14.0"}
Highlights
- fix (QAccordionProps): fixed JSDoc description of the
onExpandedChange
parameters. - fix (QAccordionProps): fixed JSDoc link in the description of the
multiple
prop.
2.3.2
December 23rd, 2024
{"@qui/base": "^2.32.2","@qui/react": "^2.3.2","@qui/styles": "^2.14.0"}
Highlights
- fix (QTabs): fixed tab bar and active tab initial render. The active tab is now properly highlighted on the initial render, including SSR.
2.3.1
December 23rd, 2024
{"@qui/base": "^2.32.2","@qui/react": "^2.3.1","@qui/styles": "^2.14.0"}
Highlights
- fix (QTab): the onMouseDown prop is no longer swallowed.
- fix (QTab): fixed a bug that was causing the
:focus-visible
style to appear on some click events.
2.3.0
December 22nd, 2024
{"@qui/base": "^2.32.2","@qui/react": "^2.3.0","@qui/styles": "^2.14.0"}
Highlights
- feat (QCombobox): enhanced JSDoc comments for various function arguments.
- feat (QDialog): enhanced JSDoc comments for various function arguments.
- feat (QNotification): enhanced JSDoc comments for various function arguments.
- feat (QOverlayPanel): enhanced JSDoc comments for various function arguments.
- feat (QPagination): enhanced JSDoc comments for various function arguments.
- feat (QTextArea): enhanced JSDoc comments for various function arguments.
- feat (QTextInput): enhanced JSDoc comments for various function arguments.
2.2.0
December 22nd, 2024
{"@qui/base": "^2.32.1","@qui/react": "^2.2.0","@qui/styles": "^2.14.0"}
Highlights
- feat (QCombobox): added JSDoc
@param
tags to each on*Change function.
2.1.0
December 20th, 2024
{"@qui/base": "^2.32.1","@qui/react": "^2.1.0","@qui/styles": "^2.14.0"}
Highlights
- feat (QBreadcrumbItem): added automatic id and label association for accessibility.
- fix (QTooltip): added
role="tooltip"
to floating element. - dev (Testing): userEvent imports are now sourced from
@vitest/browser/context
for more reliable event triggers. - dev (Testing): modified
IS_REACT_ACT_ENVIRONMENT
for compatibility with vitest browser mode.
2.0.2
December 16th, 2024
{"@qui/base": "^2.32.1","@qui/react": "^2.0.2","@qui/styles": "^2.14.0"}
Highlights
- fix (dependencies): updated
react-remove-scroll
dependencies for React 19 compat.
2.0.1
December 14th, 2024
{"@qui/base": "^2.32.1","@qui/react": "^2.0.1","@qui/styles": "^2.14.0"}
Highlights
- fix (MutableRefObject): updated imports to RejObject, as MutableRefObject was deprecated in v19.
- fix (QSlide): fixed onEntered prop not providing the
node
reference in the callback. - fix (QSlide): removed
forwardRef
.
2.0.0
December 10th, 2024
{"@qui/base": "^2.32.1","@qui/react": "^2.0.0","@qui/styles": "^2.14.0"}
Highlights
- breaking (React): the minimum required version is now 19.
- breaking (QHeaderLegacy): this component was deprecated in v1.0.0 and has been removed. Migrate to the QHeader component.
- breaking (QWrapBalancer): the component has been removed. Migrate to the text-wrap CSS property.
- chore (refs): removed all instances of
forwardRef
in favor of the new ref prop.
1.9.0
December 9th, 2024
{"@qui/base": "^2.32.1","@qui/react": "^1.9.0","@qui/styles": "^2.14.0"}
Highlights
- feat (QSideNavigation): added
onCollapsedChange
property for controlling thecollapsed
state. - feat (QSideNavigation): added
defaultCollapsed
property for passing the initial uncontrolled value to thecollapsed
state. - deprecation (QWrapBalancer): this component predates the text-wrap CSS property, which accomplishes the same thing and is browser native.
- fix (input styles): the shared input style for hidden inputs, like those on the switch, radio, checkbox, etc., have been modified for better accessibility.
- fix (QAccordionButton): the label wrapper element is no longer invalid (changed to span from div).
- dev (testing): Cypress component tests have been removed in favor of vitest browser tests + testing-library.
- dev (testing): increased code coverage to 91.5%.
1.8.5
November 2nd, 2024
{"@qui/base": "^2.31.1","@qui/react": "^1.8.5","@qui/styles": "^2.14.0"}
Highlights
- fix (various): ESLint fixes to align with updated configuration.
1.8.4
October 22nd, 2024
{"@qui/base": "^2.31.1","@qui/react": "^1.8.4","@qui/styles": "^2.14.0"}
Highlights
- fix (QSideNavigation): removed extra space between the
topNode
and items.
1.8.3
October 22nd, 2024
{"@qui/base": "^2.31.1","@qui/react": "^1.8.3","@qui/styles": "^2.14.0"}
Highlights
- updated
@qui/base
version to bring in Side Nav CSS fixes. - fix (QSideNavigation): Simplified the collapse button implementation and fixed incorrect styles.
- fix (QSideNavigationItem): The
onClick
property from therender
prop now fires as expected.
1.8.2
August 24th, 2024
{"@qui/base": "^2.30.3","@qui/react": "^1.8.2","@qui/styles": "^2.14.0"}
Highlights
- fix (QStepper): removed background color change for step separators.
1.8.1
August 15th, 2024
{"@qui/base": "^2.30.1","@qui/react": "^1.8.1","@qui/styles": "^2.14.0"}
Highlights
- fix (QTextArea): the label style now matches QDS 2.0.
1.8.0
August 8th, 2024
{"@qui/base": "^2.30.0","@qui/react": "^1.8.0","@qui/styles": "^2.14.0"}
Highlights
- feat (QStepper): added 5 new statuses:
aborted
,initializing
,running
,started
, andsuccess
.
1.7.3
July 10th, 2024
{"@qui/base": "^2.28.2","@qui/react": "^1.7.3","@qui/styles": "^2.13.2"}
Highlights
- Loosened the peer dependencies for
@qui
packages.
1.7.2
July 9th, 2024
{"@qui/base": "2.28.1","@qui/react": "1.7.2","@qui/styles": "2.13.1"}
Highlights
- Update dependencies:
@qui/base
1.7.1
July 1st, 2024
{"@qui/base": "2.28.0","@qui/react": "1.7.1","@qui/styles": "2.13.1"}
Highlights
- fix (QCombobox): the
listboxRef
prop is now passed as expected to the listbox element.
1.7.0
June 27th, 2024
{"@qui/base": "2.28.0","@qui/react": "1.7.0","@qui/styles": "2.13.1"}
Highlights
- Update dependencies:
@qui/base
- feat: public interfaces now use the
@public
JSDoc tag instead of the custom@group docs
tag.
1.6.1
June 23rd, 2024
{"@qui/base": "2.27.4","@qui/react": "1.6.1","@qui/styles": "2.13.1"}
Highlights
- Update dependencies:
@qui/base
,@qui/styles
- fix (QHeader): the height has been adjusted down from 61px to 48px to match QDS styles (removed vertical padding).
- fix (QHeader): vertically oriented q-divider separators are now centered with a height of 24px to match QDS styles.
1.6.0
June 16th, 2024
{"@qui/base": "2.27.3","@qui/react": "1.6.0","@qui/styles": "2.13.0"}
Highlights
- Update dependencies:
@qui/styles
- feat: replaced default React import with named imports.
1.5.5
June 12th, 2024
{"@qui/base": "2.27.3","@qui/react": "1.5.5","@qui/styles": "2.12.2"}
Highlights
- Update dependencies:
@qui/base
- fix (QButton/QIconButton): the negative variant's text color has been adjusted to match QDS 2.0 styles.
1.5.4
May 30th, 2024
{"@qui/base": "2.27.2","@qui/react": "1.5.4","@qui/styles": "2.12.2"}
Highlights
- Update dependencies:
@qui/base
- bugfix (QTooltip): default max-width is now 200px.
- bugfix (QTooltip): added missing box-shadow style.
1.5.3
May 30th, 2024
{"@qui/base": "2.27.1","@qui/react": "1.5.3","@qui/styles": "2.12.2"}
Highlights
- bugfix:
lucide-react
peerDependency adjusted to range. instead of static version.
1.5.2
May 30th, 2024
{"@qui/base": "2.27.1","@qui/react": "1.5.2","@qui/styles": "2.12.2"}
Highlights
- Update dependencies:
@qui/base
- bugfix (QNotification):
close-icon
element CSS fixed. - bugfix (QTooltip): styles updated.
- bugfix (QTooltip): arrow is now enabled by default.
- bugfix (QTooltip, QOverlayPanel): the arrow position now aligns relative to the center of the reference element.
1.5.1
May 29th, 2024
{"@qui/base": "2.27.0","@qui/react": "1.5.1","@qui/styles": "2.12.2"}
Highlights
- Update dependencies:
@qui/base
1.5.0
May 27th, 2024
{"@qui/base": "2.26.2","@qui/react": "1.5.0","@qui/styles": "2.12.2"}
Highlights
- chore: updated
@tanstack/react-virtual
dependency to3.5.0
. - feat (QCombobox): added virtualOptions prop for configuring the virtual renderer.
- fix (QCombobox): the
option.disabled
property now styles the element as expected.
1.4.0
May 27th, 2024
{"@qui/base": "2.26.2","@qui/react": "1.4.0","@qui/styles": "2.12.2"}
Highlights
- feat (QCombobox): added the listboxWrapperProps prop for customizing the element that wraps the listbox.
1.3.0
May 27th, 2024
{"@qui/base": "2.26.2","@qui/react": "1.3.0","@qui/styles": "2.12.2"}
Highlights
- feat (QCombobox): added the renderOption prop for custom option rendering.
1.2.2
May 26th, 2024
{"@qui/base": "2.26.2","@qui/react": "1.2.2","@qui/styles": "2.12.2"}
Highlights
- Update dependencies:
@qui/base
,@qui/styles
1.2.1
May 22nd, 2024
{"@qui/base": "2.26.1","@qui/react": "1.2.1","@qui/styles": "2.12.1"}
Highlights
- Update dependencies:
@qui/base
,@qui/styles
1.2.0
May 22nd, 2024
{"@qui/base": "2.26.0","@qui/react": "1.2.0","@qui/styles": "2.12.0"}
Highlights
- Update dependencies:
@qui/base
,@qui/styles
- dev: upgraded vite to v5.
- Changed package type to
module
. - The CommonJS export is now
index.cjs
, and the ESM export is nowindex.js
.
1.1.1
May 16th, 2024
{"@qui/base": "2.25.0","@qui/react": "1.1.1","@qui/styles": "2.11.1"}
Highlights
- fix (QCombobox): fixed a bug that was preventing the text field from being filterable if the No Options label had been clicked.
1.1.0
May 15th, 2024
{"@qui/base": "2.25.0","@qui/react": "1.1.0","@qui/styles": "2.11.1"}
Highlights
- feat (QCombobox): The active option is now highlighted when the combobox is opened.
- feat (QCombobox): When
filterable
istrue
andmultiple
is false, the presence of a value will no longer cause the Combobox to filter out the remaining options. - fix (QMenu): Fixed an issue that was preventing the item's onClick prop (if supplied to the JSX of the
render
prop) from being fired.
1.0.1
May 9th, 2024
{"@qui/base": "2.25.0","@qui/react": "1.0.1","@qui/styles": "2.11.1"}
Highlights
- fix:
@floating-ui/react
is now marked as external in the build process.
1.0.0
May 9th, 2024
{"@qui/base": "2.25.0","@qui/react": "1.0.0","@qui/styles": "2.11.1"}
Highlights
This release features the 1.0 milestone. We've added the remaining QDS components, and reworked a few of our existing components for better DX. At that, we've introduced a few breaking changes.
Header Rework
The QHeader component has been reworked and now features similar composition to components like the Dialog and Stepper. This approach is more intuitive and customizable. Refer to the updated documentation for more details.
- breaking (QHeader): renamed to QHeaderLegacy. This component will be removed in a future update.
Other breaking changes:
- breaking (QOverlayPanel): the
children
prop is now required. - breaking:
@floating-ui/react
has been moved to a peer dependency.
Additions and Fixes
- feat (QCombobox): Added
QComboboxOnOpenChange
type alias. - feat (QCombobox): Added
QComboboxOnInputChange
type alias. - feat (QCombobox): refined some prop comments for clarity.
- feat (QOverlayPanel): child components can now update the panel's
aria-describedby
andaria-labeledby
using context. - fix (QOverlayPanel): the anchor element now receives the correct
aria-*
attributes based on the visibility of the panel. - feat (QOverlayPanel): added
QOverlayPanelOpenChange
type alias. - feat (QOverlayPanel): added
QOverlayPanelState
type alias. - feat (QOverlayPanel): added the
useOverlayPanelContext
hook. This is a utility hook available for child components of the Overlay Panel. - feat (QOverlayPanel): the
children
prop is now available as a render prop. - fix (QInlineAlert): the
className
prop no longer overwrites the base css class.
Docs
- Added the named type alias for many union and function properties.
0.26.2
May 4th, 2024
{"@qui/base": "2.24.0","@qui/react": "0.26.2","@qui/styles": "2.11.1"}
Highlights
- feat (QStepper): simplified the horizontal stepper separator.
0.26.1
April 23rd, 2024
{"@qui/base": "2.23.0","@qui/react": "0.26.1","@qui/styles": "2.11.1"}
Highlights
- fix (QDialogBody): fixed a bug that was preventing the id from applying.
0.26.0
April 15th, 2024
{"@qui/base": "2.23.0","@qui/react": "0.26.0","@qui/styles": "2.11.1"}
Highlights
- feat (QCombobox): added
disableOptionToggle
prop. - fix (QPagination): the rows per page dropdown will no longer reset if the selected option is selected again.
0.25.0
April 12th, 2024
{"@qui/base": "2.23.0","@qui/react": "0.25.0","@qui/styles": "2.11.1"}
Highlights
- feat (QDialog): the
QDialogHeader
andQDialogBody
ID's are associated with therole=dialog
element for ARIA conformance. - feat (QDialog): the dialog content's default element has been changed from
div
tosection
. - feat (QDialog): the dialog header's default element has been changed from
div
toh2
.
0.24.3
April 9th, 2024
{"@qui/base": "2.22.1","@qui/react": "0.24.3","@qui/styles": "2.11.1"}
Highlights
- Update dependencies:
@qui/base
0.24.2
April 9th, 2024
{"@qui/base": "2.22.0","@qui/react": "0.24.2","@qui/styles": "2.11.1"}
Highlights
- Moved internal
DescendantsManager
to@qui/base
.
0.24.1
April 5th, 2024
{"@qui/base": "2.21.0","@qui/react": "0.24.1","@qui/styles": "2.11.1"}
Highlights
- Update dependencies:
@qui/base
,@qui/styles
.
0.24.0
April 4th, 2024
{"@qui/base": "2.20.0","@qui/react": "0.24.0","@qui/styles": "2.11.0"}
Highlights
- feat (QCombobox): added
role='alert'
to the error element. - feat (QCombobox): added
aria-errormessage
attribute to input element whenerror
is present. - feat (QList): the role prop now defaults to
list
. - feat (QListItem): the role prop now defaults to
listitem
. - feat (QMenu): added
role
prop for customizing the role of the element that wraps the menu items. Defaults tomenu
. - feat (QMenu): the
aria-label
andaria-labelledby
props are now forwarded to the element that wraps the menu items. - fix (QMenu): fixed arrow roving for inline menus.
- fix (QMenu): inline menu tabIndex is now -1 for every
menuitem
except for the firstmenuitem
. - feat (QMenuItem): added
role
property for customizing the role. Defaults tomenuitem
. - feat (QRadioGroup): added
role
prop. Defaults toradiogroup
. - fix (QTextArea):
aria-describedby
now refers to the error element iferror
is present. - feat (QTextArea): added
aria-errormessage
attribute to input element whenerror
is present. - fix (QTextInput):
aria-describedby
now refers to the error element iferror
is present. - feat (QTextInput): added
aria-errormessage
attribute to input element whenerror
is present.
0.23.1
March 29th, 2024
{"@qui/base": "2.19.2","@qui/react": "0.23.1","@qui/styles": "2.10.1"}
Highlights
- Fixed pre/post publish scripts.
0.23.0
March 29th, 2024
{"@qui/base": "2.19.2","@qui/react": "0.23.0","@qui/styles": "2.10.1"}
Highlights
- feat (QWrapBalancer): added component. Still needs docs.
0.22.0
March 26th, 2024
{"@qui/base": "2.19.1","@qui/react": "0.22.0","@qui/styles": "2.10.1"}
Highlights
- feat (QSkeleton): added component.
0.21.2
March 26th, 2024
{"@qui/base": "2.19.0","@qui/react": "0.21.2","@qui/styles": "2.10.1"}
Highlights
- fix (QCombobox): Fixed a rare bug that was preventing the combobox value from updating in response to asynchronous value changes.
0.21.1
March 20th, 2024
{"@qui/base": "2.19.0","@qui/react": "0.21.1","@qui/styles": "2.10.1"}
Highlights
- fix (QCombobox): The clear value button is now tabbable.
- fix (QTextInput): The clear value button is no longer focusable if the input is disabled.
0.21.0
March 19th, 2024
{"@qui/base": "2.19.0","@qui/react": "0.21.0","@qui/styles": "2.10.1"}
Highlights
- feat (QCombobox): added virtual rendering support, enabled via the
virtual
input. - feat (QCombobox): added the
listboxProps
input for passing props to the listbox element that wraps the options. - feat (QCombobox): added the
listboxRef
input for passing a ref to the listbox element that wraps the options. - feat (QCombobox): the
options
prop can now be an array of strings.- the
optionLabel
prop is no longer required unless an option is provided as an object.
- the
0.20.1
March 14th, 2024
{"@qui/base": "2.18.1","@qui/react": "0.20.1","@qui/styles": "2.10.1"}
Highlights
- fix (QCollapse): no longer emits
<style>
warning.
0.20.0
March 14th, 2024
{"@qui/base": "2.18.1","@qui/react": "0.20.0","@qui/styles": "2.10.1"}
Highlights
- feat: Every component has been given a
displayName
for enhanced debugging. - fix: Every polymorphic component now returns
ReactNode
instead ofReactElement | null
. This change fixes type incompatibilities that were introduced from a more recent version of the@types/react
package. - feat: the
IconOrElement
type has been updated fromJSX.Element | LucideIcon
toReactNode | LucideIcon
. - feat (QHeaderNavItem): the component is now polymorphic.
- feat (QMenu): the component is now polymorphic.
0.19.2
March 11th, 2024
{"@qui/base": "2.18.1","@qui/react": "0.19.2","@qui/styles": "2.10.1"}
Highlights
- Fixed ESLint errors from the prettier v3 update.
0.19.1
March 5th, 2024
{"@qui/base": "2.18.0","@qui/react": "0.19.1","@qui/styles": "2.10.0"}
Highlights
@qui/base
update: added Skeleton styles and utility classes.
0.19.0
March 4th, 2024
{"@qui/base": "2.17.1","@qui/react": "0.19.0","@qui/styles": "2.9.0"}
Highlights
- Removed
devDependencies
andscripts
from the publishedpackage.json
.
0.18.0
March 3rd, 2024
{"@qui/base": "2.17.1","@qui/react": "0.18.0","@qui/styles": "2.9.0"}
Highlights
- fix (QDialogTrigger): no longer adds the
aria-expanded
attribute. - fix (QButton): replaced
aria-selected
attribute witharia-checked
for button group buttons. - feat (QButton): added
role='checkbox'
to button group buttons for better accessibility. - feat (QBreadcrumbs): added default
aria-label
. - fix (QCombobox): the
error
message now renders with the correct aria attribute. - fix (QCombobox): the listbox now contains the appropriate
aria-*
attributes and role. - fix (QMenu): the menu now has the correct aria role (menu).
- fix (QMenu): the listbox now has the correct
aria-*
attributes. - fix (QMenuItem): the menu items now have the correct aria role (menuitem).
- feat (QPagination): the
rowsPerPage
dropdown now has an accessible label. - feat (QProgressBar): updated docs with recommended accessibility guidelines.
- feat (QProgressBar): added
aria-label
prop forwarding to the progress element. - feat (QProgressBar): added
role
prop forwarding to the progress element. This defaults toprogressbar
. - feat (QProgressCircle): added
aria-label
andaria-labelledby
prop forwarding to the progress element. - feat (QProgressCircle): updated docs with recommended accessibility guidelines.
- feat (QSideNavigationItem): added the
aria-label
property. Use this to provide an accessible label to the item. - fix (QTextInput): the "clear value" button now has an accessible label.
- fix (QTextInput): the
error
message now renders with the correct aria attribute. - fix (QTextArea): the
error
message now renders with the correct aria attribute.
0.17.0
February 29th, 2024
{"@qui/base": "2.17.0","@qui/react": "0.17.0","@qui/styles": "2.9.0"}
Highlights
- feat (QCard): added the QCard component.
- feat (QAvatar): the
icon
prop can now be supplied as a ReactNode. - feat: Removed brackets for simple string properties.
- fix (QCombobox): clicking the scrollbar will no longer close the pop-up.
- Updated
@qui/base
with new card styles. - Updated source code to align with
react/jsx-curly-brace-presence
ESLint rule update.
0.16.2
February 26th, 2024
{"@qui/base": "2.16.2","@qui/react": "0.16.2","@qui/styles": "2.8.0"}
Highlights
- @qui/base update.
- Side Navigation fixes and Accordion background customization.
- Stepper Content CSS adjustment.
@qui/styles
update: Added--q-accordion-background
variable.
0.16.1
February 26th, 2024
{"@qui/base": "2.16.1","@qui/react": "0.16.1","@qui/styles": "2.7.0"}
Highlights
- Fixed the font of the Stepper's counter. The intended font variable is now applied as expected.
0.16.0
February 22nd, 2024
{"@qui/base": "2.16.0","@qui/react": "0.16.0","@qui/styles": "2.7.0"}
Highlights
- Added the ability to supply both an
icon
and text to the Badge component whenkind
istext
. Previously, these were only available independently.
0.15.1
February 15th, 2024
{"@qui/base": "2.15.1","@qui/react": "0.15.1","@qui/styles": "2.7.0"}
Highlights
- QDialogCloseButton
- The
className
prop will now be merged into the element's classes instead of overwriting the existingclassName
.
- The
- QDialogContent
- The
contentContainerProps.className
property will now be merged into the content container's classes instead of overwriting the existingclassName
.
- The
0.15.0
February 9th, 2024
{"@qui/base": "2.15.0","@qui/react": "0.15.0","@qui/styles": "2.6.0"}
Highlights
- Added the QStepper component and supporting subcomponents.
0.14.1
February 6th, 2024
{"@qui/base": "2.14.2","@qui/react": "0.14.1","@qui/styles": "2.5.0"}
Highlights
- Fixed every JSDoc
@see
tag. These should now link properly in VSCode and WebStorm.
0.14.0
February 4th, 2024
{"@qui/base": "2.14.1","@qui/react": "0.14.0","@qui/styles": "2.5.0"}
Highlights
- Added the QAccordion component.
Breaking Changes
- The signature of the QSideNavigation's onExpandedChange has changed: the updated state is now the first parameter. The other parameters have been reordered as a result of this change. This change makes it easier to use the callback with state setters, namely
useState
.
0.13.1
February 2nd, 2024
{"@qui/base": "2.14.0","@qui/react": "0.13.1","@qui/styles": "2.5.0"}
Highlights
- The
QNotificationProviderProps
interface is now exported and documented. - Added a
notificationProviderProps
prop to the QuiRoot component for configuring the root QNotificationProvider. - The QCombobox now accepts an
autoComplete
prop which defaults to'off'
.
0.13.0
February 1st, 2024
{"@qui/react": "0.13.0","@qui/base": "2.14.0","@qui/styles": "2.5.0"}
Highlights
- Added the QButtonGroup component.
QTab
: Added ahideSeparator
prop. Iftrue
, the separator element between tabs will not be shown.QTabs
: The focused tab index will now default to the controlled tab index in controlled mode.- Added a
useDebounced
hook. - Removed unnecessary paragraph from the shared
style
prop JSDoc comment. - The QCheckbox onChange prop now accepts a second parameter:
checked
, which will have the value ofevent.target.checked
. It is a more convenient shorthand for the aforementioned.
0.12.3
January 29th, 2024
{"@qui/react": "0.12.3","@qui/base": "2.13.1","@qui/styles": "2.4.1"}
Highlights
- Fixed a bug with the Overlay Panel's Anchor as Ref strategy that was causing unnecessary re-renders in specific DOM contexts.
0.12.2
January 26th, 2024
{"@qui/react": "0.12.2","@qui/base": "2.13.1","@qui/styles": "2.4.1"}
Highlights
- @qui/base CSS updates for Firefox compatibility.
0.12.1
January 20th, 2024
{"@qui/react": "0.12.1","@qui/base": "2.13.0","@qui/styles": "2.4.1"}
Highlights
- Fixed a bug that was causing the QCombobox dropdown panel to open on the same click event that triggered the close of the panel. This bug was only triggering when the padding of the combobox container was clicked (i.e. not the input field).
0.12.0
January 20th, 2024
{"@qui/react": "0.12.0","@qui/base": "2.13.0","@qui/styles": "2.4.1"}
Highlights
- Added the QPagination component.
- Added TSDoc tags to several props interfaces to enable linking from the properties tables.
- QCombobox
- Added the
inputProps
prop to the component. Use with caution, as this will override the props by the same name that are spread to the component's input element. - The QCombobox now uses a "ghost" label matching the input value to determine the size of the input container.
- Removed the
minWidth
style from the root of the component. This was previously set to120px
. The user can manually adjust the width of the root element by passing theclassName
orstyle
props. - Fixed a bug that was preventing the Combobox's input value from updating when
multiple=false
and a controlled value changed.
- Added the
0.11.1
January 18th, 2024
{"@qui/react": "0.11.1","@qui/base": "2.12.0","@qui/styles": "2.4.0"}
Highlights
- Fixed a bug that was preventing the QCollapse component's nested class selectors from registering in the Next.js 13+ app directory.
- Added the
"use client"
directive to the emitted bundle for Next.js 13+ support.
0.11.0
January 9th, 2024
{"@qui/react": "0.11.0","@qui/base": "2.12.0","@qui/styles": "2.4.0"}
Highlights
- Removed clsx from
peerDependencies
. - clsx is now imported from
@qui/base
. - The border color of text and number inputs will no longer flash on initial load.
0.10.0
January 4th, 2024
{"@qui/react": "0.10.0","@qui/base": "2.11.0","@qui/styles": "2.4.0"}
Highlights
- Added the
QList
andQListItem
components.
0.9.3
December 21st, 2023
{"@qui/react": "0.9.3","@qui/base": "2.10.2","@qui/styles": "2.4.0"}
0.9.2
December 19th, 2023
{"@qui/react": "0.9.2","@qui/base": "2.10.2","@qui/styles": "2.4.0"}
Bug Fixes
- Fixed an issue with the Progress Bar types that was causing the 'react' reference type to be included with the
@qui/base
package.
0.9.1
December 19th, 2023
{"@qui/react": "0.9.1","@qui/base": "2.10.1","@qui/styles": "2.4.0"}
Changes
- Breadcrumb separators are no longer nested as children of each breadcrumb item. This was causing them to be clickable.
- Adjusted the tabIndex of each breadcrumb item. Items now only have one element with a tab index.
- CSS transitions will now only apply on interaction for the following components:
- Button
- Icon Button
- Link
- Switch
- Tag
0.9.0
December 19th, 2023
{"@qui/base": "2.10.0","@qui/react": "0.9.0","@qui/styles": "2.4.0"}
Highlights
- Added the Overlay Panel component.
- Floating components now emit a third parameter in the
onOpenChange
prop, which describes why the panel was opened or closed (e.g. escape-key, click, focus, hover). This enhancement applies to the following components:- QCombobox (already emitted this parameter in some scenarios, now emits in more)
- QDialog
- QMenu
- QOverlayPanel
- QTooltip
- QNotification
- Removed the
iconSize
prop. Theicon
prop has been enhanced with the ability to render a ReactNode. Should the size need customization, the user can supply aQIcon
component instead with a custom size. This interface is consistent with how we handle icons in our other components.
- Removed the
Bug fixes
- Fixed a bug that was preventing the QCombobox value from applying to the input field when a controlled value was provided on the first render of the component.
- Corrected the switch layout in full width mode.
- Fixed a bug that was preventing the
QBreadcrumbs
items from aligning vertically when theicon
prop was provided.
Other Changes
- Updated
@floating-ui/react
to v0.26.4. - QBreadcrumbs
- The
QBreadcrumbItem
component is no longer exported by the library. The functionality of theQBreadcrumbs
component remains unchanged: items are still supplied via theitems
prop. - Added a
listItemRender
prop to customize the element that wraps each breadcrumb item.
- The
- QCombobox
- The
onChange
prop's value type now adjusts based on the current value ofmultiple
. - Added the
inputRef
prop for passing a ref to the underlying<input>
element.
- The
- QDialog
- Added the
restoreFocus
prop for customizing the focus restoration behavior when the dialog is closed.
- Added the
- QDialogContent
- Added the
wrapperProps
prop: use to provide props to the Dialog's wrapper element. - Added the
contentContainetProps
props: use to provide props to the Dialog's content container element.
- Added the
- Improved the
QNotification
type documentation.
0.8.1
November 20th, 2023
{"@qui/base": "2.9.5","@qui/react": "0.8.1","@qui/styles": "2.3.1"}
Highlights
- CSS fix for q-side-navigation container while collapsed.
0.8.0
November 20th, 2023
{"@qui/base": "2.9.4","@qui/react": "0.8.0","@qui/styles": "2.3.1"}
Highlights
- Added the
QHeader
andQSideNavigation
components. - Narrowed the QCombobox Option generic type parameter for clarity.
- Updated typedoc parser.
- Type documentation is now more accurate.
- Improved generics resolver.
0.7.0
November 16th, 2023
{"@qui/react": "0.7.0","@qui/base": "2.9.3","@qui/styles": "2.3.1"}
Highlights
- Added the
QBreadcrumbs
component.
0.6.0
November 14th, 2023
{"@qui/react": "0.6.0","@qui/base": "2.9.2","@qui/styles": "2.3.1"}
Highlights
- Added the
QProgressBar
component.
0.5.1
November 3rd, 2023
{"@qui/base": "2.9.0","@qui/react": "0.5.1","@qui/styles": "2.3.1"}
Highlights
- Fixed a bug that was preventing the QCombobox dropdown from closing when the user pressed the
Tab
key.
0.5.0
October 30th, 2023
{"@qui/react": "0.5.0","@qui/base": "2.8.0","@qui/styles": "2.3.0"}
Highlights
Added the following components:
- QTabs
- QTextArea
0.4.1
October 6th, 2023
Starting with this release, version information will be displayed for each package:
{"@qui/react": "0.4.1","@qui/base": "2.7.0","@qui/styles": "2.3.0"}
Highlights
- JSDoc type improvements.
0.4.0
October 3rd, 2023
New Components
- QCombobox
Changes
- QMenu
- Changed the name of the
autoFocus
prop toautoHighlight
to avoid a conflict between the built-inautoFocus
prop on input elements.
- Changed the name of the
- QRadioGroup
- The
value
has been changed from astring
to a generic type that extendsstring
. This type has also been applied to theonChange
prop.
- The
import {useState} from "react"import {QRadioContext, QRadio} from "@qui/react"function Example() {const [value, setValue] = useState<"a" | "b" | "c">("a")return (<QRadioContext// The compiler now detects that `value`// has the union type of 'a' | 'b' | 'c'onChange={(event, value) => {setValue(value)}}value={value}><QRadio label={"A"} value={"a"} /><QRadio label={"B"} value={"b"} /><QRadio label={"C"} value={"c"} /></QRadioContext>)}
- QSwitch
- The label's className is now being applied as expected. The font size should now match the QDS designs.
- QTag
- Changed the
readonly
prop toreadOnly
for consistency with the React prop by the same name and our other input components.
- Changed the
- Removed the
defaultValue
warning fromuseControlledState
. useAccessibleInput
now omits labels for unsupplied properties, e.g. if the consumer doesn't supply anerror
, theerrorId
parameter will not be returned.- Added keyboard events table to @qui/react-docs-shared package for documenting keyboard events.
- The React docs site's header is now
sticky
, changed fromfixed
. - The QDialog component's backdrop now has a z-index of 990.
- Added utility hooks:
usePreviousProps
useEventCallback
0.3.0
September 21st, 2023
- Added the Progress Circle component.
- Minor adjustments were made to the interfaces of existing components.
0.2.0
- Added the following components:
- Dialog
- Device Card
- Inline Alert
- Menu
0.1.3
Patch Changes
- Updated dependencies
- @qui/base@2.4.1
0.1.2
0.1.1
September 10th, 2023
- Updated @qui/base version.
0.1.0
September 10th, 2023
Testing the first initial release of the React library.