diff --git a/.changeset/heavy-regions-shake.md b/.changeset/heavy-regions-shake.md new file mode 100644 index 00000000000..6185af0e015 --- /dev/null +++ b/.changeset/heavy-regions-shake.md @@ -0,0 +1,86 @@ +--- +'@uifabricshared/foundation-composable': patch +'@fluentui-react-native/experimental-appearance-additions': patch +'@uifabricshared/theming-react-native': patch +'@uifabricshared/foundation-settings': patch +'@fluentui-react-native/experimental-activity-indicator': patch +'@fluentui-react-native/experimental-native-font-metrics': patch +'@uifabricshared/foundation-compose': patch +'@fluentui-react-native/experimental-native-date-picker': patch +'@uifabricshared/foundation-tokens': patch +'@fluentui-react-native/eslint-config-rules': patch +'@fluentui-react-native/themed-stylesheet': patch +'@uifabricshared/themed-settings': patch +'@fluentui-react-native/contextual-menu': patch +'@uifabricshared/theme-registry': patch +'@fluentui-react-native/vibrancy-view': patch +'@fluentui-react-native/immutable-merge': patch +'@fluentui-react-native/focus-trap-zone': patch +'@fluentui-react-native/notification': patch +'@uifabricshared/theming-ramp': patch +'@fluentui-react-native/experimental-menu-button': patch +'@fluentui-react-native/interactive-hooks': patch +'@fluentui-react-native/persona-coin': patch +'@fluentui-react-native/menu-button': patch +'@fluentui-react-native/radio-group': patch +'@fluentui-react-native/react-configs': patch +'@fluentui-react-native/experimental-checkbox': patch +'@fluentui-react-native/dropdown': patch +'@fluentui-react-native/experimental-expander': patch +'@fluentui-react-native/overflow': patch +'@fluentui-react-native/composition': patch +'@fluentui-react-native/merge-props': patch +'@fluentui-react-native/use-styling': patch +'@fluentui-react-native/android-theme': patch +'@fluentui-react-native/default-theme': patch +'@fluentui-react-native/theming-utils': patch +'@fluentui-react-native/focus-zone': patch +'@fluentui-react-native/pressable': patch +'@fluentui-react-native/separator': patch +'@fluentui-react-native/babel-config': patch +'@fluentui-react-native/popover': patch +'@fluentui-react-native/experimental-shimmer': patch +'@fluentui-react-native/spinner': patch +'@fluentui-react-native/tooltip': patch +'@fluentui-react-native/memo-cache': patch +'@fluentui-react-native/use-tokens': patch +'@fluentui-react-native/theme-tokens': patch +'@fluentui-react-native/checkbox': patch +'@fluentui-react-native/jest-config': patch +'@fluentui-react-native/experimental-avatar': patch +'@fluentui-react-native/drawer': patch +'@fluentui-react-native/experimental-shadow': patch +'@fluentui-react-native/framework': patch +'@fluentui-react-native/use-slots': patch +'@fluentui-react-native/apple-theme': patch +'@fluentui-react-native/theme-types': patch +'@fluentui-react-native/win32-theme': patch +'@fluentui-react-native/callout': patch +'@fluentui-react-native/divider': patch +'@fluentui-react-native/persona': patch +'@fluentui-react-native/tablist': patch +'@fluentui-react-native/kit-config': patch +'@fluentui-react-native/experimental-stack': patch +'@fluentui-react-native/use-slot': patch +'@fluentui-react-native/avatar': patch +'@fluentui-react-native/button': patch +'@fluentui-react-native/switch': patch +'@fluentui-react-native/badge': patch +'@fluentui-react-native/input': patch +'@fluentui-react-native/stack': patch +'@fluentui-react-native/chip': patch +'@fluentui-react-native/icon': patch +'@fluentui-react-native/link': patch +'@fluentui-react-native/menu': patch +'@fluentui-react-native/text': patch +'@fluentui-react-native/theme': patch +'@fluentui-react-native/framework-base': patch +'@fluentui/react-native': patch +'@fluentui-react-native/adapters': patch +'@fluentui-react-native/styling-utils': patch +'@fluentui-react-native/tokens': patch +'@fluentui-react-native/codemods': patch +'@fluentui-react-native/scripts': patch +--- + +chore: migrate to `oxfmt` diff --git a/.config/1espt/PipelineAutobaseliningConfig.yml b/.config/1espt/PipelineAutobaseliningConfig.yml index e86b6b8ad04..d8b05585949 100644 --- a/.config/1espt/PipelineAutobaseliningConfig.yml +++ b/.config/1espt/PipelineAutobaseliningConfig.yml @@ -1,25 +1,25 @@ -## DO NOT MODIFY THIS FILE MANUALLY. This is part of auto-baselining from 1ES Pipeline Templates. Go to [https://aka.ms/1espt-autobaselining] for more details. - -pipelines: - 18514: - retail: - source: - credscan: - lastModifiedDate: 2024-09-20 - eslint: - lastModifiedDate: 2024-09-20 - bandit: - lastModifiedDate: 2024-09-20 - psscriptanalyzer: - lastModifiedDate: 2024-09-20 - armory: - lastModifiedDate: 2024-09-20 - binary: - credscan: - lastModifiedDate: 2024-09-20 - binskim: - lastModifiedDate: 2025-06-11 - prefast: - lastModifiedDate: 2025-06-11 - roslyn: - lastModifiedDate: 2024-09-20 +## DO NOT MODIFY THIS FILE MANUALLY. This is part of auto-baselining from 1ES Pipeline Templates. Go to [https://aka.ms/1espt-autobaselining] for more details. + +pipelines: + 18514: + retail: + source: + credscan: + lastModifiedDate: 2024-09-20 + eslint: + lastModifiedDate: 2024-09-20 + bandit: + lastModifiedDate: 2024-09-20 + psscriptanalyzer: + lastModifiedDate: 2024-09-20 + armory: + lastModifiedDate: 2024-09-20 + binary: + credscan: + lastModifiedDate: 2024-09-20 + binskim: + lastModifiedDate: 2025-06-11 + prefast: + lastModifiedDate: 2025-06-11 + roslyn: + lastModifiedDate: 2024-09-20 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 3263dc7c95d..5d7a793d535 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,5 @@ ### Platforms Impacted + - [ ] iOS - [ ] macOS - [ ] win32 (Office) @@ -14,12 +15,13 @@ (how the change was tested, including both manual and automated tests) | Before | After | -|----------------------------------------------|--------------------------------------------| +| -------------------------------------------- | ------------------------------------------ | | Screenshot or description before this change | Screenshot or description with this change | ### Pull request checklist This PR has considered (when applicable): + - [ ] Automated Tests - [ ] Documentation and examples - [ ] Keyboard Accessibility diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 6f88052bf45..f5e7db30236 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -1,126 +1,126 @@ -id: -name: GitOps.PullRequestIssueManagement -description: GitOps.PullRequestIssueManagement primitive -owner: -resource: repository -disabled: false -where: -configuration: - resourceManagementConfiguration: - scheduledSearches: - - description: - frequencies: - - hourly: - hour: 6 - filters: - - isIssue - - isOpen - - hasLabel: - label: 'Needs: Author feedback' - - hasLabel: - label: 'Status: no recent activity' - - noActivitySince: - days: 3 - actions: - - closeIssue - - description: - frequencies: - - hourly: - hour: 6 - filters: - - isIssue - - isOpen - - hasLabel: - label: 'Needs: Author feedback' - - noActivitySince: - days: 4 - - isNotLabeledWith: - label: 'Status: no recent activity' - actions: - - addLabel: - label: 'Status: no recent activity' - - addReply: - reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. - - description: - frequencies: - - hourly: - hour: 6 - filters: - - isIssue - - isOpen - - hasLabel: - label: 'Status: Duplicate' - - noActivitySince: - days: 1 - actions: - - addReply: - reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes. - - closeIssue - eventResponderTasks: - - if: - - payloadType: Issue_Comment - - isAction: - action: Created - - isActivitySender: - issueAuthor: True - - hasLabel: - label: 'Needs: Author feedback' - - isOpen - then: - - addLabel: - label: 'Needs: attention :wave:' - - removeLabel: - label: 'Needs: Author feedback' - description: - - if: - - payloadType: Issues - - not: - isAction: - action: Closed - - hasLabel: - label: 'Status: no recent activity' - then: - - removeLabel: - label: 'Status: no recent activity' - description: - - if: - - payloadType: Issue_Comment - - hasLabel: - label: 'Status: no recent activity' - then: - - removeLabel: - label: 'Status: no recent activity' - description: - - if: - - payloadType: Pull_Request - then: - - inPrLabel: - label: 'Status: In PR' - description: - - if: - - payloadType: Pull_Request - - hasLabel: - label: 'AutoMerge :repeat:' - then: - - enableAutoMerge: - mergeMethod: Squash - description: - - if: - - payloadType: Pull_Request - - labelRemoved: - label: 'AutoMerge :repeat:' - then: - - disableAutoMerge - description: - - if: - - payloadType: Pull_Request - - hasLabel: - label: 'Type: Dependencies' - - isAction: - action: Labeled - then: - - addLabel: - label: 'AutoMerge :repeat:' - description: -onFailure: -onSuccess: +id: +name: GitOps.PullRequestIssueManagement +description: GitOps.PullRequestIssueManagement primitive +owner: +resource: repository +disabled: false +where: +configuration: + resourceManagementConfiguration: + scheduledSearches: + - description: + frequencies: + - hourly: + hour: 6 + filters: + - isIssue + - isOpen + - hasLabel: + label: 'Needs: Author feedback' + - hasLabel: + label: 'Status: no recent activity' + - noActivitySince: + days: 3 + actions: + - closeIssue + - description: + frequencies: + - hourly: + hour: 6 + filters: + - isIssue + - isOpen + - hasLabel: + label: 'Needs: Author feedback' + - noActivitySince: + days: 4 + - isNotLabeledWith: + label: 'Status: no recent activity' + actions: + - addLabel: + label: 'Status: no recent activity' + - addReply: + reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. + - description: + frequencies: + - hourly: + hour: 6 + filters: + - isIssue + - isOpen + - hasLabel: + label: 'Status: Duplicate' + - noActivitySince: + days: 1 + actions: + - addReply: + reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes. + - closeIssue + eventResponderTasks: + - if: + - payloadType: Issue_Comment + - isAction: + action: Created + - isActivitySender: + issueAuthor: True + - hasLabel: + label: 'Needs: Author feedback' + - isOpen + then: + - addLabel: + label: 'Needs: attention :wave:' + - removeLabel: + label: 'Needs: Author feedback' + description: + - if: + - payloadType: Issues + - not: + isAction: + action: Closed + - hasLabel: + label: 'Status: no recent activity' + then: + - removeLabel: + label: 'Status: no recent activity' + description: + - if: + - payloadType: Issue_Comment + - hasLabel: + label: 'Status: no recent activity' + then: + - removeLabel: + label: 'Status: no recent activity' + description: + - if: + - payloadType: Pull_Request + then: + - inPrLabel: + label: 'Status: In PR' + description: + - if: + - payloadType: Pull_Request + - hasLabel: + label: 'AutoMerge :repeat:' + then: + - enableAutoMerge: + mergeMethod: Squash + description: + - if: + - payloadType: Pull_Request + - labelRemoved: + label: 'AutoMerge :repeat:' + then: + - disableAutoMerge + description: + - if: + - payloadType: Pull_Request + - hasLabel: + label: 'Type: Dependencies' + - isAction: + action: Labeled + then: + - addLabel: + label: 'AutoMerge :repeat:' + description: +onFailure: +onSuccess: diff --git a/.github/scripts/validate-changesets.mts b/.github/scripts/validate-changesets.mts index dc46dfc9ca5..7ededf0f461 100644 --- a/.github/scripts/validate-changesets.mts +++ b/.github/scripts/validate-changesets.mts @@ -71,7 +71,7 @@ async function checkForMajorBumps() { const bumpsData: ChangesetStatusOutput = JSON.parse(fs.readFileSync('bumps.json', 'utf-8')); fs.unlinkSync('bumps.json'); - const majorBumps = bumpsData.releases.filter(release => release.type === 'major'); + const majorBumps = bumpsData.releases.filter((release) => release.type === 'major'); if (majorBumps.length > 0) { log.error('❌ Major version bumps detected!\n'); diff --git a/.github/workflows/changesets-version.yml b/.github/workflows/changesets-version.yml index 7cd7b37e1fc..e44d5b7f9ab 100644 --- a/.github/workflows/changesets-version.yml +++ b/.github/workflows/changesets-version.yml @@ -5,7 +5,6 @@ on: branches: [main] workflow_dispatch: - jobs: version: name: Create Version Bump PR diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a9493305c5b..38b0f17c351 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -27,8 +27,8 @@ jobs: - name: Install dependencies run: yarn - - name: Check prettier - run: yarn prettier + - name: Check formatting + run: yarn format:check - name: Run lint-lockfile run: yarn lint-lockfile diff --git a/.oxfmtrc.json b/.oxfmtrc.json new file mode 100644 index 00000000000..3a80c8c0534 --- /dev/null +++ b/.oxfmtrc.json @@ -0,0 +1,16 @@ +{ + "$schema": "./node_modules/oxfmt/configuration_schema.json", + "printWidth": 140, + "singleQuote": true, + "ignorePatterns": [ + ".yarnrc.yml", + ".changesets/*.md", + "**/__fixtures__/**", + "**/__testfixtures__/**", + "**/lib-commonjs/**", + "**/dist/**", + "**/CHANGELOG.*", + "**/CODE_OF_CONDUCT.md", + "**/SECURITY.md" + ] +} diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 614670f16c2..00000000000 --- a/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -#Ignore transforms test output files -**/__testfixtures__/*.output.tsx \ No newline at end of file diff --git a/.yarn/plugins/@rnx-kit/yarn-plugin-dynamic-extensions.cjs b/.yarn/plugins/@rnx-kit/yarn-plugin-dynamic-extensions.cjs index 455b09e758f..2beb8837a83 100644 --- a/.yarn/plugins/@rnx-kit/yarn-plugin-dynamic-extensions.cjs +++ b/.yarn/plugins/@rnx-kit/yarn-plugin-dynamic-extensions.cjs @@ -6,16 +6,16 @@ * @typedef {{ cwd: string; manifest: Manifest["raw"]; }} Workspace; */ -const DYNAMIC_PACKAGE_EXTENSIONS_KEY = "dynamicPackageExtensions"; +const DYNAMIC_PACKAGE_EXTENSIONS_KEY = 'dynamicPackageExtensions'; // This module *must* be CommonJS because `actions/setup-node` (and probably // other GitHub actions) does not support ESM. Yarn itself does. -exports.name = "@rnx-kit/yarn-plugin-dynamic-extensions"; +exports.name = '@rnx-kit/yarn-plugin-dynamic-extensions'; /** @type {(require: NodeJS.Require) => Plugin} */ exports.factory = (require) => { - const { Project, SettingsType, structUtils } = require("@yarnpkg/core"); - const { npath } = require("@yarnpkg/fslib"); + const { Project, SettingsType, structUtils } = require('@yarnpkg/core'); + const { npath } = require('@yarnpkg/fslib'); /** * @param {Configuration} configuration @@ -24,12 +24,12 @@ exports.factory = (require) => { */ async function loadUserExtensions(configuration, projectRoot) { const packageExtensions = configuration.get(DYNAMIC_PACKAGE_EXTENSIONS_KEY); - if (typeof packageExtensions !== "string") { + if (typeof packageExtensions !== 'string') { return; } - const path = require("node:path"); - const { pathToFileURL } = require("node:url"); + const path = require('node:path'); + const { pathToFileURL } = require('node:url'); // Make sure we resolve user extensions relative to the source config const source = configuration.sources.get(DYNAMIC_PACKAGE_EXTENSIONS_KEY); @@ -45,26 +45,20 @@ exports.factory = (require) => { /** @type {Plugin["configuration"] & Record} */ const configuration = {}; configuration[DYNAMIC_PACKAGE_EXTENSIONS_KEY] = { - description: "Path to module providing package extensions", + description: 'Path to module providing package extensions', type: SettingsType.STRING, }; return { configuration, hooks: { - registerPackageExtensions: async ( - configuration, - registerPackageExtension - ) => { + registerPackageExtensions: async (configuration, registerPackageExtension) => { const { projectCwd } = configuration; if (!projectCwd) { return; } - const getUserExtensions = await loadUserExtensions( - configuration, - projectCwd - ); + const getUserExtensions = await loadUserExtensions(configuration, projectCwd); if (!getUserExtensions) { return; } diff --git a/CLAUDE.md b/CLAUDE.md index cf82e188c5f..f887fb2719a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,6 +9,7 @@ This is the **FluentUI React Native** repository, a monorepo containing React Na ## Repository Architecture ### High-Level Structure + ``` /apps/ - Demo and test applications /fluent-tester/ - Main test app for component development @@ -51,6 +52,7 @@ This is the **FluentUI React Native** repository, a monorepo containing React Na The project uses **Yarn 4** (Berry) in **pnpm mode** with **Lage** as the task runner for orchestrating builds across the monorepo. The pnpm mode provides better disk space efficiency and stricter dependency management. ### Primary Commands + ```bash yarn build # TypeScript build for all packages (outputs to lib/ and lib-commonjs/) yarn test # Build, lint, and run tests across all packages @@ -61,8 +63,9 @@ yarn clean # Clean build artifacts ``` ### Development Commands + ```bash -yarn prettier-fix # Format code with Prettier +yarn format # Format code with oxfmt yarn depcheck # Check for unused dependencies across packages yarn depcheck-fix # Fix depcheck issues automatically yarn align-deps # Align React Native dependencies using @rnx-kit/align-deps @@ -70,14 +73,18 @@ yarn changeset # Generate changeset files (required before PR merge) ``` ### Lage Configuration + The build pipeline is defined in `lage.config.js`: + - Tasks have dependency ordering (e.g., `test` depends on `build`) - Lage uses caching to avoid redundant steps - Add `--no-cache` to bypass caching - Add `--verbose` for detailed output ### Package-Level Commands + Individual packages use `fluentui-scripts` (in `/scripts/`) which provides: + - `yarn build` - TypeScript compilation to `lib/` (ESM) and `lib-commonjs/` (CJS) - The build script automatically sets `--moduleResolution` to match `--module` for TypeScript 5.8+ compatibility - ESM builds use `--module esnext --moduleResolution bundler` @@ -88,14 +95,15 @@ Individual packages use `fluentui-scripts` (in `/scripts/`) which provides: - Validates dependencies, scripts, entry points, and build configuration - `yarn test` - Jest tests (where applicable) - `yarn depcheck` - Check for unused dependencies -- `yarn prettier` - Check code formatting -- `yarn prettier-fix` - Fix code formatting +- `yarn format` - Check code formatting +- `yarn format:fix` - Fix code formatting ## TypeScript Configuration The repository uses **TypeScript 5.8+** with **@typescript/native-preview** for improved performance and React Native compatibility. The native preview is automatically added to packages with a `tsconfig.json` via dynamic package extensions. ### Key TypeScript Settings + - Base configuration in `/scripts/configs/tsconfig.json` - Module system: `node16` with matching `moduleResolution: node16` - Target: `es2022` @@ -103,13 +111,16 @@ The repository uses **TypeScript 5.8+** with **@typescript/native-preview** for - **TypeScript Native Preview**: Packages automatically receive `@typescript/native-preview` as a development dependency ### TypeScript 5.8+ Compatibility Notes + - The `suppressImplicitAnyIndexErrors` option has been removed (deprecated in TS 5.8+) - Module resolution must match module format when using Node16 resolution - Stricter type checking for platform values (e.g., `Platform.OS` doesn't include 'win32' in React Native types, but react-native-windows does support it at runtime) - TypeScript native preview provides better performance for large React Native codebases ### Framework Type System + The composition framework uses precise types for better type safety: + - **`SlotFn`**: Slot functions return `React.ReactElement | null` (not `ReactNode`) - This reflects the actual behavior: slots always return elements via staged render or `React.createElement` - Provides better type inference when accessing slot props (e.g., `Slots.root({}).props`) @@ -120,6 +131,7 @@ The composition framework uses precise types for better type safety: ## Development Workflow ### Setting Up Development Environment + 1. Clone repository 2. Run `yarn` to install dependencies 3. Run `yarn build` to build all packages @@ -130,6 +142,7 @@ The composition framework uses precise types for better type safety: **Component Location**: Components are in `/packages/components/` (stable) or `/packages/experimental/` (under development). **Component Structure**: Each component typically has: + - `package.json` - Package definition with workspace dependencies - `src/index.ts` - Main export file - `src/.tsx` - Component implementation (requires `/** @jsxImportSource @fluentui-react-native/framework-base */` pragma) @@ -143,6 +156,7 @@ The composition framework uses precise types for better type safety: **Using Composition Framework**: Use `@fluentui-react-native/composition` for new components. For simpler components without slots/tokens, use the `stagedComponent` pattern from `@fluentui-react-native/use-slot`. **JSX Runtime**: All components use the modern automatic JSX runtime: + - Add `/** @jsxImportSource @fluentui-react-native/framework-base */` at the top of `.tsx` files - The custom jsx-runtime intercepts JSX calls to optimize slot rendering - No need to import `withSlots` - it's handled automatically by the runtime @@ -150,11 +164,13 @@ The composition framework uses precise types for better type safety: - Packages using the jsx-runtime need `@fluentui-react-native/framework-base` in `devDependencies` **TypeScript Patterns**: + - Slot functions automatically return `React.ReactElement`, so you can access `.props` directly without type assertions - When checking for win32 platform: `Platform.OS === ('win32' as any)` - TypeScript doesn't recognize 'win32' but react-native-windows supports it - Final render functions should return `FinalRender` with children as rest parameters: `(props: TProps, ...children: React.ReactNode[])` **Native Modules**: Components with native code (iOS/Android/Windows): + - Typically have one root slot wrapping the native component - Use `codegenNativeComponent` for new architecture compatibility - May use `constantsToExport` for default values from native side @@ -176,6 +192,7 @@ The composition framework uses precise types for better type safety: ### Theming Platform-specific themes are in `/packages/theming/`: + - `android-theme/` - Android theming - `apple-theme/` - iOS and macOS theming - `win32-theme/` - Win32 theming @@ -190,6 +207,7 @@ Components require `ThemeProvider` from `@fluentui-react-native/theme` to work p **Manual Testing**: Use FluentUI Tester app (`/apps/fluent-tester/`) for interactive component testing. Test pages are in `/apps/fluent-tester/src/TestComponents/`. **E2E Testing**: Required for all new components. Uses Appium + WebDriverIO. + - E2E tests live in `/apps/E2E/src//` - Each component needs: - Page Object (`PageObject..ts`) - Interface to interact with test page @@ -205,25 +223,30 @@ Components require `ThemeProvider` from `@fluentui-react-native/theme` to work p ### Platform-Specific Development **iOS/macOS**: + - May wrap native controls from FluentUI Apple - Requires `.podspec` files for native modules - Run `pod install` after adding dependencies **Android**: + - Platform-specific styling and tokens - Uses `accessibilityLabel` for E2E selectors (other platforms use `testID`) **Win32**: + - Separate test app at `/apps/win32/` - Uses WinAppDriver for E2E testing **Windows (UWP)**: + - Separate test app configuration - Legacy support ## Version Management **Changesets**: Used for change logs and versioning. + - Run `yarn changeset` to create changeset files when modifying packages - Changesets are required before merging PRs (validated in CI) - Changesets config in `.changeset/config.json` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 934cb0aa13d..4b793e9a533 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -47,7 +47,6 @@ This section covers creating and adding a new component package to FluentUI Reac Most components should use the compose framework as it offers the comprehensive set of patterns like tokens and slots, but if you're creating a simple component that doesn't require those patterns, there's a lighter pattern called [stagedComponent](./packages/framework-base/src/component-patterns/stagedComponent.ts). The stagedComponent pattern splits up the render function into two stages. Stage 1 handles building props and hook calls (best to separate the hook calls from the render tree since they rely on call order). Stage 2 returns the actual element tree, any conditional branching should happen here (Icon is a good example of using stagedCompoenent). 1. Create a new directory in of these two locations, depending on your component: - - `fluentui-react-native/packages/components/` - `fluentui-react-native/packages/experimental/` @@ -62,7 +61,6 @@ Reach out to Samuel Freiberg with any questions related to E2E testing. ### Adding the JS source code to your component 1. Create a `src/` subdirectory in your component directory with a minimum of two files (listed below). You may optionally choose to subdivide your code however you wish; there are plenty of examples in the other components of FluentUI React Native. - 1. `index.ts` - This is the file listed as `main` inside your package.json and simply exports other files. 1. `.tsx` - This is the file that will actually define your function component, and compose it into a higher order component with slots, theming, and design tokens. - Note that we need the comment `/** @jsxRuntime classic */ @@ -187,7 +185,6 @@ To add a native module that wraps a FluentUI Android control: 2. Inside the new directory you just created, add the following files. In all of the newly created files, add your package name at the top of the file: package com.microsoft.fnandroid.(new-component) a. **(new-component)ViewManager.kt**: This Kotlin file imports FluentUI Android, and creates a subclass of RCTViewManager to instantiate and return your FluentUI Android control. - - Implement the createViewInstance method - Expose view property setters using @ReactProp (or @ReactPropGroup) It's important to note that in order for properties and methods to be available to React Native, they must add the @ReactMethod decorator to it's declaration. @@ -195,7 +192,6 @@ To add a native module that wraps a FluentUI Android control: b. **(new-component)Module.kt**: This file will contain your native module class. Your module class will extend the ReactContextBaseJavaModule c. **(new-component)Package.kt** - - Add the ViewManager in createViewManagers of the applications package - Add the Module in createNativeModules of the applications package @@ -204,13 +200,11 @@ To add a native module that wraps a FluentUI Android control: 4. Autolink Native Module a. Gradle Build Init plugin - - Run gradle init inside android directory - Select type of project to generate: Basic - Select build script DSL: Groovy b. Include dependencies for android build environment - - Edit the generated build.gradle file - Add dependencies for kotlin, maven, react-native, etc - Add dependency for FluentUIAndroid diff --git a/README.md b/README.md index 045d9f23e38..f8ec4dc3375 100644 --- a/README.md +++ b/README.md @@ -120,14 +120,9 @@ After a successful yarn build, you can explore FluentUI Tester, our demo applica Note: If your repo is located on either your Desktop or Documents folder, you may encounter the error: "Watchman error... Operation not permitted". Clone it in a different directory to avoid Watchman permission issues. -### Prettier +### Formatting -This repo is set up to run [Prettier](https://prettier.io/). To run Prettier in fix mode on the repo, run `yarn prettier-fix` at the root of the Repo. - -If you are using [Visual Studio Code as your editor, you can configure it to run Prettier on save. Prettier is a recommended extension for the repo. You can configure it to run by: - -1. Installing the Prettier extension for VSCode -2. Going to Settings > Text Editor > Formatting > Check Format On Save +This repo is set up to run [oxfmt](https://oxc.rs/docs/guide/usage/formatter.html). To run oxfmt in fix mode on the repo, run `yarn format:fix` at the root of the Repo. ## Contributing diff --git a/apps/E2E/README.md b/apps/E2E/README.md index c69e432c9b4..55f077726a4 100644 --- a/apps/E2E/README.md +++ b/apps/E2E/README.md @@ -284,13 +284,11 @@ When an E2E test run fails within our CI, crucial information is output to Azure 2. Click on the "# published" section. ![E2E_Debugging_Step_2](../../assets/E2E/E2E_Debugging_Step_2.png) 3. Here, you have crucial information to help you debug the problem. - - The bottom files (green) are screenshots of the failing tests. The first one from the top (in this case, Svg-Test-Page), is the test failing the whole run. This is the one you're focus should be on. - The middle file (pink) is the Appium output file. This contains more in-depth information on each test, including possible failures with WebDriverIO or the driver being used. - The top folder (blue) is the Allure reporter output. In order to generate the report, you must: - 1. Download the folder and unzip it 2. Navigate to it's location within your cmd, and type: diff --git a/apps/E2E/package.json b/apps/E2E/package.json index 9a877d03327..9738dec15f7 100644 --- a/apps/E2E/package.json +++ b/apps/E2E/package.json @@ -2,12 +2,19 @@ "name": "@fluentui-react-native/e2e-testing", "version": "1.43.11", "description": "Package containing E2E testing specs", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "apps/E2E" }, - "license": "MIT", + "files": [ + "src/**/*", + "dist/*" + ], + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -15,13 +22,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", - "files": [ - "src/**/*", - "dist/*" - ], "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -80,9 +80,6 @@ "ts-node": "^10.7.0", "webdriverio": "catalog:" }, - "installConfig": { - "hoistingLimits": "dependencies" - }, "peerDependencies": { "@office-iss/react-native-win32": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0", "@types/react": "~18.2.0 || ~19.0.0 || ~19.1.0", @@ -105,6 +102,9 @@ "optional": true } }, + "installConfig": { + "hoistingLimits": "dependencies" + }, "rnx-kit": { "kitType": "library", "alignDeps": { diff --git a/apps/E2E/src/Shadow/specs/Shadow.spec.ios.ts b/apps/E2E/src/Shadow/specs/Shadow.spec.ios.ts index 8340bf761bf..739fe598e7b 100644 --- a/apps/E2E/src/Shadow/specs/Shadow.spec.ios.ts +++ b/apps/E2E/src/Shadow/specs/Shadow.spec.ios.ts @@ -3,7 +3,7 @@ import ShadowPageObject from '../pages/ShadowPageObject'; // Before testing begins, allow up to 60 seconds for app to open describe('Shadow Testing Initialization', () => { it('Wait for app load', async () => { - expect(await ShadowPageObject.waitForInitialPageToDisplay()).toBeTrue(); + expect(await ShadowPageObject.waitForInitialPageToDisplay()).toBeTrue(); }); it('Click and navigate to Shadow test page', async () => { diff --git a/apps/component-generator/component-templates/ComponentTemplate/package.json b/apps/component-generator/component-templates/ComponentTemplate/package.json index ef976b40381..7b3117d4ba3 100644 --- a/apps/component-generator/component-templates/ComponentTemplate/package.json +++ b/apps/component-generator/component-templates/ComponentTemplate/package.json @@ -1,11 +1,18 @@ { "name": "@fluentui-react-native/component-name", "version": "0.1.0", + "private": true, "description": "add component-description", + "license": "MIT", + "author": "", + "repository": { + "type": "git", + "url": "https://github.com/microsoft/fluentui-react-native.git", + "directory": "packages/components/ComponentTemplate" + }, "main": "src/index.ts", "module": "src/index.ts", "types": "lib/index.d.ts", - "private": true, "scripts": { "build": "fluentui-scripts build", "clean": "fluentui-scripts clean", @@ -15,22 +22,17 @@ "lint-package": "fluentui-scripts lint-package", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "prettier-fix": "fluentui-scripts prettier --fix true" }, - "repository": { - "type": "git", - "url": "https://github.com/microsoft/fluentui-react-native.git", - "directory": "packages/components/ComponentTemplate" - }, "dependencies": {}, "devDependencies": { "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/eslint-config-rules": "workspace:*", "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/test-tools": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", + "@fluentui-react-native/test-tools": "workspace:*", "react": "18.2.0", "react-native": "^0.71.0" }, @@ -48,7 +50,5 @@ "tools-babel" ] } - }, - "author": "", - "license": "MIT" + } } diff --git a/apps/component-generator/component-templates/ComponentTemplate/src/ComponentNameTokens.ts b/apps/component-generator/component-templates/ComponentTemplate/src/ComponentNameTokens.ts index e956750cfd0..35c8e069d69 100644 --- a/apps/component-generator/component-templates/ComponentTemplate/src/ComponentNameTokens.ts +++ b/apps/component-generator/component-templates/ComponentTemplate/src/ComponentNameTokens.ts @@ -22,4 +22,4 @@ export const defaultComponentNameTokens: TokenSettings", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "apps/fluent-tester" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "android": "rnx-cli run --platform android", "build": "fluentui-scripts build", @@ -36,13 +36,10 @@ "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", "macos": "rnx-cli run --platform macos", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "rnx-cli start", "windows": "react-native run-windows --arch x64 --sln windows/FluentTester.sln" }, - "jest": { - "preset": "react-native" - }, "dependencies": { "@types/node": "catalog:", "@types/react": "~18.2.0", @@ -103,6 +100,9 @@ "react-test-renderer": "18.2.0", "webdriverio": "catalog:" }, + "jest": { + "preset": "react-native" + }, "furn": { "depcheck": { "ignoreMatches": [ diff --git a/apps/tester-core/package.json b/apps/tester-core/package.json index 42b4ada358a..3d5c8b06f5c 100644 --- a/apps/tester-core/package.json +++ b/apps/tester-core/package.json @@ -3,13 +3,16 @@ "version": "0.1.1", "description": "Core implementation of the fluent tester app", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "apps/fluent-tester-core" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,10 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier" - }, - "jest": { - "preset": "react-native" + "format": "fluentui-scripts format" }, "dependencies": { "@fluentui-react-native/adapters": "workspace:*", @@ -198,6 +195,9 @@ "optional": true } }, + "jest": { + "preset": "react-native" + }, "furn": { "depcheck": { "ignoreMatches": [ diff --git a/apps/win32-81/.watchmanconfig b/apps/win32-81/.watchmanconfig index 9e26dfeeb6e..0967ef424bc 100644 --- a/apps/win32-81/.watchmanconfig +++ b/apps/win32-81/.watchmanconfig @@ -1 +1 @@ -{} \ No newline at end of file +{} diff --git a/apps/win32-81/app.json b/apps/win32-81/app.json index be664ec1f20..73444aba9cb 100644 --- a/apps/win32-81/app.json +++ b/apps/win32-81/app.json @@ -1,4 +1,4 @@ { "name": "FluentTester", "displayName": "FluentTester" -} \ No newline at end of file +} diff --git a/apps/win32-81/package.json b/apps/win32-81/package.json index d5f97ba36fd..9226b9240a4 100644 --- a/apps/win32-81/package.json +++ b/apps/win32-81/package.json @@ -7,6 +7,9 @@ "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "apps/win32" }, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -14,9 +17,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,16 +27,13 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "run-win32": "rex-win32 --bundle index.win32 --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8", "run-win32-dev": "rex-win32 --bundle index --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useFastRefresh", "run-win32-devmain": "rex-win32 --bundle index.win32 --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useDevMain ", "run-win32-devmain-dev": "rex-win32 --bundle index --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useFastRefresh --useDevMain", "start": "rnx-cli start" }, - "jest": { - "preset": "react-native" - }, "dependencies": { "@fluentui-react-native/tester-core": "workspace:*", "@office-iss/react-native-win32": "^0.81.0", @@ -77,6 +74,9 @@ "react-test-renderer": "19.1.0", "rimraf": "catalog:" }, + "jest": { + "preset": "react-native" + }, "furn": { "depcheck": { "ignoreMatches": [ diff --git a/apps/win32/.watchmanconfig b/apps/win32/.watchmanconfig index 9e26dfeeb6e..0967ef424bc 100644 --- a/apps/win32/.watchmanconfig +++ b/apps/win32/.watchmanconfig @@ -1 +1 @@ -{} \ No newline at end of file +{} diff --git a/apps/win32/app.json b/apps/win32/app.json index be664ec1f20..73444aba9cb 100644 --- a/apps/win32/app.json +++ b/apps/win32/app.json @@ -1,4 +1,4 @@ { "name": "FluentTester", "displayName": "FluentTester" -} \ No newline at end of file +} diff --git a/apps/win32/package.json b/apps/win32/package.json index 3ef851f3d91..3dfad10f520 100644 --- a/apps/win32/package.json +++ b/apps/win32/package.json @@ -7,6 +7,9 @@ "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "apps/win32" }, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -14,9 +17,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,16 +27,13 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "run-win32": "rex-win32 --bundle index.win32 --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8", "run-win32-dev": "rex-win32 --bundle index --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useFastRefresh", "run-win32-devmain": "rex-win32 --bundle index.win32 --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useDevMain ", "run-win32-devmain-dev": "rex-win32 --bundle index --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useFastRefresh --useDevMain", "start": "rnx-cli start" }, - "jest": { - "preset": "react-native" - }, "dependencies": { "@fluentui-react-native/tester-core": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -72,6 +69,9 @@ "react-test-renderer": "18.2.0", "rimraf": "catalog:" }, + "jest": { + "preset": "react-native" + }, "furn": { "depcheck": { "ignoreMatches": [ diff --git a/docs/pages/Components/Checkbox.md b/docs/pages/Components/Checkbox.md index 6b5080fd46a..100cd255f7a 100644 --- a/docs/pages/Components/Checkbox.md +++ b/docs/pages/Components/Checkbox.md @@ -1,59 +1,67 @@ # Component Name: Checkbox ## Purpose: + The goal of this Checkbox component is to allows users to switch between two mutually exclusive options (checked or unchecked, on or off) through a single click or tap. It can also be used to indicate a subordinate setting or preference when paired with another control. ## Do's: - - Allow users to choose any combination of options when several Checkboxes are grouped together. + +- Allow users to choose any combination of options when several Checkboxes are grouped together. ## Don't: - - Don't use a Checkbox as an on/off control. Instead use a toggle switch. - - Don’t use a Checkbox when the user can choose only one option from the group, use radio buttons instead. - - Don't put two groups of Checkboxes next to each other. Separate the two groups with labels. + +- Don't use a Checkbox as an on/off control. Instead use a toggle switch. +- Don’t use a Checkbox when the user can choose only one option from the group, use radio buttons instead. +- Don't put two groups of Checkboxes next to each other. Separate the two groups with labels. ## Sample Code: + ``` ``` ## Tokens: + Checkbox supports the following tokens: - 1. checkboxBackgroundColor – This changes the background color of the Checkbox. - 2. checkboxBorderColor – This changes the border color of the Checkbox. - 3. checkmarkColor – This changes the color of Checkmark. - 4. borderRadius - This changes the border radius of the Checkbox (use this to create a circular checkbox) + +1. checkboxBackgroundColor – This changes the background color of the Checkbox. +2. checkboxBorderColor – This changes the border color of the Checkbox. +3. checkmarkColor – This changes the color of Checkmark. +4. borderRadius - This changes the border radius of the Checkbox (use this to create a circular checkbox) ## Token Usage Example: + Circular Checkbox: We use "borderRadius=7" right now because we currently don't support % for borderRadius. The checkbox size is currently 14x14, so 7 is 50%. We have a task to allow for %'s. - ``` - const CircularCheckbox = Checkbox.customize({ tokens: { borderRadius: 7 } }); - ``` + +``` +const CircularCheckbox = Checkbox.customize({ tokens: { borderRadius: 7 } }); +``` Checkbox with white background (when unchecked): - ``` - const WhiteCheckbox = Checkbox.customize({ tokens: { backgroundColor: 'white' } }); - ``` -Circular Color-Customized Checkbox - (Green background + green border + white checkmark) when Checked. - ``` - const CircleColorCheckbox = Checkbox.customize({ - tokens: { borderRadius: 7 }, - _overrides: { - checked: { - tokens: { - checkboxBackgroundColor: 'green', - checkboxBorderColor: 'green', - checkmarkColor: 'white' - } - }, - focused: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundHovered' } }, - hovered: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundHovered' } }, - pressed: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundPressed' } } - } - }); - ``` +``` +const WhiteCheckbox = Checkbox.customize({ tokens: { backgroundColor: 'white' } }); +``` +Circular Color-Customized Checkbox - (Green background + green border + white checkmark) when Checked. +``` +const CircleColorCheckbox = Checkbox.customize({ + tokens: { borderRadius: 7 }, + _overrides: { + checked: { + tokens: { + checkboxBackgroundColor: 'green', + checkboxBorderColor: 'green', + checkmarkColor: 'white' + } + }, + focused: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundHovered' } }, + hovered: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundHovered' } }, + pressed: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundPressed' } } + } +}); +``` diff --git a/docs/pages/Components/ContextualMenu.md b/docs/pages/Components/ContextualMenu.md index 5a66d2c6173..dc9af308c6d 100644 --- a/docs/pages/Components/ContextualMenu.md +++ b/docs/pages/Components/ContextualMenu.md @@ -1 +1 @@ -# ContextualMenu Documentation \ No newline at end of file +# ContextualMenu Documentation diff --git a/docs/pages/Components/Persona.md b/docs/pages/Components/Persona.md index 8826b655423..af6a643ac23 100644 --- a/docs/pages/Components/Persona.md +++ b/docs/pages/Components/Persona.md @@ -1 +1 @@ -# Persona Documentation \ No newline at end of file +# Persona Documentation diff --git a/docs/pages/Components/PersonaCoin.md b/docs/pages/Components/PersonaCoin.md index bdb7bd146c0..a94d3300e51 100644 --- a/docs/pages/Components/PersonaCoin.md +++ b/docs/pages/Components/PersonaCoin.md @@ -1 +1 @@ -# PersonaCoin Documentation \ No newline at end of file +# PersonaCoin Documentation diff --git a/docs/pages/Components/Pressable.md b/docs/pages/Components/Pressable.md index 86ba9164241..e5df233bc71 100644 --- a/docs/pages/Components/Pressable.md +++ b/docs/pages/Components/Pressable.md @@ -1 +1 @@ -# Pressable Documentation \ No newline at end of file +# Pressable Documentation diff --git a/docs/pages/Components/Separator.md b/docs/pages/Components/Separator.md index 5c66f57e3ef..951060e95ab 100644 --- a/docs/pages/Components/Separator.md +++ b/docs/pages/Components/Separator.md @@ -1,6 +1,7 @@ # Separator ## Horizontal Example + ``` import { ISeparator, Separator, Stack, Text } from '@fluentui/react-native'; @@ -23,6 +24,7 @@ import { ISeparator, Separator, Stack, Text } from '@fluentui/react-native'; ``` ## Vertical Example + ``` import { ISeparator, Separator, Stack } from '@fluentui/react-native'; diff --git a/docs/pages/Components/Text.md b/docs/pages/Components/Text.md index f6e1448488e..c275c79117c 100644 --- a/docs/pages/Components/Text.md +++ b/docs/pages/Components/Text.md @@ -1 +1 @@ -# Text Documentation \ No newline at end of file +# Text Documentation diff --git a/docs/pages/Guides/UpdatingCompose.md b/docs/pages/Guides/UpdatingCompose.md index 4b8baeeb958..3e4ec17f75a 100644 --- a/docs/pages/Guides/UpdatingCompose.md +++ b/docs/pages/Guides/UpdatingCompose.md @@ -9,17 +9,19 @@ The old customize API takes in an argument of type `Partial = (t: Theme) => ({ color: t.colors.neutralStrokeAccessible, - } as TTokens); + }) as TTokens; export const Foo = compose({ displayName: fooName, diff --git a/docs/pages/Utilities/FocusZone.md b/docs/pages/Utilities/FocusZone.md index 0573b9c937d..e4bbb1fd4eb 100644 --- a/docs/pages/Utilities/FocusZone.md +++ b/docs/pages/Utilities/FocusZone.md @@ -1 +1 @@ -# FocusZone Documentation \ No newline at end of file +# FocusZone Documentation diff --git a/docs/pages/Utilities/Stack.md b/docs/pages/Utilities/Stack.md index af9335e27ab..d4d781b7f86 100644 --- a/docs/pages/Utilities/Stack.md +++ b/docs/pages/Utilities/Stack.md @@ -1 +1 @@ -# Stack Documentation \ No newline at end of file +# Stack Documentation diff --git a/lage.config.js b/lage.config.js index b7ad2e7f54e..826f3b8d6fa 100644 --- a/lage.config.js +++ b/lage.config.js @@ -1,4 +1,5 @@ -module.exports = { +/** @type {import('lage').ConfigOptions} */ +const config = { npmClient: 'yarn', pipeline: { 'build-cjs': { @@ -16,7 +17,7 @@ module.exports = { inputs: ['*', 'src/**/*', 'assets/**/*'], outputs: ['lib/**/*', 'lib-commonjs/**/*'], }, - buildci: ['build-dual', 'test', 'lint', 'lint-package', 'check-publishing'], + buildci: ['build-dual', 'test', 'lint', 'lint-package'], bundle: { inputs: ['**/*', '!node_modules/**/*', '!dist/**/*', '!lib/**/*', '!lib-commonjs/**/*'], outputs: ['dist/**/*'], @@ -32,12 +33,11 @@ module.exports = { inputs: ['**/*', '!node_modules/**/*', '!dist/**/*', '!lib/**/*', '!lib-commonjs/**/*'], outputs: [], }, - prettier: { + format: { inputs: ['*', 'src/**/*'], outputs: [], }, - ['pr-check']: ['build-dual', 'test', 'lint', 'check-publishing', 'align-deps', 'lint-package', 'lint-lockfile', 'prettier'], - ['prettier-fix']: [], + 'pr-check': ['buildci', 'lint-package', 'lint-lockfile', 'format:check'], test: { dependsOn: ['build-dual'], inputs: [], @@ -45,3 +45,5 @@ module.exports = { }, }, }; + +module.exports = config; diff --git a/package.json b/package.json index 751ed486d4e..c3108115308 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,18 @@ { - "private": true, "name": "@fluentui-react-native/root", "version": "0.0.0-dev", + "private": true, "license": "MIT", "author": "Jason Morse ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git" }, - "resolutions": { - "expect-webdriverio": "patch:expect-webdriverio@npm%3A5.6.1#~/.yarn/patches/expect-webdriverio-npm-5.6.1-69666d39e9.patch" - }, + "workspaces": [ + "apps/*", + "packages/**", + "scripts" + ], "scripts": { "build": "lage build-dual", "buildci": "lage buildci", @@ -28,8 +30,8 @@ "lint-package-fix": "cross-env FURN_FIX_MODE=true lage lint-package", "pr-check": "lage pr-check", "preinstall": "node ./scripts/src/preinstall/use-yarn-please.js", - "prettier": "lage prettier", - "prettier-fix": "cross-env FURN_FIX_MODE=true lage prettier", + "format": "oxfmt", + "format:check": "oxfmt --check", "test": "lage test", "test-links": "markdown-link-check" }, @@ -50,20 +52,18 @@ "eslint-plugin-import": "^2.32.0", "lage": "^2.0.0", "markdown-link-check": "^3.8.7", - "prettier": "^2.4.1", + "oxfmt": "^0.35.0", "typescript": "^5.8.0", "zx": "^8.2.4" }, - "workspaces": [ - "apps/*", - "packages/**", - "scripts" - ], + "resolutions": { + "expect-webdriverio": "patch:expect-webdriverio@npm%3A5.6.1#~/.yarn/patches/expect-webdriverio-npm-5.6.1-69666d39e9.patch" + }, "engines": { "node": ">=22.12" }, + "packageManager": "yarn@4.11.0", "rnx-kit": { "kitType": "library" - }, - "packageManager": "yarn@4.11.0" + } } diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 3d208177509..b267c79f189 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -3,13 +3,19 @@ "version": "0.6.0", "description": "Transform files to make refactoring FURN code easier", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/codemods" }, - "license": "MIT", - "author": "Microsoft ", + "bin": { + "transform": "./transform.js" + }, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,12 +23,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", - "bin": { - "transform": "./transform.js" - }, "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -31,7 +31,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest" }, "dependencies": { diff --git a/packages/components/Avatar/package.json b/packages/components/Avatar/package.json index 2029b8cf01b..84130e3b420 100644 --- a/packages/components/Avatar/package.json +++ b/packages/components/Avatar/package.json @@ -3,13 +3,16 @@ "version": "1.13.0", "description": "A cross-platform Avatar component using the Fluent Design System", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Avatar" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Avatar/src/AvatarTokens.mobile.ts b/packages/components/Avatar/src/AvatarTokens.mobile.ts index de208618ca8..bfe98ada7f6 100644 --- a/packages/components/Avatar/src/AvatarTokens.mobile.ts +++ b/packages/components/Avatar/src/AvatarTokens.mobile.ts @@ -160,7 +160,7 @@ export const defaultAvatarTokens: TokenSettings = (t: Theme mink: getColorProps('mink', t), platinum: getColorProps('platinum', t), anchor: getColorProps('anchor', t), - } as AvatarTokens); + }) as AvatarTokens; /** * A function which returns object of props depending on color and theme. diff --git a/packages/components/Avatar/src/AvatarTokens.ts b/packages/components/Avatar/src/AvatarTokens.ts index f304c4d386c..84cf0844ad1 100644 --- a/packages/components/Avatar/src/AvatarTokens.ts +++ b/packages/components/Avatar/src/AvatarTokens.ts @@ -167,7 +167,7 @@ export const defaultAvatarTokens: TokenSettings = (t: Theme burgundy: getColorProps('burgundy', t), hotPink: getColorProps('hotPink', t), orchid: getColorProps('orchid', t), - } as AvatarTokens); + }) as AvatarTokens; /** * A function which returns object of props depending on color and theme. diff --git a/packages/components/Avatar/src/AvatarTokens.win32.ts b/packages/components/Avatar/src/AvatarTokens.win32.ts index a507b9486a6..a8fabe96ab1 100644 --- a/packages/components/Avatar/src/AvatarTokens.win32.ts +++ b/packages/components/Avatar/src/AvatarTokens.win32.ts @@ -167,7 +167,7 @@ export const defaultAvatarTokens: TokenSettings = (t: Theme burgundy: getColorProps('burgundy', t), hotPink: getColorProps('hotPink', t), orchid: getColorProps('orchid', t), - } as AvatarTokens); + }) as AvatarTokens; /** * A function which returns object of props depending on color and theme. diff --git a/packages/components/Badge/package.json b/packages/components/Badge/package.json index dc21107e902..e2493d2c309 100644 --- a/packages/components/Badge/package.json +++ b/packages/components/Badge/package.json @@ -6,6 +6,9 @@ "license": "MIT", "author": "Microsoft ", "sideEffects": false, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -13,9 +16,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -24,7 +24,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Badge/src/Badge.styling.ts b/packages/components/Badge/src/Badge.styling.ts index 8e17bffa51a..02bccaa6da3 100644 --- a/packages/components/Badge/src/Badge.styling.ts +++ b/packages/components/Badge/src/Badge.styling.ts @@ -87,20 +87,20 @@ export function getBadgePosition(tokens: BadgeCoreTokens) { top: tokens.top, } : tokens.bottom !== undefined - ? { - bottom: tokens.bottom, - } - : {}; + ? { + bottom: tokens.bottom, + } + : {}; const horizontalPosition = tokens.left !== undefined ? { left: tokens.left, } : tokens.right !== undefined - ? { - right: tokens.right, - } - : {}; + ? { + right: tokens.right, + } + : {}; return { ...verticalPosition, diff --git a/packages/components/Badge/src/BadgeColorTokens.ts b/packages/components/Badge/src/BadgeColorTokens.ts index 0001d39a8de..a04147d89c9 100644 --- a/packages/components/Badge/src/BadgeColorTokens.ts +++ b/packages/components/Badge/src/BadgeColorTokens.ts @@ -294,4 +294,4 @@ export const defaultBadgeColorTokens: TokenSettings = (t: Theme) => ), }, }, - } as BadgeTokens); + }) as BadgeTokens; diff --git a/packages/components/Badge/src/BadgeColorTokens.win32.ts b/packages/components/Badge/src/BadgeColorTokens.win32.ts index a0e9805dfa2..109c5619174 100644 --- a/packages/components/Badge/src/BadgeColorTokens.win32.ts +++ b/packages/components/Badge/src/BadgeColorTokens.win32.ts @@ -326,4 +326,4 @@ export const defaultBadgeColorTokens: TokenSettings = (t: Theme) => ), }, }, - } as BadgeTokens); + }) as BadgeTokens; diff --git a/packages/components/Badge/src/BadgeFontTokens.ts b/packages/components/Badge/src/BadgeFontTokens.ts index 7a302ee16e5..dd6f2c95d96 100644 --- a/packages/components/Badge/src/BadgeFontTokens.ts +++ b/packages/components/Badge/src/BadgeFontTokens.ts @@ -12,4 +12,4 @@ export const badgeFontTokens: TokenSettings = () => extraLarge: { variant: 'secondaryStandard', }, - } as BadgeTokens); + }) as BadgeTokens; diff --git a/packages/components/Badge/src/BadgeFontTokens.win32.ts b/packages/components/Badge/src/BadgeFontTokens.win32.ts index 867d285b923..c51a6bcffbd 100644 --- a/packages/components/Badge/src/BadgeFontTokens.win32.ts +++ b/packages/components/Badge/src/BadgeFontTokens.win32.ts @@ -15,4 +15,4 @@ export const badgeFontTokens: TokenSettings = (t: Theme) => extraLarge: { fontSize: globalTokens.font.size200, }, - } as BadgeTokens); + }) as BadgeTokens; diff --git a/packages/components/Badge/src/BadgeTokens.ts b/packages/components/Badge/src/BadgeTokens.ts index 43ca03c0785..4feb959b01c 100644 --- a/packages/components/Badge/src/BadgeTokens.ts +++ b/packages/components/Badge/src/BadgeTokens.ts @@ -72,4 +72,4 @@ export const defaultBadgeTokens: TokenSettings = () => left: globalTokens.sizeNone, right: undefined, }, - } as BadgeTokens); + }) as BadgeTokens; diff --git a/packages/components/Badge/src/CounterBadge/CounterBadgeColorTokens.android.ts b/packages/components/Badge/src/CounterBadge/CounterBadgeColorTokens.android.ts index 7f6836927bc..ab84d64249d 100644 --- a/packages/components/Badge/src/CounterBadge/CounterBadgeColorTokens.android.ts +++ b/packages/components/Badge/src/CounterBadge/CounterBadgeColorTokens.android.ts @@ -17,4 +17,4 @@ export const defaultCounterBadgeColorTokens: TokenSettings = color: t.colors.neutralForegroundLightStatic, borderColor: t.colors.strokeFocus1, }, - } as CounterBadgeTokens); + }) as CounterBadgeTokens; diff --git a/packages/components/Badge/src/CounterBadge/CounterBadgeColorTokens.ts b/packages/components/Badge/src/CounterBadge/CounterBadgeColorTokens.ts index a12bd9a7602..7c1b7d4f23d 100644 --- a/packages/components/Badge/src/CounterBadge/CounterBadgeColorTokens.ts +++ b/packages/components/Badge/src/CounterBadge/CounterBadgeColorTokens.ts @@ -5,4 +5,4 @@ import type { CounterBadgeTokens } from './CounterBadge.types'; export const defaultCounterBadgeColorTokens: TokenSettings = () => ({ // Android has separate tokens for CounterBadge, other platforms use Badge tokens. - } as CounterBadgeTokens); + }) as CounterBadgeTokens; diff --git a/packages/components/Badge/src/CounterBadge/CounterBadgeTokens.ts b/packages/components/Badge/src/CounterBadge/CounterBadgeTokens.ts index 61df849acc2..699f55f2934 100644 --- a/packages/components/Badge/src/CounterBadge/CounterBadgeTokens.ts +++ b/packages/components/Badge/src/CounterBadge/CounterBadgeTokens.ts @@ -13,4 +13,4 @@ export const counterBadgeTokens: TokenSettings = () => borderWidth: 0, borderRadius: globalTokens.corner.radiusCircular, }, - } as CounterBadgeTokens); + }) as CounterBadgeTokens; diff --git a/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.macos.ts b/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.macos.ts index 951aad60e09..808be585acc 100644 --- a/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.macos.ts +++ b/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.macos.ts @@ -51,7 +51,7 @@ export const defaultPresenceBadgeTokens: TokenSettings = () iconColor: globalTokens.color.grey38, }, outOfOffice: getBadgeColor('berry'), - } as PresenceBadgeTokens); + }) as PresenceBadgeTokens; function getBadgeColor(color: string) { return { diff --git a/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.mobile.ts b/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.mobile.ts index e22891eb5f3..0d3f7c7ad24 100644 --- a/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.mobile.ts +++ b/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.mobile.ts @@ -77,4 +77,4 @@ export const defaultPresenceBadgeTokens: TokenSettings = (t iconColor: t.colors.neutralForeground3, }, }, - } as PresenceBadgeTokens); + }) as PresenceBadgeTokens; diff --git a/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.ts b/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.ts index fae8332d612..3feff506380 100644 --- a/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.ts +++ b/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.ts @@ -58,7 +58,7 @@ export const defaultPresenceBadgeTokens: TokenSettings = (t iconColor: isHighContrast(t) ? t.colors.neutralForeground3 : globalTokens.color.grey38, }, outOfOffice: getBadgeColor('berry', t), - } as PresenceBadgeTokens); + }) as PresenceBadgeTokens; function getBadgeColor(color: string, t: Theme) { return { diff --git a/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.win32.ts b/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.win32.ts index 7044e4dae86..c4fdc4d2402 100644 --- a/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.win32.ts +++ b/packages/components/Badge/src/PresenceBadge/PresenceBadgeTokens.win32.ts @@ -59,7 +59,7 @@ export const defaultPresenceBadgeTokens: TokenSettings = (t iconColor: isHighContrast(t) ? t.colors.neutralForeground3 : globalTokens.color.grey38, }, outOfOffice: getBadgeColor('berry', t), - } as PresenceBadgeTokens); + }) as PresenceBadgeTokens; function getBadgeColor(color: string, t: Theme) { return { diff --git a/packages/components/Button/MIGRATION.md b/packages/components/Button/MIGRATION.md index 9ebbf33334a..44a8c763155 100644 --- a/packages/components/Button/MIGRATION.md +++ b/packages/components/Button/MIGRATION.md @@ -5,15 +5,15 @@ In the short term, the new `Button` control is named `ButtonV1` while it clashes with the existing older control. Once we deprecate the old control, it will be renamed to `Button`. It may be useful to rename the control to `Button` using the import syntax to simplify the rename: ```ts -import { ButtonV1 as Button } from '@fluentui-react-native/button' +import { ButtonV1 as Button } from '@fluentui-react-native/button'; ``` ### Component renames Primary and Stealth buttons now map to `Button`: -| v0 `Button` | v1 `Button` | -| --------------------------------------- | ---------------------------------------------------- | +| v0 `Button` | v1 `Button` | +| ------------------------------------------ | ---------------------------------------------------- | | `` | | `` | `` | | `` | `` | @@ -77,7 +77,7 @@ const Custom = StealthButton.customize({ borderWidth: 0, color: 'white', backgroundColor: 'red', - } + }, }); ``` @@ -89,7 +89,7 @@ const Custom = Button.customize({ borderWidth: 0, color: 'white', backgroundColor: 'red', - } + }, }); ``` @@ -97,7 +97,6 @@ const Custom = Button.customize({ Please see [this page](../../../docs/pages/Guides/UpdatingCustomize.md) for guidance on how to move from the old `customize` API to the new one. - ## Porting from FluentUI v9 Button The FURN button cannot be used in place of a FluentUI button - these buttons are intended to be used on their respective platforms. See [this porting guide](../../../docs/pages/Guides/PortingFromFluentUI.md) for general guidance on coming from FluentUI to FURN. diff --git a/packages/components/Button/package.json b/packages/components/Button/package.json index 568656ce896..139b12f4faf 100644 --- a/packages/components/Button/package.json +++ b/packages/components/Button/package.json @@ -2,14 +2,17 @@ "name": "@fluentui-react-native/button", "version": "0.40.0", "description": "A cross-platform Button component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Button" }, - "license": "MIT", - "author": "", "sideEffects": false, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Button/src/ButtonColorTokens.android.ts b/packages/components/Button/src/ButtonColorTokens.android.ts index 077f8f97bbb..29b6c31073b 100644 --- a/packages/components/Button/src/ButtonColorTokens.android.ts +++ b/packages/components/Button/src/ButtonColorTokens.android.ts @@ -78,4 +78,4 @@ export const defaultButtonColorTokens: TokenSettings = (t: iconColor: t.colors.brandForeground1, }, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonColorTokens.macos.ts b/packages/components/Button/src/ButtonColorTokens.macos.ts index 9e5d3e069f3..40d78251379 100644 --- a/packages/components/Button/src/ButtonColorTokens.macos.ts +++ b/packages/components/Button/src/ButtonColorTokens.macos.ts @@ -107,4 +107,4 @@ export const defaultButtonColorTokens: TokenSettings = (t: iconColor: t.colors.brandForeground1, }, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonColorTokens.ts b/packages/components/Button/src/ButtonColorTokens.ts index b2a6f4461ad..76a767f07eb 100644 --- a/packages/components/Button/src/ButtonColorTokens.ts +++ b/packages/components/Button/src/ButtonColorTokens.ts @@ -85,4 +85,4 @@ export const defaultButtonColorTokens: TokenSettings = (t: icon: t.colors.ghostFocusedIcon, }, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonFontTokens.android.ts b/packages/components/Button/src/ButtonFontTokens.android.ts index fa93871e5fd..90372d999f2 100644 --- a/packages/components/Button/src/ButtonFontTokens.android.ts +++ b/packages/components/Button/src/ButtonFontTokens.android.ts @@ -20,4 +20,4 @@ export const defaultButtonFontTokens: TokenSettings = (t: T fontFamily: t.typography.variants.body1Strong.face, fontWeight: t.typography.variants.body1Strong.weight, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonFontTokens.ios.ts b/packages/components/Button/src/ButtonFontTokens.ios.ts index 664da18b12b..5999d4a6b8f 100644 --- a/packages/components/Button/src/ButtonFontTokens.ios.ts +++ b/packages/components/Button/src/ButtonFontTokens.ios.ts @@ -20,4 +20,4 @@ export const defaultButtonFontTokens: TokenSettings = (t: T fontFamily: t.typography.variants.body1Strong.face, fontWeight: t.typography.variants.body1Strong.weight, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonFontTokens.macos.ts b/packages/components/Button/src/ButtonFontTokens.macos.ts index 47bcb998597..0fc77642bc1 100644 --- a/packages/components/Button/src/ButtonFontTokens.macos.ts +++ b/packages/components/Button/src/ButtonFontTokens.macos.ts @@ -18,4 +18,4 @@ export const defaultButtonFontTokens: TokenSettings = (_t: large: { variant: 'subheaderSemibold', }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonFontTokens.ts b/packages/components/Button/src/ButtonFontTokens.ts index 2208b003ce8..2a3bf9fafa0 100644 --- a/packages/components/Button/src/ButtonFontTokens.ts +++ b/packages/components/Button/src/ButtonFontTokens.ts @@ -18,4 +18,4 @@ export const defaultButtonFontTokens: TokenSettings = (_t: large: { variant: 'subheaderSemibold', }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonFontTokens.win32.ts b/packages/components/Button/src/ButtonFontTokens.win32.ts index 0d89579b409..ec52cc7d26f 100644 --- a/packages/components/Button/src/ButtonFontTokens.win32.ts +++ b/packages/components/Button/src/ButtonFontTokens.win32.ts @@ -27,4 +27,4 @@ export const defaultButtonFontTokens: TokenSettings = (t: T fontWeight: globalTokens.font.weight.semibold, }, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonTokens.android.ts b/packages/components/Button/src/ButtonTokens.android.ts index d8cc0666049..10173fee336 100644 --- a/packages/components/Button/src/ButtonTokens.android.ts +++ b/packages/components/Button/src/ButtonTokens.android.ts @@ -80,4 +80,4 @@ export const defaultButtonTokens: TokenSettings = () => square: { borderRadius: globalTokens.corner.radiusNone, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonTokens.ios.ts b/packages/components/Button/src/ButtonTokens.ios.ts index 60f50babd9d..552c14cc40a 100644 --- a/packages/components/Button/src/ButtonTokens.ios.ts +++ b/packages/components/Button/src/ButtonTokens.ios.ts @@ -73,4 +73,4 @@ export const defaultButtonTokens: TokenSettings = () => square: { borderRadius: globalTokens.corner.radiusNone, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonTokens.ts b/packages/components/Button/src/ButtonTokens.ts index fe6b6e7d35f..cd195537855 100644 --- a/packages/components/Button/src/ButtonTokens.ts +++ b/packages/components/Button/src/ButtonTokens.ts @@ -85,4 +85,4 @@ export const defaultButtonTokens: TokenSettings = () => square: { borderRadius: globalTokens.corner.radiusNone, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/ButtonTokens.win32.ts b/packages/components/Button/src/ButtonTokens.win32.ts index fcb96da30b7..546bbe3c1a6 100644 --- a/packages/components/Button/src/ButtonTokens.win32.ts +++ b/packages/components/Button/src/ButtonTokens.win32.ts @@ -163,4 +163,4 @@ export const defaultButtonTokens: TokenSettings = (theme: T borderRadius: globalTokens.corner.radiusNone, borderInnerRadius: globalTokens.corner.radiusNone, }, - } as ButtonTokens); + }) as ButtonTokens; diff --git a/packages/components/Button/src/FAB/FABTokens.ios.ts b/packages/components/Button/src/FAB/FABTokens.ios.ts index 20862dbcbe9..9d58d58e9fa 100644 --- a/packages/components/Button/src/FAB/FABTokens.ios.ts +++ b/packages/components/Button/src/FAB/FABTokens.ios.ts @@ -76,4 +76,4 @@ export const defaultFABTokens: TokenSettings = (t: Theme) => spacingIconContentBefore: globalTokens.size80, }, }, - } as FABTokens); + }) as FABTokens; diff --git a/packages/components/Button/src/FAB/FABTokens.ts b/packages/components/Button/src/FAB/FABTokens.ts index 3a00dbd75ca..828dd861ec4 100644 --- a/packages/components/Button/src/FAB/FABTokens.ts +++ b/packages/components/Button/src/FAB/FABTokens.ts @@ -76,4 +76,4 @@ export const defaultFABTokens: TokenSettings = (t: Theme) => spacingIconContentBefore: globalTokens.size80, }, }, - } as FABTokens); + }) as FABTokens; diff --git a/packages/components/Callout/package.json b/packages/components/Callout/package.json index 4fd7df6b1c8..201be310b62 100644 --- a/packages/components/Callout/package.json +++ b/packages/components/Callout/package.json @@ -3,13 +3,16 @@ "version": "0.28.0", "description": "A cross-platform Callout component using the Fluent Design System", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Callout" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Checkbox/package.json b/packages/components/Checkbox/package.json index 78894d3b2c3..10d0a8c0afb 100644 --- a/packages/components/Checkbox/package.json +++ b/packages/components/Checkbox/package.json @@ -2,14 +2,17 @@ "name": "@fluentui-react-native/checkbox", "version": "0.24.0", "description": "A cross-platform Checkbox component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Checkbox" }, - "license": "MIT", - "author": "", "sideEffects": false, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Checkbox/src/CheckboxTokens.android.ts b/packages/components/Checkbox/src/CheckboxTokens.android.ts index c163a4d3a7f..bf43b768de6 100644 --- a/packages/components/Checkbox/src/CheckboxTokens.android.ts +++ b/packages/components/Checkbox/src/CheckboxTokens.android.ts @@ -45,4 +45,4 @@ export const defaultCheckboxTokens: TokenSettings = (t: T checkboxBackgroundColor: t.colors.brandBackgroundDisabled, }, }, - } as CheckboxTokens); + }) as CheckboxTokens; diff --git a/packages/components/Checkbox/src/CheckboxTokens.ios.ts b/packages/components/Checkbox/src/CheckboxTokens.ios.ts index deaa5d2b2f2..34b80cad8ad 100644 --- a/packages/components/Checkbox/src/CheckboxTokens.ios.ts +++ b/packages/components/Checkbox/src/CheckboxTokens.ios.ts @@ -42,4 +42,4 @@ export const defaultCheckboxTokens: TokenSettings = (t: T checkboxBackgroundColor: t.colors.brandBackgroundDisabled, }, }, - } as CheckboxTokens); + }) as CheckboxTokens; diff --git a/packages/components/Checkbox/src/CheckboxTokens.ts b/packages/components/Checkbox/src/CheckboxTokens.ts index bf5d3b96028..8567b178bc1 100644 --- a/packages/components/Checkbox/src/CheckboxTokens.ts +++ b/packages/components/Checkbox/src/CheckboxTokens.ts @@ -72,4 +72,4 @@ export const defaultCheckboxTokens: TokenSettings = (t: T borderRadius: globalTokens.corner.radiusCircular, checkboxBorderRadius: globalTokens.corner.radiusCircular, }, - } as CheckboxTokens); + }) as CheckboxTokens; diff --git a/packages/components/Checkbox/src/CheckboxTokens.win32.ts b/packages/components/Checkbox/src/CheckboxTokens.win32.ts index eef0d578712..6f31f426f28 100644 --- a/packages/components/Checkbox/src/CheckboxTokens.win32.ts +++ b/packages/components/Checkbox/src/CheckboxTokens.win32.ts @@ -95,4 +95,4 @@ export const defaultCheckboxTokens: TokenSettings = (t: T borderRadius: globalTokens.corner.radiusCircular, checkboxBorderRadius: globalTokens.corner.radiusCircular, }, - } as CheckboxTokens); + }) as CheckboxTokens; diff --git a/packages/components/Checkbox/src/CheckboxTokens.windows.ts b/packages/components/Checkbox/src/CheckboxTokens.windows.ts index 18ddf95d03a..93e72d3641b 100644 --- a/packages/components/Checkbox/src/CheckboxTokens.windows.ts +++ b/packages/components/Checkbox/src/CheckboxTokens.windows.ts @@ -90,4 +90,4 @@ export const defaultCheckboxTokens: TokenSettings = (t: T borderRadius: globalTokens.corner.radiusCircular, checkboxBorderRadius: globalTokens.corner.radiusCircular, }, - } as CheckboxTokens); + }) as CheckboxTokens; diff --git a/packages/components/Chip/package.json b/packages/components/Chip/package.json index 270772b2ed0..92f3e300f52 100644 --- a/packages/components/Chip/package.json +++ b/packages/components/Chip/package.json @@ -5,6 +5,9 @@ "homepage": "https://github.com/microsoft/fluentui-react-native", "license": "MIT", "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -12,9 +15,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -23,7 +23,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Chip/src/Chip.styling.ts b/packages/components/Chip/src/Chip.styling.ts index 20c302bffcd..a8341244bfe 100644 --- a/packages/components/Chip/src/Chip.styling.ts +++ b/packages/components/Chip/src/Chip.styling.ts @@ -70,10 +70,10 @@ export function getChipPosition(tokens: ChipTokens) { left: tokens.left, } : tokens.right !== undefined - ? { - right: tokens.right, - } - : {}; + ? { + right: tokens.right, + } + : {}; return { ...verticalPosition, diff --git a/packages/components/Chip/src/ChipColorTokens.ts b/packages/components/Chip/src/ChipColorTokens.ts index 286bd1e73e1..9ec8afe7ff5 100644 --- a/packages/components/Chip/src/ChipColorTokens.ts +++ b/packages/components/Chip/src/ChipColorTokens.ts @@ -79,4 +79,4 @@ export const defaultChipColorTokens: TokenSettings = (t: Theme) => }, }, }, - } as ChipTokens); + }) as ChipTokens; diff --git a/packages/components/Chip/src/ChipFontTokens.ts b/packages/components/Chip/src/ChipFontTokens.ts index 1a2677dbc03..39ffe1b6284 100644 --- a/packages/components/Chip/src/ChipFontTokens.ts +++ b/packages/components/Chip/src/ChipFontTokens.ts @@ -12,4 +12,4 @@ export const chipFontTokens: TokenSettings = () => extraLarge: { variant: 'secondaryStandard', }, - } as ChipTokens); + }) as ChipTokens; diff --git a/packages/components/Chip/src/ChipTokens.ts b/packages/components/Chip/src/ChipTokens.ts index e40a0161f8a..52b14d9f83d 100644 --- a/packages/components/Chip/src/ChipTokens.ts +++ b/packages/components/Chip/src/ChipTokens.ts @@ -42,4 +42,4 @@ export const defaultChipTokens: TokenSettings = () => left: globalTokens.sizeNone, right: undefined, }, - } as ChipTokens); + }) as ChipTokens; diff --git a/packages/components/ContextualMenu/metro.config.js b/packages/components/ContextualMenu/metro.config.js index 2e5b6b94376..733316f6079 100644 --- a/packages/components/ContextualMenu/metro.config.js +++ b/packages/components/ContextualMenu/metro.config.js @@ -10,8 +10,8 @@ module.exports = (async () => { babelTransformerPath: require.resolve('react-native-svg-transformer'), }, resolver: { - assetExts: assetExts.filter(ext => ext !== 'svg'), + assetExts: assetExts.filter((ext) => ext !== 'svg'), sourceExts: [...sourceExts, 'svg'], }, }; -})(); \ No newline at end of file +})(); diff --git a/packages/components/ContextualMenu/package.json b/packages/components/ContextualMenu/package.json index 9011c40251a..ee17ecf5dc9 100644 --- a/packages/components/ContextualMenu/package.json +++ b/packages/components/ContextualMenu/package.json @@ -3,13 +3,16 @@ "version": "0.25.0", "description": "A cross-platform ContextualMenu component using the Fluent Design System", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/ContextualMenu" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Divider/package.json b/packages/components/Divider/package.json index b9f015fdf3d..7e83526727f 100644 --- a/packages/components/Divider/package.json +++ b/packages/components/Divider/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/divider", "version": "0.8.0", "description": "A cross-platform Divider component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Divider" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/FocusTrapZone/package.json b/packages/components/FocusTrapZone/package.json index d363ca42618..0b03a76a09b 100644 --- a/packages/components/FocusTrapZone/package.json +++ b/packages/components/FocusTrapZone/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/focus-trap-zone", "version": "0.13.0", "description": "A cross-platform FocusTrapZone component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/FocusTrapZone" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/FocusZone/package.json b/packages/components/FocusZone/package.json index 91cc37348d4..5ce985292fd 100644 --- a/packages/components/FocusZone/package.json +++ b/packages/components/FocusZone/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/focus-zone", "version": "0.22.0", "description": "A cross-platform FocusZone component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/FocusZone" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Icon/package.json b/packages/components/Icon/package.json index 9b3225bfa4b..33d2f63f300 100644 --- a/packages/components/Icon/package.json +++ b/packages/components/Icon/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/icon", "version": "0.22.0", "description": "A cross-platform Icon component", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Icon" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Input/package.json b/packages/components/Input/package.json index 2c057395628..26d8bce01a0 100644 --- a/packages/components/Input/package.json +++ b/packages/components/Input/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/input", "version": "0.8.0", "description": "A cross-platform Text input component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Input" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Input/src/InputTokens.ios.ts b/packages/components/Input/src/InputTokens.ios.ts index 4dfc1106a38..6c1369f5515 100644 --- a/packages/components/Input/src/InputTokens.ios.ts +++ b/packages/components/Input/src/InputTokens.ios.ts @@ -83,4 +83,4 @@ export const defaultInputTokens: TokenSettings = (t: Theme) accessoryTextColor: t.colors.neutralForeground2, cursorColor: t.colors.neutralForeground3, }, - } as InputTokens); + }) as InputTokens; diff --git a/packages/components/Input/src/InputTokens.ts b/packages/components/Input/src/InputTokens.ts index 64e320c00a4..315acc60d48 100644 --- a/packages/components/Input/src/InputTokens.ts +++ b/packages/components/Input/src/InputTokens.ts @@ -83,4 +83,4 @@ export const defaultInputTokens: TokenSettings = (t: Theme) accessoryTextColor: t.colors.neutralForeground2, cursorColor: t.colors.neutralForeground3, }, - } as InputTokens); + }) as InputTokens; diff --git a/packages/components/Link/package.json b/packages/components/Link/package.json index dacecaa8a21..6378072e445 100644 --- a/packages/components/Link/package.json +++ b/packages/components/Link/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/link", "version": "0.24.0", "description": "A cross-platform Link component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Link" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Link/src/LinkTokens.android.ts b/packages/components/Link/src/LinkTokens.android.ts index fd70f0b67d0..b0d892239a9 100644 --- a/packages/components/Link/src/LinkTokens.android.ts +++ b/packages/components/Link/src/LinkTokens.android.ts @@ -17,4 +17,4 @@ export const defaultLinkTokens: TokenSettings = (t: Theme) => pressed: { color: t.colors.brandForeground1Pressed, }, - } as LinkTokens); + }) as LinkTokens; diff --git a/packages/components/Link/src/LinkTokens.ios.ts b/packages/components/Link/src/LinkTokens.ios.ts index fd70f0b67d0..b0d892239a9 100644 --- a/packages/components/Link/src/LinkTokens.ios.ts +++ b/packages/components/Link/src/LinkTokens.ios.ts @@ -17,4 +17,4 @@ export const defaultLinkTokens: TokenSettings = (t: Theme) => pressed: { color: t.colors.brandForeground1Pressed, }, - } as LinkTokens); + }) as LinkTokens; diff --git a/packages/components/Link/src/LinkTokens.ts b/packages/components/Link/src/LinkTokens.ts index 6f5ff3c1567..1a070fb64c6 100644 --- a/packages/components/Link/src/LinkTokens.ts +++ b/packages/components/Link/src/LinkTokens.ts @@ -61,4 +61,4 @@ export const defaultLinkTokens: TokenSettings = (t: Theme) => borderColor: t.colors.strokeFocus2, }, }, - } as LinkTokens); + }) as LinkTokens; diff --git a/packages/components/Menu/SPEC.md b/packages/components/Menu/SPEC.md index 194ea650d32..d67135cc55f 100644 --- a/packages/components/Menu/SPEC.md +++ b/packages/components/Menu/SPEC.md @@ -418,8 +418,10 @@ export interface MenuItemCheckboxProps extends MenuItemProps { #### MenuItemCheckbox Tokens ```ts -export interface MenuItemCheckboxTokens - extends Omit { +export interface MenuItemCheckboxTokens extends Omit< + MenuItemTokens, + 'submenuIndicatorPadding' | 'submenuIndicatorSize' | 'disabled' | 'focused' | 'hovered' | 'pressed' +> { /** * Color of the checkmark icon */ @@ -530,8 +532,10 @@ export interface MenuItemRadioProps extends MenuItemProps { #### MenuItemRadio Tokens ```ts -export interface MenuItemRadioTokens - extends Omit { +export interface MenuItemRadioTokens extends Omit< + MenuItemTokens, + 'submenuIndicatorPadding' | 'submenuIndicatorSize' | 'disabled' | 'focused' | 'hovered' | 'pressed' +> { /** * Color of the checkmark icon */ diff --git a/packages/components/Menu/package.json b/packages/components/Menu/package.json index 0973c3fd1ba..bf6708501f4 100644 --- a/packages/components/Menu/package.json +++ b/packages/components/Menu/package.json @@ -2,14 +2,17 @@ "name": "@fluentui-react-native/menu", "version": "1.15.0", "description": "A cross-platform Menu component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/menu" }, - "license": "MIT", - "author": "", "sideEffects": false, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Menu/src/MenuCallout/MenuCallout.types.ts b/packages/components/Menu/src/MenuCallout/MenuCallout.types.ts index 7bf31cf49a7..b195d19edfd 100644 --- a/packages/components/Menu/src/MenuCallout/MenuCallout.types.ts +++ b/packages/components/Menu/src/MenuCallout/MenuCallout.types.ts @@ -6,19 +6,18 @@ export const menuCalloutName = 'MenuCallout'; // Support for anchorRect and beakWidth will come at a later time. // Omitting dismissBehaviors as it doesn't seem to make sense as a token -export type MenuCalloutTokens = - | Omit & { - /** - * The token for the corner radius for the Modal MenuPopover - * @platform android macos - */ - borderRadius?: AnimatableNumericValue | string; +export type MenuCalloutTokens = Omit & { + /** + * The token for the corner radius for the Modal MenuPopover + * @platform android macos + */ + borderRadius?: AnimatableNumericValue | string; - /** - * Shadown elevation token for the Modal MenuPopover - * @platform android - */ - elevation?: number; - }; + /** + * Shadown elevation token for the Modal MenuPopover + * @platform android + */ + elevation?: number; +}; export type MenuCalloutProps = ICalloutProps & { tokens: MenuCalloutTokens }; diff --git a/packages/components/Menu/src/MenuItemCheckbox/MenuItemCheckbox.types.ts b/packages/components/Menu/src/MenuItemCheckbox/MenuItemCheckbox.types.ts index 91b5b5ff082..5b92777cde2 100644 --- a/packages/components/Menu/src/MenuItemCheckbox/MenuItemCheckbox.types.ts +++ b/packages/components/Menu/src/MenuItemCheckbox/MenuItemCheckbox.types.ts @@ -11,8 +11,10 @@ import type { MenuItemProps, MenuItemTokens } from '../MenuItem/MenuItem.types'; export const menuItemCheckboxName = 'MenuItemCheckbox'; -export interface MenuItemCheckboxTokens - extends Omit { +export interface MenuItemCheckboxTokens extends Omit< + MenuItemTokens, + 'submenuIndicatorPadding' | 'submenuIndicatorSize' | 'disabled' | 'focused' | 'hovered' | 'pressed' +> { /** * Color of the checkmark icon */ diff --git a/packages/components/Menu/src/MenuItemRadio/MenuItemRadio.types.ts b/packages/components/Menu/src/MenuItemRadio/MenuItemRadio.types.ts index 316fe78acf6..26a9137fbe7 100644 --- a/packages/components/Menu/src/MenuItemRadio/MenuItemRadio.types.ts +++ b/packages/components/Menu/src/MenuItemRadio/MenuItemRadio.types.ts @@ -11,8 +11,10 @@ import type { MenuItemProps, MenuItemTokens } from '../MenuItem/MenuItem.types'; export const menuItemRadioName = 'MenuItemRadio'; -export interface MenuItemRadioTokens - extends Omit { +export interface MenuItemRadioTokens extends Omit< + MenuItemTokens, + 'submenuIndicatorPadding' | 'submenuIndicatorSize' | 'disabled' | 'focused' | 'hovered' | 'pressed' +> { /** * Color of the checkmark icon */ diff --git a/packages/components/Menu/src/MenuPopover/MenuPopover.types.ts b/packages/components/Menu/src/MenuPopover/MenuPopover.types.ts index 72c726a6acc..2081f13d8a0 100644 --- a/packages/components/Menu/src/MenuPopover/MenuPopover.types.ts +++ b/packages/components/Menu/src/MenuPopover/MenuPopover.types.ts @@ -7,20 +7,19 @@ export const menuPopoverName = 'MenuPopover'; // Support for anchorRect and beakWidth will come at a later time. // Omitting dismissBehaviors as it doesn't seem to make sense as a token -export type MenuPopoverTokens = - | Omit & { - /** - * The props for the corner radius for the Modal MenuPopover - * @platform android macos - */ - borderRadius?: AnimatableNumericValue | string; +export type MenuPopoverTokens = Omit & { + /** + * The props for the corner radius for the Modal MenuPopover + * @platform android macos + */ + borderRadius?: AnimatableNumericValue | string; - /** - * Shadown elevation for the Modal MenuPopover - * @platform android - */ - elevation?: number; - }; + /** + * Shadown elevation for the Modal MenuPopover + * @platform android + */ + elevation?: number; +}; export type MenuPopoverProps = ICalloutProps; diff --git a/packages/components/Menu/src/MenuPopover/MenuPopoverTokens.macos.ts b/packages/components/Menu/src/MenuPopover/MenuPopoverTokens.macos.ts index 6c58c781c43..4154e88b258 100644 --- a/packages/components/Menu/src/MenuPopover/MenuPopoverTokens.macos.ts +++ b/packages/components/Menu/src/MenuPopover/MenuPopoverTokens.macos.ts @@ -12,8 +12,8 @@ export const useMenuPopoverTokens = buildUseTokens( borderColor: isHighContrast() ? t.colors.neutralStroke1 : getCurrentAppearance(t.host.appearance, 'light') === 'dark' - ? t.colors.neutralStroke3 - : t.colors.transparentStroke, + ? t.colors.neutralStroke3 + : t.colors.transparentStroke, }), menuPopoverName, ); diff --git a/packages/components/Menu/src/MenuPopover/useMenuPopover.ts b/packages/components/Menu/src/MenuPopover/useMenuPopover.ts index c3a48c1ef45..3b53d04a6b6 100644 --- a/packages/components/Menu/src/MenuPopover/useMenuPopover.ts +++ b/packages/components/Menu/src/MenuPopover/useMenuPopover.ts @@ -28,7 +28,7 @@ export const useMenuPopover = (props: MenuPopoverProps): MenuPopoverState => { const onDismiss = React.useCallback(() => { props.onDismiss?.(); - setOpen(undefined, false /* isOpen */), [setOpen]; + (setOpen(undefined, false /* isOpen */), [setOpen]); }, [props.onDismiss, setOpen]); const dismissBehaviors = isControlled ? controlledDismissBehaviors : undefined; const directionalHint = props.directionalHint ?? getDirectionalHint(isSubmenu, I18nManager.isRTL); diff --git a/packages/components/MenuButton/package.json b/packages/components/MenuButton/package.json index a844ecc1112..d454536e6ad 100644 --- a/packages/components/MenuButton/package.json +++ b/packages/components/MenuButton/package.json @@ -3,13 +3,16 @@ "version": "0.14.0", "description": "A cross-platform MenuButton component using the Fluent Design System", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/MenuButton" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Notification/package.json b/packages/components/Notification/package.json index ec7e8704f1d..cca24daa2b4 100644 --- a/packages/components/Notification/package.json +++ b/packages/components/Notification/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/notification", "version": "0.26.0", "description": "add component-description", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Notification" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Notification/src/NotificationTokens.ios.ts b/packages/components/Notification/src/NotificationTokens.ios.ts index c774988b6ae..fb80511070d 100644 --- a/packages/components/Notification/src/NotificationTokens.ios.ts +++ b/packages/components/Notification/src/NotificationTokens.ios.ts @@ -88,4 +88,4 @@ export const defaultNotificationTokens: TokenSettings color: t.colors.warningForeground1, pressedColor: notificationColors.warningPressed, }, - } as NotificationTokens); + }) as NotificationTokens; diff --git a/packages/components/Notification/src/NotificationTokens.ts b/packages/components/Notification/src/NotificationTokens.ts index 452702d054f..d8d94c93fdb 100644 --- a/packages/components/Notification/src/NotificationTokens.ts +++ b/packages/components/Notification/src/NotificationTokens.ts @@ -70,4 +70,4 @@ export const defaultNotificationTokens: TokenSettings color: '#4C4400', // PaletteYellowForeground1 pressedColor: '#4C440033', // opacity: 0.2 }, - } as NotificationTokens); + }) as NotificationTokens; diff --git a/packages/components/Persona/package.json b/packages/components/Persona/package.json index ba5000eafa1..0eb267f342b 100644 --- a/packages/components/Persona/package.json +++ b/packages/components/Persona/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/persona", "version": "0.17.0", "description": "A cross-platform Persona component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Persona" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/PersonaCoin/package.json b/packages/components/PersonaCoin/package.json index 2df541a760c..9e02ebb03cb 100644 --- a/packages/components/PersonaCoin/package.json +++ b/packages/components/PersonaCoin/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/persona-coin", "version": "0.16.0", "description": "A cross-platform PersonaCoin component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/PersonaCoin" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Pressable/package.json b/packages/components/Pressable/package.json index 77c737387fc..ebba551bbc8 100644 --- a/packages/components/Pressable/package.json +++ b/packages/components/Pressable/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/pressable", "version": "0.13.0", "description": "A cross-platform Pressable component", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Pressable" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/README.md b/packages/components/README.md index 5417de97de9..87409bb4e5f 100644 --- a/packages/components/README.md +++ b/packages/components/README.md @@ -7,9 +7,7 @@ Building cross platform JS experiences within Office and other SDX Host apps usi 1. [Choosing a Component Builder Framework](#choosing-a-component-builder-framework) - [Compose vs Composable](#compose-vs-composable) 2. [Building a Component](#building-a-component) - - [Using the Compose Framework](#using-the-compose-framework) - - [Types](#types) - [Settings](#settings) - [Putting it all together](#putting-it-all-together) @@ -225,7 +223,6 @@ Every component should have one (or more) snapshot tests to ensure that the data ``` - Create a test that renders your component. Consider adding a snapshot(s) that exercise: - - Default rendering behavior - Any interesting variants (e.g. horizonal vs. vertical separators, primary buttons) - All props diff --git a/packages/components/RadioGroup/package.json b/packages/components/RadioGroup/package.json index df3fae94ead..d2c07a76b69 100644 --- a/packages/components/RadioGroup/package.json +++ b/packages/components/RadioGroup/package.json @@ -2,14 +2,17 @@ "name": "@fluentui-react-native/radio-group", "version": "0.22.0", "description": "A cross-platform Radio Group component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/RadioGroup" }, - "license": "MIT", - "author": "", "sideEffects": false, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/RadioGroup/src/Radio/RadioTokens.android.ts b/packages/components/RadioGroup/src/Radio/RadioTokens.android.ts index bdd722d4999..7ac1f622688 100644 --- a/packages/components/RadioGroup/src/Radio/RadioTokens.android.ts +++ b/packages/components/RadioGroup/src/Radio/RadioTokens.android.ts @@ -56,4 +56,4 @@ export const defaultRadioTokens: TokenSettings = (t: Theme) color: t.colors.neutralForegroundDisabled1, }, }, - } as RadioTokens); + }) as RadioTokens; diff --git a/packages/components/RadioGroup/src/Radio/RadioTokens.ios.ts b/packages/components/RadioGroup/src/Radio/RadioTokens.ios.ts index a4b03bfba20..ec9044cdf39 100644 --- a/packages/components/RadioGroup/src/Radio/RadioTokens.ios.ts +++ b/packages/components/RadioGroup/src/Radio/RadioTokens.ios.ts @@ -55,4 +55,4 @@ export const defaultRadioTokens: TokenSettings = (t: Theme) color: t.colors.neutralForegroundDisabled1, }, }, - } as RadioTokens); + }) as RadioTokens; diff --git a/packages/components/RadioGroup/src/Radio/RadioTokens.ts b/packages/components/RadioGroup/src/Radio/RadioTokens.ts index 7775be09fae..47ac45d837e 100644 --- a/packages/components/RadioGroup/src/Radio/RadioTokens.ts +++ b/packages/components/RadioGroup/src/Radio/RadioTokens.ts @@ -95,4 +95,4 @@ export const defaultRadioTokens: TokenSettings = (t: Theme) radioFill: t.colors.neutralForegroundDisabled, }, }, - } as RadioTokens); + }) as RadioTokens; diff --git a/packages/components/RadioGroup/src/Radio/RadioTokens.win32.ts b/packages/components/RadioGroup/src/Radio/RadioTokens.win32.ts index 8a2ad65e488..56c037c2828 100644 --- a/packages/components/RadioGroup/src/Radio/RadioTokens.win32.ts +++ b/packages/components/RadioGroup/src/Radio/RadioTokens.win32.ts @@ -109,4 +109,4 @@ export const defaultRadioTokens: TokenSettings = (t: Theme) radioFill: t.colors.neutralForegroundDisabled, }, }, - } as RadioTokens); + }) as RadioTokens; diff --git a/packages/components/RadioGroup/src/RadioGroup/RadioGroupTokens.mobile.ts b/packages/components/RadioGroup/src/RadioGroup/RadioGroupTokens.mobile.ts index 368f5beec86..71d139ef554 100644 --- a/packages/components/RadioGroup/src/RadioGroup/RadioGroupTokens.mobile.ts +++ b/packages/components/RadioGroup/src/RadioGroup/RadioGroupTokens.mobile.ts @@ -18,4 +18,4 @@ export const defaultRadioGroupTokens: TokenSettings = ( isHorizontal: { flexDirection: 'row', }, - } as RadioGroupTokens); + }) as RadioGroupTokens; diff --git a/packages/components/RadioGroup/src/RadioGroup/RadioGroupTokens.ts b/packages/components/RadioGroup/src/RadioGroup/RadioGroupTokens.ts index bfb078441ab..2a7625844b2 100644 --- a/packages/components/RadioGroup/src/RadioGroup/RadioGroupTokens.ts +++ b/packages/components/RadioGroup/src/RadioGroup/RadioGroupTokens.ts @@ -17,4 +17,4 @@ export const defaultRadioGroupTokens: TokenSettings = ( isHorizontal: { flexDirection: 'row', }, - } as RadioGroupTokens); + }) as RadioGroupTokens; diff --git a/packages/components/Separator/package.json b/packages/components/Separator/package.json index 59bc5a9da4c..bd895d1850a 100644 --- a/packages/components/Separator/package.json +++ b/packages/components/Separator/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/separator", "version": "0.19.0", "description": "A cross-platform Separator component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Separator" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Separator/src/SeparatorTokens.android.tsx b/packages/components/Separator/src/SeparatorTokens.android.tsx index b0424466cef..05644bbeb18 100644 --- a/packages/components/Separator/src/SeparatorTokens.android.tsx +++ b/packages/components/Separator/src/SeparatorTokens.android.tsx @@ -9,4 +9,4 @@ export const defaultSeparatorTokens: TokenSettings = (t: color: t.colors.neutralStroke2, separatorWidth: globalTokens.stroke.width10, insetSpacing: 0, - } as SeparatorTokens); + }) as SeparatorTokens; diff --git a/packages/components/Separator/src/SeparatorTokens.tsx b/packages/components/Separator/src/SeparatorTokens.tsx index 28d909bbecb..573a7972201 100644 --- a/packages/components/Separator/src/SeparatorTokens.tsx +++ b/packages/components/Separator/src/SeparatorTokens.tsx @@ -7,4 +7,4 @@ import type { SeparatorTokens } from './Separator.types'; export const defaultSeparatorTokens: TokenSettings = () => ({ separatorWidth: globalTokens.stroke.width10, - } as SeparatorTokens); + }) as SeparatorTokens; diff --git a/packages/components/Stack/package.json b/packages/components/Stack/package.json index 0cb5ab41892..df8d426d84b 100644 --- a/packages/components/Stack/package.json +++ b/packages/components/Stack/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/stack", "version": "0.11.0", "description": "A cross-platform opinionated Fluent Text component", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Stack" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Switch/package.json b/packages/components/Switch/package.json index 779a6f7723d..6b6828c2584 100644 --- a/packages/components/Switch/package.json +++ b/packages/components/Switch/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/switch", "version": "0.14.0", "description": "A cross-platform Switch component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Switch" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/TabList/package.json b/packages/components/TabList/package.json index 362541273f3..4f2da8dfdc0 100644 --- a/packages/components/TabList/package.json +++ b/packages/components/TabList/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/tablist", "version": "0.8.0", "description": "A cross-platform TabList component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/TabList" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/TabList/src/Tab/TabColorTokens.ts b/packages/components/TabList/src/Tab/TabColorTokens.ts index 523aa606663..bf5438c47dc 100644 --- a/packages/components/TabList/src/Tab/TabColorTokens.ts +++ b/packages/components/TabList/src/Tab/TabColorTokens.ts @@ -86,4 +86,4 @@ export const defaultTabColorTokens: TokenSettings = (t: Theme) focused: { borderColor: t.colors.neutralForeground1, }, - } as TabTokens); + }) as TabTokens; diff --git a/packages/components/TabList/src/Tab/TabColorTokens.win32.ts b/packages/components/TabList/src/Tab/TabColorTokens.win32.ts index d68d6cd9b3d..6eee30d094b 100644 --- a/packages/components/TabList/src/Tab/TabColorTokens.win32.ts +++ b/packages/components/TabList/src/Tab/TabColorTokens.win32.ts @@ -87,4 +87,4 @@ export const defaultTabColorTokens: TokenSettings = (t: Theme) focused: { borderColor: isHighContrast(t) ? t.colors.compoundBrandStroke1 : t.colors.neutralForeground1, }, - } as TabTokens); + }) as TabTokens; diff --git a/packages/components/TabList/src/TabList/TabListTokens.ts b/packages/components/TabList/src/TabList/TabListTokens.ts index a394a500684..8d9995f7fca 100644 --- a/packages/components/TabList/src/TabList/TabListTokens.ts +++ b/packages/components/TabList/src/TabList/TabListTokens.ts @@ -9,4 +9,4 @@ export const defaultTabListTokens: TokenSettings = () => vertical: { direction: 'column', }, - } as TabListTokens); + }) as TabListTokens; diff --git a/packages/components/Text/package.json b/packages/components/Text/package.json index 17b2c0c7357..d26ff703b96 100644 --- a/packages/components/Text/package.json +++ b/packages/components/Text/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/text", "version": "0.25.0", "description": "A cross-platform Text component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/text" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/components/Text/src/Text.tsx b/packages/components/Text/src/Text.tsx index fa9070b98c8..63c3c098ac7 100644 --- a/packages/components/Text/src/Text.tsx +++ b/packages/components/Text/src/Text.tsx @@ -50,13 +50,13 @@ export const Text = compressible((props: TextProps, useTo ? align === 'start' ? 'right' : align === 'end' - ? 'left' - : align + ? 'left' + : align : align === 'start' - ? 'left' - : align === 'end' - ? 'right' - : align; + ? 'left' + : align === 'end' + ? 'right' + : align; const textOnPress = React.useCallback( (e) => { diff --git a/packages/configs/babel-config/package.json b/packages/configs/babel-config/package.json index 6cb238de256..00f93cc8d1f 100644 --- a/packages/configs/babel-config/package.json +++ b/packages/configs/babel-config/package.json @@ -1,8 +1,9 @@ { "name": "@fluentui-react-native/babel-config", - "private": true, "version": "0.1.1", + "private": true, "description": "Babel configuration for Fluent UI React Native packages built for React Native 0.74", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", @@ -13,7 +14,6 @@ ".": "./babel.config.js", "./babel.config.js": "./babel.config.js" }, - "license": "MIT", "dependencies": { "@babel/plugin-transform-react-jsx": "catalog:", "@babel/plugin-transform-react-jsx-source": "catalog:", diff --git a/packages/configs/eslint-config-rules/package.json b/packages/configs/eslint-config-rules/package.json index ec9a40bf24a..46be6d3b092 100644 --- a/packages/configs/eslint-config-rules/package.json +++ b/packages/configs/eslint-config-rules/package.json @@ -2,17 +2,17 @@ "name": "@fluentui-react-native/eslint-config-rules", "version": "0.1.1", "description": "ESLint ruleset for UI Fabric React Native", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/eslint-config-rules" }, - "license": "MIT", + "main": "./eslint.config.js", "exports": { ".": "./eslint.config.js", "./eslint.config.js": "./eslint.config.js" }, - "main": "./eslint.config.js", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo", diff --git a/packages/configs/jest-config/package.json b/packages/configs/jest-config/package.json index 78ac47e1aa3..ee6d64f835b 100644 --- a/packages/configs/jest-config/package.json +++ b/packages/configs/jest-config/package.json @@ -3,13 +3,15 @@ "version": "0.1.1", "private": true, "description": "Jest configuration for UI Fabric React Native", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/jest-config" }, - "license": "MIT", "type": "module", + "main": "./src/index.js", + "module": "./src/index.js", "exports": { ".": { "import": "./src/index.js", @@ -18,8 +20,6 @@ }, "./package.json": "./package.json" }, - "main": "./src/index.js", - "module": "./src/index.js", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo", diff --git a/packages/configs/kit-config/package.json b/packages/configs/kit-config/package.json index d417c435db4..09a79e3b8fe 100644 --- a/packages/configs/kit-config/package.json +++ b/packages/configs/kit-config/package.json @@ -1,8 +1,9 @@ { "name": "@fluentui-react-native/kit-config", - "private": true, "version": "0.1.2", + "private": true, "description": "Rnx-kit configuration for Fluent UI React Native packages", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", @@ -14,7 +15,6 @@ "./furn-preset.ts": "./furn-preset.ts", "./rnx-kit.config.cjs": "./rnx-kit.config.cjs" }, - "license": "MIT", "scripts": { "build": "tsgo", "build-cjs": "tsgo", diff --git a/packages/configs/react-configs/package.json b/packages/configs/react-configs/package.json index 46af1a96c25..f448f332329 100644 --- a/packages/configs/react-configs/package.json +++ b/packages/configs/react-configs/package.json @@ -1,8 +1,9 @@ { "name": "@fluentui-react-native/react-configs", - "private": true, "version": "0.1.1", + "private": true, "description": "Babel and Jest configurations for pure React testing", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", @@ -14,7 +15,6 @@ "./babel.react.config.js": "./babel.react.config.js", "./jest.config.js": "./jest.config.js" }, - "license": "MIT", "dependencies": { "@babel/core": "catalog:", "@babel/plugin-transform-react-jsx": "catalog:", diff --git a/packages/dependency-profiles/package.json b/packages/dependency-profiles/package.json index 5b382b6d02b..67da57dd06f 100644 --- a/packages/dependency-profiles/package.json +++ b/packages/dependency-profiles/package.json @@ -3,15 +3,15 @@ "version": "0.8.69", "description": "@rnx-kit/align-deps profiles covering packages published from FluentUI-React-Native", "license": "MIT", - "files": [ - "src/*" - ], - "main": "src/index.js", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/dependency-profiles" }, + "files": [ + "src/*" + ], + "main": "src/index.js", "scripts": { "build": "fluentui-scripts build", "update-profile": "node update-profile.mjs" diff --git a/packages/dependency-profiles/src/furn-profile-0.73.js b/packages/dependency-profiles/src/furn-profile-0.73.js index cf6ec6b3749..6a95b454573 100644 --- a/packages/dependency-profiles/src/furn-profile-0.73.js +++ b/packages/dependency-profiles/src/furn-profile-0.73.js @@ -1,946 +1,946 @@ // This file was generated by 'update-profile.js' /* eslint-disable */ module.exports = { - "0.73": { - "@fluentui-react-native/e2e-testing": { - "name": "@fluentui-react-native/e2e-testing", - "version": "1.40.8" + 0.73: { + '@fluentui-react-native/e2e-testing': { + name: '@fluentui-react-native/e2e-testing', + version: '1.40.8', }, - "@fluentui-react-native/tester": { - "name": "@fluentui-react-native/tester", - "version": "0.170.26" + '@fluentui-react-native/tester': { + name: '@fluentui-react-native/tester', + version: '0.170.26', }, - "@fluentui-react-native/tester-win32": { - "name": "@fluentui-react-native/tester-win32", - "version": "0.38.43" + '@fluentui-react-native/tester-win32': { + name: '@fluentui-react-native/tester-win32', + version: '0.38.43', }, - "@fluentui-react-native/avatar": { - "name": "@fluentui-react-native/avatar", - "version": "1.12.8" + '@fluentui-react-native/avatar': { + name: '@fluentui-react-native/avatar', + version: '1.12.8', }, - "@fluentui-react-native/badge": { - "name": "@fluentui-react-native/badge", - "version": "0.11.2" + '@fluentui-react-native/badge': { + name: '@fluentui-react-native/badge', + version: '0.11.2', }, - "@fluentui-react-native/button": { - "name": "@fluentui-react-native/button", - "version": "0.39.4" + '@fluentui-react-native/button': { + name: '@fluentui-react-native/button', + version: '0.39.4', }, - "@fluentui-react-native/callout": { - "name": "@fluentui-react-native/callout", - "version": "0.27.2" + '@fluentui-react-native/callout': { + name: '@fluentui-react-native/callout', + version: '0.27.2', }, - "@fluentui-react-native/checkbox": { - "name": "@fluentui-react-native/checkbox", - "version": "0.23.8" + '@fluentui-react-native/checkbox': { + name: '@fluentui-react-native/checkbox', + version: '0.23.8', }, - "@fluentui-react-native/chip": { - "name": "@fluentui-react-native/chip", - "version": "0.4.8" + '@fluentui-react-native/chip': { + name: '@fluentui-react-native/chip', + version: '0.4.8', }, - "@fluentui-react-native/contextual-menu": { - "name": "@fluentui-react-native/contextual-menu", - "version": "0.24.16" + '@fluentui-react-native/contextual-menu': { + name: '@fluentui-react-native/contextual-menu', + version: '0.24.16', }, - "@fluentui-react-native/divider": { - "name": "@fluentui-react-native/divider", - "version": "0.7.8" + '@fluentui-react-native/divider': { + name: '@fluentui-react-native/divider', + version: '0.7.8', }, - "@fluentui-react-native/focus-trap-zone": { - "name": "@fluentui-react-native/focus-trap-zone", - "version": "0.12.5" + '@fluentui-react-native/focus-trap-zone': { + name: '@fluentui-react-native/focus-trap-zone', + version: '0.12.5', }, - "@fluentui-react-native/focus-zone": { - "name": "@fluentui-react-native/focus-zone", - "version": "0.21.0" + '@fluentui-react-native/focus-zone': { + name: '@fluentui-react-native/focus-zone', + version: '0.21.0', }, - "@fluentui-react-native/icon": { - "name": "@fluentui-react-native/icon", - "version": "0.21.8" + '@fluentui-react-native/icon': { + name: '@fluentui-react-native/icon', + version: '0.21.8', }, - "@fluentui-react-native/input": { - "name": "@fluentui-react-native/input", - "version": "0.7.8" + '@fluentui-react-native/input': { + name: '@fluentui-react-native/input', + version: '0.7.8', }, - "@fluentui-react-native/link": { - "name": "@fluentui-react-native/link", - "version": "0.23.8" + '@fluentui-react-native/link': { + name: '@fluentui-react-native/link', + version: '0.23.8', }, - "@fluentui-react-native/menu": { - "name": "@fluentui-react-native/menu", - "version": "1.14.22" + '@fluentui-react-native/menu': { + name: '@fluentui-react-native/menu', + version: '1.14.22', }, - "@fluentui-react-native/menu-button": { - "name": "@fluentui-react-native/menu-button", - "version": "0.13.19" + '@fluentui-react-native/menu-button': { + name: '@fluentui-react-native/menu-button', + version: '0.13.19', }, - "@fluentui-react-native/notification": { - "name": "@fluentui-react-native/notification", - "version": "0.25.11" + '@fluentui-react-native/notification': { + name: '@fluentui-react-native/notification', + version: '0.25.11', }, - "@fluentui-react-native/persona": { - "name": "@fluentui-react-native/persona", - "version": "0.16.2" + '@fluentui-react-native/persona': { + name: '@fluentui-react-native/persona', + version: '0.16.2', }, - "@fluentui-react-native/persona-coin": { - "name": "@fluentui-react-native/persona-coin", - "version": "0.15.2" + '@fluentui-react-native/persona-coin': { + name: '@fluentui-react-native/persona-coin', + version: '0.15.2', }, - "@fluentui-react-native/pressable": { - "name": "@fluentui-react-native/pressable", - "version": "0.12.4" + '@fluentui-react-native/pressable': { + name: '@fluentui-react-native/pressable', + version: '0.12.4', }, - "@fluentui-react-native/radio-group": { - "name": "@fluentui-react-native/radio-group", - "version": "0.21.16" + '@fluentui-react-native/radio-group': { + name: '@fluentui-react-native/radio-group', + version: '0.21.16', }, - "@fluentui-react-native/separator": { - "name": "@fluentui-react-native/separator", - "version": "0.18.2" + '@fluentui-react-native/separator': { + name: '@fluentui-react-native/separator', + version: '0.18.2', }, - "@fluentui-react-native/stack": { - "name": "@fluentui-react-native/stack", - "version": "0.10.7" + '@fluentui-react-native/stack': { + name: '@fluentui-react-native/stack', + version: '0.10.7', }, - "@fluentui-react-native/switch": { - "name": "@fluentui-react-native/switch", - "version": "0.13.7" + '@fluentui-react-native/switch': { + name: '@fluentui-react-native/switch', + version: '0.13.7', }, - "@fluentui-react-native/tablist": { - "name": "@fluentui-react-native/tablist", - "version": "0.7.4" + '@fluentui-react-native/tablist': { + name: '@fluentui-react-native/tablist', + version: '0.7.4', }, - "@fluentui-react-native/text": { - "name": "@fluentui-react-native/text", - "version": "0.24.6" + '@fluentui-react-native/text': { + name: '@fluentui-react-native/text', + version: '0.24.6', }, - "@uifabricshared/foundation-composable": { - "name": "@uifabricshared/foundation-composable", - "version": "0.13.1" + '@uifabricshared/foundation-composable': { + name: '@uifabricshared/foundation-composable', + version: '0.13.1', }, - "@uifabricshared/foundation-compose": { - "name": "@uifabricshared/foundation-compose", - "version": "1.15.2" + '@uifabricshared/foundation-compose': { + name: '@uifabricshared/foundation-compose', + version: '1.15.2', }, - "@uifabricshared/foundation-settings": { - "name": "@uifabricshared/foundation-settings", - "version": "0.15.1" + '@uifabricshared/foundation-settings': { + name: '@uifabricshared/foundation-settings', + version: '0.15.1', }, - "@uifabricshared/foundation-tokens": { - "name": "@uifabricshared/foundation-tokens", - "version": "0.15.2" + '@uifabricshared/foundation-tokens': { + name: '@uifabricshared/foundation-tokens', + version: '0.15.2', }, - "@uifabricshared/theme-registry": { - "name": "@uifabricshared/theme-registry", - "version": "0.12.0" + '@uifabricshared/theme-registry': { + name: '@uifabricshared/theme-registry', + version: '0.12.0', }, - "@uifabricshared/themed-settings": { - "name": "@uifabricshared/themed-settings", - "version": "0.12.1" + '@uifabricshared/themed-settings': { + name: '@uifabricshared/themed-settings', + version: '0.12.1', }, - "@uifabricshared/theming-ramp": { - "name": "@uifabricshared/theming-ramp", - "version": "0.20.2" + '@uifabricshared/theming-ramp': { + name: '@uifabricshared/theming-ramp', + version: '0.20.2', }, - "@uifabricshared/theming-react-native": { - "name": "@uifabricshared/theming-react-native", - "version": "0.20.5" + '@uifabricshared/theming-react-native': { + name: '@uifabricshared/theming-react-native', + version: '0.20.5', }, - "@fluentui-react-native/experimental-activity-indicator": { - "name": "@fluentui-react-native/experimental-activity-indicator", - "version": "0.10.3" + '@fluentui-react-native/experimental-activity-indicator': { + name: '@fluentui-react-native/experimental-activity-indicator', + version: '0.10.3', }, - "@fluentui-react-native/experimental-appearance-additions": { - "name": "@fluentui-react-native/experimental-appearance-additions", - "version": "0.7.2" + '@fluentui-react-native/experimental-appearance-additions': { + name: '@fluentui-react-native/experimental-appearance-additions', + version: '0.7.2', }, - "@fluentui-react-native/experimental-avatar": { - "name": "@fluentui-react-native/experimental-avatar", - "version": "0.21.4" + '@fluentui-react-native/experimental-avatar': { + name: '@fluentui-react-native/experimental-avatar', + version: '0.21.4', }, - "@fluentui-react-native/experimental-checkbox": { - "name": "@fluentui-react-native/experimental-checkbox", - "version": "0.17.9" + '@fluentui-react-native/experimental-checkbox': { + name: '@fluentui-react-native/experimental-checkbox', + version: '0.17.9', }, - "@fluentui-react-native/drawer": { - "name": "@fluentui-react-native/drawer", - "version": "0.4.4" + '@fluentui-react-native/drawer': { + name: '@fluentui-react-native/drawer', + version: '0.4.4', }, - "@fluentui-react-native/dropdown": { - "name": "@fluentui-react-native/dropdown", - "version": "0.10.13" + '@fluentui-react-native/dropdown': { + name: '@fluentui-react-native/dropdown', + version: '0.10.13', }, - "@fluentui-react-native/experimental-expander": { - "name": "@fluentui-react-native/experimental-expander", - "version": "0.8.3" + '@fluentui-react-native/experimental-expander': { + name: '@fluentui-react-native/experimental-expander', + version: '0.8.3', }, - "@fluentui-react-native/experimental-menu-button": { - "name": "@fluentui-react-native/experimental-menu-button", - "version": "0.10.19" + '@fluentui-react-native/experimental-menu-button': { + name: '@fluentui-react-native/experimental-menu-button', + version: '0.10.19', }, - "@fluentui-react-native/experimental-native-date-picker": { - "name": "@fluentui-react-native/experimental-native-date-picker", - "version": "0.11.0" + '@fluentui-react-native/experimental-native-date-picker': { + name: '@fluentui-react-native/experimental-native-date-picker', + version: '0.11.0', }, - "@fluentui-react-native/experimental-native-font-metrics": { - "name": "@fluentui-react-native/experimental-native-font-metrics", - "version": "0.6.0" + '@fluentui-react-native/experimental-native-font-metrics': { + name: '@fluentui-react-native/experimental-native-font-metrics', + version: '0.6.0', }, - "@fluentui-react-native/overflow": { - "name": "@fluentui-react-native/overflow", - "version": "0.3.22" + '@fluentui-react-native/overflow': { + name: '@fluentui-react-native/overflow', + version: '0.3.22', }, - "@fluentui-react-native/popover": { - "name": "@fluentui-react-native/popover", - "version": "0.4.2" + '@fluentui-react-native/popover': { + name: '@fluentui-react-native/popover', + version: '0.4.2', }, - "@fluentui-react-native/experimental-shadow": { - "name": "@fluentui-react-native/experimental-shadow", - "version": "0.6.4" + '@fluentui-react-native/experimental-shadow': { + name: '@fluentui-react-native/experimental-shadow', + version: '0.6.4', }, - "@fluentui-react-native/experimental-shimmer": { - "name": "@fluentui-react-native/experimental-shimmer", - "version": "0.13.5" + '@fluentui-react-native/experimental-shimmer': { + name: '@fluentui-react-native/experimental-shimmer', + version: '0.13.5', }, - "@fluentui-react-native/spinner": { - "name": "@fluentui-react-native/spinner", - "version": "0.9.9" + '@fluentui-react-native/spinner': { + name: '@fluentui-react-native/spinner', + version: '0.9.9', }, - "@fluentui-react-native/tooltip": { - "name": "@fluentui-react-native/tooltip", - "version": "0.4.11" + '@fluentui-react-native/tooltip': { + name: '@fluentui-react-native/tooltip', + version: '0.4.11', }, - "@fluentui-react-native/vibrancy-view": { - "name": "@fluentui-react-native/vibrancy-view", - "version": "0.3.0" + '@fluentui-react-native/vibrancy-view': { + name: '@fluentui-react-native/vibrancy-view', + version: '0.3.0', }, - "@fluentui-react-native/composition": { - "name": "@fluentui-react-native/composition", - "version": "0.11.2" + '@fluentui-react-native/composition': { + name: '@fluentui-react-native/composition', + version: '0.11.2', }, - "@fluentui-react-native/eslint-config-rules": { - "name": "@fluentui-react-native/eslint-config-rules", - "version": "0.1.1" + '@fluentui-react-native/eslint-config-rules': { + name: '@fluentui-react-native/eslint-config-rules', + version: '0.1.1', }, - "@fluentui-react-native/framework": { - "name": "@fluentui-react-native/framework", - "version": "0.14.2" + '@fluentui-react-native/framework': { + name: '@fluentui-react-native/framework', + version: '0.14.2', }, - "@fluentui-react-native/immutable-merge": { - "name": "@fluentui-react-native/immutable-merge", - "version": "1.2.2" + '@fluentui-react-native/immutable-merge': { + name: '@fluentui-react-native/immutable-merge', + version: '1.2.2', }, - "@fluentui-react-native/memo-cache": { - "name": "@fluentui-react-native/memo-cache", - "version": "1.3.3" + '@fluentui-react-native/memo-cache': { + name: '@fluentui-react-native/memo-cache', + version: '1.3.3', }, - "@fluentui-react-native/merge-props": { - "name": "@fluentui-react-native/merge-props", - "version": "0.9.1" + '@fluentui-react-native/merge-props': { + name: '@fluentui-react-native/merge-props', + version: '0.9.1', }, - "@fluentui-react-native/theme": { - "name": "@fluentui-react-native/theme", - "version": "0.11.1" + '@fluentui-react-native/theme': { + name: '@fluentui-react-native/theme', + version: '0.11.1', }, - "@fluentui-react-native/themed-stylesheet": { - "name": "@fluentui-react-native/themed-stylesheet", - "version": "1.7.1" + '@fluentui-react-native/themed-stylesheet': { + name: '@fluentui-react-native/themed-stylesheet', + version: '1.7.1', }, - "@fluentui-react-native/use-slot": { - "name": "@fluentui-react-native/use-slot", - "version": "0.6.2" + '@fluentui-react-native/use-slot': { + name: '@fluentui-react-native/use-slot', + version: '0.6.2', }, - "@fluentui-react-native/use-slots": { - "name": "@fluentui-react-native/use-slots", - "version": "0.10.2" + '@fluentui-react-native/use-slots': { + name: '@fluentui-react-native/use-slots', + version: '0.10.2', }, - "@fluentui-react-native/use-styling": { - "name": "@fluentui-react-native/use-styling", - "version": "0.13.2" + '@fluentui-react-native/use-styling': { + name: '@fluentui-react-native/use-styling', + version: '0.13.2', }, - "@fluentui-react-native/use-tokens": { - "name": "@fluentui-react-native/use-tokens", - "version": "0.6.2" + '@fluentui-react-native/use-tokens': { + name: '@fluentui-react-native/use-tokens', + version: '0.6.2', }, - "@fluentui/react-native": { - "name": "@fluentui/react-native", - "version": "0.42.13" + '@fluentui/react-native': { + name: '@fluentui/react-native', + version: '0.42.13', }, - "@fluentui-react-native/android-theme": { - "name": "@fluentui-react-native/android-theme", - "version": "0.25.2" + '@fluentui-react-native/android-theme': { + name: '@fluentui-react-native/android-theme', + version: '0.25.2', }, - "@fluentui-react-native/apple-theme": { - "name": "@fluentui-react-native/apple-theme", - "version": "0.28.2" + '@fluentui-react-native/apple-theme': { + name: '@fluentui-react-native/apple-theme', + version: '0.28.2', }, - "@fluentui-react-native/default-theme": { - "name": "@fluentui-react-native/default-theme", - "version": "0.26.2" + '@fluentui-react-native/default-theme': { + name: '@fluentui-react-native/default-theme', + version: '0.26.2', }, - "@fluentui-react-native/theme-tokens": { - "name": "@fluentui-react-native/theme-tokens", - "version": "0.27.1" + '@fluentui-react-native/theme-tokens': { + name: '@fluentui-react-native/theme-tokens', + version: '0.27.1', }, - "@fluentui-react-native/theme-types": { - "name": "@fluentui-react-native/theme-types", - "version": "0.39.1" + '@fluentui-react-native/theme-types': { + name: '@fluentui-react-native/theme-types', + version: '0.39.1', }, - "@fluentui-react-native/theming-utils": { - "name": "@fluentui-react-native/theming-utils", - "version": "0.26.1" + '@fluentui-react-native/theming-utils': { + name: '@fluentui-react-native/theming-utils', + version: '0.26.1', }, - "@fluentui-react-native/win32-theme": { - "name": "@fluentui-react-native/win32-theme", - "version": "0.34.5" + '@fluentui-react-native/win32-theme': { + name: '@fluentui-react-native/win32-theme', + version: '0.34.5', }, - "@fluentui-react-native/adapters": { - "name": "@fluentui-react-native/adapters", - "version": "0.13.0" + '@fluentui-react-native/adapters': { + name: '@fluentui-react-native/adapters', + version: '0.13.0', }, - "@fluentui-react-native/interactive-hooks": { - "name": "@fluentui-react-native/interactive-hooks", - "version": "0.27.4" + '@fluentui-react-native/interactive-hooks': { + name: '@fluentui-react-native/interactive-hooks', + version: '0.27.4', }, - "@fluentui-react-native/styling-utils": { - "name": "@fluentui-react-native/styling-utils", - "version": "0.7.0" + '@fluentui-react-native/styling-utils': { + name: '@fluentui-react-native/styling-utils', + version: '0.7.0', + }, + '@fluentui-react-native/tokens': { + name: '@fluentui-react-native/tokens', + version: '0.23.1', }, - "@fluentui-react-native/tokens": { - "name": "@fluentui-react-native/tokens", - "version": "0.23.1" - } }, - "0.72": { - "@fluentui-react-native/e2e-testing": { - "name": "@fluentui-react-native/e2e-testing", - "version": "1.34.19" + 0.72: { + '@fluentui-react-native/e2e-testing': { + name: '@fluentui-react-native/e2e-testing', + version: '1.34.19', + }, + '@fluentui-react-native/tester': { + name: '@fluentui-react-native/tester', + version: '0.167.33', }, - "@fluentui-react-native/tester": { - "name": "@fluentui-react-native/tester", - "version": "0.167.33" + '@fluentui-react-native/tester-win32': { + name: '@fluentui-react-native/tester-win32', + version: '0.37.64', }, - "@fluentui-react-native/tester-win32": { - "name": "@fluentui-react-native/tester-win32", - "version": "0.37.64" + '@fluentui-react-native/avatar': { + name: '@fluentui-react-native/avatar', + version: '1.11.15', }, - "@fluentui-react-native/avatar": { - "name": "@fluentui-react-native/avatar", - "version": "1.11.15" + '@fluentui-react-native/badge': { + name: '@fluentui-react-native/badge', + version: '0.8.15', }, - "@fluentui-react-native/badge": { - "name": "@fluentui-react-native/badge", - "version": "0.8.15" + '@fluentui-react-native/button': { + name: '@fluentui-react-native/button', + version: '0.36.18', }, - "@fluentui-react-native/button": { - "name": "@fluentui-react-native/button", - "version": "0.36.18" + '@fluentui-react-native/callout': { + name: '@fluentui-react-native/callout', + version: '0.25.16', }, - "@fluentui-react-native/callout": { - "name": "@fluentui-react-native/callout", - "version": "0.25.16" + '@fluentui-react-native/checkbox': { + name: '@fluentui-react-native/checkbox', + version: '0.22.14', }, - "@fluentui-react-native/checkbox": { - "name": "@fluentui-react-native/checkbox", - "version": "0.22.14" + '@fluentui-react-native/chip': { + name: '@fluentui-react-native/chip', + version: '0.3.15', }, - "@fluentui-react-native/chip": { - "name": "@fluentui-react-native/chip", - "version": "0.3.15" + '@fluentui-react-native/contextual-menu': { + name: '@fluentui-react-native/contextual-menu', + version: '0.23.19', }, - "@fluentui-react-native/contextual-menu": { - "name": "@fluentui-react-native/contextual-menu", - "version": "0.23.19" + '@fluentui-react-native/divider': { + name: '@fluentui-react-native/divider', + version: '0.6.15', }, - "@fluentui-react-native/divider": { - "name": "@fluentui-react-native/divider", - "version": "0.6.15" + '@fluentui-react-native/focus-trap-zone': { + name: '@fluentui-react-native/focus-trap-zone', + version: '0.11.15', }, - "@fluentui-react-native/focus-trap-zone": { - "name": "@fluentui-react-native/focus-trap-zone", - "version": "0.11.15" + '@fluentui-react-native/focus-zone': { + name: '@fluentui-react-native/focus-zone', + version: '0.16.15', }, - "@fluentui-react-native/focus-zone": { - "name": "@fluentui-react-native/focus-zone", - "version": "0.16.15" + '@fluentui-react-native/icon': { + name: '@fluentui-react-native/icon', + version: '0.20.15', }, - "@fluentui-react-native/icon": { - "name": "@fluentui-react-native/icon", - "version": "0.20.15" + '@fluentui-react-native/input': { + name: '@fluentui-react-native/input', + version: '0.6.5', }, - "@fluentui-react-native/input": { - "name": "@fluentui-react-native/input", - "version": "0.6.5" + '@fluentui-react-native/link': { + name: '@fluentui-react-native/link', + version: '0.21.14', }, - "@fluentui-react-native/link": { - "name": "@fluentui-react-native/link", - "version": "0.21.14" + '@fluentui-react-native/menu': { + name: '@fluentui-react-native/menu', + version: '1.13.2', }, - "@fluentui-react-native/menu": { - "name": "@fluentui-react-native/menu", - "version": "1.13.2" + '@fluentui-react-native/menu-button': { + name: '@fluentui-react-native/menu-button', + version: '0.12.22', }, - "@fluentui-react-native/menu-button": { - "name": "@fluentui-react-native/menu-button", - "version": "0.12.22" + '@fluentui-react-native/notification': { + name: '@fluentui-react-native/notification', + version: '0.24.18', }, - "@fluentui-react-native/notification": { - "name": "@fluentui-react-native/notification", - "version": "0.24.18" + '@fluentui-react-native/persona': { + name: '@fluentui-react-native/persona', + version: '0.15.12', }, - "@fluentui-react-native/persona": { - "name": "@fluentui-react-native/persona", - "version": "0.15.12" + '@fluentui-react-native/persona-coin': { + name: '@fluentui-react-native/persona-coin', + version: '0.14.12', }, - "@fluentui-react-native/persona-coin": { - "name": "@fluentui-react-native/persona-coin", - "version": "0.14.12" + '@fluentui-react-native/pressable': { + name: '@fluentui-react-native/pressable', + version: '0.11.14', }, - "@fluentui-react-native/pressable": { - "name": "@fluentui-react-native/pressable", - "version": "0.11.14" + '@fluentui-react-native/radio-group': { + name: '@fluentui-react-native/radio-group', + version: '0.20.17', }, - "@fluentui-react-native/radio-group": { - "name": "@fluentui-react-native/radio-group", - "version": "0.20.17" + '@fluentui-react-native/separator': { + name: '@fluentui-react-native/separator', + version: '0.17.11', }, - "@fluentui-react-native/separator": { - "name": "@fluentui-react-native/separator", - "version": "0.17.11" + '@fluentui-react-native/stack': { + name: '@fluentui-react-native/stack', + version: '0.9.14', }, - "@fluentui-react-native/stack": { - "name": "@fluentui-react-native/stack", - "version": "0.9.14" + '@fluentui-react-native/switch': { + name: '@fluentui-react-native/switch', + version: '0.12.14', }, - "@fluentui-react-native/switch": { - "name": "@fluentui-react-native/switch", - "version": "0.12.14" + '@fluentui-react-native/tablist': { + name: '@fluentui-react-native/tablist', + version: '0.5.23', }, - "@fluentui-react-native/tablist": { - "name": "@fluentui-react-native/tablist", - "version": "0.5.23" + '@fluentui-react-native/text': { + name: '@fluentui-react-native/text', + version: '0.22.14', }, - "@fluentui-react-native/text": { - "name": "@fluentui-react-native/text", - "version": "0.22.14" + '@uifabricshared/foundation-composable': { + name: '@uifabricshared/foundation-composable', + version: '0.12.5', }, - "@uifabricshared/foundation-composable": { - "name": "@uifabricshared/foundation-composable", - "version": "0.12.5" + '@uifabricshared/foundation-compose': { + name: '@uifabricshared/foundation-compose', + version: '1.14.25', }, - "@uifabricshared/foundation-compose": { - "name": "@uifabricshared/foundation-compose", - "version": "1.14.25" + '@uifabricshared/foundation-settings': { + name: '@uifabricshared/foundation-settings', + version: '0.14.1', }, - "@uifabricshared/foundation-settings": { - "name": "@uifabricshared/foundation-settings", - "version": "0.14.1" + '@uifabricshared/foundation-tokens': { + name: '@uifabricshared/foundation-tokens', + version: '0.14.9', }, - "@uifabricshared/foundation-tokens": { - "name": "@uifabricshared/foundation-tokens", - "version": "0.14.9" + '@uifabricshared/theme-registry': { + name: '@uifabricshared/theme-registry', + version: '0.11.2', }, - "@uifabricshared/theme-registry": { - "name": "@uifabricshared/theme-registry", - "version": "0.11.2" + '@uifabricshared/themed-settings': { + name: '@uifabricshared/themed-settings', + version: '0.11.1', }, - "@uifabricshared/themed-settings": { - "name": "@uifabricshared/themed-settings", - "version": "0.11.1" + '@uifabricshared/theming-ramp': { + name: '@uifabricshared/theming-ramp', + version: '0.19.12', }, - "@uifabricshared/theming-ramp": { - "name": "@uifabricshared/theming-ramp", - "version": "0.19.12" + '@uifabricshared/theming-react-native': { + name: '@uifabricshared/theming-react-native', + version: '0.19.13', }, - "@uifabricshared/theming-react-native": { - "name": "@uifabricshared/theming-react-native", - "version": "0.19.13" + '@fluentui-react-native/experimental-activity-indicator': { + name: '@fluentui-react-native/experimental-activity-indicator', + version: '0.9.11', }, - "@fluentui-react-native/experimental-activity-indicator": { - "name": "@fluentui-react-native/experimental-activity-indicator", - "version": "0.9.11" + '@fluentui-react-native/experimental-appearance-additions': { + name: '@fluentui-react-native/experimental-appearance-additions', + version: '0.6.11', }, - "@fluentui-react-native/experimental-appearance-additions": { - "name": "@fluentui-react-native/experimental-appearance-additions", - "version": "0.6.11" + '@fluentui-react-native/experimental-avatar': { + name: '@fluentui-react-native/experimental-avatar', + version: '0.20.13', }, - "@fluentui-react-native/experimental-avatar": { - "name": "@fluentui-react-native/experimental-avatar", - "version": "0.20.13" + '@fluentui-react-native/experimental-checkbox': { + name: '@fluentui-react-native/experimental-checkbox', + version: '0.16.15', }, - "@fluentui-react-native/experimental-checkbox": { - "name": "@fluentui-react-native/experimental-checkbox", - "version": "0.16.15" + '@fluentui-react-native/drawer': { + name: '@fluentui-react-native/drawer', + version: '0.3.13', }, - "@fluentui-react-native/drawer": { - "name": "@fluentui-react-native/drawer", - "version": "0.3.13" + '@fluentui-react-native/dropdown': { + name: '@fluentui-react-native/dropdown', + version: '0.9.20', }, - "@fluentui-react-native/dropdown": { - "name": "@fluentui-react-native/dropdown", - "version": "0.9.20" + '@fluentui-react-native/experimental-expander': { + name: '@fluentui-react-native/experimental-expander', + version: '0.7.13', }, - "@fluentui-react-native/experimental-expander": { - "name": "@fluentui-react-native/experimental-expander", - "version": "0.7.13" + '@fluentui-react-native/experimental-menu-button': { + name: '@fluentui-react-native/experimental-menu-button', + version: '0.9.21', }, - "@fluentui-react-native/experimental-menu-button": { - "name": "@fluentui-react-native/experimental-menu-button", - "version": "0.9.21" + '@fluentui-react-native/experimental-native-date-picker': { + name: '@fluentui-react-native/experimental-native-date-picker', + version: '0.10.1', }, - "@fluentui-react-native/experimental-native-date-picker": { - "name": "@fluentui-react-native/experimental-native-date-picker", - "version": "0.10.1" + '@fluentui-react-native/experimental-native-font-metrics': { + name: '@fluentui-react-native/experimental-native-font-metrics', + version: '0.5.1', }, - "@fluentui-react-native/experimental-native-font-metrics": { - "name": "@fluentui-react-native/experimental-native-font-metrics", - "version": "0.5.1" + '@fluentui-react-native/overflow': { + name: '@fluentui-react-native/overflow', + version: '0.2.10', }, - "@fluentui-react-native/overflow": { - "name": "@fluentui-react-native/overflow", - "version": "0.2.10" + '@fluentui-react-native/popover': { + name: '@fluentui-react-native/popover', + version: '0.3.11', }, - "@fluentui-react-native/popover": { - "name": "@fluentui-react-native/popover", - "version": "0.3.11" + '@fluentui-react-native/experimental-shadow': { + name: '@fluentui-react-native/experimental-shadow', + version: '0.5.14', }, - "@fluentui-react-native/experimental-shadow": { - "name": "@fluentui-react-native/experimental-shadow", - "version": "0.5.14" + '@fluentui-react-native/experimental-shimmer': { + name: '@fluentui-react-native/experimental-shimmer', + version: '0.12.15', }, - "@fluentui-react-native/experimental-shimmer": { - "name": "@fluentui-react-native/experimental-shimmer", - "version": "0.12.15" + '@fluentui-react-native/spinner': { + name: '@fluentui-react-native/spinner', + version: '0.8.15', }, - "@fluentui-react-native/spinner": { - "name": "@fluentui-react-native/spinner", - "version": "0.8.15" + '@fluentui-react-native/tooltip': { + name: '@fluentui-react-native/tooltip', + version: '0.2.19', }, - "@fluentui-react-native/tooltip": { - "name": "@fluentui-react-native/tooltip", - "version": "0.2.19" + '@fluentui-react-native/vibrancy-view': { + name: '@fluentui-react-native/vibrancy-view', + version: '0.1.5', }, - "@fluentui-react-native/vibrancy-view": { - "name": "@fluentui-react-native/vibrancy-view", - "version": "0.1.5" + '@fluentui-react-native/composition': { + name: '@fluentui-react-native/composition', + version: '0.10.2', }, - "@fluentui-react-native/composition": { - "name": "@fluentui-react-native/composition", - "version": "0.10.2" + '@fluentui-react-native/eslint-config-rules': { + name: '@fluentui-react-native/eslint-config-rules', + version: '0.1.1', }, - "@fluentui-react-native/eslint-config-rules": { - "name": "@fluentui-react-native/eslint-config-rules", - "version": "0.1.1" + '@fluentui-react-native/framework': { + name: '@fluentui-react-native/framework', + version: '0.13.10', }, - "@fluentui-react-native/framework": { - "name": "@fluentui-react-native/framework", - "version": "0.13.10" + '@fluentui-react-native/immutable-merge': { + name: '@fluentui-react-native/immutable-merge', + version: '1.2.2', }, - "@fluentui-react-native/immutable-merge": { - "name": "@fluentui-react-native/immutable-merge", - "version": "1.2.2" + '@fluentui-react-native/memo-cache': { + name: '@fluentui-react-native/memo-cache', + version: '1.3.2', }, - "@fluentui-react-native/memo-cache": { - "name": "@fluentui-react-native/memo-cache", - "version": "1.3.2" + '@fluentui-react-native/merge-props': { + name: '@fluentui-react-native/merge-props', + version: '0.8.1', }, - "@fluentui-react-native/merge-props": { - "name": "@fluentui-react-native/merge-props", - "version": "0.8.1" + '@fluentui-react-native/theme': { + name: '@fluentui-react-native/theme', + version: '0.10.8', }, - "@fluentui-react-native/theme": { - "name": "@fluentui-react-native/theme", - "version": "0.10.8" + '@fluentui-react-native/themed-stylesheet': { + name: '@fluentui-react-native/themed-stylesheet', + version: '1.6.1', }, - "@fluentui-react-native/themed-stylesheet": { - "name": "@fluentui-react-native/themed-stylesheet", - "version": "1.6.1" + '@fluentui-react-native/use-slot': { + name: '@fluentui-react-native/use-slot', + version: '0.5.2', }, - "@fluentui-react-native/use-slot": { - "name": "@fluentui-react-native/use-slot", - "version": "0.5.2" + '@fluentui-react-native/use-slots': { + name: '@fluentui-react-native/use-slots', + version: '0.9.2', }, - "@fluentui-react-native/use-slots": { - "name": "@fluentui-react-native/use-slots", - "version": "0.9.2" + '@fluentui-react-native/use-styling': { + name: '@fluentui-react-native/use-styling', + version: '0.12.1', }, - "@fluentui-react-native/use-styling": { - "name": "@fluentui-react-native/use-styling", - "version": "0.12.1" + '@fluentui-react-native/use-tokens': { + name: '@fluentui-react-native/use-tokens', + version: '0.5.1', }, - "@fluentui-react-native/use-tokens": { - "name": "@fluentui-react-native/use-tokens", - "version": "0.5.1" + '@fluentui/react-native': { + name: '@fluentui/react-native', + version: '0.40.12', }, - "@fluentui/react-native": { - "name": "@fluentui/react-native", - "version": "0.40.12" + '@fluentui-react-native/android-theme': { + name: '@fluentui-react-native/android-theme', + version: '0.24.5', }, - "@fluentui-react-native/android-theme": { - "name": "@fluentui-react-native/android-theme", - "version": "0.24.5" + '@fluentui-react-native/apple-theme': { + name: '@fluentui-react-native/apple-theme', + version: '0.27.5', }, - "@fluentui-react-native/apple-theme": { - "name": "@fluentui-react-native/apple-theme", - "version": "0.27.5" + '@fluentui-react-native/default-theme': { + name: '@fluentui-react-native/default-theme', + version: '0.25.5', }, - "@fluentui-react-native/default-theme": { - "name": "@fluentui-react-native/default-theme", - "version": "0.25.5" + '@fluentui-react-native/theme-tokens': { + name: '@fluentui-react-native/theme-tokens', + version: '0.26.7', }, - "@fluentui-react-native/theme-tokens": { - "name": "@fluentui-react-native/theme-tokens", - "version": "0.26.7" + '@fluentui-react-native/theme-types': { + name: '@fluentui-react-native/theme-types', + version: '0.38.1', }, - "@fluentui-react-native/theme-types": { - "name": "@fluentui-react-native/theme-types", - "version": "0.38.1" + '@fluentui-react-native/theming-utils': { + name: '@fluentui-react-native/theming-utils', + version: '0.25.9', }, - "@fluentui-react-native/theming-utils": { - "name": "@fluentui-react-native/theming-utils", - "version": "0.25.9" + '@fluentui-react-native/win32-theme': { + name: '@fluentui-react-native/win32-theme', + version: '0.33.5', }, - "@fluentui-react-native/win32-theme": { - "name": "@fluentui-react-native/win32-theme", - "version": "0.33.5" + '@fluentui-react-native/adapters': { + name: '@fluentui-react-native/adapters', + version: '0.12.3', }, - "@fluentui-react-native/adapters": { - "name": "@fluentui-react-native/adapters", - "version": "0.12.3" + '@fluentui-react-native/interactive-hooks': { + name: '@fluentui-react-native/interactive-hooks', + version: '0.26.4', }, - "@fluentui-react-native/interactive-hooks": { - "name": "@fluentui-react-native/interactive-hooks", - "version": "0.26.4" + '@fluentui-react-native/styling-utils': { + name: '@fluentui-react-native/styling-utils', + version: '0.6.1', }, - "@fluentui-react-native/styling-utils": { - "name": "@fluentui-react-native/styling-utils", - "version": "0.6.1" + '@fluentui-react-native/tokens': { + name: '@fluentui-react-native/tokens', + version: '0.22.9', }, - "@fluentui-react-native/tokens": { - "name": "@fluentui-react-native/tokens", - "version": "0.22.9" - } }, - "0.71": { - "@fluentui-react-native/e2e-testing": { - "name": "@fluentui-react-native/e2e-testing", - "version": "1.32.8" + 0.71: { + '@fluentui-react-native/e2e-testing': { + name: '@fluentui-react-native/e2e-testing', + version: '1.32.8', }, - "@fluentui-react-native/tester": { - "name": "@fluentui-react-native/tester", - "version": "0.157.10" + '@fluentui-react-native/tester': { + name: '@fluentui-react-native/tester', + version: '0.157.10', }, - "@fluentui-react-native/tester-win32": { - "name": "@fluentui-react-native/tester-win32", - "version": "0.36.17" + '@fluentui-react-native/tester-win32': { + name: '@fluentui-react-native/tester-win32', + version: '0.36.17', }, - "@fluentui-react-native/avatar": { - "name": "@fluentui-react-native/avatar", - "version": "1.10.18" + '@fluentui-react-native/avatar': { + name: '@fluentui-react-native/avatar', + version: '1.10.18', }, - "@fluentui-react-native/badge": { - "name": "@fluentui-react-native/badge", - "version": "0.7.14" + '@fluentui-react-native/badge': { + name: '@fluentui-react-native/badge', + version: '0.7.14', }, - "@fluentui-react-native/button": { - "name": "@fluentui-react-native/button", - "version": "0.35.11" + '@fluentui-react-native/button': { + name: '@fluentui-react-native/button', + version: '0.35.11', }, - "@fluentui-react-native/callout": { - "name": "@fluentui-react-native/callout", - "version": "0.24.19" + '@fluentui-react-native/callout': { + name: '@fluentui-react-native/callout', + version: '0.24.19', }, - "@fluentui-react-native/checkbox": { - "name": "@fluentui-react-native/checkbox", - "version": "0.21.7" + '@fluentui-react-native/checkbox': { + name: '@fluentui-react-native/checkbox', + version: '0.21.7', }, - "@fluentui-react-native/chip": { - "name": "@fluentui-react-native/chip", - "version": "0.2.9" + '@fluentui-react-native/chip': { + name: '@fluentui-react-native/chip', + version: '0.2.9', }, - "@fluentui-react-native/contextual-menu": { - "name": "@fluentui-react-native/contextual-menu", - "version": "0.22.25" + '@fluentui-react-native/contextual-menu': { + name: '@fluentui-react-native/contextual-menu', + version: '0.22.25', }, - "@fluentui-react-native/divider": { - "name": "@fluentui-react-native/divider", - "version": "0.5.16" + '@fluentui-react-native/divider': { + name: '@fluentui-react-native/divider', + version: '0.5.16', }, - "@fluentui-react-native/focus-trap-zone": { - "name": "@fluentui-react-native/focus-trap-zone", - "version": "0.10.14" + '@fluentui-react-native/focus-trap-zone': { + name: '@fluentui-react-native/focus-trap-zone', + version: '0.10.14', }, - "@fluentui-react-native/focus-zone": { - "name": "@fluentui-react-native/focus-zone", - "version": "0.15.0" + '@fluentui-react-native/focus-zone': { + name: '@fluentui-react-native/focus-zone', + version: '0.15.0', }, - "@fluentui-react-native/icon": { - "name": "@fluentui-react-native/icon", - "version": "0.19.16" + '@fluentui-react-native/icon': { + name: '@fluentui-react-native/icon', + version: '0.19.16', }, - "@fluentui-react-native/input": { - "name": "@fluentui-react-native/input", - "version": "0.4.9" + '@fluentui-react-native/input': { + name: '@fluentui-react-native/input', + version: '0.4.9', }, - "@fluentui-react-native/link": { - "name": "@fluentui-react-native/link", - "version": "0.20.7" + '@fluentui-react-native/link': { + name: '@fluentui-react-native/link', + version: '0.20.7', }, - "@fluentui-react-native/menu": { - "name": "@fluentui-react-native/menu", - "version": "1.11.30" + '@fluentui-react-native/menu': { + name: '@fluentui-react-native/menu', + version: '1.11.30', }, - "@fluentui-react-native/menu-button": { - "name": "@fluentui-react-native/menu-button", - "version": "0.11.31" + '@fluentui-react-native/menu-button': { + name: '@fluentui-react-native/menu-button', + version: '0.11.31', }, - "@fluentui-react-native/notification": { - "name": "@fluentui-react-native/notification", - "version": "0.23.22" + '@fluentui-react-native/notification': { + name: '@fluentui-react-native/notification', + version: '0.23.22', }, - "@fluentui-react-native/persona": { - "name": "@fluentui-react-native/persona", - "version": "0.14.12" + '@fluentui-react-native/persona': { + name: '@fluentui-react-native/persona', + version: '0.14.12', }, - "@fluentui-react-native/persona-coin": { - "name": "@fluentui-react-native/persona-coin", - "version": "0.13.12" + '@fluentui-react-native/persona-coin': { + name: '@fluentui-react-native/persona-coin', + version: '0.13.12', }, - "@fluentui-react-native/pressable": { - "name": "@fluentui-react-native/pressable", - "version": "0.10.13" + '@fluentui-react-native/pressable': { + name: '@fluentui-react-native/pressable', + version: '0.10.13', }, - "@fluentui-react-native/radio-group": { - "name": "@fluentui-react-native/radio-group", - "version": "0.19.9" + '@fluentui-react-native/radio-group': { + name: '@fluentui-react-native/radio-group', + version: '0.19.9', }, - "@fluentui-react-native/separator": { - "name": "@fluentui-react-native/separator", - "version": "0.16.10" + '@fluentui-react-native/separator': { + name: '@fluentui-react-native/separator', + version: '0.16.10', }, - "@fluentui-react-native/stack": { - "name": "@fluentui-react-native/stack", - "version": "0.8.16" + '@fluentui-react-native/stack': { + name: '@fluentui-react-native/stack', + version: '0.8.16', }, - "@fluentui-react-native/switch": { - "name": "@fluentui-react-native/switch", - "version": "0.11.7" + '@fluentui-react-native/switch': { + name: '@fluentui-react-native/switch', + version: '0.11.7', }, - "@fluentui-react-native/text": { - "name": "@fluentui-react-native/text", - "version": "0.21.14" + '@fluentui-react-native/text': { + name: '@fluentui-react-native/text', + version: '0.21.14', }, - "@uifabricshared/foundation-composable": { - "name": "@uifabricshared/foundation-composable", - "version": "0.12.2" + '@uifabricshared/foundation-composable': { + name: '@uifabricshared/foundation-composable', + version: '0.12.2', }, - "@uifabricshared/foundation-compose": { - "name": "@uifabricshared/foundation-compose", - "version": "1.14.12" + '@uifabricshared/foundation-compose': { + name: '@uifabricshared/foundation-compose', + version: '1.14.12', }, - "@uifabricshared/foundation-settings": { - "name": "@uifabricshared/foundation-settings", - "version": "0.13.2" + '@uifabricshared/foundation-settings': { + name: '@uifabricshared/foundation-settings', + version: '0.13.2', }, - "@uifabricshared/foundation-tokens": { - "name": "@uifabricshared/foundation-tokens", - "version": "0.13.9" + '@uifabricshared/foundation-tokens': { + name: '@uifabricshared/foundation-tokens', + version: '0.13.9', }, - "@uifabricshared/theme-registry": { - "name": "@uifabricshared/theme-registry", - "version": "0.10.1" + '@uifabricshared/theme-registry': { + name: '@uifabricshared/theme-registry', + version: '0.10.1', }, - "@uifabricshared/themed-settings": { - "name": "@uifabricshared/themed-settings", - "version": "0.10.2" + '@uifabricshared/themed-settings': { + name: '@uifabricshared/themed-settings', + version: '0.10.2', }, - "@uifabricshared/theming-ramp": { - "name": "@uifabricshared/theming-ramp", - "version": "0.19.4" + '@uifabricshared/theming-ramp': { + name: '@uifabricshared/theming-ramp', + version: '0.19.4', }, - "@uifabricshared/theming-react-native": { - "name": "@uifabricshared/theming-react-native", - "version": "0.18.12" + '@uifabricshared/theming-react-native': { + name: '@uifabricshared/theming-react-native', + version: '0.18.12', }, - "@fluentui-react-native/experimental-activity-indicator": { - "name": "@fluentui-react-native/experimental-activity-indicator", - "version": "0.8.12" + '@fluentui-react-native/experimental-activity-indicator': { + name: '@fluentui-react-native/experimental-activity-indicator', + version: '0.8.12', }, - "@fluentui-react-native/experimental-appearance-additions": { - "name": "@fluentui-react-native/experimental-appearance-additions", - "version": "0.5.12" + '@fluentui-react-native/experimental-appearance-additions': { + name: '@fluentui-react-native/experimental-appearance-additions', + version: '0.5.12', }, - "@fluentui-react-native/experimental-avatar": { - "name": "@fluentui-react-native/experimental-avatar", - "version": "0.19.11" + '@fluentui-react-native/experimental-avatar': { + name: '@fluentui-react-native/experimental-avatar', + version: '0.19.11', }, - "@fluentui-react-native/experimental-button": { - "name": "@fluentui-react-native/experimental-button", - "version": "0.18.22" + '@fluentui-react-native/experimental-button': { + name: '@fluentui-react-native/experimental-button', + version: '0.18.22', }, - "@fluentui-react-native/experimental-checkbox": { - "name": "@fluentui-react-native/experimental-checkbox", - "version": "0.15.17" + '@fluentui-react-native/experimental-checkbox': { + name: '@fluentui-react-native/experimental-checkbox', + version: '0.15.17', }, - "@fluentui-react-native/drawer": { - "name": "@fluentui-react-native/drawer", - "version": "0.2.13" + '@fluentui-react-native/drawer': { + name: '@fluentui-react-native/drawer', + version: '0.2.13', }, - "@fluentui-react-native/dropdown": { - "name": "@fluentui-react-native/dropdown", - "version": "0.8.29" + '@fluentui-react-native/dropdown': { + name: '@fluentui-react-native/dropdown', + version: '0.8.29', }, - "@fluentui-react-native/experimental-expander": { - "name": "@fluentui-react-native/experimental-expander", - "version": "0.6.13" + '@fluentui-react-native/experimental-expander': { + name: '@fluentui-react-native/experimental-expander', + version: '0.6.13', }, - "@fluentui-react-native/experimental-link": { - "name": "@fluentui-react-native/experimental-link", - "version": "0.6.16" + '@fluentui-react-native/experimental-link': { + name: '@fluentui-react-native/experimental-link', + version: '0.6.16', }, - "@fluentui-react-native/experimental-menu-button": { - "name": "@fluentui-react-native/experimental-menu-button", - "version": "0.7.31" + '@fluentui-react-native/experimental-menu-button': { + name: '@fluentui-react-native/experimental-menu-button', + version: '0.7.31', }, - "@fluentui-react-native/experimental-native-date-picker": { - "name": "@fluentui-react-native/experimental-native-date-picker", - "version": "0.9.1" + '@fluentui-react-native/experimental-native-date-picker': { + name: '@fluentui-react-native/experimental-native-date-picker', + version: '0.9.1', }, - "@fluentui-react-native/experimental-native-font-metrics": { - "name": "@fluentui-react-native/experimental-native-font-metrics", - "version": "0.4.1" + '@fluentui-react-native/experimental-native-font-metrics': { + name: '@fluentui-react-native/experimental-native-font-metrics', + version: '0.4.1', }, - "@fluentui-react-native/popover": { - "name": "@fluentui-react-native/popover", - "version": "0.2.11" + '@fluentui-react-native/popover': { + name: '@fluentui-react-native/popover', + version: '0.2.11', }, - "@fluentui-react-native/experimental-radio-group": { - "name": "@fluentui-react-native/experimental-radio-group", - "version": "0.11.19" + '@fluentui-react-native/experimental-radio-group': { + name: '@fluentui-react-native/experimental-radio-group', + version: '0.11.19', }, - "@fluentui-react-native/experimental-shadow": { - "name": "@fluentui-react-native/experimental-shadow", - "version": "0.4.12" + '@fluentui-react-native/experimental-shadow': { + name: '@fluentui-react-native/experimental-shadow', + version: '0.4.12', }, - "@fluentui-react-native/experimental-shimmer": { - "name": "@fluentui-react-native/experimental-shimmer", - "version": "0.11.6" + '@fluentui-react-native/experimental-shimmer': { + name: '@fluentui-react-native/experimental-shimmer', + version: '0.11.6', }, - "@fluentui-react-native/spinner": { - "name": "@fluentui-react-native/spinner", - "version": "0.7.15" + '@fluentui-react-native/spinner': { + name: '@fluentui-react-native/spinner', + version: '0.7.15', }, - "@fluentui-react-native/tablist": { - "name": "@fluentui-react-native/tablist", - "version": "0.4.10" + '@fluentui-react-native/tablist': { + name: '@fluentui-react-native/tablist', + version: '0.4.10', }, - "@fluentui-react-native/experimental-text": { - "name": "@fluentui-react-native/experimental-text", - "version": "0.13.14" + '@fluentui-react-native/experimental-text': { + name: '@fluentui-react-native/experimental-text', + version: '0.13.14', }, - "@fluentui-react-native/vibrancy-view": { - "name": "@fluentui-react-native/vibrancy-view", - "version": "0.0.3" + '@fluentui-react-native/vibrancy-view': { + name: '@fluentui-react-native/vibrancy-view', + version: '0.0.3', }, - "@fluentui-react-native/component-cache": { - "name": "@fluentui-react-native/component-cache", - "version": "1.5.1" + '@fluentui-react-native/component-cache': { + name: '@fluentui-react-native/component-cache', + version: '1.5.1', }, - "@fluentui-react-native/composition": { - "name": "@fluentui-react-native/composition", - "version": "0.9.2" + '@fluentui-react-native/composition': { + name: '@fluentui-react-native/composition', + version: '0.9.2', }, - "@fluentui-react-native/eslint-config-rules": { - "name": "@fluentui-react-native/eslint-config-rules", - "version": "0.1.1" + '@fluentui-react-native/eslint-config-rules': { + name: '@fluentui-react-native/eslint-config-rules', + version: '0.1.1', }, - "@fluentui-react-native/framework": { - "name": "@fluentui-react-native/framework", - "version": "0.11.10" + '@fluentui-react-native/framework': { + name: '@fluentui-react-native/framework', + version: '0.11.10', }, - "@fluentui-react-native/immutable-merge": { - "name": "@fluentui-react-native/immutable-merge", - "version": "1.2.1" + '@fluentui-react-native/immutable-merge': { + name: '@fluentui-react-native/immutable-merge', + version: '1.2.1', }, - "@fluentui-react-native/memo-cache": { - "name": "@fluentui-react-native/memo-cache", - "version": "1.3.1" + '@fluentui-react-native/memo-cache': { + name: '@fluentui-react-native/memo-cache', + version: '1.3.1', }, - "@fluentui-react-native/merge-props": { - "name": "@fluentui-react-native/merge-props", - "version": "0.7.1" + '@fluentui-react-native/merge-props': { + name: '@fluentui-react-native/merge-props', + version: '0.7.1', }, - "@fluentui-react-native/theme": { - "name": "@fluentui-react-native/theme", - "version": "0.9.4" + '@fluentui-react-native/theme': { + name: '@fluentui-react-native/theme', + version: '0.9.4', }, - "@fluentui-react-native/themed-stylesheet": { - "name": "@fluentui-react-native/themed-stylesheet", - "version": "1.5.2" + '@fluentui-react-native/themed-stylesheet': { + name: '@fluentui-react-native/themed-stylesheet', + version: '1.5.2', }, - "@fluentui-react-native/use-slot": { - "name": "@fluentui-react-native/use-slot", - "version": "0.4.2" + '@fluentui-react-native/use-slot': { + name: '@fluentui-react-native/use-slot', + version: '0.4.2', }, - "@fluentui-react-native/use-slots": { - "name": "@fluentui-react-native/use-slots", - "version": "0.8.2" + '@fluentui-react-native/use-slots': { + name: '@fluentui-react-native/use-slots', + version: '0.8.2', }, - "@fluentui-react-native/use-styling": { - "name": "@fluentui-react-native/use-styling", - "version": "0.11.1" + '@fluentui-react-native/use-styling': { + name: '@fluentui-react-native/use-styling', + version: '0.11.1', }, - "@fluentui-react-native/use-tokens": { - "name": "@fluentui-react-native/use-tokens", - "version": "0.4.2" + '@fluentui-react-native/use-tokens': { + name: '@fluentui-react-native/use-tokens', + version: '0.4.2', }, - "@fluentui/react-native": { - "name": "@fluentui/react-native", - "version": "0.38.6" + '@fluentui/react-native': { + name: '@fluentui/react-native', + version: '0.38.6', }, - "@fluentui-react-native/android-theme": { - "name": "@fluentui-react-native/android-theme", - "version": "0.18.9" + '@fluentui-react-native/android-theme': { + name: '@fluentui-react-native/android-theme', + version: '0.18.9', }, - "@fluentui-react-native/apple-theme": { - "name": "@fluentui-react-native/apple-theme", - "version": "0.21.13" + '@fluentui-react-native/apple-theme': { + name: '@fluentui-react-native/apple-theme', + version: '0.21.13', }, - "@fluentui-react-native/default-theme": { - "name": "@fluentui-react-native/default-theme", - "version": "0.19.11" + '@fluentui-react-native/default-theme': { + name: '@fluentui-react-native/default-theme', + version: '0.19.11', }, - "@fluentui-react-native/theme-tokens": { - "name": "@fluentui-react-native/theme-tokens", - "version": "0.25.4" + '@fluentui-react-native/theme-tokens': { + name: '@fluentui-react-native/theme-tokens', + version: '0.25.4', }, - "@fluentui-react-native/theme-types": { - "name": "@fluentui-react-native/theme-types", - "version": "0.32.3" + '@fluentui-react-native/theme-types': { + name: '@fluentui-react-native/theme-types', + version: '0.32.3', }, - "@fluentui-react-native/theming-utils": { - "name": "@fluentui-react-native/theming-utils", - "version": "0.24.7" + '@fluentui-react-native/theming-utils': { + name: '@fluentui-react-native/theming-utils', + version: '0.24.7', }, - "@fluentui-react-native/win32-theme": { - "name": "@fluentui-react-native/win32-theme", - "version": "0.27.10" + '@fluentui-react-native/win32-theme': { + name: '@fluentui-react-native/win32-theme', + version: '0.27.10', }, - "@fluentui-react-native/adapters": { - "name": "@fluentui-react-native/adapters", - "version": "0.11.3" + '@fluentui-react-native/adapters': { + name: '@fluentui-react-native/adapters', + version: '0.11.3', }, - "@fluentui-react-native/interactive-hooks": { - "name": "@fluentui-react-native/interactive-hooks", - "version": "0.24.12" + '@fluentui-react-native/interactive-hooks': { + name: '@fluentui-react-native/interactive-hooks', + version: '0.24.12', }, - "@fluentui-react-native/styling-utils": { - "name": "@fluentui-react-native/styling-utils", - "version": "0.5.0" + '@fluentui-react-native/styling-utils': { + name: '@fluentui-react-native/styling-utils', + version: '0.5.0', }, - "@fluentui-react-native/tokens": { - "name": "@fluentui-react-native/tokens", - "version": "0.21.6" - } - } + '@fluentui-react-native/tokens': { + name: '@fluentui-react-native/tokens', + version: '0.21.6', + }, + }, }; diff --git a/packages/dependency-profiles/src/index.js b/packages/dependency-profiles/src/index.js index 58497470733..d417a655f81 100644 --- a/packages/dependency-profiles/src/index.js +++ b/packages/dependency-profiles/src/index.js @@ -1,1268 +1,1268 @@ // This file was generated by 'update-profile.mjs' /* eslint-disable */ module.exports = { - "0.74": { - "@fluentui-react-native/e2e-testing": { - "name": "@fluentui-react-native/e2e-testing", - "version": "1.43.11" + 0.74: { + '@fluentui-react-native/e2e-testing': { + name: '@fluentui-react-native/e2e-testing', + version: '1.43.11', }, - "@fluentui-react-native/tester": { - "name": "@fluentui-react-native/tester", - "version": "0.170.50" + '@fluentui-react-native/tester': { + name: '@fluentui-react-native/tester', + version: '0.170.50', }, - "@fluentui-react-native/tester-core": { - "name": "@fluentui-react-native/tester-core", - "version": "0.1.1" + '@fluentui-react-native/tester-core': { + name: '@fluentui-react-native/tester-core', + version: '0.1.1', }, - "@fluentui-react-native/tester-win32-81": { - "name": "@fluentui-react-native/tester-win32-81", - "version": "0.38.69" + '@fluentui-react-native/tester-win32-81': { + name: '@fluentui-react-native/tester-win32-81', + version: '0.38.69', }, - "@fluentui-react-native/tester-win32": { - "name": "@fluentui-react-native/tester-win32", - "version": "0.38.69" + '@fluentui-react-native/tester-win32': { + name: '@fluentui-react-native/tester-win32', + version: '0.38.69', }, - "@fluentui-react-native/avatar": { - "name": "@fluentui-react-native/avatar", - "version": "1.13.0" + '@fluentui-react-native/avatar': { + name: '@fluentui-react-native/avatar', + version: '1.13.0', }, - "@fluentui-react-native/badge": { - "name": "@fluentui-react-native/badge", - "version": "0.12.0" + '@fluentui-react-native/badge': { + name: '@fluentui-react-native/badge', + version: '0.12.0', }, - "@fluentui-react-native/button": { - "name": "@fluentui-react-native/button", - "version": "0.40.0" + '@fluentui-react-native/button': { + name: '@fluentui-react-native/button', + version: '0.40.0', }, - "@fluentui-react-native/callout": { - "name": "@fluentui-react-native/callout", - "version": "0.28.0" + '@fluentui-react-native/callout': { + name: '@fluentui-react-native/callout', + version: '0.28.0', }, - "@fluentui-react-native/checkbox": { - "name": "@fluentui-react-native/checkbox", - "version": "0.24.0" + '@fluentui-react-native/checkbox': { + name: '@fluentui-react-native/checkbox', + version: '0.24.0', }, - "@fluentui-react-native/chip": { - "name": "@fluentui-react-native/chip", - "version": "0.5.0" + '@fluentui-react-native/chip': { + name: '@fluentui-react-native/chip', + version: '0.5.0', }, - "@fluentui-react-native/contextual-menu": { - "name": "@fluentui-react-native/contextual-menu", - "version": "0.25.0" + '@fluentui-react-native/contextual-menu': { + name: '@fluentui-react-native/contextual-menu', + version: '0.25.0', }, - "@fluentui-react-native/divider": { - "name": "@fluentui-react-native/divider", - "version": "0.8.0" + '@fluentui-react-native/divider': { + name: '@fluentui-react-native/divider', + version: '0.8.0', }, - "@fluentui-react-native/focus-trap-zone": { - "name": "@fluentui-react-native/focus-trap-zone", - "version": "0.13.0" + '@fluentui-react-native/focus-trap-zone': { + name: '@fluentui-react-native/focus-trap-zone', + version: '0.13.0', }, - "@fluentui-react-native/focus-zone": { - "name": "@fluentui-react-native/focus-zone", - "version": "0.22.0" + '@fluentui-react-native/focus-zone': { + name: '@fluentui-react-native/focus-zone', + version: '0.22.0', }, - "@fluentui-react-native/icon": { - "name": "@fluentui-react-native/icon", - "version": "0.22.0" + '@fluentui-react-native/icon': { + name: '@fluentui-react-native/icon', + version: '0.22.0', }, - "@fluentui-react-native/input": { - "name": "@fluentui-react-native/input", - "version": "0.8.0" + '@fluentui-react-native/input': { + name: '@fluentui-react-native/input', + version: '0.8.0', }, - "@fluentui-react-native/link": { - "name": "@fluentui-react-native/link", - "version": "0.24.0" + '@fluentui-react-native/link': { + name: '@fluentui-react-native/link', + version: '0.24.0', }, - "@fluentui-react-native/menu": { - "name": "@fluentui-react-native/menu", - "version": "1.15.0" + '@fluentui-react-native/menu': { + name: '@fluentui-react-native/menu', + version: '1.15.0', }, - "@fluentui-react-native/menu-button": { - "name": "@fluentui-react-native/menu-button", - "version": "0.14.0" + '@fluentui-react-native/menu-button': { + name: '@fluentui-react-native/menu-button', + version: '0.14.0', }, - "@fluentui-react-native/notification": { - "name": "@fluentui-react-native/notification", - "version": "0.26.0" + '@fluentui-react-native/notification': { + name: '@fluentui-react-native/notification', + version: '0.26.0', }, - "@fluentui-react-native/persona": { - "name": "@fluentui-react-native/persona", - "version": "0.17.0" + '@fluentui-react-native/persona': { + name: '@fluentui-react-native/persona', + version: '0.17.0', }, - "@fluentui-react-native/persona-coin": { - "name": "@fluentui-react-native/persona-coin", - "version": "0.16.0" + '@fluentui-react-native/persona-coin': { + name: '@fluentui-react-native/persona-coin', + version: '0.16.0', }, - "@fluentui-react-native/pressable": { - "name": "@fluentui-react-native/pressable", - "version": "0.13.0" + '@fluentui-react-native/pressable': { + name: '@fluentui-react-native/pressable', + version: '0.13.0', }, - "@fluentui-react-native/radio-group": { - "name": "@fluentui-react-native/radio-group", - "version": "0.22.0" + '@fluentui-react-native/radio-group': { + name: '@fluentui-react-native/radio-group', + version: '0.22.0', }, - "@fluentui-react-native/separator": { - "name": "@fluentui-react-native/separator", - "version": "0.19.0" + '@fluentui-react-native/separator': { + name: '@fluentui-react-native/separator', + version: '0.19.0', }, - "@fluentui-react-native/stack": { - "name": "@fluentui-react-native/stack", - "version": "0.11.0" + '@fluentui-react-native/stack': { + name: '@fluentui-react-native/stack', + version: '0.11.0', }, - "@fluentui-react-native/switch": { - "name": "@fluentui-react-native/switch", - "version": "0.14.0" + '@fluentui-react-native/switch': { + name: '@fluentui-react-native/switch', + version: '0.14.0', }, - "@fluentui-react-native/tablist": { - "name": "@fluentui-react-native/tablist", - "version": "0.8.0" + '@fluentui-react-native/tablist': { + name: '@fluentui-react-native/tablist', + version: '0.8.0', }, - "@fluentui-react-native/text": { - "name": "@fluentui-react-native/text", - "version": "0.25.0" + '@fluentui-react-native/text': { + name: '@fluentui-react-native/text', + version: '0.25.0', }, - "@fluentui-react-native/eslint-config-rules": { - "name": "@fluentui-react-native/eslint-config-rules", - "version": "0.1.1" + '@fluentui-react-native/eslint-config-rules': { + name: '@fluentui-react-native/eslint-config-rules', + version: '0.1.1', }, - "@uifabricshared/foundation-composable": { - "name": "@uifabricshared/foundation-composable", - "version": "0.14.0" + '@uifabricshared/foundation-composable': { + name: '@uifabricshared/foundation-composable', + version: '0.14.0', }, - "@uifabricshared/foundation-compose": { - "name": "@uifabricshared/foundation-compose", - "version": "1.16.0" + '@uifabricshared/foundation-compose': { + name: '@uifabricshared/foundation-compose', + version: '1.16.0', }, - "@uifabricshared/foundation-settings": { - "name": "@uifabricshared/foundation-settings", - "version": "0.16.0" + '@uifabricshared/foundation-settings': { + name: '@uifabricshared/foundation-settings', + version: '0.16.0', }, - "@uifabricshared/foundation-tokens": { - "name": "@uifabricshared/foundation-tokens", - "version": "0.16.0" + '@uifabricshared/foundation-tokens': { + name: '@uifabricshared/foundation-tokens', + version: '0.16.0', }, - "@uifabricshared/theme-registry": { - "name": "@uifabricshared/theme-registry", - "version": "0.13.0" + '@uifabricshared/theme-registry': { + name: '@uifabricshared/theme-registry', + version: '0.13.0', }, - "@uifabricshared/themed-settings": { - "name": "@uifabricshared/themed-settings", - "version": "0.13.0" + '@uifabricshared/themed-settings': { + name: '@uifabricshared/themed-settings', + version: '0.13.0', }, - "@uifabricshared/theming-ramp": { - "name": "@uifabricshared/theming-ramp", - "version": "0.21.0" + '@uifabricshared/theming-ramp': { + name: '@uifabricshared/theming-ramp', + version: '0.21.0', }, - "@uifabricshared/theming-react-native": { - "name": "@uifabricshared/theming-react-native", - "version": "0.21.0" + '@uifabricshared/theming-react-native': { + name: '@uifabricshared/theming-react-native', + version: '0.21.0', }, - "@fluentui-react-native/experimental-activity-indicator": { - "name": "@fluentui-react-native/experimental-activity-indicator", - "version": "0.11.0" + '@fluentui-react-native/experimental-activity-indicator': { + name: '@fluentui-react-native/experimental-activity-indicator', + version: '0.11.0', }, - "@fluentui-react-native/experimental-appearance-additions": { - "name": "@fluentui-react-native/experimental-appearance-additions", - "version": "0.8.0" + '@fluentui-react-native/experimental-appearance-additions': { + name: '@fluentui-react-native/experimental-appearance-additions', + version: '0.8.0', }, - "@fluentui-react-native/experimental-avatar": { - "name": "@fluentui-react-native/experimental-avatar", - "version": "0.22.0" + '@fluentui-react-native/experimental-avatar': { + name: '@fluentui-react-native/experimental-avatar', + version: '0.22.0', }, - "@fluentui-react-native/experimental-checkbox": { - "name": "@fluentui-react-native/experimental-checkbox", - "version": "0.18.0" + '@fluentui-react-native/experimental-checkbox': { + name: '@fluentui-react-native/experimental-checkbox', + version: '0.18.0', }, - "@fluentui-react-native/drawer": { - "name": "@fluentui-react-native/drawer", - "version": "0.5.0" + '@fluentui-react-native/drawer': { + name: '@fluentui-react-native/drawer', + version: '0.5.0', }, - "@fluentui-react-native/dropdown": { - "name": "@fluentui-react-native/dropdown", - "version": "0.11.0" + '@fluentui-react-native/dropdown': { + name: '@fluentui-react-native/dropdown', + version: '0.11.0', }, - "@fluentui-react-native/experimental-expander": { - "name": "@fluentui-react-native/experimental-expander", - "version": "0.9.0" + '@fluentui-react-native/experimental-expander': { + name: '@fluentui-react-native/experimental-expander', + version: '0.9.0', }, - "@fluentui-react-native/experimental-menu-button": { - "name": "@fluentui-react-native/experimental-menu-button", - "version": "0.11.0" + '@fluentui-react-native/experimental-menu-button': { + name: '@fluentui-react-native/experimental-menu-button', + version: '0.11.0', }, - "@fluentui-react-native/experimental-native-date-picker": { - "name": "@fluentui-react-native/experimental-native-date-picker", - "version": "0.12.0" + '@fluentui-react-native/experimental-native-date-picker': { + name: '@fluentui-react-native/experimental-native-date-picker', + version: '0.12.0', }, - "@fluentui-react-native/experimental-native-font-metrics": { - "name": "@fluentui-react-native/experimental-native-font-metrics", - "version": "0.7.0" + '@fluentui-react-native/experimental-native-font-metrics': { + name: '@fluentui-react-native/experimental-native-font-metrics', + version: '0.7.0', }, - "@fluentui-react-native/overflow": { - "name": "@fluentui-react-native/overflow", - "version": "0.4.0" + '@fluentui-react-native/overflow': { + name: '@fluentui-react-native/overflow', + version: '0.4.0', }, - "@fluentui-react-native/popover": { - "name": "@fluentui-react-native/popover", - "version": "0.5.0" + '@fluentui-react-native/popover': { + name: '@fluentui-react-native/popover', + version: '0.5.0', }, - "@fluentui-react-native/experimental-shadow": { - "name": "@fluentui-react-native/experimental-shadow", - "version": "0.7.0" + '@fluentui-react-native/experimental-shadow': { + name: '@fluentui-react-native/experimental-shadow', + version: '0.7.0', }, - "@fluentui-react-native/experimental-shimmer": { - "name": "@fluentui-react-native/experimental-shimmer", - "version": "0.14.0" + '@fluentui-react-native/experimental-shimmer': { + name: '@fluentui-react-native/experimental-shimmer', + version: '0.14.0', }, - "@fluentui-react-native/spinner": { - "name": "@fluentui-react-native/spinner", - "version": "0.10.0" + '@fluentui-react-native/spinner': { + name: '@fluentui-react-native/spinner', + version: '0.10.0', }, - "@fluentui-react-native/tooltip": { - "name": "@fluentui-react-native/tooltip", - "version": "0.5.0" + '@fluentui-react-native/tooltip': { + name: '@fluentui-react-native/tooltip', + version: '0.5.0', }, - "@fluentui-react-native/vibrancy-view": { - "name": "@fluentui-react-native/vibrancy-view", - "version": "0.4.0" + '@fluentui-react-native/vibrancy-view': { + name: '@fluentui-react-native/vibrancy-view', + version: '0.4.0', }, - "@fluentui-react-native/framework-base": { - "name": "@fluentui-react-native/framework-base", - "version": "0.3.0" + '@fluentui-react-native/framework-base': { + name: '@fluentui-react-native/framework-base', + version: '0.3.0', }, - "@fluentui-react-native/composition": { - "name": "@fluentui-react-native/composition", - "version": "0.12.0" + '@fluentui-react-native/composition': { + name: '@fluentui-react-native/composition', + version: '0.12.0', }, - "@fluentui-react-native/framework": { - "name": "@fluentui-react-native/framework", - "version": "0.15.0" + '@fluentui-react-native/framework': { + name: '@fluentui-react-native/framework', + version: '0.15.0', }, - "@fluentui-react-native/immutable-merge": { - "name": "@fluentui-react-native/immutable-merge", - "version": "1.3.0" + '@fluentui-react-native/immutable-merge': { + name: '@fluentui-react-native/immutable-merge', + version: '1.3.0', }, - "@fluentui-react-native/memo-cache": { - "name": "@fluentui-react-native/memo-cache", - "version": "1.4.0" + '@fluentui-react-native/memo-cache': { + name: '@fluentui-react-native/memo-cache', + version: '1.4.0', }, - "@fluentui-react-native/merge-props": { - "name": "@fluentui-react-native/merge-props", - "version": "0.10.0" + '@fluentui-react-native/merge-props': { + name: '@fluentui-react-native/merge-props', + version: '0.10.0', }, - "@fluentui-react-native/theme": { - "name": "@fluentui-react-native/theme", - "version": "0.12.0" + '@fluentui-react-native/theme': { + name: '@fluentui-react-native/theme', + version: '0.12.0', }, - "@fluentui-react-native/themed-stylesheet": { - "name": "@fluentui-react-native/themed-stylesheet", - "version": "1.8.0" + '@fluentui-react-native/themed-stylesheet': { + name: '@fluentui-react-native/themed-stylesheet', + version: '1.8.0', }, - "@fluentui-react-native/use-slot": { - "name": "@fluentui-react-native/use-slot", - "version": "0.7.0" + '@fluentui-react-native/use-slot': { + name: '@fluentui-react-native/use-slot', + version: '0.7.0', }, - "@fluentui-react-native/use-slots": { - "name": "@fluentui-react-native/use-slots", - "version": "0.11.0" + '@fluentui-react-native/use-slots': { + name: '@fluentui-react-native/use-slots', + version: '0.11.0', }, - "@fluentui-react-native/use-styling": { - "name": "@fluentui-react-native/use-styling", - "version": "0.14.0" + '@fluentui-react-native/use-styling': { + name: '@fluentui-react-native/use-styling', + version: '0.14.0', }, - "@fluentui-react-native/use-tokens": { - "name": "@fluentui-react-native/use-tokens", - "version": "0.7.0" + '@fluentui-react-native/use-tokens': { + name: '@fluentui-react-native/use-tokens', + version: '0.7.0', }, - "@fluentui/react-native": { - "name": "@fluentui/react-native", - "version": "0.43.0" + '@fluentui/react-native': { + name: '@fluentui/react-native', + version: '0.43.0', }, - "@fluentui-react-native/android-theme": { - "name": "@fluentui-react-native/android-theme", - "version": "0.26.0" + '@fluentui-react-native/android-theme': { + name: '@fluentui-react-native/android-theme', + version: '0.26.0', }, - "@fluentui-react-native/apple-theme": { - "name": "@fluentui-react-native/apple-theme", - "version": "0.29.0" + '@fluentui-react-native/apple-theme': { + name: '@fluentui-react-native/apple-theme', + version: '0.29.0', }, - "@fluentui-react-native/default-theme": { - "name": "@fluentui-react-native/default-theme", - "version": "0.27.0" + '@fluentui-react-native/default-theme': { + name: '@fluentui-react-native/default-theme', + version: '0.27.0', }, - "@fluentui-react-native/theme-tokens": { - "name": "@fluentui-react-native/theme-tokens", - "version": "0.28.0" + '@fluentui-react-native/theme-tokens': { + name: '@fluentui-react-native/theme-tokens', + version: '0.28.0', }, - "@fluentui-react-native/theme-types": { - "name": "@fluentui-react-native/theme-types", - "version": "0.44.0" + '@fluentui-react-native/theme-types': { + name: '@fluentui-react-native/theme-types', + version: '0.44.0', }, - "@fluentui-react-native/theming-utils": { - "name": "@fluentui-react-native/theming-utils", - "version": "0.27.0" + '@fluentui-react-native/theming-utils': { + name: '@fluentui-react-native/theming-utils', + version: '0.27.0', }, - "@fluentui-react-native/win32-theme": { - "name": "@fluentui-react-native/win32-theme", - "version": "0.39.0" + '@fluentui-react-native/win32-theme': { + name: '@fluentui-react-native/win32-theme', + version: '0.39.0', }, - "@fluentui-react-native/adapters": { - "name": "@fluentui-react-native/adapters", - "version": "0.14.0" + '@fluentui-react-native/adapters': { + name: '@fluentui-react-native/adapters', + version: '0.14.0', }, - "@fluentui-react-native/interactive-hooks": { - "name": "@fluentui-react-native/interactive-hooks", - "version": "0.28.0" + '@fluentui-react-native/interactive-hooks': { + name: '@fluentui-react-native/interactive-hooks', + version: '0.28.0', }, - "@fluentui-react-native/styling-utils": { - "name": "@fluentui-react-native/styling-utils", - "version": "0.8.0" + '@fluentui-react-native/styling-utils': { + name: '@fluentui-react-native/styling-utils', + version: '0.8.0', + }, + '@fluentui-react-native/tokens': { + name: '@fluentui-react-native/tokens', + version: '0.24.0', }, - "@fluentui-react-native/tokens": { - "name": "@fluentui-react-native/tokens", - "version": "0.24.0" - } }, - "0.73": { - "@fluentui-react-native/e2e-testing": { - "name": "@fluentui-react-native/e2e-testing", - "version": "1.40.8" + 0.73: { + '@fluentui-react-native/e2e-testing': { + name: '@fluentui-react-native/e2e-testing', + version: '1.40.8', + }, + '@fluentui-react-native/tester': { + name: '@fluentui-react-native/tester', + version: '0.170.26', }, - "@fluentui-react-native/tester": { - "name": "@fluentui-react-native/tester", - "version": "0.170.26" + '@fluentui-react-native/tester-win32': { + name: '@fluentui-react-native/tester-win32', + version: '0.38.43', }, - "@fluentui-react-native/tester-win32": { - "name": "@fluentui-react-native/tester-win32", - "version": "0.38.43" + '@fluentui-react-native/avatar': { + name: '@fluentui-react-native/avatar', + version: '1.12.8', }, - "@fluentui-react-native/avatar": { - "name": "@fluentui-react-native/avatar", - "version": "1.12.8" + '@fluentui-react-native/badge': { + name: '@fluentui-react-native/badge', + version: '0.11.2', }, - "@fluentui-react-native/badge": { - "name": "@fluentui-react-native/badge", - "version": "0.11.2" + '@fluentui-react-native/button': { + name: '@fluentui-react-native/button', + version: '0.39.4', }, - "@fluentui-react-native/button": { - "name": "@fluentui-react-native/button", - "version": "0.39.4" + '@fluentui-react-native/callout': { + name: '@fluentui-react-native/callout', + version: '0.27.2', }, - "@fluentui-react-native/callout": { - "name": "@fluentui-react-native/callout", - "version": "0.27.2" + '@fluentui-react-native/checkbox': { + name: '@fluentui-react-native/checkbox', + version: '0.23.8', }, - "@fluentui-react-native/checkbox": { - "name": "@fluentui-react-native/checkbox", - "version": "0.23.8" + '@fluentui-react-native/chip': { + name: '@fluentui-react-native/chip', + version: '0.4.8', }, - "@fluentui-react-native/chip": { - "name": "@fluentui-react-native/chip", - "version": "0.4.8" + '@fluentui-react-native/contextual-menu': { + name: '@fluentui-react-native/contextual-menu', + version: '0.24.16', }, - "@fluentui-react-native/contextual-menu": { - "name": "@fluentui-react-native/contextual-menu", - "version": "0.24.16" + '@fluentui-react-native/divider': { + name: '@fluentui-react-native/divider', + version: '0.7.8', }, - "@fluentui-react-native/divider": { - "name": "@fluentui-react-native/divider", - "version": "0.7.8" + '@fluentui-react-native/focus-trap-zone': { + name: '@fluentui-react-native/focus-trap-zone', + version: '0.12.5', }, - "@fluentui-react-native/focus-trap-zone": { - "name": "@fluentui-react-native/focus-trap-zone", - "version": "0.12.5" + '@fluentui-react-native/focus-zone': { + name: '@fluentui-react-native/focus-zone', + version: '0.21.0', }, - "@fluentui-react-native/focus-zone": { - "name": "@fluentui-react-native/focus-zone", - "version": "0.21.0" + '@fluentui-react-native/icon': { + name: '@fluentui-react-native/icon', + version: '0.21.8', }, - "@fluentui-react-native/icon": { - "name": "@fluentui-react-native/icon", - "version": "0.21.8" + '@fluentui-react-native/input': { + name: '@fluentui-react-native/input', + version: '0.7.8', }, - "@fluentui-react-native/input": { - "name": "@fluentui-react-native/input", - "version": "0.7.8" + '@fluentui-react-native/link': { + name: '@fluentui-react-native/link', + version: '0.23.8', }, - "@fluentui-react-native/link": { - "name": "@fluentui-react-native/link", - "version": "0.23.8" + '@fluentui-react-native/menu': { + name: '@fluentui-react-native/menu', + version: '1.14.22', }, - "@fluentui-react-native/menu": { - "name": "@fluentui-react-native/menu", - "version": "1.14.22" + '@fluentui-react-native/menu-button': { + name: '@fluentui-react-native/menu-button', + version: '0.13.19', }, - "@fluentui-react-native/menu-button": { - "name": "@fluentui-react-native/menu-button", - "version": "0.13.19" + '@fluentui-react-native/notification': { + name: '@fluentui-react-native/notification', + version: '0.25.11', }, - "@fluentui-react-native/notification": { - "name": "@fluentui-react-native/notification", - "version": "0.25.11" + '@fluentui-react-native/persona': { + name: '@fluentui-react-native/persona', + version: '0.16.2', }, - "@fluentui-react-native/persona": { - "name": "@fluentui-react-native/persona", - "version": "0.16.2" + '@fluentui-react-native/persona-coin': { + name: '@fluentui-react-native/persona-coin', + version: '0.15.2', }, - "@fluentui-react-native/persona-coin": { - "name": "@fluentui-react-native/persona-coin", - "version": "0.15.2" + '@fluentui-react-native/pressable': { + name: '@fluentui-react-native/pressable', + version: '0.12.4', }, - "@fluentui-react-native/pressable": { - "name": "@fluentui-react-native/pressable", - "version": "0.12.4" + '@fluentui-react-native/radio-group': { + name: '@fluentui-react-native/radio-group', + version: '0.21.16', }, - "@fluentui-react-native/radio-group": { - "name": "@fluentui-react-native/radio-group", - "version": "0.21.16" + '@fluentui-react-native/separator': { + name: '@fluentui-react-native/separator', + version: '0.18.2', }, - "@fluentui-react-native/separator": { - "name": "@fluentui-react-native/separator", - "version": "0.18.2" + '@fluentui-react-native/stack': { + name: '@fluentui-react-native/stack', + version: '0.10.7', }, - "@fluentui-react-native/stack": { - "name": "@fluentui-react-native/stack", - "version": "0.10.7" + '@fluentui-react-native/switch': { + name: '@fluentui-react-native/switch', + version: '0.13.7', }, - "@fluentui-react-native/switch": { - "name": "@fluentui-react-native/switch", - "version": "0.13.7" + '@fluentui-react-native/tablist': { + name: '@fluentui-react-native/tablist', + version: '0.7.4', }, - "@fluentui-react-native/tablist": { - "name": "@fluentui-react-native/tablist", - "version": "0.7.4" + '@fluentui-react-native/text': { + name: '@fluentui-react-native/text', + version: '0.24.6', }, - "@fluentui-react-native/text": { - "name": "@fluentui-react-native/text", - "version": "0.24.6" + '@uifabricshared/foundation-composable': { + name: '@uifabricshared/foundation-composable', + version: '0.13.1', }, - "@uifabricshared/foundation-composable": { - "name": "@uifabricshared/foundation-composable", - "version": "0.13.1" + '@uifabricshared/foundation-compose': { + name: '@uifabricshared/foundation-compose', + version: '1.15.2', }, - "@uifabricshared/foundation-compose": { - "name": "@uifabricshared/foundation-compose", - "version": "1.15.2" + '@uifabricshared/foundation-settings': { + name: '@uifabricshared/foundation-settings', + version: '0.15.1', }, - "@uifabricshared/foundation-settings": { - "name": "@uifabricshared/foundation-settings", - "version": "0.15.1" + '@uifabricshared/foundation-tokens': { + name: '@uifabricshared/foundation-tokens', + version: '0.15.2', }, - "@uifabricshared/foundation-tokens": { - "name": "@uifabricshared/foundation-tokens", - "version": "0.15.2" + '@uifabricshared/theme-registry': { + name: '@uifabricshared/theme-registry', + version: '0.12.0', }, - "@uifabricshared/theme-registry": { - "name": "@uifabricshared/theme-registry", - "version": "0.12.0" + '@uifabricshared/themed-settings': { + name: '@uifabricshared/themed-settings', + version: '0.12.1', }, - "@uifabricshared/themed-settings": { - "name": "@uifabricshared/themed-settings", - "version": "0.12.1" + '@uifabricshared/theming-ramp': { + name: '@uifabricshared/theming-ramp', + version: '0.20.2', }, - "@uifabricshared/theming-ramp": { - "name": "@uifabricshared/theming-ramp", - "version": "0.20.2" + '@uifabricshared/theming-react-native': { + name: '@uifabricshared/theming-react-native', + version: '0.20.5', }, - "@uifabricshared/theming-react-native": { - "name": "@uifabricshared/theming-react-native", - "version": "0.20.5" + '@fluentui-react-native/experimental-activity-indicator': { + name: '@fluentui-react-native/experimental-activity-indicator', + version: '0.10.3', }, - "@fluentui-react-native/experimental-activity-indicator": { - "name": "@fluentui-react-native/experimental-activity-indicator", - "version": "0.10.3" + '@fluentui-react-native/experimental-appearance-additions': { + name: '@fluentui-react-native/experimental-appearance-additions', + version: '0.7.2', }, - "@fluentui-react-native/experimental-appearance-additions": { - "name": "@fluentui-react-native/experimental-appearance-additions", - "version": "0.7.2" + '@fluentui-react-native/experimental-avatar': { + name: '@fluentui-react-native/experimental-avatar', + version: '0.21.4', }, - "@fluentui-react-native/experimental-avatar": { - "name": "@fluentui-react-native/experimental-avatar", - "version": "0.21.4" + '@fluentui-react-native/experimental-checkbox': { + name: '@fluentui-react-native/experimental-checkbox', + version: '0.17.9', }, - "@fluentui-react-native/experimental-checkbox": { - "name": "@fluentui-react-native/experimental-checkbox", - "version": "0.17.9" + '@fluentui-react-native/drawer': { + name: '@fluentui-react-native/drawer', + version: '0.4.4', }, - "@fluentui-react-native/drawer": { - "name": "@fluentui-react-native/drawer", - "version": "0.4.4" + '@fluentui-react-native/dropdown': { + name: '@fluentui-react-native/dropdown', + version: '0.10.13', }, - "@fluentui-react-native/dropdown": { - "name": "@fluentui-react-native/dropdown", - "version": "0.10.13" + '@fluentui-react-native/experimental-expander': { + name: '@fluentui-react-native/experimental-expander', + version: '0.8.3', }, - "@fluentui-react-native/experimental-expander": { - "name": "@fluentui-react-native/experimental-expander", - "version": "0.8.3" + '@fluentui-react-native/experimental-menu-button': { + name: '@fluentui-react-native/experimental-menu-button', + version: '0.10.19', }, - "@fluentui-react-native/experimental-menu-button": { - "name": "@fluentui-react-native/experimental-menu-button", - "version": "0.10.19" + '@fluentui-react-native/experimental-native-date-picker': { + name: '@fluentui-react-native/experimental-native-date-picker', + version: '0.11.0', }, - "@fluentui-react-native/experimental-native-date-picker": { - "name": "@fluentui-react-native/experimental-native-date-picker", - "version": "0.11.0" + '@fluentui-react-native/experimental-native-font-metrics': { + name: '@fluentui-react-native/experimental-native-font-metrics', + version: '0.6.0', }, - "@fluentui-react-native/experimental-native-font-metrics": { - "name": "@fluentui-react-native/experimental-native-font-metrics", - "version": "0.6.0" + '@fluentui-react-native/overflow': { + name: '@fluentui-react-native/overflow', + version: '0.3.22', }, - "@fluentui-react-native/overflow": { - "name": "@fluentui-react-native/overflow", - "version": "0.3.22" + '@fluentui-react-native/popover': { + name: '@fluentui-react-native/popover', + version: '0.4.2', }, - "@fluentui-react-native/popover": { - "name": "@fluentui-react-native/popover", - "version": "0.4.2" + '@fluentui-react-native/experimental-shadow': { + name: '@fluentui-react-native/experimental-shadow', + version: '0.6.4', }, - "@fluentui-react-native/experimental-shadow": { - "name": "@fluentui-react-native/experimental-shadow", - "version": "0.6.4" + '@fluentui-react-native/experimental-shimmer': { + name: '@fluentui-react-native/experimental-shimmer', + version: '0.13.5', }, - "@fluentui-react-native/experimental-shimmer": { - "name": "@fluentui-react-native/experimental-shimmer", - "version": "0.13.5" + '@fluentui-react-native/spinner': { + name: '@fluentui-react-native/spinner', + version: '0.9.9', }, - "@fluentui-react-native/spinner": { - "name": "@fluentui-react-native/spinner", - "version": "0.9.9" + '@fluentui-react-native/tooltip': { + name: '@fluentui-react-native/tooltip', + version: '0.4.11', }, - "@fluentui-react-native/tooltip": { - "name": "@fluentui-react-native/tooltip", - "version": "0.4.11" + '@fluentui-react-native/vibrancy-view': { + name: '@fluentui-react-native/vibrancy-view', + version: '0.3.0', }, - "@fluentui-react-native/vibrancy-view": { - "name": "@fluentui-react-native/vibrancy-view", - "version": "0.3.0" + '@fluentui-react-native/composition': { + name: '@fluentui-react-native/composition', + version: '0.11.2', }, - "@fluentui-react-native/composition": { - "name": "@fluentui-react-native/composition", - "version": "0.11.2" + '@fluentui-react-native/eslint-config-rules': { + name: '@fluentui-react-native/eslint-config-rules', + version: '0.1.1', }, - "@fluentui-react-native/eslint-config-rules": { - "name": "@fluentui-react-native/eslint-config-rules", - "version": "0.1.1" + '@fluentui-react-native/framework': { + name: '@fluentui-react-native/framework', + version: '0.14.2', }, - "@fluentui-react-native/framework": { - "name": "@fluentui-react-native/framework", - "version": "0.14.2" + '@fluentui-react-native/immutable-merge': { + name: '@fluentui-react-native/immutable-merge', + version: '1.2.2', }, - "@fluentui-react-native/immutable-merge": { - "name": "@fluentui-react-native/immutable-merge", - "version": "1.2.2" + '@fluentui-react-native/memo-cache': { + name: '@fluentui-react-native/memo-cache', + version: '1.3.3', }, - "@fluentui-react-native/memo-cache": { - "name": "@fluentui-react-native/memo-cache", - "version": "1.3.3" + '@fluentui-react-native/merge-props': { + name: '@fluentui-react-native/merge-props', + version: '0.9.1', }, - "@fluentui-react-native/merge-props": { - "name": "@fluentui-react-native/merge-props", - "version": "0.9.1" + '@fluentui-react-native/theme': { + name: '@fluentui-react-native/theme', + version: '0.11.1', }, - "@fluentui-react-native/theme": { - "name": "@fluentui-react-native/theme", - "version": "0.11.1" + '@fluentui-react-native/themed-stylesheet': { + name: '@fluentui-react-native/themed-stylesheet', + version: '1.7.1', }, - "@fluentui-react-native/themed-stylesheet": { - "name": "@fluentui-react-native/themed-stylesheet", - "version": "1.7.1" + '@fluentui-react-native/use-slot': { + name: '@fluentui-react-native/use-slot', + version: '0.6.2', }, - "@fluentui-react-native/use-slot": { - "name": "@fluentui-react-native/use-slot", - "version": "0.6.2" + '@fluentui-react-native/use-slots': { + name: '@fluentui-react-native/use-slots', + version: '0.10.2', }, - "@fluentui-react-native/use-slots": { - "name": "@fluentui-react-native/use-slots", - "version": "0.10.2" + '@fluentui-react-native/use-styling': { + name: '@fluentui-react-native/use-styling', + version: '0.13.2', }, - "@fluentui-react-native/use-styling": { - "name": "@fluentui-react-native/use-styling", - "version": "0.13.2" + '@fluentui-react-native/use-tokens': { + name: '@fluentui-react-native/use-tokens', + version: '0.6.2', }, - "@fluentui-react-native/use-tokens": { - "name": "@fluentui-react-native/use-tokens", - "version": "0.6.2" + '@fluentui/react-native': { + name: '@fluentui/react-native', + version: '0.42.13', }, - "@fluentui/react-native": { - "name": "@fluentui/react-native", - "version": "0.42.13" + '@fluentui-react-native/android-theme': { + name: '@fluentui-react-native/android-theme', + version: '0.25.2', }, - "@fluentui-react-native/android-theme": { - "name": "@fluentui-react-native/android-theme", - "version": "0.25.2" + '@fluentui-react-native/apple-theme': { + name: '@fluentui-react-native/apple-theme', + version: '0.28.2', }, - "@fluentui-react-native/apple-theme": { - "name": "@fluentui-react-native/apple-theme", - "version": "0.28.2" + '@fluentui-react-native/default-theme': { + name: '@fluentui-react-native/default-theme', + version: '0.26.2', }, - "@fluentui-react-native/default-theme": { - "name": "@fluentui-react-native/default-theme", - "version": "0.26.2" + '@fluentui-react-native/theme-tokens': { + name: '@fluentui-react-native/theme-tokens', + version: '0.27.1', }, - "@fluentui-react-native/theme-tokens": { - "name": "@fluentui-react-native/theme-tokens", - "version": "0.27.1" + '@fluentui-react-native/theme-types': { + name: '@fluentui-react-native/theme-types', + version: '0.39.1', }, - "@fluentui-react-native/theme-types": { - "name": "@fluentui-react-native/theme-types", - "version": "0.39.1" + '@fluentui-react-native/theming-utils': { + name: '@fluentui-react-native/theming-utils', + version: '0.26.1', }, - "@fluentui-react-native/theming-utils": { - "name": "@fluentui-react-native/theming-utils", - "version": "0.26.1" + '@fluentui-react-native/win32-theme': { + name: '@fluentui-react-native/win32-theme', + version: '0.34.5', }, - "@fluentui-react-native/win32-theme": { - "name": "@fluentui-react-native/win32-theme", - "version": "0.34.5" + '@fluentui-react-native/adapters': { + name: '@fluentui-react-native/adapters', + version: '0.13.0', }, - "@fluentui-react-native/adapters": { - "name": "@fluentui-react-native/adapters", - "version": "0.13.0" + '@fluentui-react-native/interactive-hooks': { + name: '@fluentui-react-native/interactive-hooks', + version: '0.27.4', }, - "@fluentui-react-native/interactive-hooks": { - "name": "@fluentui-react-native/interactive-hooks", - "version": "0.27.4" + '@fluentui-react-native/styling-utils': { + name: '@fluentui-react-native/styling-utils', + version: '0.7.0', }, - "@fluentui-react-native/styling-utils": { - "name": "@fluentui-react-native/styling-utils", - "version": "0.7.0" + '@fluentui-react-native/tokens': { + name: '@fluentui-react-native/tokens', + version: '0.23.1', }, - "@fluentui-react-native/tokens": { - "name": "@fluentui-react-native/tokens", - "version": "0.23.1" - } }, - "0.72": { - "@fluentui-react-native/e2e-testing": { - "name": "@fluentui-react-native/e2e-testing", - "version": "1.34.19" + 0.72: { + '@fluentui-react-native/e2e-testing': { + name: '@fluentui-react-native/e2e-testing', + version: '1.34.19', + }, + '@fluentui-react-native/tester': { + name: '@fluentui-react-native/tester', + version: '0.167.33', }, - "@fluentui-react-native/tester": { - "name": "@fluentui-react-native/tester", - "version": "0.167.33" + '@fluentui-react-native/tester-win32': { + name: '@fluentui-react-native/tester-win32', + version: '0.37.64', }, - "@fluentui-react-native/tester-win32": { - "name": "@fluentui-react-native/tester-win32", - "version": "0.37.64" + '@fluentui-react-native/avatar': { + name: '@fluentui-react-native/avatar', + version: '1.11.15', }, - "@fluentui-react-native/avatar": { - "name": "@fluentui-react-native/avatar", - "version": "1.11.15" + '@fluentui-react-native/badge': { + name: '@fluentui-react-native/badge', + version: '0.8.15', }, - "@fluentui-react-native/badge": { - "name": "@fluentui-react-native/badge", - "version": "0.8.15" + '@fluentui-react-native/button': { + name: '@fluentui-react-native/button', + version: '0.36.18', }, - "@fluentui-react-native/button": { - "name": "@fluentui-react-native/button", - "version": "0.36.18" + '@fluentui-react-native/callout': { + name: '@fluentui-react-native/callout', + version: '0.25.16', }, - "@fluentui-react-native/callout": { - "name": "@fluentui-react-native/callout", - "version": "0.25.16" + '@fluentui-react-native/checkbox': { + name: '@fluentui-react-native/checkbox', + version: '0.22.14', }, - "@fluentui-react-native/checkbox": { - "name": "@fluentui-react-native/checkbox", - "version": "0.22.14" + '@fluentui-react-native/chip': { + name: '@fluentui-react-native/chip', + version: '0.3.15', }, - "@fluentui-react-native/chip": { - "name": "@fluentui-react-native/chip", - "version": "0.3.15" + '@fluentui-react-native/contextual-menu': { + name: '@fluentui-react-native/contextual-menu', + version: '0.23.19', }, - "@fluentui-react-native/contextual-menu": { - "name": "@fluentui-react-native/contextual-menu", - "version": "0.23.19" + '@fluentui-react-native/divider': { + name: '@fluentui-react-native/divider', + version: '0.6.15', }, - "@fluentui-react-native/divider": { - "name": "@fluentui-react-native/divider", - "version": "0.6.15" + '@fluentui-react-native/focus-trap-zone': { + name: '@fluentui-react-native/focus-trap-zone', + version: '0.11.15', }, - "@fluentui-react-native/focus-trap-zone": { - "name": "@fluentui-react-native/focus-trap-zone", - "version": "0.11.15" + '@fluentui-react-native/focus-zone': { + name: '@fluentui-react-native/focus-zone', + version: '0.16.15', }, - "@fluentui-react-native/focus-zone": { - "name": "@fluentui-react-native/focus-zone", - "version": "0.16.15" + '@fluentui-react-native/icon': { + name: '@fluentui-react-native/icon', + version: '0.20.15', }, - "@fluentui-react-native/icon": { - "name": "@fluentui-react-native/icon", - "version": "0.20.15" + '@fluentui-react-native/input': { + name: '@fluentui-react-native/input', + version: '0.6.5', }, - "@fluentui-react-native/input": { - "name": "@fluentui-react-native/input", - "version": "0.6.5" + '@fluentui-react-native/link': { + name: '@fluentui-react-native/link', + version: '0.21.14', }, - "@fluentui-react-native/link": { - "name": "@fluentui-react-native/link", - "version": "0.21.14" + '@fluentui-react-native/menu': { + name: '@fluentui-react-native/menu', + version: '1.13.2', }, - "@fluentui-react-native/menu": { - "name": "@fluentui-react-native/menu", - "version": "1.13.2" + '@fluentui-react-native/menu-button': { + name: '@fluentui-react-native/menu-button', + version: '0.12.22', }, - "@fluentui-react-native/menu-button": { - "name": "@fluentui-react-native/menu-button", - "version": "0.12.22" + '@fluentui-react-native/notification': { + name: '@fluentui-react-native/notification', + version: '0.24.18', }, - "@fluentui-react-native/notification": { - "name": "@fluentui-react-native/notification", - "version": "0.24.18" + '@fluentui-react-native/persona': { + name: '@fluentui-react-native/persona', + version: '0.15.12', }, - "@fluentui-react-native/persona": { - "name": "@fluentui-react-native/persona", - "version": "0.15.12" + '@fluentui-react-native/persona-coin': { + name: '@fluentui-react-native/persona-coin', + version: '0.14.12', }, - "@fluentui-react-native/persona-coin": { - "name": "@fluentui-react-native/persona-coin", - "version": "0.14.12" + '@fluentui-react-native/pressable': { + name: '@fluentui-react-native/pressable', + version: '0.11.14', }, - "@fluentui-react-native/pressable": { - "name": "@fluentui-react-native/pressable", - "version": "0.11.14" + '@fluentui-react-native/radio-group': { + name: '@fluentui-react-native/radio-group', + version: '0.20.17', }, - "@fluentui-react-native/radio-group": { - "name": "@fluentui-react-native/radio-group", - "version": "0.20.17" + '@fluentui-react-native/separator': { + name: '@fluentui-react-native/separator', + version: '0.17.11', }, - "@fluentui-react-native/separator": { - "name": "@fluentui-react-native/separator", - "version": "0.17.11" + '@fluentui-react-native/stack': { + name: '@fluentui-react-native/stack', + version: '0.9.14', }, - "@fluentui-react-native/stack": { - "name": "@fluentui-react-native/stack", - "version": "0.9.14" + '@fluentui-react-native/switch': { + name: '@fluentui-react-native/switch', + version: '0.12.14', }, - "@fluentui-react-native/switch": { - "name": "@fluentui-react-native/switch", - "version": "0.12.14" + '@fluentui-react-native/tablist': { + name: '@fluentui-react-native/tablist', + version: '0.5.23', }, - "@fluentui-react-native/tablist": { - "name": "@fluentui-react-native/tablist", - "version": "0.5.23" + '@fluentui-react-native/text': { + name: '@fluentui-react-native/text', + version: '0.22.14', }, - "@fluentui-react-native/text": { - "name": "@fluentui-react-native/text", - "version": "0.22.14" + '@uifabricshared/foundation-composable': { + name: '@uifabricshared/foundation-composable', + version: '0.12.5', }, - "@uifabricshared/foundation-composable": { - "name": "@uifabricshared/foundation-composable", - "version": "0.12.5" + '@uifabricshared/foundation-compose': { + name: '@uifabricshared/foundation-compose', + version: '1.14.25', }, - "@uifabricshared/foundation-compose": { - "name": "@uifabricshared/foundation-compose", - "version": "1.14.25" + '@uifabricshared/foundation-settings': { + name: '@uifabricshared/foundation-settings', + version: '0.14.1', }, - "@uifabricshared/foundation-settings": { - "name": "@uifabricshared/foundation-settings", - "version": "0.14.1" + '@uifabricshared/foundation-tokens': { + name: '@uifabricshared/foundation-tokens', + version: '0.14.9', }, - "@uifabricshared/foundation-tokens": { - "name": "@uifabricshared/foundation-tokens", - "version": "0.14.9" + '@uifabricshared/theme-registry': { + name: '@uifabricshared/theme-registry', + version: '0.11.2', }, - "@uifabricshared/theme-registry": { - "name": "@uifabricshared/theme-registry", - "version": "0.11.2" + '@uifabricshared/themed-settings': { + name: '@uifabricshared/themed-settings', + version: '0.11.1', }, - "@uifabricshared/themed-settings": { - "name": "@uifabricshared/themed-settings", - "version": "0.11.1" + '@uifabricshared/theming-ramp': { + name: '@uifabricshared/theming-ramp', + version: '0.19.12', }, - "@uifabricshared/theming-ramp": { - "name": "@uifabricshared/theming-ramp", - "version": "0.19.12" + '@uifabricshared/theming-react-native': { + name: '@uifabricshared/theming-react-native', + version: '0.19.13', }, - "@uifabricshared/theming-react-native": { - "name": "@uifabricshared/theming-react-native", - "version": "0.19.13" + '@fluentui-react-native/experimental-activity-indicator': { + name: '@fluentui-react-native/experimental-activity-indicator', + version: '0.9.11', }, - "@fluentui-react-native/experimental-activity-indicator": { - "name": "@fluentui-react-native/experimental-activity-indicator", - "version": "0.9.11" + '@fluentui-react-native/experimental-appearance-additions': { + name: '@fluentui-react-native/experimental-appearance-additions', + version: '0.6.11', }, - "@fluentui-react-native/experimental-appearance-additions": { - "name": "@fluentui-react-native/experimental-appearance-additions", - "version": "0.6.11" + '@fluentui-react-native/experimental-avatar': { + name: '@fluentui-react-native/experimental-avatar', + version: '0.20.13', }, - "@fluentui-react-native/experimental-avatar": { - "name": "@fluentui-react-native/experimental-avatar", - "version": "0.20.13" + '@fluentui-react-native/experimental-checkbox': { + name: '@fluentui-react-native/experimental-checkbox', + version: '0.16.15', }, - "@fluentui-react-native/experimental-checkbox": { - "name": "@fluentui-react-native/experimental-checkbox", - "version": "0.16.15" + '@fluentui-react-native/drawer': { + name: '@fluentui-react-native/drawer', + version: '0.3.13', }, - "@fluentui-react-native/drawer": { - "name": "@fluentui-react-native/drawer", - "version": "0.3.13" + '@fluentui-react-native/dropdown': { + name: '@fluentui-react-native/dropdown', + version: '0.9.20', }, - "@fluentui-react-native/dropdown": { - "name": "@fluentui-react-native/dropdown", - "version": "0.9.20" + '@fluentui-react-native/experimental-expander': { + name: '@fluentui-react-native/experimental-expander', + version: '0.7.13', }, - "@fluentui-react-native/experimental-expander": { - "name": "@fluentui-react-native/experimental-expander", - "version": "0.7.13" + '@fluentui-react-native/experimental-menu-button': { + name: '@fluentui-react-native/experimental-menu-button', + version: '0.9.21', }, - "@fluentui-react-native/experimental-menu-button": { - "name": "@fluentui-react-native/experimental-menu-button", - "version": "0.9.21" + '@fluentui-react-native/experimental-native-date-picker': { + name: '@fluentui-react-native/experimental-native-date-picker', + version: '0.10.1', }, - "@fluentui-react-native/experimental-native-date-picker": { - "name": "@fluentui-react-native/experimental-native-date-picker", - "version": "0.10.1" + '@fluentui-react-native/experimental-native-font-metrics': { + name: '@fluentui-react-native/experimental-native-font-metrics', + version: '0.5.1', }, - "@fluentui-react-native/experimental-native-font-metrics": { - "name": "@fluentui-react-native/experimental-native-font-metrics", - "version": "0.5.1" + '@fluentui-react-native/overflow': { + name: '@fluentui-react-native/overflow', + version: '0.2.10', }, - "@fluentui-react-native/overflow": { - "name": "@fluentui-react-native/overflow", - "version": "0.2.10" + '@fluentui-react-native/popover': { + name: '@fluentui-react-native/popover', + version: '0.3.11', }, - "@fluentui-react-native/popover": { - "name": "@fluentui-react-native/popover", - "version": "0.3.11" + '@fluentui-react-native/experimental-shadow': { + name: '@fluentui-react-native/experimental-shadow', + version: '0.5.14', }, - "@fluentui-react-native/experimental-shadow": { - "name": "@fluentui-react-native/experimental-shadow", - "version": "0.5.14" + '@fluentui-react-native/experimental-shimmer': { + name: '@fluentui-react-native/experimental-shimmer', + version: '0.12.15', }, - "@fluentui-react-native/experimental-shimmer": { - "name": "@fluentui-react-native/experimental-shimmer", - "version": "0.12.15" + '@fluentui-react-native/spinner': { + name: '@fluentui-react-native/spinner', + version: '0.8.15', }, - "@fluentui-react-native/spinner": { - "name": "@fluentui-react-native/spinner", - "version": "0.8.15" + '@fluentui-react-native/tooltip': { + name: '@fluentui-react-native/tooltip', + version: '0.2.19', }, - "@fluentui-react-native/tooltip": { - "name": "@fluentui-react-native/tooltip", - "version": "0.2.19" + '@fluentui-react-native/vibrancy-view': { + name: '@fluentui-react-native/vibrancy-view', + version: '0.1.5', }, - "@fluentui-react-native/vibrancy-view": { - "name": "@fluentui-react-native/vibrancy-view", - "version": "0.1.5" + '@fluentui-react-native/composition': { + name: '@fluentui-react-native/composition', + version: '0.10.2', }, - "@fluentui-react-native/composition": { - "name": "@fluentui-react-native/composition", - "version": "0.10.2" + '@fluentui-react-native/eslint-config-rules': { + name: '@fluentui-react-native/eslint-config-rules', + version: '0.1.1', }, - "@fluentui-react-native/eslint-config-rules": { - "name": "@fluentui-react-native/eslint-config-rules", - "version": "0.1.1" + '@fluentui-react-native/framework': { + name: '@fluentui-react-native/framework', + version: '0.13.10', }, - "@fluentui-react-native/framework": { - "name": "@fluentui-react-native/framework", - "version": "0.13.10" + '@fluentui-react-native/immutable-merge': { + name: '@fluentui-react-native/immutable-merge', + version: '1.2.2', }, - "@fluentui-react-native/immutable-merge": { - "name": "@fluentui-react-native/immutable-merge", - "version": "1.2.2" + '@fluentui-react-native/memo-cache': { + name: '@fluentui-react-native/memo-cache', + version: '1.3.2', }, - "@fluentui-react-native/memo-cache": { - "name": "@fluentui-react-native/memo-cache", - "version": "1.3.2" + '@fluentui-react-native/merge-props': { + name: '@fluentui-react-native/merge-props', + version: '0.8.1', }, - "@fluentui-react-native/merge-props": { - "name": "@fluentui-react-native/merge-props", - "version": "0.8.1" + '@fluentui-react-native/theme': { + name: '@fluentui-react-native/theme', + version: '0.10.8', }, - "@fluentui-react-native/theme": { - "name": "@fluentui-react-native/theme", - "version": "0.10.8" + '@fluentui-react-native/themed-stylesheet': { + name: '@fluentui-react-native/themed-stylesheet', + version: '1.6.1', }, - "@fluentui-react-native/themed-stylesheet": { - "name": "@fluentui-react-native/themed-stylesheet", - "version": "1.6.1" + '@fluentui-react-native/use-slot': { + name: '@fluentui-react-native/use-slot', + version: '0.5.2', }, - "@fluentui-react-native/use-slot": { - "name": "@fluentui-react-native/use-slot", - "version": "0.5.2" + '@fluentui-react-native/use-slots': { + name: '@fluentui-react-native/use-slots', + version: '0.9.2', }, - "@fluentui-react-native/use-slots": { - "name": "@fluentui-react-native/use-slots", - "version": "0.9.2" + '@fluentui-react-native/use-styling': { + name: '@fluentui-react-native/use-styling', + version: '0.12.1', }, - "@fluentui-react-native/use-styling": { - "name": "@fluentui-react-native/use-styling", - "version": "0.12.1" + '@fluentui-react-native/use-tokens': { + name: '@fluentui-react-native/use-tokens', + version: '0.5.1', }, - "@fluentui-react-native/use-tokens": { - "name": "@fluentui-react-native/use-tokens", - "version": "0.5.1" + '@fluentui/react-native': { + name: '@fluentui/react-native', + version: '0.40.12', }, - "@fluentui/react-native": { - "name": "@fluentui/react-native", - "version": "0.40.12" + '@fluentui-react-native/android-theme': { + name: '@fluentui-react-native/android-theme', + version: '0.24.5', }, - "@fluentui-react-native/android-theme": { - "name": "@fluentui-react-native/android-theme", - "version": "0.24.5" + '@fluentui-react-native/apple-theme': { + name: '@fluentui-react-native/apple-theme', + version: '0.27.5', }, - "@fluentui-react-native/apple-theme": { - "name": "@fluentui-react-native/apple-theme", - "version": "0.27.5" + '@fluentui-react-native/default-theme': { + name: '@fluentui-react-native/default-theme', + version: '0.25.5', }, - "@fluentui-react-native/default-theme": { - "name": "@fluentui-react-native/default-theme", - "version": "0.25.5" + '@fluentui-react-native/theme-tokens': { + name: '@fluentui-react-native/theme-tokens', + version: '0.26.7', }, - "@fluentui-react-native/theme-tokens": { - "name": "@fluentui-react-native/theme-tokens", - "version": "0.26.7" + '@fluentui-react-native/theme-types': { + name: '@fluentui-react-native/theme-types', + version: '0.38.1', }, - "@fluentui-react-native/theme-types": { - "name": "@fluentui-react-native/theme-types", - "version": "0.38.1" + '@fluentui-react-native/theming-utils': { + name: '@fluentui-react-native/theming-utils', + version: '0.25.9', }, - "@fluentui-react-native/theming-utils": { - "name": "@fluentui-react-native/theming-utils", - "version": "0.25.9" + '@fluentui-react-native/win32-theme': { + name: '@fluentui-react-native/win32-theme', + version: '0.33.5', }, - "@fluentui-react-native/win32-theme": { - "name": "@fluentui-react-native/win32-theme", - "version": "0.33.5" + '@fluentui-react-native/adapters': { + name: '@fluentui-react-native/adapters', + version: '0.12.3', }, - "@fluentui-react-native/adapters": { - "name": "@fluentui-react-native/adapters", - "version": "0.12.3" + '@fluentui-react-native/interactive-hooks': { + name: '@fluentui-react-native/interactive-hooks', + version: '0.26.4', }, - "@fluentui-react-native/interactive-hooks": { - "name": "@fluentui-react-native/interactive-hooks", - "version": "0.26.4" + '@fluentui-react-native/styling-utils': { + name: '@fluentui-react-native/styling-utils', + version: '0.6.1', }, - "@fluentui-react-native/styling-utils": { - "name": "@fluentui-react-native/styling-utils", - "version": "0.6.1" + '@fluentui-react-native/tokens': { + name: '@fluentui-react-native/tokens', + version: '0.22.9', }, - "@fluentui-react-native/tokens": { - "name": "@fluentui-react-native/tokens", - "version": "0.22.9" - } }, - "0.71": { - "@fluentui-react-native/e2e-testing": { - "name": "@fluentui-react-native/e2e-testing", - "version": "1.32.8" + 0.71: { + '@fluentui-react-native/e2e-testing': { + name: '@fluentui-react-native/e2e-testing', + version: '1.32.8', }, - "@fluentui-react-native/tester": { - "name": "@fluentui-react-native/tester", - "version": "0.157.10" + '@fluentui-react-native/tester': { + name: '@fluentui-react-native/tester', + version: '0.157.10', }, - "@fluentui-react-native/tester-win32": { - "name": "@fluentui-react-native/tester-win32", - "version": "0.36.17" + '@fluentui-react-native/tester-win32': { + name: '@fluentui-react-native/tester-win32', + version: '0.36.17', }, - "@fluentui-react-native/avatar": { - "name": "@fluentui-react-native/avatar", - "version": "1.10.18" + '@fluentui-react-native/avatar': { + name: '@fluentui-react-native/avatar', + version: '1.10.18', }, - "@fluentui-react-native/badge": { - "name": "@fluentui-react-native/badge", - "version": "0.7.14" + '@fluentui-react-native/badge': { + name: '@fluentui-react-native/badge', + version: '0.7.14', }, - "@fluentui-react-native/button": { - "name": "@fluentui-react-native/button", - "version": "0.35.11" + '@fluentui-react-native/button': { + name: '@fluentui-react-native/button', + version: '0.35.11', }, - "@fluentui-react-native/callout": { - "name": "@fluentui-react-native/callout", - "version": "0.24.19" + '@fluentui-react-native/callout': { + name: '@fluentui-react-native/callout', + version: '0.24.19', }, - "@fluentui-react-native/checkbox": { - "name": "@fluentui-react-native/checkbox", - "version": "0.21.7" + '@fluentui-react-native/checkbox': { + name: '@fluentui-react-native/checkbox', + version: '0.21.7', }, - "@fluentui-react-native/chip": { - "name": "@fluentui-react-native/chip", - "version": "0.2.9" + '@fluentui-react-native/chip': { + name: '@fluentui-react-native/chip', + version: '0.2.9', }, - "@fluentui-react-native/contextual-menu": { - "name": "@fluentui-react-native/contextual-menu", - "version": "0.22.25" + '@fluentui-react-native/contextual-menu': { + name: '@fluentui-react-native/contextual-menu', + version: '0.22.25', }, - "@fluentui-react-native/divider": { - "name": "@fluentui-react-native/divider", - "version": "0.5.16" + '@fluentui-react-native/divider': { + name: '@fluentui-react-native/divider', + version: '0.5.16', }, - "@fluentui-react-native/focus-trap-zone": { - "name": "@fluentui-react-native/focus-trap-zone", - "version": "0.10.14" + '@fluentui-react-native/focus-trap-zone': { + name: '@fluentui-react-native/focus-trap-zone', + version: '0.10.14', }, - "@fluentui-react-native/focus-zone": { - "name": "@fluentui-react-native/focus-zone", - "version": "0.15.0" + '@fluentui-react-native/focus-zone': { + name: '@fluentui-react-native/focus-zone', + version: '0.15.0', }, - "@fluentui-react-native/icon": { - "name": "@fluentui-react-native/icon", - "version": "0.19.16" + '@fluentui-react-native/icon': { + name: '@fluentui-react-native/icon', + version: '0.19.16', }, - "@fluentui-react-native/input": { - "name": "@fluentui-react-native/input", - "version": "0.4.9" + '@fluentui-react-native/input': { + name: '@fluentui-react-native/input', + version: '0.4.9', }, - "@fluentui-react-native/link": { - "name": "@fluentui-react-native/link", - "version": "0.20.7" + '@fluentui-react-native/link': { + name: '@fluentui-react-native/link', + version: '0.20.7', }, - "@fluentui-react-native/menu": { - "name": "@fluentui-react-native/menu", - "version": "1.11.30" + '@fluentui-react-native/menu': { + name: '@fluentui-react-native/menu', + version: '1.11.30', }, - "@fluentui-react-native/menu-button": { - "name": "@fluentui-react-native/menu-button", - "version": "0.11.31" + '@fluentui-react-native/menu-button': { + name: '@fluentui-react-native/menu-button', + version: '0.11.31', }, - "@fluentui-react-native/notification": { - "name": "@fluentui-react-native/notification", - "version": "0.23.22" + '@fluentui-react-native/notification': { + name: '@fluentui-react-native/notification', + version: '0.23.22', }, - "@fluentui-react-native/persona": { - "name": "@fluentui-react-native/persona", - "version": "0.14.12" + '@fluentui-react-native/persona': { + name: '@fluentui-react-native/persona', + version: '0.14.12', }, - "@fluentui-react-native/persona-coin": { - "name": "@fluentui-react-native/persona-coin", - "version": "0.13.12" + '@fluentui-react-native/persona-coin': { + name: '@fluentui-react-native/persona-coin', + version: '0.13.12', }, - "@fluentui-react-native/pressable": { - "name": "@fluentui-react-native/pressable", - "version": "0.10.13" + '@fluentui-react-native/pressable': { + name: '@fluentui-react-native/pressable', + version: '0.10.13', }, - "@fluentui-react-native/radio-group": { - "name": "@fluentui-react-native/radio-group", - "version": "0.19.9" + '@fluentui-react-native/radio-group': { + name: '@fluentui-react-native/radio-group', + version: '0.19.9', }, - "@fluentui-react-native/separator": { - "name": "@fluentui-react-native/separator", - "version": "0.16.10" + '@fluentui-react-native/separator': { + name: '@fluentui-react-native/separator', + version: '0.16.10', }, - "@fluentui-react-native/stack": { - "name": "@fluentui-react-native/stack", - "version": "0.8.16" + '@fluentui-react-native/stack': { + name: '@fluentui-react-native/stack', + version: '0.8.16', }, - "@fluentui-react-native/switch": { - "name": "@fluentui-react-native/switch", - "version": "0.11.7" + '@fluentui-react-native/switch': { + name: '@fluentui-react-native/switch', + version: '0.11.7', }, - "@fluentui-react-native/text": { - "name": "@fluentui-react-native/text", - "version": "0.21.14" + '@fluentui-react-native/text': { + name: '@fluentui-react-native/text', + version: '0.21.14', }, - "@uifabricshared/foundation-composable": { - "name": "@uifabricshared/foundation-composable", - "version": "0.12.2" + '@uifabricshared/foundation-composable': { + name: '@uifabricshared/foundation-composable', + version: '0.12.2', }, - "@uifabricshared/foundation-compose": { - "name": "@uifabricshared/foundation-compose", - "version": "1.14.12" + '@uifabricshared/foundation-compose': { + name: '@uifabricshared/foundation-compose', + version: '1.14.12', }, - "@uifabricshared/foundation-settings": { - "name": "@uifabricshared/foundation-settings", - "version": "0.13.2" + '@uifabricshared/foundation-settings': { + name: '@uifabricshared/foundation-settings', + version: '0.13.2', }, - "@uifabricshared/foundation-tokens": { - "name": "@uifabricshared/foundation-tokens", - "version": "0.13.9" + '@uifabricshared/foundation-tokens': { + name: '@uifabricshared/foundation-tokens', + version: '0.13.9', }, - "@uifabricshared/theme-registry": { - "name": "@uifabricshared/theme-registry", - "version": "0.10.1" + '@uifabricshared/theme-registry': { + name: '@uifabricshared/theme-registry', + version: '0.10.1', }, - "@uifabricshared/themed-settings": { - "name": "@uifabricshared/themed-settings", - "version": "0.10.2" + '@uifabricshared/themed-settings': { + name: '@uifabricshared/themed-settings', + version: '0.10.2', }, - "@uifabricshared/theming-ramp": { - "name": "@uifabricshared/theming-ramp", - "version": "0.19.4" + '@uifabricshared/theming-ramp': { + name: '@uifabricshared/theming-ramp', + version: '0.19.4', }, - "@uifabricshared/theming-react-native": { - "name": "@uifabricshared/theming-react-native", - "version": "0.18.12" + '@uifabricshared/theming-react-native': { + name: '@uifabricshared/theming-react-native', + version: '0.18.12', }, - "@fluentui-react-native/experimental-activity-indicator": { - "name": "@fluentui-react-native/experimental-activity-indicator", - "version": "0.8.12" + '@fluentui-react-native/experimental-activity-indicator': { + name: '@fluentui-react-native/experimental-activity-indicator', + version: '0.8.12', }, - "@fluentui-react-native/experimental-appearance-additions": { - "name": "@fluentui-react-native/experimental-appearance-additions", - "version": "0.5.12" + '@fluentui-react-native/experimental-appearance-additions': { + name: '@fluentui-react-native/experimental-appearance-additions', + version: '0.5.12', }, - "@fluentui-react-native/experimental-avatar": { - "name": "@fluentui-react-native/experimental-avatar", - "version": "0.19.11" + '@fluentui-react-native/experimental-avatar': { + name: '@fluentui-react-native/experimental-avatar', + version: '0.19.11', }, - "@fluentui-react-native/experimental-button": { - "name": "@fluentui-react-native/experimental-button", - "version": "0.18.22" + '@fluentui-react-native/experimental-button': { + name: '@fluentui-react-native/experimental-button', + version: '0.18.22', }, - "@fluentui-react-native/experimental-checkbox": { - "name": "@fluentui-react-native/experimental-checkbox", - "version": "0.15.17" + '@fluentui-react-native/experimental-checkbox': { + name: '@fluentui-react-native/experimental-checkbox', + version: '0.15.17', }, - "@fluentui-react-native/drawer": { - "name": "@fluentui-react-native/drawer", - "version": "0.2.13" + '@fluentui-react-native/drawer': { + name: '@fluentui-react-native/drawer', + version: '0.2.13', }, - "@fluentui-react-native/dropdown": { - "name": "@fluentui-react-native/dropdown", - "version": "0.8.29" + '@fluentui-react-native/dropdown': { + name: '@fluentui-react-native/dropdown', + version: '0.8.29', }, - "@fluentui-react-native/experimental-expander": { - "name": "@fluentui-react-native/experimental-expander", - "version": "0.6.13" + '@fluentui-react-native/experimental-expander': { + name: '@fluentui-react-native/experimental-expander', + version: '0.6.13', }, - "@fluentui-react-native/experimental-link": { - "name": "@fluentui-react-native/experimental-link", - "version": "0.6.16" + '@fluentui-react-native/experimental-link': { + name: '@fluentui-react-native/experimental-link', + version: '0.6.16', }, - "@fluentui-react-native/experimental-menu-button": { - "name": "@fluentui-react-native/experimental-menu-button", - "version": "0.7.31" + '@fluentui-react-native/experimental-menu-button': { + name: '@fluentui-react-native/experimental-menu-button', + version: '0.7.31', }, - "@fluentui-react-native/experimental-native-date-picker": { - "name": "@fluentui-react-native/experimental-native-date-picker", - "version": "0.9.1" + '@fluentui-react-native/experimental-native-date-picker': { + name: '@fluentui-react-native/experimental-native-date-picker', + version: '0.9.1', }, - "@fluentui-react-native/experimental-native-font-metrics": { - "name": "@fluentui-react-native/experimental-native-font-metrics", - "version": "0.4.1" + '@fluentui-react-native/experimental-native-font-metrics': { + name: '@fluentui-react-native/experimental-native-font-metrics', + version: '0.4.1', }, - "@fluentui-react-native/popover": { - "name": "@fluentui-react-native/popover", - "version": "0.2.11" + '@fluentui-react-native/popover': { + name: '@fluentui-react-native/popover', + version: '0.2.11', }, - "@fluentui-react-native/experimental-radio-group": { - "name": "@fluentui-react-native/experimental-radio-group", - "version": "0.11.19" + '@fluentui-react-native/experimental-radio-group': { + name: '@fluentui-react-native/experimental-radio-group', + version: '0.11.19', }, - "@fluentui-react-native/experimental-shadow": { - "name": "@fluentui-react-native/experimental-shadow", - "version": "0.4.12" + '@fluentui-react-native/experimental-shadow': { + name: '@fluentui-react-native/experimental-shadow', + version: '0.4.12', }, - "@fluentui-react-native/experimental-shimmer": { - "name": "@fluentui-react-native/experimental-shimmer", - "version": "0.11.6" + '@fluentui-react-native/experimental-shimmer': { + name: '@fluentui-react-native/experimental-shimmer', + version: '0.11.6', }, - "@fluentui-react-native/spinner": { - "name": "@fluentui-react-native/spinner", - "version": "0.7.15" + '@fluentui-react-native/spinner': { + name: '@fluentui-react-native/spinner', + version: '0.7.15', }, - "@fluentui-react-native/tablist": { - "name": "@fluentui-react-native/tablist", - "version": "0.4.10" + '@fluentui-react-native/tablist': { + name: '@fluentui-react-native/tablist', + version: '0.4.10', }, - "@fluentui-react-native/experimental-text": { - "name": "@fluentui-react-native/experimental-text", - "version": "0.13.14" + '@fluentui-react-native/experimental-text': { + name: '@fluentui-react-native/experimental-text', + version: '0.13.14', }, - "@fluentui-react-native/vibrancy-view": { - "name": "@fluentui-react-native/vibrancy-view", - "version": "0.0.3" + '@fluentui-react-native/vibrancy-view': { + name: '@fluentui-react-native/vibrancy-view', + version: '0.0.3', }, - "@fluentui-react-native/component-cache": { - "name": "@fluentui-react-native/component-cache", - "version": "1.5.1" + '@fluentui-react-native/component-cache': { + name: '@fluentui-react-native/component-cache', + version: '1.5.1', }, - "@fluentui-react-native/composition": { - "name": "@fluentui-react-native/composition", - "version": "0.9.2" + '@fluentui-react-native/composition': { + name: '@fluentui-react-native/composition', + version: '0.9.2', }, - "@fluentui-react-native/eslint-config-rules": { - "name": "@fluentui-react-native/eslint-config-rules", - "version": "0.1.1" + '@fluentui-react-native/eslint-config-rules': { + name: '@fluentui-react-native/eslint-config-rules', + version: '0.1.1', }, - "@fluentui-react-native/framework": { - "name": "@fluentui-react-native/framework", - "version": "0.11.10" + '@fluentui-react-native/framework': { + name: '@fluentui-react-native/framework', + version: '0.11.10', }, - "@fluentui-react-native/immutable-merge": { - "name": "@fluentui-react-native/immutable-merge", - "version": "1.2.1" + '@fluentui-react-native/immutable-merge': { + name: '@fluentui-react-native/immutable-merge', + version: '1.2.1', }, - "@fluentui-react-native/memo-cache": { - "name": "@fluentui-react-native/memo-cache", - "version": "1.3.1" + '@fluentui-react-native/memo-cache': { + name: '@fluentui-react-native/memo-cache', + version: '1.3.1', }, - "@fluentui-react-native/merge-props": { - "name": "@fluentui-react-native/merge-props", - "version": "0.7.1" + '@fluentui-react-native/merge-props': { + name: '@fluentui-react-native/merge-props', + version: '0.7.1', }, - "@fluentui-react-native/theme": { - "name": "@fluentui-react-native/theme", - "version": "0.9.4" + '@fluentui-react-native/theme': { + name: '@fluentui-react-native/theme', + version: '0.9.4', }, - "@fluentui-react-native/themed-stylesheet": { - "name": "@fluentui-react-native/themed-stylesheet", - "version": "1.5.2" + '@fluentui-react-native/themed-stylesheet': { + name: '@fluentui-react-native/themed-stylesheet', + version: '1.5.2', }, - "@fluentui-react-native/use-slot": { - "name": "@fluentui-react-native/use-slot", - "version": "0.4.2" + '@fluentui-react-native/use-slot': { + name: '@fluentui-react-native/use-slot', + version: '0.4.2', }, - "@fluentui-react-native/use-slots": { - "name": "@fluentui-react-native/use-slots", - "version": "0.8.2" + '@fluentui-react-native/use-slots': { + name: '@fluentui-react-native/use-slots', + version: '0.8.2', }, - "@fluentui-react-native/use-styling": { - "name": "@fluentui-react-native/use-styling", - "version": "0.11.1" + '@fluentui-react-native/use-styling': { + name: '@fluentui-react-native/use-styling', + version: '0.11.1', }, - "@fluentui-react-native/use-tokens": { - "name": "@fluentui-react-native/use-tokens", - "version": "0.4.2" + '@fluentui-react-native/use-tokens': { + name: '@fluentui-react-native/use-tokens', + version: '0.4.2', }, - "@fluentui/react-native": { - "name": "@fluentui/react-native", - "version": "0.38.6" + '@fluentui/react-native': { + name: '@fluentui/react-native', + version: '0.38.6', }, - "@fluentui-react-native/android-theme": { - "name": "@fluentui-react-native/android-theme", - "version": "0.18.9" + '@fluentui-react-native/android-theme': { + name: '@fluentui-react-native/android-theme', + version: '0.18.9', }, - "@fluentui-react-native/apple-theme": { - "name": "@fluentui-react-native/apple-theme", - "version": "0.21.13" + '@fluentui-react-native/apple-theme': { + name: '@fluentui-react-native/apple-theme', + version: '0.21.13', }, - "@fluentui-react-native/default-theme": { - "name": "@fluentui-react-native/default-theme", - "version": "0.19.11" + '@fluentui-react-native/default-theme': { + name: '@fluentui-react-native/default-theme', + version: '0.19.11', }, - "@fluentui-react-native/theme-tokens": { - "name": "@fluentui-react-native/theme-tokens", - "version": "0.25.4" + '@fluentui-react-native/theme-tokens': { + name: '@fluentui-react-native/theme-tokens', + version: '0.25.4', }, - "@fluentui-react-native/theme-types": { - "name": "@fluentui-react-native/theme-types", - "version": "0.32.3" + '@fluentui-react-native/theme-types': { + name: '@fluentui-react-native/theme-types', + version: '0.32.3', }, - "@fluentui-react-native/theming-utils": { - "name": "@fluentui-react-native/theming-utils", - "version": "0.24.7" + '@fluentui-react-native/theming-utils': { + name: '@fluentui-react-native/theming-utils', + version: '0.24.7', }, - "@fluentui-react-native/win32-theme": { - "name": "@fluentui-react-native/win32-theme", - "version": "0.27.10" + '@fluentui-react-native/win32-theme': { + name: '@fluentui-react-native/win32-theme', + version: '0.27.10', }, - "@fluentui-react-native/adapters": { - "name": "@fluentui-react-native/adapters", - "version": "0.11.3" + '@fluentui-react-native/adapters': { + name: '@fluentui-react-native/adapters', + version: '0.11.3', }, - "@fluentui-react-native/interactive-hooks": { - "name": "@fluentui-react-native/interactive-hooks", - "version": "0.24.12" + '@fluentui-react-native/interactive-hooks': { + name: '@fluentui-react-native/interactive-hooks', + version: '0.24.12', }, - "@fluentui-react-native/styling-utils": { - "name": "@fluentui-react-native/styling-utils", - "version": "0.5.0" + '@fluentui-react-native/styling-utils': { + name: '@fluentui-react-native/styling-utils', + version: '0.5.0', }, - "@fluentui-react-native/tokens": { - "name": "@fluentui-react-native/tokens", - "version": "0.21.6" - } - } + '@fluentui-react-native/tokens': { + name: '@fluentui-react-native/tokens', + version: '0.21.6', + }, + }, }; diff --git a/packages/dependency-profiles/update-profile.mjs b/packages/dependency-profiles/update-profile.mjs index b90cc8f1d09..b493d2bea2f 100644 --- a/packages/dependency-profiles/update-profile.mjs +++ b/packages/dependency-profiles/update-profile.mjs @@ -5,7 +5,7 @@ import { URL, fileURLToPath } from 'node:url'; import semverCoerce from 'semver/functions/coerce.js'; import { getAllPackageJsonFiles } from 'workspace-tools'; -const OUTPUT_FILE = fileURLToPath(new URL("src/index.js", import.meta.url)); +const OUTPUT_FILE = fileURLToPath(new URL('src/index.js', import.meta.url)); const CAPABILITY_MAP = { // empty for now @@ -54,8 +54,8 @@ const { major, minor } = semverCoerce(devDependencies['react-native']) ?? {}; // the current react-native version in index.js to a new file under src named // "furn-profile-X.Y.js" and add that profile here. For example: const profiles = { [`${major}.${minor}`]: packages }; -for (const filename of fs.readdirSync("./src").sort().reverse()) { - if (!filename.startsWith("furn-profile-")) { +for (const filename of fs.readdirSync('./src').sort().reverse()) { + if (!filename.startsWith('furn-profile-')) { continue; } diff --git a/packages/deprecated/foundation-composable/package.json b/packages/deprecated/foundation-composable/package.json index 256c6b031a4..5e7f22e01ab 100644 --- a/packages/deprecated/foundation-composable/package.json +++ b/packages/deprecated/foundation-composable/package.json @@ -3,13 +3,16 @@ "version": "0.14.0", "description": "Composable component building blocks", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/deprecated/foundation-composable" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/deprecated/foundation-compose/etc/foundation-compose.api.md b/packages/deprecated/foundation-compose/etc/foundation-compose.api.md index 7fdce3d0991..faf686cfbf8 100644 --- a/packages/deprecated/foundation-compose/etc/foundation-compose.api.md +++ b/packages/deprecated/foundation-compose/etc/foundation-compose.api.md @@ -3,7 +3,6 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts - import { IComponentSettings } from '@uifabricshared/foundation-settings'; import { IComponentTokens } from '@uifabricshared/foundation-tokens'; import { IComposableDefinition } from '@uifabricshared/foundation-composable'; @@ -18,42 +17,65 @@ import { ITheme } from '@uifabricshared/theming-ramp'; import * as React from 'react'; // @public -export function compose, TState extends object = object, TStatics extends object = object>(inputComponent: Partial>, base?: INativeSlotType): IComposeReturnType; +export function compose< + TProps extends object, + TSlotProps extends ISlotProps = ISlotProps, + TState extends object = object, + TStatics extends object = object, +>( + inputComponent: Partial>, + base?: INativeSlotType, +): IComposeReturnType; // @public -export interface IComposeOptions, TState extends object = object, TStatics extends object = object> extends Omit, 'slots'>, IStylingSettings { - displayName?: string; - statics?: TStatics; - usePrepareProps?: (props: TSlotProps['root'], useStyling: IUseComposeStyling) => IRenderData; - useStyling?: IUseComposeStyling; +export interface IComposeOptions< + TProps extends object = object, + TSlotProps extends ISlotProps = ISlotProps, + TState extends object = object, + TStatics extends object = object, +> + extends Omit, 'slots'>, IStylingSettings { + displayName?: string; + statics?: TStatics; + usePrepareProps?: (props: TSlotProps['root'], useStyling: IUseComposeStyling) => IRenderData; + useStyling?: IUseComposeStyling; } // @public -export type IComposeReturnType = React.FunctionComponent & TStatics & { +export type IComposeReturnType< + TProps extends object, + TSlotProps extends ISlotProps, + TState extends object = object, + TStatics extends object = object, +> = React.FunctionComponent & + TStatics & { __composable: IComposeOptions; customize: (...settings: IComposeSettings) => IComposeReturnType; - compose: (newOptions: Partial>) => IComposeReturnType; -}; + compose: ( + newOptions: Partial>, + ) => IComposeReturnType; + }; // @public export type IComposeSettings = ISettingsEntry, ITheme>[]; // @public -export function initializeStyling(styleSettings: IStylingSettings, name?: string): IUseComposeStyling; +export function initializeStyling( + styleSettings: IStylingSettings, + name?: string, +): IUseComposeStyling; // @public export interface IStylingSettings { - resolvedTokens?: IComponentTokens; - settings?: IComposeSettings; - slots: { - [K in keyof TSlotProps]: ISlotWithFilter>; - }; + resolvedTokens?: IComponentTokens; + settings?: IComposeSettings; + slots: { + [K in keyof TSlotProps]: ISlotWithFilter>; + }; } // @public export type IUseComposeStyling = (props: TSlotProps['root'], lookup?: IOverrideLookup) => TSlotProps; - // (No @packageDocumentation comment for this package) - ``` diff --git a/packages/deprecated/foundation-compose/package.json b/packages/deprecated/foundation-compose/package.json index ab17f14c807..83bebd00664 100644 --- a/packages/deprecated/foundation-compose/package.json +++ b/packages/deprecated/foundation-compose/package.json @@ -3,13 +3,16 @@ "version": "1.16.0", "description": "Compose infrastructure", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/deprecated/foundation-compose" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/deprecated/foundation-compose/src/compose.types.ts b/packages/deprecated/foundation-compose/src/compose.types.ts index 754c2e3646c..a7a19ae1626 100644 --- a/packages/deprecated/foundation-compose/src/compose.types.ts +++ b/packages/deprecated/foundation-compose/src/compose.types.ts @@ -97,8 +97,8 @@ export interface IComposeOptions< TTokens extends object = object, TState extends object = object, TStatics extends object = object, -> extends IComposableDefinition, - IStylingSettings { +> + extends IComposableDefinition, IStylingSettings { /** * Add an additional option to use styling to allow for injecting override lookup functions */ diff --git a/packages/deprecated/foundation-settings/etc/foundation-settings.api.md b/packages/deprecated/foundation-settings/etc/foundation-settings.api.md index 232410ce10e..e839799fd2c 100644 --- a/packages/deprecated/foundation-settings/etc/foundation-settings.api.md +++ b/packages/deprecated/foundation-settings/etc/foundation-settings.api.md @@ -3,7 +3,6 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts - // @public export function flattenStyle(style: IStyleProp): object; @@ -12,13 +11,13 @@ export function getActiveOverrides(target: IComponentSettings, lookup?: IOverrid // @public (undocumented) export type IComponentSettings = IPartialSlotProps & { - _precedence?: string[]; - _overrides?: IComponentSettingsCollection>; + _precedence?: string[]; + _overrides?: IComponentSettingsCollection>; }; // @public (undocumented) export type IComponentSettingsCollection = { - [key: string]: TSettings; + [key: string]: TSettings; }; // @public @@ -32,30 +31,33 @@ export type IOverrideLookup = IOverrideFunction | IOverrideMask; // @public export interface IOverrideMask { - // (undocumented) - [key: string]: any; + // (undocumented) + [key: string]: any; } // @public (undocumented) export type IPartialSlotProps = { - [K in keyof TSlotProps]+?: Partial; + [K in keyof TSlotProps]+?: Partial; }; // @public (undocumented) export interface ISlotProps { - // (undocumented) - root: TProps; + // (undocumented) + root: TProps; } // Warning: (ae-forgotten-export) The symbol "RegisteredStyle" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "RecursiveArray" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "Falsy" needs to be exported by the entry point index.d.ts -// +// // @public (undocumented) export type IStyleProp = T | RegisteredStyle | RecursiveArray | Falsy> | Falsy; // @public -export function mergeAndFinalizeSettings(finalizer: IFinalizeStyle, ...settings: (object | undefined)[]): TSettings; +export function mergeAndFinalizeSettings( + finalizer: IFinalizeStyle, + ...settings: (object | undefined)[] +): TSettings; // @public export function mergeAndFlattenStyles(finalizer: IFinalizeStyle | undefined, ...styles: IStyleProp[]): object | undefined; @@ -67,7 +69,9 @@ export function mergeProps(...props: (object | undefined) export function mergeSettings(...settings: (object | undefined)[]): TSettings; // @public -export function mergeSettingsCollection(...collections: object[]): TCollection; +export function mergeSettingsCollection( + ...collections: object[] +): TCollection; // @public export function resolveSettingsOverrides(target: IComponentSettings, overrideLookup?: IOverrideLookup): IComponentSettings; @@ -75,7 +79,5 @@ export function resolveSettingsOverrides(target: IComponentSettings, overrideLoo // @public export function slotPropsFromSettings(target: IComponentSettings): ISlotProps; - // (No @packageDocumentation comment for this package) - ``` diff --git a/packages/deprecated/foundation-settings/package.json b/packages/deprecated/foundation-settings/package.json index e9bcf3c272c..e1f11e39c6f 100644 --- a/packages/deprecated/foundation-settings/package.json +++ b/packages/deprecated/foundation-settings/package.json @@ -3,13 +3,16 @@ "version": "0.16.0", "description": "Settings and style definitions and helpers", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/deprecated/foundation-settings" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/deprecated/foundation-tokens/etc/foundation-tokens.api.md b/packages/deprecated/foundation-tokens/etc/foundation-tokens.api.md index 5080db91477..9c2a7e4bf24 100644 --- a/packages/deprecated/foundation-tokens/etc/foundation-tokens.api.md +++ b/packages/deprecated/foundation-tokens/etc/foundation-tokens.api.md @@ -3,20 +3,23 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts - import { IComponentSettings } from '@uifabricshared/foundation-settings'; import { ISlotProps } from '@uifabricshared/foundation-settings'; // @public -export function buildComponentTokens(factories: IStyleFactories, hasToken?: ITargetHasToken, finalizer?: IStyleFinalizer): IComponentTokens; +export function buildComponentTokens( + factories: IStyleFactories, + hasToken?: ITargetHasToken, + finalizer?: IStyleFinalizer, +): IComponentTokens; // @public export interface IComponentTokens { - // Warning: (ae-forgotten-export) The symbol "ICachedPropHandlers" needs to be exported by the entry point index.d.ts - handlers: ICachedPropHandlers; - tokenKeys: { - [key: string]: undefined; - }; + // Warning: (ae-forgotten-export) The symbol "ICachedPropHandlers" needs to be exported by the entry point index.d.ts + handlers: ICachedPropHandlers; + tokenKeys: { + [key: string]: undefined; + }; } // @public @@ -27,21 +30,21 @@ export type IOperationSet = IStyleFactoryOperation { - // (undocumented) - styleFactories?: (IOperationSet | IStyleFactoryFunction)[]; + // (undocumented) + styleFactories?: (IOperationSet | IStyleFactoryFunction)[]; } // @public export interface IStyleFactories { - // (undocumented) - [key: string]: ISlotStyleFactories; - // (undocumented) - root: ISlotStyleFactories; + // (undocumented) + [key: string]: ISlotStyleFactories; + // (undocumented) + root: ISlotStyleFactories; } // @public (undocumented) export type IStyleFactoryFunction = IStyleFactoryFunctionRaw & { - _keys: (keyof TProps)[]; + _keys: (keyof TProps)[]; }; // @public @@ -49,9 +52,9 @@ export type IStyleFactoryFunctionRaw = (tokenProps: TProps, them // @public export interface IStyleFactoryOperation { - lookup?: ILookupThemePart; - source: keyof TProps; - target?: string; + lookup?: ILookupThemePart; + source: keyof TProps; + target?: string; } // Warning: (ae-forgotten-export) The symbol "ICacheInfo" needs to be exported by the entry point index.d.ts @@ -63,12 +66,21 @@ export type IStyleFinalizer = (props: TProps, slotName: string, cacheInf export type ITargetHasToken = (target: string, key: string) => boolean; // @public -export function processTokens(props: TProps, theme: TTheme, slotProps: IComponentSettings, tokenInfo: IComponentTokens, prefix: string, cache: object, displayName?: string): ISlotProps; +export function processTokens( + props: TProps, + theme: TTheme, + slotProps: IComponentSettings, + tokenInfo: IComponentTokens, + prefix: string, + cache: object, + displayName?: string, +): ISlotProps; // @public -export function styleFunction(fn: IStyleFactoryFunctionRaw, keys: (keyof TProps)[]): IStyleFactoryFunction; - +export function styleFunction( + fn: IStyleFactoryFunctionRaw, + keys: (keyof TProps)[], +): IStyleFactoryFunction; // (No @packageDocumentation comment for this package) - ``` diff --git a/packages/deprecated/foundation-tokens/package.json b/packages/deprecated/foundation-tokens/package.json index 8cf92fa4c65..ed4bb1e5915 100644 --- a/packages/deprecated/foundation-tokens/package.json +++ b/packages/deprecated/foundation-tokens/package.json @@ -3,13 +3,16 @@ "version": "0.16.0", "description": "Core tokens package", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/deprecated/foundation-tokens" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/deprecated/theme-registry/etc/theme-registry.api.md b/packages/deprecated/theme-registry/etc/theme-registry.api.md index df5db75bc0d..d887d2f3fba 100644 --- a/packages/deprecated/theme-registry/etc/theme-registry.api.md +++ b/packages/deprecated/theme-registry/etc/theme-registry.api.md @@ -3,9 +3,11 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts - // @public (undocumented) -export function createThemeRegistry(initial: T, baseResolver: IResolveTheme): IThemeRegistry; +export function createThemeRegistry( + initial: T, + baseResolver: IResolveTheme, +): IThemeRegistry; // @public export type IProcessTheme = (parentTheme: TTheme) => TPartialTheme; @@ -15,19 +17,17 @@ export type IResolveTheme = (parent: TTheme, partial?: TP // @public export interface IThemeEventListener { - onInvalidate(name: string): void; + onInvalidate(name: string): void; } // @public export interface IThemeRegistry { - addEventListener(events: IThemeEventListener): void; - getTheme(name?: string): TTheme; - removeEventListener(events: IThemeEventListener): void; - setTheme(definition: TPartialTheme | IProcessTheme, name?: string, parent?: string): void; - updatePlatformDefaults(platformDefaults: TPartialTheme): void; + addEventListener(events: IThemeEventListener): void; + getTheme(name?: string): TTheme; + removeEventListener(events: IThemeEventListener): void; + setTheme(definition: TPartialTheme | IProcessTheme, name?: string, parent?: string): void; + updatePlatformDefaults(platformDefaults: TPartialTheme): void; } - // (No @packageDocumentation comment for this package) - ``` diff --git a/packages/deprecated/theme-registry/package.json b/packages/deprecated/theme-registry/package.json index a074f3b3ff2..51b76eb17e0 100644 --- a/packages/deprecated/theme-registry/package.json +++ b/packages/deprecated/theme-registry/package.json @@ -3,13 +3,16 @@ "version": "0.13.0", "description": "Implementation of the theme graph", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/deprecated/theme-registry" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/deprecated/themed-settings/etc/themed-settings.api.md b/packages/deprecated/themed-settings/etc/themed-settings.api.md index ca4d1af5c3e..bb8a7c5f379 100644 --- a/packages/deprecated/themed-settings/etc/themed-settings.api.md +++ b/packages/deprecated/themed-settings/etc/themed-settings.api.md @@ -3,17 +3,29 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts - import { IComponentSettings } from '@uifabricshared/foundation-settings'; import { IOverrideLookup } from '@uifabricshared/foundation-settings'; // @public -export function getBaseThemedSettings(customSettings: ISettingsEntry[], theme: TTheme, cache: object, key: string, getFromTheme?: IGetSettingsFromTheme): TSettings | undefined; +export function getBaseThemedSettings( + customSettings: ISettingsEntry[], + theme: TTheme, + cache: object, + key: string, + getFromTheme?: IGetSettingsFromTheme, +): TSettings | undefined; // @public -export function getThemedSettings(customSettings: ISettingsEntry[], theme: TTheme, cache: object, key: string, hasOverride?: IOverrideLookup, getFromTheme?: IGetSettingsFromTheme): { - settings: TSettings | undefined; - key: string; +export function getThemedSettings( + customSettings: ISettingsEntry[], + theme: TTheme, + cache: object, + key: string, + hasOverride?: IOverrideLookup, + getFromTheme?: IGetSettingsFromTheme, +): { + settings: TSettings | undefined; + key: string; }; // @public @@ -25,7 +37,5 @@ export type ISettingsEntry = TSett // @public export type ISettingsFromTheme = (theme: TTheme) => TSettings; - // (No @packageDocumentation comment for this package) - ``` diff --git a/packages/deprecated/themed-settings/package.json b/packages/deprecated/themed-settings/package.json index fa25168fcc8..d85f9798409 100644 --- a/packages/deprecated/themed-settings/package.json +++ b/packages/deprecated/themed-settings/package.json @@ -3,13 +3,16 @@ "version": "0.13.0", "description": "Package which drives custom cacheable settings for a component", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/deprecated/themed-settings" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/deprecated/theming-ramp/package.json b/packages/deprecated/theming-ramp/package.json index 6c230787c74..6c41060b8ef 100644 --- a/packages/deprecated/theming-ramp/package.json +++ b/packages/deprecated/theming-ramp/package.json @@ -3,13 +3,16 @@ "version": "0.21.0", "description": "Theming Library", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/deprecated/theming-ramp" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/deprecated/theming-react-native/package.json b/packages/deprecated/theming-react-native/package.json index 3aa5dbc26f7..8f0047c41ed 100644 --- a/packages/deprecated/theming-react-native/package.json +++ b/packages/deprecated/theming-react-native/package.json @@ -3,13 +3,16 @@ "version": "0.21.0", "description": "A library of functions which produce React Native styles from a Theme", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/deprecated/theming-react-native" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/experimental/ActivityIndicator/package.json b/packages/experimental/ActivityIndicator/package.json index 3eba5e21e60..8cc40165b8d 100644 --- a/packages/experimental/ActivityIndicator/package.json +++ b/packages/experimental/ActivityIndicator/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/experimental-activity-indicator", "version": "0.11.0", "description": "A cross-platform Fluent Activity Indicator component", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/ActivityIndicator" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/AppearanceAdditions/package.json b/packages/experimental/AppearanceAdditions/package.json index cf893fe248d..7f1ea278d6a 100644 --- a/packages/experimental/AppearanceAdditions/package.json +++ b/packages/experimental/AppearanceAdditions/package.json @@ -3,13 +3,16 @@ "version": "0.8.0", "description": "A module to expose callbacks for additional traitCollection changes.", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/AppearanceAdditions" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Avatar/package.json b/packages/experimental/Avatar/package.json index f36a18bf27e..609ec4eec30 100644 --- a/packages/experimental/Avatar/package.json +++ b/packages/experimental/Avatar/package.json @@ -3,13 +3,16 @@ "version": "0.22.0", "description": "A cross-platform Avatar component using the Fluent Design System. Currently only implemented on iOS", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Avatar" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Checkbox/package.json b/packages/experimental/Checkbox/package.json index 77cca033076..abd80ff38cf 100644 --- a/packages/experimental/Checkbox/package.json +++ b/packages/experimental/Checkbox/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/experimental-checkbox", "version": "0.18.0", "description": "A cross-platform Checkbox component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Checkbox" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Drawer/package.json b/packages/experimental/Drawer/package.json index 286186b7ca7..19d6ce0d6cc 100644 --- a/packages/experimental/Drawer/package.json +++ b/packages/experimental/Drawer/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/drawer", "version": "0.5.0", "description": "A cross-platform Drawer component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/components/Drawer" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Drawer/src/DrawerTokens.ts b/packages/experimental/Drawer/src/DrawerTokens.ts index b65dfb40581..30d04b27e22 100644 --- a/packages/experimental/Drawer/src/DrawerTokens.ts +++ b/packages/experimental/Drawer/src/DrawerTokens.ts @@ -37,4 +37,4 @@ export const defaultDrawerTokens: TokenSettings = (t: Theme drawerCornerRadius: globalTokens.corner.radius120, height: '50%', }, - } as DrawerTokens); + }) as DrawerTokens; diff --git a/packages/experimental/Dropdown/package.json b/packages/experimental/Dropdown/package.json index bfbbf49d933..c9ddfbb4b9e 100644 --- a/packages/experimental/Dropdown/package.json +++ b/packages/experimental/Dropdown/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/dropdown", "version": "0.11.0", "description": "A cross-platform Dropdown component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/dropdown" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Expander/package.json b/packages/experimental/Expander/package.json index 4df889f5b7d..5cf0172eb8f 100644 --- a/packages/experimental/Expander/package.json +++ b/packages/experimental/Expander/package.json @@ -3,13 +3,16 @@ "version": "0.9.0", "description": "A cross-platform Native Expander component using the Fluent Design System. Currently only implemented on windows", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Expander" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", diff --git a/packages/experimental/Expander/src/index.ts b/packages/experimental/Expander/src/index.ts index d9aa07e56d5..43bb8406f02 100644 --- a/packages/experimental/Expander/src/index.ts +++ b/packages/experimental/Expander/src/index.ts @@ -1,3 +1,11 @@ export { Expander } from './Expander'; export { expanderName } from './Expander.types'; -export type { ExpandDirection, ExpanderProps, ExpanderTokens, ExpanderType, ExpanderViewProps, HorizontalAlignment, VerticalAlignment } from './Expander.types'; +export type { + ExpandDirection, + ExpanderProps, + ExpanderTokens, + ExpanderType, + ExpanderViewProps, + HorizontalAlignment, + VerticalAlignment, +} from './Expander.types'; diff --git a/packages/experimental/MenuButton/package.json b/packages/experimental/MenuButton/package.json index 3adbe2430c1..474b802367d 100644 --- a/packages/experimental/MenuButton/package.json +++ b/packages/experimental/MenuButton/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/experimental-menu-button", "version": "0.11.0", "description": "A cross-platform MenuButton component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/MenuButton" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/NativeDatePicker/package.json b/packages/experimental/NativeDatePicker/package.json index f244d42f869..6aa635eda74 100644 --- a/packages/experimental/NativeDatePicker/package.json +++ b/packages/experimental/NativeDatePicker/package.json @@ -3,13 +3,16 @@ "version": "0.12.0", "description": "A Native date picker component using the Fluent Design System. Currently only implemented on iOS.", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/NativeDatePicker" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/NativeFontMetrics/package.json b/packages/experimental/NativeFontMetrics/package.json index 1fc0f8b7253..a6f2799cca4 100644 --- a/packages/experimental/NativeFontMetrics/package.json +++ b/packages/experimental/NativeFontMetrics/package.json @@ -3,13 +3,16 @@ "version": "0.7.0", "description": "A temporary partial wrapper for UIFontMetrics.", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/NativeFontMetrics" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Overflow/package.json b/packages/experimental/Overflow/package.json index e991fa051a2..4b98022e0bb 100644 --- a/packages/experimental/Overflow/package.json +++ b/packages/experimental/Overflow/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/overflow", "version": "0.4.0", "description": "A cross-platform Overflow component for React Native.", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Overflow" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Popover/package.json b/packages/experimental/Popover/package.json index 3f812ede7e6..160f7093a12 100644 --- a/packages/experimental/Popover/package.json +++ b/packages/experimental/Popover/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/popover", "version": "0.5.0", "description": "A cross-platform Popover component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/popover" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Shadow/package.json b/packages/experimental/Shadow/package.json index 7d279e9e54e..cb4c9a0c413 100644 --- a/packages/experimental/Shadow/package.json +++ b/packages/experimental/Shadow/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/experimental-shadow", "version": "0.7.0", "description": "A cross-platform Shadow component using the Fluent Design System", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Shadow" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Shimmer/package.json b/packages/experimental/Shimmer/package.json index 8eddd419718..012936e45b2 100644 --- a/packages/experimental/Shimmer/package.json +++ b/packages/experimental/Shimmer/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/experimental-shimmer", "version": "0.14.0", "description": "A cross-platform Fluent Shimmer component", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Shimmer" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Shimmer/src/Shimmer.tsx b/packages/experimental/Shimmer/src/Shimmer.tsx index 2fb7441c098..1c5e9af0d65 100644 --- a/packages/experimental/Shimmer/src/Shimmer.tsx +++ b/packages/experimental/Shimmer/src/Shimmer.tsx @@ -27,7 +27,7 @@ export const Shimmer = compose({ const memoizedShimmerData = useMemo( () => ({ angle: props.angle ? props.angle : tokens['angle'], - backgroundColor: props?.style?.['backgroundColor'] ? props?.style['backgroundColor'] : tokens['backgroundColor'] ?? 'transparent', + backgroundColor: props?.style?.['backgroundColor'] ? props?.style['backgroundColor'] : (tokens['backgroundColor'] ?? 'transparent'), containerBorderRadius: props?.style?.['borderRadius'] ? props?.style['borderRadius'] : 0, containerWidth: props?.style?.['width'] ? props?.style['width'] : '100%', containerHeight: props?.style?.['height'] ? props?.style['height'] : '100%', diff --git a/packages/experimental/Shimmer/src/ShimmerTokens.android.ts b/packages/experimental/Shimmer/src/ShimmerTokens.android.ts index 443d652d4e8..e41a352e27f 100644 --- a/packages/experimental/Shimmer/src/ShimmerTokens.android.ts +++ b/packages/experimental/Shimmer/src/ShimmerTokens.android.ts @@ -13,4 +13,4 @@ export const defaultShimmerTokens: TokenSettings = (theme: shimmerColorOpacity: 1, shimmerWaveColor: theme.colors.neutralStencil2, shimmerWaveColorOpacity: 1, - } as ShimmerTokens); + }) as ShimmerTokens; diff --git a/packages/experimental/Shimmer/src/ShimmerTokens.ios.ts b/packages/experimental/Shimmer/src/ShimmerTokens.ios.ts index 443d652d4e8..e41a352e27f 100644 --- a/packages/experimental/Shimmer/src/ShimmerTokens.ios.ts +++ b/packages/experimental/Shimmer/src/ShimmerTokens.ios.ts @@ -13,4 +13,4 @@ export const defaultShimmerTokens: TokenSettings = (theme: shimmerColorOpacity: 1, shimmerWaveColor: theme.colors.neutralStencil2, shimmerWaveColorOpacity: 1, - } as ShimmerTokens); + }) as ShimmerTokens; diff --git a/packages/experimental/Shimmer/src/ShimmerTokens.ts b/packages/experimental/Shimmer/src/ShimmerTokens.ts index 6919961dc30..f3a0706b5bb 100644 --- a/packages/experimental/Shimmer/src/ShimmerTokens.ts +++ b/packages/experimental/Shimmer/src/ShimmerTokens.ts @@ -15,4 +15,4 @@ export const defaultShimmerTokens: TokenSettings = (theme: shimmerColorOpacity: 1, shimmerWaveColor: getCurrentAppearance(theme.host.appearance, 'light') === 'light' ? 'white' : 'black', shimmerWaveColorOpacity: 1, - } as ShimmerTokens); + }) as ShimmerTokens; diff --git a/packages/experimental/Shimmer/src/ShimmerTokens.win32.ts b/packages/experimental/Shimmer/src/ShimmerTokens.win32.ts index 0ef43eb129e..04b5c250e23 100644 --- a/packages/experimental/Shimmer/src/ShimmerTokens.win32.ts +++ b/packages/experimental/Shimmer/src/ShimmerTokens.win32.ts @@ -15,4 +15,4 @@ export const defaultShimmerTokens: TokenSettings = (theme: shimmerWaveColor: '#E1E1E1', shimmerWaveColorOpacity: 1, shimmerWaveWidth: '100%', - } as ShimmerTokens); + }) as ShimmerTokens; diff --git a/packages/experimental/Spinner/package.json b/packages/experimental/Spinner/package.json index 81ecd548b93..9e7a71a314c 100644 --- a/packages/experimental/Spinner/package.json +++ b/packages/experimental/Spinner/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/spinner", "version": "0.10.0", "description": "A cross-platform Fluent spinner component", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Spinner" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Spinner/src/SpinnerTokens.android.ts b/packages/experimental/Spinner/src/SpinnerTokens.android.ts index 91d3cae049f..97542ae197e 100644 --- a/packages/experimental/Spinner/src/SpinnerTokens.android.ts +++ b/packages/experimental/Spinner/src/SpinnerTokens.android.ts @@ -8,4 +8,4 @@ import type { SpinnerTokens } from './Spinner.types'; export const defaultSpinnerTokens: TokenSettings = () => ({ trackColor: Appearance.getColorScheme() === 'light' ? globalTokens.color.grey56 : globalTokens.color.grey72, - } as SpinnerTokens); + }) as SpinnerTokens; diff --git a/packages/experimental/Spinner/src/SpinnerTokens.ts b/packages/experimental/Spinner/src/SpinnerTokens.ts index 8ccf320962b..24a8334aa47 100644 --- a/packages/experimental/Spinner/src/SpinnerTokens.ts +++ b/packages/experimental/Spinner/src/SpinnerTokens.ts @@ -47,4 +47,4 @@ export const defaultSpinnerTokens: TokenSettings = (t: The height: diameterSizeMap['x-large'], }, trackColor: t.colors.brandStroke2, - } as SpinnerTokens); + }) as SpinnerTokens; diff --git a/packages/experimental/Spinner/src/SpinnerTokens.win32.ts b/packages/experimental/Spinner/src/SpinnerTokens.win32.ts index d167f787546..154e5fb0bf1 100644 --- a/packages/experimental/Spinner/src/SpinnerTokens.win32.ts +++ b/packages/experimental/Spinner/src/SpinnerTokens.win32.ts @@ -79,4 +79,4 @@ export const defaultSpinnerTokens: TokenSettings = (t: The tailColor: t.colors.neutralStroke2, trackColor: t.colors.neutralBackgroundInverted, }, - } as SpinnerTokens); + }) as SpinnerTokens; diff --git a/packages/experimental/Stack/package.json b/packages/experimental/Stack/package.json index e965d443574..2973cc13265 100644 --- a/packages/experimental/Stack/package.json +++ b/packages/experimental/Stack/package.json @@ -3,13 +3,16 @@ "version": "0.1.1", "private": true, "description": "A cross-platform opinionated Fluent Text component", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Stack" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/Tooltip/package.json b/packages/experimental/Tooltip/package.json index 258d97cf47f..13cf27c6a28 100644 --- a/packages/experimental/Tooltip/package.json +++ b/packages/experimental/Tooltip/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/tooltip", "version": "0.5.0", "description": "A cross-platform Tooltip component for React Native.", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/Tooltip" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/experimental/VibrancyView/package.json b/packages/experimental/VibrancyView/package.json index 31e191aba76..fba96004041 100644 --- a/packages/experimental/VibrancyView/package.json +++ b/packages/experimental/VibrancyView/package.json @@ -3,13 +3,16 @@ "version": "0.4.0", "description": "A native wrapper for NSVisualEffectView on macOS", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/experimental/VibrancyView" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/framework-base/package.json b/packages/framework-base/package.json index 176e5c34a1d..00719bd2238 100644 --- a/packages/framework-base/package.json +++ b/packages/framework-base/package.json @@ -3,13 +3,16 @@ "version": "0.3.0", "description": "Base types and utilities fluentui-react-native frameworks", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework-base" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -22,9 +25,6 @@ "require": "./lib-commonjs/jsx-runtime.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -33,7 +33,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/framework-base/src/immutable-merge/Merge.ts b/packages/framework-base/src/immutable-merge/Merge.ts index a889e0c27e6..b77d9577d0a 100644 --- a/packages/framework-base/src/immutable-merge/Merge.ts +++ b/packages/framework-base/src/immutable-merge/Merge.ts @@ -68,8 +68,8 @@ function normalizeOptions(options: RecursionOption | MergeOptions): [MergeOption return typeof options === 'boolean' ? [{ object: options }, options] : typeof options === 'number' - ? [{ object: options >= 0 ? options : true }, options !== 0] - : [options, true]; + ? [{ object: options >= 0 ? options : true }, options !== 0] + : [options, true]; } /** diff --git a/packages/framework/composition/package.json b/packages/framework/composition/package.json index a64d59c0402..a1bfe1524e1 100644 --- a/packages/framework/composition/package.json +++ b/packages/framework/composition/package.json @@ -3,13 +3,16 @@ "version": "0.12.0", "description": "Composition factories for building HOCs", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/composition" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/framework/composition/src/composeFactory.ts b/packages/framework/composition/src/composeFactory.ts index f550b7243db..e9b0639e0f1 100644 --- a/packages/framework/composition/src/composeFactory.ts +++ b/packages/framework/composition/src/composeFactory.ts @@ -62,7 +62,7 @@ export function composeFactory(mergeOptions, baseOptions, options) : { ...options }; // build styling if styling options are specified - options.useStyling = options.slotProps || options.tokens ? buildUseStyling(options, themeHelper) : () => ({} as TSlotProps); + options.useStyling = options.slotProps || options.tokens ? buildUseStyling(options, themeHelper) : () => ({}) as TSlotProps; // build the slots hook, which will use the styling hook if it has been built const useSlots = buildUseSlots(options) as UseStyledSlots; diff --git a/packages/framework/framework/package.json b/packages/framework/framework/package.json index 2aa40a54451..017b374ed9f 100644 --- a/packages/framework/framework/package.json +++ b/packages/framework/framework/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/framework", "version": "0.15.0", "description": "Component framework used by fluentui react native controls", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/framework/framework" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start-test": "fluentui-scripts jest-watch", "start:tester": "rnx-cli start", "test": "fluentui-scripts jest", diff --git a/packages/framework/immutable-merge/etc/immutable-merge.api.md b/packages/framework/immutable-merge/etc/immutable-merge.api.md index 28531f41641..c6a569edfce 100644 --- a/packages/framework/immutable-merge/etc/immutable-merge.api.md +++ b/packages/framework/immutable-merge/etc/immutable-merge.api.md @@ -3,14 +3,13 @@ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts - // @public (undocumented) export interface IMergeOptions { - depth?: number; - processSingles?: boolean; - recurse?: { - [key: string]: boolean | IMergeRecursionHandler; - }; + depth?: number; + processSingles?: boolean; + recurse?: { + [key: string]: boolean | IMergeRecursionHandler; + }; } // @public (undocumented) @@ -25,7 +24,5 @@ export function immutableMergeCore(options: IMergeOptions, ...objs: any[]): any; // @public export function processImmutable(processors: IMergeOptions['recurse'], ...objs: (T | undefined)[]): T | undefined; - // (No @packageDocumentation comment for this package) - ``` diff --git a/packages/framework/immutable-merge/package.json b/packages/framework/immutable-merge/package.json index 9be1ae12677..2554e1f1d09 100644 --- a/packages/framework/immutable-merge/package.json +++ b/packages/framework/immutable-merge/package.json @@ -3,13 +3,16 @@ "version": "1.3.0", "description": "Immutable merge routines for deep customizable merging", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/immutable-merge" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier" + "format": "fluentui-scripts format" }, "dependencies": { "@fluentui-react-native/framework-base": "workspace:*" diff --git a/packages/framework/memo-cache/package.json b/packages/framework/memo-cache/package.json index 2c8e0a785c5..7f4c699b43d 100644 --- a/packages/framework/memo-cache/package.json +++ b/packages/framework/memo-cache/package.json @@ -3,13 +3,16 @@ "version": "1.4.0", "description": "Layered memoization style cache helper", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/memo-cache" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier" + "format": "fluentui-scripts format" }, "dependencies": { "@fluentui-react-native/framework-base": "workspace:*" diff --git a/packages/framework/merge-props/package.json b/packages/framework/merge-props/package.json index 0ce78402257..2c8fa440f58 100644 --- a/packages/framework/merge-props/package.json +++ b/packages/framework/merge-props/package.json @@ -3,13 +3,16 @@ "version": "0.10.0", "description": "Utility for merging props with styles and caching style combinations", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/merge-props" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier" + "format": "fluentui-scripts format" }, "dependencies": { "@fluentui-react-native/framework-base": "workspace:*" diff --git a/packages/framework/theme/package.json b/packages/framework/theme/package.json index 2ce459c6ff7..eb38dac8fc5 100644 --- a/packages/framework/theme/package.json +++ b/packages/framework/theme/package.json @@ -3,13 +3,16 @@ "version": "0.12.0", "description": "Experimental version of fluentui-react-native theme framework", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/theme" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/framework/themed-stylesheet/README.md b/packages/framework/themed-stylesheet/README.md index bb002b5a3f7..2278b1241b2 100644 --- a/packages/framework/themed-stylesheet/README.md +++ b/packages/framework/themed-stylesheet/README.md @@ -81,11 +81,11 @@ It is allowed to have a null or undefined theme, if that happens the stylesheet const getThemedStyles = themedStyleSheet((t: ITheme) => { return { style1: { - backgroundColor: (t && t.palette.buttonBackground) || 'gray' + backgroundColor: (t && t.palette.buttonBackground) || 'gray', }, style2: { - backgroundColor: (t && t.palette.windowBackground) || 'white' - } + backgroundColor: (t && t.palette.windowBackground) || 'white', + }, }; }); ``` diff --git a/packages/framework/themed-stylesheet/package.json b/packages/framework/themed-stylesheet/package.json index cd5d2fdc823..f52daf432f2 100644 --- a/packages/framework/themed-stylesheet/package.json +++ b/packages/framework/themed-stylesheet/package.json @@ -3,13 +3,16 @@ "version": "1.8.0", "description": "Helper for using react-native StyleSheets with themes", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/themed-stylesheet" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/framework/use-slot/package.json b/packages/framework/use-slot/package.json index 36f8e638fa9..49946ed1855 100644 --- a/packages/framework/use-slot/package.json +++ b/packages/framework/use-slot/package.json @@ -3,13 +3,16 @@ "version": "0.7.0", "description": "Hook function to use a component as a pluggable slot", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/use-slot" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/framework/use-slots/package.json b/packages/framework/use-slots/package.json index 1eede162b52..25ddef7fe1f 100644 --- a/packages/framework/use-slots/package.json +++ b/packages/framework/use-slots/package.json @@ -3,13 +3,16 @@ "version": "0.11.0", "description": "Hook function to return styled slots", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/use-slots" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/framework/use-styling/package.json b/packages/framework/use-styling/package.json index 0015e262727..0e2451efb59 100644 --- a/packages/framework/use-styling/package.json +++ b/packages/framework/use-styling/package.json @@ -3,13 +3,16 @@ "version": "0.14.0", "description": "Opinionated use styling hook implementation", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/use-styling" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/framework/use-styling/src/buildProps.ts b/packages/framework/use-styling/src/buildProps.ts index 7686421e2ff..1e1b23ecf80 100644 --- a/packages/framework/use-styling/src/buildProps.ts +++ b/packages/framework/use-styling/src/buildProps.ts @@ -57,8 +57,8 @@ function refineKeys(keys: (keyof TTokens)[], mask?: TokensThatAreAlsoPr return typeof mask === 'object' && Array.isArray(mask) ? keys.filter((key) => mask.findIndex((val) => val === key) !== -1) : mask - ? keys - : []; + ? keys + : []; } /** diff --git a/packages/framework/use-tokens/package.json b/packages/framework/use-tokens/package.json index 28477c75d2b..0f0d7043f93 100644 --- a/packages/framework/use-tokens/package.json +++ b/packages/framework/use-tokens/package.json @@ -3,13 +3,16 @@ "version": "0.7.0", "description": "Utilities and hook function for getting themed tokens for a component", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native", "directory": "packages/framework/use-tokens" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/libraries/core/markdown/index.md b/packages/libraries/core/markdown/index.md index cc1a007e1aa..05fafaa83cf 100644 --- a/packages/libraries/core/markdown/index.md +++ b/packages/libraries/core/markdown/index.md @@ -3,4 +3,3 @@ [Home](./index.md) ## API Reference - diff --git a/packages/libraries/core/package.json b/packages/libraries/core/package.json index f13db99754a..b712c1973e5 100644 --- a/packages/libraries/core/package.json +++ b/packages/libraries/core/package.json @@ -2,13 +2,16 @@ "name": "@fluentui/react-native", "version": "0.43.0", "description": "A react-native component library that implements the Fluent Design System.", + "license": "MIT", "repository": { "type": "git", "url": "git@github.com:microsoft/fluentui-react-native.git", "directory": "packages/libraries/core" }, - "license": "MIT", "sideEffects": false, + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start-test": "fluentui-scripts jest-watch", "start:tester": "rnx-cli start", "test": "fluentui-scripts jest", diff --git a/packages/theming/README.md b/packages/theming/README.md index 78780f41178..9b73d4c1e09 100644 --- a/packages/theming/README.md +++ b/packages/theming/README.md @@ -1,11 +1,16 @@ # Theming Across Platforms + ## Default theme if no theme is given: + [Default-theme](./default-theme/README.md) + ## Platform Themes + [Apple-theme](./apple-theme/README.md) [Win32-theme](./win32-theme/README.md) -[Android-theme](./android-theme/README.md) +[Android-theme](./android-theme/README.md) + ## Theme types and utilities -[Theme-types](./theme-types/README.md) -[Theme-tokens](./theme-tokens/README.md) +[Theme-types](./theme-types/README.md) +[Theme-tokens](./theme-tokens/README.md) diff --git a/packages/theming/android-theme/package.json b/packages/theming/android-theme/package.json index 8538dc2373c..940a2b0d034 100644 --- a/packages/theming/android-theme/package.json +++ b/packages/theming/android-theme/package.json @@ -3,13 +3,16 @@ "version": "0.26.0", "description": "A FluentUI React Native theme that pulls constants from FluentUI Android", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/theming/android-theme" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/theming/apple-theme/package.json b/packages/theming/apple-theme/package.json index a58b53d115c..989a6af6e0d 100644 --- a/packages/theming/apple-theme/package.json +++ b/packages/theming/apple-theme/package.json @@ -3,13 +3,16 @@ "version": "0.29.0", "description": "A FluentUI React Native theme that pulls constants from FluentUI Apple", "homepage": "https://github.com/microsoft/fluentui-react-native", + "license": "MIT", + "author": "Microsoft ", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/theming/apple-theme" }, - "license": "MIT", - "author": "Microsoft ", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/theming/default-theme/package.json b/packages/theming/default-theme/package.json index a0cb372d85d..94313dfe5d7 100644 --- a/packages/theming/default-theme/package.json +++ b/packages/theming/default-theme/package.json @@ -3,13 +3,16 @@ "version": "0.27.0", "description": "Typing only package for fluentui-react-native theme types", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/theming/default-theme" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/theming/theme-tokens/package.json b/packages/theming/theme-tokens/package.json index bc2cd1270e2..3638da24181 100644 --- a/packages/theming/theme-tokens/package.json +++ b/packages/theming/theme-tokens/package.json @@ -3,13 +3,16 @@ "version": "0.28.0", "description": "Defines values for tokens used to fill out themes.", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/theming/theme-tokens" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/theming/theme-types/package.json b/packages/theming/theme-types/package.json index f75e53ca939..95d9fb5baef 100644 --- a/packages/theming/theme-types/package.json +++ b/packages/theming/theme-types/package.json @@ -3,13 +3,16 @@ "version": "0.44.0", "description": "Typing only package for fluentui-react-native theme types", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/theming/theme-types" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/theming/theming-utils/eslint.config.js b/packages/theming/theming-utils/eslint.config.js index a97b703961f..04916a6adb2 100644 --- a/packages/theming/theming-utils/eslint.config.js +++ b/packages/theming/theming-utils/eslint.config.js @@ -4,7 +4,7 @@ module.exports = [ ...baseConfig, { rules: { - "@typescript-eslint/no-var-requires": 0 -}, + '@typescript-eslint/no-var-requires': 0, + }, }, ]; diff --git a/packages/theming/theming-utils/package.json b/packages/theming/theming-utils/package.json index ea029d62784..8a27bb233f6 100644 --- a/packages/theming/theming-utils/package.json +++ b/packages/theming/theming-utils/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/theming-utils", "version": "0.27.0", "description": "Utils for dealing with theming", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/theming/theming-utils" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/theming/win32-theme/package.json b/packages/theming/win32-theme/package.json index 5dfb7aa2c90..eaf3626d3a9 100644 --- a/packages/theming/win32-theme/package.json +++ b/packages/theming/win32-theme/package.json @@ -3,13 +3,16 @@ "version": "0.39.0", "description": "Win32 office theme that works with the theming native module", "keywords": [], + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/theming/win32-theme" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "start": "fluentui-scripts dev", "start-test": "fluentui-scripts jest-watch", "test": "fluentui-scripts jest", diff --git a/packages/utils/adapters/package.json b/packages/utils/adapters/package.json index 5d458d73c5c..90e163debd5 100644 --- a/packages/utils/adapters/package.json +++ b/packages/utils/adapters/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/adapters", "version": "0.14.0", "description": "Adapters for working with react-native types", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/utils/adapters" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/utils/interactive-hooks/eslint.config.js b/packages/utils/interactive-hooks/eslint.config.js index a97b703961f..04916a6adb2 100644 --- a/packages/utils/interactive-hooks/eslint.config.js +++ b/packages/utils/interactive-hooks/eslint.config.js @@ -4,7 +4,7 @@ module.exports = [ ...baseConfig, { rules: { - "@typescript-eslint/no-var-requires": 0 -}, + '@typescript-eslint/no-var-requires': 0, + }, }, ]; diff --git a/packages/utils/interactive-hooks/package.json b/packages/utils/interactive-hooks/package.json index 16f5d405a58..16171cd787f 100644 --- a/packages/utils/interactive-hooks/package.json +++ b/packages/utils/interactive-hooks/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/interactive-hooks", "version": "0.28.0", "description": "Hooks for adding focus, hover, and press semantics to view based components", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/utils/interactive-hooks" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/utils/styling/eslint.config.js b/packages/utils/styling/eslint.config.js index a97b703961f..04916a6adb2 100644 --- a/packages/utils/styling/eslint.config.js +++ b/packages/utils/styling/eslint.config.js @@ -4,7 +4,7 @@ module.exports = [ ...baseConfig, { rules: { - "@typescript-eslint/no-var-requires": 0 -}, + '@typescript-eslint/no-var-requires': 0, + }, }, ]; diff --git a/packages/utils/styling/package.json b/packages/utils/styling/package.json index e4895603fe9..125d194f230 100644 --- a/packages/utils/styling/package.json +++ b/packages/utils/styling/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/styling-utils", "version": "0.8.0", "description": "Utility functions for styling components in FURN", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/utils/styling" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/packages/utils/test-tools/eslint.config.js b/packages/utils/test-tools/eslint.config.js index a97b703961f..04916a6adb2 100644 --- a/packages/utils/test-tools/eslint.config.js +++ b/packages/utils/test-tools/eslint.config.js @@ -4,7 +4,7 @@ module.exports = [ ...baseConfig, { rules: { - "@typescript-eslint/no-var-requires": 0 -}, + '@typescript-eslint/no-var-requires': 0, + }, }, ]; diff --git a/packages/utils/test-tools/package.json b/packages/utils/test-tools/package.json index d07e435844c..8549608fc8f 100644 --- a/packages/utils/test-tools/package.json +++ b/packages/utils/test-tools/package.json @@ -3,13 +3,16 @@ "version": "0.1.1", "private": true, "description": "Tools and mocks for testing components using jest", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/utils/test-tools" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -17,9 +20,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -28,7 +28,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "update-snapshots": "fluentui-scripts jest -u" }, "dependencies": { diff --git a/packages/utils/tokens/package.json b/packages/utils/tokens/package.json index b6746d5e6d7..5ac058aca09 100644 --- a/packages/utils/tokens/package.json +++ b/packages/utils/tokens/package.json @@ -2,13 +2,16 @@ "name": "@fluentui-react-native/tokens", "version": "0.24.0", "description": "Token interface parts and helpers", + "license": "MIT", + "author": "", "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "packages/utils/tokens" }, - "license": "MIT", - "author": "", + "main": "lib-commonjs/index.js", + "module": "lib/index.js", + "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", @@ -16,9 +19,6 @@ "require": "./lib-commonjs/index.js" } }, - "main": "lib-commonjs/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", "scripts": { "build": "fluentui-scripts build", "build-cjs": "tsgo --outDir lib-commonjs", @@ -27,7 +27,7 @@ "depcheck": "fluentui-scripts depcheck", "lint": "fluentui-scripts eslint", "lint-package": "fluentui-scripts lint-package", - "prettier": "fluentui-scripts prettier", + "format": "fluentui-scripts format", "test": "fluentui-scripts jest", "update-snapshots": "fluentui-scripts jest -u" }, diff --git a/prettier.config.js b/prettier.config.js deleted file mode 100644 index 3771d704569..00000000000 --- a/prettier.config.js +++ /dev/null @@ -1,7 +0,0 @@ -// https://prettier.io/docs/en/configuration.html -module.exports = { - printWidth: 140, - tabWidth: 2, - singleQuote: true, - trailingComma: 'all', -}; diff --git a/scripts/dynamic.extensions.mjs b/scripts/dynamic.extensions.mjs index b68dc85cab0..939c0f47447 100644 --- a/scripts/dynamic.extensions.mjs +++ b/scripts/dynamic.extensions.mjs @@ -37,10 +37,10 @@ function conditionallyAdd(depsToAdd, manifest, condition) { /** * @param {import('./src/utils/projectRoot.ts').PackageManifest} manifest - The package manifest. - * @returns {boolean} true if prettier is already in the manifest or if a prettier script is defined + * @returns {boolean} true if oxfmt should be added based on the manifest's prettier scripts */ -function addPrettier(manifest) { - return Boolean(manifest && manifest.scripts && (manifest.scripts.prettier || manifest.scripts['prettier-fix'])); +function addOxfmt(manifest) { + return Boolean(manifest && manifest.scripts && (manifest.scripts.format || manifest.scripts['format:fix'])); } /** @@ -67,7 +67,7 @@ export default function ({ cwd, manifest }) { fs.existsSync(path.join(cwd, 'tsconfig.json')), ), ...conditionallyAdd(['eslint'], manifest, enableLinting), - ...conditionallyAdd(['prettier'], manifest, () => addPrettier(manifest)), + ...conditionallyAdd(['oxfmt'], manifest, () => addOxfmt(manifest)), ...conditionallyAdd(['jest', '@types/jest'], manifest, () => addJest(cwd, manifest)), }, }; diff --git a/scripts/package.json b/scripts/package.json index 3c79ee63ef9..68f4d49e1b0 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -8,11 +8,11 @@ "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "scripts" }, - "type": "module", - "main": "./src/index.js", "bin": { "fluentui-scripts": "./src/cli.mjs" }, + "type": "module", + "main": "./src/index.js", "scripts": { "build": "node ./src/cli.mjs build", "build-cjs": "tsgo", @@ -21,7 +21,7 @@ "depcheck": "node ./src/cli.mjs depcheck", "lint": "node ./src/cli.mjs lint", "lint-package": "node ./src/cli.mjs lint-package", - "prettier": "node ./src/cli.mjs prettier" + "format": "node ./src/cli.mjs format" }, "devDependencies": { "@eslint/js": "^9.0.0", @@ -50,19 +50,13 @@ "typescript": "^5.8.0", "workspace-tools": "^0.26.3" }, - "furn": { - "packageType": "tooling" - }, "bundlesize": [ { "path": "../apps/test-bundles/dist/office-ui-fabric-react-Button.min.js", "maxSize": "50.1 kB" } ], - "beachball": { - "shouldPublish": false, - "disallowedChangeTypes": [ - "major" - ] + "furn": { + "packageType": "tooling" } } diff --git a/scripts/src/cli.mjs b/scripts/src/cli.mjs index 502fad29dc1..79203e1b3f6 100755 --- a/scripts/src/cli.mjs +++ b/scripts/src/cli.mjs @@ -4,7 +4,7 @@ import { Builtins, Cli } from 'clipanion'; import { BuildCommand } from './tasks/build.ts'; import { CleanCommand } from './tasks/clean.js'; -import { PrettierCommand } from './tasks/prettier.js'; +import { FormatCommand } from './tasks/format.js'; import { LintCommand } from './tasks/eslint.js'; import { LintPackageCommand } from './tasks/lintPackage.ts'; import { JestCommand } from './tasks/jest.js'; @@ -19,7 +19,7 @@ const cli = new Cli({ cli.register(BuildCommand); cli.register(CleanCommand); -cli.register(PrettierCommand); +cli.register(FormatCommand); cli.register(LintCommand); cli.register(LintPackageCommand); cli.register(JestCommand); diff --git a/scripts/src/tasks/format.js b/scripts/src/tasks/format.js new file mode 100644 index 00000000000..341377edd51 --- /dev/null +++ b/scripts/src/tasks/format.js @@ -0,0 +1,26 @@ +// @ts-check + +import { Command, Option } from 'clipanion'; +import { runScript } from '../utils/runScript.js'; +import { isFixMode } from '../utils/env.ts'; + +export class FormatCommand extends Command { + /** @override */ + static paths = [['format']]; + + /** @override */ + static usage = Command.Usage({ + description: 'Formats the current package', + details: 'This command formats the current package using oxfmt.', + examples: [['Format the current package', '$0 format']], + }); + + check = Option.Boolean('--check', false, { + description: 'Check if there are formatting isssues without fixing them.', + }); + + async execute() { + const args = isFixMode(!this.check) ? [] : ['--check']; + return await runScript('oxfmt', ...args); + } +} diff --git a/scripts/src/tasks/lintPackage.ts b/scripts/src/tasks/lintPackage.ts index 8fe1ba77ec8..2ea4c957328 100644 --- a/scripts/src/tasks/lintPackage.ts +++ b/scripts/src/tasks/lintPackage.ts @@ -289,9 +289,12 @@ export class LintPackageCommand extends Command { this.warnIf(scripts['just'] !== undefined, 'just script is deprecated, can invoke by calling yarn fluentui-scripts instead', () => { this.projRoot.updateRecordEntry('scripts', 'just', undefined); }); - this.warnIf(scripts['prettier-fix'] !== undefined, 'prettier-fix script is deprecated, use prettier --fix instead', () => { + this.warnIf(scripts['prettier-fix'] !== undefined, 'prettier-fix script is deprecated, rename to format:fix', () => { this.projRoot.updateRecordEntry('scripts', 'prettier-fix', undefined); }); + this.warnIf(scripts['prettier'] !== undefined, 'prettier script is deprecated, rename to format', () => { + this.projRoot.updateRecordEntry('scripts', 'prettier', undefined); + }); } private validateEntryPoint(collection: T, key: K, expectedOutDir: string, otherOutDir: string) { diff --git a/scripts/src/tasks/prettier.js b/scripts/src/tasks/prettier.js deleted file mode 100644 index 1192256e217..00000000000 --- a/scripts/src/tasks/prettier.js +++ /dev/null @@ -1,33 +0,0 @@ -// @ts-check - -import { Command, Option } from 'clipanion'; -import { runScript } from '../utils/runScript.js'; -import { isFixMode } from '../utils/env.ts'; - -export class PrettierCommand extends Command { - /** @override */ - static paths = [['prettier']]; - - /** @override */ - static usage = Command.Usage({ - description: 'Formats the current package', - details: 'This command formats the current package using prettier.', - examples: [['Format the current package', '$0 prettier']], - }); - - fix = Option.Boolean('--fix', false, { - description: 'Automatically fix issues where possible', - }); - - async execute() { - const fixOrCheck = isFixMode(this.fix) ? '--write' : '--check'; - return await runScript( - 'prettier', - fixOrCheck, - 'src/**/*.{js,json,jsx,md,mjs,ts,tsx,yml}', - '!{CODE_OF_CONDUCT,SECURITY}.md', - '!**/{__fixtures__,__testfixtures__,lib-commonjs,dist}/**', - '!**/CHANGELOG.*', - ); - } -} diff --git a/tester_deps/package.json b/tester_deps/package.json index 0b8c5523ad1..35bde7b5639 100644 --- a/tester_deps/package.json +++ b/tester_deps/package.json @@ -1,17 +1,17 @@ { "name": "furn-tester-deps", "version": "1.0.0", + "private": true, "description": "This package contains all dependencies needed to run FURNs automated testing framework. This includes WebDriverIO + Appium dependencies.", "license": "MIT", - "private": true, - "scripts": { - "build": "fluentui-scripts build" - }, "repository": { "type": "git", "url": "https://github.com/microsoft/fluentui-react-native.git", "directory": "tester_deps" }, + "scripts": { + "build": "fluentui-scripts build" + }, "devDependencies": { "@types/jasmine": "5.1.4", "@wdio/appium-service": "^9.12.6", @@ -36,6 +36,7 @@ "xml2js": "^0.5.0", "yaml": "^2.2.2" }, + "packageManager": "yarn@4.11.0", "resolutions.justifications": { "@appium/support/glob": "Patching security issue", "axios": "Patching security issue", @@ -44,6 +45,5 @@ "wdio-json-reporter/jest-matchers/jest-message-util/micromatch/parse-glob/glob-base/glob-parent": "There is a security risk associated with this package version (it's a very outdated packaged, 2.0.0). Therefore, we are forcing an upgrade to the patched version.", "wdio-json-reporter/jest-matchers/jest-message-util/micromatch/braces": " There is a security risk associated with this package version (it's a very outdated packaged, 1.8.2). Therefore, we are forcing an upgrade to the patched version.", "ws": "Patching security issue" - }, - "packageManager": "yarn@4.11.0" + } } diff --git a/yarn.lock b/yarn.lock index 2be1b1ed24d..707f29849c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5039,7 +5039,7 @@ __metadata: eslint-plugin-import: "npm:^2.32.0" lage: "npm:^2.0.0" markdown-link-check: "npm:^3.8.7" - prettier: "npm:^2.4.1" + oxfmt: "npm:^0.35.0" typescript: "npm:^5.8.0" zx: "npm:^8.2.4" languageName: unknown @@ -7787,6 +7787,139 @@ __metadata: languageName: node linkType: hard +"@oxfmt/binding-android-arm-eabi@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-android-arm-eabi@npm:0.35.0" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@oxfmt/binding-android-arm64@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-android-arm64@npm:0.35.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@oxfmt/binding-darwin-arm64@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-darwin-arm64@npm:0.35.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@oxfmt/binding-darwin-x64@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-darwin-x64@npm:0.35.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@oxfmt/binding-freebsd-x64@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-freebsd-x64@npm:0.35.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@oxfmt/binding-linux-arm-gnueabihf@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-arm-gnueabihf@npm:0.35.0" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@oxfmt/binding-linux-arm-musleabihf@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-arm-musleabihf@npm:0.35.0" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@oxfmt/binding-linux-arm64-gnu@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-arm64-gnu@npm:0.35.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@oxfmt/binding-linux-arm64-musl@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-arm64-musl@npm:0.35.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@oxfmt/binding-linux-ppc64-gnu@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-ppc64-gnu@npm:0.35.0" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@oxfmt/binding-linux-riscv64-gnu@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-riscv64-gnu@npm:0.35.0" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@oxfmt/binding-linux-riscv64-musl@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-riscv64-musl@npm:0.35.0" + conditions: os=linux & cpu=riscv64 & libc=musl + languageName: node + linkType: hard + +"@oxfmt/binding-linux-s390x-gnu@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-s390x-gnu@npm:0.35.0" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@oxfmt/binding-linux-x64-gnu@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-x64-gnu@npm:0.35.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@oxfmt/binding-linux-x64-musl@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-linux-x64-musl@npm:0.35.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@oxfmt/binding-openharmony-arm64@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-openharmony-arm64@npm:0.35.0" + conditions: os=openharmony & cpu=arm64 + languageName: node + linkType: hard + +"@oxfmt/binding-win32-arm64-msvc@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-win32-arm64-msvc@npm:0.35.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@oxfmt/binding-win32-ia32-msvc@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-win32-ia32-msvc@npm:0.35.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@oxfmt/binding-win32-x64-msvc@npm:0.35.0": + version: 0.35.0 + resolution: "@oxfmt/binding-win32-x64-msvc@npm:0.35.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -20595,6 +20728,75 @@ __metadata: languageName: node linkType: hard +"oxfmt@npm:^0.35.0": + version: 0.35.0 + resolution: "oxfmt@npm:0.35.0" + dependencies: + "@oxfmt/binding-android-arm-eabi": "npm:0.35.0" + "@oxfmt/binding-android-arm64": "npm:0.35.0" + "@oxfmt/binding-darwin-arm64": "npm:0.35.0" + "@oxfmt/binding-darwin-x64": "npm:0.35.0" + "@oxfmt/binding-freebsd-x64": "npm:0.35.0" + "@oxfmt/binding-linux-arm-gnueabihf": "npm:0.35.0" + "@oxfmt/binding-linux-arm-musleabihf": "npm:0.35.0" + "@oxfmt/binding-linux-arm64-gnu": "npm:0.35.0" + "@oxfmt/binding-linux-arm64-musl": "npm:0.35.0" + "@oxfmt/binding-linux-ppc64-gnu": "npm:0.35.0" + "@oxfmt/binding-linux-riscv64-gnu": "npm:0.35.0" + "@oxfmt/binding-linux-riscv64-musl": "npm:0.35.0" + "@oxfmt/binding-linux-s390x-gnu": "npm:0.35.0" + "@oxfmt/binding-linux-x64-gnu": "npm:0.35.0" + "@oxfmt/binding-linux-x64-musl": "npm:0.35.0" + "@oxfmt/binding-openharmony-arm64": "npm:0.35.0" + "@oxfmt/binding-win32-arm64-msvc": "npm:0.35.0" + "@oxfmt/binding-win32-ia32-msvc": "npm:0.35.0" + "@oxfmt/binding-win32-x64-msvc": "npm:0.35.0" + tinypool: "npm:2.1.0" + dependenciesMeta: + "@oxfmt/binding-android-arm-eabi": + optional: true + "@oxfmt/binding-android-arm64": + optional: true + "@oxfmt/binding-darwin-arm64": + optional: true + "@oxfmt/binding-darwin-x64": + optional: true + "@oxfmt/binding-freebsd-x64": + optional: true + "@oxfmt/binding-linux-arm-gnueabihf": + optional: true + "@oxfmt/binding-linux-arm-musleabihf": + optional: true + "@oxfmt/binding-linux-arm64-gnu": + optional: true + "@oxfmt/binding-linux-arm64-musl": + optional: true + "@oxfmt/binding-linux-ppc64-gnu": + optional: true + "@oxfmt/binding-linux-riscv64-gnu": + optional: true + "@oxfmt/binding-linux-riscv64-musl": + optional: true + "@oxfmt/binding-linux-s390x-gnu": + optional: true + "@oxfmt/binding-linux-x64-gnu": + optional: true + "@oxfmt/binding-linux-x64-musl": + optional: true + "@oxfmt/binding-openharmony-arm64": + optional: true + "@oxfmt/binding-win32-arm64-msvc": + optional: true + "@oxfmt/binding-win32-ia32-msvc": + optional: true + "@oxfmt/binding-win32-x64-msvc": + optional: true + bin: + oxfmt: bin/oxfmt + checksum: 10c0/9be372a992e064df7be40dc22b0f7c794a11a580caeab77670fde0337a1f5483c58dfaaf7ab19d4fe9808a67375fc1db29ab19ad4652e9571df150ca33c0e495 + languageName: node + linkType: hard + "p-defer@npm:^1.0.0": version: 1.0.0 resolution: "p-defer@npm:1.0.0" @@ -21163,7 +21365,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.4.1, prettier@npm:^2.7.1": +"prettier@npm:^2.7.1": version: 2.8.8 resolution: "prettier@npm:2.8.8" bin: @@ -23973,6 +24175,13 @@ __metadata: languageName: node linkType: hard +"tinypool@npm:2.1.0": + version: 2.1.0 + resolution: "tinypool@npm:2.1.0" + checksum: 10c0/9fb1c760558c6264e0f4cfde96a63b12450b43f1730fbe6274aa24ddbdf488745c08924d0dea7a1303b47d555416a6415f2113898c69b6ecf731e75ac95238a5 + languageName: node + linkType: hard + "tinyrainbow@npm:^1.2.0": version: 1.2.0 resolution: "tinyrainbow@npm:1.2.0"