@design-factory/styles

中文文档
22.1.0发布于 2026/11/05BSD-3-ClauseES Module零依赖近 30 天下载 1.2万

Amadeus design system styles

原始使用文档
文档目录4 节
  1. Description
  2. Architecture
  3. Exports
  4. Dependencies

Amadeus Design Factory Styles

Description

Design Factory Styles is the package containing the styles used by Amadeus Design System, Design Factory.

Design Factory is an InnerSource design system made of:

  • A UI library for Amadeus external and internal interfaces and applications, based on our four pillars
  • A set of design and coding best practices
  • A cross-functional community from all Amadeus business units

If you want to get more information about Design Factory, please contact Design Factory team.

Architecture

The Design Factory is composed of multiple projects and you can install the package that fits your requirements.

  • @design-factory/tokens includes the Design Tokens that empower the Design System
  • @design-factory/styles includes the styles, composed of utilities and component styles
  • @design-factory/design-factory contains Angular components and utilities. They will be migrated to the following package
  • @design-factory/angular contains the new SideNav and will grow to include all Design Factory Angular components

Exports

The package @design-factory/styles exports the following entry points:

  • @design-factory/styles/bundle exposes the full css bundle
  • @design-factory/styles/assets/* exposes the assets, mostly fonts
  • @design-factory/styles/scss/* exposes all sass files

Dependencies

There are no dependencies required when using the full css bundle.

When using the Sass, the dependencies are Bootstrap 5, Ng-select and Ag-grid.

The supported versions are:

Df StylesBootstrap CSSNg-selectAg-gridAgnosUI
21.0.x5.3.821.x35.x0.10.x
22.0.x5.3.823.x35.x0.11.x

版本与发布记录

@design-factory/styles 共发布 18 个版本,首次发布于 2026/01/22;过去 12 个月发布了 18 个版本。

版本发布日期距今
22.1.0latest2026/11/056 天前
21.1.22026/10/2220 天前
22.0.22026/09/221 个月前
22.0.12026/08/033 个月前
21.1.12026/07/303 个月前
22.0.02026/07/293 个月前

其他发布通道:next → 22.0.0-next.1。

关于 @design-factory/styles 的常见问题

@design-factory/styles 是什么?

Amadeus design system styles

如何安装 @design-factory/styles?

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

@design-factory/styles 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/design-factory__styles 是否存在。

@design-factory/styles 支持 ESM 还是 CommonJS?

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

@design-factory/styles 可以商用吗?

@design-factory/styles 使用 BSD-3-Clause 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。另外不得用原作者名义为衍生产品背书。以上为概括,不构成法律意见,请以许可原文为准。

@design-factory/styles 的下载量有多少?

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

@design-factory/styles 还在维护吗?

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