@fluentui/react-shared-contexts 0.0.0-nightly-20220512-0418.1 → 0.0.0-nightly-20220513-0417.1

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.
Files changed (40) hide show
  1. package/CHANGELOG.json +6 -12
  2. package/CHANGELOG.md +5 -6
  3. package/{lib → dist}/tsdoc-metadata.json +0 -0
  4. package/package.json +4 -4
  5. package/lib/MenuContext/MenuContext.d.ts +0 -4
  6. package/lib/MenuContext/index.d.ts +0 -2
  7. package/lib/MenuContext/types.d.ts +0 -6
  8. package/lib/MenuContext.d.ts +0 -1
  9. package/lib/ProviderContext/ProviderContext.d.ts +0 -4
  10. package/lib/ProviderContext/ProviderContext.types.d.ts +0 -6
  11. package/lib/ProviderContext/index.d.ts +0 -2
  12. package/lib/ProviderContext.d.ts +0 -1
  13. package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  14. package/lib/ThemeClassNameContext/index.d.ts +0 -1
  15. package/lib/ThemeClassNameContext.d.ts +0 -1
  16. package/lib/ThemeContext/ThemeContext.d.ts +0 -4
  17. package/lib/ThemeContext/index.d.ts +0 -1
  18. package/lib/ThemeContext.d.ts +0 -1
  19. package/lib/TooltipContext/TooltipContext.d.ts +0 -17
  20. package/lib/TooltipContext/index.d.ts +0 -1
  21. package/lib/TooltipContext.d.ts +0 -1
  22. package/lib/index.d.ts +0 -9
  23. package/lib-commonjs/MenuContext/MenuContext.d.ts +0 -4
  24. package/lib-commonjs/MenuContext/index.d.ts +0 -2
  25. package/lib-commonjs/MenuContext/types.d.ts +0 -6
  26. package/lib-commonjs/MenuContext.d.ts +0 -1
  27. package/lib-commonjs/ProviderContext/ProviderContext.d.ts +0 -4
  28. package/lib-commonjs/ProviderContext/ProviderContext.types.d.ts +0 -6
  29. package/lib-commonjs/ProviderContext/index.d.ts +0 -2
  30. package/lib-commonjs/ProviderContext.d.ts +0 -1
  31. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  32. package/lib-commonjs/ThemeClassNameContext/index.d.ts +0 -1
  33. package/lib-commonjs/ThemeClassNameContext.d.ts +0 -1
  34. package/lib-commonjs/ThemeContext/ThemeContext.d.ts +0 -4
  35. package/lib-commonjs/ThemeContext/index.d.ts +0 -1
  36. package/lib-commonjs/ThemeContext.d.ts +0 -1
  37. package/lib-commonjs/TooltipContext/TooltipContext.d.ts +0 -17
  38. package/lib-commonjs/TooltipContext/index.d.ts +0 -1
  39. package/lib-commonjs/TooltipContext.d.ts +0 -1
  40. package/lib-commonjs/index.d.ts +0 -9
package/CHANGELOG.json CHANGED
@@ -2,22 +2,16 @@
2
2
  "name": "@fluentui/react-shared-contexts",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 12 May 2022 04:32:31 GMT",
6
- "tag": "@fluentui/react-shared-contexts_v0.0.0-nightly-20220512-0418.1",
7
- "version": "0.0.0-nightly-20220512-0418.1",
5
+ "date": "Fri, 13 May 2022 04:27:01 GMT",
6
+ "tag": "@fluentui/react-shared-contexts_v0.0.0-nightly-20220513-0417.1",
7
+ "version": "0.0.0-nightly-20220513-0417.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
- "author": "email not defined",
12
- "package": "@fluentui/react-shared-contexts",
13
- "commit": "not available",
14
- "comment": "Release nightly v9"
15
- },
16
- {
17
- "author": "beachball",
11
+ "author": "martinhochel@microsoft.com",
18
12
  "package": "@fluentui/react-shared-contexts",
19
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220512-0418.1",
20
- "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
13
+ "commit": "8afe4d15242d6220f202ca1d0d1522f4f9d151bb",
14
+ "comment": "feat: ship rolluped only dts"
21
15
  }
22
16
  ],
