@ansible/ansible-ui-framework 2.4.1170 → 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 (29) 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/PageAsyncMultiSelect.d.ts +2 -7
  9. package/framework/PageInputs/PageAsyncSelectOptions.d.ts +7 -0
  10. package/framework/PageInputs/PageAsyncSingleSelect.d.ts +3 -9
  11. package/framework/PageInputs/PageMultiSelect.d.ts +1 -0
  12. package/framework/PageInputs/PageSingleSelect.d.ts +1 -0
  13. package/framework/PageNavigation/PageApp.d.ts +1 -0
  14. package/framework/PageSettings/PageSettings.d.ts +2 -0
  15. package/framework/PageSettings/PageSettingsProvider.d.ts +17 -0
  16. package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncMultiSelectFilter.d.ts +4 -4
  17. package/framework/PageToolbar/PageToolbarFilters/ToolbarAsyncSingleSelectFilter.d.ts +4 -3
  18. package/framework/PageToolbar/PageToolbarFilters/ToolbarDateRangeFilter.d.ts +6 -0
  19. package/framework/PageToolbar/PageToolbarFilters/ToolbarMultiSelectFilter.d.ts +1 -0
  20. package/framework/PageToolbar/PageToolbarFilters/ToolbarSingleSelectFilter.d.ts +1 -0
  21. package/framework/components/icons/ExpandIcon.d.ts +2 -0
  22. package/framework/index.d.ts +1 -2
  23. package/framework/publish/index.d.ts +141 -144
  24. package/index.js +12819 -13185
  25. package/index.umd.cjs +192 -196
  26. package/package.json +1 -1
  27. package/framework/PageActions/PageActionLink.d.ts +0 -9
  28. package/framework/PageMasthead/PageSettingsIcon.d.ts +0 -1
  29. 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.1170",
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;