Components preview
2.3.1
Tabs
- Removed
aria-controlsfrom inactive tabs. (APPDEV-14490)
2.3.0
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/react-hooksfrom^1.4.1to^1.5.3. (APPDEV-14277) @dynatrace/strato-componentswas updated to version1.9.0.
Deprecations
Forms
- The
TimeframeV2type has been deprecated, please use theTimeframetype instead. (APPDEV-13889)
SelectV2
- The
SelectV2and all it's types and subcomponents that includeSelectV2in their name are now deprecated. Please useSelectinstead. (APPDEV-13889)
Charts
- Allow moving toolbar with arrow keys when focused. (APPOBS-9390)
Conversion-Utilities
- The
queryResultprop of theDQLResultConvertercomponent and theconvertQueryResultToTimeseriesfunction, as well as therecordsprop of theconvertToTimeseriesfunction now also support theTypedQueryResulttype from@dynatrace-sdk/react-hooks. (APPDEV-14277)
CategoricalBarChart
- Display Thresholds on top of the series shapes. (APPDEV-13289)
CodeSnippet
- Added an
ErrorBoundaryto catch errors with syntax highlighting. (APPDEV-14313)
DataTableV2
- Now allows for more than 10k rows to be displayed in Firefox without pagination. (APPDEV-14010)
FilterField
- Add support for
FilterFieldsearch operator. (APPDEV-13977) - Show caret in empty
FilterFieldwhen focused. (APPDEV-14370) - Now automatically adds a space at the end of a statement when clicking into the
FilterField. (APPDEV-12589) - All internal
data-testids are removed to align with the behavior of other components. (APPDEV-14084) - The props
style,className, anddata-testidcan now be set onFilterField.Suggestions. (APPDEV-13925) - When typing
containsas an operator it is correctly marked as an error. (APPDEV-14403) - When inserting a value suggestion in a list, the cursor is not moved outside of the brackets. (APPDEV-14352)
FormField
- The props
data-dtrum-allow,data-dtrum-mask,style,className, anddata-testidcan now be set onFormFieldMessages. (APPDEV-13925)
HistogramChart
- Display
Thresholdson top of the series shapes. (APPDEV-13289) - Dynamic threshold pills now show the whole Y range of the threshold and the left and rightmost values. (APPDEV-13809)
- Add
ColorRuleslot. (APPDEV-14086)
NotifyButton
- The props
style,className, anddata-testidcan now be set onNotifyButton.Content. (APPDEV-13925)
SegmentSelector
- If there are no variables available for a segment, the corresponding empty message now includes an action to manage the segments directly in the app. (APPDEV-14398)
SingleValue
- The prop
applyThresholdBackgroundin theSingleValuenow only changes the background in case any threshold is met. (APPDEV-14103) - Fixing undefined error on formatting value. (APPDEV-14402)
TimeseriesChart
- Display
Thresholdson top of the series shapes. (APPDEV-13289) - Dynamic threshold pills now show the whole Y range of the threshold and the left and rightmost values.
- Fixed an issue where the chart would crash if all data points had a null value in the
valueproperty. (APPDEV-14358)
XYChart
- Fixed
SynchronizedCrosshairstaying disabled after Selection reset. (APPDEV-14453) - Display
Thresholdson top of the series shapes. (APPDEV-13289) - Fixes colorPalette coloring for when
DotSerieshas data in the series slot. (APPDEV-14329) - Now the
XYCharthighlights the datapoints included within the selection. (APPDEV-11895) - Custom actions and intents for the select interaction are now supported. (APPDEV-13734)
- Added a log to register every time an invalid value is passed to a
RectSeries. (APPDEV-14015)
2.2.1
SegmentSelector
- If there are no variables available for a segment, the corresponding empty message now includes an action to manage the segments directly in the app. (APPDEV-14398)
2.2.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.8.1.
Charts
- Fix style in hovered selection knob. (APPDEV-14093)
- The legend now shows a tooltip when truncation is set to start or end. (APPDEV-14230)
CodeSnippet
- Line numbers with more than two digits no longer break into a new line when
lineBreakis enabled. (APPDEV-14283)
DataTableV2
- Rows with disabled row selection are no longer de-selectable when no selection limit is specified. (APPDEV-14133)
- Resize handle on last column does not contribute to table width anymore, preventing unnecessary scrollbars. (APPDEV-14195)
- When reordering rows via drag and drop using the keyboard, the focus styles now remain visible on the dragged row. (APPDEV-12928)
- Now row heights are also remeasured when the column definition changes. (APPDEV-14315)
- Now supports controlled column pinning via the
pinnedColumnsprop andonPinnedColumnsChangecallback. (APPDEV-12407) - Screen readers now announce that the column settings were successfully reset to default. (APPDEV-14123)
- Clicking an overlay triggered from a cell within an interactive row no longer activates the row. (APPDEV-14285)
- Hovering over a column action header and displaying the menu button no longer affects its width. (APPDEV-14068)
- Pressing
Escapeto cancel row ordering via drag and drop now correctly restores the row order. (APPDEV-12928) - The
DataTableV2component and its sub-components now support spreading remaining props to their respective root elements. (APPDEV-12981) - The aria-label for the column resize handler button is now more informative. It uses the table header text when available, falling back to the column ID if not. (APPDEV-14173)
- When dragging a row within a scrollable table containing many virtualized rows, the drag operation no longer gets stuck. (APPDEV-12928)
- The type guards
isDataTableV2GroupColumnDefandisDataTableV2DisplayColumnDefare now exposed in the public API. (APPDEV-13741)
DateTimePicker
- Date-only picker now correctly handles negative UTC timezones. (APPDEV-14250)
DQLEditor
- History undo now reliably reverts changes as expected. (APPDEV-14130)
FilterField
- Enable text selection in
FilterFieldfor read-only. (APPDEV-9654)
HistogramChart
- Fixed an issue where the selection area would disappear when resizing the chart.
- Update label for dynamic thresholds value to be always
Dynamic, to reflect the dynamic nature of the values. (APPDEV-13555)
InformationOverlay
- Removed additional spacing wrongfully introduced in previous version.
- Screen readers now always announce the overlay's content if it is visible. (APPDEV-14181)
Modal
- Reduce
max-widthofmedium(960->768) andlarge(1334->1280) sizes. To keep the previousmax-widthyou can pass a respective style prop to the modal. (APPDEV-14152)
SegmentSelector
- Documentation link also works on empty and no access overlays. (APPDEV-14186)
- Improved accessibility by adding
aria-liveregion to announce selected segments after applying them. (APPDEV-14171)
SelectV2
- Trigger display values with spaces do not break lines anymore when using the filter. (APPDEV-14314)
- Remaining properties are now forwarded to the sub-components. (APPDEV-12972)
SingleValue
- Enabled
Sparklinex-axis config forSingleValueintegration. (APPDEV-14253)
TextEllipsis
- When
truncationModeis set tostart, punctuation characters are now rendered correctly at the start of the string. (APPDEV-14072)
TimeframeSelector
- Used
fieldsetto associate related controls under theTimeframelabel for accessibility. (APPDEV-14172) - Remaining properties are now forwarded to the root of the rendered component. (APPDEV-12971)
TimeseriesChart
- Enabled interactions in synchronized charts by resetting on click. (APPDEV-13990)
- Fixed an issue where the tooltip would display incorrect values when resizing the chart. (APPDEV-14094)
- Update label for dynamic thresholds value to be always
Dynamic, to reflect the dynamic nature of the values. (APPDEV-13555)
Tooltip
- Now only triggers the
onChangeif the state really changes.
XYChart
- Add synchronized selection. (APPDEV-12254)
- Adding series, categories, or details on the x-axes selection tooltip. (APPDEV-13772)
- Capitalize dynamic threshold value. (APPDEV-13555)
- Fixed an issue where the selection area would disappear when resizing the chart.
- Make
DotSeriestriangle shape slightly bigger. - Dynamic threshold pills now show the whole Y range of the threshold and the left and rightmost values. (APPDEV-12073)
2.1.1
SingleValue
- The prop
applyThresholdBackgroundin theSingleValuenow only changes the background in case any threshold is met. (APPDEV-14103)
2.1.0
Charts
- Point thresholds are now displayed on top of range thresholds for more clarity. (APPDEV-13377)
- Tooltip headers now properly respect the selected timezone across all chart components. (APPDEV-13643)
DataTableV2
- Now supports column pinning, allowing individual columns to stay fixed on the left or right edge of the table during horizontal scrolling. Use the
columnPinningprop to enable column pinning anddefaultPinnedColumnsto configure the initial state. (APPDEV-12407) - Interactive headers now also render a tooltip on hover when an ellipsis is applied. (APPDEV-12804)
- Rows are now remeasured when table data changes. (APPDEV-14127)
- Table headers now display column names in their ARIA labels. (APPDEV-13243)
- The border of an expanded row does not overlap with the table header anymore. (APPDEV-13938)
- Z-index values for the table do not conflict with the FilterField component anymore. (APPDEV-13962)
- Now provides column pinning actions for use in the
TableActionsMenu, allowing users to pin and unpin columns. (APPDEV-12407) - The sub-row expand buttons are now aligned correctly based on the
verticalAlignmentconfiguration in thevariantprop. (APPDEV-13846) - Row height now remains stable when columns are virtualized while scrolling. (APPDEV-13936)
DateTimePicker
- Now uses English locale for languages that could break the component. (APPDEV-14065)
- Day period in
useDateTimeFormatnow correctly affects hours regardless of its position. (APPDEV-13975) - Entering a zero for day or month now results in an invalid date (empty string returned in
onChange) instead of an incorrect date. (APPDEV-13942) - Leading zeros in time input fields are now accepted again. (APPDEV-13927)
DQLEditor
- Page with DQL editor test does not fail anymore. (APPDEV-14001)
HistogramChart
- Fixed an issue that caused the chart not being interactive when clicking
Esc.(APPDEV-13983)
HoneycombChart
- Having alternative method for drawing the marker to support all browsers. (APPDEV-13855)
- Fixed an issue that caused the chart to fail when working with ranges. (APPDEV-14061)
MeterBarChart
- Now the component exposes a
prefixIconprop. In the future, the<MeterBarChart.Icon/>slot will be removed. (APPDEV-12781)
MultiMeterBarChart
- Now the component exposes a
prefixIconprop. In the future, the<MultiMeterBarChart.Icon/>slot will be removed. (APPDEV-12781)
NumberInput
- The cursor now shows as
not-allowedwhenaria-disabledis set. (APPDEV-11369)
PasswordInput
- The cursor now shows as
not-allowedwhenaria-disabledis set. (APPDEV-11369)
SelectV2
- Remaining properties are now forwarded to the root of the rendered component. (APPDEV-12972)
- When using a controlled
SelectV2with theshowSelectedOptionsFirst, all of the options are shown and do not disappear on hover. (APPDEV-13961)
SingleValue
- Threshold coloring now also applies to Trend and Sparkline ticks. (APPDEV-13292)
TextInput
- The cursor now shows as
not-allowedwhenaria-disabledis set. (APPDEV-11369)
TimeframeSelector
- Now uses English locale for languages that could break the component. (APPDEV-14065)
- Selecting a custom preset will use the name of the preset item again. (APPDEV-13963)
- Day period in
useDateTimeFormatnow correctly affects hours regardless of its position. (APPDEV-13975) - Leading zeros in time input fields are now accepted again. (APPDEV-13927)
- Validation now follows the new validation concept by validating in a touched state. (APPDEV-13731)
TimeseriesChart
- Fixed an issue that caused the chart not being interactive when clicking
Esc.
TreeMap
- Having alternative method for drawing the node to support all browsers. (APPDEV-13855)
XYChart
- Exclude datapoints whose
valueAccessoris not a string or number. (APPDEV-13816) DotSeriesnow doesn't display tooltip information for datapoints that are outside of the visible area. (APPDEV-14120)- Thresholds are now displayed on initial state even if
infiniteZoomprop is active. (APPDEV-13377) - Display datapoints on plots edges. (APPDEV-11807)
- Selection Area on
XYChartnow is able to show top and bottom magnifiers based on visibility and formatter of corresponding axis. (APPDEV-13720) - Add custom actions support to
Annotations. (APPDEV-12206) - Apply selected dot shape to legend and tooltip in
DotSeries. (APPDEV-13935) - Select interaction support is now available. (APPDEV-13304)
2.0.1
DataTableV2
- The border of an expanded row does not overlap with the table header anymore. (APPDEV-13938)
- Z-index values for the table do not conflict with the FilterField component anymore. (APPDEV-13962)
- Row height now remains stable when columns are virtualized while scrolling. (APPDEV-13936)
DateTimePicker
- Day period in
useDateTimeFormatnow correctly affects hours regardless of its position. (APPDEV-13975) - Entering a zero for day or month now results in an invalid date (empty string returned in
onChange) instead of an incorrect date. (APPDEV-13942) - Leading zeros in time input fields are now accepted again. (APPDEV-13927)
SelectV2
- When using a controlled SelectV2 with the
showSelectedOptionsFirst, all of the options are shown and do not disappear on hover. (APPDEV-13961)
TimeframeSelector
- Selecting a custom preset will use the name of the preset item again. (APPDEV-13963)
- Day period in
useDateTimeFormatnow correctly affects hours regardless of its position. (APPDEV-13975) - Leading zeros in time input fields are now accepted again. (APPDEV-13927)
2.0.0
Breaking changes
General
- Removed previously deprecated
TimeUnitType,DataUnitBitType,DataUnitByteType,DataUnitType,ExponentialNumberUnitType,TimeConversionFactors,ExponentialDecimalLevels,ExponentialOctalBitLevels,ExponentialOctalByteLevelsfrom the formatters subpackage. (APPDEV-12172) DrawerPropsare now correctly exposed as an internal. (APPDEV-12232)- Removes deprecated mock-data subpackage. (APPDEV-12252)
- Removed popper helper from overlays subpackage. (APPDEV-12712)
- Removed no longer used
DurationModetype andCONVERSIONUNITSconstants from formatters. (APPDEV-12158)
Core
- Removes deprecated types associated with collections,
CollectionSectionProps,CollectionElement,CollectionChildren,ItemProps,ItemElement, andNode. (APPDEV-12184) - Removed
themeOptionsconstant andThemeOptionstype. Please use a literal'light' | 'dark'instead. (APPDEV-12084) - Removes deprecated
convertEasingTokenToFramerMotionandcreateFramerMotionTransition. (APPDEV-12190) - Removes deprecated helper function
isElementOverflowing. (APPDEV-12193) - Removes deprecated
hasUncontrolledProphelper. (APPDEV-12192) - Removes deprecated
DOMAttributesinterface. - Removes previously deprecated helpers
createElevationBoxShadowValueandcreateElevationFilterValue. (APPDEV-12187) - Removes already deprecated types
HeadingLevelandHeadingTagas well as theheadingLevelconstant. (APPDEV-12300) - Removes deprecated
PressEventsinterface. - Removes deprecated
isFunctionutility function. - Removes deprecated
createDomRect. (APPDEV-12188) - Removes deprecated types
DesignTokenandNumericDesignToken. (APPDEV-12191)
Forms
- Removed
FormControlReffrom thetriggerRefprop ofFormControlWithOverlayRef. - The
onChangecallback for form controls moved to theFormControlBaseProps, which are now generic. (APPDEV-12302)
Tables
- The deprecated
DataTableandSimpleTablehave been removed along with all associated types and functions. (APPDEV-10925)
AppCard
- Removed the AppCard component. (APPDEV-12636)
CodeSnippet
- The following deprecated
languageoptions are now removed:css-extr,diff,git,handlebars,less,makefile,ocaml,sass,scss,stylusandwasm. (APPDEV-12412)
DataTableV2
- The previously deprecated
selectionBehavioroption on thesubRowsprop is now removed. This change removes the support for the 'individual' selection behavior in favor of the defaultcascadingselection behavior. (APPDEV-12402) - The
disableColumnHidingprop to prevent columns from being hidden is now removed for header groups. To prevent a group from being hidden, usedisableColumnHidingon at least one of its child columns. (APPDEV-11411) - The improved cell interaction pattern is now the default and included out of the box. The old cell interaction pattern has been completely removed. (APPDEV-12059)
- The vertical alignment options
'top-left','top-center','top-right','bottom-left','bottom-center', and'bottom-right'are now removed from thealignmentoption in the column definitions, leaving only'left','center'and'right'. Vertical alignment can now only be configured globally via the table'svariantprop. (APPDEV-12307) - The deprecated
enableDragAndDropsetting is now removed from thecolumnOrderingprop. Drag and drop for columns is always enabled by default when usingcolumnOrdering, and cannot be disabled independently. (APPDEV-13147) - Removed
heightproperty from the root API since it never had any effect. Use a style override instead. (APPDEV-12153)
FeatureHighlight
- Removes deprecated
FeatureHighlightActionsProps. (APPDEV-12233)
FieldSet
- Removes deprecated prop
legend. Prefer using the<FieldSet.Legend>subcomponent to provide a legend. (APPDEV-11983) - ForwardRef is now an HTMLDivElement instead of an HTMLFieldSetElement. (APPDEV-13110)
FilterField
- Removed the deprecated
parserConfig. The Variable and BigInt nodes are now returned by default in the FilterFieldTree. (APPDEV-12939) - Introduces the
FilterFieldRootNodeas the initial node in aFilterFieldTree. This node is identical to the previous initial node (FilterFieldGroupNode) with the addition of aversionprop to indicate the version number of theFilterFieldTree. (APPDEV-13173) - Remove deprecated
convertFilterFieldStringWithReservedCharactersandconvertFilterFieldTreeWithReservedCharactersconversion utilities. (APPDEV-12120) - The 'explicitLogicalOperator' flag on the 'SimpleFilterFieldGroupNode' is now required. (APPDEV-12643)
GaugeChart
- The slots min, max and value have been removed. (APPDEV-12292)
InputGroup
- The
InputGroupis now aGridinstead of aFlexand alignsFormFields with labels and messages properly. (APPDEV-12833)
Microguide
- Removes deprecated
MicroguideStepProps. (APPDEV-12234)
Modal
- Removes deprecated constant
modalSizeOptions. (APPDEV-12235)
SegmentSelector
updateSegmentVariablesfunction was removed. Variables should not be updated directly. To update variables, update the whole segment, e.g. using thesetSegmentsfunction. (APPDEV-11074)RemoveSegmentandRemoveAllSegmentsno longer return a promise as the operation runs synchronously. (APPDEV-13375)
SingleValue
- Remove element from SingleValueRef. (APPDEV-11207)
TerminologyOverlay
- Removes previously deprecated
TerminologyOverlayFooterPropsinterface. (APPDEV-12237)
TextArea
- The deprecated type
TextAreaWidthis removed. (APPDEV-12915)
TimeframeSelector
- Removed deprecated
TimeframeSelectorBaseProps,TimeframeSelectorControlledProps, andTimeframeSelectorControlledProps. (APPDEV-12302)
Toast
- Removes deprecated
ToastPositiontype. Prefer using thepositionprop on theToastPosition. (APPDEV-12196) - Removes deprecated interfaces
useToastNotificationConfiganduseToastNotificationResult. (APPDEV-12195)
Tooltip
- The deprecated types
TooltipPlacementandTooltipDelayare now removed. The usage has been inlined into theTooltipProps. (APPDEV-13113)
XYChart
- Removed deprecated
HeatmapSeries,XYChartHeatmapSeriesProps,HeatmapDatapoint, andXYChartHeatmapSeriesActionItem. UseRectSeries,XYChartRectSeriesProps,RectDatapoint,XYChartRectSeriesActionIteminstead. (APPDEV-11569)
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/client-queryfrom^1.17.0to^1.21.1. (APPDEV-10464) - Changed peerDependency version range for
@dynatrace-sdk/react-hooksfrom^1.0.0to^1.4.1. (APPDEV-10464) - Changed peerDependency version range for
@dynatrace-sdk/client-filter-segment-managementfrom^1.4.0to^1.6.5. (APPDEV-10464) - Added
@dynatrace-sdk/notifications-v2as a peer dependency with version range^1.0.0. (APPDEV-13607)
Deprecations
FilterField
- The 'SimpleFilterFieldLogicalOperatorNode' and 'FilterFieldLogicalOperatorNode' are now deprecated and will be removed with the next breaking change. Use the 'logicalOperator' and 'explicitLogicalOperator' of the group node instead. (APPDEV-12643)
TimeframeSelector
- The TimeframeSelector has been moved to '
@dynatrace/strato-components-preview/filters'.The import from '@dynatrace/strato-components-preview/forms'is deprecated and will be removed. (APPDEV-13631)
1.11.3
SegmentSelector
- If there are no variables available for a segment, the corresponding empty message now includes an action to manage the segments directly in the app. (APPDEV-14398)
1.11.2
DataTableV2
- Clicking an overlay triggered from a cell within an interactive row no longer activates the row. (APPDEV-14285)
1.11.1
DataTableV2
- The border of an expanded row does not overlap with the table header anymore. (APPDEV-13938)
- Z-index values for the table do not conflict with the FilterField component anymore. (APPDEV-13962)
- Row height now remains stable when columns are virtualized while scrolling. (APPDEV-13936)
DateTimePicker
- Day period in
useDateTimeFormatnow correctly affects hours regardless of its position. (APPDEV-13975) - Entering a zero for day or month now results in an invalid date (empty string returned in
onChange) instead of an incorrect date. (APPDEV-13942) - Leading zeros in time input fields are now accepted again. (APPDEV-13927)
SelectV2
- When using a controlled SelectV2 with the
showSelectedOptionsFirst, all of the options are shown and do not disappear on hover. (APPDEV-13961)
TimeframeSelector
- Selecting a custom preset will use the name of the preset item again. (APPDEV-13963)
- Day period in
useDateTimeFormatnow correctly affects hours regardless of its position. (APPDEV-13975) - Leading zeros in time input fields are now accepted again. (APPDEV-13927)
1.11.0
Dependency updates
@dynatrace/strato-design-tokenswas updated to version1.1.0.@dynatrace/strato-iconswas updated to version1.6.0.@dynatrace/strato-componentswas updated to version1.8.0.
Charts
- Fixed an issue that prevented collapsing the chart toolbar with the keyboard. (APPDEV-13708)
Accordion
- The transition duration is now set to 0 for users who prefer reduced motion. (APPDEV-12430)
AnnotationsChart
- Annotations Displays are now able to show reversed scale. (APPDEV-13462)
AppHeader
ActionButtoncan be wrapped in theTooltipcomponent. (APPDEV-13122)
DataTableV2
- When horizontally scrolling a table with a lot of columns, the columns do not jump back and forth anymore. (APPDEV-13815)
- Now there is no unnecessary table scrollbar when you have a custom cell containing TextEllipsis. (APPDEV-13783)
- The layout of a custom empty state is now also applied correctly when the column definition is empty. (APPDEV-13715)
- The
cellprop in the column definition, used for rendering custom cells, now provides anisLineWrappedprop that indicates whether line wrap is enabled for the column in which the cell is rendered. (APPDEV-11676)
DateTimePicker
- Selecting a date via the Calendar now clamps the time to the specified min or max. (APPDEV-13475)
DQLEditor
- Autocomplete suggestions no longer include redundant trailing quotation marks. (APPDEV-13702)
FilterField
- Suggestions are now updated when the
validatorMapis updated. (APPDEV-13737)
HistogramChart
- Fixed toolbar reset position on chart resize. (APPDEV-13837)
- Enabling selection area as default behavior in explore mode. (APPDEV-13372)
HoneycombChart
- Applying formatter to the value inside the node. (APPDEV-13743)
Menu
- The
Menu.ItemTooltipnow adjusts its width dynamically to fit the text content, no longer enforcing a fixedmin-width.
Microguide
- The transition duration is now set to 0 for users who prefer reduced motion. (APPDEV-12430)
SegmentSelector
- Increased variables query limit to 10000 records and 5MB. (APPDEV-13964)
TimeframeSelector
- Selecting a date via the Calendar now clamps the time to the specified min or max. (APPDEV-13475)
- Stepper now respects min and max correctly. (APPDEV-13588)
TimeseriesChart
- Fixed toolbar reset position on chart resize. (APPDEV-13837)
- Enabled selection area as default behavior in explore mode. (APPDEV-13366)
Tooltip
- The transition duration is now set to 0 for users who prefer reduced motion. (APPDEV-12430)
XYChart
- Fix for small widths. Intents button now shrinks before toolbar collapses. (APPDEV-13944)
- Annotations support is now available. (APPDEV-13984)
DotSeriesnow supports custom shapes:circle(default),square,diamond, andtriangle. You can specify the shape via theshapeprop on the DotSeries slot. (APPDEV-10071)RectSeriestiles are now selected on hover. (APPDEV-11028)
1.10.1
DataTableV2
- When horizontally scrolling a table with a lot of columns, the columns do not jump back and forth anymore. (APPDEV-13815)
1.10.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.7.3.
Deprecations
Conversion-Utilities
- The
convertToColumnsfunction, used for the deprecatedDataTablecomponent, is now deprecated and will be removed in the future. Additionally,DQLResultConverterTablePropsis deprecated and support for table conversion will be removed from theDQLResultConverterwhich will continue to support only timeseries conversion.
AppHeader
- A new fallback app icon is now available. (APPDEV-12340)
DataTableV2
- Gantt chart grid density is now improved for time xAxisType
time. (APPDEV-13258) - The built-in prefix columns and row actions column are now sticky and pinned to the left and right sides of the table respectively. (APPDEV-12346)
- Now the loading spinner has the correct size when refetching data. (APPDEV-13279)
- Now the
onColumnOrderChangecallback provides atriggerparameter that indicates if the column order was updated by the user or internally. (APPDEV-13460)
DQLEditor
- The autocomplete popup now appears to display additional information, even when no suggestions are available. (APPDEV-13613)
EmptyState
- Additional spacing between the individual slots is now removed. (APPDEV-13629)
FilterField
- When using a validatorMap values in quotes are correctly validated. (APPDEV-13602)
- Starting a filter statement with 'o' will not display the styling that is used for incomplete statements, to avoid jumping when the logical
ORoperator is used. (APPDEV-12644) - Suggestion details are now placed differently depending on the overlay width to make proper use of the space available. (APPDEV-12588)
HistogramChart
HistogramChartis now able to haveIntentsin the Select series action (APPDEV-12780)
IntentButton
- An
IntentButtoncomponent is now available in the preview package. (APPDEV-12340)
NotificationSettings
- Introduces a
useNotificationSettingsMenuItemfor convenient usage ofNotificationSettingsin a Menu. (APPDEV-13353)
SegmentSelector
- Now blocks further requests if permissions are missing. (APPDEV-11803)
- The placeholder is not opened anymore after clearing the last selected segment to prevent the select overlay from overlapping with the "Apply" button. (APPDEV-12697)
- Animations added for pinning and unpinning of segment presets. (APPDEV-13605)
TimeseriesChart
- Reset selection area when chart is re-rendered. (APPDEV-13587)
TimeseriesChartis now able to haveIntentsin the Select series action (APPDEV-12780)- fix domain min is 0 instead of data-min when data has gaps. (APPDEV-13421)
- Grouped tooltip shows datapoints sorted by y value. (APPDEV-13000)
- Improved chart hover performance. (APPDEV-13000)
XYChart
- Supporting custom tooltip in the Annotations (APPDEV-12877)
- DotSeries now doesn't display tooltip information for datapoints that are outside of the visible area. (APPDEV-13449)
- Thresholds support is now available. (APPDEV-12892)
- Fixed an issue where certain focus and interaction sequences with the tooltip could lead to unexpected errors in chart behavior. (APPDEV-13553)
1.9.2
DataTableV2
- When horizontally scrolling a table with a lot of columns, the columns do not jump back and forth anymore. (APPDEV-13815)
1.9.1
Dependency updates
@dynatrace/strato-componentswas updated to version1.7.2.
1.9.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.5.1.@dynatrace/strato-componentswas updated to version1.7.1.
Accordion
- Introduce preliminary support for
sectionIdto allow smooth upgrade for strato-components-preview@2.0.0 (APPDEV-13152)
AnnotationsChart
- Allowing having null values in end field for time based annotation. (APPDEV-13476)
CodeSnippet
- Now wraps long words and urls correctly when
lineBreaksare enabled. (APPDEV-13477)
DataTableV2
- Toggling the selection of all rows no longer crashes tables that have expandable rows configured, row ordering with drag and drop enabled and
selectAllBehaviorset topage. (APPDEV-13427) - The
onActiveRowChangecallback now receives the corresponding mouse, keyboard, or focus event. (APPDEV-13275) - Empty tables now show a custom
DataTableV2.EmptyStateif provided, instead of the default empty state message. (APPDEV-11986) - Toggling line wrapping of a specific column does not affect the line wrapping of other columns anymore. (APPDEV-13335)
- Interactive rows can now be activated via middle click (mouse wheel click). (APPDEV-13275)
- All cells are now wrapped in a row and a body element for improved structure and accessibility. (APPDEV-12251)
- Now built-in column have a fixed width to prevent them from growing if the content of an expandable row is larger than the total column width. (APPDEV-13252)
FilterField
- Improved insertion of inclusion operator suggestions. (APPDEV-12587)
HistogramChart
- Fixed an issue related to
HistogramChartallowing to select more than the chart in touch devices. (APPDEV-13407)
NotificationSettings
- We have now introduced a standalone NotificationSettings component which was previously inside the NotifyButton. (APPDEV-13322)
Page
- Fixes flickering in
Pagepanels when showing / hiding panels. (APPDEV-13318)
SegmentSelector
- Now handles an empty variables array gracefully. (APPDEV-13581)
SelectV2
- Improved blur handling to prevent brief flickering of error messages. (APPDEV-13450)
TimeframeSelector
- Provide alternative import path from
@dynatrace/strato-components-preview/filtersto allow 2.0.0 upgrade path. - Round up the
minin an error message depending on theprecision. (APPDEV-12794)
TimeseriesChart
- Fixed an issue related to
TimeseriesChartallowing to select more than the chart in touch devices. (APPDEV-13407)
Tooltip
- Now observes DOM changes and updates its position correctly when its children change. (APPDEV-13360)
XYChart
- Text for zoom-in and zoom-out shortcuts is now displayed correctly in the toolbar. (APPDEV-13346)
- Fixed an issue related to
XYChartallowing to select more than the chart in touch devices. (APPDEV-13407) - Added support for synchronised crosshair (APPDEV-9932)
1.8.0
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/unitsfrom^1.0.2to^1.1.0. (APPDEV-10879) @dynatrace/strato-componentswas updated to version1.7.0.
Charts
- Fix log scale with domain of zeroes. (APPDEV-13305)
- Fix panning through x-axis not working on touchable devices. (APPDEV-13126)
TimeseriesHistogramwhen panning, onZoomChange callback runs while dragging the axis. (APPDEV-13079)- Threshold tooltip improvement for
Timeseries,HistogramandCategorical Bar Chart(APPDEV-13196) - Improved the initial load performance for charts. (APPDEV-9163)
AnnotationsChart
- Updated markers brightness levels. (APPDEV-13084)
- Added dynamic marker text color depending on marker background color. (APPDEV-13084)
DataTableV2
- No more console warning related to
inertattribute. (APPDEV-13242) - When completing row drag and drop, the correct element stays in focus now. (APPDEV-13242)
- Downloading large amounts of data to CSV no longer makes the browser unresponsive. (APPDEV-13257)
- Column sizing precision is now improved, which prevents unnecessary horizontal scrollbars. (APPDEV-13159)
- Right-clicking on a link inside an interactive cell using the improved interaction pattern now displays the browser's context menu. (APPDEV-12977)
- Grouped columns now properly detect custom header renderer.
- Draggable, interactive rows with zebra stripes now receive the correct styles when dragging a row up. (APPDEV-13294)
DateTimePicker
- The precision of the returned ISOStrings now reflects the precision set on the
DateTimePicker. Only digits up to the defined precision are included. (APPDEV-10879)
Example:
| Precision | before | now |
|---|---|---|
| day | yyyy-mm-ddThh:mm:ss.mmmZ | yyyy-mm-ddZ |
| minutes | yyyy-mm-ddThh:mm:ss.mmmZ | yyyy-mm-ddThh:mmZ |
| seconds | yyyy-mm-ddThh:mm:ss.mmmZ | yyyy-mm-ddThh:mm:ssZ |
| milliseconds | yyyy-mm-ddThh:mm:ss.mmmZ | yyyy-mm-ddThh:mm:ss.mmmZ |
FilterField
- The suggestion of the logical operator "OR" is still shown when a key starting with "o" is entered. (APPDEV-12415)
- Escaped characters are now highlighted in a different color for easier distinction. (APPDEV-12585)
- Add a
max-heightto the input field. This can be changed with themaxHeightstyle. (APPDEV-12586) - Suggestions with a non-string value are no longer shown in the suggestions overlay (APPDEV-13177).
MeterBarChart
- Enabling user actions. (APPDEV-13220)
Modal
- Component now forwards style and classNames properly. (APPDEV-13287)
MultiMeterBarChart
- Enabling user actions. (APPDEV-13220)
SegmentSelector
- Overlay has the correct z-Index used for overlays. (APPDEV-13025)
SelectV2
- Resolved a warning triggered when using the controlState prop. (APPDEV-13131)
- Value for the hidden
<option>element changed: Now uses textValue when specified; otherwise, falls back to the stringified value. (APPDEV-13131) - Improved filtering for complex options. It is still recommended to use the
textValueprop on the option if using a complexvalueand non-string label when filtering is enabled. (APPDEV-13188)
SingleValue
- Fixed component crashing when using a Unit with the default formatter.
- Adding a gap between the icon and the value.
Sparkline
- Added configurable xAxis min and max values. (APPDEV-13047)
- Fixed area stroke on Sparkline with threshold background. (APPDEV-13234)
TextEllipsis
TruncationModeis now available as a public type. (APPDEV-12065)
TextInput
- Text is no longer shown twice when scrolling in an auto-filled text input. (APPDEV-13200)
TimeframeSelector
- The precision of the returned ISOStrings now reflects the precision set on the
TimeframeSelector. Only digits up to the defined precision are included. (APPDEV-10879)
Example:
| Precision | before | now |
|---|---|---|
| minutes | yyyy-mm-ddThh:mm:ss.mmmZ | yyyy-mm-ddThh:mmZ |
| seconds | yyyy-mm-ddThh:mm:ss.mmmZ | yyyy-mm-ddThh:mm:ssZ |
| milliseconds | yyyy-mm-ddThh:mm:ss.mmmZ | yyyy-mm-ddThh:mm:ss.mmmZ |
TimeseriesChart
- Interactions in synchronized charts now reset the selection in all synchronized charts.
- Fix display issue when some series are empty. (APPDEV-13250)
ToggleButtonGroup
aria-checkedis no longer set on the radios to avoid potential a11y issues.
XYChart
- Improved the performance for the tooltip hovering. (APPDEV-9163)
1.7.2
Dependency updates
@dynatrace/strato-componentswas updated to version1.6.2.