@dynatrace/strato-components-preview

中文文档
3.4.1发布于 2026/06/03Apache-2.0TypeScriptESM + CJS近 30 天下载 6697

::: A simpler way to use Strato

原始使用文档
文档目录3 节
  1. Documentation
  2. Installation
  3. Releases

Strato components preview (Deprecated)

::: A simpler way to use Strato

We’re unifying our component packages to make development smoother and more predictable. Switch to strato-components and strato-components-testing. See the release notes for more details.

:::

This package gives you early access to preview-state components from Strato, the design system for Dynatrace. See About Strato to learn about Strato design foundations and patterns and the complete React component library.

Documentation

Explore use cases with code, props, and usage guidelines for each preview component in Strato components preview.

Installation

npm install @dynatrace/strato-components-preview

Releases

The components in this package are in active development and changes are frequent. Non-breaking changes (feature updates and fixes) are released every two weeks. Breaking changes can be expected once every three months.

版本与发布记录

@dynatrace/strato-components-preview 共发布 115 个版本,首次发布于 2023/04/03;过去 12 个月发布了 30 个版本。

版本发布日期距今
3.4.1latest2026/06/035 个月前
3.2.22026/05/126 个月前
3.1.52026/05/126 个月前
3.0.32026/05/126 个月前
2.17.42026/05/126 个月前
2.17.32026/05/076 个月前

关于 @dynatrace/strato-components-preview 的常见问题

@dynatrace/strato-components-preview 是什么?

::: A simpler way to use Strato

如何安装 @dynatrace/strato-components-preview?

在项目目录运行 npm install @dynatrace/strato-components-preview,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@dynatrace/strato-components(^3.4.1)、@dynatrace/strato-icons(^2.2.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@dynatrace/strato-components-preview 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@dynatrace/strato-components-preview 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@dynatrace/strato-components-preview 可以商用吗?

@dynatrace/strato-components-preview 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@dynatrace/strato-components-preview 的下载量有多少?

根据 npm 官方下载统计,@dynatrace/strato-components-preview 在 2026/10/13 – 2026/11/11 这 30 天内被下载 6,697 次,日均约 223 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dynatrace/strato-components-preview 还在维护吗?

最新版本 3.4.1 发布于 2026/06/03(5 个月前);至今共发布 115 个版本,其中过去 12 个月发布了 30 个;首次发布于 2023/04/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。