Components - Release notes
- Release notes
3.1.0
Dependency updates
@dynatrace/strato-iconswas updated to version2.1.0.
Deprecations
AiLoadingIndicator
- The
aria-disabledprop is deprecated, as the attribute is only intended for interactive elements.
DataTable
-
Column type
dateis now deprecated. Usedatetimeinstead. (APPDEV-4005) -
The
onDownloadDataon theDataTableelement is now deprecated. Please use it via theDataTable.DownloadDatatoolbar slot instead. (APPDEV-16234)
TimeframeSelector
- The
_isSelectedprop on theTimeframeSelector.PresetItemslot is now deprecated. (APPDEV-16158)
Updates
General
- All components in content, editors, notifications, tables and typography now expose
className,style,data-testid,data-dtrum-maskanddata-dtrum-allow. Additionally, all remaining props are forwarded to the root of the component. (APPDEV-16251) - Behavior tracking attributes are now supported in all components in content, tables, editors, notifications, and typography, as well as in the
OverlayandTooltipcomponent. (APPDEV-16246)
Charts
- Applied a more performant width/height/truncation method to Honeycomb, Pie, Donut, Treemap, Sparkline, and Single Value. (APPDEV-15420)
- The chart legend only shows an outline when the navigation is done via the keyboard. (APPDEV-16596)
- Fixed magnifier to dynamically round values based on the value per pixel. (APPDEV-16624)
Overlays
- Possibly overlapping overlays are now closed when focusing the
FilterField. (APPDEV-16114)
AnnotationsChart
- Fixed annotation marker symbols in the tooltip not being visible on dark theme. (APPDEV-16715)
- Fixed an issue where icon symbols set via the
symbolprop on the markers would disappear after programmatically changingindicatorsDisplayor any other prop that triggers a component re-render. (APPDEV-16647)
CategoricalBarChart
- The
widthprop now accepts CSS string values (e.g.,"100%","500px") in addition to numeric values.
convertToColumns
- Now maps
timestampandtimeframefields todatetimecolumn type instead of the deprecateddate. (APPDEV-4005)
DataTable
- Datetime columns now accept
date,time, ordatetimeas shorthandformattervalues, making it easy to show only the date or time portion without providing fullFormatDateOptions. (APPDEV-4005) - The
scrollToRowmethod now supports an additionalalignparameter (start,center,end) to control where the target row is positioned within the table’s visible area. Defaults tostart. (APPDEV-14431) - The
onDownloadDatacallback is now available on theDataTable.DownloadDatatoolbar slot. (APPDEV-16234) - Batch selection now handles changing data and selection across multiple tables correctly. (APPDEV-16683)
- Sparkline columns allow configuration of the
xAxis. (APPDEV-13820) - Adds
data-dt-nametracking attributes to more interactive elements: sorting/ordering header cells and sorting icons, row selection and subrow expand/collapse buttons, column resize and row drag-and-drop handles, and column settings modal controls. (APPDEV-16589) - Pressing
Enteron an interactive element within a row (e.g. a button) no longer activates or deactivates the row. This aligns keyboard behavior with mouse behavior. (APPDEV-16586)
DateTimePicker
- No longer shows a transition animation when navigating between date and time spin buttons so that the selection highlight switches instantly. (APPDEV-16135)
DonutChart
widthprop now accepts string values and the unit for the data accepts Unit type, SliceUnit deprecated. (APPDEV-15409)
FilterField
- The
validatorMapnow supportsdisplayValueanddetailson keys and values, enabling richer suggestions with labels and descriptions. (APPDEV-16298) - All filter field suggestions are now flattened in the DOM to support virtualization for individual items of suggestion groups. A11y is still ensured using aria attributes to link items to groups. (APPDEV-10064)
- Custom validation types can now be defined via the
customTypesprop, allowing type-specific value constraints to be used in thevalidatorMap. (APPDEV-16028) - No longer incorrectly marks values inside an
in()operator as invalid when the key is configured with a special type (e.g.IPAddress,UID,Timestamp,SmartscapeId) in thevalidatorMap. (APPDEV-16555)
FormField
- Validation now automatically updates when validation-related props (like
required) change dynamically. (APPDEV-16103)
GaugeChart
- The
seriesActionscallback'sseriesparameter type now includesGaugeChartDatato reflect that the actual value passed at runtime can also be an object. (APPDEV-16790) - Tooltip hover area is now constrained to the visible gauge arc and labels, preventing the tooltip from appearing over empty space around the chart. (APPDEV-16692)
- Now the GaugeChart supports units. (APPDEV-15935)
HoneycombChart
- HoneycombChart now supports behavioral tracking properties. (APPDEV-16377)
NumberInput
NumberInputis now deprecated in favor ofNumberInputV2.
NumberInputV2
- Introduce
NumberInputV2.NumberInputV2aligns with the current forms architecture and delivers more consistent input behavior across Strato form controls.
API changes to consider when migrating:
minandmaxnow acceptnumber | undefined(previouslynumber | string | undefined).- Parsing/formatting is stricter and locale-aware, including intermediate input states and paste normalization.
stepvsstepMultiplier: -stepdefines the valid value interval for validation and the base increment/decrement amount (for examplestep={0.5}only allows values aligned to0.5and steps by0.5). -stepMultiplieris a positive integer multiplied bystep(or1if nostepis set) to determine how much the value changes when using arrow keys, the scroll wheel, or the stepper buttons. - You can combine both: e.g.step={0.5}to validate allowed values andstepMultiplier={4}to increment/decrement by2. (APPDEV-3996)
Overlay
- Fixed empty
aria-labelledbyattribute being rendered when no label is provided, which violated accessibility guidelines. (APPDEV-16714)
PieChart
widthprop now accepts string values and the unit for the data accepts Unit type, SliceUnit deprecated. (APPDEV-15409)
Radio
- Remove redundant
aria-checkedattribute from native radio inputs to fix accessibility violation. (APPDEV-16711)
SegmentSelector
- Add default aria-label which is also shown in an empty compact SegmentSelector. (APPDEV-16433)
Select
- Select now has a
minWidthset whencontentWidthiscontentand aFilter.Filteris present, preventing theSearchInputfrom becoming too narrow. (APPDEV-16635)
SingleValue
SingleValuenow supports behavioral tracking properties. (APPDEV-16377)
SingleValueGrid
SingleValueGridnow supports behavioral tracking properties. (APPDEV-16377)seriesActionsnow receives the full data record for each item, including all custom fields, instead of onlyvalueandlabel. (APPDEV-16619)
Sparkline
Sparklinenow supports behavioral tracking properties. (APPDEV-16377) (APPDEV-16377)- Fixed a crash in Sparkline area charts where the canvas gradient fill would throw a SyntaxError when the browser returned an HSLA color string. (APPDEV-16726)
TimeframeSelector
- Recently used timeframes are now displayed in the overlay. (APPDEV-16158)
- Fixed a race condition that could sporadically show
Start time must be before end time.while typing in the end time field. (APPDEV-16690) - No longer shows a transition animation when navigating between date and time spin buttons so that the selection highlight switches instantly. (APPDEV-16135)
- When applying a timeframe with one empty field, it is now filled with "Now". (APPDEV-16130)
ToggleButtonGroup
- Styles for
aria-disabledare now correctly applied. (APPDEV-16682)
TreeMap
- ColorRules now work consistently regardless of
nameAccessorvalue. (APPDEV-16559) - The
widthprop now accepts string or number and also added an unit prop. (APPDEV-15408)
XYChart
AreaSeriesis now available in the strato package. (APPDEV-15176)- The
widthprop now accepts CSS string values (e.g.,"100%","500px") in addition to numeric values. - Added legend filtering and actions for series and rect categorical interactions by default. (APPDEV-15180)
- Fixed tooltip to show the topmost overlapping series instead of the first one. (APPDEV-16253)
3.0.0
Breaking changes
Button
- Removed the deprecated
readOnlyproperty. (APPDEV-13937)
Dependency updates
@dynatrace/strato-iconswas updated to version2.0.0.- Added
@dynatrace-sdk/unitsas a peer dependency with version range^1.5.0. (APPDEV-10467) - Changed peerDependency version range for
@dynatrace-sdk/navigationfrom^1.3.0 || ^2.0.0to^2.1.0. (APPDEV-10467)
Updates
ToggleButtonGroup
- Fixed a react warning about missing keys on each child.
3.0.0-rc.0
1.18.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.13.0.
Updates
General
- Fixed broken links in the documentation. (PRODUCT-9394)
1.17.0
Updates
Core
useFocusRinghook is now available to apply custom focus styles to components. (APPDEV-14256)
IntentButton
- Deprecated
IntentButtonPropsas they will be replaced by theIntentButtonPropsfromstrato-components-preview.
1.16.1
Updates
Core
- Adds the Behavioral Tracking Props interface to the API. (APPDEV-15861)
1.16.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.12.0.@dynatrace/strato-design-tokenswas updated to version1.3.1.
Deprecations
IntentButton
- The
IntentButtonwill be removed from this package. Use theIntentButtonfrom@dynatrace/strato-components-previewinstead. The preview version offers feature parity but introduces slight differences in the API. TheIntentButtonnow accepts a configuration object. It also supports multiple intents. Configure additional intents using theIntentButton.Item. They're shown in a customisableOpenWithoverlay component. (APPDEV-15713)
Updates
ExternalLink
- Copying the link text no longer copies a zero width no-break space. (APPDEV-15655)
- No longer overflows vertically or shows a scrollbar when used in flex layouts where the text’s line height equals its font size. (APPDEV-15678)
TextEllipsis
- The
Intl.Segmenterwill now be created only when needed and not on import. (APPDEV-15823)
1.15.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.11.1.@dynatrace/strato-design-tokenswas updated to version1.3.0.
Updates
Highlight
- Now uses CSS Custom Highlight API instead of the
<mark>HTML element. (APPDEV-14731)
1.14.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.11.0.
Updates
AppRoot
- Added
translationsRootPathto props ofAppRootto configure language resource path. (APPDEV-15400)
ExternalLink
- Now respects custom
textDecorationstyles. (APPDEV-15438)
Link
- Now respects custom
textDecorationstyles. (APPDEV-15438)
1.13.0
Dependency updates
@dynatrace/strato-design-tokenswas updated to version1.2.0.@dynatrace/strato-iconswas updated to version1.10.0.
1.12.0
Dependency updates
@dynatrace/strato-design-tokenswas updated to version1.1.4.@dynatrace/strato-iconswas updated to version1.9.0.- Changed peerDependency version range for
@dynatrace-sdk/unitsfrom^1.0.2to^1.3.1. (APPDEV-14636)
Updates
General
- Slowed animation timings for the
ProgressBar,ProgressCircle,Skeleton, andSkeletonTextcomponents. (APPDEV-14758)
Skeleton
- Improved animations. (APPDEV-14760)
SkeletonText
- Improved animations. (APPDEV-14760)
1.11.0
Dependency updates
@dynatrace/strato-design-tokenswas updated to version1.1.3.@dynatrace/strato-iconswas updated to version1.8.0.
Updates
General
- A
useIdhook is now provided, allowing css-ident safe IDs to be generated. (APPDEV-14808)
AppRoot
- The look and feel of scrollbars in Firefox is now aligned with the experience in Chrome.
Link
- The underline now appears correctly based on whether the link is focused via keyboard. (APPDEV-14816)
1.10.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.7.0.@dynatrace/strato-design-tokenswas updated to version1.1.2.
1.9.2
General
- Unicode ranges for Roboto fallback are now removed.
1.9.1
@dynatrace/strato-iconswas updated to version1.6.1.@dynatrace/strato-design-tokenswas updated to version1.1.1.
General
- Font definitions are now directly added to the apps css bundle.
ExternalLink
- The underline of the link is now displayed correctly based on whether it is focused via keyboard. (APPDEV-14521)
1.9.0
FocusScope
- The prop
data-testidcan now be set on the component. (APPDEV-13925)
1.8.1
TextEllipsis
- When
truncationModeis set tostart, punctuation characters are now rendered correctly at the start of the string. (APPDEV-14072)
1.8.0
@dynatrace/strato-design-tokenswas updated to version1.1.0.@dynatrace/strato-iconswas updated to version1.6.0.
1.7.3
Typography
- Removes canvas from DOM. (APPDEV-13639)
1.7.2
Typography
- Removed canvas from DOM. (APPDEV-13639)
1.7.1
@dynatrace/strato-iconswas updated to version1.5.1.
1.7.0
Core
- Removed internal
_isStringChildren,_useId,_uuidv4, and_mulberry32utility. (APPDEV-12775)
TextEllipsis
truncationMode="middle"now fully supports emoji characters. (APPDEV-13186)TruncationModeis now available as a public type. (APPDEV-12065)
1.6.2
Core
- Add internal
_isStringChildren,_useId,_uuidv4, and_mulberry32back for 1.6.x compatibility. (APPDEV-13282)
1.6.1
- Documentation update
1.6.0
- Changed peerDependency version range for
@dynatrace-sdk/navigationfrom^1.3.0to^1.3.0 || ^2.0.0. @dynatrace/strato-iconswas updated to version1.5.0.
1.5.0
- Changed peerDependency version range for
react-intlfrom^6.0.8to^6.0.8 || ^7.0.0. @dynatrace/strato-design-tokenswas updated to version1.0.1.@dynatrace/strato-iconswas updated to version1.4.0.
Button
- Hover animation was updated to be more responsive. (APPDEV-12827)
Highlight
- Now preserves whitespace around the highlighted term. (APPDEV-12895)
TextEllipsis
- When
truncationModeis set tostart, punctuation characters are now rendered correctly at the end of the string. (APPDEV-12900)
1.4.0
@dynatrace/strato-iconswas updated to version1.3.0.
Highlight
- Added support for using
FormattedMessagewithin theHighlightcomponent. (APPDEV-12687) - Highlighted text reflows correctly when wrapped inside a smaller container. (APPDEV-12666)
1.3.0
@dynatrace/strato-iconswas updated to version1.2.0.
1.2.0
Highlight
- Whitespaces are preserved when the
Highlightcomponent is rendered inside an element styled withdisplay: 'flex'. (APPDEV-12362)
Surface
- Now uses correct selected border with a 2px transparent gap. (APPDEV-11985)
1.1.0
@dynatrace/strato-iconswas updated to version1.1.0.
TextEllipsis
- Text with ellipsis with
truncationMode="middle"can grow when resizing. (APPDEV-11597)
1.0.0
General
- Removed deprecated testing subpackage. Please use the
@dynatrace/strato-components-testingpackage now. (APPDEV-9460)
In the new package we are no longer re-exporting parts of the @testing-library package. This means you'll have to import functions like screen, userEvent, act, waitFor etc directly from @testing-library and its subpackages.
The render function is still exported in the testing package, as it makes testing strato components easier.
For more information on how to setup and use @dynatrace/strato-components-testing please look into package's readme.
Core
roleVariantsandRoleVariantTypeare now removed, as they are no longer used. (APPDEV-11235)
ProgressBar
- Removed the
variantprop, as the color and variant are now derived from the container. The color can still be overwritten with thecolorprop.(APPDEV-11668)
ProgressCircle
- Removed the
variantprop, as the color and variant are now derived from the container. The color can still be overwritten with thecolorprop.(APPDEV-11668)
- Changed peerDependency version range for
@dynatrace-sdk/app-environmentfrom^1.0.0to^1.1.0. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/navigationfrom^1.2.1to^1.3.0. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/error-handlersfrom^1.0.0to^1.3.1. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/user-preferencesfrom^1.1.0to^1.1.1. (APPDEV-11243) @dynatrace/strato-design-tokenswas updated to version1.0.0.@dynatrace/strato-iconswas updated to version1.0.0.
0.85.120
TextEllipsis
- Text now displays correctly in Firefox when the parent container has
max-width: max-content. (APPDEV-12006)
0.85.110
Button
- Deprecated
readOnlyprop, please usedisabledinstead. (APPDEV-11549)
General
useBreakpointhook now has better SSR support.
Content
ProgressBarandProgressCirclenow inherit theContainer's color, if used inside it.
Core
- Added
FocusScopecomponent. (APPDEV-11591)
0.85.100
@dynatrace/strato-iconswas updated to version0.39.4.
Content
- Deprecated the
variantprop fromProgressBarPropsandProgressCircleProps, which will be removed in favor of thecolorprop.
Core
- Deprecated the
RoleVariantType, which will be removed. You can use'neutral' | 'primary' | 'success' | 'warning' | 'critical'instead, as theonAccentoption will be dropped.
Typography
- CSS text ellipsis from a wrapping element is now correctly applied to the
LinkandExternalLinkcomponent. (APPDEV-11491)
0.85.90
- Added
@dynatrace/strato-design-tokensas a peer dependency with version range~0.20.0. - Added
@dynatrace/strato-iconsas a peer dependency with version range~0.39.0.
General
- Moved
@dynatrace/strato-design-tokensand@dynatrace/strato-iconsto peerDependencies and relaxed the version range. (APPDEV-9911) - Classnames for components now contain a version number to avoid conflicts if apps happen to have more than one version of the design system running.
0.85.80
ExternalLink
- The
ExternalLink's icon now remains on the same line as its preceding word, even when there are line breaks.
IntentButton
- Now accepts
ReactNodeas children instead of only strings.
TextEllipsis
- Now
onTextOverflowis also called whenTextEllipsisis used inside another component that already handles text truncation.
0.85.70
General
- Testing subpackage exports are now marked as deprecated. Please use
@dynatrace/strato-components-testinginstead.
0.85.60
@dynatrace/strato-iconswas updated to version0.39.3.
0.85.50
Typography
HeadingandParagraphnow inherit their color from their container by default.
0.85.41
Layouts
- Annotate exported styles accordingly.
0.85.40
General
- Added missing vanilla-extract dependencies to the package.
Button
- Displays number
0when used as child.
0.85.32
- Documentation update
0.85.31
- Added missing vanilla-extract dependencies to the package.
0.85.30
@dynatrace/strato-iconswas updated to version0.39.2.
UseBreakpoint
useBreakpointhas been moved from@dynatrace/strato-components-preview/coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
0.85.21
- Documentation update
0.85.20
IntentButton
IntentButtonhas been moved from@dynatrace/strato-components-preview/buttonsto@dynatrace/strato-components/buttons. TheiconOnlyprop has been removed. To display only the icon, leave the label empty.
Skeleton
Skeletonhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/contentand a migration script has been provided.
SkeletonText
SkeletonTexthas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/contentand a migration script has been provided.
Surface
Surfacehas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
0.85.11
- Documentation update
0.85.10
@dynatrace/strato-iconswas updated to version0.39.1.@dynatrace/strato-design-tokenswas updated to version0.20.40.
Button
Buttonhas been moved from@dynatrace/strato-components-preview/buttonsto@dynatrace/strato-components/buttonsand a migration script has been provided.
0.85.0
General
- Drop react 17 support.
- Drop @testing-library/react 12 support.
- Drop @testing-library/user-event 13 support.
@dynatrace/strato-iconswas updated to version0.39.0.
General
- Add @testing-library/react 15 support.
0.84.51
General
- Content subpackage is now exported from the
@dynatrace/strato-componentsentrypoint.
0.84.50
@dynatrace/strato-iconswas updated to version0.38.0.
Container
Containerhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
Flex
Flexhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
Grid
Gridhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
ProgressBar, ProgressCircle
ProgressBarandProgressCirclehave been moved from@dynatrace/strato-components-preview/coreto@dynatrace/strato-components/contentand a migration script has been provided.
0.84.42
- Documentation update
0.84.41
- Documentation update
0.84.40
@dynatrace/strato-design-tokenswas updated to version0.20.30.
Typography
- Typography is migrated from
@dynatrace/strato-components-preview/typographyto@dynatrace/strato-components/typographyand a migration script has been provided.
Divider
- Divider has been moved from
@dynatrace/strato-components-preview/typographyto@dynatrace/strato-components/layoutsand a migration script has been provided.
0.84.31
- Documentation update
0.84.30
@dynatrace/strato-design-tokenswas updated to version0.20.20.
0.84.21
- Documentation update
0.84.20
0.84.12
- Documentation update
0.84.11
@dynatrace/strato-design-tokenswas updated to version0.20.10.@dynatrace/strato-iconswas updated to version0.37.0.
AppRoot
AppRootcomponent was moved from@dynatrace/strato-components-preview.