@rh-support/components 2.1.66 → 2.1.68

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.
@@ -1 +1 @@
1
- {"version":3,"file":"AlertMessage.d.ts","sourceRoot":"","sources":["../../../src/AlertMessage/AlertMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;CACtB;AACD,UAAU,MAAM;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;IACxD,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAOvC,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,qBAkBlC;kBAlBQ,YAAY;;;AAoBrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"AlertMessage.d.ts","sourceRoot":"","sources":["../../../src/AlertMessage/AlertMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;CACtB;AACD,UAAU,MAAM;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;IACxD,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAOvC,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,qBAmBlC;kBAnBQ,YAAY;;;AAqBrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -18,7 +18,7 @@ function AlertMessage(props) {
18
18
  }
19
19
  // If there is no title then the children node becomes the title to have a better styling
20
20
  const alertMsgTitle = props.title || props.children;
21
- return (React.createElement(Alert, { label: props.title, className: props.className, variant: props.variant, title: alertMsgTitle, isInline: props.isInline, actionClose: !!props.onClose ? React.createElement(AlertActionCloseButton, { onClose: props.onClose }) : null }, props.title ? props.children : React.createElement(React.Fragment, null)));
21
+ return (React.createElement(Alert, { component: "p", label: props.title, className: props.className, variant: props.variant, title: alertMsgTitle, isInline: props.isInline, actionClose: !!props.onClose ? React.createElement(AlertActionCloseButton, { onClose: props.onClose }) : null }, props.title ? props.children : React.createElement(React.Fragment, null)));
22
22
  }
23
23
  AlertMessage.defaultProps = defaultProps;
24
24
  export { AlertMessage };
@@ -1,6 +1,7 @@
1
1
  .edit-question .btn-edit {
2
- padding: 0 0.5rem !important;
2
+ padding: 0.25rem 0.5rem;
3
3
  margin-left: 0.5rem;
4
+ line-height: 0.125rem;
4
5
  }
5
6
 
6
7
  .edit-question .edit-actions {
@@ -1,6 +1,7 @@
1
1
  .edit-question .btn-edit {
2
- padding: 0 0.5rem !important;
2
+ padding: 0.25rem 0.5rem;
3
3
  margin-left: 0.5rem;
4
+ line-height: 0.125rem;
4
5
  }
5
6
 
6
7
  .edit-question .edit-actions {
@@ -66,9 +66,12 @@
66
66
  color: #06c;
67
67
  }
68
68
 
69
- .markdown-editor-container .markdown-guidance {
70
- padding-right: 12px;
71
- margin-top: 8px;
69
+ .markdown-editor-container .pf-v5-c-button.pf-m-link.pf-m-inline.markdown-guidance {
70
+ padding-block-start: 0.375rem;
71
+ padding-block-end: 0.375rem;
72
+ padding-inline-start: 0.375rem;
73
+ padding-inline-end: 0.375rem;
74
+ box-sizing: border-box;
72
75
  }
73
76
 
74
77
  .markdown-editor-container .character-count-wrapper {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/components",
3
- "version": "2.1.66",
3
+ "version": "2.1.68",
4
4
  "description": "Contains all reusabel components for support app",
5
5
  "author": "Vikas Rathee <vrathee@redhat.com>",
6
6
  "license": "ISC",
@@ -68,8 +68,8 @@
68
68
  "@patternfly/react-core": "5.1.1",
69
69
  "@patternfly/react-table": "5.1.1",
70
70
  "@rh-support/types": "2.0.4",
71
- "@rh-support/user-permissions": "2.1.47",
72
- "@rh-support/utils": "2.1.36",
71
+ "@rh-support/user-permissions": "2.1.48",
72
+ "@rh-support/utils": "2.1.37",
73
73
  "dompurify": "^2.2.6",
74
74
  "downshift": "^6.0.5",
75
75
  "js-worker-search": "^1.4.1",
@@ -109,5 +109,5 @@
109
109
  "defaults and supports es6-module",
110
110
  "maintained node versions"
111
111
  ],
112
- "gitHead": "fc8601c40a613c50ddac01f11fc79c9f26544aa5"
112
+ "gitHead": "7ee3ae4d2a39a3f70d898ea5026e558be0ba5ab4"
113
113
  }