@patternfly/react-core 4.180.1 → 4.181.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.
Files changed (62) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/esm/components/Popover/Popover.d.ts +7 -1
  3. package/dist/esm/components/Popover/Popover.d.ts.map +1 -1
  4. package/dist/esm/components/Popover/Popover.js +11 -4
  5. package/dist/esm/components/Popover/Popover.js.map +1 -1
  6. package/dist/esm/components/Popover/PopoverBody.d.ts +5 -3
  7. package/dist/esm/components/Popover/PopoverBody.d.ts.map +1 -1
  8. package/dist/esm/components/Popover/PopoverBody.js +2 -2
  9. package/dist/esm/components/Popover/PopoverBody.js.map +1 -1
  10. package/dist/esm/components/Popover/PopoverFooter.d.ts +2 -2
  11. package/dist/esm/components/Popover/PopoverFooter.d.ts.map +1 -1
  12. package/dist/esm/components/Popover/PopoverFooter.js.map +1 -1
  13. package/dist/esm/components/Popover/PopoverHeader.d.ts +15 -5
  14. package/dist/esm/components/Popover/PopoverHeader.d.ts.map +1 -1
  15. package/dist/esm/components/Popover/PopoverHeader.js +11 -3
  16. package/dist/esm/components/Popover/PopoverHeader.js.map +1 -1
  17. package/dist/esm/components/Popover/PopoverHeaderIcon.d.ts +9 -0
  18. package/dist/esm/components/Popover/PopoverHeaderIcon.d.ts.map +1 -0
  19. package/dist/esm/components/Popover/PopoverHeaderIcon.js +10 -0
  20. package/dist/esm/components/Popover/PopoverHeaderIcon.js.map +1 -0
  21. package/dist/esm/components/Popover/PopoverHeaderText.d.ts +9 -0
  22. package/dist/esm/components/Popover/PopoverHeaderText.d.ts.map +1 -0
  23. package/dist/esm/components/Popover/PopoverHeaderText.js +10 -0
  24. package/dist/esm/components/Popover/PopoverHeaderText.js.map +1 -0
  25. package/dist/js/components/Popover/Popover.d.ts +7 -1
  26. package/dist/js/components/Popover/Popover.d.ts.map +1 -1
  27. package/dist/js/components/Popover/Popover.js +11 -4
  28. package/dist/js/components/Popover/Popover.js.map +1 -1
  29. package/dist/js/components/Popover/PopoverBody.d.ts +5 -3
  30. package/dist/js/components/Popover/PopoverBody.d.ts.map +1 -1
  31. package/dist/js/components/Popover/PopoverBody.js +2 -2
  32. package/dist/js/components/Popover/PopoverBody.js.map +1 -1
  33. package/dist/js/components/Popover/PopoverFooter.d.ts +2 -2
  34. package/dist/js/components/Popover/PopoverFooter.d.ts.map +1 -1
  35. package/dist/js/components/Popover/PopoverFooter.js.map +1 -1
  36. package/dist/js/components/Popover/PopoverHeader.d.ts +15 -5
  37. package/dist/js/components/Popover/PopoverHeader.d.ts.map +1 -1
  38. package/dist/js/components/Popover/PopoverHeader.js +11 -3
  39. package/dist/js/components/Popover/PopoverHeader.js.map +1 -1
  40. package/dist/js/components/Popover/PopoverHeaderIcon.d.ts +9 -0
  41. package/dist/js/components/Popover/PopoverHeaderIcon.d.ts.map +1 -0
  42. package/dist/js/components/Popover/PopoverHeaderIcon.js +14 -0
  43. package/dist/js/components/Popover/PopoverHeaderIcon.js.map +1 -0
  44. package/dist/js/components/Popover/PopoverHeaderText.d.ts +9 -0
  45. package/dist/js/components/Popover/PopoverHeaderText.d.ts.map +1 -0
  46. package/dist/js/components/Popover/PopoverHeaderText.js +14 -0
  47. package/dist/js/components/Popover/PopoverHeaderText.js.map +1 -0
  48. package/dist/umd/react-core.css +390 -390
  49. package/dist/umd/react-core.js +32 -8
  50. package/dist/umd/react-core.min.css +143 -143
  51. package/dist/umd/react-core.min.js +2 -2
  52. package/package.json +5 -5
  53. package/src/components/Popover/Popover.tsx +27 -2
  54. package/src/components/Popover/PopoverBody.tsx +11 -8
  55. package/src/components/Popover/PopoverFooter.tsx +7 -7
  56. package/src/components/Popover/PopoverHeader.tsx +45 -17
  57. package/src/components/Popover/PopoverHeaderIcon.tsx +21 -0
  58. package/src/components/Popover/PopoverHeaderText.tsx +21 -0
  59. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverHeader.test.tsx.snap +9 -3
  60. package/src/components/Popover/__tests__/__snapshots__/Popover.test.tsx.snap +12 -0
  61. package/src/components/Popover/examples/Popover.md +83 -7
  62. package/src/demos/BackToTop.md +1 -1
