包详细信息

@fluentui/tokens

microsoft790.1kMIT1.0.0-alpha.21

Fluent UI Theme Tokens

自述文件

Fluent UI Web

Build Status GitHub contributors GitHub top language Twitter Follow

Fluent UI React is shipping its v9 final stable release. Visit the Fluent UI React v9 Release page on the wiki to learn more about the upcoming release schedule.

Fluent UI web represents a collection of utilities, React components, and Web Components for building web applications.

This repo is home to 3 separate projects today. Combining Fluent UI React v9 components with Fluent UI React v8 or v0 components is possible and allows gradual migration to Fluent UI v9.

The following table will help you navigate the 3 projects and understand their differences.

React Components (v9) React (v8) Web Components
Overview New, future-proof and forward looking Mature Web Component implementation of Fluent UI.
Used By Microsoft 365 Office Edge
Read Me README.md README.md README.md
Changelog CHANGELOG.md CHANGELOG.md CHANGELOG.md
Repo packages/react-components ./packages/react ./packages/web-components
Quick Start Quick Start Quick Start See README.md
Docs https://react.fluentui.dev/ aka.ms/fluentui-react aka.ms/fluentui-web-components
NPM @fluentui/react-components @fluentui/react @fluentui/web-components
Version npm version npm version npm version
Issues Fluent UI React Components GitHub Issues?label=issues&style=flat-square) Fluent UI React GitHub Issues?label=issues&style=flat-square)%22) Fluent UI Web Components GitHub Issues

Why are there two React versions? Fluent UI v8 is still widely used. We encourage you to migrate to Fluent UI v9. See the Migration overview.

FluentUI Insights

Fluent UI Insights is a series that describes the design and decisions behind the Fluent UI design system.

EP01: Positioning EP02: Styling EP03: Griffel
Watch EP01: Positioning Watch EP02: Styling Watch EP03: Griffel
EP04: Foundational APIs EP05: Theming EP06: Accessible by default
Watch EP04: Foundational APIs Watch EP05: Theming Watch EP06: Accessible by default

Licenses

All files on the Fluent UI React GitHub repository are subject to the MIT license. Please read the License file at the root of the project.

Usage of the fonts and icons referenced in Fluent UI React is subject to the terms of the assets license agreement.

Changelog

You can view the complete list of additions, fixes, and changes in the CHANGELOG.md file for each package.

Looking for Office UI Fabric React?

The Office UI Fabric React project has evolved to Fluent UI.

The office-ui-fabric-react repo is now this repo (fluentui in the Microsoft organization)! The name change should not disrupt any current Fabric usage, repo clones, pull requests, or issue reporting. Links should redirect to the new location. The library formerly known as office-ui-fabric-react is now available as @fluentui/react (see above table for more information).

We have a lot in store for Fluent UI - Read our announcement here.

Looking for Fluent UI React Northstar?

Fluent UI React Northstar has been superseded by Fluent UI React Components v9. For more details about Fluent UI React Northstar, see its README.md.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

更新日志

Change Log - @fluentui/tokens

This log was last generated on Mon, 16 Dec 2024 16:22:05 GMT and should not be manually modified.

1.0.0-alpha.21

Mon, 16 Dec 2024 16:22:05 GMT Compare changes

