@ansible/ansible-ui-framework 2.4.1171 → 2.4.1191
Sign up to get free protection for your applications and to get access to all the features.
- package/framework/PageActions/PageAction.d.ts +2 -0
- package/framework/PageActions/PageActionButton.d.ts +3 -2
- package/framework/PageForm/GenericForm.d.ts +1 -1
- package/framework/PageForm/Inputs/FormGroupTypeAheadMultiSelect.d.ts +1 -1
- package/framework/PageForm/Inputs/PageFormDataEditor.d.ts +1 -0
- package/framework/PageForm/Utils/PageFormSection.d.ts +2 -0
- package/framework/PageFramework.d.ts +1 -0
- package/framework/PageInputs/PageMultiSelect.d.ts +1 -0
- package/framework/PageInputs/PageSingleSelect.d.ts +1 -0
- package/framework/PageNavigation/PageApp.d.ts +1 -0
- package/framework/PageSettings/PageSettings.d.ts +2 -0
- package/framework/PageSettings/PageSettingsProvider.d.ts +17 -0
- package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncMultiSelectFilter.d.ts +1 -0
- package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncSingleSelectFilter.d.ts +1 -0
- package/framework/PageToolbar/PageToolbarFilters/ToolbarDateRangeFilter.d.ts +6 -0
- package/framework/PageToolbar/PageToolbarFilters/ToolbarMultiSelectFilter.d.ts +1 -0
- package/framework/PageToolbar/PageToolbarFilters/ToolbarSingleSelectFilter.d.ts +1 -0
- package/framework/components/icons/ExpandIcon.d.ts +2 -0
- package/framework/index.d.ts +1 -2
- package/framework/publish/index.d.ts +141 -144
- package/index.js +12817 -13183
- package/index.umd.cjs +192 -196
- package/package.json +1 -1
- package/framework/PageActions/PageActionLink.d.ts +0 -9
- package/framework/PageMasthead/PageSettingsIcon.d.ts +0 -1
- package/framework/Settings.d.ts +0 -20
package/package.json
CHANGED
@@ -1,9 +0,0 @@
|
|
1
|
-
import { ComponentClass, FunctionComponent } from 'react';
|
2
|
-
import { IPageActionLink, IPageActionLinkSingle } from './PageAction';
|
3
|
-
export declare function PageActionLink<T extends object>(props: {
|
4
|
-
action: IPageActionLink | IPageActionLinkSingle<T>;
|
5
|
-
wrapper?: ComponentClass | FunctionComponent;
|
6
|
-
iconOnly?: boolean;
|
7
|
-
selectedItem?: T;
|
8
|
-
selectedItems?: T[];
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function PageSettingsIcon(): import("react/jsx-runtime").JSX.Element;
|
package/framework/Settings.d.ts
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
export interface Settings {
|
3
|
-
refreshInterval?: 60;
|
4
|
-
theme?: 'system' | 'light' | 'dark';
|
5
|
-
activeTheme?: 'light' | 'dark';
|
6
|
-
tableLayout?: 'compact' | 'comfortable';
|
7
|
-
formColumns?: 'single' | 'multiple';
|
8
|
-
formLayout?: 'vertical' | 'horizontal';
|
9
|
-
dateFormat?: 'since' | 'date-time';
|
10
|
-
}
|
11
|
-
export declare const SettingsContext: import("react").Context<[Settings, (settings: Settings) => void]>;
|
12
|
-
export declare function useSettings(): Settings;
|
13
|
-
export declare function SettingsProvider(props: {
|
14
|
-
children?: ReactNode;
|
15
|
-
}): import("react/jsx-runtime").JSX.Element;
|
16
|
-
export declare function useSettingsDialog(t: (t: string) => string): () => void;
|
17
|
-
export declare function SettingsDialog(props: {
|
18
|
-
open: boolean;
|
19
|
-
setOpen: (open: boolean) => void;
|
20
|
-
}): import("react/jsx-runtime").JSX.Element;
|