@@ -8930,14 +8930,31 @@
8930
8930
  PopoverContent.displayName = 'PopoverContent';
8931
8931
 
8932
8932
  const PopoverBody = (_a) => {
8933
- var { children, id } = _a, props = __rest$1(_a, ["children", "id"]);
8934
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$Q.popoverBody), id: id }, props), children));
8933
+ var { children, id, className } = _a, props = __rest$1(_a, ["children", "id", "className"]);
8934
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$Q.popoverBody, className), id: id }, props), children));
8935
8935
  };
8936
8936
  PopoverBody.displayName = 'PopoverBody';
8937
8937
 
8938
+ const PopoverHeaderIcon = (_a) => {
8939
+ var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8940
+ return (React__namespace.createElement("span", Object.assign({ className: css(_default$Q.popoverTitleIcon, className) }, props), children));
8941
+ };
8942
+ PopoverHeaderIcon.displayName = 'PopoverHeaderIcon';
8943
+
8944
+ const PopoverHeaderText = (_a) => {
8945
+ var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8946
+ return (React__namespace.createElement("span", Object.assign({ className: css(_default$Q.popoverTitleText, className) }, props), children));
8947
+ };
8948
+ PopoverHeaderText.displayName = 'PopoverHeaderText';
8949
+
8938
8950
  const PopoverHeader = (_a) => {
8939
- var { children, id } = _a, props = __rest$1(_a, ["children", "id"]);
8940
- return (React__namespace.createElement(PopoverContext.Consumer, null, ({ headerComponent }) => (React__namespace.createElement(Title, Object.assign({ headingLevel: headerComponent, size: exports.TitleSizes.md, id: id }, props), children))));
8951
+ var { children, icon, className, titleHeadingLevel = 'h6', alertSeverityVariant, id, alertSeverityScreenReaderText } = _a, props = __rest$1(_a, ["children", "icon", "className", "titleHeadingLevel", "alertSeverityVariant", "id", "alertSeverityScreenReaderText"]);
8952
+ const HeadingLevel = titleHeadingLevel;
8953
+ return icon || alertSeverityVariant ? (React__namespace.createElement("header", Object.assign({ className: css('pf-c-popover__header', className), id: id }, props),
8954
+ React__namespace.createElement(HeadingLevel, { className: css(_default$Q.popoverTitle, icon && _default$Q.modifiers.icon) },
8955
+ icon && React__namespace.createElement(PopoverHeaderIcon, null, icon),
8956
+ alertSeverityVariant && alertSeverityScreenReaderText && (React__namespace.createElement("span", { className: "pf-u-screen-reader" }, alertSeverityScreenReaderText)),
8957
+ React__namespace.createElement(PopoverHeaderText, null, children)))) : (React__namespace.createElement(Title, Object.assign({ headingLevel: titleHeadingLevel, size: exports.TitleSizes.md, id: id, className: className }, props), children));
8941
8958
  };
8942
8959
  PopoverHeader.displayName = 'PopoverHeader';
8943
8960
 
@@ -8998,10 +9015,17 @@
8998
9015
  PopoverPosition["rightStart"] = "right-start";
