@ansible/ansible-ui-framework 0.0.347 → 0.0.349
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.
- package/cjs/PageTable.d.ts +13 -1
- package/cjs/PageTable.js +13 -1
- package/docs/Components.md +5 -5
- package/docs/Framework.md +1 -1
- package/docs/Guides.md +2 -2
- package/docs/components/PageTable.md +13 -1
- package/docs/guides/GettingStarted.md +1 -1
- package/docs/guides/PageTableGuide.md +1 -1
- package/package.json +1 -1
package/cjs/PageTable.d.ts
CHANGED
@@ -52,7 +52,19 @@ export type PageTableProps<T extends object> = {
|
|
52
52
|
defaultCardSubtitle?: ReactNode;
|
53
53
|
};
|
54
54
|
/**
|
55
|
-
* PageTable
|
55
|
+
* The PageTable component is used for adding a table to a page.
|
56
|
+
*
|
57
|
+
* See the [Table Guide](docs/guides/PageTableGuide.md).
|
58
|
+
*
|
59
|
+
* @example
|
60
|
+
* ```tsx
|
61
|
+
* <Page>
|
62
|
+
* <PageLayout>
|
63
|
+
* <PageHeader ... />
|
64
|
+
* <PageTable ... />
|
65
|
+
* </PageLayout>
|
66
|
+
* </Page>
|
67
|
+
* ```
|
56
68
|
*/
|
57
69
|
export declare function PageTable<T extends object>(props: PageTableProps<T>): JSX.Element;
|
58
70
|
type CellFn<T extends object> = (item: T) => ReactNode;
|
package/cjs/PageTable.js
CHANGED
@@ -55,7 +55,19 @@ function TablePage(props) {
|
|
55
55
|
}
|
56
56
|
exports.TablePage = TablePage;
|
57
57
|
/**
|
58
|
-
* PageTable
|
58
|
+
* The PageTable component is used for adding a table to a page.
|
59
|
+
*
|
60
|
+
* See the [Table Guide](docs/guides/PageTableGuide.md).
|
61
|
+
*
|
62
|
+
* @example
|
63
|
+
* ```tsx
|
64
|
+
* <Page>
|
65
|
+
* <PageLayout>
|
66
|
+
* <PageHeader ... />
|
67
|
+
* <PageTable ... />
|
68
|
+
* </PageLayout>
|
69
|
+
* </Page>
|
70
|
+
* ```
|
59
71
|
*/
|
60
72
|
function PageTable(props) {
|
61
73
|
var _a;
|
package/docs/Components.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
# Ansible UI Components
|
4
4
|
|
5
|
-
- [BulkActionDialog](BulkActionDialog.md)
|
6
|
-
- [PageFramework](PageFramework.md)
|
7
|
-
- [PageHeader](PageHeader.md)
|
8
|
-
- [PageLayout](PageLayout.md)
|
9
|
-
- [PageTable](PageTable.md)
|
5
|
+
- [BulkActionDialog](components/BulkActionDialog.md)
|
6
|
+
- [PageFramework](components/PageFramework.md)
|
7
|
+
- [PageHeader](components/PageHeader.md)
|
8
|
+
- [PageLayout](components/PageLayout.md)
|
9
|
+
- [PageTable](components/PageTable.md)
|
package/docs/Framework.md
CHANGED
package/docs/Guides.md
CHANGED
@@ -2,4 +2,16 @@
|
|
2
2
|
|
3
3
|
# PageTable
|
4
4
|
|
5
|
-
PageTable
|
5
|
+
The PageTable component is used for adding a table to a page.
|
6
|
+
See the <a href="docs/guides/PageTableGuide.md">Table Guide</a>.
|
7
|
+
|
8
|
+
**Example**
|
9
|
+
|
10
|
+
```tsx
|
11
|
+
<Page>
|
12
|
+
<PageLayout>
|
13
|
+
<PageHeader ... />
|
14
|
+
<PageTable ... />
|
15
|
+
</PageLayout>
|
16
|
+
</Page>
|
17
|
+
```
|