-
Notifications
You must be signed in to change notification settings - Fork 2.9k
FEATURE BRANCH: Semantic Tokens V2 #35405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Mitch-At-Work
wants to merge
7
commits into
master
Choose a base branch
from
semantic-tokens-v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2400733
Semantic Tokens: Add packages for semantic tokens and component style…
Mitch-At-Work aab6c81
Extended Tokens: Button (V2) (#35345)
Mitch-At-Work f75ac8a
Semantic tokens: Add generics/primitives and assign reduced Button to…
Mitch-At-Work d9c22af
Update Button tokens to use full lightness and bebop spectrum
Mitch-At-Work 5747e41
fix: Subtle button and fallback on primary pressed
Mitch-At-Work b4e28bf
Semantic Tokens V2: Semantic Light Theme (#35482)
Mitch-At-Work f829806
Semantic Tokens V2: Input Group (#35497)
Mitch-At-Work File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
change/@fluentui-semantic-style-hooks-preview-2fefb723-8232-43c0-aa3f-417c55d0949a.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "minor", | ||
| "comment": "feat: Implement semantic style hooks framework", | ||
| "packageName": "@fluentui/semantic-style-hooks-preview", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch" | ||
| } |
7 changes: 7 additions & 0 deletions
7
change/@fluentui-semantic-tokens-ab69ccc6-b777-4bb6-909a-c406cc6406d2.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "feat: Initial semantic token package scaffolding", | ||
| "packageName": "@fluentui/semantic-tokens", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/react-components/semantic-style-hooks-preview/library/.babelrc.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "extends": "../../../../.babelrc-v9.json", | ||
| "plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"] | ||
| } |
4 changes: 4 additions & 0 deletions
4
packages/react-components/semantic-style-hooks-preview/library/.eslintrc.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "extends": ["plugin:@fluentui/eslint-plugin/react"], | ||
| "root": true | ||
| } |
30 changes: 30 additions & 0 deletions
30
packages/react-components/semantic-style-hooks-preview/library/.swcrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "$schema": "https://json.schemastore.org/swcrc", | ||
| "exclude": [ | ||
| "/testing", | ||
| "/**/*.cy.ts", | ||
| "/**/*.cy.tsx", | ||
| "/**/*.spec.ts", | ||
| "/**/*.spec.tsx", | ||
| "/**/*.test.ts", | ||
| "/**/*.test.tsx" | ||
| ], | ||
| "jsc": { | ||
| "parser": { | ||
| "syntax": "typescript", | ||
| "tsx": true, | ||
| "decorators": false, | ||
| "dynamicImport": false | ||
| }, | ||
| "externalHelpers": true, | ||
| "transform": { | ||
| "react": { | ||
| "runtime": "classic", | ||
| "useSpread": true | ||
| } | ||
| }, | ||
| "target": "es2019" | ||
| }, | ||
| "minify": false, | ||
| "sourceMaps": true | ||
| } |
15 changes: 15 additions & 0 deletions
15
packages/react-components/semantic-style-hooks-preview/library/LICENSE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| @fluentui/semantic-style-hooks-preview | ||
|
|
||
| Copyright (c) Microsoft Corporation | ||
|
|
||
| All rights reserved. | ||
|
|
||
| MIT License | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
|
||
| Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license |
44 changes: 44 additions & 0 deletions
44
packages/react-components/semantic-style-hooks-preview/library/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # @fluentui/semantic-style-hooks-preview | ||
|
|
||
| WARNING: Semantic tokens and their style hooks are undergoing rapid transformation as we prepare to build out AI adjacent design systems - we expect many breaking changes to occur in this preview release to the token names, however the overall structure and fallback implementation should remain consistent. | ||
|
|
||
| **Semantic Style Hooks components for [Fluent UI React](https://react.fluentui.dev/)** | ||
|
|
||
| These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release. | ||
|
|
||
| ** Semantic Token Migration Guide ** | ||
|
|
||
| This package exports custom style hooks (see https://react.fluentui.dev/?path=/docs/concepts-developer-advanced-styling-techniques--docs) that enable semantic tokens (@fluentui/semantic-tokens) usage in Fluent core component styles. | ||
|
|
||
| The SEMANTIC_STYLE_HOOKS object can be directly passed in to the FluentProvider: | ||
|
|
||
| ``` | ||
| import { SEMANTIC_STYLE_HOOKS } from '@fluentui/semantic-style-hooks-preview'; | ||
|
|
||
| <FluentProvider theme={theme} customStyleHooks_unstable={SEMANTIC_STYLE_HOOKS}> | ||
| {// app code} | ||
| </FluentProvider> | ||
| ``` | ||
|
|
||
| If no FluentProvider is present, the CustomStyleHooksProvider can be used directly: | ||
|
|
||
| ``` | ||
| import { CustomStyleHooksProvider_unstable as CustomStyleHooksProvider } from '@fluentui/react-shared-contexts'; | ||
| import { SEMANTIC_STYLE_HOOKS } from '@fluentui/semantic-style-hooks-preview'; | ||
|
|
||
| <CustomStyleHooksProvider value={SEMANTIC_STYLE_HOOKS}> | ||
| {// app code} | ||
| </CustomStyleHooksProvider> | ||
| ``` | ||
|
|
||
| You can also opt in to specific component semantic styles via the flat exports for further scoping - if you use custom style hooks in your app already, we recommend calling these functions at the top of existing style hooks instead. | ||
|
|
||
| Legacy themes and tokens will continue to work once enabled thanks to the CSSVar fallback system - feel free to continue using existing token themes and optionally add semantic token values as we build out more tooling to assist with the generation of semantic token themes in the future. | ||
|
|
||
| ** Bundle Size ** | ||
|
|
||
| Please note, that the bundle size of these style hooks has not yet been optimized, as this package serves as an intermediate step until semantic tokens are stabilized and can be merged in the underlying styles files of each component. | ||
|
|
||
| ** Deprecation Plan ** | ||
|
|
||
| Once semantic tokens have been tested, stabilized, and confirmed backwards compatible, they will be optimized and enabled in the base component packages by default. At this point, the semantic style hooks package will be deprecated - please use this package to test and raise any issues prior to enable a smooth transition. |
5 changes: 5 additions & 0 deletions
5
packages/react-components/semantic-style-hooks-preview/library/config/api-extractor.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
| "extends": "@fluentui/scripts-api-extractor/api-extractor.common.v-next.json", | ||
| "mainEntryPointFilePath": "<projectRoot>/../../../../../../dist/out-tsc/types/packages/react-components/<unscopedPackageName>/library/src/index.d.ts" | ||
| } |
1 change: 1 addition & 0 deletions
1
packages/react-components/semantic-style-hooks-preview/library/config/tests.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /** Jest test setup file. */ |
63 changes: 63 additions & 0 deletions
63
packages/react-components/semantic-style-hooks-preview/library/docs/Spec.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| # @fluentui/semantic-style-hooks-preview Spec | ||
|
|
||
| ## Background | ||
|
|
||
| _Description and use cases of this component_ | ||
|
|
||
| ## Prior Art | ||
|
|
||
| _Include background research done for this component_ | ||
|
|
||
| - _Link to Open UI research_ | ||
| - _Link to comparison of v7 and v0_ | ||
| - _Link to GitHub epic issue for the converged component_ | ||
|
|
||
| ## Sample Code | ||
|
|
||
| _Provide some representative example code that uses the proposed API for the component_ | ||
|
|
||
| ## Variants | ||
|
|
||
| _Describe visual or functional variants of this control, if applicable. For example, a slider could have a 2D variant._ | ||
|
|
||
| ## API | ||
|
|
||
| _List the **Props** and **Slots** proposed for the component. Ideally this would just be a link to the component's `.types.ts` file_ | ||
|
|
||
| ## Structure | ||
|
|
||
| - _**Public**_ | ||
| - _**Internal**_ | ||
| - _**DOM** - how the component will be rendered as HTML elements_ | ||
|
|
||
| ## Migration | ||
|
|
||
| _Describe what will need to be done to upgrade from the existing implementations:_ | ||
|
|
||
| - _Migration from v8_ | ||
| - _Migration from v0_ | ||
|
|
||
| ## Behaviors | ||
|
|
||
| _Explain how the component will behave in use, including:_ | ||
|
|
||
| - _Component States_ | ||
| - _Interaction_ | ||
| - _Keyboard_ | ||
| - _Cursor_ | ||
| - _Touch_ | ||
| - _Screen readers_ | ||
|
|
||
| ## Accessibility | ||
|
|
||
| Base accessibility information is included in the design document. After the spec is filled and review, outcomes from it need to be communicated to design and incorporated in the design document. | ||
|
|
||
| - Decide whether to use **native element** or folow **ARIA** and provide reasons | ||
| - Identify the **[ARIA](https://www.w3.org/TR/wai-aria-practices-1.2/) pattern** and, if the component is listed there, follow its specification as possible. | ||
| - Identify accessibility **variants**, the `role` ([ARIA roles](https://www.w3.org/TR/wai-aria-1.1/#role_definitions)) of the component, its `slots` and `aria-*` props. | ||
| - Describe the **keyboard navigation**: Tab Oder and Arrow Key Navigation. Describe any other keyboard **shortcuts** used | ||
| - Specify texts for **state change announcements** - [ARIA live regions | ||
| ](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions) (number of available items in dropdown, error messages, confirmations, ...) | ||
| - Identify UI parts that appear on **hover or focus** and specify keyboard and screen reader interaction with them | ||
| - List cases when **focus** needs to be **trapped** in sections of the UI (for dialogs and popups or for hierarchical navigation) | ||
| - List cases when **focus** needs to be **moved programatically** (if parts of the UI are appearing/disappearing or other cases) |
9 changes: 9 additions & 0 deletions
9
...ts/semantic-style-hooks-preview/library/etc/semantic-style-hooks-preview.api.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| ## API Report File for "@fluentui/semantic-style-hooks-preview" | ||
|
|
||
| > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
|
|
||
| ```ts | ||
|
|
||
| // (No @packageDocumentation comment for this package) | ||
|
|
||
| ``` |
34 changes: 34 additions & 0 deletions
34
packages/react-components/semantic-style-hooks-preview/library/jest.config.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| // @ts-check | ||
| /* eslint-disable */ | ||
|
|
||
| const { readFileSync } = require('node:fs'); | ||
| const { join } = require('node:path'); | ||
|
|
||
| // Reading the SWC compilation config and remove the "exclude" | ||
| // for the test files to be compiled by SWC | ||
| const { exclude: _, ...swcJestConfig } = JSON.parse(readFileSync(join(__dirname, '.swcrc'), 'utf-8')); | ||
|
|
||
| // disable .swcrc look-up by SWC core because we're passing in swcJestConfig ourselves. | ||
| // If we do not disable this, SWC Core will read .swcrc and won't transform our test files due to "exclude" | ||
| if (swcJestConfig.swcrc === undefined) { | ||
| swcJestConfig.swcrc = false; | ||
| } | ||
|
|
||
| // Uncomment if using global setup/teardown files being transformed via swc | ||
| // https://nx.dev/packages/jest/documents/overview#global-setup/teardown-with-nx-libraries | ||
| // jest needs EsModule Interop to find the default exported setup/teardown functions | ||
| // swcJestConfig.module.noInterop = false; | ||
|
|
||
| /** | ||
| * @type {import('@jest/types').Config.InitialOptions} | ||
| */ | ||
| module.exports = { | ||
| displayName: 'semantic-style-hooks-preview', | ||
| preset: '../../../../jest.preset.js', | ||
| transform: { | ||
| '^.+\\.tsx?$': ['@swc/jest', swcJestConfig], | ||
| }, | ||
| coverageDirectory: './coverage', | ||
| setupFilesAfterEnv: ['./config/tests.js'], | ||
| snapshotSerializers: ['@griffel/jest-serializer'], | ||
| }; |
58 changes: 58 additions & 0 deletions
58
packages/react-components/semantic-style-hooks-preview/library/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| { | ||
| "name": "@fluentui/semantic-style-hooks-preview", | ||
| "version": "0.0.0", | ||
| "description": "New fluentui react package", | ||
| "main": "lib-commonjs/index.js", | ||
| "module": "lib/index.js", | ||
| "typings": "./dist/index.d.ts", | ||
| "sideEffects": false, | ||
| "files": [ | ||
| "*.md", | ||
| "dist/*.d.ts", | ||
| "lib", | ||
| "lib-commonjs" | ||
| ], | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/microsoft/fluentui" | ||
| }, | ||
| "license": "MIT", | ||
| "devDependencies": { | ||
| "@fluentui/eslint-plugin": "*", | ||
| "@fluentui/react-conformance": "*", | ||
| "@fluentui/react-conformance-griffel": "*", | ||
| "@fluentui/scripts-api-extractor": "*" | ||
| }, | ||
| "dependencies": { | ||
| "@fluentui/react-button": "^9.4.6", | ||
| "@fluentui/semantic-tokens": "^0.0.1", | ||
| "@fluentui/react-icons": "^2.0.245", | ||
| "@fluentui/react-provider": "^9.22.7", | ||
| "@fluentui/react-tabster": "^9.24.6", | ||
| "@fluentui/react-theme": "^9.1.24", | ||
| "@fluentui/react-utilities": "^9.19.0", | ||
| "@griffel/react": "^1.5.22", | ||
| "@swc/helpers": "^0.5.1" | ||
| }, | ||
| "peerDependencies": { | ||
| "@types/react": ">=16.14.0 <19.0.0", | ||
| "@types/react-dom": ">=16.9.0 <19.0.0", | ||
| "react": ">=16.14.0 <19.0.0", | ||
| "react-dom": ">=16.14.0 <19.0.0" | ||
| }, | ||
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "node": "./lib-commonjs/index.js", | ||
| "import": "./lib/index.js", | ||
| "require": "./lib-commonjs/index.js" | ||
| }, | ||
| "./package.json": "./package.json" | ||
| }, | ||
| "beachball": { | ||
| "disallowedChangeTypes": [ | ||
| "major", | ||
| "prerelease" | ||
| ] | ||
| } | ||
| } |
8 changes: 8 additions & 0 deletions
8
packages/react-components/semantic-style-hooks-preview/library/project.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "name": "semantic-style-hooks-preview", | ||
| "$schema": "../../../../node_modules/nx/schemas/project-schema.json", | ||
| "projectType": "library", | ||
| "sourceRoot": "packages/react-components/semantic-style-hooks-preview/library/src", | ||
| "tags": ["platform:web", "vNext"], | ||
| "implicitDependencies": [] | ||
| } |
1 change: 1 addition & 0 deletions
1
packages/react-components/semantic-style-hooks-preview/library/src/index.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export {}; |
15 changes: 15 additions & 0 deletions
15
packages/react-components/semantic-style-hooks-preview/library/src/testing/isConformant.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import { isConformant as baseIsConformant } from '@fluentui/react-conformance'; | ||
| import type { IsConformantOptions, TestObject } from '@fluentui/react-conformance'; | ||
| import griffelTests from '@fluentui/react-conformance-griffel'; | ||
|
|
||
| export function isConformant<TProps = {}>( | ||
| testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & { componentPath?: string }, | ||
| ): void { | ||
| const defaultOptions: Partial<IsConformantOptions<TProps>> = { | ||
| tsConfig: { configName: 'tsconfig.spec.json' }, | ||
| componentPath: require.main?.filename.replace('.test', ''), | ||
| extraTests: griffelTests as TestObject<TProps>, | ||
| }; | ||
|
|
||
| baseIsConformant(defaultOptions, testInfo); | ||
| } |
22 changes: 22 additions & 0 deletions
22
packages/react-components/semantic-style-hooks-preview/library/tsconfig.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "extends": "../../../../tsconfig.base.json", | ||
| "compilerOptions": { | ||
| "target": "ES2019", | ||
| "noEmit": true, | ||
| "isolatedModules": true, | ||
| "importHelpers": true, | ||
| "jsx": "react", | ||
| "noUnusedLocals": true, | ||
| "preserveConstEnums": true | ||
| }, | ||
| "include": [], | ||
| "files": [], | ||
| "references": [ | ||
| { | ||
| "path": "./tsconfig.lib.json" | ||
| }, | ||
| { | ||
| "path": "./tsconfig.spec.json" | ||
| } | ||
| ] | ||
| } |
22 changes: 22 additions & 0 deletions
22
packages/react-components/semantic-style-hooks-preview/library/tsconfig.lib.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "extends": "./tsconfig.json", | ||
| "compilerOptions": { | ||
| "noEmit": false, | ||
| "lib": ["ES2019", "dom"], | ||
| "declaration": true, | ||
| "declarationDir": "../../../../dist/out-tsc/types", | ||
| "outDir": "../../../../dist/out-tsc", | ||
| "inlineSources": true, | ||
| "types": ["static-assets", "environment"] | ||
| }, | ||
| "exclude": [ | ||
| "./src/testing/**", | ||
| "**/*.spec.ts", | ||
| "**/*.spec.tsx", | ||
| "**/*.test.ts", | ||
| "**/*.test.tsx", | ||
| "**/*.stories.ts", | ||
| "**/*.stories.tsx" | ||
| ], | ||
| "include": ["./src/**/*.ts", "./src/**/*.tsx"] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕵🏾♀️ visual changes to review in the Visual Change Report
vr-tests-react-components/Charts-DonutChart 3 screenshots
vr-tests-react-components/Positioning 2 screenshots
vr-tests-web-components/Badge 1 screenshots
vr-tests-web-components/Checkbox 1 screenshots
vr-tests-web-components/MenuList 1 screenshots
vr-tests-web-components/RadioGroup 1 screenshots
vr-tests/Callout 4 screenshots
vr-tests/Coachmark 1 screenshots
vr-tests/react-charting-MultiStackBarChart 1 screenshots