@ansible/ansible-ui-framework 2.4.1171 → 2.4.1190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/framework/PageActions/PageAction.d.ts +2 -0
  2. package/framework/PageActions/PageActionButton.d.ts +3 -2
  3. package/framework/PageForm/GenericForm.d.ts +1 -1
  4. package/framework/PageForm/Inputs/FormGroupTypeAheadMultiSelect.d.ts +1 -1
  5. package/framework/PageForm/Inputs/PageFormDataEditor.d.ts +1 -0
  6. package/framework/PageForm/Utils/PageFormSection.d.ts +2 -0
  7. package/framework/PageFramework.d.ts +1 -0
  8. package/framework/PageInputs/PageMultiSelect.d.ts +1 -0
  9. package/framework/PageInputs/PageSingleSelect.d.ts +1 -0
  10. package/framework/PageNavigation/PageApp.d.ts +1 -0
  11. package/framework/PageSettings/PageSettings.d.ts +2 -0
  12. package/framework/PageSettings/PageSettingsProvider.d.ts +17 -0
  13. package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncMultiSelectFilter.d.ts +1 -0
  14. package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncSingleSelectFilter.d.ts +1 -0
  15. package/framework/PageToolbar/PageToolbarFilters/ToolbarDateRangeFilter.d.ts +6 -0
  16. package/framework/PageToolbar/PageToolbarFilters/ToolbarMultiSelectFilter.d.ts +1 -0
  17. package/framework/PageToolbar/PageToolbarFilters/ToolbarSingleSelectFilter.d.ts +1 -0
  18. package/framework/components/icons/ExpandIcon.d.ts +2 -0
  19. package/framework/index.d.ts +1 -2
  20. package/framework/publish/index.d.ts +141 -144
  21. package/index.js +12817 -13183
  22. package/index.umd.cjs +192 -196
  23. package/package.json +1 -1
  24. package/framework/PageActions/PageActionLink.d.ts +0 -9
  25. package/framework/PageMasthead/PageSettingsIcon.d.ts +0 -1
  26. package/framework/Settings.d.ts +0 -20
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "A framework for building applications using PatternFly.",
4
- "version": "2.4.1171",
4
+ "version": "2.4.1190",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -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;
@@ -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;