@patternfly/react-core 4.169.4 → 4.170.3

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 (53) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/esm/components/FileUpload/FileUpload.d.ts +11 -3
  3. package/dist/esm/components/FileUpload/FileUpload.d.ts.map +1 -1
  4. package/dist/esm/components/FileUpload/FileUpload.js +28 -5
  5. package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
  6. package/dist/esm/components/FileUpload/FileUploadField.d.ts +2 -0
  7. package/dist/esm/components/FileUpload/FileUploadField.d.ts.map +1 -1
  8. package/dist/esm/components/FileUpload/FileUploadField.js +2 -1
  9. package/dist/esm/components/FileUpload/FileUploadField.js.map +1 -1
  10. package/dist/esm/components/Menu/DrilldownMenu.js +1 -1
  11. package/dist/esm/components/Menu/DrilldownMenu.js.map +1 -1
  12. package/dist/esm/components/TextInputGroup/TextInputGroup.d.ts +3 -0
  13. package/dist/esm/components/TextInputGroup/TextInputGroup.d.ts.map +1 -1
  14. package/dist/esm/components/TextInputGroup/TextInputGroup.js +6 -2
  15. package/dist/esm/components/TextInputGroup/TextInputGroup.js.map +1 -1
  16. package/dist/esm/components/TextInputGroup/TextInputGroupMain.d.ts +8 -2
  17. package/dist/esm/components/TextInputGroup/TextInputGroupMain.d.ts.map +1 -1
  18. package/dist/esm/components/TextInputGroup/TextInputGroupMain.js +7 -3
  19. package/dist/esm/components/TextInputGroup/TextInputGroupMain.js.map +1 -1
  20. package/dist/js/components/FileUpload/FileUpload.d.ts +11 -3
  21. package/dist/js/components/FileUpload/FileUpload.d.ts.map +1 -1
  22. package/dist/js/components/FileUpload/FileUpload.js +27 -4
  23. package/dist/js/components/FileUpload/FileUpload.js.map +1 -1
  24. package/dist/js/components/FileUpload/FileUploadField.d.ts +2 -0
  25. package/dist/js/components/FileUpload/FileUploadField.d.ts.map +1 -1
  26. package/dist/js/components/FileUpload/FileUploadField.js +2 -1
  27. package/dist/js/components/FileUpload/FileUploadField.js.map +1 -1
  28. package/dist/js/components/Menu/DrilldownMenu.js +1 -1
  29. package/dist/js/components/Menu/DrilldownMenu.js.map +1 -1
  30. package/dist/js/components/TextInputGroup/TextInputGroup.d.ts +3 -0
  31. package/dist/js/components/TextInputGroup/TextInputGroup.d.ts.map +1 -1
  32. package/dist/js/components/TextInputGroup/TextInputGroup.js +7 -3
  33. package/dist/js/components/TextInputGroup/TextInputGroup.js.map +1 -1
  34. package/dist/js/components/TextInputGroup/TextInputGroupMain.d.ts +8 -2
  35. package/dist/js/components/TextInputGroup/TextInputGroupMain.d.ts.map +1 -1
  36. package/dist/js/components/TextInputGroup/TextInputGroupMain.js +7 -3
  37. package/dist/js/components/TextInputGroup/TextInputGroupMain.js.map +1 -1
  38. package/dist/umd/react-core.css +20 -9
  39. package/dist/umd/react-core.js +1582 -1299
  40. package/dist/umd/react-core.min.css +20 -9
  41. package/dist/umd/react-core.min.js +5 -6
  42. package/package.json +7 -7
  43. package/src/components/FileUpload/FileUpload.tsx +77 -30
  44. package/src/components/FileUpload/FileUploadField.tsx +5 -0
  45. package/src/components/FileUpload/__tests__/__snapshots__/FileUpload.test.tsx.snap +3 -7
  46. package/src/components/FileUpload/examples/FileUpload.md +54 -17
  47. package/src/components/Menu/DrilldownMenu.tsx +1 -1
  48. package/src/components/Modal/examples/Modal.md +203 -0
  49. package/src/components/TextInputGroup/TextInputGroup.tsx +12 -3
  50. package/src/components/TextInputGroup/TextInputGroupMain.tsx +51 -20
  51. package/src/components/TextInputGroup/__tests__/TextInputGroup.test.tsx +91 -3
  52. package/src/components/TextInputGroup/__tests__/__snapshots__/TextInputGroup.test.tsx.snap +19 -16
  53. package/src/components/TextInputGroup/examples/TextInputGroup.md +13 -0
