@awsui/global-styles

中文文档
1.0.25发布于 2024/04/10Apache-2.0TypeScriptES Module零依赖近 30 天下载 3123

On July 19th, 2022, we launched Cloudscape Design System. Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

此软件包已被标记为弃用

This package is no longer maintained. Use the respective @cloudscape-design package.

原始使用文档

AWS-UI becomes Cloudscape Design System

On July 19th, 2022, we launched Cloudscape Design System. Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, engaging, and inclusive user experiences at scale. As part of the release, we have begun to publish npm packages to the new @cloudscape-design namespace.

We recommend migrating your existing AWS-UI applications to Cloudscape.

For more information, see our GitHub repository.

@awsui/global-styles

AWS UI is a collection of React components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the Apache 2.0 open source license.

This package provides global styles for AWS UI components.

This release allows Amazon teams to release open source products that have a dependency on the AWS UI components. It is just the first step in a larger process of creating a new open source design system. You can find more information on GitHub.

版本与发布记录

@awsui/global-styles 共发布 27 个版本,首次发布于 2020/12/21;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.0.25latest2024/04/102 年前
1.0.242024/04/092 年前
1.0.232024/04/032 年前
1.0.222024/02/052 年前
1.0.212024/02/012 年前
1.0.202023/12/012 年前

关于 @awsui/global-styles 的常见问题

@awsui/global-styles 是什么?

On July 19th, 2022, we launched Cloudscape Design System. Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en注意:该包已被作者标记为弃用——This package is no longer maintained. Use the respective @cloudscape-design package.

如何安装 @awsui/global-styles?

在项目目录运行 npm install @awsui/global-styles,或使用 pnpm add / yarn add / bun add。

@awsui/global-styles 支持 TypeScript 吗?

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

@awsui/global-styles 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@awsui/global-styles 可以商用吗?

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

@awsui/global-styles 的下载量有多少?

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

@awsui/global-styles 还在维护吗?

最新版本 1.0.25 发布于 2024/04/10(2 年前);至今共发布 27 个版本,其中过去 12 个月发布了 0 个;首次发布于 2020/12/21。作者已将其标记为弃用,新项目建议寻找替代方案。