Components preview - Release notes
- Release notes
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.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.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.
Deprecations
GaugeChart
Thresholdis now deprecated, in favor of theThresholdIndicatorslot. (APPDEV-14661)
MeterBarChart
Thresholdis now deprecated, in favor of theThresholdIndicatorslot. (APPDEV-14661)
Updates
Charts
- Tooltip displays now correct color for icons in dark mode. (APPDEV-14666)
- Pie and Donut supports now empty state for invalid datasets with zero sum. (APPDEV-14571)
Overlays
FeatureHighlightandMicroguidenow exposeclassNameandstyleprops. (APPDEV-14682)
CategoricalBarChart
- The
CategoricalBarChartis now able to useColorRules. (APPDEV-14412)
DataTableV2
- Sorting can now be explicitly enabled for
meterbarcolumns by settingdisableSorting: falsein the column definition. (APPDEV-5654) - The column settings trigger now shows the columns icon instead of the table icon. (APPDEV-14487)
- Narrow pinned columns with user actions no longer expand on hover. (APPDEV-14674)
- Gantt chart tooltips now pin with every click, no second click needed to pin a new one. When a table row is active, clicking its corresponding Gantt segment no longer deactivates the row. The row remains highlighted and interactive. (APPDEV-13981)
- Markdown cells no longer crash on undefined or null values. (PAPA-28367)
- Pinned columns now render a box-shadow on overflow, to visually distinguish them from scrollable content. (APPDEV-14492)
- Columns can now be pinned and unpinned via column settings. (APPDEV-12729)
DonutChart
- Added support to
ColorRuleslot. (APPDEV-14454)
FilterField
- New visuals of the delete statement button. (APPDEV-14553)
- The overlay now opens and closes with an animation. (APPDEV-14549)
- Validation now properly handles double backslashes in values. (APPDEV-14622)
- The filter icon in the FilterField is now permanently visible to improve accessibility. (APPDEV-14645)
- The overlay suggestion tips now layout responsively according to different screen sizes. (APPDEV-14555)
- Suggestions now provide better guidance when there are no results for keys. (APPDEV-14439)
- When calling focus on the FilterField ref the cursor will be placed at the end of the input.
- Now correctly connects error messages and additional aria-describedby ids. (APPDEV-14578)
- Added ARIA live region to get suggestion announcement. (APPDEV-14170)
HistogramChart
- Fixed zoom selection event firing twice on press Enter. (APPDEV-14517)
- Update intents layout in toolbar menu. (APPDEV-14641)
- Fixing magnifiers position of a selected area when scrolling. (APPDEV-14416)
HoneycombChart
- The
HoneycombChartnow supportsColorRule. (APPDEV-14463)
PieChart
- Added support to
ColorRuleslot. (APPDEV-14454)
Radio
- Now handles custom error messages correctly and blocks form submission. (APPDEV-14527)
SegmentSelector
- Added
aria-labelto announce applied segments for improved accessibility. (APPDEV-14171)
Select
- Fixed invalid DOM property by using
autoCompleteinstead ofautocomplete. (APPDEV-14650)
SingleValue
- Added support for
ColorRuleslot. (APPDEV-14597) - Adding fallback color for avoiding null issues on runtime. (APPDEV-14718)
SingleValueGrid
- Added support for
ColorRuleslot. (APPDEV-14597)
TimeseriesChart
- Fixing magnifiers position of a selected area when scrolling. (APPDEV-14416)
- Fixed zoom selection event firing twice on press Enter. (APPDEV-14517)
- Update intents layout in toolbar menu. (APPDEV-14641)
- Lines painted in chart's edges appear with full expected width. (APPDEV-14573)
XYChart
- Fixed an issue where the chart would break when new data was loaded and a selection was made. (APPDEV-14708)
- Add semi-transparent background for selected points (APPDEV-14484)
- Fixing magnifiers position of a selected area when scrolling. (APPDEV-14416)
- Fixed zoom selection event firing twice on press Enter. (APPDEV-14517)
2.4.6
XYChart
- Updated invalid valueAccessor log to only log once per chart and set level to warn. (APPDEV-14819)
2.4.5
XYChart
- Fixed an issue where the chart would break when new data was loaded and a selection was made. (APPDEV-14708)
2.4.4
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)
2.4.3
Updates
DataTableV2
- Markdown cells no longer crash on undefined or null values. (PAPA-28367)
2.4.2
Dependency updates
@dynatrace/strato-componentswas updated to version1.9.2.
2.4.1
Updates
Select
- Fixed invalid DOM property by using
autoCompleteinstead ofautocomplete. (APPDEV-14650)
2.4.0
Dependency updates
@dynatrace/strato-componentswas updated to version1.9.1.@dynatrace/strato-iconswas updated to version1.6.1.@dynatrace/strato-design-tokenswas updated to version1.1.1.
Deprecations
DataTableV2
DataTableV2CellInteractionPatternfeature flag is now deprecated and will be removed in the future. (APPDEV-14252)
Updates
Charts
- Added support for async series actions for every chart.
AnnotationsChart
- Added support for testId, style, classname and mask properties. (APPDEV-14504)
- A bug was fixed cutting the markers at the beginning when no labels in
AnnotationsChart. (APPDEV-14620)
CategoricalBarChart
- The contents of the threshold tooltip don't truncate anymore. (APPDEV-14012)
- Range threshold pills now have a minimum size equal to point thresholds. (APPDEV-14013)
DataTableV2
- Column ordering is now supported in combination with column pinning. Unpinned columns can be re-ordered via column actions and the column settings modal. (APPDEV-14039)
onActiveRowChangeis now called once instead of twice whenautoActivateisfalse. (APPDEV-14458)- The configuration object of the
interactiveRowsprop now allows to define alinkfor rows, with which the given link can now also be opened in a new tab in the background. (APPDEV-14106) - User actions menu trigger is now correctly positioned when the column is right-aligned. (APPDEV-14485)
- Columns of type
meterbarcan now be reordered via drag and drop. This column type now also supports common built-in column actions, such asTableActionsMenu.HideColumn,TableActionsMenu.ColumnOrderandTableActionsMenu.ColumnPinning. (APPDEV-14500)
DateTimePicker
- Fixed invalid language tag error by defaulting to English locale. (APPDEV-14609)
DonutChart
- Now the ratio prop is available when the legend is positioned on the right. (APPDEV-14258)
DQLEditor
- Cached validity information about a query is now cleared after 3 seconds. (APPDEV-14421)
- Autocomplete now fetches up to 10,000 suggestions. (APPDEV-14420)
FilterField
- Added support for JSONPath in keys. (APPDEV-14098)
- The filter statement delete button is now properly aligned with the filter statements. (APPDEV-14472)
HistogramChart
- Range threshold pills now have a minimum size equal to point thresholds. (APPDEV-14013)
- Fixed app icons not showing on Intents on SelectionArea Tooltip. (APPDEV-14482)
- Threshold's tooltip does not truncate its contents anymore. (APPDEV-14012)
- Fixed temporary zoom mode allowing highlighting of DataPoints. (APPDEV-14570)
HoneycombChart
- Added support for testId, style, classname and mask properties. (APPDEV-14504)
Markdown
- Markdown-style formatting is now limited to 20,000 characters, the remaining content is displayed as plain text. This prevents page crashes due to overly long content. (APPDEV-14376)
Menu
- Intents without response are now rendered as a link. (APPDEV-14153)
Intentcan be disabled.
PieChart
- Now the ratio prop is available when the legend is positioned on the right. (APPDEV-14258)
Select
- All internal
data-testids are removed to align with our overall convention of not having internal hardcoded test ids. (APPDEV-14085) - No longer shows autocompletion when interacting. (APPDEV-14576)
SingleValue
- Added support for testId, style, classname and mask properties (APPDEV-14504)
SingleValueGrid
- Added support for testId, style, classname and mask properties (APPDEV-14504)
TextArea
- Providing a custom
onBlurfunction no longer breaks the focus ring behavior or styles or other internal onBlur behavior. (APPDEV-14486)
TimeframeSelector
- Fixed invalid language tag error by defaulting to English locale. (APPDEV-14609)
- Error message is now displayed correctly when only min or max is set. (APPDEV-14328)
TimeseriesChart
- Fixed app icons not showing on Intents on SelectionArea Tooltip. (APPDEV-14482)
- Now
TimeseriesChartsupportsColorRules(APPDEV-14008) - Fixed temporary zoom mode allowing highlighting of DataPoints. (APPDEV-14570)
- Threshold's tooltip does not truncate its contents anymore. (APPDEV-14012)
- Range threshold pills now have a minimum size equal to point thresholds. (APPDEV-14013)
Tooltip
- Fixing overflow issue in the tooltip affecting the MapView (APPDEV-14580)
XYChart
- Range threshold pills now have a minimum size equal to point thresholds. (APPDEV-14013)
- Fixed temporary zoom mode allowing highlighting of DataPoints. (APPDEV-14570)
- Fixed zoom selection area highlighting datapoints. (APPDEV-14516)
- The content of the threshold tooltip doesn't truncate anymore. (APPDEV-14012)
- Fixed app icons not showing on Intents on SelectionArea Tooltip. (APPDEV-14482)
- Fixed an issue where the correct truncation mode was not being applied to the dot legend. (APPDEV-14470)
2.3.3
XYChart
- Updated invalid valueAccessor log to only log once per chart and set level to warn. (APPDEV-14819)
2.3.2
Updates
DateTimePicker
- Fixed invalid language tag error by defaulting to English locale. (APPDEV-14609)
TimeframeSelector
- Fixed invalid language tag error by defaulting to English locale. (APPDEV-14609)
2.3.1
Updates
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)
Updates
Charts
- Now allows moving the 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
- Now displays 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
- Added support for
FilterFieldsearch operator. (APPDEV-13977) - Now shows 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
containsis typed as an operator, it's now correctly marked as an error. (APPDEV-14403) - When inserting a value suggestion in a list, the cursor doesn't move outside of the brackets now. (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.2
Updates
Tabs
- Removed
aria-controlsfrom inactive tabs. (APPDEV-14490)
2.2.1
Updates
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.
Updates
Charts
- Fixed 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)
- Resized 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
- Enabled text selection in
FilterFieldfor read-only. (APPDEV-9654)
HistogramChart
- Fixed an issue where the selection area would disappear when resizing the chart.
- Updated 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
- Reduced
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 now 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)
- Updated 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
- Added synchronized selection. (APPDEV-12254)
- Added series, categories, and details on the x-axes selection tooltip. (APPDEV-13772)
- Capitalized dynamic threshold value. (APPDEV-13555)
- Fixed an issue where the selection area would disappear when resizing the chart.
- Made
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
Updates
SingleValue
- The prop
applyThresholdBackgroundin theSingleValuenow only changes the background in case any threshold is met. (APPDEV-14103)
2.1.0
Updates
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
- Added an 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
- Added an alternative method for drawing the node to support all browsers. (APPDEV-13855)
XYChart
- Excluded datapoints where the
valueAccessorisn't 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) - Now displays datapoints on plot edges. (APPDEV-11807)
- Selection area on
XYChartcan now show top and bottom magnifiers based on the visibility and format of the corresponding axis. (APPDEV-13720) - Added custom actions support to
Annotations. (APPDEV-12206) - Applied selected dot shape to legend and tooltip in
DotSeries. (APPDEV-13935) - Select interaction support is now available. (APPDEV-13304)
2.0.1
Updates
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)- Removed 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
- Removed 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) - Removed deprecated
convertEasingTokenToFramerMotionandcreateFramerMotionTransition. (APPDEV-12190) - Removed deprecated helper function
isElementOverflowing. (APPDEV-12193) - Removed deprecated
hasUncontrolledProphelper. (APPDEV-12192) - Removed deprecated
DOMAttributesinterface. - Removed previously deprecated helpers
createElevationBoxShadowValueandcreateElevationFilterValue. (APPDEV-12187) - Removed already deprecated types
HeadingLevelandHeadingTagas well as theheadingLevelconstant. (APPDEV-12300) - Removed deprecated
PressEventsinterface. - Removed deprecated
isFunctionutility function. - Removed deprecated
createDomRect. (APPDEV-12188) - Removed 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
- Removed 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) - Introduced 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) - Removed 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
- Removed deprecated
MicroguideStepProps. (APPDEV-12234)
Modal
- Removed 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
- Removed element from SingleValueRef. (APPDEV-11207)
TerminologyOverlay
- Removed previously deprecated
TerminologyOverlayFooterPropsinterface. (APPDEV-12237)
TextArea
- The deprecated type
TextAreaWidthwas removed. (APPDEV-12915)
TimeframeSelector
- Removed deprecated
TimeframeSelectorBaseProps,TimeframeSelectorControlledProps, andTimeframeSelectorControlledProps. (APPDEV-12302)
Toast
- Removed deprecated
ToastPositiontype. Prefer using thepositionprop on theToastPosition. (APPDEV-12196) - Removed 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.6
SegmentSelector
- Nested arrays in segment variable values are now flattened to enhance compatibility with Grail. (APPDEV-14930)
1.11.5
FilterField
- Now correctly connects error messages and aria-describedby ids. (APPDEV-14578)
1.11.4
Charts
- Allow moving toolbar with arrow keys when focussed. (APPOBS-9390)
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
@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
@dynatrace/strato-componentswas updated to version1.7.3.
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
@dynatrace/strato-componentswas updated to version1.7.2.
1.9.0
@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
- 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
@dynatrace/strato-componentswas updated to version1.6.2.
1.7.1
Related testing package fix for @tanstack/react-virtual@^3.18.8 dependency.
1.7.0
@dynatrace/strato-componentswas updated to version1.6.1.
CodeSnippet
- The following
languageoptions will be removed:css-extr,diff,git,handlebars,less,makefile,ocaml,sass,scss,stylusandwasm. (APPDEV-12411)
DataTableV2
- Vertical
alignmentoptions will be removed from the column definition, leaving only horizontalalignmentoptions (left,center,right). As a result, vertical alignment can no longer be configured at column level, but must be set globally for all header and body cells. The default vertical alignment for all cells is nowtop. (APPDEV-12307) - Column ordering
enableDragAndDropprop is now deprecated and will be removed in the future. (APPDEV-12891)
FilterField
- The
syntaxprop is now deprecated and will be removed. Only thecomplexsyntax will be supported in the future. (APPDEV-12973)
Tooltip
TooltipPlacementandTooltipDelaytypes are now deprecated and move into theTooltipProps. (APPDEV-13113)
Charts
- Fix tooltip and magnifiers overflow triggering charts resize. (APPDEV-13058)
- Right position thresholds now display pill in the correct position. (APPDEV-13095)
CategoricalBarChart
- Add Intents to Toolbar. (APPDEV-12912)
DataTableV2
- Drag and drop column ordering is now enabled by default. (APPDEV-12891)
- Modals are now prevented from closing immediately upon pressing the
Enterkey on an interactive row. (APPDEV-13086) convertToColumnsV2now defaults to column typetextwhen a field has conflicting type mappings. (APPDEV-13193)- The
variantprop now allows for globally configuring theverticalAlignmentfor all table cells. (APPDEV-12306) - Row heights are now remeasured correctly when toggling
lineWrap. (APPDEV-13059)
DonutChart
- Add Intents to Toolbar. (APPDEV-12912)
DQLEditor
- Fuzzy matching for suggestions is working again.
FieldSet
- The
fieldsetelement is now wrapped inside of adivto prevent a layout issue in Safari. (APPDEV-12798)
HistogramChart
- Add Intents to Toolbar. (APPDEV-12912)
- Charts with infinite zoom enabled now always display pan arrows on the bottom axis if panning is possible. (APPDEV-13141)
- Support new tooltip styles in
Thresholdspills. (APPDEV-12081)
HoneycombChart
- Add Intents to Toolbar. (APPDEV-12912)
NotifyButton
- Removed default aria-describedby. (APPDEV-13046)
PieChart
- Add Intents to Toolbar. (APPDEV-12912)
SegmentSelector
- A tooltip is displayed for overflowing presets. (APPDEV-12732)
- Now considers an empty variables array as no variables in the default segments. (APPDEV-13101)
Sheet
- Backdrop exit animation is now faster. (APPDEV-13014)
SingleValue
- Improving text scaling in single values to properly utilize available container space. (APPDEV-13127)
TimeseriesChart
- Fixed synchronized selection not resetting on reset in custom action. (APPDEV-13022)
- Support new tooltip styles in
Thresholdspills. (APPDEV-12081) - Charts with infinite zoom enabled now always display pan arrows on the bottom axis if panning is possible. (APPDEV-13141)
Tooltip
- Opening delay is now shorter and the closing animation/delay has been removed. (APPDEV-13032)
TreeMap
- Add Intents to Toolbar. (APPDEV-12912)
XYChart
- Zoom interactions are now available. (APPDEV-12502)
- Add Intents to Toolbar. (APPDEV-12912)
1.6.1
DataTableV2
- All strings in querySelectors are now escaped, so the table no longer crashes due to an invalid query. (APPDEV-13412)
1.6.0
- Changed peerDependency version range for
@dynatrace-sdk/navigationfrom^1.3.0to^1.3.0 || ^2.0.0. @dynatrace/strato-iconswas updated to version1.5.0.@dynatrace/strato-componentswas updated to version1.6.0.
Charts
- Fixed toolbar reset on resize. (APPDEV-12778)
- Now all charts contain
aria-labela11y attribute. (APPDEV-12893)
Forms
aria-disabledproperties are now only added when explicitly set. (APPDEV-12950)
DataTableV2
- Gantt chart tooltips are now consistently rendered within the viewport. (APPDEV-11031)
- Now column ordering with drag and drop works correctly with hidden columns. (APPDEV-13029)
- Built-in prefix columns should no longer become wider when rows are expanded. (APPDEV-12635)
- Enhanced user experience for column order drag-and-drop. (APPDEV-12448)
- Expanding and collapsing rows now maintains the table's current scroll position. (APPDEV-12946)
DateTimePicker
- Clicking the label or the input will now focus the first spin button. (APPDEV-12698)
DQLEditor
- The
onValidationStartandonValidationEndcallbacks are now also triggered when the DQL query is reverted to its original value within the debounce timeframe. (APPDEV-11031)
FilterField
FilterField.Suggestionswrapper is now optional. (APPDEV-13016)- The
suggestionTypenow returnsvaluefor values starting with an invalid character, e.g.$. (APPDEV-12940) - Composed characters are now properly supported and no longer lead to crashes / unexpected input. (APPDEV-11244)
HistogramChart
- Allow zoom mode to be enabled programmatically. (APPDEV-12942)
TimeframeSelector
- The timeframe stepper buttons can now reach the
minandmaxvalues for both absolute and relative times. (APPDEV-10873) - Clicking the label inside the Overlay or the input will now focus the first spin button. (APPDEV-12698)
TimeseriesChart
TimeseriesChartis now able to haveIntentswithin the series action. (APPDEV-12913)- Allow zoom mode to be enabled programmatically. (APPDEV-12942)
XYChart
RectSeriesnow displays itsvalueAccessorLabelif defined on the Tooltip Header. (APPDEV-13035)- Now y-axis labels are no longer cut off in cases of long categories. (APPDEV-12918)
1.5.0
- Changed peerDependency version range for
react-intlfrom^6.0.8to^6.0.8 || ^7.0.0. @dynatrace/strato-design-tokenswas updated to version1.0.1.@dynatrace/strato-componentswas updated to version1.5.0.@dynatrace/strato-iconswas updated to version1.4.0.
DataTableV2
- Now the
selectionBehavioroption for sub-rows is deprecated. (APPDEV-12401)
FilterField
- The
parserConfigprop is deprecated and will be removed with the next breaking change. Variables / bigint numbers will be converted to nodes with typeVariable/BigIntby default.
TextArea
TextAreaWidthtype is now deprecated and is replaced with an inline type onTextAreaProps.width. (APPDEV-12915)
Charts
- Now
undefinedandnullvalues are stringified when downloading as CSV. (APPDEV-12715) - Modify Charts Toolbar to support Intents and new design. (APPDEV-12766)
- Add Intent slot. (APPDEV-12766)
CodeSnippet
- Now the highlighting for
bashis supported again. (APPDEV-12817)
DataTableV2
- Improved interaction pattern now supports column ordering via drag and drop. (APPDEV-12863)
- Expanded rows now occupy the full table width in Chrome when dragged and dropped to the bottom of the table. (APPDEV-12818)
- The
Select All Rowsaction is now disabled if the table is empty or row selection is disabled for all rows. (APPDEV-12790) - The custom cell rendering
formatfunction now respects the provided value rather than defaulting to the cell's value. (APPDEV-12896) - Now
undefinedandnullvalues are stringified when downloading as CSV. (APPDEV-12715) - Cell actions, column actions, row actions, and the toolbar now support intent items. (APPDEV-12096)
- Now the drag and drop handle can also be disabled for certain rows, and the
useLockedRowOrderhook helps to sort disabled rows to the start or end of the table. (APPDEV-12517) - Row height is now correct after expanding/collapsing rows that contain
Markdowncontent. (APPDEV-12680)
DateTimePicker
- Now will return an empty string when the value is invalid. (APPDEV-12694)
FilterField
- Position operators are part of the value and do not change the operator type if they are escaped. (APPDEV-12851)
- Added
FILTERFIELD_DEFAULT_OPERATORSso they can be used in a validatorMap. - Add support for
parserConfigto enable conversion ofVariableorBigIntnodes in the syntax tree. - Variables used in filter values are now returned as value node with type
Variableif enabled in theparserConfig. (APPDEV-12795) - Inserting a suggestion with the replace token strategy no longer removes quotes if the current token is already escaped. (APPDEV-12727)
- Numbers that are bigger than Number.MAX_SAFE_INTEGER are now converted to BigInt, if enabled in the
parserConfig. (APPDEV-12468)
HistogramChart
- Fixed toolbar not shown when re-entering chart with active Selection (APPDEV-12874)
- Selection doesn't disappear when hovering over Toolbar. (APPDEV-12573)
- Fixed several x-axis select toolbar and keyboard interaction issues (APPDEV-12825)
- Supporting custom tooltip in the Annotations (APPDEV-12682)
HoneycombChart
- Fixed a bug in
HoneycombChart. Now the truncated value fit within node boundaries. (APPDEV-12858) HoneycombCharthas a bug fixed allowing it to update when labels or names are updated. (APPDEV-12857)
Page
tabIndexonPanelcan now be customized. (APPDEV-12353)
Radio
- Improved focus styles of the radio for better differentiation of focused and default radios. (APPDEV-11709)
SingleValue
SingleValuenow is able to color its background based on the threshold value. (APPDEV-12683)
SingleValueGrid
SingleValueGridnow is able to color the background of all its internal components based on the threshold value. (APPDEV-12684)
TimeseriesChart
- Add Intents to Toolbar. (APPDEV-12766)
- Fix tooltip, crosshair and magnifier not disappearing when hovering Toolbar. (APPDEV-12739)
- Fixed several x-axis select toolbar and keyboard interaction issues. (APPDEV-12825)
- Fixed toolbar not shown when re-entering chart with active Selection. (APPDEV-12874)
- Selection doesn't disappear when hovering over Toolbar. (APPDEV-12573)
- Supporting custom tooltip in the Annotations. (APPDEV-12682)
XYChart
- Toolbar configuration via slot now available. (APPDEV-11944)
- Tooltip body text presents a better wrapping strategy to avoid word-breaking cases. (APPDEV-12543)
- Allow
null,undefinedandNaNvalues for thevalueAccessoronRectSeries. (APPDEV-12715)
1.4.2
DataTableV2
- Columns with a defined
maxWidthcan be resized again. (APPDEV-12909)
1.4.1
DataTableV2
- Columns that define content widths with maximum widths now use the content widths correctly. (APPDEV-12735)
1.4.0
@dynatrace/strato-iconswas updated to version1.3.0.@dynatrace/strato-componentswas updated to version1.4.0.
Overlays
observeOverlaySizemodifier is now deprecated and will be moved to an internal. (APPDEV-12712)
AppCard
- Deprecated due to the limited use of the component. (APPDEV-11728)
Charts
- All charts now supports consistently the text truncation in the legend. (APPDEV-12550)
Accordion
- Sections within the
Accordioncan now receive a number asidas well. (APPDEV-12700)
DataTableV2
- In the
DataTableV2CellInteractionPatternclicks to the header actions button no longer has a sorting side effect in tests. (APPDEV-12679) - Sub-rows expand/collapse all icon is now updated correctly when state changes. (APPDEV-12767)
- Now row virtualization has reduced overhead for measuring row heights. (APPDEV-12537)
- Row details template no longer excessively rerenders. (APPDEV-12757)
- Minimum height of the DataTable is calculated correctly for contained visualVariantOption. (APPDEV-12788)
- Rows heights are now calculated correctly when visualVariant.headers is set to 'hidden'. (APPDEV-12623)
- Now ensures the correct display state is set before recalculating row heights. (APPDEV-12546)
- Now supports ordering of expandable rows. (APPDEV-12000)
- Sorting and column action indicators in the improved interaction pattern no longer resize the table header cells on hover. (APPDEV-12474)
- Custom column headers using
DataTableV2.DefaultCellnow have correct spacing when using the improved interaction pattern. (APPDEV-12699) - Dragging a row within a scrollable table can no longer break out of the table area restriction, preventing a crash due to undefined elements. (APPDEV-12660)
DateTimePicker
- Incomplete dates show error on Blur. (APPDEV-12528)
DQLEditor
- The
onValidationStartandonValidationEndcallbacks are now also triggered for previously seen DQL queries. (APPDEV-12138) - The
onValidationEndcallback now receives the validation results for the DQL query as a parameter. (APPDEV-12138)
FilterField
- FilterField key suggestions include an icon to indicate the supported type if used with a
validatorMap(APPDEV-11718). - Type annotations for value suggestions are now displayed when restricted with a
validatorMap. (APPDEV-11719) - Only global or default operators are suggested for empty objects in the
keyPredicatesof thevalidatorMap. (APPDEV-12691) - The
textValueis optional when calling theconvertFilterFieldTreeToStringfunction to simplify programmatically creating aFilterFieldTree. This also means that the resulting string may differ from the originalFilterFieldstatement. (APPDEV-11190) - ValidatorMap now also supports negated string operators (
not-starts-with,not-contains,not-ends-with). (APPDEV-12416) - The
validatorMaphas been extended by theFilterFieldValuePredicateFnto validate the value of a FilterField statement. The function allows for boolean return values to indicate whether the value is valid or a string to indicate that the value is invalid and provide a custom error message. (APPDEV-12627) - The
LogicalOperatornode is not part of theFilterFieldTreeanymore. Instead, theFilterFieldGroupNodehas aexplicitLogicalOperatorflag, to indicate whether the statement has a logical operator. This also means that the resulting string may differ from the originalFilterFieldstatement. For example in the basic syntax mode the statementa = 1 AND b = 2would be changed toa = 1 b = 2, when converting it to aFilterFieldTreeand back into a string (APPDEV-11003) - Update comparator suggestions when
validatorMapis updated.
HelpMenu
- Now provides an optional
onOpenChangeprop to handle the HelpMenu opening. (APPDEV-12621)
HistogramChart
- When Explore/Zoom mode is selected by keyboard, there is a focus on selected area (APPDEV-11913)
- Focus set on chart when zoom to selection by keyboard (APPDEV-12789)
- Disabling datapoint updates on hover when the tooltip is pinned. (APPDEV-12670)
HistogramChartis now able to:- cancel the selection pressing Esc
- move the selection with arrows
- pan with alt + horizontal scroll (APPDEV-12197)
HistogramChartis now able to move the selection. (APPDEV-12371)- A bug showing a tooltip while in zoom or pan mode and doing double click to reset, was fixed in
HistogramChart(APPDEV-12740) HistogramCharttoolbar shortcuts now display cmd/ctrl depending on the OS (APPDEV-12574)
HoneycombChart
- The tooltip text width is not anymore proportional to the tile size. (APPDEV-12754)
Page
- Panel role is now applied to the correct element.
SegmentSelector
- Now shows pinned and recent segments in the overlay and allows editing them. (APPDEV-10523)
SelectV2
- Conditionally rendered children in the
<Select.Option>no longer reflect in the aria-label. (APPDEV-12749) - The 'Select all' / 'Clear selection' options are no longer shown when the user is filtering. The 'Select all' option is also hidden now in multi selects if no options are available. (APPDEV-10348)
Sparkline
- Context values now adapt its width to remove unnecessary space. (APPDEV-12575)
TimeframeSelector
TimeframeStepperbuttons now usearia-labelinstead ofaria-labelledBy. (APPDEV-12776)- Default min and max match grail limitations. (APPDEV-10732)
TimeseriesChart
-
Focus set on chart when zoom to selection by keyboard (APPDEV-12789)
-
Disabling datapoint updates on hover when the tooltip is pinned. (APPDEV-12670)
-
A bug showing a tooltip while in zoom or pan mode and doing double click to reset, was fixed in
TimeseriesChart(APPDEV-12740) -
TimeseriesChartis now able to: -
cancel the selection pressing Esc
-
move the selection with arrows
-
pan with alt + horizontal scroll
-
TimeseriesCharttoolbar shortcuts now display cmd/ctrl depending on the OS (APPDEV-12574) -
TimeseriesChartis now able to move the selection. (APPDEV-12197) -
When Explore/Zoom mode is selected by keyboard, there is a focus on selected area (APPDEV-11913)
XYChart
- RectSeries has the new property
valueAccessorLabel. It allows the user to set a custom name for the value of the series. (APPDEV-12590) - RectSeries and its legend it's now properly colorized for cases containing one cell. (APPDEV-12624)
- RectSeries Range coloring now applies the values passed via valueMin and valueMax of the series. (APPDEV-12279)
- Color-palette now supports an empty array. (APPDEV-12629)
1.3.4
AppHeader
ActionItemscan now again support any custom children. (APPDEV-12797)
1.3.3
DataTableV2
- Columns that define content aware sizes with maximum widths are now sized correctly. (APPDEV-12735)
1.3.2
@dynatrace/strato-components-preview-docswas updated to version1.3.2.
1.3.1
DataTableV2
- Horizontal scrolling no longer crashes the table when column IDs contain quotes. (APPDEV-12734)
1.3.0
@dynatrace/strato-iconswas updated to version1.2.0.@dynatrace/strato-componentswas updated to version1.3.0.
Charts
- Magnifier style update (APPDEV-12389)
- The
ChartLayoutnow doesn't rerender while toggling the legend. (APPDEV-12393) - Prevent chart crashing when pinning the tooltip with the right button in
XYChart,TimeseriesChart,HistogramChart. (APPDEV-12439)
Editors
- No longer capture input from
DateTimePicker. (APPDEV-12475)
AppHeader
ActionItemsnow collapse as a whole. (APPDEV-12123)
ChipGroup
- No longer infinitely re-renders if the parent width is too small. (APPDEV-12544)
DataTableV2
- Interactive rows now span the correct columns after changing column visibility. This allows the spacer column to always fill the entire remaining space. (APPDEV-12554)
- Row actions column is not resizable anymore. (APPDEV-12450)
- Expanding all sub-rows via the toggle in the header calls
onOpenSubRowsChangewith the correct value. (APPDEV-12600) - Column settings modal can now be opened programmatically using
openColumnSettings(). (APPDEV-11760) onActiveRowChangeno longer gets fired twice with new cell interaction pattern. (APPDEV-12541)- Now supports ordering of sub-rows. (APPDEV-11999)
- Log content columns now show an ellipsis if a log line was truncated. (APPDEV-12437)
- With the improved cell interaction pattern, the cell actions menu no longer closes when the mouse pointer moves outside the menu after hovering over it. (APPDEV-12482)
DQLEditor
- Now supports syntax highlighting for array access. (APPDEV-11256)
- Syntax highlighting now supports empty array brackets. (APPDEV-12427)
- No longer crashes for extremely long double-quoted strings on one line (for example, 15 million characters). (APPDEV-12467)
FieldSet
- Adjusted the legend's font size so that it better fits with designs. (APPDEV-12381)
FilterField
- Identifier starting with reserved character is marked as an error. (APPDEV-12256)
- Added key and value suggestions for auto-suggestions. (APPDEV-11704)
- Allows configuring matches-phrase comparator (
~,!~) via validator map. (APPDEV-12244)
FormField
- Screen reader now skips reading out "star" when a field is set as required. (APPDEV-12391)
GaugeChart
- The component is now always rendering min, max and value (opt out disabled). (APPDEV-11739)
HelpMenu
- The default implementation of the
aboutentry now opens the hub via intent and not via external link. (APPDEV-12619)
HistogramChart
- Some minor styling issues in the
Selectioncomponent were fixed. (APPDEV-11093) - Zoom actions are no longer triggering if the specific chart interaction is not enabled. (APPDEV-12479)
HoneycombChart
- Adding proper vertical center alignment for label and value in the nodes. (APPDEV-12496)
InputGroup
- Adds
InputGroupcomponent. (APPDEV-12141)
SimpleTableV2
- Columns property is no longer reflected to the DOM. (APPDEV-12549)
SingleValueGrid
- Fix error after passing color: null (APPDEV-12514)
TimeseriesChart
- Adding support for zoom mode in the interactions. (APPDEV-12522)
TimeseriesChartnow is able to show datapoints whilst doing the selection. (APPDEV-11093)- Implemented synchronized selection area. (APPDEV-12097)
- Zoom actions are no longer triggering if the specific chart interaction is not enabled. (APPDEV-12479)
- Introduce custom actions for selection area tooltip. (APPDEV-10807)
- Some minor styling issues in the
Selectioncomponent were fixed. (APPDEV-11093)
XYChart
- Added support for unit and formatter in Logarithmic Axis of XYChart. (APPDEV-12248)
- DotSeries now displays a grid layout in the background. Only applies when RectSeries is not present. (APPDEV-12228)
- Magnifiers now display the correct format for the axes of type time that are reversed. (APPDEV-12432)
1.2.1
HelpMenu
targetproperty ofHelpMenuLinkentries is properly applied. The default of thetargetis set to_blank. (APPDEV-12030)
1.2.0
@dynatrace/strato-componentswas updated to version1.2.0.
Core
headingLevel,HeadingLevelandHeadingTagare now deprecated. (APPDEV-12300)
Mock-Data
- Deprecated the mock-data subpackage. (APPDEV-12252)
Overlays
DrawerPropsis now deprecated as it will move to an internal. (APPDEV-12232)
FeatureHighlight
FeatureHighlightActionPropsis now deprecated. (APPDEV-12233)
Modal
modalSizeOptionsconstant is now deprecated. (APPDEV-12235)
TerminologyOverlay
TerminologyOverlayFooterPropsare now deprecated. (APPDEV-12237)
Toast
- type
ToastPositionis now deprecated, prefer literal type. (APPDEV-12196) - Interfaces
useToastNotificationConfiganduseToastNotificationResultare now deprecated as they are unused. (APPDEV-12195)
Charts
- Axis magnifiers for
Timeserieschart are no longer displaced when scrolling. (APPDEV-12102) - Axis magnifiers for
XYchart are no longer displaced when scrolling. (APPDEV-12102)
Forms
- The
onChangeis now also optional when used in combination withvalue.
Accordion
- Now the
aria-labelledbyattribute in theAccordion.SectionContentreferences the correct label element, and thearia-controlsattribute in theAccordion.Sectiontrigger is set if the content element is present. (APPDEV-12225)
AppHeader
AppHeader.Menusis now available to groupHelpMenuand settings to comply with GUIDE. (APPDEV-12122)
CategoricalBarChart
- Fixed
apdexandstatuscolor palettes not working in color palette's single-mode. (APPDEV-12137)
DataTableV2
- Now the consumers className and style is properly applied to the Toolbar slot component. (APPDEV-12374)
- Now the row details height is calculated properly when expanded. (APPDEV-12358)
- The table is not flickering when sub-rows are configured and the height of the cells is customized. (APPDEV-12257)
- Now, the threshold highlighting works correctly when a value meets multiple threshold rules. (APPDEV-12349)
- Interactive rows are only activated or deactivated when the primary button is clicked. (APPDEV-12423)
- Column type now allows
longto support large Grail numbers. (APPDEV-12403) - Now when the pageSize is changed the table height is always calculated properly. (APPDEV-12106)
- Columns can now be ordered via drag-and-drop. (APPDEV-9899)
- Visual improvements for row ordering: no more unnecessary scrollbars, adjusted spacings and background colors. (APPDEV-9898)
- The heights of rows are now correctly remeasured when the whole DataTableV2 resizes. (APPDEV-12375)
- Log content columns now provide a
truncationLimitconfiguration property, allowing to override or disable the log truncation limit. If not specified, the truncation limit defaults to 1000 characters. (APPDEV-11007) - CSV table download now uses the correct file name in Chrome. (APPDEV-12356)
DateTimePicker
- Opening the calendar while the date selected in the DateTimePicker is invalid no longer duplicates validation error messages. (APPDEV-12444)
ExpandableText
- Space is no longer inserted where there was none. (APPDEV-12360)
FilterField
- When starting to type a value with a $, the correct suggestion type value is now returned in the suggestions callback. (APPDEV-12305)
- Values for specified keys can be restricted using a
FilterFieldValidatorMap. (APPDEV-11215) - Added error boundary for unhandled exceptions. (APPDEV-10749)
- When operators are configured for a specific filter key (via keyPredicate options), the correct operators are suggested as part of auto suggestions and suggestions callback. (APPDEV-11704)
- Suggestions overlay is now no longer closed when applying suggestions on touch devices. (APPDEV-12242)
- Suggestions inserting a variable are no longer automatically escaped. (APPDEV-12305)
GaugeChart
- Changed SVG display to avoid overflows. (APPDEV-12035)
HelpMenu
whatsNew,keyboardShortcuts,playgroundandaboutmenu entries now provide out of the box behavior when set todefault. (APPDEV-12126)- The
feedbackentry now also allows to have children.
HistogramChart
- The chart tooltip is now properly supporting the 1st rendering interaction. (APPDEV-12198)
- HistogramChart Annotations no longer passing range numbers converted to integer (APPDEV-12266)
- Styles have been updated on the explore mode (APPDEV-11853)
- Fixed an issue allowing to enable pan mode when disabled. (APPDEV-12368)
- Introduce custom actions for selection area tooltip. (APPDEV-10974)
Modal
- Modal animation now respects
prefers-reduced-motionmedia query. (APPDEV-12425)
Page
- The
Panelcomponent properly resets thewidthwhen unmounting. (APPDEV-12298)
SelectV2
- SelectV2 now supports the new validation concept and
FormFieldMessages(APPDEV-8306) - Prevent interference of scrollbars and overlays in Safari. (APPDEV-11984)
- Options with complex object values are now listed in order of selection. (APPDEV-12119)
TextInput
- Resetting the controlled value to
undefinedno longer leaves one character standing. (APPDEV-12443)
TimeseriesChart
- Enhance styles for zoom and selection area. (APPDEV-12167)
- Fixing error for empty units when showing relative representation on Band variant. (APPDEV-12150)
- Fixed an issue allowing to enable pan mode when disabled. (APPDEV-12368)
TreeMap
- Added support for TreeMap min and max config. (APPDEV-11437)
- Deprecate
valueAccessorprop and introducenameAccessorinstead. (APPDEV-12250)
XYChart
- Added valueMin and valueMax props for
RectSeriesto specify boundaries for value accessors when required. Only applies for numerical data. (APPDEV-10837) - Adds support for axes of type logarithmic. (APPDEV-11531)
1.1.4
DateTimePicker
- Opening the calendar while the date selected in the DateTimePicker is invalid no longer duplicates validation error messages. (APPDEV-12444)
1.1.3
- Changed peerDependency version range for
@dynatrace-sdk/react-hooksfrom>= 0.6.0 < 1to^1.0.0. This is a correction patch that fixes a mistake introduced in version 1.0.0.
1.1.2
- Changed peerDependency version range for
@dynatrace-sdk/unitsfrom>= 0.18.11 < 1to^1.0.2. This is a correction patch that fixes a bug introduced in version 1.0.0. (APPDEV-12365)
DataTable
- Now correctly applies the highlight limit for columns of type
log-content. (APPDEV-12408)
TimeframeSelector
- The
parseTimeAsTimeValuefunction now only sanitizes rounded timeframe expressions by removing thenowprefix (e.g. ´now+1d@d´ to ´1d@d´). Relative timeframe values are no longer sanitized. (APPDEV-12365)
1.1.1
HistogramChart
- Fixed chart breaking when trying to pin the tooltip where no data was present. (APPDEV-12337)
1.1.0
@dynatrace/strato-componentswas updated to version1.1.0.@dynatrace/strato-iconswas updated to version1.1.0.
Core
- Functions
convertEasingTokenToFramerMotionandcreateFramerMotionTransitionare now deprecated. (APPDEV-12190) - Interfaces for
DesignTokenandNumericDesignTokenare now deprecated as they are no longer used. (APPDEV-12191) hasUncontrolledPropfunction is now deprecated. (APPDEV-12192)createDOMRectfunction is now deprecated. (APPDEV-12188)isFunctionfunction is now deprecated. (APPDEV-12194)isElementOverflowingfunction is now deprecated. (APPDEV-12193)- The interfaces
CollectionSectionProps,CollectionElement,CollectionChildren,ItemProps,ItemElement,Nodeare no longer in use. (APPDEV-12184) - Functions
createElevationBoxShadowValueandcreateElevationFilterValueare now deprecated. (APPDEV-12187)
Charts
- Add toolbar styles and behaviour improvements. (APPDEV-11679)
- Charts are now taking the whole available space when using the resizer. (APPDEV-11978)
- Series action menu button, in the categorical legend, is now visible when resizing the legend to its minimal size. (APPDEV-11994)
- Axis magnifiers for
CategoricalandHistogramcharts are no longer displaced when scrolling. (APPDEV-12102) - Added support for inverted color palettes. (APPDEV-11850)
Accordion
- Now overflowing CSS styles are not cut off in expanded
Accordion.SectionContentwithkeepMountedset. (APPDEV-11941)
AppHeader
- It is possible to add a help menu using the
HelpMenucomponent. It is automatically aligned to the rightmost side of theAppHeaderby default and can not be realigned. (APPDEV-12030)
CodeSnippet
- Now supports
logcontent as a language. (APPDEV-10580)
DataTableV2
- Now, when the row density is changed dynamically, the nested header height updates correctly. (APPDEV-11966)
- Log content columns are now measured correctly on initial render. (APPDEV-12052)
- When ordering rows via drag and drop using the mouse, rows no longer overlap when dragged too fast. (APPDEV-9898)
- Column order now updates if order in column definition changes. (APPDEV-12130)
- Now, when the density of the rows is changed dynamically, the width of the columns is remeasured. (APPDEV-12015)
- The
MeterBarChartandMultiMeterBarChartin themeterbarcolumn now vertically align with the default text. (APPDEV-12110) - Now when the new interaction pattern is activated in the table header, right-clicking on the sorting icon will also open the column actions menu. (APPDEV-11997)
- Date formatter now works again with
undefined/nullvalues. - Added
totalRowsCountprop onDataTableV2.Paginationto allow displaying "Page X of Y" with server-side pagination. (APPDEV-10257) - Now supports a new column type
currency. Shall be used in favor of the deprecatedcurrencyunits provided in theformatterproperty. (APPDEV-10752) - Sub-rows can be deactivated by setting the
subRowsprop tofalse. - It is now possible to re-order rows in a table using drag and drop. Using the keyboard, the space bar and arrow keys are used. (APPDEV-9898)
- By default interactive rows are now automatically activated on focus using the keyboard. (APPDEV-11670)
- When using pagination, collapsing a sub-row now only collapses the respective sub-row, even after all rows have been expanded via
Expand all subrows. (APPDEV-12186) - For columns with a width of
contentorauto, the configuredmaxWidthis now already considered during measurement. This eliminates flickering. (APPDEV-12052)
DateTimePicker
- Date ranges are now applied correctly to the calendar selector. (APPDEV-12148)
FilterField
- Operators for specified keys can be restricted using a
FilterFieldValidatorMap. (APPDEV-9535)
HealthIndicator
- Usage no longer produces css related console warning logs. (APPDEV-12227)
HistogramChart
- Enhanced support for touch interactions and introduce swipe gesture. (APPDEV-11930)
- Implement zoom mode on
HistogramChart. (APPDEV-10981) - Improved ZoomX selection area styling by adding opacity to the sides, enhancing the visibility of the selected portion of the chart. (APPDEV-10762)
HoneycombChart
- The
HoneycombChartnow is able to show labels and values in each node. (APPDEV-11916) - Resolved an issue where automatic color assignment for specific color palettes only functioned with lowercase values. (APPDEV-11980)
Menu
- Now disabled menu items can show tooltips. (APPDEV-11157)
Overlaysnow remain open, when selecting a nested menu item. (APPDEV-11935)- Multi-level menu paths are now highlighted, making it easier to see which nested menu was opened. (APPDEV-11449)
Page
- The
keepMountedprop now works again with simple content. (APPDEV-11075)
Radio
RadioGroupandRadionow support the new validation concept andFormFieldMessages. (APPDEV-8305)
SegmentSelector
- Increased specificity of overwriting styles to ensure the correct styles are applied in an app. (APPDEV-12133)
TextArea
- Now supports the new validation concept and
FormFieldMessages. (APPDEV-8308)
XYChart
- Resolved an issue where automatic color assignment for specific color palettes only functioned with lowercase values in the
RectSeries. (APPDEV-11980) - Updated layout and information displayed in the tooltip for
DotSeriesandRectSeries. (APPDEV-11889) RectSeriesandDotSeriesdo now support field names with dot as accessors. (APPDEV-10843)- Displays the proper format for time axes in tooltip. (APPDEV-11808)
1.0.3
- Changed peerDependency version range for
@dynatrace-sdk/react-hooksfrom>= 0.6.0 < 1to^1.0.0. This is a correction patch that fixes a mistake introduced in version 1.0.0.
1.0.2
- Changed peerDependency version range for
@dynatrace-sdk/unitsfrom>= 0.18.11 < 1to^1.0.2. This is a correction patch that fixes a mistake introduced in version 1.0.0. (APPDEV-12365)
DataTable
- Now correctly applies the highlight limit for columns of type
log-content. (APPDEV-12408)
TimeframeSelector
- The
parseTimeAsTimeValuefunction now only sanitizes rounded timeframe expressions by removing thenowprefix (e.g. ´now+1d@d´ to ´1d@d´). Relative timeframe values are no longer sanitized. (APPDEV-12365)
1.0.1
FilterField
- convertFilterFieldStringWithReservedCharacters util works with reserved characters at the start of the value. (APPDEV-12222)
- Values starting with
$are not marked as invalid.
1.0.0
General
- Removed deprecated testing subpackage. Please use the
@dynatrace/strato-components-preview-testingpackage now. (APPDEV-9460)
In the new package we are no longer re-exporting parts of the @testing-library package. This means you'll have to import functions like screen, userEvent, act, waitFor etc directly from @testing-library and its subpackages.
The render function is still exported in the testing package, as it makes testing strato components easier.
For more information on how to setup and use @dynatrace/strato-components-preview-testing please look into package's readme.
Charts
- Removed deprecated exposed ref from the
TreeMapcomponent. (APPDEV-11401) - Removed deprecated
onZoomChangeprop fromChartInteractionscomponent. (APPDEV-10475) - Removed deprecated
MeteBarChart.Thresholdscomponent. (APPDEV-11034) - Removed deprecated exposed ref from the
MeterBarChartandMultiMeterBarChartcomponents. (APPDEV-11400)
Core
- Removed
variantprop fromuseFocusRing. It can be replaced by usingcolor. (APPDEV-11668) _focusRingVariantsand_FocusRingVariantTypeare now removed, as they were only used internally and were deprecated. (APPDEV-11235)- Text styles based on styled components are now removed. (APPDEV-9822)
Forms
- Removed
getSimplifiedExtendedISOStringFromValuehelper function. (APPDEV-10575)
Typography
- The Typography subpackage has moved to
@dynatrace/strato-componentsand is no longer re-exported. (APPDEV-10881)
AnnotationsChart
- Removed
dataprop fromAnnotationsChart.Marker. (APPDEV-10458)
Chip
- The
variantprop now uses the union type'neutral' | 'primary' | 'success' | 'warning' | 'critical'instead of the removedRoleVariantType. (APPDEV-11235)
CodeSnippet
- Removed
codeSnippetLanguagestype in favor of the inlined string literal. (APPDEV-11647)
DataTableV2
onExpandedRowsChangeandonSubRowsChangeparameters now emit onlyRecord<string, boolean>. Typetruewas removed. (APPDEV-11608)- Removed
TableActionMenu. Please useTableActionsMenuinstead. (APPDEV-11961) - Now if you want to enable and use the column ordering feature within the table you have to set a new flag prop
columnOrderingto true. (APPDEV-11662) TableRowActionMenuis now removed. You can use theMenucomponent or any other elements to define your row actions. (APPDEV-11954)- Remove the deprecated
pageSizeandpageIndexproperties from thepaginationproperty of the import/export configuration functionality. (APPDEV-10685)
DatePicker
- Removed
DatePicker. Please useDateTimePickerinstead. (APPDEV-11848)
DateTimePicker
- Removed
showandhidefunctions from ref. Please useopenandcloseinstead.
FilterField
- Removed
tokenValueprop fromFilterFieldListNodeandFilterFieldErrorNode. (APPDEV-10711) - Removed deprecated props
isEscapedandoperatorfrom typeFilterFieldStringNode. (APPDEV-10084) - Ranges are optional when calling the
convertFilterFieldTreeToStringfunction. This also means that the spaces in the resulting string may differ from the spaces in the originalFilterFieldstatement. (APPDEV-11190) - Additional characters have been added to the list of reserved characters. The grammar now no longer detects reserved characters as part of a key / value automatically when starting with a letter. Reserved characters always have to be escaped when used inside a key / value.
These character are now reserved: =, <, >, !, (, ), *, ,, \, ", $, :, [, `
- An empty list following an inclusion operator is now marked as invalid. (APPDEV-11799)
- The
FilterFieldcomponent now allows statements without space in between the key, operator, and value. For example,a=bnow yields the same syntax tree asa = b. (APPDEV-11022, APPDEV-11017) - Changed the ref to a
FormControlWithOverlayRef, which also includes avalidatefunction. The original element of the ref can be accessed viaref.element. Be aware, it also no longer shows the error initially. In case you need the initial error highlighting, callref.current?.validate()in auseEffectthat only runs on the initial render. (APPDEV-11127)
HealthIndicator
- Removed
variantprop in favor of the automatic detection of the background color. (APPDEV-11668)
HistogramChart
- Removed
priorityprop fromHistogramAnnotations.Trackandvalueprop fromHistogramAnnotations.Marker. (APPDEV-10458) HistogramThresholdPositionandHistogramThresholdDatarenamed toNumericalThresholdPositionandNumericalThresholdData. These were deprecated and now are removed. (APPDEV-10785)
InformationOverlay
- Removed
variantprop. Please use thecolorprop instead. (APPDEV-11668)
Menu
- Removed deprecated
MenuItemTooltipWrapperProps. (APPDEV-11010)
SegmentSelector
- Changed ref to a
FormControlWithOverlay-ref, to enable form control features like validate, open, close, etc. (APPDEV-11074)
TextArea
- Set default width to full. A migration has been provided. (APPDEV-10375)
TimeframeSelector
TimeframeStepperis now enabled by default. If you need to disable it, you can setstepper={false}. (APPDEV-11599)
TimeseriesChart
- Remove
priorityprop fromTimeseriesAnnotations.Trackanddataprop fromTimeseriesAnnotations.Marker. (APPDEV-10458) TimeseriesThresholdPositionandTimeseriesThresholdDatarenamed toDateThresholdPositionandDateThresholdData. These were deprecated and now are removed. (APPDEV-10785)- Removed deprecated
SynchronizationProvidercomponent in favor ofSharedChartInteractions. (APPDEV-11045)
Tooltip
- Changed its background color to a light shade. In case you are using custom color styles within the
Tooltipthey might need to be adjusted. (APPDEV-11668)
- Changed peerDependency version range for
@dynatrace-sdk/app-environmentfrom^1.0.0to^1.1.0. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/client-filter-segment-managementfrom^1.0.0to^1.4.0. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/client-notificationfrom^1.7.0to^1.8.1. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/navigationfrom^1.2.1to^1.3.0. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/client-queryfrom^1.3.0to^1.17.0. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/error-handlersfrom^1.0.0to^1.3.1. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/user-preferencesfrom^1.1.0to^1.1.1. (APPDEV-11243) @dynatrace/strato-componentswas updated to version1.0.0.@dynatrace/strato-design-tokenswas updated to version1.0.0.@dynatrace/strato-iconswas updated to version1.0.0.
0.117.73
DataTable
- Now correctly applies the highlight limit for columns of type
log-content. (APPDEV-12408)
0.117.72
DataTable
- Log content columns are now measured correctly on initial render. (APPDEV-12054)
0.117.71
General
- Restored types for the
@dynatrace/strato-components-preview/testingsubpackage.
0.117.70
@dynatrace/strato-componentswas updated to version0.85.120.
FieldSet
- Deprecated
legendprop. (APPDEV-8564)
XYChart
- Deprecated
HeatmapSeries. UseRectSeriesinstead.
Charts
- All the visualizations containing a legend are now initializing with the optimal size when the ratio is set to auto. (APPDEV-11775)
- Added aria-labels to the panning control buttons for
TimeseriesandHistogram. (APPDEV-11840)
Core
- The
useRovingFocushook is now correctly updating the tab indices and re-renders when a roving item is added or removed from the roving group. (APPDEV-11732)
Overlays
- Corrected return type of
useOverlayWithTriggerhook to reflect the currently returned props.
CategoricalBarChart
- Now, the visualization supports log scale. (APPDEV-11044)
DataTableV2
- When a page is empty,
pageIndexis updated to the last page that contains data. (APPDEV-11981) - Row actions now allow custom menu triggers again. (APPDEV-11971)
DataTableV2now supports two different selection behaviors for subrows:cascading(default) andindividual. This can be configured via theDataTableV2Props.subRows.selectionBehaviorprop. (APPDEV-9982)- Column settings trigger can now display a custom label. (APPDEV-10078)
- Columns with
width: 'content'maintain a consistent width withfullWidthenabled and periodic sizing. (APPDEV-11846) - For uncontrolled usage, column order is now reset once column definition changes. (APPDEV-11921)
- The height does not grow infinitely when displaying a single row and hiding the headers. (APPDEV-11909)
- Position of the context menu in the
DataTableV2is correct again. onPageIndexChangenow includes whether user interaction or an internal update triggered the change. (APPDEV-11981)- New row interactivity now works on spacer column. (APPDEV-11832)
- Improved rendering performance for interactive rows.
DQLEditor
- Now suggestions are not cut off when wrapping the
DQLEditorin a transformed element. (APPDEV-11361)
HistogramChart
- Added some improvements to log scale. (APPDEV-10948)
Histogramshow selected data points while selecting area. (APPDEV-11167)- Introduce Select interaction. (APPDEV-10973)
HoneycombChart
- Now honeycomb set a default color instead of removing tiles out of the boundaries of min, max. (APPDEV-11413)
TimeframeSelector
TimeframeSelectornow has improved aria labelling and no longer applies wrongaria-describedbyattribute. (APPDEV-11977)
XYChart
- Renamed
HeatmapSeriestoRectSeries,HeatmapSeriesis now deprecated. (APPDEV-11566) - Tooltip now displays the closest point on the
DotSeries. (APPDEV-11612)
0.117.67
DataTable
- Now correctly applies the highlight limit for columns of type
log-content. (APPDEV-12408)
0.117.66
DataTable
- Log content columns are now measured correctly on initial render. (APPDEV-12054)
0.117.65
DataTableV2
- Row actions now allow custom menu triggers again. (APPDEV-11971)
0.117.64
General
- Version only bump to align
framer-motiondependency version with@dynatrace/strato-components-preview-testing.
0.117.63
TimeframeSelector
- Now the Calendar selects the correct timeframe in dd.mm.yyyy format. (APPDEV-11947)
0.117.62
DataTableV2
- Opening a header contextmenu no longer crashes the DataTableV2. (APPDEV-11867)
0.117.61
DataTableV2
- Position of the context menu in the DataTableV2 is correct again.
0.117.60
- Changed peerDependency version range for
@dynatrace-sdk/unitsfrom>= 0.18.3 < 1to>= 0.18.11 < 1. @dynatrace/strato-componentswas updated to version0.85.110.
Overlays
- Deprecated
OverlayWithTriggerPropsreturn type ofuseOverlayWithTriggerhook, as well as the nested typeOverlayTriggerProps. The hook only returns a subset of the deprecated type and this is now reflected in the new type. (APPDEV-11549)
General
useBreakpointhook now has better SSR support.
Charts
- Toolbar design updated. (APPDEV-10679)
- Collapsed toolbar now does not prevent
Escapeactions from being triggered on other elements. (APPDEV-11650) Treemapnow supports custom width via props. (APPDEV-11072)
Content
KeyboardShortcutandHealthIndicatornow inherit theContainer's color, if used inside it.
Core
useFocusRingnow has a propcolorthat replaces the deprecatedvariantand only allows'neutral' | 'primary' | 'success' | 'warning' | 'critical'colors, asonAccentwill be removed.
Editors
- Chrome issue with inputs being blocked after switching
Tabswhen being focused in anEditoris now fixed. (APPDEV-11439)
Navigation
- The controlled version of the
Tabscomponent now functions correctly.Tabscan be blocked and unblocked usinguseBlockerwithout causing any unexpected behavior. (APPDEV-11206)
AnnotationsChart
- Supporting multiple emojis with multiple characters. (APPDEV-11552)
- A bug was solved when a marker falls out of the bounds and the tooltip was still shown. (APPDEV-11590)
AppHeader
AppNavLinkno longer receives active underline when polymorphed to a react-router-domNavLink. (APPDEV-11665)isSelectedprop applies active styles correctly again. (APPDEV-11666)
DataTableV2
- The
fullHeightprop is now available for controlling whether to take up the full parent container height. (APPDEV-10677) - Empty table cells are now represented as empty strings in exported CSV table data. (APPDEV-11672)
- Default alignment based on the column type and
rowDensitystyling are applied properly when rendering custom (default) cells. (APPDEV-10671) ColumnSettingsModalsearch now follows more relaxed matching. (APPDEV-11798)- Expose
scrollToRowfunction onDataTableV2Reffor imperative scrolling. (APPDEV-10394) - Selection behavior is disabled for interactive cells when using a touch device. (APPDEV-11371)
- Rows are now remeasured once column visibility, column size or page index change. (APPDEV-11745)
- Line wrap icon in
DataTableV2.Toolbarnow shows a tooltip on hover. - Markdown columns now support custom component mappings to override the default rendering behavior. (APPDEV-10618)
- Ensure row selection prefix column is only added once. (APPDEV-11686)
- Ensure row actions suffix column is only added once. (APPDEV-11828)
- Improved general render performance. (APPDEV-11735)
- Header cell rendering performance is now improved. (APPDEV-11436)
- It is now possible to select or deselect multiple rows at once by pressing the
Shiftkey while selecting an end row.(APPDEV-8821)
DonutChart
- Replaced display of slashed zero with regular zero. (APPDEV-11309)
DQLEditor
- Only DQL commands are now properly highlighted. (APPDEV-11613)
FilterField
- Aria-label is no longer duplicated. (APPDEV-11655)
- Chrome issue with inputs being blocked after switching
Tabswhen being focused in aFilterFieldis now fixed. (APPDEV-11439) - Keys can be restricted in the
FilterFieldusing aFilterFieldValidatorMap. (APPDEV-9533) - Statement with list at the end is not automatically valid anymore. (APPDEV-11634)
GaugeChart
- Replaced display of slashed zero with regular zero. (APPDEV-11309)
HistogramChart
- Now browser zoom (by mouse shortcut) is prevented when zoom interaction is defined, loading state is active and user is hovering the chart. (APPDEV-11432)
HoneycombChart
- Fix an instance where nodes could not be hovered. (APPDEV-11287)
- Hide
HoneycombCharttiles with non-valid values. (APPDEV-11577)
InformationOverlay
InformationOverlaynow inherits theContainer's color, if used inside it.- Now supports a custom icon.
MeterBarChart
- Added
autovalue to the size property.
SegmentSelector
- No longer removes faulty segments automatically and shows respective errors when wrapped in a
FormField. (APPDEV-11467)
SelectV2
- Opening a select with a
Select.Filterthat is used outside thePagecomponent no longer causes scrolling. (APPDEV-11761)
Sheet
- Now emits
animationDoneevent after animation is complete. (APPDEV-11596)
SingleValue
- Replaced display of slashed zero with regular zero. (APPDEV-11360)
Sparkline
- Reduce the size of standalone datapoints on smaller charts. (APPDEV-11753)
TimeframeSelector
- Now the
TimeframeSelectorsanitizes the expression to remove thenowprefix (e.g.now+1hto1h). (APPDEV-11731) - Days before the introduction of CET are now handled properly. (APPDEV-11695)
- Add a link to user documentation in the
TimeframeSelectoroverlay. (APPDEV-11541) - Now all
SpinButtonscan be selected at the same time. (APPDEV-9528)
TimeseriesChart
- Now browser zoom (by mouse shortcut) is prevented when zoom interaction is defined, loading state is active and user is hovering the chart. (APPDEV-11432)
- Prevent
TimeseriesChartfrom applying unnecessary opacity when x-zoom is performed. (APPDEV-11354)
Toast
TextEllipsisis now applied correctly when used inside aToastcontainer. (APPDEV-11649)
XYChart
- Added
DotSeriescomponent. (APPDEV-11568)
0.117.53
TimeframeSelector
- Now the Calendar selects the correct timeframe in dd.mm.yyyy format. (APPDEV-11947)
0.117.52
DataTableV2
- Opening a header contextmenu no longer crashes the DataTableV2. (APPDEV-11867)
0.117.51
DataTableV2
- Header cell rendering performance is now improved. (APPDEV-11436)
FilterField
- Closing parentheses are detected as part of a value again when the value starts with escaped characters. (APPDEV-11389)
0.117.50
- Changed peerDependency version range for
@dynatrace-sdk/navigationfrom>= 1.0.0to>= 1.2.1. @dynatrace/strato-componentswas updated to version0.85.100.@dynatrace/strato-iconswas updated to version0.39.4.
Content
- Deprecated
variantprop fromHealthIndicatorPropsandcolorfromKeyboardShortcutPropsas they will be removed and will be automatically detected when used inside a container.
Core
- The
variantprop from theUseFocusRingPropsand_UseFocusRingPropsis also now deprecated and will be replaced by'neutral' | 'primary' | 'success' | 'warning' | 'critical'.
DataTableV2
- Deprecated
disableColumnHidingon group columns. (APPDEV-11410)
Overlays
- Deprecated the
variantprop fromInformationOverlayBaseProps, as it will be removed in favor of thecolorprop.
General
- Increased the peerDependency version range of
@dynatrace-sdk/navigationto^1.2.1, since theSegmentSelectorrelies on a newly delivered feature of that sdk.
Charts
- Allocate correct space for long y-axes labels. (APPDEV-11570)
CategoricalBarChart
- Added truncation mode (
start,middleandend) to the axis. (APPDEV-9992)
ChipGroup
- Polymorphed
ChiponClickis only called once when used inChipGroup. (APPDEV-11373)
DataTable
- Now properly handles literal zero values in columns with
bittype. (APPDEV-11496) - Do not throw an error when using controlled sort on column with
disableSortByset to true. (APPDEV-11523)
DataTableV2
- The column type
sparklinecan now be configured to display value indicators. (APPDEV-10917) - Exported CSV table data now includes sub-rows. (APPDEV-5577)
- Fixed width can now be set on parent columns. (APPDEV-11409)
- Cell rendering performance is now improved by memoizing the underlying cell component. (APPDEV-11436)
- Now properly handles literal zero values in columns with
bittype. (APPDEV-11508) data-subrow-depthis now exposed on a cell to indicate the nesting level of a row. (APPDEV-11059)- Navigating via
Page UpandHomekeys now scrolls the respective row fully into view. (APPDEV-11374) - Now provides a built-in cell action
TableActionsMenu.CopyItem, enabling users to copy cell values to clipboard. (APPDEV-10525) - Sub-menus and link items can now be configured within column and cell user actions by leveraging specific slot components. (APPDEV-9866)
- Now the
DataTableV2.SelectionChiponly shows the number of selected rows that are available for selection. (APPDEV-11510) - Implicitly set
disableColumnHidingto true on group columns if one child column has it set to true. (APPDEV-11410) - Vertical dividers do not cause a scrollbar anymore. (APPDEV-11574)
- Now provides built-in table action menu groups and labels to semantically group menu items. (APPDEV-10525)
- In a custom cell renderer the
formatfunction will now emit a stringified version of the original value if no valid formatter was applied. - Column resizing now also works with touch interaction. (APPDEV-10897)
- Now the table's height is calculated correctly and the scrollbar is only shown when necessary. (APPDEV-11319)
- Conditional render of
DataTableV2.Paginationis now supported. - Fixed crash when no children are provided to the
TableActionsMenu.
DateTimePicker
- Fixes validation when a required, missing value becomes valid by selecting a date from the calendar. Also removes duplicate error. (APPDEV-11289)
FilterField
LogicalOperators with an invalid usage or position have the typeError.- Removes gap between an incomplete
FilterFieldstatement and the button to delete the statement. (APPDEV-11340) - Logical operator
ANDis not automatically returned as an error node in theconvertStringToFilterFieldTreefunction. (APPDEV-11295)
GaugeChart
- Now the visualization is public.
- Thresholds now supports colors.
HealthIndicator
- Added support for labels with
<HealthIndicator.Label>. (APPDEV-10409)
HistogramChart
- Fixed the behavior after pinning a point and tooltip. After a pan or brush action, the point will now unpin as expected.
HoneycombChart
- Fixed space allocation for
HoneycombCharttooltip value. (APPDEV-11318)
Menu
data-testidcan now be set forMenu.Content. (APPDEV-11561)
Page
- Fixed page initial animation by hiding it until styles are available. (APPDEV-11471)
- Outlets now work when using the
keepMountedprop. (APPDEV-11075)
SelectV2
- The
SelectV2component no longer moves the focus between the filter input and hidden input, which enables proper text selection inside the filter. (APPDEV-9635) - Now disabled trigger has
not-allowedcursor style. (APPDEV-11333)
Sparkline
- Fixed Sparkline log scale and context values. (APPDEV-11090)
Tabs
EditorsandFilterFieldcan now be used in combination withTabswithout blocking any input. (APPDEV-11439)
TimeframeSelector
- The steps of the
TimeframeStepperdepend on how the date was set. If the timeframe was selected via calendar previously it moves by whole days, otherwise by the exact time difference. (APPDEV-10736)
TimeseriesChart
- Fixed the behavior after pinning a point and tooltip. After a pan or brush action, the point will now unpin as expected.
- Improved precision of tooltip hovering over the datapoints. (APPDEV-11177)
0.117.41
TimeframeSelector
- Now the Calendar selects the correct timeframe in dd.mm.yyyy format. (APPDEV-11947)
0.117.40
- Added
@dynatrace/strato-design-tokensas a peer dependency with version range~0.20.0. - Added
@dynatrace/strato-iconsas a peer dependency with version range~0.39.0. @dynatrace/strato-componentswas updated to version0.85.90.
General
- Moved
@dynatrace/strato-design-tokensand@dynatrace/strato-iconsto peerDependencies and relaxed the version range. (APPDEV-9911) - Classnames for components now contain a version number to avoid conflicts if apps happen to have more than one version of the design system running.
Charts
- Fixed dark theme color not being applied on charts. (APPDEV-11070)
- Now
Heatmapsubcomponents detect data provided as arrays of series properly. (APPDEV-10709)
Editors
- Improved performance of editors for long contents. (PAPA-22071)
DataTableV2
- Columns of type
log-contentwill now only highlight the first 1000 characters. - The
rowIdandrowIndexproperties are now accessible withinDataTableV2.RowActions. - The sparkline
columnTypenow supports thebarvariant. (APPDEV-10400) - Fixed a
maximum update depth exceedederror which occurred in certain conditions. (APPDEV-11032)
DonutChart
- Added unique
data-testidto donut chart. Exposeddata-testidto the consumer. (APPDEV-11227)
FilterBar
- Now keeps the pinnedState for
Filterbar.Items properly. (APPDEV-11229)
FilterField
- A key / value starting with
inis now correctly detected as string instead ofInclusionOperator.
GaugeChart
- Now supports responsive threshold indicators.
HistogramChart
- Fixed threshold indicators missing on initial zoom when infinite zoom is active. (APPDEV-11285)
MeterBarChart
- Both Single and Multi now support new element
refinterface. (APPDEV-10996) - Added unique
data-testidto single meter bar and multi meter bar. Exposeddata-testidto the consumer. (APPDEV-11227)
NotifyButton
- Creating a notification now triggers an error toast when the limit is reached.
Page
- Fixed the animation disabling of the
Drawerwhen the reduced motion setting is enabled. (APPDEV-10763)
PieChart
- Added unique
data-testidto pie chart. Exposeddata-testidto the consumer. (APPDEV-11227)
SegmentSelector
- Now opens the segments management app as addon. (APPDEV-9533)
Sparkline
- Reduced height of context value labels. (APPDEV-11414)
TimeseriesChart
- Fixed
Timeseriescrash with a combination of relative values and no custom unit. - Fixed threshold indicators missing on initial zoom when infinite zoom is active. (APPDEV-11285)
TreeMap
- Added unique
data-testidto treemap chart. Exposeddata-testidto the consumer. (APPDEV-11227) - Added support to new element
refinterface. (APPDEV-10997)
0.117.30
Core
- Added new theme for log content highlighting. (APPDEV-10398)
DataTableV2
- Sorting of columnType:
number columnsis now correct when data is passed as string. - Converted certain properties from types to interfaces.
- In the column settings modal, long column names with no spaces are now wrapped properly.
MeterBarChart
- SingleMeterBar supports negative values.
- Make color prop optional.
- Added react node support to labels value.
TimeframeSelector
- Error message for outside range values now respects default precision.
0.117.20
@dynatrace/strato-componentswas updated to version0.85.80.
DataTable
- The
DataTableis now deprecated in favor of theDataTableV2.
SegmentSelector
- Deprecated
updateSegmentVariables, since segments should be changed as a complete segment e.g. by setting them with thesetSegmentsfunction.
SimpleTable
- The
SimpleTableis now deprecated and will be replaced by theSimpleTableV2.
Charts
- The tooltip now properly calculates the best size for the body when there is a scrollbar and the virtualizer is disabled.
Sparkline
- Add log scale for linear and area variants.
Tabs
- With this update, you can now block tab switching using the
useBlockerhook from react-router-dom without causing the 'Maximum update depth exceeded'-error.
Accordion
- Expanded state is now fully controllable in single mode as well.
CodeSnippet
- Now supports proper syntax highlighting for DQL strings containing escaped quotes, backticks, and backslashes.
- The line number, content, and copy button are now horizontally aligned when there is only one line of content in condensed mode.
convertToColumnsV2
- Generated columns now all have a width of
contentapplied. FieldTypeType.Durationnow receives a default nanosecond formatter with a cascade.
DataTable
- Download page and selection data works now with virtualization (uninitialized rows).
DataTableV2
- Date instances are now correctly sorted by default in default column types.
- Details column no longer gets added multiple times.
- When hiding columns the
SubRow-indicator-button now adjusts the column content correctly. DataTableV2.LineWrapcan now be used in theDataTableV2.Toolbarfor table wide line wrap control.- Updating the column definition now invalidates the column accessors cache avoiding access to stale data.
- On columns with fractional widths,
minWidthproperty is now respected. - Nested header row height is now correct during long loading data scenarios.
- Column sizes are now calculated correctly on initial render when columnDef width is
autoand theDataTableV2is notfullWidth. - Row virtualization no longer leaves additional empty space at the end of the container.
- When ‘Expand all SubRows’ is triggered, all disabled sub rows will now remain collapsed.
- Ensure correct alignment for log-content columns.
- The table now re-renders correctly whenever the initial columns prop is updated.
- Data can now be downloaded programmatically.
- Manual sorting configuration is now correctly reset if property configuration changes.
- Expanding the row details on a
DataTableV2that is not full width no longer expands the width of the entire table.
DateTimePicker
- In weeks after a daylight savings change, the DateTimePicker no longer shows two Sundays.
- Selecting the first day of the month now works correctly.
DateTimePickernow works in Safari when using time only mode.
DQLEditor
- Added
onValidationStartandonValidationEndcallbacks. - Added support for proper syntax highlighting for nested property access.
FilterField
- Updated validation flow to improve UX.
- Parentheses are now included in the node value when inside double quotes.
tokenValueprop is now included in list nodes again.- Cursor position is now correct in Safari.
- Values are no longer detected as numbers if they have multiple decimal separators.
GaugeChart
- Now supports auto-scaling.
HistogramChart
- Added support for panning controls in the bottom axis.
- Fixed an issue where the chart plot could not be focused using the keyboard, which prevented shortcuts from working.
KeyboardShortcut
- Added mappings for the minus, multiply and divide aliases that can be used as the keyboard shortcuts binding.
Menu
- Height of menu content is now adjusted to the available space.
- Menu items are styled correctly on focus and hover.
MessageContainer
- Added
MessageContainercomponent.
PieChart
- Improved Pie and Donut charts labels.
SegmentSelector
SegmentSelectorallows multiple empty selects.SegmentSelectornow works with native forms.- The
SegmentSelectorProvideronly updates thedefaultSegmentsof the provider on mount.
SimpleTableV2
- Introduces
SimpleTableV2as a successor to theSimpleTable.
SingleValue
elementprop is now added to the exposed ref.
TimeframeSelector
- Added tooltip to the
TimeframeSelectortrigger. - Display
@d -> +1d@dasFull dayandnow -> +1d@dasRemaining day. - Added timeframe-stepper. This now allows the user to move the timeframe backwards and forwards. CAUTION: This feature is opt-in initially, with the default set to false. In the next breaking change release, it will become an opt-out feature, with the default set to true. Please prepare your integrations accordingly.
TimeframeSelectorno longer automatically submits an invalid value that is corrected and becomes valid. The value needs to be submitted either via keyboard or clicking the apply button.
TimeseriesChart
- Exposed
SharedChartInteractionsand deprecatedSynchronizationProviderin its favor. - Fixed an issue where the chart plot could not be focused using the keyboard, which prevented shortcuts from working.
ToggleButtonGroup
- Styling no longer breaks when wrapping
ToggleButtonItemsin a tooltip.
0.117.12
General
- Removed unnecessary moduleNameMappers for date-fns.
0.117.11
General
- Added missing moduleNameMappers for date-fns.
FilterField
tokenValueprop is now included inFilterFieldlist nodes again.
0.117.10
@dynatrace/strato-componentswas updated to version0.85.70.
General
- Testing subpackage exports are now marked as deprecated. Please use
@dynatrace/strato-components-preview-testinginstead.
Content
- Fixed Markdown list item moving to next line in Firefox, when there are two newlines in the content.
AnnotationsChart
- Removed group number limit on the markers.
DataTable
Buttoncomponents are now aligned correctly in custom cell renderers.- Only the first 1000 characters of a log-content string will be highlighted to enhance the table's performance.
- Custom cells now render
TerminologyOverlayitems correctly.
DataTableV2
nullis no longer treated as a valid date incolumnType: 'date'columns.- Header heights are now calculated correctly when the incoming data changes at runtime.
- Resizable tables now initially calculate their width correctly when not in fullWidth mode.
- The color of the SubRow expander button in the header now aligns with the font-color of the header cells.
- Column resizing performance has been improved.
- Log content cells now use monospace font.
- Font style can now be controlled on a column level.
alignmentin column definition forlog-contentcolumns now behaves correctly in syntax-highlighted cells.- Row actions now fit properly into condensed rows.
DQLEditor
- Autocompletion suggestions now remain open when numbers are typed.
- Tooltip is now displayed properly inside an Accordion in a Page.
FilterField
- a11y props are now cleaned up and aria labeling is fixed.
GaugeChart
- Now supports label formatting.
- Now supports shared configurations.
HoneycombChart
- Applying custom formatting for custom color palettes.
InformationOverlay
- The
aria-labelon theInformationOverlay.Triggernow only defaults when no trigger text is provided.
Menu
Menuitem tooltip now remains open when hovered, providing convenient access to interactive content.
MeterBarChart
- Does not support wrapper for Threshold slots.
Page
- Fixed visual glitch in the initial animation of the
Pageand fixed disabling animations in theDrawer.
SegmentSelector
- Added tooltip for the
SegmentSelectorbutton.
TimeseriesChart
- Removed synchronized pinned state for synchronized cross-hairs.
0.117.3
General
- Removed unnecessary moduleNameMappers for date-fns.
0.117.2
General
- Added missing moduleNameMappers for date-fns.
FilterField
- Rounded brackets are now included in the node value when inside double quotes.
tokenValueprop is now included inFilterFieldlist nodes again.
0.117.1
General
- Fixed migration path in package.json dt entry.
0.117.0
Buttons
-
The following components and props have been removed from
@dynatrace/strato-components-preview/buttonsand moved to@dynatrace/strato-components/buttons: -
Button -
ButtonLabelProps -
ButtonOwnProps -
ButtonPrefixProps -
ButtonProps -
ButtonSuffixProps -
IntentButton -
IntentButtonProps -
IntentButtonPropsBase -
IntentButtonRecommendAppProps
Additionally, the following have been removed:
_AriaBaseButtonProps_useButtonAriaButtonPropsButtonAriacolorOptionsColorOptionsTypevariantOptionsVariantOptionsType
A migration has been provided for the Button component. The IntentButton no longer has a default label. If you want to display “Open with” you will need to pass it as a child element. Additionally, the iconOnly prop has been removed.
Charts
- Removed
resizableproperty fromLegendprops.
Conversion-Utilities
- Removed deprecated
cellRendererand associated types.
Core
-
ConvertCSSPropertiesToStyledhas been removed. -
The following components and props have been removed from
@dynatrace/strato-components-preview/layoutsand moved to@dynatrace/strato-components: -
AriaDisabledProps -
AriaLabelingProps -
DataTestId -
DOMProps -
FlexItemStyleProps -
FlexStyleProps -
GapProps -
GridFlexPositionProps -
GridItemStyleProps -
GridStyleProps -
LayoutSizeProps -
PolymorphOwnProps -
PolymorphProps -
PolymorphicComponentProps -
ProgressBar -
ProgressBarDensity -
ProgressBarIconProps -
ProgressBarLabelProps -
ProgressBarProps -
ProgressBarValueProps -
ProgressCircle -
ProgressCircleProps -
ProgressCircleSizeOptionsType -
roleVariants -
RoleVariantType -
SpacingProps -
StylingProps -
useBreakpoint -
useCurrentTheme -
WithChildren.
Additionally, the gapSizes property has been renamed to spacingProperties, and GapSize has been renamed to SpacingProperties. Both have been moved to @dynatrace/strato-components/styles.
The following have been removed:
DefaultSpacingPropsFocusContextPropsFocusProviderFocusScopeFocusScopePropsFocusableElementgetFirstFocusableChildgetLastFocusableChildisBrowserisFocusableModalitymulberry32_attemptFocus_focusFirstDescendant_mergeProps_NullToObject_TupleTypes_UnionToIntersection_useAriaLabelingProps_useFocusContextuseIduseIdPropsuseSafeForwardPropsUseSafeForwardReturnPropsuuidv4
A migration is provided.
Layouts-Core
-
The following components and props have been removed from
@dynatrace/strato-components-preview/layouts-coreand moved to@dynatrace/strato-components/layouts:ContainerContainerOwnPropsContainerPropsFlexFlexOwnPropsFlexPropsGridGridOwnPropsGridPropsLayoutPropsLayoutSizeCSSPaddingDetailOptionsTypePaddingShortHandSyntaxPaddingSimpleOptionsTypepaddingOptionsspacingSizeOrderSurfaceSurfaceOwnPropsSurfaceProps
The following have been moved to
@dynatrace/strato-components/content:SkeletonSkeletonPropsSkeletonTextSkeletonTextProps
Additionally, the
PaddingPropsandMarginPropsproperties have been renamed toSpacingProps. TheSpacingSizeproperty is nowSpacingProperties, andspacingSizeshas been renamed tospacingProperties. Those have been moved to@dynatrace/strato-components/styles.A migration is provided.
Styles
-
The following components and props have been removed from
@dynatrace/strato-components-preview/stylesand moved to@dynatrace/strato-components/styles:FlexItemStylePropsFlexStylePropsGapPropsGridFlexPositionPropsGridItemStylePropsGridStylePropsLayoutSizePropsSpacingProps
Additionally,
DefaultSpacingPropshas been removed. A migration is provided.
AppName
AppNameis now removed. Please use thegetAppNamefrom '@dynatrace-sdk/app-environment' or theAppHeaderinstead.
Checkbox
- Removed
CheckboxBaseProps,CheckboxControlledProps, andCheckboxUncontrolledPropsin favor ofCheckboxProps.
DateTimePicker
- The
valueof theDateTimePickernow also accepts aTimeValue. - The value returned in the
onChangecallback is nowTimeValue | null. - Removed
DateTimePickerControlledProps,DateTimePickerUncontrolledProps,DateTimePickerBaseProps, and the deprecatedreadonlyprop.
Divider
- Removed deprecated
Divider, it's now available in@dynatrace/strato-components.
FilterField
- The
FilterFieldListNodenow includesFilterFieldtree nodes in the value array instead of just strings. - Removed deprecated
FilterFieldNodeRangetype. - Removed
FilterFieldRangeNodetype. - Removed
FilterFieldLikeOperatorNodetype.
NumberInput
- Removed
NumberInputControlledProps,NumberInputUncontrolledProps, andNumberInputLimitProps.
PasswordInput
- Removed
PasswordInputControlledProps, andPasswordInputUncontrolledPropsin favor ofPasswordInputProps.
RadioGroup
- Removed
RadioGroupBaseProps,RadioGroupControlledProps, andRadioGroupUncontrolledPropsin favor forRadioGroupProps.
Section
- Removed deprecated
Sectionand associated types.
Select
- Removed
SelectValueControlledProps, andSelectValueUncontrolledPropsin favor ofSelectProps.
Switch
- Removed
SwitchBaseProps,SwitchControlledProps, andSwitchUncontrolledPropsin favor ofSwitchProps.
Text
- Removed deprecated
Text, it's now available in@dynatrace/strato-components.
TextArea
- Removed
TextAreaBaseProps,TextAreaControlledProps, andTextAreaUncontrolledPropsin favor ofTextAreaProps.
TextInput
- Deprecated unused helper props of the TextInput. They can be replaced by picking from the TextInputProps directly.
TimeframeSelector
- Helper props of the
TimeframeSelectorare now deprecated and can be picked from theTimeframeSelectorPropsinstead.
@dynatrace/strato-componentswas updated to0.85.60.@dynatrace/strato-iconswas updated to0.39.3.@dynatrace-sdk/unitspeer dependency range was updated to>= 0.18.3 < 1.@dynatrace-sdk/react-hookspeer dependency range was updated to>= 0.6.0 < 1.@dynatrace-sdk/client-notificationpeer dependency range was updated to^1.7.0.
Charts
SeriesActionsnow support links.- Hide overlays (
Tooltip,Toolbar,Crosshair...) when hovering charts. - Fixed race condition in Annotations, which will make icons disappear in some cases when they changed their reference in memory.
AnnotationsChart
- Fixed collapsing x-axis when tracks have no markers.
DataTable
- Line wrapping should now function correctly with the custom-rendered default cell.
DataTableV2
- Removed unwanted padding in custom-rendered cells with cell actions.
- Now ensures proper sorting with
NaNandnullvalues. - Text ellipsis is now correctly applied to table cells when the content exceeds the cell’s width capacity.
- The loading indicator is now correctly positioned when row actions are configured and no columns defined or resizable columns are enabled.
DateTimePicker
- Now also supports expressions.
FilterField
- No longer inserts unnecessary opening bracket when selecting the
inoperator from the suggestions overlay and brackets are already inserted. - Composition characters, like backtick or tilde can now be entered in the
FilterFieldon Mac. - Suggestions are now applied for keys with double quotes. A space is added after values in double quotes.
- The
onFiltercallback is now updated if the callback changes.
Forms
- Removed internal
_parseTimefunction.
HistogramChart
- Add support for
infiniteZoom. - Improve chart FPS by 175% when hovering, achieving a significantly smoother interaction with big datasets.
HoneycombChart
- Integrated new range legend.
Map
- Integrated new range legend.
SegmentSelector
- Now fails gracefully, when selecting a recently removed segment.
SingleValue
- Integrated Sparkline bar variant.
Sparkline
- Added context value indicators.
TimeframeSelector
- Added support for
@y@q@w@h@m@sinroundDownExpressions.
Timeseries
- Added panning indicators to the bottom axis area.
- Integrating relative value representation for band variant.
- Fixed crash in
Annotationswhen hovering over tracks in Firefox. - Improved chart FPS by 200%, when hovering, achieving a significantly smoother interaction with big datasets.
XYChart
- Added a configurable top x-axis.
- Integrate new design of the range legend.
0.116.73
TimeframeSelector
- Removed wrong presets.
0.116.72
DataTable
-
Removed unwanted padding in custom-rendered cells with cell actions.
-
Only the first 1000 characters of a log-content string will be highlighted to enhance the table's performance.
0.116.71
SegmentSelector
SegmentSelectorwill now fail gracefully when selecting a freshly removed segment.
0.116.70
@dynatrace/strato-componentswas updated to0.85.50.
Forms
- The
getSimplifiedExtendedISOStringFromValuefunction from theformssubpackage is now deprecated.
DataTableV2
- The
pageSizeandpageIndexconfig props are now deprecated in favor ofdefaultPageSizeanddefaultPageIndexto match thePaginationcomponent's behavior in the uncontrolled state.
Charts
- Added support for difference in milliseconds in time frames in
Tooltip. - Fixed undefined error on
Annotationshandlers.
Conversion-Utilities
- Use
Uidfields as timeseries name inconvertQueryResultToTimeseries.
AnnotationsChart
- Fixed scroll overflow on the x axis.
CategoricalBarChart
- Sort tooltip items to keep visual consistency.
DataTable
- Adjusted the
Sparklinecolumn cell to match the height of all other cells in the table by removing its fixed height of 50px.
DataTableV2
- Now if column alignment is specified in the column definition, it should also apply to custom rendered cells.
- Setting the
pageSizeandpageIndexvalues for pagination using an imported config now sets them as the defaultpageSizeandpageIndex. - When the user collapses all subrows and the current page displays no rows, the table will navigate to the first previous non-empty page. Additionally, we have fixed issues ensuring that the subrows line connectors are properly redrawn when sorting is applied.
MeterBarChartnow supports thedata-maxoption for scaling.
DateTimePicker
- Fixed issue where selecting a date before the year 1000 caused a crash.
DQLEditor
- Nested function calls with strings and index access now have correct syntax highlighting.
FilterField
- Now correctly detects escaped escape characters inside strings.
HealthIndicator
- Added
HealthIndicatorcomponent.
HistogramChart
- Sort tooltip items to keep visual consistency.
- Support zoom interactions (
onZoomChange,initialZoom,currentZoom) via props. - Improved the performance of hovering over the chart.
Honeycomb
- Fixes an issue when having the legend at the bottom and no enough space to draw honeycomb circles.
SelectV2
- Removed erroneous error outline of the search input.
Sparkline
- Added support for log scale in the bar variant.
PasswordInput
- No longer shows two reveal buttons on Microsoft Edge.
SuffixandPrefixautomatically add text ellipsis to text-only children.
TextInput
SuffixandPrefixautomatically add text ellipsis to text-only children.
TimeseriesChart
- Improved the performance of hovering over the chart.
- Implement synchronized pin in
SynchronizationProvider. - Zoom and pan gestures are now supported for touch devices.
0.116.60
Common Annotations
- Deprecated the
priorityprop from Track slot.
AnnotationsChart
- Deprecated the
dataprop from Marker slot.
TimeseriesChart Annotations
- Deprecated the
dataprop from Marker slot.
HistogramChart Annotations
- Deprecated the
valueprop from Marker slot.
Accordion
- Now adjusts the width of the section label, so it does not overflow the parent container.
AnnotationsChart
- Support
title,description, andsymbolat root Marker level. - Added
textOverflowandtooltipprops toAnnotationsChartconfiguration.
BaseCodeEditor
- The tooltip
completionInfonow has a minimum width to avoid it positioning in a narrow spot.
Calendar
- Now keeps the original hour when initializing it with a specific time and switching to a date with a different Daylight Savings Time offset.
Charts
- Fixed issue that caused the tooltip to display an unnecessary scrollbar in
TimeseriesChart.
DataTable
- Log-content cells no longer line break when line wrap is disabled.
DataTableV2
- You can now import and export a configuration.
- Selection chip is now aligned with the selection checkboxes.
- Multi-sorting functionality is now available for both controlled and uncontrolled sorting states.
- Column remeasuring, based on font loading, now waits for animations to finish.
- The sub-row trigger now works with custom cell renderer.
- Download option in the toolbar no longer shows the selected download option when row selection is disabled.
- Now displays the full header title without ellipsis in Windows when the column width is set to ‘content’.
- Log-content cells no longer line break when line wrap is disabled.
DateTimePicker
- Now navigates to the correct date in timezones with a large offset (e.g. Japan +9h).
DQLEditor
- Some instances of double quote autocomplete suggestions are no longer filtered out.
FilterField
- Statement key with double quotation marks has the type
Key. - Now correctly inserts the suggestion when selecting a suggestion while the cursor is in the front of the value.
Forms
FormFieldMessagesare now rendered when used outside of theFormFieldMessagescomponent.- Enable error connection of multiple inputs within one error messages context.
HistogramChart Annotations
- Support
startandendat root Marker level.
NotifyButton
- Now handles notifications that were already created or deleted and resets its state.
Page
- The page panels have the same height behavior on all screen sizes.
SegmentSelector
- Added an apply button within the
SegmentSelectorOverlay for a clearer UX.
SelectV2
- Now supports the new validation concept and
FormFieldMessages.
Sparkline
- Added support for the
barvariant.
Tab
- No longer passes
keepMountedto the underlying DOM element.
Tables
- For CSV download, dates are now also serialized when a function accessor is used.
TerminologyOverlay, InformationOverlay
- The trigger now has the right background color in light and dark mode.
TimeseriesChart Annotations
- Support
start,end,titleanddescriptionat root Marker level. - Exposed the
visibleTracksLimitprop.
0.116.53
DataTable
- Fixed line wrapping a log-content column in
DataTable.
0.116.52
@dynatrace/strato-componentswas updated to0.85.41.
General
- CSS fallbacks now have actual values to avoid invalid built styles.
0.116.51
FilterField
- The applied suggestions are not escaped again when there are already quotes in the
FilterField.
Tabs
- Style injection on the tabs has been fixed.
Timeseries
- Reset button is now disabled if the initial and the current domain are equal.
SelectV2
- The overlay no longer breaks overflow in Chrome 129.
0.116.50
@dynatrace/strato-componentswas updated to0.85.40.@dynatrace-sdk/client-filter-segment-managementwas updated to^1.0.0.
DataTableV2
TableActionMenuis now renamed toTableActionsMenu.TableActionMenuis now deprecated in favor ofTableActionsMenu.
Charts
- Added the
widthprop to theHistogramChart. - Added the
widthprop to theTimeseriesChart. - The series unmatching colors are now consistent in all charts.
- Fixed Timeseries issue, where the formatter wasn't applied correctly when only the right axis was configured.
- Fixed the
Timeseriesright magnifier placements so they don’t overlap with the right threshold. - Fixed issue that caused the mouse wheel action to scroll the browser page once the zoom limit was reached on the
Timeseriesand theHistogramcharts.
conversion-utilities
- An initial conversion function for DQL result
RangeFieldTypes[]toDataTableV2ColumnDef[]is now available.
Forms
-
parseTime()supports valid iso 8601 strings without hours, minutes, seconds or milliseconds. -
TimeframeSelectorandTextInputnow provide avalidatefunction on ref.
Accordion
- Fixes the
accordioncontent behavior when working with multipleaccordionson the same page, ensuring that content layers are displayed in the correct order.
Annotations
- Hide marker icon when there's not enough space to show it as content.
- Add
labelWidthprop for marker labels. - Fix disappearing annotation markers symbol on re-render.
Chip
- Displays number
0when used as child.
DataTable
- Minor improvement in custom download for avoiding
[object Object].
DataTableV2
- Now accepts a
rowIdfunction to better identify individual data rows. - Now displays a tooltip on overflowing headers.
formatLogContentis now exposed on the custom cell renderer function.- Actions row no longer receives a header name to align with design.
- Header cells now include their respective column IDs through the
data-column-idattribute. - Header styling is now improved (custom headers, sorting, nested headers, column actions).
- Column widths for
contentwidth columns are now remeasured correctly when toggling visibility.
DQLEditor
DQLEditornow shows suggestions when deleting while cursor is either at the end of the text or before a space character.
EmptyState
- The
Detailsslot now renders a div element if the children provided are not a string, else it renders apelement.
FilterField
FilterFielddoes not crash when starting a key with double quotes.- Validity and error state are now updated when programmatically changing the value.
Histogram
Histogramwith relative values now shows both absolute and relative values in the tooltip.
Honeycomb
- When a minimum value is specified, now it is included instead of excluded.
- Introduced an improvement to not show repeated numbers for the ranges in the legend of the honeycomb.
- Now supports truncation mode to apply an ellipsis to long texts.
- Fixed honeycomb filter util index out of bounds issue.
InformationOverlay
- Styles within
InformationOverlay.Triggerare no longer overridden.
Menu
Menu.SubContentheight is now limited to viewport height.
Modal
- JSX passed as title is no longer automatically wrapped in a heading.
If you have passed JSX to the title, it now will no longer receive heading styles. Use a Heading component to reapply the styles.
SegmentSelector
- Now shows applied private segments if no public segments are available, instead of the
EmptyState. - Now supports trigger customization.
Tabs
onChangeis no longer called twice ifselectedIndexwas changed in the callback.- The first
Tabis now selected by default if neitherselectedIndexnordefaultIndexwas provided. - Clicking disabled Tabs no longer selects them.
TimeseriesChart
- Added
infiniteZoom,currentZoom,initialZoomto timeseries import config. - Relative value representation on line variant will be calculated on the
maxvalue of the series. - Now supports relative value representation on multiple units.
- Introduced chart crosshair synchronization provider.
0.116.43
SelectV2
- SelectV2 overlay no longer breaks overflow in Chrome 129
0.116.42
@dynatrace/strato-componentswas updated to0.85.32.@dynatrace-sdk/client-filter-segment-managementwas updated to1.0.0.
SegmentSelector
- The
SegmentSelectoralso shows applied private segments if no public segments are available instead of theEmptyState.
0.116.41
@dynatrace/strato-componentswas updated to0.85.31.
Tabs
onChangeis no longer called twice ifselectedIndexwas changed in the callback.
0.116.40
@dynatrace/strato-componentswas updated to0.85.30.@dynatrace/strato-iconswas updated to0.39.2.
FilterField
- The
FilterFieldNodeRangetype is now deprecated and will be removed. Please useFilterFieldNodeBase['range']instead. - The
FilterFieldRangeNodeandFilterFieldLikeOperatorNodetypes are now deprecated and will be removed, as they're not supported by theFilterFieldgrammar. - The
isEscapedandoperatorprops of theFilterFieldStringNodeare now deprecated.
Forms
- Deprecated the
_parseTimefunction in favor of direct usage ofparseTimeAsTimeValuefrom the@dynatrace-sdk/unitspackage.
Charts
HeatmapChartwill now attempt to display input data based on the axis types provided.- Default formatter for the
CategoricalBarChartwill now calculate the optimal precision automatically. - Fixes issue on the timeseries that caused a line series to be hidden when a band and line series shared the same data.
Calendar
- No longer shows duplicate dates when DST changes and correctly applies the initial time.
DataTable
- Custom header now receives hover styles when sorting is enabled.
DataTableV2
- Grid template is now remeasured once data is loaded initially.
- Added ability to reset both visibility and column order settings, for both controlled, and uncontrolled modes.
- Table actions, selected rows actions, and toolbar are now rendered only when they are not empty.
- Gantt chart
data-minanddata-maxnow also considers sub-row values. - Column sizing now works with fraction width columns as well.
FilterField
Shift+Enterno longer inserts a new line in theFilterField.
FormField
- Disabled form controls do not show errors and do not prevent form submission.
HistogramChart
- Add relative value data representation.
HoneycombChart
- Improved performance when hovering and showing the tooltip.
- Now allows to configure max and min limits for numerical values.
- Adding all the values to the legend for custom coloring.
Legend
- Show chart legend in descending data order.
SegmentSelector
- Trigger exits loading state properly for compact variant, passes down aria props, and displays segment and variable if only one of each is chosen.
- Increase style specificity to ensure proper styling.
Timeframe
-formatTimeframeToParts now includes an optional parameter to prevent clamping future to dates to Now.
TimeframeSelector
- Fixed console warning displayed in non development mode.
TimeseriesChart
- Fixed issue that applied the formatter to the output values when the
valueRepresentationwas set torelative.
Toast
Toasttext wrapping no longer breaks due to css bundling orders.
UseBreakpoint
useBreakpointhas been moved from@dynatrace/strato-components-preview/coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
0.116.30
Charts
- TimeseriesChart supports infinite zoom feature.
- Removed
valuefrom the exposed data on legend series actions on the Categorical Bar chart. - Heatmap data allows null values.
- RangeLegend handles -Infinity to Infinity ranges correctly.
Filters
- Filter field tree conversion no longer has side-effects influencing e.g. tests running in parallel.
- The converted value of strings now no longer includes escape characters.
Content
- EmptyState.Title now allows to set a heading tag name specifically to ensure proper document outlines.
Forms
- Focus does not jump to the first option after selecting when using a controlled multi select in SelectV2.
Navigation
- Tabs are now correctly controlled via the selectedIndex prop.
DataTable
- DataTable no longer hides the sorting indicator for columns with custom headers.
- Loading state with no visible columns no longer crashes the DataTable.
DataTableV2
- The RowActions API has been opened up to no longer enforce the use of an auto collapsing action group.
- Columns of type
textnow automatically detect links and render them usingExternalLinkcomponents. This can be disabled in the column definitionconfigby setting thedetectLinksoption tofalse. - DataTableV2.Pagination now allows opting out of default pageIndex reset on data change.
- Built in column actions are no longer duplicated when an action is triggered.
0.116.24
SelectV2
- SelectV2 overlay no longer breaks overflow in Chrome 129.
0.116.23
@dynatrace/strato-componentswas updated to0.85.21.
- Documentation update
0.116.22
Calendar
Calendarno longer shows duplicate dates when DST changes and correctly applies the initial time.
SegmentSelector
- Trigger exits loading state properly for compact variant, passes down aria props, and displays segment and variable if only one of each is chosen.
- Increase style specificity to ensure proper styling.
0.116.21
@dynatrace-sdk/unitspeer dependency range was expanded to>= 0.13.2 < 1@dynatrace-sdk/react-hookspeer dependency range was expanded to>= 0.4.3 < 1@dynatrace-sdk/client-filter-segment-managementpeer dependency range was expanded to>= 0.1.0 < 1
0.116.20
- The
storage:filter-segments:readscope must now be added to your app configuration. - The
SegmentSelectorautomatically queries for all variables configured per segment. Therefore, when using the SegmentSelector the readstorage- scopes for all possible dql queries should be included in the app configuration to not limit the configured segments and variables.
@dynatrace/strato-componentswas updated to0.85.20.
AppName
AppNamegot deprecated. TheAppHeadercomponent from the layouts package should be used instead.
Charts
- Fixed issue in the
HistogramChartwhere the series actions were not returning any bin data if the tooltip was of the single variant. - Exposed selected category in the
CategoricalBarChart'sseriesActionsprop. - Added zoom interaction props to
TimeseriesChart.
Tables
- For the
MeterbarChartcolumn type, we compute the total value for each row. The highest total value across all rows is designated as the maximum configuration value for each row. This feature has been implemented in bothDataTableandDataTableV2.
AppLink
AppLink, rendered as a menu item link inside the Menu component, can now properly handle theonClickevent and navigate to the app.
Calendar
Calendar's header reflects the actual month when selecting the first of the month.
CategoricalBarChart
- Fixed issue that applied the formatter to the output values when the
valueRepresentationwas set torelative. - If
valueRepresentationis set torelative, it now reacts to filtering of dimensions/categories and to negative values. - Fixed cropped labels in bottom axis for some cases (unique categories).
DataTableV2
- The subrows feature now allows for a
disableSubRowfunction to be passed to prevent individual subrows from expanding. - Removed the default padding in the header cell, if header has a custom renderer.
- Measurements related to subrows and nested headers are now improved.
- Now Virtualization works in a flex-container without blowing out.
- Interactive row highlighting no longer overlaps sticky headers.
- Gantt chart UX and tooltip have been improved.
- Column ordering via column actions now works correctly with builtin columns.
- Now shows a "No columns visible" message when all user defined columns are hidden. Any built-in columns are hidden now automatically when all user defined columns are hidden.
RowVirtualizernow remeasures wheneverlineWraporrowDensitychanges.
InformationOverlay
TextEllipsisnow works correctly within anInformationOverlay.
IntentButton
IntentButtonhas been moved from@dynatrace/strato-components-preview/buttonsto@dynatrace/strato-components/buttons. TheiconOnlyprop has been removed. To display only the icon, leave the label empty.
SegmentSelector
- Introduces an experimental
SegmentSelectorwith basic functionality.
SingleValue
- Add support for
Sparklinecurve settings inSingleValue.
Skeleton
Skeletonhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/contentand a migration script has been provided.
SkeletonText
SkeletonTexthas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/contentand a migration script has been provided.
Surface
- Surface has been moved from
@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
Timeseries
- When a
Timeserieschart uses a relative value with only one series, now it takes the highest value of the series to calculate the relative value of each datapoint. - Fixed tooltip so that the absolute value displays the correct unit.
- When
TimeseriesAreachart has only one visible series, it shows relative values based on the maximum value.
0.116.14
@dynatrace/strato-componentswas updated to0.85.11.
0.116.13
Calendar
Calendarheader reflects the actual month when selecting the first of the month.Calendarno longer shows duplicate dates when DST changes and correctly applies the initial time.
0.116.12
General
@dynatrace-sdk/client-notificationis no longer a production dependency.
0.116.11
CategoricalBarChart
- Fix cropped labels in bottom axis for some cases (unique categories).
0.116.10
@dynatrace/strato-componentswas updated to0.85.10.@dynatrace/strato-iconswas updated to0.39.1.@dynatrace/strato-design-tokenswas updated to0.20.40.
Charts
- Added
XYChartandHeatmapcharts. - Downloaded CSV data is now sanitized to prevent injection and parses dates to ISO8601 to preserve consistency.
RangeLegendofHoneycombdoesn't reverse its items when re-rendering.
Editors
- Added
requiredas a prop which setsaria-requiredto true in theCodeEditorandDQLEditor. onChangeis now called when content is deleted viactrl+afollowed bydel.valueprop change now correctly updates content regardless of cursor position.onChangeis now called on undo or redo.
AnnotationsChart
- Remove symbol content when range marker is too short and
textOverflowistruncate.
Button
Buttonhas been moved from@dynatrace/strato-components-preview/buttonsto@dynatrace/strato-components/buttonsand a migration script has been provided.
Calendar
- Fixes the today indicator when using a user setting timezone like UTC+/-offset.
DataTable
- Ensure column order considers prefix and suffix columns.
DataTableV2
- Added
DataTableV2. - Introducing columnType
markdownthat can display content formatted in markdown-style. - Added syntax highlighting for log-content.
FilterField
- Now supports undo and redo.
onChangeis now called on undo or redo.- Selection is now set correctly when programmatically changing the value.
- Now shows suggestions when typing
inas an operator, and moves the cursor to the right when applying a suggestion. - Added virtualization and
max-heighttoFilterFieldsuggestions. - Virtual focus is now reset correctly when closing the suggestions overlay.
- Inclusion list now contains whole
FilterFieldleaf nodes in addition to the string values.
Histogram
- Now supports programmatic zooming.
Honeycomb
- A bug preventing the correct color from being displayed for categories with capital letters was resolved.
- The legend now does not crash when applying
ColorRangeswith some range with from=to.
NotifyButton
- Added
NotifyButton.
SelectV2
- Now aria-controls are correctly mapped.
- Overflow ellipsis now applies correctly in multi select mode.
SingleValue
- Fix issue with fractions and percentages in Firefox.
- Remove trend arrow when no value and label exists.
TimeframeSelector
- Fixed an issue where the user-settings' timezone was not considered when entering time in a certain format.
Timeseries
- Fixed issue that caused the axis ticks to not use the correct time zone.
- The
List'stokenValueprop now contains the whole leaf node of each value provided in the list.
Tooltip
- Now uses new animation.
TreeMap
- Apply ellipsis to node labels.
- Now supports the cluster aggregation.
0.116.3
Calendar
- Calendar Header reflects the actual month when selecting the first of the month.
- Calendar no longer shows duplicate dates when DST changes and correctly applies the initial time.
- Fixes the today indicator when using a user setting timezone like UTC+/-offset.
TimeseriesChart
- Fixed issue that caused the axis ticks to not use the correct time zone.
0.116.2
CategoricalBarChart
- Fix cropped labels in bottom axis for some cases (unique categories).
0.116.1
Annotations
- Fixed Annotations breaking when Track has no Markers.
Filters
- Filter field list now includes all types of values again.
0.116.0
General
- Drop react 17 support.
- Drop @testing-library/react 12 support.
- Drop @testing-library/user-event 13 support.
Core
- Removed deprecated TimeFrame type.
Forms-core
- Deprecated internal
_TIMEFRAME_EXPRESSION_COMPATIBILITYregex and_migrateDeprecatedExpressionfunction are removed.
Layouts-core
- Deprecated
ColumnsandColumncomponent are removed.
Button
- Deprecated types
TextAlignOptionsType,ButtonWidthOptionsType,ButtonSizeOptionsType,behaviorTypeOptionsandButtonBehaviorTypeare removed.
Chip
- Deprecated
ColorType,SizeType,VariantTypeandWidthTypeChip props are removed. Deprecatedvisibleandhiddennumbers in theChipGroupContextare removed. UsevisibleKeysandhiddenKeysinstead. Removed deprecatedmaxWidthon the BaseChip in favor ofstyleoverride.
Container
- Removed deprecated
ContainerVariantOptionsandContainerColorOptionstypes.
DateTimePicker
- Removed deprecated imperative handle functions
show/hide. Useopen/closeinstead.
FilterField
- All occurrences of logical operators in the filter field syntax tree are now upper case.
- The string to tree conversion util now also returns the
isValidflag in addition to the tree. The return type of the util changes from just the tree to{ tree: FilterFieldTree, isValid: boolean }. Either destructure the result or access with dot notation.
Hint
- Removed deprecated
hasErrorprop. To add an error to a form control, please use aFormFieldMessage.Iteminside aFormFieldMessagecomponent.
Treemap
- Removed deprecated property
minNodeSize.
@dynatrace/strato-componentswas updated to0.85.0.@dynatrace/strato-iconswas updated to0.39.0.
General
- Added @testing-library/react 15 support.
Charts
- Fixed bottom axis labels that were vertically cropped in some edge cases.
- Category
warnas alias ofwarningwas added tolog-statusandlog-levelcolor palettes.
Annotations
- Fixed marker content to be properly centered when markers are cropped.
- Add x axis label for annotations chart.
- Some minor visual issues were solved in Annotations.
ConversionUtilities
- Improved conversion performance by optimizing the type lookups.
CellRenderers
- Deprecated
CellRendererOptionsandCellRendererTextTruncationOptionswhich are only used in connection with the already-deprecatedcellRenderer.
Editors
onChangeis now correctly called when text is changed to match the value prop.
Formatters
- The
formatTimeframefunction is deprecated as the formatting is different from the newTimeFrameV2type and will be removed.
AnnotationsChart
- Implement config import and export.
BaseInput
- Inputs with
type="search"no longer render browser default clear (x) button.
CodeEditor
- Autocompletion suggestions with a suffix now have the correct dimensions.
DataTable
- Introduced columnType
markdownthat can display content formatted in markdown-style. - Row actions now receive correct
TableRowdata after any table column sort. - Table now correctly applies minimum height to its body when row density is set to condensed.
- Fixes column settings interfering with column order.
- Pagination now works with data that contains circular references.
- When table data is downloaded now all values will be exported as raw data except the date values that will be formatted in ISO 8601 format.
DataTablenow supports syntax highlighting for log-content.
DateTimePicker
- Fixes
DateTimePickerbreaking on multiple lines on overflow.
FilterField
FilterFieldnow supports the propsdisabled,aria-disabledandread-only.SuggestionTipsnow contains a link to theFilterFieldsyntax documentation.- Applying a suggestion with the cursor inside a list now no longer replaces the list's brackets. The applied suggestion is only added to the list.
- The
inandnot insuggestions include more details on the operators. When applying them brackets are added. - Clear statement button type is now set to 'button' to prevent form submission.
- The
FilterFieldnow uses the same grammar for basic and complex mode and only shows errors in the basic mode for unsupported tokens.
Honeycomb
- The hive of the honeycomb is able to fill vertical space.
Markdown
- Rendering content of the
Markdowncomponent can now be customized with thecustomComponentMappingsproperty.
Modal
ModalandSheetnow allow components within their title as well.
SelectV2
- Overlay is closed when selecting an already selected option in single selection mode.
Timeseries
- The
userDatadeprecated prop has been removed fromTimeseriesBand. Extend theTimeseriesBandtype to add custom data. - Fixed timeseries chart breaking when filtering from chart interactions.
TimeseriesChart
- Introduced programmatic enablement for the explore zoom mode (timeseries only).
Toast
- Tooltips now apply the correct zIndex within a
Toast.
0.115.27
SelectV2
- SelectV2 overlay no longer breaks overflow in Chrome 129.
0.115.26
Calendar
- Calendar Header reflects the actual month when selecting the first of the month.
- Calendar no longer shows duplicate dates when DST changes and correctly applies the initial time.
- Fixes the today indicator when using a user setting timezone like UTC+/-offset.
TimeseriesChart
- Fixed issue that caused the axis ticks to not use the correct time zone.
0.115.25
FilterField
- Filter field list now includes all types of values again.
0.115.24
Charts
- Fixed React 17 apps breaking because of a React 18 dependency.
0.115.23
FilterField
- All occurrences of logical operators in the filter field syntax tree are now upper case.
Editors
onChangeis now correctly called when text is changed to match the value prop.
FilterField
- Applying a suggestion with the cursor inside a list now no longer replaces the list's brackets. The applied suggestion is only added to the list.
- The
FilterFieldnow uses the same grammar for basic and complex mode and only shows errors in the basic mode for unsupported tokens.
TimeseriesChart
- Fixed timeseries chart breaking when filtering from chart interactions.
0.115.22
- Documentation correction.
0.115.21
@dynatrace/strato-componentswas updated to0.84.51.
0.115.20
Container
Containerhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
DatePicker
DatePickeris deprecated and will be removed in a future release. Please use theDateTimePickerinstead.
Flex
Flexhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
Grid
Gridhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
ProgressBar, ProgressCircle
ProgressBarandProgressCirclehave been moved from@dynatrace/strato-components-preview/coreto@dynatrace/strato-components/contentand a migration script has been provided.
@dynatrace/strato-componentswas updated to0.84.50.@dynatrace/strato-iconswas updated to0.38.0.
Accordion
Accordionalways animates the opening of a section.
AnnotationsChart
- Exposed new subcomponent to provide custom tooltip template.
- Fixed marker react icons flickering on hover.
Avatar
Avatar.LabelandAvatar.Subtitlecan text break when overflown.
Charts
- Set a fixed z-index to Timeseries and Histogram axis magnifiers to prevent other elements from overlapping them.
- Remove the
Bin:prefix for the tooltip in the Histogram. - Changed default ratio to automatically set the optimal legend size for the initial rendering (based on the content of the legend).
- Improved the alignment for all axis-based chart.
- Fixed markers misplacement when vertical scroll was present in Annotations.
- Change
AnnotationsTooltipposition. - Annotations supports truncation of long text and also expand to fit a long text.
- Value markers in Annotation have a new visualisation and they don't overflow from tracks anymore.
- Fixed max height of the tooltip body.
- Deprecated
resizableprop from Legend API.
ChipGroup
ChipGroupnow correctly displays the show more button initially.
DataTable
- Sorting a column no longer submits a wrapping form.
- If
formattersettings have been configured in the column definition, they can now be applied in a custom cell renderer. - Number comparator now handles
NaNvalues in data correctly. - Download now works with escaped accessors.
- When downloading table data, values starting with
=,+,-,@,\tand\rare now escaped with a single quote to mitigate CSV injection.
Editors
- Cursor position no longer resets to zero when typing.
- Markdown prefix now has the correct color in light mode.
FilterField
- The
FilterFieldnow provides theisValidflag in theonChangecallback. When clearing theFilterFieldwith the clear button,onChangeis now called prior toonFilter. - Provide utility for converting a filter field tree into its string representation.
not-containsoperator is detected correctly.- The filter field syntax tree is now generated correctly for nested groups.
- Supports
inandnot inoperator.
Microguide
Microguideis now clickable whenMenuis open.
Page
- The
Page.DetailViewnow provides akeepMountedprop, preventing it's contents from unmounting when dismissing the detail view.
SelectV2
- Selecting an option within a group without a label works in controlled mode.
SingleValue
- Make label visible for empty
SingleValue.
Sparkline
- Fixed display of isolated data points when
gapPolicyis set togap.
Tables
- Change default page size from
10to100and default page size options from[10, 20, 30, 40, 50]to[10, 20, 50, 100, 250, 500, 1000]for pagination.
Timeframeselector
- The
TimeframeSelector.DisplayValueandTimeframeSelector.CustomTriggernow also accept a render function as child. TimeframeSelectornow shows the right timeframe translations for relative dates.
Timeseries
- Update the tooltip items to appear in the same sequence of the series plotted in the chart.
0.115.17
Charts
- Fixed React 17 apps breaking because of a React 18 dependency.
0.115.16
TimeseriesChart
- Fixed timeseries chart breaking when filtering from chart interactions.
0.115.15
- Documentation correction.
0.115.14
@dynatrace/strato-componentswas updated to0.84.42.
0.115.13
Migrations
- Fixed FileMode error in migrations.
0.115.12
@dynatrace/strato-componentswas updated to0.84.41.
0.115.11
- Documentation correction.
0.115.10
Typography
- Typography is migrated from
@dynatrace/strato-components-preview/typographyto@dynatrace/strato-components/typographyand a migration script has been provided.
Divider
Dividerhas been moved from@dynatrace/strato-components-preview/typographyto@dynatrace/strato-components/layoutsand a migration script has been provided.
@dynatrace/strato-componentswas updated to0.84.40.@dynatrace/strato-design-tokenswas updated to0.20.30.
AnnotationsChart
- Included support for timestamp data (number to date conversion).
Calendar, DateTimeRangePicker, TimeframeSelector
- The
Calendarnow keeps the original time when switching to dates with a different daylight savings time offset.
Charts
- Provided new
AnnotationsActionsPayloadtype for custom actions.
DataTable
- Column ordering via column action now takes into consideration hidden columns.
DatePicker, DateTimePicker, DateTimeRangePicker, TimeframeSelector
- These components now take into account the timezone from the user settings.
DateTimeRangePicker
DateTimeRangePickerno longer crashes when range selection is incomplete and the user clicks outside.
DateTimeRangePicker, TimeframeSelector
DateTimeRangePickerno longer shows a validation error despite the correct date and time format in specific regions andTimeframeSelectorno longer crashes.
FilterField
- Error state is updated when using the clear filter button.
- Keyboard navigation for the
FilterFieldsuggestions supports Home, End, Page Up and Page Down keys. - Suggestions overlay closes when
onFilteris triggered. - Number that precedes a closing bracket is correctly detected as a number.
HoneycombChart
- Exposed shared legend props.
PieChart
- Added early error handler.
SelectV2
- Content width is not jumping when not using the max-content setting on the
SelectV2.Content. - Overlay content is not jumping to a different option when scrolling.
TimeframeSelector
- Timezone information is now shown in the
TimeframeSelectoroverlay. TimeframeSelectornow has responsive support.
TreeMap
- Added cluster background color based on the nodes color.
- Added
valueoption toTreeMapvalueAccessor.
0.115.1
@dynatrace/strato-componentswas updated to0.84.31.
TimeframeSelector
- Timeframe selector now also supports React17.
0.115.0
@dynatrace/strato-componentswas updated to0.84.30.@dynatrace/strato-design-tokenswas updated to0.20.20.
Filters
The filter field tree now groups statements that are connected with the same logical operator.
Example input: a = 1 b = 1 OR c = 2
Converted syntax tree: Before:
[
{
"type": "Statement",
"a = 1"
},
{
"type": "Statement",
"b = 1"
},
{
"type": "LogicalOperator",
"OR"
},
{
"type": "Statement",
"c = 2"
}
]
After:
{
"type": "Group",
"range": {
"from": 0,
"to": 20
},
"logicalOperator": "or",
"explicit": false,
"children": [
{
"type": "Group",
"logicalOperator": "and",
"range": {
"from": 0,
"to": 11
},
"explicit": false,
"children": [
{
"type": "Statement",
"a = 1"
},
{
"type": "Statement",
"b = 1"
}
]
},
{
"type": "LogicalOperator",
"OR"
},
{
"type": "Statement",
"c = 2"
}
]
}
Forms
- All form components use
FormControlPropsand extends controlled and uncontrolled props. Most controlled and uncontrolled form props are deprecated, and theFormControlPropsshould be used instead.Checkbox,Radio,SwitchandTextAreause theFormControlRef.
AnnotationChart
- Prevent from setting negative height in
AnnotationCharts.
CategoricalBarChart
- Fixed incorrect bottom threshold in the categorical bar chart.
Charts
- Added more space between tooltip items in Annotations.
- Added an improvement to avoid labels getting cropped in the range legend.
- Fixed issue that happened in some browsers where axis labels overlapped with the axis ticks.
- Support empty content in Annotations markers.
CodeEditor
- CodeEditor no longer crashes when the folding number provided exceeds the text character length.
DataTable
- Download now preserves new line and carriage return characters and escapes entries containing them.
- DataTable now supports column type of log content.
- Fixes unexpected behavior in auto-width columns by correcting how DataTable sets the last column.
DateTimePicker
- DateTimePicker is now taking the whole width of its container.
FilterField
- Add string to filter field tree conversion utility function.
onFilteris also triggered when deleting the entire filter using the clear button.
General
- Added 'data-dtrum-mask' and 'data-dtrum-allow' to all components root node, defining the masking of data in session replay.
HoneycombChart
- An issue breaking the honeycomb when setting an invalid colorScheme was solved.
MeterBarChart
- Fixed chart border overlapping container border
MultiMeterBarChart
- Added a default auto option to the max property in order to calculate the max value based on the segments values.
Page
Page.Mainno longer flickers if animations are disabled.
SelectV2
onBlurevent only triggers when focus moves outside of the select.
Switch
- The Switch is no longer able to be focused while disabled, this behavior can be achieved with aria-disabled, but the interactivity needs to be disabled.
TimeseriesChart
- Fixed multiple geometries not working in some specific cases.
0.114.14
SelectV2
SelectV2overlay no longer breaks overflow in Chrome 129.
0.114.13
0.114.12
@dynatrace/strato-componentswas updated to0.84.21.
0.114.11
- Documentation correction.
0.114.10
@dynatrace/strato-componentswas updated to0.84.20.
AnnotationsChart
- Added support for numerical data.
AnnotationsChartnow supports a configurable height
Button
- The
SharedInputPropsContextis not consumed by theButtonanymore. Workarounds that were needed so that the Button does not consume the id coming from the FormField can now be removed.
DataTable
- Download now also replaces carriage returns with spaces.
- The table's accessibility is now improved.
DataTable.Cellnow also acceptsAriaLabelingProps.
DatePicker
- No longer trap focus within the overlay.
DateTimePicker
- No longer trap focus within the overlay.
- Now updates the
aria-invalidproperty correctly.
DateTimeRangePicker
- No longer trap focus within the overlay.
DQLEditor
- Fix missing suggestions in some cases (by statement).
FilterField
- Duration value works with one space character at the end of the statement.
- Support basic and complex syntax in the filter field.
Forms
- The
SharedInputPropsContextis not consumed by form control components anymore. Workarounds that were needed so that the Button does not consume the id coming from the FormField can now be removed.
HistogramChart
- Added series color override to the Histogram chart.
- Fixed magnifiers background color when range zooming.
- Fixed alignment between the vertical line and the crosshair when range zooming.
- Fixed the proper selected bin from the
HistogramChartfromseriesActionsprop.
HoneycombChart
- Added string support for height prop in
HoneycombChart. - A bug disallowing honeycomb legend to show custom categorical color palettes was solved.
SelectV2
SelectV2.Filterdoes not consume the required coming from the FormField.- Now updates the
aria-invalidproperty correctly.
TimeframeSelector
- TimeframeSelector display value now shows milliseconds when precision is set accordingly.
- No longer trap focus within the overlay.
TimeseriesChart
- Fixed magnifiers background color when range zooming.
- Fixed alignment between the vertical line and the crosshair when range zooming.
- Exposed selected data point in the
TimeseriesChartseriesActionsprop.
Tooltip
data-testId,className, andstyleis now applied to the Tooltip element instead of the hidden wrapper.
TreeMap
- Added a
valueAccessorprop.
0.114.3
:::
@dynatrace/strato-componentswas updated to0.84.12.
HoneycombChart
- A bug disallowing honeycomb legend to show custom categorical color palettes was solved.
0.114.2
DateTimeRangePicker
- DateTimeRangePicker no longer crashes when opening it.
0.114.1
- Documentation correction.
0.114.0
General
- A new peerDependency to
@dynatrace/strato-componentsis now added. You might have to install it manually.
Filters
- The auto suggestions array of the
FilterFieldno longer uses theSuggestionPropstype, but a separate type.
The AppRoot component and some connected components, hooks, and types have been moved to the @dynatrace/strato-components package. All symbols are still exported from the @dynatrace/strato-components-preview/core entrypoint. dt-app migration is provided to adjust the import paths.
@dynatrace/strato-componentswas updated to0.84.11.@dynatrace/strato-design-tokenswas updated to version0.20.10.@dynatrace/strato-iconswas updated to version0.37.0.
Accordion
- Accordion no longer animates during initial render.
AnnotationsChart
- Introduced time-based X axis in
AnnotationsChart.
Charts
- All charts now support setting
styleorclassNameto apply on their root element. - Series actions now support sub menus.
DataTable
DataTable.Paginationnow forwards all exposed aria roles properly.- Now date type column can be customized by using the
formatterproperty within the column definition and passingFormatDateOptionsto it. - DataTable can now sort columns with a mix of number and BigInt values.
- The
DataTable.FontStyleandDataTable.LineWrapcolumn actions can now also be used with column groups. DataTable.Paginationnow supportsstyleandclassNameprops.- The loading indicator now remains centered in the table, regardless of scrolling.
- Resolved issues with printing in Chrome when table columns are resized wider than the table width.
DatePicker
- The
DatePickercalendar header icons now have the correct width.
FilterField
- The
FilterFieldsupports different insertion strategies for applying suggestions. - Escaped textValues are set correctly for contains and ends-with operator.
- The
FilterFieldignores trailing spaces of suggestions if already present in the input.
HoneycombChart
- Fixed a Webkit browsers related bug whilst rendering the hexagons of the honeycombs.
Overlays
- Keydown events are captured within overlays.
SelectV2
- Custom
DisplayValueworks with theTextEllipsiscomponent and is automatically truncated if it is a string.
Sheet
- The
Sheetcomponent now stays open when interacting with an overlay on top of them.
TimeframeSelector
- The
TimeframeSelectornow uses theDateTimeRangePickerinside the overlay. - The
TimeframeSelectorcalendar header icons now have the correct width. - The
TimeframeSelectortrigger now supports form validation.
TreemapChart
-
Added support for labels on the clusters.
-
Updated dependencies
@dynatrace/strato-design-tokens@0.20.10@dynatrace/strato-components@0.84.11@dynatrace/strato-icons@0.37.0
0.113.11
- Internal corrections release.
0.113.10
Button
- Deprecated
TextAlignOptionsType,ButtonWidthOptionsType,ButtonSizeOptionsType,behaviorTypeOptions,ButtonBehaviorTypein favor of inline types.
TreeMap
- Deprecated
minNodeSizeprop.
@dynatrace/strato-design-tokenswas updated to version0.20.9.@dynatrace/strato-iconswas updated to version0.36.2.
Button
- Deprecated
TextAlignOptionsType,ButtonWidthOptionsType,ButtonSizeOptionsType,behaviorTypeOptions,ButtonBehaviorTypein favor of inline types.
Charts
- Added max width property to the tooltip info content container.
- Add support for tooltip templates in Annotations.
- Annotations's markers get their truncation threshold fixed. Also, padding is fixed for markers with values (not ranges).
DataTable
- If
ratioWidthis enabled, the resize handle is no longer displayed. - In the column visibility configuration it's now possible to specify columns as 'always visible'. Use the value 'always-visible'. Furthermore, it's no longer necessary to specify all columnVisibility entries because 'visible' will be used as the default.
- The table actions slot container should now take full table width when the toolbar is not displayed.
- Column visibility settings in the toolbar should now work correctly for uncontrolled props.
- It is now possible to pass custom page size options to the
DataTable.Paginationand the passed page size is not sanitized anymore.
List
- For list markers (bullet points, numbers), color, font family and font size are now inherited. Font weight remains as not being inherited.
Microguide
- The Microguide now provides the additional
onStepChangecallback, that allows you to react to users navigating between steps.
SelectV2
- Overlay styles no longer conflict with
Surfacestyles. - Improves focus handling for the
SelectV2component when used with aSelectV2.Filter.
TreeMap
- Added node labels display to treemap.
- Deprecate
minNodeSizeprops from TreeMap.
0.113.2
Charts
- Fixes disappearing chart legends when series items are more than 50.
SelectV2
SelectV2does not crash when pressing tab and not using it inside aFormFieldcomponent.
0.113.1
TimeframeSelector
- Improved TimeframeSelector types to enable easy usage. This allows a simple string value for from and to without the need of parsing the time.
0.113.0
Charts
- Removes deprecated
userDataprop fromTimeseriestype. Extend theTimeseriestype to add custom data. - Removes
toolbar,collapsedanddefaultModeprops fromChartInteractionsConfigandChartInteractionsProps. - The
PieChartandDonutChartmain types do not extend anymore fromSVGSVGElement
Core
- Removes deprecated
stopPropagationproperty fromBaseEvent. UsecontinuePropagationproperty instead.
Filters
- Remove deprecated
defaultPinnedStatefromFilterBarItem. Define the pinned state on theFilterBarinstead.
Formatters
- Removes deprecated
bytesconverter and formatter. Use@dynatrace-sdk/unitsinstead. - Removes deprecated
dateformatter. Use@dynatrace-sdk/unitsinstead. - Removes deprecated
durationformatter. Use@dynatrace-sdk/unitsinstead. - Removes deprecated
custom unitformatter. Use@dynatrace-sdk/unitsinstead. - Removes deprecated
percentformatter. Use@dynatrace-sdk/unitsinstead. - Removes deprecated
bitconverter and formatter. Use@dynatrace-sdk/unitsinstead. - Removes deprecated
numberformatter. Use@dynatrace-sdk/unitsinstead. - Removes deprecated
rateformatter. Use@dynatrace-sdk/unitsinstead.
Forms
- Removes deprecated
InputRefinterface. UseFormControlRefinstead. - Removes deprecated
Selectcomponent. UseSelectV2component instead. - Removes deprecated
resizableproperty on theTextareacomponent. Use theresizeproperty instead. - Removes deprecated
labelproperty on theFormFieldcomponent. Render theLabelcomponent within theFormFieldinstead. - Removes deprecated
ariaLabelToggleandplaceholderproperties from theTimeframeSelectorcomponent. Please use theCustomTriggeror theTriggercomponent to provide anaria-labelor aplaceholder. - The
DateTimePickeris now capable of returning anullvalue when all input fields are cleared. - The
valueandonChangeof theTimeFrameSelectorcomponent are now using theTimeframeV2type. - The
TimeframeSelectornow supports uncontrolled and controlled values. The new DQL syntax is used, which means weeks, months, and years are no longer supported. The_migrateDeprecatedExpressionutility is therefore included for compatibility reasons (to support the old expression formats), but will be deprecated.
Layouts core
- Removes deprecated style types
FlexContainerCSS,FlexContainerProps,FlexItemCSS,FlexItemProps,FlexStyles,GridContainerCSS,GridContainerProps,GridItemCSS,GridItemProps,GridStyles.
Notifications
- Remove deprecated
useToastNotificationhook. Use the staticshowToastfunction instead.
Overlays
- Removes deprecated
onCloseproperty fromuseOverlayWithTrigger. Use theonOpenChangeproperty instead.
Typography
- The default rendered element of the
Textcomponent is nowspan. Migration is provided.
Charts
userDataprop inTimeseriesBandinterface is now deprecated. ExtendTimeseriesBandinstead to add custom data.
Content
CodeSnippetLanguagestype is now deprecated in favor of inlineCodeSnippetProps['languages'].maxWidthon theChipcomponent is now deprecated in favor of allowing the maxWidth to be set withstyle.ColorType,SizeType,VariantTypeandWidthTypeare now deprecated in favor ofChipOwnProps.
Accordion
- An
interactiveprop is now available to control the accordions trigger behavior. - A
colorproperty is now available on theAccordionandAccordion.Sectionto control the color of theAccordion.Sections.
Charts
- Series actions can now be disabled.
- Fixes an issue on the
TimeseriesChart, where some tooltip values were inconsistent with the data that was visually represented. - Fixes an issue that caused the magnifier to change position after unpinning the tooltip.
- Fixes annotations scrollbar overflowing the legend hide/show icon on
TimeseriesChartandHistogramChart. - Fixes an issue with the
Tooltipposition, when exiting the chart from the bottom magnifier. - Fixes an issue of the chart tooltip not utilizing the custom formatter when the value representation is set to relative.
Chip
- MaxWidth on the chip now applies to the correct element.
DataTable
- Loading spinner is now also opaque for tables that are not contained.
- When sortBy is updated from ascending to unset,
onSortChangenow accurately reflects it.
Editors
- Editor styles are now updated correctly once the
sizechanged.
FilterField
- Correctly detect exists operators before logical operators.
- Adds an
onFiltercallback to theFilterFieldand triggers form submission on enter if it is the only input inside a form. - Syntax tree statement node includes key, operator, and value props instead of children array.
- Fixes the suggestion type provided in the suggestions callback.
SelectV2
SelectV2.Contentwidth now allows setting ofmax-content.
TextInput
- Fixes an issue with the aria props used for input browser validation when controlState is used.
TimeframeSelector
TimeframeSelectorno longer submits the surrounding form when clicking the Apply button.
0.112.22
Chip
- Chips no longer call onClick twice.
0.112.21
Charts
- Fixes issue that prevented the tooltip from being pinned in the Categorical bar chart.
- Solved chart/legend overlap issue when sending custom style to the charts.
Chip
- Styling no longer breaks for
Chipcomponent.
DataTable
- Fixes issue with sorting on notebooks/dashboards.
0.112.20
Charts
- timeseries, categorical, honeycomb, histogram, pie, donut, meter bar and multi meter bar chart no longer apply a default padding to their container. If you want to get the padding back, please apply it via the
styleorclassNameprop on the root of the chart.
DataTable
- Padding is no longer applied to custom header render functions by default. If you want to apply the padding, wrap your custom rendered element in the
DataTable.Cellcomponent.
Typography
- The
Textcomponent now inherits all styles (font size, font weight, line height, etc.) if notextStyleorfontStyleprop is set. To mitigate unexpected visual changes and keep the default text styles, you can manually settextStyletobaseor run the provided migration.
Columnscomponent from layouts-core has been deprecated. Instead please use aGridorFlexcomponent.
@dynatrace/strato-design-tokenswas updated to version^0.20.8.
Accordion
- New
sizeprop is now available on the Accordion withdefaultandcondensedoptions. - New
showDividersprop is now available.
Charts
- New
"status"color palette is now supported in all charts that support color palettes. - Fixed issue in Categorical, Histogram and Timeseries charts that generated a minimum bar shape for values that were 0.
- Updated styling of bars variant in Timeseries, Histogram and Categorical charts to be consistent.
- Fixed Annotations markers which did not displayed text in Histogram.
- Added overflow to magnifiers for the timeseries, categorical and histogram charts.
- Remove surrounding padding and optimize spacing in timeseries, categorical, honeycomb, histogram, pie, donut, meter bar and multi meter bar.
- Tooltip item virtualization is now fixed.
Checkbox
- Checkbox label design is now aligned with the
Labelcomponent and takes the containers width.
Core
useContainerhook no longer crashes whenborderBoxSizeis undefined.
DataTable
- An
onDownloadDatacallback now is provided when data has been downloaded. It includes information about which subset was downloaded. - Numbers passed to formatted columns can now also be passed as a string.
- Default padding for a custom header was removed. If the default padding for a custom header cell should be applied, please wrap it in the
DataTable.Cellcomponent. - Next and Previous buttons for the Pagination are now always shown for server-side pagination.
- Fixes sorting issue when accessor is different than id.
- Fixes CSV export for columns with string accessors.
- Currently displayed, sorted data is now exposed via
getCurrentPageDataon the DataTable ref.
EmptyState
- A new generic
EmptyStatecomponent is now available intended for empty and error states.
FilterField
- A new
FilterFieldcomponent is now available. - Now enforces a space before / after a comparison operator.
- The
FilterField.LoadingSuggestionswas removed in favor of a wrappingFilterField.Suggestionscomponent. This compound accepts theloadingprop which shows the loading indicator formerly exposed byFilterField.LoadingSuggestions.
Forms
- The
TextArea,DatePicker,TimeframeSelector,Checkbox,Switch,NumberInput, andSelectV2correctly apply the disabled or required state when wrapped in aFormField. HintandFormFieldMessages.Itemcomponents no longer break existing styling.
HistogramChart
- Bin calculation is now supported in the Histogram tooltip header.
HoneycombChart
- Shapes in the Honeycomb chart now have rounded corners.
- Color palette now has lighter color at the bottom when legend is aside in the Honeycomb chart.
MeterbarChart
- Removed the whole header from the shared tooltip.
Sheet
- The
Sheetcomponent correctly closes on outside clicks.
SkeletonText
- SkeletonText no longer adds margins if only a single line is rendered.
SparklineChart
- Support smooth and linear curve shapes in
Sparklinecomponent.
TimeseriesChart
- Fixed tooltip disappearing when clicking twice in the same annotations marker.
Typography
- Style inheritance is now improved. Only block-level components like
ParagraphorHeadingexplicitly define font family, font size, etc., while inline components likeStrongorLinkonly set the minimum styles necessary and inherit the rest. In addition to the font family, the default font size is now also set on the body.
0.112.11
DataTable
- Fixes sorting issue when accessor is different than id.
0.112.10
Forms
HintandFormFieldMessages.Itemcomponents do not break existing styling.
0.112.9
@dynatrace/strato-design-tokenswas updated to version^0.20.7.
0.112.8
Forms
- FormControls no longer interfere with the focus after invalid input.
0.112.7
Checkbox
- Faulty css style has been fixed in the checkbox.
0.112.6
- The
ariaLabelToggleand theplaceholderprop will be removed from theTimeframeSelector. Please use theCustomTriggeror theTriggercomponent, which has anaria-labeland aplaceholderprop. useTextTruncationhook and theTextcomponent'smaxLinesprop are now deprecated.
@dynatrace/strato-iconswas updated to version^0.36.1.
Charts
- Exposes
classNameandstyleprops of TimeseriesChart, HistogramChart and CategoricalBarChart. - Fixed Annotations not being shown when used inside an animated component.
- Fixed text ellipsis middle truncation inconsistencies.
- Added in Histogram and Timeseries charts toolbar, the key shortcuts label to the toolbar button tooltip.
Core
getTextStyleis now deprecated andtextStyleCSSis provided as a vanilla-extract alternative.@printstylesheet now properly forces light theme.
Conversion utilities
- Deprecated the
cellRendererfunction.
DataTable
- Fixed last column behavior altered by add/delete column operations on DataTable.
- Fixed issue where occasionally the end of the column autowidth measuring cycle didn't get triggered.
- DataTable no longer sorts incorrectly if provided with non-existing columns.
- Added
columnVirtualizationprop that allows for virtualizing columns.
DQLEditor
- Missing
sizeprop has now been added.
FilterField
- Adds form support for FilterField.
- Groups in FilterField are detected and structured correctly.
Honeycomb
- Solved issue related to the tooltip visibility when clicking out of the chart.
- Vertical numerical legend in honeycombs now has the lower value at the bottom.
- Range legend visualize now the items in desc order.
- Now honeycomb has a responsive gap between nodes.
- Honeycomb now is able to parse values to color categories, no matter the casing of the value.
- Honeycomb tooltip fixes the color of the node when its pinned.
Menu
- Font weight of menu items and spacing of the
Menu.SubTriggerhave been adjusted.
PieChart
- Supports units in labels for absolute values.
SelectV2
- The clearable SelectV2 now only focuses the Clear Selection button instead of two elements when clicking on the filter and tabbing.
Sparkline
- Removed
'auto'option from the Sparkline y baseline configuration. - Fixed Sparkline being cropped on top in some cases.
Tabs
- Right-clicking a
Tabcomponent no longer selects them.
TimeFrameSelector
- Add support for customizing the TimeframeSelector trigger and add precision to the TimeframeSelector.
0.112.5
Dependencies
- Removed no longer needed peerDependencies from the list.
0.112.4
SelectV2
- Full-width SelectV2 trigger does not outgrow the container.
0.112.3
General
As a general effort to expose more control on className, style and data-testid on all components, the following components now allow setting any of these three to their internal root element: Content, CodeSnippet, Divider, ExpandableText, KeyboardShortcutTooltip, DataTable, DataTableCell, DataTableToolbar, SimpleTable, BaseCodeEditor, FormattedTimeFrame, AppCard, AppLink, Tabs, Tab, TabPanel, Sheet, Trigger, Blockquote, Code, Divider, Emphasis, ExternalLink, Heading, Link, Paragraph, Section, Strikethrough, Strong, Text, TextEllipses, Toast, Tooltip, TooltipElement, Title, Visual, and Description.
- The
labelprop on theFormFieldis now deprecated. - The
InputReftype is now deprecated and is replaced with theFormControlReftype. - The
Sectioncomponent, theDocumentOutlineContextand theDocumentOutlineProviderare now deprecated.
Accordion
Accordion.Sectionnow supports akeepMountedprop to preserve the components content even when hidden.- Controlled state on the accordion now works correctly.
Button
Buttonnow aligns the suffix correctly when the width is set to a percentage.
CodeSnippet
- Now DQL codesnippet with triple-quotes should be highlighted correctly.
DataTable
- Row threshold background color is now correctly applied, also without zebra row separation.
- Column or Cell action menus are no longer bound by the DataTable boundaries.
- Improved row height for space efficiency with condensed row density.
- Fails to sort columns containing numeric values if any value within the column is either empty or includes non-numeric characters, such as commas.
- DataTable no longer throws an error when server side pagination is used in conjunction with selectable rows.
DQLEditor
- When value of the editor is updated programmatically, highlighting should happen only in updated editor.
FormField
- The FormField supports using a Label inside the FormField. FormMessages have been added to provide errors and hints that are automatically connected to the form control.
HoneycombChart
- Improved quality and performance for honeycomb chart.
Page
Page.Sidebarnow supports akeepMountedprop to preserve the components content even when hidden.
SelectV2
SelectV2.Triggernow aligns the suffix correctly when the width is set to a percentage.- Empty state is shown when
showSelectedOptionsFirstis enabled. refon the component now exposes afocusfunction to set focus the trigger.
Tabs
Tabnow supports akeepMountedprop to preserve the components content even when hidden.
TextInput
- The
TextInputnow supports browser validation out of the box and displays those errors in theFormFieldMessagesslot.
TimeframeSelector
- Add support for custom preset items using the
TimeframeSelector.PresetsandTimeframeSelector.PresetItemcompound components.
TimeseriesChart
- Added
curveprop to provide option of setting the type of curve shape applied to line, band and area series. - Timeseries with multiple units and specific Y-axes could filter the data shown in the chart.
- Adapted the formatter precision by default.
TreeMapChart
- Added support for the legend slot.
0.112.2
TimeframeSelector
- Fixes an issue with the TimeframeSelector's DatePicker inputs moving the cursor at the end on changes.
0.112.1
SingleValue
- Faulty alignment in the SingleValue is now fixed.
0.112.0
TimeframeSelector
- The type of the forwarded ref changed to
TimeRangePickerRefto include/give access to thefromandtoinput refs. So if you explicitly use the old type for the ref -FormControlWithOverlayRef- you would need to manually rename it toTimeRangePickerRef.
@dynatrace/strato-iconswas updated to version^0.36.0.
Accordion
- Accordion content now correctly applies sizing without overflow.
General
- Scrollbar styling issue in Chrome 121+ are now fixed.
Charts
- Units now are correctly serialized for CSV download.
- Extended available color palettes with sequential and diverging palettes.
DataTable
- The sub rows column is now updated once sub rows are added/removed in the data.
- Improved custom cell value handling for download as CSV.
- Newlines characters are now replaced with spaces in downloaded CSV.
ColumnSettingsbuttons now show tooltips when hovered over.- Selected rows now reset if the data provided changes.
- Pagination no longer breaks if there is no data present.
data-testidattribute is now exposed on the DataTable.
DQLEditor
- Default font color now aligns with designs.
- The autocomplete label now uses the full width and the command type is no longer shown.
- Autocomplete list now shows a visual difference between touch/mouse and keyboard focus and hover.
FilterBar
- Now updates the states correctly and doesn't trigger an error on initial use.
HistogramChart
- Highlighted series no longer get lost after filtering the legend.
- Adjusted the formatters default precisions.
- Absolute min and max values now display correctly in the Axes.
Tabs
- Adding Tabs dynamically no longer deselects selected tabs.
TextEllipsis
- Now recalculates it's state when new fonts are loaded.
TimeframeSelector
TimeframeSelectornow features a new design and support for form integration.
TimeseriesChart
- Highlighted series no longer get lost after filtering the legend.
- Fixed misalignment in
TimeseriesChartannotations tracks when axislabels were present.
SelectV2
- Now emits an
onOpenChangeevent when the dropdown of the Select opens or closes.
0.111.7
SingleValue
- Faulty alignment in the SingleValue is now fixed.
0.111.6
@dynatrace/strato-iconswas updated to version^0.35.11.
General
As a general effort to expose more control on className, style and data-testid on all components, the following components now allow setting any of these three to their internal root element: DonutChart, PieChart, MeterBarChart, MultiMeterBarChart.
CodeEditor
- Improved visual representation of
read-onlymode. - The new
sizeprop now allows for a condensed visual representation.
CodeSnippet
- The new
sizeprop now allows for a condensed visual representation.
DataTable
- Sorting a column in quick succession no longer endlessly toggles the column sort.
- Toggling the
select allcheckbox no longer affects the sorting of the table - The
autoWidthsetting for columns now reacts correctly to changing font faces.
DQLEditor
- Improved visual representation of
read-onlymode.
HistogramChart
- Panning is now possible in Explore mode via the middle mouse button.
- Enables the pan feature for the axis in Explore mode when zoom is applied.
- Navigation within the toolbar with arrow keys now works correctly.
KeyboardShortcut
- Remaining props of the component are now passed to the underlying root element.
SelectV2
- Activating already selected options in a single select mode no longer triggers an onChange.
- The dropdown now closes correctly when selecting an option and a custom trigger is defined.
SingleValueChart
- Emojis, single characters and glyphs are now supported in the SingleValue icon.
SparklineChart
- GapPolicy is now supported.
Tabs
- Setting a custom data-testid no longer influences selection behavior of the tabs.
TimeseriesChart
- Panning is now possible in Explore mode via the middle mouse button.
- Enables the pan feature for the axis in Explore mode when zoom is applied.
- Navigation within the toolbar with arrow keys now works correctly.
Toast
- The Toast now allows a custom id to be set in order to avoid duplicate notifications popping up.
TreeMapChart
- Now allows importing and exporting of configs.
0.111.5
General
- Updated d3-color dependency due to a vulnerable version.
0.111.4
Charts
ChartInteractionsConfig.defaultMode-This property will be removed, as theinspectandzoom-xmodes no longer exist. The default mode will be changed toexplore.userDataprop is now deprecated on theTimeseriesChart.
General
As a general effort to expose more control on className, style and data-testid on all components, the following components now allow setting any of these three to their internal root element: Accordion, Avatar, AvatarGroup, Breadcrumbs, Button, Checkbox, Chip, ChipGroup, Column, Columns, DatePicker, DateTimePicker, FieldSet, FormField, Hint, IntentButton, Label, Menu.Group, Menu.Item, NumberInput, PasswordInput, ProgressBar, ProgressCircle, Radio, RunQueryButton, Select, SelectV2, Skeleton, SkeletonText, Surface, Switch, TextArea, TextInput, TimeframeSelector, ToggleButtonGroup.
DataTable
The new UI for controlling column visibility and column order in the DataTable might have an impact on your UI test if you have been interacting or testing with the column visibility or column order controls.
@dynatrace-sdk/unitswas updated to version^0.11.1.
CategoricalBarChart
- Inspecting a series action no longer throws an error.
Charts
- Annotation markers are now cropped and respect the overflow controls.
- Zooming can now be performed via the mouse wheel scroll or keyboard shortcut, when the toolbar is collapsed.
DataTable
- Introduced a new UI for controlling column visibility and column order. The previous functionality of column visibility has been reorganized and is now integrated into the same column settings modal instead of appearing as an overlay.
- An issue with initial rendering flickers is now fixed.
- Column menu actions performance is improved.
- The
DataTable.Cellnow allowsstyleandclassNameto be set. - Columns are now correctly updated if selectableRows changes.
autoWidthcolumns are now updated once width is unset.- Passed columnOrder props are now validated. Violating values, where nested columns would no longer be in the same group, are ignored.
- Row actions column content now respects the
rowDensity: "condensed"mode. - By using the new prop
maxAutoWidthyou can now set a limit onautoWidthper column while still having the ability to resize beyond this limit.
HistogramChart
- ChartInteractions can now be set through a configuration.
- Toolbar can now be enabled through an imported configuration.
- Keyboard shortcuts for zoom actions will now trigger only while the chart has focus.
HoneycombChart
- The tooltip now shows consistently when hovering entries.
- Unnamed tiles in now receive a default name.
Markdown
- Table and list styles are now aligned.
TimeseriesChart
- Timeseries now highlights correctly if the data was misaligned from the Timeseries type.
- Toolbar can now be enabled through an imported configuration.
- Explore mode is now supported.
- Deprecated
userDataprop in favor of extendingTimeseriestype to allow for custom props. - Keyboard shortcuts for zoom actions will now trigger only while the chart has focus.
SparklineChart
- The sparkline now allows a Y axis min/max configuration.
0.111.3
Core
- The
getThresholdColorfunction has been deprecated.
FilterBar
defaultPinnedStateprop on theFilterBar.Itemhas been deprecated. Use thedefaultPinnedStateprop on theFilterBarcomponent instead.
TextArea
- The
resizableprop has been deprecated. It is replaced by aresizeprop, that now let's you define the resize axis individually. To mitigate the deprecation you can changeresizable={false}toresize="none".
Charts
- The tooltip for the legend item is not shown anymore if the item cannot be hidden.
- Annotations can consider now a height value in order to adapt properly to a container for certain use cases and prevent overflowing.
- Fixed infinite resize issue when using the range legend with horizontal layout and chart resizer.
DataTable
- Table height now updates if individual row heights change.
- Cell actions (if defined) will no longer be applied to cells in the action column.
- The width of columns that have
autowidthconfigured, is now reacting to density changes on the table. - Visually improved the Subrows connector, which now spans the entire height of the row.
- Improved the TableRowActions.Item typing.
- Alternating row background colors are now correctly applied during scroll.
- Scroll performance has been improved for large datasets.
- Positioning of the column and cell action overlay now behaves correctly on wide columns.
- Column widths are now correctly updated after resizing and changing the column definition.
- Fixed sub row connectors when used without pagination.
- Improved the performance of threshold calculations.
- TableRowActions with long names no longer cause overflow in the table.
Editors
data-testidprop is now exposed for you to control in theCodeEditorandDQLEditor.
FilterBar
- The
defaultPinnedStateprop of the FilterBar.Item no longer has any effect and is deprecated.
HistogramChart
- Zoom explore mode now has keyboard support.
- Thresholds can now be used in Histogram charts.
HoneycombChart
- Integrated the chart toolbar and added DownloadData as CSV.
- Categorical legends can now be used in the
HoneycombChart. - Set default width to 100% on
HoneycombChart. - Support for range legends and tile coloring.
- Enabled
HoneycombChartto import and export configurations
Microguide
- The visual slot now correctly styles
pictureandfiguretags.
Overlays
- Improved initial rendering and positioning to avoid flashing of the overlays in the wrong position.
SelectV2
- Adjusted the dropdowns minimum height and width for smaller screens.
- Selectv2 does not remove selected options when typing in the filter and pressing backspace.
- In single select mode, the onChange now returns
nullwhen cleared instead ofundefined. - The dropdown now correctly increments the z-index stacking for tooltips within options.
TextArea
- TextArea now has a
resizeprop that can be used to disable resizing or restrict resizing to one direction only. By default, it resizes in both directions but can be set to can be set tohorizontal,vertical,both, ornone. Note that theresizableprop is now deprecated in favor of theresizeprop.
TimeseriesChart
- Fixed an issue where metadata would throw an error when there was a gap in data for a Timeseries.
- Fixed incorrect output of Timeseries chart onZoomChange prop when using right panning.
Dependencies
@dynatrace/strato-iconshas been updated to0.35.9
0.111.2
TimeseriesChart
- Fixed TimeseriesChart issue that crashes the page in some cases after initial loading or resizing it.
0.111.1
Global, AppRoot
- The
AppRootupdated its usage of the new version of the DynatraceFlow font face.
Accordion
- The
Accordion.Contentnow takes up the whole width of the accordion.
Button
- Items within the button now properly align vertically relative to the height of the
Button.
CategoricalBarChart
- Custom data is passed through to categorical bar chart legend.
Charts
- Fixed
security-risk-levelcolor palette not applying themutedcategory/series name on charts. Fixedcategoricalcolor palette not using the whole amount of colors on theTimeseriesand theHistogramcharts when having more than 12 series.
DataTable
- The action column header can now be overridden.
- Row and cell thresholds now have the ability to provide a backgroundColor for the cell or row.
- An issue with cut off italic text in cells has been fixed.
- SDK formatters configured via column definition will now be applied also on sub columns.
- Sorting on the action column is now disabled by default.
- Page index is now exposed on the
DataTable.Paginationin a controlled and uncontrolled manner.
DonutChart
- Data of the
DonutChartcan now be programmatically downloaded by callingdownloadCSVon the charts ref.
HistogramChart
- The horizontal crosshair now behaves correctly after pinning the tooltip.
- ZoomIn, ZoomOut and Pan features are now available on the
HistogramChart.
HoneycombChart
- SeriesAction support is now available for the
HoneycombChart.
MeterBarChart
MeterBarChartandMultiMeterBarChartnow correctly show an empty chart for 0 values.
PieChart
- Data of the
PieChartcan now be programmatically downloaded by callingdownloadCSVon the charts ref.
SelectV2
SelectV2visible focus now behaves correctly when displaying an error state.onFocusandonBlurevents are now exposed on theSelectV2element.SelectV2now connects internal ids correctly when used in aFormField.- Aria labeling props are now supported on the
SelectV2.
SparklineChart
nullandundefinedvalues are no longer treated as max values.
Sheet
Sheetnow renders actions to the right consistently, even if no title is set.
Switch
- Screen reader now correctly announces the
Switchchecked state.
Tabs
- Disabled tabs are no longer activatable.
TextArea
TextAreanow has the correct focus styles in error state.
0.111.0
CategoricalBarChart, TimeseriesChart
- The
reffor the CategoricalBarChart and the TimeseriesChart now use an imperativeHandle. If you want to access the native element, you will have to access theref.current.element.
Flex, Grid
- Unused types for Grid and Flex are now deprecated. These include:
FlexContainerCSS,FlexContainerProps,FlexItemCSS,FlexItemProps,FlexStyles,GridContainerCSS,GridContainerProps,GridItemCSS,GridItemProps,GridStyles.
TextInput, PasswordInput, DatePicker
- Default values for the
data-testidare now deprecated and will fall back to undefined.
Accordion
- The trigger buttons of the
Accordionnow have an accessible text for screen-readers.
Charts
- Chart color palette value
'warn'now correctly maps on'log-status'and'log-level'color palettes. - All charts now show the legend when there is enough space at the bottom.
- Added proper space between Range Legend and resize line in bottom position.
- Annotation's track, marker and pills feature a new design.
CategoricalBarChart
- Added the capability of downloading data programmatically. The
CategoricalBarChartnow exposes adownloadDatafunction on theref. - Fixed tooltip scrollbar flakiness from
CategoricalBarChart.
CodeSnippet
- Copying the values of the
CodeSnippetwithCtrl+Cnow works correctly in Firefox.
DataTable
- The last nested column header now also uses the remaining space if rowActions are defined.
- Conversion utility
cellRenderernow allows options to control text truncation. - Nested headers are now correctly aligned when using
ratioWidthand the table becomes scrollable.
DatePicker
-
DatePickernow supports adata-testidthat defaults to the "date-picker" id and aria labelling props.Note: The data-testid of the DatePicker, TextInput, and PasswordInput container will default to undefined in the next breaking change. Also, the data-testid of the internal TextInput will be removed.
FieldSet
FieldSetcomponents now correctly take up the available space inside theOverlayand no longer overflow in Firefox.
HistogramChart
- Fixed tooltip scrollbar flakiness from
HistogramChart. - Annotations in the
HistogramChartnow accept priority props. - The
HistogramCharttoolbar now shows a reset zoom button when zoom interactions are enabled.
MeterBarChart, MultiMeterBarChart
- Fixed issue with unneeded scrollbar in MeterBar and MultiMeterBar charts.
Page
Page.MainandPage.Detailpanel no longer show the default outline when focussed.
SelectV2
- Dropdown overlay now adjusts its size correctly on small screens.
- The trigger of the
SelectV2is now focused when an associated label is clicked.
Sheet
- Removed the margin that was added when there was no
TitleorActionsin theSheetcomponent.
SparklineChart
SparklineChartx-axis is now consistent with theTimeseriesChart.
Switch
- Disabled styling of the
Switchis now consistent across checked and unchecked states.
TextInput
TextInput.PrefixandTextInput.Suffixnow also support string values.TextInputnow supports adata-testidprop that defaults to the "text-input-root" id.
TimeseriesChart
- Added the capability of downloading data programmatically. The
TimeseriesChartnow exposes adownloadDatafunction on theref. - Fixed annotations marker not being shown when it start/ends outside the chart domain boundaries of the Timeseries.
0.110.4
Patch Changes
- Fixed TimeseriesChart issue that crashes the page in some cases after initial loading or resizing it.
0.110.3
Patch Changes
GridItemandFlexItemare no longer applied to the DOM.
0.110.2
Patch Changes
- DataTable - fixed line wrap for custom cells.
0.110.1
Patch Changes
- Consuming applications that use vanilla extract for styling no longer get a build error due to faulty style imports.
0.110.0
Minor Changes
-
BREAKING CHANGE: UseContainerSize hook now returns border box size and content box size.
You may have to switch from using
width/heighttocontentWidth/contentHeightto get the desired result. -
The
Container,GridandFlexnow exposestyleandclassNameprops and have aligned styling forgapsizing.BREAKING CHANGE:
gridGap,gridRowGapandgridColumnGaphave been removed from the API as their usage was deprecated. BREAKING CHANGE:rowGapandcolumnGaptypings are now aligned with thegapproperty and only accepts the number basedSpacingSizesinstead of a token value.
Patch Changes
- DataTable - When using UserActions for sorting in combination with enableDefaultSort, now the unsetting of sorting works.
- Toast -
showToastnow returns the corresponding toast id and addeddismissToastanddismissAllToastsfunctions that allow for programmatically dismissing one or all toasts. - Position scrollbar in the sheet on firefox next to the content.
- Fixed spacing in DataTable when using rowThresholds together with expandable/selectable/sub rows.
- DataTable, Menu and Tabs - added documentation for compound components and changed some types to interfaces to improve proptables.
- SingleValue: Enabled possibility to extend styles and class names of the SingleValue outer container.
- Chip component now has a maxWidth prop to configure its maximum width.
- TextArea now has the same background color on focus.
- SelectV2 with filtering enabled now allows typing spaces inside the filter input.
- SelectV2 sortSelectedItemsFirst setting now correctly responds to cache misses.
- SimpleTable now accepts a
variantprop, to configure the visual look. - DQLEditor - Fix syntax highlighting for nested commands' keywords following a parameter.
- SelectV2 dropdown no longer overextends the viewport when used in modals.
- Integrated annotation tracks and markers in Histogram Chart.
- Integrated empty, error, and loading states in the HoneycombChart component.
- Fixed y-axis order not defined by slots in the Timeseries chart.
- DataTable - the last column now always uses up the remaining space if the table uses the full width.
- Fix button label overflow behavior when using prefix and/or suffix icons.
- ToastContainer - onChange is cleaned up correctly now.
- Export additional chart visualization utility types and methods.
- DataTable - prevent the table crashing if sortBy is configured on custom unsortable columns.
- Filterbar's onChange is only called once for controlled filter items.
- Adapting honeycomb chart to integrate tooltip
- InputButton now correctly defaults the size prop.
- DataTable - we now provide the ability to define row actions.
- Fixed bars not being stacked on the categorical bar chart when having only one category.
- Adjusted keyboard focus handling in the Toast to work the same as in the Microguide and FeatureHighlight.
- Fixed legend ticks behavior on dataset changing.
- Fixed some edge cases in which SingleValueGrid font sizes didn't update properly.
- Fixed setState warning log in TimeseriesChart
- Added support for overlay stacking to the Drawer.
- Fix missing userdata in timeseries converter.
- Added logarithmic support for histogram y axis.
- CodeEditor - Border has been fixed for the editor in the presence of a scrollbar.
- The Heading component now supports adding an ID.
- Fix useless autocomplete reopen in DQLEditor in some cases.
0.109.3
Patch Changes
- DataTable - fixed line wrap for custom cells.
0.109.2
Patch Changes
- CodeSnippet - Snippets with language 'dql' no longer crash if the character | is present in a string surrounded by double quotes.
0.109.1
Patch Changes
- CodeEditor - we now provide a gutter configuration to display the gutter next to foldGutter.
0.109.0
Minor Changes
-
FilterBar's pinned state is now controllable.
BREAKING-CHANGES: The defaultPinnedState prop of the FilterBar.Item is removed from the item and can now be set as a configuration object on the FilterBar itself. The record keys are the item's name and the value of the item's pinned state. Migrations are provided and should create the configuration according to the already set defaultPinnedState values. In case those attributes are spread, the migration must be done manually.
Patch Changes
- Dismissible overlays are no longer closed incorrectly when used in conjunction with a menu.
- A basic version of Honeycomb is now available.
- Implement up-to-date consistent tooltip in the Timeseries Annotations integration.
- CodeSnippet - Single line comments now don't highlight the next uncommented line if 'dql' is set as a language.
- HistogramChart: Added tooltip for annotations.
- Add showSelectedOptionsFirst to the SelectV2 to configure whether the options should be reordered to show the selected options at the top.
- Added ChipGroup component and documentation.
- Fixed value axis min/max values not being applied in the categorical bar chart.
- Improves table rendering performance by ~10% by improving the variant handling.
- Enabling the disableFiltering no longer hides the filter in the SelectV2 component.
- Fixed time series chart's y-axis not automatically adjusting its scale when a minimum and/or maximum value was set on the x-axis.
- DataTable - Text overflow ellipsis is now also applied when using a custom cell renderer and wrapping the content with
DataTable.Cell. - Added support for the toolbar component into the Geo Map component.
- DataTable - The next and previous buttons in paginated tables now output the correct pageIndex after using the page select.
- The Range legend is now hiding the labels when there are collisions.
- Added support for Log Scale in Histogram Chart for X Axis
- Fixed meter bar that shows 50% when min and max are equal.
- DataTable - Loading overlay is now displayed correctly in the presence of a scrollbar in the table.
- Fixed log-status color palette being mapped to log-level color palette.
- DataTable - when different column definitions are set, we ensure the widths update properly.
- Fixed the categorical bar chart hidden legend property.
- DataTable: fixed misalignment of column widths in autowidth column.
- Updated dependencies
@dynatrace/strato-design-tokens@0.20.0
0.108.5
Patch Changes
- Updated Readme
0.108.4
Patch Changes
- DataTable - when different column definitions are set, we ensure the widths update properly.
0.108.3
Patch Changes
- Tabs - OnChange is now not called on initial render if selectedIndex is set.
0.108.2
Patch Changes
- Replaced React 18 usage of useId for uuidv4 instead, as it's supported in React 17.
0.108.1
Patch Changes
- Reverted export of safeRender as this utility should be kept internal.
0.108.0
Minor Changes
-
Single and multi meter bar chart: Removed 'unit' prop as functionality is replaced by the 'formatter' prop.
-
BREAKING-CHANGE: The
SelectV2.Filtercomponent onFilterChange prop is now called onChange. -
SelectV2 now supports the FormControlWithOverlayRef and is used in the FilterBar's "add filter" dropdown.
BREAKING-CHANGES:
- SelectV2 ref changed from a HTMLDivElement to a FormControlWithOverlayRef. Migrations are provided.
- Tests that open the "add filter" dropdown might need some adjustments, if they're relying on the select test helpers.
-
Testing subpackage now requires jest@29 to run.
-
Unit SDK version bump and fixed unit and value misalignment in SingleValue.
Patch Changes
- Single meter bar: threshold indicators positions are now calculated correctly when the min value is not 0.
- DataTable - Column reordering is now possible via column actions.
- DataTable now supports sub rows.
- Added custom color per each slice in the pie/donut chart.
- Fixes the SelectV2 height overflowing when the multiple version is used and added the overlayHeightStrategyHandling modifier to keep it consistent with the previous Select.
- Fixed missing nice value for x-axis scale in Histogram Chart.
- Fixed cropped off markers and scrollbar on TimeseriesChart Annotations.
- Fixed the categorical bar chart relative values.
- Single meter bar and multi meter bar: Updated styling so that the margin is applied to surrounding components instead of the chart segment.
- SelectV2 enables clearable selection by default in multiple selection mode.
- Allow React nodes inside the display value slot of the SelectV2.
PasswordInputtooltip text can now be customized by adding the newPasswordInput.Tooltipcompound component.- DataTable: Fixed issue for a certain case where resizing didn't work after column visibility was toggled.
- DefaultValue is now optional in the SelectV2.
- SelectV2 now clears the filter text on close.
- Removed unused Histogram interfaces from API
- DataTable: fixed cell density when column header has custom renderer.
- Integrated annotation tracks and markers in Histogram Chart.
- Container now correctly accepts
0as value for paddings and margins. - DataTable - Fixed column misalignment when autoWidth is set to false.
- The SelectV2 now closes the overlay when clearing the selection in single mode.
- The Select component is now deprecated in favor of the new SelectV2.
- DateTimePicker precision type is now correctly not exposed on date only pickers.
- DataTable - improved comment on data regarding what is allowed.
- Cursor is now not-allowed on disabled SelectV2 options.
- Fix Chip component styling when using very long keys.
- Add missing props to the PasswordInput API: id, required, onKeyUp, and onKeyDown.
- DataTable - performance improvement related to cell actions.
- SingleValue Area Sparkline fades into transparent in dark mode.
Tabs- we have reworked internals and improved the performance when switching tabs.- Fixes keyboard navigation in the selectV2, when using shift tab.
- Annotations: Fixed issues with marker being highlighted when having same time and different tracks.
- Updated dependencies
@dynatrace/strato-design-tokens@0.19.0@dynatrace/strato-icons@0.35.0
0.107.0
Minor Changes
- Selectable rows in the DataTable can now be used in a controlled way. BREAKING-CHANGE: onRowSelectionChange now provides three parameters: The selected row ids, their original row data and a flag indicating whether the change was triggered by the user or internally. Migrations are provided.
Patch Changes
- Implemented the Accordion component
- FeatureHighlight is now correctly inserted before the Toast and/or Microguide, if they exist.
- Interactive chip and chip delete button callbacks are called independently when disabled. Chip styles updated to have correct height in flex containers.
- TextEllipsis works inside the TitleBar.Title element.
- Added private slots for Histogram Annotations
- Upgrade sdk/units package to 0.9.0. Minimum fraction digits are now set for DQL numbers.
- DataTable: When resized, column widths properly fulfill min and max constraints.
- Improved caching of useBreakpoint hook.
- Timestamp formatter is consistent on when to omit seconds count.
- DataTable: onColumnResize is now also called when the 1st column is resized.
- Single meter and multi meter bar chart - Fix default labels not displaying correct values when the chart scale is negative.
- FeatureHighlight no longer warns about conditionally rendered children.
- Page panel now shrinks as much as possible when being added and there's not enough space available.
Editor- Autocomplete popup no longer clips through editor after underlying library (codemirror) update.- SelectV2 supports text truncation and customization of the overlay width.
- Fixed the Logarithmic scale for Timeseries Bar Chart.
- Fixed TimeseriesChart right axis config being lost when filtering by a series belonging to that axis.
- DataTable: Removed console warnings for variants without rowSeparation, rowDensity
- The SelectV2 component moved to the preview package.
- Fixed TimeseriesChart right-axis threshold not showed correctly when filtering.
- DataTable: We now debounce the onColumnResize callback with 300ms.
- TextInput now accepts a
typeproperty that maps to the native input types. - Highlight: Now highlighted text will behave like normal text, long words will not break, even if they overflow the container.
- useFocusRing updates focus when element changes its disabled state dynamically.
- DataTable now features built-in support for visualizing column data as Meterbar charts.
- Fix broken syntax highlighting in DqlEditor on nested property access.
- In the Calendar view of the DatePicker, the days outside of the current month are now also clickable.
- DataTable - Introduced
enableDefaultSortprop to support choosing between custom and default sorting when using the onSortChange callback. - The calendar in the date picker now fully respects the configured user timezone.
- "page-size" selector for an empty DataTable with pagination is enabled and working properly
- Updated dependencies
@dynatrace/strato-design-tokens@0.18.3
0.106.2
Patch Changes
- DataTable: We fixed an infinite re-render issue which occurred immediately when the DataTable mounted.
0.106.1
Patch Changes
- Package export map now lists require before the esm packages to ensure jest@29 compatibility.
0.106.0
Minor Changes
-
Changed
SingleValuelabel default color. -
Added
Histogramchart. -
Made
Annotationsdescription prop optional. -
DataTable: Column resizing is now possible also when one or more columns have autoWidth defined.
-
Added tooltip and legend configuration for single and multi meter bar charts.
-
Meter bar and multi meter bar charts can now automatically generate the value label.
-
DataTable - We now provide a "selected rows actions" feature that allows you to perform actions on one or multiple rows in the DataTable simultaneously.
-
Added 'vulnerability-status' color palette to charts.
-
The
Tabscomponent now passes the remaining props and also allows for controlling the overflow behavior of the tab panel. -
Align the DataTable's pagination UI with the latest design.
-
BREAKING CHANGE: The DataTable's default cell styling is not applied by default anymore for custom cells. Migrations are provided to re-apply it for existing occurrences.
-
Improved slots layout display for meter and multi meter bar.
-
BREAKING-CHANGE: Size definition prop value changed for single and multi meter bar components as follow:
- size100 replaced by size8;
- size200 replaced by size16;
- size300 replaced by size24;
-
Fixed icon not showing in Annotations custom actions.
Patch Changes
-
DataTable - Now when a custom rendered header contains an interactive element it can properly emit a trigger event.
-
Multiple tooltips reset the timers correctly and close or open accordingly when moving from one trigger to the next.
-
Custom icons in the annotations now scale as expected in all supported browsers.
-
Fixed the
CategoricalBarChartlegend, should hide when there is no legend to display. -
Form controls with overlays (select, timeframeselector, datepicker) now use an imperativeHandle instead of a element ref. The handle supports access to the wrapping element and the trigger as well to an open and close functionality.
BREAKING-CHANGE: The ref structure changed but migrations are provided and should cover most of the use-cases. In case the migrations didn't work properly, the outer element of the component can now be accessed with
ref.current?.elementand the trigger withref.current?.triggerRef?. -
SingleValueicon and unit is not cropped on Windows anymore. -
CodeSnippetwith DQL selected now correctly escapes quotes within strings. -
Pageno longer crashes when dismissing a panel that has no calculated size yet. -
DataTable - padding is no longer missing if a formatter is used in a column definition.
-
CodeSnippetwith DQL selected now doesn't highlight numbers attached to functions or identifiers. -
Links within accent chips now have better contrast when focused with the keyboard.
-
Updated dependencies
@dynatrace/strato-design-tokens@0.18.0
0.105.0
Minor Changes
-
BREAKING-CHANGE:
KeyboardShortcutTooltippositionprop is renamed toplacement, which is automatically migrated.BREAKING-CHANGE:
Tooltippositionprop is renamed toplacement, thefallbackPositionsprop is renamed tofallbackPlacements, and theTooltipPositiontype is renamed toTooltipPlacements, which are automatically migrated.BREAKING-CHANGE:
Microguidepositionprop is renamed toplacement, which is automatically migrated.BREAKING-CHANGE:
FeatureHighlightpositionprop is renamed to placement andFeatureHighlightPositiontype is renamed toFeatureHighlightPlacement, which are automatically migrated.BREAKING-CHANGE:
InformationOverlaypositionprop is renamed toplacement, which is automatically migrated. -
Added
formatterto the meter bar chart. -
Added
formatterto the multi meter bar chart. -
Added
startprop to an orderedList. -
Aligned
ExpandableTextcomponents design with guidelines. -
Added tooltip to multi meter bar chart.
-
BREAKING-CHANGE: Removes
AppHeaderDeprecated. TheAppHeadercomponent from the layouts package should be used instead. -
Fixed automatically color mapping on time series chart for log-status, log-level, apdex & vulnerability-risk-level.
-
Added legend to multi meter bar chart.
-
Added new
Chipcomponent for showing a complex piece of information in a compact form. -
FilterBarnow focuses an item when it's selected from the additional filters menu and FilterBar.Items can now be removed only from the menu (the delete button next to each item is removed). Also, aFilterBar.ResetButtonis now available, which provides a handler for resetting the filter values. -
Aligned
TerminologyOverlayandInformationOverlaydesigns. -
DataTable- We have provided a space or sub-componentDataTable.TableActionsfor consumers to create and place custom actions for the whole table. Table actions will be just an open slot, and consumers can add any children to this slot. -
Support config provider and export configuration in the MultiMeterBarChart component
-
Added support for react icons to Annotations component.
Patch Changes
-
DQLEditorautocomplete now opens correctly whenDQLEditoris inside a Drawer. -
The button now exposes
disabledandaria-disabledprops to allow for natively disabling a button.Breaking changes
- The
disabledprop now adds the nativedisabledattribute to the underlyingbuttonelement. aria-disabledbehaves according to the MDN documentation -> only semantically disables the button; events need to be handled by the app dev.
Migration Guide
We don't automatically migrate the
disabledprop toaria-disabled, since we don't know which events would need to be cancelled. If you want to keep the button focusable for accessibility reasons, change thedisabledprop toaria-disabledand handle events accordingly to avoid triggering an action. - The
-
Improved legend items rendering when the legend contains long text items.
-
Start of week in the
Calendarnow correctly respects user timeframe settings. -
Fixed the CategoricalBarChart horizontal layout bar displays, should display transparent bar border.
-
Typography
Listnow generates keys for items more intelligently. -
Improved spacing in meter bar and multi meter bar when there are no optional slots.
-
Aria-label has been added to the generated checkbox item in the Markdown component.
-
Fixes
onChangetriggered twice onToggleButtonGroup. -
Updated to the latest
@dynatrace-sdk/unitsversion. Some formatter helper functions now remove trailing zeros when formatting the value, which affects the styling e.g. in charts. -
The
FilterBaraccepts ashowLabelsprop to define whether a label is displayed. The configuration can be overwritten with theshowLabelprop on the item. -
The output of the migrations script now print the path to the file when the migration fails.
-
Fixed an issue with overlay closing when mousedown inside overlay.
-
Updated dependencies [46d42680f6]
@dynatrace/strato-icons@0.34.0
0.104.0
Minor Changes
- Added support for custom configuration for meter bar chart.
- Added basic tooltip to single meter bar chart.
- Improved canvas area, band and bar shape plot performance with a high amount of series and data points.
- Improved
SingleValueGridgap calculation for grids with an even number ofSingleValueinstances. - BREAKING CHANGE: Removed FormatterOptions support for the
SingleValueformatter prop. - BREAKING CHANGE: Removed
React.Nodesupport for theSingleValuelabel property.
Patch Changes
react-intlpeerDependency range is now extended to^6.0.8.- Improved stacked area and bar data processing performance.
- Fixed TimeseriesChart config override from variant children of gap policy, points to display and value representation.
DataTable- The pageIndex in the pagination is now reset to 0 when the data length is changed.- When using server-side pagination in the
DataTable, the pageIndex is now not erroneously reset to zero once the length of the data changes. - DQLEditor's autocomplete no longer closes on trying to scroll inside the autocomplete tooltip using the scrollbar.
- Fix overlay positioning when trigger repositions or animations are not yet done.
- Fixed timeseries stacking positive or negative zero values considering previous value sign.
TextInput,NumberInput, andPasswordInputnow allow the maxLength prop.- DQL formatter accepts configuration object directly.
0.103.1
Patch Changes
- Fix: Bump @dynatrace-sdk/user-preferences peer dependency.
0.103.0
Minor Changes
- Added customizable size to meter bar.
- Added empty and error state to
SingleValuecomponent. - Create Simple Multi segment Meter Bar.
- Enabled Timeseries, Pie, Donut & CategoricalBar charts to show a loading distractor.
- Added thresholds support for single meter bar component.
- Restore truncation of legend items after they receive focus.
Patch Changes
- Dismissible overlays now remain open when selecting a menu item.
- Fixed react warning messages related to tooltip and axis.
- Fixed
SingleValueGridnot sharing the label font size properly, when not all theSingleValueinstances had label. - Removed react-aria dependency in
Sheetcomponent. Tabno longer require a unique title under theTabscomponent.- Fixed
SingleValueGridnot accepting a mix of strings, numbers and objects in the data prop. DataTableoverlays are now scrollable if they would overflow the screen.- Fixed
SingleValueGridnot showing SingleValue instances in deployed apps. - Fixed series action inspect dimension now shows value in Categorical Bar Chart.
convertToColumnsnow correctly handles 'duration' record types to allow for numeric sorting rather than alphanumeric.- Fixed
SingleValuetext being cropped on some characters. Tabsnow directly focus on the first interactive element in aTabPanelif there is one.- Updated dependencies [7ab1abd321]
- Updated dependencies [44f40107fa]
@dynatrace/strato-design-tokens@0.17.1@dynatrace/strato-icons@0.33.0
0.102.0
Minor Changes
SingleValue: Label color is no longer customizable.- Added a meter bar chart for data visualization.
Page: Add prop for disabling page animations.- BREAKING CHANGE: Renamed
AvatardisplayLabelprop toabbreviation. If you update using dt-app a migration will be applied automatically. - Added FeatureHighlight component.
- Introduced new
SingleValueGridcomponent, which contains several instances ofSingleValueinside and provides a consistent layout for all of them. - Apply interactive styles on interactive surfaces (a and button) only.
- Light mode appearance is now enforced when printing pages.
Patch Changes
-
Enables the Select All option to take its full width when the Select is initially opened.
-
Add
onFocus,onBlur, and aria labelling props to thePasswordInput. -
Tooltips are now correctly shown in a Chart's Legend/Toolbar.
-
The icon in the
ExternalLinkcomponent now has the correct accessibility set up. -
Improved timeseries chart overall performance.
breaking-change: Removed
isGapandabsoluteValuefromTimeseriesDatapoint. -
Scrolling of DataTable header and body is now in sync also when navigating via keyboard.
-
Fix
NumberInputwidth when used insideFlexcontainer. -
The offset between
DatePickeroverlay and its trigger is no longer bigger when setting a valid/invalid state with a hint. -
DataTable: You can now trigger a CSV download programmatically using the new downloadData() function. -
Microguideis now correctly inserted before theToastContainer, if it exists. -
Expandable row now takes the full width of
DataTable, even if it is horizontally scrollable. -
Updated dependencies [428e98b5f3]
@dynatrace/strato-design-tokens@0.17.0
0.101.2
Patch Changes
- Fix NumberInput width when used inside Flex container.
0.101.0
Minor Changes
-
BREAKING-CHANGE:
TextInputnow uses compound components forPrefixandSuffixand the forwarded ref now uses an imperative handle (of type InputRef) to allow access to the wrapper element and the input element. A migration is provided for using the prefix and suffix icons and renaming the inputRef prop to the new ref prop. The migration also changes simple usages of the old ref type, but for more complex scenarios it might still be necessary to migrate manually.How to migrate: If you already used a type for the TextInput inputRef and the migration didn't change it, you need to replace it with and import InputRef from the
@dynatrace/strato-components-preview/formspackage. If you need to access the input element and the migration didn't already cover your use case, you can access it like this: ref.current?.inputRef, where ref is the forwarded ref. If you need to access the wrapper element, you can do it like this: ref.current?.element. -
Added empty and error state to
Sparklinecomponent. -
Fixed
Charterror message with colon when there is no error message to show. -
The
ChartLegendis now cleaning its selection when the chart re-renders. -
Added value type for labels in Pie and Donut.
-
Aria-label for the column header can now be set explicitly in the DataTable's column definition.
-
Conversion utilities: Add optional parameter to convertToColumns for providing column options e.g. ratioWidth: 1
-
DQLEditorautocomplete improvements:- Only open autocomplete in
DQLEditorwhen starting a new command or parameter followed by a space - Move information of tooltip to the top of the
DQLEditorautocompletion dropdown - Restyle information panel and enable syntax highlighting
- Add middle ellipsis for long labels
- Only open autocomplete in
-
Fixed automatically color mapping on time series chart for log-status, log-level, apdex & vulnerability-risk-level.
-
Set color palette mode to single-color by default on the CategoricalBarChart.
Patch Changes
-
DataTable- fixed allowing column contents to be 100% of the width. -
react-is is now a peerDependency in order to allow a smooth transition over to react@18
-
DataTablecell with cell actions no longer bleeding into the next cell. -
Fixed aria-labelling props used for the Select.
Note: The native, hidden select is now also hidden from screen readers to fix the duplication of the aria-labelling props from the trigger button. If your tests rely on the native, hidden select or its options, you can now only access them by adding the option
{ hidden: true }to your selectors. -
Adjusted internal padding styles of the Button component.
-
Adjusted Sparkline area gradient color and fixed first segment of the line being lighter than the others.
-
A bug in the
DataTable, that didn't resize the table when the height property changed, has been fixed. -
Editors now correctly apply formatting for highlighting new added values.
-
Rollback the old Timeseries loading display.
-
Fix syntax highlighting for escaped backslash in
DQLEditor. -
Buttonnow renders icons correctly within its content section.Buttoncontent now defaults to inline-flex. -
The
Tooltipnow also calls theonOpenChangecallback on unmount and clears the opening warmup timeout. -
Refactored annotations data processing logic and fixed grouping by time error.
-
Updated dependencies
@dynatrace/strato-design-tokens@0.16.0
0.100.1
Patch Changes
- react-is is now a peerDependency in order to allow a smooth transition over to react@18
- @testing-library/user-event peerDependency range has been extended to allow for newer major versions as well.
0.100.0
Minor Changes
-
Fixed toolbar rendering even if no config was present.
-
Deprecated
Tablehas been removed from the library. Alternatively use either theDataTableorSimpleTable. -
Introduced Trend component integrated with the
SingleValue. RedesignedSingleValueinternal layout to give more space to Sparkline. -
Introduced alignment functionality as a prop to the
SingleValuecomponent. -
Experimental support for react 18 has been added.
This is the first draft containing compatibility for react 18. Please do not upgrade to react 18 in your applications when working on production applications as there are still some issues to be resolved.
-
The
Avatarcomponent can now be polymorphed. -
The page content can now be scrolled while the tooltip's series action menu and the legend menu are open.
-
TimeseriesChartdata points are now displayed at the middle of a timeframe. -
react-intlis now listed as a peerDependency, effectively lifting the hard version lock. You are now able to use your own version ofreact-intl. Migrations to addreact-intlin the previously used version are provided. -
Added Empty and Error state feature into the CategoricalBarChart.
-
Added empty and error state to pie and donut.
Patch Changes
- The fixed collapsed toolbar menu now correctly triggers the overlays x-Axis zoom and pan functionalities.
DataTable: Now the pagination defaultPageSize can be properly exported in the configuration.- BREAKING CHANGE: Removed unused prop
onSeriesClickfromCategoricalBarChartandTimeseriesChart. - Fixed the Timeseries toolbar A11y. Ensured that the keydown shortcuts were working correctly. Triggered X Axis zoom and Panning actions with the enter key. In Panning mode, allowed cancellation with the escape key.
- Fixed SelectIndicator rendering issue when using useListboxOptionsWithIcon when passing too long texts. Fixed SelectSection title causing issues when passing too long texts.
DataTable: If empty user actions are defined cell no longer disappears.- Fixes an issue when clicking an element inside the roving focus container and navigating away with Shift+Tab, then with Tab.
DataTabledefaultSelectedRows now work correctly without pagination.- Editors now consider min-height and max-height of wrapping flex container when using fullHeight.
- DQL query results displayed in a
DataTableinstance are now correctly serialized, when downloaded as csv. Arrays and Records are not currently supported. - CodeEditor's autocomplete overlay now stacks correctly above a Surface component.
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
@dynatrace/strato-design-tokens@0.15.0@dynatrace/strato-icons@0.32.0
0.99.3
Patch Changes
- Fix charts not taking the full available width.
0.99.2
Patch Changes
- DataTable selectable rows now work correctly when used with pagination.
0.99.1
Patch Changes
- Editors now consider min-height and max-height of wrapping flex container when using fullHeight.
0.99.0
Minor Changes
-
Added Empty and Error state feature into the
TimeseriesChart. -
DataTabledefault minimum column width is now 30 instead of 100. -
The surface now adds interactive styles autonomously when using it as an interactive element.
BREAKING CHANGES: Removal of the interactive prop from the surface. It automatically styles all interactive surfaces, meaning all surfaces have a tabIndex or an underlying
aorbuttonHTML tag. There are migrations to remove the interactive prop and for interactive elements it shouldn't change anything. All those elements that do not rely on an interactive HTML syntax would need some manual adjustment to align the focus behavior. -
Changed the
SingleValueinternal layout. Now the value, label, unit and sparkline are better positioned and distributed, and only have the vertical layout. -
Adds an
Innerelement to theDonutChart. This allows you to customize the middle section within theDonutChart. -
Removed the visible focus outline in clearable multiselects.
-
In the
DataTablecomponent a callback eventonColumnResizeis exposed that will be triggered when the user resizes a table column. -
Remove value dimension from name of timeseries converter result if it is identical for all timeseries.
-
Charts color palettes apdex, log-status, log-level and vulnerability-risk-level now automatically map the colors to the values.
-
BREAKING CHANGE:
DonutChart: Added new parameters to the Inner Component function. -
Height calculation in
Page PanelandPage Draweris now aligned. -
Adds support for anchors as part of the
ActionGroup. -
Adds support for custom series actions for
PieChartandDonutChart.
Patch Changes
- Fixed misplaced Timeseries and Categorical magnifiers and grid lines when the chart was center aligned.
- In the
DataTable, when the column actions are enabled, the column group header should not contain an empty actions menu when actions are unavailable. Buttonwith fixed width and prefix and/or suffix elements no longer overflow.useRovingFocushook now consistently sets focus when navigating away from a container with shift+tab. It now also correctly navigates to the new item when changing the initialIndex dynamically and tabbing inside the container.- Fixed bars being misplaced in the
CategoricalBarChartwhen having single dimensions and grouped mode. - Bump
@visxversion to ^3.0.0. DataTable: Reselection works now when only reselecting 1 item less and onSelectionChange is called with correct values when selecting multiple rows.- In the
DataTablethe correct row will be selected when any rows are expanded. - Fixed toolbar expanding out of chart bounds.
- Fixed thresholds not being shown with infinite values in TimeseriesChart and CategoricalBarChart.
TextAreacan now set its width to full, content (default), or a specific width.- Improve the formatting of the CSV data of the categorial chart
Ellipsisis now correctly styled if used in aLink.- Keep focus in dql and code editor when pressing tab.
- Fixed width of
ProgressBarin Flex containers. - Fixed the
TimeseriesX axis zoom selector opacity when accessing through keyboard shortcuts.
0.98.0
Minor Changes
-
DataTablenow accepts aloadingprop, which will display one of these 3 loading states:- When the data table is initially loaded and columns and data are being loaded.
- When the table is loading new data.
- When the user switches to a new page and the data is being loaded.
-
Added empty, error and loading state core components.
-
Menu.Content now allows a
avoidCollisionsprop to be set (defaults to true). It can be used to override the default positioning behavior which is trying to avoid collisions. -
DataTablerow expansion can be controlled through props. -
The
Codesnippetnow correctly copies the selected content only. -
Added support for uncontrolled detail view and sidebar for the page component.
-
Charts Toolbar: Hide grip control when draggable is false.
-
Added unit prop to
SingleValue. -
Listtypography component has been redesigned. -
TimeseriesChart: Added toolbar configuration to shared config provider. -
The defaultValue for an uncontrolled
Switchcomponent is now optional. -
DataTable: If rowSeparation and rowDensity are set to empty values during DataTable configuration import, they will fallback to default values. -
Fixed wrong font-weight in
Surface. -
Toolbar: Collapse depending on container size.
-
Extended the properties that could be configured via Shared Config to the Sparkline when is within a SingleValue.
- Color, showTicks and variant, are now configurable.
-
Icons now support custom sizes and predefined sizes were updated.
BREAKING-CHANGE: Icon size "large" was changed from 64 to 32 pixels, and "text" option was removed. Migrations are provided.
-
Adds a controlState to the
TimeframeSelector. -
Implemented the categorical bar chart custom actions.
-
Toast: Added support for JSX in the message for formatting. -
All Editors now accept
AriaLabelingPropsas part of the props. -
DataTabledoesn't show the expandable content anymore if it's outside the virtualized viewport while the row is inside. -
Tabscan now be rendered conditionally. -
Add units and proper value formatting to
DataTable. -
The scrollbar colors have changed.
-
BREAKING-CHANGE: Adjusted DataTable Toolbar API:
DataTable.Toolbar.DownloadDatachanged toDataTable.DownloadDataDataTable.Toolbar.FontStylechanged toDataTable.FontStyleDataTable.Toolbar.LineWrapchanged toDataTable.LineWrapDataTable.Toolbar.VisibilitySettingschanged toDataTable.VisibilitySettings
Migrations are provided.
-
DataTable and SimpleTable now allow for configuring vertical alignment as well.
Patch Changes
- Fixed misplaced borders in the
TimeseriesCharton keyboard accessed panning mode. NumberInputcursor now moves to the beginning/end when pressing Home/End and no min/max value is set.- Fixed
TimeseriesChartthreshold values displaying in flipped order. - Fixed y-axis max tick not to surpass 100% when displaying relative value representation in timeseries chart.
ToggleButtonGroupnow correctly sets the initial focus on the selected element.- Fixed and refactored Timeseries overlays interactions.
- Fixed the magnifier is not being showed when x-zoom is being selected.
- Fixed wrong icons displayed while interact with the
ChartLegend. - Improved the display of axis lines and threshold lines in charts, addressing issues like inconsistent thickness and overlapping lines.
- Fixed
TimeseriesChartcrosshair line being showed over the data points. - Fixed tooltip not being properly updated in the TimeseriesChart between data points with the same value.
- Fixed Annotations timestamp indicators in Timeseries not showing.
- Added 8px of padding around the ChartLayout.
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
@dynatrace/strato-design-tokens@0.14.0@dynatrace/strato-icons@0.31.0
0.97.1
Patch Changes
- Improved text width detection for TextEllipsis to avoid truncating text when enough space is available.
0.97.0
Minor Changes
Toastcan now be focused with Cmd+F6 as well.DataTable: Now header dividers have the correct height when sub-columns are hidden.- BREAKING CHANGE: Table column types now enforce the ID and accessor rules. Migrations are provided for cases with missing IDs.
- Success variant of the
Toasthas been added. -
- Updated dependency
@radix-ui/react-dropdown-menufrom 0.1.1 to 2.0.4 (used byMenucomponent). - BREAKING CHANGE:
Menu.TriggerItemwas renamed toMenu.SubTrigger,Menu.Contenttags inside nestedMenus are now of typeMenu.SubContentand nestedMenus are now of typeMenu.Sub. Migrations are provided, however there might be corner cases where manual changes might be required like when imports got renamed or affected components get styled with styled-components. - The new version of @radix-ui/react-dropdown-menu may occasionally cause issues with unit tests. If you get an error message like this, you have to use a workaround:
TypeError: Cannot read properties of null (reading 'documentElement'). In this case, add the following line to your test setup:afterAll(() => new Promise((resolve) => setTimeout(resolve, 0)));. For more information, see Comment on #1908 getDocumentElement null during testing.
- Updated dependency
- Added
AvatarandAvatarGroupcomponents. - The configured alignment from the column definition now takes precedence over the alignment based on columnType.
DataTable: Table body height is now calculated correctly during first render.- Improve dql suggestions in
DQLEditor. - Removed the
LoadingIndicatorcomponent. Use theProgressCirclecomponent instead.- BREAKING CHANGE: The
LoadingIndicatorcomponent is no longer available. There is a migration available. Please update using the dt-app update command.
- BREAKING CHANGE: The
DataTableexport to CSV now handles arrays, undefined and null.- Dismissible overlays now remain open when closing a
Toastnotification. CodeSnippetnow provides anonCopycallback.- The
DataTablenow has a shortcut for selecting/deselecting multiple rows. - Page panel sizes type changed from string to numbers for each size.
- Unify error states design for forms components.
CodeEditorandDQLEditornow expose onFocus and onBlur events.- Add
Microguidecomponent. - The
DataTablenow has a new toolbar button for toggling whether lines should be wrapped in all columns of the table. - The
Codecomponent now uses the field background color.
Patch Changes
- Handle modifiers correctly if the intent button is triggered via the keyboard.
- Column and Cell action menus in
DataTableare now aligned in accordance to column alignment.
0.96.0
Minor Changes
-
You can now configure a customizable message to be displayed in the absence of data in the
DataTablecomponent. -
Extend
IntentButtonto support recommending an appId and intentId.Breaking changes
- Removed
IntentIconButton. UseIntentButtonwith iconOnly property instead.
- Removed
-
With changes to column resizing when fullWidth is set to true, header groups alignment is broken in certain scenarios.
-
On
DataTablecolumns you can now use SDK formatting i.e. you can specify column formatting with the notation of@dynatrace-sdk/util-formatters. -
useBreakpointhook with an array query will no longer cause re-renders.
Patch Changes
- Using a simple text input no longer throws a warning that it's switching from uncontrolled to controlled.
DataTableselect all button now works correctly in Firefox.FilterBarnow callsonFilterChangeonly once when multiple items are added at the same time using theMoreMenu.- The multiple
Selecttrigger now correctly displays text values of complex options. CodeSnippetno longer applies rounded corners in nested elements.- In the
DataTablecells with user actions defined, theautoWidthsetting is not resizing the column based on the content. - The
FilterBaronFilterChangecallback is no longer cached. - Introduced alignment property for
Menu.Contentthat determines how the menu is aligned relative to its trigger. - The
FormFieldno longer nests labels in case a custom label is used. - The
FilterBarcan now display the text of custom labels and the MoreMenu now truncates multiple items with an ellipsis when they overflow. Also, when using custom labels in theFilterBar.Item, the input id and the label can now be properly connected with the htmlFor attribute. - Fixed regression that caused overflowing cell content to be cut off without ellipsis in DataTable.
- Editors background no longer bleeds out of it's container.
- Increase scrollbar visibility in Firefox.
- Updated dependencies
- Updated dependencies
@dynatrace/strato-design-tokens@0.13.0
0.95.0
Minor Changes
-
DataTable: Overscan for virtualization is now set to 5 to improve performance.
-
DataTable: Now if all sub-columns are hidden, the header height will collapse to one row.
-
CodeSnippet: Selecting and copying with 'ctrl/cmd + c' doesn't copy the line-numbers anymore.
-
Fixed
Dividerlayout in theTitleBarwhen using it inside Flex layouts. -
DataTable: The threshold for the rows (used for row highlighting) can be configured and applied at the DataTable level as table props.
BREAKING CHANGE: Row highlighting is not possible to configure via column definition anymore. Property
highlightRowis removed from Threshold options.Before:
const column: TableColumn[] = [
{
header: 'Firstname',
accessor: 'firstname',
thresholds: [
{
value: 'Emery',
comparator: 'equal-to',
color: 'red',
~~highlightRow: true,~~
},
],
}
];Now the row highlighting must be defined on the table level by using data table prop
rowThresholds.See usage examples
After:
<DataTable
rowThresholds={[
{
id: 'firstname', // column accessor/id must be specified
value: 'Emery',
comparator: 'equal-to',
color: 'red'
},
]}
/> -
DataTable: Under certain scenarios header groups are not aligned properly.
-
Heading: The semantic level is now set to same level as the visual level, if not specifically specified with the 'as' property.
-
In the DataTable, default column actions are not rendered on expandable/selectable cells anymore.
-
Unify component prop interface names and fix DOMProps imports.
Breaking changes
- Renamed component prop interfaces
CheckboxProps*toCheckbox*Props - Renamed component prop interfaces
SwitchProps*toSwitch*Props - Renamed component prop interfaces
TabsProps*toTabs*Props
- Renamed component prop interfaces
-
In the DataTable, if all regular columns are hidden now the expandable and selectable columns are also hidden.
-
CodeSnippet/CodeEditor: design is now aligned
-
Page compounds can now be rendered anywhere in the page's subtree and no longer need to be direct children of the page.
-
Fixes ability to resize when the table is fullWidth. Also, changes the column width allocation when fullWidth is enabled. Instead of all columns proportionately expanded, all columns remain same and additional space is taken by the last column or last column is expanded to take remaining space.
Patch Changes
- Fixed bug in the
DQLEditorwhereonVisibilityHandlerreference was never updated on re-render.
0.94.3
Patch Changes
- Categorical axes now have the correct padding again.
0.94.2
Patch Changes
- Menu now no longer requires a second click in Chrome to open after a re-render.
- Expandable row content in Datatable works with fullWidth again.
0.94.1
Patch Changes
- Packages now provide a Readme file within them.
- Updated dependencies
@dynatrace/strato-design-tokens@0.12.1@dynatrace/strato-icons@0.30.5
0.94.0
Minor Changes
-
When column groups are present, include parent header also in the downloaded csv file.
-
DataTable pagination go to end/start now also reset row selection. In this regard, they now behave the same as next/previous.
-
Cut and paste are now no longer possible for read-only editors.
-
New toasts are now shown at the bottom instead of the top.
-
The
Buttonnow supports loading states and shows an indeterminateProgressCirclewhen loading. -
The RunQueryButton now uses the ProgressCircle to display the loading state.
-
Release the
NewPagecomponent as stablePage. Page panels now also supportminWidth.Breaking changes
- The previously deprecated
Pagecomponent is replaced by the new page component. - The old page's
SideBaris renamed toSidebarwith the replacement of the page. - Mandatory
dismissedandonDismissChangeprop on theSidebar. - The compounds of the page (
Header,Sidebar,Main, andDetailView) must be rendered as direct children of the page.
The following example will no longer work:
<Page>
<Page.Header></Page.Header>
<Routes>
{/* route 1 */}
<>
<Page.Sidebar></Page.Sidebar>
<Page.Main></Page.Main>
</>
{/* route2 */}
<>
<Page.Sidebar></Page.Sidebar>
<Page.Main></Page.Main>
<Page.DetailView></Page.DetailView>
</>
</Routes>
</Page>You will have to restructure your app and either pull out the page to the topmost level and add the routes to the corresponding panels, or create a page for each route.
<Page>
<Page.Header></Page.Header>
<Page.Sidebar></Page.Sidebar>
<Page.Main>
<Routes>...</Routes>
</Page.Main>
<Page.DetailView>
<Routes>...</Routes>
</Page.DetailView>
</Page><Routes>
{/* route 1 */}
<Page>
<Page.Header></Page.Header>
<Page.Sidebar></Page.Sidebar>
<Page.Main></Page.Main>
</Page>
{/* route2 */}
<Page>
<Page.Header></Page.Header>
<Page.Sidebar></Page.Sidebar>
<Page.Main></Page.Main>
<Page.DetailView></Page.DetailView>
</Page>
</Routes> - The previously deprecated
-
In DataTable onRowSelectionChange() callback avoid exposing internal library data structure in the event parameter. Only expose the original data which is selected. Breaking change: The data in the event parameter is now at the top level, so instead of data.original use data.
-
BREAKING-CHANGE: DataTable now only accepts type 'number' for the column 'width' property.
-
The Switch component has a new design and internally uses an input now.
-
Removed icon in front of FilterBar.
-
DataTable column resizing issues
-
Page panels can now be resized by keyboard actions (ArrowLeft and ArrowRight) when focusing the resize handle.
-
Add Surface component.
-
The Link/ExternalLink/AppLink always shows an underline.
Patch Changes
- Make truncationMode property optional for TextEllipsis.
- Menu now only closes once forcibly if outside of the viewport.
-
- Disable column actions when
nullis returned instead ofTableUserActions. - Disable cell actions when
nullis returned instead ofTableUserActions.
- Disable column actions when
- Fix parenthesis highlighting in DqlEditor. (EXA-5678)
- Menus now close when the window is out of focus.
- Fixed issue where text got completely truncated when TextEllipsis was used inside a Button.
- Fix failing timeseries converter with empty array. (EXA-5646)
- Fixed bug where sometimes the available width for ellipsized text was assumed to be larger than is actually was.
- Updated dependencies
@dynatrace/strato-design-tokens@0.12.0
0.93.3
Patch Changes
- Fixes missing autoComplete in the PasswordInput component.
0.93.2
Patch Changes
- Migrations for version 0.93.0 are now referenced correctly.
0.93.1
Patch Changes
- Testing subpackage now supports the correct entry point after a regression.
0.93.0
Minor Changes
-
In the DataTable, the correct hover styling is now applied to all column headers with column actions defined.
-
Editors now have a new focus behaviour. When navigating via the keyboard, users now have to press ENTER to start editing.
-
UseRovingFocus does not overwrite styles attribute of the ref anymore.
-
Fixed wrong button variant for toast dismiss button.
-
@dynatrace/strato-components-preview/conversion-utilitieshas been updated to use@dynatrace-sdk/client-query-v09instead of@dynatrace-sdk/client-query-v02.Breaking-change: This change introduces a lot of changes since the move from
RecordV2Beta[]toQueryResult. The conversion-utilities package is no longer compatible with@dynatrace-sdk/client-query-v02. Most of the conversion utilities have changed to acceptResultRecord[]and/orRangedFieldTypes[]that are provided from@dynatrace-sdk/client-query-v09. Please be aware that the conversion-utilities api may change at any given time to match changes in@dynatrace-sdk/client-query. -
Update to client-query 1.0 sdk
-
Divider now accepts a variant and a color option.
-
Hiding a column can now be added to the column actions menu using
TableUserActions.HideColumn. -
Using dismiss functionality instead of the collapse functionality on NewPage.Sidebar.
Breaking-changes:
- Renaming onDismiss to onDismissChange and extending it with a suggested state and reason
- Removing collapse form the NewPage.Sidebar
- Introducing onDismissChange and dismissed on the NewPage.Sidebar
-
TimeseriesChart now supports SDK units.
-
The DataTable's default styling (variant) has been adjusted. It now sets
rowSeparationtohorizontalDividersand setscontainedby default. -
@dynatrace/strato-components-preview/editorshas been updated to use@dynatrace-sdk/client-query-v09. -
Fixed missing button when there are collapsed breadcrumbs.
-
Add Container component.
-
Replaced
@dynatrace/strato-components-preview/formattersformatters with the@dynatrace-sdk/unitsformatters.
Patch Changes
- Updated dependency use-resize-observer from 7.1.0 to 9.1.0.
- Fixes an issue when clicking an item inside the roving focus container focuses the first item and then the clicked item. Also, fixes shift tabbing to skip the wrapping container that's just used for checking non-focusable items.
- Ordered lists now increment correctly when nested.
- Minor performance improvement in Menu component.
- Fix bug where text inside TextEllipsis component gets truncated even though enough space is available (only occurs when middle ellipsis is used in combination with Flex).
- Updated dependencies
@dynatrace/strato-icons@0.30.0
0.92.1
Patch Changes
- Migration function for 0.91.0 will no longer fail the entire update process when the source file fails to parse.
0.92.0
Minor Changes
-
NewPage component now allows custom style overrides.
-
Button now supports variant, color, size, textAlign and width props and Button.Prefix and Button.Suffix components. BREAKING CHANGE: Options for the variant and width props changed. The props prefixIcon and suffixIcon are no longer supported. There is a migration available. Please update using the dt-app update command.
-
Text style variants are now aligned with the new design token structure.
BREAKING-CHANGE: Text style definition is split up in textStyle and fontStyle to reflect the new token structure (see Text component and getTextStyle/getTextStyleCss). The exported styles are renamed and all text styles are now located in the 'core' package and removed from the 'typography' package.
There is a migration available. Please update using the dtp-app update command.
-
ExternalLink component now accepts an onClick handler
-
Added ability to escape DataTable column accessors using quotes.
Patch Changes
- Tables - Adjust TableUserActions component to allow for more flexible wrapping and usage patterns.
- DataTable - vertical dividers are not aligned when horizontal scrolls are present.
0.91.2
Patch Changes
- Publish config in packages has been fixed to ship correct files.
- Updated dependencies
@dynatrace/strato-design-tokens@0.11.10@dynatrace/strato-icons@0.29.1
0.91.1
Patch Changes
- Updated dependencies
@dynatrace/strato-icons@0.29.0
0.91.0 (2023-03-06)
Features
- preview-charts:
- Removed color and original unit from Timeseries.
- Added new menu for series actions on the Tooltip.
- Removed suffix prop from SingleValue.
- preview-notifications:
- Toasts can now also be spawned outside of a component context.
- preview-tables:
- Toolbar component for downloading data from table is now available.
Bug Fixes
- preview-charts:
- Fixed performance issues LineCanvas.
- Fixed issue on the pie/donut config props not taken into account. BREAKING-CHANGE
- Annotations
- Tooltip not showing the proper x-axis datapoints on time series chart.
- Fixed maximum call size getXAxisRange.
- preview-layouts:
- Adjust newPage side-panel padding.
- Add alt prop to default app icon, used for the
<AppHeader />simplest version.
- preview-tables:
- Make resizing columns work with column actions.
- DataTable - vertical dividers are not aligned with horizontal scroll.
- Expanded rows now collapse if data for table changes.
- DataTable - TableVisualLookConfig - Nested header resizing.
Breaking Changes
-
preview-charts: The color is no longer part of the data. In order to override a series color please migrate the code to the new slotting approach (more details in the doc).
-
preview-charts: The content of the suffix prop will be migrated to the label or formatterOptions prop if possible, otherwise removed completely.
0.90.0 (2023-02-27)
Features
- preview-charts:
- Introduced track label functionality to AnnotationsChart.
- Added markers interactions to TimeseriesChart.
- Implemented scroll for annotations with more than 3 tracks.
- Apply annotation track symbol and color props to markers.
- Filter annotations out of bounds for TimeseriesChart Annotations.
- Removed outer circle from markers in AnnotationsCharts.
- Make hidden prop work for track and for marker.
- Remove opacity from marker border when they overlap.
- Support custom tooltip actions for annotations.
- Created Track and Marker slots for Annotations.
- Added tooltip hover interaction.
- Added Tooltips for AnnotationsChart.
- Created annotations slot configuration.
- Moved AnnotationsChart to preview package.
- Created threshold indicator component.
- Fixed categorical bar chart not displaying correctly non-homogeneous data.
- preview-forms:
- Update onChange signature for forms components.
- preview-layouts:
- Add AppHeader compound components to configure the app name and icon.
- Make AppHeader NavItems polymorphic to remove the react-router-dom dependency. BREAKING-CHANGE
- preview-tables:
- Implement user actions for column groups.
Bug Fixes
- preview-charts:
- Fixed CategoricalBarChart color overrides not working.
- Fixed CategoricalBarChart displaying wrong unit, when different units are passed.
- Fixed y-axis ticks on logarithmic scale.
- Highlighted group items in the annotations tooltip.
- Tooltip doesn't unpin and eventually doesn't show at all.
- Tooltip trigger area is not on the whole marker when at the end of a track.
- Fixed chart crashing on annotations bottom border hover.
- Fixed overlay mouseposition with overflow.
- Add missing overlay padding to AnnotationsChart in Timeseries.
- Fixed tooltip disappearing on hover over it.
- Unit in right axis accepts undefined value.
- Fixed pointsDisplay plot override.
- Fixed LineChart bad performance.
- preview-core:
- Fixed ProgressBar text reflow on condensed density variants.
- preview-forms:
- Fix clearing the select filter value on close.
- preview-notifications:
- ToastContainer is now a singleton component.
- preview-overlays:
- Fix sheet content container height.
- preview-tables:
- DataTable visual look bugs found by UX.
Refactors
- Removed overlay from annotation tooltip implementation.
Breaking Changes
- preview-forms: DatePicker onChange 'value' parameter type was renamed from DatePickerChangeEvent to DatePickerValue. TimeframeSelector onChange signature changed to object containing the 'from' string, 'to' string, and 'details' object, so the usage needs to be updated from
onChange={(value, details) => { setValue(value); setDetails(details); }toonChange={(timeframe: Required<Timeframe>) => { setValue(timeframe); setDetails(timeframe?.details ?? null); }.
0.89.0 (2023-02-20)
Features
Package was renamed to @dynatrace/strato-components-preview