@@ -1 +1 @@
1
- {"version":3,"file":"TextInputGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/TextInputGroup/TextInputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC1E,mDAAmD;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAQvE,CAAC"}
1
+ {"version":3,"file":"TextInputGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/TextInputGroup/TextInputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC1E,mDAAmD;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qHAAqH;IACrH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,qBAAqB,6CAEhC,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAWvE,CAAC"}
@@ -1,13 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextInputGroup = void 0;
3
+ exports.TextInputGroup = exports.TextInputGroupContext = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const text_input_group_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/TextInputGroup/text-input-group"));
7
7
  const react_styles_1 = require("@patternfly/react-styles");
8
+ exports.TextInputGroupContext = React.createContext({
9
+ isDisabled: false
10
+ });
8
11
  const TextInputGroup = (_a) => {
9
- var { children, className } = _a, props = tslib_1.__rest(_a, ["children", "className"]);
10
- return (React.createElement("div", Object.assign({ className: react_styles_1.css(text_input_group_1.default.textInputGroup, className) }, props), children));
12
+ var { children, className, isDisabled } = _a, props = tslib_1.__rest(_a, ["children", "className", "isDisabled"]);
13
+ return (React.createElement(exports.TextInputGroupContext.Provider, { value: { isDisabled } },
14
+ React.createElement("div", Object.assign({ className: react_styles_1.css(text_input_group_1.default.textInputGroup, isDisabled && text_input_group_1.default.modifiers.disabled, className) }, props), children)));
11
15
  };
12
16
  exports.TextInputGroup = TextInputGroup;
13
17
  exports.TextInputGroup.displayName = 'TextInputGroup';