Changes

  • bugfix: ensure teams tokens follow teams overrides for fonts (PR #33393 by bernardo.sunderhus@gmail.com)

1.0.0-alpha.20

Fri, 06 Dec 2024 12:53:46 GMT Compare changes

Changes

  • chore: remove usage of "export *" (PR #33380 by olfedias@microsoft.com)

1.0.0-alpha.19

Mon, 11 Nov 2024 10:00:39 GMT Compare changes

Changes

  • chore: replace npm-scripts and just-scrtips with nx inferred tasks (PR #33074 by martinhochel@microsoft.com)

1.0.0-alpha.18

Tue, 15 Oct 2024 17:17:52 GMT Compare changes

Changes

  • feat: add explicit .js file extensions to all relative import/export statement within built output to support native ESM within browser (PR #30770 by martinhochel@microsoft.com)

1.0.0-alpha.17

Mon, 23 Sep 2024 12:40:16 GMT Compare changes

Changes

  • feat: add z-index tokens (PR #32356 by marcosvmmoura@gmail.com)

1.0.0-alpha.16

Mon, 18 Mar 2024 19:50:46 GMT Compare changes

Changes

  • reverting #30770 which caused compilation issues (PR #30803 by mgodbolt@microsoft.com)

1.0.0-alpha.15

Fri, 15 Mar 2024 21:43:49 GMT Compare changes

Changes

  • feat: enable .js extension addition and directory import/export unwrapping in build output (PR #30770 by martinhochel@microsoft.com)

1.0.0-alpha.14

Thu, 07 Mar 2024 19:33:27 GMT Compare changes

Changes

  • feat: Add/update color tokens (PR #30412 by miroslav.stastny@microsoft.com)

1.0.0-alpha.13

Thu, 09 Nov 2023 17:29:48 GMT Compare changes

Changes

  • chore: use package.json#files setup instead of npmignore for all v9 libraries (PR #29734 by martinhochel@microsoft.com)

1.0.0-alpha.12

Wed, 01 Nov 2023 12:55:59 GMT Compare changes

Changes

  • fix(tokens): Fix motion curves to match design (PR #29546 by robertpenner@microsoft.com)

1.0.0-alpha.11

Tue, 26 Sep 2023 17:49:15 GMT Compare changes

Changes

  • chore: trigger manual version bump after broken release (PR #29303 by yuanboxue@microsoft.com)

1.0.0-alpha.10

Tue, 26 Sep 2023 15:31:40 GMT Compare changes

Changes

  • fix: bump swc core to mitigate transpilation memory leaks (PR #29253 by martinhochel@microsoft.com)

1.0.0-alpha.9

Tue, 05 Sep 2023 13:29:13 GMT Compare changes

Changes

  • bumps @swc/helpers version to 0.5.1 (PR #28989 by bernardo.sunderhus@gmail.com)

1.0.0-alpha.8

Wed, 09 Aug 2023 13:17:11 GMT Compare changes

Changes

  • feat: add durationGentle (PR #28770 by miroslav.stastny@microsoft.com)

1.0.0-alpha.7

Fri, 04 Aug 2023 08:52:58 GMT Compare changes

Changes

  • feat: add status color tokens (PR #28006 by miroslav.stastny@microsoft.com)
  • Add colorBrandStroke2Contrast and colorNeutralStrokeAlpha2 (PR #28638 by miroslav.stastny@microsoft.com)

1.0.0-alpha.6

Tue, 20 Jun 2023 12:39:07 GMT Compare changes

Changes

  • Add/update theme tokens (PR #27791 by miroslav.stastny@microsoft.com)
  • fix: cast to String keys interpolated within string literals (PR #28067 by martinhochel@microsoft.com)

1.0.0-alpha.5

Fri, 12 May 2023 20:28:07 GMT Compare changes

Changes

  • chore: exclude .swcrc from being published (PR #27740 by olfedias@microsoft.com)

1.0.0-alpha.4

Tue, 21 Mar 2023 21:23:17 GMT Compare changes

Changes

  • chore: migrate to swc transpilation approach. (PR #27250 by tristan.watanabe@gmail.com)
  • fix: add node field to package.json exports map. (PR #27154 by tristan.watanabe@gmail.com)

1.0.0-alpha.3

Wed, 15 Mar 2023 10:19:53 GMT Compare changes

Changes

  • feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens (PR #27034 by miroslav.stastny@microsoft.com)

1.0.0-alpha.2

Wed, 21 Dec 2022 10:20:33 GMT Compare changes

Changes

  • Hoist theme tokens from react-theme to tokens package (PR #25966 by miroslav.stastny@microsoft.com)

1.0.0-alpha.1

Tue, 20 Dec 2022 07:53:34 GMT

Changes

  • Add @fluentui/tokens package (PR #26039 by miroslav.stastny@microsoft.com)