8999
9016
  PopoverPosition["rightEnd"] = "right-end";
9000
9017
  })(exports.PopoverPosition || (exports.PopoverPosition = {}));
9018
+ const alertStyle = {
9019
+ default: _default$Q.modifiers.default,
9020
+ info: _default$Q.modifiers.info,
9021
+ success: _default$Q.modifiers.success,
9022
+ warning: _default$Q.modifiers.warning,
9023
+ danger: _default$Q.modifiers.danger
9024
+ };
9001
9025
  const Popover = (_a) => {
9002
- var { children, position = 'top', enableFlip = true, className = '', isVisible = null, shouldClose = () => null, shouldOpen = () => null, 'aria-label': ariaLabel = '', bodyContent, headerContent = null, headerComponent = 'h6', footerContent = null, appendTo = () => document.body, hideOnOutsideClick = true, onHide = () => null, onHidden = () => null, onShow = () => null, onShown = () => null, onMount = () => null, zIndex = 9999, minWidth = popoverMinWidth && popoverMinWidth.value, maxWidth = popoverMaxWidth && popoverMaxWidth.value, closeBtnAriaLabel = 'Close', showClose = true, distance = 25,
9026
+ var { children, position = 'top', enableFlip = true, className = '', isVisible = null, shouldClose = () => null, shouldOpen = () => null, 'aria-label': ariaLabel = '', bodyContent, headerContent = null, headerComponent = 'h6', headerIcon = null, alertSeverityVariant, alertSeverityScreenReaderText, footerContent = null, appendTo = () => document.body, hideOnOutsideClick = true, onHide = () => null, onHidden = () => null, onShow = () => null, onShown = () => null, onMount = () => null, zIndex = 9999, minWidth = popoverMinWidth && popoverMinWidth.value, maxWidth = popoverMaxWidth && popoverMaxWidth.value, closeBtnAriaLabel = 'Close', showClose = true, distance = 25,
9003
9027
  // For every initial starting position, there are 3 escape positions
9004
- flipBehavior = ['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom'], animationDuration = 300, id, withFocusTrap: propWithFocusTrap, boundary, tippyProps, reference, hasNoPadding = false, hasAutoWidth = false } = _a, rest = __rest$1(_a, ["children", "position", "enableFlip", "className", "isVisible", "shouldClose", "shouldOpen", 'aria-label', "bodyContent", "headerContent", "headerComponent", "footerContent", "appendTo", "hideOnOutsideClick", "onHide", "onHidden", "onShow", "onShown", "onMount", "zIndex", "minWidth", "maxWidth", "closeBtnAriaLabel", "showClose", "distance", "flipBehavior", "animationDuration", "id", "withFocusTrap", "boundary", "tippyProps", "reference", "hasNoPadding", "hasAutoWidth"]);
9028
+ flipBehavior = ['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom'], animationDuration = 300, id, withFocusTrap: propWithFocusTrap, boundary, tippyProps, reference, hasNoPadding = false, hasAutoWidth = false } = _a, rest = __rest$1(_a, ["children", "position", "enableFlip", "className", "isVisible", "shouldClose", "shouldOpen", 'aria-label', "bodyContent", "headerContent", "headerComponent", "headerIcon", "alertSeverityVariant", "alertSeverityScreenReaderText", "footerContent", "appendTo", "hideOnOutsideClick", "onHide", "onHidden", "onShow", "onShown", "onMount", "zIndex", "minWidth", "maxWidth", "closeBtnAriaLabel", "showClose", "distance", "flipBehavior", "animationDuration", "id", "withFocusTrap", "boundary", "tippyProps", "reference", "hasNoPadding", "hasAutoWidth"]);
9005
9029
  {
9006
9030
  boundary !== undefined &&
9007
9031
  console.warn('The Popover boundary prop has been deprecated. If you want to constrain the popper to a specific element use the appendTo prop instead.');
@@ -9147,7 +9171,7 @@
9147
9171
  }
9148
9172
  return node;
9149
9173
  }
