- [feature] Add
tooltipContentprop toCopyButtonfor customizing the tooltip text andaria-label. Defaults to'Copy'.
- [feature] Add support for React 19 as a peer dependency
- [feature] Upgrade all Radix UI packages to latest versions. Components behave the same way in the browser, but unit tests might need to be updated:
role="tooltip"changed torole="dialog"- known issue with @radix-ui/react-portal. Instead of relying on
role="dialog", just check for the content of the portal instead
- [feature] Add optional
accessibleDescriptiontoDrawerandModalprops. Defaults toaccessibleTitleif not provided. - [fix] Fix React key warning in
ControlRangetooltip rendering
- [fix] Remove
exportsfrompackage.jsonto fix the issue when importing this package
- [feature] Add theme props to
Toast
- [fix]
package.jsoninstructions to fix Vite module resolution errors.
- [feature] Add keyboard format utilities
- [bug] Bad published build of pkg
- [feature] Add
tooltipoption to range slider
- [feature] Restyle Tab
- [fix] Fixes clickOutsideCloses property in Popover component
- [feature] Add a new component
Drawer
- [feature] Support adding classes to Modal overlay and content
- [feature] support configuring z-index for Popover component
- [fix] change default z-index value of Modal component to auto
- [feature] support configuring z-index for Modal component
- [feature] add prop exitOnUnderlayClicked to Modal component
- [feature] add possibility to pass onCopy to Copiable component
- [feature] support onOpenChange handler for contextMenu
- [feature] upgrade @mapbox/mbx-assembly to 1.6.0
- [feature] upgrade to react 18
- [feature] add customizable select UI component #218
- [feature] add additional style props to control-range for tighter styling control #217
- [fix] replace calls to getWindow with a simpler check #216
- [feature] add
marginprop toModal(compensates for new fixed header in Mapbox docs) #214
- [bug]
MinimumDurationLoadermounts the underlying components twice ifminDurationis reached beforeisLoadedis set totrue.
- [fix] Incorrect directory was published to npm as 2.6.0
- [feature] Add optional children prop to control-file #212
- [fix] Improve contrast of tooltips #208
- [feature] Add Context menu component
- [chore] Upgraded radix-ui packages
- [feature] add
tooltipTextSizeoption to copy-button. - [fix] rename
themeTooltipoption totooltipColoringto match convention.
- [bug] Fix layout bug introduced in copy-button changes where wrapper was given
inline-block
- [feature] add optional
childrenandthemeTooltipprops to copy-button. #205 - [bug] Modify
propTypefordisplayValuefromstringtonode.
- [feature] Support JSX from
displayLabelprop in control-file component
- [fix] Incorrect directory was published to npm as 2.1.3
- [fix] Fixes a crash when attempting server-side rendering with the
CopyButtoncomponent. #203
- [fix] Add
events-noneto outer container andevents-allto inner container to resolve activities around the Toast component.
- [fix] Remove
childrenprop from Toast component.
- [feature] Add Toast component.
- [fix] Support
disabledoption in modal actions. #199
- [fix] added new styling for ControlToggleGroup component that is consistent with actual usage.
- [breaking] props changes to
src/components/control-rangevalueis now accepts an array of numbers
- [feature]
src/components/control-rangenow supports multi range with an additionalthemeControlRangeActivefor providing classnames to the active member of the range track. - [fix]
gapprop insrc/components/icon-textwhich was not in use. - [breaking] Removed
isSupportedcheck insrc/components/copy-button - [breaking] props changes to
src/components/copy-button- Dropped
textEl
- Dropped
- [breaking] props changes to
src/components/control-file- Dropped
label - Dropped
themeLabel - Dropped
aside - Renamed
initialDisplayValuetodisplayValue - Dropped 'themeControlFileClear'
- Dropped
- [breaking] Removed clear implementation in
src/components/control-file. Just a button element that triggers is implemented. - [breaking] Deletes
src/components/popover-trigger - [breaking] Rewrites
src/components/popoveras a functional component. π¨ Prop changes:- Dropped
getAnchorElement. Popover now behaves like Tooltip where the Popover is wrapped around the anchor, and acontentprop provides the popover contents. - Added
content - Dropped
receiveFocus - Dropped
trapFocus - Dropped
ignoreClickWithinElement - Dropped
getContainingElement - Dropped
onElement - Dropped
zindex - Dropped
observeSize - Dropped
containWithinViewport
- Dropped
- [breaking] Deletes
src/components/tab-list- tab-list component was not used anywhere according to our audit and radix does not have support for such mobile functionality (such as displaying a popover for the rest of the tabs that do not fit on mobile)
- [breaking] Deletes
src/components/underline-tabs- underline-tabs can be replaced with tabs component, except the new tabs component cannot handle links. In order to take full advantage of Radix out of the box functionality related to key bindings we need to let radix generate the buttons for tabs.
- new tabs component also supports adding the tab content which will be rendered automatically when the tab changes
- [feature] Creates new component
src/components/tabsand usesTabsfrom Radix. - [breaking] Removed the following components that have been underutilized/no longer worth maintaining: Badge, ControlCard, ControlLegend, GoLink, Heading, and NewTabLink.
- [breaking] Rewrites
src/components/modalas a functional component.and usesDialogPrimitivefrom Radix. π¨ Prop changes:- Dropped
alert - Dropped
focusTrapPausedwhich isn't exposed as an option from Radix
- Dropped
- [breaking] Rewrites
src/components/butttonas a functional component. π¨ Prop changes:- Dropped
componentwhich accepted a component or a string equally a DOM value. - Renamed
discouragingtotertiary
- Dropped
- [breaking] Rewrites
src/components/tooltipas a functional component.and usesTooltipPrimitivefrom Radix. π¨ Prop changes:- Dropped
triggerprops. This is no longer needed for Radix and will need to be considered when porting tooltips using the older version. - Dropped
respondsToClickwhich triggers a tooltip on Click. Radix doesn't support it as it believes a tooltip shouldn't have this native behavior and I think we can get away without it - encouraging consumers to use a popup instead. - Dropped
alignmenthas valuesstartandendand droppedtop,bottom,left,right. - Dropped
blockI'm not seeing strong usage of this property and I believe its a tradeoff we can make - Dropped
testIdPassing custom data attributes to the Radix tooltip isn't supported. There are other good ways to test the presence of tooltip contents like:screen.getByRole('tooltip')or by wrapping a child prop in a data test attribute.
- Dropped
- [breaking] Rewrites
src/components/control-switchas a functional component.and usesswtichfrom Radix. π¨ Prop changes:- Dropped
optional: Additional text like "optional" should be applied by the consumer using the label prop. - Dropped
initialValueandvalidatorwhich were previously provided by the form component.
- Dropped
- [breaking] Rewrites
src/components/iconas a functional component and usesaccessible-iconfrom Radix as an internal primitive. - [breaking] Rewrites
src/components/control-wrapperas a functional component. - [feature] Introduces TypeScript to the source code and converts:
src/docs/*src/components/utils/*src/components/icon/*src/components/control-wrapper/*
- [feature] Adds React Testing Library to newly ported components
- [internal] Drop
src/test-cases-appfrom the development workflow of this project.
- [feature] Added rules for password validation: password must have one uppercase, one lowercase, one special char, one digit, and at least 8 chars long.
-
[feature] Remove unsafe lifecycle methods that cause React 16+ warnings.
-
π¨ [breaking change] Drop support for React 15.
-
π¨ [breaking change] Remove ControlDate component.
-
π¨ [breaking change] Remove
validateStartDateBeforeEndDate. -
π¨ [breaking change] Remove
onContentRenderproperty from MinimumDurationLoader. -
π¨ [breaking change] Remove
errorTooltipThemeanderrorTooltipBackgroundColorproperties from the ControlText component. These props can be specified inpopoverPropsinstead asbackgroundColorandthemePopover. -
[fix] Watch PopoverPosition DOM children for size changes to reposition.
-
[fix] Don't show PopoverTrigger (showBecauseClick) if clicked element is inside the container.
-
[chore] Remove need for
xtenddependency.
- [feature] Add new error popover style, improve warning popover style
- [feature] Trap events in modals by default
- [fix] Fix coloring values for popover
- [fix] rename unsafe lifecycle methods to eliminate warnings under React 16
- [feature] Update dependencies and add browserslist.
- [breaking] Migrate to Assembly 1+
- [feature] Add
inlineprop toIconTextcomponent. - [fix] Only render "More +" in
TabListwhen needed.
- [fix] Initialize
Clipboardin CopyButton after it is destroyed so it can be copied again.
- [feature] Allow ControlText
valueto accept a number or a string. - [fix] Destroy
Clipboardafter copy in CopyButton to prevent exaggerated scroll length in scrolled code snippets.
- [feature] Add
aria-labelto all components, test cases, and examples with buttons.
- [fix] Allow TabList label to accept a node.
- [feature] Allow the CopyButton and Copiable components to pass through the
focusTrapPausedprop.
- [feature] Update
react-aria-modalto v4. - [feature] Allow the modal component to pass through the
focusTrapPausedprop.
- [fix] Evaluate parentNode before removeChild in page-loading-indicator component.
- [feature] Add
zIndexoption to Popover component.
- [fix] fix issue that prevented popovers from recognizing the hasPointer prop.
- [feature] Add Badge component.
- π¨ [breaking change] Remove PageHeader component.
- π¨ [breaking change] Remove FooterLegalStrip component.
- [feature] Add
zIndexoption to Popover component. - [fix] Update build script for Babel 7 to fix broken v0.4.0 publication.
- [feature] Add PageHeader component.
- [feature] Add FooterLegalStrip component.
- [feature] Add ControlAlert component.
- [feature] Add ControlCard component.
- [feature] Add GoLink component.
- [feature] Add NewTabLink component.
- ChevronousText
- π¨ [breaking change] Remove
themeIconprop. - [feature] Add
iconSizeprop. - [feature] Add
beforeIconprop.
- π¨ [breaking change] Remove
- Icon
- [feature] Allow
sizeprop to be a number or string .
- [feature] Allow
- [fix] Put
ControlFile's icon and text on the same line.
- [fix] Fix the release. Don't use 0.3.0: use 0.3.1.
- Copiable
- [fix] Fix layout for server-side rendering.
- π¨ [breaking change] Remove IconButton component.
- [feature] Add Heading component.
- [feature] Add Button component.
- [feature] Add IconText component.
- [feature] Add UnderlineTabs component.
- Popover
- π¨ [breaking change] Remove
themePopover,backgroundColor, andaccessibleTitleprops. - π¨ [breaking change] Rename
contentElementAttributesprop topassthroughProps, to match incoming convention. - [feature] Add
coloringandpadding. - [chore] Update
focus-trapandtabbabledependencies.
- π¨ [breaking change] Remove
- PopoverTrigger
- π¨ [breaking change] Rename
triggerPropsprop topassthroughTriggerProps. - π¨ [breaking change] Replace
displayprop withblock. - [fix] If the trigger responds to focus but not click, and you focus the trigger first and then click, that click closes the popover instead of leaving it open even after you move the mouse away.
- [fix] If you use
disableto disable a trigger with an open popover, the popover will hide.
- π¨ [breaking change] Rename
- CopyButton
- π¨ [breaking change] Arbitrary props will not be passed through to the button.
- π¨ [breaking change] Remove
iconButtonPropsandfeedbackTimeprops. - [feature] Add
block,className, andpassthroughPropsprops. - [feature] Add
CopyButton.copyIsSupported()static function. - [feature] Improve appearance of copy instructions popover.
- [fix] Works in modals.
- Copiable
- π¨ [breaking change] Remove
themeWrapper,themeCopyButtonContainer,themeCopyButton,themeText, andthemeTooltipprops. - [feature] Add
truncateprop.
- π¨ [breaking change] Remove
- Tooltip
- π¨ [breaking change] Remove
backgroundColorandthemeTooltipprops. - π¨ [breaking change] Replace
displayprop withblock. - [feature] Add
coloring,padding, andmaxWidthprops. - [feature] Children of Tooltip no longer need to be functions! If you provide a standard DOM element (e.g.
<button>,<div>,<span>) or a Button component, things will just work. You can still use a function if your trigger is a custom component.
- π¨ [breaking change] Remove
- Modal
- π¨ [breaking change] Remove
underlayStyle,underlayProps,themeUnderlay,themeModal, andthemeButtonCloseprops. - π¨ [breaking change] Rename
titletoaccessibleTitle. - [feature] Add
padding,alert,primaryAction,secondaryAction, andtertiaryActionprops. - [fix] Modals taller than the viewport will now show padding above them: the browser will not longer automatically scroll down to the top of the modal.
- [fix] Update
react-aria-modalto get some bug fixes and focus-management improvements.
- π¨ [breaking change] Remove
- Icon
- π¨ [breaking change] Remove
themeIconprop. - π¨ [breaking change] Arbitrary props will not be passed through to the
<svg>. UsepassthroughProps. - [feature] Add
passthroughPropsprop. - [feature] Add
sizeprop. - [fix] If
inline: true, the corresponding style adjustment will be performed after updates as well as mounting.
- π¨ [breaking change] Remove
- Add TabList component.
- Start this log.