@ansible/ansible-ui-framework 2.4.446 → 2.4.448

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -2,12 +2,11 @@
2
2
 
3
3
  UI projects for [Ansible](https://www.ansible.com).
4
4
 
5
- - [Ansible UI](#ansible-ui)
6
- - [Getting Started](#getting-started)
7
- - [Environment Variables](#environment-variables)
8
- - [NPM Scripts](#npm-scripts)
9
- - [Documentation](#documentation)
10
- - [Code of Conduct](#code-of-conduct)
5
+ - [Getting Started](#getting-started)
6
+ - [Environment Variables](#environment-variables)
7
+ - [NPM Scripts](#npm-scripts)
8
+ - [Documentation](#documentation)
9
+ - [Code of Conduct](#code-of-conduct)
11
10
 
12
11
  ## Getting Started
13
12
 
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
2
  export declare function PageMasthead(props: {
3
- title: string;
3
+ icon?: ReactNode;
4
4
  brand?: string;
5
+ title: string;
5
6
  children?: ReactNode;
6
7
  }): import("react/jsx-runtime").JSX.Element;
7
8
  export declare function PageMastheadToggle(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ export declare function PageMastheadDropdown(props: {
3
+ id: string;
4
+ icon: ReactNode;
5
+ label?: string;
6
+ children: ReactNode;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare function PageNotificationsIcon(props: {
2
+ count: number;
3
+ onClick: () => void;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function PageSettingsIcon(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function PageThemeSwitcher(): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { PageNavigationItem } from './PageNavigationItem';
3
3
  export declare function PageApp(props: {
4
4
  login: ReactNode;
5
5
  root: ReactNode;
6
- header?: ReactNode;
6
+ masthead?: ReactNode;
7
7
  navigation: PageNavigationItem[];
8
8
  basename?: string;
9
9
  }): import("react/jsx-runtime").JSX.Element;
@@ -38,7 +38,7 @@ export * from './PageForm/PageForm';
38
38
  export * from './PageFramework';
39
39
  export * from './PageHeader';
40
40
  export * from './PageLayout';
41
- export * from './PageMasthead';
41
+ export * from './PageMasthead/PageMasthead';
42
42
  export * from './PageNavigation/PageApp';
43
43
  export * from './PageNavigation/PageNavSidebar';
44
44
  export * from './PageNavigation/PageNavigation';
@@ -1,39 +1,39 @@
1
- declare function l_e(e: any): any;
1
+ declare function c_e(e: any): any;
2
2
  declare function _Ae(e: any): any;
3
3
  declare function OAe(e: any): any;
4
4
  declare function ld(e: any): any;
5
- declare var X1e: any;
6
- declare var Z1e: any;
5
+ declare var Q1e: any;
7
6
  declare var J1e: any;
7
+ declare var e_e: any;
8
8
  declare var _i: any;
9
9
  declare function CAe(e: any): any;
10
10
  declare function AAe(e: any): any;
11
- declare function aI(e: any): any;
11
+ declare function oI(e: any): any;
12
12
  declare const xAe: L.Context<undefined>;
13
13
  declare function TAe(e: any): any;
14
- declare function Vl(e: any): any;
14
+ declare function Ul(e: any): any;
15
15
  declare function BAe(e: any): any;
16
- declare function q5e(e: any): any;
16
+ declare function Y5e(e: any): any;
17
17
  declare function VAe(e: any): any;
18
- declare function b7(e: any): any;
19
- declare function Gs(e: any): any;
20
- declare var sI: any;
21
- declare function iI(e: any): any;
18
+ declare function x7(e: any): any;
19
+ declare function Ys(e: any): any;
20
+ declare var uI: any;
21
+ declare function lI(e: any): any;
22
22
  declare function WAe(e: any): any;
23
- declare var oI: any;
23
+ declare var sI: any;
24
24
  declare var mt: any;
25
25
  declare var Ft: any;
26
- declare function qs(e: any): any;
26
+ declare function Gs(e: any): any;
27
27
  declare const LO: L.Context<{
28
28
  addAlert: () => null;
29
29
  removeAlert: () => null;
30
30
  replaceAlert: () => null;
31
31
  removeAlerts: () => null;
32
32
  }>;
33
- declare function j7(e: any): any;
33
+ declare function M7(e: any): any;
34
34
  declare function QAe(e: any): any;
35
- declare function D7(e: any): any;
36
- declare function O0(e: any): any;
35
+ declare function I7(e: any): any;
36
+ declare function S0(e: any): any;
37
37
  declare function kAe(e: any): any;
38
38
  declare function Yv(e: any): any;
39
39
  declare function PAe(e: any): any;
@@ -43,13 +43,13 @@ declare const JC: L.Context<{
43
43
  declare function $Ae(e: any): any;
44
44
  declare function DAe(e: any): any;
45
45
  declare function jAe(e: any): any;
46
- declare function yu(e: any): any;
47
- declare function K1e(e: any): any;
48
- declare function r_e(e: any): any;
49
- declare function M7(e: any): any;
50
- declare function q1e(e: any): any;
46
+ declare function bu(e: any): any;
47
+ declare function X1e(e: any): any;
48
+ declare function i_e(e: any): any;
49
+ declare function L7(e: any): any;
50
+ declare function Y1e(e: any): any;
51
51
  declare function ZAe(e: any): any;
52
- declare function LCe(e: any): any;
52
+ declare function NCe(e: any): any;
53
53
  declare function UAe(e: any): any;
54
54
  declare function HAe(e: any): any;
55
55
  declare function LS(e: any): any;
@@ -58,62 +58,62 @@ declare function RS(e: any): any;
58
58
  declare function GAe(e: any): any;
59
59
  declare function YAe(e: any): any;
60
60
  declare function KAe(e: any): any;
61
- declare function FCe(e: any): any;
62
- declare function XAe(e: any): any;
63
61
  declare function zCe(e: any): any;
62
+ declare function XAe(e: any): any;
63
+ declare function VCe(e: any): any;
64
64
  declare function JAe(e: any): any;
65
65
  declare function UCe(): any;
66
66
  declare const A3: L.Context<{
67
67
  isOpen: boolean;
68
68
  setState: () => {};
69
69
  }>;
70
- declare function RCe(e: any): any;
70
+ declare function FCe(e: any): any;
71
71
  declare function qCe(e: any): any;
72
72
  declare function NS(e: any): any;
73
- declare function Rh(e: any): any;
73
+ declare function Lh(e: any): any;
74
74
  declare function qw(e: any): any;
75
75
  declare function nAe(e: any): any;
76
76
  declare function nTe(e: any): any;
77
- declare function a5e(e: any): any;
78
- declare function Jxe(e: any): any;
77
+ declare function o5e(e: any): any;
78
+ declare function e5e(e: any): any;
79
79
  declare const aAe: any;
80
80
  declare function _o(e: any): any;
81
- declare function H5e(e: any): any;
81
+ declare function G5e(e: any): any;
82
82
  declare const wAe: L.Context<() => null>;
83
- declare const Ys: L.Context<{}[]>;
84
- declare function R7(e: any): any;
85
- declare function L7(e: any): any;
83
+ declare const Ks: L.Context<{}[]>;
84
+ declare function F7(e: any): any;
85
+ declare function N7(e: any): any;
86
86
  declare function Xt(e: any): any;
87
87
  declare function j1(e: any): any;
88
- declare var Xxe: any;
88
+ declare var Qxe: any;
89
89
  declare function JCe(e: any, t: any, n: any): void;
90
90
  declare function QCe(e: any, t: any, n: any): void;
91
91
  declare function eAe(e: any, t: any, n: any): void;
92
- declare function W5e(e: any, t: any): 1 | -1 | 0;
93
- declare function xu(e: any, t: any): 1 | -1 | 0;
94
- declare function F5e(e: any, t: any): 1 | -1 | 0;
92
+ declare function B5e(e: any, t: any): 1 | -1 | 0;
93
+ declare function wu(e: any, t: any): 1 | -1 | 0;
94
+ declare function z5e(e: any, t: any): 1 | -1 | 0;
95
95
  declare function bAe(e: any): {
96
96
  title: string;
97
97
  variant: string;
98
98
  timeout: number;
99
99
  };
100
100
  declare function ZCe(e: any, t: any): any;
101
- declare function w0(e: any): "var(--pf-global--danger-color--100)" | "var(--pf-global--success-color--100)" | "var(--pf-global--warning-color--100)" | "var(--pf-global--info-color--100)" | "var(--pf-global--disabled-color--100)" | undefined;
101
+ declare function x0(e: any): "var(--pf-global--danger-color--100)" | "var(--pf-global--success-color--100)" | "var(--pf-global--warning-color--100)" | "var(--pf-global--info-color--100)" | "var(--pf-global--disabled-color--100)" | undefined;
102
102
  declare const VC: "var(--pf-global--danger-color--100)";
103
103
  declare const HC: "var(--pf-global--disabled-color--100)";
104
104
  declare const UC: "var(--pf-global--info-color--100)";
105
105
  declare const EAe: "var(--pf-global--link--Color)";
106
106
  declare const BC: "var(--pf-global--success-color--100)";
107
- declare const lI: "var(--pf-global--warning-color--100)";
107
+ declare const cI: "var(--pf-global--warning-color--100)";
108
108
  declare function eTe(e: any): any;
109
109
  declare function XCe(e: any, t: any): any;
110
- declare function tr(e: any): boolean | undefined;
111
- declare function N5e(): L.Dispatch<L.SetStateAction<undefined>>;
110
+ declare function In(e: any): boolean | undefined;
111
+ declare function W5e(): L.Dispatch<L.SetStateAction<undefined>>;
112
112
  declare function FAe(): (n: any) => void;
113
113
  declare function LAe(e: any): any;
114
114
  declare function IAe(e: any): any;
115
- declare function t_e(e: any): any;
116
- declare function n_e(e: any): any;
115
+ declare function r_e(e: any): any;
116
+ declare function a_e(e: any): any;
117
117
  declare function Jk(e: any, t: any): {
118
118
  filtered: never[];
119
119
  setFilterFn: (c: any) => void;
@@ -189,14 +189,14 @@ declare function RO(): {
189
189
  replaceAlert: () => null;
190
190
  removeAlerts: () => null;
191
191
  };
192
- declare function Ea(): ((() => void) | undefined)[];
193
- declare function NCe(): (a: any) => void;
194
- declare function Uh(): {
192
+ declare function ka(): ((() => void) | undefined)[];
193
+ declare function WCe(): (a: any) => void;
194
+ declare function Vh(): {
195
195
  isOpen: boolean;
196
196
  setState: () => {};
197
197
  };
198
198
  declare function tTe(): (n: any, r: any) => void;
199
- declare function Lh(e: any): {
199
+ declare function Ih(e: any): {
200
200
  paged: never[];
201
201
  page: number;
202
202
  setPage: L.Dispatch<L.SetStateAction<number>>;
@@ -216,7 +216,7 @@ declare function Zk(e: any, t: any, n: any): {
216
216
  keyFn: any;
217
217
  unselectItems: (g: any) => void;
218
218
  };
219
- declare function u5e(e: any, t: any): {
219
+ declare function d5e(e: any, t: any): {
220
220
  selectedItems: any[];
221
221
  selectItem: (h: any) => void;
222
222
  unselectItem: (h: any) => void;
@@ -228,7 +228,7 @@ declare function u5e(e: any, t: any): {
228
228
  keyFn: any;
229
229
  unselectItems: (h: any) => void;
230
230
  };
231
- declare function Ks(): {};
231
+ declare function Zs(): {};
232
232
  declare function SAe(e: any): () => void;
233
233
  declare function Xk(e: any): {
234
234
  sorted: any;
@@ -272,11 +272,11 @@ declare function fAe(e: any): {
272
272
  setFilterState: L.Dispatch<any>;
273
273
  clearAllFilters: () => void;
274
274
  };
275
- declare function e_e(e: any): any;
275
+ declare function n_e(e: any): any;
276
276
  declare function MAe(e: any, t: any): any;
277
- declare function Q1e(e: any): any;
277
+ declare function t_e(e: any): any;
278
278
  declare function Dk(e: any): any;
279
279
  declare function jk(e: any): any;
280
- declare function wj(): string;
280
+ declare function Oj(): string;
281
281
  import * as L from "react";
282
- export { l_e as BulkSelector, _Ae as BytesCell, OAe as CapacityCell, ld as Collapse, X1e as ColumnCardOption, Z1e as ColumnListOption, J1e as ColumnModalOption, _i as ColumnTableOption, CAe as CopyCell, AAe as DateCell, aI as DateTimeCell, xAe as DialogContext, TAe as ElapsedTimeCell, Vl as FormGroupSelect, BAe as FormGroupSelectOption, q5e as FormGroupTextArea, VAe as FormGroupTextInput, b7 as FrameworkTranslationsProvider, Gs as Help, sI as LabelColorE, iI as LabelsCell, WAe as MultiSelectDialog, oI as PFColorE, mt as PageActionSelection, Ft as PageActionType, qs as PageActions, LO as PageAlertToasterContext, j7 as PageAlertToasterProvider, QAe as PageApp, D7 as PageBody, O0 as PageChartContainer, kAe as PageDashboard, Yv as PageDashboardCard, PAe as PageDashboardChart, JC as PageDashboardContext, $Ae as PageDashboardCount, DAe as PageDashboardDonutCard, jAe as PageDashboardGettingStarted, yu as PageDetail, K1e as PageDetails, r_e as PageDetailsFromColumns, M7 as PageDialogProvider, q1e as PageDonutChart, ZAe as PageForm, LCe as PageFormCancelButton, UAe as PageFormCheckbox, HAe as PageFormDataEditor, LS as PageFormGrid, qAe as PageFormSelect, RS as PageFormSubmitButton, GAe as PageFormSwitch, YAe as PageFormTextArea, KAe as PageFormTextInput, FCe as PageFramework, XAe as PageHeader, zCe as PageLayout, JAe as PageMasthead, UCe as PageMastheadToggle, A3 as PageNavSideBarContext, RCe as PageNavSideBarProvider, qCe as PageNavigation, NS as PageTab, Rh as PageTable, qw as PageTableCards, nAe as PageTabs, nTe as PageTabsOld, a5e as PageToolbar, Jxe as PageToolbarFilters, aAe as RunningIcon, _o as Scrollable, H5e as SelectDialog, wAe as SetDialogContext, Ys as SettingsContext, R7 as SettingsDialog, L7 as SettingsProvider, Xt as TableColumnCell, j1 as TextCell, Xxe as ToolbarFilterType, JCe as addNavigationItem, QCe as addNavigationItemAfter, eAe as addNavigationItemBefore, W5e as compareNumbers, xu as compareStrings, F5e as compareUnknowns, bAe as errorToAlertProps, ZCe as findNavigationItemById, w0 as getPatternflyColor, VC as pfDanger, HC as pfDisabled, UC as pfInfo, EAe as pfLink, BC as pfSuccess, lI as pfWarning, eTe as removeLeadingSlash, XCe as removeNavigationItemById, tr as useBreakpoint, N5e as useBulkActionDialog, FAe as useBulkConfirmation, LAe as useColumnsWithoutExpandedRow, IAe as useColumnsWithoutSort, t_e as useDescriptionColumns, n_e as useExpandedColumns, Jk as useFiltered, Pt as useFrameworkTranslations, tAe as useGetPageUrl, rTe as useInMemoryView, yAe as useOrientation, RO as usePageAlertToaster, Ea as usePageDialog, NCe as usePageNavBarClick, Uh as usePageNavSideBar, tTe as usePageNavigate, Lh as usePaged, zAe as useSelectDialog, Zk as useSelected, u5e as useSelectedInMemory, Ks as useSettings, SAe as useSettingsDialog, Xk as useSorted, NAe as useTableItems, fAe as useView, e_e as useVisibleCardColumns, MAe as useVisibleColumns, Q1e as useVisibleListColumns, Dk as useVisibleModalColumns, jk as useVisibleTableColumns, wj as useWindowSize };
282
+ export { c_e as BulkSelector, _Ae as BytesCell, OAe as CapacityCell, ld as Collapse, Q1e as ColumnCardOption, J1e as ColumnListOption, e_e as ColumnModalOption, _i as ColumnTableOption, CAe as CopyCell, AAe as DateCell, oI as DateTimeCell, xAe as DialogContext, TAe as ElapsedTimeCell, Ul as FormGroupSelect, BAe as FormGroupSelectOption, Y5e as FormGroupTextArea, VAe as FormGroupTextInput, x7 as FrameworkTranslationsProvider, Ys as Help, uI as LabelColorE, lI as LabelsCell, WAe as MultiSelectDialog, sI as PFColorE, mt as PageActionSelection, Ft as PageActionType, Gs as PageActions, LO as PageAlertToasterContext, M7 as PageAlertToasterProvider, QAe as PageApp, I7 as PageBody, S0 as PageChartContainer, kAe as PageDashboard, Yv as PageDashboardCard, PAe as PageDashboardChart, JC as PageDashboardContext, $Ae as PageDashboardCount, DAe as PageDashboardDonutCard, jAe as PageDashboardGettingStarted, bu as PageDetail, X1e as PageDetails, i_e as PageDetailsFromColumns, L7 as PageDialogProvider, Y1e as PageDonutChart, ZAe as PageForm, NCe as PageFormCancelButton, UAe as PageFormCheckbox, HAe as PageFormDataEditor, LS as PageFormGrid, qAe as PageFormSelect, RS as PageFormSubmitButton, GAe as PageFormSwitch, YAe as PageFormTextArea, KAe as PageFormTextInput, zCe as PageFramework, XAe as PageHeader, VCe as PageLayout, JAe as PageMasthead, UCe as PageMastheadToggle, A3 as PageNavSideBarContext, FCe as PageNavSideBarProvider, qCe as PageNavigation, NS as PageTab, Lh as PageTable, qw as PageTableCards, nAe as PageTabs, nTe as PageTabsOld, o5e as PageToolbar, e5e as PageToolbarFilters, aAe as RunningIcon, _o as Scrollable, G5e as SelectDialog, wAe as SetDialogContext, Ks as SettingsContext, F7 as SettingsDialog, N7 as SettingsProvider, Xt as TableColumnCell, j1 as TextCell, Qxe as ToolbarFilterType, JCe as addNavigationItem, QCe as addNavigationItemAfter, eAe as addNavigationItemBefore, B5e as compareNumbers, wu as compareStrings, z5e as compareUnknowns, bAe as errorToAlertProps, ZCe as findNavigationItemById, x0 as getPatternflyColor, VC as pfDanger, HC as pfDisabled, UC as pfInfo, EAe as pfLink, BC as pfSuccess, cI as pfWarning, eTe as removeLeadingSlash, XCe as removeNavigationItemById, In as useBreakpoint, W5e as useBulkActionDialog, FAe as useBulkConfirmation, LAe as useColumnsWithoutExpandedRow, IAe as useColumnsWithoutSort, r_e as useDescriptionColumns, a_e as useExpandedColumns, Jk as useFiltered, Pt as useFrameworkTranslations, tAe as useGetPageUrl, rTe as useInMemoryView, yAe as useOrientation, RO as usePageAlertToaster, ka as usePageDialog, WCe as usePageNavBarClick, Vh as usePageNavSideBar, tTe as usePageNavigate, Ih as usePaged, zAe as useSelectDialog, Zk as useSelected, d5e as useSelectedInMemory, Zs as useSettings, SAe as useSettingsDialog, Xk as useSorted, NAe as useTableItems, fAe as useView, n_e as useVisibleCardColumns, MAe as useVisibleColumns, t_e as useVisibleListColumns, Dk as useVisibleModalColumns, jk as useVisibleTableColumns, Oj as useWindowSize };