Socket
Socket
Sign inDemoInstall

@fluentui/utilities

Package Overview
Dependencies
Maintainers
12
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/utilities - npm Package Compare versions

Comparing version 8.15.8 to 8.15.9

2

lib-amd/Async.d.ts

@@ -103,3 +103,3 @@ /**

}
export declare type ICancelable<T extends (...args: any[]) => any> = {
export type ICancelable<T extends (...args: any[]) => any> = {
flush: () => ReturnType<T>;

@@ -106,0 +106,0 @@ cancel: () => void;

import * as React from 'react';
export declare type IRefObject<T> = React.RefObject<T> | RefObject<T> | ((ref: T | null) => void);
export declare type RefObject<T> = {
export type IRefObject<T> = React.RefObject<T> | RefObject<T> | ((ref: T | null) => void);
export type RefObject<T> = {
(component: T | null): void;
current: T | null;
};

@@ -22,3 +22,3 @@ /**

*/
export declare type ICssInput = string | ISerializableObject | IDictionary | null | undefined | boolean;
export type ICssInput = string | ISerializableObject | IDictionary | null | undefined | boolean;
/**

@@ -25,0 +25,0 @@ * Concatination helper, which can merge class names together. Skips over falsey values.

@@ -1,13 +0,13 @@

export declare type ISettings = {
export type ISettings = {
[key: string]: any;
};
export declare type ISettingsFunction = (settings: ISettings) => ISettings;
export type ISettingsFunction = (settings: ISettings) => ISettings;
/**
* @deprecated Use ISettings.
*/
export declare type Settings = ISettings;
export type Settings = ISettings;
/**
* @deprecated Use ISettingsFunction.
*/
export declare type SettingsFunction = ISettingsFunction;
export type SettingsFunction = ISettingsFunction;
export interface ICustomizations {

@@ -14,0 +14,0 @@ settings: ISettings;

@@ -5,3 +5,3 @@ import * as React from 'react';

import type { ICustomizerContext } from './CustomizerContext';
export declare type ICustomizerProps = IBaseProps & Partial<{
export type ICustomizerProps = IBaseProps & Partial<{
/**

@@ -8,0 +8,0 @@ * Settings are used as general settings for the React tree below.

import * as React from 'react';
export declare type FocusRectsProviderProps = {
export type FocusRectsProviderProps = {
/**

@@ -4,0 +4,0 @@ * Ref to the root element that this is providing focus rects for.

/**
* @deprecated Use `IProcessedStyleSet` from `@fluentui/style-utilities` or `@fluentui/merge-styles` instead.
*/
export declare type IClassNames<T> = {
export type IClassNames<T> = {
[key in keyof T]: string;
};

@@ -8,3 +8,3 @@ import * as React from 'react';

*/
export declare type IComponentAsProps<T> = T & {
export type IComponentAsProps<T> = T & {
defaultRender?: React.ComponentType<T>;

@@ -18,2 +18,2 @@ };

*/
export declare type IComponentAs<T> = React.ComponentType<IComponentAsProps<T>>;
export type IComponentAs<T> = React.ComponentType<IComponentAsProps<T>>;

@@ -109,2 +109,2 @@ /**

};
export declare type KeyCodes = number;
export type KeyCodes = number;

@@ -12,3 +12,3 @@ import type { Point } from './Point';

*/
export declare type FitMode = 'contain' | 'cover';
export type FitMode = 'contain' | 'cover';
/**

@@ -15,0 +15,0 @@ * Options for fitting content sizes into bounding sizes.

@@ -19,3 +19,3 @@ import { SelectionMode } from './Selection.types';

*/
export declare type ISelectionOptionsWithRequiredGetKey<TItem> = ISelectionOptions<TItem> & Required<Pick<ISelectionOptions<TItem>, 'getKey'>>;
export type ISelectionOptionsWithRequiredGetKey<TItem> = ISelectionOptions<TItem> & Required<Pick<ISelectionOptions<TItem>, 'getKey'>>;
/**

@@ -22,0 +22,0 @@ * {@docCategory Selection}

@@ -14,4 +14,4 @@ import * as React from 'react';

}
declare type UseWindowHook = () => Window | undefined;
export declare type MergeStylesRootContextValue = {
type UseWindowHook = () => Window | undefined;
export type MergeStylesRootContextValue = {
/**

@@ -31,3 +31,3 @@ * Map of stylesheets available in the context.

export declare const MergeStylesRootContext: React.Context<MergeStylesRootContextValue>;
export declare type MergeStylesRootProviderProps = {
export type MergeStylesRootProviderProps = {
/**

@@ -34,0 +34,0 @@ * Map of stylesheets available in the context.

import type * as React from 'react';
export declare type MergeStylesContextConsumerProps = {
export type MergeStylesContextConsumerProps = {
stylesheetKey: string;

@@ -4,0 +4,0 @@ children: (inShadow: boolean) => React.ReactElement<any, any>;

import * as React from 'react';
export declare type MergeStylesShadowRootContextValue = {
export type MergeStylesShadowRootContextValue = {
/**

@@ -13,3 +13,3 @@ * Map of stylesheets available in the context.

export declare const MergeStylesShadowRootContext: React.Context<MergeStylesShadowRootContextValue | undefined>;
export declare type MergeStylesShadowRootProviderProps = {
export type MergeStylesShadowRootProviderProps = {
/**

@@ -16,0 +16,0 @@ * Shadow root for this context.

import type { ExtendedCSSStyleSheet } from '@fluentui/merge-styles';
import type { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext';
export declare type AdoptedStylesheetHook = (stylesheetKey: string) => boolean;
export declare type AdoptedStylesheetExHook = (stylesheetKey: string, shadowCtx: MergeStylesShadowRootContextValue | undefined, rootMergeStyles: Map<string, ExtendedCSSStyleSheet>, win: Window | undefined) => boolean;
export type AdoptedStylesheetHook = (stylesheetKey: string) => boolean;
export type AdoptedStylesheetExHook = (stylesheetKey: string, shadowCtx: MergeStylesShadowRootContextValue | undefined, rootMergeStyles: Map<string, ExtendedCSSStyleSheet>, win: Window | undefined) => boolean;
/**

@@ -6,0 +6,0 @@ * Use adopted stylesheets in the parent shadow root.

import type { ExtendedCSSStyleSheet } from '@fluentui/merge-styles';
export declare type MergeStylesRootStylesheetsHook = () => Map<string, ExtendedCSSStyleSheet>;
export type MergeStylesRootStylesheetsHook = () => Map<string, ExtendedCSSStyleSheet>;
/**

@@ -4,0 +4,0 @@ * Get the map of stylesheets available in the context.

import { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext';
export declare type HasMergeStylesShadowRootContextHook = () => boolean;
export declare type MergeStylesShadowRootContetHook = () => MergeStylesShadowRootContextValue | undefined;
export type HasMergeStylesShadowRootContextHook = () => boolean;
export type MergeStylesShadowRootContetHook = () => MergeStylesShadowRootContextValue | undefined;
/**

@@ -5,0 +5,0 @@ * Test if a context is available.

import type { ShadowConfig } from '@fluentui/merge-styles';
export declare type ShadowConfigHook = (stylesheetKey: string, inShadow: boolean, win?: Window) => ShadowConfig;
export type ShadowConfigHook = (stylesheetKey: string, inShadow: boolean, win?: Window) => ShadowConfig;
/**

@@ -4,0 +4,0 @@ * Get a shadow config.

import { ShadowConfig } from '@fluentui/merge-styles';
export declare type UseStyledHook = (scope: string) => ShadowConfig | undefined;
export type UseStyledHook = (scope: string) => ShadowConfig | undefined;
export declare const useStyled: UseStyledHook;

@@ -17,3 +17,3 @@ import * as React from 'react';

}
export declare type StyleFunction<TStyleProps, TStyleSet extends IStyleSetBase> = IStyleFunctionOrObject<TStyleProps, TStyleSet> & {
export type StyleFunction<TStyleProps, TStyleSet extends IStyleSetBase> = IStyleFunctionOrObject<TStyleProps, TStyleSet> & {
/** Cache for all style functions. */

@@ -20,0 +20,0 @@ __cachedInputs__: (IStyleFunctionOrObject<TStyleProps, TStyleSet> | undefined)[];

@@ -6,3 +6,3 @@ import * as React from 'react';

*/
export declare type ListenerCallbacks = {
export type ListenerCallbacks = {
onMouseDown: (ev: MouseEvent) => void;

@@ -13,3 +13,3 @@ onPointerDown: (ev: PointerEvent) => void;

};
export declare type IFocusRectsContext = {
export type IFocusRectsContext = {
/**

@@ -16,0 +16,0 @@ * Ref to the root element of the provider

define(["require", "exports", "@fluentui/set-version"], function (require, exports, set_version_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
(0, set_version_1.setVersion)('@fluentui/utilities', '8.15.8');
(0, set_version_1.setVersion)('@fluentui/utilities', '8.15.9');
});
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

export declare type ISettingsMap<T> = {
export type ISettingsMap<T> = {
[P in keyof T]?: string;

@@ -3,0 +3,0 @@ };

@@ -103,3 +103,3 @@ /**

}
export declare type ICancelable<T extends (...args: any[]) => any> = {
export type ICancelable<T extends (...args: any[]) => any> = {
flush: () => ReturnType<T>;

@@ -106,0 +106,0 @@ cancel: () => void;

import * as React from 'react';
export declare type IRefObject<T> = React.RefObject<T> | RefObject<T> | ((ref: T | null) => void);
export declare type RefObject<T> = {
export type IRefObject<T> = React.RefObject<T> | RefObject<T> | ((ref: T | null) => void);
export type RefObject<T> = {
(component: T | null): void;
current: T | null;
};

@@ -22,3 +22,3 @@ /**

*/
export declare type ICssInput = string | ISerializableObject | IDictionary | null | undefined | boolean;
export type ICssInput = string | ISerializableObject | IDictionary | null | undefined | boolean;
/**

@@ -25,0 +25,0 @@ * Concatination helper, which can merge class names together. Skips over falsey values.

@@ -1,13 +0,13 @@

export declare type ISettings = {
export type ISettings = {
[key: string]: any;
};
export declare type ISettingsFunction = (settings: ISettings) => ISettings;
export type ISettingsFunction = (settings: ISettings) => ISettings;
/**
* @deprecated Use ISettings.
*/
export declare type Settings = ISettings;
export type Settings = ISettings;
/**
* @deprecated Use ISettingsFunction.
*/
export declare type SettingsFunction = ISettingsFunction;
export type SettingsFunction = ISettingsFunction;
export interface ICustomizations {

@@ -14,0 +14,0 @@ settings: ISettings;

@@ -5,3 +5,3 @@ import * as React from 'react';

import type { ICustomizerContext } from './CustomizerContext';
export declare type ICustomizerProps = IBaseProps & Partial<{
export type ICustomizerProps = IBaseProps & Partial<{
/**

@@ -8,0 +8,0 @@ * Settings are used as general settings for the React tree below.

import * as React from 'react';
export declare type FocusRectsProviderProps = {
export type FocusRectsProviderProps = {
/**

@@ -4,0 +4,0 @@ * Ref to the root element that this is providing focus rects for.

/**
* @deprecated Use `IProcessedStyleSet` from `@fluentui/style-utilities` or `@fluentui/merge-styles` instead.
*/
export declare type IClassNames<T> = {
export type IClassNames<T> = {
[key in keyof T]: string;
};

@@ -8,3 +8,3 @@ import * as React from 'react';

*/
export declare type IComponentAsProps<T> = T & {
export type IComponentAsProps<T> = T & {
defaultRender?: React.ComponentType<T>;

@@ -18,2 +18,2 @@ };

*/
export declare type IComponentAs<T> = React.ComponentType<IComponentAsProps<T>>;
export type IComponentAs<T> = React.ComponentType<IComponentAsProps<T>>;

@@ -109,2 +109,2 @@ /**

};
export declare type KeyCodes = number;
export type KeyCodes = number;

@@ -12,3 +12,3 @@ import type { Point } from './Point';

*/
export declare type FitMode = 'contain' | 'cover';
export type FitMode = 'contain' | 'cover';
/**

@@ -15,0 +15,0 @@ * Options for fitting content sizes into bounding sizes.

@@ -19,3 +19,3 @@ import { SelectionMode } from './Selection.types';

*/
export declare type ISelectionOptionsWithRequiredGetKey<TItem> = ISelectionOptions<TItem> & Required<Pick<ISelectionOptions<TItem>, 'getKey'>>;
export type ISelectionOptionsWithRequiredGetKey<TItem> = ISelectionOptions<TItem> & Required<Pick<ISelectionOptions<TItem>, 'getKey'>>;
/**

@@ -22,0 +22,0 @@ * {@docCategory Selection}

@@ -14,4 +14,4 @@ import * as React from 'react';

}
declare type UseWindowHook = () => Window | undefined;
export declare type MergeStylesRootContextValue = {
type UseWindowHook = () => Window | undefined;
export type MergeStylesRootContextValue = {
/**

@@ -31,3 +31,3 @@ * Map of stylesheets available in the context.

export declare const MergeStylesRootContext: React.Context<MergeStylesRootContextValue>;
export declare type MergeStylesRootProviderProps = {
export type MergeStylesRootProviderProps = {
/**

@@ -34,0 +34,0 @@ * Map of stylesheets available in the context.

import type * as React from 'react';
export declare type MergeStylesContextConsumerProps = {
export type MergeStylesContextConsumerProps = {
stylesheetKey: string;

@@ -4,0 +4,0 @@ children: (inShadow: boolean) => React.ReactElement<any, any>;

import * as React from 'react';
export declare type MergeStylesShadowRootContextValue = {
export type MergeStylesShadowRootContextValue = {
/**

@@ -13,3 +13,3 @@ * Map of stylesheets available in the context.

export declare const MergeStylesShadowRootContext: React.Context<MergeStylesShadowRootContextValue | undefined>;
export declare type MergeStylesShadowRootProviderProps = {
export type MergeStylesShadowRootProviderProps = {
/**

@@ -16,0 +16,0 @@ * Shadow root for this context.

import type { ExtendedCSSStyleSheet } from '@fluentui/merge-styles';
import type { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext';
export declare type AdoptedStylesheetHook = (stylesheetKey: string) => boolean;
export declare type AdoptedStylesheetExHook = (stylesheetKey: string, shadowCtx: MergeStylesShadowRootContextValue | undefined, rootMergeStyles: Map<string, ExtendedCSSStyleSheet>, win: Window | undefined) => boolean;
export type AdoptedStylesheetHook = (stylesheetKey: string) => boolean;
export type AdoptedStylesheetExHook = (stylesheetKey: string, shadowCtx: MergeStylesShadowRootContextValue | undefined, rootMergeStyles: Map<string, ExtendedCSSStyleSheet>, win: Window | undefined) => boolean;
/**

@@ -6,0 +6,0 @@ * Use adopted stylesheets in the parent shadow root.

import type { ExtendedCSSStyleSheet } from '@fluentui/merge-styles';
export declare type MergeStylesRootStylesheetsHook = () => Map<string, ExtendedCSSStyleSheet>;
export type MergeStylesRootStylesheetsHook = () => Map<string, ExtendedCSSStyleSheet>;
/**

@@ -4,0 +4,0 @@ * Get the map of stylesheets available in the context.

import { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext';
export declare type HasMergeStylesShadowRootContextHook = () => boolean;
export declare type MergeStylesShadowRootContetHook = () => MergeStylesShadowRootContextValue | undefined;
export type HasMergeStylesShadowRootContextHook = () => boolean;
export type MergeStylesShadowRootContetHook = () => MergeStylesShadowRootContextValue | undefined;
/**

@@ -5,0 +5,0 @@ * Test if a context is available.

import type { ShadowConfig } from '@fluentui/merge-styles';
export declare type ShadowConfigHook = (stylesheetKey: string, inShadow: boolean, win?: Window) => ShadowConfig;
export type ShadowConfigHook = (stylesheetKey: string, inShadow: boolean, win?: Window) => ShadowConfig;
/**

@@ -4,0 +4,0 @@ * Get a shadow config.

import { ShadowConfig } from '@fluentui/merge-styles';
export declare type UseStyledHook = (scope: string) => ShadowConfig | undefined;
export type UseStyledHook = (scope: string) => ShadowConfig | undefined;
export declare const useStyled: UseStyledHook;

@@ -17,3 +17,3 @@ import * as React from 'react';

}
export declare type StyleFunction<TStyleProps, TStyleSet extends IStyleSetBase> = IStyleFunctionOrObject<TStyleProps, TStyleSet> & {
export type StyleFunction<TStyleProps, TStyleSet extends IStyleSetBase> = IStyleFunctionOrObject<TStyleProps, TStyleSet> & {
/** Cache for all style functions. */

@@ -20,0 +20,0 @@ __cachedInputs__: (IStyleFunctionOrObject<TStyleProps, TStyleSet> | undefined)[];

@@ -6,3 +6,3 @@ import * as React from 'react';

*/
export declare type ListenerCallbacks = {
export type ListenerCallbacks = {
onMouseDown: (ev: MouseEvent) => void;

@@ -13,3 +13,3 @@ onPointerDown: (ev: PointerEvent) => void;

};
export declare type IFocusRectsContext = {
export type IFocusRectsContext = {
/**

@@ -16,0 +16,0 @@ * Ref to the root element of the provider

@@ -6,3 +6,3 @@ "use strict";

var set_version_1 = require("@fluentui/set-version");
(0, set_version_1.setVersion)('@fluentui/utilities', '8.15.8');
(0, set_version_1.setVersion)('@fluentui/utilities', '8.15.9');
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

export declare type ISettingsMap<T> = {
export type ISettingsMap<T> = {
[P in keyof T]?: string;

@@ -3,0 +3,0 @@ };

@@ -103,3 +103,3 @@ /**

}
export declare type ICancelable<T extends (...args: any[]) => any> = {
export type ICancelable<T extends (...args: any[]) => any> = {
flush: () => ReturnType<T>;

@@ -106,0 +106,0 @@ cancel: () => void;

import * as React from 'react';
export declare type IRefObject<T> = React.RefObject<T> | RefObject<T> | ((ref: T | null) => void);
export declare type RefObject<T> = {
export type IRefObject<T> = React.RefObject<T> | RefObject<T> | ((ref: T | null) => void);
export type RefObject<T> = {
(component: T | null): void;
current: T | null;
};

@@ -22,3 +22,3 @@ /**

*/
export declare type ICssInput = string | ISerializableObject | IDictionary | null | undefined | boolean;
export type ICssInput = string | ISerializableObject | IDictionary | null | undefined | boolean;
/**

@@ -25,0 +25,0 @@ * Concatination helper, which can merge class names together. Skips over falsey values.

@@ -1,13 +0,13 @@

export declare type ISettings = {
export type ISettings = {
[key: string]: any;
};
export declare type ISettingsFunction = (settings: ISettings) => ISettings;
export type ISettingsFunction = (settings: ISettings) => ISettings;
/**
* @deprecated Use ISettings.
*/
export declare type Settings = ISettings;
export type Settings = ISettings;
/**
* @deprecated Use ISettingsFunction.
*/
export declare type SettingsFunction = ISettingsFunction;
export type SettingsFunction = ISettingsFunction;
export interface ICustomizations {

@@ -14,0 +14,0 @@ settings: ISettings;

@@ -5,3 +5,3 @@ import * as React from 'react';

import type { ICustomizerContext } from './CustomizerContext';
export declare type ICustomizerProps = IBaseProps & Partial<{
export type ICustomizerProps = IBaseProps & Partial<{
/**

@@ -8,0 +8,0 @@ * Settings are used as general settings for the React tree below.

import * as React from 'react';
export declare type FocusRectsProviderProps = {
export type FocusRectsProviderProps = {
/**

@@ -4,0 +4,0 @@ * Ref to the root element that this is providing focus rects for.

/**
* @deprecated Use `IProcessedStyleSet` from `@fluentui/style-utilities` or `@fluentui/merge-styles` instead.
*/
export declare type IClassNames<T> = {
export type IClassNames<T> = {
[key in keyof T]: string;
};

@@ -8,3 +8,3 @@ import * as React from 'react';

*/
export declare type IComponentAsProps<T> = T & {
export type IComponentAsProps<T> = T & {
defaultRender?: React.ComponentType<T>;

@@ -18,2 +18,2 @@ };

*/
export declare type IComponentAs<T> = React.ComponentType<IComponentAsProps<T>>;
export type IComponentAs<T> = React.ComponentType<IComponentAsProps<T>>;

@@ -109,2 +109,2 @@ /**

};
export declare type KeyCodes = number;
export type KeyCodes = number;

@@ -12,3 +12,3 @@ import type { Point } from './Point';

*/
export declare type FitMode = 'contain' | 'cover';
export type FitMode = 'contain' | 'cover';
/**

@@ -15,0 +15,0 @@ * Options for fitting content sizes into bounding sizes.

@@ -19,3 +19,3 @@ import { SelectionMode } from './Selection.types';

*/
export declare type ISelectionOptionsWithRequiredGetKey<TItem> = ISelectionOptions<TItem> & Required<Pick<ISelectionOptions<TItem>, 'getKey'>>;
export type ISelectionOptionsWithRequiredGetKey<TItem> = ISelectionOptions<TItem> & Required<Pick<ISelectionOptions<TItem>, 'getKey'>>;
/**

@@ -22,0 +22,0 @@ * {@docCategory Selection}

@@ -14,4 +14,4 @@ import * as React from 'react';

}
declare type UseWindowHook = () => Window | undefined;
export declare type MergeStylesRootContextValue = {
type UseWindowHook = () => Window | undefined;
export type MergeStylesRootContextValue = {
/**

@@ -31,3 +31,3 @@ * Map of stylesheets available in the context.

export declare const MergeStylesRootContext: React.Context<MergeStylesRootContextValue>;
export declare type MergeStylesRootProviderProps = {
export type MergeStylesRootProviderProps = {
/**

@@ -34,0 +34,0 @@ * Map of stylesheets available in the context.

import type * as React from 'react';
export declare type MergeStylesContextConsumerProps = {
export type MergeStylesContextConsumerProps = {
stylesheetKey: string;

@@ -4,0 +4,0 @@ children: (inShadow: boolean) => React.ReactElement<any, any>;

import * as React from 'react';
export declare type MergeStylesShadowRootContextValue = {
export type MergeStylesShadowRootContextValue = {
/**

@@ -13,3 +13,3 @@ * Map of stylesheets available in the context.

export declare const MergeStylesShadowRootContext: React.Context<MergeStylesShadowRootContextValue | undefined>;
export declare type MergeStylesShadowRootProviderProps = {
export type MergeStylesShadowRootProviderProps = {
/**

@@ -16,0 +16,0 @@ * Shadow root for this context.

import type { ExtendedCSSStyleSheet } from '@fluentui/merge-styles';
import type { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext';
export declare type AdoptedStylesheetHook = (stylesheetKey: string) => boolean;
export declare type AdoptedStylesheetExHook = (stylesheetKey: string, shadowCtx: MergeStylesShadowRootContextValue | undefined, rootMergeStyles: Map<string, ExtendedCSSStyleSheet>, win: Window | undefined) => boolean;
export type AdoptedStylesheetHook = (stylesheetKey: string) => boolean;
export type AdoptedStylesheetExHook = (stylesheetKey: string, shadowCtx: MergeStylesShadowRootContextValue | undefined, rootMergeStyles: Map<string, ExtendedCSSStyleSheet>, win: Window | undefined) => boolean;
/**

@@ -6,0 +6,0 @@ * Use adopted stylesheets in the parent shadow root.

import type { ExtendedCSSStyleSheet } from '@fluentui/merge-styles';
export declare type MergeStylesRootStylesheetsHook = () => Map<string, ExtendedCSSStyleSheet>;
export type MergeStylesRootStylesheetsHook = () => Map<string, ExtendedCSSStyleSheet>;
/**

@@ -4,0 +4,0 @@ * Get the map of stylesheets available in the context.

import { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext';
export declare type HasMergeStylesShadowRootContextHook = () => boolean;
export declare type MergeStylesShadowRootContetHook = () => MergeStylesShadowRootContextValue | undefined;
export type HasMergeStylesShadowRootContextHook = () => boolean;
export type MergeStylesShadowRootContetHook = () => MergeStylesShadowRootContextValue | undefined;
/**

@@ -5,0 +5,0 @@ * Test if a context is available.

import type { ShadowConfig } from '@fluentui/merge-styles';
export declare type ShadowConfigHook = (stylesheetKey: string, inShadow: boolean, win?: Window) => ShadowConfig;
export type ShadowConfigHook = (stylesheetKey: string, inShadow: boolean, win?: Window) => ShadowConfig;
/**

@@ -4,0 +4,0 @@ * Get a shadow config.

import { ShadowConfig } from '@fluentui/merge-styles';
export declare type UseStyledHook = (scope: string) => ShadowConfig | undefined;
export type UseStyledHook = (scope: string) => ShadowConfig | undefined;
export declare const useStyled: UseStyledHook;

@@ -17,3 +17,3 @@ import * as React from 'react';

}
export declare type StyleFunction<TStyleProps, TStyleSet extends IStyleSetBase> = IStyleFunctionOrObject<TStyleProps, TStyleSet> & {
export type StyleFunction<TStyleProps, TStyleSet extends IStyleSetBase> = IStyleFunctionOrObject<TStyleProps, TStyleSet> & {
/** Cache for all style functions. */

@@ -20,0 +20,0 @@ __cachedInputs__: (IStyleFunctionOrObject<TStyleProps, TStyleSet> | undefined)[];

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.31.2"
"packageVersion": "7.34.9"
}
]
}

@@ -6,3 +6,3 @@ import * as React from 'react';

*/
export declare type ListenerCallbacks = {
export type ListenerCallbacks = {
onMouseDown: (ev: MouseEvent) => void;

@@ -13,3 +13,3 @@ onPointerDown: (ev: PointerEvent) => void;

};
export declare type IFocusRectsContext = {
export type IFocusRectsContext = {
/**

@@ -16,0 +16,0 @@ * Ref to the root element of the provider

// Do not modify this file; it is generated as part of publish.
// The checked in version is a placeholder only and will not be updated.
import { setVersion } from '@fluentui/set-version';
setVersion('@fluentui/utilities', '8.15.8');
setVersion('@fluentui/utilities', '8.15.9');
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

export declare type ISettingsMap<T> = {
export type ISettingsMap<T> = {
[P in keyof T]?: string;

@@ -3,0 +3,0 @@ };

{
"name": "@fluentui/utilities",
"version": "8.15.8",
"version": "8.15.9",
"description": "Fluent UI React utilities for building components.",

@@ -43,6 +43,6 @@ "main": "lib-commonjs/index.js",

"dependencies": {
"@fluentui/dom-utilities": "^2.3.5",
"@fluentui/merge-styles": "^8.6.8",
"@fluentui/set-version": "^8.2.21",
"@fluentui/react-window-provider": "^2.2.25",
"@fluentui/dom-utilities": "^2.3.6",
"@fluentui/merge-styles": "^8.6.9",
"@fluentui/set-version": "^8.2.22",
"@fluentui/react-window-provider": "^2.2.26",
"tslib": "^2.1.0"

@@ -49,0 +49,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc