UNPKG

333 kBMarkdownView Raw
1## API Report File for "@fluentui/react"
2
3> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
5```ts
6
7import { addDays } from '@fluentui/date-time-utilities';
8import { addDirectionalKeyCode } from '@fluentui/utilities';
9import { addElementAtIndex } from '@fluentui/utilities';
10import { addMonths } from '@fluentui/date-time-utilities';
11import { addWeeks } from '@fluentui/date-time-utilities';
12import { addYears } from '@fluentui/date-time-utilities';
13import { allowOverscrollOnElement } from '@fluentui/utilities';
14import { allowScrollOnElement } from '@fluentui/utilities';
15import { anchorProperties } from '@fluentui/utilities';
16import { AnimationClassNames } from '@fluentui/style-utilities';
17import { AnimationStyles } from '@fluentui/style-utilities';
18import { AnimationVariables } from '@fluentui/style-utilities';
19import { appendFunction } from '@fluentui/utilities';
20import { arraysEqual } from '@fluentui/utilities';
21import { asAsync } from '@fluentui/utilities';
22import { assertNever } from '@fluentui/utilities';
23import { assign } from '@fluentui/utilities';
24import { Async } from '@fluentui/utilities';
25import { audioProperties } from '@fluentui/utilities';
26import { AutoScroll } from '@fluentui/utilities';
27import { BaseComponent } from '@fluentui/utilities';
28import { baseElementEvents } from '@fluentui/utilities';
29import { baseElementProperties } from '@fluentui/utilities';
30import { buildClassMap } from '@fluentui/style-utilities';
31import { buttonProperties } from '@fluentui/utilities';
32import { calculatePrecision } from '@fluentui/utilities';
33import { classNamesFunction } from '@fluentui/utilities';
34import { colGroupProperties } from '@fluentui/utilities';
35import { ColorClassNames } from '@fluentui/style-utilities';
36import { colProperties } from '@fluentui/utilities';
37import { CommunicationColors } from '@fluentui/theme';
38import { compareDatePart } from '@fluentui/date-time-utilities';
39import { compareDates } from '@fluentui/date-time-utilities';
40import { ComponentsStyles } from '@fluentui/theme';
41import { ComponentStyles } from '@fluentui/theme';
42import { composeComponentAs } from '@fluentui/utilities';
43import { composeRenderFunction } from '@fluentui/utilities';
44import { concatStyleSets } from '@fluentui/style-utilities';
45import { concatStyleSetsWithProps } from '@fluentui/style-utilities';
46import { createArray } from '@fluentui/utilities';
47import { createFontStyles } from '@fluentui/style-utilities';
48import { createMemoizer } from '@fluentui/utilities';
49import { createMergedRef } from '@fluentui/utilities';
50import { createTheme } from '@fluentui/theme';
51import { css } from '@fluentui/utilities';
52import { customizable } from '@fluentui/utilities';
53import { Customizations } from '@fluentui/utilities';
54import { Customizer } from '@fluentui/utilities';
55import { CustomizerContext } from '@fluentui/utilities';
56import { DATA_IS_SCROLLABLE_ATTRIBUTE } from '@fluentui/utilities';
57import { DATA_PORTAL_ATTRIBUTE } from '@fluentui/utilities';
58import { DateRangeType } from '@fluentui/date-time-utilities';
59import { DayOfWeek } from '@fluentui/date-time-utilities';
60import { DAYS_IN_WEEK } from '@fluentui/date-time-utilities';
61import { DefaultEffects } from '@fluentui/style-utilities';
62import { DefaultFontStyles } from '@fluentui/style-utilities';
63import { DefaultPalette } from '@fluentui/style-utilities';
64import { DefaultSpacing } from '@fluentui/theme';
65import { DelayedRender } from '@fluentui/utilities';
66import { Depths } from '@fluentui/theme';
67import { disableBodyScroll } from '@fluentui/utilities';
68import { divProperties } from '@fluentui/utilities';
69import { doesElementContainFocus } from '@fluentui/utilities';
70import { EdgeChromiumHighContrastSelector } from '@fluentui/style-utilities';
71import { elementContains } from '@fluentui/utilities';
72import { elementContainsAttribute } from '@fluentui/utilities';
73import { enableBodyScroll } from '@fluentui/utilities';
74import { EventGroup } from '@fluentui/utilities';
75import { extendComponent } from '@fluentui/utilities';
76import { FabricPerformance } from '@fluentui/utilities';
77import { filteredAssign } from '@fluentui/utilities';
78import { find } from '@fluentui/utilities';
79import { findElementRecursive } from '@fluentui/utilities';
80import { findIndex } from '@fluentui/utilities';
81import { findScrollableParent } from '@fluentui/utilities';
82import { FirstWeekOfYear } from '@fluentui/date-time-utilities';
83import { fitContentToBounds } from '@fluentui/utilities';
84import { FitMode } from '@fluentui/utilities';
85import { flatten } from '@fluentui/utilities';
86import { FluentTheme } from '@fluentui/theme';
87import { focusAsync } from '@fluentui/utilities';
88import { focusClear } from '@fluentui/style-utilities';
89import { focusFirstChild } from '@fluentui/utilities';
90import { FocusRects } from '@fluentui/utilities';
91import { FocusZone } from '@fluentui/react-focus';
92import { FocusZoneDirection } from '@fluentui/react-focus';
93import { FocusZoneTabbableElements } from '@fluentui/react-focus';
94import { FontClassNames } from '@fluentui/style-utilities';
95import { fontFace } from '@fluentui/style-utilities';
96import { FontSizes } from '@fluentui/style-utilities';
97import { FontWeights } from '@fluentui/style-utilities';
98import { format } from '@fluentui/utilities';
99import { formProperties } from '@fluentui/utilities';
100import { getChildren } from '@fluentui/utilities';
101import { getDatePartHashValue } from '@fluentui/date-time-utilities';
102import { getDateRangeArray } from '@fluentui/date-time-utilities';
103import { getDistanceBetweenPoints } from '@fluentui/utilities';
104import { getDocument } from '@fluentui/utilities';
105import { getEdgeChromiumNoHighContrastAdjustSelector } from '@fluentui/style-utilities';
106import { getElementIndexPath } from '@fluentui/utilities';
107import { getEndDateOfWeek } from '@fluentui/date-time-utilities';
108import { getFadedOverflowStyle } from '@fluentui/style-utilities';
109import { getFirstFocusable } from '@fluentui/utilities';
110import { getFirstTabbable } from '@fluentui/utilities';
111import { getFirstVisibleElementFromSelector } from '@fluentui/utilities';
112import { getFocusableByIndexPath } from '@fluentui/utilities';
113import { getFocusOutlineStyle } from '@fluentui/style-utilities';
114import { getFocusStyle } from '@fluentui/style-utilities';
115import { getGlobalClassNames } from '@fluentui/style-utilities';
116import { getHighContrastNoAdjustStyle } from '@fluentui/style-utilities';
117import { getIcon } from '@fluentui/style-utilities';
118import { getIconClassName } from '@fluentui/style-utilities';
119import { getId } from '@fluentui/utilities';
120import { getInitials } from '@fluentui/utilities';
121import { getInputFocusStyle } from '@fluentui/style-utilities';
122import { getLanguage } from '@fluentui/utilities';
123import { getLastFocusable } from '@fluentui/utilities';
124import { getLastTabbable } from '@fluentui/utilities';
125import { getMonthEnd } from '@fluentui/date-time-utilities';
126import { getMonthStart } from '@fluentui/date-time-utilities';
127import { getNativeElementProps } from '@fluentui/utilities';
128import { getNativeProps } from '@fluentui/utilities';
129import { getNextElement } from '@fluentui/utilities';
130import { getParent } from '@fluentui/utilities';
131import { getPlaceholderStyles } from '@fluentui/style-utilities';
132import { getPreviousElement } from '@fluentui/utilities';
133import { getPropsWithDefaults } from '@fluentui/utilities';
134import { getRect } from '@fluentui/utilities';
135import { getResourceUrl } from '@fluentui/utilities';
136import { getRTL } from '@fluentui/utilities';
137import { getRTLSafeKeyCode } from '@fluentui/utilities';
138import { getScreenSelector } from '@fluentui/style-utilities';
139import { getScrollbarWidth } from '@fluentui/utilities';
140import { getStartDateOfWeek } from '@fluentui/date-time-utilities';
141import { getTheme } from '@fluentui/style-utilities';
142import { getThemedContext } from '@fluentui/style-utilities';
143import { getVirtualParent } from '@fluentui/utilities';
144import { getWeekNumber } from '@fluentui/date-time-utilities';
145import { getWeekNumbersInMonth } from '@fluentui/date-time-utilities';
146import { getWindow } from '@fluentui/utilities';
147import { getYearEnd } from '@fluentui/date-time-utilities';
148import { getYearStart } from '@fluentui/date-time-utilities';
149import { GlobalClassNames } from '@fluentui/style-utilities';
150import { GlobalSettings } from '@fluentui/utilities';
151import { hasHorizontalOverflow } from '@fluentui/utilities';
152import { hasOverflow } from '@fluentui/utilities';
153import { hasVerticalOverflow } from '@fluentui/utilities';
154import { hiddenContentStyle } from '@fluentui/style-utilities';
155import { HighContrastSelector } from '@fluentui/style-utilities';
156import { HighContrastSelectorBlack } from '@fluentui/style-utilities';
157import { HighContrastSelectorWhite } from '@fluentui/style-utilities';
158import { hoistMethods } from '@fluentui/utilities';
159import { hoistStatics } from '@fluentui/utilities';
160import { htmlElementProperties } from '@fluentui/utilities';
161import { IAnimationStyles } from '@fluentui/style-utilities';
162import { IAnimationVariables } from '@fluentui/style-utilities';
163import { IAsAsyncOptions } from '@fluentui/utilities';
164import { IBaseProps } from '@fluentui/utilities';
165import { ICalendarStrings } from '@fluentui/date-time-utilities';
166import { ICancelable } from '@fluentui/utilities';
167import { IChangeDescription } from '@fluentui/utilities';
168import { IChangeEventCallback } from '@fluentui/utilities';
169import { IClassNames } from '@fluentui/utilities';
170import { IClassNamesFunctionOptions } from '@fluentui/utilities';
171import type { IComponent } from '@fluentui/foundation-legacy';
172import { IComponentAs } from '@fluentui/utilities';
173import { IComponentAsProps } from '@fluentui/utilities';
174import type { IComponentStyles } from '@fluentui/foundation-legacy';
175import { IconFontSizes } from '@fluentui/style-utilities';
176import { IconNames } from '@fluentui/font-icons-mdl2';
177import { ICSPSettings } from '@fluentui/style-utilities';
178import { ICssInput } from '@fluentui/utilities';
179import type { ICSSPixelUnitRule } from '@fluentui/merge-styles';
180import type { ICSSRule } from '@fluentui/merge-styles';
181import { ICustomizableProps } from '@fluentui/utilities';
182import { ICustomizations } from '@fluentui/utilities';
183import { ICustomizerContext } from '@fluentui/utilities';
184import { ICustomizerProps } from '@fluentui/utilities';
185import { IDateFormatting } from '@fluentui/date-time-utilities';
186import type { IDayGridOptions } from '@fluentui/date-time-utilities';
187import { IDeclaredEventsByName } from '@fluentui/utilities';
188import { IDelayedRenderProps } from '@fluentui/utilities';
189import { IDelayedRenderState } from '@fluentui/utilities';
190import { IDictionary } from '@fluentui/utilities';
191import { IDisposable } from '@fluentui/utilities';
192import { IEffects } from '@fluentui/style-utilities';
193import { IEventRecord } from '@fluentui/utilities';
194import { IEventRecordList } from '@fluentui/utilities';
195import { IEventRecordsByName } from '@fluentui/utilities';
196import { IFitContentToBoundsOptions } from '@fluentui/utilities';
197import { IFocusZone } from '@fluentui/react-focus';
198import { IFocusZoneProps } from '@fluentui/react-focus';
199import { IFontFace } from '@fluentui/style-utilities';
200import { IFontStyles } from '@fluentui/style-utilities';
201import { IFontWeight } from '@fluentui/style-utilities';
202import { iframeProperties } from '@fluentui/utilities';
203import { IGetFocusStylesOptions } from '@fluentui/style-utilities';
204import type { IHTMLSlot } from '@fluentui/foundation-legacy';
205import { IIconOptions } from '@fluentui/style-utilities';
206import { IIconRecord } from '@fluentui/style-utilities';
207import { IIconSubset } from '@fluentui/style-utilities';
208import { IIconSubsetRecord } from '@fluentui/style-utilities';
209import { imageProperties } from '@fluentui/utilities';
210import { imgProperties } from '@fluentui/utilities';
211import { initializeComponentRef } from '@fluentui/utilities';
212import { initializeFocusRects } from '@fluentui/utilities';
213import { initializeIcons } from '@fluentui/font-icons-mdl2';
214import { InjectionMode } from '@fluentui/style-utilities';
215import { inputProperties } from '@fluentui/utilities';
216import { IObjectWithKey } from '@fluentui/utilities';
217import { IPalette } from '@fluentui/style-utilities';
218import { IPartialTheme } from '@fluentui/style-utilities';
219import { IPerfData } from '@fluentui/utilities';
220import { IPerfMeasurement } from '@fluentui/utilities';
221import { IPerfSummary } from '@fluentui/utilities';
222import { IPoint } from '@fluentui/utilities';
223import { IProcessedStyleSet } from '@fluentui/style-utilities';
224import { IPropsWithStyles } from '@fluentui/utilities';
225import { IRawStyle } from '@fluentui/style-utilities';
226import { IRectangle } from '@fluentui/utilities';
227import { IRefObject } from '@fluentui/utilities';
228import { IRenderComponent } from '@fluentui/utilities';
229import { IRenderFunction } from '@fluentui/utilities';
230import { IScheme } from '@fluentui/style-utilities';
231import { ISchemeNames } from '@fluentui/style-utilities';
232import { isControlled } from '@fluentui/utilities';
233import { isDirectionalKeyCode } from '@fluentui/utilities';
234import { ISelection } from '@fluentui/utilities';
235import { ISelectionOptions } from '@fluentui/utilities';
236import { ISelectionOptionsWithRequiredGetKey } from '@fluentui/utilities';
237import { isElementFocusSubZone } from '@fluentui/utilities';
238import { isElementFocusZone } from '@fluentui/utilities';
239import { isElementTabbable } from '@fluentui/utilities';
240import { isElementVisible } from '@fluentui/utilities';
241import { isElementVisibleAndNotHidden } from '@fluentui/utilities';
242import { ISemanticColors } from '@fluentui/style-utilities';
243import { ISemanticTextColors } from '@fluentui/style-utilities';
244import { ISerializableObject } from '@fluentui/utilities';
245import { ISettings } from '@fluentui/utilities';
246import { ISettingsFunction } from '@fluentui/utilities';
247import { ISettingsMap } from '@fluentui/utilities';
248import { IsFocusVisibleClassName } from '@fluentui/utilities';
249import { isIE11 } from '@fluentui/utilities';
250import { isInDateRangeArray } from '@fluentui/date-time-utilities';
251import { isIOS } from '@fluentui/utilities';
252import { ISize } from '@fluentui/utilities';
253import type { ISlotProp } from '@fluentui/foundation-legacy';
254import type { ISlottableProps } from '@fluentui/foundation-legacy';
255import { isMac } from '@fluentui/utilities';
256import { ISpacing } from '@fluentui/style-utilities';
257import { IStyle } from '@fluentui/style-utilities';
258import type { IStyleableComponentProps } from '@fluentui/foundation-legacy';
259import { IStyleFunction } from '@fluentui/utilities';
260import { IStyleFunctionOrObject } from '@fluentui/utilities';
261import { IStyleSet } from '@fluentui/style-utilities';
262import { IStyleSheetConfig } from '@fluentui/style-utilities';
263import { isVirtualElement } from '@fluentui/utilities';
264import { ITheme } from '@fluentui/style-utilities';
265import { IVirtualElement } from '@fluentui/utilities';
266import { IWarnControlledUsageParams } from '@fluentui/utilities';
267import { KeyCodes } from '@fluentui/utilities';
268import { keyframes } from '@fluentui/style-utilities';
269import { labelProperties } from '@fluentui/utilities';
270import { liProperties } from '@fluentui/utilities';
271import { loadTheme } from '@fluentui/style-utilities';
272import { LocalizedFontFamilies } from '@fluentui/theme';
273import { LocalizedFontNames } from '@fluentui/theme';
274import { mapEnumByName } from '@fluentui/utilities';
275import { memoize } from '@fluentui/utilities';
276import { memoizeFunction } from '@fluentui/utilities';
277import { merge } from '@fluentui/utilities';
278import { mergeAriaAttributeValues } from '@fluentui/utilities';
279import { mergeCustomizations } from '@fluentui/utilities';
280import { mergeScopedSettings } from '@fluentui/utilities';
281import { mergeSettings } from '@fluentui/utilities';
282import { mergeStyles } from '@fluentui/style-utilities';
283import { mergeStyleSets } from '@fluentui/style-utilities';
284import { mergeThemes } from '@fluentui/theme';
285import { modalize } from '@fluentui/utilities';
286import { MonthOfYear } from '@fluentui/date-time-utilities';
287import { MotionAnimations } from '@fluentui/theme';
288import { MotionDurations } from '@fluentui/theme';
289import { MotionTimings } from '@fluentui/theme';
290import { NeutralColors } from '@fluentui/theme';
291import { normalize } from '@fluentui/style-utilities';
292import { noWrap } from '@fluentui/style-utilities';
293import { nullRender } from '@fluentui/utilities';
294import { olProperties } from '@fluentui/utilities';
295import { omit } from '@fluentui/utilities';
296import { Omit as Omit_2 } from '@fluentui/utilities';
297import { on } from '@fluentui/utilities';
298import { optionProperties } from '@fluentui/utilities';
299import { PartialTheme } from '@fluentui/theme';
300import { Point } from '@fluentui/utilities';
301import { portalContainsElement } from '@fluentui/utilities';
302import { precisionRound } from '@fluentui/utilities';
303import { PulsingBeaconAnimationStyles } from '@fluentui/style-utilities';
304import { raiseClick } from '@fluentui/utilities';
305import * as React_2 from 'react';
306import type { ReactNode } from 'react';
307import { Rectangle } from '@fluentui/utilities';
308import { RefObject } from '@fluentui/utilities';
309import { registerDefaultFontFaces } from '@fluentui/theme';
310import { registerIconAlias } from '@fluentui/style-utilities';
311import { registerIcons } from '@fluentui/style-utilities';
312import { registerOnThemeChangeCallback } from '@fluentui/style-utilities';
313import { removeIndex } from '@fluentui/utilities';
314import { removeOnThemeChangeCallback } from '@fluentui/style-utilities';
315import { replaceElement } from '@fluentui/utilities';
316import { resetControlledWarnings } from '@fluentui/utilities';
317import { resetIds } from '@fluentui/utilities';
318import { resetMemoizations } from '@fluentui/utilities';
319import { safeRequestAnimationFrame } from '@fluentui/utilities';
320import { safeSetTimeout } from '@fluentui/utilities';
321import { ScreenWidthMaxLarge } from '@fluentui/style-utilities';
322import { ScreenWidthMaxMedium } from '@fluentui/style-utilities';
323import { ScreenWidthMaxSmall } from '@fluentui/style-utilities';
324import { ScreenWidthMaxXLarge } from '@fluentui/style-utilities';
325import { ScreenWidthMaxXXLarge } from '@fluentui/style-utilities';
326import { ScreenWidthMinLarge } from '@fluentui/style-utilities';
327import { ScreenWidthMinMedium } from '@fluentui/style-utilities';
328import { ScreenWidthMinSmall } from '@fluentui/style-utilities';
329import { ScreenWidthMinUhfMobile } from '@fluentui/style-utilities';
330import { ScreenWidthMinXLarge } from '@fluentui/style-utilities';
331import { ScreenWidthMinXXLarge } from '@fluentui/style-utilities';
332import { ScreenWidthMinXXXLarge } from '@fluentui/style-utilities';
333import { Selection as Selection_2 } from '@fluentui/utilities';
334import { SELECTION_CHANGE } from '@fluentui/utilities';
335import { SelectionDirection } from '@fluentui/utilities';
336import { SelectionMode as SelectionMode_2 } from '@fluentui/utilities';
337import { selectProperties } from '@fluentui/utilities';
338import { setBaseUrl } from '@fluentui/utilities';
339import { setFocusVisibility } from '@fluentui/utilities';
340import { setIconOptions } from '@fluentui/style-utilities';
341import { setLanguage } from '@fluentui/utilities';
342import { setMemoizeWeakMap } from '@fluentui/utilities';
343import { setMonth } from '@fluentui/date-time-utilities';
344import { setPortalAttribute } from '@fluentui/utilities';
345import { setRTL } from '@fluentui/utilities';
346import { setSSR } from '@fluentui/utilities';
347import { Settings } from '@fluentui/utilities';
348import { SettingsFunction } from '@fluentui/utilities';
349import { setVirtualParent } from '@fluentui/utilities';
350import { setWarningCallback } from '@fluentui/utilities';
351import { shallowCompare } from '@fluentui/utilities';
352import { SharedColors } from '@fluentui/theme';
353import { shouldWrapFocus } from '@fluentui/utilities';
354import { styled } from '@fluentui/utilities';
355import { StyleFunction } from '@fluentui/utilities';
356import { Stylesheet } from '@fluentui/style-utilities';
357import { tableProperties } from '@fluentui/utilities';
358import { Target } from '@fluentui/react-hooks';
359import { tdProperties } from '@fluentui/utilities';
360import { textAreaProperties } from '@fluentui/utilities';
361import { Theme } from '@fluentui/theme';
362import { ThemeSettingName } from '@fluentui/style-utilities';
363import { thProperties } from '@fluentui/utilities';
364import { TimeConstants } from '@fluentui/date-time-utilities';
365import { toMatrix } from '@fluentui/utilities';
366import { trProperties } from '@fluentui/utilities';
367import { unhoistMethods } from '@fluentui/utilities';
368import { unregisterIcons } from '@fluentui/style-utilities';
369import { useCustomizationSettings } from '@fluentui/utilities';
370import { useDocument } from '@fluentui/react-window-provider';
371import { useFocusRects } from '@fluentui/utilities';
372import { useWindow } from '@fluentui/react-window-provider';
373import { values } from '@fluentui/utilities';
374import { videoProperties } from '@fluentui/utilities';
375import { warn } from '@fluentui/utilities';
376import { warnConditionallyRequiredProps } from '@fluentui/utilities';
377import { warnControlledUsage } from '@fluentui/utilities';
378import { warnDeprecations } from '@fluentui/utilities';
379import { warnMutuallyExclusive } from '@fluentui/utilities';
380import { WindowContext } from '@fluentui/react-window-provider';
381import { WindowProvider } from '@fluentui/react-window-provider';
382import { WindowProviderProps } from '@fluentui/react-window-provider';
383import { ZIndexes } from '@fluentui/style-utilities';
384
385// @public (undocumented)
386export class ActionButton extends React_2.Component<IButtonProps, {}> {
387 // (undocumented)
388 render(): JSX.Element;
389}
390
391// @public (undocumented)
392export class ActivityItem extends React_2.Component<IActivityItemProps, {}> {
393 constructor(props: IActivityItemProps);
394 // (undocumented)
395 render(): JSX.Element;
396}
397
398export { addDays }
399
400export { addDirectionalKeyCode }
401
402export { addElementAtIndex }
403
404export { addMonths }
405
406export { addWeeks }
407
408export { addYears }
409
410// @public
411export type Alignment = 'start' | 'end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'baseline' | 'stretch';
412
413export { allowOverscrollOnElement }
414
415export { allowScrollOnElement }
416
417export { anchorProperties }
418
419export { AnimationClassNames }
420
421// @public (undocumented)
422export enum AnimationDirection {
423 Horizontal = 0,
424 Vertical = 1
425}
426
427export { AnimationStyles }
428
429export { AnimationVariables }
430
431// @public (undocumented)
432export const Announced: React_2.FunctionComponent<IAnnouncedProps>;
433
434// @public (undocumented)
435export class AnnouncedBase extends React_2.Component<IAnnouncedProps> {
436 // (undocumented)
437 static defaultProps: Partial<IAnnouncedProps>;
438 // (undocumented)
439 render(): JSX.Element;
440}
441
442export { appendFunction }
443
444export { arraysEqual }
445
446export { asAsync }
447
448export { assertNever }
449
450export { assign }
451
452export { Async }
453
454export { audioProperties }
455
456// @public (undocumented)
457export class Autofill extends React_2.Component<IAutofillProps, IAutofillState> implements IAutofill {
458 constructor(props: IAutofillProps);
459 // (undocumented)
460 clear(): void;
461 // Warning: (ae-forgotten-export) The symbol "ICursorLocation" needs to be exported by the entry point index.d.ts
462 //
463 // (undocumented)
464 componentDidUpdate(_: any, _1: any, cursor: ICursorLocation | null): void;
465 // (undocumented)
466 componentWillUnmount(): void;
467 // (undocumented)
468 get cursorLocation(): number | null;
469 // (undocumented)
470 static defaultProps: {
471 enableAutofillOnKeyPress: number[];
472 };
473 // (undocumented)
474 focus(): void;
475 // (undocumented)
476 static getDerivedStateFromProps(props: IAutofillProps, state: IAutofillState): IAutofillState | null;
477 // (undocumented)
478 getSnapshotBeforeUpdate(): ICursorLocation | null;
479 // (undocumented)
480 get inputElement(): HTMLInputElement | null;
481 // (undocumented)
482 get isValueSelected(): boolean;
483 // (undocumented)
484 render(): JSX.Element;
485 // (undocumented)
486 get selectionEnd(): number | null;
487 // (undocumented)
488 get selectionStart(): number | null;
489 // (undocumented)
490 get value(): string;
491}
492
493export { AutoScroll }
494
495// @public (undocumented)
496export class BaseButton extends React_2.Component<IBaseButtonProps, IBaseButtonState> implements IButton {
497 constructor(props: IBaseButtonProps);
498 // (undocumented)
499 componentDidMount(): void;
500 // (undocumented)
501 componentDidUpdate(prevProps: IBaseButtonProps, prevState: IBaseButtonState): void;
502 // (undocumented)
503 componentWillUnmount(): void;
504 // (undocumented)
505 static defaultProps: Partial<IBaseButtonProps>;
506 // (undocumented)
507 dismissMenu(): void;
508 // (undocumented)
509 focus(): void;
510 // (undocumented)
511 openMenu(shouldFocusOnContainer?: boolean, shouldFocusOnMount?: boolean): void;
512 // (undocumented)
513 render(): JSX.Element;
514}
515
516export { BaseComponent }
517
518export { baseElementEvents }
519
520export { baseElementProperties }
521
522// @public (undocumented)
523export class BaseExtendedPeoplePicker extends BaseExtendedPicker<IPersonaProps, IExtendedPeoplePickerProps> {
524}
525
526// @public (undocumented)
527export class BaseExtendedPicker<T, P extends IBaseExtendedPickerProps<T>> extends React_2.Component<P, IBaseExtendedPickerState<T>> implements IBaseExtendedPicker<T> {
528 constructor(basePickerProps: P);
529 // (undocumented)
530 protected canAddItems(): boolean;
531 // (undocumented)
532 clearInput(): void;
533 // (undocumented)
534 componentDidMount(): void;
535 // (undocumented)
536 floatingPicker: React_2.RefObject<BaseFloatingPicker<T, IBaseFloatingPickerProps<T>>>;
537 // (undocumented)
538 protected get floatingPickerProps(): IBaseFloatingPickerProps<T>;
539 // (undocumented)
540 focus(): void;
541 // (undocumented)
542 get highlightedItems(): T[];
543 // (undocumented)
544 protected input: React_2.RefObject<Autofill>;
545 // (undocumented)
546 get inputElement(): HTMLInputElement | null;
547 // (undocumented)
548 get items(): any;
549 // (undocumented)
550 protected onBackspace: (ev: React_2.KeyboardEvent<HTMLElement>) => void;
551 // (undocumented)
552 protected onCopy: (ev: React_2.ClipboardEvent<HTMLElement>) => void;
553 // (undocumented)
554 protected onInputChange: (value: string, composing?: boolean | undefined) => void;
555 // (undocumented)
556 protected onInputClick: (ev: React_2.MouseEvent<HTMLInputElement | Autofill>) => void;
557 // (undocumented)
558 protected onInputFocus: (ev: React_2.FocusEvent<HTMLInputElement | Autofill>) => void;
559 // (undocumented)
560 protected onPaste: (ev: React_2.ClipboardEvent<Autofill | HTMLInputElement>) => void;
561 // (undocumented)
562 protected _onSelectedItemsChanged: () => void;
563 // (undocumented)
564 protected onSelectionChange: () => void;
565 // (undocumented)
566 protected _onSuggestionSelected: (item: T) => void;
567 // (undocumented)
568 render(): JSX.Element;
569 // (undocumented)
570 protected renderFloatingPicker(): JSX.Element;
571 // (undocumented)
572 protected renderSelectedItemsList(): JSX.Element;
573 // (undocumented)
574 protected root: React_2.RefObject<HTMLDivElement>;
575 // (undocumented)
576 selectedItemsList: React_2.RefObject<BaseSelectedItemsList<T, IBaseSelectedItemsListProps<T>>>;
577 // (undocumented)
578 protected get selectedItemsListProps(): IBaseSelectedItemsListProps<T>;
579 // (undocumented)
580 protected selection: Selection_2;
581}
582
583// @public (undocumented)
584export class BaseFloatingPeoplePicker extends BaseFloatingPicker<IPersonaProps, IPeopleFloatingPickerProps> {
585}
586
587// @public (undocumented)
588export class BaseFloatingPicker<T, P extends IBaseFloatingPickerProps<T>> extends React_2.Component<P, IBaseFloatingPickerState> implements IBaseFloatingPicker {
589 constructor(basePickerProps: P);
590 // (undocumented)
591 completeSuggestion: () => void;
592 // (undocumented)
593 componentDidMount(): void;
594 // (undocumented)
595 componentDidUpdate(): void;
596 // (undocumented)
597 componentWillUnmount(): void;
598 // (undocumented)
599 protected currentPromise: PromiseLike<T[]>;
600 // (undocumented)
601 get currentSelectedSuggestionIndex(): number;
602 // (undocumented)
603 forceResolveSuggestion(): void;
604 // (undocumented)
605 hidePicker: () => void;
606 // (undocumented)
607 get inputText(): string;
608 // (undocumented)
609 protected isComponentMounted: boolean;
610 // (undocumented)
611 get isSuggestionsShown(): boolean;
612 // (undocumented)
613 protected onChange(item: T): void;
614 // (undocumented)
615 protected onKeyDown: (ev: MouseEvent) => void;
616 // (undocumented)
617 onQueryStringChanged: (queryString: string) => void;
618 // (undocumented)
619 protected onSelectionChange(): void;
620 // (undocumented)
621 protected onSuggestionClick: (ev: React_2.MouseEvent<HTMLElement>, item: T, index: number) => void;
622 // (undocumented)
623 protected onSuggestionRemove: (ev: React_2.MouseEvent<HTMLElement>, item: T, index: number) => void;
624 // (undocumented)
625 render(): JSX.Element;
626 // (undocumented)
627 protected renderSuggestions(): JSX.Element | null;
628 // (undocumented)
629 protected root: React_2.RefObject<HTMLDivElement>;
630 // (undocumented)
631 protected selection: Selection;
632 // (undocumented)
633 showPicker: (updateValue?: boolean) => void;
634 // (undocumented)
635 get suggestions(): any[];
636 // (undocumented)
637 protected suggestionsControl: React_2.RefObject<SuggestionsControl<T>>;
638 // (undocumented)
639 protected SuggestionsControlOfProperType: new (props: ISuggestionsControlProps<T>) => SuggestionsControl<T>;
640 // (undocumented)
641 protected suggestionStore: SuggestionsStore<T>;
642 // (undocumented)
643 updateSuggestions(suggestions: T[], forceUpdate?: boolean): void;
644 // (undocumented)
645 protected updateSuggestionsList(suggestions: T[] | PromiseLike<T[]>): void;
646 // (undocumented)
647 protected updateSuggestionWithZeroState(): void;
648 // (undocumented)
649 protected updateValue(updatedValue: string): void;
650}
651
652// @public (undocumented)
653export class BasePeoplePicker extends BasePicker<IPersonaProps, IPeoplePickerProps> {
654}
655
656// @public (undocumented)
657export class BasePeopleSelectedItemsList extends BaseSelectedItemsList<IExtendedPersonaProps, ISelectedPeopleProps> {
658}
659
660// @public (undocumented)
661export class BasePicker<T, P extends IBasePickerProps<T>> extends React_2.Component<P, IBasePickerState<T>> implements IBasePicker<T> {
662 constructor(basePickerProps: P);
663 // (undocumented)
664 protected addItem: (item: T) => void;
665 // (undocumented)
666 protected addItemByIndex: (index: number) => void;
667 // (undocumented)
668 protected _ariaMap: IPickerAriaIds;
669 // (undocumented)
670 protected canAddItems(): boolean;
671 // (undocumented)
672 protected completeSelection: (item: T) => void;
673 // (undocumented)
674 completeSuggestion(forceComplete?: boolean): void;
675 // (undocumented)
676 componentDidMount(): void;
677 // (undocumented)
678 componentDidUpdate(oldProps: P, oldState: IBasePickerState<T>): void;
679 // (undocumented)
680 componentWillUnmount(): void;
681 // (undocumented)
682 protected currentPromise: PromiseLike<any> | undefined;
683 // (undocumented)
684 dismissSuggestions: (ev?: any) => void;
685 // (undocumented)
686 focus(): void;
687 // (undocumented)
688 focusInput(): void;
689 // (undocumented)
690 protected getActiveDescendant(): string | undefined;
691 // (undocumented)
692 static getDerivedStateFromProps(newProps: IBasePickerProps<any>): {
693 items: any[];
694 } | null;
695 // @deprecated (undocumented)
696 protected getSuggestionsAlert(suggestionAlertClassName?: string): JSX.Element | undefined;
697 // (undocumented)
698 protected input: React_2.RefObject<IAutofill>;
699 // (undocumented)
700 get items(): T[];
701 // (undocumented)
702 protected onBackspace(ev: React_2.KeyboardEvent<HTMLElement>): void;
703 // (undocumented)
704 protected onBlur: (ev: React_2.FocusEvent<HTMLElement | Autofill>) => void;
705 // (undocumented)
706 protected onChange(items?: T[]): void;
707 protected onClick: (ev: React_2.MouseEvent<HTMLInputElement>) => void;
708 protected onEmptyInputFocus(): void;
709 // (undocumented)
710 protected onFocus: () => void;
711 // (undocumented)
712 protected onGetMoreResults: () => void;
713 // (undocumented)
714 protected onInputBlur: (ev: React_2.FocusEvent<HTMLInputElement | Autofill>) => void;
715 // (undocumented)
716 protected onInputChange: (value: string) => void;
717 // (undocumented)
718 protected onInputFocus: (ev: React_2.FocusEvent<HTMLInputElement | Autofill>) => void;
719 // (undocumented)
720 protected onItemChange: (changedItem: T, index: number) => void;
721 // (undocumented)
722 protected onKeyDown: (ev: React_2.KeyboardEvent<HTMLElement>) => void;
723 // (undocumented)
724 protected onSelectionChange(): void;
725 // (undocumented)
726 protected onSuggestionClick: (ev: React_2.MouseEvent<HTMLElement>, item: any, index: number) => void;
727 // (undocumented)
728 protected onSuggestionRemove: (ev: React_2.MouseEvent<HTMLElement>, item: T, index: number) => void;
729 // (undocumented)
730 protected onSuggestionSelect(): void;
731 protected onWrapperClick: (ev: React_2.MouseEvent<HTMLInputElement>) => void;
732 // (undocumented)
733 refocusSuggestions: (keyCode: KeyCodes) => void;
734 // (undocumented)
735 protected removeItem: (item: T) => void;
736 // (undocumented)
737 protected removeItems: (itemsToRemove: any[]) => void;
738 // (undocumented)
739 render(): JSX.Element;
740 // (undocumented)
741 protected renderCustomAlert(alertClassName?: string): JSX.Element;
742 // (undocumented)
743 protected renderItems(): JSX.Element[];
744 // (undocumented)
745 protected renderSuggestions(): JSX.Element | null;
746 // (undocumented)
747 protected resetFocus(index?: number): void;
748 // (undocumented)
749 protected resolveNewValue(updatedValue: string, suggestions: T[]): void;
750 // (undocumented)
751 protected root: React_2.RefObject<HTMLDivElement>;
752 // (undocumented)
753 protected selection: Selection_2;
754 // @deprecated (undocumented)
755 protected _shouldFocusZoneEnterInnerZone: (ev: React_2.KeyboardEvent<HTMLElement>) => boolean;
756 // (undocumented)
757 protected suggestionElement: React_2.RefObject<ISuggestions<T>>;
758 // @deprecated (undocumented)
759 protected SuggestionOfProperType: new (props: ISuggestionsProps<T>) => Suggestions<T>;
760 // (undocumented)
761 protected suggestionStore: SuggestionsController<T>;
762 // (undocumented)
763 protected updateSuggestions(suggestions: any[]): void;
764 // (undocumented)
765 protected updateSuggestionsList(suggestions: T[] | PromiseLike<T[]>, updatedValue?: string): void;
766 // (undocumented)
767 protected updateValue(updatedValue: string): void;
768}
769
770// @public (undocumented)
771export class BasePickerListBelow<T, P extends IBasePickerProps<T>> extends BasePicker<T, P> {
772 // (undocumented)
773 protected onBackspace(ev: React_2.KeyboardEvent<HTMLElement>): void;
774 // (undocumented)
775 render(): JSX.Element;
776}
777
778// @public (undocumented)
779export class BaseSelectedItemsList<T, P extends IBaseSelectedItemsListProps<T>> extends React_2.Component<P, IBaseSelectedItemsListState<T>> implements IBaseSelectedItemsList<T> {
780 constructor(basePickerProps: P);
781 // (undocumented)
782 addItems: (items: T[]) => void;
783 // (undocumented)
784 componentDidMount(): void;
785 // (undocumented)
786 componentDidUpdate(oldProps: P, oldState: IBaseSelectedItemsListState<IObjectWithKey>): void;
787 // (undocumented)
788 protected copyItems(items: T[]): void;
789 // (undocumented)
790 static getDerivedStateFromProps(newProps: IBaseSelectedItemsListProps<any>): {
791 items: any[];
792 } | null;
793 // (undocumented)
794 hasSelectedItems(): boolean;
795 // (undocumented)
796 highlightedItems(): T[];
797 // (undocumented)
798 get items(): T[];
799 // (undocumented)
800 protected onChange(items?: T[]): void;
801 // (undocumented)
802 onCopy: (ev: React_2.ClipboardEvent<HTMLElement>) => void;
803 // (undocumented)
804 protected onItemChange: (changedItem: T, index: number) => void;
805 // (undocumented)
806 protected onSelectionChanged: () => void;
807 // (undocumented)
808 removeItem: (item: T) => void;
809 // (undocumented)
810 removeItemAt: (index: number) => void;
811 // (undocumented)
812 removeItems: (itemsToRemove: any[]) => void;
813 // (undocumented)
814 removeSelectedItems(): void;
815 // (undocumented)
816 render(): any;
817 // (undocumented)
818 protected renderItems: () => JSX.Element[];
819 // (undocumented)
820 replaceItem: (itemToReplace: T, itemsToReplaceWith: T[]) => void;
821 // (undocumented)
822 protected root: HTMLElement;
823 // (undocumented)
824 protected get selection(): Selection_2;
825 // (undocumented)
826 unselectAll(): void;
827 updateItems(items: T[], focusIndex?: number): void;
828}
829
830// @public (undocumented)
831export enum BaseSlots {
832 // (undocumented)
833 backgroundColor = 1,
834 // (undocumented)
835 foregroundColor = 2,
836 // (undocumented)
837 primaryColor = 0
838}
839
840// @public (undocumented)
841export const Breadcrumb: React_2.FunctionComponent<IBreadcrumbProps>;
842
843// @public (undocumented)
844export class BreadcrumbBase extends React_2.Component<IBreadcrumbProps, any> {
845 constructor(props: IBreadcrumbProps);
846 // (undocumented)
847 static defaultProps: IBreadcrumbProps;
848 focus(): void;
849 // (undocumented)
850 render(): JSX.Element;
851}
852
853export { buildClassMap }
854
855// @public (undocumented)
856export function buildColumns(items: any[], canResizeColumns?: boolean, onColumnClick?: (ev: React_2.MouseEvent<HTMLElement>, column: IColumn) => void, sortedColumnKey?: string, isSortedDescending?: boolean, groupedColumnKey?: string, isMultiline?: boolean, columnActionsMode?: ColumnActionsMode): IColumn[];
857
858// @public
859export function buildKeytipConfigMap(config: IKeytipConfig): IKeytipConfigMap;
860
861// @public @deprecated
862export class Button extends React_2.Component<IButtonProps, {}> {
863 constructor(props: IButtonProps);
864 // (undocumented)
865 render(): JSX.Element;
866}
867
868// @public (undocumented)
869export const ButtonGrid: React_2.FunctionComponent<IButtonGridProps>;
870
871// @public (undocumented)
872export const ButtonGridCell: <T, P extends IButtonGridCellProps<T>>(props: IButtonGridCellProps<T>) => JSX.Element;
873
874export { buttonProperties }
875
876// @public (undocumented)
877export enum ButtonType {
878 // (undocumented)
879 command = 4,
880 // (undocumented)
881 compound = 3,
882 // (undocumented)
883 default = 6,
884 // (undocumented)
885 hero = 2,
886 // (undocumented)
887 icon = 5,
888 // (undocumented)
889 normal = 0,
890 // (undocumented)
891 primary = 1
892}
893
894export { calculatePrecision }
895
896// @public (undocumented)
897export const Calendar: React_2.FunctionComponent<ICalendarProps>;
898
899// @public (undocumented)
900export const Callout: React_2.FunctionComponent<ICalloutProps>;
901
902// @public (undocumented)
903export const CalloutContent: React_2.FunctionComponent<ICalloutProps>;
904
905// @public (undocumented)
906export const CalloutContentBase: React_2.FunctionComponent<ICalloutProps>;
907
908// @public
909export function canAnyMenuItemsCheck(items: IContextualMenuItem[]): boolean;
910
911// @public (undocumented)
912export const Check: React_2.FunctionComponent<ICheckProps>;
913
914// @public (undocumented)
915export const CHECK_CELL_WIDTH = 48;
916
917// @public (undocumented)
918export const CheckBase: React_2.FunctionComponent<ICheckProps>;
919
920// @public (undocumented)
921export const Checkbox: React_2.FunctionComponent<ICheckboxProps>;
922
923// @public (undocumented)
924export const CheckboxBase: React_2.FunctionComponent<ICheckboxProps>;
925
926// @public (undocumented)
927export enum CheckboxVisibility {
928 always = 1,
929 hidden = 2,
930 onHover = 0
931}
932
933// @public (undocumented)
934export const ChoiceGroup: React_2.FunctionComponent<IChoiceGroupProps>;
935
936// @public (undocumented)
937export const ChoiceGroupBase: React_2.FunctionComponent<IChoiceGroupProps>;
938
939// @public (undocumented)
940export const ChoiceGroupOption: React_2.FunctionComponent<IChoiceGroupOptionProps>;
941
942// @public
943export function clamp(value: number, max: number, min?: number): number;
944
945export { classNamesFunction }
946
947// @public
948export function cleanupDefaultLayerHost(doc: Document): void;
949
950// @public (undocumented)
951export const Coachmark: React_2.FunctionComponent<ICoachmarkProps>;
952
953// @public (undocumented)
954export const COACHMARK_ATTRIBUTE_NAME = "data-coachmarkid";
955
956// @public (undocumented)
957export const CoachmarkBase: React_2.FunctionComponent<ICoachmarkProps>;
958
959export { colGroupProperties }
960
961// @public (undocumented)
962export enum CollapseAllVisibility {
963 // (undocumented)
964 hidden = 0,
965 // (undocumented)
966 visible = 1
967}
968
969export { ColorClassNames }
970
971// @public (undocumented)
972export const ColorPicker: React_2.FunctionComponent<IColorPickerProps>;
973
974// @public (undocumented)
975export class ColorPickerBase extends React_2.Component<IColorPickerProps, IColorPickerState> implements IColorPicker {
976 constructor(props: IColorPickerProps);
977 // (undocumented)
978 get color(): IColor;
979 // (undocumented)
980 componentDidUpdate(prevProps: Readonly<IColorPickerProps>, prevState: Readonly<IColorPickerState>): void;
981 // (undocumented)
982 static defaultProps: Partial<IColorPickerProps>;
983 // (undocumented)
984 render(): JSX.Element;
985}
986
987// @public (undocumented)
988export const ColorPickerGridCell: React_2.FunctionComponent<IColorPickerGridCellProps>;
989
990// @public (undocumented)
991export const ColorPickerGridCellBase: React_2.FunctionComponent<IColorPickerGridCellProps>;
992
993export { colProperties }
994
995// @public
996export enum ColumnActionsMode {
997 clickable = 1,
998 disabled = 0,
999 hasDropdown = 2
1000}
1001
1002// @public
1003export enum ColumnDragEndLocation {
1004 header = 2,
1005 outside = 0,
1006 surface = 1
1007}
1008
1009// @public (undocumented)
1010export const ComboBox: React_2.FunctionComponent<IComboBoxProps>;
1011
1012// @public (undocumented)
1013export const CommandBar: React_2.FunctionComponent<ICommandBarProps>;
1014
1015// @public (undocumented)
1016export class CommandBarBase extends React_2.Component<ICommandBarProps, {}> implements ICommandBar {
1017 constructor(props: ICommandBarProps);
1018 // (undocumented)
1019 static defaultProps: ICommandBarProps;
1020 // (undocumented)
1021 focus(): void;
1022 // (undocumented)
1023 remeasure(): void;
1024 // (undocumented)
1025 render(): JSX.Element;
1026}
1027
1028// @public (undocumented)
1029export class CommandBarButton extends React_2.Component<IButtonProps, {}> {
1030 // (undocumented)
1031 render(): JSX.Element;
1032}
1033
1034// @public (undocumented)
1035export const CommandButton: typeof ActionButton;
1036
1037export { CommunicationColors }
1038
1039// @public (undocumented)
1040export const CompactPeoplePicker: React_2.FunctionComponent<IPeoplePickerProps>;
1041
1042// @public
1043export class CompactPeoplePickerBase extends BasePeoplePicker {
1044 static defaultProps: {
1045 onRenderItem: (props: IPeoplePickerItemSelectedProps) => JSX.Element;
1046 onRenderSuggestionsItem: (personaProps: IPersonaProps, suggestionsProps?: IBasePickerSuggestionsProps<any> | undefined) => JSX.Element;
1047 createGenericItem: typeof createGenericItem;
1048 };
1049}
1050
1051export { compareDatePart }
1052
1053export { compareDates }
1054
1055export { ComponentsStyles }
1056
1057export { ComponentStyles }
1058
1059export { composeComponentAs }
1060
1061export { composeRenderFunction }
1062
1063// @public (undocumented)
1064export class CompoundButton extends React_2.Component<IButtonProps, {}> {
1065 // (undocumented)
1066 render(): JSX.Element;
1067}
1068
1069export { concatStyleSets }
1070
1071export { concatStyleSetsWithProps }
1072
1073// @public (undocumented)
1074export enum ConstrainMode {
1075 horizontalConstrained = 1,
1076 unconstrained = 0
1077}
1078
1079// @public
1080export function constructKeytip(configMap: IKeytipConfigMap, parentSequence: string[], keytip: IKeytipConfigItem): void;
1081
1082// @public
1083export const ContextualMenu: React_2.FunctionComponent<IContextualMenuProps>;
1084
1085// @public (undocumented)
1086export const ContextualMenuBase: React_2.FunctionComponent<IContextualMenuProps>;
1087
1088// @public
1089export const ContextualMenuItem: React_2.FunctionComponent<IContextualMenuItemProps>;
1090
1091// @public (undocumented)
1092export class ContextualMenuItemBase extends React_2.Component<IContextualMenuItemProps, {}> {
1093 constructor(props: IContextualMenuItemProps);
1094 // (undocumented)
1095 dismissMenu: (dismissAll?: boolean | undefined) => void;
1096 // (undocumented)
1097 dismissSubMenu: () => void;
1098 // (undocumented)
1099 openSubMenu: () => void;
1100 // (undocumented)
1101 render(): JSX.Element;
1102}
1103
1104// @public (undocumented)
1105export enum ContextualMenuItemType {
1106 // (undocumented)
1107 Divider = 1,
1108 // (undocumented)
1109 Header = 2,
1110 // (undocumented)
1111 Normal = 0,
1112 // (undocumented)
1113 Section = 3
1114}
1115
1116// @public
1117export function correctHex(hex: string): string;
1118
1119// @public
1120export function correctHSV(color: IHSV): IHSV;
1121
1122// @public
1123export function correctRGB(color: IRGB): IRGB;
1124
1125export { createArray }
1126
1127// @public
1128export function createDefaultLayerHost(doc: Document): Node | null;
1129
1130export { createFontStyles }
1131
1132// @public (undocumented)
1133export function createGenericItem(name: string, currentValidationState: ValidationState): IGenericItem & {
1134 key: React_2.Key;
1135};
1136
1137// @public (undocumented)
1138export function createItem(name: string, isValid: boolean): ISuggestionModel<IPersonaProps>;
1139
1140export { createMemoizer }
1141
1142export { createMergedRef }
1143
1144export { createTheme }
1145
1146export { css }
1147
1148// @public
1149export function cssColor(color?: string): IRGB | undefined;
1150
1151export { customizable }
1152
1153export { Customizations }
1154
1155export { Customizer }
1156
1157export { CustomizerContext }
1158
1159export { DATA_IS_SCROLLABLE_ATTRIBUTE }
1160
1161export { DATA_PORTAL_ATTRIBUTE }
1162
1163// @public (undocumented)
1164export const DATAKTP_ARIA_TARGET = "data-ktp-aria-target";
1165
1166// @public (undocumented)
1167export const DATAKTP_EXECUTE_TARGET = "data-ktp-execute-target";
1168
1169// @public (undocumented)
1170export const DATAKTP_TARGET = "data-ktp-target";
1171
1172// @public (undocumented)
1173export const DatePicker: React_2.FunctionComponent<IDatePickerProps>;
1174
1175// @public (undocumented)
1176export const DatePickerBase: React_2.FunctionComponent<IDatePickerProps>;
1177
1178export { DateRangeType }
1179
1180export { DayOfWeek }
1181
1182export { DAYS_IN_WEEK }
1183
1184// @public (undocumented)
1185export const DEFAULT_CELL_STYLE_PROPS: ICellStyleProps;
1186
1187// @public (undocumented)
1188export const DEFAULT_MASK_CHAR = "_";
1189
1190// @public (undocumented)
1191export const DEFAULT_ROW_HEIGHTS: {
1192 rowHeight: number;
1193 compactRowHeight: number;
1194};
1195
1196// @public (undocumented)
1197export class DefaultButton extends React_2.Component<IButtonProps, {}> {
1198 // (undocumented)
1199 render(): JSX.Element;
1200}
1201
1202// @public (undocumented)
1203export const defaultCalendarNavigationIcons: ICalendarNavigationIcons;
1204
1205// @public (undocumented)
1206export const defaultCalendarStrings: ICalendarStrings;
1207
1208// @public (undocumented)
1209export const defaultDatePickerStrings: IDatePickerStrings;
1210
1211// @public @deprecated (undocumented)
1212export const defaultDayPickerStrings: ICalendarStrings;
1213
1214export { DefaultEffects }
1215
1216export { DefaultFontStyles }
1217
1218export { DefaultPalette }
1219
1220export { DefaultSpacing }
1221
1222// @public (undocumented)
1223export const defaultWeeklyDayPickerNavigationIcons: IWeeklyDayPickerNavigationIcons;
1224
1225// @public (undocumented)
1226export const defaultWeeklyDayPickerStrings: IWeeklyDayPickerStrings;
1227
1228export { DelayedRender }
1229
1230export { Depths }
1231
1232// @public (undocumented)
1233export const DetailsColumn: React_2.FunctionComponent<IDetailsColumnProps>;
1234
1235// @public
1236export class DetailsColumnBase extends React_2.Component<IDetailsColumnProps> {
1237 constructor(props: IDetailsColumnProps);
1238 // (undocumented)
1239 componentDidMount(): void;
1240 // (undocumented)
1241 componentDidUpdate(): void;
1242 // (undocumented)
1243 componentWillUnmount(): void;
1244 // (undocumented)
1245 render(): JSX.Element;
1246}
1247
1248// @public (undocumented)
1249export const DetailsHeader: React_2.FunctionComponent<IDetailsHeaderBaseProps>;
1250
1251// @public (undocumented)
1252export class DetailsHeaderBase extends React_2.Component<IDetailsHeaderBaseProps, IDetailsHeaderState> implements IDetailsHeader {
1253 constructor(props: IDetailsHeaderBaseProps);
1254 // (undocumented)
1255 componentDidMount(): void;
1256 // (undocumented)
1257 componentDidUpdate(prevProps: IDetailsHeaderBaseProps): void;
1258 // (undocumented)
1259 componentWillUnmount(): void;
1260 // (undocumented)
1261 static defaultProps: {
1262 selectAllVisibility: SelectAllVisibility;
1263 collapseAllVisibility: CollapseAllVisibility;
1264 useFastIcons: boolean;
1265 };
1266 focus(): boolean;
1267 // (undocumented)
1268 render(): JSX.Element;
1269}
1270
1271// @public (undocumented)
1272export const DetailsList: React_2.FunctionComponent<IDetailsListProps>;
1273
1274// @public (undocumented)
1275export class DetailsListBase extends React_2.Component<IDetailsListProps, IDetailsListState> implements IDetailsList {
1276 constructor(props: IDetailsListProps);
1277 // (undocumented)
1278 componentDidUpdate(prevProps: IDetailsListProps, prevState: IDetailsListState): void;
1279 // (undocumented)
1280 componentWillUnmount(): void;
1281 // (undocumented)
1282 static defaultProps: {
1283 layoutMode: DetailsListLayoutMode;
1284 selectionMode: SelectionMode_2;
1285 constrainMode: ConstrainMode;
1286 checkboxVisibility: CheckboxVisibility;
1287 isHeaderVisible: boolean;
1288 compact: boolean;
1289 useFastIcons: boolean;
1290 };
1291 // (undocumented)
1292 focusIndex(index: number, forceIntoFirstElement?: boolean, measureItem?: (itemIndex: number) => number, scrollToMode?: ScrollToMode): void;
1293 // (undocumented)
1294 forceUpdate(): void;
1295 // (undocumented)
1296 static getDerivedStateFromProps(nextProps: IDetailsListProps, previousState: IDetailsListState): IDetailsListState;
1297 // (undocumented)
1298 getStartItemIndexInView(): number;
1299 // (undocumented)
1300 protected _onRenderRow: (props: IDetailsRowProps, defaultRender?: IRenderFunction<IDetailsRowProps> | undefined) => JSX.Element;
1301 // (undocumented)
1302 render(): JSX.Element;
1303 // (undocumented)
1304 scrollToIndex(index: number, measureItem?: (itemIndex: number) => number, scrollToMode?: ScrollToMode): void;
1305 // (undocumented)
1306 updateColumn(column: IColumn, options: {
1307 width?: number;
1308 newColumnIndex?: number;
1309 }): void;
1310}
1311
1312// @public (undocumented)
1313export enum DetailsListLayoutMode {
1314 fixedColumns = 0,
1315 justified = 1
1316}
1317
1318// @public (undocumented)
1319export const DetailsRow: React_2.FunctionComponent<IDetailsRowBaseProps>;
1320
1321// @public (undocumented)
1322export class DetailsRowBase extends React_2.Component<IDetailsRowBaseProps, IDetailsRowState> {
1323 constructor(props: IDetailsRowBaseProps);
1324 // (undocumented)
1325 componentDidMount(): void;
1326 // (undocumented)
1327 componentDidUpdate(previousProps: IDetailsRowBaseProps): void;
1328 // (undocumented)
1329 componentWillUnmount(): void;
1330 // (undocumented)
1331 focus(forceIntoFirstElement?: boolean): boolean;
1332 // (undocumented)
1333 static getDerivedStateFromProps(nextProps: IDetailsRowBaseProps, previousState: IDetailsRowState): IDetailsRowState;
1334 measureCell(index: number, onMeasureDone: (width: number) => void): void;
1335 // (undocumented)
1336 protected _onRenderCheck(props: IDetailsRowCheckProps): JSX.Element;
1337 // (undocumented)
1338 render(): JSX.Element;
1339 // (undocumented)
1340 shouldComponentUpdate(nextProps: IDetailsRowBaseProps, nextState: IDetailsRowState): boolean;
1341}
1342
1343// @public (undocumented)
1344export const DetailsRowCheck: React_2.FunctionComponent<IDetailsRowCheckProps>;
1345
1346// @public
1347export const DetailsRowFields: React_2.FunctionComponent<IDetailsRowFieldsProps>;
1348
1349// @public (undocumented)
1350export const DetailsRowGlobalClassNames: {
1351 root: string;
1352 compact: string;
1353 cell: string;
1354 cellAnimation: string;
1355 cellCheck: string;
1356 check: string;
1357 cellMeasurer: string;
1358 listCellFirstChild: string;
1359 isContentUnselectable: string;
1360 isSelected: string;
1361 isCheckVisible: string;
1362 isRowHeader: string;
1363 fields: string;
1364};
1365
1366// @public (undocumented)
1367export const Dialog: React_2.FunctionComponent<IDialogProps>;
1368
1369// @public (undocumented)
1370export class DialogBase extends React_2.Component<IDialogProps, {}> {
1371 constructor(props: IDialogProps);
1372 // (undocumented)
1373 static defaultProps: IDialogProps;
1374 // (undocumented)
1375 render(): JSX.Element;
1376}
1377
1378// @public (undocumented)
1379export const DialogContent: React_2.FunctionComponent<IDialogContentProps>;
1380
1381// @public (undocumented)
1382export class DialogContentBase extends React_2.Component<IDialogContentProps, {}> {
1383 constructor(props: IDialogContentProps);
1384 // (undocumented)
1385 static defaultProps: IDialogContentProps;
1386 // (undocumented)
1387 render(): JSX.Element;
1388}
1389
1390// @public (undocumented)
1391export const DialogFooter: React_2.FunctionComponent<IDialogFooterProps>;
1392
1393// @public (undocumented)
1394export class DialogFooterBase extends React_2.Component<IDialogFooterProps, {}> {
1395 constructor(props: IDialogFooterProps);
1396 // (undocumented)
1397 render(): JSX.Element;
1398}
1399
1400// @public (undocumented)
1401export enum DialogType {
1402 close = 2,
1403 largeHeader = 1,
1404 normal = 0
1405}
1406
1407// @public (undocumented)
1408export const DirectionalHint: {
1409 topLeftEdge: 0;
1410 topCenter: 1;
1411 topRightEdge: 2;
1412 topAutoEdge: 3;
1413 bottomLeftEdge: 4;
1414 bottomCenter: 5;
1415 bottomRightEdge: 6;
1416 bottomAutoEdge: 7;
1417 leftTopEdge: 8;
1418 leftCenter: 9;
1419 leftBottomEdge: 10;
1420 rightTopEdge: 11;
1421 rightCenter: 12;
1422 rightBottomEdge: 13;
1423};
1424
1425// @public (undocumented)
1426export type DirectionalHint = typeof DirectionalHint[keyof typeof DirectionalHint];
1427
1428export { disableBodyScroll }
1429
1430export { divProperties }
1431
1432// @public (undocumented)
1433export const DocumentCard: React_2.FunctionComponent<IDocumentCardProps>;
1434
1435// @public (undocumented)
1436export const DocumentCardActions: React_2.FunctionComponent<IDocumentCardActionsProps>;
1437
1438// @public (undocumented)
1439export const DocumentCardActivity: React_2.FunctionComponent<IDocumentCardActivityProps>;
1440
1441// @public (undocumented)
1442export const DocumentCardDetails: React_2.FunctionComponent<IDocumentCardDetailsProps>;
1443
1444// @public (undocumented)
1445export const DocumentCardImage: React_2.FunctionComponent<IDocumentCardImageProps>;
1446
1447// @public (undocumented)
1448export const DocumentCardLocation: React_2.FunctionComponent<IDocumentCardLocationProps>;
1449
1450// @public (undocumented)
1451export const DocumentCardLogo: React_2.FunctionComponent<IDocumentCardLogoProps>;
1452
1453// @public (undocumented)
1454export const DocumentCardPreview: React_2.FunctionComponent<IDocumentCardPreviewProps>;
1455
1456// @public (undocumented)
1457export const DocumentCardStatus: React_2.FunctionComponent<IDocumentCardStatusProps>;
1458
1459// @public (undocumented)
1460export const DocumentCardTitle: React_2.FunctionComponent<IDocumentCardTitleProps>;
1461
1462// @public (undocumented)
1463export enum DocumentCardType {
1464 compact = 1,
1465 normal = 0
1466}
1467
1468export { doesElementContainFocus }
1469
1470// @public (undocumented)
1471export class DragDropHelper implements IDragDropHelper {
1472 constructor(params: IDragDropHelperParams);
1473 // (undocumented)
1474 dispose(): void;
1475 // (undocumented)
1476 subscribe(root: HTMLElement, events: EventGroup, dragDropOptions: IDragDropOptions): {
1477 key: string;
1478 dispose(): void;
1479 };
1480 // (undocumented)
1481 unsubscribe(root: HTMLElement, key: string): void;
1482}
1483
1484// @public (undocumented)
1485export const Dropdown: React_2.FunctionComponent<IDropdownProps>;
1486
1487// @public (undocumented)
1488export const DropdownBase: React_2.FunctionComponent<IDropdownProps>;
1489
1490export { EdgeChromiumHighContrastSelector }
1491
1492export { elementContains }
1493
1494export { elementContainsAttribute }
1495
1496// @public (undocumented)
1497export enum ElementType {
1498 anchor = 1,
1499 button = 0
1500}
1501
1502export { enableBodyScroll }
1503
1504export { EventGroup }
1505
1506// @public (undocumented)
1507export const ExpandingCard: React_2.FunctionComponent<IExpandingCardProps>;
1508
1509// @public (undocumented)
1510export class ExpandingCardBase extends React_2.Component<IExpandingCardProps, IExpandingCardState> {
1511 constructor(props: IExpandingCardProps);
1512 // (undocumented)
1513 componentDidMount(): void;
1514 // (undocumented)
1515 componentWillUnmount(): void;
1516 // (undocumented)
1517 static defaultProps: {
1518 compactCardHeight: number;
1519 expandedCardHeight: number;
1520 directionalHintFixed: boolean;
1521 };
1522 // (undocumented)
1523 render(): JSX.Element;
1524}
1525
1526// @public (undocumented)
1527export enum ExpandingCardMode {
1528 compact = 0,
1529 expanded = 1
1530}
1531
1532export { extendComponent }
1533
1534// @public (undocumented)
1535export class ExtendedPeoplePicker extends BaseExtendedPeoplePicker {
1536}
1537
1538// @public (undocumented)
1539export class ExtendedSelectedItem extends React_2.Component<ISelectedPeopleItemProps, IPeoplePickerItemState> {
1540 constructor(props: ISelectedPeopleItemProps);
1541 // (undocumented)
1542 protected persona: React_2.RefObject<HTMLDivElement>;
1543 // (undocumented)
1544 render(): JSX.Element;
1545}
1546
1547// @public @deprecated (undocumented)
1548export const Fabric: React_2.FunctionComponent<IFabricProps>;
1549
1550// @public (undocumented)
1551export const FabricBase: React_2.FunctionComponent<IFabricProps>;
1552
1553export { FabricPerformance }
1554
1555// @public (undocumented)
1556export enum FabricSlots {
1557 // (undocumented)
1558 black = 21,
1559 // (undocumented)
1560 neutralDark = 20,
1561 // (undocumented)
1562 neutralLight = 11,
1563 // (undocumented)
1564 neutralLighter = 10,
1565 // (undocumented)
1566 neutralLighterAlt = 9,
1567 // (undocumented)
1568 neutralPrimary = 19,
1569 // (undocumented)
1570 neutralPrimaryAlt = 18,
1571 // (undocumented)
1572 neutralQuaternary = 13,
1573 // (undocumented)
1574 neutralQuaternaryAlt = 12,
1575 // (undocumented)
1576 neutralSecondary = 17,
1577 // (undocumented)
1578 neutralSecondaryAlt = 16,
1579 // (undocumented)
1580 neutralTertiary = 15,
1581 // (undocumented)
1582 neutralTertiaryAlt = 14,
1583 // (undocumented)
1584 themeDark = 7,
1585 // (undocumented)
1586 themeDarkAlt = 6,
1587 // (undocumented)
1588 themeDarker = 8,
1589 // (undocumented)
1590 themeLight = 3,
1591 // (undocumented)
1592 themeLighter = 2,
1593 // (undocumented)
1594 themeLighterAlt = 1,
1595 // (undocumented)
1596 themePrimary = 0,
1597 // (undocumented)
1598 themeSecondary = 5,
1599 // (undocumented)
1600 themeTertiary = 4,
1601 // (undocumented)
1602 white = 22
1603}
1604
1605// @public
1606export const Facepile: React_2.FunctionComponent<IFacepileProps>;
1607
1608// @public
1609export class FacepileBase extends React_2.Component<IFacepileProps, {}> {
1610 constructor(props: IFacepileProps);
1611 // (undocumented)
1612 static defaultProps: IFacepileProps;
1613 // (undocumented)
1614 protected onRenderAriaDescription(): "" | JSX.Element | undefined;
1615 // (undocumented)
1616 render(): JSX.Element;
1617}
1618
1619export { filteredAssign }
1620
1621export { find }
1622
1623export { findElementRecursive }
1624
1625export { findIndex }
1626
1627export { findScrollableParent }
1628
1629export { FirstWeekOfYear }
1630
1631export { fitContentToBounds }
1632
1633export { FitMode }
1634
1635export { flatten }
1636
1637// @public (undocumented)
1638export class FloatingPeoplePicker extends BaseFloatingPeoplePicker {
1639 // (undocumented)
1640 static defaultProps: any;
1641}
1642
1643export { FluentTheme }
1644
1645export { focusAsync }
1646
1647export { focusClear }
1648
1649export { focusFirstChild }
1650
1651export { FocusRects }
1652
1653// @public
1654export const FocusTrapCallout: React_2.FunctionComponent<IFocusTrapCalloutProps>;
1655
1656// @public (undocumented)
1657export const FocusTrapZone: React_2.FunctionComponent<IFocusTrapZoneProps> & {
1658 focusStack: string[];
1659};
1660
1661export { FocusZone }
1662
1663export { FocusZoneDirection }
1664
1665export { FocusZoneTabbableElements }
1666
1667export { FontClassNames }
1668
1669export { fontFace }
1670
1671// @public
1672export const FontIcon: React_2.FunctionComponent<IFontIconProps>;
1673
1674export { FontSizes }
1675
1676export { FontWeights }
1677
1678export { format }
1679
1680export { formProperties }
1681
1682// @public (undocumented)
1683export function getAllSelectedOptions(options: ISelectableOption[], selectedIndices: number[]): ISelectableOption[];
1684
1685// @public
1686export function getAriaDescribedBy(keySequences: string[]): string;
1687
1688// @public (undocumented)
1689export function getBackgroundShade(color: IColor, shade: Shade, isInverted?: boolean): IColor | null;
1690
1691// @public (undocumented)
1692export function getBoundsFromTargetWindow(target: Element | MouseEvent | Point | Rectangle | null, targetWindow: IWindowWithSegments): IRectangle;
1693
1694// @public (undocumented)
1695export const getCellStyles: (props: {
1696 theme: ITheme;
1697 cellStyleProps?: ICellStyleProps | undefined;
1698}) => IStyle;
1699
1700export { getChildren }
1701
1702// @public
1703export function getColorFromHSV(hsv: IHSV, a?: number): IColor;
1704
1705// @public
1706export function getColorFromRGBA(rgba: IRGB): IColor;
1707
1708// @public
1709export function getColorFromString(inputColor: string): IColor | undefined;
1710
1711// @public (undocumented)
1712export function getContrastRatio(color1: IColor, color2: IColor): number;
1713
1714export { getDatePartHashValue }
1715
1716export { getDateRangeArray }
1717
1718// @public (undocumented)
1719export const getDetailsColumnStyles: (props: IDetailsColumnStyleProps) => IDetailsColumnStyles;
1720
1721// @public (undocumented)
1722export const getDetailsHeaderStyles: (props: IDetailsHeaderStyleProps) => IDetailsHeaderStyles;
1723
1724// @public (undocumented)
1725export const getDetailsListStyles: (props: IDetailsListStyleProps) => IDetailsListStyles;
1726
1727// @public (undocumented)
1728export const getDetailsRowCheckStyles: (props: IDetailsRowCheckStyleProps) => IDetailsRowCheckStyles;
1729
1730// @public (undocumented)
1731export const getDetailsRowStyles: (props: IDetailsRowStyleProps) => IDetailsRowStyles;
1732
1733export { getDistanceBetweenPoints }
1734
1735export { getDocument }
1736
1737export { getEdgeChromiumNoHighContrastAdjustSelector }
1738
1739export { getElementIndexPath }
1740
1741export { getEndDateOfWeek }
1742
1743export { getFadedOverflowStyle }
1744
1745export { getFirstFocusable }
1746
1747export { getFirstTabbable }
1748
1749export { getFirstVisibleElementFromSelector }
1750
1751export { getFocusableByIndexPath }
1752
1753export { getFocusOutlineStyle }
1754
1755export { getFocusStyle }
1756
1757// @public
1758export const getFontIcon: (iconName: string, className?: string | undefined, ariaLabel?: string | undefined) => React_2.ReactElement<any, any> | null;
1759
1760// @public
1761export function getFullColorString(color: IColor): string;
1762
1763export { getGlobalClassNames }
1764
1765export { getHighContrastNoAdjustStyle }
1766
1767export { getIcon }
1768
1769export { getIconClassName }
1770
1771// @public (undocumented)
1772export const getIconContent: (iconName?: string | undefined) => IIconContent | null;
1773
1774export { getId }
1775
1776// @public (undocumented)
1777export function getInitialResponsiveMode(): ResponsiveMode;
1778
1779export { getInitials }
1780
1781export { getInputFocusStyle }
1782
1783export { getLanguage }
1784
1785export { getLastFocusable }
1786
1787export { getLastTabbable }
1788
1789// @public
1790export function getMaxHeight(target: Element | MouseEvent | Point | Rectangle, targetEdge: DirectionalHint, gapSpace?: number, bounds?: IRectangle, coverTarget?: boolean): number;
1791
1792// @public
1793export const getMeasurementCache: () => {
1794 getCachedMeasurement: (data: any) => number | undefined;
1795 addMeasurementToCache: (data: any, measurement: number) => void;
1796};
1797
1798// @public (undocumented)
1799export const getMenuItemStyles: (theme: ITheme) => IMenuItemStyles;
1800
1801export { getMonthEnd }
1802
1803export { getMonthStart }
1804
1805export { getNativeElementProps }
1806
1807export { getNativeProps }
1808
1809export { getNextElement }
1810
1811// @public
1812export const getNextResizeGroupStateProvider: (measurementCache?: {
1813 getCachedMeasurement: (data: any) => number | undefined;
1814 addMeasurementToCache: (data: any, measurement: number) => void;
1815}) => {
1816 getNextState: (props: IResizeGroupProps, currentState: IResizeGroupState, getElementToMeasureDimension: () => number, newContainerDimension?: number | undefined) => IResizeGroupState | undefined;
1817 shouldRenderDataForMeasurement: (dataToMeasure: any | undefined) => boolean;
1818 getInitialResizeGroupState: (data: any) => IResizeGroupState;
1819};
1820
1821// @public
1822export function getOppositeEdge(edge: RectangleEdge): RectangleEdge;
1823
1824export { getParent }
1825
1826// @public
1827export function getPersonaInitialsColor(props: Pick<IPersonaProps, 'primaryText' | 'text' | 'initialsColor'>): string;
1828
1829export { getPlaceholderStyles }
1830
1831export { getPreviousElement }
1832
1833export { getPropsWithDefaults }
1834
1835export { getRect }
1836
1837export { getResourceUrl }
1838
1839// @public
1840export function getResponsiveMode(currentWindow: Window | undefined): ResponsiveMode;
1841
1842export { getRTL }
1843
1844export { getRTLSafeKeyCode }
1845
1846export { getScreenSelector }
1847
1848export { getScrollbarWidth }
1849
1850// @public
1851export function getShade(color: IColor, shade: Shade, isInverted?: boolean): IColor | null;
1852
1853// @public (undocumented)
1854export const getShimmeredDetailsListStyles: (props: IShimmeredDetailsListStyleProps) => IShimmeredDetailsListStyles;
1855
1856// @public (undocumented)
1857export const getSplitButtonClassNames: (styles: IButtonStyles, disabled: boolean, expanded: boolean, checked: boolean, primaryDisabled?: boolean | undefined) => ISplitButtonClassNames;
1858
1859export { getStartDateOfWeek }
1860
1861// @public (undocumented)
1862export function getSubmenuItems(item: IContextualMenuItem, options?: {
1863 target?: Target;
1864}): IContextualMenuItem[] | undefined;
1865
1866export { getTheme }
1867
1868export { getThemedContext }
1869
1870export { getVirtualParent }
1871
1872export { getWeekNumber }
1873
1874export { getWeekNumbersInMonth }
1875
1876export { getWindow }
1877
1878export { getYearEnd }
1879
1880export { getYearStart }
1881
1882export { GlobalClassNames }
1883
1884export { GlobalSettings }
1885
1886// @public (undocumented)
1887export const GroupedList: React_2.FunctionComponent<IGroupedListProps>;
1888
1889// @public (undocumented)
1890export class GroupedListBase extends React_2.Component<IGroupedListProps, IGroupedListState> implements IGroupedList {
1891 constructor(props: IGroupedListProps);
1892 // (undocumented)
1893 componentDidMount(): void;
1894 // (undocumented)
1895 static defaultProps: {
1896 selectionMode: SelectionMode_2;
1897 isHeaderVisible: boolean;
1898 groupProps: {};
1899 compact: boolean;
1900 };
1901 // (undocumented)
1902 forceUpdate(): void;
1903 // (undocumented)
1904 static getDerivedStateFromProps(nextProps: IGroupedListProps, previousState: IGroupedListState): IGroupedListState;
1905 // (undocumented)
1906 getStartItemIndexInView(): number;
1907 // (undocumented)
1908 render(): JSX.Element;
1909 // (undocumented)
1910 scrollToIndex(index: number, measureItem?: (itemIndex: number) => number, scrollToMode?: ScrollToMode): void;
1911 // (undocumented)
1912 toggleCollapseAll(allCollapsed: boolean): void;
1913}
1914
1915// @public (undocumented)
1916export class GroupedListSection extends React_2.Component<IGroupedListSectionProps, IGroupedListSectionState> {
1917 constructor(props: IGroupedListSectionProps);
1918 // (undocumented)
1919 componentDidMount(): void;
1920 // (undocumented)
1921 componentDidUpdate(previousProps: IGroupedListSectionProps): void;
1922 // (undocumented)
1923 componentWillUnmount(): void;
1924 // (undocumented)
1925 forceListUpdate(): void;
1926 // (undocumented)
1927 forceUpdate(): void;
1928 // (undocumented)
1929 render(): JSX.Element;
1930}
1931
1932// @public (undocumented)
1933export const GroupFooter: React_2.FunctionComponent<IGroupFooterProps>;
1934
1935// @public (undocumented)
1936export const GroupHeader: React_2.FunctionComponent<IGroupHeaderProps>;
1937
1938// @public (undocumented)
1939export const GroupShowAll: React_2.FunctionComponent<IGroupShowAllProps>;
1940
1941// @public (undocumented)
1942export const GroupSpacer: React_2.FunctionComponent<IGroupSpacerProps>;
1943
1944export { hasHorizontalOverflow }
1945
1946export { hasOverflow }
1947
1948export { hasVerticalOverflow }
1949
1950// @public (undocumented)
1951export const HEADER_HEIGHT = 42;
1952
1953// @public
1954export const HEX_REGEX: RegExp;
1955
1956export { hiddenContentStyle }
1957
1958export { HighContrastSelector }
1959
1960export { HighContrastSelectorBlack }
1961
1962export { HighContrastSelectorWhite }
1963
1964export { hoistMethods }
1965
1966export { hoistStatics }
1967
1968// @public (undocumented)
1969export const HoverCard: React_2.FunctionComponent<IHoverCardProps>;
1970
1971// @public (undocumented)
1972export class HoverCardBase extends React_2.Component<IHoverCardProps, IHoverCardState> implements IHoverCard {
1973 constructor(props: IHoverCardProps);
1974 // (undocumented)
1975 componentDidMount(): void;
1976 // (undocumented)
1977 componentDidUpdate(prevProps: IHoverCardProps, prevState: IHoverCardState): void;
1978 // (undocumented)
1979 componentWillUnmount(): void;
1980 // (undocumented)
1981 static defaultProps: {
1982 cardOpenDelay: number;
1983 cardDismissDelay: number;
1984 expandedCardOpenDelay: number;
1985 instantOpenOnClick: boolean;
1986 setInitialFocus: boolean;
1987 openHotKey: number;
1988 type: HoverCardType;
1989 };
1990 // (undocumented)
1991 dismiss: (withTimeOut?: boolean | undefined) => void;
1992 // (undocumented)
1993 render(): JSX.Element;
1994}
1995
1996// @public (undocumented)
1997export enum HoverCardType {
1998 expanding = "ExpandingCard",
1999 plain = "PlainCard"
2000}
2001
2002// @public
2003export function hsl2hsv(h: number, s: number, l: number): IHSV;
2004
2005// @public
2006export function hsl2rgb(h: number, s: number, l: number): IRGB;
2007
2008// @public
2009export function hsv2hex(h: number, s: number, v: number): string;
2010
2011// @public
2012export function hsv2hsl(h: number, s: number, v: number): IHSL;
2013
2014// @public
2015export function hsv2rgb(h: number, s: number, v: number): IRGB;
2016
2017export { htmlElementProperties }
2018
2019// @public (undocumented)
2020export interface IAccessiblePopupProps {
2021 closeButtonAriaLabel?: string;
2022 elementToFocusOnDismiss?: HTMLElement;
2023 firstFocusableSelector?: string | (() => string);
2024 forceFocusInsideTrap?: boolean;
2025 ignoreExternalFocusing?: boolean;
2026 isClickableOutsideFocusTrap?: boolean;
2027}
2028
2029// @public (undocumented)
2030export interface IActivityItemProps extends React_2.AllHTMLAttributes<HTMLElement> {
2031 activityDescription?: React_2.ReactNode[] | React_2.ReactNode;
2032 // @deprecated
2033 activityDescriptionText?: string;
2034 activityIcon?: React_2.ReactNode;
2035 activityPersonas?: IPersonaSharedProps[];
2036 animateBeaconSignal?: boolean;
2037 beaconColorOne?: string;
2038 beaconColorTwo?: string;
2039 comments?: React_2.ReactNode[] | React_2.ReactNode;
2040 // @deprecated
2041 commentText?: string;
2042 isCompact?: boolean;
2043 onRenderActivityDescription?: IRenderFunction<IActivityItemProps>;
2044 onRenderComments?: IRenderFunction<IActivityItemProps>;
2045 onRenderIcon?: IRenderFunction<IActivityItemProps>;
2046 onRenderTimeStamp?: IRenderFunction<IActivityItemProps>;
2047 styles?: IActivityItemStyles;
2048 timeStamp?: string | React_2.ReactNode[] | React_2.ReactNode;
2049}
2050
2051// @public (undocumented)
2052export interface IActivityItemStyles {
2053 activityContent?: IStyle;
2054 activityPersona?: IStyle;
2055 activityText?: IStyle;
2056 activityTypeIcon?: IStyle;
2057 commentText?: IStyle;
2058 doublePersona?: IStyle;
2059 isCompactContent?: IStyle;
2060 isCompactIcon?: IStyle;
2061 isCompactPersona?: IStyle;
2062 isCompactPersonaContainer?: IStyle;
2063 isCompactRoot?: IStyle;
2064 isCompactTimeStamp?: IStyle;
2065 personaContainer?: IStyle;
2066 pulsingBeacon?: IStyle;
2067 root?: IStyle;
2068 timeStamp?: IStyle;
2069}
2070
2071export { IAnimationStyles }
2072
2073export { IAnimationVariables }
2074
2075// @public (undocumented)
2076export interface IAnnouncedProps extends React_2.Props<AnnouncedBase>, React_2.HTMLAttributes<HTMLDivElement> {
2077 'aria-live'?: 'off' | 'polite' | 'assertive';
2078 as?: React_2.ElementType;
2079 message?: string;
2080 styles?: IStyleFunctionOrObject<{}, IAnnouncedStyles>;
2081}
2082
2083// @public (undocumented)
2084export type IAnnouncedStyleProps = Pick<IAnnouncedProps, 'className'>;
2085
2086// @public (undocumented)
2087export interface IAnnouncedStyles {
2088 root: IStyle;
2089 screenReaderText: IStyle;
2090}
2091
2092export { IAsAsyncOptions }
2093
2094// @public (undocumented)
2095export interface IAutofill {
2096 clear(): void;
2097 cursorLocation: number | null;
2098 focus(): void;
2099 inputElement: HTMLInputElement | null;
2100 isValueSelected: boolean;
2101 selectionEnd: number | null;
2102 selectionStart: number | null;
2103 value: string;
2104}
2105
2106// @public (undocumented)
2107export interface IAutofillProps extends React_2.InputHTMLAttributes<HTMLInputElement | Autofill> {
2108 componentRef?: IRefObject<IAutofill>;
2109 defaultVisibleValue?: string;
2110 enableAutofillOnKeyPress?: KeyCodes[];
2111 // @deprecated
2112 onInputChange?: (value: string, composing: boolean) => string | void;
2113 onInputValueChange?: (newValue?: string, composing?: boolean) => void;
2114 preventValueSelection?: boolean;
2115 shouldSelectFullInputValueInComponentDidUpdate?: () => boolean;
2116 suggestedDisplayValue?: string;
2117 // @deprecated
2118 updateValueInWillReceiveProps?: () => string | null;
2119}
2120
2121// @public (undocumented)
2122export interface IAutofillState {
2123 // (undocumented)
2124 inputValue: string;
2125 // (undocumented)
2126 isComposing: boolean;
2127}
2128
2129// @public (undocumented)
2130export interface IBaseButtonProps extends IButtonProps {
2131 // (undocumented)
2132 baseClassName?: string;
2133 // (undocumented)
2134 variantClassName?: string;
2135}
2136
2137// @public (undocumented)
2138export interface IBaseButtonState {
2139 // (undocumented)
2140 menuHidden: boolean;
2141}
2142
2143// @public (undocumented)
2144export interface IBaseExtendedPicker<T> {
2145 focus: () => void;
2146 forceResolve?: () => void;
2147 items: T[] | undefined;
2148}
2149
2150// @public (undocumented)
2151export interface IBaseExtendedPickerProps<T> {
2152 className?: string;
2153 componentRef?: IRefObject<IBaseExtendedPicker<T>>;
2154 currentRenderedQueryString?: string;
2155 defaultSelectedItems?: T[];
2156 disabled?: boolean;
2157 floatingPickerProps: IBaseFloatingPickerProps<T>;
2158 focusZoneProps?: IFocusZoneProps;
2159 headerComponent?: JSX.Element;
2160 inputProps?: IInputProps;
2161 itemLimit?: number;
2162 onBlur?: React_2.FocusEventHandler<HTMLInputElement | Autofill>;
2163 onChange?: (items?: T[]) => void;
2164 onFocus?: React_2.FocusEventHandler<HTMLInputElement | Autofill>;
2165 onItemAdded?: (addedItem: T) => void;
2166 onItemSelected?: (selectedItem?: T) => T | PromiseLike<T>;
2167 onItemsRemoved?: (removedItems: T[]) => void;
2168 onPaste?: (pastedText: string) => T[];
2169 onRenderFloatingPicker: React_2.ComponentType<IBaseFloatingPickerProps<T>>;
2170 onRenderSelectedItems: React_2.ComponentType<IBaseSelectedItemsListProps<T>>;
2171 selectedItems?: T[];
2172 selectedItemsListProps: IBaseSelectedItemsListProps<T>;
2173 suggestionItems?: T[];
2174}
2175
2176// @public (undocumented)
2177export interface IBaseExtendedPickerState<T> {
2178 // (undocumented)
2179 queryString: string | null;
2180}
2181
2182// @public (undocumented)
2183export interface IBaseFloatingPicker {
2184 hidePicker: () => void;
2185 inputText: string;
2186 isSuggestionsShown: boolean;
2187 onQueryStringChanged: (input: string) => void;
2188 showPicker: (updateValue?: boolean) => void;
2189 suggestions: any[];
2190}
2191
2192// @public (undocumented)
2193export interface IBaseFloatingPickerProps<T> extends React_2.ClassAttributes<any> {
2194 calloutWidth?: number;
2195 className?: string;
2196 // (undocumented)
2197 componentRef?: IRefObject<IBaseFloatingPicker>;
2198 createGenericItem?: (input: string, isValid: boolean) => ISuggestionModel<T>;
2199 getTextFromItem?: (item: T, currentValue?: string) => string;
2200 inputElement?: HTMLInputElement | null;
2201 onChange?: (item: T) => void;
2202 onInputChanged?: (filter: string) => void;
2203 onRemoveSuggestion?: (item: T) => void;
2204 onRenderSuggestionsItem?: (props: T, itemProps: ISuggestionItemProps<T>) => JSX.Element;
2205 onResolveSuggestions: (filter: string, selectedItems?: T[]) => T[] | PromiseLike<T[]> | null;
2206 onSuggestionsHidden?: () => void;
2207 onSuggestionsShown?: () => void;
2208 onValidateInput?: (input: string) => boolean;
2209 onZeroQuerySuggestion?: (selectedItems?: T[]) => T[] | PromiseLike<T[]> | null;
2210 pickerCalloutProps?: ICalloutProps;
2211 pickerSuggestionsProps?: IBaseFloatingPickerSuggestionProps;
2212 resolveDelay?: number;
2213 searchingText?: ((props: {
2214 input: string;
2215 }) => string) | string;
2216 selectedItems?: T[];
2217 showForceResolve?: () => boolean;
2218 suggestionItems?: T[];
2219 suggestionsStore: SuggestionsStore<T>;
2220}
2221
2222// @public (undocumented)
2223export interface IBaseFloatingPickerState {
2224 // (undocumented)
2225 didBind: boolean;
2226 // (undocumented)
2227 queryString: string;
2228 // (undocumented)
2229 suggestionsVisible?: boolean;
2230}
2231
2232// @public
2233export type IBaseFloatingPickerSuggestionProps = Pick<ISuggestionsControlProps<any>, 'shouldSelectFirstItem' | 'headerItemsProps' | 'footerItemsProps' | 'showRemoveButtons'>;
2234
2235// @public
2236export interface IBasePicker<T> {
2237 completeSuggestion: (forceComplete?: boolean) => void;
2238 focus: () => void;
2239 focusInput: () => void;
2240 items: T[] | undefined;
2241}
2242
2243// @public
2244export interface IBasePickerProps<T> extends React_2.Props<any> {
2245 ['aria-label']?: string;
2246 className?: string;
2247 componentRef?: IRefObject<IBasePicker<T>>;
2248 createGenericItem?: (input: string, ValidationState: ValidationState) => ISuggestionModel<T> | T;
2249 defaultSelectedItems?: T[];
2250 disabled?: boolean;
2251 enableSelectedSuggestionAlert?: boolean;
2252 getTextFromItem?: (item: T, currentValue?: string) => string;
2253 inputProps?: IInputProps;
2254 itemLimit?: number;
2255 onBlur?: React_2.FocusEventHandler<HTMLInputElement | Autofill>;
2256 onChange?: (items?: T[]) => void;
2257 onDismiss?: (ev?: any, selectedItem?: T) => boolean | void;
2258 // @deprecated
2259 onEmptyInputFocus?: (selectedItems?: T[]) => T[] | PromiseLike<T[]>;
2260 onEmptyResolveSuggestions?: (selectedItems?: T[]) => T[] | PromiseLike<T[]>;
2261 // @deprecated
2262 onFocus?: React_2.FocusEventHandler<HTMLInputElement | Autofill>;
2263 onGetMoreResults?: (filter: string, selectedItems?: T[]) => T[] | PromiseLike<T[]>;
2264 onInputChange?: (input: string) => string;
2265 onItemSelected?: (selectedItem?: T) => T | PromiseLike<T> | null;
2266 onRemoveSuggestion?: (item: T) => void;
2267 onRenderItem?: (props: IPickerItemProps<T>) => JSX.Element;
2268 onRenderSuggestionsItem?: (props: T, itemProps: ISuggestionItemProps<T>) => JSX.Element;
2269 onResolveSuggestions: (filter: string, selectedItems?: T[]) => T[] | PromiseLike<T[]>;
2270 onValidateInput?: (input: string) => ValidationState;
2271 pickerCalloutProps?: ICalloutProps;
2272 pickerSuggestionsProps?: IBasePickerSuggestionsProps;
2273 removeButtonAriaLabel?: string;
2274 removeButtonIconProps?: IIconProps;
2275 resolveDelay?: number;
2276 searchingText?: ((props: {
2277 input: string;
2278 }) => string) | string;
2279 selectedItems?: T[];
2280 selectionAriaLabel?: string;
2281 selectionRole?: string;
2282 styles?: IStyleFunctionOrObject<IBasePickerStyleProps, IBasePickerStyles>;
2283 suggestionRemovedText?: string;
2284 theme?: ITheme;
2285}
2286
2287// @public (undocumented)
2288export interface IBasePickerState<T> {
2289 // (undocumented)
2290 isFocused?: boolean;
2291 // (undocumented)
2292 isMostRecentlyUsedVisible?: boolean;
2293 // (undocumented)
2294 isResultsFooterVisible?: boolean;
2295 // (undocumented)
2296 isSearching?: boolean;
2297 // (undocumented)
2298 items?: any;
2299 // (undocumented)
2300 moreSuggestionsAvailable?: boolean;
2301 // (undocumented)
2302 selectedIndices?: number[];
2303 // (undocumented)
2304 selectionRemoved?: T;
2305 // (undocumented)
2306 suggestedDisplayValue?: string;
2307 // (undocumented)
2308 suggestionsLoading?: boolean;
2309 // (undocumented)
2310 suggestionsVisible?: boolean;
2311}
2312
2313// @public
2314export type IBasePickerStyleProps = Pick<IBasePickerProps<any>, 'theme' | 'className' | 'disabled'> & {
2315 isFocused?: boolean;
2316 inputClassName?: string;
2317};
2318
2319// @public
2320export interface IBasePickerStyles {
2321 input: IStyle;
2322 itemsWrapper: IStyle;
2323 root: IStyle;
2324 screenReaderText: IStyle;
2325 text: IStyle;
2326}
2327
2328// @public
2329export interface IBasePickerSuggestionsProps<T = any> extends Pick<ISuggestionsProps<T>, 'onRenderNoResultFound' | 'suggestionsHeaderText' | 'mostRecentlyUsedHeaderText' | 'noResultsFoundText' | 'className' | 'suggestionsClassName' | 'suggestionsItemClassName' | 'searchForMoreIcon' | 'searchForMoreText' | 'forceResolveText' | 'loadingText' | 'searchingText' | 'resultsFooterFull' | 'resultsFooter' | 'resultsMaximumNumber' | 'showRemoveButtons' | 'suggestionsAvailableAlertText' | 'suggestionsContainerAriaLabel' | 'showForceResolve' | 'removeButtonIconProps'> {
2330}
2331
2332export { IBaseProps }
2333
2334// @public (undocumented)
2335export interface IBaseSelectedItemsList<T> {
2336 // (undocumented)
2337 addItems: (items: T[]) => void;
2338 items: T[] | undefined;
2339}
2340
2341// @public (undocumented)
2342export interface IBaseSelectedItemsListProps<T> extends React_2.ClassAttributes<any> {
2343 canRemoveItem?: (item: T) => boolean;
2344 // (undocumented)
2345 componentRef?: IRefObject<IBaseSelectedItemsList<T>>;
2346 createGenericItem?: (input: string, ValidationState: ValidationState) => ISuggestionModel<T>;
2347 defaultSelectedItems?: T[];
2348 onChange?: (items?: T[]) => void;
2349 onCopyItems?: (items: T[]) => string;
2350 // @deprecated
2351 onItemDeleted?: (deletedItem: T) => void;
2352 onItemsDeleted?: (deletedItems: T[]) => void;
2353 onItemSelected?: (selectedItem?: T | T[]) => T | PromiseLike<T> | T[] | PromiseLike<T[]>;
2354 onRenderItem?: (props: ISelectedItemProps<T>) => JSX.Element;
2355 removeButtonAriaLabel?: string;
2356 selectedItems?: T[];
2357 selection?: Selection_2;
2358}
2359
2360// @public (undocumented)
2361export interface IBaseSelectedItemsListState<T> {
2362 // (undocumented)
2363 items: T[];
2364}
2365
2366// @public (undocumented)
2367export interface IBreadcrumb {
2368 focus(): void;
2369}
2370
2371// @public @deprecated (undocumented)
2372export type IBreadCrumbData = IBreadcrumbData;
2373
2374// @public (undocumented)
2375export interface IBreadcrumbData {
2376 // (undocumented)
2377 props: IBreadcrumbProps;
2378 // (undocumented)
2379 renderedItems: IBreadcrumbItem[];
2380 // (undocumented)
2381 renderedOverflowItems: IBreadcrumbItem[];
2382}
2383
2384// @public (undocumented)
2385export interface IBreadcrumbItem extends React_2.AllHTMLAttributes<HTMLElement> {
2386 as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'a';
2387 href?: string;
2388 isCurrentItem?: boolean;
2389 key: string;
2390 onClick?: (ev?: React_2.MouseEvent<HTMLElement>, item?: IBreadcrumbItem) => void;
2391 onRender?: IRenderFunction<IBreadcrumbItem>;
2392 onRenderContent?: IRenderFunction<IBreadcrumbItem>;
2393 role?: string;
2394 text: string;
2395}
2396
2397// @public (undocumented)
2398export interface IBreadcrumbProps extends React_2.HTMLAttributes<HTMLElement> {
2399 ariaLabel?: string;
2400 className?: string;
2401 componentRef?: IRefObject<IBreadcrumb>;
2402 dividerAs?: IComponentAs<IDividerAsProps>;
2403 focusZoneProps?: IFocusZoneProps;
2404 items: IBreadcrumbItem[];
2405 maxDisplayedItems?: number;
2406 onGrowData?: (data: IBreadcrumbData) => IBreadcrumbData | undefined;
2407 onReduceData?: (data: IBreadcrumbData) => IBreadcrumbData | undefined;
2408 onRenderItem?: IRenderFunction<IBreadcrumbItem>;
2409 onRenderItemContent?: IRenderFunction<IBreadcrumbItem>;
2410 onRenderOverflowIcon?: IRenderFunction<IButtonProps>;
2411 overflowAriaLabel?: string;
2412 overflowButtonAs?: IComponentAs<IButtonProps>;
2413 overflowIndex?: number;
2414 // (undocumented)
2415 styles?: IStyleFunctionOrObject<IBreadcrumbStyleProps, IBreadcrumbStyles>;
2416 // (undocumented)
2417 theme?: ITheme;
2418 tooltipHostProps?: ITooltipHostProps;
2419}
2420
2421// @public (undocumented)
2422export interface IBreadcrumbStyleProps {
2423 // (undocumented)
2424 className?: string;
2425 // (undocumented)
2426 theme: ITheme;
2427}
2428
2429// @public (undocumented)
2430export interface IBreadcrumbStyles {
2431 // (undocumented)
2432 chevron: IStyle;
2433 // (undocumented)
2434 item: IStyle;
2435 // (undocumented)
2436 itemLink: IStyle;
2437 // (undocumented)
2438 list: IStyle;
2439 // (undocumented)
2440 listItem: IStyle;
2441 // (undocumented)
2442 overflow: IStyle;
2443 // (undocumented)
2444 overflowButton: IStyle;
2445 // (undocumented)
2446 root: IStyle;
2447}
2448
2449// @public (undocumented)
2450export interface IButton {
2451 dismissMenu: () => void;
2452 focus: () => void;
2453 openMenu: (shouldFocusOnContainer?: boolean, shouldFocusOnMount?: boolean) => void;
2454}
2455
2456// @public (undocumented)
2457export interface IButtonClassNames {
2458 // (undocumented)
2459 description?: string;
2460 // (undocumented)
2461 flexContainer?: string;
2462 // (undocumented)
2463 icon?: string;
2464 // (undocumented)
2465 label?: string;
2466 // (undocumented)
2467 menuIcon?: string;
2468 // (undocumented)
2469 root?: string;
2470 // (undocumented)
2471 screenReaderText?: string;
2472 // (undocumented)
2473 textContainer?: string;
2474}
2475
2476// @public (undocumented)
2477export interface IButtonGrid {
2478}
2479
2480// @public (undocumented)
2481export interface IButtonGridCellProps<T> {
2482 cellDisabledStyle?: string[];
2483 cellIsSelectedStyle?: string[];
2484 className?: string;
2485 disabled?: boolean;
2486 getClassNames?: (theme: ITheme, className: string, variantClassName: string, iconClassName: string | undefined, menuIconClassName: string | undefined, disabled: boolean, checked: boolean, expanded: boolean, isSplit: boolean | undefined) => IButtonClassNames;
2487 id: string;
2488 index?: number;
2489 item: T;
2490 label?: string;
2491 // (undocumented)
2492 onClick?: (item: T, event?: React_2.MouseEvent<HTMLButtonElement>) => void;
2493 // (undocumented)
2494 onFocus?: (item: T, event?: React_2.FocusEvent<HTMLButtonElement>) => void;
2495 // (undocumented)
2496 onHover?: (item?: T, event?: React_2.MouseEvent<HTMLButtonElement>) => void;
2497 // (undocumented)
2498 onKeyDown?: (ev: React_2.KeyboardEvent<HTMLButtonElement>) => void;
2499 // (undocumented)
2500 onMouseEnter?: (ev: React_2.MouseEvent<HTMLButtonElement>) => boolean;
2501 // (undocumented)
2502 onMouseLeave?: (ev: React_2.MouseEvent<HTMLButtonElement>) => void;
2503 // (undocumented)
2504 onMouseMove?: (ev: React_2.MouseEvent<HTMLButtonElement>) => boolean;
2505 onRenderItem: (item: T) => JSX.Element;
2506 // (undocumented)
2507 onWheel?: (ev: React_2.MouseEvent<HTMLButtonElement>) => void;
2508 role?: string;
2509 selected?: boolean;
2510}
2511
2512// @public (undocumented)
2513export interface IButtonGridProps extends React_2.TableHTMLAttributes<HTMLTableElement>, React_2.RefAttributes<HTMLElement> {
2514 ariaPosInSet?: number;
2515 ariaSetSize?: number;
2516 columnCount: number;
2517 componentRef?: IRefObject<IButtonGrid>;
2518 // @deprecated
2519 containerClassName?: string;
2520 doNotContainWithinFocusZone?: boolean;
2521 isSemanticRadio?: boolean;
2522 items: any[];
2523 onBlur?: () => void;
2524 onRenderItem: (item: any, index: number) => JSX.Element;
2525 // @deprecated (undocumented)
2526 positionInSet?: number;
2527 // @deprecated (undocumented)
2528 setSize?: number;
2529 shouldFocusCircularNavigate?: boolean;
2530 styles?: IStyleFunctionOrObject<IButtonGridStyleProps, IButtonGridStyles>;
2531 theme?: ITheme;
2532}
2533
2534// @public
2535export interface IButtonGridStyleProps {
2536 theme: ITheme;
2537}
2538
2539// @public
2540export interface IButtonGridStyles {
2541 focusedContainer?: IStyle;
2542 root: IStyle;
2543 tableCell: IStyle;
2544}
2545
2546// @public (undocumented)
2547export interface IButtonProps extends React_2.AllHTMLAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement> {
2548 allowDisabledFocus?: boolean;
2549 ariaDescription?: string;
2550 ariaHidden?: boolean;
2551 ariaLabel?: string;
2552 // @deprecated (undocumented)
2553 buttonType?: ButtonType;
2554 checked?: boolean;
2555 className?: string;
2556 componentRef?: IRefObject<IButton>;
2557 data?: any;
2558 defaultRender?: any;
2559 // @deprecated
2560 description?: IStyle;
2561 disabled?: boolean;
2562 // @deprecated
2563 elementRef?: React_2.Ref<HTMLElement>;
2564 getClassNames?: (theme: ITheme, className: string, variantClassName: string, iconClassName: string | undefined, menuIconClassName: string | undefined, disabled: boolean, checked: boolean, expanded: boolean, hasMenu: boolean, isSplit: boolean | undefined, allowDisabledFocus: boolean) => IButtonClassNames;
2565 getSplitButtonClassNames?: (disabled: boolean, expanded: boolean, checked: boolean, allowDisabledFocus: boolean) => ISplitButtonClassNames;
2566 href?: string;
2567 iconProps?: IIconProps;
2568 keytipProps?: IKeytipProps;
2569 menuAs?: IComponentAs<IContextualMenuProps>;
2570 menuIconProps?: IIconProps;
2571 menuProps?: IContextualMenuProps;
2572 menuTriggerKeyCode?: KeyCodes | null;
2573 onAfterMenuDismiss?: () => void;
2574 onMenuClick?: (ev?: React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement>, button?: IButtonProps) => void;
2575 onRenderAriaDescription?: IRenderFunction<IButtonProps>;
2576 onRenderChildren?: IRenderFunction<IButtonProps>;
2577 onRenderDescription?: IRenderFunction<IButtonProps>;
2578 onRenderIcon?: IRenderFunction<IButtonProps>;
2579 // @deprecated (undocumented)
2580 onRenderMenu?: IRenderFunction<IContextualMenuProps>;
2581 onRenderMenuIcon?: IRenderFunction<IButtonProps>;
2582 onRenderText?: IRenderFunction<IButtonProps>;
2583 persistMenu?: boolean;
2584 primary?: boolean;
2585 primaryActionButtonProps?: IButtonProps;
2586 primaryDisabled?: boolean;
2587 // @deprecated
2588 renderPersistedMenuHiddenOnMount?: boolean;
2589 // @deprecated (undocumented)
2590 rootProps?: React_2.ButtonHTMLAttributes<HTMLButtonElement> | React_2.AnchorHTMLAttributes<HTMLAnchorElement>;
2591 secondaryText?: string;
2592 split?: boolean;
2593 splitButtonAriaLabel?: string;
2594 splitButtonMenuProps?: IButtonProps;
2595 styles?: IButtonStyles;
2596 text?: string;
2597 theme?: ITheme;
2598 toggle?: boolean;
2599 // @deprecated (undocumented)
2600 toggled?: boolean;
2601 uniqueId?: string | number;
2602}
2603
2604// @public (undocumented)
2605export interface IButtonStyles {
2606 description?: IStyle;
2607 descriptionChecked?: IStyle;
2608 descriptionDisabled?: IStyle;
2609 descriptionHovered?: IStyle;
2610 descriptionPressed?: IStyle;
2611 flexContainer?: IStyle;
2612 icon?: IStyle;
2613 iconChecked?: IStyle;
2614 iconDisabled?: IStyle;
2615 iconExpanded?: IStyle;
2616 iconExpandedHovered?: IStyle;
2617 iconHovered?: IStyle;
2618 iconPressed?: IStyle;
2619 label?: IStyle;
2620 labelChecked?: IStyle;
2621 labelDisabled?: IStyle;
2622 labelHovered?: IStyle;
2623 menuIcon?: IStyle;
2624 menuIconChecked?: IStyle;
2625 menuIconDisabled?: IStyle;
2626 menuIconExpanded?: IStyle;
2627 menuIconExpandedHovered?: IStyle;
2628 menuIconHovered?: IStyle;
2629 menuIconPressed?: IStyle;
2630 root?: IStyle;
2631 rootChecked?: IStyle;
2632 rootCheckedDisabled?: IStyle;
2633 rootCheckedHovered?: IStyle;
2634 rootCheckedPressed?: IStyle;
2635 rootDisabled?: IStyle;
2636 rootExpanded?: IStyle;
2637 rootExpandedHovered?: IStyle;
2638 rootFocused?: IStyle;
2639 rootHasMenu?: IStyle;
2640 rootHovered?: IStyle;
2641 rootPressed?: IStyle;
2642 screenReaderText?: IStyle;
2643 secondaryText?: IStyle;
2644 splitButtonContainer?: IStyle;
2645 splitButtonContainerChecked?: IStyle;
2646 splitButtonContainerCheckedHovered?: IStyle;
2647 splitButtonContainerDisabled?: IStyle;
2648 splitButtonContainerFocused?: IStyle;
2649 splitButtonContainerHovered?: IStyle;
2650 splitButtonDivider?: IStyle;
2651 splitButtonDividerDisabled?: IStyle;
2652 splitButtonFlexContainer?: IStyle;
2653 splitButtonMenuButton?: IStyle;
2654 splitButtonMenuButtonChecked?: IStyle;
2655 splitButtonMenuButtonDisabled?: IStyle;
2656 splitButtonMenuButtonExpanded?: IStyle;
2657 splitButtonMenuFocused?: IStyle;
2658 splitButtonMenuIcon?: IStyle;
2659 splitButtonMenuIconDisabled?: IStyle;
2660 textContainer?: IStyle;
2661}
2662
2663// @public (undocumented)
2664export interface ICalendar {
2665 focus: () => void;
2666}
2667
2668// @public (undocumented)
2669export interface ICalendarDay {
2670 // (undocumented)
2671 focus(): void;
2672}
2673
2674// @public (undocumented)
2675export interface ICalendarDayGrid {
2676 // (undocumented)
2677 focus(): void;
2678}
2679
2680// @public (undocumented)
2681export interface ICalendarDayGridProps extends IDayGridOptions, IBaseProps<ICalendarDayGrid> {
2682 allFocusable?: boolean;
2683 animationDirection?: AnimationDirection;
2684 className?: string;
2685 componentRef?: IRefObject<ICalendarDayGrid>;
2686 customDayCellRef?: (element: HTMLElement, date: Date, classNames: IProcessedStyleSet<ICalendarDayGridStyles>) => void;
2687 dateRangeType: DateRangeType;
2688 dateTimeFormatter: IDateFormatting;
2689 daysToSelectInDayView?: number;
2690 firstDayOfWeek: DayOfWeek;
2691 firstWeekOfYear: FirstWeekOfYear;
2692 getMarkedDays?: (startingDate: Date, endingDate: Date) => Date[];
2693 labelledBy?: string;
2694 lightenDaysOutsideNavigatedMonth?: boolean;
2695 maxDate?: Date;
2696 minDate?: Date;
2697 navigatedDate: Date;
2698 onDismiss?: () => void;
2699 onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
2700 onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
2701 restrictedDates?: Date[];
2702 selectedDate: Date;
2703 showCloseButton?: boolean;
2704 showWeekNumbers?: boolean;
2705 strings: ICalendarStrings;
2706 styles?: IStyleFunctionOrObject<ICalendarDayGridStyleProps, ICalendarDayGridStyles>;
2707 theme?: ITheme;
2708 today?: Date;
2709 weeksToShow?: number;
2710 workWeekDays?: DayOfWeek[];
2711}
2712
2713// @public (undocumented)
2714export interface ICalendarDayGridStyleProps {
2715 animateBackwards?: boolean;
2716 animationDirection?: AnimationDirection;
2717 className?: string;
2718 dateRangeType?: DateRangeType;
2719 lightenDaysOutsideNavigatedMonth?: boolean;
2720 showWeekNumbers?: boolean;
2721 theme: ITheme;
2722}
2723
2724// @public (undocumented)
2725export interface ICalendarDayGridStyles {
2726 // (undocumented)
2727 bottomLeftCornerDate?: IStyle;
2728 // (undocumented)
2729 bottomRightCornerDate?: IStyle;
2730 datesAbove?: IStyle;
2731 // (undocumented)
2732 datesBelow?: IStyle;
2733 // (undocumented)
2734 datesLeft?: IStyle;
2735 // (undocumented)
2736 datesRight?: IStyle;
2737 dayButton?: IStyle;
2738 dayCell?: IStyle;
2739 dayIsToday?: IStyle;
2740 dayMarker?: IStyle;
2741 dayOutsideBounds?: IStyle;
2742 dayOutsideNavigatedMonth?: IStyle;
2743 daySelected?: IStyle;
2744 firstTransitionWeek?: IStyle;
2745 lastTransitionWeek?: IStyle;
2746 table?: IStyle;
2747 // (undocumented)
2748 topLeftCornerDate?: IStyle;
2749 topRightCornerDate?: IStyle;
2750 weekDayLabelCell?: IStyle;
2751 weekNumberCell?: IStyle;
2752 weekRow?: IStyle;
2753 wrapper?: IStyle;
2754}
2755
2756// @public (undocumented)
2757export interface ICalendarDayProps extends IBaseProps<ICalendarDay>, ICalendarDayGridProps {
2758 allFocusable?: boolean;
2759 className?: string;
2760 componentRef?: IRefObject<ICalendarDay>;
2761 dateTimeFormatter: IDateFormatting;
2762 maxDate?: Date;
2763 minDate?: Date;
2764 navigatedDate: Date;
2765 navigationIcons: ICalendarNavigationIcons;
2766 onDismiss?: () => void;
2767 onHeaderSelect?: () => void;
2768 onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
2769 restrictedDates?: Date[];
2770 showCloseButton?: boolean;
2771 showSixWeeksByDefault?: boolean;
2772 showWeekNumbers?: boolean;
2773 strings: ICalendarStrings;
2774 styles?: IStyleFunctionOrObject<ICalendarDayStyleProps, ICalendarDayStyles>;
2775 theme?: ITheme;
2776}
2777
2778// @public (undocumented)
2779export interface ICalendarDayStyleProps extends ICalendarDayGridStyleProps {
2780 className?: string;
2781 headerIsClickable?: boolean;
2782 showWeekNumbers?: boolean;
2783 theme: ITheme;
2784}
2785
2786// @public (undocumented)
2787export interface ICalendarDayStyles extends Partial<ICalendarDayGridStyles> {
2788 disabledStyle: IStyle;
2789 header: IStyle;
2790 headerIconButton: IStyle;
2791 monthAndYear: IStyle;
2792 monthComponents: IStyle;
2793 root: IStyle;
2794}
2795
2796// @public @deprecated (undocumented)
2797export type ICalendarFormatDateCallbacks = IDateFormatting;
2798
2799// @public @deprecated (undocumented)
2800export type ICalendarIconStrings = ICalendarNavigationIcons;
2801
2802// @public (undocumented)
2803export interface ICalendarMonth {
2804 // (undocumented)
2805 focus(): void;
2806}
2807
2808// @public (undocumented)
2809export interface ICalendarMonthProps extends IBaseProps<ICalendarMonth> {
2810 allFocusable?: boolean;
2811 animationDirection?: AnimationDirection;
2812 className?: string;
2813 componentRef?: IRefObject<ICalendarMonth>;
2814 dateTimeFormatter?: IDateFormatting;
2815 highlightCurrentMonth?: boolean;
2816 highlightSelectedMonth?: boolean;
2817 maxDate?: Date;
2818 minDate?: Date;
2819 navigatedDate: Date;
2820 navigationIcons?: ICalendarNavigationIcons;
2821 onHeaderSelect?: () => void;
2822 onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
2823 onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
2824 selectedDate: Date;
2825 strings: ICalendarStrings;
2826 styles?: IStyleFunctionOrObject<ICalendarMonthStyleProps, ICalendarMonthStyles>;
2827 theme?: ITheme;
2828 today?: Date;
2829 yearPickerHidden?: boolean;
2830}
2831
2832// @public (undocumented)
2833export interface ICalendarMonthStyleProps extends ICalendarPickerStyleProps {
2834}
2835
2836// @public (undocumented)
2837export interface ICalendarMonthStyles extends ICalendarPickerStyles {
2838}
2839
2840// @public (undocumented)
2841export interface ICalendarNavigationIcons {
2842 closeIcon?: string;
2843 leftNavigation?: string;
2844 rightNavigation?: string;
2845}
2846
2847// @public (undocumented)
2848export interface ICalendarPickerStyleProps {
2849 animateBackwards?: boolean;
2850 animationDirection?: AnimationDirection;
2851 className?: string;
2852 hasHeaderClickCallback?: boolean;
2853 highlightCurrent?: boolean;
2854 highlightSelected?: boolean;
2855 theme: ITheme;
2856}
2857
2858// @public (undocumented)
2859export interface ICalendarPickerStyles {
2860 // (undocumented)
2861 buttonRow: IStyle;
2862 // (undocumented)
2863 current: IStyle;
2864 // (undocumented)
2865 currentItemButton: IStyle;
2866 // (undocumented)
2867 disabled: IStyle;
2868 // (undocumented)
2869 gridContainer: IStyle;
2870 // (undocumented)
2871 headerContainer: IStyle;
2872 // (undocumented)
2873 itemButton: IStyle;
2874 // (undocumented)
2875 navigationButton: IStyle;
2876 // (undocumented)
2877 navigationButtonsContainer: IStyle;
2878 root: IStyle;
2879 // (undocumented)
2880 selected: IStyle;
2881}
2882
2883// @public (undocumented)
2884export interface ICalendarProps extends IBaseProps<ICalendar>, React_2.RefAttributes<HTMLDivElement> {
2885 allFocusable?: boolean;
2886 calendarDayProps?: Partial<ICalendarDayProps>;
2887 calendarMonthProps?: Partial<ICalendarMonthProps>;
2888 className?: string;
2889 componentRef?: IRefObject<ICalendar>;
2890 dateRangeType?: DateRangeType;
2891 dateTimeFormatter?: IDateFormatting;
2892 firstDayOfWeek?: DayOfWeek;
2893 firstWeekOfYear?: FirstWeekOfYear;
2894 highlightCurrentMonth?: boolean;
2895 highlightSelectedMonth?: boolean;
2896 isDayPickerVisible?: boolean;
2897 isMonthPickerVisible?: boolean;
2898 maxDate?: Date;
2899 minDate?: Date;
2900 navigationIcons?: ICalendarNavigationIcons;
2901 onDismiss?: () => void;
2902 onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
2903 restrictedDates?: Date[];
2904 showCloseButton?: boolean;
2905 showGoToToday?: boolean;
2906 showMonthPickerAsOverlay?: boolean;
2907 showSixWeeksByDefault?: boolean;
2908 showWeekNumbers?: boolean;
2909 strings?: ICalendarStrings;
2910 styles?: IStyleFunctionOrObject<ICalendarStyleProps, ICalendarStyles>;
2911 theme?: ITheme;
2912 today?: Date;
2913 value?: Date;
2914 workWeekDays?: DayOfWeek[];
2915}
2916
2917export { ICalendarStrings }
2918
2919// @public (undocumented)
2920export interface ICalendarStyleProps {
2921 className?: string;
2922 isDayPickerVisible?: boolean;
2923 isMonthPickerVisible?: boolean;
2924 monthPickerOnly?: boolean;
2925 overlaidWithButton?: boolean;
2926 // @deprecated (undocumented)
2927 overlayedWithButton?: boolean;
2928 showGoToToday?: boolean;
2929 showMonthPickerAsOverlay?: boolean;
2930 showWeekNumbers?: boolean;
2931 theme: ITheme;
2932}
2933
2934// @public (undocumented)
2935export interface ICalendarStyles {
2936 // (undocumented)
2937 divider: IStyle;
2938 // (undocumented)
2939 goTodayButton: IStyle;
2940 // (undocumented)
2941 liveRegion: IStyle;
2942 // (undocumented)
2943 monthPickerWrapper: IStyle;
2944 root: IStyle;
2945}
2946
2947// @public (undocumented)
2948export interface ICalendarYear {
2949 // (undocumented)
2950 focus(): void;
2951}
2952
2953// @public (undocumented)
2954export interface ICalendarYearHeaderProps extends ICalendarYearProps, ICalendarYearRange {
2955 animateBackwards?: boolean;
2956 onSelectNext?: () => void;
2957 onSelectPrev?: () => void;
2958}
2959
2960// @public (undocumented)
2961export interface ICalendarYearProps extends IBaseProps<ICalendarYear> {
2962 animationDirection?: AnimationDirection;
2963 className?: string;
2964 componentRef?: IRefObject<ICalendarYear>;
2965 highlightCurrentYear?: boolean;
2966 highlightSelectedYear?: boolean;
2967 maxYear?: number;
2968 minYear?: number;
2969 navigatedYear?: number;
2970 navigationIcons?: ICalendarNavigationIcons;
2971 onHeaderSelect?: (focus: boolean) => void;
2972 onRenderTitle?: (props: ICalendarYearHeaderProps) => React_2.ReactNode;
2973 onRenderYear?: (year: number) => React_2.ReactNode;
2974 onSelectYear?: (year: number) => void;
2975 selectedYear?: number;
2976 strings?: ICalendarYearStrings;
2977 styles?: IStyleFunctionOrObject<ICalendarYearStyleProps, ICalendarYearStyles>;
2978 theme?: ITheme;
2979}
2980
2981// @public (undocumented)
2982export interface ICalendarYearRange {
2983 // (undocumented)
2984 fromYear: number;
2985 // (undocumented)
2986 toYear: number;
2987}
2988
2989// @public (undocumented)
2990export interface ICalendarYearRangeToString {
2991 // (undocumented)
2992 (range: ICalendarYearRange): string;
2993}
2994
2995// @public (undocumented)
2996export interface ICalendarYearStrings {
2997 // (undocumented)
2998 headerAriaLabelFormatString?: string;
2999 // (undocumented)
3000 nextRangeAriaLabel?: string | ICalendarYearRangeToString;
3001 // (undocumented)
3002 prevRangeAriaLabel?: string | ICalendarYearRangeToString;
3003 // (undocumented)
3004 rangeAriaLabel?: string | ICalendarYearRangeToString;
3005}
3006
3007// @public (undocumented)
3008export interface ICalendarYearStyleProps extends ICalendarPickerStyleProps {
3009}
3010
3011// @public (undocumented)
3012export interface ICalendarYearStyles extends ICalendarPickerStyles {
3013}
3014
3015// @public (undocumented)
3016export interface ICalloutBeakPositionedInfo extends IPositionedData {
3017 // (undocumented)
3018 closestEdge: RectangleEdge;
3019 // (undocumented)
3020 hideBeak?: boolean;
3021}
3022
3023// @public (undocumented)
3024export interface ICalloutContentStyleProps {
3025 backgroundColor?: string;
3026 beakWidth?: number;
3027 calloutMaxWidth?: number;
3028 calloutMinWidth?: number;
3029 calloutWidth?: number;
3030 className?: string;
3031 doNotLayer?: boolean;
3032 overflowYHidden?: boolean;
3033 positions?: ICalloutPositionedInfo;
3034 theme: ITheme;
3035}
3036
3037// @public (undocumented)
3038export interface ICalloutContentStyles {
3039 beak: IStyle;
3040 beakCurtain: IStyle;
3041 calloutMain: IStyle;
3042 container: IStyle;
3043 root: IStyle;
3044}
3045
3046// @public (undocumented)
3047export interface ICalloutPositionedInfo extends IPositionedData {
3048 // (undocumented)
3049 beakPosition: ICalloutBeakPositionedInfo;
3050}
3051
3052// @public (undocumented)
3053export interface ICalloutPositionProps extends IPositionProps {
3054 beakWidth?: number;
3055 isBeakVisible?: boolean;
3056}
3057
3058// @public (undocumented)
3059export interface ICalloutProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
3060 alignTargetEdge?: boolean;
3061 ariaDescribedBy?: string;
3062 ariaLabel?: string;
3063 ariaLabelledBy?: string;
3064 backgroundColor?: string;
3065 beakWidth?: number;
3066 bounds?: IRectangle | ((target?: Target, targetWindow?: Window) => IRectangle | undefined);
3067 calloutMaxHeight?: number;
3068 calloutMaxWidth?: number;
3069 calloutMinWidth?: number;
3070 calloutWidth?: number;
3071 className?: string;
3072 coverTarget?: boolean;
3073 directionalHint?: DirectionalHint;
3074 directionalHintFixed?: boolean;
3075 directionalHintForRTL?: DirectionalHint;
3076 dismissOnTargetClick?: boolean;
3077 doNotLayer?: boolean;
3078 finalHeight?: number;
3079 gapSpace?: number;
3080 hidden?: boolean;
3081 hideOverflow?: boolean;
3082 isBeakVisible?: boolean;
3083 layerProps?: ILayerProps;
3084 minPagePadding?: number;
3085 onDismiss?: (ev?: Event | React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement>) => void;
3086 onLayerMounted?: () => void;
3087 onPositioned?: (positions?: ICalloutPositionedInfo) => void;
3088 onRestoreFocus?: (params: IPopupRestoreFocusParams) => void;
3089 onScroll?: () => void;
3090 preventDismissOnEvent?: (ev: Event | React_2.FocusEvent | React_2.KeyboardEvent | React_2.MouseEvent) => boolean;
3091 // @deprecated
3092 preventDismissOnLostFocus?: boolean;
3093 // @deprecated
3094 preventDismissOnResize?: boolean;
3095 // @deprecated
3096 preventDismissOnScroll?: boolean;
3097 role?: string;
3098 setInitialFocus?: boolean;
3099 shouldDismissOnWindowFocus?: boolean;
3100 // @deprecated
3101 shouldRestoreFocus?: boolean;
3102 shouldUpdateWhenHidden?: boolean;
3103 style?: React_2.CSSProperties;
3104 styles?: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;
3105 target?: Target;
3106 theme?: ITheme;
3107}
3108
3109export { ICancelable }
3110
3111// @public (undocumented)
3112export interface ICellStyleProps {
3113 // (undocumented)
3114 cellExtraRightPadding: number;
3115 // (undocumented)
3116 cellLeftPadding: number;
3117 // (undocumented)
3118 cellRightPadding: number;
3119}
3120
3121export { IChangeDescription }
3122
3123export { IChangeEventCallback }
3124
3125// @public
3126export interface ICheckbox {
3127 checked: boolean;
3128 focus: () => void;
3129 indeterminate: boolean;
3130}
3131
3132// @public
3133export interface ICheckboxProps extends React_2.RefAttributes<HTMLDivElement> {
3134 ariaDescribedBy?: string;
3135 ariaLabel?: string;
3136 ariaLabelledBy?: string;
3137 ariaPositionInSet?: number;
3138 ariaSetSize?: number;
3139 boxSide?: 'start' | 'end';
3140 checked?: boolean;
3141 checkmarkIconProps?: IIconProps;
3142 className?: string;
3143 componentRef?: IRefObject<ICheckbox>;
3144 defaultChecked?: boolean;
3145 defaultIndeterminate?: boolean;
3146 disabled?: boolean;
3147 id?: string;
3148 indeterminate?: boolean;
3149 inputProps?: React_2.ButtonHTMLAttributes<HTMLElement | HTMLButtonElement>;
3150 label?: string;
3151 name?: string;
3152 onChange?: (ev?: React_2.FormEvent<HTMLElement | HTMLInputElement>, checked?: boolean) => void;
3153 onRenderLabel?: IRenderFunction<ICheckboxProps>;
3154 required?: boolean;
3155 styles?: IStyleFunctionOrObject<ICheckboxStyleProps, ICheckboxStyles>;
3156 theme?: ITheme;
3157 title?: string;
3158}
3159
3160// @public (undocumented)
3161export interface ICheckboxStyleProps {
3162 // (undocumented)
3163 checked?: boolean;
3164 // (undocumented)
3165 className?: string;
3166 // (undocumented)
3167 disabled?: boolean;
3168 // (undocumented)
3169 indeterminate?: boolean;
3170 // (undocumented)
3171 isUsingCustomLabelRender: boolean;
3172 // (undocumented)
3173 reversed?: boolean;
3174 // (undocumented)
3175 theme: ITheme;
3176}
3177
3178// @public (undocumented)
3179export interface ICheckboxStyles {
3180 checkbox?: IStyle;
3181 checkmark?: IStyle;
3182 input?: IStyle;
3183 label?: IStyle;
3184 root?: IStyle;
3185 text?: IStyle;
3186}
3187
3188// @public (undocumented)
3189export interface ICheckProps extends React_2.RefAttributes<HTMLDivElement> {
3190 // @deprecated (undocumented)
3191 alwaysShowCheck?: boolean;
3192 checked?: boolean;
3193 className?: string;
3194 componentRef?: IRefObject<ICheckProps>;
3195 styles?: IStyleFunctionOrObject<ICheckStyleProps, ICheckStyles>;
3196 theme?: ITheme;
3197 useFastIcons?: boolean;
3198}
3199
3200// @public (undocumented)
3201export type ICheckStyleProps = Required<Pick<ICheckProps, 'theme'>> & Pick<ICheckProps, 'className' | 'checked'> & {
3202 height?: string;
3203 checkBoxHeight?: string;
3204};
3205
3206// @public (undocumented)
3207export interface ICheckStyles {
3208 check: IStyle;
3209 // @deprecated
3210 checkHost: IStyle;
3211 circle: IStyle;
3212 root: IStyle;
3213}
3214
3215// @public (undocumented)
3216export interface IChoiceGroup {
3217 checkedOption: IChoiceGroupOption | undefined;
3218 focus: () => void;
3219}
3220
3221// @public (undocumented)
3222export interface IChoiceGroupOption extends Omit<React_2.InputHTMLAttributes<HTMLElement | HTMLInputElement>, 'checked'> {
3223 ariaLabel?: string;
3224 disabled?: boolean;
3225 iconProps?: IIconProps;
3226 id?: string;
3227 imageAlt?: string;
3228 imageSize?: {
3229 width: number;
3230 height: number;
3231 };
3232 imageSrc?: string;
3233 key: string;
3234 labelId?: string;
3235 onRenderField?: IRenderFunction<IChoiceGroupOptionProps>;
3236 onRenderLabel?: IRenderFunction<IChoiceGroupOptionProps>;
3237 selectedImageSrc?: string;
3238 styles?: IStyleFunctionOrObject<IChoiceGroupOptionStyleProps, IChoiceGroupOptionStyles>;
3239 text: string;
3240}
3241
3242// @public (undocumented)
3243export interface IChoiceGroupOptionProps extends Omit<IChoiceGroupOption, 'key'> {
3244 checked?: boolean;
3245 // @deprecated (undocumented)
3246 componentRef?: IRefObject<IChoiceGroupOption>;
3247 focused?: boolean;
3248 itemKey: string;
3249 key?: string;
3250 name?: string;
3251 onBlur?: (ev?: React_2.FocusEvent<HTMLElement>, props?: IChoiceGroupOptionProps) => void;
3252 onChange?: (evt?: React_2.FormEvent<HTMLElement | HTMLInputElement>, props?: IChoiceGroupOptionProps) => void;
3253 onFocus?: (ev?: React_2.FocusEvent<HTMLElement | HTMLInputElement>, props?: IChoiceGroupOptionProps) => void | undefined;
3254 required?: boolean;
3255 theme?: ITheme;
3256}
3257
3258// @public
3259export interface IChoiceGroupOptionStyleProps {
3260 checked?: boolean;
3261 disabled?: boolean;
3262 focused?: boolean;
3263 hasIcon?: boolean;
3264 hasImage?: boolean;
3265 imageIsLarge?: boolean;
3266 imageSize?: {
3267 height: number;
3268 width: number;
3269 };
3270 theme: ITheme;
3271}
3272
3273// @public (undocumented)
3274export interface IChoiceGroupOptionStyles {
3275 // (undocumented)
3276 choiceFieldWrapper?: IStyle;
3277 // (undocumented)
3278 field?: IStyle;
3279 // (undocumented)
3280 iconWrapper?: IStyle;
3281 // (undocumented)
3282 imageWrapper?: IStyle;
3283 // (undocumented)
3284 innerField?: IStyle;
3285 // (undocumented)
3286 input?: IStyle;
3287 // (undocumented)
3288 labelWrapper?: IStyle;
3289 // (undocumented)
3290 root?: IStyle;
3291 // (undocumented)
3292 selectedImageWrapper?: IStyle;
3293}
3294
3295// @public (undocumented)
3296export interface IChoiceGroupProps extends React_2.InputHTMLAttributes<HTMLElement | HTMLInputElement>, React_2.RefAttributes<HTMLDivElement> {
3297 ariaLabelledBy?: string;
3298 componentRef?: IRefObject<IChoiceGroup>;
3299 defaultSelectedKey?: string | number;
3300 label?: string;
3301 onChange?: (ev?: React_2.FormEvent<HTMLElement | HTMLInputElement>, option?: IChoiceGroupOption) => void;
3302 options?: IChoiceGroupOption[];
3303 selectedKey?: string | number;
3304 styles?: IStyleFunctionOrObject<IChoiceGroupStyleProps, IChoiceGroupStyles>;
3305 theme?: ITheme;
3306}
3307
3308// @public (undocumented)
3309export interface IChoiceGroupStyleProps {
3310 // (undocumented)
3311 className?: string;
3312 // (undocumented)
3313 optionsContainIconOrImage?: boolean;
3314 // (undocumented)
3315 theme: ITheme;
3316}
3317
3318// @public (undocumented)
3319export interface IChoiceGroupStyles {
3320 // (undocumented)
3321 flexContainer?: IStyle;
3322 // (undocumented)
3323 label?: IStyle;
3324 // (undocumented)
3325 root?: IStyle;
3326}
3327
3328// @public
3329export interface ICircle extends IShimmerElement {
3330 height?: number;
3331}
3332
3333export { IClassNames }
3334
3335export { IClassNamesFunctionOptions }
3336
3337// @public (undocumented)
3338export interface ICoachmark {
3339 dismiss?: (ev?: Event | React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement>) => void;
3340}
3341
3342// @public
3343export interface ICoachmarkProps extends React_2.RefAttributes<HTMLDivElement> {
3344 ariaAlertText?: string;
3345 ariaDescribedBy?: string;
3346 ariaDescribedByText?: string;
3347 ariaLabelledBy?: string;
3348 ariaLabelledByText?: string;
3349 beaconColorOne?: string;
3350 beaconColorTwo?: string;
3351 // @deprecated (undocumented)
3352 beakHeight?: number;
3353 // @deprecated (undocumented)
3354 beakWidth?: number;
3355 children?: React_2.ReactNode;
3356 className?: string;
3357 // @deprecated
3358 collapsed?: boolean;
3359 color?: string;
3360 componentRef?: IRefObject<ICoachmark>;
3361 delayBeforeCoachmarkAnimation?: number;
3362 delayBeforeMouseOpen?: number;
3363 // @deprecated (undocumented)
3364 height?: number;
3365 isCollapsed?: boolean;
3366 isPositionForced?: boolean;
3367 mouseProximityOffset?: number;
3368 onAnimationOpenEnd?: () => void;
3369 onAnimationOpenStart?: () => void;
3370 onDismiss?: (ev?: Event | React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement>) => void;
3371 onMouseMove?: (e: MouseEvent) => void;
3372 persistentBeak?: boolean;
3373 positioningContainerProps?: IPositioningContainerProps;
3374 preventDismissOnLostFocus?: boolean;
3375 preventFocusOnMount?: boolean;
3376 styles?: IStyleFunctionOrObject<ICoachmarkStyleProps, ICoachmarkStyles>;
3377 target: Target;
3378 // @deprecated (undocumented)
3379 teachingBubbleRef?: ITeachingBubble;
3380 theme?: ITheme;
3381 // @deprecated (undocumented)
3382 width?: number;
3383}
3384
3385// @public
3386export interface ICoachmarkStyleProps {
3387 beaconColorOne?: string;
3388 beaconColorTwo?: string;
3389 className?: string;
3390 // @deprecated
3391 collapsed?: boolean;
3392 color?: string;
3393 delayBeforeCoachmarkAnimation?: string;
3394 entityHostHeight?: string;
3395 entityHostWidth?: string;
3396 height?: string;
3397 isCollapsed: boolean;
3398 isMeasuring: boolean;
3399 theme?: ITheme;
3400 transformOrigin?: string;
3401 width?: string;
3402}
3403
3404// @public
3405export interface ICoachmarkStyles {
3406 ariaContainer?: IStyle;
3407 childrenContainer: IStyle;
3408 collapsed?: IStyle;
3409 entityHost?: IStyle;
3410 entityInnerHost: IStyle;
3411 pulsingBeacon?: IStyle;
3412 root?: IStyle;
3413 rotateAnimationLayer?: IStyle;
3414 scaleAnimationLayer?: IStyle;
3415 translateAnimationContainer?: IStyle;
3416}
3417
3418// @public @deprecated (undocumented)
3419export type ICoachmarkTypes = ICoachmarkProps;
3420
3421// @public (undocumented)
3422export interface IColor extends IRGB, IHSV {
3423 hex: string;
3424 str: string;
3425 t?: number;
3426}
3427
3428// @public (undocumented)
3429export interface IColorCellProps {
3430 color: string;
3431 id: string;
3432 index?: number;
3433 label?: string;
3434}
3435
3436// @public (undocumented)
3437export interface IColorPicker {
3438 color: IColor;
3439}
3440
3441// @public (undocumented)
3442export interface IColorPickerGridCellProps {
3443 borderWidth?: number;
3444 circle?: boolean;
3445 color: string;
3446 disabled?: boolean;
3447 height?: number;
3448 // @deprecated
3449 id?: string;
3450 idPrefix?: string;
3451 index?: number;
3452 isRadio?: boolean;
3453 item: IColorCellProps;
3454 label?: string;
3455 onClick?: (item: IColorCellProps, event?: React_2.MouseEvent<HTMLButtonElement>) => void;
3456 // (undocumented)
3457 onFocus?: (item: IColorCellProps, event?: React_2.FormEvent<HTMLButtonElement>) => void;
3458 // (undocumented)
3459 onHover?: (item?: IColorCellProps, event?: React_2.MouseEvent<HTMLButtonElement>) => void;
3460 // (undocumented)
3461 onKeyDown?: (ev: React_2.KeyboardEvent<HTMLButtonElement>) => void;
3462 onMouseEnter?: (ev: React_2.MouseEvent<HTMLButtonElement>) => boolean;
3463 // (undocumented)
3464 onMouseLeave?: (ev: React_2.MouseEvent<HTMLButtonElement>) => void;
3465 onMouseMove?: (ev: React_2.MouseEvent<HTMLButtonElement>) => boolean;
3466 // (undocumented)
3467 onWheel?: (ev: React_2.MouseEvent<HTMLButtonElement>) => void;
3468 selected: boolean;
3469 styles?: IStyleFunctionOrObject<IColorPickerGridCellStyleProps, IColorPickerGridCellStyles>;
3470 theme?: ITheme;
3471 width?: number;
3472}
3473
3474// @public (undocumented)
3475export interface IColorPickerGridCellStyleProps {
3476 borderWidth?: number;
3477 circle?: boolean;
3478 disabled?: boolean;
3479 height?: number;
3480 isWhite?: boolean;
3481 selected?: boolean;
3482 theme: ITheme;
3483 width?: number;
3484}
3485
3486// @public (undocumented)
3487export interface IColorPickerGridCellStyles {
3488 colorCell: IStyle;
3489 svg: IStyle;
3490}
3491
3492// @public (undocumented)
3493export interface IColorPickerProps {
3494 // @deprecated
3495 alphaLabel?: string;
3496 // @deprecated
3497 alphaSliderHidden?: boolean;
3498 alphaType?: 'alpha' | 'transparency' | 'none';
3499 // @deprecated
3500 blueLabel?: string;
3501 className?: string;
3502 color: IColor | string;
3503 componentRef?: IRefObject<IColorPicker>;
3504 // @deprecated
3505 greenLabel?: string;
3506 // @deprecated
3507 hexLabel?: string;
3508 onChange?: (ev: React_2.SyntheticEvent<HTMLElement>, color: IColor) => void;
3509 // @deprecated
3510 redLabel?: string;
3511 showPreview?: boolean;
3512 strings?: IColorPickerStrings;
3513 styles?: IStyleFunctionOrObject<IColorPickerStyleProps, IColorPickerStyles>;
3514 theme?: ITheme;
3515 tooltipProps?: ITooltipHostProps;
3516}
3517
3518// @public (undocumented)
3519export interface IColorPickerState {
3520 color: IColor;
3521 editingColor?: {
3522 component: ColorComponent;
3523 value: string;
3524 };
3525}
3526
3527// @public (undocumented)
3528export interface IColorPickerStrings {
3529 alpha?: string;
3530 alphaAriaLabel?: string;
3531 alphaError?: string;
3532 blue?: string;
3533 blueError?: string;
3534 green?: string;
3535 greenError?: string;
3536 hex?: string;
3537 hexError?: string;
3538 // @deprecated
3539 hue?: string;
3540 hueAriaLabel?: string;
3541 red?: string;
3542 redError?: string;
3543 rootAriaLabelFormat?: string;
3544 svAriaDescription?: string;
3545 svAriaLabel?: string;
3546 svAriaValueFormat?: string;
3547 transparency?: string;
3548 transparencyAriaLabel?: string;
3549 transparencyError?: string;
3550}
3551
3552// @public (undocumented)
3553export type IColorPickerStyleProps = Required<Pick<IColorPickerProps, 'theme'>> & Pick<IColorPickerProps, 'className' | 'alphaType'>;
3554
3555// @public (undocumented)
3556export interface IColorPickerStyles {
3557 colorRectangle?: IStyle;
3558 colorSquare?: IStyle;
3559 flexContainer?: IStyle;
3560 flexPreviewBox?: IStyle;
3561 flexSlider?: IStyle;
3562 input?: IStyle;
3563 panel?: IStyle;
3564 root?: IStyle;
3565 table?: IStyle;
3566 tableAlphaCell?: IStyle;
3567 tableHeader?: IStyle;
3568 tableHexCell?: IStyle;
3569}
3570
3571// @public (undocumented)
3572export interface IColorRectangle {
3573 color: IColor;
3574}
3575
3576// @public (undocumented)
3577export interface IColorRectangleProps {
3578 ariaDescription?: string;
3579 ariaLabel?: string;
3580 ariaValueFormat?: string;
3581 className?: string;
3582 color: IColor;
3583 componentRef?: IRefObject<IColorRectangle>;
3584 minSize?: number;
3585 onChange?: (ev: React_2.MouseEvent | React_2.KeyboardEvent, color: IColor) => void;
3586 styles?: IStyleFunctionOrObject<IColorRectangleStyleProps, IColorRectangleStyles>;
3587 theme?: ITheme;
3588}
3589
3590// @public (undocumented)
3591export interface IColorRectangleStyleProps {
3592 className?: string;
3593 minSize?: number;
3594 theme: ITheme;
3595}
3596
3597// @public (undocumented)
3598export interface IColorRectangleStyles {
3599 dark?: IStyle;
3600 description?: IStyle;
3601 light?: IStyle;
3602 root?: IStyle;
3603 thumb?: IStyle;
3604}
3605
3606// @public (undocumented)
3607export interface IColorSlider {
3608 value: number;
3609}
3610
3611// @public (undocumented)
3612export interface IColorSliderProps {
3613 ariaLabel?: string;
3614 className?: string;
3615 componentRef?: IRefObject<IColorSlider>;
3616 // @deprecated
3617 isAlpha?: boolean;
3618 // @deprecated
3619 maxValue?: number;
3620 // @deprecated
3621 minValue?: number;
3622 onChange?: (event: React_2.MouseEvent | React_2.KeyboardEvent, newValue?: number) => void;
3623 overlayColor?: string;
3624 // @deprecated
3625 overlayStyle?: React_2.CSSProperties;
3626 styles?: IStyleFunctionOrObject<IColorSliderStyleProps, IColorSliderStyles>;
3627 theme?: ITheme;
3628 // @deprecated
3629 thumbColor?: string;
3630 type?: 'hue' | 'alpha' | 'transparency';
3631 value?: number;
3632}
3633
3634// @public (undocumented)
3635export type IColorSliderStyleProps = Required<Pick<IColorSliderProps, 'theme'>> & Pick<IColorSliderProps, 'className' | 'type'> & {
3636 isAlpha?: boolean;
3637};
3638
3639// @public (undocumented)
3640export interface IColorSliderStyles {
3641 root?: IStyle;
3642 sliderOverlay?: IStyle;
3643 sliderThumb?: IStyle;
3644}
3645
3646// @public (undocumented)
3647export interface IColumn {
3648 ariaLabel?: string;
3649 calculatedWidth?: number;
3650 className?: string;
3651 columnActionsMode?: ColumnActionsMode;
3652 currentWidth?: number;
3653 data?: any;
3654 fieldName?: string;
3655 filterAriaLabel?: string;
3656 flexGrow?: number;
3657 getValueKey?: (item?: any, index?: number, column?: IColumn) => string;
3658 groupAriaLabel?: string;
3659 headerClassName?: string;
3660 iconClassName?: string;
3661 iconName?: string;
3662 // @deprecated
3663 isCollapsable?: boolean;
3664 isCollapsible?: boolean;
3665 isFiltered?: boolean;
3666 isGrouped?: boolean;
3667 isIconOnly?: boolean;
3668 isMenuOpen?: boolean;
3669 isMultiline?: boolean;
3670 isPadded?: boolean;
3671 isResizable?: boolean;
3672 isRowHeader?: boolean;
3673 isSorted?: boolean;
3674 isSortedDescending?: boolean;
3675 key: string;
3676 maxWidth?: number;
3677 minWidth: number;
3678 name: string;
3679 onColumnClick?: (ev: React_2.MouseEvent<HTMLElement>, column: IColumn) => void;
3680 onColumnContextMenu?: (column?: IColumn, ev?: React_2.MouseEvent<HTMLElement>) => void;
3681 onColumnResize?: (width?: number) => void;
3682 onRender?: (item?: any, index?: number, column?: IColumn) => any;
3683 onRenderDivider?: IRenderFunction<IDetailsColumnProps>;
3684 // (undocumented)
3685 onRenderField?: IRenderFunction<IDetailsColumnFieldProps>;
3686 onRenderFilterIcon?: IRenderFunction<IDetailsColumnFilterIconProps>;
3687 onRenderHeader?: IRenderFunction<IDetailsColumnProps>;
3688 sortAscendingAriaLabel?: string;
3689 sortDescendingAriaLabel?: string;
3690 styles?: IStyleFunctionOrObject<IDetailsColumnStyleProps, IDetailsColumnStyles>;
3691 targetWidthProportion?: number;
3692}
3693
3694// @public (undocumented)
3695export interface IColumnDragDropDetails {
3696 draggedIndex: number;
3697 targetIndex: number;
3698}
3699
3700// @public (undocumented)
3701export interface IColumnReorderHeaderProps extends IColumnReorderOptions {
3702 onColumnDragEnd?: (props: {
3703 dropLocation?: ColumnDragEndLocation;
3704 }, event: MouseEvent) => void;
3705}
3706
3707// @public (undocumented)
3708export interface IColumnReorderOptions {
3709 frozenColumnCountFromEnd?: number;
3710 frozenColumnCountFromStart?: number;
3711 // @deprecated
3712 handleColumnReorder?: (draggedIndex: number, targetIndex: number) => void;
3713 onColumnDragStart?: (dragStarted: boolean) => void;
3714 onColumnDrop?: (dragDropDetails: IColumnDragDropDetails) => void;
3715 onDragEnd?: (columnDropLocationDetails: ColumnDragEndLocation) => void;
3716}
3717
3718// @public (undocumented)
3719export interface IColumnResizeDetails {
3720 // (undocumented)
3721 columnIndex: number;
3722 // (undocumented)
3723 columnMinWidth: number;
3724 // (undocumented)
3725 originX?: number;
3726}
3727
3728// @public (undocumented)
3729export interface IComboBox {
3730 dismissMenu: () => void;
3731 focus(shouldOpenOnFocus?: boolean, useFocusAsync?: boolean): void;
3732 readonly selectedOptions: IComboBoxOption[];
3733}
3734
3735// @public (undocumented)
3736export interface IComboBoxClassNames {
3737 // (undocumented)
3738 callout: string;
3739 // (undocumented)
3740 container: string;
3741 // (undocumented)
3742 divider: string;
3743 // (undocumented)
3744 errorMessage: string;
3745 // (undocumented)
3746 header: string;
3747 // (undocumented)
3748 input: string;
3749 // (undocumented)
3750 label: string;
3751 // (undocumented)
3752 optionsContainer: string;
3753 // (undocumented)
3754 optionsContainerWrapper: string;
3755 // (undocumented)
3756 root: string;
3757 // (undocumented)
3758 screenReaderText: string;
3759}
3760
3761// @public (undocumented)
3762export interface IComboBoxOption extends ISelectableOption {
3763 styles?: Partial<IComboBoxOptionStyles>;
3764 useAriaLabelAsText?: boolean;
3765}
3766
3767// @public (undocumented)
3768export interface IComboBoxOptionClassNames {
3769 // (undocumented)
3770 optionText: string;
3771 // (undocumented)
3772 optionTextWrapper: string;
3773 // (undocumented)
3774 root: string;
3775}
3776
3777// @public (undocumented)
3778export interface IComboBoxOptionStyles extends IButtonStyles {
3779 optionText: IStyle;
3780 optionTextWrapper: IStyle;
3781}
3782
3783// @public (undocumented)
3784export interface IComboBoxProps extends ISelectableDroppableTextProps<IComboBox, IComboBox>, React_2.RefAttributes<HTMLDivElement> {
3785 allowFreeform?: boolean;
3786 ariaDescribedBy?: string;
3787 autoComplete?: 'on' | 'off';
3788 autofill?: IAutofillProps;
3789 buttonIconProps?: IIconProps;
3790 caretDownButtonStyles?: Partial<IButtonStyles>;
3791 comboBoxOptionStyles?: Partial<IComboBoxOptionStyles>;
3792 componentRef?: IRefObject<IComboBox>;
3793 dropdownMaxWidth?: number;
3794 dropdownWidth?: number;
3795 getClassNames?: (theme: ITheme, isOpen: boolean, disabled: boolean, required: boolean, focused: boolean, allowFreeForm: boolean, hasErrorMessage: boolean, className?: string) => IComboBoxClassNames;
3796 iconButtonProps?: IButtonProps;
3797 isButtonAriaHidden?: boolean;
3798 multiSelectDelimiter?: string;
3799 onChange?: (event: React_2.FormEvent<IComboBox>, option?: IComboBoxOption, index?: number, value?: string) => void;
3800 onInputValueChange?: (text: string) => void;
3801 onItemClick?: (event: React_2.FormEvent<IComboBox>, option?: IComboBoxOption, index?: number) => void;
3802 onMenuDismiss?: () => void;
3803 onMenuDismissed?: () => void;
3804 onMenuOpen?: () => void;
3805 onPendingValueChanged?: (option?: IComboBoxOption, index?: number, value?: string) => void;
3806 onRenderLabel?: IRenderFunction<IOnRenderComboBoxLabelProps>;
3807 onRenderLowerContent?: IRenderFunction<IComboBoxProps>;
3808 onRenderUpperContent?: IRenderFunction<IComboBoxProps>;
3809 onResolveOptions?: (options: IComboBoxOption[]) => IComboBoxOption[] | PromiseLike<IComboBoxOption[]>;
3810 onScrollToItem?: (itemIndex: number) => void;
3811 options: IComboBoxOption[];
3812 persistMenu?: boolean;
3813 scrollSelectedToTop?: boolean;
3814 shouldRestoreFocus?: boolean;
3815 styles?: Partial<IComboBoxStyles>;
3816 text?: string;
3817 theme?: ITheme;
3818 useComboBoxAsMenuWidth?: boolean;
3819}
3820
3821// @public (undocumented)
3822export interface IComboBoxState {
3823 currentPendingValue?: string;
3824 currentPendingValueValidIndex: number;
3825 currentPendingValueValidIndexOnHover: number;
3826 focusState?: 'none' | 'focused' | 'focusing';
3827 isOpen?: boolean;
3828}
3829
3830// @public (undocumented)
3831export interface IComboBoxStyles {
3832 callout: IStyle;
3833 container: IStyle;
3834 divider: IStyle;
3835 errorMessage: IStyle;
3836 header: IStyle;
3837 input: IStyle;
3838 inputDisabled: IStyle;
3839 label: IStyle;
3840 labelDisabled: IStyle;
3841 optionsContainer: IStyle;
3842 optionsContainerWrapper: IStyle;
3843 root: IStyle;
3844 rootDisabled: IStyle;
3845 rootDisallowFreeForm: IStyle;
3846 rootError: IStyle;
3847 rootFocused: IStyle;
3848 rootHovered: IStyle;
3849 rootPressed: IStyle;
3850 screenReaderText: IStyle;
3851}
3852
3853// @public (undocumented)
3854export interface ICommandBar {
3855 focus(): void;
3856 remeasure(): void;
3857}
3858
3859// @public (undocumented)
3860export interface ICommandBarData {
3861 cacheKey: string;
3862 farItems: ICommandBarItemProps[] | undefined;
3863 minimumOverflowItems: number;
3864 overflowItems: ICommandBarItemProps[];
3865 primaryItems: ICommandBarItemProps[];
3866}
3867
3868// @public
3869export interface ICommandBarItemProps extends IContextualMenuItem {
3870 buttonStyles?: IButtonStyles;
3871 cacheKey?: string;
3872 commandBarButtonAs?: IComponentAs<ICommandBarItemProps>;
3873 iconOnly?: boolean;
3874 renderedInOverflow?: boolean;
3875 tooltipHostProps?: ITooltipHostProps;
3876}
3877
3878// @public (undocumented)
3879export interface ICommandBarProps extends React_2.HTMLAttributes<HTMLDivElement> {
3880 ariaLabel?: string;
3881 buttonAs?: IComponentAs<IButtonProps>;
3882 className?: string;
3883 componentRef?: IRefObject<ICommandBar>;
3884 dataDidRender?: (renderedData: any) => void;
3885 farItems?: ICommandBarItemProps[];
3886 farItemsGroupAriaLabel?: string;
3887 items: ICommandBarItemProps[];
3888 onDataGrown?: (movedItem: ICommandBarItemProps) => void;
3889 onDataReduced?: (movedItem: ICommandBarItemProps) => void;
3890 onGrowData?: (data: ICommandBarData) => ICommandBarData | undefined;
3891 onReduceData?: (data: ICommandBarData) => ICommandBarData | undefined;
3892 overflowButtonAs?: IComponentAs<IButtonProps>;
3893 overflowButtonProps?: IButtonProps;
3894 overflowItems?: ICommandBarItemProps[];
3895 primaryGroupAriaLabel?: string;
3896 resizeGroupAs?: IComponentAs<IResizeGroupProps>;
3897 shiftOnReduce?: boolean;
3898 styles?: IStyleFunctionOrObject<ICommandBarStyleProps, ICommandBarStyles>;
3899 theme?: ITheme;
3900}
3901
3902// @public (undocumented)
3903export interface ICommandBarStyleProps {
3904 // (undocumented)
3905 className?: string;
3906 // (undocumented)
3907 theme: ITheme;
3908}
3909
3910// @public (undocumented)
3911export interface ICommandBarStyles {
3912 // (undocumented)
3913 primarySet?: IStyle;
3914 // (undocumented)
3915 root?: IStyle;
3916 // (undocumented)
3917 secondarySet?: IStyle;
3918}
3919
3920export { IComponentAs }
3921
3922export { IComponentAsProps }
3923
3924// @public
3925export const Icon: React_2.FunctionComponent<IIconProps>;
3926
3927// @public (undocumented)
3928export class IconBase extends React_2.Component<IIconProps, IIconState> {
3929 constructor(props: IIconProps);
3930 // (undocumented)
3931 render(): JSX.Element;
3932}
3933
3934// @public (undocumented)
3935export class IconButton extends React_2.Component<IButtonProps, {}> {
3936 // (undocumented)
3937 render(): JSX.Element;
3938}
3939
3940export { IconFontSizes }
3941
3942export { IconNames }
3943
3944// @public (undocumented)
3945export interface IContextualMenu {
3946}
3947
3948// @public @deprecated (undocumented)
3949export interface IContextualMenuClassNames {
3950 // (undocumented)
3951 container?: string;
3952 // (undocumented)
3953 header?: string;
3954 // (undocumented)
3955 list?: string;
3956 // (undocumented)
3957 root?: string;
3958 // (undocumented)
3959 subComponentStyles?: IContextualMenuSubComponentStyles;
3960 // (undocumented)
3961 title?: string;
3962}
3963
3964// @public (undocumented)
3965export interface IContextualMenuItem {
3966 [propertyName: string]: any;
3967 ariaDescribedBy?: string;
3968 ariaDescription?: string;
3969 ariaLabel?: string;
3970 canCheck?: boolean;
3971 checked?: boolean;
3972 className?: string;
3973 componentRef?: IRefObject<IContextualMenuRenderItem>;
3974 customOnRenderListLength?: number;
3975 data?: any;
3976 disabled?: boolean;
3977 // @deprecated
3978 getItemClassNames?: (theme: ITheme, disabled: boolean, expanded: boolean, checked: boolean, isAnchorLink: boolean, knownIcon: boolean, itemClassName?: string, dividerClassName?: string, iconClassName?: string, subMenuClassName?: string, primaryDisabled?: boolean) => IMenuItemClassNames;
3979 getSplitButtonVerticalDividerClassNames?: (theme: ITheme) => IVerticalDividerClassNames;
3980 href?: string;
3981 iconProps?: IIconProps;
3982 // @deprecated (undocumented)
3983 inactive?: boolean;
3984 itemProps?: Partial<IContextualMenuItemProps>;
3985 // @deprecated (undocumented)
3986 items?: IContextualMenuItem[];
3987 // (undocumented)
3988 itemType?: ContextualMenuItemType;
3989 key: string;
3990 keytipProps?: IKeytipProps;
3991 // @deprecated
3992 name?: string;
3993 onClick?: (ev?: React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement>, item?: IContextualMenuItem) => boolean | void;
3994 onMouseDown?: (item: IContextualMenuItem, event: React_2.MouseEvent<HTMLElement>) => void;
3995 onRender?: (item: any, dismissMenu: (ev?: any, dismissAll?: boolean) => void) => React_2.ReactNode;
3996 onRenderContent?: (props: IContextualMenuItemProps, defaultRenders: IContextualMenuItemRenderFunctions) => React_2.ReactNode;
3997 onRenderIcon?: IRenderFunction<IContextualMenuItemProps>;
3998 preferMenuTargetAsEventTarget?: boolean;
3999 primaryDisabled?: boolean;
4000 rel?: string;
4001 role?: string;
4002 secondaryText?: string;
4003 sectionProps?: IContextualMenuSection;
4004 // @deprecated (undocumented)
4005 shortCut?: string;
4006 split?: boolean;
4007 // @deprecated
4008 style?: React_2.CSSProperties;
4009 submenuIconProps?: IIconProps;
4010 subMenuProps?: IContextualMenuProps;
4011 target?: string;
4012 text?: string;
4013 title?: string;
4014}
4015
4016// @public (undocumented)
4017export interface IContextualMenuItemProps extends React_2.HTMLAttributes<IContextualMenuItemProps> {
4018 className?: string;
4019 classNames: IMenuItemClassNames;
4020 componentRef?: IRefObject<IContextualMenuRenderItem>;
4021 dismissMenu?: (ev?: any, dismissAll?: boolean) => void;
4022 dismissSubMenu?: () => void;
4023 getSubmenuTarget?: () => HTMLElement | undefined;
4024 hasIcons: boolean | undefined;
4025 index: number;
4026 item: IContextualMenuItem;
4027 onCheckmarkClick?: (item: IContextualMenuItem, ev: React_2.MouseEvent<HTMLElement>) => void;
4028 openSubMenu?: (item: any, target: HTMLElement) => void;
4029 styles?: IStyleFunctionOrObject<IContextualMenuItemStyleProps, IContextualMenuItemStyles>;
4030 theme?: ITheme;
4031}
4032
4033// @public (undocumented)
4034export interface IContextualMenuItemRenderFunctions {
4035 renderCheckMarkIcon: (props: IContextualMenuItemProps, customClassNames?: string[]) => React_2.ReactNode;
4036 renderItemIcon: (props: IContextualMenuItemProps, customClassNames?: string[]) => React_2.ReactNode;
4037 renderItemName: (props: IContextualMenuItemProps, customClassNames?: string[]) => React_2.ReactNode;
4038 renderSecondaryText: (props: IContextualMenuItemProps, customClassNames?: string[]) => React_2.ReactNode;
4039 renderSubMenuIcon: (props: IContextualMenuItemProps, customClassNames?: string[]) => React_2.ReactNode;
4040}
4041
4042// @public (undocumented)
4043export interface IContextualMenuItemRenderProps extends IContextualMenuItem {
4044 // (undocumented)
4045 focusableElementIndex: number;
4046 // (undocumented)
4047 hasCheckmarks: boolean;
4048 // (undocumented)
4049 hasIcons: boolean;
4050 // (undocumented)
4051 index: number;
4052 // (undocumented)
4053 totalItemCount: number;
4054}
4055
4056// @public (undocumented)
4057export interface IContextualMenuItemStyleProps {
4058 checked: boolean;
4059 className?: string;
4060 disabled: boolean;
4061 dividerClassName?: string;
4062 expanded: boolean;
4063 iconClassName?: string;
4064 isAnchorLink: boolean;
4065 itemClassName?: string;
4066 knownIcon: boolean;
4067 primaryDisabled?: boolean;
4068 subMenuClassName?: string;
4069 theme: ITheme;
4070}
4071
4072// @public (undocumented)
4073export interface IContextualMenuItemStyles extends IButtonStyles {
4074 anchorLink?: IStyle;
4075 checkmarkIcon?: IStyle;
4076 divider?: IStyle;
4077 icon?: IStyle;
4078 iconColor?: IStyle;
4079 item?: IStyle;
4080 label?: IStyle;
4081 linkContent?: IStyle;
4082 linkContentMenu?: IStyle;
4083 root?: IStyle;
4084 screenReaderText?: IStyle;
4085 secondaryText?: IStyle;
4086 splitContainer?: IStyle;
4087 splitMenu?: IStyle;
4088 splitPrimary?: IStyle;
4089 subMenuIcon?: IStyle;
4090}
4091
4092// @public (undocumented)
4093export interface IContextualMenuListProps {
4094 // (undocumented)
4095 ariaLabel?: string;
4096 // (undocumented)
4097 defaultMenuItemRenderer: (item: IContextualMenuItemRenderProps) => React_2.ReactNode;
4098 // (undocumented)
4099 hasCheckmarks: boolean;
4100 // (undocumented)
4101 hasIcons: boolean;
4102 // (undocumented)
4103 items: IContextualMenuItem[];
4104 // (undocumented)
4105 labelElementId?: string;
4106 // (undocumented)
4107 role?: string;
4108 // (undocumented)
4109 totalItemCount: number;
4110}
4111
4112// @public (undocumented)
4113export interface IContextualMenuProps extends IBaseProps<IContextualMenu>, React_2.RefAttributes<HTMLDivElement>, IWithResponsiveModeState {
4114 alignTargetEdge?: boolean;
4115 ariaLabel?: string;
4116 beakWidth?: number;
4117 bounds?: IRectangle | ((target?: Target, targetWindow?: Window) => IRectangle | undefined);
4118 calloutProps?: ICalloutProps;
4119 className?: string;
4120 componentRef?: IRefObject<IContextualMenu>;
4121 contextualMenuItemAs?: React_2.ComponentClass<IContextualMenuItemProps> | React_2.FunctionComponent<IContextualMenuItemProps>;
4122 coverTarget?: boolean;
4123 delayUpdateFocusOnHover?: boolean;
4124 directionalHint?: DirectionalHint;
4125 directionalHintFixed?: boolean;
4126 directionalHintForRTL?: DirectionalHint;
4127 doNotLayer?: boolean;
4128 focusZoneAs?: React_2.ComponentClass<IFocusZoneProps> | React_2.FunctionComponent<IFocusZoneProps>;
4129 focusZoneProps?: IFocusZoneProps;
4130 gapSpace?: number;
4131 // @deprecated
4132 getMenuClassNames?: (theme: ITheme, className?: string) => IContextualMenuClassNames;
4133 hidden?: boolean;
4134 id?: string;
4135 isBeakVisible?: boolean;
4136 isSubMenu?: boolean;
4137 items: IContextualMenuItem[];
4138 labelElementId?: string;
4139 onDismiss?: (ev?: Event | React_2.MouseEvent | React_2.KeyboardEvent, dismissAll?: boolean) => void;
4140 onItemClick?: (ev?: React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement>, item?: IContextualMenuItem) => boolean | void;
4141 onMenuDismissed?: (contextualMenu?: IContextualMenuProps) => void;
4142 onMenuOpened?: (contextualMenu?: IContextualMenuProps) => void;
4143 onRenderContextualMenuItem?: IRenderFunction<IContextualMenuItem>;
4144 onRenderMenuList?: IRenderFunction<IContextualMenuListProps>;
4145 onRenderSubMenu?: IRenderFunction<IContextualMenuProps>;
4146 onRestoreFocus?: (params: IPopupRestoreFocusParams) => void;
4147 shouldFocusOnContainer?: boolean;
4148 shouldFocusOnMount?: boolean;
4149 shouldUpdateWhenHidden?: boolean;
4150 styles?: IStyleFunctionOrObject<IContextualMenuStyleProps, IContextualMenuStyles>;
4151 subMenuHoverDelay?: number;
4152 target?: Target;
4153 theme?: ITheme;
4154 title?: string;
4155 useTargetAsMinWidth?: boolean;
4156 useTargetWidth?: boolean;
4157}
4158
4159// @public (undocumented)
4160export interface IContextualMenuRenderItem {
4161 dismissMenu: (dismissAll?: boolean) => void;
4162 dismissSubMenu: () => void;
4163 openSubMenu: () => void;
4164}
4165
4166// @public (undocumented)
4167export interface IContextualMenuSection extends React_2.ClassAttributes<any> {
4168 bottomDivider?: boolean;
4169 items: IContextualMenuItem[];
4170 title?: string | IContextualMenuItem;
4171 topDivider?: boolean;
4172}
4173
4174// @public (undocumented)
4175export interface IContextualMenuStyleProps {
4176 // (undocumented)
4177 className?: string;
4178 // (undocumented)
4179 theme: ITheme;
4180}
4181
4182// @public (undocumented)
4183export interface IContextualMenuStyles {
4184 container: IStyle;
4185 header: IStyle;
4186 list: IStyle;
4187 root: IStyle;
4188 subComponentStyles: IContextualMenuSubComponentStyles;
4189 title: IStyle;
4190}
4191
4192// @public (undocumented)
4193export interface IContextualMenuSubComponentStyles {
4194 callout: IStyleFunctionOrObject<ICalloutContentStyleProps, any>;
4195 menuItem: IStyleFunctionOrObject<IContextualMenuItemStyleProps, any>;
4196}
4197
4198// @public @deprecated (undocumented)
4199export enum IconType {
4200 // @deprecated (undocumented)
4201 Default = 100000,
4202 // @deprecated
4203 default = 0,
4204 // @deprecated (undocumented)
4205 Image = 100001,
4206 // @deprecated
4207 image = 1
4208}
4209
4210export { ICSPSettings }
4211
4212export { ICssInput }
4213
4214export { ICustomizableProps }
4215
4216export { ICustomizations }
4217
4218export { ICustomizerContext }
4219
4220export { ICustomizerProps }
4221
4222export { IDateFormatting }
4223
4224// @public (undocumented)
4225export interface IDatePicker {
4226 focus(): void;
4227 reset(): void;
4228 showDatePickerPopup(): void;
4229}
4230
4231// @public (undocumented)
4232export interface IDatePickerProps extends IBaseProps<IDatePicker>, React_2.HTMLAttributes<HTMLElement>, React_2.RefAttributes<HTMLDivElement> {
4233 allFocusable?: boolean;
4234 allowTextInput?: boolean;
4235 ariaLabel?: string;
4236 borderless?: boolean;
4237 calendarAs?: IComponentAs<ICalendarProps>;
4238 calendarProps?: ICalendarProps;
4239 calloutProps?: ICalloutProps;
4240 className?: string;
4241 componentRef?: IRefObject<IDatePicker>;
4242 dateTimeFormatter?: IDateFormatting;
4243 disableAutoFocus?: boolean;
4244 disabled?: boolean;
4245 firstDayOfWeek?: DayOfWeek;
4246 firstWeekOfYear?: FirstWeekOfYear;
4247 formatDate?: (date?: Date) => string;
4248 highlightCurrentMonth?: boolean;
4249 highlightSelectedMonth?: boolean;
4250 initialPickerDate?: Date;
4251 isMonthPickerVisible?: boolean;
4252 isRequired?: boolean;
4253 label?: string;
4254 maxDate?: Date;
4255 minDate?: Date;
4256 onAfterMenuDismiss?: () => void;
4257 onSelectDate?: (date: Date | null | undefined) => void;
4258 openOnClick?: boolean;
4259 parseDateFromString?: (dateStr: string) => Date | null;
4260 pickerAriaLabel?: string;
4261 placeholder?: string;
4262 showCloseButton?: boolean;
4263 showGoToToday?: boolean;
4264 showMonthPickerAsOverlay?: boolean;
4265 showWeekNumbers?: boolean;
4266 strings?: IDatePickerStrings;
4267 styles?: IStyleFunctionOrObject<IDatePickerStyleProps, IDatePickerStyles>;
4268 tabIndex?: number;
4269 textField?: ITextFieldProps;
4270 theme?: ITheme;
4271 today?: Date;
4272 underlined?: boolean;
4273 value?: Date;
4274}
4275
4276// @public (undocumented)
4277export interface IDatePickerStrings extends ICalendarStrings {
4278 invalidInputErrorMessage?: string;
4279 isOutOfBoundsErrorMessage?: string;
4280 isRequiredErrorMessage?: string;
4281 isResetStatusMessage?: string;
4282}
4283
4284// @public (undocumented)
4285export interface IDatePickerStyleProps {
4286 className?: string;
4287 // (undocumented)
4288 disabled?: boolean;
4289 // (undocumented)
4290 isDatePickerShown?: boolean;
4291 // (undocumented)
4292 label?: boolean;
4293 theme: ITheme;
4294 // (undocumented)
4295 underlined?: boolean;
4296}
4297
4298// @public (undocumented)
4299export interface IDatePickerStyles {
4300 // (undocumented)
4301 callout: IStyle;
4302 // (undocumented)
4303 icon: IStyle;
4304 // (undocumented)
4305 readOnlyPlaceholder?: IStyle;
4306 // (undocumented)
4307 readOnlyTextField?: IStyle;
4308 root: IStyle;
4309 // (undocumented)
4310 statusMessage?: IStyle;
4311 // (undocumented)
4312 textField: IStyle;
4313 // (undocumented)
4314 wrapper?: IStyle;
4315}
4316
4317export { IDeclaredEventsByName }
4318
4319export { IDelayedRenderProps }
4320
4321export { IDelayedRenderState }
4322
4323// @public (undocumented)
4324export interface IDetailsCheckboxProps {
4325 // (undocumented)
4326 checked: boolean;
4327 // (undocumented)
4328 theme?: ITheme;
4329}
4330
4331// @public (undocumented)
4332export interface IDetailsColumnFieldProps {
4333 cellValueKey?: string;
4334 className?: string;
4335 column: IColumn;
4336 isSelected?: boolean;
4337 item: any;
4338 itemIndex: number;
4339 onRender: (item?: any, index?: any, column?: IColumn) => React_2.ReactNode;
4340}
4341
4342// @public (undocumented)
4343export interface IDetailsColumnFilterIconProps extends IIconProps {
4344 // (undocumented)
4345 columnProps?: IDetailsColumnProps;
4346}
4347
4348// @public (undocumented)
4349export interface IDetailsColumnProps extends React_2.ClassAttributes<DetailsColumnBase> {
4350 cellStyleProps?: ICellStyleProps;
4351 column: IColumn;
4352 columnIndex: number;
4353 componentRef?: () => void;
4354 dragDropHelper?: IDragDropHelper | null;
4355 isDraggable?: boolean;
4356 isDropped?: boolean;
4357 onColumnClick?: (ev: React_2.MouseEvent<HTMLElement>, column: IColumn) => void;
4358 onColumnContextMenu?: (column: IColumn, ev: React_2.MouseEvent<HTMLElement>) => void;
4359 onRenderColumnHeaderTooltip?: IRenderFunction<IDetailsColumnRenderTooltipProps>;
4360 parentId?: string;
4361 // @deprecated (undocumented)
4362 setDraggedItemIndex?: (itemIndex: number) => void;
4363 styles?: IStyleFunctionOrObject<IDetailsColumnStyleProps, IDetailsColumnStyles>;
4364 theme?: ITheme;
4365 updateDragInfo?: (props: {
4366 itemIndex: number;
4367 }, event?: MouseEvent) => void;
4368 useFastIcons?: boolean;
4369}
4370
4371// @public (undocumented)
4372export interface IDetailsColumnRenderTooltipProps extends ITooltipHostProps {
4373 column?: IColumn;
4374}
4375
4376// @public (undocumented)
4377export type IDetailsColumnStyleProps = Required<Pick<IDetailsColumnProps, 'theme' | 'cellStyleProps'>> & {
4378 headerClassName?: string;
4379 isActionable?: boolean;
4380 isEmpty?: boolean;
4381 isIconVisible?: boolean;
4382 isPadded?: boolean;
4383 isIconOnly?: boolean;
4384 iconClassName?: string;
4385 transitionDurationDrag?: number;
4386 transitionDurationDrop?: number;
4387};
4388
4389// @public (undocumented)
4390export interface IDetailsColumnStyles {
4391 accessibleLabel: IStyle;
4392 borderAfterDropping: IStyle;
4393 borderWhileDragging: IStyle;
4394 cellName: IStyle;
4395 cellTitle: IStyle;
4396 cellTooltip: IStyle;
4397 filterChevron: IStyle;
4398 gripperBarVerticalStyle: IStyle;
4399 iconClassName: IStyle;
4400 nearIcon: IStyle;
4401 noBorderAfterDropping: IStyle;
4402 noBorderWhileDragging: IStyle;
4403 root: IStyle;
4404 sortIcon: IStyle;
4405}
4406
4407// @public (undocumented)
4408export interface IDetailsFooterBaseProps extends IDetailsItemProps {
4409}
4410
4411// @public (undocumented)
4412export interface IDetailsFooterProps extends IDetailsFooterBaseProps {
4413 columns: IColumn[];
4414 selection: ISelection;
4415 selectionMode: SelectionMode_2;
4416}
4417
4418// @public (undocumented)
4419export interface IDetailsGroupDividerProps extends IGroupDividerProps, IDetailsItemProps {
4420}
4421
4422// @public (undocumented)
4423export interface IDetailsGroupRenderProps extends IGroupRenderProps {
4424 // (undocumented)
4425 onRenderFooter?: IRenderFunction<IDetailsGroupDividerProps>;
4426 // (undocumented)
4427 onRenderHeader?: IRenderFunction<IDetailsGroupDividerProps>;
4428}
4429
4430// @public (undocumented)
4431export interface IDetailsHeader {
4432 focus: () => boolean;
4433}
4434
4435// @public (undocumented)
4436export interface IDetailsHeaderBaseProps extends React_2.ClassAttributes<DetailsHeaderBase>, IDetailsItemProps {
4437 ariaLabel?: string;
4438 ariaLabelForSelectAllCheckbox?: string;
4439 ariaLabelForSelectionColumn?: string;
4440 ariaLabelForToggleAllGroupsButton?: string;
4441 className?: string;
4442 collapseAllVisibility?: CollapseAllVisibility;
4443 columnReorderOptions?: IColumnReorderOptions;
4444 columnReorderProps?: IColumnReorderHeaderProps;
4445 componentRef?: IRefObject<IDetailsHeader>;
4446 isAllCollapsed?: boolean;
4447 layoutMode: DetailsListLayoutMode;
4448 minimumPixelsForDrag?: number;
4449 onColumnAutoResized?: (column: IColumn, columnIndex: number) => void;
4450 onColumnClick?: (ev: React_2.MouseEvent<HTMLElement>, column: IColumn) => void;
4451 onColumnContextMenu?: (column: IColumn, ev: React_2.MouseEvent<HTMLElement>) => void;
4452 onColumnIsSizingChanged?: (column: IColumn, isSizing: boolean) => void;
4453 onColumnResized?: (column: IColumn, newWidth: number, columnIndex: number) => void;
4454 onRenderColumnHeaderTooltip?: IRenderFunction<IDetailsColumnRenderTooltipProps>;
4455 onRenderDetailsCheckbox?: IRenderFunction<IDetailsCheckboxProps>;
4456 onToggleCollapseAll?: (isAllCollapsed: boolean) => void;
4457 selectAllVisibility?: SelectAllVisibility;
4458 styles?: IStyleFunctionOrObject<IDetailsHeaderStyleProps, IDetailsHeaderStyles>;
4459 theme?: ITheme;
4460 useFastIcons?: boolean;
4461}
4462
4463// @public (undocumented)
4464export interface IDetailsHeaderProps extends IDetailsHeaderBaseProps {
4465 columns: IColumn[];
4466 selection: ISelection;
4467 selectionMode: SelectionMode_2;
4468}
4469
4470// @public (undocumented)
4471export interface IDetailsHeaderState {
4472 // (undocumented)
4473 columnResizeDetails?: IColumnResizeDetails;
4474 // (undocumented)
4475 isAllCollapsed?: boolean;
4476 // (undocumented)
4477 isAllSelected?: boolean;
4478 // (undocumented)
4479 isSizing?: boolean;
4480}
4481
4482// @public (undocumented)
4483export type IDetailsHeaderStyleProps = Required<Pick<IDetailsHeaderProps, 'theme'>> & Pick<IDetailsHeaderProps, 'className'> & {
4484 isSelectAllHidden?: boolean;
4485 isAllSelected?: boolean;
4486 isResizingColumn?: boolean;
4487 isAllCollapsed?: boolean;
4488 isSizing?: boolean;
4489 isCheckboxHidden?: boolean;
4490 cellStyleProps?: ICellStyleProps;
4491};
4492
4493// @public (undocumented)
4494export interface IDetailsHeaderStyles {
4495 // (undocumented)
4496 accessibleLabel: IStyle;
4497 // @deprecated (undocumented)
4498 cellIsActionable: IStyle;
4499 // (undocumented)
4500 cellIsCheck: IStyle;
4501 // @deprecated (undocumented)
4502 cellIsEmpty: IStyle;
4503 // (undocumented)
4504 cellIsGroupExpander: IStyle;
4505 // (undocumented)
4506 cellIsResizing: IStyle;
4507 // (undocumented)
4508 cellSizer: IStyle;
4509 // (undocumented)
4510 cellSizerEnd: IStyle;
4511 // (undocumented)
4512 cellSizerStart: IStyle;
4513 // @deprecated (undocumented)
4514 cellWrapperPadded: IStyle;
4515 // (undocumented)
4516 check: IStyle;
4517 // (undocumented)
4518 checkTooltip: IStyle;
4519 // (undocumented)
4520 collapseButton: IStyle;
4521 // (undocumented)
4522 dropHintCaretStyle: IStyle;
4523 // (undocumented)
4524 dropHintCircleStyle: IStyle;
4525 // (undocumented)
4526 dropHintLineStyle: IStyle;
4527 // (undocumented)
4528 dropHintStyle: IStyle;
4529 // (undocumented)
4530 root: IStyle;
4531 // (undocumented)
4532 sizingOverlay: IStyle;
4533}
4534
4535// @public (undocumented)
4536export interface IDetailsItemProps {
4537 cellStyleProps?: ICellStyleProps;
4538 checkboxVisibility?: CheckboxVisibility | undefined;
4539 columns?: IColumn[];
4540 groupNestingDepth?: number;
4541 indentWidth?: number | undefined;
4542 rowWidth?: number;
4543 selection?: ISelection | undefined;
4544 selectionMode?: SelectionMode_2 | undefined;
4545 // @deprecated
4546 viewport?: IViewport | undefined;
4547}
4548
4549// @public (undocumented)
4550export interface IDetailsList extends IList {
4551 focusIndex: (index: number, forceIntoFirstElement?: boolean, measureItem?: (itemIndex: number) => number, scrollToMode?: ScrollToMode) => void;
4552 forceUpdate: () => void;
4553 getStartItemIndexInView: () => number;
4554 updateColumn: (column: IColumn, options: {
4555 width?: number;
4556 newColumnIndex?: number;
4557 }) => void;
4558}
4559
4560// @public (undocumented)
4561export interface IDetailsListCheckboxProps extends IDetailsCheckboxProps {
4562}
4563
4564// @public (undocumented)
4565export interface IDetailsListProps extends IBaseProps<IDetailsList>, IWithViewportProps {
4566 // @deprecated
4567 ariaLabel?: string;
4568 ariaLabelForGrid?: string;
4569 ariaLabelForListHeader?: string;
4570 ariaLabelForSelectAllCheckbox?: string;
4571 ariaLabelForSelectionColumn?: string;
4572 cellStyleProps?: ICellStyleProps;
4573 checkboxCellClassName?: string;
4574 checkboxVisibility?: CheckboxVisibility;
4575 checkButtonAriaLabel?: string;
4576 checkButtonGroupAriaLabel?: string;
4577 className?: string;
4578 columnReorderOptions?: IColumnReorderOptions;
4579 columns?: IColumn[];
4580 compact?: boolean;
4581 componentRef?: IRefObject<IDetailsList>;
4582 constrainMode?: ConstrainMode;
4583 disableSelectionZone?: boolean;
4584 dragDropEvents?: IDragDropEvents;
4585 enableUpdateAnimations?: boolean;
4586 enterModalSelectionOnTouch?: boolean;
4587 flexMargin?: number;
4588 focusZoneProps?: IFocusZoneProps;
4589 getCellValueKey?: (item?: any, index?: number, column?: IColumn) => string;
4590 getGroupHeight?: IGroupedListProps['getGroupHeight'];
4591 getKey?: (item: any, index?: number) => string;
4592 getRowAriaDescribedBy?: (item: any) => string;
4593 getRowAriaLabel?: (item: any) => string;
4594 groupProps?: IDetailsGroupRenderProps;
4595 groups?: IGroup[];
4596 indentWidth?: number;
4597 initialFocusedIndex?: number;
4598 isHeaderVisible?: boolean;
4599 isPlaceholderData?: boolean;
4600 items: any[];
4601 layoutMode?: DetailsListLayoutMode;
4602 listProps?: IListProps;
4603 minimumPixelsForDrag?: number;
4604 onActiveItemChanged?: (item?: any, index?: number, ev?: React_2.FocusEvent<HTMLElement>) => void;
4605 onColumnHeaderClick?: (ev?: React_2.MouseEvent<HTMLElement>, column?: IColumn) => void;
4606 onColumnHeaderContextMenu?: (column?: IColumn, ev?: React_2.MouseEvent<HTMLElement>) => void;
4607 onColumnResize?: (column?: IColumn, newWidth?: number, columnIndex?: number) => void;
4608 onDidUpdate?: (detailsList?: DetailsListBase) => void;
4609 onItemContextMenu?: (item?: any, index?: number, ev?: Event) => void | boolean;
4610 onItemInvoked?: (item?: any, index?: number, ev?: Event) => void;
4611 onRenderCheckbox?: IRenderFunction<IDetailsListCheckboxProps>;
4612 onRenderDetailsFooter?: IRenderFunction<IDetailsFooterProps>;
4613 onRenderDetailsHeader?: IRenderFunction<IDetailsHeaderProps>;
4614 onRenderField?: IRenderFunction<IDetailsColumnFieldProps>;
4615 onRenderItemColumn?: (item?: any, index?: number, column?: IColumn) => React_2.ReactNode;
4616 onRenderMissingItem?: (index?: number, rowProps?: IDetailsRowProps) => React_2.ReactNode;
4617 onRenderRow?: IRenderFunction<IDetailsRowProps>;
4618 onRowDidMount?: (item?: any, index?: number) => void;
4619 onRowWillUnmount?: (item?: any, index?: number) => void;
4620 onShouldVirtualize?: (props: IListProps) => boolean;
4621 role?: string;
4622 rowElementEventMap?: {
4623 eventName: string;
4624 callback: (context: IDragDropContext, event?: any) => void;
4625 }[];
4626 selection?: ISelection;
4627 selectionMode?: SelectionMode_2;
4628 selectionPreservedOnEmptyClick?: boolean;
4629 selectionZoneProps?: ISelectionZoneProps;
4630 setKey?: string;
4631 // @deprecated
4632 shouldApplyApplicationRole?: boolean;
4633 styles?: IStyleFunctionOrObject<IDetailsListStyleProps, IDetailsListStyles>;
4634 theme?: ITheme;
4635 useFastIcons?: boolean;
4636 usePageCache?: boolean;
4637 useReducedRowRenderer?: boolean;
4638 viewport?: IViewport;
4639}
4640
4641// @public (undocumented)
4642export interface IDetailsListState {
4643 // (undocumented)
4644 adjustedColumns: IColumn[];
4645 // (undocumented)
4646 focusedItemIndex: number;
4647 // (undocumented)
4648 getDerivedStateFromProps(nextProps: IDetailsListProps, previousState: IDetailsListState): IDetailsListState;
4649 // (undocumented)
4650 isCollapsed?: boolean;
4651 // (undocumented)
4652 isSizing?: boolean;
4653 // (undocumented)
4654 isSomeGroupExpanded?: boolean;
4655 // (undocumented)
4656 lastSelectionMode?: SelectionMode_2;
4657 // (undocumented)
4658 lastWidth?: number;
4659 version: {};
4660}
4661
4662// @public (undocumented)
4663export type IDetailsListStyleProps = Required<Pick<IDetailsListProps, 'theme'>> & Pick<IDetailsListProps, 'className'> & {
4664 isHorizontalConstrained?: boolean;
4665 compact?: boolean;
4666 isFixed?: boolean;
4667};
4668
4669// @public (undocumented)
4670export interface IDetailsListStyles {
4671 // (undocumented)
4672 contentWrapper: IStyle;
4673 // (undocumented)
4674 focusZone: IStyle;
4675 // (undocumented)
4676 headerWrapper: IStyle;
4677 // (undocumented)
4678 root: IStyle;
4679}
4680
4681// @public (undocumented)
4682export interface IDetailsRow {
4683}
4684
4685// @public (undocumented)
4686export interface IDetailsRowBaseProps extends Pick<IDetailsListProps, 'onRenderItemColumn' | 'getCellValueKey' | 'onRenderField'>, IBaseProps<IDetailsRow>, IDetailsItemProps {
4687 cellsByColumn?: {
4688 [columnKey: string]: React_2.ReactNode;
4689 };
4690 checkboxCellClassName?: string;
4691 checkButtonAriaLabel?: string;
4692 className?: string;
4693 collapseAllVisibility?: CollapseAllVisibility;
4694 compact?: boolean;
4695 componentRef?: IRefObject<IDetailsRow>;
4696 disabled?: boolean;
4697 dragDropEvents?: IDragDropEvents;
4698 dragDropHelper?: IDragDropHelper;
4699 enableUpdateAnimations?: boolean;
4700 eventsToRegister?: {
4701 eventName: string;
4702 callback: (item?: any, index?: number, event?: any) => void;
4703 }[];
4704 flatIndexOffset?: number;
4705 focusZoneProps?: IFocusZoneProps;
4706 getRowAriaDescribedBy?: (item: any) => string;
4707 getRowAriaDescription?: (item: any) => string;
4708 getRowAriaLabel?: (item: any) => string;
4709 group?: IGroup;
4710 id?: string;
4711 item: any;
4712 itemIndex: number;
4713 onDidMount?: (row?: DetailsRowBase) => void;
4714 onRenderCheck?: (props: IDetailsRowCheckProps) => JSX.Element;
4715 onRenderDetailsCheckbox?: IRenderFunction<IDetailsCheckboxProps>;
4716 onWillUnmount?: (row?: DetailsRowBase) => void;
4717 role?: string;
4718 rowFieldsAs?: IComponentAs<IDetailsRowFieldsProps>;
4719 styles?: IStyleFunctionOrObject<IDetailsRowStyleProps, IDetailsRowStyles>;
4720 theme?: ITheme;
4721 useFastIcons?: boolean;
4722 useReducedRowRenderer?: boolean;
4723}
4724
4725// @public (undocumented)
4726export interface IDetailsRowCheckProps extends React_2.HTMLAttributes<HTMLElement> {
4727 anySelected?: boolean;
4728 canSelect: boolean;
4729 checkClassName?: string;
4730 className?: string;
4731 compact?: boolean;
4732 isHeader?: boolean;
4733 isVisible?: boolean;
4734 onRenderDetailsCheckbox?: IRenderFunction<IDetailsCheckboxProps>;
4735 selected?: boolean;
4736 selectionMode?: SelectionMode_2;
4737 styles?: IStyleFunctionOrObject<IDetailsRowCheckStyleProps, IDetailsRowCheckStyles>;
4738 theme?: ITheme;
4739 useFastIcons?: boolean;
4740}
4741
4742// @public (undocumented)
4743export type IDetailsRowCheckStyleProps = Required<Pick<IDetailsRowCheckProps, 'theme'>> & Pick<IDetailsRowCheckProps, 'compact' | 'isHeader' | 'selected' | 'anySelected' | 'canSelect' | 'className'> & {
4744 isVisible?: boolean;
4745};
4746
4747// @public (undocumented)
4748export interface IDetailsRowCheckStyles {
4749 // @deprecated (undocumented)
4750 check: IStyle;
4751 // (undocumented)
4752 isDisabled: IStyle;
4753 // (undocumented)
4754 root: IStyle;
4755}
4756
4757// @public
4758export interface IDetailsRowFieldsProps extends IOverrideColumnRenderProps {
4759 cellStyleProps?: ICellStyleProps;
4760 columns: IColumn[];
4761 columnStartIndex: number;
4762 compact?: boolean;
4763 // (undocumented)
4764 enableUpdateAnimations?: boolean;
4765 isSelected?: boolean;
4766 item: any;
4767 itemIndex: number;
4768 rowClassNames: {
4769 [k in keyof Pick<IDetailsRowStyles, 'isMultiline' | 'isRowHeader' | 'cell' | 'cellAnimation' | 'cellPadded' | 'cellUnpadded' | 'fields'>]: string;
4770 };
4771 rowHeaderId?: string;
4772}
4773
4774// @public (undocumented)
4775export interface IDetailsRowProps extends IDetailsRowBaseProps {
4776 columns: IColumn[];
4777 selection: ISelection;
4778 selectionMode: SelectionMode_2;
4779}
4780
4781// @public (undocumented)
4782export interface IDetailsRowSelectionState {
4783 // (undocumented)
4784 isSelected: boolean;
4785 // (undocumented)
4786 isSelectionModal: boolean;
4787}
4788
4789// @public (undocumented)
4790export interface IDetailsRowState {
4791 // (undocumented)
4792 columnMeasureInfo?: {
4793 index: number;
4794 column: IColumn;
4795 onMeasureDone: (measuredWidth: number) => void;
4796 };
4797 // (undocumented)
4798 isDropping?: boolean;
4799 // (undocumented)
4800 selectionState: IDetailsRowSelectionState;
4801}
4802
4803// @public (undocumented)
4804export type IDetailsRowStyleProps = Required<Pick<IDetailsRowProps, 'theme'>> & Pick<IDetailsRowProps, 'disabled'> & {
4805 isSelected?: boolean;
4806 anySelected?: boolean;
4807 canSelect?: boolean;
4808 droppingClassName?: string;
4809 isCheckVisible?: boolean;
4810 isRowHeader?: boolean;
4811 checkboxCellClassName?: string;
4812 className?: string;
4813 compact?: boolean;
4814 cellStyleProps?: ICellStyleProps;
4815 enableUpdateAnimations?: boolean;
4816};
4817
4818// @public (undocumented)
4819export interface IDetailsRowStyles {
4820 // (undocumented)
4821 cell: IStyle;
4822 // (undocumented)
4823 cellAnimation: IStyle;
4824 // (undocumented)
4825 cellMeasurer: IStyle;
4826 // (undocumented)
4827 cellPadded: IStyle;
4828 // (undocumented)
4829 cellUnpadded: IStyle;
4830 // (undocumented)
4831 check: IStyle;
4832 // (undocumented)
4833 checkCell: IStyle;
4834 // (undocumented)
4835 checkCover: IStyle;
4836 // (undocumented)
4837 fields: IStyle;
4838 // (undocumented)
4839 isMultiline: IStyle;
4840 // (undocumented)
4841 isRowHeader: IStyle;
4842 // (undocumented)
4843 root: IStyle;
4844}
4845
4846// @public (undocumented)
4847export interface IDialog {
4848}
4849
4850// @public (undocumented)
4851export interface IDialogContent {
4852}
4853
4854// @public (undocumented)
4855export interface IDialogContentProps extends React_2.ClassAttributes<DialogContentBase> {
4856 className?: string;
4857 closeButtonAriaLabel?: string;
4858 componentRef?: IRefObject<IDialogContent>;
4859 draggableHeaderClassName?: string;
4860 isMultiline?: boolean;
4861 onDismiss?: (ev?: React_2.MouseEvent<HTMLButtonElement>) => any;
4862 responsiveMode?: ResponsiveMode;
4863 showCloseButton?: boolean;
4864 styles?: IStyleFunctionOrObject<IDialogContentStyleProps, IDialogContentStyles>;
4865 subText?: string;
4866 subTextId?: string;
4867 theme?: ITheme;
4868 title?: string | JSX.Element;
4869 // @deprecated
4870 titleId?: string;
4871 titleProps?: React_2.HTMLAttributes<HTMLDivElement>;
4872 topButtonsProps?: IButtonProps[];
4873 type?: DialogType;
4874}
4875
4876// @public (undocumented)
4877export interface IDialogContentStyleProps {
4878 className?: string;
4879 draggableHeaderClassName?: string;
4880 // (undocumented)
4881 hidden?: boolean;
4882 // (undocumented)
4883 isClose?: boolean;
4884 // (undocumented)
4885 isLargeHeader?: boolean;
4886 isMultiline?: boolean;
4887 theme: ITheme;
4888}
4889
4890// @public (undocumented)
4891export interface IDialogContentStyles {
4892 // (undocumented)
4893 button: IStyle;
4894 content: IStyle;
4895 // (undocumented)
4896 header: IStyle;
4897 // (undocumented)
4898 inner: IStyle;
4899 // (undocumented)
4900 innerContent: IStyle;
4901 // (undocumented)
4902 subText: IStyle;
4903 // (undocumented)
4904 title: IStyle;
4905 // (undocumented)
4906 topButton: IStyle;
4907}
4908
4909// @public (undocumented)
4910export interface IDialogFooter {
4911}
4912
4913// @public (undocumented)
4914export interface IDialogFooterProps extends React_2.Props<DialogFooterBase> {
4915 className?: string;
4916 componentRef?: IRefObject<IDialogFooter>;
4917 styles?: IStyleFunctionOrObject<IDialogFooterStyleProps, IDialogFooterStyles>;
4918 theme?: ITheme;
4919}
4920
4921// @public (undocumented)
4922export interface IDialogFooterStyleProps {
4923 className?: string;
4924 theme: ITheme;
4925}
4926
4927// @public (undocumented)
4928export interface IDialogFooterStyles {
4929 // (undocumented)
4930 action: IStyle;
4931 actions: IStyle;
4932 // (undocumented)
4933 actionsRight: IStyle;
4934}
4935
4936// @public (undocumented)
4937export interface IDialogProps extends React_2.ClassAttributes<DialogBase>, IWithResponsiveModeState, IAccessiblePopupProps {
4938 // @deprecated
4939 ariaDescribedById?: string;
4940 // @deprecated
4941 ariaLabelledById?: string;
4942 // @deprecated
4943 className?: string;
4944 // @deprecated (undocumented)
4945 componentRef?: IRefObject<IDialog>;
4946 // @deprecated
4947 containerClassName?: string;
4948 // @deprecated
4949 contentClassName?: string;
4950 dialogContentProps?: IDialogContentProps;
4951 hidden?: boolean;
4952 // @deprecated
4953 isBlocking?: boolean;
4954 // @deprecated
4955 isDarkOverlay?: boolean;
4956 // @deprecated
4957 isOpen?: boolean;
4958 maxWidth?: ICSSRule | ICSSPixelUnitRule;
4959 minWidth?: ICSSRule | ICSSPixelUnitRule;
4960 modalProps?: IModalProps;
4961 onDismiss?: (ev?: React_2.MouseEvent<HTMLButtonElement>) => any;
4962 // @deprecated
4963 onDismissed?: () => any;
4964 // @deprecated
4965 onLayerDidMount?: () => void;
4966 // @deprecated
4967 onLayerMounted?: () => void;
4968 styles?: IStyleFunctionOrObject<IDialogStyleProps, IDialogStyles>;
4969 // @deprecated
4970 subText?: string;
4971 theme?: ITheme;
4972 // @deprecated
4973 title?: string | JSX.Element;
4974 // @deprecated
4975 topButtonsProps?: IButtonProps[];
4976 // @deprecated
4977 type?: DialogType;
4978}
4979
4980// @public (undocumented)
4981export interface IDialogStyleProps {
4982 className?: string;
4983 // @deprecated
4984 containerClassName?: string;
4985 // @deprecated
4986 contentClassName?: string;
4987 dialogDefaultMaxWidth?: string | ICSSRule | ICSSPixelUnitRule;
4988 dialogDefaultMinWidth?: string | ICSSRule | ICSSPixelUnitRule;
4989 hidden?: boolean;
4990 theme: ITheme;
4991}
4992
4993// @public (undocumented)
4994export interface IDialogStyles {
4995 // (undocumented)
4996 main: IStyle;
4997 root: IStyle;
4998}
4999
5000export { IDictionary }
5001
5002export { IDisposable }
5003
5004// @public (undocumented)
5005export interface IDividerAsProps extends IIconProps {
5006 item?: IBreadcrumbItem;
5007}
5008
5009// @public (undocumented)
5010export interface IDocumentCard {
5011 focus: () => void;
5012}
5013
5014// @public (undocumented)
5015export interface IDocumentCardActions {
5016}
5017
5018// Warning: (ae-forgotten-export) The symbol "DocumentCardActionsBase" needs to be exported by the entry point index.d.ts
5019//
5020// @public (undocumented)
5021export interface IDocumentCardActionsProps extends React_2.ClassAttributes<DocumentCardActionsBase> {
5022 actions: IButtonProps[];
5023 className?: string;
5024 componentRef?: IRefObject<IDocumentCardActions>;
5025 styles?: IStyleFunctionOrObject<IDocumentCardActionsStyleProps, IDocumentCardActionsStyles>;
5026 theme?: ITheme;
5027 views?: Number;
5028}
5029
5030// @public (undocumented)
5031export interface IDocumentCardActionsStyleProps {
5032 className?: string;
5033 theme: ITheme;
5034}
5035
5036// @public (undocumented)
5037export interface IDocumentCardActionsStyles {
5038 // (undocumented)
5039 action: IStyle;
5040 // (undocumented)
5041 root: IStyle;
5042 // (undocumented)
5043 views: IStyle;
5044 // (undocumented)
5045 viewsIcon: IStyle;
5046}
5047
5048// @public (undocumented)
5049export interface IDocumentCardActivity {
5050}
5051
5052// @public (undocumented)
5053export interface IDocumentCardActivityPerson {
5054 allowPhoneInitials?: boolean;
5055 initials?: string;
5056 initialsColor?: PersonaInitialsColor;
5057 name: string;
5058 profileImageSrc: string;
5059}
5060
5061// Warning: (ae-forgotten-export) The symbol "DocumentCardActivityBase" needs to be exported by the entry point index.d.ts
5062//
5063// @public (undocumented)
5064export interface IDocumentCardActivityProps extends React_2.ClassAttributes<DocumentCardActivityBase> {
5065 activity: string;
5066 className?: string;
5067 componentRef?: IRefObject<IDocumentCardActivity>;
5068 people: IDocumentCardActivityPerson[];
5069 styles?: IStyleFunctionOrObject<IDocumentCardActivityStyleProps, IDocumentCardActivityStyles>;
5070 theme?: ITheme;
5071}
5072
5073// @public (undocumented)
5074export interface IDocumentCardActivityStyleProps {
5075 className?: string;
5076 multiplePeople?: boolean;
5077 theme: ITheme;
5078}
5079
5080// @public (undocumented)
5081export interface IDocumentCardActivityStyles {
5082 // (undocumented)
5083 activity: IStyle;
5084 // (undocumented)
5085 avatar: IStyle;
5086 // (undocumented)
5087 avatars: IStyle;
5088 // (undocumented)
5089 details: IStyle;
5090 // (undocumented)
5091 name: IStyle;
5092 // (undocumented)
5093 root: IStyle;
5094}
5095
5096// @public (undocumented)
5097export interface IDocumentCardContext {
5098 // (undocumented)
5099 role?: string;
5100 // (undocumented)
5101 tabIndex?: number;
5102}
5103
5104// @public (undocumented)
5105export interface IDocumentCardDetails {
5106}
5107
5108// Warning: (ae-forgotten-export) The symbol "DocumentCardDetailsBase" needs to be exported by the entry point index.d.ts
5109//
5110// @public (undocumented)
5111export interface IDocumentCardDetailsProps extends React_2.Props<DocumentCardDetailsBase> {
5112 className?: string;
5113 componentRef?: IRefObject<IDocumentCardDetails>;
5114 styles?: IStyleFunctionOrObject<IDocumentCardDetailsStyleProps, IDocumentCardDetailsStyles>;
5115 theme?: ITheme;
5116}
5117
5118// @public (undocumented)
5119export interface IDocumentCardDetailsStyleProps {
5120 className?: string;
5121 theme: ITheme;
5122}
5123
5124// @public (undocumented)
5125export interface IDocumentCardDetailsStyles {
5126 // (undocumented)
5127 root: IStyle;
5128}
5129
5130// @public (undocumented)
5131export interface IDocumentCardImage {
5132}
5133
5134// @public (undocumented)
5135export interface IDocumentCardImageProps extends IBaseProps<{}> {
5136 className?: string;
5137 componentRef?: IRefObject<IDocumentCardImage>;
5138 height?: number;
5139 iconProps?: IIconProps;
5140 imageFit?: ImageFit;
5141 imageSrc?: string;
5142 styles?: IStyleFunctionOrObject<IDocumentCardImageStyleProps, IDocumentCardImageStyles>;
5143 theme?: ITheme;
5144 width?: number;
5145}
5146
5147// @public (undocumented)
5148export interface IDocumentCardImageStyleProps extends IDocumentCardImageProps {
5149}
5150
5151// @public (undocumented)
5152export interface IDocumentCardImageStyles {
5153 // (undocumented)
5154 centeredIcon: IStyle;
5155 // (undocumented)
5156 centeredIconWrapper: IStyle;
5157 // (undocumented)
5158 cornerIcon: IStyle;
5159 // (undocumented)
5160 root: IStyle;
5161}
5162
5163// @public (undocumented)
5164export interface IDocumentCardLocation {
5165}
5166
5167// Warning: (ae-forgotten-export) The symbol "DocumentCardLocationBase" needs to be exported by the entry point index.d.ts
5168//
5169// @public (undocumented)
5170export interface IDocumentCardLocationProps extends React_2.ClassAttributes<DocumentCardLocationBase> {
5171 ariaLabel?: string;
5172 className?: string;
5173 componentRef?: IRefObject<IDocumentCardLocation>;
5174 location: string;
5175 locationHref?: string;
5176 onClick?: (ev?: React_2.MouseEvent<HTMLElement>) => void;
5177 styles?: IStyleFunctionOrObject<IDocumentCardLocationStyleProps, IDocumentCardLocationStyles>;
5178 theme?: ITheme;
5179}
5180
5181// @public (undocumented)
5182export interface IDocumentCardLocationStyleProps {
5183 className?: string;
5184 theme: ITheme;
5185}
5186
5187// @public (undocumented)
5188export interface IDocumentCardLocationStyles {
5189 // (undocumented)
5190 root: IStyle;
5191}
5192
5193// @public (undocumented)
5194export interface IDocumentCardLogo {
5195}
5196
5197// Warning: (ae-forgotten-export) The symbol "DocumentCardLogoBase" needs to be exported by the entry point index.d.ts
5198//
5199// @public (undocumented)
5200export interface IDocumentCardLogoProps extends React_2.ClassAttributes<DocumentCardLogoBase> {
5201 className?: string;
5202 componentRef?: IRefObject<IDocumentCardLogo>;
5203 logoIcon: string;
5204 logoName?: string;
5205 styles?: IStyleFunctionOrObject<IDocumentCardLogoStyleProps, IDocumentCardLogoStyles>;
5206 theme?: ITheme;
5207}
5208
5209// @public (undocumented)
5210export interface IDocumentCardLogoStyleProps {
5211 className?: string;
5212 theme: ITheme;
5213}
5214
5215// @public (undocumented)
5216export interface IDocumentCardLogoStyles {
5217 // (undocumented)
5218 root: IStyle;
5219}
5220
5221// @public (undocumented)
5222export interface IDocumentCardPreview {
5223}
5224
5225// @public (undocumented)
5226export interface IDocumentCardPreviewImage {
5227 // @deprecated
5228 accentColor?: string;
5229 componentRef?: IRefObject<{}>;
5230 // @deprecated (undocumented)
5231 errorImageSrc?: string;
5232 height?: number;
5233 iconSrc?: string;
5234 imageFit?: ImageFit;
5235 linkProps?: ILinkProps;
5236 name?: string;
5237 previewIconContainerClass?: string;
5238 previewIconProps?: IIconProps;
5239 previewImageSrc?: string;
5240 // @deprecated
5241 url?: string;
5242 width?: number;
5243}
5244
5245// @public (undocumented)
5246export interface IDocumentCardPreviewProps extends IBaseProps<{}> {
5247 className?: string;
5248 componentRef?: IRefObject<IDocumentCardPreview>;
5249 getOverflowDocumentCountText?: (overflowCount: number) => string;
5250 maxDisplayCount?: number;
5251 previewImages: IDocumentCardPreviewImage[];
5252 styles?: IStyleFunctionOrObject<IDocumentCardPreviewStyleProps, IDocumentCardPreviewStyles>;
5253 theme?: ITheme;
5254}
5255
5256// @public (undocumented)
5257export interface IDocumentCardPreviewStyleProps {
5258 className?: string;
5259 isFileList?: boolean;
5260 theme: ITheme;
5261}
5262
5263// @public (undocumented)
5264export interface IDocumentCardPreviewStyles {
5265 // (undocumented)
5266 fileList: IStyle;
5267 // (undocumented)
5268 fileListIcon: IStyle;
5269 // (undocumented)
5270 fileListLink: IStyle;
5271 // (undocumented)
5272 fileListOverflowText: IStyle;
5273 // (undocumented)
5274 icon: IStyle;
5275 // (undocumented)
5276 previewIcon: IStyle;
5277 // (undocumented)
5278 root: IStyle;
5279}
5280
5281// @public (undocumented)
5282export interface IDocumentCardProps extends IBaseProps<IDocumentCard>, React_2.HTMLAttributes<HTMLDivElement> {
5283 // @deprecated
5284 accentColor?: string;
5285 children?: React_2.ReactNode;
5286 className?: string;
5287 componentRef?: IRefObject<IDocumentCard>;
5288 onClick?: (ev?: React_2.SyntheticEvent<HTMLElement>) => void;
5289 onClickHref?: string;
5290 onClickTarget?: string;
5291 role?: string;
5292 styles?: IStyleFunctionOrObject<IDocumentCardStyleProps, IDocumentCardStyles>;
5293 theme?: ITheme;
5294 type?: DocumentCardType;
5295}
5296
5297// @public (undocumented)
5298export interface IDocumentCardStatus {
5299}
5300
5301// Warning: (ae-forgotten-export) The symbol "DocumentCardStatusBase" needs to be exported by the entry point index.d.ts
5302//
5303// @public (undocumented)
5304export interface IDocumentCardStatusProps extends React_2.Props<DocumentCardStatusBase> {
5305 className?: string;
5306 componentRef?: IRefObject<IDocumentCardStatus>;
5307 status: string;
5308 statusIcon?: string;
5309 styles?: IStyleFunctionOrObject<IDocumentCardStatusStyleProps, IDocumentCardStatusStyles>;
5310 theme?: ITheme;
5311}
5312
5313// @public (undocumented)
5314export interface IDocumentCardStatusStyleProps {
5315 className?: string;
5316 theme: ITheme;
5317}
5318
5319// @public (undocumented)
5320export interface IDocumentCardStatusStyles {
5321 // (undocumented)
5322 root: IStyle;
5323}
5324
5325// @public (undocumented)
5326export interface IDocumentCardStyleProps {
5327 actionable?: boolean;
5328 className?: string;
5329 compact?: boolean;
5330 theme: ITheme;
5331}
5332
5333// @public (undocumented)
5334export interface IDocumentCardStyles {
5335 // (undocumented)
5336 root: IStyle;
5337}
5338
5339// @public (undocumented)
5340export interface IDocumentCardTitle {
5341}
5342
5343// Warning: (ae-forgotten-export) The symbol "DocumentCardTitleBase" needs to be exported by the entry point index.d.ts
5344//
5345// @public (undocumented)
5346export interface IDocumentCardTitleProps extends React_2.ClassAttributes<DocumentCardTitleBase> {
5347 className?: string;
5348 componentRef?: IRefObject<IDocumentCardTitle>;
5349 shouldTruncate?: boolean;
5350 showAsSecondaryTitle?: boolean;
5351 styles?: IStyleFunctionOrObject<IDocumentCardTitleStyleProps, IDocumentCardTitleStyles>;
5352 theme?: ITheme;
5353 title: string;
5354}
5355
5356// @public (undocumented)
5357export interface IDocumentCardTitleStyleProps {
5358 className?: string;
5359 showAsSecondaryTitle?: boolean;
5360 theme: ITheme;
5361}
5362
5363// @public (undocumented)
5364export interface IDocumentCardTitleStyles {
5365 // (undocumented)
5366 root: IStyle;
5367}
5368
5369// @public
5370export interface IDragDropContext {
5371 data: any;
5372 index: number;
5373 isGroup?: boolean;
5374}
5375
5376// @public (undocumented)
5377export interface IDragDropEvent {
5378 isHandled?: boolean;
5379}
5380
5381// @public
5382export interface IDragDropEvents {
5383 canDrag?: (item?: any) => boolean;
5384 canDragGroups?: boolean;
5385 canDrop?: (dropContext?: IDragDropContext, dragContext?: IDragDropContext) => boolean;
5386 onDragEnd?: (item?: any, event?: DragEvent) => void;
5387 onDragEnter?: (item?: any, event?: DragEvent) => string;
5388 onDragLeave?: (item?: any, event?: DragEvent) => void;
5389 onDragOver?: (item?: any, event?: DragEvent) => void;
5390 onDragStart?: (item?: any, itemIndex?: number, selectedItems?: any[], event?: MouseEvent) => void;
5391 onDrop?: (item?: any, event?: DragEvent) => void;
5392}
5393
5394// @public
5395export interface IDragDropHelper {
5396 dispose: () => void;
5397 subscribe: (root: HTMLElement, events: EventGroup, options: IDragDropOptions) => {
5398 key: string;
5399 dispose: () => void;
5400 };
5401 unsubscribe: (root: HTMLElement, key: string) => void;
5402}
5403
5404// @public (undocumented)
5405export interface IDragDropHelperParams {
5406 // (undocumented)
5407 minimumPixelsForDrag?: number;
5408 // (undocumented)
5409 selection: ISelection;
5410}
5411
5412// @public
5413export interface IDragDropOptions {
5414 canDrag?: (item?: any) => boolean;
5415 canDrop?: (dropContext?: IDragDropContext, dragContext?: IDragDropContext) => boolean;
5416 context: IDragDropContext;
5417 eventMap?: {
5418 eventName: string;
5419 callback: (context: IDragDropContext, event?: any) => void;
5420 }[];
5421 key?: string;
5422 onDragEnd?: (item?: any, event?: DragEvent) => void;
5423 onDragOver?: (item?: any, event?: DragEvent) => void;
5424 onDragStart?: (item?: any, itemIndex?: number, selectedItems?: any[], event?: MouseEvent) => void;
5425 onDrop?: (item?: any, event?: DragEvent) => void;
5426 selectionIndex: number;
5427 updateDropState: (isDropping: boolean, event: DragEvent) => void;
5428}
5429
5430// @public (undocumented)
5431export interface IDragDropTarget {
5432 // (undocumented)
5433 key: string;
5434 // (undocumented)
5435 options: IDragDropOptions;
5436 // (undocumented)
5437 root: HTMLElement;
5438}
5439
5440// @public (undocumented)
5441export interface IDragOptions {
5442 closeMenuItemText: string;
5443 dragHandleSelector?: string;
5444 keepInBounds?: boolean;
5445 keyboardMoveIconProps?: IIconProps;
5446 menu: React_2.FunctionComponent<IContextualMenuProps>;
5447 moveMenuItemText: string;
5448}
5449
5450// @public (undocumented)
5451export interface IDropdown {
5452 dismissMenu: () => void;
5453 // (undocumented)
5454 focus: (shouldOpenOnFocus?: boolean) => void;
5455 readonly selectedOptions: IDropdownOption[];
5456}
5457
5458// @public (undocumented)
5459export interface IDropdownOption<T = any> extends ISelectableOption<T> {
5460 // @deprecated (undocumented)
5461 isSelected?: boolean;
5462}
5463
5464// @public (undocumented)
5465export interface IDropdownProps extends ISelectableDroppableTextProps<IDropdown, HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
5466 defaultSelectedKeys?: string[] | number[];
5467 dropdownWidth?: number | 'auto';
5468 // @deprecated (undocumented)
5469 isDisabled?: boolean;
5470 multiSelectDelimiter?: string;
5471 notifyOnReselect?: boolean;
5472 onChange?: (event: React_2.FormEvent<HTMLDivElement>, option?: IDropdownOption, index?: number) => void;
5473 // @deprecated (undocumented)
5474 onChanged?: (option: IDropdownOption, index?: number) => void;
5475 onRenderCaretDown?: IRenderFunction<IDropdownProps>;
5476 onRenderLabel?: IRenderFunction<IDropdownProps>;
5477 // @deprecated
5478 onRenderPlaceHolder?: IRenderFunction<IDropdownProps>;
5479 onRenderPlaceholder?: IRenderFunction<IDropdownProps>;
5480 onRenderTitle?: IRenderFunction<IDropdownOption[]>;
5481 options: IDropdownOption[];
5482 // @deprecated
5483 placeHolder?: string;
5484 responsiveMode?: ResponsiveMode;
5485 selectedKeys?: string[] | number[] | null;
5486 styles?: IStyleFunctionOrObject<IDropdownStyleProps, IDropdownStyles>;
5487 theme?: ITheme;
5488}
5489
5490// @public
5491export type IDropdownStyleProps = Pick<IDropdownProps, 'theme' | 'className' | 'disabled' | 'required'> & {
5492 hasError: boolean;
5493 hasLabel: boolean;
5494 isOpen: boolean;
5495 isRenderingPlaceholder: boolean;
5496 panelClassName?: string;
5497 calloutClassName?: string;
5498 calloutRenderEdge?: RectangleEdge;
5499};
5500
5501// @public
5502export interface IDropdownStyles {
5503 callout: IStyle;
5504 caretDown: IStyle;
5505 caretDownWrapper: IStyle;
5506 dropdown: IStyle;
5507 dropdownDivider: IStyle;
5508 dropdownDividerHidden: IStyle;
5509 dropdownItem: IStyle;
5510 dropdownItemDisabled: IStyle;
5511 dropdownItemHeader: IStyle;
5512 dropdownItemHeaderHidden: IStyle;
5513 dropdownItemHidden: IStyle;
5514 dropdownItems: IStyle;
5515 dropdownItemSelected: IStyle;
5516 dropdownItemSelectedAndDisabled: IStyle;
5517 dropdownItemsWrapper: IStyle;
5518 dropdownOptionText: IStyle;
5519 errorMessage: IStyle;
5520 label: IStyle;
5521 // @deprecated
5522 panel: IStyle;
5523 root: IStyle;
5524 subComponentStyles: IDropdownSubComponentStyles;
5525 title: IStyle;
5526}
5527
5528// @public (undocumented)
5529export interface IDropdownSubComponentStyles {
5530 label: IStyleFunctionOrObject<ILabelStyleProps, ILabelStyles>;
5531 multiSelectItem: IStyleFunctionOrObject<ICheckboxStyleProps, ICheckboxStyles>;
5532 panel: IStyleFunctionOrObject<IPanelStyleProps, IPanelStyles>;
5533}
5534
5535// @public (undocumented)
5536export interface IDropHintDetails {
5537 // (undocumented)
5538 dropHintElementRef: HTMLElement;
5539 // (undocumented)
5540 endX: number;
5541 // (undocumented)
5542 originX: number;
5543 // (undocumented)
5544 startX: number;
5545}
5546
5547// @public (undocumented)
5548export interface IEditingSelectedPeopleItemProps extends ISelectedPeopleItemProps {
5549 // (undocumented)
5550 floatingPickerProps?: IBaseFloatingPickerProps<IPersonaProps>;
5551 // (undocumented)
5552 getEditingItemText?: (item: IExtendedPersonaProps) => string;
5553 // (undocumented)
5554 onEditingComplete: (oldItem: any, newItem: any) => void;
5555 // (undocumented)
5556 onRenderFloatingPicker?: React_2.ComponentType<IBaseFloatingPickerProps<IPersonaProps>>;
5557}
5558
5559// @public (undocumented)
5560export interface IEditingSelectedPeopleItemStyles {
5561 // (undocumented)
5562 input: IStyle;
5563 // (undocumented)
5564 root: IStyle;
5565}
5566
5567// @public (undocumented)
5568export interface IEditingSelectedPeopleItemStylesProps {
5569}
5570
5571export { IEffects }
5572
5573// @public
5574export interface IElementPosition {
5575 // (undocumented)
5576 alignmentEdge: RectangleEdge | undefined;
5577 // (undocumented)
5578 elementRectangle: Rectangle;
5579 // (undocumented)
5580 forcedInBounds?: boolean;
5581 // (undocumented)
5582 targetEdge: RectangleEdge;
5583}
5584
5585// @public (undocumented)
5586export interface IElementPositionInfo extends IElementPosition {
5587 // (undocumented)
5588 targetRectangle: Rectangle;
5589}
5590
5591// @public
5592export interface IEntityRect {
5593 // (undocumented)
5594 height?: number;
5595 // (undocumented)
5596 width?: number;
5597}
5598
5599export { IEventRecord }
5600
5601export { IEventRecordList }
5602
5603export { IEventRecordsByName }
5604
5605// @public (undocumented)
5606export interface IExpandingCard {
5607}
5608
5609// Warning: (ae-forgotten-export) The symbol "IBaseCardProps" needs to be exported by the entry point index.d.ts
5610//
5611// @public
5612export interface IExpandingCardProps extends IBaseCardProps<IExpandingCard, IExpandingCardStyles, IExpandingCardStyleProps> {
5613 compactCardHeight?: number;
5614 expandedCardHeight?: number;
5615 mode?: ExpandingCardMode;
5616 onRenderCompactCard?: IRenderFunction<any>;
5617 onRenderExpandedCard?: IRenderFunction<any>;
5618}
5619
5620// @public (undocumented)
5621export interface IExpandingCardState {
5622 // (undocumented)
5623 firstFrameRendered: boolean;
5624 // (undocumented)
5625 needsScroll: boolean;
5626}
5627
5628// Warning: (ae-forgotten-export) The symbol "IBaseCardStyleProps" needs to be exported by the entry point index.d.ts
5629//
5630// @public (undocumented)
5631export interface IExpandingCardStyleProps extends IBaseCardStyleProps {
5632 compactCardHeight?: number;
5633 expandedCardFirstFrameRendered?: boolean;
5634 expandedCardHeight?: number;
5635 needsScroll?: boolean;
5636}
5637
5638// Warning: (ae-forgotten-export) The symbol "IBaseCardStyles" needs to be exported by the entry point index.d.ts
5639//
5640// @public (undocumented)
5641export interface IExpandingCardStyles extends IBaseCardStyles {
5642 compactCard?: IStyle;
5643 expandedCard?: IStyle;
5644 expandedCardScroll?: IStyle;
5645}
5646
5647// @public (undocumented)
5648export interface IExtendedPeoplePickerProps extends IBaseExtendedPickerProps<IPersonaProps> {
5649}
5650
5651// @public (undocumented)
5652export interface IExtendedPersonaProps extends IPersonaProps {
5653 // (undocumented)
5654 blockRecipientRemoval?: boolean;
5655 // (undocumented)
5656 canExpand?: boolean;
5657 // (undocumented)
5658 isEditing?: boolean;
5659 // (undocumented)
5660 isValid: boolean;
5661 // (undocumented)
5662 key?: React_2.Key;
5663 // (undocumented)
5664 shouldBlockSelection?: boolean;
5665}
5666
5667// @public (undocumented)
5668export interface IFabricProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
5669 applyTheme?: boolean;
5670 applyThemeToBody?: boolean;
5671 as?: React_2.ElementType;
5672 // (undocumented)
5673 componentRef?: IRefObject<{}>;
5674 dir?: 'rtl' | 'ltr' | 'auto';
5675 styles?: IStyleFunctionOrObject<IFabricStyleProps, IFabricStyles>;
5676 theme?: ITheme;
5677}
5678
5679// @public (undocumented)
5680export interface IFabricStyleProps extends IFabricProps {
5681 // (undocumented)
5682 theme: ITheme;
5683}
5684
5685// @public (undocumented)
5686export interface IFabricStyles {
5687 // (undocumented)
5688 bodyThemed: IStyle;
5689 // (undocumented)
5690 root: IStyle;
5691}
5692
5693// @public (undocumented)
5694export interface IFacepile {
5695}
5696
5697// @public (undocumented)
5698export interface IFacepilePersona extends React_2.ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement> {
5699 allowPhoneInitials?: boolean;
5700 data?: any;
5701 imageInitials?: string;
5702 imageUrl?: string;
5703 initialsColor?: PersonaInitialsColor;
5704 keytipProps?: IKeytipProps;
5705 onClick?: (ev?: React_2.MouseEvent<HTMLElement>, persona?: IFacepilePersona) => void;
5706 onMouseMove?: (ev?: React_2.MouseEvent<HTMLElement>, persona?: IFacepilePersona) => void;
5707 onMouseOut?: (ev?: React_2.MouseEvent<HTMLElement>, persona?: IFacepilePersona) => void;
5708 personaName?: string;
5709}
5710
5711// @public (undocumented)
5712export interface IFacepileProps extends React_2.ClassAttributes<FacepileBase> {
5713 addButtonProps?: IButtonProps;
5714 ariaDescription?: string;
5715 ariaLabel?: string;
5716 // @deprecated
5717 chevronButtonProps?: IButtonProps;
5718 className?: string;
5719 componentRef?: IRefObject<IFacepile>;
5720 getPersonaProps?: (persona: IFacepilePersona) => IPersonaSharedProps;
5721 maxDisplayablePersonas?: number;
5722 onRenderPersona?: IRenderFunction<IFacepilePersona>;
5723 onRenderPersonaCoin?: IRenderFunction<IFacepilePersona>;
5724 onRenderPersonaWrapper?: IRenderFunction<IFacepilePersona>;
5725 overflowButtonProps?: IButtonProps;
5726 overflowButtonType?: OverflowButtonType;
5727 overflowPersonas?: IFacepilePersona[];
5728 personas: IFacepilePersona[];
5729 personaSize?: PersonaSize;
5730 showAddButton?: boolean;
5731 showTooltip?: boolean;
5732 styles?: IStyleFunctionOrObject<IFacepileStyleProps, IFacepileStyles>;
5733 theme?: ITheme;
5734}
5735
5736// @public (undocumented)
5737export interface IFacepileStyleProps {
5738 className?: string;
5739 spacingAroundItemButton?: number;
5740 theme: ITheme;
5741}
5742
5743// @public (undocumented)
5744export interface IFacepileStyles {
5745 // (undocumented)
5746 addButton: IStyle;
5747 // (undocumented)
5748 descriptiveOverflowButton: IStyle;
5749 // (undocumented)
5750 itemButton: IStyle;
5751 // (undocumented)
5752 itemContainer: IStyle;
5753 // (undocumented)
5754 member: IStyle;
5755 // (undocumented)
5756 members: IStyle;
5757 // (undocumented)
5758 overflowButton: IStyle;
5759 // (undocumented)
5760 overflowInitialsIcon: IStyle;
5761 root: IStyle;
5762 // (undocumented)
5763 screenReaderOnly: IStyle;
5764}
5765
5766export { IFitContentToBoundsOptions }
5767
5768// @public (undocumented)
5769export interface IFocusTrapCalloutProps extends ICalloutProps {
5770 focusTrapProps?: IFocusTrapZoneProps;
5771}
5772
5773// @public (undocumented)
5774export interface IFocusTrapZone {
5775 focus: () => void;
5776}
5777
5778// @public (undocumented)
5779export interface IFocusTrapZoneProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
5780 ariaLabelledBy?: string;
5781 componentRef?: IRefObject<IFocusTrapZone>;
5782 disabled?: boolean;
5783 disableFirstFocus?: boolean;
5784 elementToFocusOnDismiss?: HTMLElement;
5785 enableAriaHiddenSiblings?: boolean;
5786 // @deprecated
5787 firstFocusableSelector?: string | (() => string);
5788 firstFocusableTarget?: string | ((element: HTMLElement) => HTMLElement | null);
5789 focusPreviouslyFocusedInnerElement?: boolean;
5790 forceFocusInsideTrap?: boolean;
5791 ignoreExternalFocusing?: boolean;
5792 isClickableOutsideFocusTrap?: boolean;
5793}
5794
5795export { IFocusZone }
5796
5797export { IFocusZoneProps }
5798
5799export { IFontFace }
5800
5801// @public
5802export interface IFontIconProps extends React_2.HTMLAttributes<HTMLElement> {
5803 className?: string;
5804 iconName?: string;
5805}
5806
5807export { IFontStyles }
5808
5809export { IFontWeight }
5810
5811export { iframeProperties }
5812
5813// @public
5814export interface IGap extends IShimmerElement {
5815 height?: number;
5816 width?: number | string;
5817}
5818
5819// @public (undocumented)
5820export interface IGenericItem {
5821 // (undocumented)
5822 imageInitials: string;
5823 // (undocumented)
5824 primaryText: string;
5825 // (undocumented)
5826 ValidationState: ValidationState;
5827}
5828
5829export { IGetFocusStylesOptions }
5830
5831// @public (undocumented)
5832export interface IGroup {
5833 ariaLabel?: string;
5834 children?: IGroup[];
5835 count: number;
5836 data?: any;
5837 hasMoreData?: boolean;
5838 isCollapsed?: boolean;
5839 isDropEnabled?: boolean;
5840 // @deprecated (undocumented)
5841 isSelected?: boolean;
5842 isShowingAll?: boolean;
5843 key: string;
5844 level?: number;
5845 name: string;
5846 startIndex: number;
5847}
5848
5849// @public (undocumented)
5850export interface IGroupDividerProps {
5851 ariaColSpan?: number;
5852 ariaPosInSet?: number;
5853 ariaRowCount?: number;
5854 ariaRowIndex?: number;
5855 ariaSetSize?: number;
5856 className?: string;
5857 compact?: boolean;
5858 // (undocumented)
5859 componentRef?: IRefObject<{}>;
5860 // @deprecated
5861 expandButtonProps?: React_2.HTMLAttributes<HTMLButtonElement>;
5862 footerText?: string;
5863 group?: IGroup;
5864 groupIndex?: number;
5865 groupLevel?: number;
5866 groups?: IGroup[];
5867 indentWidth?: number;
5868 isCollapsedGroupSelectVisible?: boolean;
5869 isGroupLoading?: (group: IGroup) => boolean;
5870 // @deprecated (undocumented)
5871 isSelected?: boolean;
5872 loadingText?: string;
5873 onGroupHeaderClick?: (group: IGroup) => void;
5874 onGroupHeaderKeyUp?: (ev: React_2.KeyboardEvent<HTMLElement>, group?: IGroup) => void;
5875 onRenderTitle?: IRenderFunction<IGroupHeaderProps>;
5876 onToggleCollapse?: (group: IGroup) => void;
5877 onToggleSelectGroup?: (group: IGroup) => void;
5878 onToggleSummarize?: (group: IGroup) => void;
5879 selected?: boolean;
5880 selectionMode?: SelectionMode_2;
5881 showAllLinkText?: string;
5882 theme?: ITheme;
5883 viewport?: IViewport;
5884}
5885
5886// @public (undocumented)
5887export interface IGroupedList extends IList {
5888 forceUpdate: () => void;
5889 toggleCollapseAll: (allCollapsed: boolean) => void;
5890}
5891
5892// @public (undocumented)
5893export interface IGroupedListProps extends React_2.ClassAttributes<GroupedListBase> {
5894 className?: string;
5895 compact?: boolean;
5896 componentRef?: IRefObject<IGroupedList>;
5897 dragDropEvents?: IDragDropEvents;
5898 dragDropHelper?: IDragDropHelper;
5899 eventsToRegister?: {
5900 eventName: string;
5901 callback: (context: IDragDropContext, event?: any) => void;
5902 }[];
5903 focusZoneProps?: IFocusZoneProps;
5904 getGroupHeight?: (group: IGroup, groupIndex: number) => number;
5905 groupProps?: IGroupRenderProps;
5906 groups?: IGroup[];
5907 items: any[];
5908 listProps?: IListProps;
5909 onGroupExpandStateChanged?: (isSomeGroupExpanded: boolean) => void;
5910 onRenderCell: (nestingDepth?: number, item?: any, index?: number) => React_2.ReactNode;
5911 onShouldVirtualize?: (props: IListProps) => boolean;
5912 role?: string;
5913 rootListProps?: IListProps;
5914 selection?: ISelection;
5915 selectionMode?: SelectionMode_2;
5916 styles?: IStyleFunctionOrObject<IGroupedListStyleProps, IGroupedListStyles>;
5917 theme?: ITheme;
5918 usePageCache?: boolean;
5919 viewport?: IViewport;
5920}
5921
5922// @public (undocumented)
5923export interface IGroupedListSectionProps extends React_2.ClassAttributes<GroupedListSection> {
5924 compact?: boolean;
5925 componentRef?: () => void;
5926 dragDropEvents?: IDragDropEvents;
5927 dragDropHelper?: IDragDropHelper;
5928 eventsToRegister?: {
5929 eventName: string;
5930 callback: (context: IDragDropContext, event?: any) => void;
5931 }[];
5932 footerProps?: IGroupFooterProps;
5933 getGroupItemLimit?: (group: IGroup) => number;
5934 group?: IGroup;
5935 groupedListClassNames?: IProcessedStyleSet<IGroupedListStyles>;
5936 groupIndex?: number;
5937 groupNestingDepth?: number;
5938 groupProps?: IGroupRenderProps;
5939 groups?: IGroup[];
5940 headerProps?: IGroupHeaderProps;
5941 items: any[];
5942 listProps?: IListProps;
5943 onRenderCell: (nestingDepth?: number, item?: any, index?: number) => React_2.ReactNode;
5944 onRenderGroupFooter?: IRenderFunction<IGroupFooterProps>;
5945 onRenderGroupHeader?: IRenderFunction<IGroupHeaderProps>;
5946 onRenderGroupShowAll?: IRenderFunction<IGroupShowAllProps>;
5947 onShouldVirtualize?: (props: IListProps) => boolean;
5948 selection?: ISelection;
5949 selectionMode?: SelectionMode_2;
5950 showAllProps?: IGroupShowAllProps;
5951 viewport?: IViewport;
5952}
5953
5954// @public (undocumented)
5955export interface IGroupedListSectionState {
5956 // (undocumented)
5957 isDropping?: boolean;
5958 // (undocumented)
5959 isSelected?: boolean;
5960}
5961
5962// @public (undocumented)
5963export interface IGroupedListState {
5964 // (undocumented)
5965 compact?: IGroupedListProps['compact'];
5966 // (undocumented)
5967 groups?: IGroup[];
5968 // (undocumented)
5969 items?: IGroupedListProps['items'];
5970 // (undocumented)
5971 listProps?: IGroupedListProps['listProps'];
5972 // (undocumented)
5973 selectionMode?: IGroupedListProps['selectionMode'];
5974 // (undocumented)
5975 version: {};
5976}
5977
5978// @public (undocumented)
5979export type IGroupedListStyleProps = Required<Pick<IGroupedListProps, 'theme'>> & Pick<IGroupedListProps, 'className'> & {
5980 isCollapsed?: boolean;
5981 compact?: boolean;
5982};
5983
5984// @public (undocumented)
5985export interface IGroupedListStyles {
5986 // (undocumented)
5987 group: IStyle;
5988 // (undocumented)
5989 groupIsDropping: IStyle;
5990 // (undocumented)
5991 root: IStyle;
5992}
5993
5994// @public (undocumented)
5995export interface IGroupFooterProps extends IGroupDividerProps {
5996 styles?: IStyleFunctionOrObject<IGroupFooterStyleProps, IGroupFooterStyles>;
5997}
5998
5999// @public (undocumented)
6000export type IGroupFooterStyleProps = Required<Pick<IGroupFooterProps, 'theme'>> & Pick<IGroupFooterProps, 'selected' | 'className'> & {
6001 isCollapsed?: boolean;
6002};
6003
6004// @public (undocumented)
6005export interface IGroupFooterStyles {
6006 // (undocumented)
6007 root: IStyle;
6008}
6009
6010// @public (undocumented)
6011export interface IGroupHeaderCheckboxProps {
6012 // (undocumented)
6013 checked: boolean;
6014 // (undocumented)
6015 theme?: ITheme;
6016}
6017
6018// @public (undocumented)
6019export interface IGroupHeaderProps extends IGroupDividerProps {
6020 expandButtonIcon?: string;
6021 expandButtonProps?: React_2.HTMLAttributes<HTMLButtonElement>;
6022 groupedListId?: string;
6023 onRenderGroupHeaderCheckbox?: IRenderFunction<IGroupHeaderCheckboxProps>;
6024 selectAllButtonProps?: React_2.HTMLAttributes<HTMLButtonElement>;
6025 styles?: IStyleFunctionOrObject<IGroupHeaderStyleProps, IGroupHeaderStyles>;
6026 useFastIcons?: boolean;
6027}
6028
6029// @public (undocumented)
6030export type IGroupHeaderStyleProps = Required<Pick<IGroupHeaderProps, 'theme'>> & Pick<IGroupHeaderProps, 'selected' | 'className'> & {
6031 isCollapsed?: boolean;
6032 compact?: boolean;
6033};
6034
6035// @public (undocumented)
6036export interface IGroupHeaderStyles {
6037 // (undocumented)
6038 check: IStyle;
6039 // (undocumented)
6040 dropIcon: IStyle;
6041 // (undocumented)
6042 expand: IStyle;
6043 // (undocumented)
6044 expandIsCollapsed: IStyle;
6045 // (undocumented)
6046 groupHeaderContainer: IStyle;
6047 // (undocumented)
6048 headerCount: IStyle;
6049 // (undocumented)
6050 root: IStyle;
6051 // (undocumented)
6052 title: IStyle;
6053}
6054
6055// @public (undocumented)
6056export interface IGroupRenderProps {
6057 collapseAllVisibility?: CollapseAllVisibility;
6058 footerProps?: IGroupFooterProps;
6059 getGroupItemLimit?: (group: IGroup) => number;
6060 headerProps?: IGroupHeaderProps;
6061 isAllGroupsCollapsed?: boolean;
6062 onRenderFooter?: IRenderFunction<IGroupFooterProps>;
6063 onRenderHeader?: IRenderFunction<IGroupHeaderProps>;
6064 onRenderShowAll?: IRenderFunction<IGroupShowAllProps>;
6065 onToggleCollapseAll?: (isAllCollapsed: boolean) => void;
6066 role?: string;
6067 showAllProps?: IGroupShowAllProps;
6068 showEmptyGroups?: boolean;
6069}
6070
6071// @public (undocumented)
6072export interface IGroupShowAllProps extends IGroupDividerProps {
6073 showAllLinkText?: string;
6074 styles?: IStyleFunctionOrObject<IGroupShowAllStyleProps, IGroupShowAllStyles>;
6075}
6076
6077// @public (undocumented)
6078export type IGroupShowAllStyleProps = Required<Pick<IGroupShowAllProps, 'theme'>>;
6079
6080// @public (undocumented)
6081export interface IGroupShowAllStyles {
6082 // (undocumented)
6083 root: IStyle;
6084}
6085
6086// @public (undocumented)
6087export interface IGroupSpacerProps {
6088 count: number;
6089 indentWidth?: number;
6090 role?: string;
6091 // @deprecated (undocumented)
6092 styles?: IStyleFunctionOrObject<IGroupSpacerStyleProps, IGroupSpacerStyles>;
6093 // @deprecated (undocumented)
6094 theme?: ITheme;
6095}
6096
6097// @public @deprecated (undocumented)
6098export type IGroupSpacerStyleProps = Required<Pick<IGroupSpacerProps, 'theme'>> & {
6099 width?: number;
6100};
6101
6102// @public @deprecated (undocumented)
6103export interface IGroupSpacerStyles {
6104 // (undocumented)
6105 root: IStyle;
6106}
6107
6108// @public (undocumented)
6109export interface IHoverCard {
6110 dismiss: (withTimeOut?: boolean) => void;
6111}
6112
6113// @public
6114export interface IHoverCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
6115 cardDismissDelay?: number;
6116 cardOpenDelay?: number;
6117 className?: string;
6118 componentRef?: IRefObject<IHoverCard>;
6119 eventListenerTarget?: HTMLElement | string | null;
6120 expandedCardOpenDelay?: number;
6121 expandingCardProps?: IExpandingCardProps;
6122 instantOpenOnClick?: boolean;
6123 onCardExpand?: () => void;
6124 onCardHide?: () => void;
6125 onCardVisible?: () => void;
6126 openHotKey?: KeyCodes;
6127 plainCardProps?: IPlainCardProps;
6128 setAriaDescribedBy?: boolean;
6129 setInitialFocus?: boolean;
6130 shouldBlockHoverCard?: () => void;
6131 sticky?: boolean;
6132 styles?: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;
6133 target?: HTMLElement | string | null;
6134 theme?: ITheme;
6135 trapFocus?: boolean;
6136 type?: HoverCardType;
6137}
6138
6139// @public (undocumented)
6140export interface IHoverCardState {
6141 // (undocumented)
6142 isHoverCardVisible?: boolean;
6143 // (undocumented)
6144 mode?: ExpandingCardMode;
6145 // (undocumented)
6146 openMode?: OpenCardMode;
6147}
6148
6149// @public (undocumented)
6150export interface IHoverCardStyleProps {
6151 className?: string;
6152 theme: ITheme;
6153}
6154
6155// @public (undocumented)
6156export interface IHoverCardStyles {
6157 host?: IStyle;
6158}
6159
6160// @public (undocumented)
6161export interface IHSL {
6162 h: number;
6163 l: number;
6164 s: number;
6165}
6166
6167// @public (undocumented)
6168export interface IHSV {
6169 h: number;
6170 s: number;
6171 v: number;
6172}
6173
6174// @public (undocumented)
6175export interface IIconContent {
6176 // (undocumented)
6177 children?: string | JSX.Element;
6178 // (undocumented)
6179 fontFamily?: string;
6180 // (undocumented)
6181 iconClassName?: string;
6182 // (undocumented)
6183 mergeImageProps?: boolean;
6184}
6185
6186export { IIconOptions }
6187
6188// @public (undocumented)
6189export interface IIconProps extends IBaseProps, React_2.HTMLAttributes<HTMLElement> {
6190 // @deprecated
6191 ariaLabel?: string;
6192 iconName?: string;
6193 // @deprecated
6194 iconType?: IconType;
6195 imageErrorAs?: React_2.ComponentType<IImageProps>;
6196 imageProps?: IImageProps;
6197 styles?: IStyleFunctionOrObject<IIconStyleProps, IIconStyles>;
6198 // (undocumented)
6199 theme?: ITheme;
6200}
6201
6202export { IIconRecord }
6203
6204// @public (undocumented)
6205export interface IIconState {
6206 // (undocumented)
6207 imageLoadError: boolean;
6208}
6209
6210// @public (undocumented)
6211export interface IIconStyleProps {
6212 // (undocumented)
6213 className?: string;
6214 // (undocumented)
6215 iconClassName?: string;
6216 // (undocumented)
6217 isImage: boolean;
6218 // (undocumented)
6219 isPlaceholder: boolean;
6220 // (undocumented)
6221 styles?: Partial<IIconStyles>;
6222 // (undocumented)
6223 theme?: ITheme;
6224}
6225
6226// @public (undocumented)
6227export interface IIconStyles {
6228 // @deprecated (undocumented)
6229 imageContainer?: IStyle;
6230 // (undocumented)
6231 root?: IStyle;
6232}
6233
6234export { IIconSubset }
6235
6236export { IIconSubsetRecord }
6237
6238// @public (undocumented)
6239export interface IImage {
6240}
6241
6242// @public
6243export interface IImageIconProps extends React_2.HTMLAttributes<HTMLElement> {
6244 className?: string;
6245 imageProps: IImageProps;
6246}
6247
6248// @public (undocumented)
6249export interface IImageProps extends React_2.ImgHTMLAttributes<HTMLImageElement>, React_2.RefAttributes<HTMLImageElement> {
6250 className?: string;
6251 coverStyle?: ImageCoverStyle;
6252 // @deprecated (undocumented)
6253 errorSrc?: string;
6254 imageFit?: ImageFit;
6255 loading?: 'lazy' | 'eager';
6256 maximizeFrame?: boolean;
6257 onLoadingStateChange?: (loadState: ImageLoadState) => void;
6258 shouldFadeIn?: boolean;
6259 shouldStartVisible?: boolean;
6260 styles?: IStyleFunctionOrObject<IImageStyleProps, IImageStyles>;
6261 theme?: ITheme;
6262}
6263
6264// @public (undocumented)
6265export interface IImageState {
6266 // (undocumented)
6267 loadState?: ImageLoadState;
6268}
6269
6270// @public (undocumented)
6271export interface IImageStyleProps {
6272 className?: string;
6273 height?: number | string;
6274 isCenter?: boolean;
6275 // (undocumented)
6276 isCenterContain?: boolean;
6277 // (undocumented)
6278 isCenterCover?: boolean;
6279 // (undocumented)
6280 isContain?: boolean;
6281 // (undocumented)
6282 isCover?: boolean;
6283 isError?: boolean;
6284 isLandscape?: boolean;
6285 isLoaded?: boolean;
6286 // (undocumented)
6287 isNone?: boolean;
6288 isNotImageFit?: boolean;
6289 maximizeFrame?: boolean;
6290 shouldFadeIn?: boolean;
6291 shouldStartVisible?: boolean;
6292 theme: ITheme;
6293 width?: number | string;
6294}
6295
6296// @public (undocumented)
6297export interface IImageStyles {
6298 image: IStyle;
6299 root: IStyle;
6300}
6301
6302// @public
6303export interface IInputProps extends React_2.InputHTMLAttributes<HTMLInputElement> {
6304 'aria-label'?: string;
6305 defaultVisibleValue?: string;
6306}
6307
6308// @public (undocumented)
6309export interface IKeytipConfig {
6310 // (undocumented)
6311 keytips: IKeytipConfigItem[];
6312}
6313
6314// @public (undocumented)
6315export interface IKeytipConfigItem {
6316 children?: IKeytipConfigItem[];
6317 content: string;
6318 id: string;
6319 optionalProps?: Partial<IKeytipProps>;
6320 sequence?: string;
6321}
6322
6323// @public (undocumented)
6324export interface IKeytipConfigMap {
6325 // (undocumented)
6326 [id: string]: IKeytipProps;
6327}
6328
6329// @public (undocumented)
6330export interface IKeytipDataProps {
6331 ariaDescribedBy?: string;
6332 disabled?: boolean;
6333 keytipProps?: IKeytipProps;
6334}
6335
6336// @public (undocumented)
6337export interface IKeytipLayer {
6338}
6339
6340// @public (undocumented)
6341export interface IKeytipLayerProps extends React_2.ClassAttributes<IKeytipLayer> {
6342 componentRef?: IRefObject<IKeytipLayer>;
6343 content: string;
6344 keytipExitSequences?: IKeytipTransitionKey[];
6345 keytipReturnSequences?: IKeytipTransitionKey[];
6346 keytipStartSequences?: IKeytipTransitionKey[];
6347 onEnterKeytipMode?: (transitionKey?: IKeytipTransitionKey) => void;
6348 onExitKeytipMode?: (ev?: React_2.KeyboardEvent<HTMLElement> | React_2.MouseEvent<HTMLElement>) => void;
6349 styles?: IStyleFunctionOrObject<IKeytipLayerStyleProps, IKeytipLayerStyles>;
6350}
6351
6352// @public (undocumented)
6353export interface IKeytipLayerState {
6354 // (undocumented)
6355 inKeytipMode: boolean;
6356 // (undocumented)
6357 keytips: IKeytipProps[];
6358 // (undocumented)
6359 visibleKeytips: IKeytipProps[];
6360}
6361
6362// @public (undocumented)
6363export interface IKeytipLayerStyleProps {
6364}
6365
6366// @public (undocumented)
6367export interface IKeytipLayerStyles {
6368 // (undocumented)
6369 innerContent: IStyle;
6370}
6371
6372// @public (undocumented)
6373export interface IKeytipProps {
6374 calloutProps?: ICalloutProps;
6375 content: string;
6376 disabled?: boolean;
6377 hasDynamicChildren?: boolean;
6378 hasMenu?: boolean;
6379 hasOverflowSubMenu?: boolean;
6380 keySequences: string[];
6381 offset?: Point;
6382 onExecute?: (executeTarget: HTMLElement | null, target: HTMLElement | null) => void;
6383 onReturn?: (executeTarget: HTMLElement | null, target: HTMLElement | null) => void;
6384 overflowSetSequence?: string[];
6385 styles?: IStyleFunctionOrObject<IKeytipStyleProps, IKeytipStyles>;
6386 theme?: ITheme;
6387 visible?: boolean;
6388}
6389
6390// @public
6391export interface IKeytipStyleProps {
6392 disabled?: boolean;
6393 theme: ITheme;
6394 visible?: boolean;
6395}
6396
6397// @public (undocumented)
6398export interface IKeytipStyles {
6399 container: IStyle;
6400 root: IStyle;
6401}
6402
6403// @public (undocumented)
6404export interface IKeytipTransitionKey {
6405 // (undocumented)
6406 key: string;
6407 // (undocumented)
6408 modifierKeys?: KeytipTransitionModifier[];
6409}
6410
6411// @public (undocumented)
6412export interface ILabel {
6413}
6414
6415// @public (undocumented)
6416export interface ILabelProps extends React_2.LabelHTMLAttributes<HTMLLabelElement> {
6417 as?: IComponentAs<React_2.AllHTMLAttributes<HTMLElement>>;
6418 componentRef?: IRefObject<ILabel>;
6419 disabled?: boolean;
6420 required?: boolean;
6421 styles?: IStyleFunctionOrObject<ILabelStyleProps, ILabelStyles>;
6422 theme?: ITheme;
6423}
6424
6425// @public (undocumented)
6426export interface ILabelStyleProps {
6427 // (undocumented)
6428 className?: string;
6429 // (undocumented)
6430 disabled?: boolean;
6431 // (undocumented)
6432 required?: boolean;
6433 // (undocumented)
6434 theme: ITheme;
6435}
6436
6437// @public (undocumented)
6438export interface ILabelStyles {
6439 root: IStyle;
6440}
6441
6442// @public (undocumented)
6443export interface ILayer {
6444}
6445
6446// @public
6447export interface ILayerHost {
6448 hostId: string;
6449 notifyLayersChanged(): void;
6450 rootRef: React_2.MutableRefObject<HTMLDivElement | null>;
6451}
6452
6453// @public (undocumented)
6454export interface ILayerHostProps extends React_2.HTMLAttributes<HTMLElement> {
6455 componentRef?: IRefObject<ILayerHost>;
6456 id?: string;
6457}
6458
6459// @public (undocumented)
6460export interface ILayerProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
6461 className?: string;
6462 componentRef?: IRefObject<ILayer>;
6463 eventBubblingEnabled?: boolean;
6464 hostId?: string;
6465 insertFirst?: boolean;
6466 onLayerDidMount?: () => void;
6467 // @deprecated
6468 onLayerMounted?: () => void;
6469 onLayerWillUnmount?: () => void;
6470 styles?: IStyleFunctionOrObject<ILayerStyleProps, ILayerStyles>;
6471 theme?: ITheme;
6472}
6473
6474// @public (undocumented)
6475export interface ILayerStyleProps {
6476 className?: string;
6477 isNotHost?: boolean;
6478 theme: ITheme;
6479}
6480
6481// @public (undocumented)
6482export interface ILayerStyles {
6483 content?: IStyle;
6484 root?: IStyle;
6485}
6486
6487// @public
6488export interface ILine extends IShimmerElement {
6489 height?: number;
6490 width?: number | string;
6491}
6492
6493// @public (undocumented)
6494export interface ILink {
6495 focus(): void;
6496}
6497
6498// @public @deprecated (undocumented)
6499export interface ILinkHTMLAttributes<T> extends React_2.HTMLAttributes<T> {
6500 [key: string]: any;
6501 // (undocumented)
6502 autoFocus?: boolean;
6503 // (undocumented)
6504 disabled?: boolean;
6505 // (undocumented)
6506 download?: any;
6507 // (undocumented)
6508 form?: string;
6509 // (undocumented)
6510 formAction?: string;
6511 // (undocumented)
6512 formEncType?: string;
6513 // (undocumented)
6514 formMethod?: string;
6515 // (undocumented)
6516 formNoValidate?: boolean;
6517 // (undocumented)
6518 formTarget?: string;
6519 // (undocumented)
6520 href?: string;
6521 // (undocumented)
6522 hrefLang?: string;
6523 // (undocumented)
6524 media?: string;
6525 // (undocumented)
6526 name?: string;
6527 // (undocumented)
6528 rel?: string;
6529 // (undocumented)
6530 target?: string;
6531 // (undocumented)
6532 type?: string;
6533 // (undocumented)
6534 value?: string | string[] | number;
6535}
6536
6537// @public
6538export interface ILinkProps extends React_2.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLElement>, Omit<React_2.ButtonHTMLAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLElement>, 'type'>, React_2.RefAttributes<HTMLElement> {
6539 [key: string]: any;
6540 as?: React_2.ElementType;
6541 componentRef?: IRefObject<ILink>;
6542 disabled?: boolean;
6543 href?: string;
6544 onClick?: (event: React_2.MouseEvent<HTMLAnchorElement | HTMLButtonElement | HTMLElement>) => void;
6545 rel?: string;
6546 styles?: IStyleFunctionOrObject<ILinkStyleProps, ILinkStyles>;
6547 target?: string;
6548 theme?: ITheme;
6549 type?: string;
6550 underline?: boolean;
6551}
6552
6553// @public (undocumented)
6554export interface ILinkStyleProps {
6555 // (undocumented)
6556 className?: string;
6557 // (undocumented)
6558 isButton?: boolean;
6559 // (undocumented)
6560 isDisabled?: boolean;
6561 // (undocumented)
6562 isUnderlined?: boolean;
6563 // (undocumented)
6564 theme: ITheme;
6565}
6566
6567// @public (undocumented)
6568export interface ILinkStyles {
6569 // (undocumented)
6570 root: IStyle;
6571}
6572
6573// @public (undocumented)
6574export interface IList {
6575 forceUpdate: () => void;
6576 getStartItemIndexInView: () => number;
6577 getTotalListHeight?: () => number;
6578 scrollToIndex: (index: number, measureItem?: (itemIndex: number) => number, scrollToMode?: ScrollToMode) => void;
6579}
6580
6581// @public
6582export interface IListOnRenderRootProps<T> {
6583 divProps: React_2.HTMLAttributes<HTMLDivElement>;
6584 pages: IPage<T>[];
6585 rootRef: React_2.Ref<HTMLDivElement>;
6586 surfaceElement: JSX.Element | null;
6587}
6588
6589// @public
6590export interface IListOnRenderSurfaceProps<T> {
6591 divProps: React_2.HTMLAttributes<HTMLDivElement>;
6592 pageElements: JSX.Element[];
6593 pages: IPage<T>[];
6594 surfaceRef: React_2.Ref<HTMLDivElement>;
6595}
6596
6597// @public (undocumented)
6598export interface IListProps<T = any> extends React_2.HTMLAttributes<List<T> | HTMLDivElement> {
6599 className?: string;
6600 componentRef?: IRefObject<IList>;
6601 getItemCountForPage?: (itemIndex?: number, visibleRect?: IRectangle) => number;
6602 getKey?: (item: T, index?: number) => string;
6603 getPageHeight?: (itemIndex?: number, visibleRect?: IRectangle, itemCount?: number) => number;
6604 getPageSpecification?: (itemIndex?: number, visibleRect?: IRectangle) => IPageSpecification;
6605 getPageStyle?: (page: IPage<T>) => any;
6606 ignoreScrollingState?: boolean;
6607 items?: T[];
6608 onPageAdded?: (page: IPage<T>) => void;
6609 onPageRemoved?: (page: IPage<T>) => void;
6610 onPagesUpdated?: (pages: IPage<T>[]) => void;
6611 onRenderCell?: (item?: T, index?: number, isScrolling?: boolean) => React_2.ReactNode;
6612 onRenderPage?: IRenderFunction<IPageProps<T>>;
6613 onRenderRoot?: IRenderFunction<IListOnRenderRootProps<T>>;
6614 onRenderSurface?: IRenderFunction<IListOnRenderSurfaceProps<T>>;
6615 onShouldVirtualize?: (props: IListProps<T>) => boolean;
6616 renderCount?: number;
6617 renderedWindowsAhead?: number;
6618 renderedWindowsBehind?: number;
6619 role?: string;
6620 startIndex?: number;
6621 usePageCache?: boolean;
6622 version?: any;
6623}
6624
6625// @public (undocumented)
6626export interface IListState<T = any> {
6627 // (undocumented)
6628 getDerivedStateFromProps(nextProps: IListProps<T>, previousState: IListState<T>): IListState<T>;
6629 // (undocumented)
6630 isScrolling?: boolean;
6631 measureVersion?: number;
6632 // (undocumented)
6633 pages?: IPage<T>[];
6634 // (undocumented)
6635 pagesVersion?: {};
6636}
6637
6638// @public (undocumented)
6639const Image_2: React_2.FunctionComponent<IImageProps>;
6640export { Image_2 as Image }
6641
6642// @public (undocumented)
6643export const ImageBase: React_2.FunctionComponent<IImageProps>;
6644
6645// @public
6646export enum ImageCoverStyle {
6647 landscape = 0,
6648 portrait = 1
6649}
6650
6651// @public
6652export enum ImageFit {
6653 center = 0,
6654 centerContain = 5,
6655 centerCover = 4,
6656 contain = 1,
6657 cover = 2,
6658 none = 3
6659}
6660
6661// @public
6662export const ImageIcon: React_2.FunctionComponent<IImageIconProps>;
6663
6664// @public (undocumented)
6665export enum ImageLoadState {
6666 error = 2,
6667 // @deprecated (undocumented)
6668 errorLoaded = 3,
6669 loaded = 1,
6670 notLoaded = 0
6671}
6672
6673export { imageProperties }
6674
6675// @public (undocumented)
6676export interface IMarqueeSelection {
6677}
6678
6679// @public (undocumented)
6680export interface IMarqueeSelectionProps extends React_2.HTMLAttributes<HTMLDivElement> {
6681 className?: string;
6682 componentRef?: IRefObject<IMarqueeSelection>;
6683 isDraggingConstrainedToRoot?: boolean;
6684 isEnabled?: boolean;
6685 onShouldStartSelection?: (ev: MouseEvent) => boolean;
6686 rootProps?: React_2.HTMLAttributes<HTMLDivElement>;
6687 selection: ISelection;
6688 styles?: IStyleFunction<IMarqueeSelectionStyleProps, IMarqueeSelectionStyles>;
6689 theme?: ITheme;
6690}
6691
6692// @public (undocumented)
6693export interface IMarqueeSelectionStyleProps {
6694 // (undocumented)
6695 className?: string;
6696 // (undocumented)
6697 theme: ITheme;
6698}
6699
6700// @public (undocumented)
6701export interface IMarqueeSelectionStyles {
6702 // (undocumented)
6703 box?: IStyle;
6704 // (undocumented)
6705 boxFill?: IStyle;
6706 // (undocumented)
6707 dragMask?: IStyle;
6708 // (undocumented)
6709 root?: IStyle;
6710}
6711
6712// @public (undocumented)
6713export interface IMaskedTextField extends ITextField {
6714 value: string | undefined;
6715}
6716
6717// @public
6718export interface IMaskedTextFieldProps extends ITextFieldProps, React_2.RefAttributes<HTMLDivElement> {
6719 componentRef?: IRefObject<IMaskedTextField>;
6720 mask?: string;
6721 maskChar?: string;
6722 maskFormat?: {
6723 [key: string]: RegExp;
6724 };
6725}
6726
6727// @public @deprecated (undocumented)
6728export interface IMenuItemClassNames {
6729 // (undocumented)
6730 checkmarkIcon?: string;
6731 // (undocumented)
6732 divider?: string;
6733 // (undocumented)
6734 icon?: string;
6735 // (undocumented)
6736 item?: string;
6737 // (undocumented)
6738 label?: string;
6739 // (undocumented)
6740 linkContent?: string;
6741 // (undocumented)
6742 linkContentMenu?: string;
6743 // (undocumented)
6744 root?: string;
6745 // (undocumented)
6746 screenReaderText?: string;
6747 // (undocumented)
6748 secondaryText?: string;
6749 // (undocumented)
6750 splitContainer?: string;
6751 // (undocumented)
6752 splitMenu?: string;
6753 // (undocumented)
6754 splitPrimary?: string;
6755 // (undocumented)
6756 subMenuIcon?: string;
6757}
6758
6759// @public (undocumented)
6760export interface IMenuItemStyles extends IButtonStyles {
6761 anchorLink?: IStyle;
6762 checkmarkIcon?: IStyle;
6763 divider?: IStyle;
6764 iconColor?: IStyle;
6765 item?: IStyle;
6766 linkContent?: IStyle;
6767 subMenuIcon?: IStyle;
6768}
6769
6770// @public (undocumented)
6771export interface IMessageBar {
6772}
6773
6774// @public (undocumented)
6775export interface IMessageBarProps extends React_2.HTMLAttributes<HTMLElement>, React_2.RefAttributes<HTMLDivElement> {
6776 actions?: JSX.Element;
6777 // @deprecated
6778 ariaLabel?: string;
6779 className?: string;
6780 componentRef?: IRefObject<IMessageBar>;
6781 delayedRender?: boolean;
6782 dismissButtonAriaLabel?: string;
6783 dismissIconProps?: IIconProps;
6784 expandButtonProps?: IButtonProps;
6785 isMultiline?: boolean;
6786 messageBarIconProps?: IIconProps;
6787 messageBarType?: MessageBarType;
6788 onDismiss?: (ev?: React_2.MouseEvent<HTMLElement | BaseButton | Button>) => any;
6789 // @deprecated
6790 overflowButtonAriaLabel?: string;
6791 role?: 'alert' | 'status' | 'none';
6792 styles?: IStyleFunctionOrObject<IMessageBarStyleProps, IMessageBarStyles>;
6793 theme?: ITheme;
6794 truncated?: boolean;
6795}
6796
6797// @public (undocumented)
6798export interface IMessageBarStyleProps {
6799 actions?: boolean;
6800 className?: string;
6801 expandSingleLine?: boolean;
6802 isMultiline?: boolean;
6803 messageBarType?: MessageBarType;
6804 onDismiss?: boolean;
6805 theme: ITheme;
6806 truncated?: boolean;
6807}
6808
6809// @public (undocumented)
6810export interface IMessageBarStyles {
6811 actions?: IStyle;
6812 content?: IStyle;
6813 dismissal?: IStyle;
6814 dismissSingleLine?: IStyle;
6815 expand?: IStyle;
6816 expandSingleLine?: IStyle;
6817 icon?: IStyle;
6818 iconContainer?: IStyle;
6819 innerText?: IStyle;
6820 root?: IStyle;
6821 text?: IStyle;
6822}
6823
6824export { imgProperties }
6825
6826// @public (undocumented)
6827export interface IModal {
6828 focus: () => void;
6829}
6830
6831// @public (undocumented)
6832export interface IModalProps extends React_2.RefAttributes<HTMLDivElement>, IAccessiblePopupProps {
6833 allowTouchBodyScroll?: boolean;
6834 // (undocumented)
6835 children?: React_2.ReactNode;
6836 className?: string;
6837 componentRef?: IRefObject<IModal>;
6838 containerClassName?: string;
6839 dragOptions?: IDragOptions;
6840 // @deprecated
6841 enableAriaHiddenSiblings?: boolean;
6842 isAlert?: boolean;
6843 isBlocking?: boolean;
6844 isDarkOverlay?: boolean;
6845 isModeless?: boolean;
6846 isOpen?: boolean;
6847 layerProps?: ILayerProps;
6848 onDismiss?: (ev?: React_2.MouseEvent<HTMLButtonElement | HTMLElement>) => any;
6849 onDismissed?: () => any;
6850 // @deprecated
6851 onLayerDidMount?: () => void;
6852 overlay?: IOverlayProps;
6853 responsiveMode?: ResponsiveMode;
6854 scrollableContentClassName?: string;
6855 styles?: IStyleFunctionOrObject<IModalStyleProps, IModalStyles>;
6856 subtitleAriaId?: string;
6857 theme?: ITheme;
6858 titleAriaId?: string;
6859 topOffsetFixed?: boolean;
6860}
6861
6862// @public (undocumented)
6863export type IModalStyleProps = Required<Pick<IModalProps, 'theme'>> & Pick<IModalProps, 'className' | 'containerClassName' | 'scrollableContentClassName' | 'topOffsetFixed' | 'isModeless'> & {
6864 isOpen?: boolean;
6865 isVisible?: boolean;
6866 hasBeenOpened?: boolean;
6867 modalRectangleTop?: number;
6868 layerClassName?: string;
6869 isDefaultDragHandle?: boolean;
6870 windowInnerHeight?: number;
6871};
6872
6873// @public (undocumented)
6874export interface IModalStyles {
6875 // (undocumented)
6876 keyboardMoveIcon: IStyle;
6877 // (undocumented)
6878 keyboardMoveIconContainer: IStyle;
6879 // (undocumented)
6880 layer: IStyle;
6881 // (undocumented)
6882 main: IStyle;
6883 // (undocumented)
6884 root: IStyle;
6885 // (undocumented)
6886 scrollableContent: IStyle;
6887}
6888
6889// @public (undocumented)
6890export interface INav {
6891 focus(forceIntoFirstElement?: boolean): boolean;
6892 selectedKey: string | undefined;
6893}
6894
6895// @public (undocumented)
6896export interface INavButtonProps extends IButtonProps {
6897 link?: INavLink;
6898}
6899
6900// @public (undocumented)
6901export interface INavLink {
6902 [propertyName: string]: any;
6903 ariaCurrent?: 'page' | 'step' | 'location' | 'date' | 'time' | 'true';
6904 ariaLabel?: string;
6905 automationId?: string;
6906 collapseAriaLabel?: string;
6907 disabled?: boolean;
6908 expandAriaLabel?: string;
6909 forceAnchor?: boolean;
6910 icon?: string;
6911 // @deprecated (undocumented)
6912 iconClassName?: string;
6913 iconProps?: IIconProps;
6914 isExpanded?: boolean;
6915 key?: string;
6916 links?: INavLink[];
6917 name: string;
6918 onClick?: (ev?: React_2.MouseEvent<HTMLElement>, item?: INavLink) => void;
6919 target?: string;
6920 title?: string;
6921 url: string;
6922}
6923
6924// @public (undocumented)
6925export interface INavLinkGroup {
6926 automationId?: string;
6927 collapseAriaLabel?: string;
6928 collapseByDefault?: boolean;
6929 expandAriaLabel?: string;
6930 groupData?: any;
6931 isExpanded?: boolean;
6932 links: INavLink[];
6933 name?: string;
6934 onHeaderClick?: (ev?: React_2.MouseEvent<HTMLElement>, isCollapsing?: boolean) => void;
6935}
6936
6937// @public (undocumented)
6938export interface INavProps {
6939 ariaLabel?: string;
6940 className?: string;
6941 componentRef?: IRefObject<INav>;
6942 // @deprecated
6943 expandButtonAriaLabel?: string;
6944 groups: INavLinkGroup[] | null;
6945 initialSelectedKey?: string;
6946 isOnTop?: boolean;
6947 linkAs?: IComponentAs<INavButtonProps>;
6948 onLinkClick?: (ev?: React_2.MouseEvent<HTMLElement>, item?: INavLink) => void;
6949 onLinkExpandClick?: (ev?: React_2.MouseEvent<HTMLElement>, item?: INavLink) => void;
6950 onRenderGroupHeader?: IRenderFunction<IRenderGroupHeaderProps>;
6951 onRenderLink?: IRenderFunction<INavLink>;
6952 // @deprecated
6953 selectedAriaLabel?: string;
6954 selectedKey?: string;
6955 styles?: IStyleFunctionOrObject<INavStyleProps, INavStyles>;
6956 theme?: ITheme;
6957}
6958
6959// @public (undocumented)
6960export interface INavState {
6961 // (undocumented)
6962 isGroupCollapsed: {
6963 [key: string]: boolean;
6964 };
6965 // (undocumented)
6966 isLinkExpandStateChanged?: boolean;
6967 // (undocumented)
6968 selectedKey?: string;
6969}
6970
6971// @public (undocumented)
6972export interface INavStyleProps {
6973 className?: string;
6974 groups: INavLinkGroup[] | null;
6975 isButtonEntry?: boolean;
6976 isDisabled?: boolean;
6977 isExpanded?: boolean;
6978 isGroup?: boolean;
6979 isLink?: boolean;
6980 isOnTop?: boolean;
6981 isSelected?: boolean;
6982 leftPadding?: number;
6983 leftPaddingExpanded?: number;
6984 navHeight?: number;
6985 position?: number;
6986 rightPadding?: number;
6987 theme: ITheme;
6988}
6989
6990// @public (undocumented)
6991export interface INavStyles {
6992 chevronButton: IStyle;
6993 chevronIcon: IStyle;
6994 compositeLink: IStyle;
6995 group: IStyle;
6996 groupContent: IStyle;
6997 link: IStyle;
6998 linkText: IStyle;
6999 navItem: IStyle;
7000 navItems: IStyle;
7001 root: IStyle;
7002}
7003
7004export { initializeComponentRef }
7005
7006export { initializeFocusRects }
7007
7008export { initializeIcons }
7009
7010// @public
7011export function initializeResponsiveMode(element?: HTMLElement): void;
7012
7013export { InjectionMode }
7014
7015export { inputProperties }
7016
7017export { IObjectWithKey }
7018
7019// @public (undocumented)
7020export interface IOnRenderComboBoxLabelProps {
7021 multiselectAccessibleText?: string;
7022 props: IComboBoxProps;
7023}
7024
7025// @public (undocumented)
7026export interface IOverflowSet {
7027 focus(forceIntoFirstElement?: boolean): boolean;
7028 focusElement(childElement?: HTMLElement): boolean;
7029}
7030
7031// @public (undocumented)
7032export interface IOverflowSetItemProps {
7033 [propertyName: string]: any;
7034 key: string;
7035 keytipProps?: IKeytipProps;
7036}
7037
7038// @public (undocumented)
7039export interface IOverflowSetProps extends React_2.RefAttributes<HTMLElement> {
7040 className?: string;
7041 componentRef?: IRefObject<IOverflowSet>;
7042 items?: IOverflowSetItemProps[];
7043 itemSubMenuProvider?: (item: IOverflowSetItemProps) => any[] | boolean | undefined;
7044 keytipSequences?: string[];
7045 onRenderItem: (item: IOverflowSetItemProps) => any;
7046 onRenderOverflowButton: IRenderFunction<any[]>;
7047 overflowItems?: IOverflowSetItemProps[];
7048 overflowSide?: 'start' | 'end';
7049 role?: string;
7050 styles?: IStyleFunctionOrObject<IOverflowSetProps, IOverflowSetStyles>;
7051 vertical?: boolean;
7052}
7053
7054// @public
7055export type IOverflowSetStyleProps = Pick<IOverflowSetProps, 'vertical' | 'className'>;
7056
7057// @public (undocumented)
7058export interface IOverflowSetStyles {
7059 item?: IStyle;
7060 overflowButton?: IStyle;
7061 root?: IStyle;
7062}
7063
7064// @public (undocumented)
7065export interface IOverlay {
7066}
7067
7068// @public (undocumented)
7069export interface IOverlayProps extends React_2.HTMLAttributes<HTMLElement> {
7070 allowTouchBodyScroll?: boolean;
7071 className?: string;
7072 componentRef?: IRefObject<IOverlay>;
7073 isDarkThemed?: boolean;
7074 styles?: IStyleFunctionOrObject<IOverlayStyleProps, IOverlayStyles>;
7075 theme?: ITheme;
7076}
7077
7078// @public (undocumented)
7079export interface IOverlayStyleProps {
7080 className?: string;
7081 isDark?: boolean;
7082 isNone?: boolean;
7083 theme: ITheme;
7084}
7085
7086// @public (undocumented)
7087export interface IOverlayStyles {
7088 root: IStyle;
7089}
7090
7091// @public
7092export type IOverrideColumnRenderProps = Pick<IDetailsListProps, 'onRenderItemColumn' | 'getCellValueKey' | 'onRenderField'> & Pick<IDetailsRowProps, 'cellsByColumn'>;
7093
7094// @public (undocumented)
7095export interface IPage<T = any> {
7096 // (undocumented)
7097 data?: any;
7098 // (undocumented)
7099 height: number;
7100 // (undocumented)
7101 isSpacer?: boolean;
7102 // (undocumented)
7103 isVisible?: boolean;
7104 // (undocumented)
7105 itemCount: number;
7106 // (undocumented)
7107 items: T[] | undefined;
7108 // (undocumented)
7109 key: string;
7110 // (undocumented)
7111 startIndex: number;
7112 // (undocumented)
7113 style: React_2.CSSProperties;
7114 // (undocumented)
7115 top: number;
7116}
7117
7118// @public (undocumented)
7119export interface IPageProps<T = any> extends React_2.HTMLAttributes<HTMLDivElement>, React_2.ClassAttributes<HTMLDivElement> {
7120 page: IPage<T>;
7121 role?: string;
7122}
7123
7124// @public (undocumented)
7125export interface IPageSpecification {
7126 data?: any;
7127 height?: number;
7128 itemCount?: number;
7129 key?: string;
7130}
7131
7132export { IPalette }
7133
7134// @public (undocumented)
7135export interface IPanel {
7136 dismiss: (ev?: React_2.KeyboardEvent<HTMLElement> | KeyboardEvent) => void;
7137 open: () => void;
7138}
7139
7140// @public
7141export interface IPanelHeaderRenderer extends IRenderFunction<IPanelProps> {
7142 // (undocumented)
7143 (props?: IPanelProps, defaultRender?: IPanelHeaderRenderer, headerTextId?: string | undefined): JSX.Element | null;
7144}
7145
7146// @public (undocumented)
7147export interface IPanelProps extends React_2.HTMLAttributes<PanelBase> {
7148 allowTouchBodyScroll?: boolean;
7149 className?: string;
7150 closeButtonAriaLabel?: string;
7151 // @deprecated (undocumented)
7152 componentId?: string;
7153 componentRef?: IRefObject<IPanel>;
7154 customWidth?: string;
7155 elementToFocusOnDismiss?: HTMLElement;
7156 // @deprecated
7157 firstFocusableSelector?: string;
7158 focusTrapZoneProps?: IFocusTrapZoneProps;
7159 // @deprecated
7160 forceFocusInsideTrap?: boolean;
7161 hasCloseButton?: boolean;
7162 headerClassName?: string;
7163 headerText?: string;
7164 headerTextProps?: React_2.HTMLAttributes<HTMLDivElement>;
7165 // @deprecated
7166 ignoreExternalFocusing?: boolean;
7167 isBlocking?: boolean;
7168 isFooterAtBottom?: boolean;
7169 isHiddenOnDismiss?: boolean;
7170 isLightDismiss?: boolean;
7171 isOpen?: boolean;
7172 layerProps?: ILayerProps;
7173 onDismiss?: (ev?: React_2.SyntheticEvent<HTMLElement> | KeyboardEvent) => void;
7174 onDismissed?: () => void;
7175 onLightDismissClick?: () => void;
7176 onOpen?: () => void;
7177 onOpened?: () => void;
7178 onOuterClick?: (ev?: React_2.MouseEvent<HTMLDivElement>) => void;
7179 onRenderBody?: IRenderFunction<IPanelProps>;
7180 onRenderFooter?: IRenderFunction<IPanelProps>;
7181 onRenderFooterContent?: IRenderFunction<IPanelProps>;
7182 onRenderHeader?: IPanelHeaderRenderer;
7183 onRenderNavigation?: IRenderFunction<IPanelProps>;
7184 onRenderNavigationContent?: IRenderFunction<IPanelProps>;
7185 overlayProps?: IOverlayProps;
7186 popupProps?: IPopupProps;
7187 styles?: IStyleFunctionOrObject<IPanelStyleProps, IPanelStyles>;
7188 theme?: ITheme;
7189 type?: PanelType;
7190}
7191
7192// @public (undocumented)
7193export interface IPanelStyleProps {
7194 className?: string;
7195 focusTrapZoneClassName?: string;
7196 hasCloseButton?: boolean;
7197 hasCustomNavigation?: boolean;
7198 headerClassName?: string;
7199 isAnimating?: boolean;
7200 isFooterAtBottom?: boolean;
7201 isFooterSticky?: boolean;
7202 isHiddenOnDismiss?: boolean;
7203 isOnRightSide?: boolean;
7204 isOpen?: boolean;
7205 theme: ITheme;
7206 type?: PanelType;
7207}
7208
7209// @public (undocumented)
7210export interface IPanelStyles {
7211 // @deprecated
7212 closeButton?: IStyle;
7213 commands: IStyle;
7214 content: IStyle;
7215 contentInner: IStyle;
7216 footer: IStyle;
7217 footerInner: IStyle;
7218 header: IStyle;
7219 headerText: IStyle;
7220 hiddenPanel: IStyle;
7221 main: IStyle;
7222 navigation: IStyle;
7223 overlay: IStyle;
7224 root: IStyle;
7225 scrollableContent: IStyle;
7226 subComponentStyles: IPanelSubComponentStyles;
7227}
7228
7229// @public (undocumented)
7230export interface IPanelSubComponentStyles {
7231 closeButton: Partial<IButtonStyles>;
7232}
7233
7234export { IPartialTheme }
7235
7236// @public (undocumented)
7237export interface IPeopleFloatingPickerProps extends IBaseFloatingPickerProps<IPersonaProps> {
7238}
7239
7240// @public (undocumented)
7241export interface IPeoplePickerItemProps extends IPickerItemProps<IExtendedPersonaProps> {
7242}
7243
7244// @public
7245export interface IPeoplePickerItemSelectedProps extends IPickerItemProps<IPersonaProps & {
7246 ValidationState: ValidationState;
7247}>, IPeoplePickerItemSharedProps {
7248 styles?: IStyleFunctionOrObject<IPeoplePickerItemSelectedStyleProps, IPeoplePickerItemSelectedStyles>;
7249}
7250
7251// @public
7252export type IPeoplePickerItemSelectedStyleProps = Required<Pick<IPeoplePickerItemSelectedProps, 'theme'>> & Pick<IPeoplePickerItemSelectedProps, 'className' | 'selected' | 'disabled'> & {
7253 invalid?: boolean;
7254};
7255
7256// @public
7257export interface IPeoplePickerItemSelectedStyles {
7258 itemContent: IStyle;
7259 removeButton: IStyle;
7260 root: IStyle;
7261 subComponentStyles: IPeoplePickerItemSelectedSubComponentStyles;
7262}
7263
7264// @public
7265export interface IPeoplePickerItemSelectedSubComponentStyles {
7266 persona: IStyleFunctionOrObject<IPersonaStyleProps, any>;
7267 personaCoin?: IStyleFunctionOrObject<IPersonaCoinStyleProps, any>;
7268}
7269
7270// @public
7271export interface IPeoplePickerItemSharedProps {
7272 className?: string;
7273 theme?: ITheme;
7274}
7275
7276// @public (undocumented)
7277export interface IPeoplePickerItemState {
7278 // (undocumented)
7279 contextualMenuVisible: boolean;
7280}
7281
7282// @public
7283export interface IPeoplePickerItemSuggestionProps extends IPeoplePickerItemSharedProps {
7284 compact?: boolean;
7285 personaProps?: IPersonaProps;
7286 styles?: IStyleFunctionOrObject<IPeoplePickerItemSuggestionStyleProps, IPeoplePickerItemSuggestionStyles>;
7287 suggestionsProps?: IBasePickerSuggestionsProps;
7288}
7289
7290// @public
7291export type IPeoplePickerItemSuggestionStyleProps = Required<Pick<IPeoplePickerItemSuggestionProps, 'theme'>> & Pick<IPeoplePickerItemSuggestionProps, 'className'> & {};
7292
7293// @public
7294export interface IPeoplePickerItemSuggestionStyles {
7295 personaWrapper: IStyle;
7296 root: IStyle;
7297 subComponentStyles: IPeoplePickerItemSelectedSubComponentStyles;
7298}
7299
7300// @public @deprecated
7301export interface IPeoplePickerItemWithMenuProps extends IPickerItemProps<IPersonaWithMenu> {
7302}
7303
7304// @public
7305export interface IPeoplePickerProps extends IBasePickerProps<IPersonaProps> {
7306}
7307
7308export { IPerfData }
7309
7310export { IPerfMeasurement }
7311
7312export { IPerfSummary }
7313
7314// @public (undocumented)
7315export interface IPersona {
7316}
7317
7318// @public (undocumented)
7319export interface IPersonaCoinProps extends IPersonaSharedProps {
7320 className?: string;
7321 componentRef?: IRefObject<{}>;
7322 styles?: IStyleFunctionOrObject<IPersonaCoinStyleProps, IPersonaCoinStyles>;
7323}
7324
7325// @public (undocumented)
7326export interface IPersonaCoinStyleProps {
7327 className?: string;
7328 coinSize?: number;
7329 showUnknownPersonaCoin?: boolean;
7330 size?: PersonaSize;
7331 theme: ITheme;
7332}
7333
7334// @public (undocumented)
7335export interface IPersonaCoinStyles {
7336 // (undocumented)
7337 coin: IStyle;
7338 // (undocumented)
7339 image: IStyle;
7340 // (undocumented)
7341 imageArea: IStyle;
7342 // (undocumented)
7343 initials: IStyle;
7344 // (undocumented)
7345 size10WithoutPresenceIcon: IStyle;
7346}
7347
7348// @public (undocumented)
7349export interface IPersonaPresenceProps extends IPersonaSharedProps {
7350 componentRef?: IRefObject<{}>;
7351 styles?: IStyleFunctionOrObject<IPersonaPresenceStyleProps, IPersonaPresenceStyles>;
7352}
7353
7354// @public (undocumented)
7355export type IPersonaPresenceStyleProps = Required<Pick<IPersonaSharedProps, 'theme'>> & Pick<IPersonaSharedProps, 'presence' | 'isOutOfOffice' | 'size' | 'presenceColors'> & Pick<IPersonaProps, 'className'>;
7356
7357// @public (undocumented)
7358export interface IPersonaPresenceStyles {
7359 // (undocumented)
7360 presence: IStyle;
7361 // (undocumented)
7362 presenceIcon: IStyle;
7363}
7364
7365// @public (undocumented)
7366export interface IPersonaProps extends IPersonaSharedProps {
7367 className?: string;
7368 componentRef?: IRefObject<IPersona>;
7369 onRenderOptionalText?: IRenderFunction<IPersonaProps>;
7370 onRenderPrimaryText?: IRenderFunction<IPersonaProps>;
7371 onRenderSecondaryText?: IRenderFunction<IPersonaProps>;
7372 onRenderTertiaryText?: IRenderFunction<IPersonaProps>;
7373 styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
7374}
7375
7376// @public (undocumented)
7377export interface IPersonaSharedProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
7378 allowPhoneInitials?: boolean;
7379 coinProps?: IPersonaCoinProps;
7380 coinSize?: number;
7381 hidePersonaDetails?: boolean;
7382 imageAlt?: string;
7383 imageInitials?: string;
7384 imageShouldFadeIn?: boolean;
7385 imageShouldStartVisible?: boolean;
7386 imageUrl?: string;
7387 initialsColor?: PersonaInitialsColor | string;
7388 initialsTextColor?: string;
7389 isOutOfOffice?: boolean;
7390 onPhotoLoadingStateChange?: (newImageLoadState: ImageLoadState) => void;
7391 // @deprecated
7392 onRenderCoin?: IRenderFunction<IPersonaSharedProps>;
7393 onRenderInitials?: IRenderFunction<IPersonaSharedProps>;
7394 onRenderPersonaCoin?: IRenderFunction<IPersonaSharedProps>;
7395 optionalText?: string;
7396 presence?: PersonaPresence;
7397 presenceColors?: {
7398 available: string;
7399 away: string;
7400 busy: string;
7401 dnd: string;
7402 offline: string;
7403 oof: string;
7404 background: string;
7405 };
7406 presenceTitle?: string;
7407 // @deprecated
7408 primaryText?: string;
7409 secondaryText?: string;
7410 showInitialsUntilImageLoads?: boolean;
7411 showOverflowTooltip?: boolean;
7412 // (undocumented)
7413 showSecondaryText?: boolean;
7414 showUnknownPersonaCoin?: boolean;
7415 size?: PersonaSize;
7416 tertiaryText?: string;
7417 text?: string;
7418 theme?: ITheme;
7419}
7420
7421// @public (undocumented)
7422export interface IPersonaStyleProps {
7423 className?: string;
7424 coinSize?: number;
7425 presence?: PersonaPresence;
7426 // (undocumented)
7427 showSecondaryText?: boolean;
7428 size?: PersonaSize;
7429 theme: ITheme;
7430}
7431
7432// @public (undocumented)
7433export interface IPersonaStyles {
7434 // (undocumented)
7435 details: IStyle;
7436 // (undocumented)
7437 optionalText: IStyle;
7438 // (undocumented)
7439 primaryText: IStyle;
7440 // (undocumented)
7441 root: IStyle;
7442 // (undocumented)
7443 secondaryText: IStyle;
7444 // (undocumented)
7445 tertiaryText: IStyle;
7446 // (undocumented)
7447 textContent: IStyle;
7448}
7449
7450// @public @deprecated
7451export interface IPersonaWithMenu extends IPersonaProps {
7452 menuItems?: IContextualMenuItem[];
7453}
7454
7455// @public
7456export type IPickerAriaIds = {
7457 selectedSuggestionAlert: string;
7458 selectedItems: string;
7459 suggestionList: string;
7460 combobox: string;
7461};
7462
7463// @public
7464export interface IPickerItem {
7465}
7466
7467// @public
7468export interface IPickerItemProps<T> extends React_2.AllHTMLAttributes<HTMLElement> {
7469 componentRef?: IRefObject<IPickerItem>;
7470 index: number;
7471 item: T;
7472 key?: string | number;
7473 onItemChange?: (item: T, index: number) => void;
7474 onRemoveItem?: () => void;
7475 removeButtonAriaLabel?: string;
7476 removeButtonIconProps?: IIconProps;
7477 selected?: boolean;
7478}
7479
7480// @public (undocumented)
7481export interface IPivot {
7482 focus(): void;
7483}
7484
7485// @public (undocumented)
7486export interface IPivotItemProps extends React_2.HTMLAttributes<HTMLDivElement> {
7487 alwaysRender?: boolean;
7488 ariaLabel?: string;
7489 componentRef?: IRefObject<{}>;
7490 headerButtonProps?: IButtonProps | {
7491 [key: string]: string | number | boolean;
7492 };
7493 headerText?: string;
7494 itemCount?: number | string;
7495 itemIcon?: string;
7496 itemKey?: string;
7497 keytipProps?: IKeytipProps;
7498 // @deprecated
7499 linkText?: string;
7500 onRenderItemLink?: IRenderFunction<IPivotItemProps>;
7501}
7502
7503// @public (undocumented)
7504export interface IPivotProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
7505 className?: string;
7506 componentRef?: React_2.RefObject<IPivot>;
7507 defaultSelectedKey?: string;
7508 focusZoneProps?: IFocusZoneProps;
7509 getTabId?: (itemKey: string, index: number) => string;
7510 headersOnly?: boolean;
7511 linkFormat?: PivotLinkFormatType;
7512 linkSize?: PivotLinkSizeType;
7513 onLinkClick?: (item?: PivotItem, ev?: React_2.MouseEvent<HTMLElement>) => void;
7514 overflowAriaLabel?: string;
7515 overflowBehavior?: 'none' | 'menu';
7516 selectedKey?: string | null;
7517 styles?: IStyleFunctionOrObject<IPivotStyleProps, IPivotStyles>;
7518 theme?: ITheme;
7519}
7520
7521// @public (undocumented)
7522export type IPivotStyleProps = Required<Pick<IPivotProps, 'theme'>> & Pick<IPivotProps, 'className'> & {
7523 linkSize?: PivotLinkSizeType;
7524 linkFormat?: PivotLinkFormatType;
7525};
7526
7527// @public (undocumented)
7528export interface IPivotStyles {
7529 // (undocumented)
7530 count: IStyle;
7531 // (undocumented)
7532 icon: IStyle;
7533 // (undocumented)
7534 itemContainer?: IStyle;
7535 // (undocumented)
7536 link: IStyle;
7537 // (undocumented)
7538 linkContent: IStyle;
7539 // (undocumented)
7540 linkInMenu: IStyle;
7541 // (undocumented)
7542 linkIsSelected: IStyle;
7543 // (undocumented)
7544 overflowMenuButton: IStyle;
7545 root: IStyle;
7546 // (undocumented)
7547 text: IStyle;
7548}
7549
7550// @public (undocumented)
7551export interface IPlainCard {
7552}
7553
7554// @public
7555export interface IPlainCardProps extends IBaseCardProps<IPlainCard, IPlainCardStyles, IPlainCardStyleProps> {
7556 onRenderPlainCard?: IRenderFunction<any>;
7557}
7558
7559// @public (undocumented)
7560export interface IPlainCardStyleProps extends IBaseCardStyleProps {
7561}
7562
7563// @public (undocumented)
7564export interface IPlainCardStyles extends IBaseCardStyles {
7565}
7566
7567export { IPoint }
7568
7569// @public (undocumented)
7570export interface IPopupProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
7571 ariaDescribedBy?: string;
7572 ariaLabel?: string;
7573 ariaLabelledBy?: string;
7574 className?: string;
7575 // @deprecated
7576 enableAriaHiddenSiblings?: boolean;
7577 onDismiss?: (ev?: React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement> | KeyboardEvent) => any;
7578 onRestoreFocus?: (params: IPopupRestoreFocusParams) => void;
7579 role?: string;
7580 // @deprecated
7581 shouldRestoreFocus?: boolean;
7582}
7583
7584// @public
7585export interface IPopupRestoreFocusParams {
7586 containsFocus: boolean;
7587 documentContainsFocus: boolean;
7588 originalElement?: HTMLElement | Window | null;
7589}
7590
7591// @public
7592export interface IPosition {
7593 // (undocumented)
7594 [key: string]: number | undefined;
7595 // (undocumented)
7596 bottom?: number;
7597 // (undocumented)
7598 left?: number;
7599 // (undocumented)
7600 right?: number;
7601 // (undocumented)
7602 top?: number;
7603}
7604
7605// @public (undocumented)
7606export interface IPositionDirectionalHintData {
7607 // (undocumented)
7608 alignmentEdge?: RectangleEdge;
7609 // (undocumented)
7610 alignTargetEdge?: boolean;
7611 // (undocumented)
7612 isAuto?: boolean;
7613 // (undocumented)
7614 targetEdge: RectangleEdge;
7615}
7616
7617// @public (undocumented)
7618export interface IPositionedData {
7619 alignmentEdge?: RectangleEdge;
7620 elementPosition: IPosition;
7621 targetEdge: RectangleEdge;
7622}
7623
7624// @public (undocumented)
7625export interface IPositioningContainer {
7626}
7627
7628// @public (undocumented)
7629export interface IPositioningContainerProps extends IBaseProps<IPositioningContainer>, React_2.RefAttributes<HTMLDivElement> {
7630 ariaDescribedBy?: string;
7631 ariaLabel?: string;
7632 ariaLabelledBy?: string;
7633 backgroundColor?: string;
7634 bounds?: IRectangle;
7635 children?: ReactNode;
7636 className?: string;
7637 componentRef?: IRefObject<IPositioningContainer>;
7638 coverTarget?: boolean;
7639 directionalHint?: DirectionalHint;
7640 directionalHintFixed?: boolean;
7641 directionalHintForRTL?: DirectionalHint;
7642 doNotLayer?: boolean;
7643 finalHeight?: number;
7644 minPagePadding?: number;
7645 offsetFromTarget?: number;
7646 onDismiss?: (ev?: any) => void;
7647 onLayerMounted?: () => void;
7648 onPositioned?: (positions?: IPositionedData) => void;
7649 positioningContainerMaxHeight?: number;
7650 positioningContainerWidth?: number;
7651 preventDismissOnScroll?: boolean;
7652 role?: string;
7653 setInitialFocus?: boolean;
7654 target?: Target;
7655 // @deprecated
7656 targetPoint?: Point;
7657 // @deprecated
7658 useTargetPoint?: boolean;
7659}
7660
7661// @public @deprecated (undocumented)
7662export type IPositioningContainerTypes = IPositioningContainerProps;
7663
7664// @public (undocumented)
7665export interface IPositionProps {
7666 alignTargetEdge?: boolean;
7667 bounds?: IRectangle;
7668 coverTarget?: boolean;
7669 directionalHint?: DirectionalHint;
7670 directionalHintFixed?: boolean;
7671 directionalHintForRTL?: DirectionalHint;
7672 gapSpace?: number;
7673 // (undocumented)
7674 target?: Element | MouseEvent | Point;
7675}
7676
7677export { IProcessedStyleSet }
7678
7679// @public (undocumented)
7680export interface IProgressIndicatorProps extends React_2.ClassAttributes<ProgressIndicatorBase> {
7681 ariaLabel?: string;
7682 ariaValueText?: string;
7683 barHeight?: number;
7684 className?: string;
7685 description?: React_2.ReactNode;
7686 label?: React_2.ReactNode;
7687 onRenderProgress?: IRenderFunction<IProgressIndicatorProps>;
7688 percentComplete?: number;
7689 progressHidden?: boolean;
7690 styles?: IStyleFunctionOrObject<IProgressIndicatorStyleProps, IProgressIndicatorStyles>;
7691 theme?: ITheme;
7692 // @deprecated (undocumented)
7693 title?: string;
7694}
7695
7696// @public (undocumented)
7697export interface IProgressIndicatorStyleProps {
7698 // (undocumented)
7699 barHeight?: number;
7700 className?: string;
7701 // (undocumented)
7702 indeterminate?: boolean;
7703 theme: ITheme;
7704}
7705
7706// @public (undocumented)
7707export interface IProgressIndicatorStyles {
7708 // (undocumented)
7709 itemDescription: IStyle;
7710 // (undocumented)
7711 itemName: IStyle;
7712 // (undocumented)
7713 itemProgress: IStyle;
7714 // (undocumented)
7715 progressBar: IStyle;
7716 // (undocumented)
7717 progressTrack: IStyle;
7718 root: IStyle;
7719}
7720
7721export { IPropsWithStyles }
7722
7723// @public (undocumented)
7724export interface IRating {
7725 rating: number;
7726}
7727
7728// @public
7729export interface IRatingProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
7730 allowZeroStars?: boolean;
7731 ariaLabel?: string;
7732 ariaLabelFormat?: string;
7733 componentRef?: IRefObject<IRating>;
7734 defaultRating?: number;
7735 disabled?: boolean;
7736 getAriaLabel?: (rating: number, max: number) => string;
7737 icon?: string;
7738 max?: number;
7739 // @deprecated
7740 min?: number;
7741 onChange?: (event: React_2.FormEvent<HTMLElement>, rating?: number) => void;
7742 onRenderStar?: IRenderFunction<IRatingStarProps>;
7743 rating?: number;
7744 readOnly?: boolean;
7745 size?: RatingSize;
7746 styles?: IStyleFunctionOrObject<IRatingStyleProps, IRatingStyles>;
7747 theme?: ITheme;
7748 unselectedIcon?: string;
7749}
7750
7751// @public (undocumented)
7752export interface IRatingStarProps {
7753 // (undocumented)
7754 classNames: IProcessedStyleSet<IRatingStyles>;
7755 // (undocumented)
7756 disabled?: boolean;
7757 // (undocumented)
7758 fillPercentage: number;
7759 // (undocumented)
7760 icon: string;
7761 // (undocumented)
7762 starNum?: number;
7763 // (undocumented)
7764 unselectedIcon?: string;
7765}
7766
7767// @public (undocumented)
7768export interface IRatingStyleProps {
7769 // (undocumented)
7770 disabled?: boolean;
7771 // (undocumented)
7772 readOnly?: boolean;
7773 // (undocumented)
7774 theme: ITheme;
7775}
7776
7777// @public (undocumented)
7778export interface IRatingStyles {
7779 // (undocumented)
7780 labelText: IStyle;
7781 // (undocumented)
7782 ratingButton: IStyle;
7783 // (undocumented)
7784 ratingFocusZone: IStyle;
7785 // (undocumented)
7786 ratingStar: IStyle;
7787 // (undocumented)
7788 ratingStarBack: IStyle;
7789 // (undocumented)
7790 ratingStarFront: IStyle;
7791 // (undocumented)
7792 ratingStarIsLarge: IStyle;
7793 // (undocumented)
7794 ratingStarIsSmall: IStyle;
7795 // (undocumented)
7796 root: IStyle;
7797 // (undocumented)
7798 rootIsLarge: IStyle;
7799 // (undocumented)
7800 rootIsSmall: IStyle;
7801}
7802
7803export { IRawStyle }
7804
7805export { IRectangle }
7806
7807export { IRefObject }
7808
7809// @public (undocumented)
7810export interface IRelativePositions {
7811 // (undocumented)
7812 beakPosition: {
7813 position: IPosition | undefined;
7814 display: 'block';
7815 };
7816 // (undocumented)
7817 calloutPosition: IPosition;
7818 // (undocumented)
7819 directionalClassName: string;
7820 // (undocumented)
7821 submenuDirection: DirectionalHint;
7822}
7823
7824export { IRenderComponent }
7825
7826export { IRenderFunction }
7827
7828// @public (undocumented)
7829export interface IRenderGroupHeaderProps extends INavLinkGroup {
7830 isExpanded?: boolean;
7831}
7832
7833// @public (undocumented)
7834export interface IResizeGroup {
7835 remeasure(): void;
7836}
7837
7838// @public (undocumented)
7839export interface IResizeGroupProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
7840 className?: string;
7841 componentRef?: IRefObject<IResizeGroup>;
7842 data: any;
7843 dataDidRender?: (renderedData: any) => void;
7844 direction?: ResizeGroupDirection;
7845 onGrowData?: (prevData: any) => any;
7846 onReduceData: (prevData: any) => any;
7847 onRenderData: (data: any) => JSX.Element;
7848 // @deprecated
7849 styles?: IStyleFunctionOrObject<IResizeGroupStyleProps, IResizeGroupStyles>;
7850 theme?: ITheme;
7851}
7852
7853// @public (undocumented)
7854export interface IResizeGroupState {
7855 dataToMeasure?: any;
7856 measureContainer?: boolean;
7857 renderedData?: any;
7858 resizeDirection?: 'grow' | 'shrink';
7859}
7860
7861// @public (undocumented)
7862export interface IResizeGroupStyleProps {
7863 className?: string;
7864 theme: ITheme;
7865}
7866
7867// @public (undocumented)
7868export interface IResizeGroupStyles {
7869 root: IStyle;
7870}
7871
7872// @public
7873export interface IRGB {
7874 a?: number;
7875 b: number;
7876 g: number;
7877 r: number;
7878}
7879
7880export { IScheme }
7881
7882export { ISchemeNames }
7883
7884export { isControlled }
7885
7886// @public (undocumented)
7887export interface IScrollablePane {
7888 forceLayoutUpdate(): void;
7889 getScrollPosition(): number;
7890}
7891
7892// @public (undocumented)
7893export interface IScrollablePaneContext {
7894 // (undocumented)
7895 scrollablePane?: {
7896 subscribe: (handler: (container: HTMLElement, stickyContainer: HTMLElement) => void) => void;
7897 unsubscribe: (handler: (container: HTMLElement, stickyContainer: HTMLElement) => void) => void;
7898 addSticky: (sticky: Sticky) => void;
7899 removeSticky: (sticky: Sticky) => void;
7900 updateStickyRefHeights: () => void;
7901 sortSticky: (sticky: Sticky, sortAgain?: boolean) => void;
7902 notifySubscribers: (sort?: boolean) => void;
7903 syncScrollSticky: (sticky: Sticky) => void;
7904 };
7905}
7906
7907// @public (undocumented)
7908export interface IScrollablePaneProps extends React_2.HTMLAttributes<HTMLElement | ScrollablePaneBase> {
7909 className?: string;
7910 componentRef?: IRefObject<IScrollablePane>;
7911 initialScrollPosition?: number;
7912 // (undocumented)
7913 scrollbarVisibility?: ScrollbarVisibility;
7914 scrollContainerAriaLabel?: string;
7915 scrollContainerFocus?: boolean;
7916 styles?: IStyleFunctionOrObject<IScrollablePaneStyleProps, IScrollablePaneStyles>;
7917 theme?: ITheme;
7918}
7919
7920// @public (undocumented)
7921export interface IScrollablePaneState {
7922 // (undocumented)
7923 scrollbarHeight: number;
7924 // (undocumented)
7925 scrollbarWidth: number;
7926 // (undocumented)
7927 stickyBottomHeight: number;
7928 // (undocumented)
7929 stickyTopHeight: number;
7930}
7931
7932// @public (undocumented)
7933export interface IScrollablePaneStyleProps {
7934 className?: string;
7935 // (undocumented)
7936 scrollbarVisibility?: IScrollablePaneProps['scrollbarVisibility'];
7937 theme: ITheme;
7938}
7939
7940// @public (undocumented)
7941export interface IScrollablePaneStyles {
7942 contentContainer: IStyle;
7943 root: IStyle;
7944 stickyAbove: IStyle;
7945 stickyBelow: IStyle;
7946 stickyBelowItems: IStyle;
7947}
7948
7949// @public (undocumented)
7950export function isDark(color: IColor): boolean;
7951
7952export { isDirectionalKeyCode }
7953
7954// @public (undocumented)
7955export interface ISearchBox {
7956 focus(): void;
7957 hasFocus(): boolean;
7958}
7959
7960// @public (undocumented)
7961export interface ISearchBoxProps extends React_2.InputHTMLAttributes<HTMLInputElement>, React_2.RefAttributes<HTMLDivElement> {
7962 ariaLabel?: string;
7963 className?: string;
7964 clearButtonProps?: IButtonProps;
7965 componentRef?: React_2.Ref<ISearchBox>;
7966 defaultValue?: string;
7967 disableAnimation?: boolean;
7968 iconProps?: Pick<IIconProps, Exclude<keyof IIconProps, 'className'>>;
7969 // @deprecated (undocumented)
7970 labelText?: string;
7971 onChange?: (event?: React_2.ChangeEvent<HTMLInputElement>, newValue?: string) => void;
7972 // @deprecated (undocumented)
7973 onChanged?: (newValue: any) => void;
7974 onClear?: (ev?: any) => void;
7975 onEscape?: (ev?: any) => void;
7976 onSearch?: (newValue: any) => void;
7977 placeholder?: string;
7978 role?: string;
7979 showIcon?: boolean;
7980 styles?: IStyleFunctionOrObject<ISearchBoxStyleProps, ISearchBoxStyles>;
7981 theme?: ITheme;
7982 underlined?: boolean;
7983 value?: string;
7984}
7985
7986// @public (undocumented)
7987export interface ISearchBoxStyleProps {
7988 // (undocumented)
7989 className?: string;
7990 // (undocumented)
7991 disableAnimation?: boolean;
7992 // (undocumented)
7993 disabled?: boolean;
7994 // (undocumented)
7995 hasFocus?: boolean;
7996 // (undocumented)
7997 hasInput?: boolean;
7998 // (undocumented)
7999 showIcon?: boolean;
8000 // (undocumented)
8001 theme: ITheme;
8002 // (undocumented)
8003 underlined?: boolean;
8004}
8005
8006// @public (undocumented)
8007export interface ISearchBoxStyles {
8008 // (undocumented)
8009 clearButton?: IStyle;
8010 // (undocumented)
8011 field?: IStyle;
8012 // (undocumented)
8013 icon?: IStyle;
8014 // (undocumented)
8015 iconContainer?: IStyle;
8016 // (undocumented)
8017 root?: IStyle;
8018}
8019
8020// @public
8021export interface ISelectableDroppableTextProps<TComponent, TListenerElement> extends React_2.HTMLAttributes<TListenerElement> {
8022 ariaLabel?: string;
8023 calloutProps?: ICalloutProps;
8024 className?: string;
8025 componentRef?: IRefObject<TComponent>;
8026 defaultSelectedKey?: string | number | string[] | number[] | null;
8027 disabled?: boolean;
8028 errorMessage?: string;
8029 id?: string;
8030 label?: string;
8031 multiSelect?: boolean;
8032 onDismiss?: () => void;
8033 onRenderContainer?: IRenderFunction<ISelectableDroppableTextProps<TComponent, TListenerElement>>;
8034 onRenderItem?: IRenderFunction<ISelectableOption>;
8035 onRenderList?: IRenderFunction<ISelectableDroppableTextProps<TComponent, TListenerElement>>;
8036 onRenderOption?: IRenderFunction<ISelectableOption>;
8037 openOnKeyboardFocus?: boolean;
8038 options?: any;
8039 panelProps?: IPanelProps;
8040 placeholder?: string;
8041 required?: boolean;
8042 selectedKey?: string | number | string[] | number[] | null;
8043}
8044
8045// @public (undocumented)
8046export interface ISelectableOption<T = any> {
8047 ariaLabel?: string;
8048 data?: T;
8049 disabled?: boolean;
8050 hidden?: boolean;
8051 id?: string;
8052 index?: number;
8053 itemType?: SelectableOptionMenuItemType;
8054 key: string | number;
8055 selected?: boolean;
8056 text: string;
8057 title?: string;
8058}
8059
8060// @public (undocumented)
8061export interface ISelectedItemProps<T> extends IPickerItemProps<T> {
8062 // (undocumented)
8063 onCopyItem: (item: T) => void;
8064}
8065
8066// @public (undocumented)
8067export interface ISelectedPeopleItemProps extends ISelectedItemProps<IExtendedPersonaProps> {
8068 // (undocumented)
8069 onExpandItem?: () => void;
8070 // (undocumented)
8071 renderPersonaCoin?: IRenderFunction<IPersonaProps>;
8072 // (undocumented)
8073 renderPrimaryText?: IRenderFunction<IPersonaProps>;
8074}
8075
8076// @public (undocumented)
8077export interface ISelectedPeopleProps extends IBaseSelectedItemsListProps<IExtendedPersonaProps> {
8078 // (undocumented)
8079 copyMenuItemText?: string;
8080 // (undocumented)
8081 editMenuItemText?: string;
8082 // (undocumented)
8083 floatingPickerProps?: IBaseFloatingPickerProps<IPersonaProps>;
8084 // (undocumented)
8085 getEditingItemText?: (item: IExtendedPersonaProps) => string;
8086 // (undocumented)
8087 onExpandGroup?: (item: IExtendedPersonaProps) => void;
8088 // (undocumented)
8089 onRenderFloatingPicker?: React_2.ComponentType<IBaseFloatingPickerProps<IPersonaProps>>;
8090 // (undocumented)
8091 removeMenuItemText?: string;
8092}
8093
8094export { ISelection }
8095
8096export { ISelectionOptions }
8097
8098export { ISelectionOptionsWithRequiredGetKey }
8099
8100// @public (undocumented)
8101export interface ISelectionZone {
8102 ignoreNextFocus: () => void;
8103}
8104
8105// @public (undocumented)
8106export interface ISelectionZoneProps extends React_2.ClassAttributes<SelectionZone> {
8107 className?: string;
8108 componentRef?: () => void;
8109 disableAutoSelectOnInputElements?: boolean;
8110 enableTouchInvocationTarget?: boolean;
8111 enterModalOnTouch?: boolean;
8112 isSelectedOnFocus?: boolean;
8113 // @deprecated (undocumented)
8114 layout?: {};
8115 onItemContextMenu?: (item?: any, index?: number, ev?: Event) => void | boolean;
8116 onItemInvoked?: (item?: IObjectWithKey, index?: number, ev?: Event) => void;
8117 selection: ISelection;
8118 selectionClearedOnSurfaceClick?: boolean;
8119 selectionMode?: SelectionMode_2;
8120 selectionPreservedOnEmptyClick?: boolean;
8121}
8122
8123// @public (undocumented)
8124export interface ISelectionZoneState {
8125 // (undocumented)
8126 isModal: boolean | undefined;
8127}
8128
8129export { isElementFocusSubZone }
8130
8131export { isElementFocusZone }
8132
8133export { isElementTabbable }
8134
8135export { isElementVisible }
8136
8137export { isElementVisibleAndNotHidden }
8138
8139export { ISemanticColors }
8140
8141export { ISemanticTextColors }
8142
8143// @public (undocumented)
8144export interface ISeparator {
8145}
8146
8147// @public (undocumented)
8148export interface ISeparatorProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
8149 alignContent?: 'start' | 'center' | 'end';
8150 styles?: IStyleFunctionOrObject<ISeparatorStyleProps, ISeparatorStyles>;
8151 theme?: ITheme;
8152 vertical?: boolean;
8153}
8154
8155// @public (undocumented)
8156export type ISeparatorStyleProps = Required<Pick<ISeparatorProps, 'theme'>> & Pick<ISeparatorProps, 'className' | 'alignContent' | 'vertical'>;
8157
8158// @public (undocumented)
8159export interface ISeparatorStyles {
8160 content: IStyle;
8161 root: IStyle;
8162}
8163
8164export { ISerializableObject }
8165
8166export { ISettings }
8167
8168export { ISettingsFunction }
8169
8170export { ISettingsMap }
8171
8172export { IsFocusVisibleClassName }
8173
8174// @public (undocumented)
8175export interface IShimmerCircle {
8176}
8177
8178// @public
8179export interface IShimmerCircleProps extends React_2.AllHTMLAttributes<HTMLElement> {
8180 // @deprecated
8181 borderStyle?: IRawStyle;
8182 componentRef?: IRefObject<IShimmerCircle>;
8183 height?: number;
8184 styles?: IStyleFunctionOrObject<IShimmerCircleStyleProps, IShimmerCircleStyles>;
8185 theme?: ITheme;
8186}
8187
8188// @public
8189export type IShimmerCircleStyleProps = {
8190 theme: ITheme;
8191 height?: number;
8192 borderStyle?: IRawStyle;
8193};
8194
8195// @public
8196export interface IShimmerCircleStyles {
8197 root?: IStyle;
8198 svg?: IStyle;
8199}
8200
8201// @public
8202export interface IShimmerColors {
8203 background?: string;
8204 shimmer?: string;
8205 shimmerWave?: string;
8206}
8207
8208// @public
8209export interface IShimmeredDetailsListProps extends Omit<IDetailsListProps, 'styles'> {
8210 ariaLabelForShimmer?: string;
8211 detailsListStyles?: IDetailsListProps['styles'];
8212 enableShimmer?: boolean;
8213 onRenderCustomPlaceholder?: (rowProps: IDetailsRowProps, index?: number, defaultRender?: (props: IDetailsRowProps) => React_2.ReactNode) => React_2.ReactNode;
8214 removeFadingOverlay?: boolean;
8215 shimmerLines?: number;
8216 // @deprecated
8217 shimmerOverlayStyles?: IStyleFunctionOrObject<IShimmeredDetailsListStyleProps, IShimmeredDetailsListStyles>;
8218 styles?: IStyleFunctionOrObject<IShimmeredDetailsListStyleProps, IShimmeredDetailsListStyles>;
8219}
8220
8221// @public
8222export type IShimmeredDetailsListStyleProps = Required<Pick<IShimmeredDetailsListProps, 'theme'>>;
8223
8224// @public
8225export interface IShimmeredDetailsListStyles {
8226 root: IStyle;
8227}
8228
8229// @public
8230export interface IShimmerElement {
8231 height?: number;
8232 type: ShimmerElementType;
8233 verticalAlign?: 'top' | 'center' | 'bottom';
8234 width?: number | string;
8235}
8236
8237// @public (undocumented)
8238export interface IShimmerElementsGroup {
8239}
8240
8241// @public
8242export interface IShimmerElementsGroupProps extends React_2.AllHTMLAttributes<HTMLElement> {
8243 backgroundColor?: string;
8244 componentRef?: IRefObject<IShimmerElementsGroup>;
8245 flexWrap?: boolean;
8246 rowHeight?: number;
8247 shimmerElements?: IShimmerElement[];
8248 styles?: IStyleFunctionOrObject<IShimmerElementsGroupStyleProps, IShimmerElementsGroupStyles>;
8249 theme?: ITheme;
8250 width?: string;
8251}
8252
8253// @public
8254export interface IShimmerElementsGroupStyleProps {
8255 flexWrap?: boolean;
8256 theme: ITheme;
8257}
8258
8259// @public
8260export interface IShimmerElementsGroupStyles {
8261 root?: IStyle;
8262}
8263
8264// @public (undocumented)
8265export interface IShimmerGap {
8266}
8267
8268// @public
8269export interface IShimmerGapProps extends React_2.AllHTMLAttributes<HTMLElement> {
8270 // @deprecated
8271 borderStyle?: IRawStyle;
8272 componentRef?: IRefObject<IShimmerGap>;
8273 height?: number;
8274 styles?: IStyleFunctionOrObject<IShimmerGapStyleProps, IShimmerGapStyles>;
8275 theme?: ITheme;
8276 width?: number | string;
8277}
8278
8279// @public
8280export type IShimmerGapStyleProps = {
8281 theme: ITheme;
8282 height?: number;
8283 borderStyle?: IRawStyle;
8284};
8285
8286// @public
8287export interface IShimmerGapStyles {
8288 root?: IStyle;
8289}
8290
8291// @public (undocumented)
8292export interface IShimmerLine {
8293}
8294
8295// @public
8296export interface IShimmerLineProps extends React_2.AllHTMLAttributes<HTMLElement> {
8297 // @deprecated
8298 borderStyle?: IRawStyle;
8299 componentRef?: IRefObject<IShimmerLine>;
8300 height?: number;
8301 styles?: IStyleFunctionOrObject<IShimmerLineStyleProps, IShimmerLineStyles>;
8302 theme?: ITheme;
8303 width?: number | string;
8304}
8305
8306// @public
8307export type IShimmerLineStyleProps = {
8308 theme: ITheme;
8309 height?: number;
8310 borderStyle?: IRawStyle;
8311};
8312
8313// @public
8314export interface IShimmerLineStyles {
8315 bottomLeftCorner?: IStyle;
8316 bottomRightCorner?: IStyle;
8317 root?: IStyle;
8318 topLeftCorner?: IStyle;
8319 topRightCorner?: IStyle;
8320}
8321
8322// @public
8323export interface IShimmerProps extends React_2.AllHTMLAttributes<HTMLElement>, React_2.RefAttributes<HTMLElement> {
8324 ariaLabel?: string;
8325 className?: string;
8326 customElementsGroup?: React_2.ReactNode;
8327 isDataLoaded?: boolean;
8328 shimmerColors?: IShimmerColors;
8329 shimmerElements?: IShimmerElement[];
8330 styles?: IStyleFunctionOrObject<IShimmerStyleProps, IShimmerStyles>;
8331 theme?: ITheme;
8332 width?: number | string;
8333}
8334
8335// @public
8336export interface IShimmerStyleProps {
8337 className?: string;
8338 isDataLoaded?: boolean;
8339 shimmerColor?: string;
8340 shimmerWaveColor?: string;
8341 theme: ITheme;
8342 transitionAnimationInterval?: number;
8343}
8344
8345// @public
8346export interface IShimmerStyles {
8347 dataWrapper?: IStyle;
8348 root?: IStyle;
8349 screenReaderText?: IStyle;
8350 shimmerGradient?: IStyle;
8351 shimmerWrapper?: IStyle;
8352}
8353
8354export { isIE11 }
8355
8356export { isInDateRangeArray }
8357
8358export { isIOS }
8359
8360export { ISize }
8361
8362// @public (undocumented)
8363export interface ISlider {
8364 // (undocumented)
8365 focus: () => void;
8366 // (undocumented)
8367 range?: [number, number];
8368 // (undocumented)
8369 value: number | undefined;
8370}
8371
8372// @public (undocumented)
8373export interface ISliderProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange'>, React_2.RefAttributes<HTMLDivElement> {
8374 ariaLabel?: string;
8375 ariaValueText?: (value: number) => string;
8376 buttonProps?: React_2.HTMLAttributes<HTMLButtonElement>;
8377 className?: string;
8378 componentRef?: IRefObject<ISlider>;
8379 defaultLowerValue?: number;
8380 defaultValue?: number;
8381 disabled?: boolean;
8382 label?: string;
8383 lowerValue?: number;
8384 max?: number;
8385 min?: number;
8386 onChange?: (value: number, range?: [number, number], event?: React_2.MouseEvent | React_2.TouchEvent | MouseEvent | TouchEvent | React_2.KeyboardEvent) => void;
8387 onChanged?: (event: any, value: number, range?: [number, number]) => void;
8388 originFromZero?: boolean;
8389 ranged?: boolean;
8390 showValue?: boolean;
8391 snapToStep?: boolean;
8392 step?: number;
8393 styles?: IStyleFunctionOrObject<ISliderStyleProps, ISliderStyles>;
8394 theme?: ITheme;
8395 value?: number;
8396 valueFormat?: (value: number) => string;
8397 vertical?: boolean;
8398}
8399
8400// @public (undocumented)
8401export type ISliderStyleProps = Required<Pick<ISliderProps, 'theme'>> & Pick<ISliderProps, 'className' | 'disabled' | 'vertical' | 'ranged'> & {
8402 showTransitions?: boolean;
8403 showValue?: boolean;
8404 titleLabelClassName?: string;
8405};
8406
8407// @public (undocumented)
8408export interface ISliderStyles {
8409 activeSection: IStyle;
8410 container: IStyle;
8411 inactiveSection: IStyle;
8412 line: IStyle;
8413 lineContainer: IStyle;
8414 root: IStyle;
8415 slideBox: IStyle;
8416 thumb: IStyle;
8417 titleLabel: IStyle;
8418 valueLabel: IStyle;
8419 zeroTick: IStyle;
8420}
8421
8422export { isMac }
8423
8424export { ISpacing }
8425
8426// @public (undocumented)
8427export interface ISpinButton {
8428 focus: () => void;
8429 value?: string;
8430}
8431
8432// @public (undocumented)
8433export interface ISpinButtonProps extends React_2.HTMLAttributes<HTMLDivElement>, React_2.RefAttributes<HTMLDivElement> {
8434 ariaDescribedBy?: string;
8435 ariaLabel?: string;
8436 ariaPositionInSet?: number;
8437 ariaSetSize?: number;
8438 ariaValueNow?: number;
8439 // (undocumented)
8440 ariaValueText?: string;
8441 className?: string;
8442 componentRef?: IRefObject<ISpinButton>;
8443 decrementButtonAriaLabel?: string;
8444 decrementButtonIcon?: IIconProps;
8445 defaultValue?: string;
8446 disabled?: boolean;
8447 downArrowButtonStyles?: Partial<IButtonStyles>;
8448 iconButtonProps?: IButtonProps;
8449 iconProps?: IIconProps;
8450 incrementButtonAriaLabel?: string;
8451 incrementButtonIcon?: IIconProps;
8452 inputProps?: React_2.InputHTMLAttributes<HTMLElement | HTMLInputElement>;
8453 keytipProps?: IKeytipProps;
8454 label?: string;
8455 labelPosition?: Position;
8456 max?: number;
8457 min?: number;
8458 onBlur?: React_2.FocusEventHandler<HTMLInputElement>;
8459 onChange?: (event: React_2.SyntheticEvent<HTMLElement>, newValue?: string) => void;
8460 onDecrement?: (value: string, event?: React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement>) => string | void;
8461 onFocus?: React_2.FocusEventHandler<HTMLInputElement>;
8462 onIncrement?: (value: string, event?: React_2.MouseEvent<HTMLElement> | React_2.KeyboardEvent<HTMLElement>) => string | void;
8463 onValidate?: (value: string, event?: React_2.SyntheticEvent<HTMLElement>) => string | void;
8464 precision?: number;
8465 step?: number;
8466 styles?: IStyleFunctionOrObject<ISpinButtonStyleProps, ISpinButtonStyles>;
8467 theme?: ITheme;
8468 title?: string;
8469 upArrowButtonStyles?: Partial<IButtonStyles>;
8470 value?: string;
8471}
8472
8473// @public (undocumented)
8474export interface ISpinButtonStyleProps {
8475 // (undocumented)
8476 className: string | undefined;
8477 // (undocumented)
8478 disabled: boolean;
8479 // (undocumented)
8480 isFocused: boolean;
8481 // (undocumented)
8482 keyboardSpinDirection: KeyboardSpinDirection;
8483 // (undocumented)
8484 labelPosition: Position;
8485 // (undocumented)
8486 theme: ITheme;
8487}
8488
8489// @public (undocumented)
8490export interface ISpinButtonStyles {
8491 arrowButtonsContainer: IStyle;
8492 icon: IStyle;
8493 input: IStyle;
8494 label: IStyle;
8495 labelWrapper: IStyle;
8496 root: IStyle;
8497 spinButtonWrapper: IStyle;
8498}
8499
8500// @public (undocumented)
8501export interface ISpinner {
8502}
8503
8504// @public
8505export interface ISpinnerProps extends React_2.HTMLAttributes<HTMLElement> {
8506 ariaLabel?: string;
8507 ariaLive?: 'assertive' | 'polite' | 'off';
8508 className?: string;
8509 componentRef?: IRefObject<ISpinner>;
8510 label?: string;
8511 labelPosition?: SpinnerLabelPosition;
8512 size?: SpinnerSize;
8513 styles?: IStyleFunctionOrObject<ISpinnerStyleProps, ISpinnerStyles>;
8514 theme?: ITheme;
8515 // @deprecated (undocumented)
8516 type?: SpinnerType;
8517}
8518
8519// @public
8520export interface ISpinnerStyleProps {
8521 className?: string;
8522 labelPosition?: SpinnerLabelPosition;
8523 size?: SpinnerSize;
8524 theme: ITheme;
8525}
8526
8527// @public
8528export interface ISpinnerStyles {
8529 circle?: IStyle;
8530 label?: IStyle;
8531 root?: IStyle;
8532 screenReaderText?: IStyle;
8533}
8534
8535// @public (undocumented)
8536export interface ISplitButtonClassNames {
8537 // (undocumented)
8538 divider?: string;
8539 // (undocumented)
8540 flexContainer?: string;
8541 // (undocumented)
8542 icon?: string;
8543 // (undocumented)
8544 root?: string;
8545 // (undocumented)
8546 splitButtonContainer?: string;
8547}
8548
8549// @public (undocumented)
8550export function isRelativeUrl(url: string): boolean;
8551
8552// @public (undocumented)
8553export type IStackComponent = IComponent<IStackProps, IStackTokens, IStackStyles>;
8554
8555// @public (undocumented)
8556export type IStackItemComponent = IComponent<IStackItemProps, IStackItemTokens, IStackItemStyles>;
8557
8558// @public (undocumented)
8559export interface IStackItemProps extends IStackItemSlots, IStyleableComponentProps<IStackItemProps, IStackItemTokens, IStackItemStyles>, React_2.HTMLAttributes<HTMLElement> {
8560 align?: 'auto' | 'stretch' | 'baseline' | 'start' | 'center' | 'end';
8561 basis?: React_2.CSSProperties['flexBasis'];
8562 className?: string;
8563 disableShrink?: boolean;
8564 grow?: boolean | number | 'inherit' | 'initial' | 'unset';
8565 order?: number | string;
8566 shrink?: boolean | number | 'inherit' | 'initial' | 'unset';
8567 verticalFill?: boolean;
8568}
8569
8570// @public (undocumented)
8571export type IStackItemSlot = ISlotProp<IStackItemProps>;
8572
8573// @public (undocumented)
8574export interface IStackItemSlots {
8575 // (undocumented)
8576 root?: IHTMLSlot;
8577}
8578
8579// @public (undocumented)
8580export type IStackItemStyles = IComponentStyles<IStackItemSlots>;
8581
8582// @public (undocumented)
8583export type IStackItemStylesReturnType = ReturnType<Extract<IStackItemComponent['styles'], Function>>;
8584
8585// @public (undocumented)
8586export type IStackItemTokenReturnType = ReturnType<Extract<IStackItemComponent['tokens'], Function>>;
8587
8588// @public (undocumented)
8589export interface IStackItemTokens {
8590 margin?: number | string;
8591 padding?: number | string;
8592}
8593
8594// @public (undocumented)
8595export interface IStackProps extends ISlottableProps<IStackSlots>, IStyleableComponentProps<IStackProps, IStackTokens, IStackStyles>, React_2.HTMLAttributes<HTMLElement> {
8596 as?: React_2.ElementType<React_2.HTMLAttributes<HTMLElement>>;
8597 disableShrink?: boolean;
8598 // @deprecated
8599 gap?: number | string;
8600 grow?: boolean | number | 'inherit' | 'initial' | 'unset';
8601 horizontal?: boolean;
8602 horizontalAlign?: Alignment;
8603 // @deprecated
8604 maxHeight?: number | string;
8605 // @deprecated
8606 maxWidth?: number | string;
8607 // @deprecated
8608 padding?: number | string;
8609 reversed?: boolean;
8610 verticalAlign?: Alignment;
8611 verticalFill?: boolean;
8612 wrap?: boolean;
8613}
8614
8615// @public (undocumented)
8616export type IStackSlot = ISlotProp<IStackProps>;
8617
8618// @public (undocumented)
8619export interface IStackSlots {
8620 inner?: IHTMLSlot;
8621 root?: IHTMLSlot;
8622}
8623
8624// @public (undocumented)
8625export type IStackStyles = IComponentStyles<IStackSlots>;
8626
8627// @public (undocumented)
8628export type IStackStylesReturnType = ReturnType<Extract<IStackComponent['styles'], Function>>;
8629
8630// @public (undocumented)
8631export type IStackTokenReturnType = ReturnType<Extract<IStackComponent['tokens'], Function>>;
8632
8633// @public (undocumented)
8634export interface IStackTokens {
8635 childrenGap?: number | string;
8636 maxHeight?: number | string;
8637 maxWidth?: number | string;
8638 padding?: number | string;
8639}
8640
8641// @public (undocumented)
8642export interface IStickyProps extends React_2.Props<Sticky> {
8643 componentRef?: IRefObject<IStickyProps>;
8644 isScrollSynced?: boolean;
8645 stickyBackgroundColor?: string;
8646 stickyClassName?: string;
8647 stickyPosition?: StickyPositionType;
8648}
8649
8650// @public (undocumented)
8651export interface IStickyState {
8652 // (undocumented)
8653 distanceFromTop?: number;
8654 // (undocumented)
8655 isStickyBottom: boolean;
8656 // (undocumented)
8657 isStickyTop: boolean;
8658}
8659
8660export { IStyle }
8661
8662export { IStyleFunction }
8663
8664export { IStyleFunctionOrObject }
8665
8666export { IStyleSet }
8667
8668export { IStyleSheetConfig }
8669
8670// @public
8671export interface ISuggestionItemProps<T> {
8672 className?: string;
8673 componentRef?: IRefObject<ISuggestionsItem>;
8674 id?: string;
8675 isSelectedOverride?: boolean;
8676 onClick: (ev: React_2.MouseEvent<HTMLButtonElement>) => void;
8677 onRemoveItem: (ev: React_2.MouseEvent<HTMLButtonElement>) => void;
8678 removeButtonAriaLabel?: string;
8679 removeButtonIconProps?: IIconProps;
8680 RenderSuggestion: (item: T, suggestionItemProps: ISuggestionItemProps<T>) => JSX.Element;
8681 showRemoveButton?: boolean;
8682 styles?: IStyleFunctionOrObject<ISuggestionsItemStyleProps, ISuggestionsItemStyles>;
8683 suggestionModel: ISuggestionModel<T>;
8684 theme?: ITheme;
8685}
8686
8687// @public
8688export interface ISuggestionModel<T> {
8689 ariaLabel?: string;
8690 item: T;
8691 selected: boolean;
8692}
8693
8694// @public
8695export interface ISuggestions<T> {
8696 executeSelectedAction: () => void;
8697 focusAboveSuggestions: () => void;
8698 focusBelowSuggestions: () => void;
8699 focusSearchForMoreButton: () => void;
8700 hasSuggestedAction: () => boolean;
8701 hasSuggestedActionSelected: () => boolean;
8702 tryHandleKeyDown: (keyCode: number, currentSuggestionIndex: number) => boolean;
8703}
8704
8705// @public (undocumented)
8706export interface ISuggestionsControlProps<T> extends React_2.ClassAttributes<any>, ISuggestionsCoreProps<T> {
8707 className?: string;
8708 completeSuggestion: () => void;
8709 footerItemsProps?: ISuggestionsHeaderFooterProps[];
8710 headerItemsProps?: ISuggestionsHeaderFooterProps[];
8711 shouldSelectFirstItem?: () => boolean;
8712 suggestionsFooterContainerAriaLabel?: string;
8713 suggestionsHeaderContainerAriaLabel?: string;
8714}
8715
8716// @public (undocumented)
8717export interface ISuggestionsControlState<T> {
8718 // (undocumented)
8719 selectedFooterIndex: number;
8720 // (undocumented)
8721 selectedHeaderIndex: number;
8722 // (undocumented)
8723 suggestions: ISuggestionModel<T>[];
8724}
8725
8726// @public (undocumented)
8727export interface ISuggestionsCoreProps<T> extends React_2.ClassAttributes<any> {
8728 componentRef?: IRefObject<{}>;
8729 onRenderSuggestion?: (props: T, suggestionItemProps: ISuggestionItemProps<T>) => JSX.Element;
8730 onSuggestionClick: (ev?: React_2.MouseEvent<HTMLElement>, item?: any, index?: number) => void;
8731 onSuggestionRemove?: (ev?: React_2.MouseEvent<HTMLElement>, item?: IPersonaProps, index?: number) => void;
8732 resultsMaximumNumber?: number;
8733 shouldLoopSelection: boolean;
8734 showRemoveButtons?: boolean;
8735 suggestions: ISuggestionModel<T>[];
8736 suggestionsAvailableAlertText?: string;
8737 suggestionsContainerAriaLabel?: string;
8738 suggestionsItemClassName?: string;
8739}
8740
8741// @public (undocumented)
8742export interface ISuggestionsHeaderFooterItemProps {
8743 // (undocumented)
8744 className: string | undefined;
8745 // (undocumented)
8746 componentRef?: IRefObject<{}>;
8747 // (undocumented)
8748 id: string;
8749 // (undocumented)
8750 isSelected: boolean;
8751 // (undocumented)
8752 onExecute?: () => void;
8753 // (undocumented)
8754 renderItem: () => JSX.Element;
8755}
8756
8757// @public (undocumented)
8758export interface ISuggestionsHeaderFooterProps {
8759 // (undocumented)
8760 ariaLabel?: string;
8761 // (undocumented)
8762 className?: string;
8763 // (undocumented)
8764 onExecute?: () => void;
8765 // (undocumented)
8766 renderItem: () => JSX.Element;
8767 // (undocumented)
8768 shouldShow: () => boolean;
8769}
8770
8771// @public
8772export interface ISuggestionsItem {
8773}
8774
8775// @public
8776export type ISuggestionsItemStyleProps = Required<Pick<ISuggestionItemProps<any>, 'theme'>> & Pick<ISuggestionItemProps<any>, 'className'> & {
8777 suggested?: boolean;
8778};
8779
8780// @public
8781export interface ISuggestionsItemStyles {
8782 closeButton: IStyle;
8783 itemButton: IStyle;
8784 root: IStyle;
8785}
8786
8787// @public
8788export interface ISuggestionsProps<T> extends React_2.Props<any> {
8789 className?: string;
8790 componentRef?: IRefObject<ISuggestions<T>>;
8791 createGenericItem?: () => void;
8792 forceResolveText?: string;
8793 isLoading?: boolean;
8794 isMostRecentlyUsedVisible?: boolean;
8795 isResultsFooterVisible?: boolean;
8796 isSearching?: boolean;
8797 loadingText?: string;
8798 moreSuggestionsAvailable?: boolean;
8799 mostRecentlyUsedHeaderText?: string;
8800 noResultsFoundText?: string;
8801 onGetMoreResults?: () => void;
8802 onRenderNoResultFound?: IRenderFunction<void>;
8803 onRenderSuggestion: (props: T, suggestionItemProps: ISuggestionItemProps<T>) => JSX.Element;
8804 onSuggestionClick: (ev?: React_2.MouseEvent<HTMLElement>, item?: any, index?: number) => void;
8805 onSuggestionRemove?: (ev?: React_2.MouseEvent<HTMLElement>, item?: T | IPersonaProps, index?: number) => void;
8806 refocusSuggestions?: (keyCode: KeyCodes) => void;
8807 removeButtonIconProps?: IIconProps;
8808 removeSuggestionAriaLabel?: string;
8809 resultsFooter?: (props: ISuggestionsProps<T>) => JSX.Element;
8810 resultsFooterFull?: (props: ISuggestionsProps<T>) => JSX.Element;
8811 resultsMaximumNumber?: number;
8812 // @deprecated
8813 searchErrorText?: string;
8814 searchForMoreIcon?: IIconProps;
8815 searchForMoreText?: string;
8816 searchingText?: string;
8817 showForceResolve?: () => boolean;
8818 showRemoveButtons?: boolean;
8819 styles?: IStyleFunctionOrObject<any, any>;
8820 suggestions: ISuggestionModel<T>[];
8821 suggestionsAvailableAlertText?: string;
8822 suggestionsClassName?: string;
8823 suggestionsContainerAriaLabel?: string;
8824 suggestionsHeaderText?: string;
8825 suggestionsItemClassName?: string;
8826 suggestionsListId?: string;
8827 theme?: ITheme;
8828}
8829
8830// @public (undocumented)
8831export interface ISuggestionsState {
8832 // (undocumented)
8833 selectedActionType: SuggestionActionType;
8834}
8835
8836// @public
8837export type ISuggestionsStyleProps = Required<Pick<ISuggestionsProps<any>, 'theme'>> & Pick<ISuggestionsProps<any>, 'className' | 'suggestionsClassName'> & {
8838 forceResolveButtonSelected?: boolean;
8839 searchForMoreButtonSelected?: boolean;
8840};
8841
8842// @public
8843export interface ISuggestionsStyles {
8844 forceResolveButton: IStyle;
8845 noSuggestions: IStyle;
8846 root: IStyle;
8847 searchForMoreButton: IStyle;
8848 subComponentStyles: ISuggestionsSubComponentStyles;
8849 suggestionsAvailable: IStyle;
8850 suggestionsContainer: IStyle;
8851 title: IStyle;
8852}
8853
8854// @public
8855export interface ISuggestionsSubComponentStyles {
8856 spinner: IStyleFunctionOrObject<ISpinnerStyleProps, any>;
8857}
8858
8859// @public
8860export function isValidShade(shade?: Shade): boolean;
8861
8862export { isVirtualElement }
8863
8864// @public (undocumented)
8865export interface ISwatchColorPickerProps extends React_2.RefAttributes<HTMLElement> {
8866 ariaPosInSet?: number;
8867 ariaSetSize?: number;
8868 cellBorderWidth?: number;
8869 cellHeight?: number;
8870 cellMargin?: number;
8871 cellShape?: 'circle' | 'square';
8872 cellWidth?: number;
8873 className?: string;
8874 colorCells: IColorCellProps[];
8875 columnCount: number;
8876 defaultSelectedId?: string | undefined;
8877 disabled?: boolean;
8878 doNotContainWithinFocusZone?: boolean;
8879 focusOnHover?: boolean;
8880 getColorGridCellStyles?: IStyleFunctionOrObject<IColorPickerGridCellStyleProps, IColorPickerGridCellStyles>;
8881 id?: string;
8882 // @deprecated (undocumented)
8883 isControlled?: boolean;
8884 mouseLeaveParentSelector?: string | undefined;
8885 onCellFocused?: (id?: string, color?: string, event?: React_2.FormEvent<HTMLButtonElement>) => void;
8886 onCellHovered?: (id?: string, color?: string, event?: React_2.MouseEvent<HTMLButtonElement>) => void;
8887 onChange?: (event: React_2.FormEvent<HTMLElement>, id: string | undefined, color: string | undefined) => void;
8888 // @deprecated (undocumented)
8889 onColorChanged?: (id?: string, color?: string) => void;
8890 onRenderColorCell?: IRenderFunction<IColorCellProps>;
8891 selectedId?: string;
8892 shouldFocusCircularNavigate?: boolean;
8893 styles?: IStyleFunctionOrObject<ISwatchColorPickerStyleProps, ISwatchColorPickerStyles>;
8894 theme?: ITheme;
8895}
8896
8897// @public
8898export interface ISwatchColorPickerStyleProps {
8899 cellMargin?: number;
8900 className?: string;
8901 theme: ITheme;
8902}
8903
8904// @public
8905export interface ISwatchColorPickerStyles {
8906 focusedContainer?: IStyle;
8907 root: IStyle;
8908 tableCell: IStyle;
8909}
8910
8911// @public
8912export interface ITag {
8913 key: string | number;
8914 name: string;
8915}
8916
8917// @public
8918export interface ITagItemProps extends IPickerItemProps<ITag> {
8919 className?: string;
8920 enableTagFocusInDisabledPicker?: boolean;
8921 styles?: IStyleFunctionOrObject<ITagItemStyleProps, ITagItemStyles>;
8922 theme?: ITheme;
8923 title?: string;
8924}
8925
8926// @public
8927export type ITagItemStyleProps = Required<Pick<ITagItemProps, 'theme'>> & Pick<ITagItemProps, 'className' | 'selected' | 'disabled'> & {};
8928
8929// @public
8930export interface ITagItemStyles {
8931 close: IStyle;
8932 root: IStyle;
8933 text: IStyle;
8934}
8935
8936// @public
8937export interface ITagItemSuggestionProps extends React_2.AllHTMLAttributes<HTMLElement> {
8938 className?: string;
8939 styles?: IStyleFunctionOrObject<ITagItemSuggestionStyleProps, ITagItemSuggestionStyles>;
8940 theme?: ITheme;
8941}
8942
8943// @public
8944export type ITagItemSuggestionStyleProps = Required<Pick<ITagItemSuggestionProps, 'theme'>> & Pick<ITagItemSuggestionProps, 'className'> & {};
8945
8946// @public
8947export interface ITagItemSuggestionStyles {
8948 suggestionTextOverflow?: IStyle;
8949}
8950
8951// @public
8952export interface ITagPickerProps extends IBasePickerProps<ITag> {
8953}
8954
8955// @public (undocumented)
8956export interface ITeachingBubble {
8957 focus(): void;
8958}
8959
8960// @public
8961export interface ITeachingBubbleProps extends React_2.RefAttributes<HTMLDivElement>, IAccessiblePopupProps {
8962 ariaDescribedBy?: string;
8963 ariaLabelledBy?: string;
8964 calloutProps?: ICalloutProps;
8965 componentRef?: IRefObject<ITeachingBubble>;
8966 focusTrapZoneProps?: IFocusTrapZoneProps;
8967 footerContent?: string | JSX.Element;
8968 hasCloseButton?: boolean;
8969 // @deprecated (undocumented)
8970 hasCloseIcon?: boolean;
8971 hasCondensedHeadline?: boolean;
8972 hasSmallHeadline?: boolean;
8973 headline?: string;
8974 illustrationImage?: IImageProps;
8975 isWide?: boolean;
8976 onDismiss?: (ev?: any) => void;
8977 primaryButtonProps?: IButtonProps;
8978 secondaryButtonProps?: IButtonProps;
8979 styles?: IStyleFunctionOrObject<ITeachingBubbleStyleProps, ITeachingBubbleStyles>;
8980 target?: Target;
8981 // @deprecated
8982 targetElement?: HTMLElement;
8983 theme?: ITheme;
8984}
8985
8986// @public (undocumented)
8987export type ITeachingBubbleStyleProps = Required<Pick<ITeachingBubbleProps, 'theme'>> & Pick<ITeachingBubbleProps, 'hasCondensedHeadline' | 'hasSmallHeadline' | 'isWide'> & {
8988 calloutProps?: ICalloutContentStyleProps;
8989 primaryButtonClassName?: string;
8990 secondaryButtonClassName?: string;
8991 hasCloseButton?: boolean;
8992 hasHeadline?: boolean;
8993};
8994
8995// @public (undocumented)
8996export interface ITeachingBubbleStyles {
8997 // (undocumented)
8998 body: IStyle;
8999 // (undocumented)
9000 bodyContent: IStyle;
9001 // (undocumented)
9002 closeButton: IStyle;
9003 // (undocumented)
9004 content: IStyle;
9005 // (undocumented)
9006 footer: IStyle;
9007 // (undocumented)
9008 header: IStyle;
9009 // (undocumented)
9010 headline: IStyle;
9011 // (undocumented)
9012 imageContent: IStyle;
9013 // (undocumented)
9014 primaryButton: IStyle;
9015 // (undocumented)
9016 root: IStyle;
9017 // (undocumented)
9018 secondaryButton: IStyle;
9019 // (undocumented)
9020 subComponentStyles?: ITeachingBubbleSubComponentStyles;
9021 // (undocumented)
9022 subText: IStyle;
9023}
9024
9025// @public (undocumented)
9026export interface ITeachingBubbleSubComponentStyles {
9027 callout: IStyleFunctionOrObject<any, any>;
9028}
9029
9030// @public (undocumented)
9031export type ITextComponent = IComponent<ITextProps, ITextTokens, ITextStyles>;
9032
9033// @public (undocumented)
9034export interface ITextField {
9035 blur: () => void;
9036 focus: () => void;
9037 select: () => void;
9038 selectionEnd: number | null;
9039 selectionStart: number | null;
9040 setSelectionEnd: (value: number) => void;
9041 setSelectionRange: (start: number, end: number) => void;
9042 setSelectionStart: (value: number) => void;
9043 value: string | undefined;
9044}
9045
9046// @public
9047export interface ITextFieldProps extends React_2.AllHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
9048 ariaLabel?: string;
9049 autoAdjustHeight?: boolean;
9050 autoComplete?: string;
9051 borderless?: boolean;
9052 canRevealPassword?: boolean;
9053 className?: string;
9054 componentRef?: IRefObject<ITextField>;
9055 defaultValue?: string;
9056 deferredValidationTime?: number;
9057 description?: string;
9058 disabled?: boolean;
9059 // @deprecated
9060 elementRef?: React_2.Ref<HTMLDivElement>;
9061 errorMessage?: string | JSX.Element;
9062 iconProps?: IIconProps;
9063 inputClassName?: string;
9064 invalid?: boolean;
9065 label?: string;
9066 multiline?: boolean;
9067 onChange?: (event: React_2.FormEvent<HTMLInputElement | HTMLTextAreaElement>, newValue?: string) => void;
9068 onGetErrorMessage?: (value: string) => string | JSX.Element | PromiseLike<string | JSX.Element> | undefined;
9069 onNotifyValidationResult?: (errorMessage: string | JSX.Element, value: string | undefined) => void;
9070 onRenderDescription?: IRenderFunction<ITextFieldProps>;
9071 onRenderInput?: IRenderFunction<React_2.InputHTMLAttributes<HTMLInputElement> & React_2.RefAttributes<HTMLInputElement>>;
9072 onRenderLabel?: IRenderFunction<ITextFieldProps>;
9073 onRenderPrefix?: IRenderFunction<ITextFieldProps>;
9074 onRenderSuffix?: IRenderFunction<ITextFieldProps>;
9075 prefix?: string;
9076 readOnly?: boolean;
9077 resizable?: boolean;
9078 revealPasswordAriaLabel?: string;
9079 styles?: IStyleFunctionOrObject<ITextFieldStyleProps, ITextFieldStyles>;
9080 suffix?: string;
9081 theme?: ITheme;
9082 underlined?: boolean;
9083 validateOnFocusIn?: boolean;
9084 validateOnFocusOut?: boolean;
9085 validateOnLoad?: boolean;
9086 value?: string;
9087}
9088
9089// Warning: (ae-internal-missing-underscore) The name "ITextFieldSnapshot" should be prefixed with an underscore because the declaration is marked as @internal
9090//
9091// @internal (undocumented)
9092export interface ITextFieldSnapshot {
9093 selection?: [number | null, number | null];
9094}
9095
9096// Warning: (ae-internal-missing-underscore) The name "ITextFieldState" should be prefixed with an underscore because the declaration is marked as @internal
9097//
9098// @internal (undocumented)
9099export interface ITextFieldState {
9100 errorMessage: string | JSX.Element;
9101 isFocused?: boolean;
9102 isRevealingPassword?: boolean;
9103 uncontrolledValue: string | undefined;
9104}
9105
9106// @public (undocumented)
9107export type ITextFieldStyleProps = Required<Pick<ITextFieldProps, 'theme'>> & Pick<ITextFieldProps, 'className' | 'disabled' | 'inputClassName' | 'required' | 'multiline' | 'borderless' | 'resizable' | 'underlined' | 'autoAdjustHeight'> & {
9108 hasErrorMessage?: boolean;
9109 hasIcon?: boolean;
9110 hasLabel?: boolean;
9111 focused?: boolean;
9112 hasRevealButton?: boolean;
9113};
9114
9115// @public (undocumented)
9116export interface ITextFieldStyles {
9117 description: IStyle;
9118 errorMessage: IStyle;
9119 field: IStyle;
9120 fieldGroup: IStyle;
9121 icon: IStyle;
9122 prefix: IStyle;
9123 revealButton: IStyle;
9124 revealIcon: IStyle;
9125 revealSpan: IStyle;
9126 root: IStyle;
9127 subComponentStyles: ITextFieldSubComponentStyles;
9128 suffix: IStyle;
9129 wrapper: IStyle;
9130}
9131
9132// @public (undocumented)
9133export interface ITextFieldSubComponentStyles {
9134 label: IStyleFunctionOrObject<any, any>;
9135}
9136
9137// @public
9138export interface ITextProps extends ISlottableProps<ITextSlots>, IStyleableComponentProps<ITextProps, ITextTokens, ITextStyles>, React_2.HTMLAttributes<HTMLElement> {
9139 as?: React_2.ElementType<React_2.HTMLAttributes<HTMLElement>>;
9140 block?: boolean;
9141 nowrap?: boolean;
9142 variant?: keyof IFontStyles;
9143}
9144
9145// @public (undocumented)
9146export type ITextSlot = ISlotProp<ITextProps, string>;
9147
9148// @public (undocumented)
9149export interface ITextSlots {
9150 // (undocumented)
9151 root?: IHTMLSlot;
9152}
9153
9154// @public (undocumented)
9155export type ITextStyles = IComponentStyles<ITextSlots>;
9156
9157// @public (undocumented)
9158export type ITextStylesReturnType = ReturnType<Extract<ITextComponent['styles'], Function>>;
9159
9160// @public (undocumented)
9161export type ITextTokenReturnType = ReturnType<Extract<ITextComponent['tokens'], Function>>;
9162
9163// @public (undocumented)
9164export interface ITextTokens {
9165}
9166
9167export { ITheme }
9168
9169// @public (undocumented)
9170export interface IThemeRules {
9171 // (undocumented)
9172 [key: string]: IThemeSlotRule;
9173}
9174
9175// @public (undocumented)
9176export interface IThemeSlotRule {
9177 asShade?: Shade;
9178 color?: IColor;
9179 dependentRules: IThemeSlotRule[];
9180 inherits?: IThemeSlotRule;
9181 isBackgroundShade?: boolean;
9182 isCustomized?: boolean;
9183 name: string;
9184 value?: string;
9185}
9186
9187// @public (undocumented)
9188export interface ITimePickerProps extends Omit<IComboBoxProps, 'options' | 'selectedKey' | 'defaultSelectedKey' | 'multiSelect' | 'text' | 'defaultValue' | 'onChange'> {
9189 allowFreeform?: boolean;
9190 defaultValue?: Date;
9191 increments?: number;
9192 label?: string;
9193 onChange?: (event: React_2.FormEvent<IComboBox>, time: Date) => void;
9194 onFormatDate?: (date: Date) => string;
9195 onValidateUserInput?: (userInput: string) => string;
9196 showSeconds?: boolean;
9197 strings?: ITimePickerStrings;
9198 timeRange?: ITimeRange;
9199 useHour12?: boolean;
9200}
9201
9202// @public
9203export interface ITimePickerStrings {
9204 invalidInputErrorMessage: string;
9205}
9206
9207// @public
9208export interface ITimeRange {
9209 end: number;
9210 start: number;
9211}
9212
9213// @public (undocumented)
9214export interface IToggle {
9215 // (undocumented)
9216 focus: () => void;
9217}
9218
9219// @public
9220export interface IToggleProps extends React_2.HTMLAttributes<HTMLElement>, React_2.RefAttributes<HTMLElement> {
9221 ariaLabel?: string;
9222 as?: IComponentAs<React_2.HTMLAttributes<HTMLElement>>;
9223 checked?: boolean;
9224 componentRef?: IRefObject<IToggle>;
9225 defaultChecked?: boolean;
9226 disabled?: boolean;
9227 inlineLabel?: boolean;
9228 label?: string | JSX.Element;
9229 // @deprecated (undocumented)
9230 offAriaLabel?: string;
9231 offText?: string;
9232 // @deprecated (undocumented)
9233 onAriaLabel?: string;
9234 onChange?: (event: React_2.MouseEvent<HTMLElement>, checked?: boolean) => void;
9235 // @deprecated (undocumented)
9236 onChanged?: (checked: boolean) => void;
9237 onText?: string;
9238 role?: 'checkbox' | 'switch' | 'menuitemcheckbox';
9239 styles?: IStyleFunctionOrObject<IToggleStyleProps, IToggleStyles>;
9240 theme?: ITheme;
9241}
9242
9243// @public
9244export interface IToggleStyleProps {
9245 checked?: boolean;
9246 className?: string;
9247 disabled?: boolean;
9248 inlineLabel?: boolean;
9249 onOffMissing?: boolean;
9250 theme: ITheme;
9251}
9252
9253// @public
9254export interface IToggleStyles {
9255 container: IStyle;
9256 label: IStyle;
9257 pill: IStyle;
9258 root: IStyle;
9259 text: IStyle;
9260 thumb: IStyle;
9261}
9262
9263// @public (undocumented)
9264export interface ITooltip {
9265}
9266
9267// @public (undocumented)
9268export interface ITooltipHost {
9269 dismiss: () => void;
9270 show: () => void;
9271}
9272
9273// @public
9274export interface ITooltipHostProps extends React_2.HTMLAttributes<HTMLDivElement | TooltipHostBase> {
9275 calloutProps?: ICalloutProps;
9276 className?: string;
9277 closeDelay?: number;
9278 componentRef?: IRefObject<ITooltipHost>;
9279 content?: string | JSX.Element | JSX.Element[];
9280 delay?: TooltipDelay;
9281 directionalHint?: DirectionalHint;
9282 directionalHintForRTL?: DirectionalHint;
9283 hostClassName?: string;
9284 id?: string;
9285 onTooltipToggle?(isTooltipVisible: boolean): void;
9286 overflowMode?: TooltipOverflowMode;
9287 // @deprecated
9288 setAriaDescribedBy?: boolean;
9289 styles?: IStyleFunctionOrObject<ITooltipHostStyleProps, ITooltipHostStyles>;
9290 theme?: ITheme;
9291 tooltipProps?: ITooltipProps;
9292}
9293
9294// @public (undocumented)
9295export interface ITooltipHostState {
9296 // @deprecated (undocumented)
9297 isAriaPlaceholderRendered: boolean;
9298 // (undocumented)
9299 isTooltipVisible: boolean;
9300}
9301
9302// @public (undocumented)
9303export interface ITooltipHostStyleProps {
9304 // (undocumented)
9305 className?: string;
9306 // (undocumented)
9307 theme: ITheme;
9308}
9309
9310// @public (undocumented)
9311export interface ITooltipHostStyles {
9312 root: IStyle;
9313}
9314
9315// @public (undocumented)
9316export interface ITooltipProps extends React_2.HTMLAttributes<HTMLDivElement | TooltipBase> {
9317 calloutProps?: ICalloutProps;
9318 componentRef?: IRefObject<ITooltip>;
9319 content?: string | JSX.Element | JSX.Element[];
9320 delay?: TooltipDelay;
9321 directionalHint?: DirectionalHint;
9322 directionalHintForRTL?: DirectionalHint;
9323 maxWidth?: string | null;
9324 onRenderContent?: IRenderFunction<ITooltipProps>;
9325 styles?: IStyleFunctionOrObject<ITooltipStyleProps, ITooltipStyles>;
9326 targetElement?: HTMLElement;
9327 theme?: ITheme;
9328}
9329
9330// @public (undocumented)
9331export interface ITooltipStyleProps {
9332 beakWidth?: number;
9333 // (undocumented)
9334 className?: string;
9335 // @deprecated
9336 delay?: TooltipDelay;
9337 gapSpace?: number;
9338 maxWidth?: string;
9339 // (undocumented)
9340 theme: ITheme;
9341}
9342
9343// @public (undocumented)
9344export interface ITooltipStyles {
9345 content: IStyle;
9346 root: IStyle;
9347 subText: IStyle;
9348}
9349
9350// @public (undocumented)
9351export interface IUniqueKeytip {
9352 // (undocumented)
9353 keytip: IKeytipProps;
9354 // (undocumented)
9355 uniqueID: string;
9356}
9357
9358// @public @deprecated
9359export interface IVerticalDividerClassNames {
9360 divider: string;
9361 wrapper: string;
9362}
9363
9364// @public
9365export interface IVerticalDividerProps extends React_2.HTMLAttributes<HTMLElement>, React_2.RefAttributes<HTMLDivElement> {
9366 className?: string;
9367 // @deprecated
9368 getClassNames?: (theme: ITheme) => IVerticalDividerClassNames;
9369 styles?: IStyleFunctionOrObject<IVerticalDividerPropsStyles, IVerticalDividerStyles>;
9370 theme?: ITheme;
9371}
9372
9373// @public
9374export type IVerticalDividerPropsStyles = Pick<IVerticalDividerProps, 'theme' | 'getClassNames' | 'className'>;
9375
9376// @public
9377export interface IVerticalDividerStyles {
9378 divider: IStyle;
9379 wrapper: IStyle;
9380}
9381
9382// @public
9383export interface IViewport {
9384 height: number;
9385 width: number;
9386}
9387
9388export { IVirtualElement }
9389
9390export { IWarnControlledUsageParams }
9391
9392// @public (undocumented)
9393export interface IWeeklyDayPicker {
9394 // (undocumented)
9395 focus(): void;
9396}
9397
9398// @public (undocumented)
9399export type IWeeklyDayPickerNavigationIcons = Pick<ICalendarNavigationIcons, 'leftNavigation' | 'rightNavigation'>;
9400
9401// @public (undocumented)
9402export interface IWeeklyDayPickerProps extends IBaseProps<IWeeklyDayPicker>, Partial<ICalendarDayGridProps> {
9403 animationDirection?: AnimationDirection;
9404 className?: string;
9405 componentRef?: IRefObject<IWeeklyDayPicker>;
9406 dateTimeFormatter?: IDateFormatting;
9407 firstDayOfWeek?: DayOfWeek;
9408 initialDate?: Date;
9409 maxDate?: Date;
9410 minDate?: Date;
9411 navigationIcons?: IWeeklyDayPickerNavigationIcons;
9412 onNavigateDate?: (date: Date) => void;
9413 onSelectDate?: (date: Date) => void;
9414 restrictedDates?: Date[];
9415 showFullMonth?: boolean;
9416 strings: IWeeklyDayPickerStrings;
9417 styles?: IStyleFunctionOrObject<IWeeklyDayPickerStyleProps, IWeeklyDayPickerStyles>;
9418 theme?: ITheme;
9419 today?: Date;
9420 weeksToShow?: number;
9421}
9422
9423// @public (undocumented)
9424export interface IWeeklyDayPickerStrings extends ICalendarStrings {
9425 nextWeekAriaLabel?: string;
9426 prevWeekAriaLabel?: string;
9427}
9428
9429// @public (undocumented)
9430export interface IWeeklyDayPickerStyleProps extends ICalendarDayGridStyleProps {
9431 className?: string;
9432 theme: ITheme;
9433}
9434
9435// @public (undocumented)
9436export interface IWeeklyDayPickerStyles extends Partial<ICalendarDayGridStyles> {
9437 disabledStyle: IStyle;
9438 navigationIconButton: IStyle;
9439 root: IStyle;
9440}
9441
9442// @public
9443export interface IWindowWithSegments extends Window {
9444 // (undocumented)
9445 getWindowSegments?: () => DOMRect[];
9446}
9447
9448// @public @deprecated (undocumented)
9449export interface IWithResponsiveModeState {
9450 // (undocumented)
9451 responsiveMode?: ResponsiveMode;
9452}
9453
9454// @public
9455export interface IWithViewportProps {
9456 delayFirstMeasure?: boolean;
9457 disableResizeObserver?: boolean;
9458 skipViewportMeasures?: boolean;
9459}
9460
9461// @public (undocumented)
9462export enum KeyboardSpinDirection {
9463 // (undocumented)
9464 down = -1,
9465 // (undocumented)
9466 notSpinning = 0,
9467 // (undocumented)
9468 up = 1
9469}
9470
9471export { KeyCodes }
9472
9473export { keyframes }
9474
9475// @public
9476export class Keytip extends React_2.Component<IKeytipProps, {}> {
9477 // (undocumented)
9478 render(): JSX.Element;
9479}
9480
9481// @public
9482export const KeytipData: React_2.FunctionComponent<IKeytipDataProps & IRenderComponent<{}>>;
9483
9484// @public (undocumented)
9485export type KeytipDataOptions = IKeytipDataProps;
9486
9487// @public (undocumented)
9488export namespace KeytipEvents {
9489 const // (undocumented)
9490 KEYTIP_ADDED = "keytipAdded";
9491 const // (undocumented)
9492 KEYTIP_REMOVED = "keytipRemoved";
9493 const // (undocumented)
9494 KEYTIP_UPDATED = "keytipUpdated";
9495 const // (undocumented)
9496 PERSISTED_KEYTIP_ADDED = "persistedKeytipAdded";
9497 const // (undocumented)
9498 PERSISTED_KEYTIP_REMOVED = "persistedKeytipRemoved";
9499 const // (undocumented)
9500 PERSISTED_KEYTIP_EXECUTE = "persistedKeytipExecute";
9501 const // (undocumented)
9502 ENTER_KEYTIP_MODE = "enterKeytipMode";
9503 const // (undocumented)
9504 EXIT_KEYTIP_MODE = "exitKeytipMode";
9505}
9506
9507// @public (undocumented)
9508export const KeytipLayer: React_2.FunctionComponent<IKeytipLayerProps>;
9509
9510// @public
9511export class KeytipLayerBase extends React_2.Component<IKeytipLayerProps, IKeytipLayerState> {
9512 constructor(props: IKeytipLayerProps, context: any);
9513 // (undocumented)
9514 componentDidMount(): void;
9515 // (undocumented)
9516 componentWillUnmount(): void;
9517 // (undocumented)
9518 static defaultProps: IKeytipLayerProps;
9519 // (undocumented)
9520 getCurrentSequence(): string;
9521 // Warning: (ae-forgotten-export) The symbol "KeytipTree" needs to be exported by the entry point index.d.ts
9522 //
9523 // (undocumented)
9524 getKeytipTree(): KeytipTree;
9525 processInput(key: string, ev?: React_2.KeyboardEvent<HTMLElement>): void;
9526 processTransitionInput(transitionKey: IKeytipTransitionKey, ev?: React_2.KeyboardEvent<HTMLElement>): void;
9527 // (undocumented)
9528 render(): JSX.Element;
9529 showKeytips(ids: string[]): void;
9530}
9531
9532// @public
9533export class KeytipManager {
9534 addParentOverflow(keytipProps: IKeytipProps): IKeytipProps;
9535 // (undocumented)
9536 delayUpdatingKeytipChange: boolean;
9537 enterKeytipMode(): void;
9538 exitKeytipMode(): void;
9539 static getInstance(): KeytipManager;
9540 getKeytips(): IKeytipProps[];
9541 init(delayUpdatingKeytipChange: boolean): void;
9542 // (undocumented)
9543 inKeytipMode: boolean;
9544 // (undocumented)
9545 keytips: {
9546 [key: string]: IUniqueKeytip;
9547 };
9548 menuExecute(overflowButtonSequences: string[], keytipSequences: string[]): void;
9549 // (undocumented)
9550 persistedKeytips: {
9551 [key: string]: IUniqueKeytip;
9552 };
9553 register(keytipProps: IKeytipProps, persisted?: boolean): string;
9554 // (undocumented)
9555 sequenceMapping: {
9556 [key: string]: IKeytipProps;
9557 };
9558 // (undocumented)
9559 shouldEnterKeytipMode: boolean;
9560 unregister(keytipToRemove: IKeytipProps, uniqueID: string, persisted?: boolean): void;
9561 update(keytipProps: IKeytipProps, uniqueID: string): void;
9562}
9563
9564// @public (undocumented)
9565export type KeytipTransitionModifier = typeof KeyCodes.shift | typeof KeyCodes.ctrl | typeof KeyCodes.alt | typeof KeyCodes.leftWindow;
9566
9567// @public (undocumented)
9568export const KTP_ARIA_SEPARATOR = ", ";
9569
9570// @public (undocumented)
9571export const KTP_FULL_PREFIX: string;
9572
9573// @public (undocumented)
9574export const KTP_LAYER_ID = "ktp-layer-id";
9575
9576// @public (undocumented)
9577export const KTP_PREFIX = "ktp";
9578
9579// @public (undocumented)
9580export const KTP_SEPARATOR = "-";
9581
9582// @public
9583export function ktpTargetFromId(keytipId: string): string;
9584
9585// @public
9586export function ktpTargetFromSequences(keySequences: string[]): string;
9587
9588// @public (undocumented)
9589export const Label: React_2.FunctionComponent<ILabelProps>;
9590
9591// @public (undocumented)
9592export class LabelBase extends React_2.Component<ILabelProps, {}> {
9593 // (undocumented)
9594 render(): JSX.Element;
9595}
9596
9597export { labelProperties }
9598
9599// @public (undocumented)
9600export const Layer: React_2.FunctionComponent<ILayerProps>;
9601
9602// @public (undocumented)
9603export const LayerBase: React_2.FunctionComponent<ILayerProps>;
9604
9605// @public (undocumented)
9606export const LayerHost: React_2.FunctionComponent<ILayerHostProps>;
9607
9608// @public (undocumented)
9609export const Link: React_2.FunctionComponent<ILinkProps>;
9610
9611// @public (undocumented)
9612export const LinkBase: React_2.FunctionComponent<ILinkProps>;
9613
9614export { liProperties }
9615
9616// @public
9617export class List<T = any> extends React_2.Component<IListProps<T>, IListState<T>> implements IList {
9618 constructor(props: IListProps<T>);
9619 // (undocumented)
9620 componentDidMount(): void;
9621 // (undocumented)
9622 componentDidUpdate(previousProps: IListProps, previousState: IListState<T>): void;
9623 // (undocumented)
9624 componentWillUnmount(): void;
9625 // (undocumented)
9626 static defaultProps: {
9627 startIndex: number;
9628 onRenderCell: (item: any, index: number, containsFocus: boolean) => JSX.Element;
9629 renderedWindowsAhead: number;
9630 renderedWindowsBehind: number;
9631 };
9632 // (undocumented)
9633 forceUpdate(): void;
9634 // (undocumented)
9635 static getDerivedStateFromProps<U = any>(nextProps: IListProps<U>, previousState: IListState<U>): IListState<U>;
9636 // (undocumented)
9637 getStartItemIndexInView(measureItem?: (itemIndex: number) => number): number;
9638 getTotalListHeight(): number;
9639 // (undocumented)
9640 get pageRefs(): Readonly<Record<string, unknown>>;
9641 // (undocumented)
9642 render(): JSX.Element | null;
9643 scrollToIndex(index: number, measureItem?: (itemIndex: number) => number, scrollToMode?: ScrollToMode): void;
9644 // (undocumented)
9645 shouldComponentUpdate(newProps: IListProps<T>, newState: IListState<T>): boolean;
9646}
9647
9648// @public (undocumented)
9649export const ListPeoplePicker: React_2.FunctionComponent<IPeoplePickerProps>;
9650
9651// @public
9652export class ListPeoplePickerBase extends MemberListPeoplePicker {
9653 static defaultProps: {
9654 onRenderItem: (props: IPeoplePickerItemSelectedProps) => JSX.Element;
9655 onRenderSuggestionsItem: (personaProps: IPersonaProps, suggestionsProps?: IBasePickerSuggestionsProps<any> | undefined) => JSX.Element;
9656 createGenericItem: typeof createGenericItem;
9657 };
9658}
9659
9660export { loadTheme }
9661
9662export { LocalizedFontFamilies }
9663
9664export { LocalizedFontNames }
9665
9666// @public @deprecated
9667export function makeStyles<TStyleSet extends {
9668 [key in keyof TStyleSet]: IStyle;
9669} = {
9670 [key: string]: IStyle;
9671}>(styleOrFunction: TStyleSet | ((theme: Theme) => TStyleSet)): (options?: UseStylesOptions) => StylesClassMapping<TStyleSet>;
9672
9673export { mapEnumByName }
9674
9675// @public (undocumented)
9676export const MarqueeSelection: React_2.FunctionComponent<IMarqueeSelectionProps>;
9677
9678// @public (undocumented)
9679export const MaskedTextField: React_2.FunctionComponent<IMaskedTextFieldProps>;
9680
9681// @public (undocumented)
9682export const MAX_COLOR_ALPHA = 100;
9683
9684// @public (undocumented)
9685export const MAX_COLOR_HUE = 359;
9686
9687// @public (undocumented)
9688export const MAX_COLOR_RGB = 255;
9689
9690// @public @deprecated (undocumented)
9691export const MAX_COLOR_RGBA = 255;
9692
9693// @public (undocumented)
9694export const MAX_COLOR_SATURATION = 100;
9695
9696// @public (undocumented)
9697export const MAX_COLOR_VALUE = 100;
9698
9699// @public
9700export const MAX_HEX_LENGTH = 6;
9701
9702// @public
9703export const MAX_RGBA_LENGTH = 3;
9704
9705// @public (undocumented)
9706export const MeasuredContext: React_2.Context<{
9707 isMeasured: boolean;
9708}>;
9709
9710// @public (undocumented)
9711export class MemberListPeoplePicker extends BasePickerListBelow<IPersonaProps, IPeoplePickerProps> {
9712}
9713
9714export { memoize }
9715
9716export { memoizeFunction }
9717
9718export { merge }
9719
9720export { mergeAriaAttributeValues }
9721
9722export { mergeCustomizations }
9723
9724// @public
9725export function mergeOverflows(keySequences: string[], overflowKeySequences: string[]): string[];
9726
9727export { mergeScopedSettings }
9728
9729export { mergeSettings }
9730
9731export { mergeStyles }
9732
9733export { mergeStyleSets }
9734
9735export { mergeThemes }
9736
9737// @public (undocumented)
9738export const MessageBar: React_2.FunctionComponent<IMessageBarProps>;
9739
9740// @public (undocumented)
9741export const MessageBarBase: React_2.FunctionComponent<IMessageBarProps>;
9742
9743// @public (undocumented)
9744export class MessageBarButton extends React_2.Component<IButtonProps, {}> {
9745 // (undocumented)
9746 render(): JSX.Element;
9747}
9748
9749// @public (undocumented)
9750export enum MessageBarType {
9751 blocked = 2,
9752 error = 1,
9753 info = 0,
9754 severeWarning = 3,
9755 success = 4,
9756 warning = 5
9757}
9758
9759// @public
9760export const MIN_HEX_LENGTH = 3;
9761
9762// @public
9763export const MIN_RGBA_LENGTH = 1;
9764
9765// @public (undocumented)
9766export const Modal: React_2.FunctionComponent<IModalProps>;
9767
9768// @public (undocumented)
9769export const ModalBase: React_2.FunctionComponent<IModalProps>;
9770
9771export { modalize }
9772
9773export { MonthOfYear }
9774
9775export { MotionAnimations }
9776
9777export { MotionDurations }
9778
9779export { MotionTimings }
9780
9781// @public (undocumented)
9782export const Nav: React_2.FunctionComponent<INavProps>;
9783
9784// @public (undocumented)
9785export class NavBase extends React_2.Component<INavProps, INavState> implements INav {
9786 constructor(props: INavProps);
9787 // (undocumented)
9788 static defaultProps: INavProps;
9789 focus(forceIntoFirstElement?: boolean): boolean;
9790 // (undocumented)
9791 render(): JSX.Element | null;
9792 // (undocumented)
9793 get selectedKey(): string | undefined;
9794}
9795
9796export { NeutralColors }
9797
9798export { normalize }
9799
9800// @public (undocumented)
9801export const NormalPeoplePicker: React_2.FunctionComponent<IPeoplePickerProps>;
9802
9803// @public
9804export class NormalPeoplePickerBase extends BasePeoplePicker {
9805 static defaultProps: {
9806 onRenderItem: (props: IPeoplePickerItemSelectedProps) => JSX.Element;
9807 onRenderSuggestionsItem: (personaProps: IPersonaProps, suggestionsProps?: IBasePickerSuggestionsProps<any> | undefined) => JSX.Element;
9808 createGenericItem: typeof createGenericItem;
9809 };
9810}
9811
9812export { noWrap }
9813
9814export { nullRender }
9815
9816export { olProperties }
9817
9818export { omit }
9819
9820export { Omit_2 as Omit }
9821
9822export { on }
9823
9824// @public (undocumented)
9825export enum OpenCardMode {
9826 hotKey = 1,
9827 hover = 0
9828}
9829
9830export { optionProperties }
9831
9832// @public (undocumented)
9833export enum OverflowButtonType {
9834 descriptive = 1,
9835 downArrow = 3,
9836 more = 2,
9837 none = 0
9838}
9839
9840// @public (undocumented)
9841export const OverflowSet: React_2.FunctionComponent<IOverflowSetProps>;
9842
9843// @public (undocumented)
9844export const OverflowSetBase: React_2.FunctionComponent<IOverflowSetProps>;
9845
9846// @public (undocumented)
9847export const Overlay: React_2.FunctionComponent<IOverlayProps>;
9848
9849// @public (undocumented)
9850export class OverlayBase extends React_2.Component<IOverlayProps, {}> {
9851 constructor(props: IOverlayProps);
9852 // (undocumented)
9853 componentDidMount(): void;
9854 // (undocumented)
9855 componentWillUnmount(): void;
9856 // (undocumented)
9857 render(): JSX.Element;
9858}
9859
9860// @public
9861export const Panel: React_2.FunctionComponent<IPanelProps>;
9862
9863// Warning: (ae-forgotten-export) The symbol "IPanelState" needs to be exported by the entry point index.d.ts
9864//
9865// @public (undocumented)
9866export class PanelBase extends React_2.Component<IPanelProps, IPanelState> implements IPanel {
9867 constructor(props: IPanelProps);
9868 // (undocumented)
9869 close(): void;
9870 // (undocumented)
9871 componentDidMount(): void;
9872 // (undocumented)
9873 componentDidUpdate(previousProps: IPanelProps, previousState: IPanelState): void;
9874 // (undocumented)
9875 componentWillUnmount(): void;
9876 // (undocumented)
9877 static defaultProps: IPanelProps;
9878 // (undocumented)
9879 dismiss: (ev?: KeyboardEvent | React_2.SyntheticEvent<HTMLElement, Event> | undefined) => void;
9880 // (undocumented)
9881 static getDerivedStateFromProps(nextProps: Readonly<IPanelProps>, prevState: Readonly<IPanelState>): Partial<IPanelState> | null;
9882 get isActive(): boolean;
9883 // (undocumented)
9884 open(): void;
9885 // (undocumented)
9886 render(): JSX.Element | null;
9887}
9888
9889// @public (undocumented)
9890export enum PanelType {
9891 custom = 7,
9892 customNear = 8,
9893 extraLarge = 6,
9894 large = 4,
9895 largeFixed = 5,
9896 medium = 3,
9897 smallFixedFar = 1,
9898 smallFixedNear = 2,
9899 smallFluid = 0
9900}
9901
9902export { PartialTheme }
9903
9904// @public (undocumented)
9905export const PeoplePickerItem: React_2.FunctionComponent<IPeoplePickerItemSelectedProps>;
9906
9907// @public (undocumented)
9908export const PeoplePickerItemBase: (props: IPeoplePickerItemSelectedProps) => JSX.Element;
9909
9910// @public (undocumented)
9911export const PeoplePickerItemSuggestion: React_2.FunctionComponent<IPeoplePickerItemSuggestionProps>;
9912
9913// @public (undocumented)
9914export const PeoplePickerItemSuggestionBase: (props: IPeoplePickerItemSuggestionProps) => JSX.Element;
9915
9916// @public
9917export const Persona: React_2.FunctionComponent<IPersonaProps>;
9918
9919// @public
9920export const PersonaBase: React_2.FunctionComponent<IPersonaProps>;
9921
9922// @public
9923export const PersonaCoin: React_2.FunctionComponent<IPersonaCoinProps>;
9924
9925// @public
9926export const PersonaCoinBase: React_2.FunctionComponent<IPersonaCoinProps>;
9927
9928// @public (undocumented)
9929export enum PersonaInitialsColor {
9930 // @deprecated (undocumented)
9931 black = 11,
9932 // (undocumented)
9933 blue = 1,
9934 // (undocumented)
9935 burgundy = 19,
9936 // (undocumented)
9937 coolGray = 21,
9938 // (undocumented)
9939 cyan = 23,
9940 // (undocumented)
9941 darkBlue = 2,
9942 // (undocumented)
9943 darkGreen = 6,
9944 // (undocumented)
9945 darkRed = 14,
9946 // (undocumented)
9947 gold = 18,
9948 gray = 22,
9949 // (undocumented)
9950 green = 5,
9951 // (undocumented)
9952 lightBlue = 0,
9953 // (undocumented)
9954 lightGreen = 4,
9955 // (undocumented)
9956 lightPink = 7,
9957 // (undocumented)
9958 lightRed = 17,
9959 // (undocumented)
9960 magenta = 9,
9961 // (undocumented)
9962 orange = 12,
9963 // (undocumented)
9964 pink = 8,
9965 // (undocumented)
9966 purple = 10,
9967 // @deprecated (undocumented)
9968 red = 13,
9969 // (undocumented)
9970 rust = 24,
9971 // (undocumented)
9972 teal = 3,
9973 transparent = 15,
9974 // (undocumented)
9975 violet = 16,
9976 // (undocumented)
9977 warmGray = 20
9978}
9979
9980// @public (undocumented)
9981export enum PersonaPresence {
9982 // (undocumented)
9983 away = 3,
9984 // (undocumented)
9985 blocked = 5,
9986 // (undocumented)
9987 busy = 6,
9988 // (undocumented)
9989 dnd = 4,
9990 // (undocumented)
9991 none = 0,
9992 // (undocumented)
9993 offline = 1,
9994 // (undocumented)
9995 online = 2
9996}
9997
9998// @public (undocumented)
9999export namespace personaPresenceSize {
10000 const // (undocumented)
10001 size6 = "6px";
10002 const // (undocumented)
10003 size8 = "8px";
10004 const // (undocumented)
10005 size12 = "12px";
10006 const // (undocumented)
10007 size16 = "16px";
10008 const // (undocumented)
10009 size20 = "20px";
10010 const // (undocumented)
10011 size28 = "28px";
10012 const // (undocumented)
10013 size32 = "32px";
10014 const // @deprecated (undocumented)
10015 border = "2px";
10016}
10017
10018// @public (undocumented)
10019export enum PersonaSize {
10020 // @deprecated
10021 extraExtraSmall = 1,
10022 // @deprecated
10023 extraLarge = 6,
10024 // @deprecated
10025 extraSmall = 2,
10026 // @deprecated
10027 large = 5,
10028 // @deprecated
10029 regular = 4,
10030 // @deprecated
10031 size10 = 9,
10032 size100 = 15,
10033 size120 = 18,
10034 // @deprecated
10035 size16 = 8,
10036 size24 = 10,
10037 // @deprecated
10038 size28 = 7,
10039 size32 = 11,
10040 size40 = 12,
10041 size48 = 13,
10042 size56 = 16,
10043 size72 = 14,
10044 size8 = 17,
10045 // @deprecated
10046 small = 3,
10047 // @deprecated
10048 tiny = 0
10049}
10050
10051// @public (undocumented)
10052export namespace personaSize {
10053 const // (undocumented)
10054 size8 = "20px";
10055 const // (undocumented)
10056 size10 = "20px";
10057 const // (undocumented)
10058 size16 = "16px";
10059 const // (undocumented)
10060 size24 = "24px";
10061 const // (undocumented)
10062 size28 = "28px";
10063 const // (undocumented)
10064 size32 = "32px";
10065 const // (undocumented)
10066 size40 = "40px";
10067 const // (undocumented)
10068 size48 = "48px";
10069 const // (undocumented)
10070 size56 = "56px";
10071 const // (undocumented)
10072 size72 = "72px";
10073 const // (undocumented)
10074 size100 = "100px";
10075 const // (undocumented)
10076 size120 = "120px";
10077}
10078
10079// @public
10080export const Pivot: React_2.FunctionComponent<IPivotProps>;
10081
10082// @public (undocumented)
10083export const PivotBase: React_2.FunctionComponent<IPivotProps>;
10084
10085// @public (undocumented)
10086export class PivotItem extends React_2.Component<IPivotItemProps, {}> {
10087 constructor(props: IPivotItemProps);
10088 // (undocumented)
10089 render(): JSX.Element;
10090}
10091
10092// @public @deprecated (undocumented)
10093export const enum PivotLinkFormat {
10094 links = "links",
10095 tabs = "tabs"
10096}
10097
10098// @public
10099export type PivotLinkFormatType = 'links' | 'tabs';
10100
10101// @public @deprecated (undocumented)
10102export const enum PivotLinkSize {
10103 large = "large",
10104 normal = "normal"
10105}
10106
10107// @public
10108export type PivotLinkSizeType = 'normal' | 'large';
10109
10110// @public (undocumented)
10111export const PlainCard: React_2.FunctionComponent<IPlainCardProps>;
10112
10113// @public (undocumented)
10114export class PlainCardBase extends React_2.Component<IPlainCardProps, {}> {
10115 constructor(props: IPlainCardProps);
10116 // (undocumented)
10117 render(): JSX.Element;
10118}
10119
10120export { Point }
10121
10122// @public
10123export const Popup: React_2.FunctionComponent<IPopupProps>;
10124
10125export { portalContainsElement }
10126
10127// @public (undocumented)
10128export enum Position {
10129 // (undocumented)
10130 bottom = 1,
10131 // (undocumented)
10132 end = 3,
10133 // (undocumented)
10134 start = 2,
10135 // (undocumented)
10136 top = 0
10137}
10138
10139// @public (undocumented)
10140export function positionCallout(props: IPositionProps, hostElement: HTMLElement, elementToPosition: HTMLElement, previousPositions?: ICalloutPositionedInfo): ICalloutPositionedInfo;
10141
10142// @public (undocumented)
10143export function positionCard(props: IPositionProps, hostElement: HTMLElement, elementToPosition: HTMLElement, previousPositions?: ICalloutPositionedInfo): ICalloutPositionedInfo;
10144
10145// @public
10146export function positionElement(props: IPositionProps, hostElement: HTMLElement, elementToPosition: HTMLElement, previousPositions?: IPositionedData): IPositionedData;
10147
10148// @public (undocumented)
10149export const PositioningContainer: React_2.FunctionComponent<IPositioningContainerProps>;
10150
10151export { precisionRound }
10152
10153// @public (undocumented)
10154export const presenceBoolean: (presence: PersonaPresence) => {
10155 isAvailable: boolean;
10156 isAway: boolean;
10157 isBlocked: boolean;
10158 isBusy: boolean;
10159 isDoNotDisturb: boolean;
10160 isOffline: boolean;
10161};
10162
10163// @public (undocumented)
10164export class PrimaryButton extends React_2.Component<IButtonProps, {}> {
10165 // (undocumented)
10166 render(): JSX.Element;
10167}
10168
10169// @public
10170export const ProgressIndicator: React_2.FunctionComponent<IProgressIndicatorProps>;
10171
10172// @public
10173export class ProgressIndicatorBase extends React_2.Component<IProgressIndicatorProps, {}> {
10174 constructor(props: IProgressIndicatorProps);
10175 // (undocumented)
10176 static defaultProps: {
10177 label: string;
10178 description: string;
10179 width: number;
10180 };
10181 // (undocumented)
10182 render(): JSX.Element;
10183}
10184
10185export { PulsingBeaconAnimationStyles }
10186
10187export { raiseClick }
10188
10189// @public (undocumented)
10190export const Rating: React_2.FunctionComponent<IRatingProps>;
10191
10192// @public (undocumented)
10193export const RatingBase: React_2.FunctionComponent<IRatingProps>;
10194
10195// @public (undocumented)
10196export enum RatingSize {
10197 // (undocumented)
10198 Large = 1,
10199 // (undocumented)
10200 Small = 0
10201}
10202
10203export { Rectangle }
10204
10205// @public (undocumented)
10206export enum RectangleEdge {
10207 // (undocumented)
10208 bottom = -1,
10209 // (undocumented)
10210 left = 2,
10211 // (undocumented)
10212 right = -2,
10213 // (undocumented)
10214 top = 1
10215}
10216
10217export { RefObject }
10218
10219export { registerDefaultFontFaces }
10220
10221export { registerIconAlias }
10222
10223export { registerIcons }
10224
10225export { registerOnThemeChangeCallback }
10226
10227export { removeIndex }
10228
10229export { removeOnThemeChangeCallback }
10230
10231export { replaceElement }
10232
10233export { resetControlledWarnings }
10234
10235export { resetIds }
10236
10237export { resetMemoizations }
10238
10239// @public (undocumented)
10240export const ResizeGroup: React_2.FunctionComponent<IResizeGroupProps>;
10241
10242// @public (undocumented)
10243export const ResizeGroupBase: React_2.FunctionComponent<IResizeGroupProps>;
10244
10245// @public (undocumented)
10246export enum ResizeGroupDirection {
10247 // (undocumented)
10248 horizontal = 0,
10249 // (undocumented)
10250 vertical = 1
10251}
10252
10253// @public (undocumented)
10254export enum ResponsiveMode {
10255 large = 2,
10256 medium = 1,
10257 small = 0,
10258 // (undocumented)
10259 unknown = 999,
10260 xLarge = 3,
10261 xxLarge = 4,
10262 xxxLarge = 5
10263}
10264
10265// @public
10266export function rgb2hex(r: number, g: number, b: number): string;
10267
10268// @public
10269export function rgb2hsv(r: number, g: number, b: number): IHSV;
10270
10271// @public
10272export const RGBA_REGEX: RegExp;
10273
10274export { safeRequestAnimationFrame }
10275
10276export { safeSetTimeout }
10277
10278export { ScreenWidthMaxLarge }
10279
10280export { ScreenWidthMaxMedium }
10281
10282export { ScreenWidthMaxSmall }
10283
10284export { ScreenWidthMaxXLarge }
10285
10286export { ScreenWidthMaxXXLarge }
10287
10288export { ScreenWidthMinLarge }
10289
10290export { ScreenWidthMinMedium }
10291
10292export { ScreenWidthMinSmall }
10293
10294export { ScreenWidthMinUhfMobile }
10295
10296export { ScreenWidthMinXLarge }
10297
10298export { ScreenWidthMinXXLarge }
10299
10300export { ScreenWidthMinXXXLarge }
10301
10302// @public (undocumented)
10303export const ScrollablePane: React_2.FunctionComponent<IScrollablePaneProps>;
10304
10305// @public (undocumented)
10306export class ScrollablePaneBase extends React_2.Component<IScrollablePaneProps, IScrollablePaneState> implements IScrollablePane {
10307 constructor(props: IScrollablePaneProps);
10308 // (undocumented)
10309 addSticky: (sticky: Sticky) => void;
10310 // (undocumented)
10311 componentDidMount(): void;
10312 // (undocumented)
10313 componentDidUpdate(prevProps: IScrollablePaneProps, prevState: IScrollablePaneState): void;
10314 // (undocumented)
10315 componentWillUnmount(): void;
10316 // (undocumented)
10317 get contentContainer(): HTMLDivElement | null;
10318 // (undocumented)
10319 forceLayoutUpdate(): void;
10320 // (undocumented)
10321 getScrollPosition: () => number;
10322 // (undocumented)
10323 notifySubscribers: () => void;
10324 // (undocumented)
10325 removeSticky: (sticky: Sticky) => void;
10326 // (undocumented)
10327 render(): JSX.Element;
10328 // (undocumented)
10329 get root(): HTMLDivElement | null;
10330 // (undocumented)
10331 setStickiesDistanceFromTop(): void;
10332 // (undocumented)
10333 shouldComponentUpdate(nextProps: IScrollablePaneProps, nextState: IScrollablePaneState): boolean;
10334 // (undocumented)
10335 sortSticky: (sticky: Sticky, sortAgain?: boolean | undefined) => void;
10336 // (undocumented)
10337 get stickyAbove(): HTMLDivElement | null;
10338 // (undocumented)
10339 get stickyBelow(): HTMLDivElement | null;
10340 // (undocumented)
10341 subscribe: (handler: Function) => void;
10342 // (undocumented)
10343 syncScrollSticky: (sticky: Sticky) => void;
10344 // (undocumented)
10345 unsubscribe: (handler: Function) => void;
10346 // (undocumented)
10347 updateStickyRefHeights: () => void;
10348}
10349
10350// @public (undocumented)
10351export const ScrollablePaneContext: React_2.Context<IScrollablePaneContext>;
10352
10353// @public (undocumented)
10354export const ScrollbarVisibility: {
10355 auto: "auto";
10356 always: "always";
10357};
10358
10359// @public (undocumented)
10360export type ScrollbarVisibility = typeof ScrollbarVisibility[keyof typeof ScrollbarVisibility];
10361
10362// @public (undocumented)
10363export const ScrollToMode: {
10364 auto: 0;
10365 top: 1;
10366 bottom: 2;
10367 center: 3;
10368};
10369
10370// @public (undocumented)
10371export type ScrollToMode = typeof ScrollToMode[keyof typeof ScrollToMode];
10372
10373// @public (undocumented)
10374export const SearchBox: React_2.FunctionComponent<ISearchBoxProps>;
10375
10376// @public (undocumented)
10377export const SearchBoxBase: React_2.FunctionComponent<ISearchBoxProps>;
10378
10379// @public (undocumented)
10380enum SelectableOptionMenuItemType {
10381 // (undocumented)
10382 Divider = 1,
10383 // (undocumented)
10384 Header = 2,
10385 // (undocumented)
10386 Normal = 0,
10387 // (undocumented)
10388 SelectAll = 3
10389}
10390export { SelectableOptionMenuItemType as DropdownMenuItemType }
10391export { SelectableOptionMenuItemType }
10392
10393// @public (undocumented)
10394export enum SelectAllVisibility {
10395 // (undocumented)
10396 hidden = 1,
10397 // (undocumented)
10398 none = 0,
10399 // (undocumented)
10400 visible = 2
10401}
10402
10403// @public
10404export class SelectedPeopleList extends BasePeopleSelectedItemsList {
10405 // (undocumented)
10406 static defaultProps: any;
10407 // (undocumented)
10408 protected renderItems: () => JSX.Element[];
10409}
10410
10411export { Selection_2 as Selection }
10412
10413export { SELECTION_CHANGE }
10414
10415export { SelectionDirection }
10416
10417export { SelectionMode_2 as SelectionMode }
10418
10419// @public (undocumented)
10420export class SelectionZone extends React_2.Component<ISelectionZoneProps, ISelectionZoneState> {
10421 constructor(props: ISelectionZoneProps);
10422 // (undocumented)
10423 componentDidMount(): void;
10424 // (undocumented)
10425 componentDidUpdate(previousProps: ISelectionZoneProps): void;
10426 // (undocumented)
10427 componentWillUnmount(): void;
10428 // (undocumented)
10429 static defaultProps: {
10430 isSelectedOnFocus: boolean;
10431 selectionMode: SelectionMode_2;
10432 };
10433 // (undocumented)
10434 static getDerivedStateFromProps(nextProps: ISelectionZoneProps, prevState: ISelectionZoneState): ISelectionZoneState;
10435 ignoreNextFocus: () => void;
10436 // (undocumented)
10437 render(): JSX.Element;
10438}
10439
10440export { selectProperties }
10441
10442// @public (undocumented)
10443export enum SemanticColorSlots {
10444 // (undocumented)
10445 bodyBackground = 0,
10446 // (undocumented)
10447 bodyText = 1,
10448 // (undocumented)
10449 disabledBackground = 2,
10450 // (undocumented)
10451 disabledText = 3
10452}
10453
10454// @public (undocumented)
10455export const Separator: React_2.FunctionComponent<ISeparatorProps>;
10456
10457// @public (undocumented)
10458export const SeparatorBase: React_2.FunctionComponent<ISeparatorProps>;
10459
10460// @public
10461export function sequencesToID(keySequences: string[]): string;
10462
10463export { setBaseUrl }
10464
10465export { setFocusVisibility }
10466
10467export { setIconOptions }
10468
10469export { setLanguage }
10470
10471export { setMemoizeWeakMap }
10472
10473export { setMonth }
10474
10475export { setPortalAttribute }
10476
10477// @public
10478export function setResponsiveMode(responsiveMode: ResponsiveMode | undefined): void;
10479
10480export { setRTL }
10481
10482export { setSSR }
10483
10484export { Settings }
10485
10486export { SettingsFunction }
10487
10488export { setVirtualParent }
10489
10490export { setWarningCallback }
10491
10492// @public
10493export enum Shade {
10494 // (undocumented)
10495 Shade1 = 1,
10496 // (undocumented)
10497 Shade2 = 2,
10498 // (undocumented)
10499 Shade3 = 3,
10500 // (undocumented)
10501 Shade4 = 4,
10502 // (undocumented)
10503 Shade5 = 5,
10504 // (undocumented)
10505 Shade6 = 6,
10506 // (undocumented)
10507 Shade7 = 7,
10508 // (undocumented)
10509 Shade8 = 8,
10510 // (undocumented)
10511 Unshaded = 0
10512}
10513
10514export { shallowCompare }
10515
10516export { SharedColors }
10517
10518// @public (undocumented)
10519export const Shimmer: React_2.FunctionComponent<IShimmerProps>;
10520
10521// @public (undocumented)
10522export const ShimmerBase: React_2.FunctionComponent<IShimmerProps>;
10523
10524// @public (undocumented)
10525export const ShimmerCircle: React_2.FunctionComponent<IShimmerCircleProps>;
10526
10527// @public (undocumented)
10528export const ShimmerCircleBase: React_2.FunctionComponent<IShimmerCircleProps>;
10529
10530// @public (undocumented)
10531export const ShimmeredDetailsList: React_2.FunctionComponent<IShimmeredDetailsListProps>;
10532
10533// @public (undocumented)
10534export class ShimmeredDetailsListBase extends React_2.Component<IShimmeredDetailsListProps, {}> {
10535 constructor(props: IShimmeredDetailsListProps);
10536 // (undocumented)
10537 render(): JSX.Element;
10538}
10539
10540// @public
10541export enum ShimmerElementsDefaultHeights {
10542 circle = 24,
10543 gap = 16,
10544 line = 16
10545}
10546
10547// @public (undocumented)
10548export const ShimmerElementsGroup: React_2.FunctionComponent<IShimmerElementsGroupProps>;
10549
10550// @public (undocumented)
10551export const ShimmerElementsGroupBase: React_2.FunctionComponent<IShimmerElementsGroupProps>;
10552
10553// @public
10554export enum ShimmerElementType {
10555 circle = 2,
10556 gap = 3,
10557 line = 1
10558}
10559
10560// @public (undocumented)
10561export const ShimmerGap: React_2.FunctionComponent<IShimmerGapProps>;
10562
10563// @public (undocumented)
10564export const ShimmerGapBase: React_2.FunctionComponent<IShimmerGapProps>;
10565
10566// @public (undocumented)
10567export const ShimmerLine: React_2.FunctionComponent<IShimmerLineProps>;
10568
10569// @public (undocumented)
10570export const ShimmerLineBase: React_2.FunctionComponent<IShimmerLineProps>;
10571
10572export { shouldWrapFocus }
10573
10574// @public (undocumented)
10575export const sizeBoolean: (size: PersonaSize) => {
10576 isSize8: boolean;
10577 isSize10: boolean;
10578 isSize16: boolean;
10579 isSize24: boolean;
10580 isSize28: boolean;
10581 isSize32: boolean;
10582 isSize40: boolean;
10583 isSize48: boolean;
10584 isSize56: boolean;
10585 isSize72: boolean;
10586 isSize100: boolean;
10587 isSize120: boolean;
10588};
10589
10590// @public (undocumented)
10591export const sizeToPixels: {
10592 [key: number]: number;
10593};
10594
10595// @public (undocumented)
10596export const Slider: React_2.FunctionComponent<ISliderProps>;
10597
10598// @public (undocumented)
10599export const SliderBase: React_2.FunctionComponent<ISliderProps>;
10600
10601// @public
10602export const SpinButton: React_2.FunctionComponent<ISpinButtonProps>;
10603
10604// @public (undocumented)
10605export const Spinner: React_2.FunctionComponent<ISpinnerProps>;
10606
10607// @public (undocumented)
10608export class SpinnerBase extends React_2.Component<ISpinnerProps, any> {
10609 // (undocumented)
10610 static defaultProps: ISpinnerProps;
10611 // (undocumented)
10612 render(): JSX.Element;
10613}
10614
10615// @public
10616export type SpinnerLabelPosition = 'top' | 'right' | 'bottom' | 'left';
10617
10618// @public
10619export enum SpinnerSize {
10620 large = 3,
10621 medium = 2,
10622 small = 1,
10623 xSmall = 0
10624}
10625
10626// @public @deprecated (undocumented)
10627export enum SpinnerType {
10628 // @deprecated (undocumented)
10629 large = 1,
10630 // @deprecated (undocumented)
10631 normal = 0
10632}
10633
10634// @public (undocumented)
10635export const Stack: React_2.FunctionComponent<IStackProps> & {
10636 Item: React_2.FunctionComponent<IStackItemProps>;
10637};
10638
10639// @public (undocumented)
10640export const StackItem: React_2.FunctionComponent<IStackItemProps>;
10641
10642// @public (undocumented)
10643export class Sticky extends React_2.Component<IStickyProps, IStickyState> {
10644 constructor(props: IStickyProps);
10645 // (undocumented)
10646 addSticky(stickyContent: HTMLDivElement): void;
10647 // (undocumented)
10648 get canStickyBottom(): boolean;
10649 // (undocumented)
10650 get canStickyTop(): boolean;
10651 // (undocumented)
10652 componentDidMount(): void;
10653 // (undocumented)
10654 componentDidUpdate(prevProps: IStickyProps, prevState: IStickyState): void;
10655 // (undocumented)
10656 componentWillUnmount(): void;
10657 // (undocumented)
10658 static contextType: React_2.Context<IScrollablePaneContext>;
10659 // (undocumented)
10660 static defaultProps: IStickyProps;
10661 // (undocumented)
10662 get nonStickyContent(): HTMLDivElement | null;
10663 // (undocumented)
10664 get placeholder(): HTMLDivElement | null;
10665 // (undocumented)
10666 render(): JSX.Element;
10667 // (undocumented)
10668 resetSticky(): void;
10669 // (undocumented)
10670 get root(): HTMLDivElement | null;
10671 // (undocumented)
10672 setDistanceFromTop(container: HTMLDivElement): void;
10673 // (undocumented)
10674 shouldComponentUpdate(nextProps: IStickyProps, nextState: IStickyState): boolean;
10675 // (undocumented)
10676 get stickyContentBottom(): HTMLDivElement | null;
10677 // (undocumented)
10678 get stickyContentTop(): HTMLDivElement | null;
10679 // (undocumented)
10680 syncScroll: (container: HTMLElement) => void;
10681}
10682
10683// @public (undocumented)
10684export enum StickyPositionType {
10685 // (undocumented)
10686 Both = 0,
10687 // (undocumented)
10688 Footer = 2,
10689 // (undocumented)
10690 Header = 1
10691}
10692
10693export { styled }
10694
10695export { StyleFunction }
10696
10697// @public (undocumented)
10698export type StylesClassMapping<TStyleSet extends {
10699 [key in keyof TStyleSet]: IStyle;
10700}> = {
10701 [key in keyof TStyleSet]: string;
10702};
10703
10704export { Stylesheet }
10705
10706// @public
10707export enum SuggestionActionType {
10708 forceResolve = 1,
10709 none = 0,
10710 searchMore = 2
10711}
10712
10713// @public (undocumented)
10714export enum SuggestionItemType {
10715 // (undocumented)
10716 footer = 2,
10717 // (undocumented)
10718 header = 0,
10719 // (undocumented)
10720 suggestion = 1
10721}
10722
10723// @public (undocumented)
10724export class Suggestions<T> extends React_2.Component<ISuggestionsProps<T>, ISuggestionsState> {
10725 constructor(suggestionsProps: ISuggestionsProps<T>);
10726 // (undocumented)
10727 componentDidMount(): void;
10728 // (undocumented)
10729 componentDidUpdate(): void;
10730 // (undocumented)
10731 executeSelectedAction(): void;
10732 // (undocumented)
10733 focusAboveSuggestions(): void;
10734 // (undocumented)
10735 focusBelowSuggestions(): void;
10736 // (undocumented)
10737 focusSearchForMoreButton(): void;
10738 // (undocumented)
10739 protected _forceResolveButton: React_2.RefObject<IButton>;
10740 // (undocumented)
10741 hasSuggestedAction(): boolean;
10742 // (undocumented)
10743 hasSuggestedActionSelected(): boolean;
10744 // (undocumented)
10745 render(): JSX.Element;
10746 // (undocumented)
10747 protected _scrollContainer: React_2.RefObject<HTMLDivElement>;
10748 // (undocumented)
10749 scrollSelected(): void;
10750 // (undocumented)
10751 protected _searchForMoreButton: React_2.RefObject<IButton>;
10752 // (undocumented)
10753 protected _selectedElement: React_2.RefObject<HTMLDivElement>;
10754 tryHandleKeyDown: (keyCode: number, currentSuggestionIndex: number) => boolean;
10755}
10756
10757// @public
10758export class SuggestionsControl<T> extends React_2.Component<ISuggestionsControlProps<T>, ISuggestionsControlState<T>> {
10759 constructor(suggestionsProps: ISuggestionsControlProps<T>);
10760 // (undocumented)
10761 componentDidMount(): void;
10762 // (undocumented)
10763 componentDidUpdate(oldProps: ISuggestionsControlProps<T>): void;
10764 // (undocumented)
10765 componentWillUnmount(): void;
10766 // (undocumented)
10767 get currentSuggestion(): ISuggestionModel<T> | undefined;
10768 // (undocumented)
10769 get currentSuggestionIndex(): number;
10770 // (undocumented)
10771 executeSelectedAction(): void;
10772 // (undocumented)
10773 protected _forceResolveButton: IButton;
10774 handleKeyDown(keyCode: number): boolean;
10775 // (undocumented)
10776 hasSelection(): boolean;
10777 // (undocumented)
10778 hasSuggestionSelected(): boolean;
10779 // (undocumented)
10780 removeSuggestion(index?: number): void;
10781 // (undocumented)
10782 render(): JSX.Element;
10783 // (undocumented)
10784 protected renderFooterItems(): JSX.Element | null;
10785 // (undocumented)
10786 protected renderHeaderItems(): JSX.Element | null;
10787 // (undocumented)
10788 protected _renderSuggestions(): JSX.Element;
10789 protected resetSelectedItem(): void;
10790 // (undocumented)
10791 scrollSelected(): void;
10792 // (undocumented)
10793 protected _searchForMoreButton: IButton;
10794 // (undocumented)
10795 get selectedElement(): HTMLDivElement | undefined;
10796 // (undocumented)
10797 protected _selectedElement: React_2.RefObject<HTMLDivElement>;
10798 protected selectFirstItem(): void;
10799 protected selectLastItem(): void;
10800 protected selectNextItem(itemType: SuggestionItemType, originalItemType?: SuggestionItemType): void;
10801 protected selectPreviousItem(itemType: SuggestionItemType, originalItemType?: SuggestionItemType): void;
10802 // (undocumented)
10803 protected _suggestions: React_2.RefObject<SuggestionsCore<T>>;
10804}
10805
10806// @public (undocumented)
10807export class SuggestionsController<T> {
10808 constructor();
10809 // (undocumented)
10810 convertSuggestionsToSuggestionItems(suggestions: Array<ISuggestionModel<T> | T>): ISuggestionModel<T>[];
10811 // (undocumented)
10812 createGenericSuggestion(itemToConvert: ISuggestionModel<T> | T): void;
10813 // (undocumented)
10814 currentIndex: number;
10815 // (undocumented)
10816 currentSuggestion: ISuggestionModel<T> | undefined;
10817 // (undocumented)
10818 deselectAllSuggestions(): void;
10819 // (undocumented)
10820 getCurrentItem(): ISuggestionModel<T>;
10821 // (undocumented)
10822 getSuggestionAtIndex(index: number): ISuggestionModel<T>;
10823 // (undocumented)
10824 getSuggestions(): ISuggestionModel<T>[];
10825 // (undocumented)
10826 hasSelectedSuggestion(): boolean;
10827 nextSuggestion(): boolean;
10828 previousSuggestion(): boolean;
10829 // (undocumented)
10830 removeSuggestion(index: number): void;
10831 // (undocumented)
10832 setSelectedSuggestion(index: number): void;
10833 // (undocumented)
10834 suggestions: ISuggestionModel<T>[];
10835 // (undocumented)
10836 updateSuggestions(newSuggestions: T[], selectedIndex?: number): void;
10837}
10838
10839// @public
10840export class SuggestionsCore<T> extends React_2.Component<ISuggestionsCoreProps<T>, {}> {
10841 constructor(suggestionsProps: ISuggestionsCoreProps<T>);
10842 // (undocumented)
10843 componentDidUpdate(): void;
10844 // (undocumented)
10845 currentIndex: number;
10846 // (undocumented)
10847 currentSuggestion: ISuggestionModel<T> | undefined;
10848 // (undocumented)
10849 deselectAllSuggestions(): void;
10850 // (undocumented)
10851 getCurrentItem(): ISuggestionModel<T>;
10852 // (undocumented)
10853 getSuggestionAtIndex(index: number): ISuggestionModel<T>;
10854 // (undocumented)
10855 hasSuggestionSelected(): boolean;
10856 nextSuggestion(): boolean;
10857 previousSuggestion(): boolean;
10858 // (undocumented)
10859 removeSuggestion(index: number): void;
10860 // (undocumented)
10861 render(): JSX.Element;
10862 // (undocumented)
10863 scrollSelected(): void;
10864 // (undocumented)
10865 get selectedElement(): HTMLDivElement | undefined;
10866 // (undocumented)
10867 protected _selectedElement: React_2.RefObject<HTMLDivElement>;
10868 // (undocumented)
10869 setSelectedSuggestion(index: number): void;
10870}
10871
10872// @public (undocumented)
10873export class SuggestionsHeaderFooterItem extends React_2.Component<ISuggestionsHeaderFooterItemProps, {}> {
10874 constructor(props: ISuggestionsHeaderFooterItemProps);
10875 // (undocumented)
10876 render(): JSX.Element;
10877}
10878
10879// @public (undocumented)
10880export class SuggestionsItem<T> extends React_2.Component<ISuggestionItemProps<T>, {}> {
10881 constructor(props: ISuggestionItemProps<T>);
10882 // (undocumented)
10883 render(): JSX.Element;
10884}
10885
10886// @public (undocumented)
10887export class SuggestionsStore<T> {
10888 constructor(options?: SuggestionsStoreOptions<T>);
10889 // (undocumented)
10890 convertSuggestionsToSuggestionItems(suggestions: Array<ISuggestionModel<T> | T>): ISuggestionModel<T>[];
10891 // (undocumented)
10892 getSuggestionAtIndex(index: number): ISuggestionModel<T>;
10893 // (undocumented)
10894 getSuggestions(): ISuggestionModel<T>[];
10895 // (undocumented)
10896 removeSuggestion(index: number): void;
10897 // (undocumented)
10898 suggestions: ISuggestionModel<T>[];
10899 // (undocumented)
10900 updateSuggestions(newSuggestions: T[]): void;
10901}
10902
10903// @public (undocumented)
10904export type SuggestionsStoreOptions<T> = {
10905 getAriaLabel?: (item: T) => string;
10906};
10907
10908// @public (undocumented)
10909export const SwatchColorPicker: React_2.FunctionComponent<ISwatchColorPickerProps>;
10910
10911// @public (undocumented)
10912export const SwatchColorPickerBase: React_2.FunctionComponent<ISwatchColorPickerProps>;
10913
10914export { tableProperties }
10915
10916// @public (undocumented)
10917export const TagItem: React_2.FunctionComponent<ITagItemProps>;
10918
10919// @public (undocumented)
10920export const TagItemBase: (props: ITagItemProps) => JSX.Element;
10921
10922// @public (undocumented)
10923export const TagItemSuggestion: React_2.FunctionComponent<ITagItemSuggestionProps>;
10924
10925// @public (undocumented)
10926export const TagItemSuggestionBase: (props: ITagItemSuggestionProps) => JSX.Element;
10927
10928// @public (undocumented)
10929export const TagPicker: React_2.FunctionComponent<ITagPickerProps>;
10930
10931// @public (undocumented)
10932export class TagPickerBase extends BasePicker<ITag, ITagPickerProps> {
10933 constructor(props: ITagPickerProps);
10934 // (undocumented)
10935 static defaultProps: {
10936 onRenderItem: (props: ITagItemProps) => JSX.Element;
10937 onRenderSuggestionsItem: (props: ITag) => JSX.Element;
10938 };
10939}
10940
10941export { Target }
10942
10943export { tdProperties }
10944
10945// @public (undocumented)
10946export const TeachingBubble: React_2.FunctionComponent<ITeachingBubbleProps>;
10947
10948// @public (undocumented)
10949export const TeachingBubbleBase: React_2.FunctionComponent<ITeachingBubbleProps>;
10950
10951// @public (undocumented)
10952export const TeachingBubbleContent: React_2.FunctionComponent<ITeachingBubbleProps>;
10953
10954// @public (undocumented)
10955export const TeachingBubbleContentBase: React_2.FunctionComponent<ITeachingBubbleProps>;
10956
10957// @public (undocumented)
10958const Text_2: React_2.FunctionComponent<ITextProps>;
10959export { Text_2 as Text }
10960
10961export { textAreaProperties }
10962
10963// @public (undocumented)
10964export const TextField: React_2.FunctionComponent<ITextFieldProps>;
10965
10966// Warning: (ae-incompatible-release-tags) The symbol "TextFieldBase" is marked as @public, but its signature references "ITextFieldState" which is marked as @internal
10967// Warning: (ae-incompatible-release-tags) The symbol "TextFieldBase" is marked as @public, but its signature references "ITextFieldSnapshot" which is marked as @internal
10968//
10969// @public (undocumented)
10970export class TextFieldBase extends React_2.Component<ITextFieldProps, ITextFieldState, ITextFieldSnapshot> implements ITextField {
10971 constructor(props: ITextFieldProps);
10972 blur(): void;
10973 // (undocumented)
10974 componentDidMount(): void;
10975 // (undocumented)
10976 componentDidUpdate(prevProps: ITextFieldProps, prevState: ITextFieldState, snapshot: ITextFieldSnapshot): void;
10977 // (undocumented)
10978 componentWillUnmount(): void;
10979 // (undocumented)
10980 static defaultProps: ITextFieldProps;
10981 focus(): void;
10982 // (undocumented)
10983 getSnapshotBeforeUpdate(prevProps: ITextFieldProps, prevState: ITextFieldState): ITextFieldSnapshot | null;
10984 // (undocumented)
10985 render(): JSX.Element;
10986 select(): void;
10987 get selectionEnd(): number | null;
10988 get selectionStart(): number | null;
10989 setSelectionEnd(value: number): void;
10990 setSelectionRange(start: number, end: number): void;
10991 setSelectionStart(value: number): void;
10992 get value(): string | undefined;
10993}
10994
10995// @public (undocumented)
10996export const TextStyles: ITextComponent['styles'];
10997
10998// @public (undocumented)
10999export const TextView: ITextComponent['view'];
11000
11001export { Theme }
11002
11003// @public (undocumented)
11004export const ThemeContext: React_2.Context<Theme | undefined>;
11005
11006// @public (undocumented)
11007export class ThemeGenerator {
11008 static getThemeAsCode(slotRules: IThemeRules): any;
11009 static getThemeAsCodeWithCreateTheme(slotRules: IThemeRules): any;
11010 static getThemeAsJson(slotRules: IThemeRules): any;
11011 static getThemeAsSass(slotRules: IThemeRules): any;
11012 static getThemeForPowerShell(slotRules: IThemeRules): any;
11013 static insureSlots(slotRules: IThemeRules, isInverted: boolean): void;
11014 static setSlot(rule: IThemeSlotRule, color: string | IColor, isInverted?: boolean, isCustomization?: boolean, overwriteCustomColor?: boolean): void;
11015}
11016
11017// @public
11018export const ThemeProvider: React_2.FunctionComponent<ThemeProviderProps>;
11019
11020// @public
11021export interface ThemeProviderProps extends React_2.HTMLAttributes<HTMLDivElement> {
11022 applyTo?: 'element' | 'body' | 'none';
11023 as?: React_2.ElementType;
11024 ref?: React_2.Ref<HTMLElement>;
11025 theme?: PartialTheme | Theme;
11026}
11027
11028// @public (undocumented)
11029export function themeRulesStandardCreator(): IThemeRules;
11030
11031export { ThemeSettingName }
11032
11033export { thProperties }
11034
11035export { TimeConstants }
11036
11037// @public (undocumented)
11038export const TimePicker: React_2.FunctionComponent<ITimePickerProps>;
11039
11040// @public (undocumented)
11041export const Toggle: React_2.FunctionComponent<IToggleProps>;
11042
11043// @public (undocumented)
11044export const ToggleBase: React_2.FunctionComponent<IToggleProps>;
11045
11046export { toMatrix }
11047
11048// @public (undocumented)
11049export const Tooltip: React_2.FunctionComponent<ITooltipProps>;
11050
11051// @public (undocumented)
11052export class TooltipBase extends React_2.Component<ITooltipProps, any> {
11053 // (undocumented)
11054 static defaultProps: Partial<ITooltipProps>;
11055 // (undocumented)
11056 render(): JSX.Element;
11057}
11058
11059// @public (undocumented)
11060export enum TooltipDelay {
11061 long = 2,
11062 medium = 1,
11063 // (undocumented)
11064 zero = 0
11065}
11066
11067// @public (undocumented)
11068export const TooltipHost: React_2.FunctionComponent<ITooltipHostProps>;
11069
11070// @public (undocumented)
11071export class TooltipHostBase extends React_2.Component<ITooltipHostProps, ITooltipHostState> implements ITooltipHost {
11072 constructor(props: ITooltipHostProps);
11073 // (undocumented)
11074 componentWillUnmount(): void;
11075 // (undocumented)
11076 static defaultProps: {
11077 delay: TooltipDelay;
11078 };
11079 // (undocumented)
11080 dismiss: () => void;
11081 // (undocumented)
11082 render(): JSX.Element;
11083 // (undocumented)
11084 show: () => void;
11085}
11086
11087// @public (undocumented)
11088export enum TooltipOverflowMode {
11089 Parent = 0,
11090 Self = 1
11091}
11092
11093// @public
11094export function transitionKeysAreEqual(key1: IKeytipTransitionKey, key2: IKeytipTransitionKey): boolean;
11095
11096// @public
11097export function transitionKeysContain(keys: IKeytipTransitionKey[], key: IKeytipTransitionKey): boolean;
11098
11099export { trProperties }
11100
11101export { unhoistMethods }
11102
11103export { unregisterIcons }
11104
11105// @public
11106export function updateA(color: IColor, a: number): IColor;
11107
11108// @public
11109export function updateH(color: IColor, h: number): IColor;
11110
11111// @public
11112export function updateRGB(color: IColor, component: keyof IRGB, value: number): IColor;
11113
11114// @public
11115export function updateSV(color: IColor, s: number, v: number): IColor;
11116
11117// @public
11118export function updateT(color: IColor, t: number): IColor;
11119
11120export { useCustomizationSettings }
11121
11122export { useDocument }
11123
11124export { useFocusRects }
11125
11126// @public (undocumented)
11127export function useHeightOffset({ finalHeight }: IPositioningContainerProps, contentHost: React_2.RefObject<HTMLDivElement | null>): number;
11128
11129// @public
11130export function useKeytipRef<TElement extends HTMLElement = HTMLElement>(options: KeytipDataOptions): React_2.Ref<TElement>;
11131
11132// @public
11133export const useResponsiveMode: (elementRef: React_2.RefObject<HTMLElement | null>, overrideResponsiveMode?: ResponsiveMode | undefined) => ResponsiveMode;
11134
11135// @public @deprecated
11136export type UseStylesOptions = {
11137 theme?: Theme;
11138};
11139
11140// @public
11141export const useTheme: () => Theme;
11142
11143export { useWindow }
11144
11145// @public
11146export enum ValidationState {
11147 invalid = 2,
11148 valid = 0,
11149 warning = 1
11150}
11151
11152export { values }
11153
11154// @public (undocumented)
11155export const VerticalDivider: React_2.FunctionComponent<IVerticalDividerProps>;
11156
11157export { videoProperties }
11158
11159// @public (undocumented)
11160export class VirtualizedComboBox extends React_2.Component<IComboBoxProps, {}> implements IComboBox {
11161 constructor(props: IComboBoxProps);
11162 // (undocumented)
11163 dismissMenu(): void;
11164 // (undocumented)
11165 focus(shouldOpenOnFocus?: boolean, useFocusAsync?: boolean): boolean;
11166 // (undocumented)
11167 protected _onRenderList: (props: IComboBoxProps) => JSX.Element;
11168 // (undocumented)
11169 protected _onScrollToItem: (itemIndex: number) => void;
11170 // (undocumented)
11171 render(): JSX.Element;
11172 get selectedOptions(): IComboBoxOption[];
11173}
11174
11175export { warn }
11176
11177export { warnConditionallyRequiredProps }
11178
11179export { warnControlledUsage }
11180
11181export { warnDeprecations }
11182
11183export { warnMutuallyExclusive }
11184
11185// @public (undocumented)
11186export const WeeklyDayPicker: React_2.FunctionComponent<IWeeklyDayPickerProps>;
11187
11188export { WindowContext }
11189
11190export { WindowProvider }
11191
11192export { WindowProviderProps }
11193
11194// @public @deprecated (undocumented)
11195export function withResponsiveMode<TProps extends {
11196 responsiveMode?: ResponsiveMode;
11197}, TState>(ComposedComponent: new (props: TProps, ...args: any[]) => React_2.Component<TProps, TState>): any;
11198
11199export { ZIndexes }
11200
11201// Warnings were encountered during analysis:
11202//
11203// lib/components/ColorPicker/ColorPicker.base.d.ts:11:9 - (ae-forgotten-export) The symbol "ColorComponent" needs to be exported by the entry point index.d.ts
11204
11205// (No @packageDocumentation comment for this package)
11206
11207```