@fluentui/react-shared-contexts 9.25.2 → 9.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- This log was last generated on Thu, 02 Oct 2025 15:07:22 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 11 Nov 2025 19:13:16 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.26.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.26.0)
8
+
9
+ Tue, 11 Nov 2025 19:13:16 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.25.2..@fluentui/react-shared-contexts_v9.26.0)
11
+
12
+ ### Minor changes
13
+
14
+ - feat: add brand appearance variant for background context ([PR #35403](https://github.com/microsoft/fluentui/pull/35403) by vgenaev@gmail.com)
15
+
7
16
  ## [9.25.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.25.2)
8
17
 
9
- Thu, 02 Oct 2025 15:07:22 GMT
18
+ Thu, 02 Oct 2025 15:12:33 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.25.1..@fluentui/react-shared-contexts_v9.25.2)
11
20
 
12
21
  ### Patches
package/dist/index.d.ts CHANGED
@@ -32,7 +32,7 @@ export { AnnounceProvider as AnnounceProvider_unstable }
32
32
  /**
33
33
  * @internal
34
34
  */
35
- export declare type BackgroundAppearanceContextValue = 'inverted' | undefined;
35
+ export declare type BackgroundAppearanceContextValue = 'inverted' | 'brand' | undefined;
36
36
 
37
37
  /**
38
38
  * @internal
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/BackgroundAppearanceContext/BackgroundAppearanceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["React","BackgroundAppearanceContext","createContext","undefined","BackgroundAppearanceProvider","Provider","useBackgroundAppearance","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAO/B;;CAEC,GACD,OAAO,MAAMC,8BAA8BD,MAAME,aAAa,CAA+CC,WAAW;AAExH;;CAEC,GACD,OAAO,MAAMC,+BAA+BH,4BAA4BI,QAAQ,CAAC;AAEjF,OAAO,SAASC;IACd,OAAON,MAAMO,UAAU,CAACN;AAC1B"}
1
+ {"version":3,"sources":["../src/BackgroundAppearanceContext/BackgroundAppearanceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | 'brand' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["React","BackgroundAppearanceContext","createContext","undefined","BackgroundAppearanceProvider","Provider","useBackgroundAppearance","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAO/B;;CAEC,GACD,OAAO,MAAMC,8BAA8BD,MAAME,aAAa,CAA+CC,WAAW;AAExH;;CAEC,GACD,OAAO,MAAMC,+BAA+BH,4BAA4BI,QAAQ,CAAC;AAEjF,OAAO,SAASC;IACd,OAAON,MAAMO,UAAU,CAACN;AAC1B"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/BackgroundAppearanceContext/BackgroundAppearanceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["BackgroundAppearanceContext","BackgroundAppearanceProvider","useBackgroundAppearance","React","createContext","undefined","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;IAYaA,2BAA2B;eAA3BA;;IAKAC,4BAA4B;eAA5BA;;IAEGC,uBAAuB;eAAvBA;;;;iEAjBO;AAUhB,MAAMF,8BAA8BG,OAAMC,aAAa,CAA+CC;AAKtG,MAAMJ,+BAA+BD,4BAA4BM,QAAQ;AAEzE,SAASJ;IACd,OAAOC,OAAMI,UAAU,CAACP;AAC1B"}
1
+ {"version":3,"sources":["../src/BackgroundAppearanceContext/BackgroundAppearanceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | 'brand' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["BackgroundAppearanceContext","BackgroundAppearanceProvider","useBackgroundAppearance","React","createContext","undefined","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;IAYaA,2BAA2B;eAA3BA;;IAKAC,4BAA4B;eAA5BA;;IAEGC,uBAAuB;eAAvBA;;;;iEAjBO;AAUhB,MAAMF,8BAA8BG,OAAMC,aAAa,CAA+CC;AAKtG,MAAMJ,+BAA+BD,4BAA4BM,QAAQ;AAEzE,SAASJ;IACd,OAAOC,OAAMI,UAAU,CAACP;AAC1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-shared-contexts",
3
- "version": "9.25.2",
3
+ "version": "9.26.0",
4
4
  "description": "Fluent UI React Contexts shared by multiple components.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",