@rh-support/components 2.0.0 → 2.0.2-beta.0

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.
@@ -22,7 +22,7 @@ function AlertMessage(props) {
22
22
  if (!props.show) {
23
23
  return null;
24
24
  }
25
- // if there is no title then the children node becomes the title to have a better styling
25
+ // If there is no title then the children node becomes the title to have a better styling
26
26
  var alertMsg = props.title || props.children;
27
27
  return (react_1.default.createElement(react_core_1.Alert, { label: props.title, className: props.className, variant: props.variant, title: alertMsg, isInline: props.isInline, actionClose: !!props.onClose ? react_1.default.createElement(react_core_1.AlertActionCloseButton, { onClose: props.onClose }) : null }, props.title ? props.children : react_1.default.createElement(react_1.default.Fragment, null)));
28
28
  }
@@ -91,7 +91,7 @@ var loadingRowDefault = [
91
91
  heightAuto: true,
92
92
  cells: [
93
93
  {
94
- props: { colSpan: 8 },
94
+ props: { colSpan: 9 },
95
95
  title: (react_1.default.createElement(react_core_1.Bullseye, { style: { minHeight: '350px' } },
96
96
  react_1.default.createElement(react_core_1.EmptyState, { variant: react_core_1.EmptyStateVariant.small },
97
97
  react_1.default.createElement(react_core_1.Spinner, { size: "xl" })))),
@@ -16,7 +16,7 @@ function AlertMessage(props) {
16
16
  if (!props.show) {
17
17
  return null;
18
18
  }
19
- // if there is no title then the children node becomes the title to have a better styling
19
+ // If there is no title then the children node becomes the title to have a better styling
20
20
  const alertMsg = props.title || props.children;
21
21
  return (React.createElement(Alert, { label: props.title, className: props.className, variant: props.variant, title: alertMsg, isInline: props.isInline, actionClose: !!props.onClose ? React.createElement(AlertActionCloseButton, { onClose: props.onClose }) : null }, props.title ? props.children : React.createElement(React.Fragment, null)));
22
22
  }
@@ -34,7 +34,7 @@ const loadingRowDefault = [
34
34
  heightAuto: true,
35
35
  cells: [
36
36
  {
37
- props: { colSpan: 8 },
37
+ props: { colSpan: 9 },
38
38
  title: (React.createElement(Bullseye, { style: { minHeight: '350px' } },
39
39
  React.createElement(EmptyState, { variant: EmptyStateVariant.small },
40
40
  React.createElement(Spinner, { size: "xl" })))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/components",
3
- "version": "2.0.0",
3
+ "version": "2.0.2-beta.0",
4
4
  "description": "Contains all reusabel components for support app",
5
5
  "author": "Vikas Rathee <vrathee@redhat.com>",
6
6
  "license": "ISC",
@@ -52,7 +52,7 @@
52
52
  "prepublishOnly": "npm run build"
53
53
  },
54
54
  "peerDependencies": {
55
- "@cee-eng/hydrajs": "4.15.71",
55
+ "@cee-eng/hydrajs": "4.15.72",
56
56
  "@cee-eng/ui-toolkit": "1.1.6",
57
57
  "@patternfly/patternfly": "4.196.7",
58
58
  "@patternfly/react-core": "4.264.0",
@@ -79,14 +79,14 @@
79
79
  "use-deep-compare-effect": "^1.6.1"
80
80
  },
81
81
  "dependencies": {
82
- "@cee-eng/hydrajs": "4.15.71",
82
+ "@cee-eng/hydrajs": "4.15.72",
83
83
  "@cee-eng/ui-toolkit": "1.1.6",
84
84
  "@patternfly/patternfly": "4.196.7",
85
85
  "@patternfly/react-core": "4.264.0",
86
86
  "@patternfly/react-table": "4.111.33",
87
- "@rh-support/types": "2.0.0",
88
- "@rh-support/user-permissions": "2.0.0",
89
- "@rh-support/utils": "2.0.0",
87
+ "@rh-support/types": "2.0.1",
88
+ "@rh-support/user-permissions": "2.0.1-beta.0",
89
+ "@rh-support/utils": "2.0.1-beta.0",
90
90
  "@storybook/addon-a11y": "^5.3.19",
91
91
  "@storybook/addon-actions": "^5.3.19",
92
92
  "@storybook/addon-docs": "^5.3.19",
@@ -131,5 +131,5 @@
131
131
  "not ie <= 11",
132
132
  "not op_mini all"
133
133
  ],
134
- "gitHead": "a8012bb04d9b5073b5cc97507c93da6745be2102"
134
+ "gitHead": "d8aaf95219bd66267ccfeef0d708d88dadc60766"
135
135
  }