Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Toolbar/ToolbarGroup.d.ts

raw
1 /// <reference types="react" />
2 export declare enum ToolbarGroupVariant {
3 'filter-group' = "filter-group",
4 'action-group' = "action-group",
5 'action-group-inline' = "action-group-inline",
6 'action-group-plain' = "action-group-plain",
7 'label-group' = "label-group"
8 }
9 export interface ToolbarGroupProps extends Omit<React.HTMLProps<HTMLDivElement>, 'ref' | 'onToggle'> {
10 /** Classes applied to root element of the data toolbar group */
11 className?: string;
12 /** A type modifier which modifies spacing specifically depending on the type of group */
13 variant?: ToolbarGroupVariant | 'filter-group' | 'action-group' | 'action-group-inline' | 'action-group-plain' | 'label-group';
14 /** Visibility at various width breakpoints. */
15 visibility?: {
16 default?: 'hidden' | 'visible';
17 md?: 'hidden' | 'visible';
18 lg?: 'hidden' | 'visible';
19 xl?: 'hidden' | 'visible';
20 '2xl'?: 'hidden' | 'visible';
21 };
22 /** Visibility at various height breakpoints. */
23 visibilityAtHeight?: {
24 default?: 'hidden' | 'visible';
25 md?: 'hidden' | 'visible';
26 lg?: 'hidden' | 'visible';
27 xl?: 'hidden' | 'visible';
28 '2xl'?: 'hidden' | 'visible';
29 };
30 /** Applies to a child of a flex layout, and aligns that child (and any adjacent children on the other side of it) to one side of the main axis */
31 align?: {
32 default?: 'alignEnd' | 'alignStart' | 'alignCenter';
33 md?: 'alignEnd' | 'alignStart' | 'alignCenter';
34 lg?: 'alignEnd' | 'alignStart' | 'alignCenter';
35 xl?: 'alignEnd' | 'alignStart' | 'alignCenter';
36 '2xl'?: 'alignEnd' | 'alignStart' | 'alignCenter';
37 };
38 /** Vertical alignment of children */
39 alignItems?: 'start' | 'center' | 'baseline' | 'default' | 'end' | 'stretch';
40 /** Vertical alignment */
41 alignSelf?: 'start' | 'center' | 'baseline' | 'default' | 'end' | 'stretch';
42 /** Sets both the column and row gap at various breakpoints. */
43 gap?: {
44 default?: 'gapNone' | 'gapXs' | 'gapSm' | 'gapMd' | 'gapLg' | 'gapXl' | 'gap_2xl' | 'gap_3xl' | 'gap_4xl';
45 md?: 'gapNone' | 'gapXs' | 'gapSm' | 'gapMd' | 'gapLg' | 'gapXl' | 'gap_2xl' | 'gap_3xl' | 'gap_4xl';
46 lg?: 'gapNone' | 'gapXs' | 'gapSm' | 'gapMd' | 'gapLg' | 'gapXl' | 'gap_2xl' | 'gap_3xl' | 'gap_4xl';
47 xl?: 'gapNone' | 'gapXs' | 'gapSm' | 'gapMd' | 'gapLg' | 'gapXl' | 'gap_2xl' | 'gap_3xl' | 'gap_4xl';
48 '2xl'?: 'gapNone' | 'gapXs' | 'gapSm' | 'gapMd' | 'gapLg' | 'gapXl' | 'gap_2xl' | 'gap_3xl' | 'gap_4xl';
49 };
50 /** Sets only the column gap at various breakpoints. */
51 columnGap?: {
52 default?: 'columnGapNone' | 'columnGapXs' | 'columnGapSm' | 'columnGapMd' | 'columnGapLg' | 'columnGapXl' | 'columnGap_2xl' | 'columnGap_3xl' | 'columnGap_4xl';
53 md?: 'columnGapNone' | 'columnGapXs' | 'columnGapSm' | 'columnGapMd' | 'columnGapLg' | 'columnGapXl' | 'columnGap_2xl' | 'columnGap_3xl' | 'columnGap_4xl';
54 lg?: 'columnGapNone' | 'columnGapXs' | 'columnGapSm' | 'columnGapMd' | 'columnGapLg' | 'columnGapXl' | 'columnGap_2xl' | 'columnGap_3xl' | 'columnGap_4xl';
55 xl?: 'columnGapNone' | 'columnGapXs' | 'columnGapSm' | 'columnGapMd' | 'columnGapLg' | 'columnGapXl' | 'columnGap_2xl' | 'columnGap_3xl' | 'columnGap_4xl';
56 '2xl'?: 'columnGapNone' | 'columnGapXs' | 'columnGapSm' | 'columnGapMd' | 'columnGapLg' | 'columnGapXl' | 'columnGap_2xl' | 'columnGap_3xl' | 'columnGap_4xl';
57 };
58 /** Sets only the row gap at various breakpoints. */
59 rowGap?: {
60 default?: 'rowGapNone' | 'rowGapXs' | 'rowGapSm' | 'rowGapMd' | 'rowGapLg' | 'rowGapXl' | 'rowGap_2xl' | 'rowGap_3xl' | 'rowGap_4xl';
61 md?: 'rowGapNone' | 'rowGapXs' | 'rowGapSm' | 'rowGapMd' | 'rowGapLg' | 'rowGapXl' | 'rowGap_2xl' | 'rowGap_3xl' | 'rowGap_4xl';
62 lg?: 'rowGapNone' | 'rowGapXs' | 'rowGapSm' | 'rowGapMd' | 'rowGapLg' | 'rowGapXl' | 'rowGap_2xl' | 'rowGap_3xl' | 'rowGap_4xl';
63 xl?: 'rowGapNone' | 'rowGapXs' | 'rowGapSm' | 'rowGapMd' | 'rowGapLg' | 'rowGapXl' | 'rowGap_2xl' | 'rowGap_3xl' | 'rowGap_4xl';
64 '2xl'?: 'rowGapNone' | 'rowGapXs' | 'rowGapSm' | 'rowGapMd' | 'rowGapLg' | 'rowGapXl' | 'rowGap_2xl' | 'rowGap_3xl' | 'rowGap_4xl';
65 };
66 /** Value to set for row wrapping at various breakpoints */
67 rowWrap?: {
68 default?: 'wrap' | 'nowrap';
69 sm?: 'wrap' | 'nowrap';
70 md?: 'wrap' | 'nowrap';
71 lg?: 'wrap' | 'nowrap';
72 xl?: 'wrap' | 'nowrap';
73 '2xl'?: 'wrap' | 'nowrap';
74 };
75 /** Content to be rendered inside the data toolbar group */
76 children?: React.ReactNode;
77 /** Flag that modifies the toolbar group to hide overflow and respond to available space. Used for horizontal navigation. */
78 isOverflowContainer?: boolean;
79 /** @hide Reference to pass to this group if it has .pf-m-label-container modifier */
80 innerRef?: React.RefObject<any>;
81 }
82 export declare const ToolbarGroup: import("react").ForwardRefExoticComponent<ToolbarGroupProps & import("react").RefAttributes<unknown>>;
83 //# sourceMappingURL=ToolbarGroup.d.ts.map