9150
- }, preventScrollOnDeactivate: true, className: css(_default$Q.popover, hasNoPadding && _default$Q.modifiers.noPadding, hasAutoWidth && _default$Q.modifiers.widthAuto, className), role: "dialog", "aria-modal": "true", "aria-label": headerContent ? undefined : ariaLabel, "aria-labelledby": headerContent ? `popover-${uniqueId}-header` : undefined, "aria-describedby": `popover-${uniqueId}-body`, onMouseDown: onContentMouseDown, style: {
9174
+ }, preventScrollOnDeactivate: true, className: css(_default$Q.popover, alertSeverityVariant && alertStyle[alertSeverityVariant], hasNoPadding && _default$Q.modifiers.noPadding, hasAutoWidth && _default$Q.modifiers.widthAuto, className), role: "dialog", "aria-modal": "true", "aria-label": headerContent ? undefined : ariaLabel, "aria-labelledby": headerContent ? `popover-${uniqueId}-header` : undefined, "aria-describedby": `popover-${uniqueId}-body`, onMouseDown: onContentMouseDown, style: {
9151
9175
  minWidth: hasCustomMinWidth ? minWidth : null,
9152
9176
  maxWidth: hasCustomMaxWidth ? maxWidth : null,
9153
9177
  opacity,
@@ -9156,7 +9180,7 @@
9156
9180
  React__namespace.createElement(PopoverArrow, null),
9157
9181
  React__namespace.createElement(PopoverContent, null,
9158
9182
  showClose && React__namespace.createElement(PopoverCloseButton, { onClose: closePopover, "aria-label": closeBtnAriaLabel }),
9159
- headerContent && (React__namespace.createElement(PopoverHeader, { id: `popover-${uniqueId}-header` }, typeof headerContent === 'function' ? headerContent(hide) : headerContent)),
9183
+ headerContent && (React__namespace.createElement(PopoverHeader, { id: `popover-${uniqueId}-header`, icon: headerIcon, alertSeverityVariant: alertSeverityVariant, alertSeverityScreenReaderText: alertSeverityScreenReaderText || `${alertSeverityVariant} alert:`, titleHeadingLevel: headerComponent }, typeof headerContent === 'function' ? headerContent(hide) : headerContent)),
9160
9184
  React__namespace.createElement(PopoverBody, { id: `popover-${uniqueId}-body` }, typeof bodyContent === 'function' ? bodyContent(hide) : bodyContent),
9161
9185
  footerContent && (React__namespace.createElement(PopoverFooter, { id: `popover-${uniqueId}-footer` }, typeof footerContent === 'function' ? footerContent(hide) : footerContent)))));
