first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
@@ -0,0 +1,43 @@
import * as React from 'react';
import type { ICommandBar, ICommandBarItemProps, ICommandBarProps } from './CommandBar.types';
import type { JSXElement } from '@fluentui/utilities';
export interface ICommandBarData {
/**
* Items being rendered in the primary region
*/
primaryItems: ICommandBarItemProps[];
/**
* Items being rendered in the overflow
*/
overflowItems: ICommandBarItemProps[];
/**
* Items being rendered on the far side
*/
farItems: ICommandBarItemProps[] | undefined;
/**
* Length of original overflowItems to ensure that they are not moved into primary region on resize
*/
minimumOverflowItems: number;
/**
* Unique string used to cache the width of the command bar
*/
cacheKey: string;
}
export declare class CommandBarBase extends React.Component<ICommandBarProps, {}> implements ICommandBar {
static defaultProps: ICommandBarProps;
private _overflowSet;
private _resizeGroup;
private _classNames;
constructor(props: ICommandBarProps);
render(): JSXElement;
focus(): void;
remeasure(): void;
private _onRenderData;
private _onRenderItem;
private _commandButton;
private _onButtonClick;
private _onRenderOverflowButton;
private _computeCacheKey;
private _onReduceData;
private _onGrowData;
}