Skip to main content

Components

    1.2.0

    Highlight

    • Whitespaces are preserved when the Highlight component is rendered inside an element styled with display: 'flex'. (APPDEV-12362)

    Surface

    • Now uses correct selected border with a 2px transparent gap. (APPDEV-11985)

    1.1.0

    Dependency updates
    • @dynatrace/strato-icons was updated to version 1.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-testing package 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

    • roleVariants and RoleVariantType are now removed, as they are no longer used. (APPDEV-11235)

    ProgressBar

    • Removed the variant prop, as the color and variant are now derived from the container. The color can still be overwritten with the color prop.(APPDEV-11668)

    ProgressCircle

    • Removed the variant prop, as the color and variant are now derived from the container. The color can still be overwritten with the color prop.(APPDEV-11668)
    Dependency updates
    • Changed peerDependency version range for @dynatrace-sdk/app-environment from ^1.0.0 to ^1.1.0. (APPDEV-11243)
    • Changed peerDependency version range for @dynatrace-sdk/navigation from ^1.2.1 to ^1.3.0. (APPDEV-11243)
    • Changed peerDependency version range for @dynatrace-sdk/error-handlers from ^1.0.0 to ^1.3.1. (APPDEV-11243)
    • Changed peerDependency version range for @dynatrace-sdk/user-preferences from ^1.1.0 to ^1.1.1. (APPDEV-11243)
    • @dynatrace/strato-design-tokens was updated to version 1.0.0.
    • @dynatrace/strato-icons was updated to version 1.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 readOnly prop, please use disabled instead. (APPDEV-11549)

    General

    • useBreakpoint hook now has better SSR support.

    Content

    • ProgressBar and ProgressCircle now inherit the Container's color, if used inside it.

    Core

    • Added FocusScope component. (APPDEV-11591)

    0.85.100

    Dependency updates
    • @dynatrace/strato-icons was updated to version 0.39.4.
    Deprecations

    Content

    • Deprecated the variant prop from ProgressBarProps and ProgressCircleProps, which will be removed in favor of the color prop.

    Core

    • Deprecated the RoleVariantType, which will be removed. You can use 'neutral' | 'primary' | 'success' | 'warning' | 'critical' instead, as the onAccent option will be dropped.

    Typography

    • CSS text ellipsis from a wrapping element is now correctly applied to the Link and ExternalLink component. (APPDEV-11491)

    0.85.90

    Dependency updates
    • Added @dynatrace/strato-design-tokens as a peer dependency with version range ~0.20.0.
    • Added @dynatrace/strato-icons as a peer dependency with version range ~0.39.0.

    General

    • Moved @dynatrace/strato-design-tokens and @dynatrace/strato-icons to 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

    • The ExternalLink's icon now remains on the same line as its preceding word, even when there are line breaks.

    IntentButton

    • Now accepts ReactNode as children instead of only strings.

    TextEllipsis

    • Now onTextOverflow is also called when TextEllipsis is 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-testing instead.

    0.85.60

    Dependency updates
    • @dynatrace/strato-icons was updated to version 0.39.3.

    0.85.50

    Typography

    • Heading and Paragraph now 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 0 when 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-icons was updated to version 0.39.2.

    UseBreakpoint

    • useBreakpoint has been moved from @dynatrace/strato-components-preview/core to @dynatrace/strato-components/layouts and a migration script has been provided.

    0.85.21

    • Documentation update

    0.85.20

    IntentButton

    • IntentButton has been moved from @dynatrace/strato-components-preview/buttons to @dynatrace/strato-components/buttons. The iconOnly prop has been removed. To display only the icon, leave the label empty.

    Skeleton

    • Skeleton has been moved from @dynatrace/strato-components-preview/layouts-core to @dynatrace/strato-components/content and a migration script has been provided.

    SkeletonText

    • SkeletonText has been moved from @dynatrace/strato-components-preview/layouts-core to @dynatrace/strato-components/content and a migration script has been provided.

    Surface

    • Surface has been moved from @dynatrace/strato-components-preview/layouts-core to @dynatrace/strato-components/layouts and a migration script has been provided.

    0.85.11

    • Documentation update

    0.85.10

    Dependency updates
    • @dynatrace/strato-icons was updated to version 0.39.1.
    • @dynatrace/strato-design-tokens was updated to version 0.20.40.

    Button

    • Button has been moved from @dynatrace/strato-components-preview/buttons to @dynatrace/strato-components/buttons and 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-icons was updated to version 0.39.0.

    General

    • Add @testing-library/react 15 support.

    0.84.51

    General

    • Content subpackage is now exported from the @dynatrace/strato-components entrypoint.

    0.84.50

    Dependency updates
    • @dynatrace/strato-icons was updated to version 0.38.0.

    Container

    • Container has been moved from @dynatrace/strato-components-preview/layouts-core to @dynatrace/strato-components/layouts and a migration script has been provided.

    Flex

    • Flex has been moved from @dynatrace/strato-components-preview/layouts-core to @dynatrace/strato-components/layouts and a migration script has been provided.

    Grid

    • Grid has been moved from @dynatrace/strato-components-preview/layouts-core to @dynatrace/strato-components/layouts and a migration script has been provided.

    ProgressBar, ProgressCircle

    • ProgressBar and ProgressCircle have been moved from @dynatrace/strato-components-preview/core to @dynatrace/strato-components/content and a migration script has been provided.

    0.84.42

    • Documentation update

    0.84.41

    • Documentation update

    0.84.40

    Dependency updates
    • @dynatrace/strato-design-tokens was updated to version 0.20.30.

    Typography

    • Typography is migrated from @dynatrace/strato-components-preview/typography to @dynatrace/strato-components/typography and a migration script has been provided.

    Divider

    • Divider has been moved from @dynatrace/strato-components-preview/typography to @dynatrace/strato-components/layouts and a migration script has been provided.

    0.84.31

    • Documentation update

    0.84.30

    Dependency updates
    • @dynatrace/strato-design-tokens was updated to version 0.20.20.

    0.84.21

    • Documentation update

    0.84.20

    0.84.12

    • Documentation update

    0.84.11

    Dependency updates
    • @dynatrace/strato-design-tokens was updated to version 0.20.10.
    • @dynatrace/strato-icons was updated to version 0.37.0.

    AppRoot

    • AppRoot component was moved from @dynatrace/strato-components-preview.
    Still have questions?
    Find answers in the Dynatrace Community