23
17
  "none": [
package/CHANGELOG.md CHANGED
@@ -1,18 +1,17 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- This log was last generated on Thu, 12 May 2022 04:32:31 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 13 May 2022 04:27:01 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220512-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly-20220512-0418.1)
7
+ ## [0.0.0-nightly-20220513-0417.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly-20220513-0417.1)
8
8
 
9
- Thu, 12 May 2022 04:32:31 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.7..@fluentui/react-shared-contexts_v0.0.0-nightly-20220512-0418.1)
9
+ Fri, 13 May 2022 04:27:01 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.7..@fluentui/react-shared-contexts_v0.0.0-nightly-20220513-0417.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
15
- - Bump @fluentui/react-theme to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
14
+ - feat: ship rolluped only dts ([PR #22965](https://github.com/microsoft/fluentui/pull/22965) by martinhochel@microsoft.com)
16
15
 
17
16
  ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.7)
18
17
 
File without changes
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-shared-contexts",
3
- "version": "0.0.0-nightly-20220512-0418.1",
3
+ "version": "0.0.0-nightly-20220513-0417.1",
4
4
  "description": "Fluent UI React Contexts shared by multiple components.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "lib/index.d.ts",
7
+ "typings": "dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  "just": "just-scripts",
19
19
  "lint": "just-scripts lint",
20
20
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
21
- "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-shared-contexts/src && yarn docs",
21
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-shared-contexts/src && yarn docs",
22
22
  "test": "jest --passWithNoTests",
23
23
  "type-check": "tsc -b tsconfig.json"
24
24
  },
@@ -27,7 +27,7 @@
27
27
  "@fluentui/scripts": "^1.0.0"
28
28
  },
