Components - Release notes
- Release notes
1.12.0
Dependency updates
@dynatrace/strato-design-tokenswas updated to version1.1.4.@dynatrace/strato-iconswas updated to version1.9.0.- Changed peerDependency version range for
@dynatrace-sdk/unitsfrom^1.0.2to^1.3.1. (APPDEV-14636)
Updates
General
- Slowed animation timings for the
ProgressBar,ProgressCircle,Skeleton, andSkeletonTextcomponents. (APPDEV-14758)
Skeleton
- Improved animations. (APPDEV-14760)
SkeletonText
- Improved animations. (APPDEV-14760)
1.11.0
Dependency updates
@dynatrace/strato-design-tokenswas updated to version1.1.3.@dynatrace/strato-iconswas updated to version1.8.0.
Updates
General
- A
useIdhook is now provided, allowing css-ident safe IDs to be generated. (APPDEV-14808)
AppRoot
- The look and feel of scrollbars in Firefox is now aligned with the experience in Chrome.
Link
- The underline now appears correctly based on whether the link is focused via keyboard. (APPDEV-14816)
1.10.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.7.0.@dynatrace/strato-design-tokenswas updated to version1.1.2.
1.9.2
General
- Unicode ranges for Roboto fallback are now removed.
1.9.1
Dependency updates
@dynatrace/strato-iconswas updated to version1.6.1.@dynatrace/strato-design-tokenswas updated to version1.1.1.
General
- Font definitions are now directly added to the apps css bundle.
ExternalLink
- The underline of the link is now displayed correctly based on whether it is focused via keyboard. (APPDEV-14521)
1.9.0
FocusScope
- The prop
data-testidcan now be set on the component. (APPDEV-13925)
1.8.1
TextEllipsis
- When
truncationModeis set tostart, punctuation characters are now rendered correctly at the start of the string. (APPDEV-14072)
1.8.0
Dependency updates
@dynatrace/strato-design-tokenswas updated to version1.1.0.@dynatrace/strato-iconswas updated to version1.6.0.
1.7.3
Typography
- Removes canvas from DOM. (APPDEV-13639)
1.7.2
Typography
- Removed canvas from DOM. (APPDEV-13639)
1.7.1
Dependency updates
@dynatrace/strato-iconswas updated to version1.5.1.
1.7.0
Core
- Removed internal
_isStringChildren,_useId,_uuidv4, and_mulberry32utility. (APPDEV-12775)
TextEllipsis
truncationMode="middle"now fully supports emoji characters. (APPDEV-13186)TruncationModeis now available as a public type. (APPDEV-12065)
1.6.2
Core
- Add internal
_isStringChildren,_useId,_uuidv4, and_mulberry32back for 1.6.x compatibility. (APPDEV-13282)
1.6.1
- Documentation update
1.6.0
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/navigationfrom^1.3.0to^1.3.0 || ^2.0.0. @dynatrace/strato-iconswas updated to version1.5.0.
1.5.0
Dependency updates
- Changed peerDependency version range for
react-intlfrom^6.0.8to^6.0.8 || ^7.0.0. @dynatrace/strato-design-tokenswas updated to version1.0.1.@dynatrace/strato-iconswas updated to version1.4.0.
Button
- Hover animation was updated to be more responsive. (APPDEV-12827)
Highlight
- Now preserves whitespace around the highlighted term. (APPDEV-12895)
TextEllipsis
- When
truncationModeis set tostart, punctuation characters are now rendered correctly at the end of the string. (APPDEV-12900)
1.4.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.3.0.
Highlight
- Added support for using
FormattedMessagewithin theHighlightcomponent. (APPDEV-12687) - Highlighted text reflows correctly when wrapped inside a smaller container. (APPDEV-12666)
1.3.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.2.0.
1.2.0
Highlight
- Whitespaces are preserved when the
Highlightcomponent is rendered inside an element styled withdisplay: 'flex'. (APPDEV-12362)
Surface
- Now uses correct selected border with a 2px transparent gap. (APPDEV-11985)
1.1.0
Dependency updates
@dynatrace/strato-iconswas updated to version1.1.0.
TextEllipsis
- Text with ellipsis with
truncationMode="middle"can grow when resizing. (APPDEV-11597)
1.0.0
Breaking changes
General
- Removed deprecated testing subpackage. Please use the
@dynatrace/strato-components-testingpackage now. (APPDEV-9460)
In the new package we are no longer re-exporting parts of the @testing-library package. This means you'll have to import functions like screen, userEvent, act, waitFor etc directly from @testing-library and its subpackages.
The render function is still exported in the testing package, as it makes testing strato components easier.
For more information on how to setup and use @dynatrace/strato-components-testing please look into package's readme.
Core
roleVariantsandRoleVariantTypeare now removed, as they are no longer used. (APPDEV-11235)
ProgressBar
- Removed the
variantprop, as the color and variant are now derived from the container. The color can still be overwritten with thecolorprop.(APPDEV-11668)
ProgressCircle
- Removed the
variantprop, as the color and variant are now derived from the container. The color can still be overwritten with thecolorprop.(APPDEV-11668)
Dependency updates
- Changed peerDependency version range for
@dynatrace-sdk/app-environmentfrom^1.0.0to^1.1.0. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/navigationfrom^1.2.1to^1.3.0. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/error-handlersfrom^1.0.0to^1.3.1. (APPDEV-11243) - Changed peerDependency version range for
@dynatrace-sdk/user-preferencesfrom^1.1.0to^1.1.1. (APPDEV-11243) @dynatrace/strato-design-tokenswas updated to version1.0.0.@dynatrace/strato-iconswas updated to version1.0.0.
0.85.120
TextEllipsis
- Text now displays correctly in Firefox when the parent container has
max-width: max-content. (APPDEV-12006)
0.85.110
Deprecations
Button
- Deprecated
readOnlyprop, please usedisabledinstead. (APPDEV-11549)
General
useBreakpointhook now has better SSR support.
Content
ProgressBarandProgressCirclenow inherit theContainer's color, if used inside it.
Core
- Added
FocusScopecomponent. (APPDEV-11591)
0.85.100
Dependency updates
@dynatrace/strato-iconswas updated to version0.39.4.
Deprecations
Content
- Deprecated the
variantprop fromProgressBarPropsandProgressCircleProps, which will be removed in favor of thecolorprop.
Core
- Deprecated the
RoleVariantType, which will be removed. You can use'neutral' | 'primary' | 'success' | 'warning' | 'critical'instead, as theonAccentoption will be dropped.
Typography
- CSS text ellipsis from a wrapping element is now correctly applied to the
LinkandExternalLinkcomponent. (APPDEV-11491)
0.85.90
Dependency updates
- Added
@dynatrace/strato-design-tokensas a peer dependency with version range~0.20.0. - Added
@dynatrace/strato-iconsas a peer dependency with version range~0.39.0.
General
- Moved
@dynatrace/strato-design-tokensand@dynatrace/strato-iconsto peerDependencies and relaxed the version range. (APPDEV-9911) - Classnames for components now contain a version number to avoid conflicts if apps happen to have more than one version of the design system running.
0.85.80
ExternalLink
- The
ExternalLink's icon now remains on the same line as its preceding word, even when there are line breaks.
IntentButton
- Now accepts
ReactNodeas children instead of only strings.
TextEllipsis
- Now
onTextOverflowis also called whenTextEllipsisis used inside another component that already handles text truncation.
0.85.70
Deprecations
General
- Testing subpackage exports are now marked as deprecated. Please use
@dynatrace/strato-components-testinginstead.
0.85.60
Dependency updates
@dynatrace/strato-iconswas updated to version0.39.3.
0.85.50
Typography
HeadingandParagraphnow inherit their color from their container by default.
0.85.41
Layouts
- Annotate exported styles accordingly.
0.85.40
General
- Added missing vanilla-extract dependencies to the package.
Button
- Displays number
0when used as child.
0.85.32
- Documentation update
0.85.31
Dependency updates
- Added missing vanilla-extract dependencies to the package.
0.85.30
Dependency updates
@dynatrace/strato-iconswas updated to version0.39.2.
UseBreakpoint
useBreakpointhas been moved from@dynatrace/strato-components-preview/coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
0.85.21
- Documentation update
0.85.20
IntentButton
IntentButtonhas been moved from@dynatrace/strato-components-preview/buttonsto@dynatrace/strato-components/buttons. TheiconOnlyprop has been removed. To display only the icon, leave the label empty.
Skeleton
Skeletonhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/contentand a migration script has been provided.
SkeletonText
SkeletonTexthas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/contentand a migration script has been provided.
Surface
Surfacehas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
0.85.11
- Documentation update
0.85.10
Dependency updates
@dynatrace/strato-iconswas updated to version0.39.1.@dynatrace/strato-design-tokenswas updated to version0.20.40.
Button
Buttonhas been moved from@dynatrace/strato-components-preview/buttonsto@dynatrace/strato-components/buttonsand a migration script has been provided.
0.85.0
Breaking changes
General
- Drop react 17 support.
- Drop @testing-library/react 12 support.
- Drop @testing-library/user-event 13 support.
Dependency updates
@dynatrace/strato-iconswas updated to version0.39.0.
General
- Add @testing-library/react 15 support.
0.84.51
General
- Content subpackage is now exported from the
@dynatrace/strato-componentsentrypoint.
0.84.50
Dependency updates
@dynatrace/strato-iconswas updated to version0.38.0.
Container
Containerhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
Flex
Flexhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
Grid
Gridhas been moved from@dynatrace/strato-components-preview/layouts-coreto@dynatrace/strato-components/layoutsand a migration script has been provided.
ProgressBar, ProgressCircle
ProgressBarandProgressCirclehave been moved from@dynatrace/strato-components-preview/coreto@dynatrace/strato-components/contentand a migration script has been provided.
0.84.42
- Documentation update
0.84.41
- Documentation update
0.84.40
Dependency updates
@dynatrace/strato-design-tokenswas updated to version0.20.30.
Typography
- Typography is migrated from
@dynatrace/strato-components-preview/typographyto@dynatrace/strato-components/typographyand a migration script has been provided.
Divider
- Divider has been moved from
@dynatrace/strato-components-preview/typographyto@dynatrace/strato-components/layoutsand a migration script has been provided.
0.84.31
- Documentation update
0.84.30
Dependency updates
@dynatrace/strato-design-tokenswas updated to version0.20.20.
0.84.21
- Documentation update
0.84.20
0.84.12
- Documentation update
0.84.11
Dependency updates
@dynatrace/strato-design-tokenswas updated to version0.20.10.@dynatrace/strato-iconswas updated to version0.37.0.
AppRoot
AppRootcomponent was moved from@dynatrace/strato-components-preview.