@ansible/ansible-ui-framework 0.0.670 → 0.0.671
Sign up to get free protection for your applications and to get access to all the features.
- package/framework/{BulkActionDialog.d.ts → PageDialogs/BulkActionDialog.d.ts} +1 -1
- package/framework/{BulkConfirmationDialog.d.ts → PageDialogs/BulkConfirmationDialog.d.ts} +1 -1
- package/framework/PageDialogs/MultiSelectDialog.d.ts +20 -0
- package/framework/PageDialogs/SelectSingleDialog.d.ts +20 -0
- package/framework/{useSelectDialog.d.ts → PageDialogs/useSelectDialog.d.ts} +4 -4
- package/framework/PageForm/Inputs/PageFormAsyncSelect.d.ts +42 -0
- package/framework/index.d.ts +5 -5
- package/framework/useFrameworkTranslations.d.ts +2 -0
- package/index.js +14074 -14080
- package/index.umd.cjs +64 -64
- package/package.json +1 -1
- package/style.css +1 -1
- package/framework/useSelectMultipleDialog.d.ts +0 -21
- /package/framework/{PageDialog.d.ts → PageDialogs/PageDialog.d.ts} +0 -0
package/package.json
CHANGED
package/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.
|
1
|
+
.collapsed{max-height:0;transition:max-height .15s ease-out,opacity .15s ease-out;overflow:hidden;opacity:0}.expanded{max-height:500px;transition:max-height .25s ease-in,opacity .25s ease-in;opacity:1}.pf-c-toolbar__content-section{row-gap:16px!important}.pf-c-toolbar__expandable-content.pf-m-expanded,.pf-c-options-menu__menu{z-index:400}.border-top{border-top:thin solid var(--pf-global--BorderColor--100)}.border-bottom{border-bottom:thin solid var(--pf-global--BorderColor--100)}.light{background-color:var(--pf-global--BackgroundColor--100)}:root:where(.pf-theme-dark) .dark-0{background-color:var(--pf-global--BackgroundColor--200)}:root:where(.pf-theme-dark) .dark-1{background-color:var(--pf-global--BackgroundColor--100)}:root:where(.pf-theme-dark) .dark-2{background-color:var(--pf-global--BackgroundColor--300)}:root:where(.pf-theme-dark) .dark-3{background-color:var(--pf-global--BackgroundColor--400)}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { ITableColumn } from './PageTable/PageTable';
|
3
|
-
import { IToolbarFilter } from './PageTable/PageToolbar';
|
4
|
-
import { ISelected } from './PageTable/useTableItems';
|
5
|
-
import { IView } from './useView';
|
6
|
-
export type SelectMultipleDialogProps<T extends object> = {
|
7
|
-
title: string;
|
8
|
-
view: IView & ISelected<T> & {
|
9
|
-
itemCount?: number;
|
10
|
-
pageItems: T[] | undefined;
|
11
|
-
};
|
12
|
-
tableColumns: ITableColumn<T>[];
|
13
|
-
toolbarFilters: IToolbarFilter[];
|
14
|
-
onSelect: (items: T[]) => void;
|
15
|
-
confirmText?: string;
|
16
|
-
cancelText?: string;
|
17
|
-
emptyStateTitle?: string;
|
18
|
-
errorStateTitle?: string;
|
19
|
-
};
|
20
|
-
export declare function SelectMultipleDialog<T extends object>(props: SelectMultipleDialogProps<T>): JSX.Element;
|
21
|
-
export declare function useSelectMultipleDialog<T extends object>(): (props: SelectMultipleDialogProps<T>) => void;
|
File without changes
|