9162
9186
  return (React__namespace.createElement(PopoverContext.Provider, { value: { headerComponent } },
@@ -9107,6 +9107,149 @@ label.pf-c-input-group__text {
9107
9107
  --pf-c-sidebar__panel--FlexBasis: 100%;
9108
9108
  }
9109
9109
  }
9110
+ .pf-c-label-group {
9111
+ --pf-c-label-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
9112
+ --pf-c-label-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);
9113
+ --pf-c-label-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
9114
+ --pf-c-label-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
9115
+ --pf-c-label-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
9116
+ --pf-c-label-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
9117
+ --pf-c-label-group--m-vertical--m-category--PaddingRight: var(--pf-global--spacer--sm);
9118
+ --pf-c-label-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
9119
+ --pf-c-label-group--m-category--BorderWidth: var(--pf-global--BorderWidth--sm);
9120
+ --pf-c-label-group--m-category--BorderColor: var(--pf-global--BorderColor--300);
9121
+ --pf-c-label-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--100);
9122
+ --pf-c-label-group__label--MarginRight: var(--pf-global--spacer--sm);
9123
+ --pf-c-label-group__label--MarginBottom: 0;
9124
+ --pf-c-label-group--m-vertical__label--MarginBottom: var(--pf-global--spacer--sm);
9125
+ --pf-c-label-group__label--FontSize: var(--pf-global--FontSize--sm);
9126
+ --pf-c-label-group__label--MaxWidth: 18ch;
9127
+ --pf-c-label-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
9128
+ --pf-c-label-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
9129
+ --pf-c-label-group--m-vertical__close--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
9130
+ --pf-c-label-group--m-vertical__close--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);
9131
+ --pf-c-label-group--m-vertical__close--MarginLeft: var(--pf-global--spacer--sm);
9132
+ --pf-c-label-group--m-vertical__close--c-button--PaddingRight: var(--pf-global--spacer--sm);
9133
+ --pf-c-label-group--m-vertical__close--c-button--PaddingLeft: var(--pf-global--spacer--sm);
9134
+ --pf-c-label-group__list-item--MarginRight: var(--pf-global--spacer--xs);
9135
+ --pf-c-label-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
9136
+ --pf-c-label-group__textarea--MinWidth: 12.5rem;
9137
+ --pf-c-label-group__textarea--PaddingTop: 0.125rem;
9138
+ --pf-c-label-group__textarea--PaddingRight: var(--pf-global--spacer--xs);
9139
+ --pf-c-label-group__textarea--PaddingBottom: 0;
9140
+ --pf-c-label-group__textarea--PaddingLeft: var(--pf-global--spacer--xs);
9141
+ display: inline-flex;
9142
+ }
9143
+
9144
+ .pf-c-label-group.pf-m-category {
9145
+ padding-top: var(--pf-c-label-group--m-category--PaddingTop);
9146
+ padding-right: var(--pf-c-label-group--m-category--PaddingRight);
9147
+ padding-bottom: var(--pf-c-label-group--m-category--PaddingBottom);
9148
+ padding-left: var(--pf-c-label-group--m-category--PaddingLeft);
9149
+ background-color: var(--pf-c-label-group--m-category--BackgroundColor);
9150
+ border: var(--pf-c-label-group--m-category--BorderWidth) solid var(--pf-c-label-group--m-category--BorderColor);
9151
+ border-radius: var(--pf-c-label-group--m-category--BorderRadius);
9152
+ }
9153
+
9154
+ .pf-c-label-group.pf-m-vertical {
9155
+ --pf-c-label-group__list--MarginRight: 0;
9156
+ --pf-c-label-group__list--MarginBottom: 0;
9157
+ --pf-c-label-group__list-item--MarginRight: 0;
9158
+ --pf-c-label-group__label--MarginRight: 0;
9159
+ --pf-c-label-group__label--MarginBottom: var(--pf-c-label-group--m-vertical__label--MarginBottom);
9160
+ --pf-c-label-group__close--MarginTop: var(--pf-c-label-group--m-vertical__close--MarginTop);
9161
+ --pf-c-label-group__close--MarginLeft: var(--pf-c-label-group--m-vertical__close--MarginLeft);
9162
+ --pf-c-label-group__close--MarginBottom: 0;
9163
+ --pf-c-label-group__close--MarginRight: var(--pf-c-label-group--m-vertical__close--MarginRight);
9164
+ --pf-c-label-group--m-category--PaddingRight: var(--pf-c-label-group--m-vertical--m-category--PaddingRight);
9165
+ }
9166
+
9167
+ .pf-c-label-group.pf-m-vertical.pf-c-label-group {
9168
+ align-items: flex-start;
9169
+ }
9170
+
9171
+ .pf-c-label-group.pf-m-vertical .pf-c-label-group__list {
9172
+ flex-direction: column;
9173
+ align-items: flex-start;
9174
+ }
9175
+
9176
+ .pf-c-label-group.pf-m-vertical .pf-c-label-group__main {
9177
+ flex-direction: column;
9178
+ }
9179
+
9180
+ .pf-c-label-group.pf-m-vertical .pf-c-label-group__list-item:last-child {
9181
+ --pf-c-label-group__list-item--MarginBottom: 0;
9182
+ }
9183
+
9184
+ .pf-c-label-group.pf-m-vertical .pf-c-label-group__close .pf-c-button {
9185
+ --pf-c-button--PaddingLeft: var(--pf-c-label-group--m-vertical__close--c-button--PaddingLeft);
9186
+ --pf-c-button--PaddingRight: var(--pf-c-label-group--m-vertical__close--c-button--PaddingRight);
9187
+ }
9188
+
9189
+ .pf-c-label-group.pf-m-editable,
9190
+ .pf-c-label-group.pf-m-editable .pf-c-label-group__main,
9191
+ .pf-c-label-group.pf-m-editable .pf-c-label-group__list {
9192
+ display: flex;
9193
+ }
9194
+
9195
+ .pf-c-label-group.pf-m-editable .pf-c-label-group__main,
9196
+ .pf-c-label-group.pf-m-editable .pf-c-label-group__list,
9197
+ .pf-c-label-group.pf-m-editable .pf-c-label-group__list-item.pf-m-textarea,
9198
+ .pf-c-label-group.pf-m-editable .pf-c-label-group__textarea {
9199
+ flex: 1;
9200
+ }
9201
+
9202
+ .pf-c-label-group__main {
9203
+ display: flex;
9204
+ flex: 1;
9205
+ flex-wrap: wrap;
9206
+ align-items: baseline;
9207
+ }
9208
+
9209
+ .pf-c-label-group__list {
9210
+ display: inline-flex;
9211
+ flex-wrap: wrap;
9212
+ margin-right: var(--pf-c-label-group__list--MarginRight);
9213
+ margin-bottom: var(--pf-c-label-group__list--MarginBottom);
9214
+ }
9215
+
9216
+ .pf-c-label-group__list-item {
9217
+ display: inline-flex;
9218
+ margin-right: var(--pf-c-label-group__list-item--MarginRight);
9219
+ margin-bottom: var(--pf-c-label-group__list-item--MarginBottom);
9220
+ }
9221
+
9222
+ .pf-c-label-group__label {
9223
+ overflow: hidden;
9224
+ text-overflow: ellipsis;
9225
+ white-space: nowrap;
9226
+ max-width: var(--pf-c-label-group__label--MaxWidth);
9227
+ margin-right: var(--pf-c-label-group__label--MarginRight);
9228
+ margin-bottom: var(--pf-c-label-group__label--MarginBottom);
9229
+ font-size: var(--pf-c-label-group__label--FontSize);
9230
+ }
9231
+
9232
+ .pf-c-label-group__close {
9233
+ margin-top: var(--pf-c-label-group__close--MarginTop);
9234
+ margin-right: var(--pf-c-label-group__close--MarginRight);
9235
+ margin-bottom: var(--pf-c-label-group__close--MarginBottom);
9236
+ margin-left: var(--pf-c-label-group__close--MarginLeft);
9237
+ }
9238
+
9239
+ .pf-c-label-group__textarea {
9240
+ min-width: var(--pf-c-label-group__textarea--MinWidth);
9241
+ padding: var(--pf-c-label-group__textarea--PaddingTop) var(--pf-c-label-group__textarea--PaddingRight) var(--pf-c-label-group__textarea--PaddingBottom) var(--pf-c-label-group__textarea--PaddingLeft);
9242
+ white-space: nowrap;
9243
+ resize: none;
9244
+ border: 0;
9245
+ -ms-overflow-style: none;
9246
+ scrollbar-width: none;
9247
+ }
9248
+
9249
+ .pf-c-label-group__textarea::-webkit-scrollbar {
9250
+ display: none;
9251
+ }
9252
+
9110
9253
  .pf-c-label {
9111
9254
  --pf-c-label--PaddingTop: var(--pf-global--spacer--xs);
9112
9255
  --pf-c-label--PaddingRight: var(--pf-global--spacer--sm);
@@ -9427,149 +9570,6 @@ button.pf-c-label__content:focus {
9427
9570
  color: var(--pf-c-label__icon--Color);
9428
9571
  }
9429
9572
 
9430
- .pf-c-label-group {
9431
- --pf-c-label-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
9432
- --pf-c-label-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);
9433
- --pf-c-label-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
9434
- --pf-c-label-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
9435
- --pf-c-label-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
9436
- --pf-c-label-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
9437
- --pf-c-label-group--m-vertical--m-category--PaddingRight: var(--pf-global--spacer--sm);
9438
- --pf-c-label-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
9439
- --pf-c-label-group--m-category--BorderWidth: var(--pf-global--BorderWidth--sm);
9440
- --pf-c-label-group--m-category--BorderColor: var(--pf-global--BorderColor--300);
9441
- --pf-c-label-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--100);
9442
- --pf-c-label-group__label--MarginRight: var(--pf-global--spacer--sm);
9443
- --pf-c-label-group__label--MarginBottom: 0;
9444
- --pf-c-label-group--m-vertical__label--MarginBottom: var(--pf-global--spacer--sm);
9445
- --pf-c-label-group__label--FontSize: var(--pf-global--FontSize--sm);
9446
- --pf-c-label-group__label--MaxWidth: 18ch;
9447
- --pf-c-label-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
9448
- --pf-c-label-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
9449
- --pf-c-label-group--m-vertical__close--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
9450
- --pf-c-label-group--m-vertical__close--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);
9451
- --pf-c-label-group--m-vertical__close--MarginLeft: var(--pf-global--spacer--sm);
9452
- --pf-c-label-group--m-vertical__close--c-button--PaddingRight: var(--pf-global--spacer--sm);
9453
- --pf-c-label-group--m-vertical__close--c-button--PaddingLeft: var(--pf-global--spacer--sm);
9454
- --pf-c-label-group__list-item--MarginRight: var(--pf-global--spacer--xs);
9455
- --pf-c-label-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
9456
- --pf-c-label-group__textarea--MinWidth: 12.5rem;
9457
- --pf-c-label-group__textarea--PaddingTop: 0.125rem;
9458
- --pf-c-label-group__textarea--PaddingRight: var(--pf-global--spacer--xs);
9459
- --pf-c-label-group__textarea--PaddingBottom: 0;
9460
- --pf-c-label-group__textarea--PaddingLeft: var(--pf-global--spacer--xs);
9461
- display: inline-flex;
9462
- }
9463
-
9464
- .pf-c-label-group.pf-m-category {
9465
- padding-top: var(--pf-c-label-group--m-category--PaddingTop);
9466
- padding-right: var(--pf-c-label-group--m-category--PaddingRight);
9467
- padding-bottom: var(--pf-c-label-group--m-category--PaddingBottom);
9468
- padding-left: var(--pf-c-label-group--m-category--PaddingLeft);
9469
- background-color: var(--pf-c-label-group--m-category--BackgroundColor);
9470
- border: var(--pf-c-label-group--m-category--BorderWidth) solid var(--pf-c-label-group--m-category--BorderColor);
9471
- border-radius: var(--pf-c-label-group--m-category--BorderRadius);
9472
- }
9473
-
9474
- .pf-c-label-group.pf-m-vertical {
9475
- --pf-c-label-group__list--MarginRight: 0;
9476
- --pf-c-label-group__list--MarginBottom: 0;
9477
- --pf-c-label-group__list-item--MarginRight: 0;
9478
- --pf-c-label-group__label--MarginRight: 0;
9479
- --pf-c-label-group__label--MarginBottom: var(--pf-c-label-group--m-vertical__label--MarginBottom);
9480
- --pf-c-label-group__close--MarginTop: var(--pf-c-label-group--m-vertical__close--MarginTop);
9481
- --pf-c-label-group__close--MarginLeft: var(--pf-c-label-group--m-vertical__close--MarginLeft);
9482
- --pf-c-label-group__close--MarginBottom: 0;
9483
- --pf-c-label-group__close--MarginRight: var(--pf-c-label-group--m-vertical__close--MarginRight);
9484
- --pf-c-label-group--m-category--PaddingRight: var(--pf-c-label-group--m-vertical--m-category--PaddingRight);
9485
- }
9486
-
9487
- .pf-c-label-group.pf-m-vertical.pf-c-label-group {
9488
- align-items: flex-start;
9489
- }
9490
-
9491
- .pf-c-label-group.pf-m-vertical .pf-c-label-group__list {
9492
- flex-direction: column;
9493
- align-items: flex-start;
9494
- }
9495
-
9496
- .pf-c-label-group.pf-m-vertical .pf-c-label-group__main {
9497
- flex-direction: column;
9498
- }
9499
-
9500
- .pf-c-label-group.pf-m-vertical .pf-c-label-group__list-item:last-child {
9501
- --pf-c-label-group__list-item--MarginBottom: 0;
9502
- }
9503
-
9504
- .pf-c-label-group.pf-m-vertical .pf-c-label-group__close .pf-c-button {
9505
- --pf-c-button--PaddingLeft: var(--pf-c-label-group--m-vertical__close--c-button--PaddingLeft);
9506
- --pf-c-button--PaddingRight: var(--pf-c-label-group--m-vertical__close--c-button--PaddingRight);
9507
- }
9508
-
9509
- .pf-c-label-group.pf-m-editable,
9510
- .pf-c-label-group.pf-m-editable .pf-c-label-group__main,
9511
- .pf-c-label-group.pf-m-editable .pf-c-label-group__list {
9512
- display: flex;
9513
- }
9514
-
9515
- .pf-c-label-group.pf-m-editable .pf-c-label-group__main,
9516
- .pf-c-label-group.pf-m-editable .pf-c-label-group__list,
9517
- .pf-c-label-group.pf-m-editable .pf-c-label-group__list-item.pf-m-textarea,
9518
- .pf-c-label-group.pf-m-editable .pf-c-label-group__textarea {
9519
- flex: 1;
9520
- }
9521
-
9522
- .pf-c-label-group__main {
9523
- display: flex;
9524
- flex: 1;
9525
- flex-wrap: wrap;
9526
- align-items: baseline;
9527
- }
9528
-
9529
- .pf-c-label-group__list {
9530
- display: inline-flex;
9531
- flex-wrap: wrap;
9532
- margin-right: var(--pf-c-label-group__list--MarginRight);
9533
- margin-bottom: var(--pf-c-label-group__list--MarginBottom);
9534
- }
9535
-
9536
- .pf-c-label-group__list-item {
9537
- display: inline-flex;
9538
- margin-right: var(--pf-c-label-group__list-item--MarginRight);
9539
- margin-bottom: var(--pf-c-label-group__list-item--MarginBottom);
9540
- }
9541
-
9542
- .pf-c-label-group__label {
9543
- overflow: hidden;
9544
- text-overflow: ellipsis;
9545
- white-space: nowrap;
9546
- max-width: var(--pf-c-label-group__label--MaxWidth);
9547
- margin-right: var(--pf-c-label-group__label--MarginRight);
9548
- margin-bottom: var(--pf-c-label-group__label--MarginBottom);
9549
- font-size: var(--pf-c-label-group__label--FontSize);
9550
- }
9551
-
9552
- .pf-c-label-group__close {
9553
- margin-top: var(--pf-c-label-group__close--MarginTop);
9554
- margin-right: var(--pf-c-label-group__close--MarginRight);
9555
- margin-bottom: var(--pf-c-label-group__close--MarginBottom);
9556
- margin-left: var(--pf-c-label-group__close--MarginLeft);
9557
- }
9558
-
9559
- .pf-c-label-group__textarea {
9560
- min-width: var(--pf-c-label-group__textarea--MinWidth);
9561
- padding: var(--pf-c-label-group__textarea--PaddingTop) var(--pf-c-label-group__textarea--PaddingRight) var(--pf-c-label-group__textarea--PaddingBottom) var(--pf-c-label-group__textarea--PaddingLeft);
9562
- white-space: nowrap;
9563
- resize: none;
9564
- border: 0;
9565
- -ms-overflow-style: none;
9566
- scrollbar-width: none;
9567
- }
9568
-
9569
- .pf-c-label-group__textarea::-webkit-scrollbar {
9570
- display: none;
9571
- }
9572
-
9573
9573
  .pf-c-inline-edit {
9574
9574
  --pf-c-inline-edit__group--item--MarginRight: var(--pf-global--spacer--sm);
9575
9575
  --pf-c-inline-edit__action--c-button--m-valid--m-plain--Color: var(--pf-global--link--Color);