@@ -1 +1 @@
1
- {"version":3,"file":"TextInputGroup.js","sourceRoot":"","sources":["../../../../src/components/TextInputGroup/TextInputGroup.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uIAA6F;AAC7F,2DAA+C;AASxC,MAAM,cAAc,GAAiD,CAAC,EAIvD,EAAE,EAAE;QAJmD,EAC3E,QAAQ,EACR,SAAS,OAEW,EADjB,KAAK,sBAHmE,yBAI5E,CADS;IACiB,OAAA,CACzB,2CAAK,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,cAAc,EAAE,SAAS,CAAC,IAAM,KAAK,GAC7D,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AARW,QAAA,cAAc,kBAQzB;AAEF,sBAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"TextInputGroup.js","sourceRoot":"","sources":["../../../../src/components/TextInputGroup/TextInputGroup.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uIAA6F;AAC7F,2DAA+C;AAWlC,QAAA,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAA+B;IACrF,UAAU,EAAE,KAAK;CAClB,CAAC,CAAC;AAEI,MAAM,cAAc,GAAiD,CAAC,EAKvD,EAAE,EAAE;QALmD,EAC3E,QAAQ,EACR,SAAS,EACT,UAAU,OAEU,EADjB,KAAK,sBAJmE,uCAK5E,CADS;IACiB,OAAA,CACzB,oBAAC,6BAAqB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,UAAU,EAAE;QACnD,2CAAK,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,cAAc,EAAE,UAAU,IAAI,0BAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC,IAAM,KAAK,GACtG,QAAQ,CACL,CACyB,CAClC,CAAA;CAAA,CAAC;AAXW,QAAA,cAAc,kBAWzB;AAEF,sBAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC"}
@@ -1,13 +1,19 @@
1
1
  import * as React from 'react';
2
- export interface TextInputGroupMainProps extends React.HTMLProps<HTMLDivElement> {
2
+ export interface TextInputGroupMainProps extends Omit<React.HTMLProps<HTMLDivElement>, 'onChange'> {
3
3
  /** Content rendered inside the text input group main div */
4
4
  children?: React.ReactNode;
5
5
  /** Additional classes applied to the text input group main container */
6
6
  className?: string;
7
7
  /** Icon to be shown on the left side of the text input group main container */
8
8
  icon?: React.ReactNode;
9
+ /** Type that the input accepts. */
10
+ type?: 'text' | 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'time' | 'url';
9
11
  /** Callback for when there is a change in the input field*/
10
- onChange?: () => void;
12
+ onChange?: (value: string, event: React.FormEvent<HTMLInputElement>) => void;
13
+ /** Callback for when the input field is focused*/
14
+ onFocus?: (event?: any) => void;
15
+ /** Callback for when focus is lost on the input field*/
16
+ onBlur?: (event?: any) => void;
11
17
  /** Accessibility label for the input */
12
18
  'aria-label'?: string;
13
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TextInputGroupMain.d.ts","sourceRoot":"","sources":["../../../../src/components/TextInputGroup/TextInputGroupMain.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC9E,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,uBAAuB,CAsB/E,CAAC"}
1
+ {"version":3,"file":"TextInputGroupMain.d.ts","sourceRoot":"","sources":["../../../../src/components/TextInputGroup/TextInputGroupMain.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAChG,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,mCAAmC;IACnC,IAAI,CAAC,EACD,MAAM,GACN,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,KAAK,GACL,MAAM,GACN,KAAK,CAAC;IACV,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC7E,kDAAkD;IAClD,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,wDAAwD;IACxD,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,uBAAuB,CAoC/E,CAAC"}
@@ -5,15 +5,19 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const text_input_group_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/TextInputGroup/text-input-group"));
7
7
  const react_styles_1 = require("@patternfly/react-styles");
8
+ const TextInputGroup_1 = require("./TextInputGroup");
8
9
  const TextInputGroupMain = (_a) => {
9
- var { children, className, icon, onChange, 'aria-label': ariaLabel, value: inputValue } = _a, props = tslib_1.__rest(_a, ["children", "className", "icon", "onChange", 'aria-label', "value"]);
10
+ var { children, className, icon, type = 'text', onChange = () => undefined, onFocus, onBlur, 'aria-label': ariaLabel = 'Type to filter', value: inputValue } = _a, props = tslib_1.__rest(_a, ["children", "className", "icon", "type", "onChange", "onFocus", "onBlur", 'aria-label', "value"]);
11
+ const { isDisabled } = React.useContext(TextInputGroup_1.TextInputGroupContext);
12
+ const handleChange = (event) => {
13
+ onChange(event.currentTarget.value, event);
14
+ };
10
15
  return (React.createElement("div", Object.assign({ className: react_styles_1.css(text_input_group_1.default.textInputGroupMain, icon && text_input_group_1.default.modifiers.icon, className) }, props),
11
16
  children,
12
17
  React.createElement("span", { className: react_styles_1.css(text_input_group_1.default.textInputGroupText) },
13
18
  icon && React.createElement("span", { className: react_styles_1.css(text_input_group_1.default.textInputGroupIcon) }, icon),
14
- React.createElement("input", { type: "text", className: react_styles_1.css(text_input_group_1.default.textInputGroupTextInput), "aria-label": ariaLabel, onChange: onChange, value: inputValue }))));
19
+ React.createElement("input", { type: type, className: react_styles_1.css(text_input_group_1.default.textInputGroupTextInput), "aria-label": ariaLabel, disabled: isDisabled, onChange: handleChange, onFocus: onFocus, onBlur: onBlur, value: inputValue }))));
15
20
  };
16
21
  exports.TextInputGroupMain = TextInputGroupMain;
17
- exports.TextInputGroupMain.defaultProps = { 'aria-label': 'Type to filter' };
18
22
  exports.TextInputGroupMain.displayName = 'TextInputGroupMain';
19
23
  //# sourceMappingURL=TextInputGroupMain.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInputGroupMain.js","sourceRoot":"","sources":["../../../../src/components/TextInputGroup/TextInputGroupMain.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uIAA6F;AAC7F,2DAA+C;AAexC,MAAM,kBAAkB,GAAqD,CAAC,EAQ3D,EAAE,EAAE;QARuD,EACnF,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,KAAK,EAAE,UAAU,OAEO,EADrB,KAAK,sBAP2E,oEAQpF,CADS;IACqB,OAAA,CAC7B,2CAAK,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,kBAAkB,EAAE,IAAI,IAAI,0BAAM,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,IAAM,KAAK;QAChG,QAAQ;QACT,8BAAM,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,kBAAkB,CAAC;YAC5C,IAAI,IAAI,8BAAM,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,kBAAkB,CAAC,IAAG,IAAI,CAAQ;YACvE,+BACE,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,uBAAuB,CAAC,gBAClC,SAAS,EACrB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,UAAU,GACjB,CACG,CACH,CACP,CAAA;CAAA,CAAC;AAtBW,QAAA,kBAAkB,sBAsB7B;AAEF,0BAAkB,CAAC,YAAY,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AACrE,0BAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAC"}
1
+ {"version":3,"file":"TextInputGroupMain.js","sourceRoot":"","sources":["../../../../src/components/TextInputGroup/TextInputGroupMain.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uIAA6F;AAC7F,2DAA+C;AAC/C,qDAAyD;AAgClD,MAAM,kBAAkB,GAAqD,CAAC,EAW3D,EAAE,EAAE;QAXuD,EACnF,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,IAAI,GAAG,MAAM,EACb,QAAQ,GAAG,GAAQ,EAAE,CAAC,SAAS,EAC/B,OAAO,EACP,MAAM,EACN,YAAY,EAAE,SAAS,GAAG,gBAAgB,EAC1C,KAAK,EAAE,UAAU,OAEO,EADrB,KAAK,sBAV2E,iGAWpF,CADS;IAER,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,sCAAqB,CAAC,CAAC;IAE/D,MAAM,YAAY,GAAG,CAAC,KAAwC,EAAE,EAAE;QAChE,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC7C,CAAC,CAAC;IAEF,OAAO,CACL,2CAAK,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,kBAAkB,EAAE,IAAI,IAAI,0BAAM,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,IAAM,KAAK;QAChG,QAAQ;QACT,8BAAM,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,kBAAkB,CAAC;YAC5C,IAAI,IAAI,8BAAM,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,kBAAkB,CAAC,IAAG,IAAI,CAAQ;YACvE,+BACE,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,kBAAG,CAAC,0BAAM,CAAC,uBAAuB,CAAC,gBAClC,SAAS,EACrB,QAAQ,EAAE,UAAU,EACpB,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,UAAU,GACjB,CACG,CACH,CACP,CAAC;AACJ,CAAC,CAAC;AApCW,QAAA,kBAAkB,sBAoC7B;AAEF,0BAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAC"}
@@ -2377,6 +2377,10 @@ button.pf-c-breadcrumb__link {
2377
2377
  --pf-c-card--m-selectable-raised--m-selected-raised--before--Transition: transform .25s linear;
2378
2378
  --pf-c-card--m-selectable-raised--m-selected-raised--before--TranslateY: calc(var(--pf-c-card--m-selectable-raised--m-selected-raised--TranslateY) * -1);
2379
2379
  --pf-c-card--m-selectable-raised--m-selected-raised--before--ScaleY: 2;
2380
+ --pf-c-card--m-non-selectable-raised--BackgroundColor: var(--pf-global--BackgroundColor--light-200);
2381
+ --pf-c-card--m-non-selectable-raised--before--BackgroundColor: var(--pf-global--disabled-color--200);
2382
+ --pf-c-card--m-non-selectable-raised--before--ScaleY: 2;
2383
+ --pf-c-card--m-flat--m-non-selectable-raised--before--BorderColor: var(--pf-global--disabled-color--200);
2380
2384
  --pf-c-card--m-compact__body--FontSize: var(--pf-global--FontSize--sm);
2381
2385
  --pf-c-card--m-compact__footer--FontSize: var(--pf-global--FontSize--sm);
2382
2386
  --pf-c-card--m-compact--first-child--PaddingTop: var(--pf-global--spacer--md);
@@ -2442,11 +2446,11 @@ button.pf-c-breadcrumb__link {
2442
2446
  background-color: var(--pf-c-card--m-selectable--m-selected--before--BackgroundColor);
2443
2447
  }
2444
2448
 
2445
- .pf-c-card.pf-m-hoverable-raised, .pf-c-card.pf-m-selectable-raised {
2449
+ .pf-c-card.pf-m-hoverable-raised, .pf-c-card.pf-m-selectable-raised, .pf-c-card.pf-m-non-selectable-raised {
2446
2450
  position: relative;
2447
2451
  }
2448
2452
 
2449
- .pf-c-card.pf-m-hoverable-raised::before, .pf-c-card.pf-m-selectable-raised::before {
2453
+ .pf-c-card.pf-m-hoverable-raised::before, .pf-c-card.pf-m-selectable-raised::before, .pf-c-card.pf-m-non-selectable-raised::before {
2450
2454
  position: absolute;
2451
2455
  right: var(--pf-c-card--m-selectable-raised--before--Right);
2452
2456
  bottom: var(--pf-c-card--m-selectable-raised--before--Bottom);
@@ -2466,12 +2470,6 @@ button.pf-c-breadcrumb__link {
2466
2470
 
2467
2471
  .pf-c-card.pf-m-selectable-raised {
2468
2472
  cursor: pointer;
2469
- /*
2470
- &:active {
2471
- --pf-c-card--BoxShadow: var(--pf-c-card--m-selectable-raised--active--BoxShadow);
2472
- --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-selectable-raised--active--before--BackgroundColor);
2473
- }
2474
- */
2475
2473
  }
2476
2474
 
2477
2475
  .pf-c-card.pf-m-selectable-raised:hover {
@@ -2484,7 +2482,12 @@ button.pf-c-breadcrumb__link {
2484
2482
  --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-selectable-raised--focus--before--BackgroundColor);
2485
2483
  }
2486
2484
 
2487
- .pf-c-card.pf-m-selectable-raised.pf-m-selected-raised, .pf-c-card.pf-m-selectable-raised:active {
2485
+ .pf-c-card.pf-m-selectable-raised:active {
2486
+ --pf-c-card--BoxShadow: var(--pf-c-card--m-selectable-raised--active--BoxShadow);
2487
+ --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-selectable-raised--active--before--BackgroundColor);
2488
+ }
2489
+
2490
+ .pf-c-card.pf-m-selectable-raised.pf-m-selected-raised {
2488
2491
  --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-selectable-raised--m-selected-raised--before--BackgroundColor);
2489
2492
  --pf-c-card--m-selectable-raised--before--Transition: var(--pf-c-card--m-selectable-raised--m-selected-raised--before--Transition);
2490
2493
  --pf-c-card--m-selectable-raised--before--TranslateY: var(--pf-c-card--m-selectable-raised--m-selected-raised--before--TranslateY);
@@ -2494,6 +2497,14 @@ button.pf-c-breadcrumb__link {
2494
2497
  transform: translateY(var(--pf-c-card--m-selectable-raised--m-selected-raised--TranslateY));
2495
2498
  }
2496
2499
 
2500
+ .pf-c-card.pf-m-non-selectable-raised {
2501
+ --pf-c-card--BackgroundColor: var(--pf-c-card--m-non-selectable-raised--BackgroundColor);
2502
+ --pf-c-card--BoxShadow: none;
2503
+ --pf-c-card--m-flat--BorderColor: var(--pf-c-card--m-flat--m-non-selectable-raised--before--BorderColor);
2504
+ --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-non-selectable-raised--before--BackgroundColor);
2505
+ --pf-c-card--m-selectable-raised--before--ScaleY: var(--pf-c-card--m-non-selectable-raised--before--ScaleY);
2506
+ }
2507
+
2497
2508
  .pf-c-card.pf-m-compact {
2498
2509
  --pf-c-card__body--FontSize: var(--pf-c-card--m-compact__body--FontSize);
2499
2510
  --pf-c-card__footer--FontSize: var(--pf-c-card--m-compact__footer--FontSize);