29
29
  "dependencies": {
30
- "@fluentui/react-theme": "0.0.0-nightly-20220512-0418.1",
30
+ "@fluentui/react-theme": "0.0.0-nightly-20220513-0417.0",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
33
  "peerDependencies": {
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { MinimalMenuProps } from './types';
3
- export declare const MenuContext: React.Context<MinimalMenuProps>;
4
- export declare const useMenuContext: () => MinimalMenuProps;
@@ -1,2 +0,0 @@
1
- export * from './MenuContext';
2
- export * from './types';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export declare type MinimalMenuProps = {
3
- hidden?: boolean;
4
- onDismiss?: () => void;
5
- target?: React.Ref<HTMLElement>;
6
- };
@@ -1 +0,0 @@
1
- export * from './MenuContext/index';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { ProviderContextValue } from './ProviderContext.types';
3
- export declare const ProviderContext: React.Context<ProviderContextValue>;
4
- export declare function useFluent(): ProviderContextValue;
@@ -1,6 +0,0 @@
1
- export interface ProviderContextValue {
2
- /** Sets the direction of text & generated styles. */
3
- dir: 'ltr' | 'rtl';
4
- /** Provides the document, can be undefined during SSR render. */
5
- targetDocument?: Document;
6
- }
@@ -1,2 +0,0 @@
1
- export * from './ProviderContext';
2
- export * from './ProviderContext.types';
@@ -1 +0,0 @@
1
- export * from './ProviderContext/index';
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- export declare type ThemeClassNameContextValue = string;
3
- /**
4
- * Used to provide a CSS class that applies theme css variables
5
- *
6
- * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
7
- */
8
- export declare const ThemeClassNameContext: React.Context<string>;
9
- /**
10
- * @returns CSS class that applies css variables
11
- */
12
- export declare function useThemeClassName(): ThemeClassNameContextValue;
@@ -1 +0,0 @@
1
- export * from './ThemeClassNameContext';
@@ -1 +0,0 @@
1
- export * from './ThemeClassNameContext/index';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { Theme } from '@fluentui/react-theme';
3
- export declare const ThemeContext: React.Context<Theme | Partial<Theme> | undefined>;
4
- export declare function useTheme(): Theme | Partial<Theme> | undefined;
@@ -1 +0,0 @@
1
- export * from './ThemeContext';
@@ -1 +0,0 @@
1
- export * from './ThemeContext/index';
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * The context provided by TooltipProvider
4
- */
5
- export declare type TooltipContextType = {
6
- /**
7
- * When a tooltip is shown, it sets itself as the visibleTooltip.
8
- * The next tooltip to become visible can use it to hide the previous tooltip immediately.
9
- */
10
- visibleTooltip?: {
11
- hide: () => void;
12
- };
13
- };
14
- /**
15
- * Context shared by all of the tooltips in the app
16
- */
17
- export declare const TooltipContext: React.Context<TooltipContextType>;
@@ -1 +0,0 @@
1
- export * from './TooltipContext';
@@ -1 +0,0 @@
1
- export * from './TooltipContext/index';
package/lib/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export { MenuContext, useMenuContext } from './MenuContext';
2
- export type { MinimalMenuProps } from './MenuContext';
3
- export { ThemeContext, useTheme } from './ThemeContext';
4
- export { ThemeClassNameContext, useThemeClassName } from './ThemeClassNameContext';
5
- export type { ThemeClassNameContextValue } from './ThemeClassNameContext';
6
- export { TooltipContext } from './TooltipContext';
7
- export type { TooltipContextType } from './TooltipContext';
8
- export { ProviderContext, useFluent } from './ProviderContext';
9
- export type { ProviderContextValue } from './ProviderContext';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { MinimalMenuProps } from './types';
3
- export declare const MenuContext: React.Context<MinimalMenuProps>;
4
- export declare const useMenuContext: () => MinimalMenuProps;
@@ -1,2 +0,0 @@
1
- export * from './MenuContext';
2
- export * from './types';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export declare type MinimalMenuProps = {
3
- hidden?: boolean;
4
- onDismiss?: () => void;
5
- target?: React.Ref<HTMLElement>;
6
- };
@@ -1 +0,0 @@
1
- export * from './MenuContext/index';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { ProviderContextValue } from './ProviderContext.types';
3
- export declare const ProviderContext: React.Context<ProviderContextValue>;
4
- export declare function useFluent(): ProviderContextValue;
@@ -1,6 +0,0 @@
1
- export interface ProviderContextValue {
2
- /** Sets the direction of text & generated styles. */
3
- dir: 'ltr' | 'rtl';
4
- /** Provides the document, can be undefined during SSR render. */
5
- targetDocument?: Document;
6
- }
@@ -1,2 +0,0 @@
1
- export * from './ProviderContext';
2
- export * from './ProviderContext.types';
@@ -1 +0,0 @@
1
- export * from './ProviderContext/index';
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- export declare type ThemeClassNameContextValue = string;
3
- /**
4
- * Used to provide a CSS class that applies theme css variables
5
- *
6
- * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
7
- */
8
- export declare const ThemeClassNameContext: React.Context<string>;
9
- /**
10
- * @returns CSS class that applies css variables
11
- */
12
- export declare function useThemeClassName(): ThemeClassNameContextValue;
@@ -1 +0,0 @@
1
- export * from './ThemeClassNameContext';
@@ -1 +0,0 @@
1
- export * from './ThemeClassNameContext/index';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { Theme } from '@fluentui/react-theme';
3
- export declare const ThemeContext: React.Context<Theme | Partial<Theme> | undefined>;
4
- export declare function useTheme(): Theme | Partial<Theme> | undefined;
@@ -1 +0,0 @@
1
- export * from './ThemeContext';
@@ -1 +0,0 @@
1
- export * from './ThemeContext/index';
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * The context provided by TooltipProvider
4
- */
5
- export declare type TooltipContextType = {
6
- /**
7
- * When a tooltip is shown, it sets itself as the visibleTooltip.
8
- * The next tooltip to become visible can use it to hide the previous tooltip immediately.
9
- */
10
- visibleTooltip?: {
11
- hide: () => void;
12
- };
13
- };
14
- /**
15
- * Context shared by all of the tooltips in the app
16
- */
17
- export declare const TooltipContext: React.Context<TooltipContextType>;
@@ -1 +0,0 @@
1
- export * from './TooltipContext';
@@ -1 +0,0 @@
1
- export * from './TooltipContext/index';
@@ -1,9 +0,0 @@
1
- export { MenuContext, useMenuContext } from './MenuContext';
2
- export type { MinimalMenuProps } from './MenuContext';
3
- export { ThemeContext, useTheme } from './ThemeContext';
4
- export { ThemeClassNameContext, useThemeClassName } from './ThemeClassNameContext';
5
- export type { ThemeClassNameContextValue } from './ThemeClassNameContext';
6
- export { TooltipContext } from './TooltipContext';
7
- export type { TooltipContextType } from './TooltipContext';
8
- export { ProviderContext, useFluent } from './ProviderContext';
9
- export type { ProviderContextValue } from './ProviderContext';