Components preview
2.3.1
Tabs
- Removed
aria-controls
from inactive tabs. (APPDEV-14490)
2.3.0
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/react-hooks
from^1.4.1
to^1.5.3
. (APPDEV-14277) @dynatrace/strato-components
was updated to version1.9.0
.
Deprecations
Forms
- The
TimeframeV2
type has been deprecated, please use theTimeframe
type instead. (APPDEV-13889)
SelectV2
- The
SelectV2
and all it's types and subcomponents that includeSelectV2
in their name are now deprecated. Please useSelect
instead. (APPDEV-13889)
Charts
- Allow moving toolbar with arrow keys when focused. (APPOBS-9390)
Conversion-Utilities
- The
queryResult
prop of theDQLResultConverter
component and theconvertQueryResultToTimeseries
function, as well as therecords
prop of theconvertToTimeseries
function now also support theTypedQueryResult
type from@dynatrace-sdk/react-hooks
. (APPDEV-14277)
CategoricalBarChart
- Display Thresholds on top of the series shapes. (APPDEV-13289)
CodeSnippet
- Added an
ErrorBoundary
to 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
FilterField
search operator. (APPDEV-13977) - Show caret in empty
FilterField
when focused. (APPDEV-14370) - Now automatically adds a space at the end of a statement when clicking into the
FilterField
. (APPDEV-12589) - All internal
data-testid
s are removed to align with the behavior of other components. (APPDEV-14084) - The props
style
,className
, anddata-testid
can now be set onFilterField.Suggestions
. (APPDEV-13925) - When typing
contains
as 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-testid
can now be set onFormFieldMessages
. (APPDEV-13925)
HistogramChart
- Display
Thresholds
on 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
ColorRule
slot. (APPDEV-14086)
NotifyButton
- The props
style
,className
, anddata-testid
can 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
applyThresholdBackground
in theSingleValue
now only changes the background in case any threshold is met. (APPDEV-14103) - Fixing undefined error on formatting value. (APPDEV-14402)
TimeseriesChart
- Display
Thresholds
on 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
value
property. (APPDEV-14358)
XYChart
- Fixed
SynchronizedCrosshair
staying disabled after Selection reset. (APPDEV-14453) - Display
Thresholds
on top of the series shapes. (APPDEV-13289) - Fixes colorPalette coloring for when
DotSeries
has data in the series slot. (APPDEV-14329) - Now the
XYChart
highlights 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-components
was 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
lineBreak
is 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
pinnedColumns
prop andonPinnedColumnsChange
callback. (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
Escape
to cancel row ordering via drag and drop now correctly restores the row order. (APPDEV-12928) - The
DataTableV2
component 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
isDataTableV2GroupColumnDef
andisDataTableV2DisplayColumnDef
are 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
FilterField
for 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-width
ofmedium
(960->768) andlarge
(1334->1280) sizes. To keep the previousmax-width
you 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-live
region 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
Sparkline
x-axis config forSingleValue
integration. (APPDEV-14253)
TextEllipsis
- When
truncationMode
is set tostart
, punctuation characters are now rendered correctly at the start of the string. (APPDEV-14072)
TimeframeSelector
- Used
fieldset
to associate related controls under theTimeframe
label 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
onChange
if 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
DotSeries
triangle 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
applyThresholdBackground
in theSingleValue
now 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
columnPinning
prop to enable column pinning anddefaultPinnedColumns
to 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
verticalAlignment
configuration in thevariant
prop. (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
useDateTimeFormat
now 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
prefixIcon
prop. In the future, the<MeterBarChart.Icon/>
slot will be removed. (APPDEV-12781)
MultiMeterBarChart
- Now the component exposes a
prefixIcon
prop. In the future, the<MultiMeterBarChart.Icon/>
slot will be removed. (APPDEV-12781)
NumberInput
- The cursor now shows as
not-allowed
whenaria-disabled
is set. (APPDEV-11369)
PasswordInput
- The cursor now shows as
not-allowed
whenaria-disabled
is set. (APPDEV-11369)
SelectV2
- Remaining properties are now forwarded to the root of the rendered component. (APPDEV-12972)
- When using a controlled
SelectV2
with 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-allowed
whenaria-disabled
is 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
useDateTimeFormat
now 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
valueAccessor
is not a string or number. (APPDEV-13816) DotSeries
now 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
infiniteZoom
prop is active. (APPDEV-13377) - Display datapoints on plots edges. (APPDEV-11807)
- Selection Area on
XYChart
now 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
useDateTimeFormat
now 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
useDateTimeFormat
now 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
,ExponentialOctalByteLevels
from the formatters subpackage. (APPDEV-12172) DrawerProps
are 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
DurationMode
type andCONVERSIONUNITS
constants from formatters. (APPDEV-12158)
Core
- Removes deprecated types associated with collections,
CollectionSectionProps
,CollectionElement
,CollectionChildren
,ItemProps
,ItemElement
, andNode
. (APPDEV-12184) - Removed
themeOptions
constant andThemeOptions
type. Please use a literal'light' | 'dark'
instead. (APPDEV-12084) - Removes deprecated
convertEasingTokenToFramerMotion
andcreateFramerMotionTransition
. (APPDEV-12190) - Removes deprecated helper function
isElementOverflowing
. (APPDEV-12193) - Removes deprecated
hasUncontrolledProp
helper. (APPDEV-12192) - Removes deprecated
DOMAttributes
interface. - Removes previously deprecated helpers
createElevationBoxShadowValue
andcreateElevationFilterValue
. (APPDEV-12187) - Removes already deprecated types
HeadingLevel
andHeadingTag
as well as theheadingLevel
constant. (APPDEV-12300) - Removes deprecated
PressEvents
interface. - Removes deprecated
isFunction
utility function. - Removes deprecated
createDomRect
. (APPDEV-12188) - Removes deprecated types
DesignToken
andNumericDesignToken
. (APPDEV-12191)
Forms
- Removed
FormControlRef
from thetriggerRef
prop ofFormControlWithOverlayRef
. - The
onChange
callback for form controls moved to theFormControlBaseProps
, which are now generic. (APPDEV-12302)
Tables
- The deprecated
DataTable
andSimpleTable
have been removed along with all associated types and functions. (APPDEV-10925)
AppCard
- Removed the AppCard component. (APPDEV-12636)
CodeSnippet
- The following deprecated
language
options are now removed:css-extr
,diff
,git
,handlebars
,less
,makefile
,ocaml
,sass
,scss
,stylus
andwasm
. (APPDEV-12412)
DataTableV2
- The previously deprecated
selectionBehavior
option on thesubRows
prop is now removed. This change removes the support for the 'individual' selection behavior in favor of the defaultcascading
selection behavior. (APPDEV-12402) - The
disableColumnHiding
prop to prevent columns from being hidden is now removed for header groups. To prevent a group from being hidden, usedisableColumnHiding
on 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 thealignment
option in the column definitions, leaving only'left'
,'center'
and'right'
. Vertical alignment can now only be configured globally via the table'svariant
prop. (APPDEV-12307) - The deprecated
enableDragAndDrop
setting is now removed from thecolumnOrdering
prop. Drag and drop for columns is always enabled by default when usingcolumnOrdering
, and cannot be disabled independently. (APPDEV-13147) - Removed
height
property 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
FilterFieldRootNode
as the initial node in aFilterFieldTree
. This node is identical to the previous initial node (FilterFieldGroupNode
) with the addition of aversion
prop to indicate the version number of theFilterFieldTree
. (APPDEV-13173) - Remove deprecated
convertFilterFieldStringWithReservedCharacters
andconvertFilterFieldTreeWithReservedCharacters
conversion 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
InputGroup
is now aGrid
instead of aFlex
and alignsFormField
s with labels and messages properly. (APPDEV-12833)
Microguide
- Removes deprecated
MicroguideStepProps
. (APPDEV-12234)
Modal
- Removes deprecated constant
modalSizeOptions
. (APPDEV-12235)
SegmentSelector
updateSegmentVariables
function was removed. Variables should not be updated directly. To update variables, update the whole segment, e.g. using thesetSegments
function. (APPDEV-11074)RemoveSegment
andRemoveAllSegments
no longer return a promise as the operation runs synchronously. (APPDEV-13375)
SingleValue
- Remove element from SingleValueRef. (APPDEV-11207)
TerminologyOverlay
- Removes previously deprecated
TerminologyOverlayFooterProps
interface. (APPDEV-12237)
TextArea
- The deprecated type
TextAreaWidth
is removed. (APPDEV-12915)
TimeframeSelector
- Removed deprecated
TimeframeSelectorBaseProps
,TimeframeSelectorControlledProps
, andTimeframeSelectorControlledProps
. (APPDEV-12302)
Toast
- Removes deprecated
ToastPosition
type. Prefer using theposition
prop on theToastPosition
. (APPDEV-12196) - Removes deprecated interfaces
useToastNotificationConfig
anduseToastNotificationResult
. (APPDEV-12195)
Tooltip
- The deprecated types
TooltipPlacement
andTooltipDelay
are now removed. The usage has been inlined into theTooltipProps
. (APPDEV-13113)
XYChart
- Removed deprecated
HeatmapSeries
,XYChartHeatmapSeriesProps
,HeatmapDatapoint
, andXYChartHeatmapSeriesActionItem
. UseRectSeries
,XYChartRectSeriesProps
,RectDatapoint
,XYChartRectSeriesActionItem
instead. (APPDEV-11569)
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/client-query
from^1.17.0
to^1.21.1
. (APPDEV-10464) - Changed peerDependency version range for
@dynatrace-sdk/react-hooks
from^1.0.0
to^1.4.1
. (APPDEV-10464) - Changed peerDependency version range for
@dynatrace-sdk/client-filter-segment-management
from^1.4.0
to^1.6.5
. (APPDEV-10464) - Added
@dynatrace-sdk/notifications-v2
as 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
useDateTimeFormat
now 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
useDateTimeFormat
now 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-tokens
was updated to version1.1.0
.@dynatrace/strato-icons
was updated to version1.6.0
.@dynatrace/strato-components
was 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
ActionButton
can be wrapped in theTooltip
component. (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
cell
prop in the column definition, used for rendering custom cells, now provides anisLineWrapped
prop 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
validatorMap
is 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.ItemTooltip
now 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)
DotSeries
now supports custom shapes:circle
(default),square
,diamond
, andtriangle
. You can specify the shape via theshape
prop on the DotSeries slot. (APPDEV-10071)RectSeries
tiles 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-components
was updated to version1.7.3
.
Deprecations
Conversion-Utilities
- The
convertToColumns
function, used for the deprecatedDataTable
component, is now deprecated and will be removed in the future. Additionally,DQLResultConverterTableProps
is deprecated and support for table conversion will be removed from theDQLResultConverter
which 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
onColumnOrderChange
callback provides atrigger
parameter 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
OR
operator 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
HistogramChart
is now able to haveIntents
in the Select series action (APPDEV-12780)
IntentButton
- An
IntentButton
component is now available in the preview package. (APPDEV-12340)
NotificationSettings
- Introduces a
useNotificationSettingsMenuItem
for convenient usage ofNotificationSettings
in 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)
TimeseriesChart
is now able to haveIntents
in 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-components
was updated to version1.7.2
.
1.9.0
Dependency updates
@dynatrace/strato-icons
was updated to version1.5.1
.@dynatrace/strato-components
was updated to version1.7.1
.
Accordion
- Introduce preliminary support for
sectionId
to 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
lineBreaks
are 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
selectAllBehavior
set topage
. (APPDEV-13427) - The
onActiveRowChange
callback now receives the corresponding mouse, keyboard, or focus event. (APPDEV-13275) - Empty tables now show a custom
DataTableV2.EmptyState
if 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
HistogramChart
allowing 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
Page
panels 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/filters
to allow 2.0.0 upgrade path. - Round up the
min
in an error message depending on theprecision
. (APPDEV-12794)
TimeseriesChart
- Fixed an issue related to
TimeseriesChart
allowing 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
XYChart
allowing 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/units
from^1.0.2
to^1.1.0
. (APPDEV-10879) @dynatrace/strato-components
was 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)
Timeseries
Histogram
when panning, onZoomChange callback runs while dragging the axis. (APPDEV-13079)- Threshold tooltip improvement for
Timeseries
,Histogram
andCategorical 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
inert
attribute. (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-height
to the input field. This can be changed with themaxHeight
style. (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
textValue
prop on the option if using a complexvalue
and 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
TruncationMode
is 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-checked
is 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-components
was updated to version1.6.2
.