@ansible/ansible-ui-framework 0.0.329 → 0.0.331

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.
@@ -25,6 +25,10 @@ export interface BulkActionDialogProps<T extends object> {
25
25
  isDanger?: boolean;
26
26
  }
27
27
  /**
28
- * useBulkActionDialog - react hook to open a BulkActionDialog by calling the hook with BulkActionDialogProps
28
+ * useBulkActionDialog - react hook to open a BulkActionDialog
29
+ *
30
+ * @example
31
+ * const openBulkActionDialog = useBulkActionDialog()
32
+ * openBulkActionDialog(...) // Pass BulkActionDialogProps
29
33
  */
30
34
  export declare function useBulkActionDialog<T extends object>(): import("react").Dispatch<import("react").SetStateAction<BulkActionDialogProps<T> | undefined>>;
@@ -273,7 +273,11 @@ function BulkActionDialog(props) {
273
273
  : undefined }) }))] })));
274
274
  }
275
275
  /**
276
- * useBulkActionDialog - react hook to open a BulkActionDialog by calling the hook with BulkActionDialogProps
276
+ * useBulkActionDialog - react hook to open a BulkActionDialog
277
+ *
278
+ * @example
279
+ * const openBulkActionDialog = useBulkActionDialog()
280
+ * openBulkActionDialog(...) // Pass BulkActionDialogProps
277
281
  */
278
282
  function useBulkActionDialog() {
279
283
  var _a = __read((0, PageDialog_1.usePageDialog)(), 2), _ = _a[0], setDialog = _a[1];
@@ -20,4 +20,11 @@ The easiest way to use the BulkActionDialog is then useBulkActionDialog hook.
20
20
 
21
21
  ## useBulkActionDialog()
22
22
 
23
- useBulkActionDialog - react hook to open a BulkActionDialog by calling the hook with BulkActionDialogProps
23
+ useBulkActionDialog - react hook to open a BulkActionDialog
24
+
25
+ ## Example
26
+
27
+ ```tsx
28
+ const openBulkActionDialog = useBulkActionDialog()
29
+ openBulkActionDialog(...) // Pass BulkActionDialogProps
30
+ ```
@@ -95,11 +95,27 @@ table {
95
95
  background-color: #0004;
96
96
  }
97
97
 
98
- tr {
99
- background-color: 'unset';
98
+ .markdown-body table tr {
99
+ background-color: unset;
100
100
  border: unset;
101
101
  }
102
102
 
103
- td {
103
+ .markdown-body table tr:nth-child(2n) {
104
+ background-color: unset;
105
+ }
106
+
107
+ .markdown-body table td {
104
108
  border: unset;
109
+ border-top: #fff2;
110
+ }
111
+
112
+ .markdown-body table th {
113
+ color: FFF8;
114
+ border: unset;
115
+ border-bottom: #fff4;
116
+ }
117
+
118
+ td code {
119
+ color: #4ad;
120
+ background-color: #fff2;
105
121
  }
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": "0.0.329",
4
+ "version": "0.0.331",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "repository": {