Components preview - Release notes
- Release notes
Important: The @dynatrace/strato-components-preview package will be deprecated and removed. As of version 3.0.0, the feature set of the preview package has been merged into @dynatrace/strato-components. Please update your projects to use @dynatrace/strato-components and consult the components changelog for details.
3.0.0
Breaking changes
General
- Removed the deprecated
Conversion-Utilitiespackage. The following exports are no longer available: (APPDEV-11744)convertToSingleValueDataSingleValueDatalistRecordFieldspickRecordIndexEMPTY_SINGLE_VALUE_DATADQLResultConverterDQLResultConverterPropsDQLResultConverterBasePropsDQLResultConverterTimeseriesPropsDqlNumberTypeformatDqlNumberConversionCellValuerecommendVisualizationsVisualizationRecommendersVisualizationRecommendersPropsVisualizationRecommenderResultVisualizationKindVisualizationKindOptions_getMetadataMetricsUnitForFieldNameDimensiongetDimensionscheckTimeseriesFormatFieldEntryconvertToFieldEntriesgetTypesForRecordIndexgetFieldsArrayForRecordIndexconvertToTimeseriesBandTimeseriesWithDimensionsconvertToTimeseriesconvertQueryResultToTimeseriesconvertToColumnsV2
Core
- Removed the aliased
TimeframeV2type export. Please useTimeframeinstead. (APPDEV-14406)
Formatters
- Formatters subpackage is now removed. Use the formatter utilities provided by
@dynatrace-sdk/unitsinstead. (APPDEV-12477)
Overlays
FeatureHighlight,Microguide,TerminologyOverlay, andInformationOverlay, and their associated props and types, are now removed from theOverlayspackage. Import them from theContentpackage instead. (APPDEV-11943)
AnnotationsChart
- Removed deprecated
StandaloneAnnotationsChartPropsinterface. All props fromStandaloneAnnotationsChartPropshave been merged intoAnnotationsChartProps. UseAnnotationsChartPropsinstead. (APPDEV-15122) - Removed deprecated
TextOverflowExpandOptionsandTextOverflowTruncateOptionsinterfaces. UseTextOverflowOptionstype directly with thetextOverflowandtruncateModeprops onAnnotationsChartPropsinstead. (APPDEV-15122)
CategoricalBarChart
- Removed
CategoricalBarChart.Thresholdslot,CategoricalBarChartThresholdPropstype and thresholds key from chart configuration. (APPDEV-14306)
DataTableV2
- The
DataTableV2and all its corresponding types and slots are now removed. Please useDataTableinstead. (APPDEV-13694) - Removed the deprecated
DataTableV2CellInteractionPatternfeature flag. (APPDEV-12064)
FilterField
FilterFieldLogicalOperatorNodeandSimpleFilterFieldLogicalOperatorNodeare no longer exposed in the public API. (APPDEV-13773)- Removed
suggestionTypeprop fromFilterFieldSuggestionsCallback. UsesuggestionTypesinstead. (APPDEV-15106) - Removed
autoSuggestionsfromFilterFieldSuggestionsCallbackas they should only be handled internally and not changed or updated manually. (APPDEV-15106) - Removed deprecated
operatorprop fromFilterFieldStatementNode. Please usecomparisonOperatorinstead. (APPDEV-15574) - Removed
syntaxprop. FilterField now only supports complex mode. (APPDEV-13114) - Removed deprecated
currentTokenprop fromFilterFieldSuggestionCallback. (APPDEV-15712)
GaugeChart
- Removed
GaugeChart.Thresholdslot,GaugeChartThresholdPropstype and thresholds key from chart configuration. (APPDEV-14306)
HistogramChart
- Removed
HistogramChart.Thresholdslot,HistogramThresholdPropstype and thresholds key from chart configuration. (APPDEV-14306)
Menu
- Removed deprecated
Menu.ItemIconcomponent, useMenu.PrefixorMenu.Suffixinstead. (APPDEV-15592) - Updated IntentWithoutResponse ref type to HTMLAnchorElement. (APPDEV-14462)
MeterBarChart
- Removed
MeterBarChart.Thresholdslot,MeterBarChartThresholdPropstype and thresholds key from chart configuration. (APPDEV-14306) - Removed the deprecated
Iconslot. (APPDEV-14104)
MultiMeterBarChart
- Removed the deprecated
Iconslot. (APPDEV-14104)
SegmentSelector
- Forwarded ref type has been changed from
FormControlWithOverlayReftoSegmentSelectorRef, which includes an async validate function. (APPDEV-15405)
Select
- Removed internal defaults for all
data-testidattributes. (APPDEV-14554)
SelectV2
- Removed compatibility re-export of SelectV2. (APPDEV-14405)
SimpleTableV2
- The
SimpleTableV2has been renamed toSimpleTable. (APPDEV-13694)
SingleValue
- Removed thresholds type from
SingleValueBasePropsandSingleValueConfigProperties. (APPDEV-14306)
SingleValueGrid
- Removed thresholds type from
SingleValueGridProps. (APPDEV-14306)
Sparkline
- Removed
Sparkline.Thresholdslot andSparklineThresholdPropstype. (APPDEV-14306)
TimeframeSelector
- Removed the deprecated
TimeframeSelectorfrom@dynatrace/strato-components-preview/forms. Import it from@dynatrace/strato-components-preview/filtersinstead. (APPDEV-16166)
TimeseriesChart
-
Removed the deprecated
GapPolicytype. (APPDEV-15070) -
Removed
TimeseriesChart.Thresholdslot,TimeseriesChartThresholdPropstype and thresholds key from chart configuration. (APPDEV-14306)
ToggleButtonGroup
- Removed the deprecated item API and exports. Use the exports from
@dynatrace/strato-components-preview/forms. (APPDEV-14381)
TreeMap
- The deprecated ValueAccessor type is now deleted. (APPDEV-16151)
useFilteredData
- Changed type from
anytounknownin the function signature. (APPDEV-16313)
XYChart
-
Removed the deprecated
CanvasShapeTypeandPOINT_SHAPES. (APPDEV-14063) -
Remove
XYChart.Thresholdslot,XYChartThresholdPropstype and thresholds key from chart configuration. (APPDEV-14306)
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/unitsfrom^1.4.2to^1.5.0. (APPDEV-10467) @dynatrace/strato-componentswas updated to version3.0.0.@dynatrace/strato-iconswas updated to version2.0.0.
Deprecations
Forms
-
The
TimeDetailstype has been deprecated, please use theTimeValueinstead. (APPDEV-16487) -
The
TimeframeDetailstype has been deprecated, please use theTimeframeinstead. (APPDEV-16487)
SearchInput
readOnlyprop on prefix and suffix buttons is now deprecated. (APPDEV-13937)
TextInput
readOnlyprop on prefix and suffix buttons is now deprecated. (APPDEV-13937)
Updates
General
- Updated the documentation to reflect the merging of the Strato components and components preview packages. (PRODUCT-15188)
3.0.0-rc.0
2.17.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.18.0.@dynatrace/strato-iconswas updated to version1.13.0.
Deprecations
Charts
- legend deprecate ratio in favor of initial ratio. (APPDEV-16364)
CodeSnippet
- The
allowCopyprop used to hide the copy button is now deprecated. Please useshowCopyActioninstead. (APPDEV-5776)
DataTable
- The
linkprop oninteractiveRowsis deprecated. UseonActiveRowChangeinstead. (APPDEV-15072)
Updates
General
- Fixed broken links in the documentation. (PRODUCT-9394)
Charts
- Added initialRatio prop to the legend. (APPDEV-12760)
AiResponse
- Adds a fade-in animation to each newly rendered word. (APPDEV-15266)
- Now exposes a
responseStateprop that allows for controlling how content is rendered and animated. (APPDEV-15266)
AnnotationsChart
AnnotationsChartnow supports behavioral tracking properties. (APPDEV-16379)
AppHeader
- AppIcon now correctly encodes app version with special url characters. (APPDEV-16503)
DataTable
- The following interactive elements now have
data-dt-nameattributes. (APPDEV-15888)ToolbarDownloadAll,ToolbarDownloadPage,ToolbarDownloadSelected,ToolbarLineWrap,PaginationPageIndex,PaginationPreviousPage,PaginationNextPage,PaginationPageSize,ColumnActionCopyItem,CellActionCopyItem,ColumnActionLineWrap,ColumnActionMoveLeft,ColumnActionMoveRight,ColumnActionPinLeft,ColumnActionPinRight,ColumnActionUnpin
- Interactive rows are now activated
onPointerUpinstead ofonPointerDown. (APPDEV-15072) - Row heights now correctly shrink after resizing the table width, even when line breaks occur. Previously, heights could remain too large after the initial table load. (APPDEV-16283)
- Sub-row connector paths are now correctly displayed for the first row on all pages after the first. (APPDEV-16398)
- Gantt, meter bar, and sparkline columns now align correctly when used as sub-row indicator columns. (APPDEV-9994)
DateTimePicker
- Date and time input is now wrapped when spined through with the keyboard. For example, once you reach end of the available days it goes back to the first. (APPDEV-16127)
DateTimeRangePicker
- Date and time input is now wrapped when spined through with the keyboard. For example, once you reach end of the available days it goes back to the first. (APPDEV-16127)
DQLEditor
- Now highlights the
fieldsSnapshotDQL command. (APPDEV-16363) - Fuzzy matching overly long suggestions no longer crashes the editor due to an invalid regular expression. (APPDEV-16023)
FilterField
- A RangeError is now prevented when applying suggestions. (APPDEV-16305)
HistogramChart
HistogramChartwith annotations now supports behavioral tracking properties. (APPDEV-16379)
SearchInput
- Width is maintained when clear button appears. (APPDEV-16350)
Sparkline
Sparklinenow supports custom unit on context values. (APPDEV-16367)- Fixing Context values labels' coloring, considering background color. (APPDEV-16430)
- Preventing Sparkline context value labels from overlapping. (APPDEV-16373)
TimeframeSelector
- The stepper's
onChangecallback is now debounced to avoid excessive state updates when users rapidly click the forward/backward arrows. The displayed timeframe updates immediately for responsive feedback, while the callback only fires once after 300ms of inactivity. (APPDEV-16345) - Fixed Firefox issue where users couldn't type immediately when opening the overlay with an absolute date selected. (APPDEV-16462)
- Date and time input is now wrapped when spined through with the keyboard. For example, once you reach end of the available days it goes back to the first. (APPDEV-16127)
TimeseriesChart
TimeseriesChartwith annotations now supports behavioral tracking properties. (APPDEV-16379)
XYChart
- Solved an issue that caused the selection tooltip to truncate text when enough space was available. (APPDEV-16161)
XYChartwith annotations now supports behavioral tracking properties. (APPDEV-16379)- ValueRepresentation is now available in the XYChart. (APPDEV-15469)
2.16.1
Updates
IntentButton
- No longer logs an error when
recommendedAppIdorrecommendedIntentIdintent options are missing. (APPDEV-16530)
2.16.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.17.0.
Deprecations
Charts
- Props
downloadData,draggableandintentsare deprecated fromChartToolbarConfigtype. - Type
TimeseriesUnitis deprecated. (APPDEV-15228)
HoneycombChart
- Prop
draggableis deprecated fromHoneycomb.Toolbarslot. Toolbar is always draggable.
hooks
- The
useFocusRinghook exposing styles for styled components is now deprecated. Use the one from@dynatrace/strato-components/coreinstead. (APPDEV-14256)
MapView
- Prop
draggableis deprecated fromMapView.Toolbarslot. Toolbar is always draggable.
SingleValue
- Prop
draggableis deprecated fromSingleValue.Toolbarslot. Toolbar is always draggable.
XYChart
-
Prop
collapsedis deprecated fromXYChart.Toolbarslot. -
Prop
draggableis deprecated fromXYChart.Toolbarslot. Toolbar is always draggable. -
Prop
intentsis deprecated fromXYChart.Toolbarslot. UseXYChart.Intentslot instead.
Updates
Charts
- Removing React warnings about
charsFontWidthMapand avoiding invalid DOM attributes. (APPDEV-15870) - The API for the toolbar across charts is now standardized. (APPDEV-15963)
CategoricalBarChart
- Deprecated
CategoricalUnittype. (APPDEV-15228)
DataTable
- Columns can now be optionally excluded from CSV downloading. This is possible by providing an array of column IDs either through the
excludeColumnsproperty in theDataTable.DownloadDatatoolbar slot, or an additional argument to the function used for programmatic downloads. TheonDownloadDatacallback will also include these IDs as an array through itsexcludedColumnsproperty. (APPDEV-11940) - Sudden scroll jumps are now prevented when ordering rows via drag and drop in large, scrollable tables. (APPDEV-16181)
- Row actions buttons in active, condensed rows are now confined within the interactive row border. (APPDEV-16088)
FilterField
- When applying a key suggestion inside a group, the cursor now stays within the group. (APPDEV-16222)
- The
validatorMapsupports defining commonly used keys asfallbackKeyto get statement suggestions with the current token as value. If no operators are specified for thefallbackKey, thematches-phraseoperator will be used. (APPDEV-15948) - Crashes with long filter statements are now prevented. (APPDEV-16306)
- The error state of the component is now forwarded to the pin button as well. (APPDEV-16098)
- Type
UIDcan be enabled in theparserConfigand used in thevalidatorMap. (APPDEV-13181) - Asterisks are now properly escaped when applying a suggestion with the
replace-tokenstrategy. (APPDEV-16101) - Type
Timestampcan be enabled in theparserConfigand used in thevalidatorMap. (APPDEV-13180)
GaugeChart
- Added tooltip and series actions. (APPDEV-15994)
HistogramChart
- Fixed a bug where toolbar would remain visible after leaving the chart. (APPDEV-16086)
IntentButton
- Added
showMenuprop to control whether the dot-menu is displayed, allowing the button to render as an explicit intent without the fallback menu. (APPDEV-15836)
Overlay
- Can now consume
overlayContainerProps. (APPDEV-16142)
SearchInput
- Aligned search functionality in design-system with the new
SearchInputcomponent. (APPDEV-15594)
SegmentSelector
- The
SegmentSelector's settings button is now hidden whenreadOnly. (APPDEV-15880)
Select
- The overlay width now remains fixed while open and is only recalculated when it is closed and reopened. (APPDEV-8707)
SingleValueGrid
- Add
loadingprop support to show a consistent loading overlay across all grid items, aligning withSingleValue. (APPDEV-16163)
Sparkline
- Shows both context value indicators (min/max) if
showContextValuesis enabled. (APPDEV-16333) - Context value indicators now correctly align the dotted line with the label text across all chart sizes. (APPDEV-16182)
TimeframeSelector
- Daylight saving time transitions are now correctly calculated when using stepper buttons. (APPDEV-16070)
TimeseriesChart
- Fixed being unable to select points at the edges of the chart. (APPDEV-16100)
- Fixed toolbar remaining visible after leaving the chart. (APPDEV-16086)
ToggleButtonGroup
- Visual focus ring indicator added for keyboard navigation on selected items. (APPDEV-16215)
- Correctly display the dividers. (APPDEV-16214)
useFilteredData
- The hook
useFilteredDatanow also handles sub-rows. (APPDEV-5576)
XYChart
- Fixed being unable to select points at the edges of the chart. (APPDEV-16100)
- Fixed toolbar remaining visible after leaving the chart. (APPDEV-16086)
2.15.1
Updates
DataTable
- Column actions menus no longer throw an error when used in tables with sub-rows and custom row IDs. (APPDEV-16300)
2.15.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.16.1.
Updates
General
- Copy actions no longer fail when users lack clipboard permissions. (APPDEV-15973)
Charts
- Fixed an issue where explore mode tooltip could be displayed with a selection area. (APPDEV-16167)
- Deprecated ChartToolbar.DownloadData slot. (APPDEV-15304)
- The seriesActions prop of charts now accepts custom components (components not of type
ChartSeriesAction.{x}). (PAPA-30040)
This change allows composing the menu items using custom React components, which means that menu items can now be rendered conditionally, call hooks, and use async data to fine-tune how the menu is rendered (for example: as resolving part of the menu item name asynchronously).
If you "opt-in" to using custom components in series actions, the menu items are no longer grouped and ordered automatically. You must manually place actions before intents, and place a Divider component between actions and intents.
- Legend shortcuts (CTRL) are not losing the previous selection. (APPDEV-16089)
- Deprecated ChartToolbar component. (APPDEV-15303)
- Solved an issue that caused the web page to freeze when hovering charts on Firefox. (APPDEV-15877)
- Added char width map for font size 14. Applied more performant truncation method in Axis, Ticks and Magnifiers. (APPDEV-15497)
Editors
- Pressing
Escapeinside an editor is no longer propagated. Therefore, overlays now remain open when exiting the edit mode. (APPDEV-16105)
AppHeader
- Prevent an infinite layout distribution loop in the browser when providing solely custom actions. (APPDEV-15919)
CodeEditor
- Now allows the insertion of non-breaking space (U+00A0) characters. (APPDEV-16007)
DataTable
- Toggling line wrap on a parent column now applies to all nested child columns. (APPDEV-14059)
- Memory consumption is now reduced when rendering large datasets. (APPDEV-15711)
- Cell actions can now be defined for multiple target columns. (APPDEV-12489)
- Sparkline columns now support two new config options: Use
curveto control the shape of the sparkline (smooth or straight lines), and usegapPolicyto decide how missing data is handled (leave a gap or interpolate). (APPDEV-15533) - Columns no longer disappear during horizontal scrolling when both an extended width config (
{ type: 'auto' | 'content'; maxWidth?: number }) and an explicit column size (viadefaultColumnSizing,columnSizing, or by resizing the column) are set for a column. (APPDEV-16121) - Sparkline columns now display their context values (that is, labels showing the maximum and/or minimum values) on the right side and have reduced vertical padding. (APPDEV-15533)
- The vertical divider indicating the resize handle is now rendered for the last column as well. (APPDEV-15980)
- Column widths are now correctly remeasured on rerender. (APPDEV-15908)
- Column settings overlay now responds faster and has improved column ordering performance, especially in tables with many columns. (APPDEV-14474)
- The table now displays shadows on its left and right edges to indicate horizontal overflow. Previously, these shadows appeared only when pinned columns were present. (APPDEV-10806)
- The sorting indicator and header action buttons now display correctly for both default and custom headers. (APPDEV-16014)
DQLEditor
- Now allows the insertion of non-breaking space (U+00A0) characters. (APPDEV-16007)
FilterField
- Applying
contains,starts-withorends-withvaluesuggestion does not escape the value again. (APPDEV-16008) - FilterField suggestion highlighting does not crash with a callstack size exceeded error. (APPDEV-15910)
- Additional safeguards are now included to prevent "Selection points outside of document" errors. (APPDEV-15917)
- Suggestions now update correctly when
validatorMapchanges with an open overlay. (APPDEV-14941) - Suggestions no longer flicker when filtering.
- Assistive technologies for visually impaired users now read out a summary of the suggestions once opened. (APPDEV-14912)
- Show more button is now hidden if there is only one additional item compared to the default suggestions count. (APPDEV-15989)
HistogramChart
- Deprecating ChartInteractions in favor of charts slots. (APPDEV-15611)
- Some bugs when importing configuration related to toolbar in the
HistogramChartwere solved. (APPDEV-16015)
HoneycombChart
- Fixed a color mismatch between tiles and legend color in the
HoneycombChartwhen setting min and max with the same value. (APPDEV-15847)
PieChart
- Now the PieChart groups the slices thinner than the gap between them into an invisible one. (APPDEV-15129)
SegmentSelector
- Added a default
max-widthof400pxto avoid long triggers. Themax-widthcan be customised via CSS. (APPDEV-15321)
Select
- Log level for
Failed to stringify valuechanged to info. (APPDEV-15998)
TimeseriesChart
- Deprecating ChartInteractions in favor of charts slots. (APPDEV-15611)
- Now the
TimeseriesChartsupportsZoomas a slot and is enabled by default. (APPDEV-13199) (APPDEV-13199) - Now the
TimeseriesChartsupportsPanas a slot and is enabled by default. (APPDEV-13263) (APPDEV-13263) - Now the
TimeseriesChartsupportsDownloadCSVas a slot. (APPDEV-13266) (APPDEV-13266) - Now the
TimeseriesChartsupportsToolbaras a slot. (APPDEV-15104) (APPDEV-15104)
2.14.1
Updates
DataTable
- Columns no longer disappear during horizontal scrolling when both an extended width config (
{ type: 'auto' | 'content'; maxWidth?: number }) and an explicit column size (viadefaultColumnSizing,columnSizing, or by resizing the column) are set for a column. (APPDEV-16121) - Column widths are now correctly remeasured on rerender. (APPDEV-15908)
2.14.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.12.0.@dynatrace/strato-design-tokenswas updated to version1.3.1.@dynatrace/strato-componentswas updated to version1.16.0.
Deprecations
DataTable
- The
TableActionsMenu.ItemIconslot will be removed in the future. Use theTableActionsMenu.Prefixslot instead. (APPDEV-15600)
SearchInput
BaseInputPropswill be marked as internal in a future release. Please use the individual public props instead. (APPDEV-15376)
Updates
Charts
- GaugeChart hides now the labels for small containers. (APPDEV-15857)
DataTable
- Now renders box-shadow for pinned columns correctly when resizing the table. (APPDEV-15756)
- Meterbar columns now support a
showIndicatorprop to display indicators at defined value thresholds. (APPDEV-10800) - Column filtering is now available in the column settings modal when only pinning settings are enabled. (APPDEV-15680)
- Annotations headers in
ganttcolumns now always show vertical dividers, independent of the table'sverticalDividersconfig. (APPDEV-15286) - Column settings modal now keeps the Show/hide all checkbox and search input visible when scrolling through the columns list. (APPDEV-15526)
- Row ordering no longer triggers a re-render when drag and drop is disabled for certain rows. (APPDEV-15765)
DataTableMeterbarColumnConfignow supports aformatterprop that allows formatting the value displayed in the tooltip. (APPDEV-5640)- Drag and drop overlays as well as context menu for cell and column actions are now positioned correctly in tables where CSS transforms have been applied to an ancestor. (APPDEV-15583)
- The 'Expand/Collapse All Sub-Rows' button now has updated positioning when the sub-row indicator column is right-aligned. (APPDEV-15633)
- Now correctly displays the page index info on small screens when there is only one page. (APPDEV-15780)
- Sub-row indicator column is now remeasured when collapsing sub-rows. (APPDEV-15646)
- The
TableActionsMenunow supports two new slots:TableActionsMenu.PrefixandTableActionsMenu.Suffix, enabling flexible icon placement on both sides of a menu item. (APPDEV-15600)
DateTimePicker
- Fixed caret visibility and keyboard navigation in calendar on Safari. (APPDEV-15889)
DateTimeRangePicker
- Fixed caret visibility and keyboard navigation in calendar on Safari. (APPDEV-15889)
FilterField
- Type
IPAddresscan be enabled in theparserConfigand used in thevalidatorMap. (APPDEV-13182) - Empty SuggestionGroups are now hidden, including those containing only labels. (APPDEV-15580)
- Built-in suggestion groups now display dividers between them. (APPDEV-15525)
HistogramChart
- Now the
HistogramChartsupportsDownloadCSVas a Subcomponent. (APPDEV-13268) - Now the
HistogramChartsupportsZoomas a Subcomponent and is enabled by default. (APPDEV-13262) - Now the
HistogramChartsupportsPanas a Subcomponent and is enabled by default. (APPDEV-13264) - Now the
HistogramChartsupportsToolbaras a Subcomponent. (APPDEV-15103)
HoneycombChart
- The
widthprop now accepts CSS unit strings like"100%"or"500px"in addition to numeric pixel values.classNameandstyleprops are now available throughStylingPropsextension. (APPDEV-15307)
Page
- Allow forcing DetailView drawer content to full available height. (APPDEV-16013)
SearchInput
- Introduce a new
SearchInputcomponent to standardize search bars across applications. TheSearchInputuses an input field withtype="search"and provides a built-in clear button that automatically clears the input when clicked.
SegmentSelector
- Now provides a specific error message when the selected variable comes from a column containing arrays instead of scalar values. (APPDEV-15209)
- A descriptive text is now displayed for
SegmentSelectorvariables with an empty string value. (APPDEV-15652)
Select
- Added a
pointer-eventsstyle to the rootSelectcomponent, eliminating the need forCustomTriggerstyle override to display the correct disabled cursor. (APPDEV-14985)
SingleValue
- Now supports
widthandheightprops to control component dimensions. Both props accept CSS unit strings (e.g.,"100%","200px") or numeric pixel values (e.g.,300), allowing flexible sizing options while maintaining automatic font scaling.
Sparkline
- Added
widthandheightprops for flexible sizing control.
The Sparkline component now accepts width and height props that support both string values (e.g., "100%", "200px") and numeric values (automatically converted to pixels). This makes it easier to control Sparkline dimensions when used in constrained layouts or alongside other components like SingleValue.
- Now does not cut labels on extreme values. Closes (APPDEV-15851)
TimeframeSelector
- Fixed caret visibility and keyboard navigation in calendar on Safari. (APPDEV-15889)
Toast
ToastContainernow accepts anaria-labelto allow customization of the accessible name. (APPDEV-15537)
XYChart
- ColorRules now apply colors to individual tiles in RectSeries (heatmaps). (APPDEV-15640)
- Prevented an error when Rect Series have all datapoints with nullish values. (APPDEV-15893)
- BarSeries is now available as a new shape in the strato package. (APPDEV-14792)
- Resolved issue preventing proper handling of the error state (APPDEV-15698)
- Rect and Bar series now allow partial selection. A shape doesn't have to be fully covered by a selection to be detected. (APPDEV-15573)
2.13.2
Deprecations
FilterField
- The
currentTokenprop in theonSuggestcallback is now deprecated. Please usecurrentTokensinstead. (APPDEV-15544)
Updates
FilterField
- Provide
currentTokensin theonSuggestcallback for easy filtering of different types of custom suggestions, depending on the current token. (APPDEV-15544)
2.13.1
Updates
Page
- Use stricter selector for
:has()to improve performance on high node-count subtrees. (APPDEV-15811)
2.13.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.15.0.@dynatrace/strato-iconswas updated to version1.11.1.@dynatrace/strato-design-tokenswas updated to version1.3.0.
Deprecations
FilterField
- The
operatorprop inFilterFieldStatementNodeandFilterFieldValidatorMapwill be removed and replaced withcomparisonOperator. (APPDEV-12828)
Updates
Charts
- Refactored tooltip text ellipsis logic for improved performance. (APPDEV-15418)
- Refactored legend text ellipsis logic for improved performance. (APPDEV-15418)
- Hovering the color icon in chart's legend now highlights the corresponding series in the chart. (APPDEV-15535)
Treemapnow displays dataset with no clusters defined. (APPDEV-15753)
AnnotationsChart
- Now allows setting chart width using the
widthprop. Accepts CSS units like"100%"or"500px", or numeric values, which get treated as pixels. - Fixed annotation marker hover colors in Firefox by replacing canvas brightness filter with direct RGB color manipulation. (APPDEV-15605)
CategoricalBarChart
ColorRulewith nestedvalueAccessornow targets specific subcategories in multi-dimensional data. (APPDEV-15575)ColorRulevalueAccessorcan now access any custom field in the data, including nested properties using dot notation (e.g.,status,metadata.severity). (APPDEV-15782)- Added
ToolbarandDownloadCSVslots toCategoricalBarChartfor toolbar configuration. (APPDEV-15102, APPDEV-13269)
Chip
- Now has improved active and hover state styles for polymorphed Chips when rendered as
button,a, or elements withtabindexset. (APPDEV-15489)
CodeSnippet
- Minimum height for
condensedsize is now reduced. (APPDEV-15379) - Line numbers are now top-aligned. (APPDEV-15379)
DataTable
- Columns can now be ordered via drag-and-drop in the column settings modal. (APPDEV-9900)
- Downloading data as CSV now excludes
sparklinecolumns. (APPDEV-5791) - When downloading data as CSV, cells containing
MultiMeterBarChartvalues are now in JSON format. (APPDEV-5791) - Columns with
autoorcontentwidth do not keep growing anymore under specific browser zoom and display scale combinations. (APPDEV-15617) - Now allows custom column actions in addition to certain built-in column actions for
meterbarcolumns. The allowed built-in actions includeCopyItem,HideColumn,ColumnOrder, andColumnPinning. (APPDEV-15691)
FilterField
- Suggestions for keys of type
JSONPathuse theJsonIconinstead of theVariableIcon. - Updated syntax tree version to
005with the addition ofcomparisonOperator. (APPDEV-12828) - Search suggestions now correctly preserve and display trailing spaces and already escaped values are no longer escaped again when applying the search suggestion. (APPDEV-15060, APPDEV-15371)
- Out of range highlight index has been fixed for suggestions matches. (APPDEV-15701)
- Large numbers with decimals are now parsed as strings instead of a BigInt, which can't handle decimals.
- Suggestions from the
onSuggestcallback now include asuggestionTypeproperty, allowing custom handling based on whether a suggestion comes from a validator, JSONPath, or hint. (APPDEV-15479) convertFilterFieldTreeToStringnow correctly parses search operator.- Clearing the FilterField after pasting into a FilterField that already has an incomplete statement does not crash the FilterField. (APPDEV-15541)
- Inserting the "Use as key" suggestion does not escape already escaped keys that include double-quotes. (APPDEV-15689)
convertFilterFieldTreeToStringnow correctly parses asterisks forstarts-with,ends-with, andcontains. (APPDEV-15578)- Safari now correctly underlines matching suggestions in the suggestions overlay. (APPDEV-15585)
GaugeChart
- Add support for object values with
valueAccessorandColorRuleevaluation. (APPDEV-15518)
HistogramChart
- When highlighting a series, all dimmed series are more opaque. (APPDEV-15535)
MeterBarChart
- Add support for object values with
valueAccessorandColorRuleevaluation. (APPDEV-15518)
MultiMeterBarChart
- Add support for object values with
valueAccessorandColorRuleevaluation. (APPDEV-15518)
Sparkline
contextValuescan be aligned to the right or left, labels can have fixed width, negative sign has reserved spacing, labels fontSize are dynamic depending on container height. ( APPDEV-13369)
TimeframeSelector
- Presets are now fully isolated, ensuring a clean and reliable experience across all instances. (APPDEV-15686)
- Always applies valid timeframes on
Enter. (APPDEV-15559)
TimeseriesChart
- When highlighting a series, all dimmed series are more opaque. (APPDEV-15535)
- Fixed custom intents icon not appearing on collapsed
Toolbar(APPDEV-15550)
ToggleButtonGroup
- Scroll is confined to the
ToggleButtonGroupwhen an item is selected or on page load. (APPDEV-15688) - Ensure no non-readable (like
false,null, orundefined) children are passed by theuseSlotshook. (APPDEV-15581)
TreeMap
- Now the
TreeMapsupportsColorRules(APPDEV-15459)
XYChart
- Resolved an issue where highlighting a series would also highlight other series with partially matching IDs.
- Fixed closest-point selection when the axis is reversed (APPDEV-15632).
- Fixed
data-minanddata-maxincorrectly showing domain boundaries for time axes. (APPDEV-15619) - Added Custom Tooltip for
XYChart. (APPDEV-15174) RectSeriesnow support color for itscolorRuleslot. (APPDEV-15546)
2.12.3
Updates
Page
- Use stricter selector for
:has()to improve performance on high node-count subtrees. (APPDEV-15811)
2.12.2
Updates
FilterField
- Large numbers with decimals are now parsed as strings instead of a BigInt, which can't handle decimals.
convertFilterFieldTreeToStringnow correctly parses search operator.convertFilterFieldTreeToStringnow correctly parses asterisks forstarts-with,ends-with, andcontains. (APPDEV-15578)
ToggleButtonGroup
- Scroll is confined to the
ToggleButtonGroupwhen an item is selected or on page load. (APPDEV-15688)
2.12.1
Deprecations
FilterField
- The
currentTokenprop in theonSuggestcallback is now deprecated. (APPDEV-15544)
Updates
FilterField
- Provide
currentTokensin theonSuggestcallback for easy filtering of different types of custom suggestions, depending on the current token. (APPDEV-15544) - Clearing the FilterField after pasting into a FilterField that already has an incomplete statement does not crash the FilterField. (APPDEV-15541)
2.12.0
Deprecations
Menu
- The
Menu.ItemIconslot will be removed in the future. UseMenu.PrefixorMenu.Suffixinstead. (APPDEV-10187)
Updates
AnnotationsChart
- Fixed actions menu, now hides while scrolling and reappears when scrolling stops. (APPDEV-15493)
ChipGroup
- Introduces a
maxVisibleChipsproperty to limit the number of visible chips in a collapsed chip group, regardless of available space. (APPDEV-15046)
DataTable
- The cell actions menu trigger now has a higher z-index and is no longer obscured in
meterbarcolumns. (APPDEV-15523) - Pagination controls now hide the page selector when there's only one page to show, or when the table has no data. (APPDEV-12899)
- Purely presentational columns no longer have an
aria-label. (APPDEV-15494) - Hovering a single Gantt segment no longer re-renders all Gantt segments in the table. (APPDEV-14939)
- No longer shows a blank space in Firefox when the table data is updated. (APPDEV-15467)
FilterField
- Pin and clear buttons in the input are now properly aligned with the designs. (APPDEV-14995)
- Negative numbers are now correctly converted to
Numbernodes (instead ofString) in the filter field syntax tree. (APPDEV-15406) - Added detail descriptions for all operators. (APPDEV-15054)
MapView
- Fixed a bug making the
MapViewunable to show DownloadCSV in a collapsedToolbar(APPDEV-15424)
Menu
- Introduces two new slots,
Menu.PrefixandMenu.Suffix, for adding icons to menu items. (APPDEV-10187)
Page
- Rebuilt
Pagecomponent, removed animations for performance reasons and added opt-in integrated controls. (APPDEV-14149)
TreeMap
- The
TreeMapnow acceptsToolbarandDownloadCSVas Slots. (APPDEV-15110)
XYChart
- Zoom-in restrictions for numerical and logarithmic axes have been removed. However, once any axis (except categorical axes) reaches its maximum limit, further zoom-in will no longer be possible.(APPDEV-12703)
- Improved styling for hovered datapoints in a RectSeries. (APPDEV-15390)
2.11.4
Updates
ToggleButtonGroup
- Scroll is confined to the
ToggleButtonGroupwhen an item is selected or on page load. (APPDEV-15688)
2.11.3
Updates
FilterField
- Large numbers with decimals are now parsed as strings instead of a BigInt, which can't handle decimals.
convertFilterFieldTreeToStringnow correctly parses search operator.- Clearing the FilterField after pasting into a FilterField that already has an incomplete statement does not crash the FilterField. (APPDEV-15541)
convertFilterFieldTreeToStringnow correctly parses asterisks forstarts-with,ends-with, andcontains. (APPDEV-15578)
2.11.2
Updates
XYChart
- Fixed error when categorical axis had only one category. (APPDEV-15599)
2.11.1
Updates
FilterField
- Fix issue where operator suggestions were shown when pasting content. (APPDEV-14905)
- Fix infinite loop when entering quotes and brackets. (APPDEV-15520)
SegmentSelector
- No longer throws an error within the Overlay. (APPDEV-15365)
2.11.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.14.0.@dynatrace/strato-iconswas updated to version1.11.0.
Updates
Charts
- Apply strategy pattern for
InteractionsOverlay(APPDEV-13111)
DataTable
- Now properly adjusts its height when the data is cleared. (APPDEV-15391)
- Column widths are now preserved when the table is not displayed, but still mounted. (APPDEV-15389)
- Now has improved vertical scroll performance, especially in scenarios with many hidden columns. (APPDEV-15320)
- Empty table states now have updated messages and styling. (APPDEV-13554)
- The first row details element no longer displays a top horizontal divider and the last row details element no longer displays a bottom horizontal divider. In non-contained tables, the last row no longer displays a horizontal divider, and tables with hidden headers no longer display a top horizontal divider. (APPDEV-15161)
DateTimePicker
- Clicking inside spin buttons now selects all digits, keeping input editable. (APPDEV-15381)
DonutChart
DonutCharthandlesToolbarandDownloadCSVas Slot. ( APPDEV-15100) - (APPDEV-13466)- Fixing error when loading state is on. (APPDEV-15431)
DQLEditor
- Now has improved auto-completion performance. (APPDEV-15356)
FilterField
- Improved handling of spaces and closing parentheses for filtering pinned and recent suggestions. (APPDEV-14849)
- A controlled
FilterFielddoes not crash when pasting an image while someFilterFieldcontent is selected. (APPDEV-15398, APPDEV-15404) - The
disabledandrequiredno longer default tofalsein theFilterFieldto enable proper inheritance when wrapped in aFormField. (APPDEV-15388) - Validator map type definition now accepts an array of types for conveniently restricting a value type to a subset of filter field primitive types. (APPDEV-15166)
ShowMoreis no longer shown when the amount of options is exactly the limit.- Fixed spacing in "Use as key/value" suggestion. (APPDEV-15393)
- The tree to string conversion util now keeps all backslashes as in the original input. (APPDEV-15425)
- Use as key / value is also shown when pasting and includes values or keys that are already in the
FilterField. "Match formatting“ has been renamed to “Apply filter syntax“ and is only shown when the pasted content contains special characters. (APPDEV-14705)
PieChart
- Fixing error when loading state is on. (APPDEV-15431)
- Now
PieCharthandlesToolbarandDownloadCSVas Slot. ( APPDEV-15100) - (APPDEV-13466)
SegmentSelector
- To always apply segments regardless of their validity the
setSegmentsfunction now accepts an additionalforceparam. (APPDEV-15312) - Validates asynchronously to ensure private and new segments are validated correctly. (APPDEV-15365, APPDEV-15310)
Tooltipoverlay is now scrollable and shows all selected segments. (APPDEV-14948)setSegmentsno longer throws an error when permissions are missing. (APPDEV-15365)
Select
onFocusandonBlurevents are not called when overlay opens or closes. (APPDEV-15423)
SimpleTable
- The last row in non-contained tables no longer displays a horizontal divider. (APPDEV-15161)
SingleValueGrid
- Setting a proper role and aria-label value (APPDEV-15419)
TimeframeSelector
- Clicking inside spin buttons now selects all digits, keeping input editable. (APPDEV-15381)
aria-disabledproperty is now only added when explicitly set. (APPDEV-15457)
TimeseriesChart
- Fixed tooltip to be displayed in small charts. (APPDEV-15351)
XYChart
- Panning and dragging are now only displayed on pannable axes. (APPDEV-13112)
- The default color palette for ‘DotSeries’ and ‘LineSeries’ has been set to ‘categorical’. (APPDEV-14794)
2.10.2
Updates
SegmentSelector
setSegmentsno longer throws an error when permissions are missing. (APPDEV-15365)
2.10.1
Updates
DonutChart
- Fixing error when loading state is on. (APPDEV-15431)
PieChart
- Fixing error when loading state is on. (APPDEV-15431)
2.10.0
Dependency updates
@dynatrace/strato-design-tokenswas updated to version1.2.0.@dynatrace/strato-iconswas updated to version1.10.0.@dynatrace/strato-componentswas updated to version1.13.0.
Deprecations
XYChart
-
The DotSeries
nameprop has been deprecated, please switch tonameAccessorinstead. -
The
ColorSelectionPropprop has been deprecated, please switch toShapeColorSelectionPropinstead. (APPDEV-14339)
Updates
Charts
- Fixed an issue where the toolbar, with a placement of bottom-right, would not stay correctly positioned after being dragged.
- Fixed chart intents implementation. (APPDEV-15123)
- Fixed an issue in the
ColorRuleswhere the color wasn't applied if using a string including the default accessor name in thevalueAccessor(APPDEV-15326) - Prevent future to value in timeframe being displayed as now on tooltip. (APPDEV-15220)
AiResponse
- Introduces a new component to animate AI-generated content as Markdown. (APPDEV-14959)
CategoricalBarChart
- Resolved an issue where ticks were misaligned when zooming in the browser or setting the tick label layout to vertical in Safari. (APPDEV-15137)
CodeSnippet
- The right padding is now reduced. (APPDEV-15043)
DataTable
- Columns with
disableColumnHidingset now remain hidden when toggling the visibility of a parent column or "Show all" in the column settings. (APPDEV-15275) - Sub-row indicator column headers now show their full header label without ellipsis or tooltip when there is sufficient space. (APPDEV-14263)
- The 'Expand/Collapse All Sub-Rows’ button is now correctly aligned in the sub-row indicator column when a custom header renderer is used. (APPDEV-15308)
- Now column ordering works correctly in the column settings modal when adjacent columns are pinned. (APPDEV-14955)
- Pinned columns now correctly render a box-shadow on overflow after reordering rows via drag and drop. (APPDEV-15134)
- Row batch selection with
Shift+Clicknow respects the current row order. (APPDEV-15197) - For custom headers not using the
DataTable.DefaultCellwith low height and sorting activated, the height of the cell no longer increases on hover. (APPDEV-14837) - Annotations headers in gantt columns now support loading, error, and empty states. (APPDEV-14957)
- Now adapts row height correctly when enabling
lineWrapin Safari. (APPDEV-15171) - Now exposes the
DATA_TABLE_ROW_ID_SEPARATORconstant for custom row ID handling in combination with sub-rows. (APPDEV-15216) - Console error 'Cannot read properties of undefined' which was logged sometimes during drag and drop is now fixed. (APPDEV-15223)
DonutChart
- Improving the tooltip so that it follows the pinned marker on scroll. (APPDEV-14892)
FilterField
- Clean up spaces when deleting statements with the delete statement button. (APPDEV-15064)
- Move focus to the first newly shown option when expanding collapsed suggestions. This improves keyboard navigation and focus consistency. (APPDEV-15155)
- LogicalOperators (
OR,AND) after an opening bracket or another LogicalOperators now cause an error. (APPDEV-15061, APPDEV-15221) - Keys with spaces in the
validatorMapnow correctly display suggested operators. (APPDEV-15195) - Now handles disabled, required and id updates correctly. (APPDEV-15293)
- The
FilterFieldsyntax tree now correctly groups statements chained using implicit and explicit logicalANDand logicalOR. (APPDEV-14932)
HoneycombChart
- Now the
HoneycombChartis able to configure the toolbar through a SlotHoneycombChart.Toolbar(APPDEV-15130) - Now
HoneycombChartis able to configure theDownloadCSVButton through a slotHoneycombChart.DownloadCSV. (APPDEV-13464) - Improving the tooltip so that it follows the pinned marker on scroll. (APPDEV-14892)
MeterBarChart
- Improving the tooltip so that it follows the pinned marker on scroll. (APPDEV-14892)
- Fixed some styling issues in the
Toolbarof theMeterBarChart. (APPDEV-15222)
MultiMeterBarChart
- Improving the tooltip so that it follows the pinned marker on scroll. (APPDEV-14892)
PieChart
- Improving the tooltip so that it follows the pinned marker on scroll. (APPDEV-14892)
Select
- Also fires a blur event when the focus moves outside of content area. (APPDEV-15236)
SingleValue
SingleValuenow is able to useIntentsandToolbar. (APPDEV-13909)- Improve normalize function type safety to avoid exceptions. (APPDEV-15338)
SingleValueGrid
- Intents can now be added to the grid using the
SingleValueGrid.Intentor individually using the seriesAction prop. (APPDEV-14694) - Added
SingleValueGrid.Toolbarcomponent to customize or hide the toolbar. (APPDEV-14697) - Enabling Color overriding for custom fields within the dataset. (APPDEV-15274)
Tabs
- Scroll button no longer appears above other overlays. (APPDEV-15375)
TimeseriesChart
- Range thresholds now appear behind the chart shapes. (APPDEV-15015)
ToggleButtonGroup
- Scroll button no longer appears above other overlays. (APPDEV-15375)
TreeMap
- Improving the tooltip so that it follows the pinned marker on scroll. (APPDEV-14892)
XYChart
- An additional column has been added into the downloadable CSV with the type of each datapoint. (APPDEV-15188)
- Rect series now have a default name in the downloaded CSV file. (APPDEV-15188)
- Improved hover for dot series using per-series quad tree closest-point lookup for large datasets. (APPDEV-14931)
- Resolved an issue where ticks were misaligned when zooming in the browser or setting the tick label layout to vertical in Safari. (APPDEV-15137)
- The
DotSeriesslot now supports multiple series using the new 'seriesIdAccessor' prop. (APPDEV-14339) LineSeriesvariant is now available in the strato package. (APPDEV-14395)
2.9.5
Updates
SegmentSelector
setSegmentsno longer throws an error when permissions are missing. (APPDEV-15365)
2.9.4
Updates
FilterField
- Clean up spaces when deleting statements with the delete statement button. (APPDEV-15064)
2.9.3
Updates
Page
- Revert the rework due to erroneously introduced breaking changes. (APPDEV-15285)
2.9.2
Updates
DataTable
- Columns are now remeasured when fonts are finished loading. (APPDEV-15124)
- Newly visible columns now render correctly during horizontal scrolling. (APPDEV-15121)
2.9.1
Updates
FilterField
- The value of JSONPath keys contains escape characters to correctly convert JSONPath nodes in the convertTreeToString function. (APPDEV-15208)
- Using
replace-statementasinsertionStrategyfor suggestions now replaces the pasted content token. (APPDEV-15242) - A standalone
$after a comparison operator is no longer the start of a new statement and is now parsed as a value. (APPDEV-15082) - More characters are allowed in filter keys again to match the validity of statements before updating the syntax for parsing free text. (APPDEV-15240)
Page
- Merge back dropped commits relevant to the
Page's backwards-compatibility and pass throughdata-testidandiddown to thePagecomponent. (APPDEV-15121)
2.9.0
Updates
Charts
- Fixed an issue where the thresholds tooltip would cut off some items when too many thresholds overlapped.
AiLoadingIndicator
- Introduces a new component to indicate that AI-generated content is being loaded. (APPDEV-14958)
AnnotationsChart
- Improving the tooltip so this one can follow the pinned marker on scroll. (APPDEV-14782)
- Enable
truncateModeregardless oftextOverflowprop.
CategoricalBarChart
- Fixed an issue that caused the label containing emojis to be cropped in categorical axis. (APPDEV-15048)
- Solved an issue that caused truncated axis ticks to not have text ellipsis. (APPDEV-15135)
- Improving the tooltip so this one can follow the pinned bar on scroll. (APPDEV-14782)
DataTable
- Table's height is now updated correctly when the number of visible header groups changes. (APPDEV-15044)
- The column definition now provides an additional
labelproperty for custom headers that appears in the column settings and as user-friendlyaria-label. (APPDEV-14531) - When row interactivity is enabled, text selection within table rows and row details is now possible. (APPDEV-15053)
FeatureHighlight
- Overlay now repositions when the anchor element moves after initial render. (APPDEV-15021)
FilterField
- JsonPath now supports quoted root nodes. (APPDEV-14741)
GaugeChart
- Intents can now be added using the
GaugeChart.Intentcomponent. (APPDEV-13911) - The chart now displays a toolbar when using intents. This toolbar can be customized or hidden using the
GaugeChart.Toolbarcomponent. (APPDEV-13888)
HistogramChart
- Improving the tooltip so this one can follow the pinned bin on scroll. (APPDEV-14782)
Menu
Menu.Intentnow supports adding a custom icon. (APPDEV-14885)
Modal
- Height is now limited to no longer overlap with the browser's address bar on mobile devices. (APPDEV-15126)
Page
- The
Sidebarnow features a new expander button available via opt-in using theintegratedControlsprop. Animations for both theSidebarandDetailViewhave been removed which enhances the performance of thePagecomponent. (APPDEV-14149)
TimeseriesChart
- Fixing series actions scrolling for x-axis selection tooltip. (APPDEV-15206)
- Improving the tooltip so this one can follow the pinned datapoint on scroll. (APPDEV-14782)
XYChart
- Fixed an issue that caused the label containing emojis to be cropped in categorical axis. (APPDEV-15048)
- DotSeries now uses the name of the series as name field in downloaded CSV file. (APPDEV-14949)
- Improving the tooltip so this one can follow the pinned datapoint on scroll. (APPDEV-14782)
2.8.4
Updates
SegmentSelector
setSegmentsno longer throws an error when permissions are missing. (APPDEV-15365)
2.8.3
Updates
FilterField
- Clean up spaces when deleting statements with the delete statement button. (APPDEV-15064)
2.8.2
Updates
DataTable
- Table's height is now updated correctly when the number of visible header groups changes. (APPDEV-15044)
- Columns are now remeasured when fonts are finished loading. (APPDEV-15124)
- Newly visible columns now render correctly during horizontal scrolling. (APPDEV-15121)
- No longer crashes when column actions are used together with custom row IDs. (APPDEV-15263)
2.8.1
Updates
FilterField
Searchoperator is correctly converted in theconvertFilterFieldTreeToStringfunction. (APPDEV-15128)
2.8.0
Breaking changes
FilterField
- The returned value of the
matches-phraseandnot-matches-phraseoperators changed from~tomatches-phrase, and from!~tonot-matches-phrase, which is considered breaking but included in a patch as the API and documentation already specify the expected value asmatches-phraseandnot-matches-phrase. (APPDEV-14997)
Deprecations
convertToColumnsV2
- The
convertToColumnsV2function is now deprecated. Please useconvertToColumnsinstead. (APPDEV-13695)
DataTableV2
- The
DataTableV2and all it's types and subcomponents that includeDataTableV2in their name are now deprecated. Please useDataTableinstead. (APPDEV-13695)
SimpleTableV2
- The
SimpleTableV2and all it's types that includeSimpleTableV2in their name are now deprecated. Please useSimpleTableinstead. (APPDEV-13695)
Updates
Charts
- Updated chart toolbar layout. (APPDEV-13912)
DataTableV2
- The cursor now stays as
col-resizewhile resizing columns. - Now has improved caching for deeply nested sub-rows. (APPDEV-14937)
- Parent headers of nested header groups are now rendered correctly when toggling column visibility. (APPDEV-14944)
- Pinned columns now show improved performance during resizing. (APPDEV-14811)
- Cell action triggers no longer overlap with sub-row expanders in right-aligned columns. (APPDEV-14961)
FilterField
- No longer shows a scrollbar when typing
aoroin an empty FilterField. (APPDEV-14962) - A suggestion for searching for text is now shown in the
FilterFieldwhen applicable. The suggestion is only added whensearchConversionis enabled in theparserConfig. (APPDEV-14350) - The
convertStringToFilterFieldTreefunction converts the given string according to the providedvalidatorMap. (APPDEV-14980) - The
FilterFieldnow supports showing multiple relevant suggestion types simultaneously. E.g. key suggestions and comparator suggestions when inserting "key ". (APPDEV-14350) - The number of default suggestions rendered is now limited by default. A "Show more" button is shown if more suggestions are available. The amount of suggestions can be adjusted using the
defaultSuggestionsCountprop. (APPDEV-14841) - If a key has
JSONPathas one of its types in thevalidatorMap, aJSONPathsuggestion is shown even when there are additional type definitions for the same key. (APPDEV-15018) - The
FilterFieldsyntax now supports entering text with reserved characters without splitting the text into multiple tokens. (APPDEV-13980)
HistogramChart
- You can now use async templates in
Selectactions. (APPDEV-14621) - Header text in
Selecttooltip is now left aligned. (APPDEV-15025)
MeterBarChart
MeterBarChartnow is able to use aToolbar. (APPDEV-13881)MeterBarChartis now able to addIntents. (APPDEV-14695)
MultiMeterBarChart
- The
MultiMeterBarChartnow is able to show aToolbar. (APPDEV-13924) - The
MultiMeterBarChartnow is able to useIntents. (APPDEV-14696)
TimeseriesChart
- Header text in
Selecttooltip is now left aligned. (APPDEV-15025) - You can now use async templates in
Selectactions. (APPDEV-14621)
XYChart
- Header text in
Selecttooltip is now left aligned. (APPDEV-15025) - You can now use async templates in
Selectactions. (APPDEV-14621)
2.7.6
Updates
SegmentSelector
setSegmentsno longer throws an error when permissions are missing. (APPDEV-15365)
2.7.5
Updates
FilterField
- Fixes erratic scrolling behavior for virtualized suggestion lists. (APPDEV-15353)
2.7.4
Updates
DataTableV2
- Table's height is now updated correctly when the number of visible header groups changes. (APPDEV-15044)
- Columns are now remeasured when fonts are finished loading. (APPDEV-15124)
- Newly visible columns now render correctly during horizontal scrolling. (APPDEV-15121)
2.7.3
Updates
FilterField
- The
convertStringToFilterFieldTreefunction converts the given string according to the providedvalidatorMap. (APPDEV-14980)
2.7.2
Updates
FilterField
Searchoperator is correctly converted in theconvertFilterFieldTreeToStringfunction. (APPDEV-15128)
2.7.1
Updates
DataTableV2
- Reverted "While resizing a column the cursor now remains as
col-resizerather than switching back topointer" due to performance impact on large pages. (APPDEV-15023)
FilterField
- No longer returns
No matching suggestions found.message in the onSuggest callback when not applicable. (APPDEV-14981)
2.7.0
Breaking changes
FilterField
- The
FilterField.Suggestionref type changed fromHTMLLiElementtoHTMLDivElement, which is considered breaking, but included in a patch to fix the suggestions markup and a11y issues. (APPDEV-14743)
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/unitsfrom^1.1.0to^1.3.1. (APPDEV-14636) @dynatrace/strato-componentswas updated to version1.12.0.@dynatrace/strato-design-tokenswas updated to version1.1.4.@dynatrace/strato-iconswas updated to version1.9.0.
Updates
Charts
- Simplified formatter for
stringunits. (APPDEV-11106)
AnnotationsChart
- Fixed
textOverflowtruncateModetextWidthcalculation. (APPDEV-14889)
DataTableV2
- The table now provides the option to configure annotations for
ganttcolumns via theannotationsHeaderprop. (APPDEV-14503) - Now supports microsecond and nanosecond precision when sorting columns of type
date. (APPDEV-13625) - Now has improved scrolling performance for deeply nested sub-rows. (APPDEV-14717)
FilterField
- Details and actions for recent and pinned suggestion items are now placed differently depending on the overlay width to make proper use of the space available. (APPDEV-14743)
- Auto suggestions in the
onSuggestcallback don't include default logical operators anymore. (APPDEV-14743) - Type
JSONPathcan be used for keys in thevalidatorMap. (APPDEV-14600) JSONPathhint suggestion is shown when typing aJSONPathkey. (APPDEV-14600)- Input is only focused when actually clicked on and doesn't register outside clicks anymore. (APPDEV-14899)
- The value placeholder of wildcard suggestions is automatically selected when using a controlled
FilterField. (APPDEV-14853) - When applying a wildcard suggestion, quotes are automatically added around the value placeholder. (APPDEV-14879)
SegmentSelector
- Decrease log level for missing records in
SegmentSelectorvariable values. (APPDEV-14911) - Nested arrays in segment variable values are now flattened to enhance compatibility with Grail. (APPDEV-14930)
SelectV2
- Now supports a huge amount (100000+) of options within one group. (APPDEV-14963)
SingleValue
- Fixed non expected string values in formatter. (APPDEV-14920)
SingleValueGrid
- Fixed labels rendering when one of them is null or empty. (APPDEV-14843)
- Enabling
XAxisandYAxisslots for the sparkline config. (APPDEV-14915)
XYChart
Tooltipnow shows data for the closest shape (dot, line, or rect). (APPDEV-14506)- Removed log for invalid
RectSeriesvalues. - Replaced internal test IDs with more appropriate attributes. (APPDEV-14379)
2.6.2
Updates
DataTableV2
- Reverted "While resizing a column the cursor now remains as
col-resizerather than switching back topointer" due to performance impact on large pages. (APPDEV-15023)
2.6.1
Updates
DataTableV2
- Gantt charts now render again for rows with a single segment parent. (APPDEV-14929)
ToggleButtonGroup
- Added
aria-hiddento the hidden text content inToggleButtonGroup.Item. (APPDEV-14950)
2.6.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.11.0.@dynatrace/strato-design-tokenswas updated to version1.1.3.@dynatrace/strato-iconswas updated to version1.8.0.
Deprecations
Conversion-Utilities
-
The following are now deprecated, as they have been moved from
@dynatrace/strato-components-preview/conversion-utilitiesto@dynatrace/strato-components-preview/charts: -
convertToTimeseries -
convertQueryResultToTimeseries -
convertToTimeseriesBand -
convertToFieldEntries -
getTypesForRecordIndex -
getFieldsArrayForRecordIndex -
checkTimeseriesFormat -
getDimensions -
TimeseriesWithDimensions -
FieldEntry -
Dimension
(APPDEV-11720)
-
convertToColumnsV2is now deprecated, as it has been moved from@dynatrace/strato-components-preview/conversion-utilitiesto@dynatrace/strato-components-preview/tables. (APPDEV-11720) -
The following functions, types and constants have been deprecated and will be removed with the next breaking change cycle:
-
convertToSingleValueData -
SingleValueData -
listRecordFields -
pickRecordIndex -
EMPTY_SINGLE_VALUE_DATA -
DQLResultConverter -
DQLResultConverterProps -
DQLResultConverterBaseProps -
DQLResultConverterTimeseriesProps -
formatDqlNumber -
ConversionCellValue -
recommendVisualizations -
VisualizationRecommenders -
VisualizationRecommendersProps -
VisualizationRecommenderResult -
VisualizationKind -
VisualizationKindOptions
(APPDEV-11720)
Formatters
- The Formatters package, including all of its functions and types, is now deprecated and will be removed in the future. (APPDEV-11727)
Overlays
- The components
FeatureHighlight,Microguide,TerminologyOverlay, andInformationOverlayare now deprecated in theOverlayspackage. They have been moved to theContentpackage. Migration for updating the imports is provided. (APPDEV-11716)
ToggleButtonGroup
- The
ToggleButtonGroupfrom thebuttonspackage is now deprecated. Please use the one from theformspackage instead. (APPDEV-14311)
Updates
Charts
-
The following have been moved from
@dynatrace/strato-components-preview/conversion-utilitiesto@dynatrace/strato-components-preview/charts: -
convertToTimeseries -
convertQueryResultToTimeseries -
convertToTimeseriesBand -
convertToFieldEntries -
getTypesForRecordIndex -
getFieldsArrayForRecordIndex -
checkTimeseriesFormat -
getDimensions -
TimeseriesWithDimensions -
FieldEntry -
Dimension
(APPDEV-11720)
Content
- The components
FeatureHighlight,Microguide,TerminologyOverlay, andInformationOverlayare moved from theOverlaysto theContentpackage. (APPDEV-11716)
Tables
convertToColumnsV2has been moved from@dynatrace/strato-components-preview/conversion-utilitiesto@dynatrace/strato-components-preview/tables. (APPDEV-11720)
AnnotationsChart
- When end marker value is null it will no longer throw an error. (APPDEV-14763)
DataTableV2
- Hidden headers are now supported in combination with column pinning. (APPDEV-14108)
- Sortable columns now display a sorting icon on hover, even when no column actions are configured. (APPDEV-14777)
- Columns of type
meterbarandganttnow apply runtime checks on the data passed. - Pinned columns are now resizable. (APPDEV-14054)
- While dragging a row, the plus icon used to trigger sub-row expansion is no longer visible in the original row. (APPDEV-14834)
- While resizing a column the cursor now remains as
col-resizerather than switching back topointer.
DQLEditor
- Now highlights the DQL commands
load,smartscapeNodes, andtraverse. (APPDEV-14806)
FilterField
aria-labelprop is now correctly applied to theFilterFieldcontent element. (APPDEV-14780)- Now calls
onChangewhen a selected section is deleted. (APPDEV-14802) - Pasted content now has a special highlighting, and a suggestion to apply the default
FilterFieldhighlighting is displayed. (APPDEV-14435) - Information about pasted content is included in the
onSuggestcallback. (APPDEV-14733) - Default key suggestions now handle logical operators appropriately.
GaugeChart
- Added support for
ColorRuleslot. (APPDEV-14604)
HistogramChart
- No longer hides the toolbar in the
HistogramChartwhen clicking on a pinned tooltip. (APPDEV-12359)
MeterBarChart
- The
MeterBarChartis able to useColorRules. (APPDEV-14602)
MultiMeterBarChart
- The
MultiMeterBarChartnow supportsColorRules. (APPDEV-14603)
ToggleButtonGroup
ToggleButtonGroupgot reworked with new UI states, validation logic, and was moved to theformspackage. (APPDEV-14311)
XYChart
- The
XYChartis now able to useColorRules. (APPDEV-14754) - Fixed custom actions and intents when only categorical data is used. (APPDEV-14763)
- When applying a selection on a numerical descending axis, the span of the selection always shows a positive value. (APPDEV-14764)
- Fixed
Highlightnot working properly on zoomed rect series. (APPDEV-14775) - Updated invalid
valueAccessorlog to only log once per chart and set the level toinfo. (APPDEV-14819)
2.5.5
Updates
FilterField
aria-labelprop is now correctly applied to the FilterField content element. (APPDEV-14780)- Now calls onChange when a selected section is deleted. (APPDEV-14802)
2.5.4
Updates
XYChart
- Fixed chart transition shadow caused in the loading state. (APPDEV-14817)
2.5.3
Updates
CategoricalBarChart
- Fixed custom
colorPalettewhich wasn't working for multi-dimension data. (APPDEV-14824)
2.5.2
Updates
XYChart
- Updated invalid valueAccessor log to only log once per chart and set level to warn. (APPDEV-14819)
2.5.1
Updates
Markdown
- Markdown-style formatting is no longer limited to the first 20,000 characters. This restores the original behavior, but might result in the component crashing when used with overly long content. (APPDEV-14744)
Menu
- Intent opening faulty link. (APPDEV-14749)
XYChart
- Fixed data points not being highlighted after a selection. (APPDEV-14708)
2.5.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.7.0.@dynatrace/strato-componentswas updated to version1.10.0.@dynatrace/strato-design-tokenswas updated to version1.1.2.