@ansible/ansible-ui-framework 0.0.295 → 0.0.296
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
|
|
1
|
+
## BulkActionDialog(title, items, keyFn, actionColumns)
|
2
|
+
|
3
|
+
BulkActionDialog
|
4
|
+
|
5
|
+
| Param | Type | Description |
|
6
|
+
| ------------- | ------------------------ | --------------------------------------------------- |
|
7
|
+
| title | `string` | The title of the model. |
|
8
|
+
| items | `Array(T)` | The items to confirm for the bulk action. |
|
9
|
+
| keyFn | `function` | A function that gets a unique key for each item. |
|
10
|
+
| actionColumns | `Array(ITableColumn<T>)` | The columns to display when processing the actions. |
|
@@ -0,0 +1,29 @@
|
|
1
|
+
## PageHeader(breadcrumbs, title, titleHelpTitle, titleHelp, description, controls, headerActions)
|
2
|
+
|
3
|
+
PageHeader enables the responsive layout of the header.
|
4
|
+
|
5
|
+
| Param | Type | Description |
|
6
|
+
| -------------- | -------------------- | --------------------------------- |
|
7
|
+
| breadcrumbs | `Array.<Breadcrumb>` | The breadcrumbs for the page. |
|
8
|
+
| title | `string` | The title of the page. |
|
9
|
+
| titleHelpTitle | `string` | The title of help popover. |
|
10
|
+
| titleHelp | `ReactNode` | The content for the help popover. |
|
11
|
+
| description | `string` | The description of the page. |
|
12
|
+
| controls | `ReactNode` | Support for extra page controls. |
|
13
|
+
| headerActions | `ReactNode` | The actions for the page. |
|
14
|
+
|
15
|
+
**Example**
|
16
|
+
|
17
|
+
```js
|
18
|
+
<Page>
|
19
|
+
<PageLayout>
|
20
|
+
<PageHeader
|
21
|
+
breadcrumbs={[{ label: 'Home', to: '/home' }, { label: 'Page title' }]}
|
22
|
+
title='Page title'
|
23
|
+
description='Page description'
|
24
|
+
headerActions={<PageActions actions={actions} />}
|
25
|
+
/>
|
26
|
+
<PageBody />...</PageBody>
|
27
|
+
</PageLayout>
|
28
|
+
<Page>
|
29
|
+
```
|
File without changes
|
File without changes
|
package/package.json
CHANGED